:root {
  --paper: #f1f0eb;
  --ink: #111827;
  --blue: #3f629f;
  --blue-dark: #27497f;
  --line: #b9bec7;
  --light: #fff8d8;
  --white: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Sora', Arial, Helvetica, sans-serif;
  font-size: 12.8px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.shell {
  width: min(1440px, calc(100% - clamp(36px, 8vw, 152px)));
  margin: 0 auto;
}

.topbar {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 2px solid var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(24.8px, 2.08vw, 37.6px);
  font-weight: 800;
  letter-spacing: -.075em;
  text-decoration: none;
}

.brand img { width: clamp(46px, 3.4vw, 58px); height: auto; }

.topnav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 36px);
}

.topnav a {
  font-size: 13.6px;
  font-weight: 700;
  text-decoration: none;
}

.topnav .button,
.hero-actions .primary,
.closing .primary {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  color: var(--white);
  background: var(--ink);
  text-decoration: none;
  transition: background .2s, transform .2s;
}

.topnav .button:hover,
.topnav .button:focus-visible,
.hero-actions .primary:hover,
.hero-actions .primary:focus-visible,
.closing .primary:hover,
.closing .primary:focus-visible {
  background: var(--blue);
  transform: translateY(-2px);
}

.hero {
  min-height: calc(100svh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, .94fr);
  align-items: stretch;
  border-bottom: 2px solid var(--ink);
}

.hero-copy {
  padding: clamp(78px, 10vw, 150px) clamp(42px, 7vw, 110px) clamp(70px, 8vw, 120px) max(18px, calc((100vw - min(1440px, calc(100vw - clamp(36px, 8vw, 152px)))) / 2));
  animation: rise-in .7s cubic-bezier(.2, .8, .2, 1) both;
}

.eyebrow,
.section-kicker {
  display: block;
  color: var(--blue);
  font-size: 13.6px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

h1 {
  max-width: 980px;
  margin: 28px 0 30px;
  font-size: clamp(48px, 4.3vw, 76px);
  line-height: .86;
  letter-spacing: -.078em;
}

.hero-copy > p {
  max-width: 720px;
  margin: 0;
  font-size: clamp(17.6px, 1.32vw, 22.4px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
}

.hero-actions a { font-size: 14.4px; font-weight: 800; }
.hero-actions .secondary { color: var(--blue-dark); text-underline-offset: 5px; }

.hero-plane {
  min-height: 620px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  padding: clamp(40px, 5vw, 82px);
  color: var(--white);
  background: var(--blue);
}

.hero-plane::before,
.hero-plane::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-plane::before {
  inset: 11% -12% 18% 19%;
  border: 3px solid rgba(255,255,255,.5);
  transform: rotate(-6deg);
  animation: frame-in .9s .12s cubic-bezier(.2,.8,.2,1) both;
}

.hero-plane::after {
  right: -8%;
  bottom: -18%;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--light);
  opacity: .98;
}

.route-mark {
  position: relative;
  z-index: 2;
  max-width: 470px;
  font-size: clamp(25.6px, 2.8vw, 48px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.055em;
}

.route-strip {
  border-bottom: 2px solid var(--ink);
}

.route-row {
  display: grid;
  grid-template-columns: 90px minmax(180px, .7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 6vw, 100px);
  padding: clamp(30px, 4vw, 54px) 0;
  border-bottom: 1px solid var(--line);
  transition: color .2s, padding .2s;
}

.route-row:last-child { border-bottom: 0; }
.route-row:hover { padding-left: 14px; color: var(--blue-dark); }
.route-row .number { color: var(--blue); font-size: 14.4px; font-weight: 800; }
.route-row h2 { margin: 0; font-size: clamp(25.6px, 2.4vw, 40px); line-height: 1; letter-spacing: -.05em; }
.route-row p { max-width: 760px; margin: 0; font-size: clamp(15.2px, 1.08vw, 19.2px); line-height: 1.58; }

.detail-section {
  display: grid;
  grid-template-columns: minmax(230px, .62fr) minmax(0, 1.38fr);
  gap: clamp(55px, 10vw, 170px);
  padding: clamp(80px, 10vw, 155px) 0;
  border-bottom: 2px solid var(--ink);
}

.detail-heading { align-self: start; position: sticky; top: 26px; }
.detail-heading h2 { margin: 24px 0 0; font-size: clamp(35.2px, 4.2vw, 67.2px); line-height: .92; letter-spacing: -.065em; }
.detail-copy { max-width: 880px; }
.detail-copy p { margin: 0 0 26px; font-size: clamp(16px, 1.14vw, 19.2px); line-height: 1.65; }
.detail-copy ul { margin: 38px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.detail-copy li { padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 15.2px; font-weight: 700; line-height: 1.45; }

.related { padding: clamp(78px, 9vw, 140px) 0; }
.related-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 46px; }
.related h2 { max-width: 850px; margin: 0; font-size: clamp(38.4px, 4.8vw, 76.8px); line-height: .9; letter-spacing: -.07em; }
.related-links { border-top: 2px solid var(--ink); }
.related-links a { display: flex; justify-content: space-between; gap: 30px; padding: 27px 0; border-bottom: 1px solid var(--line); font-size: clamp(19.2px, 2vw, 32px); font-weight: 800; letter-spacing: -.04em; text-decoration: none; transition: color .2s, padding .2s; }
.related-links a:hover, .related-links a:focus-visible { padding-left: 16px; color: var(--blue); }

.closing {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 50px;
  padding: clamp(72px, 9vw, 140px) 0;
  color: var(--white);
  background: var(--ink);
}

.closing-inner { display: contents; }
.closing h2 { max-width: 900px; margin: 0 0 24px; font-size: clamp(40px, 5vw, 80px); line-height: .88; letter-spacing: -.07em; }
.closing p { max-width: 680px; margin: 0; color: #d7dbe3; font-size: 17.6px; line-height: 1.55; }
.closing .primary { background: var(--blue); font-size: 15.2px; font-weight: 800; }
.closing .primary:hover, .closing .primary:focus-visible { background: var(--blue-dark); }

.site-footer { color: var(--white); background: var(--ink); border-top: 1px solid #ffffff42; }
.footer-inner { padding: 48px 0 34px; }
.footer-links { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(35px, 6vw, 90px); }
.footer-intro strong { display: block; margin-bottom: 15px; font-size: 25.6px; letter-spacing: -.04em; }
.footer-intro p { max-width: 440px; margin: 0; color: #c9ced8; font-size: 13.6px; line-height: 1.55; }
.footer-column strong { display: block; margin-bottom: 18px; color: #b8c9e4; font-size: 12.8px; letter-spacing: .08em; text-transform: uppercase; }
.footer-column a { display: block; width: fit-content; margin-bottom: 13px; font-size: 13.6px; text-decoration: none; }
.footer-column a:hover, .footer-column a:focus-visible { color: #b8c9e4; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 44px; padding-top: 24px; border-top: 1px solid #ffffff42; color: #c9ced8; font-size: 12.8px; }

@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes frame-in { from { opacity: 0; transform: translate(9%, 8%) rotate(-12deg); } to { opacity: 1; transform: rotate(-6deg); } }

@media (max-width: 980px) {
  .topnav > a:not(.button) { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-inline: 18px; }
  .hero-plane { min-height: 520px; }
  .detail-section { grid-template-columns: 1fr; gap: 42px; }
  .detail-heading { position: static; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .shell { width: calc(100% - 36px); }
  .topbar { min-height: 76px; }
  .brand { gap: 10px; font-size: 24px; }
  .brand img { width: 44px; }
  .topnav .button { min-height: 48px; padding: 0 17px; }
  h1 { font-size: clamp(48px, 15vw, 67.2px); }
  .hero-copy { padding: 68px 18px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 270px; }
  .hero-actions .primary { min-height: 56px; }
  .hero-plane { min-height: 460px; padding: 34px 18px; }
  .route-row { grid-template-columns: 50px 1fr; gap: 20px; }
  .route-row p { grid-column: 2; }
  .related-head, .closing, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .related-head { display: flex; }
  .closing { grid-template-columns: 1fr; padding-inline: 18px; }
  .closing-inner { display: contents; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-intro { grid-column: auto; }
}

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