/* =========================================================================
   Oikantika Foundation — static site stylesheet
   Hand-written, no build step. Light + dark themes via [data-theme] on <html>.
   Sections: 1 tokens · 2 base · 3 layout · 4 header/nav · 5 hero
             6 components · 7 page blocks · 8 forms · 9 footer · 10 responsive
   ========================================================================= */

/* ---------------------------------- 1. tokens --------------------------- */
:root {
    --gold:        #C8892B;
    --gold-soft:   #E9B45C;
    --gold-deep:   #8A5A17;
    --ink:         #241C12;
    --ink-2:       #4C4033;
    --ink-3:       #756855;
    --bg:          #FBF7F0;
    --bg-2:        #F4EDE1;
    --surface:     #FFFFFF;
    --surface-2:   #F8F3EA;
    --line:        #E6DBC8;
    --line-soft:   #F0E7D8;
    --accent:      #2E7D6B;
    --accent-soft: #E3F0EB;
    --shadow-sm:   0 1px 2px rgba(45, 32, 12, .06), 0 2px 8px rgba(45, 32, 12, .05);
    --shadow-md:   0 6px 24px rgba(45, 32, 12, .10);
    --shadow-lg:   0 18px 50px rgba(45, 32, 12, .14);
    --radius:      16px;
    --radius-sm:   10px;
    --radius-lg:   26px;
    --maxw:        1220px;
    --gut:         clamp(18px, 4vw, 40px);
    --sect:        clamp(56px, 8vw, 104px);
    --font:        "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    --serif:       "Georgia", "Iowan Old Style", "Times New Roman", serif;
    --t:           .28s cubic-bezier(.4, 0, .2, 1);
}

[data-theme="dark"] {
    --gold:        #E1A63F;
    --gold-soft:   #F2C878;
    --gold-deep:   #F6DCA6;
    --ink:         #F3EADC;
    --ink-2:       #CFC3B1;
    --ink-3:       #9E9585;
    --bg:          #14110D;
    --bg-2:        #1B1712;
    --surface:     #1E1A15;
    --surface-2:   #262019;
    --line:        #332C23;
    --line-soft:   #2A241D;
    --accent:      #5FBFA6;
    --accent-soft: #1D2E2A;
    --shadow-sm:   0 1px 2px rgba(0, 0, 0, .5);
    --shadow-md:   0 8px 26px rgba(0, 0, 0, .55);
    --shadow-lg:   0 20px 60px rgba(0, 0, 0, .65);
}

/* ---------------------------------- 2. base ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink-2);
    background: var(--bg);
    transition: background var(--t), color var(--t);
    overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5 {
    font-family: var(--serif);
    color: var(--ink);
    line-height: 1.18;
    margin: 0 0 .5em;
    font-weight: 600;
    letter-spacing: -.01em;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.22rem, 2.1vw, 1.55rem); }
h4 { font-size: 1.1rem; }

p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-deep); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

::selection { background: var(--gold-soft); color: #241C12; }

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--gold); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------------------------------- 3. layout --------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 820px; }

.section { padding-block: var(--sect); }
.section--tint { background: var(--bg-2); }
.section--surface { background: var(--surface); }

.grid { display: grid; gap: clamp(18px, 2.6vw, 30px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 68px);
    align-items: center;
}
.split--media-right { direction: ltr; }

.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* section heading block */
.sec-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 52px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head p { color: var(--ink-3); font-size: 1.05rem; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font);
    font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); display: block; }
.sec-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--gold); display: block; }

/* ---------------------------------- 4. header / nav --------------------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line-soft);
    transition: box-shadow var(--t), background var(--t);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 18px; min-height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 90px; width: auto; }
.brand--home img { height: 90px; }
.brand-text { display: none; }

.nav { display: flex; align-items: center; gap: 2px; }

.nav-item { position: relative; }

.nav-link {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 10px 12px;
    font-size: .92rem; font-weight: 500;
    color: var(--ink-2); border-radius: 8px;
    white-space: nowrap;
    transition: color var(--t), background var(--t);
}
.nav-link:hover { color: var(--gold-deep); background: var(--surface-2); }
.nav-link.is-active { color: var(--gold-deep); }
.nav-link.is-active::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px;
    height: 2px; background: var(--gold); border-radius: 2px;
}
.nav-caret { width: 10px; height: 10px; transition: transform var(--t); }
.nav-item:hover .nav-caret { transform: rotate(180deg); }

.dropdown {
    position: absolute; top: calc(100% + 6px); left: 0; min-width: 216px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
    padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all var(--t);
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
    display: block; padding: 9px 12px; border-radius: 7px;
    font-size: .9rem; color: var(--ink-2);
}
.dropdown a:hover { background: var(--surface-2); color: var(--gold-deep); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
    width: 42px; height: 42px; display: grid; place-items: center;
    border: 1px solid var(--line); border-radius: 50%;
    background: var(--surface); color: var(--ink-2);
    cursor: pointer; transition: all var(--t);
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); transform: rotate(-18deg); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.burger {
    display: none; width: 44px; height: 44px;
    border: 1px solid var(--line); border-radius: 12px;
    background: var(--surface); cursor: pointer;
    flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.burger span {
    display: block; width: 20px; height: 2px; background: var(--ink);
    border-radius: 2px; transition: transform var(--t), opacity var(--t);
}
body.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.drawer {
    position: fixed; inset: 0 0 0 auto; width: min(88vw, 380px);
    background: var(--surface); border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform var(--t);
    z-index: 120; overflow-y: auto; padding: 22px 22px 60px;
    display: flex; flex-direction: column; gap: 6px;
}
body.nav-open .drawer { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.drawer-head img { height: 44px; }
.drawer a { display: block; padding: 12px 6px; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line-soft); }
.drawer a:hover { color: var(--gold); }
.drawer .sub { padding-left: 16px; }
.drawer .sub a { font-size: .92rem; font-weight: 400; color: var(--ink-2); border-bottom: 0; padding: 8px 6px; }
.drawer-group > button {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 12px 6px; background: none; border: 0; border-bottom: 1px solid var(--line-soft);
    font: inherit; font-weight: 500; color: var(--ink); cursor: pointer;
}
.drawer-group .sub { display: none; }
.drawer-group.open .sub { display: block; }
.drawer-group.open > button { color: var(--gold); }

.overlay {
    position: fixed; inset: 0; background: rgba(20, 14, 6, .5);
    opacity: 0; visibility: hidden; transition: all var(--t); z-index: 110;
}
body.nav-open .overlay { opacity: 1; visibility: visible; }

/* ---------------------------------- 5. hero ----------------------------- */
.hero {
    position: relative; overflow: hidden;
    background: var(--bg-2);
    padding-block: clamp(58px, 9vw, 120px);
}
.hero::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(1000px 420px at 78% 8%, color-mix(in srgb, var(--gold-soft) 30%, transparent), transparent 70%);
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy p { font-size: 1.12rem; color: var(--ink-2); max-width: 56ch; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.hero-media::before {
    content: ""; position: absolute; inset: 18px -18px -18px 18px;
    border: 2px solid var(--gold); border-radius: var(--radius-lg); z-index: -1;
}

/* compact hero for inner pages */
.hero--page { padding-block: clamp(46px, 6vw, 78px); }
.hero--page .hero-inner { grid-template-columns: 1fr; text-align: center; max-width: 780px; margin-inline: auto; }
.hero--page .hero-copy p { margin-inline: auto; }
.hero--page .eyebrow { justify-content: center; }
.hero--page .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--gold); }

.breadcrumb { font-size: .84rem; color: var(--ink-3); margin-bottom: 10px; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin-inline: 7px; opacity: .6; }

/* ---------------------------------- 6. components ----------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
    font-size: .93rem; font-weight: 600; cursor: pointer;
    transition: all var(--t); text-align: center;
}
.btn-primary { background: var(--gold); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--gold-deep); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
[data-theme="dark"] .btn-primary { color: #191309; }
[data-theme="dark"] .btn-primary:hover { color: #191309; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn-light { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero--page .btn-row { justify-content: center; }

.link-arrow { font-weight: 600; font-size: .92rem; display: inline-flex; gap: 7px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform var(--t); }
.link-arrow:hover::after { transform: translateX(4px); }

.card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { color: var(--ink-3); font-size: .95rem; }
.card-foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

.card--square .card-media { aspect-ratio: 1; }
.card--tall .card-media { aspect-ratio: 4 / 5; }

.chip {
    display: inline-block; padding: 4px 11px; border-radius: 999px;
    background: var(--accent-soft); color: var(--accent);
    font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.chip--gold { background: color-mix(in srgb, var(--gold-soft) 34%, transparent); color: var(--gold-deep); }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; }

.meta { font-size: .82rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px 14px; }

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
    text-align: center; padding: 26px 14px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.stat b { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--gold-deep); line-height: 1; }
.stat span { font-size: .86rem; color: var(--ink-3); display: block; margin-top: 8px; }

/* feature tiles with icon */
.feature {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 26px;
    transition: transform var(--t), box-shadow var(--t);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.feature .num {
    font-family: var(--serif); font-size: 1.5rem; color: var(--gold);
    display: block; margin-bottom: 8px;
}
.feature h3 { font-size: 1.15rem; }
.feature p { color: var(--ink-3); font-size: .95rem; margin: 0; }

/* quote band */
.quote-band {
    background: linear-gradient(135deg, var(--gold-deep), var(--gold));
    color: #fff; text-align: center; padding-block: clamp(52px, 7vw, 92px);
}
.quote-band blockquote {
    margin: 0 auto; max-width: 850px;
    font-family: var(--serif); font-size: clamp(1.35rem, 3vw, 2.05rem); line-height: 1.45;
}
.quote-band cite { display: block; margin-top: 22px; font-style: normal; font-size: .92rem; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
[data-theme="dark"] .quote-band { color: #17110A; }

/* pull quote inside article */
.pull {
    border-left: 3px solid var(--gold); padding: 4px 0 4px 22px;
    font-family: var(--serif); font-size: 1.25rem; color: var(--ink);
    margin: 28px 0;
}

/* timeline */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item::before {
    content: ""; position: absolute; left: -30px; top: 7px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold-soft) 40%, transparent);
}
.tl-year { font-family: var(--serif); color: var(--gold-deep); font-size: 1.2rem; }
.tl-item h3 { margin: 2px 0 6px; font-size: 1.14rem; }
.tl-item p { color: var(--ink-3); font-size: .96rem; margin: 0; }

/* accordion */
.acc { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-q {
    width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
    padding: 20px 54px 20px 22px; position: relative;
    font: inherit; font-weight: 600; color: var(--ink); font-size: 1.02rem;
}
.acc-q::after {
    content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
    font-size: 1.4rem; color: var(--gold); transition: transform var(--t);
}
.acc-item.open .acc-q::after { content: "−"; }
.acc-a { display: none; padding: 0 22px 22px; color: var(--ink-3); font-size: .97rem; }
.acc-item.open .acc-a { display: block; }

/* filter pills */
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
.filter {
    padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line);
    background: var(--surface); color: var(--ink-2); font-size: .87rem; font-weight: 500;
    cursor: pointer; transition: all var(--t);
}
.filter:hover { border-color: var(--gold); color: var(--gold-deep); }
.filter.is-active { background: var(--gold); border-color: var(--gold); color: #fff; }
[data-theme="dark"] .filter.is-active { color: #191309; }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item {
    position: relative; border-radius: var(--radius-sm); overflow: hidden;
    aspect-ratio: 1; cursor: zoom-in; background: var(--surface-2);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item figcaption {
    position: absolute; inset: auto 0 0 0; padding: 26px 14px 12px;
    background: linear-gradient(transparent, rgba(20, 12, 4, .82));
    color: #fff; font-size: .82rem;
    opacity: 0; transition: opacity var(--t);
}
.gallery-item:hover figcaption { opacity: 1; }

.lightbox {
    position: fixed; inset: 0; z-index: 200; display: none;
    background: rgba(12, 8, 4, .92); padding: 4vh 4vw;
    align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 100%; border-radius: var(--radius-sm); }
.lightbox-close {
    position: absolute; top: 18px; right: 22px; width: 44px; height: 44px;
    border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35);
    background: transparent; color: #fff; font-size: 1.5rem; cursor: pointer;
}

/* testimonial */
.tcard {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px; display: flex; flex-direction: column; gap: 16px;
}
.tcard p { font-family: var(--serif); font-size: 1.02rem; color: var(--ink); margin: 0; }
.tcard p::before { content: "“"; color: var(--gold); font-size: 2rem; line-height: 0; vertical-align: -.35em; margin-right: 4px; }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tcard .who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.tcard .who b { display: block; color: var(--ink); font-size: .93rem; }
.tcard .who span { font-size: .82rem; color: var(--ink-3); }

/* list with ticks */
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 11px; color: var(--ink-2); }
.ticks li::before {
    content: "✓"; position: absolute; left: 0; top: -1px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--accent-soft); color: var(--accent);
    font-size: .72rem; display: grid; place-items: center; font-weight: 700;
}

/* definition rows */
.deflist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.deflist div { background: var(--surface); padding: 18px 20px; }
.deflist dt { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.deflist dd { margin: 0; color: var(--ink); font-weight: 600; }

/* progress bars (donate) */
.bar-row { margin-bottom: 16px; }
.bar-row .bar-top { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: 6px; }
.bar { height: 9px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); border-radius: 999px; }

/* alert / flash */
.alert {
    border: 1px solid var(--accent); background: var(--accent-soft); color: var(--accent);
    padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 22px; font-size: .95rem;
}
.alert--error { border-color: #C0553F; background: color-mix(in srgb, #C0553F 12%, transparent); color: #C0553F; }

/* ---------------------------------- 7. page blocks ---------------------- */
.article-body { font-size: 1.06rem; }
.article-body p { color: var(--ink-2); }
.article-body h2 { margin-top: 1.8em; }

.sticky-side { position: sticky; top: 100px; }

.pose-tags { display: flex; gap: 8px; flex-wrap: wrap; font-size: .8rem; color: var(--ink-3); }
.caution {
    margin-top: 10px; font-size: .86rem; color: #B4653F;
    background: color-mix(in srgb, #B4653F 10%, transparent);
    border-radius: 8px; padding: 9px 12px;
}
[data-theme="dark"] .caution { color: #E0956F; }

.schedule { list-style: none; padding: 0; margin: 0; }
.schedule li { display: flex; gap: 18px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.schedule li:last-child { border-bottom: 0; }
.schedule b { min-width: 130px; color: var(--gold-deep); font-weight: 600; font-size: .9rem; }

.info-box {
    background: var(--surface-2); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 24px;
}
.info-box h4 { margin-bottom: 14px; }
.info-box dl { margin: 0; display: grid; gap: 12px; }
.info-box dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.info-box dd { margin: 2px 0 0; color: var(--ink); font-weight: 500; }

/* ---------------------------------- 8. forms ---------------------------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.input, .textarea, .select {
    width: 100%; padding: 13px 16px; font: inherit; font-size: .95rem;
    color: var(--ink); background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    transition: border-color var(--t), box-shadow var(--t);
}
.input:focus, .textarea:focus, .select:focus {
    outline: none; border-color: var(--gold);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold-soft) 35%, transparent);
}
.textarea { min-height: 150px; resize: vertical; }
.field .err { color: #C0553F; font-size: .82rem; margin-top: 6px; display: block; }

.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form .input { flex: 1; min-width: 220px; }

.amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.amount {
    border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: var(--surface); padding: 18px 14px; text-align: center; cursor: pointer;
    transition: all var(--t);
}
.amount b { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.amount span { font-size: .8rem; color: var(--ink-3); }
.amount:hover, .amount.is-active { border-color: var(--gold); background: color-mix(in srgb, var(--gold-soft) 14%, transparent); }

/* ---------------------------------- 9. footer --------------------------- */
.cta-band {
    background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding-block: clamp(40px, 6vw, 66px);
}
.cta-band .inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { color: var(--ink-3); margin: 0; }

.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: clamp(46px, 6vw, 72px); }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: clamp(24px, 3vw, 44px); }
.footer-brand img { height: 90px; margin-bottom: 16px; }
.footer-brand p { color: var(--ink-3); font-size: .9rem; }
.footer-col h4 { font-family: var(--font); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--ink-3); font-size: .9rem; }
.footer-col a:hover { color: var(--gold); }

.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
    width: 38px; height: 38px; display: grid; place-items: center;
    border: 1px solid var(--line); border-radius: 50%; color: var(--ink-2);
    transition: all var(--t);
}
.socials a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }

.footer-bottom {
    margin-top: clamp(34px, 4vw, 54px); padding-block: 22px;
    border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
    font-size: .84rem; color: var(--ink-3);
}
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: var(--ink-3); }
.footer-bottom a:hover { color: var(--gold); }

.to-top {
    position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px;
    border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
    color: var(--ink); display: grid; place-items: center; cursor: pointer;
    box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden;
    transition: all var(--t); z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { border-color: var(--gold); color: var(--gold); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ---------------------------------- 10. responsive ---------------------- */
@media (max-width: 1080px) {
    .nav { display: none; }
    .burger { display: flex; }
    .footer-top { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    body { font-size: 16px; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-media { order: -1; }
    .hero-media::before { display: none; }
    .split { grid-template-columns: 1fr; }
    .grid-4, .grid-6 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .deflist { grid-template-columns: repeat(2, 1fr); }
    .sticky-side { position: static; }
}

@media (max-width: 620px) {
    .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .amount-grid { grid-template-columns: repeat(2, 1fr); }
    .deflist { grid-template-columns: 1fr; }
    .header-inner { min-height: 66px; }
    .brand img, .brand--home img { height: 80px; }
    .btn { width: 100%; }
    .btn-row { flex-direction: column; }
    .cta-band .inner { flex-direction: column; align-items: flex-start; }
    .schedule li { flex-direction: column; gap: 2px; }
    .schedule b { min-width: 0; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .quote-band blockquote { font-size: 1.25rem; }
}

@media print {
    .site-header, .site-footer, .to-top, .drawer, .overlay, .cta-band { display: none; }
    body { background: #fff; color: #000; }
}

/* ---------------------------------- 11. utilities ----------------------- */
.hide-sm { display: inline-flex; }
@media (max-width: 780px) { .hide-sm { display: none; } }

/* grid children that must span two columns collapse cleanly on mobile */
@media (max-width: 900px) {
    .grid-6 > .feature { grid-column: span 1 !important; }
}
