@font-face {
  font-family: "Instrument Sans";
  src: url("instrument-sans.woff2") format("woff2");
  font-display: swap;
  font-weight: 400 700;
}
@font-face {
  font-family: "DM Sans";
  src: url("dm-sans.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 1000;
}

:root {
  color-scheme: light;
  --ink: #17253a;
  --muted: #526179;
  --paper: #fff;
  --canvas: #f5f7fa;
  --rule: #dce3ed;
  --orange: #ff9a61;
  --accent: #aa4014;
  --heading: "Instrument Sans", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 1rem/1.5 var(--body); }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { font-family: var(--heading); line-height: 1.05; letter-spacing: -.045em; }
ul, ol { list-style: none; padding: 0; }
img { display: block; width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #3475cd; outline-offset: 4px; }
.frame { width: min(100% - 3.5rem, 76rem); margin-inline: auto; }
.skip-link { position: absolute; z-index: 3; inset: .5rem auto auto .5rem; padding: .65rem 1rem; border-radius: .5rem; background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.masthead { border-bottom: 1px solid var(--rule); background: var(--paper); }
.header-inner { min-height: 5.1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { display: inline-flex; align-items: center; font: 700 1.58rem/1 var(--heading); letter-spacing: -.065em; white-space: nowrap; text-decoration: none; }
.wordmark > span:last-child { color: var(--accent); }
.fox-mark { position: relative; display: inline-block; flex: none; width: 2.45rem; height: 2.45rem; margin-right: .55rem; border-radius: .78rem; background: var(--ink); }
.fox-mark::before,
.fox-mark::after { position: absolute; content: ""; }
.fox-mark::before {
  inset: .54rem .46rem .42rem;
  background: var(--orange);
  clip-path: polygon(0 0, 27% 28%, 73% 28%, 100% 0, 95% 61%, 50% 100%, 5% 61%);
}
.fox-mark::after {
  inset: 49% 29% 26%;
  background: var(--ink);
  clip-path: polygon(0 12%, 32% 30%, 37% 57%, 17% 56%, 0 30%, 0 12%, 100% 12%, 100% 30%, 83% 56%, 63% 57%, 68% 30%, 100% 12%);
}
.site-nav, .legal-nav { display: flex; align-items: center; flex-wrap: wrap; column-gap: clamp(1rem, 3.1vw, 2.45rem); row-gap: .55rem; }
.site-nav a, .legal-nav a { font-size: .9375rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .legal-nav a:hover { text-decoration: underline; text-underline-offset: .28rem; }

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: .73rem;
  font-size: .9375rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button-outline { border-color: #b7c3d4; color: var(--ink); background: var(--paper); }
.button-outline:hover { background: #eaf0f8; border-color: #8e9db5; }
.button-primary { color: #242330; background: var(--orange); }
.button-primary:hover { background: #ffb28b; }
.button-search { color: var(--paper); background: #263d5e; }
.button-search:hover { background: #354e70; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .90fr) minmax(0, 1.1fr);
  margin-top: clamp(1.05rem, 3vw, 2.3rem);
  min-height: clamp(23rem, 40vw, 35rem);
  border-radius: 1.7rem;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 18px 40px #17253a15;
}
.hero-copy {
  align-self: center;
  padding: clamp(2.4rem, 5vw, 5.5rem) clamp(1.5rem, 5vw, 4.65rem);
  background: radial-gradient(ellipse at 2% 20%, #263b56, transparent 72%);
}
.hero h1 { font-size: clamp(3rem, 6vw, 5.8rem); line-height: .96; letter-spacing: -.08em; }
.hero h1 span { display: block; color: #ffc098; }
.hero p { max-width: 32ch; margin-top: 1.45rem; color: #e2e8f1; font-size: clamp(1.0625rem, 1.65vw, 1.1875rem); line-height: 1.55; }
.hero .button { margin-top: 1.65rem; }
.hero-image { position: relative; min-height: 16.5rem; background: #425978; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #17253a2c, transparent 40%); pointer-events: none; }
.hero-image img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 65% center; }

.directory { margin-top: clamp(3rem, 7vw, 5.5rem); margin-bottom: clamp(3.2rem, 7vw, 6rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.15rem 2rem; margin-bottom: 1.5rem; }
.section-head h2, .route-intro h2, .journey h2 { font-size: clamp(2.05rem, 4.5vw, 3.95rem); }
.section-head p { margin-top: .55rem; color: var(--muted); }
.finder { min-width: min(100%, 21rem); }
.finder label { display: block; margin-bottom: .35rem; font-size: .875rem; font-weight: 750; }
.search-input { display: flex; gap: .45rem; }
.search-input input { min-width: 0; flex: 1; padding: .65rem .75rem; border: 1px solid #b7c3d4; border-radius: .72rem; color: var(--ink); background: var(--paper); }
.search-input input::placeholder { color: var(--muted); }
.search-status { margin-bottom: .6rem; color: var(--muted); font-weight: 650; }
.empty-state { padding: 1rem 1.15rem; border: 1px solid var(--rule); border-radius: .8rem; color: var(--muted); background: var(--paper); }

.airport-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: .65rem; }
.airport-card {
  display: grid;
  width: 100%;
  min-height: 5rem;
  height: 100%;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .85rem;
  padding: .75rem;
  border: 1px solid var(--rule);
  border-radius: .85rem;
  background: var(--paper);
  text-decoration: none;
}
.airport-featured { background: #fff7f1; border-color: #f0c1a8; }
.airport-card:hover { border-color: #9cacc0; background: #fdf2ea; }
.airport-code { display: grid; min-width: 3rem; height: 2.65rem; place-items: center; border-radius: .55rem; color: #253f61; background: #e9f0f9; font-size: .875rem; font-weight: 800; letter-spacing: .025em; }
.airport-featured .airport-code { color: #883815; background: #ffe0cf; }
.airport-copy { display: grid; line-height: 1.3; }
.airport-copy strong { font: 700 1.07rem/1.25 var(--heading); }
.airport-copy small, .route-list small { color: var(--muted); font-size: .875rem; }
.airport-open { color: var(--accent); font-size: .875rem; font-weight: 720; text-align: right; }
.planned { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; margin-top: 1.45rem; padding-top: .85rem; border-top: 1px solid var(--rule); }
.planned h3 { font-size: 1rem; letter-spacing: -.015em; }
.planned-list { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; color: var(--muted); font-size: .875rem; }
.planned-list b { color: #354c6a; }

.route-band { padding: clamp(2.6rem, 6vw, 5.15rem) 0; color: #fff; background: #182841; }
.route-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.8rem, 6vw, 5.5rem); align-items: center; }
.region-code { margin-bottom: .7rem; color: #ffc098; font-weight: 800; letter-spacing: .12em; }
.route-intro h2 { max-width: 14ch; }
.route-intro h2 + p { margin-top: .75rem; color: #dbe5f3; }
.route-intro > .button { margin-top: 1.25rem; }
.route-options { display: flex; flex-wrap: wrap; gap: .45rem 1.2rem; margin-top: 1rem; }
.route-options a { color: #f6f7fa; font-size: .9375rem; font-weight: 650; text-underline-offset: .22rem; }
.route-options a:hover { color: #ffc098; }
.route-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.route-list a { display: grid; gap: .3rem; height: 100%; min-height: 5rem; padding: .9rem 1rem; border: 1px solid #607493; border-radius: .75rem; background: #253a57; text-decoration: none; }
.route-list a:hover { background: #314b6d; border-color: #ffc098; }
.route-list strong { font: 700 1.09rem/1.2 var(--heading); }
.route-list small { color: #dbe5f3; line-height: 1.32; }

.journey { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.65rem, 6.5vw, 6rem); padding-block: clamp(3.3rem, 8vw, 7rem); }
.journey-image { min-height: 21rem; position: relative; border-radius: 1.4rem; overflow: hidden; background: #dce3ed; }
.journey-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% center; }
.journey-steps { margin-top: 1rem; }
.journey-steps li { padding: .82rem 0 .82rem .8rem; border-left: 2px solid #b95a31; }
.journey-steps h3 { font-size: 1.155rem; letter-spacing: -.025em; }
.journey-steps p { margin-top: .28rem; color: var(--muted); }

.contact { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4.5vw, 4rem); padding: clamp(1rem, 4vw, 2rem); border: 1px solid var(--rule); border-radius: 1.15rem; background: #edf2f8; }
.contact h2 { font-size: clamp(1.35rem, 2.8vw, 2rem); }
.contact p { margin-top: .45rem; max-width: 69ch; color: var(--muted); }
.contact .button { flex: none; }
.footer { background: #fff; border-top: 1px solid var(--rule); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .9rem 1.1rem; min-height: 5.7rem; padding-block: 1rem; }

.legal-page { padding-block: clamp(1.6rem, 6vw, 4rem); }
.legal-page article { max-width: 51rem; margin: auto; padding: clamp(1.2rem, 4.5vw, 3.3rem); border: 1px solid var(--rule); border-radius: 1rem; background: var(--paper); }
.legal-page h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 1.4rem; }
.legal-page h2 { margin: 1.4rem 0 .55rem; font-size: 1.3rem; letter-spacing: -.025em; }
.legal-page h3 { margin: 1.3rem 0 .4rem; font-size: 1.1rem; letter-spacing: -.015em; }
.legal-page p { margin-top: .7rem; }
.legal-page address { font-style: normal; }
.legal-page a:not(.button) { color: #8a3512; overflow-wrap: anywhere; text-underline-offset: .2rem; }

@media (max-width: 52rem) {
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr 1fr; min-height: 21rem; }
  .route-inner { gap: 2rem; }
}
@media (max-width: 47.5rem) {
  .frame { width: calc(100% - 2rem); }
  .header-inner { min-height: 4.2rem; }
  .hero { grid-template-columns: 1fr; border-radius: 1.2rem; }
  .hero-copy { padding: 2rem 1.4rem; }
  .hero h1 { max-width: 13ch; }
  .hero-image { min-height: clamp(12.5rem, 48vw, 21rem); }
  .hero-image img { object-position: 70% center; }
  .section-head { flex-direction: column; align-items: stretch; }
  .route-inner, .journey { grid-template-columns: 1fr; }
  .journey-image { min-height: 15rem; }
  .contact { flex-wrap: wrap; }
}
@media (max-width: 25rem) {
  .wordmark { font-size: 1.25rem; }
  .fox-mark { width: 2.12rem; height: 2.12rem; margin-right: .38rem; }
  .header-inner .button { padding-inline: .62rem; font-size: .875rem; }
  .airport-card { column-gap: .65rem; }
  .airport-open { font-size: .875rem; }
  .route-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
