/* ==========================================================================
   SAM'S HVAC — Design System
   Concept: "Thermal Duality" — the entire site shifts accent temperature
   between Cooling (ice) and Heating (ember) based on the hero thermostat.
   Pure CSS. No framework. No build step.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Animatable custom properties (enables smooth mode crossfade)
   -------------------------------------------------------------------------- */
@property --a1 { syntax: '<color>'; inherits: true; initial-value: #3FA9F5; }
@property --a2 { syntax: '<color>'; inherits: true; initial-value: #7FE0FF; }
@property --a-deep { syntax: '<color>'; inherits: true; initial-value: #0B2233; }

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Neutrals */
  --ink:        #0A0E14;
  --ink-2:      #0D131B;
  --surface:    #111A24;
  --surface-2:  #17222E;
  --surface-3:  #1D2937;
  --bone:       #F4F1EC;
  --bone-dim:   #D9D5CE;
  --muted:      #94A0AE;
  --muted-2:    #6B7889;
  --line:       rgba(244,241,236,.09);
  --line-2:     rgba(244,241,236,.16);
  --line-3:     rgba(244,241,236,.28);

  /* Thermal accents */
  --hot-1:  #FF6B2C;
  --hot-2:  #FFB03A;
  --hot-deep: #2A1206;
  --cold-1: #3FA9F5;
  --cold-2: #7FE0FF;
  --cold-deep: #06202F;

  /* Live accent (mode-driven) */
  --a1: var(--cold-1);
  --a2: var(--cold-2);
  --a-deep: var(--cold-deep);

  /* Semantic */
  --ok: #35C08A;
  --warn: #FFB03A;

  /* Type */
  --f-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Metrics */
  --maxw: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --sec-pad: clamp(4.5rem, 10vw, 9rem);
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* Motion */
  --e-out: cubic-bezier(.16,1,.3,1);
  --e-in-out: cubic-bezier(.65,0,.35,1);

  /* Shadows */
  --sh-1: 0 1px 2px rgba(0,0,0,.4);
  --sh-2: 0 10px 30px -12px rgba(0,0,0,.6);
  --sh-3: 0 30px 70px -30px rgba(0,0,0,.75);

  --head-h: 76px;
}

html[data-mode="heat"] {
  --a1: var(--hot-1);
  --a2: var(--hot-2);
  --a-deep: var(--hot-deep);
}

html {
  transition: --a1 .9s var(--e-out), --a2 .9s var(--e-out), --a-deep .9s var(--e-out);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  background: transparent;      /* base colour lives on <html> so .bg-fx shows */
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

::selection { background: var(--a1); color: #06090D; }

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

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #253243; border-radius: 99px; border: 3px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: #35465C; }

/* --------------------------------------------------------------------------
   4. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.03em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 5.1rem); letter-spacing: -.042em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.28rem, 2.1vw, 1.65rem); letter-spacing: -.025em; }
h4 { font-size: 1.08rem; letter-spacing: -.015em; }

p { text-wrap: pretty; }

.lead {
  font-size: clamp(1.05rem, 1.65vw, 1.28rem);
  line-height: 1.6;
  color: var(--bone-dim);
  max-width: 58ch;
}

.dim { color: var(--muted); }
.dim-2 { color: var(--muted-2); }
.tabnum { font-variant-numeric: tabular-nums; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--f-body);
  font-size: .715rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--a2);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--a1));
}

.grad-text {
  background: linear-gradient(96deg, var(--a1), var(--a2) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   5. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-wide { max-width: 1500px; }
.wrap-narrow { max-width: 880px; }

.sec { padding-block: var(--sec-pad); position: relative; }
.sec-tight { padding-block: clamp(3rem, 6vw, 5rem); }

section[id], [id].anchor { scroll-margin-top: calc(var(--head-h) + 24px); }

.sec-head { max-width: 680px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head .eyebrow { margin-bottom: 1.1rem; }
.sec-head p { margin-top: 1.1rem; }

.sec-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.sec-head-row .sec-head { margin-bottom: 0; }

.rule { height: 1px; background: var(--line); border: 0; }

/* Alternating surface */
.sec-alt { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 12%, var(--ink-2) 88%, var(--ink) 100%); }
.sec-panel { background: var(--ink-2); border-block: 1px solid var(--line); }

/* Ambient glow orb */
.orb {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, var(--a1), transparent 68%);
  transition: opacity .9s var(--e-out);
}
.sec > .wrap { position: relative; z-index: 1; }

/* Film grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .028;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--a1);
  --btn-fg: #06090D;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.6rem;
  border-radius: 99px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-display);
  font-size: .94rem;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--e-out), box-shadow .35s var(--e-out), background .5s var(--e-out);
  box-shadow: 0 8px 24px -10px color-mix(in srgb, var(--a1) 70%, transparent);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px color-mix(in srgb, var(--a1) 80%, transparent);
}
.btn:active { transform: translateY(0); }

.btn svg { width: 17px; height: 17px; flex: none; }

.btn-lg { padding: 1.12rem 2rem; font-size: 1.02rem; }
.btn-sm { padding: .68rem 1.15rem; font-size: .85rem; }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--bone);
  border: 1px solid var(--line-2);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--line-3);
  background: rgba(244,241,236,.05);
  box-shadow: none;
}

.btn-bone { --btn-bg: var(--bone); --btn-fg: #0A0E14; box-shadow: 0 8px 24px -12px rgba(0,0,0,.8); }
.btn-bone:hover { box-shadow: 0 16px 32px -14px rgba(0,0,0,.9); }

.btn-block { width: 100%; }

/* Ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255,255,255,.35);
  pointer-events: none;
  animation: ripple .62s var(--e-out) forwards;
  z-index: -1;
}
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

/* Text link with animated rule */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--f-display);
  font-size: .93rem;
  font-weight: 600;
  color: var(--a2);
  position: relative;
  padding-bottom: 3px;
}
.tlink::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform .45s var(--e-out);
}
.tlink:hover::after { transform-origin: left; transform: scaleX(1); }
.tlink svg { width: 15px; height: 15px; transition: transform .35s var(--e-out); }
.tlink:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   7. Emergency top bar
   -------------------------------------------------------------------------- */
.topbar {
  position: relative;
  z-index: 60;
  background: linear-gradient(90deg, var(--a-deep), var(--ink-2) 55%, var(--a-deep));
  border-bottom: 1px solid var(--line);
  font-size: .78rem;
  letter-spacing: .01em;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 38px;
  padding-block: .35rem;
}
.topbar-left { display: flex; align-items: center; gap: .55rem; color: var(--bone-dim); }
.topbar-right { display: flex; align-items: center; gap: 1.4rem; color: var(--muted); }
.topbar a:hover { color: var(--a2); }
.topbar .sep { color: var(--muted-2); }

.livedot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent);
  animation: pulseDot 2.4s infinite;
  flex: none;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 55%, transparent); }
  70%  { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

@media (max-width: 860px) { .topbar-right { display: none; } .topbar .wrap { justify-content: center; } }

/* --------------------------------------------------------------------------
   8. Header / nav
   -------------------------------------------------------------------------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 70;
  transition: background .4s var(--e-out), border-color .4s var(--e-out), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-head.stuck {
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--head-h);
}

/* Logo */
.logo { display: flex; align-items: center; gap: .7rem; flex: none; }
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--a1), var(--a2));
  box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--a1) 85%, transparent);
  flex: none;
  transition: transform .5s var(--e-out);
}
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo-mark svg { width: 21px; height: 21px; color: #06090D; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.09rem;
  letter-spacing: -.035em;
}
.logo-sub {
  font-size: .58rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}

/* Nav */
.nav { display: flex; align-items: center; gap: .2rem; margin-left: auto; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem .82rem;
  border-radius: 99px;
  font-size: .91rem;
  font-weight: 500;
  color: var(--bone-dim);
  transition: color .3s, background .3s;
  white-space: nowrap;
}
.nav-link:hover, .nav-item:focus-within .nav-link { color: var(--bone); background: rgba(244,241,236,.055); }
.nav-link[aria-current="page"] { color: var(--bone); }
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--a1);
  transform: translateX(-50%);
}
.nav-link .chev { width: 12px; height: 12px; opacity: .55; transition: transform .3s; }
.nav-item:hover .chev, .nav-item:focus-within .chev { transform: rotate(180deg); }

/* Dropdown */
.nav-drop {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: min(560px, 78vw);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  backdrop-filter: blur(24px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  padding: .7rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s var(--e-out), transform .35s var(--e-out), visibility .3s;
}
.nav-item:hover .nav-drop,
.nav-item:focus-within .nav-drop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-drop::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0; right: 0;
  height: 14px;
}
.ndrop-item {
  display: flex;
  gap: .75rem;
  padding: .7rem .8rem;
  border-radius: var(--r);
  transition: background .25s;
}
.ndrop-item:hover { background: rgba(244,241,236,.06); }
.ndrop-ico {
  width: 32px; height: 32px;
  flex: none;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--a1) 14%, transparent);
  color: var(--a2);
  border: 1px solid color-mix(in srgb, var(--a1) 22%, transparent);
}
.ndrop-ico svg { width: 16px; height: 16px; }
.ndrop-t { font-family: var(--f-display); font-weight: 600; font-size: .9rem; letter-spacing: -.02em; }
.ndrop-d { font-size: .76rem; color: var(--muted-2); line-height: 1.45; }
.ndrop-all {
  grid-column: 1 / -1;
  margin-top: .35rem;
  padding: .75rem .8rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
  font-weight: 600;
  font-family: var(--f-display);
  color: var(--a2);
}
.ndrop-all svg { width: 15px; height: 15px; transition: transform .3s; }
.ndrop-all:hover svg { transform: translateX(4px); }

/* Header actions */
.head-actions { display: flex; align-items: center; gap: .7rem; flex: none; }
.head-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .93rem;
  letter-spacing: -.02em;
  padding: .5rem .3rem;
  transition: color .3s;
}
.head-phone:hover { color: var(--a2); }
.head-phone svg { width: 16px; height: 16px; color: var(--a1); }

/* Burger */
.burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  place-items: center;
  flex: none;
}
.burger span {
  display: block;
  width: 17px; height: 1.5px;
  background: var(--bone);
  border-radius: 2px;
  transition: transform .38s var(--e-out), opacity .25s;
}
.burger span + span { margin-top: 4.5px; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav, .head-phone { display: none; }
  .burger { display: grid; }
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--ink) 97%, transparent);
  backdrop-filter: blur(20px);
  padding: calc(var(--head-h) + 1.5rem) var(--gutter) 2rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .4s var(--e-out), transform .45s var(--e-out), visibility .4s;
}
.mobile-nav.open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav .mn-close {
  position: absolute;
  top: 1.4rem; right: var(--gutter);
  width: 42px; height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
}
.mobile-nav .mn-close svg { width: 18px; height: 18px; }
.mn-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.03em;
  opacity: 0;
  transform: translateY(14px);
}
.mobile-nav.open .mn-link { animation: mnIn .55s var(--e-out) forwards; }
@keyframes mnIn { to { opacity: 1; transform: none; } }
.mn-link svg { width: 18px; height: 18px; color: var(--a1); }
.mn-sub { padding: .2rem 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.mn-sub a {
  font-size: .82rem;
  padding: .42rem .8rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
}
.mn-sub a:hover { color: var(--bone); border-color: var(--line-3); }
.mn-foot { margin-top: 2rem; display: grid; gap: .7rem; }

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(100vh, 900px);
  display: flex;
  align-items: center;
  padding-block: clamp(3rem, 8vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, var(--ink) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 90% at 78% 18%, color-mix(in srgb, var(--a1) 26%, transparent), transparent 62%),
    radial-gradient(90% 70% at 12% 88%, color-mix(in srgb, var(--a2) 12%, transparent), transparent 60%),
    var(--ink);
  transition: background .9s var(--e-out);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(100% 70% at 50% 30%, #000 20%, transparent 78%);
}
#airflow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 3; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem 1rem .45rem .55rem;
  border: 1px solid var(--line-2);
  border-radius: 99px;
  background: rgba(244,241,236,.035);
  backdrop-filter: blur(10px);
  font-size: .79rem;
  color: var(--bone-dim);
  margin-bottom: 1.6rem;
}
.hero-badge b {
  background: color-mix(in srgb, var(--a1) 20%, transparent);
  color: var(--a2);
  padding: .18rem .55rem;
  border-radius: 99px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .swap-line { display: block; overflow: hidden; }
.hero h1 .swap-line > span { display: block; }

.hero-sub {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: var(--bone-dim);
  max-width: 50ch;
  margin-bottom: 2.1rem;
  min-height: 3.2em;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.6rem; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.2rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--line);
}
.htrust { display: flex; align-items: center; gap: .65rem; }
.htrust svg { width: 19px; height: 19px; color: var(--a1); flex: none; }
.htrust-t { font-family: var(--f-display); font-weight: 600; font-size: .93rem; line-height: 1.15; letter-spacing: -.02em; }
.htrust-d { font-size: .74rem; color: var(--muted-2); }

/* Fade/slide text swap */
.tswap { display: inline-block; transition: opacity .4s var(--e-out), transform .5s var(--e-out), filter .4s; }
.tswap.out { opacity: 0; transform: translateY(-14px); filter: blur(6px); }

/* --------------------------------------------------------------------------
   10. Thermostat dial
   -------------------------------------------------------------------------- */
.thermo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.thermo-halo {
  position: absolute;
  width: min(112%, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--a1) 30%, transparent), transparent 66%);
  filter: blur(52px);
  transition: background .9s var(--e-out);
  animation: haloBreathe 7s var(--e-in-out) infinite;
}
@keyframes haloBreathe { 0%,100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.08); opacity: 1; } }

.thermo {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  touch-action: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  background:
    radial-gradient(circle at 50% 40%, var(--surface-2), var(--ink-2) 72%);
  border: 1px solid var(--line-2);
  box-shadow:
    inset 0 2px 40px rgba(0,0,0,.7),
    0 40px 80px -40px rgba(0,0,0,.9),
    0 0 0 12px rgba(244,241,236,.014);
}
.thermo:active { cursor: grabbing; }
.thermo svg.dial-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.dial-track { fill: none; stroke: rgba(244,241,236,.08); stroke-width: 8; stroke-linecap: round; }
.dial-prog {
  fill: none;
  stroke: url(#dialGrad);
  stroke-width: 8;
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--a1) 65%, transparent));
  transition: stroke-dashoffset .5s var(--e-out);
}
.dial-ticks line { stroke: rgba(244,241,236,.18); stroke-width: 1.5; stroke-linecap: round; }
.dial-ticks line.on { stroke: var(--a2); }

.dial-knob {
  fill: var(--bone);
  filter: drop-shadow(0 3px 8px rgba(0,0,0,.7));
  transition: transform .5s var(--e-out);
}

.thermo-read {
  position: relative;
  z-index: 2;
  text-align: center;
  pointer-events: none;
}
.thermo-mode {
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--a2);
  margin-bottom: .35rem;
}
.thermo-temp {
  font-family: var(--f-display);
  font-size: clamp(3.6rem, 9vw, 5.4rem);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: .1em;
}
.thermo-temp sup { font-size: .3em; margin-top: .5em; color: var(--muted); letter-spacing: 0; }
.thermo-label { font-size: .8rem; color: var(--muted); margin-top: .5rem; max-width: 20ch; margin-inline: auto; line-height: 1.4; }

.thermo-hint {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-size: .76rem;
  color: var(--muted-2);
}
.thermo-hint svg { width: 15px; height: 15px; animation: nudge 2.6s var(--e-in-out) infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

.mode-toggle {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3px;
  padding: 4px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  z-index: 3;
  box-shadow: var(--sh-2);
}
.mode-toggle button {
  padding: .48rem 1.05rem;
  border-radius: 99px;
  font-size: .79rem;
  font-weight: 600;
  font-family: var(--f-display);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: color .3s, background .4s var(--e-out);
  white-space: nowrap;
}
.mode-toggle button svg { width: 14px; height: 14px; }
.mode-toggle button[aria-pressed="true"] { color: #06090D; background: linear-gradient(120deg, var(--a1), var(--a2)); }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .thermo-wrap { order: -1; margin-bottom: 1rem; }
  .thermo { width: min(78%, 330px); }
  .hero-sub { min-height: auto; }
}

/* --------------------------------------------------------------------------
   11. Marquee (brands)
   -------------------------------------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 1.5rem;
  background: var(--ink-2);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marq 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.marquee-item {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: .01em;
  color: var(--muted-2);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: .6rem;
  transition: color .3s;
}
.marquee-item:hover { color: var(--bone-dim); }
.marquee-item::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--a1);
  opacity: .55;
}

/* --------------------------------------------------------------------------
   12. Cards & grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 1.15rem; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1020px) { .g-4 { grid-template-columns: repeat(2, 1fr); } .g-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

/* Spotlight card base */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  overflow: hidden;
  isolation: isolate;
  transition: border-color .4s var(--e-out), transform .5s var(--e-out), background .4s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity .45s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--a1) 13%, transparent), transparent 70%);
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }

/* Service card */
.svc-card { display: flex; flex-direction: column; min-height: 260px; padding: 1.7rem; position: relative; }

/* Photograph revealed faintly behind the card on hover */
.svc-thumb {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: inherit;
  opacity: 0;
  transition: opacity .65s var(--e-out);
}
.svc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(.55) contrast(1.1);
  transform: scale(1.06);
  transition: transform 1.4s var(--e-out);
}
.svc-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg,
    color-mix(in srgb, var(--a1) 22%, transparent) 0%,
    color-mix(in srgb, var(--surface) 82%, transparent) 52%,
    var(--surface) 92%);
}
.svc-card:hover .svc-thumb { opacity: 1; }
.svc-card:hover .svc-thumb img { transform: scale(1); }
.svc-ico {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--a1) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--a1) 24%, transparent);
  color: var(--a2);
  margin-bottom: 1.15rem;
  transition: transform .5s var(--e-out), background .4s;
}
.svc-card:hover .svc-ico { transform: translateY(-2px) scale(1.05); background: color-mix(in srgb, var(--a1) 20%, transparent); }
.svc-ico svg { width: 23px; height: 23px; }
.svc-card h3 { margin-bottom: .55rem; }
.svc-card p { font-size: .9rem; color: var(--muted); line-height: 1.58; }
.svc-meta {
  margin-top: auto;
  padding-top: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  font-size: .8rem;
}
.svc-price { color: var(--bone-dim); font-family: var(--f-display); font-weight: 600; }
.svc-price span { color: var(--muted-2); font-weight: 400; font-family: var(--f-body); }
.svc-go {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  color: var(--a2);
  transition: background .35s, transform .35s var(--e-out), border-color .35s;
  flex: none;
}
.svc-card:hover .svc-go { background: var(--a1); color: #06090D; border-color: transparent; transform: rotate(-45deg); }
.svc-go svg { width: 14px; height: 14px; }

.svc-card.feat {
  background: linear-gradient(150deg, color-mix(in srgb, var(--a1) 12%, var(--surface)), var(--surface) 62%);
  border-color: color-mix(in srgb, var(--a1) 24%, transparent);
}

/* Photo slot — graceful placeholder until real photography is dropped in */
.photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--a1) 18%, var(--surface-2)), var(--ink-2) 70%);
  border: 1px solid var(--line);
  isolation: isolate;
}
/* placeholder treatment — used when no <img> has been dropped in yet */
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .55;
  mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent);
  pointer-events: none;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  filter: grayscale(.72) contrast(1.06) brightness(.86);
  transition: filter .7s var(--e-out), transform 1.3s var(--e-out);
}
.photo:hover img { filter: grayscale(.34) contrast(1.04) brightness(.95); transform: scale(1.035); }

/* Duotone wash — pulls every photograph into the live thermal accent so a
   mixed set of sources reads as one deliberately art-directed library. */
.photo:has(img)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: soft-light;
  background:
    linear-gradient(155deg, color-mix(in srgb, var(--a1) 78%, transparent) 0%, transparent 62%),
    linear-gradient(20deg, color-mix(in srgb, var(--a2) 34%, transparent) 0%, transparent 48%);
  transition: background .9s var(--e-out);
}
/* vignette, so photos sit inside the dark page rather than punching out of it */
.photo:has(img)::after {
  z-index: 3;
  opacity: 1;
  mask-image: none;
  background-image: linear-gradient(178deg, rgba(10,14,20,.10) 0%, rgba(10,14,20,.30) 55%, rgba(10,14,20,.72) 100%);
  background-size: auto;
}

.photo-note {
  position: absolute;
  z-index: 4;
  inset: auto 0 0 0;
  padding: .6rem .85rem;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  background: linear-gradient(transparent, rgba(10,14,20,.85));
}

/* Photo credit chip */
.photo-credit {
  position: absolute;
  z-index: 4;
  right: .6rem;
  bottom: .55rem;
  font-size: .62rem;
  letter-spacing: .04em;
  color: rgba(244,241,236,.42);
  background: rgba(10,14,20,.42);
  backdrop-filter: blur(6px);
  padding: .2rem .5rem;
  border-radius: 99px;
  opacity: 0;
  transition: opacity .4s;
}
.photo:hover .photo-credit { opacity: 1; }

/* Service-page hero image band */
.svc-hero {
  position: relative;
  height: clamp(220px, 34vw, 400px);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.svc-hero .photo { position: absolute; inset: 0; border-radius: var(--r-xl); }

/* --------------------------------------------------------------------------
   13. Stats
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat { background: var(--ink-2); padding: 1.9rem 1.5rem; }
.stat-v {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(160deg, var(--bone), var(--a2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-l { font-size: .82rem; color: var(--muted); margin-top: .6rem; }
@media (max-width: 780px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------------------
   14. Process / steps
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.15rem; counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: 1.7rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.step::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--a1), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--e-out);
}
.step.in::after { transform: scaleX(1); }
.step-n {
  counter-increment: step;
  font-family: var(--f-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--a2);
  margin-bottom: 1rem;
  display: block;
}
.step-n::before { content: "0" counter(step); }
.step h4 { margin-bottom: .5rem; font-family: var(--f-display); font-size: 1.08rem; }
.step p { font-size: .87rem; color: var(--muted); line-height: 1.55; }

/* --------------------------------------------------------------------------
   15. System anatomy (interactive hotspot diagram)
   -------------------------------------------------------------------------- */
.anatomy {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
@media (max-width: 900px) { .anatomy { grid-template-columns: 1fr; } }

.anat-stage {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 70% at 50% 12%, color-mix(in srgb, var(--a1) 14%, transparent), transparent 62%),
    var(--ink-2);
  padding: clamp(1.2rem, 3vw, 2.4rem);
  overflow: hidden;
}
.anat-stage svg { width: 100%; height: auto; }

.hot {
  cursor: pointer;
  transform-box: fill-box;
  transform-origin: center;
}
.hot .hot-ring {
  fill: none;
  stroke: var(--a2);
  stroke-width: 1.5;
  opacity: .8;
  transform-box: fill-box;
  transform-origin: center;
  animation: hotPulse 2.8s var(--e-in-out) infinite;
}
@keyframes hotPulse {
  0%   { transform: scale(.85); opacity: .9; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
.hot .hot-core {
  fill: var(--a1);
  stroke: rgba(244,241,236,.9);
  stroke-width: 1.5;
  transition: r .3s var(--e-out);
}
.hot:hover .hot-core, .hot.active .hot-core { r: 9; }
.hot.active .hot-core { fill: var(--bone); }

.anat-panel {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 1.7rem;
  min-height: 260px;
}
.anat-panel .eyebrow { margin-bottom: .9rem; }
.anat-panel h3 { margin-bottom: .7rem; }
.anat-panel p { color: var(--muted); font-size: .93rem; }
.anat-sym { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.anat-sym h5 { font-family: var(--f-display); font-size: .74rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted-2); margin-bottom: .7rem; }
.anat-sym li { font-size: .87rem; color: var(--bone-dim); padding-left: 1.35rem; position: relative; margin-bottom: .4rem; list-style: none; }
.anat-sym li::before {
  content: "";
  position: absolute;
  left: 0; top: .58em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--a1);
}
.anat-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.4rem; }
.anat-tabs button {
  font-size: .78rem;
  padding: .42rem .85rem;
  border-radius: 99px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all .3s;
}
.anat-tabs button:hover { color: var(--bone); border-color: var(--line-3); }
.anat-tabs button[aria-pressed="true"] { background: var(--a1); color: #06090D; border-color: transparent; font-weight: 600; }

/* --------------------------------------------------------------------------
   16. Comfort quiz / instant estimate
   -------------------------------------------------------------------------- */
.quiz {
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, var(--surface-2), var(--ink-2) 65%);
  box-shadow: var(--sh-3);
  overflow: hidden;
}
.quiz-head {
  padding: 1.5rem clamp(1.3rem, 3vw, 2.2rem);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.quiz-prog { display: flex; align-items: center; gap: .6rem; font-size: .78rem; color: var(--muted-2); }
.quiz-bar { width: 130px; height: 3px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.quiz-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--a1), var(--a2)); transition: width .55s var(--e-out); }

.quiz-body { padding: clamp(1.5rem, 3.5vw, 2.6rem); min-height: 300px; position: relative; }
.qstep { display: none; }
.qstep.on { display: block; animation: qIn .5s var(--e-out); }
@keyframes qIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.qstep h3 { margin-bottom: .5rem; }
.qstep > p { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }

.qopts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .7rem; }
.qopt {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  text-align: left;
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: rgba(244,241,236,.02);
  transition: all .3s var(--e-out);
}
.qopt:hover { border-color: color-mix(in srgb, var(--a1) 50%, transparent); background: rgba(244,241,236,.05); transform: translateY(-2px); }
.qopt[aria-pressed="true"] {
  border-color: var(--a1);
  background: color-mix(in srgb, var(--a1) 12%, transparent);
}
.qopt-t { font-family: var(--f-display); font-weight: 600; font-size: .95rem; letter-spacing: -.02em; }
.qopt-d { font-size: .78rem; color: var(--muted-2); line-height: 1.4; }

.quiz-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem clamp(1.3rem, 3vw, 2.2rem);
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.18);
}
.quiz-back { font-size: .87rem; color: var(--muted); display: inline-flex; align-items: center; gap: .4rem; }
.quiz-back:hover { color: var(--bone); }
.quiz-back svg { width: 15px; height: 15px; }
.quiz-back[hidden] { visibility: hidden; }

/* Result */
.qresult { text-align: center; }
.qres-range {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1.05;
  margin: .8rem 0 .4rem;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, var(--bone), var(--a2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.qres-note { font-size: .84rem; color: var(--muted-2); max-width: 46ch; margin: 0 auto 1.6rem; }
.qres-lines { display: grid; gap: .5rem; text-align: left; max-width: 420px; margin: 0 auto 1.8rem; }
.qres-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .68rem .95rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: .85rem;
  background: rgba(244,241,236,.02);
}
.qres-line span:first-child { color: var(--muted); }
.qres-line span:last-child { font-weight: 600; font-family: var(--f-display); }
.qres-cta { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   17. Service-area map
   -------------------------------------------------------------------------- */
.map-layout {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
@media (max-width: 940px) { .map-layout { grid-template-columns: 1fr; } }

.map-stage {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    radial-gradient(70% 60% at 40% 55%, color-mix(in srgb, var(--a1) 12%, transparent), transparent 65%),
    var(--ink-2);
  padding: clamp(1rem, 3vw, 2rem);
  overflow: hidden;
}
.map-stage svg { width: 100%; height: auto; }
.geo-water { fill: color-mix(in srgb, var(--cold-1) 12%, var(--ink)); stroke: color-mix(in srgb, var(--cold-1) 25%, transparent); stroke-width: 1; }
.geo-land { fill: var(--surface); stroke: var(--line-2); stroke-width: 1; }
.geo-road { stroke: var(--line-2); stroke-width: 1.2; fill: none; stroke-dasharray: 5 5; }

.city { cursor: pointer; }
.city-dot {
  fill: var(--a1);
  stroke: rgba(244,241,236,.85);
  stroke-width: 1.5;
  transition: r .35s var(--e-out), fill .3s;
}
.city-halo {
  fill: color-mix(in srgb, var(--a1) 26%, transparent);
  transform-box: fill-box;
  transform-origin: center;
  animation: cityPulse 3.2s var(--e-in-out) infinite;
}
@keyframes cityPulse { 0%,100% { transform: scale(.9); opacity: .5; } 50% { transform: scale(1.35); opacity: .16; } }
.city-name {
  fill: var(--bone-dim);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  pointer-events: none;
  transition: fill .3s;
}
.city:hover .city-dot, .city.active .city-dot { r: 9; fill: var(--bone); }
.city:hover .city-name, .city.active .city-name { fill: var(--bone); }
.city.hq .city-dot { fill: var(--a2); }

.map-tip {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  background: color-mix(in srgb, var(--ink) 94%, transparent);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: .55rem .8rem;
  font-size: .78rem;
  white-space: nowrap;
  box-shadow: var(--sh-2);
  opacity: 0;
  transform: translate(-50%, -130%);
  transition: opacity .25s;
  backdrop-filter: blur(10px);
}
.map-tip.on { opacity: 1; }
.map-tip b { display: block; font-family: var(--f-display); font-size: .86rem; }
.map-tip i { font-style: normal; color: var(--a2); font-size: .72rem; }

.area-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.area-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .52rem 1rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: .85rem;
  color: var(--bone-dim);
  transition: all .3s var(--e-out);
}
.area-chip:hover, .area-chip.active {
  border-color: var(--a1);
  background: color-mix(in srgb, var(--a1) 12%, transparent);
  color: var(--bone);
}
.area-chip small { color: var(--muted-2); font-size: .72rem; }

/* --------------------------------------------------------------------------
   18. Plans / pricing
   -------------------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; align-items: start; }
@media (max-width: 940px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

.plan {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--e-out), border-color .4s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--line-2); }
.plan.best {
  border-color: color-mix(in srgb, var(--a1) 45%, transparent);
  background: linear-gradient(165deg, color-mix(in srgb, var(--a1) 13%, var(--surface)), var(--surface) 58%);
  box-shadow: 0 30px 70px -40px color-mix(in srgb, var(--a1) 70%, transparent);
}
.plan-tag {
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  padding: .28rem .85rem;
  border-radius: 99px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  background: linear-gradient(100deg, var(--a1), var(--a2));
  color: #06090D;
  white-space: nowrap;
}
.plan h3 { margin-bottom: .35rem; }
.plan-desc { font-size: .86rem; color: var(--muted); margin-bottom: 1.5rem; min-height: 2.6em; }
.plan-price { display: flex; align-items: baseline; gap: .35rem; margin-bottom: .25rem; }
.plan-price b {
  font-family: var(--f-display);
  font-size: 2.9rem;
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1;
}
.plan-price span { color: var(--muted); font-size: .88rem; }
.plan-bill { font-size: .78rem; color: var(--muted-2); margin-bottom: 1.6rem; }
.plan ul { list-style: none; padding: 0; display: grid; gap: .68rem; margin-bottom: 1.9rem; }
.plan li { display: flex; gap: .65rem; font-size: .88rem; color: var(--bone-dim); line-height: 1.45; }
.plan li svg { width: 16px; height: 16px; color: var(--a1); flex: none; margin-top: 3px; }
.plan li.off { color: var(--muted-2); }
.plan li.off svg { color: var(--muted-2); opacity: .5; }
.plan .btn { margin-top: auto; }

/* --------------------------------------------------------------------------
   19. Reviews
   -------------------------------------------------------------------------- */
.rev-rail {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  padding-bottom: 1.2rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.rev-rail::-webkit-scrollbar { height: 5px; }
.rev-rail::-webkit-scrollbar-thumb { background: var(--line-3); border: 0; border-radius: 99px; }

.review {
  position: relative;
  flex: 0 0 min(390px, 82vw);
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
}
.rev-stars { display: flex; gap: 2px; color: var(--warn); margin-bottom: 1rem; }
.rev-stars svg { width: 15px; height: 15px; }
.review blockquote {
  font-size: .96rem;
  line-height: 1.62;
  color: var(--bone-dim);
  margin-bottom: 1.4rem;
  flex: 1;
}
.rev-who { display: flex; align-items: center; gap: .8rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.rev-av {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--a1), var(--a2));
  color: #06090D;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .84rem;
  flex: none;
}
.rev-n { font-family: var(--f-display); font-weight: 600; font-size: .9rem; }
.rev-m { font-size: .75rem; color: var(--muted-2); }

.rating-block {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-2);
}
.rating-v { font-family: var(--f-display); font-size: 2.4rem; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.rating-meta { font-size: .82rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   20. FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0;
  text-align: left;
  font-family: var(--f-display);
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  font-weight: 600;
  letter-spacing: -.02em;
  transition: color .3s;
}
.faq-q:hover { color: var(--a2); }
.faq-ico {
  width: 26px; height: 26px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  position: relative;
  margin-top: 2px;
  transition: background .35s, border-color .35s, transform .45s var(--e-out);
}
.faq-ico::before, .faq-ico::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform .4s var(--e-out), opacity .3s;
}
.faq-ico::before { width: 10px; height: 1.5px; }
.faq-ico::after { width: 1.5px; height: 10px; }
.faq-item.open .faq-ico { background: var(--a1); border-color: transparent; color: #06090D; transform: rotate(90deg); }
.faq-item.open .faq-ico::after { transform: scaleY(0); }
.faq-a {
  overflow: hidden;
  height: 0;
  transition: height .45s var(--e-out);
}
.faq-a-inner { padding-bottom: 1.5rem; color: var(--muted); font-size: .94rem; max-width: 72ch; line-height: 1.68; }
.faq-a-inner a { color: var(--a2); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   21. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-2);
  background:
    radial-gradient(100% 130% at 12% 0%, color-mix(in srgb, var(--a1) 30%, transparent), transparent 60%),
    linear-gradient(150deg, var(--surface-2), var(--ink-2));
  padding: clamp(2.4rem, 6vw, 4.5rem);
  text-align: center;
  isolation: isolate;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
  opacity: .6;
}
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { color: var(--bone-dim); max-width: 54ch; margin: 0 auto 2.2rem; }
.cta-actions { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; }
.cta-fine { margin-top: 1.8rem; font-size: .79rem; color: var(--muted-2); }

/* --------------------------------------------------------------------------
   22. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.05rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

.field { display: grid; gap: .45rem; }
.field label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label .req { color: var(--a2); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .88rem 1rem;
  background: rgba(244,241,236,.03);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  color: var(--bone);
  font-size: .95rem;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 128px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A0AE' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.6rem;
  cursor: pointer;
}
.field select option { background: var(--surface); color: var(--bone); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--a1);
  background: rgba(244,241,236,.05);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--a1) 16%, transparent);
}
.field.err input, .field.err select, .field.err textarea { border-color: #F0554E; }
.field-msg { font-size: .74rem; color: #F0554E; display: none; }
.field.err .field-msg { display: block; }

.form-note { font-size: .78rem; color: var(--muted-2); }

.form-ok {
  display: none;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent);
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--ok) 8%, transparent);
}
.form-ok.on { display: block; animation: qIn .5s var(--e-out); }
.form-ok svg { width: 46px; height: 46px; color: var(--ok); margin: 0 auto 1rem; }
.form-ok h3 { margin-bottom: .5rem; }
.form-ok p { color: var(--muted); font-size: .92rem; }

/* Radio pills */
.pill-set { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-set input { position: absolute; opacity: 0; pointer-events: none; }
.pill-set label {
  padding: .55rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: 99px;
  font-size: .85rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--bone-dim);
  cursor: pointer;
  transition: all .3s;
  font-weight: 500;
}
.pill-set label:hover { border-color: var(--line-3); }
.pill-set input:checked + label {
  background: color-mix(in srgb, var(--a1) 15%, transparent);
  border-color: var(--a1);
  color: var(--bone);
}
.pill-set input:focus-visible + label { outline: 2px solid var(--a2); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   23. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.phero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(80% 100% at 82% 0%, color-mix(in srgb, var(--a1) 18%, transparent), transparent 60%),
    var(--ink);
}
.phero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(100% 80% at 60% 0%, #000, transparent 75%);
  opacity: .55;
}
.phero .wrap { position: relative; z-index: 1; }
.phero h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); margin-bottom: 1.2rem; }
.phero .lead { margin-bottom: 2rem; }
.phero-cta { display: flex; gap: .8rem; flex-wrap: wrap; }

.crumbs { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--muted-2); margin-bottom: 1.5rem; flex-wrap: wrap; }
.crumbs a:hover { color: var(--a2); }
.crumbs svg { width: 13px; height: 13px; opacity: .5; }

/* --------------------------------------------------------------------------
   24. Service detail
   -------------------------------------------------------------------------- */
.sd-layout { display: grid; grid-template-columns: 1fr 350px; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 980px) { .sd-layout { grid-template-columns: 1fr; } }

.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); margin: 2.6rem 0 1rem; }
.prose h3 { margin: 2rem 0 .8rem; }
.prose p { color: var(--bone-dim); margin-bottom: 1.1rem; line-height: 1.72; }
.prose ul, .prose ol { color: var(--bone-dim); padding-left: 1.3rem; margin-bottom: 1.4rem; display: grid; gap: .55rem; }
.prose li { line-height: 1.6; }
.prose li::marker { color: var(--a1); }
.prose > :first-child { margin-top: 0; }
.prose strong { color: var(--bone); font-weight: 600; }

.callout {
  border-left: 2px solid var(--a1);
  background: color-mix(in srgb, var(--a1) 8%, transparent);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 1.25rem 1.4rem;
  margin: 1.8rem 0;
}
.callout h4 { margin-bottom: .4rem; color: var(--a2); }
.callout p { font-size: .9rem; margin: 0; color: var(--bone-dim); }

.sd-side { position: sticky; top: calc(var(--head-h) + 20px); display: grid; gap: 1.1rem; }
.side-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 1.5rem;
}
.side-card.accent {
  background: linear-gradient(160deg, color-mix(in srgb, var(--a1) 15%, var(--surface)), var(--surface) 60%);
  border-color: color-mix(in srgb, var(--a1) 28%, transparent);
}
.side-card h4 { margin-bottom: .8rem; font-family: var(--f-display); }
.side-card p { font-size: .87rem; color: var(--muted); margin-bottom: 1.2rem; }
.side-list { list-style: none; padding: 0; display: grid; gap: .6rem; }
.side-list li { display: flex; gap: .6rem; font-size: .86rem; color: var(--bone-dim); }
.side-list li svg { width: 15px; height: 15px; color: var(--a1); flex: none; margin-top: 4px; }
.side-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .62rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .88rem;
  color: var(--muted);
  transition: color .3s, padding-left .3s;
}
.side-nav a:last-child { border-bottom: 0; }
.side-nav a:hover { color: var(--bone); padding-left: .35rem; }
.side-nav a[aria-current="page"] { color: var(--a2); font-weight: 600; }
.side-nav svg { width: 13px; height: 13px; }

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .68rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .86rem;
}
.spec-row:last-child { border-bottom: 0; }
.spec-row span:first-child { color: var(--muted); }
.spec-row span:last-child { font-family: var(--f-display); font-weight: 600; text-align: right; }

/* --------------------------------------------------------------------------
   25. Split feature blocks
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split.rev > *:first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.rev > *:first-child { order: 0; }
}
.split-media { aspect-ratio: 4/3; }

.ticks { list-style: none; padding: 0; display: grid; gap: .85rem; margin-top: 1.8rem; }
.ticks li { display: flex; gap: .8rem; align-items: flex-start; }
.ticks li svg { width: 20px; height: 20px; color: var(--a1); flex: none; margin-top: 2px; }
.ticks b { font-family: var(--f-display); font-size: .96rem; display: block; margin-bottom: .12rem; letter-spacing: -.02em; }
.ticks span { font-size: .87rem; color: var(--muted); line-height: 1.5; }

/* --------------------------------------------------------------------------
   26. Footer
   -------------------------------------------------------------------------- */
.site-foot {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3.5rem;
}
@media (max-width: 940px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

.foot-about p { font-size: .89rem; color: var(--muted); margin: 1.2rem 0 1.5rem; max-width: 34ch; }
.foot-h {
  font-family: var(--f-display);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1.2rem;
}
.foot-col ul { list-style: none; padding: 0; display: grid; gap: .62rem; }
.foot-col a { font-size: .89rem; color: var(--muted); transition: color .3s, padding-left .3s; display: inline-block; }
.foot-col a:hover { color: var(--bone); padding-left: 3px; }

.foot-contact { display: grid; gap: 1rem; }
.fc-item { display: flex; gap: .75rem; align-items: flex-start; }
.fc-item svg { width: 17px; height: 17px; color: var(--a1); flex: none; margin-top: 3px; }
.fc-l { font-size: .72rem; text-transform: uppercase; letter-spacing: .11em; color: var(--muted-2); }
.fc-v { font-size: .93rem; font-family: var(--f-display); font-weight: 600; letter-spacing: -.02em; }
.fc-v:hover { color: var(--a2); }

.socials { display: flex; gap: .5rem; }
.socials a {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  color: var(--muted);
  transition: all .3s var(--e-out);
}
.socials a:hover { color: var(--bone); border-color: var(--a1); background: color-mix(in srgb, var(--a1) 12%, transparent); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; }

.foot-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.fbadge {
  font-size: .69rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .32rem .7rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted-2);
}

.foot-bottom {
  border-top: 1px solid var(--line);
  padding-block: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: .8rem;
  color: var(--muted-2);
}
.foot-bottom nav { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.foot-bottom a:hover { color: var(--bone-dim); }

.foot-word {
  font-family: var(--f-display);
  font-size: clamp(3rem, 14vw, 11rem);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: .85;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-2);
  padding-bottom: .1em;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   27. Sticky mobile call bar
   -------------------------------------------------------------------------- */
.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: none;
  gap: 1px;
  background: var(--line-2);
  border-top: 1px solid var(--line-2);
  backdrop-filter: blur(16px);
  transform: translateY(102%);
  transition: transform .45s var(--e-out);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.callbar.on { transform: none; }
.callbar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem .5rem;
  font-family: var(--f-display);
  font-size: .9rem;
  font-weight: 600;
  background: color-mix(in srgb, var(--ink) 92%, transparent);
}
.callbar a.prime { background: linear-gradient(100deg, var(--a1), var(--a2)); color: #06090D; }
.callbar svg { width: 17px; height: 17px; }
@media (max-width: 780px) {
  .callbar { display: flex; }
  body { padding-bottom: 56px; }
}

/* --------------------------------------------------------------------------
   28. 404
   -------------------------------------------------------------------------- */
.nf {
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.nf-code {
  font-family: var(--f-display);
  font-size: clamp(6rem, 22vw, 15rem);
  font-weight: 700;
  letter-spacing: -.07em;
  line-height: .85;
  background: linear-gradient(160deg, var(--bone) 10%, var(--a1) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   29. Scroll reveal
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--e-out), transform .9s var(--e-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="zoom"] { transform: scale(.95); }

/* Smooth-scroll wrapper */
html.has-lerp, html.has-lerp body { height: auto; }
html.has-lerp body { overflow: hidden; }
#lerp-content { will-change: transform; }

/* --------------------------------------------------------------------------
   30. 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-link {
  position: absolute;
  top: -60px; left: 1rem;
  z-index: 999;
  background: var(--a1);
  color: #06090D;
  padding: .7rem 1.2rem;
  border-radius: 0 0 var(--r) var(--r);
  font-weight: 600;
  transition: top .3s;
}
.skip-link:focus { top: 0; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .6rem; }
.mt-2 { margin-top: 1.2rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1.2rem; }
.mb-3 { margin-bottom: 2rem; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.flex-row { display: flex; gap: .8rem; flex-wrap: wrap; }
.items-center { align-items: center; }

/* --------------------------------------------------------------------------
   31. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
  #airflow { display: none; }
}

/* --------------------------------------------------------------------------
   32. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-head, .topbar, .callbar, .grain, #airflow, .cta-band, .site-foot { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   33. Ambient background system — injected site-wide by main.js
   Slow-drifting aurora fields tinted by the live thermal accent, over a
   masked engineering grid. This is what stops the page reading as flat.
   ========================================================================== */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  contain: layout paint style;
}
.bg-fx .aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(clamp(60px, 9vw, 130px));
  will-change: transform;
  transition: background .9s var(--e-out);
}
.aurora-1 {
  width: 54vw; height: 54vw; top: -16vw; right: -12vw;
  background: radial-gradient(circle, color-mix(in srgb, var(--a1) 42%, transparent), transparent 68%);
  opacity: .55;
  animation: drift1 27s var(--e-in-out) infinite;
}
.aurora-2 {
  width: 46vw; height: 46vw; bottom: -14vw; left: -12vw;
  background: radial-gradient(circle, color-mix(in srgb, var(--a2) 26%, transparent), transparent 70%);
  opacity: .45;
  animation: drift2 34s var(--e-in-out) infinite;
}
.aurora-3 {
  width: 38vw; height: 38vw; top: 44%; left: 46%;
  background: radial-gradient(circle, color-mix(in srgb, var(--a1) 22%, transparent), transparent 72%);
  opacity: .38;
  animation: drift3 22s var(--e-in-out) infinite;
}
@keyframes drift1 {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  40%     { transform: translate3d(-6vw, 7vw, 0) scale(1.14); }
  70%     { transform: translate3d(4vw, -3vw, 0) scale(.92); }
}
@keyframes drift2 {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50%     { transform: translate3d(9vw, -7vw, 0) scale(1.16); }
}
@keyframes drift3 {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50%     { transform: translate3d(-7vw, 5vw, 0) scale(1.1); }
}

/* masked engineering grid over the aurora */
.bg-fx .bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--a1) 7%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--a1) 7%, transparent) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 10%, transparent 72%);
}

/* faint horizon line that sits behind everything */
.bg-fx .bg-horizon {
  position: absolute;
  left: 0; right: 0; top: 62%;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--a1) 26%, transparent), transparent);
  opacity: .5;
}

/* Section orbs now breathe as well */
.orb { animation: orbBreathe 18s var(--e-in-out) infinite; }
@keyframes orbBreathe {
  0%,100% { transform: translate3d(0,0,0) scale(1); opacity: .42; }
  50%     { transform: translate3d(3%, -4%, 0) scale(1.15); opacity: .62; }
}

/* ==========================================================================
   34. Scroll progress
   ========================================================================== */
.scroll-prog {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  z-index: 100;
  background: linear-gradient(90deg, var(--a1), var(--a2));
  box-shadow: 0 0 12px color-mix(in srgb, var(--a1) 70%, transparent);
  transition: width .1s linear, background .9s var(--e-out);
  pointer-events: none;
}

/* ==========================================================================
   35. Card hover sweep — the hairline that lights along the top edge
   ========================================================================== */
.card::after,
.plan::after,
.review::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  z-index: 4;
  background: linear-gradient(90deg, transparent, transparent, transparent);
  transition: background .55s var(--e-out);
  pointer-events: none;
}
.card:hover::after,
.plan:hover::after,
.review:hover::after {
  background: linear-gradient(90deg, transparent, var(--a2), transparent);
}
.plan.best::after { background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--a2) 65%, transparent), transparent); }

/* Subtle pointer tilt (desktop only, applied by main.js) */
.tilt { transform-style: preserve-3d; }

/* ==========================================================================
   36. Section ornament — a measured tick rule above section headings
   ========================================================================== */
.sec-panel { position: relative; }
.sec-panel::before,
.sec-panel::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--a1) 40%, transparent) 30%, color-mix(in srgb, var(--a1) 40%, transparent) 70%, transparent);
  opacity: .55;
}
.sec-panel::before { top: -1px; }
.sec-panel::after  { bottom: -1px; }

/* Glass treatment for feature panels */
.glass {
  background: color-mix(in srgb, var(--surface) 62%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--line-2);
}

/* ==========================================================================
   37. Live status strip — small, animated, sells "we are open right now"
   ========================================================================== */
.status-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2.2rem;
  padding: 1rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  backdrop-filter: blur(14px);
  font-size: .83rem;
}
.status-item { display: flex; align-items: center; gap: .55rem; color: var(--bone-dim); white-space: nowrap; }
.status-item b { font-family: var(--f-display); font-weight: 600; }
.status-item svg { width: 15px; height: 15px; color: var(--a1); flex: none; }
.status-sep { width: 1px; height: 18px; background: var(--line-2); }
@media (max-width: 720px) { .status-strip { border-radius: var(--r-lg); } .status-sep { display: none; } }

/* ==========================================================================
   38. Marquee separators (matches the agency site's rhythm)
   ========================================================================== */
.marquee-sep {
  color: var(--a1);
  opacity: .45;
  font-size: .8rem;
  display: flex;
  align-items: center;
}

/* ==========================================================================
   39. Leaflet service map
   ========================================================================== */
.map-stage.is-live { padding: 0; overflow: hidden; background: var(--ink-2); }
.hm-map {
  height: clamp(400px, 56vh, 600px);
  width: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  z-index: 1;
  background: #0A0E14;
}
.leaflet-container {
  background: #0A0E14;
  font-family: var(--f-body);
  outline: none;
}
.leaflet-tile-pane { filter: saturate(.72) contrast(1.05) brightness(.82); }

/* controls */
.leaflet-control-zoom a {
  background: color-mix(in srgb, var(--surface) 92%, transparent) !important;
  color: var(--bone) !important;
  border-color: var(--line-2) !important;
  backdrop-filter: blur(8px);
  font-weight: 400;
}
.leaflet-control-zoom a:hover { background: var(--surface-3) !important; color: var(--a2) !important; }
.leaflet-control-attribution {
  background: rgba(10,14,20,.72) !important;
  color: var(--muted-2) !important;
  font-size: 10px !important;
  backdrop-filter: blur(6px);
}
.leaflet-control-attribution a { color: var(--muted) !important; }

.hm-reset {
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--bone);
  border: 1px solid var(--line-2);
  border-radius: 99px;
  padding: .5rem 1rem;
  font-family: var(--f-display);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: var(--sh-2);
  transition: all .3s var(--e-out);
}
.hm-reset:hover { border-color: var(--a1); color: var(--a2); }

/* pins */
.hm-pin { background: none !important; border: 0 !important; }
.hm-dot {
  display: block;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #fff 0%, var(--pin) 42%, color-mix(in srgb, var(--pin) 55%, #000) 100%);
  border: 2px solid rgba(255,255,255,.92);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--pin) 62%, transparent), 0 4px 14px rgba(0,0,0,.65);
  animation: pinPulse 2.8s var(--e-in-out) infinite;
  cursor: pointer;
  transition: transform .35s var(--e-out);
}
@keyframes pinPulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--pin) 62%, transparent), 0 4px 14px rgba(0,0,0,.65); }
  70%  { box-shadow: 0 0 0 16px transparent, 0 4px 14px rgba(0,0,0,.65); }
  100% { box-shadow: 0 0 0 0 transparent, 0 4px 14px rgba(0,0,0,.65); }
}
.hm-dot.is-hq { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.28), 0 6px 18px rgba(0,0,0,.7); }
.hm-dot.hot, .hm-dot.sel { transform: scale(1.28); animation-play-state: paused; }
.hm-dot.sel { border-color: var(--a2); box-shadow: 0 0 0 5px color-mix(in srgb, var(--a2) 30%, transparent), 0 6px 18px rgba(0,0,0,.7); }

.hm-tag {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 6px);
  font-size: 10.5px;
  font-weight: 600;
  font-family: var(--f-display);
  letter-spacing: -.01em;
  color: var(--bone);
  white-space: nowrap;
  text-shadow: 0 1px 4px #000, 0 0 10px rgba(0,0,0,.9);
  pointer-events: none;
}
.hm-shop {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--a1), var(--a2));
  color: #06090D;
  border: 2px solid rgba(255,255,255,.85);
  box-shadow: 0 6px 18px rgba(0,0,0,.7);
}
.hm-shop svg { width: 13px; height: 13px; }

.leaflet-tooltip {
  background: color-mix(in srgb, var(--ink) 94%, transparent) !important;
  border: 1px solid var(--line-2) !important;
  color: var(--bone) !important;
  font-size: 12px !important;
  font-weight: 500;
  border-radius: var(--r-sm) !important;
  box-shadow: var(--sh-2) !important;
  backdrop-filter: blur(10px);
  padding: 5px 9px !important;
}
.leaflet-tooltip-top::before { border-top-color: var(--line-2) !important; }

/* legend */
.hm-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.3rem;
  padding: .85rem 1.1rem;
  border-top: 1px solid var(--line);
  background: var(--ink-2);
  font-size: .76rem;
  color: var(--muted);
}
.hm-leg { display: inline-flex; align-items: center; gap: .5rem; }
.hm-leg i { width: 9px; height: 9px; border-radius: 50%; flex: none; box-shadow: 0 0 8px currentColor; }

/* drill-down panel */
.hm-panel {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  backdrop-filter: blur(16px);
  padding: 1.6rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s var(--e-out), transform .5s var(--e-out);
}
.hm-panel.on { opacity: 1; transform: none; }
.hm-p-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; }
.hm-p-head h3 { margin-top: .4rem; }
.hm-p-tier {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--pin);
  border: 1px solid color-mix(in srgb, var(--pin) 40%, transparent);
  background: color-mix(in srgb, var(--pin) 12%, transparent);
  padding: .3rem .65rem;
  border-radius: 99px;
  text-align: center;
  max-width: 130px;
  line-height: 1.3;
  flex: none;
}
.hm-p-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 1.2rem;
}
.hm-p-stats div { background: var(--ink-2); padding: .85rem .7rem; text-align: center; }
.hm-p-stats b {
  display: block;
  font-family: var(--f-display);
  font-size: .96rem;
  letter-spacing: -.02em;
  color: var(--bone);
  margin-bottom: .15rem;
}
.hm-p-stats span { font-size: .68rem; color: var(--muted-2); }
.hm-panel p { font-size: .89rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.1rem; }
.hm-p-hoods { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1.4rem; }
.hm-p-hoods span {
  font-size: .74rem;
  padding: .3rem .65rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
}
.hm-p-cta { display: flex; gap: .6rem; flex-wrap: wrap; }

/* ==========================================================================
   40. Anatomy stage polish
   ========================================================================== */
.anat-stage {
  background:
    radial-gradient(110% 80% at 50% 6%, color-mix(in srgb, var(--a1) 16%, transparent), transparent 62%),
    linear-gradient(170deg, var(--surface-2), var(--ink-2) 70%);
}
.anat-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--a1) 6%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--a1) 6%, transparent) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(80% 70% at 50% 50%, #000, transparent);
  pointer-events: none;
}
.anat-stage svg { position: relative; z-index: 1; }
.anat-panel { background: color-mix(in srgb, var(--surface) 78%, transparent); backdrop-filter: blur(12px); }

/* corner registration marks — reads as a technical drawing */
.anat-stage .corner {
  position: absolute;
  width: 14px; height: 14px;
  border-color: color-mix(in srgb, var(--a1) 45%, transparent);
  border-style: solid;
  border-width: 0;
  pointer-events: none;
}
.anat-stage .c-tl { top: 12px; left: 12px; border-top-width: 1px; border-left-width: 1px; }
.anat-stage .c-tr { top: 12px; right: 12px; border-top-width: 1px; border-right-width: 1px; }
.anat-stage .c-bl { bottom: 12px; left: 12px; border-bottom-width: 1px; border-left-width: 1px; }
.anat-stage .c-br { bottom: 12px; right: 12px; border-bottom-width: 1px; border-right-width: 1px; }

/* ==========================================================================
   41. Reduced motion — kill every ambient animation added above
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .bg-fx .aurora, .orb { animation: none !important; }
  .hm-dot { animation: none !important; }
  .scroll-prog { transition: none; }
}
