/* =========================================================
   TSCM COUNTER SURVEILLANCE — stylesheet
   Aesthetic: tactical-HUD, cold, precise.
   Fonts loaded in HTML <head> from Google Fonts.
   ========================================================= */

:root {
  /* palette */
  --bg:         #0A0E1A;
  --bg-elev:    #111726;
  --bg-deep:    #060912;
  --bg-step:    #151C30;  /* ~6% HSL-lighter than --bg — tonal step between adjacent sections */
  --accent:     #00B4FF;
  --accent-dim: #0077B6;
  --accent-soft:rgba(0, 180, 255, 0.12);
  --accent-line:rgba(0, 180, 255, 0.28);
  /* Semantic accents — red = detected threat, green = verified/clean. Use sparingly. */
  --accent-red:   #FF3344;
  --accent-green: #00FF85;
  --text:       #E8ECF2;
  --text-mut:   #8893A7;
  --text-faint: #4A5468;
  --border:     #1E2535;
  --border-strong: #2A3447;
  --danger:     #FF3D5A;

  /* type */
  --f-display: "Chakra Petch", "Helvetica Neue", sans-serif;
  --f-body:    "IBM Plex Sans", "Helvetica Neue", sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* metrics */
  --maxw: 1240px;
  --pad-x: clamp(1.25rem, 4vw, 3rem);
  --radius: 2px;
  --hairline: 1px solid var(--border);
  --hairline-strong: 1px solid var(--border-strong);
  --grid-bg: linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px) 0 0 / 48px 100%,
             linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px) 0 0 / 100% 48px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 75% -10%, rgba(0,180,255,0.06), transparent 55%),
    radial-gradient(circle at 5% 90%, rgba(0,180,255,0.04), transparent 50%),
    var(--bg);
  min-height: 100vh;
}

/* ===== PARALLAX GRID — fixed page-wide grid that drifts up at ~25% of scroll speed ===== */
body::before {
  content: "";
  position: fixed;
  inset: -10vh 0 0 0;          /* extra top room so the grid never reveals an empty edge */
  pointer-events: none;
  z-index: -1;
  background: var(--grid-bg);
  opacity: 0.55;
  transform: translate3d(0, var(--grid-offset, 0px), 0);
  will-change: transform;
}

/* ===== CRT SCAN LINE OVERLAY — faint band slides top → bottom, barely visible ===== */
body::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 90px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(0, 180, 255, 0.018) 45%,
    rgba(0, 180, 255, 0.045) 50%,
    rgba(0, 180, 255, 0.018) 55%,
    transparent 100%);
  pointer-events: none;
  z-index: 9998;
  animation: scan-overlay 11s linear infinite;
  will-change: transform;
}
@keyframes scan-overlay {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

@media (prefers-reduced-motion: reduce) {
  body::before { transform: none; }
  body::after  { display: none; }
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #6FD3FF; }
img, svg { display: block; max-width: 100%; }

/* =====  selection  ===== */
::selection { background: var(--accent); color: var(--bg-deep); }

/* =====  layout  ===== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section {
  padding: clamp(3.75rem, 6vw, 5rem) 0;
  position: relative;
}

.section + .section { border-top: var(--hairline); }

/* =====  typography  ===== */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.4rem, 5.8vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 600;
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.65rem);
  line-height: 1.1;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 600;
}

p { margin: 0 0 1em; color: var(--text); }
p.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.55;
  color: var(--text-mut);
  max-width: 56ch;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}
.eyebrow + .eyebrow {
  margin-top: -1.1rem;
}
.eyebrow::before {
  content: "▌";
  color: var(--accent);
  transform: translateY(-1px);
}

.label-mono {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mut);
}

.heading-bar {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.heading-bar h2 { margin: 0; }
.heading-bar .label-mono { color: var(--accent); }

/* =====  HEADER / NAV  ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: var(--hairline);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.wordmark {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.wordmark .slash { color: var(--accent); margin: 0 0.15rem; }
.wordmark .sub { color: var(--text-mut); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; }

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mut);
  position: relative;
  padding: 4px 0;
  transition: color 0.18s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -3px;
  height: 1px;
  background: var(--accent);
  transition: right 0.25s ease;
}
.nav-links a:hover, .nav-links a.is-active {
  color: var(--text);
}
.nav-links a:hover::after, .nav-links a.is-active::after { right: 0; }
.nav-links a.is-active { color: var(--accent); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.18s ease;
}
.nav-cta:hover { background: var(--accent); color: var(--bg-deep); }
.nav-cta .phone-icon { width: 14px; height: 14px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; }
.nav-toggle .icon-close  { display: none; }
.site-header.is-open .nav-toggle .icon-burger { display: none; }
.site-header.is-open .nav-toggle .icon-close  { display: block; }

/* ===== NAV DROPDOWN (Services) =====
   Desktop: hover/focus-within reveals a compact tactical file-list panel.
   Mobile (≤880px): panel inlines into the burger menu as an indented list. */
.nav-links .has-dropdown { position: relative; }
.nav-links .has-dropdown > a .chev {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.7em;
  color: var(--text-faint);
  transition: transform 0.18s ease, color 0.18s ease;
  vertical-align: middle;
}
.nav-links .has-dropdown:hover > a .chev,
.nav-links .has-dropdown:focus-within > a .chev,
.nav-links .has-dropdown.is-open > a .chev {
  color: var(--accent);
  transform: rotate(180deg);
}
/* Bridge the gap between trigger and panel so hover doesn't drop */
.nav-links .has-dropdown::before {
  content: "";
  position: absolute;
  top: 100%;
  left: -8px; right: -8px;
  height: 14px;
  pointer-events: none;
}
.nav-links .has-dropdown:hover::before,
.nav-links .has-dropdown:focus-within::before,
.nav-links .has-dropdown.is-open::before {
  pointer-events: auto;
}
.nav-dropdown {
  position: fixed;
  /* top + left are set inline by JS from the trigger's bounding rect.
     transform's translateX(-50%) centers the panel horizontally on that x. */
  top: 0;
  left: 0;
  transform: translate(-50%, -6px);
  min-width: 360px;
  background: rgb(17, 23, 38);
  border: 1px solid var(--border-strong);
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s linear 0.16s;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  will-change: transform, opacity;
}
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 14px;
  width: 28px;
  height: 1px;
  background: var(--accent);
}
/* Panel is moved to <body> root by JS on load, so the .is-open selector
   targets the panel directly rather than via its (former) parent. */
.nav-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s linear 0s;
}
.nav-dropdown li { margin: 0; }
.nav-dropdown a {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding: 0.7rem 1.1rem;
  font-family: var(--f-body);
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown a::after { display: none; }
.nav-dropdown a:hover { background: var(--accent-soft); color: var(--accent); }
.nav-dropdown .file {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--text-mut);
  text-transform: uppercase;
  flex: 0 0 auto;
}
.nav-dropdown a:hover .file { color: var(--accent); }
.nav-dropdown .sep-li {
  border-top: 1px solid var(--border);
  margin-top: 0.35rem;
  padding-top: 0.35rem;
}
.nav-dropdown .sep-li a {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mut);
}
.nav-dropdown .sep-li a .arrow { color: var(--accent); margin-right: 0.25rem; }

@media (max-width: 880px) {
  .nav { flex-wrap: nowrap; }
  .wordmark   { order: 1; }
  .nav-toggle { order: 2; display: inline-flex; }
  /* Drawer + CTA hidden until .is-open */
  .nav-links  { display: none; }
  .nav-cta    { display: none; }

  /* backdrop-filter on .site-header creates a containing block for any
     position: fixed descendant — which would trap the drawer CTA inside
     the 72px header bar. Drop the blur when open and use a solid bg
     instead, so the fixed CTA positions relative to the viewport. */
  .site-header.is-open {
    background: var(--bg-deep);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* When open: full-viewport overlay drawer below the 72px header bar.
     Page content stays put; body scroll is locked from JS. */
  .site-header.is-open .nav-links {
    display: flex;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 0.5rem var(--pad-x) 6rem;
    gap: 0;
    background: var(--bg-deep);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  /* Each top-level row is a full-width tap target with a hairline divider
     and a right-side chevron, so Home/About/Contact read as rows, not
     section labels. */
  .site-header.is-open .nav-links > li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .site-header.is-open .nav-links > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 0.25rem;
    font-size: 0.85rem;
    color: var(--text);
  }
  .site-header.is-open .nav-links > li > a::after {
    content: "→";
    position: static;
    height: auto;
    color: var(--text-mut);
    font-family: var(--f-mono);
    font-size: 0.9rem;
    background: transparent;
    transition: color 0.18s ease, transform 0.18s ease;
  }
  .site-header.is-open .nav-links > li > a:hover::after,
  .site-header.is-open .nav-links > li > a.is-active::after {
    color: var(--accent);
    transform: translateX(3px);
  }
  /* Services parent shows a down-chevron because its children render
     directly underneath; not a navigable row on mobile. */
  .site-header.is-open .nav-links .has-dropdown > a::after { content: "▾"; }

  /* Submenu — always expanded under Services, indented with a hairline
     rail so it reads as children of the parent row. */
  .nav-links .has-dropdown { width: 100%; }
  .nav-links .has-dropdown > a .chev { display: none; }
  .nav-links .has-dropdown::before { display: none; }
  .site-header.is-open .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    min-width: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-left: 1px solid var(--border);
    margin: 0 0 0.75rem 0.75rem;
    padding: 0.25rem 0 0.25rem 0;
    box-shadow: none;
    transition: none;
  }
  .site-header.is-open .nav-dropdown::before { display: none; }
  .site-header.is-open .nav-dropdown a {
    padding: 0.55rem 0.85rem;
    font-size: 0.88rem;
  }
  .site-header.is-open .nav-dropdown .sep-li {
    margin-top: 0.35rem;
    padding-top: 0.5rem;
  }

  /* Phone CTA pinned to the bottom of the viewport over the drawer for
     thumb reach. Fixed (not a flex child of .nav) so it doesn't reflow
     into the header bar next to the wordmark when .is-open. */
  .site-header.is-open .nav-cta {
    display: inline-flex;
    justify-content: center;
    position: fixed;
    left: var(--pad-x);
    right: var(--pad-x);
    bottom: 1rem;
    z-index: 100;
    width: auto;
    padding: 0.9rem 1rem;
  }

  /* Body scroll lock when menu is open */
  body.menu-open { overflow: hidden; }
}

/* =====  MOBILE OPTIMIZATION PASS (≤600px)
   Polishes spacing, touch targets, and large floor-height elements
   across the site. Page-specific mobile rules live with their
   components above; cross-cutting fixes live here.  ===== */

@media (max-width: 600px) {
  /* Service sections were clamped to ~9px vertical padding on mobile,
     which makes stacked --svc sections feel compressed. Bump floor. */
  .section--svc { padding: clamp(1.5rem, 4vw, 2rem) 0; }

  /* Homepage monitor element: at 375px it squashes to a ~270px square
     where the corner ticks and labels feel oversized. Cap smaller and
     shrink the label type so it reads as a HUD callout, not a feature. */
  .monitor { max-width: 320px; margin: 0 auto; }
  .monitor-labels { inset: 8px; font-size: 0.55rem; }
  .monitor-labels.bottom { inset: auto 8px 8px 8px; }
  .monitor::before, .monitor::after,
  .monitor-corner-tr, .monitor-corner-bl {
    width: 12px; height: 12px;
  }

  /* About stats — 2 cols at 375px squeezes the values into ~155px boxes
     and pushes long labels to 3 lines. Stack as 1 col on small phones. */
  .about-stats { grid-template-columns: 1fr; }

  /* Audience cinema cards — 360px floor × 2 stacked = 720px of hero
     before the next section. Lower the floor and tighten the inset. */
  .aud-grid--split .aud-card--cinema { min-height: clamp(260px, 36vh, 340px); }

  /* Contact form — give the terminal frame a bit less padding so the
     fields aren't squeezed; stack inline label/input pairs so labels
     don't collide with the dashed underline on narrow widths. */
  .form--terminal { padding: 1.25rem 1.1rem 1.4rem; }
  .term-field:not(.term-field--block) {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }
  .term-field label { white-space: normal; }

  /* Submit button — bump padding so the button hits the 44px touch
     target and centre it instead of right-aligning where a thumb misses. */
  .term-submit { flex-wrap: wrap; gap: 0.75rem; }
  .term-submit button {
    padding: 0.85rem 1.4rem;
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  /* Signal QR shrinks on small phones so it doesn't dominate the column. */
  .signal-qr img { width: 140px; height: 140px; }

  /* Service nav chips on services.html — bump padding for a real touch
     target without changing the chip aesthetic. */
  .svc-nav a { padding: 0.6rem 1rem; font-size: 0.75rem; }
}

/* =====  BUTTONS / CTA  ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.6rem;
  font-family: var(--f-mono);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  position: relative;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-deep);
  border-color: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
}
.btn-primary:hover {
  background: #33C4FF;
  color: var(--bg-deep);
  box-shadow: 0 0 28px rgba(0,180,255,0.45);
}

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

/* Secondary CTA — cyan border + cyan text, transparent fill. Pairs with
   .btn-primary as the outline half of a primary/secondary action pair. */
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* compact variant — inline CTAs under each service entry */
.btn-sm {
  padding: 0.7rem 1.15rem;
  font-size: 0.72rem;
  gap: 0.45rem;
}

/* Advisory CTA: button + small phone-number subline rendered directly underneath */
.cta-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}
.btn-sub {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--accent-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0.85;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: 2rem;
}

.cta-meta {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-left: 0.5rem;
}

/* =====  HERO  ===== */
.hero {
  position: relative;
  padding: clamp(1.5rem, 3.5vw, 3rem) 0 clamp(1rem, 2.25vw, 1.75rem);
  border-bottom: var(--hairline);
  overflow: hidden;
}
/* tighten the gap between the hero (ending in the trust ticker) and the next section */
.hero + .section {
  padding-top: clamp(2rem, 4vw, 3rem);
}

.hero::before {
  /* faint grid backdrop */
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grid-bg);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
}

.hero-headline {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

/* ===== HERO BACKDROP — atmospheric signal trace ===== */
.hero-trace {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
  /* long, gentle ramp — lines bleed behind headline at <5% effective alpha,
     building to full visibility on the right */
  mask-image: linear-gradient(90deg,
    transparent 0%,
    rgba(0,0,0,0.05) 10%,
    rgba(0,0,0,0.14) 28%,
    rgba(0,0,0,0.32) 48%,
    rgba(0,0,0,0.6)  68%,
    #000 88%,
    #000 100%);
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0%,
    rgba(0,0,0,0.05) 10%,
    rgba(0,0,0,0.14) 28%,
    rgba(0,0,0,0.32) 48%,
    rgba(0,0,0,0.6)  68%,
    #000 88%,
    #000 100%);
  z-index: 0;
}

/* muted middle line of the hero headline — explicit near-white hex, no alpha */
.hero h1 .muted-line {
  color: #CBD5E1;
  -webkit-text-fill-color: #CBD5E1;
}

/* ===== STAGGERED HEADLINE — per-line fade + slide-in with glow bloom on line 3 ===== */
.h-line {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  animation: h-line-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.h-line-1 { animation-delay: 0.1s; }
.h-line-2 { animation-delay: 0.3s; }
.h-line-3 {
  animation:
    h-line-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0.5s forwards,
    glow-bloom 1.8s ease-out 1s 1 forwards;
}
@keyframes h-line-in {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes glow-bloom {
  0%   { filter: drop-shadow(0 0 0   rgba(0, 180, 255, 0)); }
  20%  { filter: drop-shadow(0 0 16px rgba(0, 180, 255, 0.6)); }
  50%  { filter: drop-shadow(0 0 5px  rgba(0, 180, 255, 0.18)); }
  75%  { filter: drop-shadow(0 0 12px rgba(0, 180, 255, 0.42)); }
  100% { filter: drop-shadow(0 0 4px  rgba(0, 180, 255, 0.16)); }
}

/* ===== WAVEFORM DRIFT — quiet baseline traces drift slowly; active spikes stay anchored ===== */
.drift {
  animation: drift 22s ease-in-out infinite alternate;
  transform-origin: center;
  transform-box: fill-box;
  will-change: transform;
}
@keyframes drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-65px); }
}

/* ===== SECTION VARIANT — tighter vertical padding ===== */
.section--tight {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
/* services-page: keep adjacent service sections tightly stacked — feels like
   one continuous file rather than four floating blocks. .svc-detail still
   carries its own internal padding + hairline divider. */
.section--svc {
  padding: clamp(1.25rem, 2.5vw, 2rem) 0;
  scroll-margin-top: 96px;
}

/* ===== SERVICE — cinema treatment (full-bleed video bg + heavy scrim).
   Used on FILE 02 Vehicle and FILE 04 Consulting. The scrim is heavier than
   the audience cards' because there's much more text to keep readable
   (heading + price + tag + 2-3 paragraphs + scope list + actions). */
.section--svc-cinema {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* Heroes on per-service landing pages — ~80px top/bottom, content-driven
     height. Matches the .svc-split-hero used on the Vehicle Sweep page. */
  padding: 5rem 0;
}
.section--svc-cinema .svc-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.section--svc-cinema .svc-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Duotone treatment matching the hero — desaturate, then brighten so the
     footage reads through the scrim. */
  filter: grayscale(1) contrast(1.08) brightness(1.1);
  opacity: 1;
}
.section--svc-cinema .svc-scrim {
  position: absolute;
  inset: 0;
  background:
    /* dark vertical scrim for text readability — lighter middle so the
       footage stays visible behind the body copy */
    linear-gradient(180deg,
      rgba(10, 14, 26, 0.72) 0%,
      rgba(10, 14, 26, 0.55) 50%,
      rgba(10, 14, 26, 0.80) 100%),
    /* cyan tint across the visible areas — matches hero duotone */
    linear-gradient(135deg,
      rgba(0, 119, 182, 0.30) 0%,
      rgba(0, 180, 255, 0.14) 55%,
      transparent 100%);
  pointer-events: none;
}
.section--svc-cinema .container {
  position: relative;
  z-index: 1;
}
/* Text-shadow on body content for extra readability against the bg motion */
.section--svc-cinema .svc-detail h2,
.section--svc-cinema .svc-detail p,
.section--svc-cinema .svc-detail li,
.section--svc-cinema .svc-detail .file,
.section--svc-cinema .svc-detail .price,
.section--svc-cinema .svc-detail .best-for,
.section--svc-cinema .svc-detail .scope-intro,
.section--svc-cinema .svc-detail .scope-title {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75), 0 0 2px rgba(0, 0, 0, 0.6);
}

@media (prefers-reduced-motion: reduce) {
  .section--svc-cinema .svc-bg video { filter: none; }
}
/* cyan rule between adjacent service sections — subtle break, not loud */
.section--svc + .section--svc {
  border-top: 1px solid rgba(0, 180, 255, 0.18);
}

/* ===== SPLIT HERO — text left, photo right (full-bleed right).
   Used on per-service landing pages where a single static image is the
   primary visual rather than a moving cinema treatment. */
.svc-split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* No min-height — section size is driven by left-column content + ~80px
     top/bottom padding. Video on the right scales to match. */
  align-items: stretch;
  border-bottom: var(--hairline);
}
.svc-split-text {
  background: var(--bg);
  display: flex;
  align-items: flex-start;
  padding: 5rem var(--pad-x);
}
.svc-split-text-inner {
  max-width: calc(var(--maxw) / 2);
  margin-left: auto;
  width: 100%;
}
.svc-split-media {
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
  /* Don't let intrinsic media size grow the grid row — left column drives
     the row height; the media absolutely fills whatever space it's given. */
  min-height: 0;
  min-width: 0;
}
.svc-split-media img,
.svc-split-media video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Anchor to top so reduced section height crops from the bottom. */
  object-position: center top;
  /* Match the duotone treatment used by .media-frame and cinema heroes */
  filter: grayscale(1) contrast(1.05) brightness(0.9);
}
@media (prefers-reduced-motion: reduce) {
  .svc-split-media video { filter: none; }
}
/* Cyan tint overlay keeps the photo on-palette */
.svc-split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(0, 119, 182, 0.22) 0%,
    rgba(0, 180, 255, 0.08) 60%,
    transparent 100%);
  pointer-events: none;
}
/* Left-edge fade so the media bleeds smoothly into the dark text column —
   starts at the solid bg color, fades to transparent over ~100px. */
.svc-split-media::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 100px;
  background: linear-gradient(to right, var(--bg) 0%, rgba(10, 14, 26, 0.6) 40%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Keep hero CTAs on one row and the legal line on one row even in the
   narrow half-column. Buttons shrink in size to fit side-by-side; the meta
   line drops to a smaller mono size + nowrap. */
.svc-split-hero .cta-row {
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.65rem;
}
.svc-split-hero .cta-row .btn {
  padding: 0.7rem 1.05rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  flex: 0 1 auto;
}
.svc-split-hero .cta-meta {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mut);
  margin-top: 1rem;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .svc-split-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .svc-split-text {
    padding: clamp(2rem, 6vw, 3rem) var(--pad-x);
  }
  .svc-split-text-inner {
    max-width: none;
    margin-left: 0;
  }
  .svc-split-media {
    min-height: 50vh;
    order: 2;
  }
}
@media (max-width: 600px) {
  /* On phones the 50vh video below text is too much scroll-burden before
     the body content. Pull it down and shorten the text padding. */
  .svc-split-media { min-height: 32vh; }
  .svc-split-text { padding: clamp(1.5rem, 5vw, 2rem) var(--pad-x); }
  .svc-split-media::before {
    display: none;
  }
  /* On stacked mobile, allow CTAs and meta line to wrap naturally. */
  .svc-split-hero .cta-row { flex-wrap: wrap; }
  .svc-split-hero .cta-row .btn { font-size: 0.78rem; padding: 0.85rem 1.25rem; }
  .svc-split-hero .cta-meta { white-space: normal; font-size: 0.68rem; }
}
/* primary tiers (FILE 01 + FILE 02) — soft tint adds weight without volume */
.section--svc.is-primary {
  background: rgba(0, 180, 255, 0.022);
}
/* bottom-only — keep generous top, tighten the transition into the next section */
.section--tight-bottom {
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
/* top-only — for pages where the section sits directly below the navbar */
.section--tight-top {
  padding-top: clamp(1.5rem, 3.5vw, 3rem);
}
/* tonal-step background — for marking a clear visual boundary between adjacent sections */
.section--elev {
  background: var(--bg-step);
}

.section--what {
  background: var(--grid-bg), var(--bg-step);
  border-bottom: 1px solid var(--accent);
}
.section--what + .section {
  border-top: none;
}

/* ===== CREDENTIALS SECTION ===== */
.creds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 860px) { .creds-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

.cred {
  position: relative;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--accent);
}
.cred .mono-tag {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.cred h3 {
  font-size: 1.3rem;
  margin: 0 0 0.7rem;
  line-height: 1.25;
}
.cred p {
  color: var(--text-mut);
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.6;
}
/* =====  WHAT WE DO — two-column briefing layout  ===== */
.what-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.what-copy .label-mono {
  display: block;
  color: var(--accent);
  margin-bottom: 1rem;
}
.what-services {
  padding-top: 2.1rem;
}
.what-copy h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-bottom: 1rem;
}
.what-bridge {
  font-size: 1.05rem;
  color: var(--text);
  margin: 0 0 2rem;
}
.def-block {
  border-left: 1px solid var(--accent-line);
  padding-left: 1.25rem;
}
.def-block + .def-block {
  margin-top: 1.75rem;
}
.def-tag {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}
.def-block p {
  font-size: 0.93rem;
  color: var(--text-mut);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 720px) {
  .what-layout { grid-template-columns: 1fr; gap: 2rem; }
}

.hero-trace svg {
  width: 100%;
  height: 100%;
  display: block;
}
@media (max-width: 720px) {
  .hero-trace {
    width: 100%;
    opacity: 0.32;
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 35%, #000 70%, #000 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 35%, #000 70%, #000 100%);
  }
}

.hero h1 .accent {
  color: var(--accent);
  background: linear-gradient(180deg, #6FD3FF 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== TRUST TICKER — full-bleed horizontal scroll along the bottom of the hero ===== */
.trust-ticker {
  position: relative;
  z-index: 2;
  margin-top: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-image:         linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}
.trust-track {
  display: inline-flex;
  gap: 2.75rem;
  white-space: nowrap;
  animation: ticker 42s linear infinite;
  padding-right: 2.75rem;
  will-change: transform;
}
.trust-chip {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mut);
  padding: 0;
  border: 0;
  background: transparent;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.trust-chip .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  margin-right: 0.6rem;
  vertical-align: middle;
  box-shadow: 0 0 6px rgba(0, 255, 133, 0.55);
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* prominent audience signal — sits between H1 and body copy */
.hero-audience {
  font-family: var(--f-body);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  font-weight: 500;
  color: var(--text);
  margin: 1.5rem 0 0.75rem;
  max-width: 56ch;
  line-height: 1.4;
}

/* ===== HERO MONITORING PANEL (SVG container) ===== */
.monitor {
  position: relative;
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(180deg, rgba(0,180,255,0.04), transparent 60%),
    var(--bg-elev);
  padding: 0;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin-left: auto;
  overflow: hidden;
}
.monitor::before,
.monitor::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border: 1px solid var(--accent);
}
.monitor::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.monitor::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.monitor-corner-tr,
.monitor-corner-bl {
  position: absolute;
  width: 18px; height: 18px;
  border: 1px solid var(--accent);
  z-index: 3;
}
.monitor-corner-tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.monitor-corner-bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }

.monitor-labels {
  position: absolute;
  inset: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  z-index: 2;
  pointer-events: none;
}
.monitor-labels .pair { display: flex; flex-direction: column; gap: 4px; }
.monitor-labels .pair span:last-child { color: var(--text-mut); }
.monitor-labels.bottom { top: auto; bottom: 12px; inset: auto 12px 12px 12px; }

.monitor svg { width: 100%; height: 100%; }

/* horizontal oscilloscope sweep beam */
.scan {
  position: absolute;
  top: 0; bottom: 0;
  width: 70px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0,180,255,0.04) 30%,
    rgba(0,180,255,0.14) 50%,
    rgba(0,180,255,0.04) 70%,
    transparent 100%
  );
  left: -70px;
  animation: scan 6.5s linear infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes scan {
  0%   { left: -70px; }
  100% { left: 100%;  }
}

/* anomaly markers — small blips that pulse */
.blip {
  transform-origin: center;
  transform-box: fill-box;
  animation: blip 1.8s ease-in-out infinite;
}
.blip-delay { animation-delay: 0.9s; }
/* CTA-band blips stay static — dot remains as a marker on the trace spike,
   but the pulse is too distracting next to the CTA content. */
.cta-trace .blip { animation: none; opacity: 1; }
@keyframes blip {
  0%, 100% { opacity: 0.35; transform: scale(0.7); }
  50%      { opacity: 1;    transform: scale(1.45); }
}

/* active-state label flicker (matches anomaly cadence) */
.active-label {
  color: var(--accent) !important;
  animation: active-flicker 1.8s ease-in-out infinite;
}
@keyframes active-flicker {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .scan, .blip, .active-label, .drift, .trust-track,
  .h-line, .h-line-1, .h-line-2, .h-line-3 {
    animation: none;
  }
  .scan { display: none; }
  .blip { opacity: 1; }
  .active-label { opacity: 1; }
  .h-line { opacity: 1; transform: none; }
  .h-line-3 { filter: none; }
}

/* =====  SERVICES GRID (landing)  ===== */
.svc-grid {
  display: grid;
  /* 2x2 layout fits the four service tiers as balanced pairs */
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  padding: 1.8rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 280px;
  transition: border-color 0.2s ease;
}
.svc-card:hover {
  border-color: var(--accent-line);
  animation: card-glitch 0.42s steps(7, end) forwards;
}
.svc-card:hover h3,
.svc-card:hover p,
.svc-card:hover .svc-file .num,
.svc-card:hover .amount {
  animation: text-glitch 0.42s steps(7, end);
}
@keyframes card-glitch {
  0%   { transform: translate(0, 0); }
  14%  { transform: translate(-2px, -1px); }
  28%  { transform: translate(2px, 0); }
  42%  { transform: translate(-1px, -2px); }
  56%  { transform: translate(1px, 0); }
  70%  { transform: translate(-1px, -1px); }
  84%  { transform: translate(0, -2px); }
  100% { transform: translate(0, -2px); }
}
@keyframes text-glitch {
  0%   { text-shadow: none; transform: translateX(0); }
  20%  { text-shadow: 1px 0 0 rgba(0, 180, 255, 0.6), -1px 0 0 rgba(255, 60, 80, 0.35); transform: translateX(-1px); }
  40%  { text-shadow: -1px 0 0 rgba(0, 180, 255, 0.55), 1px 0 0 rgba(255, 60, 80, 0.3); transform: translateX(1px); }
  60%  { text-shadow: 0.5px 0 0 rgba(0, 180, 255, 0.45); transform: translateX(0); }
  80%  { text-shadow: -0.5px 0 0 rgba(0, 180, 255, 0.3); transform: translateX(0); }
  100% { text-shadow: none; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .svc-card:hover,
  .svc-card:hover h3,
  .svc-card:hover p,
  .svc-card:hover .svc-file .num,
  .svc-card:hover .amount {
    animation: none;
  }
  .svc-card:hover { transform: translateY(-2px); }
}
.svc-card::before,
.svc-card::after {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  border: 1px solid var(--accent);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.svc-card::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.svc-card::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.svc-card:hover::before, .svc-card:hover::after { opacity: 1; }

.svc-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}
.svc-file .num {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.svc-file .icon { color: var(--accent); }

.svc-card h3 { margin: 0; }
.svc-card p { color: var(--text-mut); font-size: 0.95rem; margin: 0; flex: 1; }

.svc-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: var(--hairline);
  padding-top: 1rem;
  margin-top: auto;
}
.svc-price .from {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.svc-price .amount {
  font-family: var(--f-display);
  font-size: 1.25rem;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.svc-card .more {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.svc-card .more .arrow { transition: transform 0.18s ease; }
.svc-card:hover .more .arrow { transform: translateX(3px); }

/* wide secondary card (digital pen testing) */
.svc-wide {
  margin-top: 1.25rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  padding: 2rem 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}
.svc-wide .glyph { color: var(--accent-red); }
.svc-wide h3 { margin: 0 0 0.35rem; }
.svc-wide p { color: var(--text-mut); margin: 0; }
.svc-wide .price {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .svc-wide { grid-template-columns: 1fr; text-align: left; }
}

/* =====  TWO-AUDIENCE SPLIT  ===== */
.aud-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 860px) { .aud-grid { grid-template-columns: 1fr; } }

.aud-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(0,180,255,0.035), transparent 50%),
    var(--bg-elev);
  border: 1px solid var(--border);
  padding: 2.25rem 2rem 2rem;
  overflow: hidden;
}
.aud-card .tag {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
}
.aud-card h3 {
  font-size: 1.55rem;
  margin-bottom: 0.75rem;
}
.aud-card p { color: var(--text-mut); margin-bottom: 1.25rem; }
.aud-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.aud-card li {
  font-family: var(--f-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--text);
  padding-left: 1.4rem;
  position: relative;
}
.aud-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.aud-card .bg-svg {
  position: absolute;
  right: -40px; bottom: -40px;
  width: 220px; height: 220px;
  opacity: 0.18;
  pointer-events: none;
}

/* ===== AUDIENCES — full-bleed two-tone split ===== */
.aud-grid--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
}
.aud-grid--split .aud-card {
  background: none;
  border: 0;
  overflow: visible;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
}
.aud-grid--split .aud-card--family {
  background: #1C2538;
  padding-left: max(var(--pad-x), calc((100vw - 1240px) / 2 + var(--pad-x)));
  justify-content: flex-start;
}
.aud-grid--split .aud-card--corporate {
  background: var(--bg);
  padding-right: max(var(--pad-x), calc((100vw - 1240px) / 2 + var(--pad-x)));
  justify-content: flex-end;
}
.aud-inner {
  width: 100%;
  max-width: 520px;
}
@media (max-width: 860px) {
  .aud-grid--split { grid-template-columns: 1fr; }
  .aud-grid--split .aud-card--family,
  .aud-grid--split .aud-card--corporate {
    padding: clamp(2rem, 5vw, 3rem) var(--pad-x);
    justify-content: flex-start;
  }
}

/* ===== AUDIENCES — cinema treatment (full-bleed photo background + scrim).
   The family-law card uses this so the audience reads as "this is the human
   side." The corporate card stays clean text for deliberate contrast. */
.aud-grid--split .aud-card--cinema {
  background: var(--bg-deep);
  position: relative;
  isolation: isolate;
  /* Card height is content-driven; small floor keeps the photo from squishing on
     viewports where the text reflows short. Grid keeps both cards equal-height. */
  min-height: clamp(360px, 38vh, 440px);
  /* Top-anchor content on both cards so badges line up at matching vertical positions */
  align-items: flex-start;
}
.aud-card--cinema .aud-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.aud-card--cinema .aud-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.85) contrast(1.05);
}
/* Identical scrim on both cards (matched pair). Horizontal direction flips by side
   so the heavy edge sits on the same side as the content. */
.aud-card--cinema .aud-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10, 14, 26, 0.42) 0%,
      rgba(10, 14, 26, 0.34) 25%,
      rgba(10, 14, 26, 0.66) 55%,
      rgba(10, 14, 26, 0.92) 78%,
      rgba(10, 14, 26, 0.97) 100%),
    linear-gradient(90deg,
      rgba(10, 14, 26, 0.40) 0%,
      rgba(10, 14, 26, 0.10) 50%,
      rgba(10, 14, 26, 0.25) 100%);
  pointer-events: none;
}
/* Corporate photo is noticeably brighter than the family photo, so the
   corporate scrim runs ~15-20% darker across the curve. Net perceived
   weight matches the family card now. */
.aud-card--cinema.aud-card--corporate .aud-scrim {
  background:
    linear-gradient(180deg,
      rgba(10, 14, 26, 0.56) 0%,
      rgba(10, 14, 26, 0.48) 25%,
      rgba(10, 14, 26, 0.76) 55%,
      rgba(10, 14, 26, 0.95) 78%,
      rgba(10, 14, 26, 0.98) 100%),
    linear-gradient(270deg,
      rgba(10, 14, 26, 0.52) 0%,
      rgba(10, 14, 26, 0.24) 50%,
      rgba(10, 14, 26, 0.40) 100%);
}
.aud-card--cinema .aud-inner {
  position: relative;
  z-index: 1;
}
/* Soft dark backdrop directly behind the content stack — transparent at top/bottom
   so the photo still reads, but guarantees text legibility at any screen size. */
.aud-card--cinema .aud-inner::before {
  content: "";
  position: absolute;
  inset: -1.25rem -1.5rem;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(10, 14, 26, 0.42) 10%,
    rgba(10, 14, 26, 0.42) 90%,
    transparent 100%);
  z-index: -1;
  pointer-events: none;
}
/* Corporate badge — sits above the headline in normal flow (same relative position
   as the family badge). Near-solid dark background so it reads cleanly against
   any portion of the photo. */
.aud-card--cinema.aud-card--corporate .aud-inner > .tag {
  background: rgba(10, 14, 26, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.aud-card--cinema .aud-inner h3,
.aud-card--cinema .aud-inner p,
.aud-card--cinema .aud-inner li {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}
.aud-card--cinema .aud-inner h3 { color: var(--text); }
.aud-card--cinema .aud-inner p  { color: rgba(232, 236, 242, 0.92); }
.aud-card--cinema .aud-inner li { color: var(--text); }

/* Pull bullet list close to the bottom edge of each cinema card so there's
   no dark empty band below the last item. */
.aud-grid--split .aud-card--cinema {
  padding-bottom: clamp(1.5rem, 2.5vw, 2rem);
}
/* Zero the section's residual bottom padding when it hosts the audiences
   split, so the next section follows immediately after the cards. */
.section:has(> .aud-grid--split) {
  padding-bottom: 0;
}

@media (max-width: 860px) {
  .aud-grid--split .aud-card--cinema {
    min-height: clamp(320px, 50vh, 480px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .aud-card--cinema .aud-bg img { filter: none; }
}

/* =====  HOW IT WORKS  ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  position: relative;
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  padding: 1.5rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.step .num {
  font-family: var(--f-mono);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.step h3 {
  font-size: 1.15rem;
  margin: 0 0 0.25rem;
}
.step p { color: var(--text-mut); margin: 0; font-size: 0.95rem; }
.step .tag {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.step::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 24px; height: 24px;
  border: 1px solid var(--accent);
  border-right: none;
  border-bottom: none;
}
.step:not(:last-child)::after {
  content: "─";
  position: absolute;
  right: -28px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-line);
  font-family: var(--f-mono);
  letter-spacing: 0.2em;
}
@media (max-width: 860px) {
  .step:not(:last-child)::after { display: none; }
}

/* =====  CLOSING CTA BAND  ===== */
.cta-band {
  position: relative;
  background:
    linear-gradient(90deg, rgba(0,180,255,0.08), transparent 60%),
    var(--bg-deep);
  border-top: 1px solid var(--accent-line);
  border-bottom: 1px solid var(--accent-line);
  padding: clamp(4.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grid-bg);
  opacity: 0.5;
  mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
  pointer-events: none;
}

/* ===== CTA-BAND WAVEFORM — bookend echo of the hero signal trace ===== */
.cta-trace {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
  mask-image: linear-gradient(90deg,
    transparent 0%,
    rgba(0,0,0,0.05) 12%,
    rgba(0,0,0,0.18) 32%,
    rgba(0,0,0,0.4)  55%,
    rgba(0,0,0,0.7)  75%,
    #000 92%,
    #000 100%);
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0%,
    rgba(0,0,0,0.05) 12%,
    rgba(0,0,0,0.18) 32%,
    rgba(0,0,0,0.4)  55%,
    rgba(0,0,0,0.7)  75%,
    #000 92%,
    #000 100%);
}
.cta-trace svg {
  width: 100%;
  height: 100%;
  display: block;
}
.cta-band .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  position: relative;
}
@media (max-width: 720px) {
  .cta-band .container { grid-template-columns: 1fr; }
}
.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin: 0 0 0.5rem;
}
.cta-band p {
  color: var(--text-mut);
  margin: 0;
  font-size: 1rem;
}
/* secondary CTA — quiet Signal line for clients who can't safely call */
.cta-band .cta-secondary {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.5rem;
  padding-top: 1.1rem;
  border-top: var(--hairline);
  font-family: var(--f-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mut);
}
.cta-band .cta-secondary a {
  color: var(--text-mut);
  border-bottom: 1px dotted var(--border-strong);
  padding-bottom: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.cta-band .cta-secondary a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.cta-band .cta-secondary .sep { opacity: 0.5; }

/* =====  SERVICES PAGE — detailed cards  ===== */
.svc-detail {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: var(--hairline);
  align-items: start;
}
.svc-detail:last-of-type { border-bottom: none; }
@media (max-width: 880px) {
  .svc-detail { grid-template-columns: 1fr; gap: 1.5rem; }
}
.svc-detail .meta { position: sticky; top: 100px; }
@media (max-width: 880px) {
  /* drop sticky on mobile so the meta column doesn't overlay the body */
  .svc-detail .meta { position: static; top: auto; }
}
.svc-detail .file { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.85rem; }
.svc-detail h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: 1.25rem; }
.svc-detail .price {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.75rem;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}
.svc-detail .price small {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: block;
  margin-bottom: 0.25rem;
}
.svc-detail .audience-tag {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--border-strong);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mut);
}
/* audience-tag variants — visual differentiation per tier.
   Scoped under .svc-detail to match the base selector's specificity (0,2,0). */
.svc-detail .audience-tag--outline {
  border-color: var(--accent-line);
  color: var(--accent);
}
.svc-detail .audience-tag--filled {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-deep);
  font-weight: 600;
}
.svc-detail .audience-tag--muted {
  border-color: var(--border);
  color: var(--text-mut);
}
.svc-detail .audience-tag--warn {
  border-color: rgba(255, 51, 68, 0.4);
  color: var(--accent-red);
}

/* "Best for:" line — sits below the audience-tag in the meta column */
.svc-detail .best-for {
  margin-top: 0.85rem;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mut);
  line-height: 1.55;
  max-width: 24ch;
}
.svc-detail .best-for strong {
  color: var(--text-faint);
  font-weight: 500;
  margin-right: 0.35rem;
}

/* Meta specs — stacked label/value pairs in the left column. Replaces the
   single-line "Best for:" pattern when a service has multiple engagement
   facts to surface (turnaround, deliverable, type, etc.). */
.svc-detail .meta-specs,
.about-side .meta-specs {
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.svc-detail .meta-specs .spec,
.about-side .meta-specs .spec { margin: 0; }
.svc-detail .spec-label,
.about-side .spec-label {
  display: block;
  margin: 0 0 0.3rem;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.svc-detail .spec-value,
.about-side .spec-value {
  display: block;
  margin: 0;
  font-family: var(--f-body);
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.45;
}
/* Close the data block (About-side and per-service meta column) with the
   same cyan rule used by the homepage Credentials section. */
.about-side .meta-specs,
.svc-detail .meta-specs {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--accent);
}

/* per-service action row — call + email, low-friction CTAs */
.svc-detail .svc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: var(--hairline);
}
.svc-detail .svc-actions .svc-actions-label {
  flex-basis: 100%;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.35rem;
}

/* scope intro — one-line framing above the scope header */
.svc-detail .scope-intro {
  color: var(--text-mut);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.55;
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: var(--hairline);
}
.svc-detail .scope-intro + .scope-title {
  border-top: none;
  padding-top: 0.6rem;
  margin-top: 0.6rem;
}
.svc-detail .body p.lead { margin-bottom: 1.5rem; max-width: none; color: var(--text); font-size: 1.05rem; }
.svc-detail .scope-title {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 1.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: var(--hairline);
}
.svc-detail ul.scope {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.5rem;
}
@media (max-width: 600px) { .svc-detail ul.scope { grid-template-columns: 1fr; } }
.svc-detail ul.scope li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.45;
}
.svc-detail ul.scope li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--f-mono);
}

/* =====  ABOUT page  ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; } }
.about-side .label-mono { color: var(--accent); display: block; margin-bottom: 0.75rem; }
.about-side h1 { font-size: clamp(2rem, 4vw, 3rem); }
.about-body {
  border-left: 1px solid var(--accent-line);
  padding-left: 2rem;
}
@media (max-width: 880px) {
  .about-body { border-left: none; padding-left: 0; }
}
.about-body p { font-size: 1.05rem; line-height: 1.7; color: var(--text); }
.about-body p + p { margin-top: 1.25rem; }
.about-body .firm-name { color: var(--accent); }

.about-stats {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.about-stat {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
}
.about-stat::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 14px; height: 14px;
  border: 1px solid var(--accent);
  border-right: none;
  border-bottom: none;
}
.about-stat .v {
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--accent);
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
  font-weight: 600;
}
/* Alternate every other card to white for visual rhythm — Licensed/Independent cyan,
   Florida/Confidential white. */
.about-stat:nth-child(2n) .v { color: var(--text); }
.about-stat .l {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mut);
  line-height: 1.4;
}

/* =====  CONTACT page  ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }

.contact-side h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1rem; }
.contact-side .lead { margin-bottom: 1.75rem; }

.phone-block {
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.phone-block::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 16px; height: 16px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}
.phone-block::after {
  content: "";
  position: absolute;
  bottom: -1px; right: -1px;
  width: 16px; height: 16px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}
.phone-block .label {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.phone-block .number {
  font-family: var(--f-mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.phone-block .number:hover { color: var(--accent); }

/* Signal QR — bare QR on a white quiet zone, framed with a cyan hairline so
   it doesn't float on the dark page bg. */
.signal-qr {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.1rem;
  width: fit-content;
}
.signal-qr img {
  display: block;
  width: 180px;
  height: 180px;
  border: 1px solid var(--accent-line);
}
.signal-qr-caption {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.expect-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.expect-list li {
  font-family: var(--f-mono);
  font-size: 0.84rem;
  color: var(--text);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}
.expect-list li::before {
  content: "▌";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

.form {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
}
.form::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 20px; height: 20px;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
}

/* ===== TERMINAL-STYLE FORM ===== */
.form--terminal {
  background: #050810;
  border: 1px solid var(--accent-line);
  padding: 1.5rem 1.75rem 1.75rem;
  font-family: var(--f-mono);
  position: relative;
  box-shadow:
    inset 0 0 60px rgba(0, 180, 255, 0.025),
    0 0 0 1px rgba(0, 180, 255, 0.08);
}
.form--terminal::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 18px; height: 18px;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
}
.form--terminal::after {
  content: "";
  position: absolute;
  bottom: -1px; right: -1px;
  width: 18px; height: 18px;
  border-bottom: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
}

.term-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.term-title {
  font-family: var(--f-mono);
  font-size: 0.82rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.term-status {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mut);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.term-status .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

.term-boot {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1.5rem;
  font-family: var(--f-mono);
  font-size: 0.82rem;
}
.term-line {
  color: var(--text-mut);
  letter-spacing: 0.01em;
}
.term-line .caret { color: var(--accent); margin-right: 0.5rem; }
.term-line--ok { color: var(--text); }
.term-line--warn { color: var(--text); font-weight: 600; }
.term-line--warn .warn-flag {
  color: var(--accent-red);
  font-weight: 700;
  margin-right: 0.5rem;
}
.term-line .type-cursor {
  display: none;
  margin-left: 0.05em;
  color: var(--accent);
}
.term-notice {
  margin: -0.75rem 0 1.5rem;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--text-mut);
  opacity: 0.7;
}

/* ===== BOOT SEQUENCE — hidden state only kicks in when JS is available ===== */
.js .form--terminal .term-line {
  opacity: 0;
  transition: opacity 0.22s ease;
}
.js .form--terminal .term-line.active { opacity: 1; }
.js .form--terminal .term-line.typing .type-cursor {
  display: inline-block;
  animation: cursor-blink 0.55s steps(2) infinite;
}
.js .form--terminal .term-hidden {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* status indicator blinks ON when boot reaches it */
.term-status.term-blink-on {
  animation: blink-on 0.65s steps(5) forwards;
}
@keyframes blink-on {
  0%   { opacity: 0; }
  20%  { opacity: 0.85; }
  40%  { opacity: 0.15; }
  60%  { opacity: 1; }
  80%  { opacity: 0.5; }
  100% { opacity: 1; }
}

/* fade-out (submit row) / blink-off (status, on submit success) */
.term-fading-out {
  opacity: 0 !important;
  transform: translateY(-4px) !important;
  transition: opacity 0.45s ease, transform 0.45s ease !important;
  pointer-events: none !important;
}
.term-status.term-blink-off {
  animation: blink-off 0.7s steps(5) forwards !important;
  pointer-events: none;
}
@keyframes blink-off {
  0%   { opacity: 1; }
  20%  { opacity: 0.2; }
  40%  { opacity: 0.9; }
  60%  { opacity: 0.1; }
  80%  { opacity: 0.6; }
  100% { opacity: 0; }
}

.term-response {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-family: var(--f-mono);
  font-size: 0.85rem;
}
.term-reset-btn {
  margin-top: 1.1rem;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--f-mono);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  padding: 0.6rem 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.term-reset-btn::before { content: "[ "; }
.term-reset-btn::after  { content: " ]"; }
.term-reset-btn:hover {
  background: var(--accent);
  color: var(--bg-deep);
  box-shadow: 0 0 18px rgba(0, 180, 255, 0.45);
}
.term-reset-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 180, 255, 0.5);
}

/* Fallback panel — appears when the mailto: hand-off doesn't fire. Mirrors
   the .term-response treatment but lists direct-contact options + a copy
   button so the visitor can route the inquiry through phone or Signal. */
.term-fallback {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-family: var(--f-mono);
  font-size: 0.85rem;
}
.term-fallback-list {
  margin: 1rem 0 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.term-fallback-row {
  display: grid;
  grid-template-columns: 5rem 1fr;
  align-items: baseline;
  gap: 0.5rem;
}
.term-fallback-row dt {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.term-fallback-row dd {
  margin: 0;
  color: var(--text);
}
.term-fallback-row a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-line);
  transition: border-color 0.18s ease, color 0.18s ease;
}
.term-fallback-row a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.term-fallback-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.term-fallback-actions .term-reset-btn { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  .js .form--terminal .term-hidden,
  .js .form--terminal .term-line {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
  }
  .js .form--terminal .term-line.typing .type-cursor { animation: none; }
  .term-status.term-blink-on,
  .term-status.term-blink-off,
  .term-fading-out { animation: none !important; transition: none !important; }
  .term-status.term-blink-off { opacity: 0; }
}

.term-field {
  margin-bottom: 0.9rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--f-mono);
}
.term-field--block {
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
}
.term-field label {
  font-family: var(--f-mono);
  font-size: 0.88rem;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0;
  text-transform: none;
}
.term-field label .caret { color: var(--accent); }
.term-field label .key   { color: var(--text); }
.term-field label .colon { color: var(--accent); }

.term-field input,
.term-field textarea {
  background: transparent;
  border: 0;
  /* Dashed bottom underline = universal "type here" affordance. */
  border-bottom: 1px dashed var(--accent-line);
  color: var(--text);
  font-family: var(--f-mono);
  font-size: 0.92rem;
  padding: 0.15rem 0 0.35rem;
  width: 100%;
  outline: none;
  caret-color: var(--accent);
  flex: 1;
  letter-spacing: 0.01em;
  transition: border-bottom-color 0.18s ease;
}
.term-field input:focus,
.term-field input:hover {
  border-bottom-color: var(--accent);
}
.term-field textarea {
  min-height: 110px;
  resize: vertical;
  border-left: 2px solid var(--border-strong);
  padding-left: 0.85rem;
  transition: border-left-color 0.18s ease, border-bottom-color 0.18s ease;
}
.term-field input::placeholder,
.term-field textarea::placeholder {
  color: var(--text-faint);
  font-family: var(--f-mono);
  font-style: italic;
  letter-spacing: 0.01em;
}
.term-field input:focus,
.term-field textarea:focus {
  outline: none;
}
.term-field textarea:focus { border-left-color: var(--accent); }
.term-field--block label .caret { color: var(--accent); }

/* Pulsing caret sits between label and input on the first field — visually
   "waves" to signal that this is an interactive form. Disappears once the
   user focuses the field or types into it. */
.term-pulse-caret {
  display: inline-block;
  color: var(--accent);
  font-family: var(--f-mono);
  font-size: 0.92rem;
  line-height: 1;
  margin-right: -0.3rem;
  animation: caret-pulse 1.05s steps(2) infinite;
  pointer-events: none;
  user-select: none;
}
@keyframes caret-pulse {
  0%, 50%       { opacity: 1; }
  50.01%, 100%  { opacity: 0; }
}
.term-field:has(input:not(:placeholder-shown)) .term-pulse-caret,
.term-field:focus-within .term-pulse-caret {
  display: none;
}

.term-submit {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-family: var(--f-mono);
}
.term-prompt-line {
  color: var(--accent);
  font-size: 0.88rem;
}
.term-submit button {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--f-mono);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  padding: 0.6rem 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  margin-left: auto;
}
.term-submit button::before { content: "[ "; }
.term-submit button::after  { content: " ]"; }
.term-submit button:hover {
  background: var(--accent);
  color: var(--bg-deep);
  box-shadow: 0 0 18px rgba(0, 180, 255, 0.45);
}
.term-submit button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 180, 255, 0.5);
}
.cursor-blink {
  display: inline-block;
  margin-left: 0.2rem;
  color: var(--accent);
  animation: cursor-blink 1.05s steps(2) infinite;
}
@keyframes cursor-blink {
  50% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor-blink,
  .term-line .ellipsis,
  .term-status .dot,
  .term-pulse-caret { animation: none; }
}
.form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--hairline);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}
.form-header .title {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.form-header .status {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mut);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.form-header .status .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mut);
  margin-bottom: 0.5rem;
}
.field input, .field textarea {
  width: 100%;
  background: var(--bg-deep);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 0.98rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  border-radius: 0;
}
.field textarea { min-height: 130px; resize: vertical; font-family: var(--f-mono); font-size: 0.9rem; }
.field input:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.field input::placeholder, .field textarea::placeholder {
  color: var(--text-faint);
  font-family: var(--f-mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.form .submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.form .submit .note {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* =====  FOOTER  ===== */
.site-footer {
  background: var(--bg-deep);
  border-top: var(--hairline);
  padding: 3rem 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: var(--hairline);
}
@media (max-width: 720px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "site direct";
    gap: 1.75rem 1.25rem;
    padding-bottom: 1.5rem;
  }
  .footer-top > div:nth-child(1) { grid-area: brand; }
  .footer-top > div:nth-child(2) { grid-area: site; }
  .footer-top > div:nth-child(3) { grid-area: direct; }
  .footer-top h4 { margin-bottom: 0.65rem; }
  .footer-top ul { gap: 0.4rem; }
  .footer-top ul a { font-size: 0.85rem; }
  .footer-top .copy { font-size: 0.88rem; max-width: none; }
  .site-footer { padding: 2rem 0 1.5rem; }
  .footer-meta { margin-top: 1rem; gap: 0.4rem; }
  .footer-meta .fineprint { font-size: 0.66rem; line-height: 1.7; }
  /* turn each | separator into a forced line break so the legal facts
     stack cleanly instead of orphaning pipes at line wraps */
  .footer-meta .fineprint .sep {
    display: block;
    font-size: 0;
    line-height: 0;
    height: 0.25rem;
    margin: 0;
  }
}
.footer-top h4 {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
  font-weight: 500;
}
.footer-top ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-top ul a {
  color: var(--text-mut);
  font-size: 0.9rem;
  transition: color 0.18s ease;
}
.footer-top ul a:hover { color: var(--accent); }
.footer-top .copy { color: var(--text-mut); font-size: 0.92rem; margin-top: 0.25rem; max-width: 32ch; }

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-meta .fineprint {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text);
  line-height: 1.6;
}
.footer-meta .fineprint .sep { color: var(--border-strong); margin: 0 0.6rem; }
.footer-meta .fineprint .lic { color: var(--accent); }

/* services page — faint grid backdrop ties it to the hero aesthetic */
body.page-services { position: relative; }
body.page-services::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--grid-bg);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
body.page-services > header { position: sticky; top: 0; z-index: 100; }
body.page-services > section,
body.page-services > footer { position: relative; z-index: 1; }

/* =====  PAGE INTRO (services, about, contact)  ===== */
.page-intro {
  padding: clamp(1.5rem, 3.5vw, 3rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: var(--hairline);
  position: relative;
}
.page-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grid-bg);
  mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
  opacity: 0.6;
  pointer-events: none;
}
.page-intro .container { position: relative; }
.page-intro h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.page-intro .lead { max-width: 60ch; }

/* services page — jump-nav chips below the hero. visual TOC for the four
   service sections; lets users self-qualify into the right tier without
   scrolling. matches audience-tag mono/outline aesthetic. */
.svc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}
.svc-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border-strong);
  color: var(--text-mut);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.svc-nav a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.svc-nav a .num {
  color: var(--text-faint);
  font-weight: 500;
}
.svc-nav a:hover .num { color: var(--accent); }

/* breadcrumb-style file path */
.filepath {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.5rem;
}
.filepath .sep { color: var(--border-strong); margin: 0 0.5rem; }
.filepath .cur { color: var(--accent); }

/* =====  utility  ===== */
.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;
}

/* =====  staggered reveal on load  ===== */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: reveal 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.reveal-1 { animation-delay: 0.05s; }
.reveal-2 { animation-delay: 0.18s; }
.reveal-3 { animation-delay: 0.32s; }
.reveal-4 { animation-delay: 0.46s; }
.reveal-5 { animation-delay: 0.6s; }
@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; animation: none; }
}

/* ===========================================================
   MEDIA — hero video + photo frames
   Photos are rendered in a cyan duotone so they sit inside the
   HUD palette instead of fighting it. Reduced motion pauses the
   video and falls back to the poster frame (handled in main.js).
   =========================================================== */

/* ---- HERO VIDEO ---- */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* duotone: strip color, then layered overlays do the cyan tint */
  filter: grayscale(1) contrast(1.08) brightness(0.85);
  opacity: 0.85;
}
.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* left-side fade-to-bg so the headline stays readable */
    linear-gradient(90deg, var(--bg) 0%, rgba(10,14,26,0.75) 38%, rgba(10,14,26,0.25) 100%),
    /* bottom fade so the trust ticker keeps its own ground */
    linear-gradient(180deg, transparent 40%, rgba(10,14,26,0.55) 80%, var(--bg) 100%),
    /* cyan tint across the brighter areas */
    linear-gradient(135deg, rgba(0, 119, 182, 0.35), rgba(0, 180, 255, 0.18) 60%, transparent 100%);
  pointer-events: none;
}

/* ---- PHOTO FRAME ---- */
.media-frame {
  position: relative;
  margin: 0 0 1.5rem 0;
  isolation: isolate;
  background: var(--bg-deep);
  border: var(--hairline-strong);
  overflow: hidden;
}
.media-frame img,
.media-frame video {
  display: block;
  width: 100%;
  height: auto;
  /* duotone treatment — desaturate then re-tint cyan via overlay */
  filter: grayscale(1) contrast(1.06) brightness(0.92);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 119, 182, 0.32), rgba(0, 180, 255, 0.22));
  mix-blend-mode: hard-light;
  pointer-events: none;
  z-index: 1;
}
/* corner ticks — tactical-HUD framing, four L-shaped cyan accents */
.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    /* top-left */
    linear-gradient(90deg, var(--accent) 0 14px, transparent 14px) top    left  / 14px 1px no-repeat,
    linear-gradient(180deg, var(--accent) 0 14px, transparent 14px) top    left  / 1px 14px no-repeat,
    /* top-right */
    linear-gradient(90deg, var(--accent) 0 14px, transparent 14px) top    right / 14px 1px no-repeat,
    linear-gradient(180deg, var(--accent) 0 14px, transparent 14px) top    right / 1px 14px no-repeat,
    /* bottom-left */
    linear-gradient(90deg, var(--accent) 0 14px, transparent 14px) bottom left  / 14px 1px no-repeat,
    linear-gradient(180deg, var(--accent) 0 14px, transparent 14px) bottom left  / 1px 14px no-repeat,
    /* bottom-right */
    linear-gradient(90deg, var(--accent) 0 14px, transparent 14px) bottom right / 14px 1px no-repeat,
    linear-gradient(180deg, var(--accent) 0 14px, transparent 14px) bottom right / 1px 14px no-repeat;
}
.media-frame figcaption {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-top: var(--hairline);
  background: var(--bg-elev);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--text-mut);
  line-height: 1.4;
}
.media-frame .cap-tag {
  display: inline-block;
  padding: 0.18rem 0.45rem;
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.media-frame--inset {
  margin: 1.25rem 0 1.5rem 0;
}
.media-frame--wide {
  margin: 0 0 1.75rem 0;
}
/* Inside a service detail body, --wide lifts the column cap and forces a
   cinematic 16:9 crop so the photo reads as evidence at full body width. */
.svc-detail .media-frame--wide {
  max-width: none;
  margin: 0 0 1.75rem 0;
}
.svc-detail .media-frame--wide img,
.svc-detail .media-frame--wide video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 30%;
}
.aud-card .media-frame {
  /* compress vertical pacing inside the dense audience card; cap width so the photo doesn't dominate */
  margin: 1rem auto 1.25rem 0;
  max-width: 360px;
}
.aud-card .media-frame img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.svc-detail .media-frame {
  /* cap width inside service detail body so the photo sits as evidence, not a hero */
  margin: 0 auto 1.5rem 0;
  max-width: 420px;
}

@media (prefers-reduced-motion: reduce), (prefers-reduced-data: reduce) {
  /* JS also pauses the video; CSS guard hides it as a belt-and-braces fallback */
  .hero-video video { display: none; }
  .hero-video {
    background: url("../assets/media/hero-poster.jpg") center / cover no-repeat;
  }
}

/* =====  PRODUCT CATALOG — filterable grid (cyber-security-products page)  ===== */
.product-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.25rem;
  align-items: center;
  margin: 0 0 2rem;
  padding: 0.55rem 0.6rem;
  background: var(--bg-deep);
  border: 1px solid var(--border);
}
.product-filter {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  padding: 0.55rem 0.95rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mut);
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.product-filter:hover {
  color: var(--text);
}
.product-filter.is-active {
  color: var(--accent);
  border-color: var(--accent-line);
  background: var(--accent-soft);
}
.product-filter:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 960px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; } }

/* Mobile catalog optimizations: single-row scrollable filter bar +
   wider-but-shorter image plates with a larger icon hit area. */
@media (max-width: 600px) {
  .product-filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.45rem;
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%);
  }
  .product-filter-bar::-webkit-scrollbar { display: none; }
  .product-filter {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.5rem 0.8rem;
  }
  .product-card { padding: 1rem; }
  .product-image {
    aspect-ratio: 16 / 5;
    margin: -0.2rem -0.2rem 0.9rem;
  }
  .product-image svg {
    width: 22%;
    max-width: 56px;
    max-height: 56px;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  padding: 1.25rem;
  transition: border-color 0.18s ease;
}
.product-card:hover {
  border-color: var(--accent);
}
.product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 7;
  margin: -0.35rem -0.35rem 1rem;
  background:
    linear-gradient(to right,  rgba(255,255,255,0.04) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(135deg, rgba(0,180,255,0.05), transparent 65%),
    #14182A;
  border: 1px solid var(--border-strong);
  color: var(--accent-dim);
}
.product-image svg {
  width: 35%;
  height: 35%;
  max-width: 52px;
  max-height: 52px;
}
.product-cat {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.55rem;
}
.product-name {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 0.55rem;
}
.product-desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-mut);
  margin: 0 0 1rem;
  flex: 1;
}
.product-price {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mut);
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  margin-bottom: 0.75rem;
}
.product-inquire {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dim);
  background: transparent;
  border: 1px solid var(--accent-line);
  padding: 0.55rem 0.95rem;
  text-decoration: none;
  align-self: flex-start;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.product-inquire .arrow { transition: transform 0.18s ease; display: inline-block; }
.product-inquire:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}
.product-card:hover .product-inquire {
  color: var(--accent);
  border-color: var(--accent);
}
.product-card:hover .product-inquire .arrow { transform: translateX(3px); }

.product-empty {
  margin: 1.5rem 0 0;
  padding: 1.25rem;
  border: 1px dashed var(--border);
  color: var(--text-mut);
  font-size: 0.9rem;
  text-align: center;
}
.product-empty a { color: var(--accent); }

@media print {
  body { background: white; color: black; }
  .site-header, .site-footer, video, .hero-video, .cta-row, .parallax-grid { display: none; }
  a { color: black; text-decoration: underline; }
  .section { page-break-inside: avoid; }
}

