@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Jost:wght@400;500;600;700&display=swap');

:root {
    --navy: #14213D;
    --navy-deep: #0A1226;
    --gold: #D4AF37;
    --gold-light: #F0D98C;
    --champagne: #F0E6D2;
    --ink: #1A1A1A;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
    font-family: 'Jost', sans-serif;
    background-color: var(--champagne);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23D4AF37' stroke-width='1' opacity='0.5'%3E%3Ccircle cx='80' cy='80' r='34'/%3E%3Ccircle cx='80' cy='80' r='21'/%3E%3Cpath d='M46 80a34 34 0 0 1 34-34 34 34 0 0 1 34 34'/%3E%3Cpath d='M114 80a34 34 0 0 1-34 34 34 34 0 0 1-34-34'/%3E%3C/g%3E%3Cg fill='%23D4AF37' opacity='0.45'%3E%3Crect x='6' y='6' width='8' height='8' transform='rotate(45 10 10)'/%3E%3Crect x='146' y='6' width='8' height='8' transform='rotate(45 150 10)'/%3E%3Crect x='6' y='146' width='8' height='8' transform='rotate(45 10 150)'/%3E%3Crect x='146' y='146' width='8' height='8' transform='rotate(45 150 150)'/%3E%3C/g%3E%3C/svg%3E"),
        radial-gradient(rgba(20,33,61,0.05) 1px, transparent 1px);
    background-size: 160px 160px, 24px 24px;
    background-repeat: repeat, repeat;
    color: var(--ink);
    line-height: 1.6;
    min-height: 100vh;
}

.content-wrap { min-height: 100vh; padding-top: 84px; }
.page-main { display: block; }

h1, h2, h3, .brand-word { font-family: 'Playfair Display', serif; }

/* ── Top navbar ── */
.nav-toggle-input { display: none; }

.topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 56px;
    background: rgba(10,18,38,0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212,175,55,0.25);
    z-index: 200;
}
.topbar-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-seal {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-weight: 700;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.brand-word { color: var(--champagne); font-size: 1.15rem; letter-spacing: 0.02em; }
.brand-word em { color: var(--gold); font-style: normal; }

.topbar-nav { display: flex; gap: 38px; }
.topbar-nav a {
    color: rgba(240,230,210,0.68);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    position: relative;
    padding-bottom: 6px;
}
.topbar-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 100%; bottom: 0;
    height: 1.5px;
    background: var(--gold);
    transition: right 0.25s ease;
}
.topbar-nav a:hover::after, .topbar-nav a.active::after { right: 0; }
.topbar-nav a.active { color: var(--gold-light); }

.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 210; }
.nav-burger span { width: 24px; height: 2px; background: var(--gold); display: block; }
.nav-scrim { display: none; }

/* ── Hero stage ── */
.hero-stage {
    position: relative;
    background-color: var(--navy);
    background-image:
        linear-gradient(100deg, rgba(10,18,38,0.94) 0%, rgba(10,18,38,0.82) 45%, rgba(10,18,38,0.55) 100%),
        url('/assets/vienna-hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--champagne);
    padding: 150px 56px 90px;
    overflow: hidden;
}
.hero-stage::before, .hero-stage::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(212,175,55,0.28);
}
.hero-stage::before { top: -190px; right: -190px; width: 420px; height: 420px; }
.hero-stage::after { top: -120px; right: -120px; width: 280px; height: 280px; border-style: solid; border-color: rgba(212,175,55,0.18); }

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    max-width: 1180px;
    margin: 0 auto;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-eyebrow {
    letter-spacing: 0.4em;
    font-size: 0.72rem;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.hero-grid h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 16px;
}
.hero-grid p.tagline {
    color: var(--gold-light);
    font-size: 1.03rem;
    max-width: 420px;
    letter-spacing: 0.02em;
}

.countdown-hex { display: flex; gap: 16px; margin-top: 34px; }
.hex-plate {
    width: 76px; height: 66px;
    background: linear-gradient(160deg, var(--gold-light), var(--gold) 60%, #8f6f22);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hex-plate .num { font-weight: 800; font-size: 1.45rem; color: var(--navy-deep); line-height: 1; }
.hex-plate .lbl { font-size: 0.56rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-deep); opacity: 0.75; margin-top: 3px; }
.countdown-caption {
    margin-top: 14px;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-light);
    opacity: 0.9;
}

.hero-seal {
    width: 250px; height: 250px;
    margin: 0 auto;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--navy) 0%, var(--navy-deep) 75%);
    border: 3px solid var(--gold);
    display: flex; align-items: center; justify-content: center; flex-direction: column;
    position: relative;
}
.hero-seal::before {
    content: '';
    position: absolute; inset: 14px;
    border: 1px dashed rgba(212,175,55,0.5);
    border-radius: 50%;
}
.hero-seal .seal-word {
    color: var(--gold-light);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.66rem;
}
.hero-seal .seal-time { color: var(--champagne); font-size: 1.75rem; font-weight: 700; margin: 6px 0; }
.hero-seal .seal-sub { color: rgba(240,230,210,0.6); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ── Ticket-style results ── */
.results-stage {
    max-width: 1080px;
    margin: -44px auto 0;
    padding: 0 40px 20px;
    position: relative;
    z-index: 2;
}
.results-heading { text-align: center; margin-bottom: 34px; }
.results-heading .eyebrow-sm {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}
.results-heading h2 { color: var(--navy); font-size: 1.7rem; }

.ticket-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
}
.ticket-card {
    position: relative;
    background: #fff;
    padding: 26px 22px 20px;
    box-shadow: 0 10px 26px rgba(20,33,61,0.10);
    clip-path: polygon(
        0% 7px, 6% 0%, 12% 7px, 18% 0%, 24% 7px, 30% 0%, 36% 7px, 42% 0%,
        48% 7px, 54% 0%, 60% 7px, 66% 0%, 72% 7px, 78% 0%, 84% 7px, 90% 0%,
        96% 7px, 100% 0%, 100% 100%, 0% 100%
    );
}
.ticket-stamp {
    position: absolute;
    top: 18px; right: -6px;
    background: var(--gold);
    color: var(--navy-deep);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 10px;
    transform: rotate(6deg);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.ticket-card .tier-name {
    font-weight: 700;
    color: var(--navy);
    font-size: 0.92rem;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(20,33,61,0.1);
}
.hex-row { display: flex; gap: 8px; flex-wrap: wrap; }
.hex-chip {
    width: 32px; height: 28px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    background: linear-gradient(160deg, var(--gold-light), var(--gold) 60%, #8f6f22);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.78rem; color: var(--navy-deep);
}
.results-empty { text-align: center; color: #777; padding: 20px 0; }

/* ── About accordion ── */
.about-accordion-wrap {
    background: var(--navy-deep);
    color: var(--champagne);
    padding: 74px 40px;
    margin-top: 50px;
    border-top: 1px solid rgba(212,175,55,0.3);
    border-bottom: 1px solid rgba(212,175,55,0.3);
}
.about-accordion-inner { max-width: 760px; margin: 0 auto; }
.about-accordion-inner .eyebrow-sm {
    display: block;
    text-align: center;
    font-size: 0.68rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}
.about-accordion-inner h2 { text-align: center; font-size: 1.8rem; margin-bottom: 40px; }

details.about-item { border-bottom: 1px solid rgba(212,175,55,0.2); padding: 18px 0; }
details.about-item:first-of-type { border-top: 1px solid rgba(212,175,55,0.2); }
details.about-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--gold-light);
    font-size: 1.02rem;
    font-weight: 700;
}
details.about-item summary::-webkit-details-marker { display: none; }
details.about-item summary .plus { color: var(--gold); font-size: 1.3rem; flex-shrink: 0; }
details.about-item[open] summary .plus { transform: rotate(45deg); display: inline-block; }
.about-item-body {
    color: rgba(240,230,210,0.75);
    font-size: 0.92rem;
    margin-top: 12px;
    line-height: 1.7;
    max-width: 620px;
}
/* ── Section wrapper ── */
.section {
    max-width: 960px;
    margin: 0 auto;
    padding: 50px 40px;
}
.section h2 {
    color: var(--navy);
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--gold);
    display: inline-block;
    padding-bottom: 8px;
}

/* ── History ── */
.filter-bar { display: flex; gap: 12px; margin: 24px 0; flex-wrap: wrap; }
.filter-bar input, .filter-bar button {
    padding: 10px 14px;
    border: 1px solid var(--navy);
    font-family: 'Jost', sans-serif;
}
.filter-bar button {
    background: var(--navy);
    color: var(--champagne);
    cursor: pointer;
    font-weight: 700;
}
.history-card {
    border: 1px solid rgba(20,33,61,0.2);
    border-left: 5px solid var(--gold);
    padding: 18px 22px;
    margin-bottom: 16px;
    background: #fff;
}
.history-card .date {
    font-weight: 700; color: var(--navy); margin-bottom: 14px; font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
}
.pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 30px; }
.pagination .page-link {
    padding: 10px 22px;
    background: var(--navy);
    color: var(--champagne);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
}
.pagination .page-link:hover { background: var(--navy-deep); }
.pagination .page-status { color: var(--navy); font-weight: 700; font-size: 0.88rem; }
.history-tier-row { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; flex-wrap: wrap; }
.history-tier-row:last-child { margin-bottom: 0; }
.history-tier-label {
    font-weight: 700; color: var(--navy); font-size: 0.82rem;
    text-transform: uppercase; letter-spacing: 0.05em; width: 130px; flex-shrink: 0;
}
.num-chip-row { display: flex; gap: 6px; flex-wrap: wrap; }
.num-chip {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, #a8842a 100%);
    color: var(--navy-deep);
    font-weight: 700; font-size: 0.8rem;
    transform: rotate(45deg);
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.num-chip span { display: block; transform: rotate(-45deg); }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 20px; }
.contact-card { background: #fff; border: 1px solid var(--gold); padding: 24px; }
.contact-card h3 { color: var(--navy); margin-bottom: 10px; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 12px; margin-bottom: 12px;
    border: 1px solid rgba(20,33,61,0.3); font-family: 'Jost', sans-serif;
}
.contact-form button {
    background: var(--navy); color: var(--champagne); border: none;
    padding: 12px 26px; font-weight: 700; cursor: pointer;
}

/* ══════════════════════════════════════════════════════════
   TERMS — Manuscript layout
   ══════════════════════════════════════════════════════════ */
.manuscript-wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: 70px 40px 60px;
}
.manuscript-header {
    text-align: center;
    margin-bottom: 20px;
}
.manuscript-header .eyebrow-sm {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}
.manuscript-header h2 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 2.1rem;
    border-bottom: none;
    padding-bottom: 0;
}
.klimt-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 34px 0;
}
.klimt-divider::before,
.klimt-divider::after {
    content: '';
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.klimt-divider .glyph {
    width: 16px; height: 16px;
    background: var(--gold);
    transform: rotate(45deg);
    flex-shrink: 0;
    position: relative;
}
.klimt-divider .glyph::before {
    content: '';
    position: absolute;
    inset: 4px;
    background: var(--champagne);
}
.manuscript-section { margin-bottom: 4px; }
.manuscript-section p {
    text-align: justify;
    color: var(--ink);
    font-size: 1rem;
}
.manuscript-section p.drop-cap::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 3.6rem;
    font-weight: 800;
    color: var(--gold);
    float: left;
    line-height: 0.8;
    padding-right: 10px;
    padding-top: 6px;
}
.manuscript-section .clause-label {
    display: block;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.03em;
    margin-bottom: 10px;
    font-size: 1.05rem;
}
.manuscript-footer-mark {
    text-align: center;
    margin-top: 40px;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.3em;
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.8;
}

/* ══════════════════════════════════════════════════════════
   HISTORY — Vertical archive timeline
   ══════════════════════════════════════════════════════════ */
.archive-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 30px;
}
.archive-header {
    text-align: center;
    margin-bottom: 10px;
}
.archive-header .eyebrow-sm {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}
.archive-header h2 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 2.1rem;
    border-bottom: none;
    display: block;
}
.archive-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 30px 0 10px;
    flex-wrap: wrap;
}
.archive-filter input {
    padding: 9px 14px;
    border: 1px solid var(--gold);
    background: #fff;
    font-family: 'Jost', sans-serif;
}
.archive-filter button {
    padding: 9px 20px;
    background: var(--navy);
    color: var(--champagne);
    border: none;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
}
.archive-filter .clear-link {
    align-self: center;
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
}
.timeline {
    position: relative;
    margin-top: 50px;
    padding: 10px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--gold) 4%, var(--gold) 96%, transparent);
    transform: translateX(-50%);
}
.timeline-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    align-items: start;
    margin-bottom: 36px;
}
.timeline-node {
    grid-column: 2;
    width: 14px; height: 14px;
    background: var(--gold);
    border: 3px solid var(--champagne);
    border-radius: 50%;
    margin: 8px auto 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 1px var(--gold);
}
.timeline-card {
    background: #fff;
    border: 1px solid rgba(20,33,61,0.14);
    padding: 20px 24px;
    box-shadow: 0 6px 16px rgba(20,33,61,0.06);
    position: relative;
}
.timeline-row:nth-child(odd) .timeline-card { grid-column: 1; text-align: right; }
.timeline-row:nth-child(even) .timeline-card { grid-column: 3; text-align: left; }
.timeline-row:nth-child(odd) .timeline-card::after {
    content: '';
    position: absolute;
    top: 14px; right: -8px;
    width: 0; height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 8px solid #fff;
}
.timeline-row:nth-child(even) .timeline-card::after {
    content: '';
    position: absolute;
    top: 14px; left: -8px;
    width: 0; height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-right: 8px solid #fff;
}
.timeline-date {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 14px;
}
.timeline-row:nth-child(odd) .archive-tier-row { justify-content: flex-end; }
.timeline-row:nth-child(even) .archive-tier-row { justify-content: flex-start; }
.archive-tier-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.timeline-row:nth-child(odd) .archive-tier-row { flex-direction: row-reverse; }
.archive-tier-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gold);
    background: rgba(212,175,55,0.12);
    padding: 3px 8px;
}
.archive-empty {
    text-align: center;
    color: #888;
    margin-top: 40px;
    font-style: italic;
}
.archive-pagination {
    display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 20px;
}

/* ══════════════════════════════════════════════════════════
   CONTACT — Split screen
   ══════════════════════════════════════════════════════════ */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    max-width: 1080px;
    margin: 50px auto;
    min-height: 480px;
    box-shadow: 0 16px 40px rgba(20,33,61,0.12);
}
.contact-panel-dark {
    background: var(--navy-deep);
    color: var(--champagne);
    padding: 60px 46px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-panel-dark::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    background:
        repeating-linear-gradient(45deg, rgba(212,175,55,0.10) 0 2px, transparent 2px 18px),
        repeating-linear-gradient(-45deg, rgba(212,175,55,0.10) 0 2px, transparent 2px 18px);
    transform: rotate(15deg);
}
.contact-panel-dark::after {
    content: '';
    position: absolute;
    bottom: -40px; left: -40px;
    width: 12px; height: 160px;
    background: var(--gold);
    opacity: 0.5;
    transform: rotate(30deg);
}
.contact-panel-dark .eyebrow-sm {
    font-size: 0.68rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.contact-panel-dark h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}
.contact-panel-dark p {
    color: rgba(240,230,210,0.8);
    font-size: 0.96rem;
    max-width: 320px;
    margin-bottom: 26px;
    position: relative;
    z-index: 1;
}
.contact-email-block {
    position: relative;
    z-index: 1;
    padding-top: 22px;
    border-top: 1px solid rgba(212,175,55,0.3);
}
.contact-email-block .lbl {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(212,175,55,0.8);
    margin-bottom: 6px;
}
.contact-email-block a {
    color: var(--gold-light);
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    text-decoration: none;
}
.contact-panel-light {
    background: #fff;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-panel-light .form-label {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 8px;
}
.line-field {
    width: 100%;
    border: none;
    border-bottom: 1.5px solid rgba(20,33,61,0.25);
    background: transparent;
    padding: 8px 2px 12px;
    margin-bottom: 30px;
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    color: var(--ink);
    transition: border-color 0.2s ease;
}
.line-field:focus {
    outline: none;
    border-bottom-color: var(--gold);
}
textarea.line-field { resize: vertical; min-height: 60px; }
.contact-panel-light button {
    align-self: flex-start;
    background: var(--navy);
    color: var(--champagne);
    border: none;
    padding: 13px 32px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.82rem;
    cursor: pointer;
    margin-top: 6px;
    transition: background 0.2s ease;
}
.contact-panel-light button:hover { background: var(--navy-deep); }

/* ── Footer ── */
.site-footer { background: var(--navy-deep); color: rgba(240,230,210,0.75); }
.footer-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 54px 40px 30px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
}
.footer-brand .brand-word { color: var(--champagne); font-size: 1.1rem; }
.footer-brand .brand-seal { margin-bottom: 12px; }
.footer-brand p { margin-top: 12px; font-size: 0.85rem; color: rgba(240,230,210,0.55); max-width: 260px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-heading {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}
.footer-links a { color: rgba(240,230,210,0.7); text-decoration: none; font-size: 0.88rem; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
    text-align: center;
    padding: 18px;
    border-top: 1px solid rgba(212,175,55,0.15);
    font-size: 0.78rem;
    color: rgba(240,230,210,0.5);
}

/* ── Admin ── */
.admin-wrap { max-width: 1000px; margin: 40px auto; padding: 0 20px; font-family: 'Jost', sans-serif; }
.admin-wrap table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.admin-wrap th, .admin-wrap td { padding: 10px; border-bottom: 1px solid #ddd; text-align: left; font-size: 0.9rem; }
.admin-wrap input[type=text], .admin-wrap input[type=date], .admin-wrap input[type=password] {
    padding: 8px; border: 1px solid #bbb; margin-bottom: 8px; width: 100%;
}
.admin-wrap button { padding: 8px 16px; border: none; cursor: pointer; background: var(--navy); color: #fff; }
.admin-wrap .danger { background: #a33; }

.modal-overlay {
    position: fixed; top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.55); align-items: center; justify-content: center; z-index: 100; padding: 20px;
}
.modal-box {
    background: #fff; padding: 28px; max-width: 520px; width: 100%;
    max-height: 90vh; overflow-y: auto; font-family: 'Jost', sans-serif;
}
.modal-box input[type=text], .modal-box input[type=date] {
    padding: 8px; border: 1px solid #bbb; margin-bottom: 8px; width: 100%;
}
.modal-box label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 4px; }
.modal-box button { padding: 8px 16px; border: none; cursor: pointer; background: var(--navy); color: #fff; margin-right: 8px; margin-top: 6px; }

@media (max-width: 780px) {
    .topbar { padding: 0 20px; }
    .topbar-nav {
        position: fixed;
        top: 84px; right: 0; bottom: 0;
        width: 240px;
        background: var(--navy-deep);
        flex-direction: column;
        gap: 0;
        padding: 24px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 205;
    }
    .topbar-nav a { padding: 14px 0; border-bottom: 1px solid rgba(212,175,55,0.15); }
    .nav-burger { display: flex; }
    #nav-toggle:checked ~ .topbar .topbar-nav { transform: translateX(0); }
    #nav-toggle:checked ~ .nav-scrim {
        display: block;
        position: fixed; inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 199;
    }

    .hero-stage { padding: 130px 24px 60px; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-grid p.tagline { max-width: none; margin: 0 auto; }
    .countdown-hex { justify-content: center; }
    .hero-seal { margin-top: 40px; width: 200px; height: 200px; }

    .results-stage { padding: 0 20px 20px; margin-top: -30px; }

    .about-accordion-wrap { padding: 50px 22px; }

    .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 26px; }
    .footer-brand p { margin-left: auto; margin-right: auto; }

    /* Terms */
    .manuscript-wrap { padding: 40px 22px; }

    /* History timeline collapses to single column */
    .timeline::before { left: 20px; }
    .timeline-row { grid-template-columns: 40px 1fr; }
    .timeline-node { grid-column: 1; margin: 8px 0 0 13px; }
    .timeline-row:nth-child(odd) .timeline-card,
    .timeline-row:nth-child(even) .timeline-card {
        grid-column: 2; text-align: left;
    }
    .timeline-row:nth-child(odd) .timeline-card::after,
    .timeline-row:nth-child(even) .timeline-card::after {
        left: -8px; right: auto;
        border-right: 8px solid #fff; border-left: none;
    }
    .timeline-row:nth-child(odd) .archive-tier-row,
    .timeline-row:nth-child(even) .archive-tier-row {
        flex-direction: row; justify-content: flex-start;
    }

    /* Contact split stacks */
    .contact-split { grid-template-columns: 1fr; margin: 20px auto; }
    .contact-panel-dark, .contact-panel-light { padding: 40px 26px; }
}
