/* =========================================================
   SHAKOPEE HOME INTEL — Forensic-grade home inspections
   Cyber-forensic aesthetic · Oryn-inspired
   Distinct from Apple Valley brand. Accent: electric cyan.
   ========================================================= */

/* ---------- TOKENS ---------- */
:root {
  /* Brand */
  --accent: #22d3ee;            /* electric cyan */
  --accent-2: #0891b2;          /* deep cyan */
  --accent-3: #a3e635;          /* lime signal */
  --accent-soft: color-mix(in oklab, var(--accent) 14%, transparent);
  --accent-glow: color-mix(in oklab, var(--accent) 45%, transparent);

  /* Surfaces (light) */
  --bg: #f5f7fa;
  --bg-alt: #eef2f7;
  --bg-elev: #ffffff;
  --ink: #07101c;
  --ink-2: #1f2a3d;
  --ink-3: #5b6779;
  --line: rgba(7, 16, 28, 0.10);
  --line-strong: rgba(7, 16, 28, 0.20);

  /* Type */
  --font-display: "Geist", "Cabinet Grotesk", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", "Source Serif 4", Georgia, serif;
  --font-mono: "JetBrains Mono", "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Radii — tighter than Apple Valley to look more technical */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-pill: 999px;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(7,16,28,0.04), 0 1px 3px rgba(7,16,28,0.06);
  --sh-2: 0 8px 24px -8px rgba(7,16,28,0.10), 0 4px 12px -4px rgba(7,16,28,0.08);
  --sh-3: 0 28px 60px -16px rgba(7,16,28,0.22), 0 10px 28px -10px rgba(7,16,28,0.12);
  --sh-glow: 0 0 0 1px var(--accent-soft), 0 12px 40px -8px var(--accent-glow);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 180ms;
  --t-med: 320ms;
  --t-slow: 600ms;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
}

[data-theme="dark"] {
  --bg: #070b14;
  --bg-alt: #0b1120;
  --bg-elev: #0f172a;
  --ink: #e6edf7;
  --ink-2: #c4cdde;
  --ink-3: #8a93a8;
  --line: rgba(34, 211, 238, 0.10);
  --line-strong: rgba(34, 211, 238, 0.22);
  --sh-1: 0 1px 2px rgba(0,0,0,0.6);
  --sh-2: 0 8px 22px -4px rgba(0,0,0,0.55);
  --sh-3: 0 30px 60px -12px rgba(0,0,0,0.75);
}

/* Default to dark — matches Oryn aesthetic */
html { color-scheme: dark; }
html:not([data-theme="light"]) {
  --bg: #070b14;
  --bg-alt: #0b1120;
  --bg-elev: #0f172a;
  --ink: #e6edf7;
  --ink-2: #c4cdde;
  --ink-3: #8a93a8;
  --line: rgba(34, 211, 238, 0.10);
  --line-strong: rgba(34, 211, 238, 0.22);
}

/* ---------- BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 16px;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 6.5vw, 5rem); letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.6vw, 3rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
h4 { font-size: 1.02rem; letter-spacing: -0.01em; }

p { margin: 0 0 16px; color: var(--ink-2); }

::selection { background: var(--accent); color: #04131a; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }

/* ---------- ATOMIC: Eyebrow / monospace tag ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in oklab, var(--accent) 8%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  border-radius: 4px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 1.8s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.85); }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--r-md);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-arrow { transition: transform var(--t-fast) var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--accent);
  color: #04131a;
  box-shadow: 0 8px 28px -6px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-primary:hover {
  background: #67e8f9;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -8px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn-ghost:hover {
  box-shadow: inset 0 0 0 1px var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #04131a;
  transform: translateY(-2px);
}

/* ---------- TWO-TIER HEADER ---------- */
.top-utility-bar {
  background: #04131a;
  color: rgba(230, 237, 247, 0.8);
  font-family: var(--font-mono);
  font-size: 12px;
  border-bottom: 1px solid rgba(34, 211, 238, 0.15);
}
.utility-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 9px var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.utility-cred {
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.utility-phone { white-space: nowrap; flex: none; }
.utility-cred::before {
  content: "▲"; color: var(--accent); margin-right: 8px;
}
.utility-phone a { color: var(--accent); font-weight: 600; }
.utility-phone a:hover { color: #67e8f9; }

@media (max-width: 640px) {
  .utility-inner { font-size: 11px; }
  .utility-cred { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
}
@media (max-width: 419px) {
  .utility-cred span.long { display: none; }
}

.site-header {
  position: sticky; top: 0; z-index: 80;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t-fast) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 14px 30px -18px rgba(0,0,0,0.6); }

.header-container {
  max-width: var(--container); margin: 0 auto;
  padding: 12px var(--gutter);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
  white-space: nowrap;
  min-height: 56px;
}

.logo-link { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  position: relative;
  display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(34,211,238,0.4), 0 8px 22px -8px var(--accent-glow);
}
.logo-mark svg { width: 20px; height: 20px; color: #04131a; }
.logo-text-wrapper { display: flex; flex-direction: column; line-height: 1; }
.logo-title { font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: -0.01em; }
.logo-subtitle { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }

.main-navigation { display: flex; justify-content: center; min-width: 0; }
.nav-menu {
  display: flex; gap: 2px; align-items: center;
  flex-wrap: nowrap;            /* never wrap on desktop */
  white-space: nowrap;
  overflow: hidden;
}
.nav-menu li { flex: none; }
.nav-menu a {
  padding: 10px 12px; border-radius: var(--r-sm);
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav-menu a:hover { color: var(--accent); background: color-mix(in oklab, var(--accent) 6%, transparent); }
.header-actions { white-space: nowrap; flex-wrap: nowrap; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.phone-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  color: var(--ink); border: 1px solid var(--line-strong);
  transition: all var(--t-fast) var(--ease);
}
.phone-link svg { width: 14px; height: 14px; color: var(--accent); }
.phone-link:hover { border-color: var(--accent); color: var(--accent); }

.btn-instant-quote {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: var(--r-md);
  background: var(--accent); color: #04131a;
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  box-shadow: 0 8px 24px -6px var(--accent-glow);
  transition: all var(--t-fast) var(--ease);
}
.btn-instant-quote:hover { background: #67e8f9; transform: translateY(-2px); box-shadow: 0 14px 36px -6px var(--accent-glow); }

.mobile-menu-toggle {
  display: none; width: 40px; height: 40px; border-radius: var(--r-sm);
  border: 1px solid var(--line-strong); padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: var(--bg-elev);
}
.mobile-menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
.mobile-menu-toggle.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.mobile-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 1023px) {
  .header-container { grid-template-columns: auto 1fr auto; }
  .main-navigation {
    position: fixed; top: 0; right: 0;
    width: min(360px, 88vw); height: 100vh;
    background: var(--bg-elev);
    border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform var(--t-med) var(--ease);
    padding: 96px 24px 24px;
    z-index: 90;
  }
  .main-navigation.is-open { transform: translateX(0); box-shadow: -28px 0 60px -20px rgba(0,0,0,0.5); }
  .nav-menu { flex-direction: column; gap: 4px; align-items: stretch; }
  .nav-menu a { padding: 14px 16px; font-size: 16px; border-radius: var(--r-md); border: 1px solid var(--line); }
  .mobile-menu-toggle.mobile-menu-toggle--header { display: inline-flex; order: -1; }
  .phone-link span { display: none; }
  .phone-link { padding: 10px; }
  .btn-instant-quote { padding: 10px 14px; font-size: 12px; }
}
@media (max-width: 640px) {
  .btn-instant-quote { display: none; }
  .logo-subtitle { display: none; }
}

/* ---------- ROTATING COUNTY EYEBROW ---------- */
.eyebrow--rotator {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  overflow: hidden;
  max-width: 100%;
}
.eyebrow--rotator .rotator-static { white-space: nowrap; }
.eyebrow--rotator .rotator-track {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  height: 1.1em;
  overflow: hidden;
  vertical-align: bottom;
}
.eyebrow--rotator .rotator-item {
  display: block;
  height: 1.1em; line-height: 1.1em;
  white-space: nowrap;
  font-weight: 600;
  color: var(--accent-3);
  text-shadow: 0 0 12px rgba(163,230,53,0.45);
  animation: county-rotate 9s var(--ease) infinite;
}
@keyframes county-rotate {
   0%, 18% { transform: translateY(0%); }
  22%, 43% { transform: translateY(-100%); }
  47%, 68% { transform: translateY(-200%); }
  72%, 93% { transform: translateY(-300%); }
       100% { transform: translateY(-400%); }
}
@media (prefers-reduced-motion: reduce) {
  .eyebrow--rotator .rotator-item { animation: none; }
  .eyebrow--rotator .rotator-track { height: auto; }
  .eyebrow--rotator .rotator-item:not(:first-child) { display: none; }
}

/* ---------- HERO — Oryn-inspired forensic console ---------- */
.hero {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 100px);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(34,211,238,0.18), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(163,230,53,0.10), transparent 60%),
    var(--bg);
  overflow: hidden;
  isolation: isolate;
}
/* Layered background: HUD grid + topographic contour SVG */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    /* topographic contour lines as an inline SVG (4 stacked elliptical contour rings) */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600' fill='none' stroke='%2322d3ee' stroke-width='0.6' opacity='0.42'><ellipse cx='160' cy='280' rx='260' ry='150'/><ellipse cx='160' cy='280' rx='200' ry='114' stroke-dasharray='3 5'/><ellipse cx='160' cy='280' rx='140' ry='80'/><ellipse cx='160' cy='280' rx='80' ry='44' stroke-dasharray='2 4'/><ellipse cx='160' cy='280' rx='30' ry='16'/><ellipse cx='580' cy='160' rx='180' ry='110' stroke-dasharray='3 5'/><ellipse cx='580' cy='160' rx='120' ry='72'/><ellipse cx='580' cy='160' rx='60' ry='36' stroke-dasharray='2 4'/><ellipse cx='640' cy='460' rx='220' ry='130'/><ellipse cx='640' cy='460' rx='150' ry='88' stroke-dasharray='3 5'/><ellipse cx='640' cy='460' rx='80' ry='46'/><path d='M0 100 L800 100' stroke-dasharray='1 5'/><path d='M0 200 L800 200' stroke-dasharray='1 7'/><path d='M0 380 L800 380' stroke-dasharray='1 5'/><path d='M0 500 L800 500' stroke-dasharray='1 7'/></svg>"),
    /* HUD grid */
    linear-gradient(to right, rgba(34,211,238,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34,211,238,0.06) 1px, transparent 1px);
  background-size: 100% 100%, 56px 56px, 56px 56px;
  background-position: center center, 0 0, 0 0;
  background-repeat: no-repeat, repeat, repeat;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, black 35%, transparent 85%);
  pointer-events: none; z-index: -1;
}
.hero::after {
  /* Scanline */
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(255,255,255,0.012) 3px 4px);
  pointer-events: none; z-index: -1;
}
/* Faint county-tag pin-marks scattered behind copy column */
.hero-copy {
  position: relative;
}
.hero-copy::before {
  content: ""; position: absolute; inset: -40px -20px -20px -40px;
  background-image:
    radial-gradient(circle at 8% 12%, rgba(163,230,53,0.5) 0 2.5px, transparent 3px),
    radial-gradient(circle at 90% 28%, rgba(34,211,238,0.55) 0 2.5px, transparent 3px),
    radial-gradient(circle at 12% 80%, rgba(34,211,238,0.45) 0 2.5px, transparent 3px),
    radial-gradient(circle at 78% 70%, rgba(163,230,53,0.45) 0 2.5px, transparent 3px);
  z-index: -1; pointer-events: none;
  opacity: 0.55;
}

.hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 1023px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-3) 65%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative;
}
.hero h1 .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.45vw, 1.18rem);
  color: var(--ink-2);
  max-width: 580px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-meta {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
}
.hero-meta dt { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.hero-meta dd { margin: 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.hero-meta dd .small { font-size: 14px; color: var(--ink-3); font-weight: 400; }

/* Trust T-bar — three credentials across the bottom */
.trust-tbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.trust-tbar li {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 12px;
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2);
  position: relative;
  transition: color var(--t-fast) var(--ease);
}
.trust-tbar li + li::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 1px; background: var(--line);
}
.trust-tbar li svg {
  width: 18px; height: 18px; color: var(--accent);
  flex: none;
}
.trust-tbar li:hover { color: var(--accent); }
@media (max-width: 540px) {
  .trust-tbar { grid-template-columns: 1fr; }
  .trust-tbar li + li::before { left: 22%; right: 22%; top: 0; bottom: auto; width: auto; height: 1px; }
  .trust-tbar li { padding: 10px 12px; font-size: 11px; }
}

/* Hero visual: forensic dashboard SVG */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  max-width: 560px; margin-left: auto;
}
.hero-visual .ring {
  position: absolute; inset: 0;
  border: 1px dashed rgba(34,211,238,0.25);
  border-radius: 50%;
  animation: spin 60s linear infinite;
}
.hero-visual .ring.r2 { inset: 12%; animation-duration: 38s; animation-direction: reverse; border-style: dotted; }
.hero-visual .ring.r3 { inset: 26%; animation-duration: 24s; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-visual .badge {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; background: var(--bg-elev);
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 11px;
  box-shadow: var(--sh-2);
}
.hero-visual .badge::before { content:""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-3); box-shadow: 0 0 8px var(--accent-3); }
.hero-visual .badge.b1 { top: 8%; left: -4%; animation: float 7s var(--ease) infinite; }
.hero-visual .badge.b2 { top: 38%; right: -8%; animation: float 9s var(--ease) infinite reverse; }
.hero-visual .badge.b3 { bottom: 14%; left: 4%; animation: float 8s var(--ease) infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

.hero-visual .core {
  position: absolute; inset: 18%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(34,211,238,0.55), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(163,230,53,0.35), transparent 55%),
    linear-gradient(135deg, #0b1726, #04131a);
  display: grid; place-items: center;
  box-shadow:
    inset 0 0 0 1px rgba(34,211,238,0.35),
    inset 0 0 60px rgba(34,211,238,0.18),
    0 30px 80px -20px rgba(34,211,238,0.45);
}

/* ---------- SUBJECT BAND — full-bleed featured photo ---------- */
.subject-band {
  position: relative;
  margin: 0 auto;
  max-width: 1320px;
  padding: 0 var(--gutter);
  margin-top: -32px;
  margin-bottom: 32px;
}
.subject-photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(34,211,238,0.4);
  box-shadow:
    0 0 0 1px rgba(34,211,238,0.12),
    0 40px 80px -24px rgba(34,211,238,0.4),
    0 16px 40px -16px rgba(0,0,0,0.7);
  isolation: isolate;
}
.subject-photo img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 16/9.6;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}
.subject-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,16,28,0.10) 0%, rgba(7,16,28,0.55) 75%, rgba(7,16,28,0.85) 100%),
    linear-gradient(90deg, rgba(7,16,28,0.55) 0%, transparent 30%, transparent 70%, rgba(7,16,28,0.4) 100%);
  pointer-events: none;
}
.subject-hud {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
}
.subject-pin { animation: subject-pin-pulse 2.4s var(--ease) infinite; transform-origin: 900px 540px; transform-box: view-box; }
@keyframes subject-pin-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.03); }
}
.subject-meta {
  position: absolute;
  bottom: 28px; left: 28px; right: 28px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  font-family: var(--font-mono);
  z-index: 3;
}
.subject-meta-row {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 14px;
  background: rgba(7,16,28,0.78);
  border: 1px solid rgba(34,211,238,0.35);
  border-radius: var(--r-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.subject-meta-label {
  font-size: 9px; letter-spacing: 0.2em; color: var(--accent);
}
.subject-meta-value {
  font-size: 12px; color: var(--ink); letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .subject-meta { grid-template-columns: repeat(2, 1fr); gap: 10px; bottom: 18px; left: 18px; right: 18px; }
}
@media (max-width: 540px) {
  .subject-meta { grid-template-columns: 1fr; gap: 8px; }
  .subject-meta-row { padding: 9px 12px; }
}

/* ---------- STATS BAND ---------- */
.stats-band {
  background: var(--bg-alt);
  position: relative; overflow: hidden;
}
.stats-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(34,211,238,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34,211,238,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  position: relative;
}
.stat-card {
  padding: 32px 24px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; gap: 6px;
  position: relative; overflow: hidden;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.stat-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.stat-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  transition: width 0.6s var(--ease-out);
}
.stat-card:hover::before { width: 100%; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  line-height: 1;
  display: inline-flex; align-items: baseline;
}
.stat-num-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 700;
  color: var(--accent);
  margin-left: 4px;
}
.stat-label {
  font-family: var(--font-display);
  font-size: 1.02rem; font-weight: 600;
  color: var(--ink-2);
  margin-top: 8px;
}
.stat-meta {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--ink-3);
}
@media (max-width: 1023px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .stats-grid { grid-template-columns: 1fr; } }

/* ---------- COMPARISON TABLE ---------- */
.compare { background: var(--bg); }
.compare-table {
  max-width: 1080px; margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-elev);
  box-shadow: var(--sh-2);
}
.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}
.compare-row:last-child { border-bottom: 0; }
.compare-row:nth-child(even) { background: color-mix(in oklab, var(--accent) 3%, transparent); }
.compare-cell {
  padding: 16px 22px;
  font-size: 14.5px; color: var(--ink-2);
  display: flex; align-items: center;
  border-left: 1px solid var(--line);
}
.compare-cell:first-child { border-left: 0; }
.compare-head .compare-cell {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(7,16,28,0.04);
  color: var(--ink-3); font-weight: 600;
}
.compare-us { background: color-mix(in oklab, var(--accent) 8%, transparent); }
.compare-head.compare-row .compare-us { color: var(--accent); }
.check {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 8px;
}
.check.yes { color: var(--accent-3); }
.check.yes::before { content: "✓"; font-weight: 800; color: var(--accent-3); }
.check.no  { color: var(--ink-3); }
.check.no::before  { content: "✗"; font-weight: 800; color: var(--ink-3); }
@media (max-width: 720px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-cell { border-left: 0; border-bottom: 1px solid var(--line); }
  .compare-cell:last-child { border-bottom: 0; }
  .compare-head { display: none; }
  .compare-us::before { content: "Us · "; color: var(--accent); font-weight: 700; margin-right: 6px; }
  .compare-them::before { content: "Typical · "; color: var(--ink-3); font-weight: 700; margin-right: 6px; }
}

/* ---------- DAY-OF TIMELINE ---------- */
.timeline { background: var(--bg-alt); }
.timeline-list {
  max-width: 880px; margin: 0 auto; list-style: none; padding: 0;
  position: relative;
  counter-reset: tl;
}
.timeline-list::before {
  content: ""; position: absolute;
  left: 56px; top: 14px; bottom: 14px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--accent) 8%, var(--accent) 92%, transparent);
  opacity: 0.4;
}
.timeline-step {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 24px;
  padding: 16px 0;
  align-items: start;
  position: relative;
}
.timeline-marker {
  width: 112px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.timeline-marker span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 64px; height: 36px;
  padding: 0 12px;
  background: #04131a;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em; font-weight: 600;
  border-radius: var(--r-pill);
  box-shadow: 0 0 0 4px var(--bg-alt), 0 0 24px -6px var(--accent-glow);
  position: relative; z-index: 2;
}
.timeline-body {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 22px;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.timeline-body:hover { border-color: var(--accent); transform: translateX(4px); }
.timeline-body h3 { font-size: 1.1rem; margin-bottom: 6px; }
.timeline-body p { margin: 0; font-size: 14.5px; color: var(--ink-3); }
@media (max-width: 540px) {
  .timeline-step { grid-template-columns: 1fr; }
  .timeline-list::before { display: none; }
  .timeline-marker { justify-content: flex-start; width: auto; margin-bottom: 6px; }
}

/* ---------- TRUST STRIP ---------- */
.trust-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.trust-strip-inner {
  display: grid; grid-template-columns: repeat(5, 1fr);
  align-items: center; gap: 24px;
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-3);
}
.trust-strip-inner > div {
  display: flex; align-items: center; gap: 10px;
  letter-spacing: 0.04em;
}
.trust-strip-inner svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
@media (max-width: 900px) { .trust-strip-inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust-strip-inner { grid-template-columns: 1fr; } }

/* ---------- FORENSIC PROCESS / FEATURE CARDS ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  position: relative; overflow: hidden;
  transition: transform var(--t-med) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--accent) 40%, var(--line-strong));
  box-shadow: var(--sh-3);
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  transition: width var(--t-med) var(--ease);
}
.feature-card:hover::before { width: 100%; }
.feature-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  display: grid; place-items: center;
  margin-bottom: 22px;
  color: var(--accent);
  overflow: hidden;
  position: relative;
}
.feature-icon svg { width: 28px; height: 28px; }

/* Animated phase icons get a larger, richer canvas — reads as illustrated panel, not icon chip */
.feature-icon--anim {
  width: 100%;
  height: 140px;
  border-radius: var(--r-md);
  background:
    radial-gradient(circle at 30% 20%, rgba(34,211,238,0.15), transparent 55%),
    linear-gradient(135deg, #0b1726 0%, #04131a 100%);
  border: 1px solid rgba(34,211,238,0.22);
  margin-bottom: 24px;
}
.feature-icon--anim::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(34,211,238,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34,211,238,0.05) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}
.feature-icon--anim svg { width: 100%; height: 100%; padding: 16px; }
.feature-icon--anim::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7,16,28,0.35) 100%);
  pointer-events: none; border-radius: inherit;
}

/* ============================================================
   FEATURE / PHASE ICON ANIMATIONS
   ============================================================ */

/* PHASE 01 · RECON — drone orbits the roof */
.phase-recon .ic-drone {
  transform-origin: 24px 14px;
  transform-box: view-box;
  animation: drone-orbit 7s linear infinite;
}
@keyframes drone-orbit {
  0%   { transform: translate(38px,14px); }
  25%  { transform: translate(38px,10px); }
  50%  { transform: translate(10px,14px); }
  75%  { transform: translate(10px,18px); }
  100% { transform: translate(38px,14px); }
}
.phase-recon .ic-beam { animation: beam-flicker 1.4s var(--ease) infinite; transform-origin: top; transform-box: fill-box; }
@keyframes beam-flicker {
  0%, 100% { opacity: 0.55; transform: scaleY(1); }
  50%      { opacity: 0.95; transform: scaleY(1.12); }
}
.phase-recon .ic-orbit { animation: orbit-rotate 12s linear infinite; transform-origin: 24px 14px; transform-box: view-box; }
@keyframes orbit-rotate {
  to { transform: rotate(360deg); }
}

/* PHASE 02 · SIGNAL — waveform sweep */
.phase-signal .ic-wave {
  stroke: var(--accent);
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
  animation: wave-draw 2.6s var(--ease) infinite;
}
@keyframes wave-draw {
  0%   { stroke-dashoffset: 90; }
  60%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -90; }
}
.phase-signal .ic-pulse {
  animation: wave-pulse 2.6s var(--ease) infinite;
}
@keyframes wave-pulse {
  0%   { transform: translate(0,0); opacity: 0; }
  10%  { opacity: 1; }
  20%  { transform: translate(6px, 0); }
  30%  { transform: translate(9px,-10px); }
  40%  { transform: translate(13px,10px); }
  55%  { transform: translate(17px,-4px); }
  70%  { transform: translate(21px,4px); }
  85%  { transform: translate(25px,-10px); }
  100% { transform: translate(36px, 0); opacity: 0; }
}
.phase-signal .ic-leds rect { animation: led-blink 1.4s var(--ease) infinite; }
.phase-signal .ic-leds rect:nth-child(2) { animation-delay: 0.1s; }
.phase-signal .ic-leds rect:nth-child(3) { animation-delay: 0.2s; }
.phase-signal .ic-leds rect:nth-child(4) { animation-delay: 0.3s; }
.phase-signal .ic-leds rect:nth-child(5) { animation-delay: 0.4s; }
@keyframes led-blink {
  0%, 100% { opacity: 0.3; }
  20%, 80% { opacity: 1; }
}

/* PHASE 03 · IMAGING — thermal plume pulse + reticle scan */
.phase-imaging .ic-plume { transform-origin: 28px 22px; transform-box: fill-box; animation: plume-pulse 3s var(--ease) infinite; }
@keyframes plume-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.7); }
  50%      { opacity: 1; transform: scale(1.1); }
}
.phase-imaging .ic-reticle { animation: reticle-scan 4s var(--ease) infinite; transform-origin: 28px 22px; transform-box: view-box; }
@keyframes reticle-scan {
  0%   { transform: translate(0,0); opacity: 0.85; }
  35%  { transform: translate(-12px,-4px); opacity: 0.7; }
  60%  { transform: translate(8px,6px); opacity: 1; }
  100% { transform: translate(0,0); opacity: 0.85; }
}

/* PHASE 04 · BRIEF — rows fill in sequentially */
.phase-brief .ic-row-1, .phase-brief .ic-row-2, .phase-brief .ic-row-3 {
  opacity: 0;
  animation: row-fill 3.6s var(--ease) infinite;
}
.phase-brief .ic-row-1 { animation-delay: 0.0s; }
.phase-brief .ic-row-2 { animation-delay: 0.5s; }
.phase-brief .ic-row-3 { animation-delay: 1.0s; }
@keyframes row-fill {
  0%, 5%      { opacity: 0; transform: translateX(-4px); }
  20%, 80%    { opacity: 1; transform: translateX(0); }
  90%, 100%   { opacity: 0; }
}
.phase-brief .ic-clock { animation: clock-glow 2s var(--ease) infinite; transform-origin: center; transform-box: fill-box; }
@keyframes clock-glow {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50%      { filter: drop-shadow(0 0 6px var(--accent)); }
}

/* + STANDARD — shield ring rotates, check draws on */
.phase-standard .ic-ring { animation: ring-rotate 12s linear infinite; transform-origin: 24px 24px; transform-box: view-box; }
@keyframes ring-rotate { to { transform: rotate(360deg); } }
.phase-standard .ic-check {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: check-draw 3.4s var(--ease) infinite;
}
@keyframes check-draw {
  0%, 10%      { stroke-dashoffset: 30; }
  35%, 80%     { stroke-dashoffset: 0; }
  90%, 100%    { stroke-dashoffset: 30; }
}

/* + WALKTHROUGH — speech bubble breathes */
.phase-walkthrough .ic-bubble { transform-origin: 35px 12px; transform-box: view-box; animation: bubble-pop 2.6s var(--ease) infinite; }
@keyframes bubble-pop {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  20%      { transform: scale(1.08); opacity: 1; }
  60%      { transform: scale(0.96); opacity: 0.85; }
}

@media (prefers-reduced-motion: reduce) {
  .phase-recon .ic-drone, .phase-recon .ic-beam, .phase-recon .ic-orbit,
  .phase-signal .ic-wave, .phase-signal .ic-pulse, .phase-signal .ic-leds rect,
  .phase-imaging .ic-plume, .phase-imaging .ic-reticle,
  .phase-brief .ic-row-1, .phase-brief .ic-row-2, .phase-brief .ic-row-3, .phase-brief .ic-clock,
  .phase-standard .ic-ring, .phase-standard .ic-check,
  .phase-walkthrough .ic-bubble { animation: none !important; }
  .phase-brief .ic-row-1, .phase-brief .ic-row-2, .phase-brief .ic-row-3 { opacity: 1; }
  .phase-standard .ic-check { stroke-dashoffset: 0; }
  .phase-signal .ic-wave { stroke-dashoffset: 0; }
}
.feature-card .num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 10px; display: block;
}
.feature-card p { font-size: 14.5px; color: var(--ink-3); margin: 0; }

/* ---------- SERVICES — image+icon hybrid cards ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  transition: all var(--t-med) var(--ease);
  overflow: hidden;
}
.service-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 60%, color-mix(in oklab, var(--accent) 8%, transparent));
  opacity: 0; transition: opacity var(--t-med) var(--ease);
  pointer-events: none;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--sh-3); }
.service-card:hover::after { opacity: 1; }

.service-illu {
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, #0b1726 0%, #04131a 100%);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.service-illu svg { width: 70%; height: 70%; color: var(--accent); }
.service-illu::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(34,211,238,0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34,211,238,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}
/* Premium SVG art variant: bespoke editorial illustrations fill the cell */
.service-illu--art {
  padding: 0;
  background: transparent;
  border: 1px solid rgba(34,211,238,0.22);
}
.service-illu--art::before { display: none; }
.service-illu--art > svg {
  width: 100%; height: 100%; display: block;
  border-radius: inherit;
  transition: transform 0.6s var(--ease-out), filter 0.4s var(--ease);
}
.service-card:hover .service-illu--art > svg {
  transform: scale(1.04);
  filter: drop-shadow(0 0 24px rgba(34,211,238,0.25));
}
/* Brand-tinted vignette on top of art */
.service-illu--art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(7,16,28,0.55) 100%);
  pointer-events: none;
  border-radius: inherit;
}
.service-card .num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--accent); text-transform: uppercase;
}
.service-card h3 { margin: 0; font-size: 1.18rem; }
.service-card p { font-size: 14px; color: var(--ink-3); margin: 0; }
.service-card .more {
  font-family: var(--font-mono); font-size: 12px; color: var(--accent);
  margin-top: auto; display: inline-flex; align-items: center; gap: 6px;
}
.service-card .more::after { content: "→"; transition: transform var(--t-fast) var(--ease); }
.service-card:hover .more::after { transform: translateX(4px); }

/* ---------- PACKAGE / DARK PANEL ---------- */
.package-section {
  background:
    radial-gradient(800px 400px at 90% 10%, rgba(34,211,238,0.18), transparent 60%),
    radial-gradient(600px 400px at 5% 90%, rgba(163,230,53,0.10), transparent 60%),
    linear-gradient(180deg, #04131a 0%, #07101c 100%);
  color: #e6edf7;
  position: relative; overflow: hidden;
}
.package-section::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(34,211,238,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34,211,238,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.package-section .container { position: relative; z-index: 2; }
.package-section h2 { color: #fff; }
.package-section p { color: rgba(230,237,247,0.75); }

.package-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 56px;
}
@media (max-width: 1023px) { .package-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .package-grid { grid-template-columns: 1fr; } }

.package-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(34, 211, 238, 0.18);
  backdrop-filter: blur(12px);
  border-radius: var(--r-md);
  padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
  color: inherit;
  transition: all var(--t-med) var(--ease);
  position: relative; overflow: hidden;
}
.package-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 22px 50px -12px rgba(34,211,238,0.35);
}
.package-card .pkg-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(34,211,238,0.12);
  border: 1px solid rgba(34,211,238,0.3);
  display: grid; place-items: center;
  color: var(--accent);
}
.package-card .pkg-icon svg { width: 22px; height: 22px; }
.package-card h4 { color: #fff; margin: 0; font-size: 1rem; font-weight: 600; }
.package-card p { color: rgba(230,237,247,0.65); font-size: 13.5px; margin: 0; line-height: 1.55; }

/* ---------- TESTIMONIALS ---------- */
.testimonial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }

.testimonial {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
  transition: all var(--t-med) var(--ease);
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--accent-soft); }
.testimonial::before {
  content: "“"; position: absolute; top: 12px; right: 24px;
  font-family: var(--font-serif); font-size: 6rem; line-height: 1;
  color: var(--accent-soft);
  font-style: italic;
}
.testimonial .stars { color: var(--accent-3); font-size: 16px; letter-spacing: 3px; }
.testimonial blockquote { margin: 0; font-size: 0.96rem; line-height: 1.65; color: var(--ink-2); }
.testimonial .author { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); margin-top: auto; }
.testimonial .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04131a; display: grid; place-items: center; font-weight: 700;
  font-family: var(--font-display);
}
.testimonial .author-name { font-weight: 600; font-size: 14px; }
.testimonial .author-meta { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.06em; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
  color: var(--ink); text-align: left;
  cursor: pointer;
}
.faq-q .toggle {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center; flex: none; margin-left: 16px;
  transition: all var(--t-fast) var(--ease);
}
.faq-q .toggle::before {
  content: "+"; font-family: var(--font-mono); font-size: 18px;
  color: var(--accent); line-height: 1;
  transition: transform var(--t-fast) var(--ease);
}
.faq-item[open] .toggle { background: var(--accent); border-color: var(--accent); }
.faq-item[open] .toggle::before { content: "−"; color: #04131a; }
.faq-a {
  padding-top: 12px; color: var(--ink-2); font-size: 15px;
  max-width: 720px;
}

/* ---------- CTA BAND ---------- */
.cta-band {
  background:
    radial-gradient(700px 400px at 80% 0%, rgba(34,211,238,0.4), transparent 60%),
    linear-gradient(135deg, #0e2a35 0%, #04131a 100%);
  color: #e6edf7;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(34,211,238,0.18) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; max-width: 760px; margin: 0 auto 20px; }
.cta-band p { color: rgba(230,237,247,0.8); max-width: 600px; margin: 0 auto 28px; font-size: 1.08rem; }
.cta-band .btn-primary { background: #fff; color: #04131a; }
.cta-band .btn-primary:hover { background: var(--accent); }

/* ---------- SERVICE AREAS ---------- */
.areas {
  background: var(--bg-alt);
}
.areas-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center;
}
@media (max-width: 900px) { .areas-grid { grid-template-columns: 1fr; } }
.areas-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.areas-list a {
  padding: 13px 16px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink-2); font-size: 14px; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  transition: all var(--t-fast) var(--ease);
  font-family: var(--font-mono); letter-spacing: 0.02em;
}
.areas-list a::before { content: "▸"; color: var(--accent); transition: transform var(--t-fast) var(--ease); }
.areas-list a:hover { border-color: var(--accent); color: var(--accent); transform: translateX(3px); }
.areas-list a:hover::before { transform: translateX(2px); }

/* ---------- QUOTE EMBED ---------- */
.quote-iframe-container {
  max-width: 940px; margin: 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 12px;
  background: var(--bg-elev);
  box-shadow: var(--sh-3);
  position: relative;
}
.quote-iframe-container::before {
  content: ""; position: absolute; inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  z-index: -1;
  opacity: 0.4;
}
.quote-iframe-container iframe {
  width: 100%; height: 720px; border: 0; display: block;
  border-radius: calc(var(--r-lg) - 12px);
}

/* ---------- FOOTER ---------- */
.footer {
  background: #04131a;
  color: rgba(230,237,247,0.72);
  padding: 80px 0 32px;
  border-top: 1px solid rgba(34,211,238,0.18);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 50px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 {
  color: #fff; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 18px;
}
.footer ul li { margin-bottom: 10px; }
.footer a { color: rgba(230,237,247,0.65); font-size: 14px; transition: color var(--t-fast) var(--ease); }
.footer a:hover { color: var(--accent); }
.footer-meta {
  border-top: 1px solid rgba(34,211,238,0.12);
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em;
  color: rgba(230,237,247,0.5);
}

/* ---------- FAB / FLOATING ACTIONS ---------- */
.floating-actions {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  display: flex; flex-direction: column; gap: 12px;
}
.fab {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; box-shadow: 0 14px 36px -8px rgba(0,0,0,0.5);
  transition: transform var(--t-fast) var(--ease);
  border: 2px solid rgba(255,255,255,0.12);
}
.fab:hover { transform: translateY(-3px) scale(1.04); }
.fab svg { width: 22px; height: 22px; }
.fab-phone {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04131a;
  box-shadow: 0 14px 36px -8px rgba(34,211,238,0.55), 0 0 0 1px rgba(34,211,238,0.5);
}
.fab-quote {
  background: linear-gradient(135deg, var(--accent-3), #65a30d);
  color: #04131a;
  box-shadow: 0 14px 36px -8px rgba(163,230,53,0.5), 0 0 0 1px rgba(163,230,53,0.45);
}
.fab-label {
  position: absolute; right: 64px; top: 50%; transform: translateY(-50%);
  background: var(--bg-elev); color: var(--ink);
  padding: 6px 12px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  border: 1px solid var(--line-strong);
  white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity var(--t-fast) var(--ease);
  box-shadow: var(--sh-2);
}
.fab:hover .fab-label { opacity: 1; }
.fab { position: relative; }

/* ---------- STICKY MOBILE CTA ---------- */
.sticky-cta {
  display: none;
}
@media (max-width: 640px) {
  .sticky-cta {
    display: flex; gap: 8px; align-items: center;
    position: fixed; bottom: 12px; left: 12px; right: 12px; z-index: 60;
    background: var(--bg-elev);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-pill);
    padding: 8px 8px 8px 16px;
    box-shadow: 0 22px 48px -12px rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);
  }
  .sticky-cta-text { font-family: var(--font-mono); font-size: 11px; flex: 1; color: var(--ink-2); letter-spacing: 0.04em; }
  .sticky-cta .btn { padding: 10px 14px; font-size: 12px; }
  .floating-actions { bottom: 78px; }
}

/* ---------- PAGE HERO (subpages) ---------- */
.page-hero {
  padding: clamp(64px, 8vw, 110px) 0 clamp(48px, 6vw, 80px);
  background:
    radial-gradient(900px 400px at 80% -10%, rgba(34,211,238,0.18), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(34,211,238,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34,211,238,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 80%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.6rem); max-width: 900px; }
.page-hero p { max-width: 760px; font-size: 1.1rem; color: var(--ink-2); }
.breadcrumbs { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.breadcrumbs a { color: var(--ink-3); transition: color var(--t-fast) var(--ease); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { margin: 0 8px; color: var(--accent-soft); }

/* ---------- REVEAL ANIMATIONS ---------- */
/* JS adds .js-reveal-ready to <html> on init; only then do we hide pre-reveal.
   This guarantees content is visible if JS fails / for crawlers / for full-page screenshots. */
.js-reveal-ready .reveal,
.js-reveal-ready .reveal-stagger > *,
.js-reveal-ready .auto-reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible,
.reveal-stagger.is-visible > *,
.auto-reveal.is-visible { opacity: 1; transform: none; }

/* Direction variants — auto-reveal of side rails / accents slide from the side */
.js-reveal-ready .auto-reveal.from-left  { transform: translate(-22px, 0); }
.js-reveal-ready .auto-reveal.from-right { transform: translate(22px, 0); }
.js-reveal-ready .auto-reveal.from-up    { transform: translate(0, -16px); }

/* Mobile: shorten distance so it doesn't feel sluggish on narrow screens */
@media (max-width: 640px) {
  .js-reveal-ready .reveal,
  .js-reveal-ready .reveal-stagger > *,
  .js-reveal-ready .auto-reveal { transform: translateY(12px); transition-duration: 0.5s; }
  .js-reveal-ready .auto-reveal.from-left  { transform: translate(-12px, 0); }
  .js-reveal-ready .auto-reveal.from-right { transform: translate(12px, 0); }
  .js-reveal-ready .auto-reveal.from-up    { transform: translate(0, -10px); }
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.22s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.34s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.40s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.46s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ---------- SECTION HEAD ---------- */
.section-head {
  text-align: center; max-width: 760px; margin: 0 auto 56px;
}
.section-head.left { text-align: left; margin-left: 0; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--ink-3); font-size: 1.06rem; }

/* ============================================================
   MOTION LAYER — Oryn-inspired page-load + interaction feel
   ============================================================ */

/* Hero copy entrance — staggered slide+fade with blur clear */
@keyframes oryn-rise {
  0%   { opacity: 0; transform: translateY(28px); filter: blur(6px); letter-spacing: 0.02em; }
  100% { opacity: 1; transform: none; filter: blur(0); letter-spacing: -0.035em; }
}
.hero h1 { animation: oryn-rise 1s var(--ease-out) both; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-3) 35%, var(--accent) 70%, var(--accent-3) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: oryn-shimmer 7s linear infinite;
}
@keyframes oryn-shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 250% 50%; }
}
.hero .eyebrow { animation: oryn-rise 0.8s var(--ease-out) 0.05s both; }
.hero-sub      { animation: oryn-rise 0.9s var(--ease-out) 0.18s both; }
.hero-actions  { animation: oryn-rise 0.9s var(--ease-out) 0.30s both; }
.hero-meta     { animation: oryn-rise 0.9s var(--ease-out) 0.42s both; }

/* Button shine-sweep */
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
  pointer-events: none;
}
.btn-primary:hover::after { transform: translateX(120%); }

/* Button outline glow on focus */
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Phone-link micro-pulse */
.phone-link svg { animation: phone-ring 2.6s var(--ease) infinite; transform-origin: center; }
@keyframes phone-ring {
  0%, 92%, 100% { transform: rotate(0); }
  94% { transform: rotate(-12deg); }
  96% { transform: rotate(12deg); }
  98% { transform: rotate(-6deg); }
}

/* Logo mark — gentle ambient glow pulse */
.logo-mark {
  animation: mark-pulse 3.5s var(--ease) infinite;
}
@keyframes mark-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(34,211,238,0.4), 0 8px 22px -8px var(--accent-glow); }
  50%      { box-shadow: 0 0 0 1px rgba(34,211,238,0.7), 0 12px 36px -6px rgba(34,211,238,0.55); }
}

/* Feature card — animated border trace on hover */
.feature-card {
  position: relative;
}
.feature-card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, var(--accent) 80%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0; transition: opacity var(--t-fast) var(--ease);
  pointer-events: none;
  animation: ang-spin 6s linear infinite;
}
.feature-card:hover::after { opacity: 1; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ang-spin { to { --ang: 360deg; } }

/* Service card — image cell parallax-ish on hover */
.service-card .service-illu svg {
  transition: transform 0.6s var(--ease-out);
}
.service-card:hover .service-illu svg { transform: scale(1.06) rotate(-1deg); }
.service-card .service-illu::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(34,211,238,0.18) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform 0.9s var(--ease-out);
  pointer-events: none;
}
.service-card:hover .service-illu::after { transform: translateX(110%); }

/* Package card — animated halo */
.package-card { position: relative; }
.package-card .pkg-icon { transition: transform var(--t-med) var(--ease), background var(--t-fast) var(--ease); }
.package-card:hover .pkg-icon { transform: scale(1.08) rotate(-4deg); background: rgba(34,211,238,0.22); }

/* Testimonials — gentle hover lift already defined; add quote fade-in */
.testimonial::before {
  transition: transform 0.5s var(--ease), color 0.3s var(--ease);
}
.testimonial:hover::before { transform: translate(-4px, -4px) scale(1.06); color: var(--accent); }

/* FAB — radar-ping background */
.fab-quote::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(34,211,238,0.7);
  animation: fab-ping 2.4s var(--ease) infinite;
  pointer-events: none;
}
@keyframes fab-ping {
  0%   { box-shadow: 0 0 0 0 rgba(34,211,238,0.55); }
  70%  { box-shadow: 0 0 0 18px rgba(34,211,238,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); }
}

/* Trust strip — subtle row drift */
.trust-strip-inner > div {
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.trust-strip-inner > div:hover { color: var(--accent); transform: translateY(-2px); }

/* Scroll-progress bar at top */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-3) 100%);
  transform-origin: left; transform: scaleX(var(--p, 0));
  z-index: 99; pointer-events: none;
  box-shadow: 0 0 12px var(--accent);
}

/* Areas list — tick-stagger entrance when in view */
.areas-list.is-visible a {
  animation: area-in 0.5s var(--ease-out) both;
}
.areas-list.is-visible a:nth-child(1) { animation-delay: 0.04s; }
.areas-list.is-visible a:nth-child(2) { animation-delay: 0.08s; }
.areas-list.is-visible a:nth-child(3) { animation-delay: 0.12s; }
.areas-list.is-visible a:nth-child(4) { animation-delay: 0.16s; }
.areas-list.is-visible a:nth-child(5) { animation-delay: 0.20s; }
.areas-list.is-visible a:nth-child(6) { animation-delay: 0.24s; }
.areas-list.is-visible a:nth-child(7) { animation-delay: 0.28s; }
.areas-list.is-visible a:nth-child(8) { animation-delay: 0.32s; }
.areas-list.is-visible a:nth-child(n+9) { animation-delay: 0.36s; }
@keyframes area-in {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   BLUEPRINT HERO SVG — animation
   ============================================================ */
.blueprint {
  position: relative;
  width: 100%; max-width: 640px;
  margin: 0 auto;
  padding: 0;
  border: 1px solid rgba(34,211,238,0.32);
  border-radius: var(--r-md);
  background: #06101e;
  box-shadow:
    0 0 0 1px rgba(34,211,238,0.08),
    0 30px 80px -20px rgba(34,211,238,0.30),
    inset 0 0 60px rgba(34,211,238,0.06);
  overflow: hidden;
  isolation: isolate;
}
.blueprint::before {
  /* paper-grain wash */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(34,211,238,0.05) 1px, transparent 0);
  background-size: 6px 6px;
  mix-blend-mode: screen;
  z-index: 1;
}
.blueprint::after {
  /* slow scanline drift */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(34,211,238,0.05) 50%, transparent 100%);
  height: 25%;
  animation: bp-scanline 6s linear infinite;
  z-index: 2;
}
@keyframes bp-scanline {
  0%   { transform: translateY(-30%); opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.8; }
  100% { transform: translateY(420%); opacity: 0; }
}
.blueprint-svg {
  width: 100%; height: auto; display: block;
  position: relative; z-index: 0;
}

/* Real-world inset photo: floating panel that anchors the brand to a real home.
   Positioned over the bottom-left of the blueprint, drafting-style border, polaroid feel. */
.blueprint-inset {
  position: absolute;
  top: 18%; left: -38px;
  width: 42%;
  max-width: 250px;
  z-index: 4;
  background: #04131a;
  border: 1px solid rgba(34,211,238,0.55);
  padding: 9px 9px 30px 9px;
  box-shadow:
    0 0 0 1px rgba(34,211,238,0.18),
    0 28px 48px -16px rgba(34,211,238,0.45),
    0 12px 28px -10px rgba(0,0,0,0.7);
  transform: rotate(-3.5deg);
  transition: transform 0.5s var(--ease-out);
}
.blueprint-inset:hover { transform: rotate(0deg) scale(1.05); }
.blueprint-inset img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(1.05) contrast(1.05);
}
.blueprint-inset::before {
  /* corner brackets */
  content: ""; position: absolute; inset: 4px;
  border: 1px dashed rgba(34,211,238,0.25);
  pointer-events: none;
}
.blueprint-inset-tag {
  position: absolute;
  bottom: 6px; left: 12px; right: 12px;
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.18em;
  color: rgba(34,211,238,0.85);
  text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 1023px) {
  .blueprint-inset { display: none; } /* keep mobile clean */
}

/* Reticle slow rotation */
.bp-reticle { transform-origin: 360px 360px; animation: bp-rotate 60s linear infinite; }
@keyframes bp-rotate { to { transform: rotate(360deg); } }

/* Sweep line (radar) */
.bp-sweep {
  transform-origin: 360px 360px;
  animation: bp-sweep 3.8s linear infinite;
}
@keyframes bp-sweep { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Checkpoint dots — staggered pulse */
.bp-dots circle {
  transform-origin: center; transform-box: fill-box;
  animation: bp-dot 2.4s var(--ease) infinite;
}
.bp-dots circle:nth-child(odd)  { animation-delay: 0s; }
.bp-dots circle:nth-child(3n)   { animation-delay: 0.4s; }
.bp-dots circle:nth-child(4n)   { animation-delay: 0.8s; }
.bp-dots circle:nth-child(5n)   { animation-delay: 1.2s; }
@keyframes bp-dot {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.4); }
}

/* Severity flags — fade in sequentially */
.bp-flag { opacity: 0; animation: bp-flag 0.7s var(--ease-out) both; }
.bp-flag--ok    { animation-delay: 1.0s; }
.bp-flag--warn  { animation-delay: 1.6s; }
.bp-flag--alert { animation-delay: 2.2s; }
.bp-flag:nth-of-type(1) { animation-delay: 0.8s; }
.bp-flag:nth-of-type(2) { animation-delay: 1.2s; }
.bp-flag:nth-of-type(3) { animation-delay: 1.6s; }
.bp-flag:nth-of-type(4) { animation-delay: 2.0s; }
.bp-flag:nth-of-type(5) { animation-delay: 2.4s; }
@keyframes bp-flag {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 1023px) {
  .blueprint { max-width: 520px; margin-top: 32px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero .eyebrow, .hero-sub, .hero-actions, .hero-meta,
  .bp-reticle, .bp-sweep, .bp-dots circle, .bp-flag,
  .logo-mark, .phone-link svg, .fab-quote::before, .blueprint::after,
  .hero h1 .accent {
    animation: none !important;
  }
  .bp-flag { opacity: 1; }
}

/* ---------- UTILITY ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #04131a;
  padding: 12px 20px; font-weight: 600; z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }
