/* =========================================================
   FlyCentennial.com — editorial design system
   -----------------------------------------------------
   Direction: aviation field guide as printed publication.
   Serif body copy (the single biggest departure from
   template web design), asymmetric grid with a marginalia
   rail, index-style listings instead of card grids, and
   instrument-panel numerals for anything measured.
   Palette derives from the FlyCentennial mark: navy ink,
   Colorado red, gold, on a warm-neutral paper.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&family=Inter+Tight:ital,wght@0,300..800;1,400..700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
    /* ink + paper */
    --ink: #393f4b;
    --ink-2: #5a6272;
    --ink-3: #8a919e;
    --paper: #ffffff;
    --paper-2: #e0eaf7;
    --paper-3: #f2f6fb;

    /* brand */
    --navy: #012060;
    --navy-deep: #011744;
    --red: #b3202e;
    --red-deep: #8d1721;
    --blue: #3373bb;
    --gold: #e8b230;
    --gold-deep: #d9a12f;

    --rule: #dde5f0;
    --rule-strong: #b9c6da;

    --font-display: 'Sora', -apple-system, 'Segoe UI', Helvetica, sans-serif;
    --font-body: 'Inter Tight', -apple-system, 'Segoe UI', Helvetica, sans-serif;
    --font-ui: 'Inter Tight', -apple-system, 'Segoe UI', Helvetica, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    --r-sm: 6px;
    --r: 8px;
    --r-lg: 8px;
    --shadow: 0 6px 24px rgba(1, 32, 96, 0.08);
    --shadow-lg: 0 18px 44px rgba(1, 32, 96, 0.14);
    --measure: 68ch;
    --gutter: clamp(20px, 4vw, 56px);
    --shell: 1400px;

    --a11y-text-scale: 1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: calc(1rem * var(--a11y-text-scale));
    line-height: 1.72;
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
}

img, svg, iframe { max-width: 100%; display: block; }
svg.icon { width: 20px; height: 20px; flex: none; }
a { color: inherit; }

.shell { max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------------------------------------------------------
   Typography
   --------------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0 0 0.4em;
    text-wrap: balance;
    font-variation-settings: 'SOFT' 0, 'WONK' 1;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3vw, 2.75rem); font-weight: 500; margin-top: 1.4em; }
h3 { font-size: clamp(1.05rem, 1.4vw, 1.28rem); font-weight: 600; margin-top: 1.4em; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.05em; }
.lede {
    font-family: var(--font-body);
    font-size: clamp(1.15rem, 1.7vw, 1.45rem);
    line-height: 1.48;
    color: var(--ink-2);
    font-weight: 300;
    max-width: none;
}

/* small-caps editorial eyebrow */
.eyebrow {
    display: block;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1rem;
}
.eyebrow--pale { color: var(--gold); }
.eyebrow--ink { color: var(--ink-3); }

.copy > p:first-of-type { font-size: 1.16rem; line-height: 1.6; color: var(--ink-2); }

.copy { max-width: none; }
/* Text fills its column. The editorial grid already sets a sane column
   width, so no element needs an extra max-width cap on top of it. */
.copy h2 { margin-top: 1.9em; text-transform: none; font-size: clamp(1.35rem, 2vw, 1.75rem); }
.copy h3 { text-transform: none; }
/* Only the first H2 gets a rule -- it separates the lede from the body.
   Repeating it on every heading is what turns a page into a checklist. */
.copy > h2:first-of-type { border-top: 1.5px solid var(--ink); padding-top: 0.85em; margin-top: 2.2em; }
/* A short section following a long one gets tighter spacing, so the page
   breathes unevenly the way a real column does. */
.copy h2 + p { margin-top: 0; }
.copy h3 { margin-top: 1.7em; color: var(--navy); }
.copy ul, .copy ol { padding-left: 1.15em; margin: 0 0 1.2em; }
.copy li { margin-bottom: 0.4em; }
.copy a { color: var(--red); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.copy strong { font-weight: 600; }

/* ---------------------------------------------------------
   Masthead / navigation
   --------------------------------------------------------- */
.utility {
    background: var(--navy-deep);
    color: rgba(255,255,255,0.72);
    font-family: var(--font-ui);
    font-size: 0.74rem;
    letter-spacing: 0.04em;
}
.utility .shell { display: flex; gap: 20px; align-items: center; justify-content: flex-end; padding-block: 7px; }
.utility a { color: rgba(255,255,255,0.78); text-decoration: none; }
.utility a:hover { color: #fff; }
.utility .util-cta { color: var(--gold); font-weight: 700; }
.utility .util-mid { flex: 1; text-align: left; opacity: 0.6; }
@media (max-width: 720px) { .utility .util-mid { display: none; } }

.masthead {
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--rule);
    position: sticky;
    top: 0;
    z-index: 60;
}
.masthead .shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brand img { height: 62px; width: auto; }
.brand-rule { width: 1px; height: 40px; background: var(--rule-strong); }
.brand-sub {
    font-family: var(--font-ui);
    font-size: 0.64rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-3);
    line-height: 1.35;
    max-width: 96px;
}
@media (max-width: 700px) { .brand-rule, .brand-sub { display: none; } }
@media (max-width: 560px) { .brand img { height: 48px; } }

.nav { display: flex; align-items: center; gap: 2px; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav > ul > li { position: relative; }
.nav > ul > li > a {
    display: block;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 10px 13px;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 2px solid transparent;
}
.nav > ul > li > a:hover { border-bottom-color: var(--red); }

/* mega menu */
.mega {
    border-radius: var(--r-lg);
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 340px;
    background: var(--paper);
    border: 1px solid var(--rule);
    padding: 18px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .14s ease, transform .14s ease, visibility .14s;
    box-shadow: var(--shadow-lg);
}
.nav > ul > li:hover .mega,
.nav > ul > li:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-label {
    font-family: var(--font-ui);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-3);
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--rule);
}
.mega a {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: baseline;
    padding: 7px 0;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 1rem;
    border-bottom: 1px dotted var(--rule);
}
.mega a:last-child { border-bottom: 0; }
.mega a span.mega-note { font-family: var(--font-ui); font-size: 0.68rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; }
.mega a:hover { color: var(--red); }

.nav-cta {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.74rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    background: var(--red);
    color: #fff;
    padding: 11px 17px;
    text-decoration: none;
    margin-left: 10px;
}
.nav-cta:hover { background: var(--red-deep); }

.nav-toggle { display: none; background: #fff; border: 1px solid var(--rule-strong); border-radius: var(--r-sm); padding: 9px 11px; cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 1020px) {
    .nav {
        position: fixed;
        inset: 0 0 0 30%;
        background: var(--paper);
        border-left: 1.5px solid var(--ink);
        flex-direction: column;
        align-items: stretch;
        padding: 84px 26px 26px;
        overflow-y: auto;
        transform: translateX(101%);
        transition: transform .24s cubic-bezier(.4,0,.2,1);
    }
    .nav.is-open { transform: translateX(0); }
    .nav > ul { flex-direction: column; gap: 0; }
    .nav > ul > li > a { padding: 13px 0; font-size: 0.95rem; border-bottom: 1px solid var(--rule); }
    .mega { position: static; transform: none; opacity: 1; visibility: visible; border: 0; box-shadow: none; padding: 4px 0 12px 14px; min-width: 0; display: none; }
    .nav > ul > li.is-open .mega { display: block; }
    .nav-toggle { display: inline-flex; }
    .nav-cta { margin: 20px 0 0; text-align: center; }
}
@media (max-width: 640px) { .nav { inset: 0; } }

/* ---------------------------------------------------------
   Conditions strip (live METAR)
   --------------------------------------------------------- */
.conditions {
    background: var(--navy-deep);
    color: rgba(255,255,255,0.82);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    overflow-x: auto;
}
.conditions .shell { display: flex; align-items: center; gap: 22px; padding-block: 9px; white-space: nowrap; }
.cond-flag {
    font-family: var(--font-ui); font-weight: 800; font-size: 0.66rem; letter-spacing: 0.1em;
    color: #fff; padding: 4px 10px; flex: none;
}
.cond-item {
    font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.01em;
    display: inline-flex; align-items: center; gap: 6px; flex: none;
    font-variant-numeric: tabular-nums;
}
.cond-item svg { width: 13px; height: 13px; color: var(--gold); }
.cond-item strong { color: var(--gold); font-weight: 600; }
.cond-link {
    font-family: var(--font-ui); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
    color: #fff; text-decoration: none; font-weight: 600; margin-left: auto; flex: none;
    border-bottom: 1px solid var(--gold); padding-bottom: 1px;
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero { position: relative; background: var(--navy-deep); color: #fff; overflow: hidden; }
.hero-photo {
    position: absolute; inset: 0;
    background-size: cover; background-position: center 62%;
    opacity: 0.42;
}
.hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(12,28,48,0.55) 0%, rgba(12,28,48,0.72) 55%, rgba(12,28,48,0.95) 100%);
}
.hero .shell { position: relative; z-index: 2; padding-block: clamp(72px, 12vh, 140px) clamp(48px, 8vh, 90px); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lede { color: rgba(255,255,255,0.82); margin-top: 1.2rem; }
.hero .eyebrow { color: var(--gold); }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

/* runway-strip stat block */
.specs { border-top: 1px solid rgba(255,255,255,0.28); padding-top: 20px; }
.specs-row {
    display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
    padding: 9px 0; border-bottom: 1px dotted rgba(255,255,255,0.22);
}
.specs-row:last-child { border-bottom: 0; }
.specs-key { font-family: var(--font-ui); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.specs-val { font-family: var(--font-mono); font-size: 1.05rem; color: var(--gold); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--font-ui); font-weight: 600; font-size: 0.75rem;
    letter-spacing: 1px; text-transform: uppercase;
    padding: 16px 26px; text-decoration: none; cursor: pointer; border-radius: var(--r);
    border: 1.5px solid transparent; background: none;
    transition: background-color .16s, color .16s, border-color .16s, transform .16s, box-shadow .16s;
}
.btn svg { width: 15px; height: 15px; }
.btn-solid { background: var(--blue); color: #fff; }
.btn-solid:hover { background: var(--navy); transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,0.45); color: #fff; backdrop-filter: blur(4px); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-ink { border-color: var(--rule); color: var(--blue); background: #fff; }
.btn-ink:hover { border-color: var(--navy); background: var(--paper-2); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 15px; font-size: 0.7rem; }

/* ---------------------------------------------------------
   Sections + editorial grid
   --------------------------------------------------------- */
.band { padding-block: clamp(52px, 8vw, 104px); }
.band--tight { padding-block: clamp(34px, 5vw, 60px); }
.band--paper2 { background: linear-gradient(180deg, #f4f7fa 0%, #eaf2f8 100%); }
.band--tint { background: rgba(0, 46, 93, 0.045); }
.band--gold { background: rgba(244, 192, 84, 0.11); }
.band--ink { background: var(--navy-deep); color: rgba(255,255,255,0.84); }
.band--ink h1, .band--ink h2, .band--ink h3 { color: #fff; }
.band--ink .lede, .hero .lede { color: rgba(255,255,255,0.86); }
.band--ink .eyebrow--ink { color: var(--gold); }
.band--ink .crumbs, .band--ink .crumbs a, .hero .crumbs, .hero .crumbs a { color: rgba(255,255,255,0.75); }
.band--ink .disclaimer { color: rgba(255,255,255,0.7); }
.band--rule { border-top: 1px solid var(--rule); }

/* asymmetric editorial grid: main column + marginalia rail */
.editorial {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
    gap: clamp(32px, 6vw, 88px);
    align-items: start;
}
@media (max-width: 940px) { .editorial { grid-template-columns: 1fr; } }

.rail { position: sticky; top: 100px; font-family: var(--font-ui); }
@media (max-width: 940px) { .rail { position: static; } }
.rail-block { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 22px; margin-bottom: 20px; box-shadow: var(--shadow); }
.rail-block h4 {
    font-family: var(--font-ui); font-size: 0.66rem; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px;
}
.rail-row {
    display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
    padding: 8px 0; border-bottom: 1px dotted var(--rule); font-size: 0.86rem;
}
.rail-row:last-child { border-bottom: 0; }
.rail-row dt, .rail-key { color: var(--ink-3); }
.rail-row dd, .rail-val { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.rail-row a { color: var(--red); text-decoration: none; font-weight: 700; }
.rail ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.rail ol li { counter-increment: toc; }
.rail ol a {
    display: flex; gap: 10px; padding: 7px 0; text-decoration: none; font-size: 0.85rem;
    color: var(--ink-2); border-bottom: 1px dotted var(--rule); line-height: 1.35;
}
.rail ol a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); color: var(--rule-strong); flex: none; }
.rail ol a:hover { color: var(--red); }

/* Section heading. Spans the full container: headline left, deck right.
   Never leave a half-empty band — if there is no deck, the headline
   stretches to fill instead. */
.band-head {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(20px, 4vw, 64px);
    align-items: end;
    width: 100%;
    max-width: none;
    margin-bottom: clamp(26px, 3.5vw, 44px);
    padding-bottom: clamp(16px, 2vw, 24px);
    border-bottom: 1.5px solid var(--ink);
}
.band-head > .band-head-main { min-width: 0; }
.band-head h2 { margin: 0; }
.band-head-deck {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.55;
    color: var(--ink-2);
    max-width: none;
    padding-bottom: 0.35em;
}
.band-head:not(:has(.band-head-deck)) { grid-template-columns: 1fr; }
.band-head:not(:has(.band-head-deck)) h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
@media (max-width: 820px) {
    .band-head { grid-template-columns: 1fr; gap: 14px; align-items: start; }
}

/* ---------------------------------------------------------
   Index listing (replaces card grid)
   --------------------------------------------------------- */
.index { display: grid; gap: 14px; }
.index-entry {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: clamp(16px, 3vw, 34px);
    align-items: baseline;
    padding: clamp(20px, 2.6vw, 28px) clamp(20px, 2.4vw, 28px);
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.index-entry:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--rule-strong); }
.index-num {
    font-family: var(--font-mono); font-size: 0.82rem; color: var(--rule-strong);
    font-variant-numeric: tabular-nums; padding-top: 0.35em;
}
.index-entry:hover .index-num { color: var(--red); }
.index-title { display: block; font-family: var(--font-display); font-size: clamp(1.3rem, 2.3vw, 1.85rem); font-weight: 600; line-height: 1.12; margin: 0 0 6px; letter-spacing: -0.015em; }
.index-desc { display: block; font-size: 0.98rem; color: var(--ink-2); margin: 0 0 8px; max-width: none; line-height: 1.5; }
.index-tags { display: block; font-family: var(--font-ui); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.index-meta { font-family: var(--font-mono); font-size: 0.95rem; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.index-meta small { display: block; font-family: var(--font-ui); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
.index-entry.is-featured { border-color: var(--gold); background: rgba(244,192,84,0.06); }
.index-entry.is-featured .index-num { color: var(--gold-deep); }
@media (max-width: 700px) {
    .index-entry { grid-template-columns: 40px minmax(0, 1fr); }
    .index-meta { grid-column: 2; text-align: left; margin-top: 6px; }
}

/* ---------------------------------------------------------
   Feature cards (home sections) — editorial plates
   --------------------------------------------------------- */
.plates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .plates { grid-template-columns: 1fr; } }
.plate {
    background: #fff;
    padding: clamp(26px, 3.2vw, 38px);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.plate:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plate-idx { font-family: var(--font-mono); font-size: 0.76rem; color: var(--rule-strong); letter-spacing: 0.06em; }
.plate h3 { margin: 0; font-size: clamp(1.45rem, 2.2vw, 1.95rem); }
.plate p { margin: 0; color: var(--ink-2); font-size: 0.98rem; line-height: 1.55; }
.plate-go {
    margin-top: auto; padding-top: 14px;
    font-family: var(--font-ui); font-weight: 700; font-size: 0.7rem;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--red);
    display: inline-flex; align-items: center; gap: 8px;
}
.plate:hover .plate-go svg { transform: translateX(4px); }
.plate-go svg { width: 14px; height: 14px; transition: transform .16s ease; }

/* ---------------------------------------------------------
   Editorial devices: pull quote, field note, tables
   --------------------------------------------------------- */
.pullquote {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    line-height: 1.22;
    font-weight: 500;
    color: var(--navy);
    border-left: 3px solid var(--red);
    padding: 6px 0 6px 26px;
    margin: 2em 0;
    letter-spacing: -0.015em;
}

.callout {
    background: rgba(244, 192, 84, 0.12);
    border: 1px solid rgba(244, 192, 84, 0.5);
    border-radius: var(--r-lg);
    padding: 24px 28px;
    margin: 2em 0;
}
.callout-label {
    font-family: var(--font-ui); font-weight: 800; font-size: 0.64rem;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 10px;
}
.callout p:last-child { margin-bottom: 0; }
.callout--warn { background: rgba(179, 32, 46, 0.06); border-color: rgba(179, 32, 46, 0.3); }
.callout--warn .callout-label { color: var(--navy); }

.data-table-wrap { overflow-x: auto; margin: 1.8em 0; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg); box-shadow: var(--shadow); }
table.data-table { width: 100%; min-width: 460px; border-collapse: collapse; font-family: var(--font-ui); font-size: 0.88rem; }
table.data-table th, table.data-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.data-table thead th {
    font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
    font-weight: 700; padding-bottom: 9px;
}
table.data-table tbody tr:last-child td { border-bottom: 0; }
table.data-table td.num, table.data-table th.num, table.data-table .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { table.data-table th, table.data-table td { padding: 10px 12px 10px 0; font-size: 0.84rem; } }

/* FAQ */
.faq { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
    cursor: pointer; list-style: none; padding: 18px 0;
    font-family: var(--font-display); font-size: 1.12rem; font-weight: 600;
    display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-ui); color: var(--red); font-size: 1.3rem; line-height: 1; flex: none; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding: 0 0 20px; color: var(--ink-2); max-width: none; }

/* ---------------------------------------------------------
   Listing detail
   --------------------------------------------------------- */
.factfile { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); font-family: var(--font-ui); margin-bottom: 20px; }
.factfile h4 { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.factfile-row { display: flex; gap: 11px; padding: 11px 0; border-bottom: 1px dotted var(--rule); font-size: 0.88rem; line-height: 1.45; }
.factfile-row svg { width: 15px; height: 15px; color: var(--red); flex: none; margin-top: 3px; }
.factfile-row a { color: var(--ink); }
.factfile-actions { display: grid; gap: 8px; margin-top: 18px; }

.byline {
    display: flex; gap: 16px; align-items: flex-start; width: 100%;
    border-top: 1px solid var(--rule); margin-top: 3em; padding-top: 22px;
    font-family: var(--font-ui);
}
.byline > div:last-child { flex: 1 1 auto; min-width: 0; }
.byline-mark { width: 52px; height: 52px; border-radius: 50%; background: var(--paper-2); display: flex; align-items: center; justify-content: center; flex: none; color: var(--navy); }
.byline-mark svg { width: 22px; height: 22px; }
.byline-name { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; margin: 0 0 3px; }
.byline-role, .byline-links { margin: 0 0 3px; font-size: 0.82rem; color: var(--ink-3); line-height: 1.45; }
.byline-links a { color: var(--red); font-weight: 600; text-decoration: none; }

.disclaimer { font-size: 0.82rem; color: var(--ink-3); line-height: 1.55; max-width: none; font-family: var(--font-ui); }

/* sticky mobile action bar */
.actionbar {
    position: sticky; bottom: 0; z-index: 40;
    background: var(--navy-deep); display: none; gap: 8px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 760px) { .actionbar { display: flex; } }

/* ---------------------------------------------------------
   Maps
   --------------------------------------------------------- */
.map-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0; width: 100%; margin-bottom: 20px; border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--rule); }
.map-count { margin-left: auto; padding: 13px 0 13px 18px; font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.map-count strong { color: var(--ink); font-weight: 700; }
.map-filter {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-ui); font-weight: 600; font-size: 0.72rem;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 13px 18px; border: 0; background: none; color: var(--ink-3); cursor: pointer;
    border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.map-filter[data-category]:not([data-category="all"])::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--ink-3)); flex: none;
}
.map-filter:hover { color: var(--ink); }
.map-filter.is-active { color: var(--ink); border-bottom-color: var(--red); }
.home-map, .map-embed { width: 100%; height: 480px; border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); }
.map-embed { height: 400px; margin-bottom: 26px; }
@media (max-width: 600px) { .home-map { height: 340px; } .map-embed { height: 300px; } }
.home-map--fallback { display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.home-map--fallback p { color: var(--ink-3); max-width: 42ch; }
.home-map--fallback a { color: var(--red); font-weight: 700; }

/* crosswind + TAF */
.crosswind-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin: 1.6em 0; }
.crosswind-card { background: #fff; padding: 20px 22px; border-radius: var(--r); border-top: 3px solid var(--navy); box-shadow: var(--shadow); }
.crosswind-card.is-tailwind { border-top-color: var(--red); }
.cw-rwy { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; }
.cw-length { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-3); margin-bottom: 10px; }
.cw-favored { font-family: var(--font-ui); font-size: 0.84rem; margin-bottom: 8px; }
.cw-components { display: grid; gap: 3px; font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cw-components strong { color: var(--ink); }

.taf-list { display: grid; gap: 0; border-top: 2px solid var(--ink); margin: 1.6em 0; }
.taf-period { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.taf-period-head { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-ui); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
.taf-time { font-family: var(--font-mono); font-weight: 400; color: var(--ink-3); text-transform: none; letter-spacing: 0; }
.taf-period-body { display: flex; flex-wrap: wrap; gap: 16px; font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------
   Forms
   --------------------------------------------------------- */
.form { display: grid; gap: 20px; max-width: none; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-ui); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.field .hint { font-family: var(--font-ui); font-size: 0.78rem; color: var(--ink-3); }
input, select, textarea {
    font-family: var(--font-body); font-size: 1rem; padding: 13px 16px; border-radius: var(--r-sm);
    border: 1.5px solid var(--rule-strong); background: #fff; color: var(--ink); width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .field-pair { grid-template-columns: 1fr; } }
.notice { padding: 16px 20px; margin-bottom: 22px; border-radius: var(--r); font-family: var(--font-ui); font-size: 0.94rem; border-left: 4px solid; }
.notice-ok { background: #f0f6f1; border-color: #2f6b3d; color: #235030; }
.notice-bad { background: #fdf3f2; border-color: var(--red); color: var(--red-deep); }
.notice ul { margin: 6px 0 0; padding-left: 18px; }

/* status pills */
.pill { font-family: var(--font-ui); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 11px; border-radius: 100px; display: inline-block; }
.pill--active { background: #e8f1e9; color: #235030; }
.pill--sold, .pill--expired { background: var(--paper-3); color: var(--ink-3); }
.pill--pending { background: #fdf3e3; color: #8a6414; }
.pill--rejected { background: #fdf1f0; color: var(--red-deep); }
.pill--sample { background: var(--navy); color: #fff; }

/* ---------------------------------------------------------
   Breadcrumbs
   --------------------------------------------------------- */
.crumbs { font-family: var(--font-ui); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; padding-block: 16px; }
.crumbs a { color: inherit; text-decoration: none; opacity: 0.7; }
.crumbs a:hover { opacity: 1; }
.crumbs .sep { opacity: 0.35; margin-inline: 8px; }

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.colophon { background: var(--navy-deep); color: rgba(255,255,255,0.72); padding-block: clamp(48px, 6vw, 76px) 32px; font-family: var(--font-ui); }
.colophon-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
@media (max-width: 860px) { .colophon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .colophon-grid { grid-template-columns: 1fr; } }
.colophon h4 { font-family: var(--font-ui); color: #fff; font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 16px; }
.colophon ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.colophon a { color: rgba(255,255,255,0.72); text-decoration: none; font-size: 0.88rem; }
.colophon a:hover { color: #fff; }
.colophon-brand img { height: 58px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 18px; }
.colophon-brand p { font-size: 0.88rem; max-width: 34ch; line-height: 1.6; color: rgba(255,255,255,0.68); }
.colophon-base { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; font-size: 0.76rem; color: rgba(255,255,255,0.5); }
.colophon-base a { font-size: 0.76rem; }
.colophon-legal { font-size: 0.74rem; color: rgba(255,255,255,0.45); line-height: 1.6; max-width: 88ch; margin-top: 16px; }

/* ---------------------------------------------------------
   404
   --------------------------------------------------------- */
.error-page { text-align: center; padding-block: clamp(70px, 12vw, 140px); }
.error-code { font-family: var(--font-mono); font-size: clamp(3.5rem, 10vw, 7rem); color: var(--red); line-height: 1; }

/* ---------------------------------------------------------
   Accessibility controls
   --------------------------------------------------------- */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100; font-family: var(--font-ui); }
.skip-link:focus { left: 12px; top: 12px; }

.a11y-widget { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 80; font-family: var(--font-ui); }
@media (max-width: 760px) { body:has(.actionbar) .a11y-widget { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } }
.a11y-toggle {
    width: 46px; height: 46px; border: 1.5px solid var(--ink); background: var(--navy-deep);
    color: var(--gold); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.a11y-toggle svg { width: 21px; height: 21px; }
.a11y-panel {
    position: absolute; right: 0; bottom: 56px; width: 252px;
    background: var(--paper); border: 1.5px solid var(--ink); padding: 18px;
    box-shadow: 8px 8px 0 rgba(16,24,33,0.08);
}
.a11y-panel h4 { font-family: var(--font-ui); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.a11y-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dotted var(--rule); font-size: 0.85rem; }
.a11y-panel .a11y-row:last-of-type { border-bottom: 0; }
.a11y-btns { display: flex; gap: 4px; }
.a11y-btns button { width: 30px; height: 28px; border: 1px solid var(--rule-strong); background: var(--paper); cursor: pointer; font-family: var(--font-ui); font-size: 0.76rem; }
.a11y-btns button:hover { border-color: var(--ink); }
.a11y-switch input { width: 17px; height: 17px; accent-color: var(--red); }
.a11y-more { display: block; margin-top: 12px; font-size: 0.76rem; color: var(--red); font-weight: 700; text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase; }

.a11y-reduce-motion, .a11y-reduce-motion * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
.a11y-readable-font, .a11y-readable-font * { font-family: Verdana, Tahoma, sans-serif !important; letter-spacing: 0.015em !important; line-height: 1.8 !important; }
.a11y-readable-font .copy > p:first-of-type::first-letter { float: none; font-size: inherit; padding: 0; }

.a11y-contrast { --paper: #fff; --paper-2: #fff; --ink: #000; --ink-2: #000; --ink-3: #222; --rule: #000; --rule-strong: #000; }
.a11y-contrast body { background: #fff; color: #000; }
.a11y-contrast .hero, .a11y-contrast .band--ink, .a11y-contrast .colophon, .a11y-contrast .conditions, .a11y-contrast .utility { background: #000 !important; color: #fff !important; }
.a11y-contrast .hero-photo { display: none; }
.a11y-contrast .hero::after { background: #000 !important; }
.a11y-contrast a { text-decoration: underline !important; }
.a11y-contrast .btn-solid { background: #000 !important; color: #fff !important; border-color: #fff !important; }

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

/* focus visibility across the board */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--red); outline-offset: 2px;
}

/* =========================================================
   TRAVIORA LAYOUT LAYER
   Centered section heads, full-bleed media, edge-to-edge
   grids. Nothing here may leave horizontal dead space.
   ========================================================= */

/* Section head: centered, like the reference. Centered content
   cannot leave a lopsided empty right column. */
.band-head {
    display: block;
    width: 100%;
    max-width: none;
    text-align: center;
    margin-inline: auto;
    margin-bottom: clamp(30px, 4vw, 56px);
    padding-bottom: 0;
    border-bottom: 0;
}
.band-head .eyebrow { text-align: center; }
.band-head h2 { margin: 0 auto; max-width: 22ch; }
.band-head-deck {
    margin: 16px auto 0;
    max-width: 66ch;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--ink-2);
}
.band-head--split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(24px,4vw,64px); align-items: end; text-align: left; }
.band-head--split h2 { margin: 0; max-width: none; }
.band-head--split .eyebrow { text-align: left; }
.band-head--split .band-head-deck { margin: 0; max-width: none; }
@media (max-width: 860px) { .band-head--split { grid-template-columns: 1fr; text-align: left; } }

/* Hero: full-bleed photo, centered display type */
.hero { border-radius: 0; }
.hero .shell { text-align: center; }
.hero-grid { display: block; }
.hero h1 { max-width: 18ch; margin-inline: auto; }
.hero .lede { margin-inline: auto; max-width: 62ch; }
.hero .eyebrow { text-align: center; }
.hero-actions { justify-content: center; }
.hero-em { font-family: var(--font-display); font-style: italic; font-weight: 400; }

/* Stat band: 4 columns, edge to edge, pale blue */
.statband { background: var(--paper-2); }
.statband .shell { padding-block: clamp(34px, 4vw, 56px); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; width: 100%; }
@media (max-width: 780px) { .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 1px; } }
.stat-cell { text-align: center; padding: 6px 14px; border-right: 1px solid rgba(1,32,96,0.14); }
.stat-cell:last-child { border-right: 0; }
@media (max-width: 780px) { .stat-cell:nth-child(2n) { border-right: 0; } }
.stat-figure { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 600; color: var(--navy); line-height: 1; letter-spacing: -0.03em; }
.stat-note { font-family: var(--font-ui); font-size: 0.78rem; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-2); margin-top: 10px; }

/* Feature photo grid: images with captions overlaid, fills the row */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-tile {
    position: relative; display: block; min-height: 340px;
    border-radius: var(--r); overflow: hidden; text-decoration: none; color: #fff;
    background-size: cover; background-position: center;
    isolation: isolate;
}
.feature-tile::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(1,23,68,0.12) 0%, rgba(1,23,68,0.42) 45%, rgba(1,23,68,0.88) 100%);
    transition: background .25s ease;
}
.feature-tile:hover::after { background: linear-gradient(180deg, rgba(1,23,68,0.3) 0%, rgba(1,23,68,0.6) 45%, rgba(1,23,68,0.94) 100%); }
.feature-body { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(22px, 2.4vw, 30px); }
.feature-kicker { font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.feature-tile h3 { color: #fff; margin: 0 0 8px; font-size: clamp(1.2rem, 1.7vw, 1.5rem); }
.feature-tile p { color: rgba(255,255,255,0.86); font-size: 0.92rem; line-height: 1.55; margin: 0 0 14px; }
.feature-go { font-family: var(--font-ui); font-size: 0.72rem; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.feature-go svg { width: 14px; height: 14px; transition: transform .2s ease; }
.feature-tile:hover .feature-go svg { transform: translateX(5px); }

/* Editorial: keep the rail, but the article must fill its own track */
.editorial > article, .editorial > div { min-width: 0; width: 100%; }
.editorial .copy { max-width: none; width: 100%; }

/* Plates fill their track edge to edge */
.plates { width: 100%; }
.plate { width: 100%; }
.index, .index-entry { width: 100%; }

/* ---------------------------------------------------------
   Shared page header (all internal pages)
   --------------------------------------------------------- */
.pagehead { position: relative; background: var(--navy-deep); color: #fff; overflow: hidden; }
.pagehead-photo { position: absolute; inset: 0; background-size: cover; background-position: center 55%; opacity: 0.34; }
.pagehead::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(1,23,68,0.62) 0%, rgba(1,23,68,0.8) 60%, rgba(1,23,68,0.95) 100%);
}
.pagehead > * { position: relative; z-index: 2; }
.pagehead-body { padding-block: clamp(28px, 4.5vw, 64px) clamp(30px, 4vw, 52px); }
.pagehead h1 { color: #fff; margin-bottom: 0; }
.pagehead .lede { color: rgba(255,255,255,0.84); margin-top: 18px; max-width: 68ch; }
.pagehead .eyebrow { color: var(--gold); }
.pagehead .crumbs, .pagehead .crumbs a { color: rgba(255,255,255,0.72); }
.pagehead .crumbs a:hover { color: #fff; }

.pagehead-facts {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    width: 100%; gap: 1px; border-top: 1px solid rgba(255,255,255,0.22);
    padding-top: 22px; margin-bottom: clamp(26px, 3.5vw, 44px);
}
.pagehead-fact { padding-right: 20px; border-right: 1px solid rgba(255,255,255,0.16); }
.pagehead-fact:last-child { border-right: 0; }
.pagehead-fact-v { display: block; font-family: var(--font-display); font-size: clamp(1.2rem, 1.8vw, 1.55rem); font-weight: 600; color: var(--gold); letter-spacing: -0.02em; }
.pagehead-fact-k { display: block; font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-top: 6px; }

/* Map fallback: a usable directory panel, not an error message */
.home-map--fallback { height: auto; min-height: 0; display: block; padding: clamp(24px, 3vw, 38px); background: var(--paper-3); }
.mapfb-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; width: 100%; margin-bottom: 22px; }
.mapfb-col h4 { font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.mapfb-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.mapfb-col a { color: var(--navy); text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.mapfb-col a:hover { color: var(--blue); text-decoration: underline; }
