/* ==========================================================
   Summon Jet — styles (empty leg board)
   Palette: deep night navy, ivory, champagne gold accent
   Type:    Cormorant Garamond (display) + Manrope (body)
   ========================================================== */

:root {
  --ink: #0b0f16;
  --ink-2: #111722;
  --ink-3: #182030;
  --ivory: #f4efe6;
  --ivory-2: #e6dfd2;
  --muted: #9aa3b2;
  --line: rgba(244, 239, 230, 0.12);
  --gold: #c9a86a;
  --gold-2: #e2c48b;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: 0.005em; }
h1 { font-size: clamp(3rem, 8vw, 6.5rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; color: var(--gold-2); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 150px) 0; }
.eyebrow {
  font-size: 0.74rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 18px;
}
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.split { max-width: none; display: grid; gap: 24px; align-items: end; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1.4fr 1fr; } }
.section-note { color: var(--muted); max-width: 420px; justify-self: end; }
@media (max-width: 899px) { .section-note { justify-self: start; } }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons ------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600; border-radius: 2px; border: 1px solid transparent; background: transparent;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  cursor: pointer; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-solid:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn-outline { border-color: rgba(244, 239, 230, 0.4); color: var(--ivory); }
.btn-outline:hover { border-color: var(--ivory); }
.btn-ghost { color: var(--ivory); border-color: transparent; padding-inline: 12px; }
.btn-ghost::after { content: "→"; transition: transform 0.3s var(--ease); }
.btn-ghost:hover::after { transform: translateX(4px); }
.btn-sm { padding: 11px 20px; font-size: 0.72rem; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-2); outline-offset: 3px;
}

/* Header ------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 12px 0;
  background: rgba(11, 15, 22, 0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { height: 40px; width: auto; }
.brand-name { font-family: var(--font-display); font-size: 1.55rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.brand-name span { color: var(--gold); }
.site-nav ul { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.site-nav a { font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; position: relative; padding: 6px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-phone { font-size: 0.82rem; letter-spacing: 0.05em; color: var(--ivory-2); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--ivory); transition: transform 0.3s, opacity 0.3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-menu {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px var(--gutter) 28px; background: rgba(11, 15, 22, 0.96);
  border-bottom: 1px solid var(--line);
}
.mobile-menu[hidden], .js-phone[hidden], .js-phone-item[hidden], [hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 12px 0; font-size: 1.05rem; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 18px; }
@media (max-width: 1000px) {
  .site-nav, .header-phone { display: none; }
  .nav-toggle { display: flex; }
}
@media (min-width: 1001px) { .mobile-menu { display: none !important; } }

/* Hero --------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  padding: clamp(72px, 10vw, 140px) 0 clamp(56px, 8vw, 110px);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; background: url("../assets/hero-poster.jpg") center / cover no-repeat; }
/* The poster stays painted behind the video, so a slow network, a decode
   error, or a blocked autoplay still leaves the same still image in place. */
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0; transition: opacity 0.9s ease;
}
.hero-video.is-playing { opacity: 1; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,15,22,0.72) 0%, rgba(11,15,22,0.5) 50%, rgba(11,15,22,0.96) 100%),
    radial-gradient(60% 50% at 20% 70%, rgba(11,15,22,0.45), transparent 70%);
}
.hero-content { max-width: 820px; }
.hero .eyebrow { color: var(--gold-2); }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 5.2rem); text-shadow: 0 10px 40px rgba(0,0,0,0.35); margin-bottom: 22px; }
.lede { font-size: clamp(1.02rem, 1.5vw, 1.2rem); max-width: 640px; color: rgba(244,239,230,0.9); margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.video-toggle {
  position: absolute; right: 22px; bottom: 22px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35);
  background: rgba(11,15,22,0.45); color: #fff; cursor: pointer; display: grid; place-items: center;
  padding: 0; transition: background 0.3s, border-color 0.3s;
}
.video-toggle:hover, .video-toggle:focus-visible { background: rgba(11,15,22,0.75); border-color: #fff; }
.video-toggle:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.video-toggle .icon-play { display: none; }
.video-toggle[aria-pressed="false"] .icon-pause { display: none; }
.video-toggle[aria-pressed="false"] .icon-play { display: block; }
@media (max-width: 720px) { .video-toggle { bottom: auto; top: 16px; right: 16px; } }

/* Reveal animations -------------------------------------- */
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.fade-up.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; transition: none; }
  .btn, .btn-ghost::after { transition: none; }
  .hero-video { transition: none; }
}

/* Board -------------------------------------------------- */
.board { background: var(--ink); padding-block: clamp(56px, 7vw, 96px); }
.board-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: 28px; }
.board-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.board-updated { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); padding-bottom: 6px; }
.board-soon {
  border: 1px solid var(--line); background: var(--ink-2);
  padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px); max-width: 720px;
}
.board-soon .eyebrow { margin-bottom: 12px; }
.board-soon h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.board-soon p:not(.eyebrow) { color: var(--muted); margin-bottom: 26px; }
.filters {
  display: grid; gap: 14px; align-items: end;
  padding: 20px; border: 1px solid var(--line); background: var(--ink-2);
}
@media (min-width: 640px) { .filters { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .filters { grid-template-columns: repeat(6, 1fr) auto; } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.field input, .field select {
  font: inherit; font-size: 0.98rem; color: var(--ivory); background: var(--ink);
  border: 1px solid rgba(244,239,230,0.2); border-radius: 2px; padding: 11px 12px; width: 100%;
  transition: border-color 0.25s, box-shadow 0.25s; color-scheme: dark;
}
.field input::placeholder { color: rgba(154,163,178,0.7); }
.field input:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,106,0.2); outline: none; }
.filters-reset { align-self: end; }
.board-count { margin: 22px 0 12px; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); min-height: 1.4em; }

.board-table-wrap { border: 1px solid var(--line); background: var(--ink-2); }
.legs { width: 100%; border-collapse: collapse; }
.legs th, .legs td { text-align: left; vertical-align: top; padding: 18px 16px; border-bottom: 1px solid var(--line); }
.legs th { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: var(--gold); padding-block: 14px; }
.legs tbody tr:last-child td { border-bottom: 0; }
.legs tbody tr { transition: background 0.3s; }
.legs tbody tr:hover { background: var(--ink-3); }
.legs td:last-child { text-align: right; white-space: nowrap; }
.leg-date { display: block; font-weight: 500; color: var(--ivory); white-space: nowrap; }
.leg-time, .leg-cities, .leg-class, .leg-notes { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 3px; }
.leg-route { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--ivory); }
.leg-arrow { color: var(--gold); font-size: 1.1rem; }
.leg-notes { font-style: italic; color: var(--gold-2); }
.leg-aircraft { display: block; color: var(--ivory-2); }
.leg-price { font-weight: 500; color: var(--ivory); white-space: nowrap; }
.leg-muted { color: var(--muted); }
.leg-link { white-space: nowrap; }
.legs-message td { text-align: center; color: var(--muted); padding: 48px 20px; font-size: 1rem; }
.legs-message.is-error td { color: #e0a39c; }
@media (max-width: 900px) {
  .legs thead { display: none; }
  .legs, .legs tbody, .legs tr, .legs td { display: block; }
  .legs tr { padding: 8px 0; border-bottom: 1px solid var(--line); }
  .legs tbody tr:last-child { border-bottom: 0; }
  .legs td { border: 0; padding: 8px 18px; display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: start; }
  .leg-cell { min-width: 0; }
  .legs td::before { content: attr(data-label); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 600; padding-top: 4px; }
  .legs td:last-child { text-align: left; grid-template-columns: 1fr; padding-top: 12px; padding-bottom: 16px; }
  .legs td:last-child::before { display: none; }
  .legs-message td { display: block; text-align: center; }
  .legs-message td::before { display: none; }
  .leg-route { font-size: 1.35rem; }
}
.board-note { margin-top: 22px; font-size: 0.85rem; color: var(--muted); max-width: 820px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Process ------------------------------------------------ */
.process { background: var(--ink); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 36px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 1px; background: var(--gold); }
.step-num { font-family: var(--font-display); font-size: 2.6rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 18px; }
.step h3 { margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 0.98rem; }

/* About -------------------------------------------------- */
.about { background: var(--ivory); color: var(--ink); padding-block: clamp(70px, 9vw, 120px); }
.about .eyebrow { color: #9a7b3f; }
.about-grid { display: grid; gap: 32px 64px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1.3fr; align-items: start; } }
.about h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
.about-copy { font-size: 1.05rem; color: #3a3f4a; }
.about-copy p { margin-bottom: 1.2em; }

/* Footer ------------------------------------------------- */
.site-footer { background: #070a10; border-top: 1px solid var(--line); padding: clamp(60px, 8vw, 96px) 0 40px; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand img { height: 68px; width: auto; margin-bottom: 20px; opacity: 0.95; }
.footer-tag { font-family: var(--font-display); font-size: 1.35rem; color: var(--ivory-2); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h3 { font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.footer-col a { color: var(--ivory-2); font-size: 0.95rem; transition: color 0.25s; }
.footer-col a:hover { color: var(--gold-2); }
.footer-col p { color: var(--muted); font-size: 0.85rem; }
.footer-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; color: var(--muted); font-size: 0.78rem; }
@media (min-width: 900px) { .footer-legal { grid-template-columns: auto 1fr; gap: 40px; } }

/* Legal pages --------------------------------------------- */
.legal { background: var(--ivory); color: var(--ink); padding: clamp(64px, 9vw, 110px) 0 clamp(80px, 10vw, 130px); }
.legal-inner { max-width: 780px; }
.legal .eyebrow { color: #9a7b3f; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin-bottom: 10px; }
.legal-meta { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: #6b7280; margin-bottom: 32px; }
.legal-lede { font-size: 1.1rem; color: #3a3f4a; margin-bottom: 36px; }
.legal-toc { border: 1px solid #ddd6c8; background: #fbfaf7; padding: 22px 28px; margin-bottom: 48px; }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 0.92rem; }
@media (max-width: 600px) { .legal-toc ol { columns: 1; } }
.legal-toc li { break-inside: avoid; padding: 3px 0; }
.legal-toc a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(154,123,63,0.5); text-underline-offset: 3px; }
.legal-toc a:hover { text-decoration-color: #9a7b3f; }
.legal section { margin-bottom: 44px; scroll-margin-top: 90px; }
.legal h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 14px; }
.legal h3 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: #9a7b3f; margin: 26px 0 8px; }
.legal p, .legal li { color: #2f343f; font-size: 1rem; line-height: 1.75; }
.legal ul { padding-left: 22px; margin: 0 0 1em; }
.legal li { margin-bottom: 8px; }
.legal li strong { color: var(--ink); font-weight: 600; }
.legal .hero-cta { margin-top: 8px; }
.legal .btn-outline { border-color: rgba(11, 15, 22, 0.35); color: var(--ink); }
.legal .btn-outline:hover { border-color: var(--ink); }
.legal a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(154,123,63,0.6); text-underline-offset: 3px; }
.legal-contact { padding: 18px 22px; border-left: 2px solid var(--gold); background: #fbfaf7; }
