:root {
  --ink: #101214;
  --paper: #f4efe4;
  --paper-soft: #fbf7ed;
  --muted: #6f6b61;
  --line: rgba(16, 18, 20, 0.16);
  --amber: #e2a642;
  --orange: #d96b2b;
  --sky: #88b8d8;
  --board: #111417;
  --board-2: #1c2024;
  --white: #fffaf0;
  --shadow: 0 28px 90px rgba(16, 18, 20, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::selection {
  background: var(--amber);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 54px);
  color: var(--ink);
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(16, 18, 20, 0.08);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.78rem;
}

.nav {
  gap: clamp(14px, 3vw, 38px);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 104px clamp(18px, 5vw, 70px) 28px;
  overflow: hidden;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  filter: saturate(1.02) contrast(1.05);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 10, 12, 0.78), rgba(8, 10, 12, 0.3) 50%, rgba(8, 10, 12, 0.62)),
    linear-gradient(180deg, rgba(8, 10, 12, 0.2), rgba(8, 10, 12, 0.82));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 7.8vw, 6.35rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

h2 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(2.1rem, 5.2vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 1.8vw, 1.85rem);
  line-height: 1.08;
  text-wrap: balance;
}

.hero-content p,
.section-copy p,
.route-card p,
.service-list p,
.contact-copy p {
  max-width: 720px;
  color: rgba(255, 250, 240, 0.78);
  font-size: clamp(0.98rem, 1.35vw, 1.1rem);
  line-height: 1.6;
}

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

.button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid currentColor;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.contact-form button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--white);
  color: var(--ink);
}

.button.secondary {
  color: var(--white);
}

.boarding-card {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: 28px;
  z-index: 2;
  width: min(330px, calc(100% - 36px));
  padding: 18px;
  border: 1px solid rgba(255, 250, 240, 0.34);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.1);
  color: var(--white);
  backdrop-filter: blur(20px);
}

.boarding-card span,
.boarding-card small {
  display: block;
  color: rgba(255, 250, 240, 0.72);
}

.boarding-card strong {
  display: block;
  margin: 10px 0;
  font-size: clamp(1.3rem, 2.3vw, 1.72rem);
  letter-spacing: 0.06em;
  overflow-wrap: anywhere;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(92px, 14vh, 160px) 0;
}

.departures-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 52px);
  align-items: start;
}

.departures-section .section-copy {
  max-width: 900px;
}

.departures-section .section-copy h2 {
  max-width: 900px;
  font-size: clamp(2.15rem, 4.8vw, 4.65rem);
  line-height: 1;
}

.section-copy p,
.contact-copy p {
  color: var(--muted);
}

.flight-board {
  width: min(100%, 980px);
  justify-self: start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 18%),
    var(--board);
  color: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 250, 240, 0.72);
  font-size: clamp(0.62rem, 1vw, 0.72rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.2;
}

.live-dot {
  color: #72f2a1;
}

.board-row {
  display: grid;
  grid-template-columns: minmax(126px, 0.88fr) minmax(300px, 2fr) minmax(168px, 1.12fr) minmax(184px, 1.22fr);
  column-gap: 18px;
  row-gap: 8px;
  padding: 10px 16px 16px;
}

.board-labels {
  padding-bottom: 0;
  color: rgba(255, 250, 240, 0.42);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.flap-set {
  display: grid;
  grid-template-columns: repeat(var(--chars), minmax(26px, 1fr));
  gap: 5px;
  min-width: 0;
}

.flap-set.status {
  margin-left: 0;
}

.flap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(42px, 5.3vw, 62px);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 48%, rgba(0, 0, 0, 0.38) 50%, transparent 52%),
    var(--board-2);
  color: var(--white);
  font-size: clamp(0.82rem, 1.45vw, 1.42rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.flap::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0, 0, 0, 0.78);
}

.flap.flip {
  animation: flap 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.flap.status {
  color: #72f2a1;
}

@keyframes flap {
  0% {
    transform: rotateX(0);
    filter: brightness(1);
  }
  48% {
    transform: rotateX(-78deg);
    filter: brightness(0.55);
  }
  100% {
    transform: rotateX(0);
    filter: brightness(1);
  }
}

.mini-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.mini-board div {
  padding: 14px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.mini-board div:last-child {
  border-right: 0;
}

.mini-board span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 250, 240, 0.48);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mini-board strong {
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
}

.routes-section {
  width: 100%;
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  padding-right: 18px;
}

.section-kicker {
  width: min(1180px, calc(100% - 18px));
}

.route-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 38vw);
  gap: 16px;
  overflow-x: auto;
  padding: 20px 0 12px;
  scroll-snap-type: x mandatory;
}

.route-card {
  min-height: 430px;
  display: grid;
  grid-template-rows: auto minmax(92px, auto) minmax(108px, auto) auto;
  align-content: end;
  row-gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(136, 184, 216, 0.22), rgba(255, 250, 240, 0.72)),
    var(--paper-soft);
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}

.route-card.featured {
  background:
    linear-gradient(145deg, rgba(217, 107, 43, 0.24), rgba(226, 166, 66, 0.2)),
    var(--paper-soft);
}

.route-card span,
.service-list span {
  color: var(--orange);
  font-weight: 900;
}

.route-card h3 {
  margin-bottom: 0;
  min-height: 2.16em;
  display: flex;
  align-items: end;
}

.route-card p,
.service-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.route-card strong {
  align-self: end;
}

.services-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 80px);
}

.service-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.service-list article {
  padding: 24px;
  background: var(--paper-soft);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 0.56fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-soft);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
}

.contact-form button {
  margin-top: 6px;
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
}

.footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.badge-home {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 16px 8px 8px;
  color: var(--white);
  background: rgba(16, 18, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(16, 18, 20, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.badge-home-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sky), var(--sun));
  color: var(--ink);
  font-size: 16px;
}

.badge-home-text {
  white-space: nowrap;
}

.badge-home:hover,
.badge-home:focus-visible {
  background: rgba(16, 18, 20, 0.98);
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(16, 18, 20, 0.34);
}

.badge-home:focus-visible {
  outline: 3px solid rgba(47, 134, 255, 0.7);
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  .site-header {
    color: var(--ink);
    background: var(--paper-soft);
  }

  .nav {
    display: none;
  }

  .departures-section,
  .services-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .departures-section .section-copy,
  .departures-section .section-copy h2 {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .flap-set {
    grid-template-columns: repeat(var(--chars), minmax(22px, 1fr));
  }

  .flap {
    font-size: clamp(0.78rem, 4.5vw, 1.35rem);
  }
}

@media (max-width: 920px) {
  .hero {
    min-height: 100svh;
    align-content: center;
    padding-top: 96px;
    padding-bottom: 24px;
  }

  .boarding-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 22px;
  }

  .services-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .board-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .flap-set.status {
    margin-left: 0;
  }

  .board-labels {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 88px 18px 18px;
  }

  h1 {
    font-size: clamp(2.45rem, 12.5vw, 3.55rem);
    line-height: 0.96;
    margin-bottom: 14px;
  }

  h2 {
    font-size: clamp(2rem, 10.5vw, 3rem);
    line-height: 1;
  }

  .hero-actions,
  .footer {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
    min-height: 42px;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 0.68rem;
  }

  .hero-content p {
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 14px;
  }

  .boarding-card {
    padding: 14px;
    margin-top: 16px;
  }

  .boarding-card strong {
    margin: 7px 0;
    font-size: 1.18rem;
  }

  .boarding-card small {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .mini-board {
    grid-template-columns: 1fr;
  }

  .mini-board div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .route-grid {
    grid-auto-columns: minmax(280px, 86vw);
  }

  .route-card {
    min-height: 360px;
    grid-template-rows: auto minmax(70px, auto) minmax(92px, auto) auto;
  }

  .route-card h3 {
    min-height: 0;
  }

  .badge-home {
    right: 16px;
    bottom: 16px;
    padding-right: 12px;
  }
}
