/* ============================================================
   FrontlineDNA — Whole-person health for first responders
   An extension of PhysioDNA
   Design: tactical-clinical · dark-first · DNA helix motif
   ============================================================ */

:root {
  /* Palette — graphite + clinical teal + frontline orange */
  --ink:        #0b1116;
  --ink-2:      #101820;
  --ink-3:      #17222b;
  --ink-line:   #24313c;
  --teal:       #0bb8b6;
  --teal-deep:  #048c9c;
  --teal-glow:  rgba(11, 184, 182, 0.14);
  --orange:     #ff6900;
  --orange-dk:  #d95a00;
  --paper:      #f5f4ef;
  --paper-2:    #ebe9e0;
  --white:      #ffffff;
  --text:       #24313b;
  --muted:      #55636d;
  --muted-dark: #93a3ad;
  --line:       #ddd9cd;
  --crisis:     #c92f2f;

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --maxw: 1200px;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow: 0 2px 14px rgba(11, 17, 22, 0.07);
  --shadow-md: 0 10px 34px rgba(11, 17, 22, 0.12);
  --shadow-lg: 0 24px 64px rgba(11, 17, 22, 0.18);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.015em;
  margin: 0 0 0.4em;
  color: var(--ink);
}

h1 { font-size: clamp(3rem, 7.5vw, 5.6rem); font-weight: 700; }
h2 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.55rem; letter-spacing: 0.02em; }
h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
  color: inherit;
}

p { margin: 0 0 1rem; }

a { color: var(--teal-deep); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--ink); }

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

ul { margin: 0; padding: 0; list-style: none; }

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

::selection { background: var(--teal); color: var(--ink); }

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 300;
  background: var(--teal);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 6rem 0; }
.section--tight { padding: 3.5rem 0; }
.section--paper2 { background: var(--paper-2); }
.section--dark {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(11, 184, 182, 0.09), transparent 60%),
    var(--ink);
  color: #e8eef1;
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: #f4f7f8; }
.section--dark .lead { color: var(--muted-dark); }

.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-deep));
  border-radius: 2px;
}
.section-head.center .eyebrow::after {
  content: "";
  width: 26px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal));
  border-radius: 2px;
}
.section--dark .eyebrow { color: var(--teal); }

.lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 40rem;
}
.lead-tight { margin-bottom: 0; }

.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.8rem 1.7rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
              background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 26px rgba(255, 105, 0, 0.32);
}
.btn-primary:hover {
  background: var(--orange-dk);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 105, 0, 0.4);
}

.btn-teal {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(11, 184, 182, 0.3);
}
.btn-teal:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(11, 184, 182, 0.4);
}

.btn-ghost {
  border-color: rgba(36, 49, 59, 0.35);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: transparent;
}
.btn-ghost-light:hover { border-color: #fff; color: #fff; transform: translateY(-2px); }

/* ---------- Crisis bar ---------- */
.crisis {
  background: var(--crisis);
  color: #fff;
  font-size: 0.86rem;
  text-align: center;
  padding: 0.5rem 1rem;
  position: relative;
  z-index: 120;
}
.crisis a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.crisis a:hover { color: #ffe1e1; }

/* ---------- Utility bar ---------- */
.topbar {
  background: var(--ink);
  color: var(--muted-dark);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--ink-line);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}
.topbar a { color: #cfd9de; font-weight: 600; }
.topbar a:hover { color: var(--teal); }
.topbar .topbar-line { display: flex; align-items: center; gap: 0.5rem; }
.topbar .dna-dots { display: inline-flex; gap: 3px; }
.topbar .dna-dots i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--teal);
}
.topbar .dna-dots i:nth-child(2) { background: var(--teal-deep); }
.topbar .dna-dots i:nth-child(3) { background: #5b6b75; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 110;
  background: rgba(11, 17, 22, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35); }

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

.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand:hover { opacity: 0.92; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-word {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: #e8eef1;
  line-height: 1;
  white-space: nowrap;
}
.brand-word b {
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(120deg, var(--teal), var(--teal-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.nav-links a {
  color: #cfd9de;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.35rem 0;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--teal);
  transition: right 0.22s var(--ease);
}
.nav-links a:not(.btn):hover::after,
.nav-links a.active:not(.btn)::after { right: 0; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links .btn { min-height: 44px; padding: 0.65rem 1.3rem; font-size: 1.02rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  background: none;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0 11px;
}
.nav-toggle span {
  height: 2px;
  background: #e8eef1;
  border-radius: 2px;
  transition: transform 0.22s var(--ease), opacity 0.2s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 600px at 78% 30%, rgba(11, 184, 182, 0.13), transparent 62%),
    radial-gradient(700px 480px at 8% 90%, rgba(255, 105, 0, 0.06), transparent 60%),
    var(--ink);
  color: #e8eef1;
  padding: 6.5rem 0 0;
}
.hero::before {
  /* dot-grid texture */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(233, 240, 243, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(11, 184, 182, 0.4);
  background: rgba(11, 184, 182, 0.08);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.8); }
}

.hero h1 { color: #f6f9fa; margin-bottom: 1.3rem; }
.hero h1 .hl-teal {
  background: linear-gradient(120deg, var(--teal), var(--teal-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .hl-orange { color: var(--orange); }

.hero .lead { color: var(--muted-dark); font-size: 1.22rem; max-width: 34rem; margin-bottom: 2rem; }
.hero .lead strong { color: #dbe5ea; font-weight: 600; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.2rem; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  padding-bottom: 3.5rem;
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #b8c6cd;
}
.hero-trust-item svg { width: 18px; height: 18px; color: var(--teal); }

.hero-visual {
  position: relative;
  min-height: 420px;
}
#helix-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-visual .hero-photo-wrap {
  position: relative;
  z-index: 0;
  min-height: 420px;
}

.hero-stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--ink-line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-stat {
  padding: 1.7rem 1.5rem 1.9rem;
  border-right: 1px solid var(--ink-line);
}
.hero-stat:last-child { border-right: 0; }
.hero-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--teal);
  letter-spacing: 0.01em;
}
.hero-stat b em { font-style: normal; color: var(--orange); }
.hero-stat span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.84rem;
  color: var(--muted-dark);
  line-height: 1.4;
}

/* ---------- Duty photo strip (no-face TPS imagery) ---------- */
.photo-strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 0.5rem;
  padding: 0.5rem;
  background: var(--ink);
}
.photo-strip figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  min-height: 180px;
  background: var(--ink-3);
}
.photo-strip figure:first-child {
  min-height: 280px;
  grid-row: span 1;
}
.photo-strip img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.photo-strip figure:hover img {
  transform: scale(1.04);
}
.photo-strip figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem 0.85rem 0.7rem;
  background: linear-gradient(to top, rgba(11,17,22,0.85), transparent);
  color: #dbe5ea;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.photo-banner {
  position: relative;
  min-height: clamp(240px, 36vw, 420px);
  overflow: hidden;
  background: var(--ink);
}
.photo-banner img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}
.photo-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,17,22,0.82) 0%, rgba(11,17,22,0.35) 55%, rgba(11,17,22,0.55) 100%);
}
.photo-banner-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 0;
  color: #e8eef1;
}
.photo-banner-content h2 {
  color: #f6f9fa;
  max-width: 14ch;
  margin-bottom: 0.6rem;
}
.photo-banner-content p {
  color: var(--muted-dark);
  max-width: 36ch;
  margin: 0;
  font-size: 1.05rem;
}

.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--paper-2);
  aspect-ratio: 4 / 3;
}
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame figcaption {
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0.65rem 0.85rem;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.section--dark .media-frame {
  border-color: var(--ink-line);
}
.section--dark .media-frame figcaption {
  background: var(--ink-3);
  color: var(--muted-dark);
  border-top-color: var(--ink-line);
}

.photo-duo {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.75rem;
}
.photo-duo .media-frame { aspect-ratio: 1 / 1; min-height: 220px; }
.photo-duo .media-frame:first-child { aspect-ratio: 4 / 5; }

.img-credit {
  font-size: 0.72rem;
  color: #6d7d87;
  text-align: center;
  padding: 0.65rem 1rem 0;
}

/* ---------- Clinic showcase (PhysioDNA space) ---------- */
.clinic-showcase {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0.75rem;
  align-items: stretch;
}
.clinic-showcase-main {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--paper-2);
}
.clinic-showcase-main img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.clinic-showcase-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0.75rem;
}
.clinic-showcase-side figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 170px;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.clinic-showcase-side img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.clinic-showcase-side figure:hover img,
.clinic-showcase-main:hover img {
  transform: scale(1.03);
}
.clinic-showcase-main figcaption,
.clinic-showcase-side figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.5rem 0.9rem 0.7rem;
  background: linear-gradient(to top, rgba(11,17,22,0.78), transparent);
  color: #e8eef1;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .clinic-showcase {
    grid-template-columns: 1fr;
  }
  .clinic-showcase-main,
  .clinic-showcase-main img {
    min-height: 260px;
  }
  .clinic-showcase-side {
    grid-template-rows: none;
    grid-template-columns: 1fr 1fr;
  }
}

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

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink-2);
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  overflow: hidden;
  padding: 1.05rem 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  padding-right: 1.6rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7e909b;
  white-space: nowrap;
}
.marquee-item i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  flex: none;
}
.marquee-item:nth-child(even) i { background: var(--orange); }

/* ---------- Pillar cards ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.pillar {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem 1.7rem;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s ease;
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--teal-deep));
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(4, 140, 156, 0.4);
}
.pillar:hover::before { transform: scaleX(1); }
.pillar-num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(4, 140, 156, 0.45);
  margin-bottom: 1rem;
}
.pillar h3 { margin-bottom: 0.5rem; }
.pillar > p { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.1rem; }
.pillar ul li {
  position: relative;
  font-size: 0.9rem;
  color: var(--text);
  padding: 0.32rem 0 0.32rem 1.15rem;
}
.pillar ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.85em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.pillar-tag {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

/* ---------- Audience (who we serve) ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.audience-tile {
  background: var(--ink-3);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
  transition: transform 0.25s var(--ease), border-color 0.25s ease, background 0.25s ease;
}
.audience-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(11, 184, 182, 0.55);
  background: #1b2831;
}
.audience-tile .a-icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(11, 184, 182, 0.12);
  color: var(--teal);
  margin-bottom: 1.1rem;
}
.audience-tile .a-icon svg { width: 24px; height: 24px; }
.audience-tile h3 { color: #f4f7f8; font-size: 1.4rem; margin-bottom: 0.35rem; }
.audience-tile p { font-size: 0.92rem; color: var(--muted-dark); margin: 0; }
.audience-note {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  text-align: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--ink-line);
  background: var(--ink-3);
  color: #c4d0d7;
  font-size: 0.85rem;
  font-weight: 600;
}
.chip--live {
  border-color: rgba(255, 105, 0, 0.55);
  color: #ffb37a;
}
.chip--live i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
  animation: pulse 2.4s ease-in-out infinite;
}

/* ---------- Why / difference split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}
.split--start { align-items: start; }

.feature-list { display: grid; gap: 1.5rem; margin-top: 2.2rem; }
.feature { display: flex; gap: 1.1rem; align-items: flex-start; }
.feature-icon {
  flex: none;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(11, 184, 182, 0.16), rgba(4, 140, 156, 0.1));
  color: var(--teal-deep);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.feature p { font-size: 0.95rem; color: var(--muted); margin: 0; }

/* Dark stat panel with helix accent */
.dna-panel {
  position: relative;
  background:
    radial-gradient(420px 300px at 90% 0%, rgba(11, 184, 182, 0.14), transparent 65%),
    var(--ink);
  border-radius: var(--radius-lg);
  padding: 2.6rem 2.4rem;
  color: #e8eef1;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.dna-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(233, 240, 243, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.dna-panel .panel-row {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--ink-line);
}
.dna-panel .panel-row:last-child { border-bottom: 0; }
.dna-panel .panel-row b {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  min-width: 7.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.dna-panel .panel-row span { font-size: 0.92rem; color: var(--muted-dark); line-height: 1.5; padding-top: 0.2rem; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem 1.8rem 1.9rem;
  counter-increment: step;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step::before {
  content: "0" counter(step);
  position: absolute;
  top: -1.35rem;
  left: 1.6rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--paper);
  -webkit-text-stroke: 1.5px var(--teal-deep);
  background: transparent;
}
.section--paper2 .step::before { color: var(--paper-2); }
.step h3 { margin: 0.6rem 0 0.5rem; }
.step p { font-size: 0.95rem; color: var(--muted); margin: 0; }
.steps { margin-top: 1.8rem; }

/* ---------- Confidentiality band ---------- */
.trust-band {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  background:
    radial-gradient(500px 240px at 12% 50%, rgba(11, 184, 182, 0.2), transparent 70%),
    linear-gradient(120deg, #0d2b31, var(--ink));
  border: 1px solid rgba(11, 184, 182, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.6rem;
  color: #e8eef1;
}
.trust-band-icon {
  flex: none;
  width: 62px; height: 62px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(11, 184, 182, 0.15);
  color: var(--teal);
}
.trust-band-icon svg { width: 30px; height: 30px; }
.trust-band h3 { color: #f4f7f8; margin-bottom: 0.3rem; }
.trust-band p { color: var(--muted-dark); margin: 0; font-size: 0.98rem; max-width: 44rem; }
.trust-band .btn { margin-left: auto; flex: none; }

/* ---------- Benefit cards ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.benefit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.benefit-card .mini-icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(11, 184, 182, 0.16), rgba(4, 140, 156, 0.1));
  color: var(--teal-deep);
  margin-bottom: 1rem;
}
.benefit-card .mini-icon svg { width: 22px; height: 22px; }
.benefit-card h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.benefit-card p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; margin: 0 auto; display: grid; gap: 0.8rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.section--dark .faq details { background: var(--ink-3); border-color: var(--ink-line); }
.faq details[open] { border-color: rgba(4, 140, 156, 0.55); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}
.section--dark .faq summary { color: #eef3f5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  border-right: 2px solid var(--teal-deep);
  border-bottom: 2px solid var(--teal-deep);
  transform: rotate(45deg);
  transition: transform 0.22s var(--ease);
  margin-right: 0.2rem;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq-body {
  padding: 0 1.4rem 1.25rem;
  color: var(--muted);
  font-size: 0.96rem;
}
.section--dark .faq-body { color: var(--muted-dark); }

/* ---------- Locations ---------- */
.location-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.location-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.location-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.location-card .loc-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-dk);
  background: rgba(255, 105, 0, 0.1);
  border: 1px solid rgba(255, 105, 0, 0.3);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  margin-bottom: 1rem;
}
.location-card .loc-tag--teal {
  color: var(--teal-deep);
  background: rgba(11, 184, 182, 0.1);
  border-color: rgba(4, 140, 156, 0.3);
}
.location-card h3 { margin-bottom: 0.3rem; }
.location-card p { font-size: 0.92rem; color: var(--muted); margin-bottom: 0.6rem; }
.location-card .loc-meta { font-size: 0.85rem; color: var(--muted); }
.location-card .loc-meta strong { color: var(--text); }

/* ---------- Contact ---------- */
.contact-list { display: grid; gap: 1.3rem; margin-top: 1.8rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; font-size: 0.98rem; }
.contact-list svg { flex: none; width: 22px; height: 22px; color: var(--teal-deep); margin-top: 0.15rem; }

.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: grid; gap: 0.4rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.req { color: var(--crisis); }
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 0.97rem;
  color: var(--text);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal-deep);
  box-shadow: 0 0 0 3px rgba(11, 184, 182, 0.18);
}
.form-error {
  display: none;
  font-size: 0.82rem;
  color: var(--crisis);
  font-weight: 600;
}
.form-field.has-error .form-error { display: block; }
.form-field.has-error input,
.form-field.has-error textarea { border-color: var(--crisis); }
.form-success {
  display: none;
  grid-column: 1 / -1;
  background: rgba(11, 184, 182, 0.12);
  border: 1px solid rgba(4, 140, 156, 0.4);
  color: #0b525c;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
}
.form-success.show { display: block; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.form-hint { font-size: 0.84rem; color: var(--muted); margin: 0; }

/* ---------- Final CTA ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(700px 380px at 50% 120%, rgba(255, 105, 0, 0.16), transparent 65%),
    radial-gradient(800px 420px at 50% -30%, rgba(11, 184, 182, 0.18), transparent 62%),
    var(--ink);
  border-radius: var(--radius-lg);
  padding: 4.5rem 2.5rem;
  color: #e8eef1;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(233, 240, 243, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.cta-band h2 { color: #f6f9fa; font-size: clamp(2.6rem, 5.4vw, 4.2rem); margin-bottom: 0.8rem; }
.cta-band p { color: var(--muted-dark); max-width: 36rem; margin: 0 auto 2.2rem; }
.cta-band .hero-cta { justify-content: center; margin-bottom: 0; position: relative; z-index: 1; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 420px at 82% 20%, rgba(11, 184, 182, 0.14), transparent 62%),
    var(--ink);
  color: #e8eef1;
  padding: 5.5rem 0 4.5rem;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(233, 240, 243, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #f6f9fa; font-size: clamp(2.8rem, 6vw, 4.6rem); }
.page-hero .lead { color: var(--muted-dark); margin-bottom: 0; }
.page-hero .hero-cta { margin-top: 2rem; margin-bottom: 0; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.team-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper-2);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.team-body { padding: 1.2rem 1.15rem 1.4rem; }
.team-card h3 {
  font-size: 1.25rem;
  margin: 0 0 0.25rem;
  text-transform: none;
  letter-spacing: 0;
}
.team-card .team-role {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 0.55rem;
  line-height: 1.35;
  font-family: var(--font-body);
}
.team-card .team-body > p:not(.team-role) {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.team-grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

/* Photo hero with overlay (police-relatable) */
.hero-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-line);
}
.hero-photo-wrap img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center 25%;
}
.hero-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(11, 17, 22, 0.15) 0%, rgba(11, 17, 22, 0.55) 100%);
  pointer-events: none;
}
.hero-photo-caption {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e8eef1;
  background: rgba(11, 17, 22, 0.65);
  border: 1px solid rgba(11, 184, 182, 0.35);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.media-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--paper-2);
  aspect-ratio: 4 / 3;
}
.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(4, 140, 156, 0.4);
}
.service-card .mini-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(11, 184, 182, 0.16), rgba(4, 140, 156, 0.1));
  color: var(--teal-deep);
  margin-bottom: 1.1rem;
}
.service-card .mini-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 0.45rem; }
.service-card p { font-size: 0.94rem; color: var(--muted); margin: 0; }

/* ---------- Values (about) ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.value {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value .v-icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(11, 184, 182, 0.16), rgba(4, 140, 156, 0.1));
  color: var(--teal-deep);
  margin-bottom: 1rem;
}
.value .v-icon svg { width: 22px; height: 22px; }
.value h3 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.value p { font-size: 0.94rem; color: var(--muted); margin: 0; }

/* ---------- Timeline (about roadmap) ---------- */
.timeline { display: grid; gap: 0; max-width: 44rem; }
.timeline-item {
  position: relative;
  padding: 0 0 2.2rem 2.6rem;
  border-left: 2px solid var(--line);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -8px; top: 0.3rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--teal-deep);
}
.timeline-item--now::before {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 105, 0, 0.18);
}
.timeline-item h3 { margin-bottom: 0.25rem; }
.timeline-item p { font-size: 0.95rem; color: var(--muted); margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--muted-dark);
  padding: 4rem 0 0;
  border-top: 1px solid var(--ink-line);
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.site-footer .brand-word { color: #e8eef1; }
.site-footer p { margin-top: 1rem; max-width: 22rem; }
.site-footer h4 {
  color: #f4f7f8;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer ul { display: grid; gap: 0.55rem; }
.site-footer a { color: var(--muted-dark); }
.site-footer a:hover { color: var(--teal); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  border-top: 1px solid var(--ink-line);
  padding: 1.3rem 0 1.5rem;
  font-size: 0.84rem;
  color: #6d7d87;
}

/* ---------- Mobile CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 105;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(11, 17, 22, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--ink-line);
}
.mobile-cta .btn { width: 100%; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .hero-badge .dot, .chip--live i { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 280px; margin-top: 0.5rem; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid, .location-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: 0; }
  .hero-stat:nth-child(-n+2) { border-bottom: 1px solid var(--ink-line); }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip figure:first-child { min-height: 200px; }
  .photo-duo { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 4rem 0; }
  .topbar .topbar-right { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    background: var(--ink-2);
    border-bottom: 1px solid var(--ink-line);
    padding: 1.2rem 1.5rem 1.6rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s var(--ease);
    z-index: 109;
  }
  body.nav-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 0.6rem 0; font-size: 1.05rem; }
  .nav-links .btn { margin-top: 0.5rem; }
  .hero { padding-top: 4rem; }
  .hero-trust { padding-bottom: 2.5rem; }
  .pillars, .audience-grid, .steps, .values,
  .benefit-grid, .location-grid, .service-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .photo-strip { grid-template-columns: 1fr 1fr; gap: 0.35rem; padding: 0.35rem; }
  .photo-strip figure { min-height: 140px; }
  .photo-duo { grid-template-columns: 1fr; }
  .trust-band { flex-direction: column; align-items: flex-start; gap: 1.2rem; padding: 2rem 1.6rem; }
  .trust-band .btn { margin-left: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-panel { padding: 1.5rem; }
  .cta-band { padding: 3rem 1.5rem; }
  .mobile-cta { display: block; }
  .site-footer { padding-bottom: 4.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

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