:root {
    --bg: #171d15;
    --bg-soft: #20271c;
    --surface: #30382b;
    --surface-light: #3e4437;
    --surface-dark: #11170f;
    --paper: #f5f0e4;
    --text: #f7f2e6;
    --muted: #d2cbbb;
    --gold: #d99500;
    --gold-light: #f4c354;
    --border: rgba(247,242,230,.24);
    --border-strong: rgba(247,242,230,.42);
    --shadow: 0 24px 70px rgba(0,0,0,.32);
    --wrap: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
    margin: 0;
    color: var(--text);
    background:
        linear-gradient(rgba(24,30,21,.97), rgba(24,30,21,.97)),
        repeating-linear-gradient(45deg, transparent 0 15px, rgba(255,255,255,.018) 15px 16px);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.65;
}
body, button { font-size: 17px; }
a { color: inherit; }
img { max-width: 100%; }
button, input { font: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link {
    position: fixed;
    left: 14px;
    top: -70px;
    z-index: 1000;
    padding: 10px 14px;
    color: #111;
    background: var(--paper);
}
.skip-link:focus { top: 14px; }

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    background: rgba(23,29,21,.94);
    backdrop-filter: blur(12px);
}
.topbar-inner {
    width: var(--wrap);
    min-height: 86px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}
.brand img { display: block; width: 210px; }
.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2.5vw, 34px);
}
.main-nav a,
.footer-links a,
.school-link {
    text-decoration: none;
    text-underline-offset: 5px;
}
.main-nav a { color: var(--muted); font-size: .9rem; }
.main-nav a:hover,
.footer-links a:hover,
.school-link:hover { color: var(--gold-light); }
.language-switch { display: flex; gap: 5px; }
.language-switch a {
    min-width: 38px;
    padding: 7px 6px;
    border: 1px solid var(--border);
    text-align: center;
    text-decoration: none;
    font-family: "Courier New", monospace;
    font-size: .78rem;
}
.language-switch a.active { color: #fff; border-color: var(--gold-light); background: var(--gold); }
.menu-toggle { display: none; }

.hero {
    position: relative;
    min-height: min(760px, calc(100vh - 86px));
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-strong);
}
.hero-image,
.hero-overlay,
.hero-frame { position: absolute; inset: 0; }
.hero-image {
    background: url("../banner-missie.jpg") 67% center / cover no-repeat;
    transform: scale(1.01);
}
.hero-overlay {
    background:
        linear-gradient(90deg, rgba(13,18,12,.98) 0%, rgba(13,18,12,.88) 43%, rgba(13,18,12,.38) 72%, rgba(13,18,12,.20) 100%),
        linear-gradient(180deg, rgba(13,18,12,.12), rgba(13,18,12,.54));
}
.hero-frame { inset: 22px; border: 1px dashed rgba(255,255,255,.26); }
.hero-content { position: relative; z-index: 2; padding: 100px 0 90px; }
.eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--gold-light);
    font-family: "Courier New", monospace;
    font-size: .77rem;
    font-weight: 700;
    letter-spacing: .19em;
    text-transform: uppercase;
}
h1, h2, h3 {
    margin: 0;
    font-family: "Courier New", monospace;
    line-height: 1.12;
    letter-spacing: .01em;
}
h1 { max-width: 820px; font-size: clamp(2.75rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.3vw, 3.8rem); }
h3 { font-size: 1.35rem; }
.hero-lead {
    max-width: 680px;
    margin: 26px 0 0;
    color: var(--paper);
    font-size: clamp(1.08rem, 2vw, 1.35rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border: 1px dashed rgba(255,255,255,.72);
    text-decoration: none;
    font-family: "Courier New", monospace;
    font-weight: 700;
    transition: transform .18s ease, filter .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.button.primary { color: #fff; background: var(--gold); }
.button.secondary { color: #fff; background: rgba(30,39,27,.92); }
.button.outline { color: var(--paper); border-style: solid; border-color: var(--gold-light); background: transparent; }
.school-link { display: inline-block; margin-top: 21px; color: var(--gold-light); font-weight: 700; }
.hero-note { max-width: 570px; margin: 27px 0 0; color: var(--muted); font-size: .91rem; }

.facts { border-bottom: 1px solid var(--border); background: #20281d; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid > div {
    min-height: 132px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 15px;
    padding: 24px 28px;
    border-left: 1px solid var(--border);
}
.facts-grid > div:last-child { border-right: 1px solid var(--border); }
.facts strong { color: var(--gold-light); font-family: "Courier New", monospace; font-size: 2rem; }
.facts span { color: var(--muted); font-size: .9rem; }

.section { padding: clamp(76px, 10vw, 132px) 0; }
.section-copy { max-width: 680px; }
.section-copy p,
.section-heading p,
.chapter-intro p,
.schools-copy p { color: var(--muted); }
.story-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: clamp(55px, 8vw, 110px); align-items: start; }
.story-cards { display: grid; gap: 13px; }
.story-cards article {
    position: relative;
    padding: 25px 25px 25px 84px;
    border: 1px solid var(--border);
    background: rgba(48,56,43,.78);
}
.story-cards p { margin: 9px 0 0; color: var(--muted); }
.file-number {
    position: absolute;
    left: 23px;
    top: 23px;
    color: var(--gold-light);
    font-family: "Courier New", monospace;
    font-weight: 700;
}

.how-section { border-block: 1px solid var(--border); background: rgba(31,39,28,.74); }
.section-heading.centered { max-width: 840px; margin: 0 auto 44px; text-align: center; }
.section-heading.narrow { max-width: 860px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
    min-height: 290px;
    padding: 34px 30px;
    border: 1px solid var(--border);
    background: var(--surface);
}
.step-number {
    display: inline-grid;
    place-items: center;
    width: 47px;
    height: 47px;
    margin-bottom: 25px;
    color: #fff;
    border: 1px solid var(--gold-light);
    border-radius: 50%;
    background: var(--gold);
    font-family: "Courier New", monospace;
    font-weight: 700;
}
.step p { color: var(--muted); }

.chapter-intro { display: grid; grid-template-columns: 1fr minmax(300px, 520px); gap: 50px; align-items: end; margin-bottom: 40px; }
.chapter-intro p { margin: 0; }
.chapter-preview { display: grid; grid-template-columns: 1.35fr repeat(2, 1fr); grid-template-rows: repeat(2, 245px); gap: 14px; }
.preview-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #222b1f var(--chapter-image) center / cover no-repeat;
    isolation: isolate;
}
.preview-card.first { grid-row: 1 / span 2; }
.preview-card.locked { filter: grayscale(1); }
.preview-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(9,12,8,.04), rgba(9,12,8,.92)); }
.locked .preview-shade { background: rgba(12,17,11,.64); }
.preview-number { position: absolute; z-index: 2; top: 16px; left: 18px; color: var(--gold-light); font-family: "Courier New", monospace; font-size: 2.1rem; font-weight: 700; }
.preview-copy { position: absolute; z-index: 2; inset: auto 0 0; padding: 23px; }
.preview-copy > span { color: var(--gold-light); font-family: "Courier New", monospace; font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.preview-copy h3 { margin-top: 7px; }
.preview-copy small { display: inline-block; margin-top: 10px; padding: 4px 9px; color: var(--muted); border-radius: 999px; background: rgba(255,255,255,.11); }
.first .preview-copy { padding: 34px; }
.first .preview-copy h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); }

.purchase-section { border-block: 1px solid var(--border); background: rgba(31,39,28,.74); }
.purchase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.purchase-card {
    min-height: 340px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 38px;
    border: 1px solid var(--border);
    background: var(--surface);
}
.purchase-card.highlighted { border-color: rgba(244,195,84,.66); box-shadow: var(--shadow); }
.purchase-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 26px; color: var(--gold-light); border: 1px solid var(--gold-light); font-family: "Courier New", monospace; font-size: 1.6rem; font-weight: 700; }
.purchase-card p { flex: 1; color: var(--muted); }
.code-note {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 27px 30px;
    border-left: 4px solid var(--gold);
    background: rgba(15,21,13,.82);
}
.code-note strong, .code-note span { display: block; }
.code-note span { margin-top: 5px; color: var(--muted); }

.schools-section { overflow: hidden; }
.schools-layout { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: clamp(50px, 8vw, 110px); }
.schools-copy ul { display: grid; gap: 8px; margin: 28px 0 32px; padding: 0; list-style: none; }
.schools-copy li::before { content: "✓"; margin-right: 11px; color: var(--gold-light); font-family: "Courier New", monospace; font-weight: 700; }
.schools-visual { position: relative; min-height: 400px; }
.school-code-card {
    position: absolute;
    inset: 35px 15px auto auto;
    width: min(390px, 92%);
    min-height: 200px;
    padding: 34px;
    color: #252a21;
    border: 10px solid #eee8da;
    outline: 2px dashed #6c7465;
    outline-offset: -21px;
    background: #d5d6d0;
    box-shadow: 0 24px 60px rgba(0,0,0,.35);
    transform: rotate(4deg);
}
.school-code-card.offset { inset: 165px auto auto 5px; transform: rotate(-5deg); opacity: .72; }
.school-code-card span,
.school-code-card small { display: block; font-family: "Courier New", monospace; letter-spacing: .14em; }
.school-code-card strong { display: block; margin: 34px 0 22px; font-family: "Courier New", monospace; font-size: clamp(1.1rem, 2.5vw, 1.6rem); }

.faq-section { border-top: 1px solid var(--border); background: rgba(31,39,28,.74); }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; }
.faq-list { border-top: 1px solid var(--border); }
details { border-bottom: 1px solid var(--border); }
summary {
    position: relative;
    padding: 23px 52px 23px 0;
    cursor: pointer;
    font-family: "Courier New", monospace;
    font-weight: 700;
    list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 18px; color: var(--gold-light); font-size: 1.5rem; }
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 0 48px 24px 0; color: var(--muted); }

.final-cta { position: relative; min-height: 540px; display: flex; align-items: center; overflow: hidden; border-top: 1px solid var(--border); }
.final-backdrop { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,17,11,.96), rgba(12,17,11,.54)), url("../banner-missie.jpg") 66% center / cover no-repeat; filter: saturate(.82); }
.final-content { position: relative; z-index: 1; padding-block: 80px; }
.final-content h2 { max-width: 760px; }
.final-content p { max-width: 620px; color: var(--muted); }

.site-footer { padding: 34px 0; border-top: 1px solid var(--border); background: #11170f; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: .85rem; }
.footer-brand img { width: 175px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 24px; color: var(--muted); font-size: .85rem; }
.powered { grid-column: 2; color: rgba(210,203,187,.66); font-size: .73rem; text-align: right; }

@media (max-width: 1020px) {
    .main-nav { display: none; }
    .topbar-inner { grid-template-columns: auto 1fr auto auto; }
    .menu-toggle {
        display: inline-flex;
        justify-self: end;
        padding: 8px 12px;
        color: var(--paper);
        border: 1px solid var(--border);
        background: transparent;
        font-family: "Courier New", monospace;
    }
    .main-nav.open {
        position: absolute;
        left: 20px;
        right: 20px;
        top: calc(100% + 1px);
        display: grid;
        gap: 0;
        border: 1px solid var(--border);
        background: #1d251a;
        box-shadow: var(--shadow);
    }
    .main-nav.open a { padding: 14px 18px; border-bottom: 1px solid var(--border); }
    .story-layout, .schools-layout, .faq-layout { grid-template-columns: 1fr; }
    .chapter-preview { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .preview-card, .preview-card.first { min-height: 320px; grid-row: auto; }
    .preview-card.first { grid-column: 1 / -1; min-height: 420px; }
    .facts-grid { grid-template-columns: repeat(2, 1fr); }
    .facts-grid > div:nth-child(2) { border-right: 1px solid var(--border); }
    .facts-grid > div:nth-child(n+3) { border-top: 1px solid var(--border); }
    .schools-visual { width: min(620px, 100%); margin-inline: auto; }
}

@media (max-width: 720px) {
    :root { --wrap: min(100% - 28px, 1180px); }
    body { font-size: 16px; }
    .topbar-inner { min-height: 76px; gap: 10px; }
    .brand img { width: 130px; }
    .menu-toggle { padding: 7px 9px; font-size: .77rem; }
    .language-switch a { min-width: 33px; padding: 6px 4px; }
    .hero { min-height: 720px; align-items: flex-end; }
    .hero-image { background-position: 72% center; }
    .hero-overlay { background: linear-gradient(180deg, rgba(13,18,12,.27), rgba(13,18,12,.88) 48%, rgba(13,18,12,.99)); }
    .hero-frame { inset: 12px; }
    .hero-content { padding: 170px 6px 55px; }
    h1 { font-size: clamp(2.45rem, 12vw, 4rem); }
    h2 { font-size: clamp(1.85rem, 9vw, 2.8rem); }
    .hero-actions, .button { width: 100%; }
    .hero-actions { flex-direction: column; }
    .facts-grid { grid-template-columns: 1fr; }
    .facts-grid > div { min-height: 90px; border-right: 1px solid var(--border); border-top: 1px solid var(--border); }
    .steps, .purchase-grid { grid-template-columns: 1fr; }
    .step { min-height: 0; }
    .chapter-intro { grid-template-columns: 1fr; gap: 14px; }
    .chapter-preview { grid-template-columns: 1fr; }
    .preview-card, .preview-card.first { grid-column: auto; min-height: 300px; }
    .preview-card.first { min-height: 390px; }
    .purchase-card { min-height: 0; padding: 28px; }
    .code-note { align-items: stretch; flex-direction: column; }
    .schools-visual { min-height: 340px; }
    .school-code-card { inset: 22px 0 auto auto; }
    .school-code-card.offset { inset: 135px auto auto 0; }
    .faq-layout { gap: 35px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { align-items: flex-start; flex-direction: column; }
    .footer-links { justify-content: flex-start; }
    .powered { grid-column: 1; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Public homepage v0.2: shorter flow and honest online-sales status */
.section { padding: clamp(56px, 7vw, 92px) 0; }
.hero { min-height: min(650px, calc(100vh - 86px)); }
.hero-content { padding: 78px 0 68px; }
.facts-grid > div { min-height: 102px; padding: 18px 24px; }
.story-layout { grid-template-columns: 1fr; gap: 34px; }
.section-copy { max-width: 850px; }
.story-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.story-cards article { min-height: 180px; padding: 24px 22px 22px 64px; }
.file-number { left: 19px; top: 21px; }
.section-heading.centered { margin-bottom: 30px; }
.steps { gap: 14px; }
.step { min-height: 220px; padding: 27px 25px; }
.step-number { width: 42px; height: 42px; margin-bottom: 18px; }
.chapter-intro { margin-bottom: 28px; }
.chapter-preview { grid-template-rows: repeat(2, 210px); }
.preview-card.first { min-height: 434px; }
.purchase-card { min-height: 285px; padding: 30px; }
.purchase-icon { margin-bottom: 18px; }
.button.disabled {
    cursor: default;
    color: var(--muted);
    border-style: solid;
    border-color: rgba(247,242,230,.28);
    background: rgba(255,255,255,.06);
    filter: none;
}
.button.disabled:hover { transform: none; filter: none; }
.schools-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, .62fr); gap: clamp(36px, 6vw, 72px); }
.schools-visual { min-height: 320px; transform: scale(.9); transform-origin: center; }
.faq-layout { gap: 52px; }
summary { padding-block: 18px; }
details p { padding-bottom: 19px; }
.final-cta { min-height: 400px; }
.final-content { padding-block: 62px; }

@media (max-width: 1020px) {
    .story-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .schools-layout { grid-template-columns: 1fr; }
    .schools-visual { display: none; }
}

@media (max-width: 720px) {
    .hero { min-height: 620px; }
    .hero-content { padding: 145px 6px 42px; }
    .facts-grid { grid-template-columns: repeat(2, 1fr); }
    .facts-grid > div { min-height: 88px; padding: 15px 14px; border-top: 1px solid var(--border); }
    .facts-grid > div:nth-child(odd) { border-left: 1px solid var(--border); }
    .facts strong { font-size: 1.55rem; }
    .facts span { font-size: .78rem; }
    .story-cards { grid-template-columns: 1fr; gap: 10px; }
    .story-cards article { min-height: 0; padding: 20px 18px 18px 58px; }
    .steps { gap: 10px; }
    .step { padding: 22px 20px; }
    .chapter-preview {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
        scrollbar-width: thin;
    }
    .preview-card,
    .preview-card.first {
        flex: 0 0 min(78vw, 300px);
        min-height: 300px;
        grid-column: auto;
        scroll-snap-align: start;
    }
    .first .preview-copy { padding: 23px; }
    .purchase-card { padding: 24px; }
    .code-note { padding: 22px; }
    .faq-layout { gap: 22px; }
    .final-cta { min-height: 360px; }
    .final-content { padding-block: 48px; }
}

/* Public homepage v0.3: campaign poster, visual chapters and a tighter journey */
.hero-poster-section {
    min-height: auto;
    align-items: stretch;
    background:
        radial-gradient(circle at 78% 42%, rgba(217,149,0,.10), transparent 35%),
        linear-gradient(135deg, #11170f 0%, #182016 58%, #20281d 100%);
}
.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, .72fr);
    align-items: center;
    gap: clamp(38px, 6vw, 88px);
    min-height: min(690px, calc(100vh - 86px));
    padding-block: clamp(56px, 7vw, 86px);
}
.hero-copy { min-width: 0; }
.hero-copy h1 { max-width: 760px; font-size: clamp(2.65rem, 5.25vw, 5rem); }
.hero-poster {
    position: relative;
    margin: 0;
    justify-self: end;
    width: min(100%, 470px);
    padding: clamp(10px, 1.5vw, 17px);
    border: 1px solid var(--border-strong);
    background: rgba(245,240,228,.055);
    box-shadow: 0 28px 80px rgba(0,0,0,.48);
    transform: rotate(1.2deg);
}
.hero-poster::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px dashed rgba(247,242,230,.32);
    pointer-events: none;
}
.hero-poster img {
    display: block;
    width: 100%;
    max-height: 540px;
    object-fit: contain;
    background: #11170f;
}
.hero-frame { inset: 18px; }

.section { padding: clamp(48px, 6vw, 78px) 0; }
h2 { font-size: clamp(1.95rem, 3.45vw, 3.25rem); }
.story-section { padding-bottom: clamp(42px, 5vw, 64px); }
.story-layout { gap: 28px; }
.section-copy { max-width: 900px; }
.section-copy p { max-width: 770px; margin-bottom: 0; }
.story-cards article { min-height: 145px; padding-top: 22px; padding-bottom: 20px; }
.story-cards p { line-height: 1.52; }

.chapters-section {
    padding-top: clamp(52px, 6vw, 82px);
    border-top: 1px solid var(--border);
    background:
        linear-gradient(rgba(15,21,13,.93), rgba(15,21,13,.93)),
        repeating-linear-gradient(90deg, transparent 0 33px, rgba(255,255,255,.018) 33px 34px);
}
.chapter-intro { align-items: start; margin-bottom: 24px; }
.chapter-intro h2 { max-width: 750px; }
.chapter-intro p { max-width: 480px; }
.chapter-preview { grid-template-rows: repeat(2, 225px); }
.preview-card {
    background-color: #20281d;
    background-image: var(--chapter-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 12px 35px rgba(0,0,0,.18);
}
.preview-card.first { min-height: 464px; }
.preview-card.locked { filter: grayscale(.88) saturate(.45); }
.preview-card.locked .preview-shade {
    background: linear-gradient(180deg, rgba(10,14,9,.18), rgba(10,14,9,.88));
}
.preview-card.first .preview-shade {
    background: linear-gradient(180deg, rgba(9,12,8,.02) 20%, rgba(9,12,8,.92) 100%);
}
.preview-card:hover { border-color: rgba(244,195,84,.65); }
.preview-copy h3 { text-shadow: 0 3px 16px rgba(0,0,0,.85); }
.preview-copy small { backdrop-filter: blur(3px); }

.how-section { border-top: 1px solid var(--border); }
.section-heading.centered { margin-bottom: 24px; }
.step { min-height: 200px; }
.purchase-card { min-height: 260px; }
.schools-copy p { max-width: 720px; }
.faq-section { padding-block: clamp(50px, 6vw, 74px); }
.final-cta-plain {
    min-height: auto;
    background:
        radial-gradient(circle at 75% 30%, rgba(217,149,0,.12), transparent 26%),
        linear-gradient(135deg, #10160e, #1b2418);
}
.final-cta-plain::before {
    content: "";
    position: absolute;
    inset: 24px;
    border: 1px dashed rgba(247,242,230,.20);
    pointer-events: none;
}
.final-cta-plain .final-content { padding-block: clamp(52px, 7vw, 82px); }
.final-cta-plain .final-content h2 { max-width: 680px; }

@media (max-width: 1020px) {
    .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(260px, .58fr); gap: 34px; }
    .hero-poster img { max-height: 430px; }
}

@media (max-width: 720px) {
    .hero-poster-section { min-height: auto; }
    .hero-layout {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 26px;
        padding-block: 34px 42px;
    }
    .hero-copy { order: 2; }
    .hero-poster {
        order: 1;
        justify-self: center;
        width: min(82vw, 360px);
        transform: none;
    }
    .hero-poster img { max-height: 330px; }
    .hero-copy h1 { font-size: clamp(2.25rem, 10.5vw, 3.35rem); }
    .hero-lead { margin-top: 18px; }
    .hero-actions { margin-top: 24px; }
    .hero-note { margin-top: 18px; }
    .hero-frame { inset: 10px; }
    .section { padding-block: 44px; }
    .story-cards article { min-height: 0; }
    .chapter-preview { padding-right: 14px; }
    .preview-card,
    .preview-card.first {
        flex-basis: min(82vw, 320px);
        min-height: 330px;
    }
    .preview-card.first { min-height: 380px; }
    .final-cta-plain::before { inset: 12px; }
}

/* Public homepage v0.4: tighter rhythm, clearer priority and richer final CTA */
@media (min-width: 1021px) {
    .hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(390px, .82fr);
        min-height: min(560px, calc(100vh - 86px));
        gap: clamp(42px, 5vw, 76px);
        padding-block: clamp(38px, 4.5vw, 54px);
    }
    .hero-copy h1 {
        max-width: 700px;
        font-size: clamp(2.7rem, 4.45vw, 4.3rem);
        line-height: 1.06;
    }
    .hero-poster {
        align-self: center;
        width: min(100%, 525px);
        transform: rotate(.35deg) translateY(-4px);
    }
    .hero-poster img { max-height: 500px; }
}

.section { padding-block: clamp(42px, 5vw, 66px); }
.story-section { padding-bottom: clamp(36px, 4.5vw, 54px); }
.chapters-section { padding-top: clamp(44px, 5vw, 64px); }
.faq-section { padding-block: clamp(42px, 5vw, 62px); }

h2 {
    font-size: clamp(1.85rem, 3vw, 2.85rem);
    line-height: 1.12;
}
.section-heading.centered h2,
.purchase-section .section-heading h2 { max-width: 900px; }
.chapter-intro h2 { max-width: 640px; }

/* Mission qualities: lighter visual treatment than the practical step cards */
.story-layout { gap: 24px; }
.story-cards {
    gap: 22px;
    border-top: 1px solid var(--border);
    padding-top: 4px;
}
.story-cards article {
    min-height: 0;
    padding: 20px 10px 8px 56px;
    border: 0;
    border-right: 1px solid var(--border);
    background: transparent;
}
.story-cards article:last-child { border-right: 0; }
.story-cards h3 { margin-bottom: 7px; }
.story-cards p { margin: 0; font-size: .95rem; }
.file-number { top: 22px; left: 8px; }

/* Slightly denser chapter section without losing the cinematic layout */
.chapter-intro { margin-bottom: 20px; }
.chapter-preview { grid-template-rows: repeat(2, 210px); }
.preview-card.first { min-height: 434px; }

/* Practical process remains card-based, but with less vertical bulk */
.section-heading.centered { margin-bottom: 20px; }
.steps { gap: 16px; }
.step { min-height: 182px; padding: 24px 24px 22px; }
.step-number { margin-bottom: 14px; }

/* Current purchase route gets priority; future route is deliberately quieter */
.purchase-card { min-height: 238px; padding: 26px 28px; position: relative; }
.purchase-card.coming-soon {
    opacity: .74;
    border-color: rgba(247,242,230,.22);
    background: rgba(255,255,255,.035);
}
.purchase-card.coming-soon:hover { transform: none; }
.purchase-card.active-route {
    border-color: rgba(244,195,84,.72);
    box-shadow: 0 16px 42px rgba(0,0,0,.22);
    background: linear-gradient(135deg, rgba(61,73,54,.96), rgba(45,55,40,.96));
}
.availability-label {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 5px 9px;
    border: 1px solid rgba(247,242,230,.24);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(17,23,15,.42);
    font-family: "Courier New", Courier, monospace;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.purchase-card.coming-soon .purchase-icon { opacity: .72; }
.purchase-card.coming-soon .button.disabled { opacity: .82; }

/* Overall density */
.schools-layout { gap: clamp(30px, 5vw, 58px); }
.schools-visual { min-height: 290px; transform: scale(.84); }
.faq-layout { gap: 42px; }
.final-cta-plain .final-content { padding-block: clamp(46px, 5.5vw, 64px); }
.final-cta-plain .final-content h2 { max-width: 620px; }

/* A subtle paper clue closes the story without repeating the hero image */
.final-cta-plain { overflow: hidden; }
.final-clue {
    position: absolute;
    z-index: 0;
    right: clamp(6%, 10vw, 14%);
    top: 50%;
    width: clamp(170px, 18vw, 280px);
    aspect-ratio: 1.48;
    border: 1px solid rgba(247,242,230,.15);
    background: rgba(242,236,219,.045);
    transform: translateY(-48%) rotate(-5deg);
    box-shadow: 0 26px 70px rgba(0,0,0,.2);
}
.final-clue::before,
.final-clue::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    height: 1px;
    background: rgba(247,242,230,.14);
}
.final-clue::before { top: 35%; }
.final-clue::after { top: 58%; }
.final-clue span {
    position: absolute;
    right: 12%;
    bottom: 13%;
    width: 42px;
    height: 42px;
    border: 2px solid rgba(217,149,0,.27);
    border-radius: 50%;
}
.final-content { position: relative; z-index: 1; }

@media (max-width: 1020px) {
    .hero-layout { min-height: auto; padding-block: 38px 46px; }
    .hero-copy h1 { font-size: clamp(2.45rem, 6.6vw, 4rem); }
    .story-cards { gap: 10px; }
    .story-cards article { padding-right: 14px; }
    .final-clue { opacity: .55; right: 4%; }
}

@media (max-width: 720px) {
    .hero-layout { padding-block: 26px 34px; gap: 20px; }
    .hero-poster { width: min(78vw, 330px); }
    .hero-poster img { max-height: 300px; }
    .hero-copy h1 { font-size: clamp(2.1rem, 9.6vw, 3.1rem); }
    .section { padding-block: 38px; }
    h2 { font-size: clamp(1.75rem, 8vw, 2.55rem); }
    .story-cards {
        border-top: 0;
        padding-top: 0;
    }
    .story-cards article {
        padding: 17px 14px 16px 54px;
        border: 1px solid var(--border);
        background: rgba(61,73,54,.52);
    }
    .story-cards article:last-child { border-right: 1px solid var(--border); }
    .file-number { left: 16px; top: 18px; }
    .chapter-preview { padding-right: 10px; }
    .preview-card,
    .preview-card.first { min-height: 310px; }
    .preview-card.first { min-height: 360px; }
    .step { min-height: 0; padding: 21px 20px; }
    .purchase-card { min-height: 0; padding: 24px; }
    .availability-label { top: 14px; right: 14px; }
    .final-clue {
        width: 155px;
        right: -38px;
        top: 30%;
        opacity: .38;
    }
    .final-cta-plain .final-content { padding-block: 44px; }
}


/* Update 0.6: duidelijke keuze tussen particulier en educatief */
.route-section { background: rgba(39,48,35,.82); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.route-section .section-heading { margin-bottom: 28px; }
.route-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.route-card { position: relative; min-height: 270px; padding: clamp(25px,4vw,42px); border: 1px solid var(--border-strong); background: var(--surface-dark); box-shadow: 0 14px 34px rgba(0,0,0,.16); }
.route-card::after { content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(255,255,255,.14); pointer-events: none; }
.route-card h3 { position: relative; z-index: 1; margin: 9px 0 10px; font-size: clamp(1.7rem,3vw,2.5rem); }
.route-card p { position: relative; z-index: 1; max-width: 570px; color: var(--muted); font-family: Georgia,serif; font-size: 1.08rem; }
.route-card .button { position: relative; z-index: 1; margin-top: 12px; }
.route-icon { position: relative; z-index: 1; color: var(--gold-light); font-weight: 700; letter-spacing: .16em; }
.school-route { background: linear-gradient(135deg,rgba(41,50,37,.96),rgba(28,35,25,.98)); }
.route-code-link { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; padding: 15px 18px; border-left: 3px solid var(--gold); background: rgba(18,24,16,.7); }
.route-code-link span { color: var(--muted); }
.route-code-link a { color: var(--gold-light); font-weight: 700; }
@media (max-width: 760px) { .route-grid { grid-template-columns: 1fr; } .route-card { min-height: 0; } }
@media (max-width: 520px) { .route-code-link { align-items: flex-start; flex-direction: column; gap: 4px; } }


/* Homepage hotfix 0.6.1: inhoud Almersdorp, rustige iconen en fotografische missiesectie */
.facts-grid > div {
    grid-template-columns: 40px minmax(0, 1fr);
}
.facts .fact-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: var(--gold-light);
}
.facts .fact-icon svg {
    display: block;
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.facts-grid > div > span:last-child {
    color: var(--muted);
}

.story-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-block: 1px solid var(--border);
    background: #10160e;
}
.story-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(10,15,9,.96) 0%, rgba(10,15,9,.86) 42%, rgba(10,15,9,.52) 68%, rgba(10,15,9,.32) 100%),
        linear-gradient(180deg, rgba(10,15,9,.22), rgba(10,15,9,.78)),
        url("/eind-hoofdstuk-1.jpg?v=0.6.1") center 48% / cover no-repeat;
    transform: scale(1.01);
}
.story-section::after {
    content: "";
    position: absolute;
    inset: 18px;
    z-index: 1;
    border: 1px dashed rgba(247,242,230,.20);
    pointer-events: none;
}
.story-section .story-layout {
    position: relative;
    z-index: 2;
}
.story-section .section-copy {
    max-width: 850px;
    padding: 10px 0 10px 38px;
    border-left: 3px solid var(--gold);
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    text-shadow: 0 2px 16px rgba(0,0,0,.78);
}
.story-section .section-copy p {
    color: rgba(247,242,230,.94);
    text-shadow: 0 2px 14px rgba(0,0,0,.86);
}
.story-section .story-cards {
    border-top-color: rgba(247,242,230,.30);
}
.story-section .story-cards article {
    border-color: rgba(247,242,230,.24);
    background: rgba(18,25,16,.72);
    backdrop-filter: blur(2px);
}
.story-section .story-cards p {
    color: rgba(247,242,230,.82);
}

@media (max-width: 720px) {
    .facts-grid > div {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 10px;
    }
    .facts .fact-icon {
        width: 30px;
        height: 30px;
    }
    .facts .fact-icon svg {
        width: 27px;
        height: 27px;
    }
    .story-section::before {
        background:
            linear-gradient(180deg, rgba(10,15,9,.72) 0%, rgba(10,15,9,.90) 58%, rgba(10,15,9,.97) 100%),
            url("/eind-hoofdstuk-1.jpg?v=0.6.1") 67% center / cover no-repeat;
    }
    .story-section::after { inset: 10px; }
    .story-section .section-copy {
        padding: 8px 0 8px 20px;
    }
    .story-section .story-cards article {
        background: rgba(18,25,16,.86);
    }
}


/* Homepage hotfix 0.6.3: lichtere missiebanner en fotografische scholenvisual */
.story-section::before {
    background:
        linear-gradient(90deg,
            rgba(10,15,9,.76) 0%,
            rgba(10,15,9,.57) 42%,
            rgba(10,15,9,.25) 68%,
            rgba(10,15,9,.10) 100%
        ),
        linear-gradient(180deg, rgba(10,15,9,.04), rgba(10,15,9,.38)),
        url("/eind-hoofdstuk-1.jpg?v=0.6.3") center 48% / cover no-repeat;
}

.schools-photo {
    position: relative;
    min-height: 0;
    margin: 0;
    transform: none;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    background: var(--surface-dark);
    box-shadow: 0 22px 56px rgba(0,0,0,.28);
}
.schools-photo::after {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px dashed rgba(247,242,230,.22);
    pointer-events: none;
}
.schools-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    filter: saturate(.92) contrast(1.02);
}

@media (max-width: 1020px) {
    .schools-visual.schools-photo {
        display: block;
        width: min(680px, 100%);
        margin: 10px auto 0;
    }
    .schools-photo img {
        aspect-ratio: 16 / 10;
        object-position: center 58%;
    }
}

@media (max-width: 720px) {
    .story-section::before {
        background:
            linear-gradient(180deg,
                rgba(10,15,9,.48) 0%,
                rgba(10,15,9,.70) 58%,
                rgba(10,15,9,.86) 100%
            ),
            url("/eind-hoofdstuk-1.jpg?v=0.6.3") 67% center / cover no-repeat;
    }
    .schools-photo::after { inset: 7px; }
    .schools-photo img { aspect-ratio: 4 / 3; }
}


/* Homepage hotfix 0.6.4: rustige footer en klantvriendelijkere FAQ */
.site-footer { padding: 30px 0; }
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
    align-items: center;
}
.footer-links,
.powered { display: none !important; }
.powered-by {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    color: rgba(210,203,187,.72);
    font-size: .75rem;
    white-space: nowrap;
}
.powered-by img {
    display: block;
    width: 112px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 760px) {
    .footer-grid { grid-template-columns: 1fr; gap: 22px; }
    .powered-by { justify-content: flex-start; }
    .powered-by img { width: 104px; }
}
