/* ==========================================================================
   NEBULA NINE OUTFITTERS ΓÇö Design Template
   A CSP Geeks Brand
   --------------------------------------------------------------------------
   Single shared stylesheet. No build step, no dependencies.
   Mobile-first. Breakpoints: 640px / 900px / 1180px
   --------------------------------------------------------------------------
   TABLE OF CONTENTS
   01. Design tokens
   02. Reset & base
   03. Layout helpers
   04. Typography
   05. Buttons & chips
   06. Image placeholder system   <-- delete .ph::after / .ph-note for production
   07. Header & navigation
   08. Hero sections              <-- CSS background-image filenames live here
   09. Sections & section heads
   10. Cards & grids
   11. Split (image + text) blocks
   12. Stats, steps, timeline
   13. Testimonials & crew
   14. Promotions: deals, tiers, fine print
   15. CTA bands
   16. Footer
   17. Utilities
   18. Motion & print
   ========================================================================== */


/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */

:root {
  /* --- Brand palette ------------------------------------------------- */
  --violet:        #5B4BFF;   /* primary brand / CTAs                    */
  --violet-deep:   #3A2ED6;   /* hover, links on light                   */
  --violet-soft:   #EEEBFF;   /* tinted surfaces                         */
  --teal:          #00A98F;   /* success, "available now"                */
  --teal-soft:     #E1F6F2;
  --amber:         #FF9F1A;   /* deals, highlights, stars                */
  --amber-soft:    #FFF3E0;
  --pink:          #FF4D79;   /* urgent / last-call badges               */
  --pink-soft:     #FFE9EF;

  /* --- Neutrals ------------------------------------------------------ */
  --bg:            #FFFFFF;
  --surface:       #F6F8FC;
  --surface-2:     #EDF1FA;
  --line:          #E2E7F1;
  --line-strong:   #CBD3E4;
  --ink:           #0A0E1A;   /* headings  ΓÇö 17.9:1 on white             */
  --ink-2:         #333C55;   /* body copy ΓÇö 11.2:1 on white             */
  --muted:         #5D6885;   /* meta text ΓÇö  6.4:1 on white             */

  /* --- Deep space (dark sections) ------------------------------------ */
  --space:         #070B18;
  --space-2:       #0E1428;
  --space-line:    rgba(255, 255, 255, .14);
  --on-space:      #FFFFFF;
  --on-space-2:    #C3CBE2;   /* 9.1:1 on --space                        */

  /* --- Shape --------------------------------------------------------- */
  --r-sm:  10px;
  --r:     16px;
  --r-lg:  24px;
  --r-pill: 999px;

  /* --- Elevation ----------------------------------------------------- */
  --shadow-1: 0 1px 2px rgba(10,14,26,.05), 0 6px 20px rgba(10,14,26,.06);
  --shadow-2: 0 2px 4px rgba(10,14,26,.06), 0 16px 44px rgba(10,14,26,.10);
  --shadow-3: 0 4px 8px rgba(10,14,26,.07), 0 28px 70px rgba(10,14,26,.16);

  /* --- Metrics ------------------------------------------------------- */
  --maxw: 1180px;
  --gutter: clamp(1.125rem, 4vw, 2.5rem);
  --header-h: 68px;

  /* --- Type ---------------------------------------------------------- */
  --font-display: "Space Grotesk", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}


/* ==========================================================================
   02. RESET & BASE
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--violet-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--violet); }

button, input, select, textarea { font: inherit; color: inherit; }

hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--violet); color: #fff; }

.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; color: #fff; }


/* ==========================================================================
   03. LAYOUT HELPERS
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 760px; }
.container--wide   { max-width: 1360px; }


/* ==========================================================================
   04. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 0 0 .5em;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 1.55rem + 3.1vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 1.32rem + 1.9vw, 2.875rem); }
h3 { font-size: clamp(1.25rem, 1.12rem + 0.6vw, 1.5rem); }
h4 { font-size: 1.0625rem; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.42vw, 1.3125rem);
  line-height: 1.6;
  color: var(--ink-2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--violet-deep);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow--on-dark { color: var(--amber); }

.muted { color: var(--muted); }
.small { font-size: .875rem; line-height: 1.55; }


/* ==========================================================================
   05. BUTTONS & CHIPS
   ========================================================================== */

.btn {
  --btn-bg: var(--violet);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.4rem;
  min-height: 46px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }

.btn--primary        { box-shadow: 0 6px 18px rgba(91,75,255,.30); }
.btn--primary:hover  { --btn-bg: var(--violet-deep); box-shadow: 0 10px 26px rgba(91,75,255,.38); }

.btn--ghost          { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover    { --btn-bg: var(--surface); --btn-bd: var(--ink); }

.btn--light          { --btn-bg: rgba(255,255,255,.10); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.45); }
.btn--light:hover    { --btn-bg: rgba(255,255,255,.20); --btn-bd: #fff; }

.btn--solid-light    { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--solid-light:hover { --btn-bg: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.28); }

.btn--lg   { padding: 1rem 1.75rem; min-height: 54px; font-size: 1rem; }
.btn--sm   { padding: .55rem 1rem; min-height: 38px; font-size: .875rem; }
.btn--full { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
  color: var(--violet-deep);
}
.link-arrow::after { content: "ΓåÆ"; transition: transform .18s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Chips / filters */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink-2);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all .16s ease;
}
.chip:hover { border-color: var(--violet); color: var(--violet-deep); }
.chip[aria-pressed="true"], .chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .65rem;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge--hot    { background: var(--pink-soft);   color: #C31844; }
.badge--deal   { background: var(--amber-soft);  color: #A15900; }
.badge--new    { background: var(--teal-soft);   color: #00705F; }
.badge--brand  { background: var(--violet-soft); color: var(--violet-deep); }
.badge--dark   { background: rgba(255,255,255,.14); color: #fff; }


/* ==========================================================================
   06. IMAGE PLACEHOLDER SYSTEM
   --------------------------------------------------------------------------
   HOW IT WORKS
   Every content image is wrapped in a .ph box with a data-ph label:

     <figure class="ph ph--16x9" data-ph="images/foo.jpg ┬╖ 1600├ù900">
       <img src="images/foo.jpg" alt="Descriptive alt text">
     </figure>

   Until the real file exists you see a labeled grey hatched box at the
   correct aspect ratio, so the layout is complete before any art is made.
   Drop the real file in /images/ and it takes over automatically.

   TO GO TO PRODUCTION: delete the `.ph::after` and `.ph-note` rules below.
   Nothing else depends on them.
   ========================================================================== */

.ph {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r);
  background-color: #E4E9F3;
  background-image:
    repeating-linear-gradient(45deg,
      rgba(255,255,255,.55) 0 14px,
      rgba(255,255,255,0)  14px 28px);
  isolation: isolate;
}

/* Aspect ratios */
.ph--21x9 { aspect-ratio: 21 / 9; }
.ph--16x9 { aspect-ratio: 16 / 9; }
.ph--3x2  { aspect-ratio: 3 / 2;  }
.ph--4x3  { aspect-ratio: 4 / 3;  }
.ph--1x1  { aspect-ratio: 1 / 1;  }
.ph--4x5  { aspect-ratio: 4 / 5;  }
.ph--3x4  { aspect-ratio: 3 / 4;  }

.ph > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}

/* JS adds .is-missing when the file 404s, hiding the broken-image icon */
.ph > img.is-missing { opacity: 0; }

/* The label ΓÇö DELETE THIS RULE FOR PRODUCTION */
.ph::after {
  content: attr(data-ph);
  position: absolute;
  inset: auto 10px 10px 10px;
  z-index: 1;
  padding: .4rem .6rem;
  border-radius: 8px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(10,14,26,.10);
  color: #46506B;
  font-family: var(--font-mono);
  font-size: .6875rem;
  line-height: 1.35;
  text-align: center;
  word-break: break-word;
}

.ph--dark { background-color: #1A2138; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.07) 0 14px, rgba(255,255,255,0) 14px 28px); }
.ph--dark::after { background: rgba(7,11,24,.78); border-color: rgba(255,255,255,.18); color: #C3CBE2; }

.ph--round { border-radius: var(--r-pill); }

/* Note chip for CSS background-image heroes ΓÇö DELETE FOR PRODUCTION */
.ph-note {
  position: absolute;
  right: 12px; bottom: 12px;
  z-index: 5;
  padding: .35rem .6rem;
  border-radius: 8px;
  background: rgba(7,11,24,.72);
  border: 1px solid rgba(255,255,255,.22);
  color: #C3CBE2;
  font-family: var(--font-mono);
  font-size: .6875rem;
  max-width: min(88vw, 460px);
  text-align: right;
  pointer-events: none;
}


/* ==========================================================================
   07. HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

/* --- Brand lockup --- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
  flex-shrink: 0;
}
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: .5625rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- Toggle (mobile) --- */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: #fff;
  cursor: pointer;
}
.nav-toggle-bars { position: relative; width: 18px; height: 12px; }
.nav-toggle-bars span {
  position: absolute; left: 0;
  width: 100%; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }
.site-header.is-open .nav-toggle-bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header.is-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle-bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* --- Nav panel --- */
.nav {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  padding: .75rem var(--gutter) 1.25rem;
  display: none;
}
.site-header.is-open .nav { display: block; }

.nav-list {
  list-style: none;
  margin: 0 0 .875rem;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.nav-link {
  display: block;
  padding: .8rem .25rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
}
.nav-link[aria-current="page"] { color: var(--violet-deep); }
.nav-cta { display: block; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav {
    position: static;
    display: flex !important;
    align-items: center;
    gap: 1.25rem;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: .25rem;
    margin: 0;
  }
  .nav-link {
    position: relative;
    padding: .5rem .75rem;
    border: 0;
    border-radius: var(--r-sm);
    font-size: .9375rem;
    color: var(--ink-2);
  }
  .nav-link:hover { background: var(--surface); color: var(--ink); }
  .nav-link[aria-current="page"] { color: var(--violet-deep); background: var(--violet-soft); }
  .nav-cta { display: inline-flex; }
}


/* ==========================================================================
   08. HERO SECTIONS
   --------------------------------------------------------------------------
   Full-bleed heroes use CSS background-image. The gradient layer above the
   photo guarantees WCAG-AA text contrast no matter how bright the art is.
   Swap the url() filenames here ΓÇö they are listed in IMAGE-PROMPTS.md.
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  background-color: var(--space);   /* fallback while art is missing */
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--on-space);
  overflow: hidden;
}

/* Readability scrim + a faint nebula wash so it looks intentional pre-art */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 90% at 12% 18%, rgba(91,75,255,.42) 0%, rgba(91,75,255,0) 58%),
    radial-gradient(100% 80% at 88% 88%, rgba(0,169,143,.34) 0%, rgba(0,169,143,0) 60%),
    linear-gradient(180deg, rgba(7,11,24,.78) 0%, rgba(7,11,24,.62) 45%, rgba(7,11,24,.88) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(3.5rem, 8vw, 7.5rem);
  /* extra bottom room so the dev .ph-note chip never overlaps copy on
     narrow screens. Reduce to the value above once .ph-note is deleted. */
  padding-bottom: calc(clamp(3.5rem, 8vw, 7.5rem) + 2.25rem);
}

.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { color: #DCE2F2; max-width: 56ch; }
.hero-copy { max-width: 720px; }
.hero .btn-row { margin-top: 2rem; }

/* Page (sub) hero ΓÇö shorter */
.hero--page .hero-inner { padding-block: clamp(3rem, 6vw, 5.25rem); }
.hero--page h1 { max-width: 20ch; }

/* Trust strip under hero copy */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--space-line);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--on-space-2);
  font-size: .875rem;
}
.hero-trust-item svg { width: 18px; height: 18px; flex: none; color: var(--teal); }

/* --- Background image assignments ---------------------------------- */
.hero--home       { background-image: url("images/hero-home-orbital-departure.jpg"); }
.hero--promotions { background-image: url("images/hero-promotions-aurora-gate.jpg"); }
.hero--about      { background-image: url("images/hero-about-flight-deck.jpg"); }


/* ==========================================================================
   09. SECTIONS & SECTION HEADS
   ========================================================================== */

.section { padding-block: clamp(3.25rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2.25rem, 4.5vw, 3.5rem); }

.section--tint  { background: var(--surface); }
.section--tint2 { background: var(--surface-2); }

.section--dark {
  position: relative;
  background: var(--space);
  color: var(--on-space-2);
  overflow: hidden;
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .lead { color: var(--on-space-2); }
.section--dark::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 70% at 10% 0%, rgba(91,75,255,.30) 0%, rgba(91,75,255,0) 60%),
    radial-gradient(80% 70% at 95% 100%, rgba(0,169,143,.22) 0%, rgba(0,169,143,0) 60%);
  pointer-events: none;
}
.section--dark > * { position: relative; z-index: 1; }

.section-head { max-width: 660px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); }
.section--dark .section-head p { color: var(--on-space-2); }

.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: none;
}
.section-head--split > div { max-width: 620px; }


/* ==========================================================================
   10. CARDS & GRIDS
   ========================================================================== */

.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.75rem); }

/* auto-fit grids: naturally responsive, no media queries needed */
.grid--auto-sm { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.grid--auto    { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--auto-lg { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr 1fr; }

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* --- Base card --- */
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.card:hover .ph > img { transform: scale(1.045); }

.card .ph { border-radius: 0; }

.card-body {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: clamp(1.125rem, 2.2vw, 1.5rem);
  flex: 1;
}
.card-title { margin: 0; font-size: 1.1875rem; }
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { color: var(--violet-deep); }
.card-text { margin: 0; color: var(--muted); font-size: .9375rem; }
.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .875rem;
  font-size: .8125rem;
  color: var(--muted);
}
.card-meta-item { display: inline-flex; align-items: center; gap: .35rem; }
.card-meta-item svg { width: 15px; height: 15px; color: var(--violet); flex: none; }

.card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.card-badges {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.card-media { position: relative; }

/* Price block */
.price { display: flex; align-items: baseline; gap: .4rem; }
.price-from { font-size: .75rem; color: var(--muted); }
.price-value {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.price-was { font-size: .875rem; color: var(--muted); text-decoration: line-through; }

/* Feature card (icon, no image) */
.feature {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.section--dark .feature {
  background: rgba(255,255,255,.05);
  border-color: var(--space-line);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--violet-soft);
  color: var(--violet-deep);
}
.feature-icon svg { width: 24px; height: 24px; }
.section--dark .feature-icon { background: rgba(91,75,255,.22); color: #B7ADFF; }
.feature h3 { margin: 0; font-size: 1.125rem; }
.feature p { margin: 0; font-size: .9375rem; color: var(--muted); }
.section--dark .feature p { color: var(--on-space-2); }


/* ==========================================================================
   11. SPLIT (IMAGE + TEXT) BLOCKS
   ========================================================================== */

.split {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--media-wide { grid-template-columns: 1.15fr .85fr; }
  .split--reverse .split-media { order: 2; }
  /* For splits where one side is much taller (e.g. a long timeline):
     pin the short side instead of vertically centring it. */
  .split--sticky { align-items: start; }
  .split--sticky .split-copy {
    position: sticky;
    top: calc(var(--header-h) + 2.5rem);
  }
}
.split-copy > :last-child { margin-bottom: 0; }
.split-media .ph { box-shadow: var(--shadow-2); }

/* Bullet list used inside splits */
.ticks { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: .75rem; }
/* li stays a normal block so inline markup (<strong>, <em>, links) flows
   correctly; the tick is absolutely positioned rather than a flex child. */
.ticks li { position: relative; padding-left: 2rem; font-size: .9375rem; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300705F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section--dark .ticks li::before { background-color: rgba(0,169,143,.26); }


/* ==========================================================================
   12. STATS, STEPS, TIMELINE
   ========================================================================== */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; padding: clamp(1.25rem, 2.6vw, 1.75rem); text-align: center; }
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label { display: block; margin-top: .5rem; font-size: .8125rem; color: var(--muted); }
.section--dark .stats { background: var(--space-line); border-color: var(--space-line); }
.section--dark .stat { background: rgba(255,255,255,.04); }
.section--dark .stat-value { color: #fff; }
.section--dark .stat-label { color: var(--on-space-2); }

/* --- Steps --- */
.steps { counter-reset: step; display: grid; gap: clamp(1.25rem, 2.6vw, 2rem); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-top: 3.5rem; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0; left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .8125rem;
  font-weight: 700;
}
.step h3 { margin-bottom: .35rem; }
.step p { margin: 0; color: var(--muted); font-size: .9375rem; }
.section--dark .step p { color: var(--on-space-2); }
.section--dark .step::before { background: var(--amber); color: var(--space); }

/* --- Timeline --- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 2rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--violet), var(--teal));
  border-radius: 2px;
}
.timeline li { position: relative; padding-left: 2.75rem; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 2px; top: 5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--violet);
}
.timeline-year {
  display: block;
  font-family: var(--font-mono);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--violet-deep);
  margin-bottom: .25rem;
}
.timeline h3 { font-size: 1.125rem; margin-bottom: .3rem; }
.timeline p { margin: 0; color: var(--muted); font-size: .9375rem; }
@media (min-width: 900px) {
  .timeline { gap: 2.5rem; }
}


/* ==========================================================================
   13. TESTIMONIALS & CREW
   ========================================================================== */

.quote {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1.5rem, 2.8vw, 2rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}
.quote-stars { display: flex; gap: 3px; color: var(--amber); }
.quote-stars svg { width: 17px; height: 17px; }
.quote blockquote {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.quote-author { display: flex; align-items: center; gap: .875rem; margin-top: auto; }
.quote-author .ph { width: 52px; height: 52px; flex: none; border-radius: 50%; }
.quote-author .ph::after {
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .5rem;
  padding: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
}
.quote-name { font-weight: 600; color: var(--ink); font-size: .9375rem; line-height: 1.3; }
.quote-role { font-size: .8125rem; color: var(--muted); }

/* --- Crew --- */
.crew-card { text-align: left; }
.crew-card .ph { border-radius: var(--r-lg); margin-bottom: 1rem; }
.crew-name { margin: 0 0 .15rem; font-size: 1.0625rem; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.crew-role {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--violet-deep);
  margin-bottom: .5rem;
}
.crew-bio { margin: 0; font-size: .875rem; color: var(--muted); }


/* ==========================================================================
   14. PROMOTIONS: DEALS, TIERS, FINE PRINT
   ========================================================================== */

/* Featured deal panel */
.featured-deal {
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
@media (min-width: 900px) {
  .featured-deal { grid-template-columns: 1.05fr .95fr; align-items: stretch; }
  .featured-deal .ph { height: 100%; aspect-ratio: auto; min-height: 420px; }
}
.featured-deal .ph { border-radius: 0; }
.featured-deal-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 3.5vw, 3rem);
}
.deal-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .75rem;
  padding: 1rem 0;
  border-block: 1px solid var(--line);
}
.deal-price-big {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}

/* Countdown */
.countdown { display: flex; gap: .625rem; flex-wrap: wrap; }
.countdown-unit {
  min-width: 74px;
  padding: .75rem .5rem;
  border-radius: var(--r);
  background: rgba(255,255,255,.08);
  border: 1px solid var(--space-line);
  text-align: center;
}
.countdown-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.countdown-label {
  display: block;
  margin-top: .3rem;
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--on-space-2);
}

/* Tier cards */
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 2.8vw, 2rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}
.tier--featured {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-soft), var(--shadow-2);
}
.tier-flag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--violet);
  color: #fff;
}
.tier-name { margin: 0; font-size: 1.25rem; }
.tier-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}
.tier-price span { font-size: .875rem; font-weight: 500; color: var(--muted); font-family: var(--font-body); letter-spacing: 0; }
.tier .ticks { margin: .5rem 0 1.25rem; }
.tier .btn { margin-top: auto; }

/* Fine print / FAQ accordion */
.faq {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq[open] { box-shadow: var(--shadow-1); }
.faq > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  font-size: .9875rem;
  list-style: none;
}
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--violet-deep);
  transition: transform .2s ease;
}
.faq[open] > summary::after { content: "ΓÇô"; }
.faq > summary:hover { background: var(--surface); }
.faq-body { padding: 0 1.25rem 1.25rem; color: var(--muted); font-size: .9375rem; }
.faq-body > :last-child { margin-bottom: 0; }


/* ==========================================================================
   15. CTA BANDS
   ========================================================================== */

.cta-band {
  position: relative;
  isolation: isolate;
  background-color: var(--space);
  background-image: url("images/cta-band-deep-field.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(90% 120% at 20% 0%, rgba(91,75,255,.48) 0%, rgba(91,75,255,0) 60%),
    linear-gradient(180deg, rgba(7,11,24,.82), rgba(7,11,24,.88));
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(3rem, 6vw, 5rem);
  text-align: center;
}
.cta-band h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta-band p { color: var(--on-space-2); max-width: 56ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 2rem; }

/* Newsletter inline form */
.signup {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
  max-width: 520px;
  margin: 2rem auto 0;
}
.signup input[type="email"] {
  flex: 1 1 240px;
  min-height: 54px;
  padding: .9rem 1.15rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 1rem;
}
.signup input[type="email"]::placeholder { color: #A9B3CC; }
.signup input[type="email"]:focus { border-color: #fff; background: rgba(255,255,255,.16); }
.signup .btn { flex: 0 0 auto; }
.signup-note { margin-top: .875rem; font-size: .8125rem; color: #A9B3CC; text-align: center; }


/* ==========================================================================
   16. FOOTER
   ========================================================================== */

.site-footer {
  background: var(--space-2);
  color: var(--on-space-2);
  padding-block: clamp(2.75rem, 5vw, 4rem) 2rem;
  font-size: .9375rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; } }

.site-footer .brand { color: #fff; margin-right: 0; }
.site-footer .brand-sub { color: #8E99B7; }
.footer-about { margin-top: 1rem; color: var(--on-space-2); max-width: 34ch; font-size: .9375rem; }

.footer-title {
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 1rem;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .625rem; }
.footer-list a { color: var(--on-space-2); text-decoration: none; }
.footer-list a:hover { color: #fff; text-decoration: underline; }

.footer-social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--space-line);
  color: var(--on-space-2);
}
.footer-social a:hover { background: rgba(255,255,255,.12); color: #fff; }
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--space-line);
  font-size: .8125rem;
  color: #8E99B7;
}
.footer-bottom a { color: #8E99B7; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }


/* ==========================================================================
   17. UTILITIES
   ========================================================================== */

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.flow > * + * { margin-top: 1rem; }


/* ==========================================================================
   18. MOTION & PRINT
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .site-header, .cta-band, .site-footer, .ph-note { display: none !important; }
  .hero { color: #000; background: none !important; }
  .hero::before { display: none; }
  .hero h1, .hero .lead { color: #000; }
  .ph::after { display: none; }
  .card, .quote, .tier { box-shadow: none; break-inside: avoid; }
}
