/* Crescent Aircraft Brokers
   Dark, single-theme design. One accent (champagne gold from the logo), sharp corners throughout. */

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

:root {
  --bg:        #0A0F1A;
  --bg-2:      #0F1625;
  --bg-3:      #151E31;
  --bg-deep:   #070B13;
  --line:      rgba(236, 238, 242, 0.10);
  --line-2:    rgba(236, 238, 242, 0.18);
  --text:      #ECEEF2;
  --text-2:    #A9B0BE;
  --text-3:    #7F8899;
  --gold:      #C9A962;
  --gold-2:    #DCC28A;
  --gold-soft: rgba(201, 169, 98, 0.10);
  --serif:     'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:      'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --nav-h:     76px;
  --max-w:     1240px;
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

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

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--gold); color: var(--bg); padding: 0.75rem 1.25rem; font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ── Type ─────────────────────────────────────── */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.375rem, 2vw, 1.625rem); }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: 0.01em; color: var(--text); }

h1 em, h2 em { font-style: italic; color: var(--gold); }

p { color: var(--text-2); max-width: 62ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }

.lead { font-size: 1.125rem; line-height: 1.7; color: var(--text-2); }

/* ── Buttons ──────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 52px;
  padding: 0 1.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn i { font-size: 1.05rem; }

.btn-gold { background: var(--gold); color: var(--bg); }
.btn-gold:hover { background: var(--gold-2); }

.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(10, 15, 26, 0.35); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-sm { min-height: 42px; padding: 0 1.25rem; font-size: 0.75rem; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.3s var(--ease), color 0.3s;
}
.text-link:hover { gap: 0.875rem; color: var(--gold-2); }

/* ── Navigation ───────────────────────────────── */

.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-nav.is-solid,
.site-nav.menu-open {
  background: rgba(10, 15, 26, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav-inner { height: 100%; display: flex; align-items: center; gap: 2.5rem; }

.brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.brand img { width: 46px; height: 46px; }
.brand-word { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.25rem; letter-spacing: 0.24em; text-transform: uppercase; }
.brand-sub { font-size: 0.625rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-top: 0.2rem; }

.nav-links { display: flex; gap: 2rem; margin-left: auto; }
.nav-links a {
  position: relative;
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.08em;
  color: rgba(236, 238, 242, 0.82);
  padding: 0.5rem 0;
  transition: color 0.3s;
}
.nav-links 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.4s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 1.5rem; }
.nav-phone { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--text); white-space: nowrap; }
.nav-phone i { color: var(--gold); font-size: 1.1rem; }
.nav-phone:hover { color: var(--gold); }

.menu-btn {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line-2);
  font-size: 1.375rem; cursor: pointer;
}

.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--bg);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 0.25rem;
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  overflow-y: auto;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: none; }
.mobile-menu a:not(.btn) {
  font-family: var(--serif); font-size: 1.75rem;
  padding: 0.75rem 0; border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 2rem; }
.mobile-menu .nav-phone { margin-top: 1.5rem; font-size: 1.125rem; }

/* ── Hero (home) ──────────────────────────────── */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 45%;
  animation: hero-zoom 14s var(--ease) both;
}
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,15,26,0.94) 0%, rgba(10,15,26,0.78) 38%, rgba(10,15,26,0.25) 72%, rgba(10,15,26,0.15) 100%),
    linear-gradient(0deg, rgba(10,15,26,0.98) 0%, rgba(10,15,26,0.4) 30%, rgba(10,15,26,0) 55%),
    linear-gradient(180deg, rgba(10,15,26,0.7) 0%, rgba(10,15,26,0) 22%);
}

.hero-content { padding-top: calc(var(--nav-h) + 4rem); padding-bottom: 3.5rem; }
.hero-content h1 { max-width: 17ch; margin-bottom: 1.5rem; }
.hero-content .lead { max-width: 44ch; margin-bottom: 2.25rem; color: rgba(236,238,242,0.78); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-load > * { animation: rise 1s var(--ease) both; }
.hero-load > *:nth-child(2) { animation-delay: 0.1s; }
.hero-load > *:nth-child(3) { animation-delay: 0.2s; }
.hero-load > *:nth-child(4) { animation-delay: 0.3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Quote bar */

.quote-bar-wrap { padding-bottom: 3rem; animation: rise 1s 0.45s var(--ease) both; }

.quote-bar {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 1fr 0.8fr auto;
  background: rgba(15, 22, 37, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line-2);
}

.qb-field {
  display: flex; flex-direction: column; justify-content: center;
  padding: 0.875rem 1.25rem;
  border-right: 1px solid var(--line);
}
.qb-field label {
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.25rem;
}
.qb-field input {
  background: none; border: 0; outline: none;
  font-size: 1rem; color: var(--text); width: 100%;
}
.qb-field input::placeholder { color: var(--text-3); }
.qb-field:focus-within { background: rgba(236,238,242,0.04); }
.quote-bar .btn { min-height: 76px; padding: 0 2rem; }

/* ── Sections ─────────────────────────────────── */

.section { padding: 7.5rem 0; }
.section-alt { background: var(--bg-2); }
.section-deep { background: var(--bg-deep); }

.split-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}
.split-head p { font-size: 1.0625rem; }

/* Intro statement + figures */

.intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: 5rem; align-items: start; }
.intro h2 { font-size: clamp(2.125rem, 3.8vw, 3.25rem); }
.intro-body p { font-size: 1.0625rem; margin-bottom: 2.5rem; }

.figures { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.figure { padding: 1.5rem 1.25rem 0 0; }
.figure + .figure { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.figure-val { font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.5rem); line-height: 1; color: var(--gold); }
.figure-label { display: block; margin-top: 0.625rem; font-size: 0.8125rem; color: var(--text-2); line-height: 1.4; }

/* Services bento */

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, minmax(260px, auto));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.bento-cell {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2.25rem;
  background: var(--bg-2);
  overflow: hidden;
  isolation: isolate;
  transition: background 0.4s var(--ease);
}
.bento-cell:hover { background: var(--bg-3); }
.bento-cell i.cell-icon { font-size: 2rem; color: var(--gold); margin-bottom: auto; padding-bottom: 2rem; }
.bento-cell h3 { margin-bottom: 0.625rem; }
.bento-cell p { font-size: 0.9375rem; }
.bento-cell .text-link { margin-top: 1.25rem; }

.bento-feature { grid-column: span 2; grid-row: span 2; padding: 3rem; }
.bento-feature img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 40% 40%;
  transition: transform 1.2s var(--ease);
}
.bento-feature::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(10,15,26,0.96) 0%, rgba(10,15,26,0.55) 50%, rgba(10,15,26,0.15) 100%);
}
.bento-feature:hover img { transform: scale(1.04); }
.bento-feature h3 { font-size: clamp(1.75rem, 2.8vw, 2.375rem); }
.bento-feature p { color: rgba(236,238,242,0.8); max-width: 44ch; }

.bento-wide { grid-column: span 2; background: linear-gradient(135deg, rgba(201,169,98,0.16), rgba(201,169,98,0.04)) , var(--bg-2); }
.bento-wide:hover { background: linear-gradient(135deg, rgba(201,169,98,0.22), rgba(201,169,98,0.06)), var(--bg-3); }

/* Aircraft rail */

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.rail-card {
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  min-height: 300px;
  padding: 2rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.rail-card:hover { border-color: rgba(201,169,98,0.5); transform: translateY(-4px); }
.rail-card h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.rail-card p { font-size: 0.9rem; }
.rail-specs { display: flex; gap: 2rem; margin-top: auto; padding-top: 1.75rem; }
.spec-label { display: block; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.spec-val { font-family: var(--serif); font-size: 1.5rem; color: var(--text); white-space: nowrap; }

.rail-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.rail-foot small { color: var(--text-3); font-size: 0.8125rem; }

/* Timeline */

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  margin-top: 4rem;
}
.timeline::before {
  content: ''; position: absolute; top: 7px; left: 0; right: 0; height: 1px; background: var(--line-2);
}
.tl-step { position: relative; padding-top: 2.75rem; }
.tl-step::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 15px; height: 15px; background: var(--bg-2); border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.tl-step h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.tl-step p { font-size: 0.9375rem; }

/* Home base */

.base { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4.5rem; align-items: center; }
.base-visual img {
  width: 100%; height: auto; aspect-ratio: 1; object-fit: cover;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 58%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 50%, #000 58%, transparent 72%);
}
.base-body h2 { margin-bottom: 1.25rem; }
.base-body p { margin-bottom: 2.5rem; }

.worldwide {
  display: flex; align-items: center; gap: 1.5rem;
  margin-top: 1.5rem; padding: 2rem 2.25rem;
  border: 1px solid rgba(201, 169, 98, 0.6);
  background: var(--bg-2);
}
.worldwide i { font-size: 3rem; color: var(--gold); flex-shrink: 0; }
.worldwide-title { display: block; font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.05; color: var(--text); }
.worldwide-sub { display: block; margin-top: 0.5rem; font-size: 0.9375rem; color: var(--text-2); }

.airports { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.airport { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.airport:nth-child(odd) { padding-right: 1.5rem; }
.airport:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.airport-code { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1.1; color: var(--text); }
.airport-name { font-size: 0.875rem; color: var(--text-3); }

/* Photo CTA band */

.cta-photo {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
  isolation: isolate;
}
.cta-photo img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%;
}
.cta-photo::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7,11,19,0.95) 0%, rgba(7,11,19,0.8) 45%, rgba(7,11,19,0.35) 100%);
}
.cta-plain { background: var(--bg-2); border-top: 1px solid var(--line); }
.cta-plain::before { content: none; }
.cta-plain { padding: 7.5rem 0; }
.cta-stagger { display: flex; flex-direction: column; max-width: none; margin-bottom: 0; font-size: clamp(2.4rem, 5.6vw, 4.8rem); line-height: 1.08; }
.cta-offset { padding-left: 16%; padding-bottom: 0.1em; }
.cta-body { margin: 3.5rem 0 0 50%; padding-left: 2rem; border-left: 1px solid var(--gold); }
.cta-body p { margin-bottom: 2rem; }
.cta-photo h2 { max-width: 16ch; margin-bottom: 1.25rem; }
.cta-photo p { color: rgba(236,238,242,0.75); margin-bottom: 2.25rem; max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; }
.cta-phone { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--text); transition: color 0.3s; }
.cta-phone:hover { color: var(--gold); }

/* ── Inner page hero ──────────────────────────── */

.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 6rem) 0 5rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 80% at 85% 0%, rgba(201,169,98,0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); max-width: 18ch; margin-bottom: 1.25rem; }
.page-hero .lead { max-width: 54ch; }

.crumbs { display: flex; gap: 0.625rem; font-size: 0.8125rem; color: var(--text-3); margin-bottom: 2rem; }
.crumbs a:hover { color: var(--gold); }
.crumbs span[aria-hidden] { color: var(--line-2); }

/* ── Services page: sticky index ──────────────── */

.svc-layout { display: grid; grid-template-columns: 260px 1fr; gap: 5rem; align-items: start; }

.svc-index { position: sticky; top: calc(var(--nav-h) + 2rem); }
.svc-index a {
  display: block; padding: 0.75rem 0 0.75rem 1rem;
  border-left: 1px solid var(--line);
  font-size: 0.9375rem; color: var(--text-3);
  transition: color 0.3s, border-color 0.3s;
}
.svc-index a:hover, .svc-index a.current { color: var(--text); border-left-color: var(--gold); }

.svc-block { padding: 0 0 4.5rem; margin-bottom: 4.5rem; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 2rem); }
.svc-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.svc-block > i { font-size: 2.25rem; color: var(--gold); display: block; margin-bottom: 1.5rem; }
.svc-block h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); margin-bottom: 1.25rem; }
.svc-block p { font-size: 1.0625rem; }
.svc-block p + p { margin-top: 1rem; }

.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem 2rem; margin-top: 1.75rem; }
.ticks li { display: flex; gap: 0.75rem; font-size: 0.9375rem; color: var(--text-2); }
.ticks li i { color: var(--gold); font-size: 1.125rem; flex-shrink: 0; margin-top: 0.15rem; }

/* ── Aircraft page ────────────────────────────── */

.class-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.class-card { background: var(--bg); padding: 2.75rem; display: flex; flex-direction: column; transition: background 0.4s var(--ease); }
.class-card:hover { background: var(--bg-2); }
.class-card h3 { font-size: 1.875rem; margin-bottom: 0.875rem; }
.class-card p { font-size: 0.9375rem; }
.class-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0 1.5rem; }
.class-figs .spec-val { font-size: 2rem; color: var(--gold); }
.class-examples { margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--text-3); }
.class-examples strong { color: var(--text-2); font-weight: 500; }

.fine-print { font-size: 0.8125rem; color: var(--text-3); margin-top: 1.5rem; max-width: 90ch; }

/* ── FAQ ──────────────────────────────────────── */

.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.625rem 0;
  font-family: var(--serif); font-size: 1.25rem; color: var(--text);
  transition: color 0.3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold); }
.faq summary i { color: var(--gold); font-size: 1.25rem; transition: transform 0.4s var(--ease); flex-shrink: 0; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 2.5rem 1.75rem 0; }

/* ── Empty legs page ──────────────────────────── */

.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; margin-top: 4rem; }
.point { padding-top: 1.5rem; border-top: 1px solid var(--gold); }
.point h3 { font-size: 1.375rem; margin-bottom: 0.75rem; }
.point p { font-size: 0.9375rem; }

.signup { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: start; }

/* ── About page ───────────────────────────────── */

.story { display: grid; grid-template-columns: 1.45fr 1fr; gap: 3.5rem; align-items: center; }
/* Photo bleeds past the left edge of the content area and fades into the page on every side */
.story-img { position: relative; aspect-ratio: 16 / 9; margin-left: clamp(-9rem, -7vw, -2rem); }
.story-img img {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 14%, #000 72%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 16%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 14%, #000 72%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 16%, #000 80%, transparent 100%);
  mask-composite: intersect;
}
.story h2 { margin-bottom: 1.5rem; }
.story p { font-size: 1.0625rem; }
.story p + p { margin-top: 1.25rem; }
.story .btn { margin-top: 2.5rem; }

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.pillar { display: grid; grid-template-columns: 48px 1fr; gap: 1.25rem; padding: 2.25rem 2rem 2.25rem 0; border-bottom: 1px solid var(--line); }
.pillar:nth-child(even) { padding-left: 2rem; border-left: 1px solid var(--line); }
.pillar i { font-size: 1.75rem; color: var(--gold); }
.pillar h3 { font-size: 1.375rem; margin-bottom: 0.5rem; }
.pillar p { font-size: 0.9375rem; }

.disclosure { margin-top: 4rem; padding: 2rem 2.25rem; background: var(--bg-2); border-left: 2px solid var(--gold); }
.disclosure h4 { margin-bottom: 0.625rem; }
.disclosure p { font-size: 0.9rem; max-width: none; }

/* ── Forms ────────────────────────────────────── */

.panel { background: var(--bg-2); border: 1px solid var(--line); padding: 3rem; }
.panel h2 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); margin-bottom: 0.75rem; }
.panel > p { margin-bottom: 2.25rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.375rem; }
.form-field label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); }
.form-field label .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--text-3); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.875rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line-2);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  border-radius: 0;
  appearance: none;
  transition: border-color 0.3s, background 0.3s;
}
.form-field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.75rem;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-3); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--gold); background: var(--bg-deep); }
.form-field input:user-invalid { border-color: #E07A6F; }

.form-note { font-size: 0.8125rem; color: var(--text-3); margin-top: 1rem; }

.form-status {
  display: none; margin-top: 1.5rem; padding: 1.25rem 1.5rem;
  background: var(--gold-soft); border-left: 2px solid var(--gold);
  font-size: 0.9375rem; color: var(--text);
}
.form-status.show { display: block; }
.form-status.error { background: rgba(224,122,111,0.1); border-left-color: #E07A6F; }
.form-status a { color: var(--gold); font-weight: 600; }

.hidden-field { position: absolute; left: -9999px; }

/* Contact sidebar */

.contact-layout { display: grid; grid-template-columns: 1.45fr 1fr; gap: 4rem; align-items: start; }
.contact-side { display: flex; flex-direction: column; }
.contact-item { display: grid; grid-template-columns: 40px 1fr; gap: 1rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.contact-item:first-child { padding-top: 0; }
.contact-item i { font-size: 1.5rem; color: var(--gold); }
.contact-item .label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.375rem; }
.contact-item .value { font-family: var(--serif); font-size: 1.25rem; color: var(--text); line-height: 1.45; }
.contact-item a.value:hover { color: var(--gold); }
.contact-item p { font-size: 0.875rem; margin-top: 0.375rem; }
.urgent { margin-top: 2rem; padding: 2rem; border: 1px solid rgba(201,169,98,0.4); background: var(--gold-soft); }
.urgent p { color: var(--text); margin-bottom: 1.25rem; font-size: 0.9375rem; }
.urgent .btn { width: 100%; }

/* Prose */

.prose { max-width: 760px; }
.prose h2 { font-size: 1.625rem; margin: 3rem 0 1rem; }
.prose p, .prose li { color: var(--text-2); line-height: 1.8; }
.prose p + p { margin-top: 1rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin: 1rem 0; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ── Footer ───────────────────────────────────── */

.footer { background: var(--bg-deep); border-top: 1px solid var(--line); }

.footer-lead {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap;
  padding: 5rem 0 3.5rem;
  border-bottom: 1px solid var(--line);
}
.footer-lead h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); max-width: 20ch; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding: 3.5rem 0;
}
.footer-brand .brand { margin-bottom: 1.5rem; }
.footer-brand p { font-size: 0.9rem; max-width: 32ch; }
.footer-title { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a, .footer-links li { font-size: 0.9rem; color: var(--text-2); }
.footer-links a:hover { color: var(--text); }
.footer address { font-style: normal; font-size: 0.9rem; color: var(--text-2); line-height: 1.75; }

.footer-legal { padding: 2rem 0 2.5rem; border-top: 1px solid var(--line); }
.footer-legal p { font-size: 0.75rem; line-height: 1.7; color: var(--text-3); max-width: 120ch; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; font-size: 0.8125rem; color: var(--text-3); }
.footer-bottom a:hover { color: var(--text); }

/* ── Reveal ───────────────────────────────────── */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }

/* ── Responsive ───────────────────────────────── */

@media (max-width: 1180px) {
  .nav-links { gap: 1.5rem; }
  .nav-phone span { display: none; }
}

@media (max-width: 1024px) {
  .nav-links, .nav-actions { display: none; }
  .menu-btn { display: flex; }

  .quote-bar { grid-template-columns: 1fr 1fr; }
  .qb-field { border-bottom: 1px solid var(--line); }
  .qb-field:nth-child(2n) { border-right: 0; }
  .quote-bar .btn { grid-column: 1 / -1; min-height: 60px; }

  .split-head, .intro, .base, .story, .faq-wrap, .signup, .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .bento-feature { grid-column: span 2; grid-row: auto; min-height: 420px; }
  .bento-wide { grid-column: span 2; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 3rem; }
  .timeline::before { display: none; }
  .points { grid-template-columns: 1fr 1fr; }
  .svc-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .svc-index { position: static; display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .svc-index a { border: 1px solid var(--line); padding: 0.5rem 0.875rem; font-size: 0.8125rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .base-visual { max-width: 380px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 5rem 0; }

  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 1.0625rem; }

  .hero-content { padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 2rem; }
  .hero-shade {
    background: linear-gradient(0deg, rgba(10,15,26,0.98) 0%, rgba(10,15,26,0.82) 45%, rgba(10,15,26,0.45) 100%);
  }
  .quote-bar { grid-template-columns: 1fr; }
  .qb-field { border-right: 0; }
  .quote-bar-wrap { padding-bottom: 2rem; }

  .figures { grid-template-columns: 1fr; }
  .figure + .figure { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 1.5rem; }
  .figure { padding-right: 0; }

  .bento { grid-template-columns: 1fr; }
  .bento-feature, .bento-wide { grid-column: auto; }
  .bento-cell { padding: 2rem 1.5rem; }

  .rail { grid-auto-columns: 82%; }
  .timeline, .points { grid-template-columns: 1fr; }

  .airports { grid-template-columns: 1fr; }
  .airport:nth-child(even) { padding-left: 0; border-left: 0; }
  .worldwide { padding: 1.5rem; gap: 1rem; }
  .worldwide i { font-size: 2.25rem; }

  .class-grid { grid-template-columns: 1fr; }
  .class-card { padding: 2rem 1.5rem; }
  .ticks { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .story-img { margin: 0 -1.25rem; }
  .pillar, .pillar:nth-child(even) { padding: 1.75rem 0; border-left: 0; }

  .panel { padding: 2rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .cta-photo { padding: 5.5rem 0; }
  .cta-photo::before { background: rgba(7,11,19,0.82); }
  .cta-plain { padding: 5rem 0; }
  .cta-offset { padding-left: 8%; }
  .cta-body { margin: 2.5rem 0 0; padding-left: 1.25rem; }

  .page-hero { padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
