/* Flyover — shared stylesheet
   Plain CSS, no frameworks, no external fonts. */

:root {
  --sky-pale:   #ECEEF6;
  --white:      #FFFFFF;
  --navy:       #14213D;
  --muted:      #525C75;
  --orange:     #F2994A;
  --orange-dk:  #E0812E;
  --blue:       #6C8EF5;   /* decorative only — fails AA as text */
  --link:       #3A5BC7;   /* 6.0:1 on white */
  --rule:       #D9DEEC;
  --shadow:     0 1px 2px rgba(20,33,61,.05), 0 8px 24px rgba(20,33,61,.07);
  --shadow-lift:0 2px 4px rgba(20,33,61,.06), 0 16px 40px rgba(20,33,61,.12);
  --radius:     16px;
  --maxw:       1120px;
  --gutter:     20px;
}

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

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

body {
  margin: 0;
  background: var(--sky-pale);
  background-image: linear-gradient(180deg, var(--sky-pale) 0%, var(--white) 620px);
  background-repeat: no-repeat;
  color: var(--navy);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: -9999px;
  background: var(--navy); color: #fff;
  padding: 12px 18px; border-radius: 0 0 8px 0; z-index: 200;
}
.skip:focus { left: 0; top: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 80px 0; }
section + section { padding-top: 0; }

/* ---------- Type ---------- */
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p  { margin: 0 0 1em; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.eyebrow {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--muted); margin: 0 0 10px;
}
a { color: var(--link); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--orange); color: var(--navy); } /* 7.1:1 */
.btn-primary:hover { background: var(--orange-dk); color: var(--navy); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(236,238,246,.88);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.wordmark {
  font-weight: 800; letter-spacing: .22em; font-size: 1rem;
  color: var(--navy); text-decoration: none; white-space: nowrap;
}
.wordmark .dot { color: var(--orange); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--navy); text-decoration: none; font-size: .95rem; font-weight: 600; }
.nav a:hover { color: var(--link); text-decoration: underline; text-underline-offset: 4px; }
.header-cta { margin-left: 8px; }

/* Mobile nav uses <details> so it works with JavaScript off */
.menu { margin-left: auto; display: none; }
.menu summary {
  list-style: none; cursor: pointer; padding: 9px 14px;
  border: 1px solid var(--navy); border-radius: 999px;
  font-weight: 700; font-size: .9rem;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .menu-panel { display: block; }
.menu-panel {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--rule);
  box-shadow: var(--shadow); padding: 12px var(--gutter) 20px;
}
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel li { border-top: 1px solid var(--rule); }
.menu-panel a { display: block; padding: 13px 2px; color: var(--navy); text-decoration: none; font-weight: 600; }

@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .menu { display: block; }
  .site-header .wrap { position: relative; }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lede { font-size: 1.22rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.panels { position: relative; min-height: 300px; }
.panel {
  position: absolute; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--rule);
}
.panel::before, .panel::after {
  content: ""; position: absolute; left: 16px; height: 8px; border-radius: 4px;
  background: var(--sky-pale);
}
.panel::before { top: 18px; width: 46%; background: var(--blue); opacity: .5; }
.panel::after  { top: 36px; width: 70%; }
.panel-a { width: 62%; height: 180px; top: 0; left: 0; }
.panel-b { width: 54%; height: 150px; top: 108px; right: 0; }
.panel-c { width: 40%; height: 110px; bottom: 0; left: 14%; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .panels { min-height: 230px; }
}

/* ---------- Cards ---------- */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards, .cards-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 24px; display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.card { transition: box-shadow .2s ease, transform .2s ease; }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } .card:hover { transform: none; } }
.card p { color: var(--muted); }
.card ul { margin: 0 0 18px; padding-left: 1.1em; color: var(--muted); font-size: .95rem; }
.card li { margin-bottom: 4px; }
.price {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule);
  font-weight: 750; color: var(--navy);
}
.price .confirm { color: var(--muted); font-weight: 600; font-size: .9rem; }

.note {
  background: var(--white); border: 1px dashed var(--rule); border-radius: 12px;
  padding: 14px 18px; color: var(--muted); font-size: .95rem; margin-top: 22px;
}

/* ---------- Work ---------- */
.thumb {
  aspect-ratio: 16 / 10; border-radius: 10px; margin: -4px 0 16px;
  background: linear-gradient(140deg, #E3E8FA, #F7F8FC);
  border: 1px solid var(--rule);
  display: grid; place-items: center; color: var(--muted); font-size: .82rem;
}
.tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted);
  background: var(--sky-pale); border-radius: 999px; padding: 4px 11px; margin-bottom: 10px;
}

/* ---------- How it works ---------- */
.flight { position: relative; }
.flight-path { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .flight-path { display: none; } }
.step { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px 18px; box-shadow: var(--shadow); }
.step-n {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: var(--navy); font-weight: 800; font-size: .95rem; margin-bottom: 12px;
}
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details {
  background: var(--white); border: 1px solid var(--rule); border-radius: 12px;
  padding: 2px 20px; margin-bottom: 10px; box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 700; color: var(--orange-dk); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > p { color: var(--muted); margin: 0 0 16px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 36px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
form { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 24px; }
.field { margin-bottom: 18px; }
label { display: block; font-weight: 650; font-size: .93rem; margin-bottom: 6px; }
input[type=text], input[type=email], textarea {
  width: 100%; padding: 11px 13px; font: inherit; font-size: .97rem;
  color: var(--navy); background: #FBFCFE;
  border: 1px solid var(--rule); border-radius: 10px;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, textarea:focus { outline: 3px solid var(--link); outline-offset: 1px; border-color: var(--link); }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
legend { font-weight: 650; font-size: .93rem; margin-bottom: 8px; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.checks label { font-weight: 500; display: flex; align-items: center; gap: 7px; margin: 0; }
.hp { position: absolute; left: -9999px; }
.next-steps { list-style: none; padding: 0; margin: 14px 0 0; counter-reset: s; }
.next-steps li { counter-increment: s; position: relative; padding-left: 32px; margin-bottom: 10px; color: var(--muted); }
.next-steps li::before {
  content: counter(s); position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--sky-pale);
  color: var(--navy); font-size: .78rem; font-weight: 700; display: grid; place-items: center;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #C9D0E2; margin-top: 90px; padding: 56px 0 32px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }
.site-footer .wordmark { color: #fff; display: inline-block; margin-bottom: 10px; }
.site-footer h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #8E99B5; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; font-size: .95rem; }
.footer-bottom {
  border-top: 1px solid #27345A; margin-top: 36px; padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .87rem; color: #8E99B5;
}

/* ---------- Policy pages ---------- */
.doc { max-width: 760px; }
.doc h2 { margin-top: 2em; font-size: 1.35rem; }
.doc ul { color: var(--muted); }
.draft {
  background: #FFF4E8; border: 1px solid #F3D3AE; color: #7A4A12;
  border-radius: 12px; padding: 14px 18px; font-size: .95rem; margin-bottom: 28px;
}
.updated { color: var(--muted); font-size: .9rem; }

/* ---------- Thanks ---------- */
.center-page { min-height: 54vh; display: grid; place-items: center; text-align: center; }

/* ---------- Scroll reveal (only when JS is on) ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(14px); }
.js-reveal .reveal.in { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; }
  .js-reveal .reveal.in { transition: none; }
}

/* ======================================================================
   Flyover Companies — holding page
   ====================================================================== */

.wordmark-sub {
  margin-left: 10px; padding-left: 10px;
  border-left: 1px solid var(--rule);
  font-weight: 600; letter-spacing: .18em; font-size: .72rem; color: var(--muted);
}
.site-footer .wordmark-sub { border-left: 1px solid #39456B; color: #8E99B5; }
@media (max-width: 420px) { .wordmark-sub { display: none; } }

body.holding {
  background-image: linear-gradient(180deg, var(--sky-pale) 0%, var(--white) 780px);
}

.hero-wide { padding: 96px 0 72px; text-align: left; }
.display { font-size: clamp(2.4rem, 6.4vw, 4.4rem); font-weight: 800; max-width: 18ch; }
.lede-wide { font-size: 1.28rem; max-width: 56ch; }

/* quiet row of dashes standing in for the group's companies */
.marks { display: flex; gap: 10px; margin-top: 56px; }
.mark {
  height: 4px; border-radius: 2px; background: var(--blue); opacity: .35;
}
.mark:nth-child(1) { width: 72px; background: var(--orange); opacity: 1; }
.mark:nth-child(2) { width: 44px; }
.mark:nth-child(3) { width: 28px; }
.mark:nth-child(4) { width: 18px; opacity: .22; }
.mark:nth-child(5) { width: 10px; opacity: .15; }

.card.company .tag { align-self: flex-start; }
.tag-live { background: #FDF0E2; color: #8A4E13; }

.card .step-n { font-size: 1.1rem; }

@media (max-width: 980px) {
  #companies .cards, #approach .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  #companies .cards, #approach .cards { grid-template-columns: 1fr; }
  .hero-wide { padding: 64px 0 48px; }
  .marks { margin-top: 40px; }
}
