@font-face {
  font-family: "B612";
  src: url("/assets/fonts/b612-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "B612";
  src: url("/assets/fonts/b612-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --paper: oklch(94% 0.025 83);
  --paper-raised: oklch(98% 0.015 83);
  --ink: oklch(25% 0.055 251);
  --ink-soft: oklch(43% 0.035 251);
  --ink-faint: oklch(55% 0.025 251);
  --orange: oklch(68% 0.17 47);
  --orange-dark: oklch(52% 0.15 47);
  --green: oklch(55% 0.12 151);
  --green-light: oklch(88% 0.075 151);
  --warning-light: oklch(91% 0.07 75);
  --rule: oklch(76% 0.035 79);
  --shadow: oklch(25% 0.055 251 / 0.18);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --site-width: 72rem;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(oklch(25% 0.055 251 / 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 32px;
  color: var(--ink);
  font-family: "B612", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: currentColor;
  text-decoration-thickness: 0.11em;
  text-underline-offset: 0.18em;
}

button,
a {
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--paper-raised);
  transition: transform 160ms cubic-bezier(0.16, 1, 0.3, 1);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(calc(100% - 40px), var(--site-width));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  background: var(--ink);
  color: var(--paper-raised);
}

.header-topline {
  border-bottom: 1px solid oklch(98% 0.015 83 / 0.18);
  color: oklch(91% 0.02 83);
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.header-topline .site-shell {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.route-code {
  color: var(--orange);
  font-weight: 700;
}

.nav-row {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.012em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.primary-nav {
  display: flex;
  overflow-x: auto;
  align-items: center;
  gap: 4px;
  scrollbar-width: none;
}

.primary-nav::-webkit-scrollbar {
  display: none;
}

.primary-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  color: oklch(91% 0.02 83);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.primary-nav a[aria-current="page"] {
  background: oklch(98% 0.015 83 / 0.12);
  color: var(--orange);
}

.hero {
  padding: 48px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-areas:
    "copy copy"
    "media board";
  grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
  align-items: start;
  gap: 32px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  grid-area: copy;
  padding: 28px 0 0;
}

.eyebrow,
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow::before,
.kicker::before {
  width: 24px;
  height: 4px;
  border-radius: 2px;
  background: var(--orange);
  content: "";
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 14ch;
  font-size: clamp(2.55rem, 6vw, 4.85rem);
  letter-spacing: -0.028em;
}

h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: -0.022em;
}

h3 {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  letter-spacing: -0.012em;
}

p,
li {
  text-wrap: pretty;
}

.hero-lede {
  max-width: 60ch;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: var(--radius-md);
  background: var(--orange);
  box-shadow: 0 4px 0 var(--ink);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
  transition-property: transform, box-shadow;
  transition-duration: 140ms;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.button.secondary {
  background: var(--paper-raised);
  box-shadow: inset 0 0 0 2px var(--ink), 0 4px 0 var(--ink);
}

.button:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--ink);
}

.hero-media {
  position: relative;
  grid-area: media;
  margin: 0;
}

.hero-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 12px 12px 0 var(--orange);
  object-fit: cover;
  outline: 1px solid oklch(25% 0.055 251 / 0.12);
  outline-offset: -1px;
}

figcaption {
  margin-top: 12px;
  color: var(--ink-faint);
  font-size: 12px;
}

.flight-board {
  grid-area: board;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  box-shadow: 10px 10px 0 var(--rule);
  color: var(--paper-raised);
}

.board-head {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid oklch(98% 0.015 83 / 0.18);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.status-row {
  display: grid;
  grid-template-columns: minmax(86px, 0.8fr) minmax(110px, 1fr) auto;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid oklch(98% 0.015 83 / 0.12);
  font-variant-numeric: tabular-nums;
}

.status-row:last-child {
  border-bottom: 0;
}

.status-label {
  color: oklch(82% 0.02 251);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.status-value {
  position: relative;
  display: inline-grid;
  overflow: hidden;
  min-height: 30px;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
}

.js .status-value[data-flip="true"] span {
  animation: board-flip 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--flip-delay, 0ms);
}

.status-chip {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-chip.confirmed {
  background: var(--green-light);
  color: oklch(28% 0.09 151);
}

.status-chip.unknown {
  background: var(--warning-light);
  color: oklch(40% 0.12 47);
}

@keyframes board-flip {
  0% {
    opacity: 0;
    transform: translateY(-14px) rotateX(55deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

.source-strip {
  margin-top: 36px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 13px;
}

.source-strip p {
  margin: 0;
}

.section {
  padding: 72px 0;
}

.section.compact {
  padding: 48px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(260px, 2fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--ink);
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
}

.direct-answer {
  margin-bottom: 40px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--paper-raised);
  box-shadow: 7px 7px 0 var(--rule);
}

.direct-answer strong {
  color: var(--orange-dark);
}

.direct-answer p {
  margin: 0;
  font-size: 1.08rem;
}

.fact-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper-raised);
}

.fact-table th,
.fact-table td {
  padding: 16px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

.fact-table th {
  width: 26%;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fact-table tr:last-child th,
.fact-table tr:last-child td {
  border-bottom: 0;
}

.fact-state {
  display: inline-flex;
  margin-right: 8px;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  vertical-align: 2px;
}

.fact-state.confirmed {
  background: var(--green-light);
  color: oklch(28% 0.09 151);
}

.fact-state.unknown {
  background: var(--warning-light);
  color: oklch(40% 0.12 47);
}

.split-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
}

.prose {
  max-width: 70ch;
}

.prose > :first-child {
  margin-top: 0;
}

.prose h2,
.prose h3 {
  margin-top: 1.7em;
  margin-bottom: 0.65em;
}

.prose p,
.prose ul,
.prose ol {
  color: var(--ink-soft);
}

.prose a {
  color: var(--ink);
  font-weight: 700;
}

.check-list,
.plain-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding: 12px 0 12px 32px;
  border-bottom: 1px solid var(--rule);
}

.check-list li::before {
  position: absolute;
  top: 15px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  color: var(--paper-raised);
  content: "✓";
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.plain-list li::before {
  position: absolute;
  top: 20px;
  left: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.media-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.8fr);
  grid-template-rows: repeat(2, auto);
  gap: 24px;
}

.media-gallery figure {
  margin: 0;
}

.media-gallery .gallery-lead {
  grid-row: 1 / span 2;
}

.media-gallery img,
.editorial-figure img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  outline: 1px solid oklch(25% 0.055 251 / 0.12);
  outline-offset: -1px;
}

.media-gallery .gallery-lead img {
  height: calc(100% - 38px);
  min-height: 420px;
}

.media-gallery figure:not(.gallery-lead) img {
  aspect-ratio: 16 / 9;
}

.trailer-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background: var(--ink);
  box-shadow: 10px 10px 0 var(--orange);
}

.trailer-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.route-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  border-top: 2px solid var(--ink);
}

.route-link {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  min-height: 96px;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}

.route-number {
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.route-link strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.012em;
}

.route-link span:not(.route-number):not(.route-arrow) {
  color: var(--ink-soft);
  font-size: 13px;
}

.route-arrow {
  font-size: 24px;
  transition: transform 140ms cubic-bezier(0.16, 1, 0.3, 1);
}

.update-log {
  margin: 0;
  padding: 0;
  list-style: none;
}

.update-log li {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.update-log time {
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.faq-list {
  border-top: 2px solid var(--ink);
}

.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}

.faq-item h3 {
  margin-bottom: 10px;
}

.faq-item p {
  max-width: 70ch;
  margin: 0;
  color: var(--ink-soft);
}

.page-hero {
  padding: 56px 0 40px;
}

.page-hero h1 {
  max-width: 18ch;
}

.page-hero .hero-lede {
  max-width: 66ch;
}

.breadcrumb {
  margin: 0 0 22px;
  padding: 0;
  color: var(--ink-faint);
  font-size: 12px;
  list-style: none;
}

.breadcrumb li {
  display: inline;
}

.breadcrumb li + li::before {
  margin: 0 8px;
  content: "/";
}

.breadcrumb a {
  color: var(--ink-soft);
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 24px;
  color: var(--ink-faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.editorial-figure {
  margin: 32px 0;
}

.callout {
  margin: 32px 0;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: var(--warning-light);
  color: oklch(34% 0.07 47);
}

.callout p {
  margin: 0;
  color: inherit;
}

.site-footer {
  margin-top: 64px;
  background: var(--ink);
  color: oklch(91% 0.02 83);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr);
  gap: 48px;
  padding: 48px 0 36px;
}

.footer-main h2 {
  max-width: 18ch;
  color: var(--paper-raised);
  font-size: 28px;
}

.footer-main p {
  max-width: 62ch;
  color: oklch(82% 0.02 251);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 8px 18px;
}

.footer-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  font-size: 13px;
}

.footer-bottom {
  padding: 18px 0 24px;
  border-top: 1px solid oklch(98% 0.015 83 / 0.18);
  color: oklch(75% 0.02 251);
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

.error-page {
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding: 72px 0;
  text-align: center;
}

.error-code {
  margin: 0;
  color: var(--orange-dark);
  font-size: clamp(5rem, 18vw, 11rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.8;
}

.error-page h1 {
  max-width: none;
  margin-top: 24px;
}

.error-page p {
  max-width: 48ch;
  margin: 20px auto 28px;
  color: var(--ink-soft);
}

@media (hover: hover) {
  .primary-nav a:hover {
    background: oklch(98% 0.015 83 / 0.08);
    color: var(--orange);
  }

  .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 var(--ink);
  }

  .route-link:hover .route-arrow {
    transform: translateX(5px);
  }
}

@media (max-width: 900px) {
  .nav-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 16px 0 10px;
  }

  .primary-nav {
    width: 100%;
  }

  .hero-grid {
    grid-template-areas:
      "copy"
      "media"
      "board";
    grid-template-columns: 1fr;
  }

  .flight-board {
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 32px), var(--site-width));
  }

  .header-topline .site-shell {
    min-height: 42px;
  }

  .header-topline .site-shell > span:last-child {
    display: none;
  }

  .hero {
    padding: 28px 0 48px;
  }

  .hero-copy {
    padding-top: 12px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .hero-media img {
    box-shadow: 7px 7px 0 var(--orange);
  }

  .section {
    padding: 52px 0;
  }

  .section-head,
  .split-content,
  .footer-main {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-head {
    align-items: start;
  }

  .media-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .media-gallery .gallery-lead {
    grid-row: auto;
  }

  .media-gallery .gallery-lead img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .route-list {
    grid-template-columns: 1fr;
  }

  .status-row {
    grid-template-columns: minmax(72px, 0.7fr) minmax(88px, 1fr) auto;
    padding-inline: 12px;
  }

  .fact-table,
  .fact-table tbody,
  .fact-table tr,
  .fact-table th,
  .fact-table td {
    display: block;
    width: 100%;
  }

  .fact-table tr {
    padding: 16px;
    border-bottom: 1px solid var(--rule);
  }

  .fact-table th,
  .fact-table td {
    padding: 0;
    border: 0;
  }

  .fact-table th {
    margin-bottom: 4px;
  }

  .update-log li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-main {
    padding-top: 40px;
  }
}

@media (max-width: 420px) {
  .site-shell {
    width: min(calc(100% - 24px), var(--site-width));
  }

  .hero-actions .button {
    width: 100%;
  }

  .status-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .status-row .status-chip {
    grid-column: 2;
    justify-self: start;
  }

  .route-link {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
