/* ==========================================================================
   McAllen International Airport — "Valley Runway" design system
   ========================================================================== */
:root {
  --ink: #0a2246;
  --ink-2: #0f2f5e;
  --ink-3: #1a4380;
  --ground: #f3f6fa;
  --paper: #ffffff;
  --line: #dde4ee;
  --muted: #4f5f73;
  --sun: #fcc72b;
  --sun-deep: #8a6400;
  --sun-soft: #fff4d1;
  --palm: #08529d;
  --palm-soft: #e2edf9;
  --sky: #9cc6f2;
  --amber: #fcc72b;
  --danger: #b42318;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(10, 34, 70, .06), 0 8px 24px rgba(10, 34, 70, .07);
  --shadow-lg: 0 24px 60px rgba(10, 34, 70, .18);
  --max: 1240px;
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--palm); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }
.ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; min-height: 46px; padding: 0 20px;
  border-radius: 999px; border: 0; font: 600 15px/1 var(--font-body); text-decoration: none; cursor: pointer;
  background: var(--ink); color: #fff; transition: transform .15s ease, background .15s ease, box-shadow .15s;
}
.btn:hover { background: var(--ink-3); color: #fff; transform: translateY(-1px); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #ffd75e; color: var(--ink); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: inherit; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sun-soft); color: var(--ink); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }

/* ---------- Alert ribbon ---------- */
.ribbon { background: var(--amber); color: var(--ink); font-size: 15px; }
.ribbon .wrap { display: flex; align-items: center; gap: 12px; min-height: 46px; }
.ribbon a { color: var(--ink); font-weight: 700; }
.ribbon .ribbon-x { margin-left: auto; background: none; border: 0; color: var(--ink); cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.ribbon .ribbon-x:hover { background: rgba(0,0,0,.08); }
.ribbon[hidden] { display: none; }

/* ---------- Utility bar ---------- */
.util { background: var(--ink); color: #c6d4ea; font-size: 14px; }
.util .wrap { display: flex; align-items: center; gap: 22px; min-height: 40px; }
.util a { color: #eef3fb; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.util a:hover { color: var(--sun); }
.util .util-right { margin-left: auto; display: flex; gap: 18px; }
@media (max-width: 860px) { .util .hide-sm { display: none; } }

/* ---------- Header & mega menu ---------- */
.masthead { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.masthead .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-logo { height: 48px; width: auto; max-width: 100%; }
.footer-brand .brand-logo { height: 58px; }
@media (max-width: 560px) { .masthead .brand-logo { height: 38px; } }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font: 700 17px/1.1 var(--font-display); letter-spacing: -.01em; }
.brand-text span { font: 600 11px/1.4 var(--font-mono); letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; border-radius: 999px;
  background: none; border: 0; font: 600 15px var(--font-body); color: var(--ink); cursor: pointer; text-decoration: none; white-space: nowrap;
}
.nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: var(--ground); color: var(--ink); }
.nav-trigger .ico { width: 16px; height: 16px; transition: transform .2s; }
.nav-trigger[aria-expanded="true"] .ico { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: 0;
  width: min(560px, 92vw); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); padding: 18px; display: none;
}
.mega.open { display: block; animation: drop .18s ease-out; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nav-item:nth-last-of-type(-n+3) .mega { left: auto; right: 0; }
.mega-head { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 8px 12px; border-bottom: 1px dashed var(--line); margin-bottom: 8px; }
.mega-head strong { font: 700 18px var(--font-display); }
.mega-head span { color: var(--muted); font-size: 14px; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega a { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.mega a:hover { background: var(--ground); color: var(--ink); }
.mega a .ico { width: 22px; height: 22px; color: var(--palm); margin-top: 2px; }
.mega a b { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.mega a small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 2px; }
.mega a .ext { width: 14px; height: 14px; color: var(--muted); margin: 3px 0 0 auto; }
.nav-cta { margin-left: 8px; white-space: nowrap; }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; place-items: center; }
.menu-btn .ico { width: 24px; height: 24px; }

@media (max-width: 1180px) {
  .masthead { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .menu-btn { display: grid; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); background: #fff; flex-direction: column; align-items: stretch; gap: 0;
         padding: 84px 18px 28px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease, visibility .25s; box-shadow: var(--shadow-lg); margin: 0; visibility: hidden; z-index: 60; }
  .nav.open { transform: none; visibility: visible; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-trigger { width: 100%; justify-content: space-between; min-height: 56px; font-size: 17px; border-radius: 12px; }
  .mega { position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 0 0 12px; }
  .mega.open { animation: none; }
  .mega-head { display: none; }
  .mega ul { grid-template-columns: 1fr; }
  .nav-cta { margin: 18px 0 0; justify-content: center; }
  .nav-close { position: absolute; top: 18px; right: 18px; }
  .scrim { position: fixed; inset: 0; background: rgba(10,34,70,.45); z-index: 49; }
  .scrim[hidden] { display: none; }
}
@media (min-width: 1181px) { .nav-close, .scrim { display: none !important; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.hero::before { /* runway centerline */
  content: ""; position: absolute; left: -10%; right: -10%; bottom: 74px; height: 4px; z-index: -1;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 46px, transparent 46px 86px);
  transform: rotate(-4deg);
}
.hero::after { /* sunset disc */
  content: ""; position: absolute; width: 560px; height: 560px; right: -160px; top: -220px; border-radius: 50%; z-index: -2;
  background: radial-gradient(circle at 40% 60%, rgba(252,199,43,.55), rgba(252,199,43,0) 62%);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; padding-top: 72px; padding-bottom: 120px; align-items: center; }
.hero .wrap > * { min-width: 0; }
.hero-kicker { display: inline-flex; gap: 10px; align-items: center; font: 600 13px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: 18px; }
.hero-kicker::before { content: ""; width: 34px; height: 2px; background: var(--sun); }
.hero h1 { font-size: clamp(42px, 6.2vw, 80px); line-height: .98; letter-spacing: -.035em; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero-lede { font-size: clamp(17px, 1.6vw, 20px); color: #d0dcee; max-width: 34em; margin-bottom: 28px; }
.hero-search { display: flex; background: #fff; border-radius: 999px; padding: 6px; max-width: 560px; box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.hero-search label { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 14px; color: var(--muted); }
.hero-search .btn { flex: none; }
.hero-search input { flex: 1; border: 0; outline: 0; font: 500 17px var(--font-body); min-height: 48px; color: var(--ink); background: transparent; min-width: 0; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; border: 1px solid rgba(255,255,255,.14); }
.chip:hover { background: rgba(255,255,255,.16); color: #fff; }
.chip .ico { color: var(--sun); width: 18px; height: 18px; }

/* Departure board */
.fids { overflow-x: auto; background: #061833; border-radius: 22px; padding: 20px; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 30px 80px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06); }
.fids-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 12px; }
.fids-head strong { font: 700 14px var(--font-mono); letter-spacing: .2em; color: var(--amber); }
.fids-head time { font: 500 13px var(--font-mono); color: #9db0cc; }
.fids table { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-family: var(--font-mono); }
.fids th { text-align: left; font-size: 11px; letter-spacing: .16em; color: #7d93b3; font-weight: 600; padding: 0 10px 4px; text-transform: uppercase; }
.fids td { background: #0c2448; padding: 11px 8px; font-size: 15px; color: #f1f5f6; white-space: nowrap; }
.fids td:first-child { border-radius: 8px 0 0 8px; }
.fids td:last-child { border-radius: 0 8px 8px 0; text-align: right; }
.fids .code { color: var(--amber); font-weight: 700; letter-spacing: .08em; }
.flap { display: inline-flex; gap: 2px; }
.flap span { display: inline-grid; place-items: center; width: 1.05em; height: 1.45em; background: #14325c; border-radius: 3px; position: relative; }
.flap span::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.5); }
.status { font-size: 11px; letter-spacing: .14em; padding: 4px 8px; border-radius: 6px; font-weight: 700; }
.status-on { color: #072044; background: #9cc6f2; }
.status-season { color: #2a1700; background: var(--amber); }
.fids-foot { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.fids-foot .btn { flex: 1; justify-content: center; }
.hero-photo { margin-top: 18px; border-radius: 18px; overflow: hidden; aspect-ratio: 16/7; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 48px; padding-bottom: 96px; gap: 36px; }
  .fids td.hide-xs, .fids th.hide-xs { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.eyebrow { font: 600 12px var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--sun-deep); margin-bottom: 12px; display: block; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(30px, 4vw, 48px); margin: 0; max-width: 16em; }
.section-head p { color: var(--muted); max-width: 32em; margin: 0; }

/* Journey: a flight path from curb to gate */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; counter-reset: step; }
.journey::before { content: ""; position: absolute; top: 34px; left: 6%; right: 6%; border-top: 2px dashed #b8c6d8; z-index: 0; }
.journey li { position: relative; z-index: 1; }
.journey a { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; border: 1px solid transparent; }
.journey a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); border-color: var(--line); }
.journey .stop { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; margin-bottom: 16px; }
.journey li:nth-child(odd) .stop { background: var(--palm); }
.journey .stop .ico { width: 24px; height: 24px; }
.journey .step-n { font: 600 12px var(--font-mono); color: var(--muted); letter-spacing: .14em; }
.journey h3 { font-size: 21px; margin: 4px 0 8px; }
.journey p { font-size: 15px; color: var(--muted); margin: 0 0 14px; flex: 1; }
.journey .go { font-weight: 700; font-size: 14px; color: var(--palm); display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 1000px) { .journey { grid-template-columns: 1fr 1fr; } .journey::before { display: none; } }
@media (max-width: 560px) { .journey { grid-template-columns: 1fr; } }

/* Stats */
.stats { background: var(--palm); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 24px; border-left: 1px solid rgba(255,255,255,.18); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: 700 clamp(36px, 4.5vw, 56px)/1 var(--font-display); letter-spacing: -.03em; }
.stat span { display: block; margin-top: 8px; color: #d6e6f8; font-size: 15px; }
@media (max-width: 760px) { .stats .wrap { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat { border-top: 1px solid rgba(255,255,255,.18); } }

/* Routes / boarding passes */
.passes { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin: 0 0 1.5em; padding: 0; list-style: none; }
.pass { background: #fff; border-radius: var(--radius); display: grid; grid-template-columns: 1fr auto; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.pass-main { padding: 18px 20px; }
.pass-route { display: flex; align-items: center; gap: 10px; font: 700 26px var(--font-mono); letter-spacing: .04em; }
.pass-route .ico { width: 20px; height: 20px; color: var(--sun); }
.pass-route .from { color: var(--muted); }
.pass-city { font-weight: 600; margin-top: 4px; }
.pass-note { color: var(--muted); font-size: 14px; }
.pass-stub { width: 64px; border-left: 2px dashed var(--line); display: grid; place-items: center; background: var(--ground); }
.pass-stub span { writing-mode: vertical-rl; transform: rotate(180deg); font: 700 11px var(--font-mono); letter-spacing: .2em; color: var(--palm); }
.pass.seasonal .pass-stub span { color: var(--sun-deep); }
.pass-photo { grid-column: 1 / -1; aspect-ratio: 16/8; overflow: hidden; }
.pass-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Split section: notices + parking */
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.panel { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.panel h3 { font-size: 24px; display: flex; align-items: center; gap: 10px; }
.notices { list-style: none; margin: 0; padding: 0; }
.notices li { display: grid; grid-template-columns: 70px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.notices li:first-child { border-top: 0; padding-top: 4px; }
.date-tag { background: var(--ink); color: #fff; border-radius: 12px; text-align: center; padding: 8px 4px; font-family: var(--font-mono); height: max-content; }
.date-tag b { display: block; font-size: 22px; line-height: 1; }
.date-tag span { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-top: 4px; }
.notices h4 { font: 700 17px/1.3 var(--font-body); letter-spacing: 0; margin: 0 0 4px; }
.notices p { color: var(--muted); font-size: 15px; margin: 0 0 6px; }
.panel-dark { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.panel-dark::after { content: "P"; color: rgba(252,199,43,.08) !important; position: absolute; right: -10px; bottom: -60px; font: 800 260px/1 var(--font-display); color: rgba(255,255,255,.05); }
.panel-dark p { color: #d0dcee; }
.panel-dark .big-phone { font: 700 30px var(--font-display); color: #fff; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; margin: 6px 0 18px; }
.panel-dark .big-phone:hover { color: var(--sun); }

/* Airlines */
.airlines { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; list-style: none; margin: 0 0 1.5em; padding: 0; }
.airline { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; background: #fff; border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); border: 1px solid transparent; transition: border-color .2s, transform .2s; min-height: 92px; }
.airline:hover { border-color: var(--ink); transform: translateY(-2px); color: var(--ink); }
.airline b { font: 700 20px var(--font-display); }
.airline img { max-height: 40px; width: auto; }
.airline .ico { color: var(--sun-deep); }

/* Explore band */
.explore { background: linear-gradient(180deg, var(--ground) 0 50%, var(--ink) 50% 100%); }
.explore-card { background: var(--sun); border-radius: 28px; padding: 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; color: var(--ink); }
.explore-card h2 { font-size: clamp(30px, 4vw, 46px); margin: 0 0 10px; }
.explore-links { display: grid; gap: 10px; }
.explore-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; background: rgba(255,255,255,.55); border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 700; }
.explore-links a:hover { background: #fff; color: var(--ink); }
@media (max-width: 800px) { .explore-card { grid-template-columns: 1fr; padding: 32px 24px; } }

/* ---------- Interior page ---------- */
.page-hero { background: var(--ink); color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: 6%; top: -40px; bottom: -40px; width: 2px; background: repeating-linear-gradient(180deg, rgba(255,255,255,.18) 0 30px, transparent 30px 56px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #a9bad3; margin-bottom: 22px; list-style: none; padding: 0; }
.crumbs a { color: #d8e2f1; text-decoration: none; }
.crumbs a:hover { color: var(--sun); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #6a80a3; }
.gate-sign { display: inline-flex; align-items: center; gap: 10px; background: var(--amber); color: var(--ink); font: 700 13px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; padding: 8px 14px; border-radius: 8px; margin-bottom: 18px; }
.gate-sign .ico { width: 18px; height: 18px; }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 64px); max-width: 15em; margin-bottom: 14px; }
.page-hero .lede { font-size: 19px; color: #d0dcee; max-width: 40em; margin: 0; }
.page-banner { margin-top: -32px; position: relative; z-index: 2; }
.page-banner img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-height: 420px; object-fit: cover; }

.layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; padding: 56px 0 96px; align-items: start; }
.layout.no-side { grid-template-columns: minmax(0, 1fr); max-width: 920px; }
.side { position: sticky; top: 100px; }
.side-nav { background: #fff; border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); }
.side-nav h2 { font: 600 12px var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 6px; margin: 0; }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; }
.side-nav a:hover { background: var(--ground); color: var(--ink); }
.side-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.side-nav a[aria-current="page"] .ico { color: var(--sun); }
.side-nav .ico { width: 18px; height: 18px; color: var(--palm); }
.help-card { margin-top: 16px; background: var(--palm-soft); border-radius: var(--radius); padding: 20px; font-size: 15px; }
.help-card b { display: block; font-family: var(--font-display); font-size: 18px; margin-bottom: 6px; }
.help-card a { font-weight: 700; color: var(--ink); }
@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; }
  .side { position: static; order: 2; }
}

.prose { font-size: 18px; max-width: 46em; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 30px; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 23px; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose ol { counter-reset: n; list-style: none; padding: 0; }
.prose ol > li { counter-increment: n; position: relative; padding: 0 0 0 52px; margin: 0 0 18px; min-height: 36px; }
.prose ol > li::before { content: counter(n); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 15px var(--font-mono); }
.prose img { border-radius: var(--radius-sm); margin: 1.2em 0; }
.prose blockquote { margin: 1.5em 0; padding: 18px 22px; background: #fff; border-radius: var(--radius-sm); font-size: 19px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; background: #fff; border-radius: var(--radius-sm); overflow: hidden; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--ink); color: #fff; font-weight: 600; }
.prose strong { font-weight: 700; }
.prose .passes, .prose .airlines, .prose .cards, .prose .docs, .prose .board, .prose .map, .prose .video { font-size: 17px; }

/* Directory cards */
.dir-tools { display: flex; gap: 12px; align-items: center; margin: 0 0 16px; flex-wrap: wrap; }
.filter { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 14px; min-height: 46px; flex: 1; max-width: 360px; }
.filter input { border: 0; outline: 0; font: 500 16px var(--font-body); flex: 1; background: transparent; min-width: 0; color: var(--ink); }
.filter:focus-within { border-color: var(--ink); }
.dir-count { color: var(--muted); font-size: 14px; }
.cards { list-style: none; margin: 0 0 1.6em; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.cards.compact { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.card h3 { font: 700 19px/1.25 var(--font-display); margin: 0; letter-spacing: -.01em; }
.card .where { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--palm); background: var(--palm-soft); padding: 4px 10px; border-radius: 999px; width: max-content; max-width: 100%; }
.card .where .ico { width: 14px; height: 14px; }
.card p { font-size: 15px; color: var(--muted); margin: 4px 0; }
.card .meta { font-size: 14px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.card .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.card .actions a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; background: var(--ground); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.card .actions a:hover { background: var(--ink); color: #fff; }
.card .actions a.primary { background: var(--ink); color: #fff; }
.card .actions a.primary:hover { background: var(--ink-3); }
.cards.compact .card { padding: 14px 16px; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
.cards.compact .card h3 { font-size: 16px; }
.cards.compact .actions { padding: 0; margin: 0; }
.no-match { color: var(--muted); font-style: italic; }

/* Documents */
.docs { list-style: none; margin: 0 0 1.6em; padding: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.docs li + li { border-top: 1px solid var(--line); }
.docs a { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 16px 20px; text-decoration: none; color: var(--ink); }
.docs a:hover { background: var(--ground); color: var(--ink); }
.docs .doc-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--sun-soft); color: var(--sun-deep); display: grid; place-items: center; }
.docs b { display: block; font-weight: 600; }
.docs small { color: var(--muted); font-size: 14px; }
.docs .open { font-size: 14px; font-weight: 700; color: var(--palm); display: inline-flex; gap: 6px; align-items: center; }
.doc-year { font: 700 13px var(--font-mono); letter-spacing: .14em; color: var(--muted); margin: 22px 0 8px; }
@media (max-width: 560px) { .docs .open span { display: none; } }

/* Board */
.board { list-style: none; margin: 0 0 1.6em; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.member { background: #fff; border-radius: var(--radius); padding: 22px 18px; text-align: center; box-shadow: var(--shadow); }
.member .avatar { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 14px; overflow: hidden; background: var(--ink); color: var(--amber); display: grid; place-items: center; font: 700 28px var(--font-display); }
.member .avatar img { width: 100%; height: 100%; object-fit: cover; }
.member b { display: block; font: 700 17px/1.25 var(--font-display); }
.member span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.member.lead { background: var(--ink); color: #fff; }
.member.lead .avatar { background: var(--sun); color: var(--ink); }
.member.lead span { color: var(--sky); }

/* Embeds */
.map, .video { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 0 0 1.6em; background: #dfe7e3; }
.map { aspect-ratio: 16/10; }
.video { aspect-ratio: 16/9; }
.map iframe, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.flight-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 0 0 1.6em; }
.flight-links a { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--radius); background: var(--ink); color: #fff; text-decoration: none; }
.flight-links a:nth-child(2) { background: var(--palm); }
.flight-links a:nth-child(3) { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.flight-links b { font: 700 22px var(--font-display); display: flex; justify-content: space-between; align-items: center; }
.flight-links span { font-size: 14px; opacity: .8; }
.flight-links a:hover { transform: translateY(-2px); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; padding: 12px 14px; font: 500 16px var(--font-body); color: var(--ink); }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(252,199,43,.25); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.flash { border-radius: 14px; padding: 14px 18px; margin: 0 0 14px; font-weight: 500; display: flex; gap: 10px; align-items: flex-start; }
.flash-success { background: var(--palm-soft); color: #0b3a6e; }
.flash-error { background: #fde8e6; color: #7a1a12; }
.flash-info { background: #e6f2f8; color: #12384a; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list li { background: #fff; border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; }
.contact-list .ci { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--amber); display: grid; place-items: center; flex: none; }
.contact-list small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.contact-list a, .contact-list span.v { font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; }

/* Search results */
.results { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.results a { display: block; background: #fff; border-radius: 14px; padding: 16px 20px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.results a:hover { outline: 2px solid var(--ink); color: var(--ink); }
.results small { font: 600 11px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sun-deep); }
.results b { display: block; font-size: 18px; }
.results span { color: var(--muted); font-size: 15px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #b9c8de; padding: 80px 0 32px; font-size: 15px; }
.footer a { color: #e8eef8; text-decoration: none; }
.footer a:hover { color: var(--sun); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer h2 { font: 600 12px var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: #8ea3c4; margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand .brand-text span { color: #9db0cc; }
.footer-brand address { font-style: normal; line-height: 1.7; }
.footer-social { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.footer-social a { display: inline-flex; gap: 6px; align-items: center; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); font-size: 14px; }
.footer-word { font: 800 clamp(64px, 14vw, 200px)/.8 var(--font-display); letter-spacing: -.06em; color: rgba(255,255,255,.06); margin: 56px 0 24px; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; font-size: 14px; color: #9db0cc; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* Error page */
.error-page { text-align: center; padding: 120px 0; }
.error-code { font: 800 clamp(90px, 20vw, 200px)/1 var(--font-mono); color: var(--ink); letter-spacing: -.04em; }
.error-code span { color: var(--sun); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .fids { padding: 14px; }
  .fids td { font-size: 14px; }
  .hero-search .btn { padding: 0 14px; }
  .brand-text strong { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .prose { font-size: 17px; }
  .panel { padding: 22px; }
}
@media print {
  .util, .masthead, .ribbon, .footer, .side, .hero-search, .menu-btn { display: none !important; }
  body { background: #fff; }
  .page-hero { background: #fff; color: #000; padding: 0; }
}

/* Brand-color contrast fixes on dark & gold surfaces */
.panel-dark .eyebrow, .hero .eyebrow, .stats .eyebrow { color: var(--sun); }
.explore-card .eyebrow { color: var(--ink); }
.footer-word { color: rgba(252, 199, 43, .07); }
