/* ==========================================================
   RESET / BOX MODEL
   ========================================================== */
* {
    box-sizing: border-box;
}

/* ==========================================================
   ROOT VARIABLES
   ========================================================== */
.ignore {
    --untermuttt_background_color: rgba(199, 198, 204, 1);
    /* HEX: #C7C6CC */

    --untermuttt_text_color_1: rgba(218, 246, 209, 1);
    /* HEX: #DAF6D1 */

    --link-glow-inner: rgba(120, 180, 255, 1);
    /* HEX: #78B4FF */

    --link-glow-mid: rgba(120, 180, 255, 0.902);
    /* HEX: #78B4FF */

    --link-glow-outer: rgba(120, 180, 255, 0.702);
    /* HEX: #78B4FF */
}

:root {
    /*original from site*/
    /*--untermuttt_background_color: rgba(199, 198, 204, 1);*/
    /* HEX: #C7C6CC */

    /*alternate*/
    /*--untermuttt_background_color: rgba(198, 198, 204, 1);*/
    /* #c6c6cc */

    /*alternate 2*/
    /*  ***  */
    /*--untermuttt_background_color: rgba(195, 195, 198, 1);*/
    /* #c3c3c6 */

    /*alternate 3*/
    /*  ***  */
    /*--untermuttt_background_color: rgba(174, 174, 174, 1);*/
    /* #aeaeae */

    /*  ***  */
    /*alternate 4*/
    /*--untermuttt_background_color: rgba(150, 150, 150, 1);*/
    /* #969696 */

    /*alternate 6*/
    /* A++  */
    /*--untermuttt_background_color: rgba(126, 125, 129, 1);*/
    /* #7e7d81 */

    /*alternate 7*/
    /* A++  */
    /*--untermuttt_background_color: rgba(123, 121, 128, 1);*/
    /* #7b7980 */

    /*alternate 8*/
    /* A++  */
    /*--untermuttt_background_color: rgba(91, 92, 96, 1);*/
    /* #5b5c60 */

    /*alternate 9*/
    /* A++  */
    /*--untermuttt_background_color: rgba(111, 112, 117, 1);*/
    /* #6f7075 */

    /*alternate 10*/
    /* A++  */
    /*--untermuttt_background_color: rgba(108, 109, 112, 1);*/
    /* #6c6d70 */

    /*alternate 11*/
    /* A+++ CHOSEN  */
    /*--untermuttt_background_color: rgba(105, 106, 108, 1);*/
    /* #696a6c */

    /*alternate 12*/
    /* color complement to our text color */
    /*--untermuttt_background_color: rgba(37, 9, 46, 1);*/
    /* #25092E */

    /*alternate 13*/
    /* GOOD! Super close! */
    /* --untermuttt_background_color: rgba(89, 85, 90, 1); */
    /* #59555a*/

    /*alternate 14*/
    /* new Chosen */
    --untermuttt_background_color: rgba(90, 88, 91, 1);
    /* #5a585b*/


    /* text colors */
    --untermuttt_text_color_1: rgba(218, 246, 209, 1);
    /* HEX: #DAF6D1 */

    /* glows */
    --link-glow-inner: rgba(124, 255, 160, .6);
    /* HEX: #7CFFA0 */

    --link-glow-mid: rgba(140, 255, 160, 0.35);
    /* HEX: #8CFFA0 */

    --link-glow-outer: rgba(180, 255, 200, 0.25);
    /* HEX: #B4FFC8 */

}

/* ==========================================================
   BASE
   ========================================================== */
body {
    margin: 0;
    padding: 0;
    background: var(--untermuttt_background_color);
    font-family: Arial, Helvetica, sans-serif;
    color: var(--untermuttt_text_color_1);
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0 0 1em 0;
}

.vertical-space {
    height: 20px;
}

/* ==========================================================
   HEADER BANNER (OPTIONAL)
   ========================================================== */
.header-banner {
    max-width: 980px;
    margin: 0 auto 24px;
}

.header-banner img {
    width: 100%;
    height: auto;
    display: block;
}


/* ==========================================================
   LAYOUT
   ========================================================== */
.page-frame {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================
   EDITORIAL TEXT COLUMN (NEW)
   ========================================================== */
/*
   Use this to constrain reading width to the editorial measure.
   No visual styling, no behavior changes.
*/
.text-column {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 6px;
    padding-right: 6px;
}

/* ==========================================================
   HOME IMAGE
   ========================================================== */
.home-img {
    width: 70%;
    max-width: 420px;
    margin: 0 auto;
}

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
    margin-top: 40px;
    padding: 0 20px; /* FIX: match page-frame inset, clamps burger on iOS */
}

.title-row {
    display: flex;
    align-items: flex-start;
    max-width: 420px;
    margin: 0 auto;
    gap: 12px;
}

.site-title {
    flex: 1;
    font-size: 40px;
    font-weight: 700;
    margin: 0;
    text-align: center;
    white-space: normal;
    word-break: break-word;
}

.site-title-text {
    display: inline-block;
    max-width: 360px;
    text-align: left;
}

/* MENU WRAPPER */
.menu-wrap {
    position: relative;
    flex-shrink: 0;
}

/* HAMBURGER */
#menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: inherit;
    padding: 0;
}

/* ==========================================================
   DROPDOWN MENU
   ========================================================== */
.dropdown-menu {
    display: none;
    position: absolute;

    top: 100%;
    right: 0;
    left: auto;
    transform: translateY(2px);

    background: rgba(40,40,40,0.35);
    padding: 14px 18px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    z-index: 1000;
}

.dropdown-menu.show {
    display: block;
}

.menu-link {
    display: block;
    padding: 6px 0;
    font-size: 16px;
}

/* ==========================================================
   CONTENT SYSTEM
   =========================================================== */
.content-page {
    margin-top: 70px;
    margin-bottom: 80px;
    padding: 0 20px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

/* GRID SYSTEM */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* +20px slack */
    gap: 60px;
    justify-items: stretch;
    overflow-x: hidden;
    /* padding-inline: 10px; */  /* deleting this 01-17-25 for alignment conformity */
}

/* GRID MODIFIERS */

/* Max 4 columns on desktop */
.content-grid.four-col {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Max 3 columns on desktop */
.content-grid.three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Max 2 columns on desktop */
.content-grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Force single column even on desktop */
.content-grid.one-col {
    grid-template-columns: 1fr;
}

/* Alignment rules for different column layouts */

/* Single column: center everything, constrain to same max-width for alignment */
.content-grid.one-col {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.content-grid.one-col .content-card {
    align-items: center;
}

.content-grid.one-col .content-image {
    margin-left: auto;
    margin-right: auto;
}

/* Two columns: center-align (default behavior) */
.content-grid.two-col .content-card {
    align-items: center;
}

.content-grid.two-col .content-image {
    margin-left: auto;
    margin-right: auto;
}

/* Three columns: center-align (default behavior) */
.content-grid.three-col .content-card {
    align-items: center;
}

.content-grid.three-col .content-image {
    margin-left: auto;
    margin-right: auto;
}

/* Four columns: center-align (default behavior) */
.content-grid.four-col .content-card {
    align-items: center;
}

.content-grid.four-col .content-image {
    margin-left: auto;
    margin-right: auto;
}

.content-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
}

.content-image {
    width: 100%;
    max-width: 360px;
    height: auto;
    border-radius: 4px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* CONTENT IMAGE SIZE VARIANTS (NEW) */
.content-image420px { max-width: 420px; }
.content-image360px { max-width: 360px; }
.content-image240px { max-width: 240px; }
.content-image120px { max-width: 120px; }

.content-meta {
    text-align: center;
    margin-top: 14px;
}

.content-meta h2 {
    font-size: 20px;
    margin: 6px 0 4px;
}

.content-meta p {
    font-size: 15px;
    opacity: 0.7;
    margin: 0;
}

/* ==========================================================
   PURCHASE LINKS (NEW – ZERO STYLING SYSTEM)
   ========================================================== */


.purchase-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 40px;
    margin-bottom: 30px;
}

/* ==========================================================
   ILLUMINATION
   ========================================================== */
.illuminate-on-hover:hover {
    text-shadow:
            0 0 1px var(--link-glow-inner),
            0 0 2px var(--link-glow-mid),
            0 0 4px var(--link-glow-outer);
}

.illuminate-on-hover:hover a,
.illuminate-on-hover:hover h1,
.illuminate-on-hover:hover h2,
.illuminate-on-hover:hover h3,
.illuminate-on-hover:hover p,
.illuminate-on-hover:hover button,
.illuminate-on-hover:hover span {
    text-shadow:
            0 0 1px var(--link-glow-inner),
            0 0 2px var(--link-glow-mid),
            0 0 3px var(--link-glow-outer);
}

.illuminate-on-hover-small:hover span {
    text-shadow:
            0 0 1px var(--link-glow-inner),
            0 0 2px var(--link-glow-outer);
}

/* ==========================================================
   EMAIL CONTACT FORM
 ============================================================*/
.contact-form {
    width: 400px;          /* FIXED visual width */
    max-width: 100%;      /* still responsive on small screens */
    margin: 40px auto 0;  /* center exactly */
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    align-self: flex-start;
    padding: 10px 18px;
    font-size: 14px;
    cursor: pointer;
}

.contact-success {
    width: 400px;         /* EXACT match to form */
    max-width: 100%;
    margin: 16px auto 0; /* centered under button */
    text-align: center;
    font-size: 14px;
    color: var(--untermuttt_text_color_1);
    text-shadow:
            0 0 1px var(--link-glow-inner),
            0 0 2px var(--link-glow-mid),
            0 0 3px var(--link-glow-outer);
}


.contact-error {
    width: 400px;         /* EXACT match to form */
    max-width: 100%;
    margin: 16px auto 0; /* centered under button */
    text-align: center;
    font-size: 14px;
    color: #ee0c27;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
    text-align: center;
    margin: 50px 0 40px;
    opacity: 0.9;
}

.social {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
}

.social-link {
    font-size: 18px;
}

.meta {
    font-size: 13px;
    letter-spacing: 0.4px;
}

/* ==========================================================
   MOBILE
   ========================================================== */
@media (max-width: 600px) {
    .home-img { width: 90%; }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .content-image {
        width: 80%;
        max-width: none;
    }

    /* KEEP SIZE VARIANTS CLAMPED ON MOBILE (NEW) */
    .content-image420px { max-width: 420px; }
    .content-image360px { max-width: 360px; }
    .content-image240px { max-width: 240px; }
    .content-image120px { max-width: 120px; }
}
