/* ==========================================================================
   BLUE TIGER WATER — design system
   Palette sampled directly from the Blue Tiger logo gradient:
   #2F1170 indigo (tail) -> #235299 royal -> #0CBEDF cyan (head).
   The slash motif echoes the angular cuts in the tiger's body.
   Type: Archivo (display) / IBM Plex Sans (body) / IBM Plex Mono (data).
   ========================================================================== */

/* ---------- Tokens: light (default) ---------- */
:root {
  color-scheme: light;

  --paper:        #F1F5FA;
  --surface:      #FFFFFF;
  --surface-2:    #E5EDF6;
  --surface-sunk: #D9E5F1;

  --ink:          #0E1233;
  --ink-2:        #26305C;
  --muted:        #5A6787;
  --muted-2:      #8190AB;

  --line:         #D5DFEC;
  --line-strong:  #B4C4D9;

  /* brand gradient stops, straight off the logo */
  --indigo:       #2F1170;
  --indigo-2:     #2A257D;
  --royal:        #235299;
  --cyan:         #0CBEDF;
  --cyan-deep:    #0A93AF;
  --cyan-bright:  #3FD4EE;

  --brand:        #1B6FA8;
  --brand-deep:   #1A4A86;
  --brand-bright: #1C84B8;
  --brand-tint:   #E2EFF8;

  /* CTA = the hot end of the logo gradient */
  --tiger:        #0CBEDF;
  --tiger-deep:   #0A93AF;
  --tiger-tint:   #DEF6FB;
  --copper: var(--tiger); --copper-deep: var(--tiger-deep); --copper-tint: var(--tiger-tint);

  --good:         #157F5E;
  --warn:         #9A6B10;
  --alert:        #B3392B;

  --on-brand:     #F3F9FE;
  --on-tiger:     #07203A;
  --on-copper:    #07203A;

  --solid-surface:#FFFFFF; --solid-surface-2:#E5EDF6;
  --solid-line:#D5DFEC;    --solid-line-strong:#B4C4D9;
  --solid-ink:#0E1233;     --solid-ink-2:#26305C;
  --solid-muted:#5A6787;   --solid-muted-2:#8190AB;
  --solid-brand:#1B6FA8;   --solid-brand-tint:#E2EFF8;

  --ring:         #1C84B8;
  --shadow-sm:  0 1px 2px rgba(14,18,51,.06), 0 2px 6px rgba(14,18,51,.05);
  --shadow-md:  0 2px 4px rgba(14,18,51,.05), 0 10px 26px -8px rgba(14,18,51,.18);
  --shadow-lg:  0 4px 8px rgba(14,18,51,.06), 0 26px 56px -18px rgba(14,18,51,.32);

  --grad-brand: linear-gradient(100deg, var(--indigo) 0%, var(--indigo-2) 22%, var(--royal) 58%, var(--cyan) 100%);

  --r-sm: 4px;  --r-md: 8px;  --r-lg: 14px;  --r-pill: 999px;

  --step--1: clamp(.80rem, .78rem + .10vw, .86rem);
  --step-0:  clamp(1.00rem, .97rem + .14vw, 1.09rem);
  --step-1:  clamp(1.18rem, 1.12rem + .28vw, 1.36rem);
  --step-2:  clamp(1.42rem, 1.31rem + .52vw, 1.80rem);
  --step-3:  clamp(1.72rem, 1.51rem + .95vw, 2.45rem);
  --step-4:  clamp(2.05rem, 1.68rem + 1.70vw, 3.35rem);
  --step-5:  clamp(2.45rem, 1.82rem + 2.85vw, 4.50rem);

  --wrap: 1180px;
  --wrap-narrow: 760px;
  --gutter: clamp(1rem, .55rem + 2.1vw, 2.5rem);

  --font-display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- Tokens: dark ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper:        #080B1E;
    --surface:      #101534;
    --surface-2:    #171E42;
    --surface-sunk: #0B0F28;
    --ink:          #E8EDF8;
    --ink-2:        #C3CDE6;
    --muted:        #94A2C0;
    --muted-2:      #7A89AB;
    --line:         #242C52;
    --line-strong:  #36406E;
    --indigo:       #3D1B8C;
    --indigo-2:     #3A2F9B;
    --royal:        #2E6AB8;
    --cyan:         #2FCDEA;
    --cyan-deep:    #1BA6C4;
    --cyan-bright:  #6ADFF3;
    --brand:        #4FB0DC;
    --brand-deep:   #1D5C96;
    --brand-bright: #7CCBEC;
    --brand-tint:   #14264A;
    --tiger:        #2FCDEA;
    --tiger-deep:   #1BA6C4;
    --tiger-tint:   #0C2B38;
    --good:         #45B98F;
    --warn:         #D2A33E;
    --alert:        #E0705C;
    --on-brand:     #050A1C;
    --on-tiger:     #04121F;
    --on-copper:    #04121F;
    --solid-surface:#101534; --solid-surface-2:#171E42;
    --solid-line:#242C52;   --solid-line-strong:#36406E;
    --solid-ink:#E8EDF8;    --solid-ink-2:#C3CDE6;
    --solid-muted:#94A2C0;  --solid-muted-2:#7A89AB;
    --solid-brand:#4FB0DC;  --solid-brand-tint:#14264A;
    --ring:         #7CCBEC;
    --shadow-sm:  0 1px 2px rgba(0,0,0,.45);
    --shadow-md:  0 2px 4px rgba(0,0,0,.38), 0 10px 26px -8px rgba(0,0,0,.6);
    --shadow-lg:  0 4px 8px rgba(0,0,0,.4), 0 26px 56px -18px rgba(0,0,0,.75);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper:        #080B1E;
  --surface:      #101534;
  --surface-2:    #171E42;
  --surface-sunk: #0B0F28;
  --ink:          #E8EDF8;
  --ink-2:        #C3CDE6;
  --muted:        #94A2C0;
  --muted-2:      #7A89AB;
  --line:         #242C52;
  --line-strong:  #36406E;
  --indigo:       #3D1B8C;
  --indigo-2:     #3A2F9B;
  --royal:        #2E6AB8;
  --cyan:         #2FCDEA;
  --cyan-deep:    #1BA6C4;
  --cyan-bright:  #6ADFF3;
  --brand:        #4FB0DC;
  --brand-deep:   #1D5C96;
  --brand-bright: #7CCBEC;
  --brand-tint:   #14264A;
  --tiger:        #2FCDEA;
  --tiger-deep:   #1BA6C4;
  --tiger-tint:   #0C2B38;
  --good:         #45B98F;
  --warn:         #D2A33E;
  --alert:        #E0705C;
  --on-brand:     #050A1C;
  --on-tiger:     #04121F;
  --on-copper:    #04121F;
  --solid-surface:#101534; --solid-surface-2:#171E42;
  --solid-line:#242C52;    --solid-line-strong:#36406E;
  --solid-ink:#E8EDF8;     --solid-ink-2:#C3CDE6;
  --solid-muted:#94A2C0;   --solid-muted-2:#7A89AB;
  --solid-brand:#4FB0DC;   --solid-brand-tint:#14264A;
  --ring:         #7CCBEC;
  --shadow-sm:  0 1px 2px rgba(0,0,0,.45);
  --shadow-md:  0 2px 4px rgba(0,0,0,.38), 0 10px 26px -8px rgba(0,0,0,.6);
  --shadow-lg:  0 4px 8px rgba(0,0,0,.4), 0 26px 56px -18px rgba(0,0,0,.75);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.022em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); letter-spacing: -.032em; }
h2 { font-size: var(--step-4); letter-spacing: -.028em; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); letter-spacing: -.014em; }
p  { margin: 0; }
a  { color: var(--brand); text-decoration-color: color-mix(in srgb, var(--brand) 40%, transparent); text-underline-offset: .18em; }
a:hover { color: var(--brand-bright); }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 3px; }

ul, ol { margin: 0; padding: 0; }
.prose { max-width: 68ch; display: flex; flex-direction: column; gap: 1.1em; color: var(--ink-2); }
.prose h2 { margin-top: .6em; }
.prose h3 { margin-top: .4em; }
.prose ul, .prose ol { padding-left: 1.2em; display: flex; flex-direction: column; gap: .5em; }
.prose li::marker { color: var(--brand); }
.prose strong { color: var(--ink); font-weight: 600; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding-block: clamp(3.25rem, 2.2rem + 4.6vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 1.9rem + 2.8vw, 4rem); }
.section--paper  { background: var(--paper); }
.section--surface{ background: var(--surface); }
.section--sunk   { background: var(--surface-sunk); }

/* Deep immersion band — the dark teal sections */
.section--deep {
  background: var(--brand-deep);
  color: var(--on-brand);
  --ink: #F3F6FE; --ink-2: #CBE0EE; --muted: #9BB9CC; --line: rgba(255,255,255,.16);
  --surface: rgba(255,255,255,.055); --surface-2: rgba(255,255,255,.09);
  --brand: #6FD8EF; --brand-bright: #9BE8F7; --brand-tint: rgba(255,255,255,.08);
  position: relative; overflow: hidden;
}
.section--deep::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(80rem 32rem at 82% -14%, rgba(12,190,223,.26), transparent 62%),
    radial-gradient(56rem 28rem at 2% 106%, rgba(47,17,112,.55), transparent 68%);
}
.section--deep > * { position: relative; z-index: 1; }

.stack { display: flex; flex-direction: column; }
.stack-2 { gap: .5rem; }  .stack-3 { gap: .75rem; } .stack-4 { gap: 1rem; }
.stack-5 { gap: 1.5rem; } .stack-6 { gap: 2rem; }   .stack-7 { gap: 3rem; }
.grid { display: grid; gap: clamp(1rem, .7rem + 1.2vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }

/* ---------- Eyebrow + measurement rail (signature device) ---------- */
.eyebrow {
  font-family: var(--font-mono); font-size: var(--step--1); font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase; color: var(--brand);
  display: inline-flex; align-items: center; gap: .6rem; margin: 0;
}
.eyebrow::before {
  content: ""; width: 1.8rem; height: 9px; flex: none;
  background-image: repeating-linear-gradient(to right, currentColor 0 1px, transparent 1px 5px);
  opacity: .75;
}
.section-head { display: flex; flex-direction: column; gap: .85rem; max-width: 46rem; }
.section-head .lede { font-size: var(--step-1); color: var(--muted); line-height: 1.5; }

/* Graduated rail: hairline ticks, used above dark bands + data blocks */
.rail {
  height: 12px; width: 100%;
  background-image: repeating-linear-gradient(to right, var(--line-strong) 0 1px, transparent 1px 12px);
  opacity: .9;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--copper); --btn-fg: var(--on-copper); --btn-bd: var(--copper);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-size: var(--step-0); font-weight: 600;
  letter-spacing: -.005em; line-height: 1.15;
  padding: .92rem 1.5rem; border-radius: var(--r-md);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: transform .14s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1.08rem 1.9rem; font-size: var(--step-1); }
.btn--primary { --btn-bg: var(--copper); --btn-fg: var(--on-copper); --btn-bd: var(--copper-deep); }
.btn--primary:hover { --btn-bg: var(--copper-deep); }
.btn--brand { --btn-bg: var(--brand); --btn-fg: var(--on-brand); --btn-bd: var(--brand-deep); }
.btn--brand:hover { --btn-bg: var(--brand-deep); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover { --btn-bd: var(--brand); --btn-bg: var(--brand-tint); --btn-fg: var(--ink); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar {
  background: var(--brand-deep); color: #DCE7F7;
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .04em;
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: center; justify-content: center; padding-block: .5rem; text-align: center; }
.topbar b { color: #fff; font-weight: 600; }
.topbar a { color: #9BE8F7; }

.nav { display: flex; align-items: center; gap: 1rem; padding-block: .8rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.16rem; letter-spacing: -.028em; line-height: 1; }
.brand-tag { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); line-height: 1; margin-top: .3rem; }

.nav-links { display: flex; align-items: center; gap: .15rem; list-style: none; }
.nav-links a {
  display: block; padding: .55rem .78rem; border-radius: var(--r-sm);
  font-size: .95rem; font-weight: 500; color: var(--ink-2); text-decoration: none;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--brand-tint); color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: .6rem; }
.nav-phone {
  display: inline-flex; flex-direction: column; line-height: 1.1; text-decoration: none; color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; letter-spacing: -.02em;
}
.nav-phone span { font-family: var(--font-mono); font-size: .62rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); color: var(--ink); cursor: pointer; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .mobile-menu[data-open="true"] ~ * { }
}
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--surface); padding: 1rem var(--gutter) 1.4rem; }
.mobile-menu[data-open="true"] { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: .1rem; margin-bottom: 1rem; }
.mobile-menu a { display: block; padding: .72rem .5rem; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }

/* ---------- Sticky mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none;
  gap: .5rem; padding: .6rem var(--gutter);
  padding-bottom: calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -12px rgba(12,29,36,.3);
}
.callbar .btn { flex: 1; padding: .85rem .6rem; font-size: .95rem; }
@media (max-width: 720px) { .callbar { display: flex; } body { padding-bottom: 4.6rem; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--brand-deep); color: #F3F6FE; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(64rem 36rem at 90% 2%, rgba(12,190,223,.34), transparent 58%),
    radial-gradient(52rem 32rem at 4% 98%, rgba(47,17,112,.72), transparent 66%),
    linear-gradient(104deg, #2A1268 0%, #26277E 26%, #1F4E93 62%, #12719F 100%);
}
/* Contour lines — aquifer strata, drawn not decorated */
.hero-strata { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.hero .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid; gap: clamp(2rem, 1rem + 4vw, 3.5rem);
  grid-template-columns: 1fr; align-items: start;
  padding-block: clamp(2.75rem, 1.8rem + 4.2vw, 5.25rem);
}
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.02fr .98fr; align-items: center; } }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: #6FD8EF; }
.hero-lede { font-size: var(--step-1); color: #BFD2EE; line-height: 1.52; max-width: 34rem; }
.hero .eyebrow { color: #6FD8EF; }

.trustbar { display: flex; flex-wrap: wrap; gap: .5rem .75rem; list-style: none; }
.trustbar li {
  display: inline-flex; align-items: center; gap: .42rem;
  font-family: var(--font-mono); font-size: .73rem; letter-spacing: .05em; text-transform: uppercase;
  color: #B9CDEA; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  padding: .4rem .7rem; border-radius: var(--r-pill);
}
.trustbar svg { width: 13px; height: 13px; flex: none; color: #6FD8EF; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.25rem, 1rem + .8vw, 1.85rem);
  display: flex; flex-direction: column; gap: .7rem;
}
.card--link { text-decoration: none; color: inherit; transition: border-color .18s ease, transform .18s ease, box-shadow .2s ease; }
.card--link:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-md); color: inherit; }
.card h3 { font-size: var(--step-1); }
.card p { color: var(--muted); font-size: .96rem; line-height: 1.58; }
.card-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--r-md); background: var(--brand-tint); color: var(--brand); flex: none; }
.card-icon svg { width: 22px; height: 22px; }
.card-more { margin-top: auto; padding-top: .35rem; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); display: inline-flex; align-items: center; gap: .4rem; }
.card--link:hover .card-more { gap: .7rem; }
.card-more span { transition: transform .18s ease; }

/* Spec list inside service cards — real numbers, the subject's own units */
.spec { list-style: none; display: flex; flex-direction: column; gap: .3rem; border-top: 1px solid var(--line); padding-top: .8rem; margin-top: .2rem; }
.spec li { display: flex; justify-content: space-between; gap: 1rem; font-size: .84rem; }
.spec dt, .spec .k { color: var(--muted); }
.spec .v { font-family: var(--font-mono); font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }

/* ---------- Contaminant threshold bars (measurement device) ---------- */
.levels { display: flex; flex-direction: column; gap: 1.35rem; list-style: none; }
.level { display: flex; flex-direction: column; gap: .4rem; }
.level-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.level-name { font-weight: 600; font-size: .98rem; color: var(--ink); }
.level-val { font-family: var(--font-mono); font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.level-track { position: relative; height: 10px; border-radius: var(--r-pill); background: var(--surface-2); overflow: hidden; }
.level-fill { position: absolute; inset-block: 0; left: 0; border-radius: var(--r-pill); background: var(--brand); }
.level-fill[data-state="warn"]  { background: var(--warn); }
.level-fill[data-state="alert"] { background: var(--alert); }
.level-fill[data-state="good"]  { background: var(--good); }
.level-scale { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .68rem; color: var(--muted-2); letter-spacing: .04em; }
.level-note { font-size: .84rem; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.stat { background: var(--surface); padding: clamp(1.1rem, .9rem + .6vw, 1.6rem); display: flex; flex-direction: column; gap: .3rem; }
.stat-n { font-family: var(--font-display); font-size: var(--step-3); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.stat-l { font-size: .88rem; color: var(--muted); line-height: 1.42; }
.section--deep .stat { background: rgba(255,255,255,.05); }
.section--deep .stats { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.16); }

/* ---------- Water profile quiz ---------- */
.quiz {
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.quiz-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.35rem; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.quiz-title { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: -.02em; color: var(--ink); }
.quiz-step { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; }
.quiz-progress { height: 3px; background: var(--surface-sunk); }
.quiz-progress i { display: block; height: 100%; background: var(--brand); transition: width .35s cubic-bezier(.4,0,.2,1); }
.quiz-body { padding: clamp(1.15rem, .9rem + .9vw, 1.7rem); display: flex; flex-direction: column; gap: 1rem; }
.quiz-q { font-family: var(--font-display); font-size: var(--step-1); font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.quiz-hint { font-size: .88rem; color: var(--muted); margin-top: -.5rem; }
.opts { display: grid; gap: .55rem; list-style: none; }
.opt {
  display: flex; align-items: center; gap: .8rem; width: 100%; text-align: left;
  padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); color: var(--ink); font: inherit; font-size: .97rem; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.opt:hover { border-color: var(--brand); background: var(--brand-tint); }
.opt[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-tint); }
.opt-box { width: 20px; height: 20px; flex: none; border: 1.5px solid var(--line-strong); border-radius: 5px; display: grid; place-items: center; color: transparent; background: var(--surface); }
.opt[aria-pressed="true"] .opt-box { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.opt-box svg { width: 13px; height: 13px; }
.opt-txt { display: flex; flex-direction: column; gap: .1rem; }
.opt-txt small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.quiz-nav { display: flex; gap: .6rem; align-items: center; padding-top: .3rem; }
.quiz-back { background: none; border: none; font: inherit; font-size: .88rem; color: var(--muted); cursor: pointer; padding: .5rem .2rem; text-decoration: underline; text-underline-offset: .2em; }

.result-head { display: flex; align-items: flex-start; gap: .85rem; padding-bottom: .2rem; }
.result-badge { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); }
.findings { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.finding { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; line-height: 1.5; color: var(--ink-2); }
.finding-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; margin-top: .48rem; background: var(--brand); }
.finding-dot[data-s="warn"] { background: var(--warn); } .finding-dot[data-s="alert"] { background: var(--alert); }
.rec {
  background: var(--brand-tint); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
  border-radius: var(--r-md); padding: 1rem 1.15rem; display: flex; flex-direction: column; gap: .35rem;
}
.rec-l { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.rec-v { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); letter-spacing: -.02em; color: var(--ink); }
.rec p { font-size: .9rem; color: var(--ink-2); }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: .85rem; }
.field { display: flex; flex-direction: column; gap: .32rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink-2); letter-spacing: .005em; }
.field label .req { color: var(--copper); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line-strong); border-radius: var(--r-md);
  padding: .78rem .9rem; width: 100%; min-width: 0;
}
.field textarea { resize: vertical; min-height: 5.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: 2px solid color-mix(in srgb, var(--ring) 30%, transparent); outline-offset: 1px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field-row { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.form-note { font-size: .78rem; color: var(--muted); line-height: 1.45; }
.form-note a { color: var(--muted); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: flex; flex-direction: column; gap: .6rem; padding: 1.4rem; border: 1.5px solid var(--good); border-radius: var(--r-md); background: color-mix(in srgb, var(--good) 10%, transparent); }
.form-success strong { font-family: var(--font-display); font-size: var(--step-1); color: var(--ink); }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: s; display: grid; gap: clamp(1.2rem, 1rem + 1vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.step { counter-increment: s; display: flex; flex-direction: column; gap: .6rem; padding-top: 1.5rem; border-top: 2px solid var(--line); position: relative; }
.step::before {
  content: counter(s, decimal-leading-zero); position: absolute; top: -1.05rem; left: 0;
  font-family: var(--font-mono); font-size: .78rem; font-weight: 500; letter-spacing: .08em;
  color: var(--brand); background: var(--surface); padding-right: .6rem;
}
.section--paper .step::before { background: var(--paper); }
.section--deep .step::before { background: var(--brand-deep); }
.section--sunk .step::before { background: var(--surface-sunk); }
.step h3 { font-size: var(--step-1); }
.step p { color: var(--muted); font-size: .93rem; line-height: 1.55; }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: clamp(1rem, .8rem + .8vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.review { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--copper); border-radius: var(--r-md); padding: 1.35rem; display: flex; flex-direction: column; gap: .75rem; }
.review blockquote { margin: 0; font-size: .98rem; line-height: 1.6; color: var(--ink-2); }
.review figcaption { display: flex; flex-direction: column; gap: .1rem; margin-top: auto; padding-top: .4rem; border-top: 1px solid var(--line); }
.review-name { font-weight: 600; font-size: .9rem; color: var(--ink); }
.review-meta { font-family: var(--font-mono); font-size: .73rem; color: var(--muted); letter-spacing: .04em; }
.stars { display: inline-flex; gap: 2px; color: var(--copper); }
.stars svg { width: 15px; height: 15px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem .5rem 1.15rem 0;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); letter-spacing: -.018em;
  color: var(--ink); line-height: 1.32;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 20px; height: 20px; flex: none; margin-top: .22rem;
  background: currentColor; color: var(--brand);
  -webkit-mask: no-repeat center/20px url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.5" stroke-linecap="round"><path d="M12 5v14M5 12h14"/></svg>');
  mask: no-repeat center/20px url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.5" stroke-linecap="round"><path d="M12 5v14M5 12h14"/></svg>');
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 3rem 1.35rem 0; color: var(--muted); line-height: 1.62; display: flex; flex-direction: column; gap: .8rem; }
.faq-a a { color: var(--brand); }

/* ---------- Area / link lists ---------- */
.towns { list-style: none; display: grid; gap: .3rem .9rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); }
.towns li { font-size: .92rem; color: var(--ink-2); padding: .22rem 0; border-bottom: 1px solid var(--line); }
.towns a { color: var(--ink-2); text-decoration: none; }
.towns a:hover { color: var(--brand); }

.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .42rem .85rem; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--surface); font-size: .86rem; color: var(--ink-2); text-decoration: none; }
.pill:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-tint); }

/* ---------- Split feature ---------- */
.split { display: grid; gap: clamp(1.75rem, 1.2rem + 2.6vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide { grid-template-columns: 1.15fr .85fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.35rem, 1.1rem + 1vw, 2rem); display: flex; flex-direction: column; gap: 1.1rem; }
.panel-h { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: .8rem; }
.panel-h h3 { font-size: var(--step-1); }
.panel-h .tag { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.checks { list-style: none; display: flex; flex-direction: column; gap: .68rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; font-size: .96rem; line-height: 1.5; color: var(--ink-2); }
.checks svg { width: 19px; height: 19px; flex: none; margin-top: .18rem; color: var(--brand); }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: clamp(2.25rem, 1.7rem + 2.4vw, 3.75rem); }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .8rem; color: var(--muted); margin-bottom: 1rem; font-family: var(--font-mono); letter-spacing: .03em; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line-strong); }

/* ---------- CTA band ---------- */
.cta-band { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: center; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.1fr .9fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-deep); color: #BFD2EE; padding-block: clamp(2.5rem, 2rem + 2vw, 4rem) 2rem; }
.site-footer a { color: #BFD2EE; text-decoration: none; }
.site-footer a:hover { color: #9BE8F7; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.footer-grid h4 { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: #6FD8EF; margin-bottom: .9rem; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; }
.footer-brand { display: flex; flex-direction: column; gap: .8rem; }
.footer-brand .brand-name { color: #fff; font-size: 1.25rem; }
.footer-brand p { font-size: .9rem; line-height: 1.55; color: #A3B4DA; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; font-size: .8rem; color: #8E9CC6; }
address.nap { font-style: normal; font-size: .9rem; line-height: 1.6; }

/* ---------- Utilities ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip {
  position: absolute; left: .5rem; top: -4rem; z-index: 100; background: var(--copper); color: var(--on-copper);
  padding: .7rem 1.1rem; border-radius: var(--r-md); text-decoration: none; font-weight: 600;
  transition: top .18s ease;
}
.skip:focus { top: calc(.5rem + env(safe-area-inset-top, 0px)); color: var(--on-copper); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.tabular { font-variant-numeric: tabular-nums; }
.note {
  font-size: .82rem; color: var(--muted); line-height: 1.55;
  border-left: 2px solid var(--line-strong); padding-left: .9rem;
}
.demo-flag {
  display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-mono);
  font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  background: var(--copper-tint); color: var(--copper-deep); border: 1px solid color-mix(in srgb, var(--copper) 40%, transparent);
  padding: .25rem .6rem; border-radius: var(--r-pill);
}


/* ---------- Inline icon sizing + chrome fixes ---------- */
.ico { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.18em; }
.eyebrow .ico { width: 1em; height: 1em; }
.btn .ico { width: 1.1em; height: 1.1em; }
.checks .ico { width: 19px; height: 19px; margin-top: .18rem; color: var(--brand); }
.card-icon .ico { width: 22px; height: 22px; }
.result-badge .ico { width: 21px; height: 21px; }
.stars .ico { width: 15px; height: 15px; }
.trustbar .ico { width: 13px; height: 13px; }
.quiz-title .ico { width: 17px; height: 17px; color: var(--brand); }
.topbar .ico { width: 13px; height: 13px; }

.brand-name, .brand-tag { display: block; }
.brand > span { display: flex; flex-direction: column; }
.nav-phone { white-space: nowrap; }
.nav-links a { white-space: nowrap; }
.topbar .wrap > span { display: inline-flex; align-items: center; gap: .4rem; }

/* Eyebrow rule — a single measurement tick, not a noisy comb */
.eyebrow::before {
  width: 1.6rem; height: 2px; background-image: none; background: currentColor; opacity: .55;
}
.opt-box--radio { border-radius: 50%; }

/* ---------- Phone: protect the fold ---------- */
@media (max-width: 640px) {
  .topbar .wrap { justify-content: space-between; gap: .3rem .8rem; }
  .topbar .wrap > span:nth-child(2) { display: none; }
  .topbar { font-size: .7rem; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-tag { display: none; }
  .brand-name { white-space: nowrap; font-size: 1.05rem; }
  .nav-phone span { display: none; }
  .nav-phone { font-size: 1rem; }
  .nav { padding-block: .6rem; gap: .6rem; }
}
@media (max-width: 400px) {
  .topbar .wrap > span:first-child { display: none; }
}
.brand-name { white-space: nowrap; }
.brand-tag  { white-space: nowrap; }
@media (max-width: 1100px) { .brand-tag { display: none; } }

/* ---------- Tiger slash motif (the angular cuts in the logo's body) ---------- */
.stripe {
  height: 11px; width: 100%; flex: none;
  background: var(--grad-brand);
  -webkit-mask-image: repeating-linear-gradient(104deg, #000 0 15px, transparent 15px 23px);
  mask-image: repeating-linear-gradient(104deg, #000 0 15px, transparent 15px 23px);
}
.stripe--thin { height: 7px; }
.stripe--brand { background: var(--grad-brand); }
.hero .stripe, .section--deep .stripe {
  background: linear-gradient(100deg, #6B4BD8 0%, #4F7FD0 42%, var(--cyan) 100%);
}
.topbar { background: var(--indigo); }
.site-footer { background: linear-gradient(120deg, #24105C 0%, #23246F 48%, #1B4A84 100%); }
.section--deep { background: var(--indigo-2); }

/* CTA: the hot end of the gradient, dark type for contrast */
.btn--primary { --btn-bg: var(--tiger); --btn-fg: var(--on-tiger); --btn-bd: var(--tiger-deep); font-weight: 600; }
.btn--primary:hover { --btn-bg: var(--cyan-bright); --btn-bd: var(--cyan-deep); }
.review { border-left-color: var(--cyan); }
.stat-n { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section--deep .stat-n { background: none; -webkit-text-fill-color: currentColor; color: var(--cyan-bright); }

/* ---------- Brand mark (raster logo) ---------- */
img.brand-mark { width: auto; height: 34px; flex: none; object-fit: contain; }
.footer-brand img.brand-mark { height: 38px; }
@media (max-width: 640px) { img.brand-mark { height: 28px; } }

/* ---------- SMS consent ---------- */
.consent { display: flex; gap: .6rem; align-items: flex-start; cursor: pointer; }
.consent input { width: 18px; height: 18px; flex: none; margin-top: .18rem; accent-color: var(--brand); }
.consent span { font-size: .76rem; line-height: 1.5; color: var(--muted); }
.consent a { color: var(--brand); }

/* ---------- Solid card inside a deep band (booking form) ---------- */
.panel--solid {
  --surface: var(--solid-surface); --surface-2: var(--solid-surface-2);
  --line: var(--solid-line); --line-strong: var(--solid-line-strong);
  --ink: var(--solid-ink); --ink-2: var(--solid-ink-2);
  --muted: var(--solid-muted); --muted-2: var(--solid-muted-2);
  --brand: var(--solid-brand); --brand-tint: var(--solid-brand-tint);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.panel--solid .panel-h h3, .panel--solid label { color: var(--ink); }
