:root {
  --navy: #14233b;
  --navy-2: #1d3152;
  --navy-line: #36496b;
  --cream: #f4efe6;
  --paper: #fbf8f2;
  --line: #d8d0c1;
  --ink: #1b2433;
  --muted: #566070;
  --muted-dark: #b9c3d3;
  --coral: #e0683f;
  --coral-ink: #a84224;
  --coral-light: #f29a78;
  --serif: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --nav: 56px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.55 var(--sans);
  overflow-wrap: anywhere;
}

h1, h2, h3, p, ul, dl, dd, table { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }

h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(40px, 6vw, 68px); }
h2 { font-size: clamp(32px, 4vw, 46px); }
h3 { font-size: 18px; line-height: 1.3; font-weight: 600; }

:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.eyebrow { font-size: 14px; font-weight: 600; color: var(--coral-ink); margin-bottom: 8px; }
.fine { font-size: 14px; color: var(--muted); }
.meta { font-size: 14px; color: var(--muted); }

.dark { background: var(--navy); color: var(--cream); }
.dark .eyebrow { color: var(--coral-light); }
.dark .fine, .dark .meta { color: var(--muted-dark); }
.paper { background: var(--paper); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  font: 600 16px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.btn-light { background: var(--cream); color: var(--navy); }
.btn-light:hover { background: #fff; }
.btn-light:active { background: #ddd4c2; }
.btn-ghost { border-color: var(--navy-line); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); }
.btn-ghost:active { background: var(--navy-2); }
.btn:disabled { background: var(--navy-2); color: #8b98ad; cursor: not-allowed; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: var(--navy); color: var(--cream); border-bottom: 1px solid var(--navy-line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: var(--nav); }
.brand { display: inline-flex; align-items: center; gap: 8px; font: 28px/1 var(--serif); text-decoration: none; }
.links { display: flex; gap: 24px; margin-left: auto; }
.links a { display: inline-flex; align-items: center; height: 44px; font-size: 15px; color: var(--muted-dark); text-decoration: none; }
.links a:hover { color: var(--cream); }
.nav .btn { height: 36px; padding: 0 14px; font-size: 15px; }

/* Image slots */
.shot { display: block; width: 100%; height: auto; aspect-ratio: var(--ratio); object-fit: cover; background: #ddd5c6; }
.shot-empty { display: flex; align-items: flex-end; padding: 10px 12px; font-size: 13px; color: #5b5445; }
.dark .shot { background: var(--navy-2); }
.dark .shot-empty { color: var(--muted-dark); }

/* Hero */
.hero { padding-bottom: 40px; }
.hero-shot .shot { aspect-ratio: auto; height: clamp(240px, 50vh, 520px); }
.hero-text { position: relative; max-width: 660px; margin-top: -72px; padding: 32px 36px 0 0; background: var(--navy); }
.hero-text::before { content: ''; position: absolute; top: 0; right: 100%; bottom: 0; width: 50vw; background: var(--navy); }
.lede { margin-top: 16px; font-size: 18px; color: #dfe5ee; max-width: 56ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.award { margin-top: 20px; font-size: 14px; color: var(--muted-dark); }

.specs { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 40px; border-top: 1px solid var(--navy-line); }
.specs > div { padding: 16px 16px 0 0; }
.specs dt { font: 34px/1.1 var(--serif); }
.specs dt small { font: 14px/1 var(--sans); color: var(--muted-dark); }
.specs dd { margin-top: 4px; font-size: 14px; color: var(--muted-dark); }
.specs + .fine { margin-top: 16px; }

/* Sections */
.band { padding: 72px 0; }
.band h2 { max-width: 22ch; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.row.flip .media { order: -1; }
.copy > * + * { margin-top: 14px; }
.copy p { max-width: 58ch; }
.copy h2 + p { margin-top: 18px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.cards { display: grid; gap: 24px; margin-top: 32px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards h3 { margin-top: 14px; }
.cards .meta { margin-top: 2px; }
.cards p:last-child { margin-top: 8px; }
.cards.three p:last-child { color: inherit; }
.dark .cards p:last-child { color: #dfe5ee; }

.ticks li { position: relative; padding: 8px 0 8px 22px; border-top: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; background: var(--coral); }

/* Rookery */
.wide { margin-top: 40px; }
.wide .shot { aspect-ratio: 2.4 / 1; }
.dark .copy p { color: #dfe5ee; }
.schedule { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--navy-line); }
.schedule h3 { font: 30px/1.1 var(--serif); }
.schedule .fine { margin-top: 8px; max-width: 34ch; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 9px 0; border-bottom: 1px solid var(--navy-line); text-align: left; vertical-align: baseline; }
th { width: 72px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--coral-light); }

/* Awards and routes */
.awards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.awards strong { display: block; font: 24px/1.15 var(--serif); color: var(--ink); margin-bottom: 4px; }
.routes .fine { margin-top: 12px; max-width: 40ch; }
.route-list li { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.route-list li:first-child { border-top: 1px solid var(--line); }
.route-list span:last-child::before { content: '→'; margin-right: 12px; color: var(--coral-ink); }

/* Eligibility and FAQ */
form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; max-width: 460px; }
label { display: grid; gap: 6px; font-size: 14px; color: var(--muted-dark); }
input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 10px;
  border: 1px solid var(--navy-line);
  border-radius: 0;
  background: var(--navy-2);
  color: var(--cream);
  color-scheme: dark;
  font: 16px/1 var(--sans);
  -webkit-appearance: none;
  appearance: none;
}
input:hover { border-color: var(--muted-dark); }
form .btn { grid-column: 1 / -1; justify-self: start; }
.verdict { margin-top: 20px; max-width: 460px; padding: 14px 16px; border: 1px solid var(--navy-line); background: var(--navy-2); font: 22px/1.25 var(--serif); }
.verdict[data-ok='yes'] { border-color: var(--coral-light); }

.faq details { border-bottom: 1px solid var(--navy-line); }
.faq details:first-child { border-top: 1px solid var(--navy-line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 8px 0; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 16px; text-align: center; font: 24px/1 var(--serif); color: var(--coral-light); }
.faq details[open] summary::after { content: '–'; }
.faq summary:hover { color: #fff; }
.faq details p { padding: 0 32px 16px 0; color: #dfe5ee; }

/* Footer */
.foot { border-top: 1px solid var(--navy-line); padding: 20px 0; font-size: 14px; color: var(--muted-dark); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.build { font-variant-numeric: tabular-nums; }

@media (max-width: 960px) {
  .links { display: none; }
  .nav-in { justify-content: space-between; }
  .cards.four { grid-template-columns: repeat(2, 1fr); }
  .specs { grid-template-columns: repeat(3, 1fr); row-gap: 8px; }
  .row, .split { gap: 32px; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .band { padding: 48px 0; }
  .row, .split { grid-template-columns: 1fr; gap: 24px; }
  .row .media, .row.flip .media { order: -1; }
  .cards.three, .awards { grid-template-columns: 1fr; }
  .hero-shot .shot { height: clamp(200px, 34vh, 320px); }
  .hero-text { margin-top: 0; padding: 24px 0 0; }
  .hero-text::before { display: none; }
  .specs { grid-template-columns: repeat(2, 1fr); margin-top: 32px; }
  .wide .shot { aspect-ratio: 16 / 10; }
  .schedule { margin-top: 40px; }
}

@media (max-width: 420px) {
  .cards.four { grid-template-columns: 1fr; }
  form { grid-template-columns: 1fr; }
}

@media (pointer: coarse) {
  .tap, .nav .btn { min-height: 44px; }
}
