/* ==========================================================================
   RGV Thermal — shared design system
   Used by every page. Load as: <link rel="stylesheet" href="css/styles.css">
   Dark theme. Display font: Space Grotesk. Body font: Inter.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color — surfaces */
  --bg: #0a0816;
  --bg-elev: #110d24;
  --surface: #16122b;
  --surface-2: #1d1838;
  --border: #2c2548;
  --border-strong: #3b3260;

  /* Color — text */
  --text: #f4f2ff;
  --text-soft: #cfcae6;
  --text-muted: #a8a3c2;
  --text-faint: #8881ab; /* >= 4.5:1 on --surface for small text (WCAG AA) */

  /* Color — accent (warm amber / orange) */
  --accent: #f9a825;
  --accent-strong: #f97316;
  --accent-deep: #f04e23;
  --ink-on-accent: #1c0e02;

  /* Color — thermal ironbow ramp (cold to hot) */
  --iron-1: #2a0a6e; /* deep indigo  */
  --iron-2: #7a1fa2; /* violet       */
  --iron-3: #c2227e; /* magenta      */
  --iron-4: #f04e23; /* red-orange   */
  --iron-5: #f9a825; /* amber        */
  --iron-6: #fef3c0; /* pale yellow  */

  /* Full ironbow ramp — backgrounds, bars, rules */
  --gradient-ironbow: linear-gradient(100deg,
      var(--iron-1) 0%,
      var(--iron-2) 24%,
      var(--iron-3) 46%,
      var(--iron-4) 66%,
      var(--iron-5) 84%,
      var(--iron-6) 100%);

  /* Bright subset — gradient TEXT on dark backgrounds (indigo end is too dark for text) */
  --gradient-ironbow-bright: linear-gradient(95deg,
      var(--iron-3) 0%,
      var(--iron-4) 38%,
      var(--iron-5) 72%,
      var(--iron-6) 100%);

  /* Small-text subset — starts at iron-4 so 12-13px gradient text (e.g. .eyebrow)
     keeps >= 4.5:1 contrast on --bg / --bg-elev (the iron-3 end falls below AA) */
  --gradient-ironbow-text: linear-gradient(95deg,
      var(--iron-4) 0%,
      var(--iron-5) 55%,
      var(--iron-6) 100%);

  /* Spacing scale */
  --space-2xs: 0.25rem;  /*  4px */
  --space-xs:  0.5rem;   /*  8px */
  --space-sm:  0.75rem;  /* 12px */
  --space-md:  1rem;     /* 16px */
  --space-lg:  1.5rem;   /* 24px */
  --space-xl:  2rem;     /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4rem;     /* 64px */
  --space-4xl: 6rem;     /* 96px */

  /* Type scale */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  --fs-xs: 0.8rem;
  --fs-sm: 0.9rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.3rem;
  --fs-h3: clamp(1.15rem, 1.6vw, 1.3rem);
  --fs-h2: clamp(1.85rem, 3.6vw, 2.6rem);
  --fs-h1: clamp(2.5rem, 6vw, 4.25rem);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-full: 999px;

  /* Misc */
  --header-h: 72px;
  --shadow-accent: 0 8px 28px rgba(240, 78, 35, 0.28);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   1b. Cross-document view transitions
   The browser keeps the old page on screen until the new one is fully
   rendered, then crossfades — no blank frame between page navigations.
   Browsers without support simply navigate normally.
   -------------------------------------------------------------------------- */
@view-transition {
  navigation: auto;
}

/* --------------------------------------------------------------------------
   1c. First-paint splash teardown
   Each page's head defines an inline html::before splash (ironbow gradient +
   centered logo) that covers the pre-CSS frame. This rule wins the cascade
   the moment this stylesheet applies, so the splash only ever shows while
   styles are still missing.
   -------------------------------------------------------------------------- */
html::before {
  content: none;
}

/* --------------------------------------------------------------------------
   2. Modern reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Long headline words must never force horizontal scroll on small phones. */
h1,
h2,
h3 {
  overflow-wrap: break-word;
}

img,
picture,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

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

button {
  cursor: pointer;
  background: none;
  border: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-weight: 700;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--accent);
}

ul[class],
ol[class] {
  list-style: none;
}

::selection {
  background: var(--accent-deep);
  color: var(--text);
}

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

/* --------------------------------------------------------------------------
   3. Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-md);
  z-index: 100;
  padding: var(--space-xs) var(--space-md);
  background: var(--accent);
  color: var(--ink-on-accent);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: var(--space-md);
}

/* Thermal ironbow gradient utilities */
.bg-ironbow {
  background-image: var(--gradient-ironbow);
}

.text-ironbow {
  background-image: var(--gradient-ironbow-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.ironbow-rule {
  height: 3px;
  width: 64px;
  border: 0;
  border-radius: var(--radius-full);
  background-image: var(--gradient-ironbow);
}

/* --------------------------------------------------------------------------
   4. Layout: sections + headers
   -------------------------------------------------------------------------- */
.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section-alt {
  background: var(--bg-elev);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background-image: var(--gradient-ironbow-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-md);
}

.section-lede {
  color: var(--text-muted);
  font-size: var(--fs-lg);
}

/* Two-column split (e.g. equipment spotlight) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.8rem 1.6rem;
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
              background-color 0.18s ease, border-color 0.18s ease,
              color 0.18s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: var(--ink-on-accent);
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(240, 78, 35, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(249, 168, 37, 0.08);
}

.btn-lg {
  padding: 1rem 2.1rem;
  font-size: var(--fs-lg);
}

/* --------------------------------------------------------------------------
   6. Sticky header + nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 8, 22, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(44, 37, 72, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: clamp(38px, 4.5vw, 46px);
  width: auto;
}

.primary-nav .nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.nav-list a:not(.btn) {
  display: inline-block;
  padding: 0.4rem 0;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.18s ease;
}

.nav-list a:not(.btn):hover {
  color: var(--text);
}

.nav-list a[aria-current="page"] {
  color: var(--text);
  background-image: var(--gradient-ironbow-bright);
  background-repeat: no-repeat;
  background-size: 100% 2px;
  background-position: 0 100%;
}

.nav-cta .btn {
  padding: 0.6rem 1.25rem;
  font-size: var(--fs-sm);
}

/* On the quote page, wrap the ironbow gradient all the way around the pill
   border instead of the default bottom-edge underline. */
.nav-cta .btn[aria-current="page"] {
  color: var(--text);
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--gradient-ironbow-bright) border-box;
  border: 1px solid transparent;
  box-shadow: none;
}

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: transparent;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease-out), opacity 0.2s ease;
  /* Own compositing layer: without it, mobile browsers can keep a stale
     snapshot of the bars in the header's backdrop-filter layer after they
     transform into the X, leaving a ghost hamburger until the next scroll. */
  will-change: transform;
  transform: translateZ(0);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .primary-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: rgba(10, 8, 22, 0.96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s var(--ease-out),
                visibility 0.22s;
  }

  .primary-nav.is-open,
  .nav-toggle[aria-expanded="true"] + .primary-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2xs);
  }

  .nav-list a:not(.btn) {
    display: block;
    padding: 0.8rem 0.6rem;
    font-size: var(--fs-lg);
    border-radius: var(--radius-sm);
  }

  .nav-list a:not(.btn):hover {
    background: var(--surface);
  }

  .nav-cta {
    margin-top: var(--space-sm);
  }

  .nav-cta .btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: var(--fs-base);
  }
}

/* --------------------------------------------------------------------------
   7. Hero + reel player + thermal HUD
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--header-h));
  padding-block: clamp(4rem, 10vh, 7rem);
  overflow: hidden;
}

.reel-mount {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bg-elev);
}

.reel-canvas,
.reel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-canvas {
  z-index: 1;
}

.reel-video {
  z-index: 2;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.reel-video.is-active {
  opacity: 1;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(10, 8, 22, 0.62) 0%, rgba(10, 8, 22, 0.28) 45%, var(--bg) 100%),
    radial-gradient(120% 90% at 18% 40%, rgba(10, 8, 22, 0.55) 0%, transparent 60%);
}

/* Thermal-camera HUD overlay */
.hud {
  position: absolute;
  inset: clamp(14px, 3vw, 30px);
  z-index: 4;
  pointer-events: none;
}

.hud-corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2px solid rgba(244, 242, 255, 0.45);
}

.hud-corner-tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud-corner-tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud-corner-bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud-corner-br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.hud-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(244, 242, 255, 0.22);
  border-radius: var(--radius-full);
}

.hud-crosshair::before,
.hud-crosshair::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(253, 230, 138, 0.55);
}

.hud-crosshair::before {
  width: 54px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.hud-crosshair::after {
  width: 1px;
  height: 54px;
  transform: translate(-50%, -50%);
}

.hud-readout {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.7rem;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--iron-6);
  background: rgba(10, 8, 22, 0.55);
  border: 1px solid rgba(253, 230, 138, 0.3);
  border-radius: var(--radius-sm);
}

.hud-readout-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--accent-deep);
  animation: hud-pulse 2s ease-in-out infinite;
}

@keyframes hud-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* Pause/play control for the auto-running hero motion (WCAG 2.2.2 Pause, Stop,
   Hide) — appended by js/main.js next to the reel mount. */
.reel-pause {
  position: absolute;
  right: clamp(14px, 3vw, 30px);
  bottom: clamp(14px, 3vw, 30px);
  z-index: 7;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: rgba(244, 242, 255, 0.78);
  background: rgba(10, 8, 22, 0.55);
  border: 1px solid rgba(244, 242, 255, 0.22);
  border-radius: var(--radius-full);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.reel-pause:hover {
  color: var(--text);
  border-color: rgba(244, 242, 255, 0.5);
}

.reel-pause svg {
  width: 14px;
  height: 14px;
}

/* While motion is paused, also freeze the CSS-animated HUD dot */
.reel-mount.is-motion-paused .hud-readout-dot {
  animation-play-state: paused;
}

.hero-content {
  position: relative;
  z-index: 6;
  max-width: 720px;
}

.hero-title {
  font-size: var(--fs-h1);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.hero-sub {
  max-width: 34em;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

/* --------------------------------------------------------------------------
   8. Trust badge strip
   -------------------------------------------------------------------------- */
.trust-strip {
  background: var(--bg-elev);
  border-block: 1px solid var(--border);
}

.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-md) clamp(1.5rem, 4vw, 3.5rem);
  padding-block: var(--space-lg);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.trust-badge::before {
  content: "";
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: var(--radius-full);
  background-image: var(--gradient-ironbow-bright);
}

/* --------------------------------------------------------------------------
   9. Card grids
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1000px) {
  .card-grid,
  .card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .card-grid,
  .card-grid--2,
  .card-grid--4 {
    grid-template-columns: 1fr;
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-xl);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(22, 18, 43, 0.55) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease-out), border-color 0.25s ease;
}

a.card:hover,
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-2xs);
  border-radius: var(--radius-md);
  background: rgba(249, 168, 37, 0.12);
  color: var(--accent);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card-title {
  font-size: var(--fs-h3);
  font-weight: 600;
}

.card-text {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.card-link {
  margin-top: auto;
  padding-top: var(--space-xs);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
}

a.card:hover .card-link {
  color: var(--iron-6);
}

/* --------------------------------------------------------------------------
   10. Numbered process steps
   -------------------------------------------------------------------------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 1000px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

.process-step {
  padding: var(--space-xl) var(--space-lg);
  border-top: 1px solid var(--border-strong);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--space-md);
  background-image: var(--gradient-ironbow-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.step-title {
  font-size: var(--fs-h3);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.step-text {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

/* --------------------------------------------------------------------------
   11. Spec chips (also used for city / service-area chips)
   -------------------------------------------------------------------------- */
.spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.spec-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  transition: border-color 0.2s ease;
}

.spec-chip:hover {
  border-color: var(--border-strong);
}

.spec-chip-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--accent);
}

.spec-chip-label {
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   12. FAQ (details/summary)
   -------------------------------------------------------------------------- */
.faq-list {
  display: grid;
  gap: var(--space-sm);
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg);
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color 0.18s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.25s var(--ease-out);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-body {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.faq-body p + p {
  margin-top: var(--space-sm);
}

/* --------------------------------------------------------------------------
   13. Forms (on dark backgrounds)
   -------------------------------------------------------------------------- */
.form {
  display: grid;
  gap: var(--space-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 660px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--text);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-faint);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249, 168, 37, 0.18);
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a8a3c2' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

/* --------------------------------------------------------------------------
   14. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 16% 85%, rgba(194, 34, 126, 0.22) 0%, transparent 50%),
    radial-gradient(circle at 85% 15%, rgba(249, 168, 37, 0.18) 0%, transparent 50%);
  pointer-events: none;
}

.cta-band > * {
  position: relative;
}

.cta-band .section-title {
  margin-bottom: var(--space-sm);
}

.cta-band p {
  max-width: 46em;
  margin-inline: auto;
  color: var(--text-muted);
}

.cta-band .hero-ctas {
  justify-content: center;
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #070512;
  border-top: 1px solid var(--border);
  padding-block: clamp(3rem, 6vw, 4.5rem) var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.4fr;
  gap: var(--space-xl);
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand img {
  height: 32px;
  width: auto;
  margin-bottom: var(--space-md);
}

.footer-brand p {
  max-width: 28em;
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.footer-email {
  margin-top: var(--space-sm);
}

.footer-email a {
  color: var(--text-soft);
  text-decoration: none;
}

.footer-email a:hover {
  color: var(--accent);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--space-md);
}

.footer-col ul {
  display: grid;
  gap: 0.55rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-area {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: var(--fs-xs);
}

.footer-bottom a {
  color: var(--text-faint);
}

.footer-bottom a:hover {
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   16. Reveal-on-scroll
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* --------------------------------------------------------------------------
   17. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  /* Skip the navigation crossfade (the new page still swaps in whole) */
  ::view-transition-group(*),
  ::view-transition-image-pair(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hud-readout-dot {
    animation: none;
  }
}
