/* Academy of Brilliance: shared site styles (from landing.html). */
:root {
    --paper: #f6f2e9;
    --paper-deep: #efe8d8;
    --card: #fffdf8;
    --ink: #15241e;
    --ink-soft: #4a5751;
    --green: #0f4c3a;
    --green-deep: #0a3628;
    --green-night: #072a1f;
    --gold: #d4af37;
    --gold-ink: #8a6a12;
    --rule: #d8cdb5;
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --wrap: 1180px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body.ls {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
:where(body.ls) img { display: block; max-width: 100%; height: auto; }
:where(body.ls) a:where(:not(.btn)) { color: inherit; }
::selection { background: rgba(212, 175, 55, 0.35); color: var(--green-deep); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.on-green :focus-visible { outline-color: var(--gold); }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.serif { font-family: var(--serif); }
:where(body.ls) :where(h1, h2, h3) { font-family: var(--serif); font-weight: 500; color: var(--green-deep); margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
:where(body.ls) p { margin: 0; text-wrap: pretty; }
.skip { position: absolute; left: -999px; top: 12px; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 26px; border-radius: 10px;
    font: 600 1rem/1 var(--sans); text-decoration: none; letter-spacing: 0.005em;
    transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
    cursor: pointer; border: 0;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px -12px rgba(10, 54, 40, 0.6); }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--green-night); box-shadow: 0 12px 28px -14px rgba(0,0,0,.5); }
.btn-gold:hover { background: #e0be52; transform: translateY(-1px); }
.btn-quiet { background: transparent; color: var(--green-deep); border: 1.5px solid var(--rule); }
.btn-quiet:hover { border-color: var(--green); }
.btn-quiet-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.3); }
.btn-quiet-light:hover { border-color: #fff; }
.link-under { text-decoration: underline; text-decoration-color: rgba(138,106,18,.45); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.link-under:hover { text-decoration-color: var(--gold-ink); }

/* ---------- Header ---------- */
.site-head {
    position: sticky; top: 0; z-index: 50;
    background: rgba(246, 242, 233, 0.88);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s var(--ease);
}
.site-head.scrolled { border-bottom-color: var(--rule); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 46px; height: 46px; object-fit: contain; mix-blend-mode: multiply; }
.brand span { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; color: var(--green-deep); letter-spacing: -0.01em; line-height: 1.1; }
.nav { display: flex; align-items: center; gap: 30px; font-size: .95rem; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink-soft); transition: color .2s; }
.nav a:hover { color: var(--green-deep); }
.head-cta { min-height: 44px; padding: 0 20px; font-size: .95rem; }
@media (max-width: 900px) { .nav { display: none; } }
@media (max-width: 420px) { .brand span { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.02; font-weight: 400; letter-spacing: -0.03em; }
.hero h1 em { font-style: italic; color: var(--green); }
.hero-lede { margin-top: 28px; font-size: 1.2rem; line-height: 1.6; color: var(--ink-soft); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 40px; }
.hero-call { font-size: .98rem; color: var(--ink-soft); }
.hero-call a { color: var(--green-deep); font-weight: 600; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin: 52px 0 0; border-top: 1px solid var(--rule); }
.hero-facts div { padding: 18px 28px 0 0; }
.hero-facts div + div { padding-left: 28px; border-left: 1px solid var(--rule); }
.hero-facts dt { font-family: var(--serif); font-size: 1.6rem; color: var(--green-deep); line-height: 1.1; letter-spacing: -0.02em; }
.hero-facts dd { margin: 4px 0 0; font-size: .9rem; color: var(--ink-soft); }
.hero-figure { position: relative; margin: 0; }
.hero-figure .plate {
    position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5;
    box-shadow: 0 40px 80px -40px rgba(10, 54, 40, 0.55), 0 2px 6px rgba(10,54,40,.08);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure .plate::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 42, 31, .55)); }
.hero-note {
    position: absolute; left: -36px; bottom: 36px; z-index: 2;
    background: var(--card); border-radius: 12px; padding: 18px 22px 18px 20px; max-width: 280px;
    box-shadow: 0 24px 50px -24px rgba(10, 54, 40, 0.5);
    display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center;
}
.hero-note .seal { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--gold); display: grid; place-items: center; font-family: var(--serif); font-size: 1.25rem; }
.hero-note strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.1rem; color: var(--green-deep); line-height: 1.2; }
.hero-note span { font-size: .85rem; color: var(--ink-soft); }
.hero-figure figcaption { margin-top: 14px; font-size: .82rem; color: var(--ink-soft); text-align: right; }

@media (max-width: 960px) {
    .hero { padding: 36px 0 64px; }
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-figure { max-width: 520px; }
    .hero-figure .plate { aspect-ratio: 4 / 3; }
    .hero-note { left: 16px; bottom: 16px; }
}
@media (max-width: 560px) {
    .hero-facts { grid-template-columns: repeat(3, 1fr); }
    .hero-facts div { padding-right: 12px; }
    .hero-facts div + div { padding-left: 12px; }
    .hero-facts dt { font-size: 1.2rem; }
    .hero-facts dd { font-size: .8rem; }
    .head-cta { min-height: 40px; padding: 0 14px; font-size: .9rem; }
}

/* ---------- Section frame ---------- */
.section { padding: 112px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(2.1rem, 3.8vw, 3.25rem); line-height: 1.06; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; max-width: 32em; }
@media (max-width: 860px) {
    .section { padding: 80px 0; }
    .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; }
}

/* ---------- Two worries ---------- */
.worries { background: var(--card); border-block: 1px solid var(--rule); }
.worry-grid { display: grid; grid-template-columns: 1fr 1fr; }
.worry { padding: 8px 56px 8px 0; }
.worry + .worry { padding: 8px 0 8px 56px; border-left: 1px solid var(--rule); }
.worry q { display: block; quotes: "\201C" "\201D"; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; color: var(--ink-soft); letter-spacing: -0.015em; }
.worry h3 { font-size: 1.35rem; margin: 28px 0 14px; }
.worry ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.worry li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--ink-soft); }
.worry li svg { width: 20px; height: 20px; color: var(--green); margin-top: 4px; }
.worry li b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
    .worry-grid { grid-template-columns: 1fr; }
    .worry { padding: 0 0 44px; }
    .worry + .worry { padding: 44px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
}

/* ---------- The path (signature) ---------- */
.path { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.path-track { position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.path-track span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--green), var(--gold)); transform-origin: left; transform: scaleX(var(--progress, 1)); transition: transform .2s linear; }
.stage { position: relative; padding: 0 28px 0 0; }
.stage-dot {
    position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%;
    background: var(--paper); border: 2px solid var(--green);
    display: grid; place-items: center; font-family: var(--serif); font-size: 1rem; color: var(--green-deep);
    transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.stage.lit .stage-dot { background: var(--green); color: var(--gold); }
.stage-years { margin-top: 26px; font-size: .9rem; font-weight: 600; color: var(--gold-ink); letter-spacing: .01em; }
.stage h3 { margin-top: 6px; font-size: 1.55rem; line-height: 1.15; }
.stage p { margin-top: 12px; color: var(--ink-soft); font-size: 1rem; }
.stage .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.stage .tags span { font-size: .8rem; font-weight: 500; color: var(--green-deep); background: rgba(15, 76, 58, .07); padding: 5px 10px; border-radius: 999px; }
.stage.key h3 { color: var(--green); }
@media (max-width: 960px) {
    .path { grid-template-columns: 1fr; gap: 40px; padding-left: 0; }
    .path-track { left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
    .path-track span { background: linear-gradient(180deg, var(--green), var(--gold)); transform-origin: top; transform: scaleY(var(--progress, 1)); }
    .stage { display: grid; grid-template-columns: 48px 1fr; column-gap: 24px; padding: 0; }
    .stage-dot { grid-row: 1 / span 4; }
    .stage-years { margin-top: 2px; }
}

/* ---------- How we teach ---------- */
.ways { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.way { border-radius: 16px; padding: 48px; display: flex; flex-direction: column; min-height: 360px; }
.way h3 { font-size: 2rem; line-height: 1.1; }
.way p { margin-top: 16px; font-size: 1.08rem; max-width: 30em; }
.way .btn { margin-top: auto; align-self: flex-start; }
.way .spacer { flex: 1; min-height: 36px; }
.way-one { background: var(--green-deep); color: rgba(255,255,255,.82); position: relative; overflow: hidden; }
.way-one::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(212,175,55,.22), transparent 65%); pointer-events: none; }
.way-one h3 { color: #fff; }
.way-one .num { font-family: var(--serif); font-size: 5.5rem; line-height: .9; color: var(--gold); letter-spacing: -0.04em; }
.way-group { background: var(--card); border: 1px solid var(--rule); color: var(--ink-soft); }
.way-group .num { font-family: var(--serif); font-size: 5.5rem; line-height: .9; color: var(--green); letter-spacing: -0.04em; }
.way .num small { font-size: 1rem; letter-spacing: 0; font-family: var(--sans); color: inherit; opacity: .8; margin-left: 6px; }
.way .num { margin-bottom: 28px; }
@media (max-width: 860px) {
    .ways { grid-template-columns: 1fr; }
    .way { padding: 36px 28px; min-height: 0; }
}

/* ---------- Tutors ---------- */
.tutors { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tutor { display: grid; grid-template-columns: 132px 1fr; gap: 28px; align-items: start; padding: 36px; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; }
.monogram { width: 132px; height: 160px; border-radius: 10px; background: var(--green); display: grid; place-items: center; position: relative; overflow: hidden; }
.monogram::after { content: ""; position: absolute; width: 180px; height: 180px; left: -70px; bottom: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(212,175,55,.3), transparent 65%); }
.monogram span { position: relative; font-family: var(--serif); font-size: 2.6rem; color: var(--gold); letter-spacing: -0.02em; }
.tutor h3 { font-size: 1.6rem; line-height: 1.15; }
.tutor .role { margin-top: 4px; font-size: .9rem; font-weight: 600; color: var(--gold-ink); }
.tutor p { margin-top: 14px; color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 960px) { .tutors { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
    .tutor { grid-template-columns: 1fr; padding: 28px; gap: 20px; }
    .monogram { width: 100%; height: 120px; }
}

/* ---------- Voices ---------- */
.voices { background: var(--green-night); color: rgba(255,255,255,.8); position: relative; overflow: hidden; }
.voices::before { content: ""; position: absolute; inset: 0; background:
    radial-gradient(ellipse 55% 60% at 90% 0%, rgba(212,175,55,.16), transparent 70%),
    radial-gradient(ellipse 60% 70% at 0% 100%, rgba(18, 105, 77, .5), transparent 70%); pointer-events: none; }
.voices .wrap { position: relative; }
.voices h2 { color: #fff; }
.voice-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
.voice blockquote { margin: 0; font-family: var(--serif); color: #fff; letter-spacing: -0.015em; }
.voice-main blockquote { font-size: clamp(1.6rem, 2.8vw, 2.35rem); line-height: 1.22; font-weight: 400; }
.voice-side blockquote { font-size: 1.4rem; line-height: 1.3; font-weight: 400; }
.voice .mark { display: block; font-family: var(--serif); font-size: 4.5rem; line-height: .6; color: var(--gold); margin-bottom: 18px; }
.voice figcaption { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); font-size: .95rem; }
.voice figcaption b { display: block; color: #fff; font-weight: 600; }
.voice-side { padding-left: 48px; border-left: 1px solid rgba(255,255,255,.16); }
.result { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--gold); font-weight: 500; font-size: .95rem; }
.result svg { width: 18px; height: 18px; }
@media (max-width: 860px) {
    .voice-grid { grid-template-columns: 1fr; gap: 48px; }
    .voice-side { padding: 40px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq-grid h2 { font-size: clamp(2.1rem, 3.8vw, 3.25rem); line-height: 1.06; }
.faq-grid .aside p { margin-top: 20px; color: var(--ink-soft); }
details { border-bottom: 1px solid var(--rule); }
details:first-child { border-top: 1px solid var(--rule); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--serif); font-size: 1.35rem; color: var(--green-deep); letter-spacing: -0.01em; }
summary::-webkit-details-marker { display: none; }
summary .plus { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--rule); display: grid; place-items: center; transition: transform .3s var(--ease), background-color .3s, border-color .3s; }
summary .plus svg { width: 16px; height: 16px; color: var(--green); }
details[open] summary .plus { transform: rotate(45deg); background: var(--green); border-color: var(--green); }
details[open] summary .plus svg { color: #fff; }
summary:hover .plus { border-color: var(--green); }
details .answer { padding: 0 56px 28px 0; color: var(--ink-soft); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 36px; } details .answer { padding-right: 0; } }

/* ---------- Final call ---------- */
.finale { padding: 0 0 112px; }
.finale-card { background: var(--green); border-radius: 20px; padding: 80px 72px; color: rgba(255,255,255,.82); position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.finale-card::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(212,175,55,.24), transparent 65%); pointer-events: none; }
.finale-card > * { position: relative; }
.finale h2 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.05; }
.finale p { margin-top: 20px; font-size: 1.12rem; max-width: 32em; }
.finale-actions { display: grid; gap: 14px; }
.finale-actions .btn { width: 100%; }
.contact-lines { margin-top: 10px; display: grid; gap: 10px; font-size: .95rem; }
.contact-lines a { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-lines svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
@media (max-width: 860px) {
    .finale { padding-bottom: 80px; }
    .finale-card { grid-template-columns: 1fr; padding: 48px 28px; gap: 36px; }
}

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--rule); padding: 36px 0 44px; font-size: .9rem; color: var(--ink-soft); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--green-deep); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Motion ---------- */
.js .rise { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .rise { opacity: 1; transform: none; transition: none; }
    .path-track span { transform: none !important; }
    .btn, .btn svg { transition: none; }
}

/* ================= Site-wide additions ================= */

/* Header used on every page: main nav, current page, phone menu */
.nav a[aria-current="page"] { color: var(--green-deep); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 8px; text-decoration-thickness: 2px; }
.head-actions { display: flex; align-items: center; gap: 12px; }
.menu { position: relative; display: none; border: 0 !important; }
.menu summary { padding: 0; font: inherit; justify-content: center; list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--rule); display: grid; place-items: center; color: var(--green-deep); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 20px; height: 20px; }
.menu[open] summary { background: var(--green); border-color: var(--green); color: #fff; }
.menu-panel { position: absolute; right: 0; top: 54px; width: min(300px, calc(100vw - 32px)); background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 10px; box-shadow: 0 24px 50px -24px rgba(10, 54, 40, 0.45); display: grid; }
.menu-panel a { padding: 12px 14px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; font-family: var(--sans); }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: rgba(15, 76, 58, .07); color: var(--green-deep); }
.menu-panel .btn { margin-top: 6px; color: #fff; }
@media (max-width: 1080px) { .nav { gap: 22px; font-size: .9rem; } }
@media (max-width: 900px) { .menu { display: block; } }
@media (max-width: 520px) { .head-actions .head-cta { display: none; } }

/* Inner-page hero */
.page-hero { padding: 72px 0 64px; border-bottom: 1px solid var(--rule); }
.page-hero h1 { font-family: var(--serif); font-weight: 400; color: var(--green-deep); font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -0.03em; margin: 0; max-width: 16em; text-wrap: balance; }
.page-hero p { margin: 22px 0 0; font-size: 1.15rem; line-height: 1.6; color: var(--ink-soft); max-width: 36em; }
.page-hero .hero-actions { margin-top: 34px; }
@media (max-width: 860px) { .page-hero { padding: 44px 0 44px; } }

/* Ruled feature list: no icon cards */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
.feature { padding: 28px 0 32px; border-top: 1px solid var(--rule); }
.feature h3 { font-size: 1.35rem; line-height: 1.2; }
.feature p { margin-top: 10px; color: var(--ink-soft); }
.feature a { color: var(--green); text-decoration: underline; text-decoration-color: rgba(138,106,18,.45); text-underline-offset: 3px; }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }

/* Two-column content split */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 44px; } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--ink-soft); }
.ticks li svg { width: 20px; height: 20px; color: var(--green); margin-top: 4px; }
.ticks li b { color: var(--ink); font-weight: 600; }
.panel { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 40px; }
.panel h3 { font-size: 1.6rem; }
.panel p { margin-top: 18px; color: var(--ink-soft); }
.panel .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.panel .tags span { font-size: .9rem; font-weight: 500; color: var(--green-deep); background: rgba(15, 76, 58, .07); padding: 7px 12px; border-radius: 999px; }
.panel .btn { margin-top: 26px; }
@media (max-width: 520px) { .panel { padding: 28px 22px; } }

/* Photo row */
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.photos figure { margin: 0; }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.photos figcaption { margin-top: 10px; font-size: .95rem; color: var(--ink-soft); }
.photo-note { margin-top: 18px; font-size: .82rem; color: var(--ink-soft); }
@media (max-width: 760px) { .photos { grid-template-columns: 1fr; } }

/* Ethos */
.ethos { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.ethos .lead { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.35; color: var(--green-deep); letter-spacing: -0.01em; margin-top: 28px; }
.ethos .body { margin-top: 20px; color: var(--ink-soft); }
.ethos .body + .body { margin-top: 14px; }
.ethos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; box-shadow: 0 40px 80px -40px rgba(10, 54, 40, 0.5); }
@media (max-width: 860px) { .ethos { grid-template-columns: 1fr; gap: 40px; } .ethos img { aspect-ratio: 3 / 2; } }

/* Footer contact column */
.site-foot .foot-contact { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-foot .foot-contact a { text-decoration: none; }
.site-foot .foot-contact a:hover { color: var(--green-deep); text-decoration: underline; text-underline-offset: 4px; }
.site-foot .foot-grid { display: grid; gap: 18px; }

/* WhatsApp: a quiet round button, bottom right */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -12px rgba(0,0,0,.45); transition: transform .2s; }
.wa:hover { transform: translateY(-2px); }
.wa svg { width: 26px; height: 26px; }

/* Tailwind pages keep their own body styles; give the shared header and footer the sans voice there too */
.site-head, .site-foot, .page-hero { font-family: var(--sans); }
.site-head a:not(.btn), .site-foot a:not(.btn) { color: inherit; }

/* ================= Resource library ================= */
.library { padding: 56px 0 112px; }
.lib-tools { display: grid; gap: 22px; margin-bottom: 40px; }
.search { position: relative; max-width: 560px; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ink-soft); pointer-events: none; }
.search input { width: 100%; min-height: 54px; padding: 0 18px 0 48px; border: 1.5px solid var(--rule); border-radius: 10px; background: var(--card); font: 400 1.05rem var(--sans); color: var(--ink); }
.search input::placeholder { color: #7b857f; }
.search input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(15, 76, 58, .12); }
.seg { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--rule); }
.seg button { appearance: none; border: 0; background: none; cursor: pointer; padding: 14px 20px 14px 0; margin-right: 18px; font: 500 1.15rem var(--serif); color: var(--ink-soft); border-bottom: 2px solid transparent; margin-bottom: -1px; letter-spacing: -0.01em; }
.seg button[aria-pressed="true"] { color: var(--green-deep); border-bottom-color: var(--gold); }
.seg button:hover { color: var(--green-deep); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { appearance: none; cursor: pointer; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--rule); background: transparent; font: 500 .92rem var(--sans); color: var(--ink-soft); display: inline-flex; align-items: center; gap: 8px; }
.chips button .n { font-size: .78rem; color: var(--ink-soft); background: rgba(15,76,58,.07); border-radius: 999px; padding: 1px 7px; }
.chips button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.chips button[aria-pressed="true"] .n { background: rgba(255,255,255,.18); color: #fff; }
.chips button:hover { border-color: var(--green); }
.lib-status { font-size: .95rem; color: var(--ink-soft); margin-bottom: 12px; }
.doc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.doc { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.doc h3 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; color: var(--green-deep); margin: 0; letter-spacing: -0.01em; line-height: 1.25; }
.doc .meta { font-size: .9rem; color: var(--ink-soft); }
.doc a { grid-row: 1 / span 2; grid-column: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 8px; border: 1.5px solid var(--rule); color: var(--green-deep); font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.doc a:hover { border-color: var(--green); background: rgba(15,76,58,.05); }
.doc a svg { width: 16px; height: 16px; }
.empty { padding: 40px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); color: var(--ink-soft); }
.empty b { display: block; font: 500 1.3rem var(--serif); color: var(--green-deep); margin-bottom: 6px; }
@media (max-width: 560px) {
    .doc { grid-template-columns: 1fr; }
    .doc a { grid-row: auto; grid-column: auto; justify-self: start; margin-top: 8px; }
    .seg button { font-size: 1.05rem; margin-right: 12px; padding-right: 0; }
}

/* ================= Blog ================= */
.posts { padding: 56px 0 112px; }
.post-feature { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; text-decoration: none; padding-bottom: 56px; border-bottom: 1px solid var(--rule); }
.post-feature img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; box-shadow: 0 40px 80px -40px rgba(10, 54, 40, 0.5); }
.post-feature h2 { font-family: var(--serif); font-weight: 500; color: var(--green-deep); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; letter-spacing: -0.02em; margin: 10px 0 0; }
.post-feature:hover h2, .post-row:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.post-meta { font-size: .9rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.post-meta .cat { color: var(--gold-ink); font-weight: 600; }
.post-more { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; color: var(--green-deep); font-weight: 600; }
.post-list { list-style: none; margin: 0; padding: 0; }
.post-row { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.post-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.post-row h3 { font-family: var(--serif); font-weight: 500; color: var(--green-deep); font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.01em; margin: 8px 0 0; }
@media (max-width: 860px) {
    .post-feature { grid-template-columns: 1fr; gap: 28px; padding-bottom: 44px; }
    .post-row { grid-template-columns: 120px 1fr; gap: 18px; padding: 24px 0; }
    .post-row h3 { font-size: 1.2rem; }
}

/* ================= Article ================= */
.article { padding: 48px 0 96px; }
.article .wrap { max-width: 760px; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--green-deep); font-weight: 600; text-decoration: none; font-size: .95rem; }
.back:hover { text-decoration: underline; text-underline-offset: 4px; }
.article-head { margin: 36px 0 32px; }
.article-head h1 { font-family: var(--serif); font-weight: 400; color: var(--green-deep); font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.06; letter-spacing: -0.03em; margin: 10px 0 18px; text-wrap: balance; }
.article-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; margin-bottom: 48px; }
.prose { font-size: 1.13rem; line-height: 1.75; color: #2c3833; }
.prose p { margin: 0 0 1.3em; }
.prose h2 { font-family: var(--serif); font-weight: 500; color: var(--green-deep); font-size: clamp(1.5rem, 2.6vw, 1.95rem); line-height: 1.2; letter-spacing: -0.015em; margin: 2.2em 0 .7em; }
.prose strong { color: var(--ink); }
.prose ul { margin: 0 0 1.3em; padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--gold-ink); }
.prose p.italic { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.45; color: var(--green-deep); margin: 1.6em 0; padding: 0 0 0 24px; position: relative; }
.prose p.italic::before { content: ""; position: absolute; left: 0; top: .35em; bottom: .35em; width: 1px; background: var(--gold); }
.prose p.font-serif { font-family: var(--serif); color: var(--green-deep); font-size: 1.25rem; margin-top: 2em; }
.article-end { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.article-end p { color: var(--ink-soft); margin: 0; }
.hidden { display: none !important; }
