/* =========================================================
   Rocket City EDDM — styles
   Colors and fonts are defined once here in :root. Change a
   token and it updates everywhere.
   ========================================================= */

:root {
  /* Palette: Redstone — navy, signal red and white (Rocket City red-white-blue), on Mission Control type */
  --navy-900: #0a1730;   /* page background */
  --navy-800: #0f2041;   /* alternate section background */
  --navy-700: #162b55;   /* panels, inputs */
  --navy-500: #2b4373;   /* borders, quiet lines */
  --electric: #e63946;   /* primary accent: buttons, highlights, focus (signal red) */
  --electric-hi: #ff6b74;/* hover, highlights */
  --white: #ffffff;
  --mist: #c6d0e2;       /* secondary text on navy */
  --paper: #f7f9fc;      /* the postcard */
  --ink: #0b1d3d;        /* text on the postcard */
  --bg-rgb: 10, 23, 48;       /* navy-900 as r,g,b for translucent layers */
  --alt-rgb: 15, 32, 65;      /* navy-800 */
  --panel-rgb: 22, 43, 85;    /* navy-700 */
  --line-rgb: 43, 67, 115;    /* navy-500 */
  --accent-rgb: 230, 57, 70;  /* electric (red) */
  --on-accent: #ffffff; /* text on accent buttons */
  --map-filter: none;         /* recolors the route maps per design style */

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --display-case: none;      /* text-transform for big headings */
  --display-track: 0.005em;  /* letter-spacing for big headings */
  --display-stretch: 100%;   /* font-stretch (Launch Pad uses wide type) */
  --btn-radius: 999px;

  --radius-sm: 6px;
  --radius: 12px;
  --wrap: 1160px;
  --gutter: 16px;
  --header-h: 68px;
}

@media (min-width: 720px) {
  :root { --gutter: 32px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--electric-hi); }
a:hover { color: var(--white); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; margin: 0; letter-spacing: var(--display-track); text-transform: var(--display-case); font-stretch: var(--display-stretch); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--electric-hi); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--navy-900); padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border-radius: var(--btn-radius); border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: 0.02em; text-transform: var(--display-case); font-stretch: var(--display-stretch);
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--electric); color: var(--on-accent); }
.btn-primary:hover { background: var(--electric-hi); color: var(--on-accent); }
.btn-ghost { border-color: var(--navy-500); color: var(--white); }
.btn-ghost:hover { border-color: var(--electric-hi); color: var(--white); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(var(--bg-rgb), 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(var(--line-rgb), 0.6);
}
.site-header { transition: background-color .3s, box-shadow .3s; }
.site-header.is-scrolled { background: rgba(var(--bg-rgb), 0.97); box-shadow: 0 10px 30px -18px rgba(0,0,0,.8); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; }
.brand strong { font-weight: 700; color: var(--electric-hi); }
.brand-mark { width: 32px; height: 32px; color: var(--navy-500); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--mist); text-decoration: none; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--white); }

.menu-toggle { display: none; }

@media (max-width: 879px) {
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; background: none; border: 1px solid var(--navy-500); border-radius: var(--radius-sm); cursor: pointer;
  }
  .menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 20px; height: 2px; background: var(--white); position: relative; transition: transform .2s, background-color .2s; }
  .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
  .menu-bars::before { top: -6px; }
  .menu-bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--navy-900); border-bottom: 1px solid var(--navy-500);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(var(--line-rgb), 0.5); font-size: 1.1rem; }
  .site-nav .btn { margin-top: 16px; }
}

/* ---------- Background depth layers ---------- */
/* Fixed behind the page. motion.js drifts them at different speeds as you scroll. */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--navy-900); }
.sky-grid {
  position: absolute; inset: -20% -10%;
  background-image:
    linear-gradient(rgba(var(--accent-rgb),.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb),.07) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.sky-map { filter: var(--map-filter); position: absolute; left: 50%; top: 0; width: max(1800px, 160vw); max-width: none; opacity: .11; transform: translateX(-50%); will-change: transform; }
body { background: transparent; }
html { background: var(--navy-900); }

/* ---------- Hero: the film ---------- */
/* js/hero.js plays a short film on .hero-stage, all of it around one spot (--tx / --ty): an ad is
   drafted and generated, joins the shared card, the card is printed, and copies fire out to every
   flight path in that path's color. One caption at a time under it. It plays once and ends on .hero-end.
   The map sits behind with downtown Huntsville on that spot (--cx / --cy) and fades out at its edges;
   hero.js sets its width (--mw) so every flight path fits on screen. */
.hero {
  --ar: 1.2658;
  position: relative; overflow: hidden; background: var(--navy-900); border-bottom: 3px solid var(--electric);
}
.hero-stage {
  --mw: 960px; --cx: .602; --cy: .539; --tx: 50%; --ty: 42%; --tail: 70px;
  position: relative; overflow: hidden;
  height: clamp(540px, calc(100svh - var(--header-h)), 900px);
}
.hero-map {
  position: absolute; width: var(--mw); aspect-ratio: var(--ar);
  left: calc(var(--tx) - var(--mw) * var(--cx));
  top: calc(var(--ty) - var(--mw) / var(--ar) * var(--cy));
  opacity: .9; will-change: opacity;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 84%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 9%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 84%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.hero-map img { width: 100%; height: 100%; max-width: none; filter: var(--map-filter); }
.hero-hex { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hh-cell { fill: var(--c); fill-opacity: .1; stroke: var(--navy-900); stroke-width: 1.2; transition: fill-opacity .35s ease; }
.hh-cell.is-lit { fill-opacity: .72; }
.map-label {
  position: absolute; z-index: 1; transform: translate(10px, -50%);
  font-family: var(--font-display); font-size: .92rem; font-weight: 500; color: var(--mist);
  letter-spacing: 0.04em; white-space: nowrap; text-shadow: 0 0 12px var(--navy-900), 0 0 4px var(--navy-900), 0 1px 2px var(--navy-900);
}
.map-label::before { content: ""; position: absolute; left: -10px; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: var(--mist); }
.map-label--t1 { color: var(--white); font-weight: 600; }
.map-label--t2 { display: none; }
@media (min-width: 960px) { .map-label { font-size: 1rem; } .map-label--t2 { display: block; } }

/* the actors. hero.js sets their size and moves them with transforms every frame */
.film { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.film-card, .film-ad, .film-copies i, .film-shots i, .film-note, .film-snap { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; }
.film-card, .film-copies i { border-radius: 5px; background: #e9edf3; box-shadow: 0 30px 70px -18px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .1); }
.film-card img { width: 100%; height: 100%; border-radius: 5px; }
.film-copies i { background: #e9edf3 url(../assets/sample-front.jpg?v=12) center / cover; box-shadow: 0 0 0 1px rgba(11, 29, 61, .35), 0 6px 14px rgba(0, 0, 0, .35); }
.film-cover { position: absolute; background: #e9edf3; box-shadow: inset 0 0 0 1.5px rgba(11, 29, 61, .16); border-radius: 3px; }
/* a line of light on the edge that's uncovering each business (hero.js sets --p and --e) */
.film-cover::after { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--p, 0) * 100%); height: 2px; background: #fff;
  box-shadow: 0 0 8px 2px rgba(120, 190, 255, .9), 0 6px 16px 3px rgba(120, 190, 255, .35); opacity: var(--e, 0); }
/* the flash round the ad as it snaps into its spot */
.film-snap { border: 2px solid #fff; border-radius: 3px; box-shadow: 0 0 18px 4px rgba(120, 190, 255, .9), inset 0 0 14px rgba(120, 190, 255, .55); }

/* the ad starts as a draft: its layout is drawn line by line, then a beam of light sweeps down and
   leaves the finished ad behind it */
.film-ad {
  --glow: 0; border-radius: 6px; overflow: hidden; background: #071226;
  box-shadow: 0 30px 70px -18px rgba(0, 0, 0, .8), 0 0 0 1px rgba(120, 180, 255, .45), 0 0 calc(70px * var(--glow)) rgba(120, 190, 255, calc(.9 * var(--glow)));
}
.fa-blueprint { position: absolute; inset: 0;
  background-image: linear-gradient(rgba(120, 180, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 180, 255, .09) 1px, transparent 1px);
  background-size: 18px 18px; }
.fa-draft { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 0 4px rgba(120, 190, 255, .85)); }
.fa-draft path { stroke: rgba(160, 212, 255, .95); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.fa-pen { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #fff; opacity: 0;
  box-shadow: 0 0 8px 3px #fff, 0 0 22px 8px rgba(120, 190, 255, .9); }
.fa-size { position: absolute; right: 4.5%; top: 68%; opacity: 0; font: 600 .74rem var(--font-display); letter-spacing: .1em; color: rgba(160, 212, 255, .9); white-space: nowrap; }
.fa-art { position: absolute; inset: 0; width: 100%; height: 100%; clip-path: inset(0 0 100% 0); }
.fa-beam { position: absolute; left: -4%; width: 108%; top: 0; height: 3px; margin-top: -2px; background: #fff; opacity: 0;
  box-shadow: 0 0 10px 2px #fff, 0 0 34px 10px rgba(120, 190, 255, .95), 0 -26px 46px 6px rgba(120, 190, 255, .35); }

/* the copies that fire out to the flight paths: each is a tiny mailer in its path's color (--c) */
.film-shots i { left: -10px; top: -7.5px; width: 20px; height: 15px; border-radius: 2px; background: linear-gradient(90deg, var(--c) 0 36%, #fff 36%); box-shadow: 0 0 10px 1px var(--c); }
.film-shots i::before { content: ""; position: absolute; right: 96%; top: 50%; width: var(--tail); height: 4px; margin-top: -2px; border-radius: 2px;
  background: linear-gradient(to left, #fff, var(--c) 30%, transparent); opacity: var(--tail-o, 1); }
.film-note { margin: 0; font-size: .8rem; font-weight: 500; color: var(--mist); white-space: nowrap; letter-spacing: .02em; }

/* one line of words at a time, under the action */
.film-caption {
  position: absolute; left: 0; right: 0; top: 81%; margin: 0; padding: 0 var(--gutter); opacity: 0; will-change: transform, opacity;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 4.2vw, 3.2rem); line-height: 1.05; text-align: center; text-wrap: balance;
}

/* where the film ends: the headline and the two ways forward */
.hero-end { position: absolute; left: 0; right: 0; top: 76%; z-index: 3; display: grid; justify-items: center; gap: 20px; padding: 0 var(--gutter); text-align: center; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 700; line-height: 1; max-width: 15em; text-wrap: balance; }
.hero-end .hero-actions { margin-top: 0; justify-content: center; }
.hero.is-film .hero-end { will-change: transform, opacity; }

.film-skip {
  position: absolute; right: 14px; bottom: 14px; z-index: 4; min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(var(--bg-rgb), .7); color: var(--mist);
  font: 600 .95rem var(--font-display); letter-spacing: .04em; cursor: pointer;
}
.film-skip:hover { border-color: #fff; color: #fff; }

@media (max-width: 559px) {
  .hero-end { top: 72%; gap: 16px; }
  .film-caption { top: 80%; }
  .hero-end .hero-actions { flex-wrap: nowrap; width: 100%; gap: 8px; }
  .hero-end .btn { flex: 1 1 0; min-width: 0; padding: 0 10px; font-size: 1.08rem; white-space: nowrap; }
  .film-skip { bottom: auto; top: 12px; right: 12px; }
}

/* generic hero text pieces (the Flight paths page uses these) */
.hero-kicker { color: #fff; font-weight: 600; font-size: 1.05rem; margin-bottom: 18px; }
.hero-kicker::before { content: "★ "; color: var(--electric); }
.hero-lede { margin-top: 24px; max-width: 34em; color: var(--mist); font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Flight path picker (home) ---------- */
/* The map of every flight path with a list beside it. Each path has its map color (--c, set by
   js/main.js). Picking one, on the map or in the list, opens its card in the pop-up below. */
.paths { border-bottom: 1px solid var(--navy-500); }
.anchor { position: absolute; top: 0; }
.picker { display: grid; gap: 20px; }
@media (min-width: 980px) { .picker { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; align-items: start; } }
.picker .cm-path:focus-visible { outline: none; }
.picker .cm-path:focus-visible .cm-hex { fill-opacity: .6; stroke: #fff; }
.path-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.path-item { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border: 1px solid var(--navy-500); border-radius: var(--radius); background: rgba(var(--panel-rgb), .5); transition: border-color .2s; }
.path-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--c); }
.path-item:hover, .path-item.is-picked { border-color: var(--c); }
.path-btn { position: relative; display: grid; justify-items: start; width: 100%; padding: 12px 14px 12px 76px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.path-shape { position: absolute; left: 20px; top: 50%; width: 44px; height: 44px; transform: translateY(-50%); fill: var(--c); opacity: .9; }
.path-status { display: inline-flex; align-items: center; gap: 8px; padding: 1px 9px; border-radius: 999px; font-weight: 600; font-size: .8rem; border: 1px solid var(--navy-500); color: var(--mist); }
.path-call { margin-top: 6px; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1; color: #fff; }
.path-area { margin-top: 3px; color: var(--mist); }
.path-when { color: var(--mist); font-size: .92rem; }
.path-go { margin-top: 6px; font-weight: 600; font-size: .95rem; text-decoration: underline; text-underline-offset: 3px; }
.path-wait { margin-right: 14px; padding: 8px 14px; border: 1px solid var(--navy-500); border-radius: var(--btn-radius); color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; text-decoration: none; white-space: nowrap; }
.path-wait:hover { border-color: var(--electric-hi); color: var(--white); }
/* the path booking now: the big one */
.path-item.is-open { border-color: var(--c); background: color-mix(in srgb, var(--c) 13%, var(--navy-800)); box-shadow: 0 24px 60px -30px var(--c); }
.path-item.is-open .path-btn { padding: 22px 22px 24px 28px; }
.path-item.is-open .path-shape { left: auto; right: 20px; top: 20px; width: clamp(72px, 16vw, 112px); height: clamp(72px, 16vw, 112px); transform: none; }
.path-item.is-open .path-status { padding: 3px 11px; font-size: .88rem; border-color: transparent; background: var(--electric); color: var(--on-accent); }
.path-status .live-dot { background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); animation-name: live-white; }
@keyframes live-white { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 80%, 100% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); } }
.path-item.is-open .path-call { margin-top: 14px; font-size: clamp(2.4rem, 5vw, 3.2rem); }
.path-item.is-open .path-area { font-size: 1.15rem; font-weight: 600; color: var(--white); }
.path-item.is-open .path-when { margin-top: 6px; font-size: 1rem; }
.path-clock { display: grid; gap: 4px; margin-top: 16px; padding-left: 14px; border-left: 3px solid var(--electric); }
.path-clock-label { font-weight: 500; color: var(--mist); }
.path-item.is-open .path-go { margin-top: 20px; display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px; border-radius: var(--btn-radius); background: var(--electric); color: var(--on-accent); font-family: var(--font-display); font-size: 1.2rem; text-decoration: none; }
.path-item.is-open .path-btn:hover .path-go { background: var(--electric-hi); }
.paths-more { margin-top: 22px; }
.paths-more a { color: var(--mist); }
.paths-more a:hover { color: #fff; }
@media (max-width: 479px) {
  .path-item.is-waitlist { grid-template-columns: minmax(0, 1fr); }
  .path-wait { justify-self: start; margin: 0 0 14px 76px; }
}

/* ---------- One flight path's card, in a pop-up (home) ---------- */
html.has-dialog { overflow: hidden; }
.card-dialog { width: min(1120px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); margin: auto; padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid var(--navy-500); border-top: 5px solid var(--c, var(--electric)); border-radius: var(--radius); background: var(--navy-800); color: var(--white); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .8); }
.card-dialog::backdrop { background: rgba(4, 10, 24, .8); backdrop-filter: blur(4px); }
.card-dialog-in { position: relative; padding: clamp(18px, 3vw, 36px); }
.dialog-close { position: sticky; top: 12px; float: right; z-index: 5; width: 44px; height: 44px; margin: -6px -6px 0 12px; border: 1px solid var(--navy-500); border-radius: 50%; background: var(--navy-700); color: var(--white); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.dialog-close:hover { border-color: var(--electric-hi); }
.card-head { margin-bottom: 22px; }
.card-head h2 { margin-top: 10px; font-size: clamp(2.1rem, 4.4vw, 3.1rem); line-height: 1; }
.card-dialog.is-waitlist .path-status .live-dot { display: none; }
.card-dialog:not(.is-waitlist) .path-status { padding: 3px 11px; font-size: .88rem; border-color: transparent; background: var(--electric); color: var(--on-accent); }
.card-where { margin-top: 8px; max-width: 46em; color: var(--mist); font-size: 1.05rem; }
.card-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 16px 0 0; }
.card-facts div { padding-left: 12px; border-left: 2px solid var(--c, var(--electric)); }
.card-facts dt { color: var(--mist); font-size: .88rem; }
.card-facts dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.spot-note { margin-top: 12px; }
@media (max-width: 599px) {
  .card-dialog { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .card-dialog[open] { animation: card-in .28s cubic-bezier(.2, .7, .2, 1); }
  @keyframes card-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
}

/* ---------- Scroll progress (thin trajectory line under the header) ---------- */
.scroll-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--electric), var(--electric-hi));
  transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
}

/* ---------- Scroll reveals (only when motion.js is running) ---------- */
.motion .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--rd, 0s); }
.motion .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(64px, 9vw, 112px) 0; }
.section--alt { background: rgba(var(--alt-rgb), .72); border-top: 1px solid var(--navy-500); border-bottom: 1px solid var(--navy-500); backdrop-filter: blur(2px); }
.section-head { max-width: 40em; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2.3rem, 5vw, 3.5rem); }
.section-head p { margin-top: 14px; color: var(--mist); font-size: 1.1rem; }

/* ---------- Interactive mailer ---------- */
.mailer-layout { display: grid; gap: 28px; }
@media (min-width: 960px) {
  .mailer-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 40px; }
}

.side-toggle { display: inline-flex; padding: 4px; border: 1px solid var(--navy-500); border-radius: 999px; margin-bottom: 18px; }
.side-btn {
  min-height: 40px; padding: 0 22px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  color: var(--mist); font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
}
.side-btn[aria-pressed="true"] { background: var(--white); color: var(--navy-900); }

.mailer { perspective: 1800px; }
/* .mailer-tilt takes the scroll / pointer tilt; .mailer-card takes the front/back flip */
.mailer-tilt {
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--lift, 0px));
  transition: transform .25s ease-out;
}
.mailer-card {
  position: relative; aspect-ratio: var(--card-ar, 12 / 9); width: 100%;
  transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3,.7,.2,1);
}
.mailer[data-side="back"] .mailer-card { transform: rotateY(180deg); }

.mailer-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: var(--paper); color: var(--ink); border-radius: 6px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255,255,255,.08);
  overflow: hidden;
}
.mailer-face--back { transform: rotateY(180deg); }
.mailer-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mailer-caption { margin-top: 14px; color: var(--mist); font-size: .95rem; }

.spot-panel { background: var(--navy-700); border: 1px solid var(--navy-500); border-radius: var(--radius); padding: 24px; }
.spot-panel-empty { color: var(--mist); }
.spot-id { color: var(--electric-hi); font-weight: 600; }
.spot-name { font-size: 2rem; margin-top: 2px; }
.spot-specs { margin: 18px 0 22px; display: grid; gap: 10px; }
.spot-specs div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--navy-500); }
.spot-specs dt { color: var(--mist); }
.spot-specs dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--navy-500); }
.faq details { border-bottom: 1px solid var(--navy-500); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 48px 22px 0; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; line-height: 1.15;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid var(--electric-hi); border-bottom: 2px solid var(--electric-hi); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq summary:hover { color: var(--electric-hi); }
.faq details p { padding: 0 0 24px; color: var(--mist); max-width: 40em; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--navy-500); padding: 48px 0 32px; color: var(--mist); font-size: .95rem; }
.footer-inner { display: grid; gap: 24px; }
@media (min-width: 720px) { .footer-inner { grid-template-columns: 1fr auto; } .footer-meta { text-align: right; } }
.footer-brand { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); margin-bottom: 6px; }
.footer-brand strong { color: var(--electric-hi); }
.footer-meta { display: grid; gap: 4px; align-content: start; }
.footer-fine { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(var(--line-rgb),.5); display: grid; gap: 6px; font-size: .85rem; }
.footer-fine a { color: var(--mist); }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-content: center; text-align: center; gap: 18px; padding: 48px var(--gutter); }
.notfound h1 { font-size: clamp(3rem, 10vw, 6rem); }
.notfound p { color: var(--mist); }

/* ---------- FAQ answer reveal ---------- */
.faq details[open] p { animation: faq-in .35s ease; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mailer-tilt, .mailer-card { transition: none; }
  .faq details[open] p { animation: none; }
}

/* ---------- Routes page ---------- */
.routes-hero { padding: clamp(56px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--navy-500); background: linear-gradient(180deg, rgba(var(--bg-rgb),.9), rgba(var(--bg-rgb),.6)); }
.routes-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 700; line-height: .98; max-width: 16ch; text-wrap: balance; }
.routes-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 36px 0 0; max-width: 760px; }
@media (min-width: 720px) { .routes-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.routes-stats div { border-left: 2px solid var(--electric); padding-left: 14px; }
.routes-stats dt { color: var(--mist); font-size: .95rem; }
.routes-stats dd { margin: 2px 0 0; font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; }

.method { list-style: none; counter-reset: m; margin: 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 900px) { .method { grid-template-columns: repeat(5, 1fr); gap: 28px; } }
.method li { counter-increment: m; border-top: 2px solid var(--navy-500); padding-top: 16px; }
.method li::before { content: counter(m); display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--electric-hi); margin-bottom: 6px; }
.method h3 { font-size: 1.5rem; }
.method p { margin-top: 6px; color: var(--mist); }

.editions-layout { display: grid; gap: 24px; }
@media (min-width: 980px) { .editions-layout { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); align-items: start; } }
.editions-map { margin: 0; background: rgba(var(--bg-rgb),.7); border: 1px solid var(--navy-500); border-radius: var(--radius); overflow: hidden; }
.editions-map svg { width: 100%; height: auto; display: block; }
.map-grid line { stroke: rgba(var(--accent-rgb),.12); stroke-width: 1; }
.ed polygon { fill: var(--c); fill-opacity: .35; stroke: var(--c); stroke-width: 1.5; stroke-linejoin: round; transition: fill-opacity .2s; }
.ed { cursor: pointer; }
.ed-letter { fill: #fff; font-family: var(--font-display); font-weight: 700; font-size: 34px; text-anchor: middle; dominant-baseline: middle; paint-order: stroke; stroke: var(--navy-900); stroke-width: 6px; pointer-events: none; }
.has-selection .ed:not(.is-on) { opacity: .45; }
.ed.is-on polygon { fill-opacity: .7; stroke: #fff; stroke-width: 1.5; }
.landmark circle { fill: #fff; }
.landmark text { fill: var(--mist); font-family: var(--font-display); font-size: 16px; }

.editions-list { display: grid; gap: 10px; }
.ed-card {
  display: grid; gap: 2px; text-align: left; padding: 14px 16px; cursor: pointer; font: inherit; color: var(--white);
  background: var(--navy-700); border: 1px solid var(--navy-500); border-left: 4px solid var(--c); border-radius: var(--radius-sm);
}
.ed-card:hover { border-color: var(--c); }
.ed-card[aria-pressed="true"] { background: #183470; border-color: var(--c); box-shadow: 0 0 0 1px var(--c); }
.ed-id { color: var(--c); font-weight: 600; font-size: .9rem; }
.ed-name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; line-height: 1.1; }
.ed-areas { color: var(--mist); font-size: .95rem; }
.ed-stats { font-size: .92rem; margin-top: 4px; }

.edition-detail { margin-top: 28px; }
.edition-detail h3 { font-size: 1.8rem; }
.edition-detail h3 span { color: var(--electric-hi); }
.ed-sum { color: var(--mist); margin-top: 6px; }
.table-scroll { overflow-x: auto; margin-top: 14px; }
.edition-detail table { width: 100%; border-collapse: collapse; min-width: 480px; font-variant-numeric: tabular-nums; }
.edition-detail th, .edition-detail td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--navy-500); }
.edition-detail th { color: var(--mist); font-weight: 500; font-size: .95rem; }
.routes-source { margin-top: 18px; color: var(--mist); font-size: .88rem; max-width: 60em; }

.rotation { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 900px) { .rotation { grid-template-columns: repeat(5, 1fr); } }
.rotation li { position: relative; padding: 16px; border: 1px solid var(--navy-500); border-top: 3px solid var(--c); border-radius: var(--radius-sm); background: rgba(var(--panel-rgb),.5); }
.rot-id { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--c); line-height: 1; }
.rot-name { display: block; margin-top: 6px; font-weight: 600; }
.rot-next { display: inline-block; margin-top: 8px; padding: 2px 10px; border-radius: 999px; background: var(--electric); color: var(--navy-900); font-weight: 600; font-size: .85rem; }
.routes-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* =========================================================
   Card spots (js/card.js): each spot shows its id, name and a large, readable price
   ========================================================= */
.spot {
  position: absolute; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: 4%; background: transparent; border: 2px solid transparent; border-radius: 4px;
  color: var(--navy-900); font: inherit; cursor: pointer; overflow: hidden; container-type: inline-size;
  transition: background-color .15s, border-color .15s, box-shadow .15s;
}
.spot:hover { background: rgba(var(--accent-rgb), .08); border-color: rgba(var(--accent-rgb), .75); }
.spot:focus-visible { outline-offset: 1px; }
.spot-tag {
  position: absolute; left: 4cqi; top: 4cqi; padding: .3em .5em; border-radius: 4px; background: var(--navy-900); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(.6rem, 7cqi, .95rem); line-height: 1;
}
.spot[data-type="cover"] .spot-tag, .spot[data-type="premium"] .spot-tag { font-size: clamp(.65rem, 3.6cqi, 1rem); left: 2.5cqi; top: 2.5cqi; }
.spot-body { display: flex; flex-direction: column; align-items: center; gap: .15em; width: 100%; }
.spot-label { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #2c4a7c; font-size: clamp(.55rem, 9cqi, 1.1rem); line-height: 1.05; }
.spot-cost { font-family: var(--font-display); font-weight: 700; color: var(--navy-900); font-size: clamp(1rem, 28cqi, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.spot-per { color: #3d5378; font-weight: 600; font-size: clamp(.5rem, 8cqi, .95rem); line-height: 1.2; }
.spot-per b { color: var(--electric); font-weight: 700; }
.spot[data-type="cover"] .spot-label, .spot[data-type="premium"] .spot-label { font-size: clamp(.65rem, 5.2cqi, 1.5rem); }
.spot[data-type="cover"] .spot-cost, .spot[data-type="premium"] .spot-cost { font-size: clamp(1.4rem, 17cqi, 5rem); }
.spot[data-type="cover"] .spot-per, .spot[data-type="premium"] .spot-per { font-size: clamp(.6rem, 4.6cqi, 1.3rem); }
.spot[data-type="banner"] .spot-tag { font-size: clamp(.6rem, 3.6cqi, 1rem); left: 2cqi; top: 4cqi; }
.spot[data-type="banner"] .spot-label { font-size: clamp(.55rem, 4.4cqi, 1.3rem); }
.spot[data-type="banner"] .spot-cost { font-size: clamp(1rem, 11cqi, 3.4rem); }
.spot[data-type="banner"] .spot-per { font-size: clamp(.5rem, 3.8cqi, 1.1rem); }
.spot[data-type="banner"].has-preview .spot-label { font-size: clamp(.7rem, 7cqi, 2rem); }
.spot[data-type="banner"].has-preview .spot-offer { font-size: clamp(.55rem, 4cqi, 1rem); }
@container (max-width: 92px) { .spot-per { display: none; } }
.spot-offer { display: none; }
/* selected: their name (and offer) previewed in the spot */
.spot[aria-pressed="true"] { background: rgba(255,255,255,.97); border-color: var(--electric); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .4); }
.spot.has-preview .spot-cost, .spot.has-preview .spot-per { display: none; }
.spot.has-preview .spot-label { text-transform: none; letter-spacing: 0; font-weight: 700; color: var(--navy-900); font-size: clamp(.7rem, 13cqi, 1.6rem); }
.spot[data-type="cover"].has-preview .spot-label { font-size: clamp(1rem, 8cqi, 2.6rem); }
.spot.has-preview .spot-offer { display: block; margin-top: 4px; font-size: clamp(.55rem, 7cqi, .95rem); line-height: 1.15; color: #2c3e60; }
/* taken */
.spot.is-taken { background: repeating-linear-gradient(135deg, rgba(11,29,61,.55) 0 8px, rgba(11,29,61,.42) 8px 16px); cursor: pointer; }
.spot.is-taken .spot-label, .spot.is-taken .spot-cost { color: #fff; }
.spot.is-taken .spot-per { display: none; }
.spot.is-taken:hover { border-color: #c5cedb; background: repeating-linear-gradient(135deg, rgba(11,29,61,.62) 0 8px, rgba(11,29,61,.5) 8px 16px); }

.spot-panel .spot-monthly { color: var(--electric-hi); }

/* ---------- Form fields (homepage try-it panel, booking pages) ---------- */
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font-weight: 500; font-size: .98rem; padding: 0; }
.field em { font-style: normal; color: var(--mist); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  background: var(--navy-900); color: var(--white); border: 1px solid var(--navy-500); border-radius: var(--radius-sm);
  font: inherit; font-size: 1rem;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--electric); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.3); }
.field input[aria-invalid="true"] { border-color: #ff8a8a; }
.field input[type="file"] { padding: 10px; min-height: 0; }
.spot-panel .field { margin-bottom: 14px; }
.spot-panel .field input { background: var(--navy-800); }
.form-status { min-height: 1.5em; font-weight: 500; }
.form-status.is-ok { color: var(--electric-hi); }
.form-status.is-error { color: #ffb0b0; }

/* ---------- Price strip + notes under the card ---------- */
.rate-strip { display: grid; gap: 12px; margin-top: 28px; }
@media (min-width: 800px) { .rate-strip { grid-template-columns: repeat(3, 1fr); } }
.rate { display: grid; gap: 2px; padding: 16px 18px; border: 1px solid var(--navy-500); border-top: 3px solid var(--electric); border-radius: var(--radius-sm); background: rgba(var(--bg-rgb), .55); }
.rate-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; text-transform: var(--display-case); font-stretch: var(--display-stretch); }
.rate-size { color: var(--mist); font-size: .92rem; }
.rate-price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--electric-hi); margin-top: 6px; line-height: 1; }
.rate-price small { font-size: .5em; font-weight: 500; color: var(--mist); }
.rate-monthly { font-size: .92rem; }
.pricing-notes { display: grid; gap: 28px; margin-top: 44px; }
@media (min-width: 900px) { .pricing-notes { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.pricing-notes h3 { font-size: 1.5rem; }
.pricing-notes p { margin-top: 8px; color: var(--mist); max-width: 34em; }

/* ---------- Countdown (flight path chooser) ---------- */
.launch-clock-time { font-family: var(--font-display); font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.launch-clock-time i { font-style: normal; font-size: .5em; color: var(--electric-hi); margin: 0 .25em 0 .05em; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--electric); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .7); animation: live 1.8s ease-out infinite; flex: none; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .7); } 80%, 100% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); } }
.eyebrow { color: var(--electric-hi); font-weight: 600; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }

/* ---------- Why EDDM page ---------- */
.why-hero h1 { max-width: 14ch; }
/* big numbers with what they mean underneath */
.why-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; margin: 0; }
@media (min-width: 900px) { .why-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }
.why-stats div { display: flex; flex-direction: column; border-top: 3px solid var(--electric); padding-top: 14px; }
.why-stats dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; white-space: nowrap; }
.why-stats dt { margin-top: 8px; color: var(--mist); max-width: 22em; }
.why-stats--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* the memory chart: two lines that draw themselves when the chart scrolls into view (js/why.js) */
.why-chart { margin: 0 0 clamp(36px, 5vw, 56px); padding: clamp(14px, 2.5vw, 28px); border: 1px solid var(--navy-500); border-radius: var(--radius); background: rgba(var(--panel-rgb), .45); }
.why-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.why-chart figcaption { margin-top: 10px; color: var(--mist); font-size: .9rem; }
.wc-grid path { fill: none; stroke: var(--navy-500); stroke-width: 1.5; }
.wc-grid .wc-faint { stroke-width: 1; stroke-dasharray: 3 6; opacity: .7; }
.wc-burst, .wc-month { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.wc-burst { stroke: var(--mist); stroke-width: 2.5; opacity: .75; }
.wc-month { stroke: var(--electric); stroke-width: 4; }
.wc-ticks-b { fill: var(--mist); opacity: .75; }
.wc-ticks-m { fill: var(--electric); }
.wc-axis { fill: var(--mist); font: 500 13px var(--font-body); }
.wc-lab { font: 700 19px var(--font-display); letter-spacing: .02em; }
.wc-lab.wc-sub { font-weight: 500; font-size: 15px; }
.wc-lab-b { fill: var(--mist); }
.wc-lab-m { fill: var(--electric-hi); }
.why-chart.will-draw .wc-reveal { clip-path: inset(-10% 100% -10% 0); }
.why-chart.will-draw .wc-lab { opacity: 0; }
.why-chart.will-draw.is-in .wc-reveal { clip-path: inset(-10% 0 -10% 0); transition: clip-path 2.6s cubic-bezier(.45, .05, .35, 1); }
.why-chart.will-draw.is-in .wc-lab { opacity: 1; transition: opacity .5s ease .9s; }
.why-chart.will-draw.is-in .wc-lab-m { transition-delay: 2.2s; }
.wc-key { display: none; list-style: none; margin: 10px 0 0; padding: 0; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.wc-key li { display: flex; align-items: center; gap: 10px; }
.wc-key li::before { content: ""; flex: none; width: 22px; height: 0; border-top: 3px solid var(--mist); }
.wc-key-b { color: var(--mist); }
.wc-key-m { color: var(--electric-hi); }
.wc-key .wc-key-m::before { border-top: 4px solid var(--electric); }
@media (max-width: 559px) { .why-chart { padding: 14px 12px; } .why-chart .wc-lab { display: none; } .wc-key { display: grid; } .wc-axis { font-size: 20px; } }
/* the four reasons under the chart */
.why-points { display: grid; gap: 28px; }
@media (min-width: 720px) { .why-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 48px; } }
.why-points h3 { font-size: 1.6rem; }
.why-points p { margin-top: 8px; color: var(--mist); max-width: 34em; }
.why-points b { color: #fff; font-weight: 600; }
.why-local { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .why-local { grid-template-columns: 1.05fr 1fr; gap: 64px; } }
.why-local h2 { font-size: clamp(2.3rem, 5vw, 3.5rem); }
.why-local p { margin-top: 14px; color: var(--mist); font-size: 1.1rem; max-width: 34em; }
.final-cta .hero-actions { margin-top: 8px; justify-content: center; }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; border-top: 1px solid var(--navy-500); background: radial-gradient(ellipse at 50% 120%, rgba(var(--accent-rgb), .22), transparent 60%); }
.final-cta-inner { display: grid; justify-items: center; gap: 16px; }
.final-cta h2 { font-size: clamp(2.3rem, 5vw, 3.6rem); max-width: 18ch; text-wrap: balance; }
.final-cta p { color: var(--mist); max-width: 36em; font-size: 1.1rem; }
.contact-owners { margin-top: 10px; color: var(--mist); font-size: .98rem !important; }

/* ---------- Design preview switcher (config.design.pickerVisible) ---------- */
.design-picker {
  position: fixed; right: 12px; bottom: 12px; z-index: 90; display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
  padding: 6px; border-radius: 12px; background: rgba(10,12,18,.88); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px);
  font-family: "Barlow", system-ui, sans-serif; font-size: .85rem; color: #dfe6f2; max-width: calc(100vw - 24px);
}
.dp-label { padding: 0 6px; color: #9aa7bd; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .72rem; }
.design-picker button { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px; border-radius: 8px; border: 1px solid transparent; background: none; color: inherit; font: inherit; cursor: pointer; }
.design-picker button:hover { background: rgba(255,255,255,.08); }
.design-picker button[aria-pressed="true"] { background: #fff; color: #0a0c12; }
.dp-swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); }
.dp-swatch--mission { background: linear-gradient(135deg, #07142b 50%, #2e9bff 50%); }
.dp-swatch--launchpad { background: linear-gradient(135deg, #000 50%, #fff 50%); }
.dp-swatch--redstone { background: linear-gradient(135deg, #0a1730 50%, #e63946 50%); }
.design-picker .dp-hide { min-height: 34px; padding: 0 8px; color: #9aa7bd; font-size: 1.1rem; }
@media (max-width: 599px) { .dp-label { display: none; } .design-picker button span { display: none; } .design-picker .dp-hide { display: inline-flex; } }

/* =========================================================
   DESIGN STYLES — override the tokens. Default (no data-theme) = Mission Control type + Redstone colours.
   ========================================================= */
/* Launch Pad: black, white and wide uppercase type */
[data-theme="launchpad"] {
  --navy-900: #050505; --navy-800: #0d0d0e; --navy-700: #151618; --navy-500: #34363b;
  --electric: #ffffff; --electric-hi: #ffffff; --mist: #a9adb5; --ink: #0a0a0a;
  --bg-rgb: 5, 5, 5; --alt-rgb: 13, 13, 14; --panel-rgb: 21, 22, 24; --line-rgb: 52, 54, 59; --accent-rgb: 255, 255, 255;
  --on-accent: #050505;
  --font-display: "Archivo", "Arial", sans-serif; --font-body: "Archivo", "Segoe UI", system-ui, sans-serif;
  --display-case: uppercase; --display-track: .04em; --display-stretch: 125%; --btn-radius: 2px;
  --map-filter: grayscale(1) brightness(1.45) contrast(1.1);
}
[data-theme="launchpad"] h1, [data-theme="launchpad"] h2 { font-weight: 800; }
[data-theme="launchpad"] .hero h1 { font-size: clamp(2.4rem, 6.2vw, 5rem); line-height: 1; max-width: 13ch; }
[data-theme="launchpad"] .hero-kicker, [data-theme="launchpad"] .eyebrow { letter-spacing: .22em; text-transform: uppercase; font-size: .82rem; }
[data-theme="launchpad"] .btn { font-size: .95rem; letter-spacing: .14em; }
[data-theme="launchpad"] .btn-ghost { border-color: #fff; }
[data-theme="launchpad"] .site-nav a:not(.btn) { text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; }
[data-theme="launchpad"] .brand { text-transform: uppercase; letter-spacing: .12em; font-size: 1.1rem; font-stretch: 125%; font-family: "Archivo", sans-serif; }
[data-theme="launchpad"] .sky-grid { opacity: .5; }
[data-theme="launchpad"] .section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }

/* Redstone colour accents (default look) */
.site-header { border-bottom: 3px solid var(--electric); }
.brand strong, .footer-brand strong { color: var(--electric); }
.rate-price { color: #fff; }
.eyebrow { color: #fff; }

/* =========================================================
   Booking page
   ========================================================= */
.book-hero { padding: clamp(40px, 6vw, 72px) 0 24px; }
.book-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 700; line-height: 1; }
.book-hero p { margin-top: 12px; color: var(--mist); font-size: 1.1rem; max-width: 40em; }
.launch-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; }
.launch-tab { display: grid; gap: 2px; text-align: left; min-width: 180px; padding: 12px 16px; border: 1px solid var(--navy-500); border-radius: var(--radius-sm); background: rgba(var(--bg-rgb), .6); color: var(--white); font: inherit; cursor: pointer; }
.launch-tab:hover { border-color: var(--electric); }
.launch-tab[aria-selected="true"] { border-color: var(--electric); background: rgba(var(--panel-rgb), .9); box-shadow: inset 0 3px 0 var(--electric); }
.lt-month { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; text-transform: var(--display-case); font-stretch: var(--display-stretch); }
.lt-meta { color: var(--mist); font-size: .9rem; }
.lt-open { font-size: .9rem; color: var(--electric-hi); font-weight: 600; }
.book-note { margin-top: 10px; color: var(--mist); font-size: .95rem; }
.book-note.is-warn { color: #ffd59a; }
.book-layout { display: grid; gap: 28px; margin-top: 18px; }
@media (min-width: 980px) { .book-layout { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 40px; } }
.legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; color: var(--mist); font-size: .92rem; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 16px; height: 12px; border-radius: 2px; background: var(--electric); }
.legend i.is-taken { background: repeating-linear-gradient(135deg, #4a5873 0 3px, #7d8aa3 3px 6px); }
.legend i.is-sel { background: #fff; box-shadow: 0 0 0 2px var(--electric); }
.checkout-panel { background: var(--navy-700); border: 1px solid var(--navy-500); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; }
.checkout-panel h2 { font-size: 2rem; }
.co-id { color: var(--electric-hi); font-weight: 600; }
.plans { display: grid; gap: 10px; border: 0; margin: 0; padding: 0; }
.plans legend { font-weight: 600; margin-bottom: 8px; }
.plan { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: center; padding: 14px; border: 1px solid var(--navy-500); border-radius: var(--radius-sm); background: rgba(var(--bg-rgb), .6); cursor: pointer; }
.plan:has(input:checked) { border-color: var(--electric); box-shadow: 0 0 0 1px var(--electric); }
.plan input { width: 20px; height: 20px; accent-color: var(--electric); margin: 0; }
.plan-name { font-weight: 600; }
.plan-price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--electric-hi); }
.plan-desc { grid-column: 2 / 4; color: var(--mist); font-size: .9rem; }
.plan.is-disabled { opacity: .5; cursor: not-allowed; }
.co-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--navy-500); padding-top: 14px; }
.co-total strong { font-family: var(--font-display); font-size: 2rem; }
.co-fine { color: var(--mist); font-size: .88rem; }
.co-fine a { color: var(--mist); }
.co-taken { padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(255, 200, 120, .12); border: 1px solid rgba(255, 200, 120, .4); color: #ffe2b8; }
.steps-mini { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 800px) { .steps-mini { grid-template-columns: repeat(4, 1fr); } }
.steps-mini li { border-top: 2px solid var(--navy-500); padding-top: 12px; color: var(--mist); font-size: .95rem; }
.steps-mini b { display: block; color: var(--white); font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; text-transform: var(--display-case); }

/* Booked (after checkout) */
.booked-card { max-width: 760px; }
.booked-summary { display: grid; gap: 8px; margin: 24px 0; padding: 20px; border: 1px solid var(--navy-500); border-left: 4px solid var(--electric); border-radius: var(--radius-sm); background: rgba(var(--panel-rgb), .6); }
.booked-summary div { display: flex; justify-content: space-between; gap: 16px; }
.booked-summary dt { color: var(--mist); }
.booked-summary dd { margin: 0; font-weight: 600; text-align: right; }
.brief-form { display: grid; gap: 18px; background: var(--navy-800); border: 1px solid var(--navy-500); border-radius: var(--radius); padding: clamp(20px, 4vw, 32px); }
.field-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   Routes page: coverage map on the real road map
   ========================================================= */
.coverage-map { position: relative; margin: 0; background: rgba(var(--bg-rgb), .85); border: 1px solid var(--navy-500); border-radius: var(--radius); overflow: hidden; }
.coverage-map svg { width: 100%; height: auto; display: block; }
.cm-roads { opacity: .5; filter: var(--map-filter); }
.cm-hex { fill: var(--c); fill-opacity: .34; stroke: var(--navy-900); stroke-width: 1.2; transition: fill-opacity .25s; }
.cm-path { cursor: pointer; }
.cm-path:hover .cm-hex { fill-opacity: .42; }
.has-selection .cm-path:not(.is-on) .cm-hex { fill-opacity: .26; }
.cm-path.is-on .cm-hex { fill-opacity: .55; }
.motion .cm-path.is-on .cm-hex { animation: hexwave 3.6s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes hexwave { 0%, 100% { fill-opacity: .42; } 12% { fill-opacity: .9; } 30% { fill-opacity: .42; } }
.cm-routes polygon { fill: none; stroke: #fff; stroke-width: 1.2; stroke-opacity: .85; stroke-linejoin: round; pointer-events: none; }
.cm-beacon circle.core { fill: var(--c); stroke: #fff; stroke-width: 2.5; }
.cm-beacon circle.ring { fill: none; stroke: var(--c); stroke-width: 2.5; opacity: 0; }
.motion .cm-beacon circle.ring { animation: beacon 2.8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.motion .cm-beacon circle.ring.r2 { animation-delay: 1.4s; }
@keyframes beacon { 0% { transform: scale(.4); opacity: .95; } 100% { transform: scale(3.6); opacity: 0; } }
.cm-call { fill: #fff; font-family: var(--font-display); font-weight: 700; font-size: 27px; letter-spacing: .06em; text-transform: uppercase; paint-order: stroke; stroke: var(--navy-900); stroke-width: 6px; stroke-linejoin: round; pointer-events: none; }
.cm-town { fill: var(--mist); font-family: var(--font-display); font-size: 19px; font-weight: 500; paint-order: stroke; stroke: var(--navy-900); stroke-width: 5px; pointer-events: none; }
.cm-town-dot { fill: var(--mist); }
.cm-downtown { fill: #fff; }
.cm-downtown-ring { fill: none; stroke: #fff; stroke-width: 2; opacity: .5; }
.cm-caption { padding: 10px 14px; color: var(--mist); font-size: .88rem; border-top: 1px solid var(--navy-500); }
.ed-card .ed-id { text-transform: uppercase; letter-spacing: .08em; }
.schedule { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 900px) { .schedule { grid-template-columns: repeat(5, 1fr); } }
.schedule li { padding: 14px 16px; border: 1px solid var(--navy-500); border-top: 3px solid var(--c); border-radius: var(--radius-sm); background: rgba(var(--panel-rgb), .5); }
.schedule li.is-next { box-shadow: 0 0 0 1px var(--c); }
.sch-call { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--c); line-height: 1; text-transform: uppercase; letter-spacing: .04em; }
.sch-area { display: block; margin-top: 6px; font-weight: 600; }
.sch-months { display: block; margin-top: 4px; color: var(--mist); font-size: .92rem; }

@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
}
.spot.is-taken[aria-pressed="true"] { background: repeating-linear-gradient(135deg, rgba(11,29,61,.62) 0 8px, rgba(11,29,61,.5) 8px 16px); border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
.spot.is-taken[aria-pressed="true"] .spot-offer { display: none; }

/* QA fixes (Oct 31) */
.edition-detail td:first-child, .edition-detail th:first-child { white-space: nowrap; }
@media (max-width: 599px) {
  .launch-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .launch-tab { min-width: 0; padding: 10px; }
  .lt-month { font-size: 1.1rem; }
  .lt-meta, .lt-open { font-size: .8rem; }
}

/* Simplify pass (Oct 31): flight path snapshot, My booking */

.edition-detail { padding: 22px; border: 1px solid var(--navy-500); border-top: 3px solid var(--c, var(--electric)); border-radius: var(--radius-sm); background: rgba(var(--panel-rgb), .55); }
.edition-detail h3 span.dc { color: var(--c, var(--electric-hi)); }
.edition-detail h3 span.dn { color: var(--white); }
.ed-areas-line { color: var(--mist); margin-top: 6px; }
.snapshot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 18px 0 0; }
@media (min-width: 720px) { .snapshot { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.snapshot div { border-left: 2px solid var(--c, var(--electric)); padding-left: 12px; }
.snapshot dt { color: var(--mist); font-size: .92rem; }
.snapshot dd { margin: 2px 0 0; font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1.1; }

.lookup-form { display: grid; gap: 14px; margin-top: 24px; max-width: 640px; }
.lookup-form .btn { justify-self: start; }
.my-bookings { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; max-width: 640px; }
.my-bookings li { padding: 18px; border: 1px solid var(--navy-500); border-left: 4px solid var(--electric); border-radius: var(--radius-sm); background: rgba(var(--panel-rgb), .6); display: grid; gap: 4px; }
.mb-spot { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.mb-when { color: var(--mist); }
.mb-ad { font-weight: 600; }
.mb-ad.is-todo { color: var(--electric-hi); }
.my-bookings .btn { justify-self: start; margin-top: 8px; }
.booked-stage { margin: 8px 0 28px; }
.booked-stage .spot { cursor: default; }

/* Terms page */
.prose h1 { font-size: clamp(2.4rem, 5.6vw, 3.6rem); font-weight: 700; line-height: 1; margin: 6px 0 14px; }
.prose h2 { font-size: 1.6rem; margin: 34px 0 8px; }
.prose p, .prose li { color: var(--mist); max-width: 46em; }
.prose ul { margin: 8px 0 0; padding-left: 1.2em; display: grid; gap: 6px; }
.prose a { color: var(--electric-hi); }

/* Flight paths: stat tiles with a pop-up explanation on hover, focus or tap */
.routes-stats .stat { position: relative; cursor: help; outline: none; border-radius: 0 6px 6px 0; padding: 6px 10px 6px 14px; transition: background-color .2s; }
.routes-stats .stat:hover, .routes-stats .stat:focus-visible, .routes-stats .stat:focus { background: rgba(var(--panel-rgb), .7); }
.routes-stats dt { display: flex; align-items: center; gap: 6px; }
.stat-i { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--mist); font-size: .7rem; font-weight: 700; font-style: normal; line-height: 1; color: var(--mist); }
.stat-pop {
  position: absolute; left: 0; top: calc(100% + 10px); z-index: 20; width: min(300px, 80vw); margin: 0; padding: 14px 16px;
  background: var(--navy-700); border: 1px solid var(--navy-500); border-top: 3px solid var(--electric); border-radius: var(--radius-sm);
  box-shadow: 0 16px 40px rgba(0,0,0,.45); color: var(--white); font-size: .95rem; line-height: 1.45;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; pointer-events: none;
}
.stat-pop::before { content: ""; position: absolute; left: 22px; top: -9px; width: 12px; height: 12px; background: var(--electric); transform: rotate(45deg); z-index: -1; }
.stat:hover .stat-pop, .stat:focus .stat-pop, .stat:focus-within .stat-pop { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 720px) { .routes-stats .stat:nth-child(4) .stat-pop { left: auto; right: 0; } .routes-stats .stat:nth-child(4) .stat-pop::before { left: auto; right: 22px; } }
@media (max-width: 719px) { .routes-stats .stat:nth-child(even) .stat-pop { left: auto; right: 0; } .routes-stats .stat:nth-child(even) .stat-pop::before { left: auto; right: 22px; } }
@media (prefers-reduced-motion: reduce) { .stat-pop { transition: none; } }

/* Coverage map: possible future flight paths */
.cm-ghost-hex { fill: #8e9bb3; fill-opacity: .2; stroke: #aab5c8; stroke-opacity: .45; stroke-width: 1; stroke-dasharray: 3 3; }
.cm-ghost-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .12em; text-transform: uppercase; fill: #b7c2d6; paint-order: stroke; stroke: var(--navy-900); stroke-width: 4px; }
.cm-ghost-note { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .2em; fill: #8e9bb3; paint-order: stroke; stroke: var(--navy-900); stroke-width: 3px; }

/* Launch schedule: 12-month calendar */
.cal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 720px) { .cal { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cal { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.cal-block { display: flex; flex-direction: column; border: 1px solid var(--navy-500); border-top: 4px solid var(--c); border-radius: var(--radius-sm); background: rgba(var(--panel-rgb), .55); overflow: hidden; }
.cal-block.is-next { box-shadow: 0 0 0 1px var(--c), 0 0 24px -6px var(--c); }
.cal-head { padding: 10px 12px 8px; }
.cal-call { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c); line-height: 1.1; }
.cal-area { display: block; margin-top: 2px; font-size: .85rem; color: var(--mist); line-height: 1.25; min-height: 2.5em; }
.cal-months { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--navy-500); border-top: 1px solid var(--navy-500); }
.cal-month { display: grid; place-items: center; gap: 0; padding: 12px 4px; background: color-mix(in srgb, var(--c) 22%, var(--navy-800)); text-align: center; }
.cal-month b { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; line-height: 1; color: #fff; }
.cal-month small { font-size: .78rem; color: var(--mist); }
.cal-next { float: right; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--c); color: var(--navy-900); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.routes-hero h1 { max-width: 20ch; }
.hero h1 .accent { color: var(--electric); }

/* Card switches: Front/Back + Prices/Sample card */
.card-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.card-bar .side-toggle { margin-bottom: 0; }
.mode-toggle .side-btn[aria-pressed="true"] { background: var(--electric); color: #fff; }
.mailer.is-sample .spot { background: transparent; border-color: transparent; }
.mailer.is-sample .spot:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); }
.mailer.is-sample .spot-tag, .mailer.is-sample .spot-body { display: none; }
.mailer.is-sample .spot[aria-pressed="true"] { background: transparent; border-color: var(--electric); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .45); }

/* ---------- One card per flight path: schedule rows, waitlist ---------- */
.cal.cal-rows { grid-template-columns: 1fr; gap: 12px; }
.cal-row { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .cal-row { grid-template-columns: 230px 1fr; } .cal-row .cal-months, .cal-row .cal-wait { margin-top: 0; border-top: 0; border-left: 1px solid var(--navy-500); } }
.cal-row .cal-area { min-height: 0; }
.cal-row .cal-months { grid-template-columns: repeat(4, 1fr); }
@media (min-width: 600px) { .cal-row .cal-months { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 1100px) { .cal-row .cal-months { grid-template-columns: repeat(12, 1fr); } }
.cal-row a.cal-month { text-decoration: none; background: color-mix(in srgb, var(--c) 38%, var(--navy-800)); }
.cal-row a.cal-month:hover, .cal-row a.cal-month:focus-visible { background: color-mix(in srgb, var(--c) 55%, var(--navy-800)); }
.cal-row a.cal-month small { color: #fff; }
.cal-row .cal-month small { font-size: .72rem; }
.cal-row.is-waitlist { border-top-style: dashed; }
.cal-row.is-waitlist .cal-next { background: transparent; color: var(--c); border: 1px solid var(--c); }
.cal-wait { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px; border-top: 1px solid var(--navy-500); }
.cal-wait p { margin: 0; color: var(--mist); font-size: .95rem; }
.edition-detail .routes-cta { align-items: center; margin-top: 20px; }
.edition-detail .routes-cta .co-fine { margin: 0; color: var(--mist); font-size: .92rem; }
.book-waitlist { margin-top: 6px; color: var(--mist); font-size: .92rem; }
.path-tabs { margin-bottom: 8px; }
.waitlist-wrap { max-width: 760px; }
.waitlist-form { display: grid; gap: 18px; padding: 22px; border: 1px solid var(--navy-500); border-radius: var(--radius-sm); background: rgba(var(--panel-rgb), .55); }
.waitlist-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.has-selection .cm-path.is-waitlist:not(.is-on) .cm-hex { fill-opacity: .14; }
.co-multi { display: grid; gap: 12px; margin: 14px 0 4px; padding: 12px 14px; border: 1px dashed var(--navy-500); border-radius: var(--radius-sm); }
.multi-toggle { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.multi-toggle input { margin-top: 4px; accent-color: var(--electric); }
.multi-toggle b { color: var(--electric-hi); }

/* ---------- Flight paths page: the areas we mail (map + table) ---------- */
.method { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.areas-layout { display: grid; gap: 24px; }
.areas-layout .coverage-map { width: 100%; max-width: 860px; }
.areas-layout .table-scroll { margin-top: 0; }
.cm-beacon { pointer-events: none; }
.areas-table { width: 100%; min-width: 560px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.areas-table th, .areas-table td { padding: 12px 10px; border-bottom: 1px solid var(--navy-500); text-align: left; vertical-align: middle; }
.areas-table thead th { color: var(--mist); font-weight: 500; font-size: .9rem; white-space: nowrap; }
.areas-table .num { text-align: right; }
.areas-table tbody th { white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; }
.areas-table tbody tr { transition: background-color .2s; }
.areas-table tbody tr.is-on, .areas-table tbody tr:hover { background: color-mix(in srgb, var(--c) 14%, transparent); }
.area-dot { display: inline-block; width: 12px; height: 12px; margin-right: 10px; border-radius: 50%; background: var(--c); }
.area-where b { display: block; font-weight: 600; }
.area-where span { display: block; color: var(--mist); font-size: .9rem; }
.area-card { text-align: right; white-space: nowrap; }
.areas-table tfoot th, .areas-table tfoot td { border-bottom: 0; color: var(--mist); font-weight: 600; }

/* homepage map and list: waitlist paths are shown but are not buttons */
.cm-path.is-locked { cursor: default; }
.cm-path.is-locked .cm-hex, .cm-path.is-locked:hover .cm-hex { fill-opacity: .16; }
.path-item.is-waitlist .path-btn { cursor: default; }
.path-item.is-waitlist:hover { border-color: var(--navy-500); }

/* ---- Terms: ad process flow (boxes left to right, details alternate above and below) ---- */
.prose h3 { font-size: 1.2rem; margin: 0 0 4px; }
.prose .adflow-terms { margin-top: 26px; }
.adflow { --gap: 26px; list-style: none; padding: 0; margin: 26px 0 10px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: auto auto auto; column-gap: var(--gap); row-gap: 0;
  width: min(1120px, calc(100vw - 2 * var(--gutter))); position: relative; left: 50%; transform: translateX(-50%); }
.prose .adflow-step { display: contents; }
.adflow-box { grid-row: 2; position: relative; display: grid; place-items: center; text-align: center; min-height: 74px; padding: 10px 8px; border-radius: 8px;
  background: rgb(var(--panel-rgb)); border: 2px solid rgb(var(--line-rgb)); color: var(--white); font: 600 1.12rem/1.15 var(--font-display); letter-spacing: .01em; }
.adflow-step--key .adflow-box { background: var(--electric); border-color: var(--electric); color: var(--on-accent); }
/* arrow to the next box */
.adflow-box::after { content: ""; position: absolute; left: calc(100% + 4px); top: 50%; width: calc(var(--gap) - 6px); height: 12px; transform: translateY(-50%); background: var(--mist);
  clip-path: polygon(0 42%, 62% 42%, 62% 0, 100% 50%, 62% 100%, 62% 58%, 0 58%); }
.adflow-step:last-child .adflow-box::after { display: none; }
.prose .adflow-note { position: relative; margin: 0; max-width: none; font-size: .9rem; line-height: 1.4; text-align: center; color: var(--mist); }
.adflow-note b { display: block; color: var(--white); font-weight: 600; font-size: .95rem; }
/* short line tying each note to its box */
.adflow-note::before { content: ""; position: absolute; left: 50%; width: 2px; height: 14px; background: rgb(var(--line-rgb)); }
.adflow-step:nth-child(odd) .adflow-note { grid-row: 1; align-self: end; padding-bottom: 20px; }
.adflow-step:nth-child(odd) .adflow-note::before { bottom: 2px; }
.adflow-step:nth-child(even) .adflow-note { grid-row: 3; align-self: start; padding-top: 20px; }
.adflow-step:nth-child(even) .adflow-note::before { top: 2px; }
.adflow-step:nth-child(1) > * { grid-column: 1; }
.adflow-step:nth-child(2) > * { grid-column: 2; }
.adflow-step:nth-child(3) > * { grid-column: 3; }
.adflow-step:nth-child(4) > * { grid-column: 4; }
.adflow-step:nth-child(5) > * { grid-column: 5; }
.adflow-step:nth-child(6) > * { grid-column: 6; }
.adflow-step:nth-child(7) > * { grid-column: 7; }
@media (max-width: 900px) {
  /* narrow screens: the flow runs top to bottom, details beside each box alternate right and left */
  .adflow { display: block; width: auto; left: 0; transform: none; max-width: 420px; margin-inline: auto; }
  .prose .adflow-step { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; align-items: center; margin-bottom: 30px; }
  .adflow-step > * { grid-column: auto !important; grid-row: 1 !important; }
  .adflow-step:nth-child(odd) .adflow-box { grid-column: 1 !important; }
  .adflow-step:nth-child(odd) .adflow-note { grid-column: 2 !important; text-align: left; }
  .adflow-step:nth-child(even) .adflow-box { grid-column: 2 !important; }
  .adflow-step:nth-child(even) .adflow-note { grid-column: 1 !important; text-align: right; }
  .adflow-step .adflow-note { padding: 0 !important; align-self: center !important; }
  .adflow-note::before { display: none; }
  .adflow-box::after { left: 50%; top: calc(100% + 5px); width: 12px; height: 20px; transform: translateX(-50%);
    clip-path: polygon(42% 0, 58% 0, 58% 62%, 100% 62%, 50% 100%, 0 62%, 42% 62%); }
}
