/* =====================================================================
   POSEIDON — design system
   Concept: a descent. The page starts at a sunlit surface (warm ivory,
   aqua light) and darkens to the abyss as you scroll. Editorial serif
   display + quiet grotesk. All art is procedural (SVG / canvas).
   ===================================================================== */

:root {
  --ivory: #F4F0E7;
  --sand:  #E6DECD;
  --ink:   #0A1B26;
  --ink-2: #12303F;
  --aqua:  #1C9BAE;
  --aqua-2:#5FD0DC;
  --gold:  #C9A857;
  --gold-2:#E8D19A;
  --deep:  #0B2634;
  --abyss: #04101A;

  /* live theme tokens (swapped per depth zone) */
  --bg: #0A2030;
  --bg-2: #0E2E3E;
  --fg: var(--ivory);
  --muted: rgba(244,240,231,.64);
  --line: rgba(244,240,231,.16);
  --card: rgba(8,24,36,.42);
  --accent: var(--aqua-2);
  --glow: rgba(95,208,220,.22);
  --tint-a: .22;            /* darkness of the overlay on the background art */

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}
body[data-depth="shallows"] { --bg: #08202E; --tint-a: .42; --card: rgba(6,20,30,.48); }
body[data-depth="deep"]     { --bg: var(--deep); --tint-a: .55; --card: rgba(4,16,26,.5); }
body[data-depth="abyss"]    { --bg: var(--abyss); --tint-a: .7; --card: rgba(3,10,16,.55); --accent: var(--gold-2); --glow: rgba(201,168,87,.16); }

/* ---------- base ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--abyss); color: var(--fg);
  font-family: var(--font-body); font-weight: 400; line-height: 1.55; font-size: 16px;
  transition: background-color 1.1s var(--ease), color 1.1s var(--ease);
  overflow-x: clip;   /* not `hidden`: that would make body a scroll container and break position: sticky */
}
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
.wrap { width: min(var(--wrap), 100% - 2*var(--gutter)); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }
::selection { background: var(--accent); color: var(--ink); }

/* ---------- background art ---------- */
.bg-art { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: -2; overflow: hidden; background: #061a2a url("../assets/art/bg-descent-poster.webp") center top / cover no-repeat; }
.bg-art__video { position: absolute; left: 50%; top: 0; width: 100%; height: auto; transform: translate(-50%, 0); transform-origin: top center; will-change: transform; display: block; }
.bg-art::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(3,12,20,var(--tint-a)); transition: background 1.1s var(--ease); }
.bg-art::after  { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(3,12,20,.55) 0, rgba(3,12,20,0) 150px), linear-gradient(to bottom, rgba(3,12,20,0) 35%, rgba(3,12,20,.45) 100%); }
/* NOTE: never hide the videos under prefers-reduced-motion — many iPhones have Reduce Motion on and the page then looks frozen.
   Reduced motion only tones down page reveals/transitions (see the rule near the end of this file). */

/* ---------- type ---------- */
.eyebrow {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
  color: var(--accent); margin: 0 0 18px; display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.display {
  font-family: var(--font-display); font-weight: 300; line-height: .92; letter-spacing: -.02em;
  font-size: clamp(2.6rem, 8vw, 7.4rem); margin: 0; overflow-wrap: anywhere; font-variation-settings: "opsz" 144, "SOFT" 60;
}
.display-2 {
  font-family: var(--font-display); font-weight: 300; line-height: 1; letter-spacing: -.015em;
  font-size: clamp(2.3rem, 5.2vw, 4.6rem); margin: 0 0 20px; font-variation-settings: "opsz" 144, "SOFT" 40;
}
.display-2--tight { max-width: 16ch; }
.display-2 em, .display em, .line--italic { font-style: italic; font-weight: 400; color: var(--accent); }
.lede { font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: var(--muted); max-width: 52ch; margin: 0; }
.fine { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 26px; }
.sec-head { margin-bottom: clamp(28px, 4vw, 52px); }
.sec-head--split { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.sec-head--split .lede { max-width: 36ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 999px;
  font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  border: 1px solid var(--line); position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .3s var(--ease);
  will-change: transform;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--fg);
  transform: translateY(102%); transition: transform .5s var(--ease-out); }
.btn:hover::after { transform: translateY(0); }
.btn:hover { color: var(--bg); border-color: var(--fg); }
.btn--solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--solid::after { background: var(--accent); }
.btn--solid:hover { color: var(--ink); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold::after { background: var(--gold-2); }
.btn--ghost { background: rgba(3,12,20,.25); border-color: rgba(244,240,231,.4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--pill { padding: 9px 18px; font-size: 11px; }
.icon-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px;
  transition: background .3s, color .3s, transform .3s; }
.icon-btn:hover { background: var(--fg); color: var(--bg); transform: scale(1.06); }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none; opacity: 0; transition: opacity .3s; mix-blend-mode: difference; }
body.has-cursor .cursor { opacity: 1; }
.cursor__ring { position: absolute; width: 36px; height: 36px; border: 1.5px solid #fff; border-radius: 50%; transform: translate(-50%,-50%) scale(var(--s,1));
  transition: transform .35s var(--ease-out), opacity .3s; }
.cursor__dot { position: absolute; width: 5px; height: 5px; background: #fff; border-radius: 50%; transform: translate(-50%,-50%); }
.cursor__label { position: absolute; transform: translate(-50%,-50%); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #fff; opacity: 0; white-space: nowrap; transition: opacity .25s; }
.cursor.is-hover .cursor__ring { --s: 1.8; }
.cursor.is-label .cursor__ring { --s: 2.6; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-label .cursor__label { opacity: 1; }

/* ---------- depth gauge ---------- */
.gauge { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 50; display: flex; flex-direction: column; align-items: center; gap: 14px; pointer-events: none;
  opacity: 0; transition: opacity .6s; }
body.is-scrolled .gauge { opacity: 1; }
.gauge__track { position: relative; width: 1px; height: 180px; background: var(--line); }
.gauge__track::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(to bottom, var(--fg) 0 1px, transparent 1px 18px); opacity: .25; left: -3px; width: 7px; }
.gauge__fill { position: absolute; top: 0; left: 0; width: 100%; height: var(--p,0%); background: var(--accent); transition: height .15s linear; }
.gauge__marker { position: absolute; left: 50%; top: var(--p,0%); width: 9px; height: 9px; border-radius: 50%; background: var(--accent); transform: translate(-50%,-50%); box-shadow: 0 0 0 4px var(--glow); transition: top .15s linear; }
.gauge__readout { writing-mode: vertical-rl; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; }
.gauge__depth { color: var(--fg); font-variant-numeric: tabular-nums; }

/* ---------- header ---------- */
.head-phone { white-space: nowrap; }
/* service pills: Air · Water · Plumbing, part of the header on every page */
.realms-nav { display: flex; gap: 2px; padding: 2px; border-radius: 999px; background: rgba(5,16,26,.28); border: 1px solid rgba(244,240,231,.14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); margin-left: 4px; }
.realms-nav a { padding: 6px 13px; border-radius: 999px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; opacity: .78; white-space: nowrap; line-height: 1.2;
  transition: background .3s, opacity .3s, color .3s; }
.realms-nav a:hover { opacity: 1; }
.realms-nav a[aria-current="page"], .realms-nav a.is-active { background: rgba(244,240,231,.92); color: var(--ink); opacity: 1; }
:root { --head-h: 58px; }
@media (max-width: 1100px) { :root { --head-h: 105px; } }   /* default = the measured header height (two rows below 1100 px), so nothing moves when JS sets the real one */
body { padding-top: var(--head-h); }                 /* the header is its own strip above everything, never over the art */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: 100; display: flex; align-items: center; gap: 24px; padding: 10px var(--gutter); min-height: 58px;
  background: color-mix(in srgb, var(--abyss) 94%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--line); transition: background .5s, padding .4s, border-color .5s; }
body.is-scrolled .site-head { background: color-mix(in srgb, var(--abyss) 88%, transparent); }
.brand { display: flex; align-items: center; gap: 10px; }
.site-head .nav { margin-left: auto; }
.brand__mark { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); transition: transform .6s var(--ease-out); }
.brand:hover .brand__mark { transform: translateY(-2px) scale(1.06); }
.brand__name { font-family: var(--font-display); font-size: 20px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 26px); white-space: nowrap; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.nav > a, .nav button { position: relative; padding: 6px 0; opacity: .85; transition: opacity .3s; display: inline-flex; align-items: center; gap: 6px; letter-spacing: inherit; text-transform: inherit; font-size: inherit; font-weight: inherit; }
.nav > a::after, .nav button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.nav > a:hover, .nav button:hover { opacity: 1; }
.nav > a:hover::after, .nav__item:hover button::after { transform: scaleX(1); transform-origin: left; }
.nav button i { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .3s; }
.nav__item { position: relative; }
.nav__item:hover button i { transform: rotate(225deg) translateY(-2px); }
.menu { position: absolute; top: calc(100% + 14px); left: -18px; min-width: 300px; padding: 10px; border-radius: 18px;
  background: color-mix(in srgb, var(--bg) 88%, transparent); border: 1px solid var(--line); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); text-transform: none; letter-spacing: 0; font-weight: 400;
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .3s, transform .4s var(--ease-out); }
.menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav__item:hover .menu, .nav__item:focus-within .menu { opacity: 1; transform: none; pointer-events: auto; }
.menu a { display: grid; padding: 12px 14px; border-radius: 12px; transition: background .25s; }
.menu a:hover { background: var(--card); }
.menu b { font-weight: 600; font-size: 14px; }
.menu span { font-size: 12.5px; color: var(--muted); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; top: 18px; transition: transform .4s var(--ease), top .4s; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
.overlay { position: fixed; inset: 0; z-index: 90; background: var(--abyss); color: var(--ivory); display: grid; place-content: center; gap: 30px; text-align: center;
  clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .7s var(--ease-out); }
.overlay.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); }
.overlay nav { display: grid; gap: 14px; }
.overlay nav a { font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3.4rem); line-height: 1.05; font-weight: 300; opacity: .9; }
.overlay nav a:hover { color: var(--aqua-2); font-style: italic; }
.overlay__phone { letter-spacing: .2em; font-size: 13px; text-transform: uppercase; color: var(--gold-2); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-content: end; overflow: hidden; isolation: isolate;
  /* the art's logo occupies the top ~34% of the viewport width (cover scales by width); keep the copy below it */
  padding: calc(100vw * var(--logo-end, 0.30) + 24px) var(--gutter) 110px; text-align: center; }
.hero__inner { width: min(var(--wrap), 100%); margin-inline: auto; display: grid; justify-items: center; }
.hero__eyebrow { animation: rise 1s var(--ease-out) both .2s; justify-content: center; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.hero__eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.hero__title { text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; transform: translateY(110%); animation: lineUp 1.2s var(--ease-out) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__lede { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: rgba(244,240,231,.8); text-shadow: 0 1px 14px rgba(0,0,0,.4); max-width: 52ch; margin: 30px auto 0; animation: rise 1s var(--ease-out) both .5s; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 36px; animation: rise 1s var(--ease-out) both .65s; }
.hero__meta { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 34px; display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); animation: rise 1s var(--ease-out) both 1s; }
.hero__scroll { display: inline-flex; align-items: center; gap: 10px; }
.hero__scroll i { width: 1px; height: 36px; background: currentColor; position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateY(-100%); animation: drip 1.8s ease-in-out infinite; }
.hero__horizon { display: none; }
@keyframes lineUp { to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes drip { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(100%); } }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; background: rgba(3,12,20,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.ticker__track { display: flex; gap: 48px; width: max-content; animation: ticker 80s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span { display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.ticker__track span::after { content: "◆"; font-size: 7px; color: var(--accent); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { padding: clamp(36px, 4.2vw, 60px) 0; position: relative; }

/* tiers */
.tiers__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1400px; }
.tier { position: relative; border: 1px solid var(--line); border-radius: 24px; padding: 34px 30px 30px; background: var(--card); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); min-height: 520px; display: flex; flex-direction: column;
  transform-style: preserve-3d; transition: transform .5s var(--ease-out), box-shadow .5s, border-color .4s; overflow: hidden; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tier:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); box-shadow: 0 40px 80px -40px rgba(0,0,0,.45), 0 0 0 1px var(--glow) inset; }
.tier__shine { position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx,50%) var(--my,50%), var(--glow), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.tier:hover .tier__shine { opacity: 1; }
.tier__top { min-height: 18px; }   /* numeral + realm removed 2026-10-29; keeps the badge/emblem spacing */
.tier__numeral { font-family: var(--font-display); font-size: 15px; letter-spacing: .3em; color: var(--muted); }
.tier__realm { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); border: 1px solid currentColor; padding: 5px 10px; border-radius: 999px; }
.tier__glyph { width: 84px; height: 84px; margin: 34px 0 20px; color: var(--accent); transition: transform .6s var(--ease-out); }
.tier__glyph--img { width: 150px; height: 150px; margin: 26px auto 18px; }
.tier__glyph--img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(0,0,0,.5)); }
.tier:hover .tier__glyph--img { transform: translateY(-6px) scale(1.06); }
.tier:hover .tier__glyph { transform: translateY(-6px) rotate(-4deg) scale(1.04); }
.tier__name { font-family: var(--font-display); font-size: clamp(2.2rem, 3.6vw, 3.2rem); font-weight: 300; line-height: 1; margin: 0; letter-spacing: -.01em; text-align: center; }
.tier__size { color: var(--muted); font-size: 13px; letter-spacing: .08em; margin: 8px 0 18px; text-align: center; }
.tier__blurb { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; margin: 0 0 26px; font-weight: 400; text-align: center; }
.tier__specs { list-style: none; padding: 0; margin: auto 0 26px; border-top: 1px solid var(--line); }
.tier__specs li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.tier__specs li span:first-child { color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: 10.5px; }
.tier__specs li span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }
.tier__link { display: inline-flex; align-items: center; gap: 12px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.tier__link i { width: 34px; height: 1px; background: currentColor; transition: width .4s var(--ease-out); }
.tier:hover .tier__link i { width: 54px; }
.tier--featured { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 12%, var(--card)), var(--card)); }
.tier--featured::before { content: "Most chosen"; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }

/* solutions */
.solutions__list { border-top: 1px solid var(--line); }
.sol { display: grid; grid-template-columns: 70px 1.2fr 1.4fr auto; gap: 28px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .4s var(--ease-out); }
.sol:hover { padding-left: 14px; }
.sol::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.sol:hover::before { transform: scaleX(1); }
.sol__idx { font-family: var(--font-display); font-size: 14px; letter-spacing: .2em; color: var(--muted); }
.sol__title { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 300; line-height: 1; margin: 0; transition: font-style .2s, color .3s; }
.sol:hover .sol__title { font-style: italic; color: var(--accent); }
.amp { font-style: normal; }
.sol__blurb { color: var(--muted); margin: 0; }
.sol__lines { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sol__lines span { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--line); padding: 4px 9px; border-radius: 999px; }
.sol__arrow { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, color .3s, transform .5s var(--ease-out); }
.sol:hover .sol__arrow { background: var(--fg); color: var(--bg); transform: rotate(-45deg); }

/* story (sticky scroll-tell) */
.story__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.story__sticky { position: sticky; top: 110px; }
.diagram { width: min(100%, 440px); margin-top: 30px; color: var(--fg); }
.diagram--ro { width: min(100%, 520px); }
.part { transition: opacity .6s, filter .6s; opacity: .35; }
.part--pipes { opacity: .45; }
.part.is-on { opacity: 1; filter: drop-shadow(0 0 14px var(--glow)); }
.part--media.is-on, .part--pre.is-on, .part--membrane.is-on { color: var(--accent); }
.flow { stroke: var(--accent); stroke-dasharray: 6 14; animation: flow 1.6s linear infinite; }
.flow--out { animation-direction: normal; }
.needle { transform-origin: 246px 109px; animation: needle 4s ease-in-out infinite; }
.membrane-lines path { animation: pulse 2.4s ease-in-out infinite; }
@keyframes flow { to { stroke-dashoffset: -40; } }
@keyframes needle { 0%,100% { transform: rotate(-20deg);} 50% { transform: rotate(60deg);} }
@keyframes pulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
.story__steps { list-style: none; margin: 0; padding: 0; padding-top: 10vh; }
.step { padding: 34px 0 34px 34px; border-left: 1px solid var(--line); position: relative; min-height: 50vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .6s; }
.step.is-on { opacity: 1; }
.step::before { content: ""; position: absolute; left: -5px; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: background .4s, box-shadow .4s; }
.step.is-on::before { background: var(--accent); box-shadow: 0 0 0 6px var(--glow); }
.step__n { font-size: 11px; letter-spacing: .24em; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.step h3 { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.8rem, 2.8vw, 2.5rem); line-height: 1.05; margin: 0 0 14px; }
.step p { color: var(--muted); max-width: 42ch; margin: 0; font-size: 1.05rem; }

/* stats */
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 1101px) { .stats__grid:has(> .stat:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); } }   /* three honest figures, not four (phones/tablets keep their own 2 / 1 column rules) */
.stat { padding: 40px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; inset: auto -40% -60% -40%; height: 120%; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); opacity: 0; transition: opacity .6s; }
.stat:hover::after { opacity: 1; }
.stat__value { font-family: var(--font-display); font-size: clamp(3rem, 5.5vw, 5rem); font-weight: 300; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat__value sup { font-size: .4em; color: var(--accent); vertical-align: top; margin-left: 2px; }
.stat__label { margin-top: 12px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* voices */
.gscore { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 12px; color: var(--muted); animation: rise .5s var(--ease-out) both; }
.gscore[hidden] { display: none; }
.gscore__stars { color: var(--accent); letter-spacing: 1px; font-size: 13px; }
.gscore__rating { color: var(--fg); font-weight: 600; font-size: 13px; }
.gscore__g { padding-left: 8px; border-left: 1px solid var(--line); }
.gscore:hover { border-color: var(--accent); color: var(--fg); }
.voice__stars { color: var(--accent); letter-spacing: 2px; font-size: 14px; margin: -10px 0 12px; }
.voice__g { position: absolute; top: 22px; right: 24px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.voice__g:hover { color: var(--accent); }

.voices__nav { display: flex; gap: 10px; }
.voices__rail { --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); display: flex; gap: 20px; overflow-x: auto; padding: 0 var(--edge) 20px; scroll-padding-inline: var(--edge); scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.voices__rail::-webkit-scrollbar { display: none; }
.voices__rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.voice { flex: 0 0 min(520px, 82vw); scroll-snap-align: start; border: 1px solid var(--line); border-radius: 26px; padding: 40px 38px; background: var(--card); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); display: flex; flex-direction: column; position: relative; user-select: none; }
.voice__mark { font-family: var(--font-display); font-size: 110px; line-height: .5; color: var(--accent); opacity: .5; margin-bottom: 20px; }
.voice__quote { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.38; margin: 0 0 32px; }
.voice__who { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.voice__who span:last-child { color: var(--muted); letter-spacing: .08em; text-transform: none; font-size: 13px; }

/* faq */
.faq__wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; }
.faq__wrap .sec-head { position: sticky; top: 120px; align-self: start; }
.faq__list { border-top: 1px solid var(--line); }
/* search box above the list */
.faq__ask { display: flex; align-items: center; gap: 10px; padding: 4px 6px 4px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); margin-bottom: 18px; transition: border-color .3s, box-shadow .3s; }
.faq__ask:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); }
.faq__ask svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; flex: none; }
.faq__input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--fg); font: inherit; font-size: 15px; padding: 10px 0; }
.faq__input::placeholder { color: rgba(244,240,231,.45); }
.faq__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.faq__askus { flex: none; padding: 9px 16px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; animation: rise .4s var(--ease-out) both; }
.faq__none { margin: -6px 0 18px 18px; color: var(--muted); font-size: 13.5px; }
/* numbered rows with a caustic hover and a drawn rule on open */
.qa { position: relative; border-bottom: 1px solid var(--line); transition: opacity .3s; }
.qa.is-hidden { display: none; }
.qa::before { content: ""; position: absolute; inset: 0 -28px; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(55% 90% at var(--mx, 50%) 50%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%); }
.qa:hover::before, .qa.is-open::before { opacity: 1; }
.qa__q { position: relative; width: 100%; display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 18px; text-align: left; padding: 26px 0; font-family: var(--font-display); font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 300; line-height: 1.2; transition: color .3s; }
.qa__q:hover { color: var(--accent); }
.qa__n { font-family: var(--font-body); font-size: 11px; letter-spacing: .22em; color: var(--muted); font-variant-numeric: tabular-nums; transition: color .3s, text-shadow .3s; }
.qa.is-open .qa__n { color: var(--accent); text-shadow: 0 0 12px color-mix(in srgb, var(--accent) 60%, transparent); }
.qa__t mark { background: color-mix(in srgb, var(--accent) 28%, transparent); color: inherit; border-radius: 3px; padding: 0 2px; }
.qa__q i { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform .6s var(--ease-out), background .3s, border-color .3s, box-shadow .3s; }
.qa__q i::before, .qa__q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%,-50%); }
.qa__q i::after { transform: translate(-50%,-50%) rotate(90deg); }
.qa__q:hover i { border-color: var(--accent); }
.qa.is-open .qa__q i { transform: rotate(135deg); background: var(--accent); border-color: var(--accent); color: var(--ink); box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 45%, transparent); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.qa__a > div { overflow: hidden; padding-left: 52px; }
.qa__a > div::before { content: ""; display: block; width: 0; height: 1px; background: var(--accent); margin-bottom: 18px; transition: width .7s var(--ease-out) .1s; }
.qa.is-open .qa__a > div::before { width: 72px; }
.qa__a p { margin: 0 0 26px; color: var(--muted); max-width: 60ch; font-size: 1.02rem; opacity: 0; transform: translateY(8px); transition: opacity .5s .15s, transform .6s var(--ease-out) .15s; }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa.is-open .qa__a p { opacity: 1; transform: none; }
.qa__w { margin: -6px 0 30px; opacity: 0; transform: translateY(10px); transition: opacity .5s .25s, transform .7s var(--ease-out) .25s; }
.qa.is-open .qa__w { opacity: 1; transform: none; }
.qa__w p { margin: 0; max-width: none; opacity: 1; transform: none; transition: none; font-size: 12.5px; color: var(--muted); }
@media (max-width: 700px) { .qa__q { grid-template-columns: 26px 1fr 30px; gap: 12px; } .qa__a > div { padding-left: 0; } .qa__q i { width: 30px; height: 30px; } }
/* --- hardness dial */
.hw { display: grid; grid-template-columns: 250px 1fr; gap: 26px; align-items: center; }
.hw__dial { position: relative; }
.hw__dial svg { width: 100%; height: auto; display: block; overflow: visible; }
.hw__track { fill: none; stroke: var(--line); stroke-width: 10; stroke-linecap: round; }
.hw__fill { fill: none; stroke: var(--accent); stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease-out); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 60%, transparent)); }
.hw__tick { font-family: var(--font-body); font-size: 8.5px; letter-spacing: .1em; fill: var(--muted); }
.hw__needle { transform-origin: 100px 110px; transform-box: view-box; transition: transform 1s var(--ease-out); }
.hw__needle path { stroke: var(--fg); stroke-width: 2; stroke-linecap: round; } .hw__needle circle { fill: var(--fg); }
.hw__read { position: absolute; left: 0; right: 0; top: 60%; text-align: center; font-family: var(--font-display); font-weight: 300; line-height: 1; }
.hw__read b { font-size: 2rem; font-weight: 300; } .hw__read span { margin-left: 4px; font-family: var(--font-body); font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.hw__class { text-align: center; margin-top: 6px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.hw__cities { display: flex; flex-wrap: wrap; gap: 6px; }
.hw__cities button { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 12.5px; color: var(--fg); transition: border-color .3s, background .3s, color .3s; }
.hw__cities button:hover { border-color: var(--accent); }
.hw__cities button.is-on { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.qa__w .hw__src { margin: 12px 0 0; } .qa__w .hw__note { margin: 8px 0 0; font-size: 11.5px; color: rgba(244,240,231,.45); }
/* --- what's different: four tiles */
.dif { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.dif__tile { position: relative; padding: 16px 16px 16px 44px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); opacity: 0; transform: translateY(10px); transition: border-color .3s; }
.qa.is-live .dif__tile { animation: rise .6s var(--ease-out) both; animation-delay: calc(var(--i) * 90ms + 200ms); }
.dif__tile:hover { border-color: var(--accent); }
.dif__tile i { position: absolute; left: 16px; top: 19px; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--accent); }
.dif__tile i::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.dif__tile b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.08rem; margin-bottom: 3px; }
.dif__tile span { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; }
/* --- install timeline */
.tl { position: relative; padding-top: 6px; }
.tl__line { position: absolute; left: 7px; right: 7px; top: 13px; height: 1px; background: var(--line); }
.tl__line i { display: block; height: 100%; width: 0; background: var(--accent); box-shadow: 0 0 8px var(--accent); transition: width 1.4s var(--ease-out) .2s; }
.qa.is-live .tl__line i { width: 100%; }
.tl__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tl__step { position: relative; padding-top: 24px; }
.tl__step em { position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--accent); background: var(--bg); transform: scale(0); }
.tl__step em::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--accent); }
.qa.is-live .tl__step em { animation: pop .5s var(--ease-out) both; animation-delay: calc(var(--i) * 420ms + 250ms); }
.tl__step b { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.tl__step span { font-family: var(--font-display); font-weight: 300; font-size: 1.1rem; line-height: 1.2; }
.qa__w .tl__note { margin: 18px 0 0; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
/* --- financing estimate */
.fin { display: grid; gap: 14px; max-width: 520px; }
.fin__row { display: grid; gap: 8px; }
.fin__row label, .fin__row > span { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.fin__price { color: var(--fg); letter-spacing: .05em; font-size: 13px; }
.fin__range { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; }
.fin__range::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--p, 40%), var(--line) var(--p, 40%)); }
.fin__range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7.5px; border-radius: 50%; background: var(--fg); border: 3px solid var(--accent); box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 60%, transparent); }
.fin__range::-moz-range-track { height: 3px; border-radius: 3px; background: var(--line); } .fin__range::-moz-range-progress { height: 3px; background: var(--accent); }
.fin__range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--fg); border: 3px solid var(--accent); }
.fin__terms { display: flex; gap: 6px; }
.fin__terms button { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 12.5px; color: var(--fg); transition: border-color .3s, background .3s, color .3s; }
.fin__terms button.is-on { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.fin__out { display: flex; align-items: baseline; gap: 10px; font-family: var(--font-display); font-weight: 300; }
.fin__out b { font-weight: 300; font-size: 2.4rem; line-height: 1; color: var(--fg); } .fin__out > span { font-family: var(--font-body); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.qa__w .fin__note { font-size: 12px; color: rgba(244,240,231,.5); }
/* --- mini coverage map */
.mm { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; }
.mm__art { position: relative; border-radius: 18px; overflow: hidden; }
.mm__art img { display: block; width: 100%; height: auto; -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(75% 75% at 50% 50%, #000 55%, transparent 100%); }
.mm__pin { position: absolute; transform: translate(-50%, -50%); }
.mm__pin i { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent), 0 0 12px var(--accent); transform: scale(0); }
.qa.is-live .mm__pin i { animation: pop .5s var(--ease-out) both; animation-delay: calc(var(--i) * 110ms + 300ms); }
.mm__pin b { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 4px); white-space: nowrap; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg); opacity: 0; transition: opacity .3s; pointer-events: none; text-shadow: 0 1px 6px #000; }
.mm__pin:hover b, .mm__art:hover .mm__pin b { opacity: 1; }
.mm__regions { display: flex; flex-wrap: wrap; gap: 6px; }
.mm__regions span { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 12.5px; opacity: 0; }
.qa.is-live .mm__regions span { animation: rise .5s var(--ease-out) both; animation-delay: calc(var(--i) * 90ms + 400ms); }
.qa__w .mm__note { margin: 12px 0 0; }
@media (max-width: 700px) { .hw, .mm { grid-template-columns: 1fr; } .hw__dial { max-width: 280px; margin: 0 auto; } .dif { grid-template-columns: 1fr; } .tl__steps { gap: 8px; } .tl__step span { font-size: .98rem; } }

/* coverage */
.coverage__wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: center; }
.coverage__wrap:has(.map--art) { grid-template-columns: 0.8fr 1.7fr; gap: 40px; }
.coverage__regions { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.coverage__regions li { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; border: 1px solid var(--line); padding: 7px 12px; border-radius: 999px; transition: background .3s, color .3s, border-color .3s; cursor: default; }
.coverage__regions li:hover, .coverage__regions li.is-on { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.coverage__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 24px; }
.coverage__facts b { font-family: var(--font-display); font-weight: 300; font-size: 2.4rem; display: block; line-height: 1; }
.coverage__facts span { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.coverage__map { position: relative; }
.map { width: 100%; color: var(--fg); }
/* painted map: edges feather into the page and the dark ground screens away so it never reads as a box */
.map--art { position: relative; aspect-ratio: 1536 / 1024; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.map__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.map__pins { position: absolute; inset: 0; pointer-events: none; }   /* let the cursor reach the region shapes beneath */
.map__pins .pin { pointer-events: auto; }
.map__regions-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__regions-art polygon { fill: var(--accent); fill-opacity: 0; stroke: var(--accent); stroke-opacity: 0; stroke-width: .35; vector-effect: non-scaling-stroke; transition: fill-opacity .5s, stroke-opacity .5s; pointer-events: fill; cursor: pointer; }
.map__regions-art polygon.is-on { fill-opacity: .30; stroke-opacity: 1; stroke-width: .6; filter: drop-shadow(0 0 10px var(--accent)) drop-shadow(0 0 22px var(--glow)); animation: regionPulse 2.4s ease-in-out infinite; }
@keyframes regionPulse { 0%, 100% { fill-opacity: .26; } 50% { fill-opacity: .38; } }
.pin.is-region::after { background: var(--gold-2); }
.coverage__regions li { cursor: pointer; }
.readout__live { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; }
.live__sys { display: grid; gap: 2px; margin-bottom: 10px; }
.live__sys b { font-weight: 600; font-size: 13px; }
.live__sys span { color: var(--muted); font-size: 12px; }
.live__row { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.live__row span { color: var(--muted); }
.live__row b { font-weight: 600; }
.live__row b.is-ok { color: var(--aqua-2); }
.live__row b.is-warn { color: var(--gold-2); }
.live__note { margin: 10px 0 0; font-size: 11px; color: var(--muted); line-height: 1.5; }
.live__note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.pin { position: absolute; width: 30px; height: 30px; transform: translate(-50%, -50%); cursor: pointer; background: none; border: 0; padding: 0; border-radius: 50%; }
.pin::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); opacity: .22; animation: haloBox 2.6s ease-out infinite; }
@keyframes haloBox { 0% { transform: scale(.35); opacity: .4; } 100% { transform: scale(1.3); opacity: 0; } }
.pin::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); transform: translate(-50%, -50%); box-shadow: 0 0 10px var(--accent); transition: width .3s, height .3s, background .3s; }
.pin.is-on::after { width: 14px; height: 14px; background: var(--gold-2); box-shadow: 0 0 16px var(--gold-2); }
.pin:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.coverage__map.has-art .readout { position: static; display: inline-block; margin-top: 8px; min-width: 280px; max-width: 420px; }
.coverage__map.has-art .map--art { width: calc(100% + 2 * var(--gutter)); margin-left: calc(-1 * var(--gutter)); }
.map__state { transition: stroke .4s; }
.map__regions path, .map__regions rect { fill: currentColor; fill-opacity: 0; stroke: currentColor; stroke-opacity: .18; transition: fill-opacity .4s; }
.map__regions .is-on { fill-opacity: .07; }
.map__ranges path { stroke-linecap: round; }
.city { cursor: pointer; }
.city circle.dot { fill: var(--accent); transition: r .3s; }
.city circle.halo { fill: var(--accent); opacity: .25; animation: halo 2.6s ease-out infinite; }
.city text { font-family: var(--font-body); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; fill: currentColor; fill-opacity: .7; pointer-events: none; transition: fill-opacity .3s; }
.city:hover text, .city.is-on text { fill-opacity: 1; }
.city.is-on circle.dot { r: 7; }
@keyframes halo { 0% { r: 6; opacity: .35; } 100% { r: 22; opacity: 0; } }
.readout { position: absolute; left: 20px; bottom: 20px; background: color-mix(in srgb, var(--bg) 80%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; min-width: 250px; }
.readout__city { font-family: var(--font-display); font-size: 1.4rem; margin: 0 0 10px; font-weight: 300; }
.readout__bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.readout__bar i { display: block; height: 100%; width: var(--w,0%); background: linear-gradient(90deg, var(--aqua-2), var(--gold)); transition: width .8s var(--ease-out); }
.readout__meta { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.readout__gpg { color: var(--fg); font-weight: 600; }

/* cta */
.cta { background: none; }
.cta__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cta__actions { margin-top: 32px; }
.form { border: 1px solid var(--line); border-radius: 26px; padding: 34px; background: var(--card); display: grid; gap: 18px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.form__row > label { align-content: start; }
.form label { display: grid; gap: 8px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; color: var(--fg); font: inherit; font-size: 15px; letter-spacing: 0; text-transform: none; outline: none; transition: border-color .3s; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--accent); }
.form .btn { justify-self: start; }
.form__done { color: var(--accent); margin: 0; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; }

/* footer */
.foot { background: rgba(3,10,16,.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--ivory); padding: 90px 0 30px; border-top: 1px solid rgba(255,255,255,.08); }
.foot__popular { margin-bottom: 44px; font-size: 14px; line-height: 1.9; color: var(--muted); }
.foot__popular a, .plumb__more a { color: var(--ivory); text-underline-offset: 3px; }
.foot__popular a:hover, .plumb__more a:hover { color: var(--accent); }
.plumb__more { margin: 28px 0 0; font-size: 14px; line-height: 1.9; color: var(--muted); }
.foot__wrap { display: grid; grid-template-columns: 1.4fr 2fr; gap: 60px; }
.foot__brand { display: grid; gap: 8px; justify-items: start; }
.foot__brand p { color: rgba(244,240,231,.6); max-width: 36ch; margin: 10px 0 16px; }
.foot__brand a, .foot__brand span { font-size: 13px; letter-spacing: .08em; color: rgba(244,240,231,.8); }
.foot__brand a:hover { color: var(--aqua-2); }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.foot__cols h3 { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 18px; font-weight: 600; }
.foot__cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot__cols a { color: rgba(244,240,231,.7); font-size: 14px; transition: color .3s, padding-left .3s; }
.foot__cols a:hover { color: #fff; padding-left: 6px; }
.foot__base { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; margin-top: 70px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(244,240,231,.72); }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
/* ---------- hero with a clip layered over the page background (air.html) ----------
   The clip runs full width at its own aspect (no crop), so its horizon meets the painting's horizon
   underneath; the last slice is masked to transparent and the two read as one image. */
.hero--video { padding-top: 0; padding-inline: 0; align-content: start; }   /* clip hugs the header; no gap on short content */
.hero--video .hero__inner { padding-inline: var(--gutter); width: 100%; }
.hero__media { position: relative; width: 100%; aspect-ratio: 1470 / 630; margin-bottom: clamp(28px, 3vw, 48px); }
/* The fade-to-page mask sits on the <video> itself (and on the tint overlay), not on the wrapper: iOS composites the video as its
   own layer and ignores a mask on the parent box, which turned the soft join into a hard edge on phones. translateZ(0) keeps the
   masked video on its own layer on Safari. */
.hero__clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; -webkit-transform: translateZ(0); transform: translateZ(0);
  -webkit-mask-image: linear-gradient(to bottom, #000 92%, transparent 100%); mask-image: linear-gradient(to bottom, #000 92%, transparent 100%); }
.hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; transition: background 1.1s var(--ease);
  -webkit-mask-image: linear-gradient(to bottom, #000 92%, transparent 100%); mask-image: linear-gradient(to bottom, #000 92%, transparent 100%);
  background: linear-gradient(to bottom, rgba(3,12,20,.5) 0, rgba(3,12,20,0) 22%), rgba(3,12,20,var(--tint-a)); } /* same tint as the painting beneath + header scrim */

/* ---------- frame scrub: exploded-view sequence driven by scroll ---------- */
.scrub { position: relative; height: calc(100svh * 3.4); }
.scrub__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; z-index: 2; }   /* above the shared frame layer */
/* one fixed canvas, a direct child of <body>, so `screen` blending sees the page background (a sticky/fixed pin would
   wall it off in its own stacking context and the frames' black would stay black) */
.scrub-layer { position: fixed; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; display: none;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }   /* frames are keyed to real transparency in JS: no blend, no dark pool */
.scrub-shade { position: fixed; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; display: none; }
.scrub-shade.is-on { display: block; }   /* crush the renders' near-black JPEG noise to true black so no rectangle shows */
.scrub-layer.is-on { display: block; }
.scrub__head { position: absolute; top: clamp(84px, 12vh, 130px); left: 0; right: 0; z-index: 2; text-align: center; padding: 0 var(--gutter); pointer-events: none;
  text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.scrub__head .display-2 { margin: 0; }
.scrub__loading { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 180px; text-align: center; transition: opacity .5s; }
.scrub__loading i { display: block; height: 1px; width: 100%; background: rgba(244,240,231,.14); position: relative; overflow: hidden; }
.scrub__loading i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 0%); background: var(--accent); transition: width .3s; }
.scrub__loading span { display: block; margin-top: 10px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.scrub.is-ready .scrub__loading { opacity: 0; }
.scrub__callouts { list-style: none; margin: 0; padding: 0; }
.callout { position: absolute; top: 50%; width: min(320px, 38vw); padding: 20px 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  opacity: 0; transform: translateY(calc(-50% + 26px)); transition: opacity .55s var(--ease), transform .55s var(--ease-out); pointer-events: none; }
.callout.is-on { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.callout--left { left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.callout--right { right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.callout__n { font-size: 11px; letter-spacing: .24em; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.callout h3 { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.08; margin: 0 0 10px; }
.callout p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.scrub__hint { position: absolute; left: 0; right: 0; bottom: 28px; text-align: center; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); transition: opacity .5s; }
.scrub__hint i { display: inline-block; width: 1px; height: 22px; background: currentColor; vertical-align: middle; margin-right: 10px; opacity: .6; }
.scrub.is-moving .scrub__hint { opacity: 0; }
/* loop mode: the sequence plays by itself (assemble ⇄ explode); the section is one screen tall and not pinned */
.scrub[data-mode="loop"] { height: 100svh; min-height: 640px; padding: 28px 0; }
/* keep the heading over the product area, clear of the notes column */
.scrub[data-mode="loop"] .scrub__head { right: calc(min(340px, 30vw) + max(var(--gutter), calc((100vw - var(--wrap)) / 2)) + 24px); top: clamp(60px, 9vh, 100px); }
.scrub[data-mode="loop"] .scrub__pin { position: relative; height: 100%; }
.scrub[data-mode="loop"] .scrub__hint { display: none; }
.scrub__callouts { position: absolute; inset: 0; pointer-events: none; }   /* scrub mode: callouts float over the box */
.scrub .callout { pointer-events: auto; }
/* loop mode on desktop: the notes are a steady column on the right; the product is drawn in the space to their left */
.scrub[data-mode="loop"] .scrub__callouts { inset: auto; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); top: 50%; transform: translateY(-50%);
  width: min(340px, 30vw); display: grid; gap: 12px; }
.scrub[data-mode="loop"] .callout { position: static; width: auto; opacity: 1; transform: none; animation: none; }
@media (max-width: 1100px) {
  .scrub { height: calc(100svh * 3); }
  .callout { top: auto; bottom: 64px; left: var(--gutter); right: var(--gutter); width: auto; transform: translateY(26px); }
  .callout.is-on { transform: none; }
  .scrub__hint { display: none; }
  /* loop sections on phones: animation box on top, explanations listed underneath (no overlap, no fading) */
  .scrub[data-mode="loop"] { height: auto; min-height: 0; padding: 24px 0 40px; }
  .scrub[data-mode="loop"] .scrub__head { right: 0; }
  .scrub[data-mode="loop"] .scrub__pin { height: 60svh; min-height: 380px; }
  .scrub[data-mode="loop"] .scrub__callouts { position: static; transform: none; width: auto; display: grid; gap: 10px; padding: 0 var(--gutter); }
  .scrub[data-mode="loop"] .callout { position: static; width: auto; opacity: 1; transform: none; }
}

/* ---------- tier cards: playing-card flip ---------- */
/* the card itself must carry NO filter/backdrop-filter/overflow: those flatten preserve-3d and the back face never shows.
   Glass, border and background live on the two faces instead. */
.tier--flip { height: 600px; min-height: 0; padding: 0; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; overflow: visible;
  transform-style: preserve-3d; transition: transform .9s var(--ease), box-shadow .4s; cursor: pointer; }
.tier--flip.is-flipped { transform: rotateY(180deg); cursor: auto; }
.tier--flip:hover { border-color: transparent; }
.tier__face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 24px; border: 1px solid var(--line);
  background: var(--card); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: border-color .4s; }
.tier--flip:hover .tier__face { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.tier__face--front { padding: 34px 30px 30px; display: flex; flex-direction: column; overflow: hidden; }
.tier__face--back { transform: rotateY(180deg); background: color-mix(in srgb, var(--abyss) 88%, transparent); display: flex; flex-direction: column; overflow: hidden; }
.tier--flip.tier--featured { background: none; }
.tier--flip.tier--featured::before { display: none; }
.tier--flip.tier--featured .tier__face--front { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 12%, var(--card)), var(--card)); }
.tier--flip.tier--featured .tier__face--front::before { content: "Most chosen"; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.tier__back-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 22px 22px 14px 26px; border-bottom: 1px solid var(--line); }

.tier__back-name { font-family: var(--font-display); font-weight: 300; font-size: 1.9rem; line-height: 1; margin: 6px 0 0; }
.tier__back-name em { font-style: italic; color: var(--accent); }
.tier__flipback { width: 38px; height: 38px; border-radius: 50%; background: rgba(244,240,231,.07); color: var(--muted); font-size: 22px; line-height: 1; flex: none; }
.tier__flipback:hover { color: var(--fg); background: rgba(244,240,231,.14); }
.tier__back-scroll { overflow-y: auto; padding: 18px 26px 26px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; -webkit-overflow-scrolling: touch; }
.tier__desc { margin: 0 0 16px; font-family: var(--font-display); font-style: italic; font-size: 1.05rem; line-height: 1.45; }
.tier__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 0 16px; }
.tier__stats div { padding: 10px 6px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); text-align: center; }
.tier__stats b { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.2; }
.tier__stats span { display: block; margin-top: 3px; font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.tier__feats { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.tier__feats li { display: grid; gap: 2px; font-size: 12.5px; line-height: 1.45; }
.tier__feats b { font-weight: 600; font-size: 12.5px; }
.tier__feats span { color: var(--muted); }
.tier__comp-intro { margin: 0 0 8px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.tier__comps { display: grid; gap: 6px; margin-bottom: 18px; }
.comp { border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.comp--featured { border-color: color-mix(in srgb, var(--gold-2) 55%, var(--line)); }
.comp summary { list-style: none; display: grid; grid-template-columns: 1fr auto 18px; gap: 10px; align-items: center; padding: 11px 12px 11px 14px; cursor: pointer; }
.comp summary::-webkit-details-marker { display: none; }
.comp__name { font-weight: 600; font-size: 13.5px; }
.comp__cat { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: right; }
.comp summary i { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; transition: transform .3s; justify-self: end; margin-right: 2px; }
.comp[open] summary i { transform: rotate(225deg); }
.comp__body { padding: 0 14px 14px; font-size: 12.5px; line-height: 1.5; }
.comp__body > p { margin: 0 0 10px; color: rgba(244,240,231,.9); }
.comp__specs { list-style: none; padding: 0; margin: 0 0 10px; border-top: 1px solid var(--line); }
.comp__specs li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.comp__specs li span:first-child { color: var(--muted); letter-spacing: .12em; text-transform: uppercase; font-size: 10px; flex: none; }
.comp__specs li span:last-child { text-align: right; font-weight: 600; }
.comp__benefits { margin: 0; padding-left: 16px; color: var(--muted); display: grid; gap: 3px; }
.tier__cta { justify-self: start; color: var(--ink); }   /* the card's --bg is its painting url, so .btn--solid's color: var(--bg) fell back to ivory-on-ivory */
.tier--flip .tier__link { margin-top: auto; }
@media (max-width: 1100px) { .tier--flip { height: 560px; } .tier__stats { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .tier--flip { transition: none; } }



/* ---------- ambient sound button (js/ambient.js) ---------- */
.sound { position: fixed; left: 18px; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 9px; padding: 8px 14px 8px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(4,16,26,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--muted); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; transition: color .3s, border-color .3s, opacity .4s; opacity: .75; }
.sound:hover, .sound.is-on { opacity: 1; color: var(--fg); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.sound__bars { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.sound__bars i { width: 2px; height: 3px; background: var(--accent); border-radius: 1px; transition: height .3s; }
.sound.is-on .sound__bars i { animation: soundBar 1s ease-in-out infinite; }
.sound.is-on .sound__bars i:nth-child(2) { animation-delay: .15s; } .sound.is-on .sound__bars i:nth-child(3) { animation-delay: .3s; } .sound.is-on .sound__bars i:nth-child(4) { animation-delay: .45s; }
@keyframes soundBar { 0%, 100% { height: 3px; } 50% { height: 12px; } }
@media (max-width: 700px) { .sound { left: 12px; bottom: 12px; padding: 8px 10px; } .sound__label { display: none; } }
@media (prefers-reduced-motion: reduce) { .sound.is-on .sound__bars i { animation: none; height: 8px; } }


/* ---------- hub "Start here" quiz ---------- */
.hub-title__start { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 18px 10px 12px; border-radius: 999px; border: 1px solid rgba(244,240,231,.3); background: rgba(4,16,26,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--fg); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; transition: border-color .3s, background .3s, transform .4s var(--ease-out); pointer-events: auto; }
.hub-title__start i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2, var(--accent)); box-shadow: 0 0 10px var(--gold-2, var(--accent)); animation: pulse 2s ease-in-out infinite; }
.hub-title__start:hover { border-color: var(--gold-2, var(--accent)); background: rgba(4,16,26,.7); transform: translateY(-2px); }
.qz { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.qz[hidden] { display: none; }
.qz__backdrop { position: absolute; inset: 0; background: rgba(3,12,20,.8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fadeIn .4s both; }
.qz__panel { position: relative; width: min(680px, 100%); padding: 40px 40px 34px; border-radius: 28px; background: color-mix(in srgb, var(--abyss) 94%, transparent); border: 1px solid var(--line); box-shadow: 0 40px 100px rgba(0,0,0,.55); animation: showIn .6s var(--ease-out) both; --c: var(--accent); }
.qz[data-realm="water"] .qz__result { --c: #5FD0DC; } .qz[data-realm="air"] .qz__result { --c: #E8D19A; } .qz[data-realm="plumbing"] .qz__result { --c: #8BE0A5; }
.qz__close { position: absolute; top: 14px; right: 16px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; font-size: 24px; line-height: 1; color: var(--muted); background: rgba(244,240,231,.06); transition: color .3s, transform .4s var(--ease-out); }
.qz__close:hover { color: var(--fg); transform: rotate(90deg); }
.qz__eyebrow { margin: 0 0 12px; } .qz__step { color: var(--muted); }
.qz__progress { height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; margin-bottom: 26px; } .qz__progress i { display: block; height: 100%; width: 0; background: var(--accent); box-shadow: 0 0 10px var(--accent); transition: width .5s var(--ease-out); }
.qz__q { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; margin: 0 0 22px; }
.qz__answers { display: grid; gap: 10px; }
.qz__a { text-align: left; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--fg); font-size: 15px; line-height: 1.35; transition: border-color .3s, background .3s, transform .4s var(--ease-out); opacity: 0; }
.qz__body.is-in .qz__a { animation: rise .5s var(--ease-out) both; animation-delay: calc(var(--i) * 70ms + 80ms); }
.qz__a:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--card)); transform: translateX(4px); }
.qz__back, .qz__restart { margin-top: 18px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); } .qz__back:hover, .qz__restart:hover { color: var(--fg); }
.qz__result { display: grid; gap: 12px; justify-items: start; }
.qz__result[hidden], .qz__body[hidden] { display: none; }
.qz__panel { outline: none; }
.qz__result.is-in > * { animation: rise .55s var(--ease-out) both; } .qz__result.is-in > :nth-child(2) { animation-delay: .08s; } .qz__result.is-in > :nth-child(3) { animation-delay: .16s; } .qz__result.is-in > :nth-child(4) { animation-delay: .24s; }
.qz__emblem { width: 64px; height: 64px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--c) 60%, var(--line)); background: color-mix(in srgb, var(--c) 14%, transparent); display: grid; place-items: center; box-shadow: 0 0 30px color-mix(in srgb, var(--c) 35%, transparent); overflow: hidden; }
.qz__emblem img { width: 100%; height: 100%; object-fit: cover; } .qz__emblem b { font-family: var(--font-display); font-weight: 300; font-size: 1.1rem; color: var(--c); }
.qz__rtitle { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.08; margin: 0; color: var(--c); }
.qz__rblurb { margin: 0; color: var(--muted); max-width: 52ch; }
.qz__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.qz__also { margin: 4px 0 0; font-size: 13px; color: var(--muted); } .qz__also a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) { .qz { padding: 10px; } .qz__panel { padding: 54px 20px 26px; border-radius: 20px; } .hub-title__start { margin-top: 16px; } }

/* realm paintings behind the tier cards (content.js tiers[].bg → --bg on the card): full on the front under a dark fade so the specs stay legible, faint on the back */
.tier--flip .tier__face--front { background-image: linear-gradient(180deg, rgba(4,16,26,.18) 0%, rgba(4,16,26,.55) 42%, rgba(4,16,26,.9) 72%, rgba(4,16,26,.96) 100%), var(--bg, none); background-size: cover; background-position: center top; }
.tier--flip.tier--featured .tier__face--front { background-image: linear-gradient(180deg, rgba(4,16,26,.14) 0%, rgba(4,16,26,.52) 42%, rgba(4,16,26,.9) 72%, rgba(4,16,26,.96) 100%), var(--bg, none); }
.tier--flip .tier__face--back { background-image: linear-gradient(180deg, rgba(4,16,26,.9), rgba(4,16,26,.96)), var(--bg, none); background-size: cover; background-position: center; }
.tier--flip .tier__face--front .tier__glyph--img img { filter: drop-shadow(0 8px 24px rgba(0,0,0,.6)); }
.tier--flip .tier__face--front .tier__name, .tier--flip .tier__face--front .tier__size { text-shadow: 0 2px 10px rgba(0,0,0,.6); }

.tier--flip.tier--featured .tier__face--front::before { background: rgba(4,16,26,.72); padding: 5px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); color: var(--fg); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* ---------- choose-your-tier band + pop-up ---------- */
.tierbar { padding: 34px 0; }
.tierbar__wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 44px 36px; border-radius: 24px; border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(90deg, rgba(4,16,26,.62) 0%, rgba(4,16,26,.42) 45%, rgba(4,16,26,.22) 75%, rgba(4,16,26,.35) 100%), url("../assets/art/tierbar-realms.webp") center / cover no-repeat; }
@media (min-width: 901px) { .tierbar__wrap { aspect-ratio: 2172 / 620;   /* painting is 3:1; this crops ~7% off top and bottom evenly (Chris, 2026-11-01) */ } }   /* band matches the painting's shape so the whole image fits, nothing cropped (Chris, 2026-11-01) */   /* Chris's three-realms panorama (2026-11-01) */
.tierbar__title, .tierbar__lede { text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.tierbar__emblems img { box-shadow: 0 6px 18px rgba(0,0,0,.6); }
.tierbar__emblems { display: flex; }
.tierbar__emblems img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); background: var(--abyss); margin-left: -12px; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.tierbar__emblems img:first-child { margin-left: 0; }
.tierbar__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.1; margin: 4px 0 6px; }
.tierbar__lede { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 52ch; }
.tierbar__btn { white-space: nowrap; }
.tm { position: fixed; inset: 0; z-index: 200; display: grid; place-items: start center; padding: 20px; overflow: auto; }
.tm[hidden] { display: none; }
.tm__backdrop { position: fixed; inset: 0; background: rgba(3,12,20,.8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fadeIn .4s both; }
.tm__panel { position: relative; width: min(1240px, 100%); margin: 10px 0 40px; padding: 44px 40px 40px; border-radius: 28px; background: color-mix(in srgb, var(--abyss) 94%, transparent); border: 1px solid var(--line); box-shadow: 0 40px 100px rgba(0,0,0,.55); animation: showIn .6s var(--ease-out) both; }
.tm__close { position: absolute; top: 16px; right: 18px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; font-size: 26px; line-height: 1; color: var(--muted); background: rgba(244,240,231,.06); transition: color .3s, transform .4s var(--ease-out); }
.tm__close:hover { color: var(--fg); transform: rotate(90deg); }
.tm__head { margin-bottom: 28px; }
.tm .tiers__grid [data-reveal] { opacity: 1; }                      /* no transform here: it would override .tier--flip.is-flipped and kill the flip */
.tm .tier--flip.is-flipped { transform: rotateY(180deg); }
@media (max-width: 900px) {
  .tierbar__wrap { grid-template-columns: 1fr; gap: 16px; padding: 22px 20px; text-align: left; }
  .tierbar__btn { justify-self: start; }
  .tm { padding: 10px; } .tm__panel { padding: 56px 18px 24px; border-radius: 20px; margin: 0 0 20px; }
}

/* ---------- the house: interactive cutaway + system walk-throughs ---------- */
.house__wrap { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: center; }
.house__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.house__item { position: relative; display: grid; grid-template-columns: 14px 1fr auto; gap: 14px; align-items: center; padding: 16px 18px 16px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--card);
  cursor: pointer; overflow: hidden; transition: border-color .35s, background .35s, transform .45s var(--ease-out), box-shadow .45s; text-align: left; width: 100%; }
.house__item::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--c); opacity: 0; transform: scaleY(.3); transition: opacity .35s, transform .45s var(--ease-out); }
.house__item i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 45%, transparent); transition: box-shadow .45s; }
.house__item b { font-family: var(--font-display); font-weight: 300; font-size: 1.35rem; line-height: 1.05; display: block; transition: color .35s; }
.house__item small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.house__item span:last-child { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.house__item.is-on, .house__item:hover { border-color: color-mix(in srgb, var(--c) 55%, var(--line)); background: color-mix(in srgb, var(--c) 10%, var(--card)); transform: translateX(6px); box-shadow: 0 10px 30px -14px color-mix(in srgb, var(--c) 50%, transparent); }
.house__item.is-on::before, .house__item:hover::before { opacity: 1; transform: none; }
.house__item.is-on i, .house__item:hover i { box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 22%, transparent), 0 0 14px var(--c); }
.house__item.is-on b { color: var(--c); }
.house__stage { position: relative; color: var(--fg); }
.house__svg { width: 100%; height: auto; display: block; overflow: visible; }
.house__hint { position: absolute; left: 0; bottom: -6px; margin: 0; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
/* the drawing */
.h-label { font-family: var(--font-body); font-size: 9.5px; letter-spacing: .18em; fill: currentColor; fill-opacity: .5; transition: fill .35s, fill-opacity .35s; }
.h-grade { fill: none; stroke: currentColor; stroke-opacity: .45; stroke-width: 1.2; }
.h-street { fill: currentColor; fill-opacity: .14; }
.h-shell { transition: opacity .5s; }
.h-room { fill: url(#hRoom); stroke: currentColor; stroke-opacity: .08; }
.h-attic { fill: currentColor; fill-opacity: .02; }
.h-wall { fill: currentColor; fill-opacity: .3; }
.h-slab { fill: currentColor; fill-opacity: .2; }
.h-part { fill: none; stroke: currentColor; stroke-opacity: .2; stroke-width: 2; }
.h-win { fill: currentColor; fill-opacity: .05; stroke: currentColor; stroke-opacity: .35; stroke-width: 1.6; }
.h-mull { fill: none; stroke: currentColor; stroke-opacity: .2; stroke-width: 1.4; }
.h-knob { fill: currentColor; fill-opacity: .4; }
.h-fill { fill: currentColor; fill-opacity: .045; stroke: currentColor; stroke-opacity: .2; stroke-width: 1.4; }
.h-fill-strong { fill: currentColor; fill-opacity: .1; stroke: currentColor; stroke-opacity: .25; stroke-width: 1.4; }
.h-counter { fill: currentColor; fill-opacity: .4; }
.h-fixture { fill: none; stroke: currentColor; stroke-opacity: .55; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.h-glass { fill: none; stroke: currentColor; stroke-opacity: .18; stroke-width: 1.4; }
.h-spray { fill: none; stroke: currentColor; stroke-opacity: .3; stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 2 3; }
.h-tank { fill: url(#hSteel); stroke: currentColor; stroke-opacity: .4; stroke-width: 1.6; }
.hit { fill: transparent; stroke: none; pointer-events: all; }
.sys { cursor: pointer; color: var(--fg); transition: opacity .5s; }
.sys .casing { fill: none; stroke: #04101A; stroke-opacity: .9; stroke-width: 7.5; stroke-linecap: round; stroke-linejoin: round; }
.sys .pipe, .sys .body, .sys .fixture, .sys .valve, .sys .coil, .sys .lamp, .sys .rays, .sys .flame, .sys .wave, .sys .screen { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-opacity: .6; transition: stroke .4s, stroke-opacity .4s, fill .4s, fill-opacity .4s, filter .4s; }
.sys .pipe--hot { stroke: #F4A261; stroke-opacity: .5; }
.sys .pipe--drain { stroke-opacity: .32; stroke-width: 3.2; }
.sys .pipe--vent { stroke-opacity: .22; stroke-width: 2.2; stroke-dasharray: 3 6; }
.sys .pipe--new { fill: none; stroke: var(--c); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-opacity: 0; transition: stroke-opacity .5s; }
.sys .body { fill: currentColor; fill-opacity: .06; stroke-width: 1.8; }
.sys .body--steel { fill: url(#hSteel); }
.sys .screen { fill: currentColor; fill-opacity: .2; stroke-width: 1; }
.sys .valve circle { fill: #04101A; }
.sys .flame { stroke-opacity: .5; }
.sys .wave { stroke-opacity: .3; stroke-width: 1.6; }
.sys .rays { stroke-opacity: .22; stroke-width: 2; }
.sys .lamp { stroke-width: 3; stroke-opacity: .5; }
.flow { fill: none; stroke: var(--c, var(--fg)); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 11; stroke-opacity: 0; transition: stroke-opacity .45s; }
.flow--drain { stroke-dasharray: 2 16; stroke-width: 2.4; }
.ambient .flow { stroke: var(--fg); stroke-opacity: .16; animation: pipeFlow 3.6s linear infinite; transition: stroke-opacity .5s; }
.house__stage[data-active] .ambient .flow, .show__stage .ambient { stroke-opacity: 0; opacity: 0; }
.house__stage[data-active] .sys:not(.is-on) { opacity: .42; }
.house__stage[data-active] .h-shell { opacity: .62; }
.sys.is-on .pipe, .sys.is-on .body, .sys.is-on .fixture, .sys.is-on .valve, .sys.is-on .coil, .sys.is-on .lamp, .sys.is-on .rays, .sys.is-on .flame, .sys.is-on .wave { stroke: var(--c); stroke-opacity: 1; }
.sys.is-on .body { fill: var(--c); fill-opacity: .16; }
.sys.is-on .screen { fill: var(--c); fill-opacity: .6; stroke: var(--c); }
.sys.is-on .pipe--drain, .sys.is-on .pipe--vent { stroke-opacity: .7; }
.sys.is-on .part { filter: drop-shadow(0 0 7px color-mix(in srgb, var(--c) 70%, transparent)); }
.sys.is-on .flow { stroke-opacity: .95; animation: pipeFlow 1.15s linear infinite; }
.sys.is-on .flow--drain { animation-duration: 2s; }
.sys.is-on .lamp { stroke-width: 3.5; filter: drop-shadow(0 0 8px var(--c)); }
.sys.is-on .rays { animation: raysPulse 1.6s ease-in-out infinite; }
.sys.is-on .flame { animation: flicker .9s ease-in-out infinite; transform-origin: 449px 503px; transform-box: view-box; }
.sys.is-on .h-label { fill: var(--c); fill-opacity: 1; }
.sys.is-on .pipe--new { stroke-opacity: .9; }
.part { transition: opacity .5s, filter .4s; }
@keyframes pipeFlow { to { stroke-dashoffset: -26; } }
@keyframes raysPulse { 0%, 100% { stroke-opacity: .35; } 50% { stroke-opacity: 1; } }
@keyframes flicker { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.25) translateY(-1px); } }
/* ---- walk-through modal */
.show__stage .sys.is-on .part { opacity: .3; filter: none; }
.show__stage .sys.is-on .part.is-step { opacity: 1; filter: drop-shadow(0 0 7px color-mix(in srgb, var(--c) 70%, transparent)); }
.show__stage .sys.is-on .part:not(.is-step) .flow { animation: none; stroke-opacity: 0; }
.show__stage .sys:not(.is-on) { opacity: .14; }
.show__stage .h-shell { opacity: .55; }
.show__stage .house__hint, .show__stage .h-soil, .show__stage .h-vig, .show__stage .hit { display: none; }
.show__stage .h-label { font-size: var(--lbl, 9.5px); letter-spacing: var(--lsp, .18em); }   /* labels keep their on-screen size while the camera zooms */
.show__stage .sys { cursor: default; }
.htag { pointer-events: none; }
.htag__ping { fill: none; stroke: var(--c); stroke-width: 1.5; animation: htagPing 1.8s ease-out infinite; }
.htag__dot { fill: var(--c); }
.htag__lead { fill: none; stroke: var(--c); stroke-opacity: .8; stroke-linecap: round; }
.htag__pill { fill: #04101A; fill-opacity: .82; stroke: var(--c); stroke-opacity: .55; }
.htag__text { font-family: var(--font-body); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; fill: var(--fg); }
.htag--in { animation: htagIn .5s var(--ease-out) both; }
@keyframes htagPing { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.4); } }
@keyframes htagIn { from { opacity: 0; } }
.show { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.show[hidden] { display: none; }
.show__backdrop { position: absolute; inset: 0; background: rgba(3,12,20,.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fadeIn .4s both; }
.show__panel { position: relative; width: min(1080px, 100%); max-height: calc(100svh - 40px); overflow: auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; border-radius: 26px; overflow: hidden;
  background: color-mix(in srgb, var(--abyss) 92%, transparent); border: 1px solid var(--line); box-shadow: 0 40px 100px rgba(0,0,0,.55), inset 0 1px 0 rgba(244,240,231,.08); animation: showIn .6s var(--ease-out) both; }
.show__close { position: absolute; top: 14px; right: 16px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; font-size: 24px; line-height: 1; color: var(--muted); background: rgba(244,240,231,.06); transition: color .3s, transform .4s var(--ease-out); }
.show__close:hover { color: var(--fg); transform: rotate(90deg); }
.show__stage { position: relative; padding: 36px 28px; display: grid; place-items: center; color: var(--fg); overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 60% at 50% 50%, color-mix(in srgb, var(--c, var(--accent)) 14%, transparent), transparent 72%), #061420; }
.show__stage::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(244,240,231,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(244,240,231,.045) 1px, transparent 1px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000 30%, transparent 100%); mask-image: radial-gradient(80% 80% at 50% 50%, #000 30%, transparent 100%); }
.show__stage::after { content: ""; position: absolute; inset: 0; z-index: -1; box-shadow: inset 0 0 90px rgba(3,10,16,.7); pointer-events: none; }
.show__frame { width: 100%; animation: stageIn .8s var(--ease-out) both; }
.show__stage .house__svg { width: 100%; height: auto; }
.show__side { padding: 40px 36px 26px; display: flex; flex-direction: column; gap: 14px; border-left: 1px solid var(--line); }
.show__text { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.show__eyebrow { color: var(--c, var(--accent)); margin: 0; }
.show__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.08; margin: 0; }
.show__body { color: rgba(244,240,231,.86); line-height: 1.62; font-size: 15.5px; flex: 1; }
.show__body p { margin: 0; }
.show__text.is-in > * { animation: slideIn .55s var(--ease-out) both; }
.show__text.is-in > :nth-child(2) { animation-delay: .06s; } .show__text.is-in > :nth-child(3) { animation-delay: .12s; } .show__text.is-in > :nth-child(4) { animation-delay: .18s; }
@keyframes slideIn { from { opacity: 0; transform: translateX(calc(var(--dx, 1) * 22px)); } }
.show__chips { display: grid; gap: 8px; margin: 4px 0 18px; }
.show__chips div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); font-size: 13.5px; animation: rise .55s var(--ease-out) both; animation-delay: calc(var(--i) * 70ms + 120ms); }
.show__chips b { font-weight: 600; }
.show__chips span { color: var(--muted); text-align: right; }
.show__progress { height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.show__progress i { display: block; height: 100%; width: 0; background: var(--c, var(--accent)); box-shadow: 0 0 10px var(--c, var(--accent)); transition: width .6s var(--ease-out); }
.show__nav { display: flex; align-items: center; gap: 14px; }
.show__dots { display: flex; gap: 7px; margin-left: auto; }
.show__dots i { width: 7px; height: 7px; border-radius: 4px; background: var(--line); transition: background .35s, width .45s var(--ease-out); cursor: pointer; }
.show__dots i.is-on { background: var(--c, var(--accent)); width: 22px; }
.show__dots i.is-done { background: color-mix(in srgb, var(--c, var(--accent)) 45%, var(--line)); }
.show__count { white-space: nowrap; font-size: 11px; letter-spacing: .2em; color: var(--muted); font-variant-numeric: tabular-nums; margin-right: auto; }
@keyframes showIn { from { opacity: 0; transform: translateY(22px) scale(.975); } }
@keyframes stageIn { from { opacity: 0; transform: scale(.94); } }
@keyframes fadeIn { from { opacity: 0; } }
@media (max-width: 1100px) {
  .house__wrap { grid-template-columns: 1fr; gap: 20px; }
  .house__list { grid-template-columns: 1fr 1fr; }
  .house__item { padding: 12px 14px 12px 18px; } .house__item b { font-size: 1.1rem; } .house__item span:last-child { display: none; }
  .show__panel { grid-template-columns: 1fr; max-height: calc(100svh - 24px); }
  .show__stage { padding: 22px 16px; } .show__side { border-left: 0; border-top: 1px solid var(--line); padding: 22px 20px 18px; }
  .house__hint { position: static; margin-top: 10px; }
}
@media (max-width: 700px) { .house__list { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .flow, .ambient .flow, .htag__ping, .sys.is-on .rays, .sys.is-on .flame { animation: none; } .show__text.is-in > * { animation: none; } }


/* --- air FAQ widgets: room sizer, smoke clear-time, ozone scale, upkeep */
.rs { display: grid; gap: 12px; max-width: 540px; }
.rs__row { display: grid; gap: 8px; } .rs__row label { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.rs__sqft { color: var(--fg); letter-spacing: .05em; font-size: 13px; }
.rs__out { display: flex; align-items: baseline; gap: 10px; font-family: var(--font-display); font-weight: 300; }
.rs__out b { font-weight: 300; font-size: 2.4rem; line-height: 1; } .rs__out span { font-family: var(--font-body); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.rs__bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; } .rs__bar i { display: block; height: 100%; width: 0; background: var(--accent); box-shadow: 0 0 10px var(--accent); transition: width .6s var(--ease-out); }
.rs__band b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; color: var(--accent); } .rs__band span { font-size: 13px; color: var(--muted); }
.rs__band[data-level="3"] b { color: #FFB08A; }
.sk { display: grid; gap: 14px; position: relative; }
.sk__rooms { display: grid; gap: 10px; max-width: 520px; }
.sk__room { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; font-size: 13px; color: var(--muted); }
.sk__room b { grid-row: 1 / span 2; font-family: var(--font-display); font-weight: 300; font-size: 1.5rem; color: var(--fg); }
.sk__bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; } .sk__bar i { display: block; height: 100%; width: 0; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.qa.is-live .sk__bar i { animation: skFill 1.2s var(--ease-out) both; animation-delay: calc(var(--i) * 180ms + 200ms); }
@keyframes skFill { to { width: var(--w); } }
.sk__cloud { position: absolute; right: 0; top: 0; width: 160px; height: 110px; pointer-events: none; }
.sk__cloud i { position: absolute; left: var(--x); top: var(--y); width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle, rgba(244,240,231,.28), transparent 70%); opacity: 0; }
.qa.is-live .sk__cloud i { animation: smokeClear 2.6s ease-in-out both; animation-delay: var(--d); }
@keyframes smokeClear { 0% { opacity: 0; transform: scale(.6); } 25% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5) translateY(-14px); } }
.oz { display: grid; gap: 10px; max-width: 560px; }
.oz__track { position: relative; height: 6px; border-radius: 6px; margin: 18px 10px 10px 0; background: linear-gradient(90deg, var(--accent), #FFB08A 70%, #FF7A59); opacity: .9; }
.oz__track i { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; transform: translate(-50%, -50%); }
.oz__aether { background: var(--fg); border: 3px solid var(--accent); box-shadow: 0 0 14px var(--accent); }
.qa.is-live .oz__aether { animation: ozPing 1.8s ease-out 3; }
@keyframes ozPing { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 100% { box-shadow: 0 0 0 16px transparent; } }
.oz__limit { background: #FF7A59; opacity: .8; }
.oz__labels { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--muted); }
.oz__labels b { display: block; font-family: var(--font-display); font-weight: 300; font-size: 1.5rem; color: var(--fg); } .oz__l { text-align: right; } .oz__l b { color: #FFB08A; }
.qa__w .oz__src { font-size: 12px; } .qa__w .oz__note { font-size: 12px; color: rgba(244,240,231,.5); }
.uk__items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.uk__item { padding: 14px 14px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); opacity: 0; }
.qa.is-live .uk__item { animation: rise .55s var(--ease-out) both; animation-delay: calc(var(--i) * 120ms + 200ms); }
.uk__item em { display: inline-block; font-style: normal; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); border-radius: 999px; padding: 3px 8px; margin-bottom: 8px; }
.uk__item b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.08rem; margin-bottom: 4px; } .uk__item span { font-size: 13px; color: var(--muted); line-height: 1.45; }
.qa__w .uk__note { margin-top: 10px; }
@media (max-width: 700px) { .uk__items { grid-template-columns: 1fr; } .sk__cloud { display: none; } }
/* --- plumbing FAQ widgets: emergency steps, credentials, hard-water chain */
.em { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.em__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.em__step { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 0 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); opacity: 0; }
.qa.is-live .em__step { animation: rise .55s var(--ease-out) both; animation-delay: calc(var(--i) * 140ms + 200ms); }
.em__step i { grid-row: 1 / span 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; color: var(--ink); background: var(--accent); box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 55%, transparent); }
.em__step b { font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; }
.em__step span { font-size: 13px; color: var(--muted); line-height: 1.45; }
.em__side { display: grid; gap: 12px; }
.em__call { justify-self: start; }
.qa__w .em__gas { font-size: 12.5px; color: #FFB08A; }
.dif--check .dif__tile { padding-left: 44px; }
.dif--check svg { position: absolute; left: 14px; top: 17px; width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; }
.qa.is-live .dif--check svg { animation: tick .6s var(--ease-out) both; animation-delay: calc(var(--i) * 90ms + 450ms); }
@keyframes tick { to { stroke-dashoffset: 0; } }
.hwd { display: grid; gap: 14px; }
.hwd__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hwd__chips button { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 12.5px; color: var(--fg); transition: border-color .3s, background .3s, color .3s; }
.hwd__chips button:hover { border-color: var(--accent); }
.hwd__chips button.is-on { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.hwd__chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; position: relative; }
.hwd__node { position: relative; padding: 12px 12px 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); opacity: 0; }
.hwd__chain.is-in .hwd__node { animation: rise .5s var(--ease-out) both; animation-delay: calc(var(--i) * 130ms); }
.hwd__node::after { content: "→"; position: absolute; right: -11px; top: 12px; color: var(--accent); font-size: 14px; z-index: 1; }
.hwd__node:last-child::after { content: none; }
.hwd__node em { display: block; font-style: normal; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.hwd__node--fix em, .hwd__node--treat em { color: var(--accent); }
.hwd__node--treat { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: color-mix(in srgb, var(--accent) 8%, var(--card)); }
.qa__w .hwd__node p { font-size: 13px; line-height: 1.45; color: var(--fg); }
.hwd__more { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); justify-self: start; }
@media (max-width: 700px) { .em { grid-template-columns: 1fr; } .hwd__chain { grid-template-columns: 1fr 1fr; } .hwd__node::after { content: none; } }

/* ---------- plumbing services: symptom chips + cards + lit house ---------- */
.plumb__symptoms { margin: -10px 0 28px; }
.plumb__ask { margin: 0 0 12px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.plumb__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.plumb__chips .chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--fg); font-size: 13px; transition: border-color .3s, background .3s, color .3s, transform .4s var(--ease-out); }
.plumb__chips .chip:hover { border-color: var(--accent); transform: translateY(-2px); }
.plumb__chips .chip.is-on { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.plumb__hint { min-height: 1.4em; margin: 12px 0 0; color: var(--muted); font-size: 14.5px; max-width: 72ch; }
.plumb__hint b { color: var(--fg); font-weight: 600; } .plumb__hint span { color: var(--accent); }
.plumb__hint.is-in { animation: rise .45s var(--ease-out) both; }
.plumb__wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 36px; align-items: start; }
.plumb__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plumb__stage { position: sticky; top: calc(var(--head-h, 80px) + 24px); }
.pc { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); color: var(--fg); overflow: hidden; isolation: isolate;
  transition: border-color .35s, transform .45s var(--ease-out), box-shadow .45s; }
.pc::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .45s; background: radial-gradient(80% 60% at 20% 0%, color-mix(in srgb, var(--c) 18%, transparent), transparent 70%); }
.pc:hover, .pc.is-on, .pc.is-hit { border-color: color-mix(in srgb, var(--c) 60%, var(--line)); transform: translateY(-3px); box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--c) 55%, transparent); }
.pc:hover::before, .pc.is-on::before, .pc.is-hit::before { opacity: 1; }
.pc.is-hit { animation: hit .9s var(--ease-out) both; }
@keyframes hit { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 55%, transparent); } 100% { box-shadow: 0 0 0 14px transparent; } }
.pc__top { display: flex; justify-content: space-between; align-items: center; }
.pc__icon { width: 26px; height: 26px; fill: none; stroke: var(--c); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--c) 50%, transparent)); }
.pc__badge { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.pc__badge--sameday, .pc__badge--now { border-color: color-mix(in srgb, var(--c) 60%, transparent); color: var(--c); }
.pc__badge--now { animation: pulse 1.6s ease-in-out infinite; }
.pc__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.08; margin: 0; transition: color .3s; }
.pc:hover .pc__title, .pc.is-on .pc__title, .pc.is-hit .pc__title { color: var(--c); }
.pc__blurb { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.pc__lines { display: flex; flex-wrap: wrap; gap: 6px; }
.pc__lines span { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--line); padding: 3px 8px; border-radius: 999px; color: var(--muted); }
.pc__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 6px; }
.pc__time { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pc__arrow { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 14px; transition: background .3s, color .3s, border-color .3s, transform .45s var(--ease-out); }
.pc:hover .pc__arrow, .pc.is-hit .pc__arrow { background: var(--c); border-color: var(--c); color: var(--ink); transform: translateX(3px); }
/* extra drawing bits on the plumbing house */
.sys .pipe--gas { stroke: #E8C547; stroke-opacity: .45; }
.sys .stain, .sys .burst, .sys .spray { fill: none; stroke: currentColor; stroke-opacity: .25; stroke-width: 1.6; stroke-linecap: round; transition: stroke .4s, stroke-opacity .4s; }
.sys .stain { fill: currentColor; fill-opacity: .05; }
.sys.is-on .stain { stroke: var(--c); stroke-opacity: .8; fill: var(--c); fill-opacity: .18; }
.sys.is-on .burst, .sys.is-on .spray { stroke: var(--c); stroke-opacity: 1; }
.sys.is-on .burst { animation: raysPulse 1s ease-in-out infinite; }
.leak__ping { fill: none; stroke: currentColor; stroke-opacity: 0; stroke-width: 1.5; }
.leak__dot { fill: currentColor; fill-opacity: .25; } .leak__drip { fill: currentColor; fill-opacity: 0; }
.sys.is-on .leak__ping { stroke: var(--c); stroke-opacity: 1; animation: leakPing 1.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.sys.is-on .leak__dot { fill: var(--c); fill-opacity: 1; } .sys.is-on .leak__drip { fill: var(--c); fill-opacity: .9; animation: drip 1.4s ease-in infinite; }
@keyframes leakPing { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.sys--network { pointer-events: none; }
.plumb__stage[data-active] .sys--network:not(.is-on) { opacity: .3; }
@media (max-width: 1100px) { .plumb__wrap { grid-template-columns: 1fr; } .plumb__stage { position: static; order: -1; } }
@media (max-width: 700px) { .plumb__grid { grid-template-columns: 1fr; } }

/* ---------- water finder (hero) + report window ---------- */
.finder { margin: 26px auto 0; width: min(520px, 100%); text-align: left; animation: rise 1s var(--ease-out) both .7s; }
.finder__label { display: block; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: #fff; opacity: .85; margin-bottom: 8px; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.finder__row { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(5,16,26,.5); border: 1px solid rgba(244,240,231,.18);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
.finder__input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--fg); font: inherit; font-size: 15px; padding: 10px 16px; }
.finder__input::placeholder { color: rgba(244,240,231,.5); }
.finder__row:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }   /* keyboard users see where they are (the input itself has no outline) */
.finder__btn { padding: 11px 22px; }
.finder__hint { margin: 10px 4px 0; font-size: 12px; color: rgba(244,240,231,.72); text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.wq { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.wq[hidden] { display: none; }
.wq__backdrop { position: absolute; inset: 0; background: rgba(3,12,20,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.wq__panel { position: relative; width: min(640px, 100%); max-height: calc(100svh - 40px); overflow: auto; padding: 32px clamp(22px, 4vw, 40px); border-radius: 26px;
  background: color-mix(in srgb, var(--abyss) 88%, transparent); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: wqIn .5s var(--ease-out) both; }
@keyframes wqIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.wq__close { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border-radius: 50%; font-size: 24px; line-height: 1; color: var(--muted); background: rgba(244,240,231,.06); }
.wq__close:hover { color: var(--fg); }
.wq__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.08; margin: 8px 0 18px; }
.wq__title em { font-style: italic; color: var(--gold-2); }
.wq__sys { display: grid; gap: 4px; margin-bottom: 14px; }
.wq__sys b { font-weight: 600; font-size: 15px; }
.wq__sys span { color: var(--muted); font-size: 13px; }
.wq__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 14px 0; }
.wq__stat { padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.wq__stat b { display: block; font-family: var(--font-display); font-weight: 300; font-size: 1.7rem; line-height: 1; }
.wq__stat b.is-ok { color: var(--aqua-2); } .wq__stat b.is-warn { color: var(--gold-2); }
.wq__stat span { display: block; margin-top: 6px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.wq__stat small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--muted); text-transform: none; letter-spacing: 0; }
.wq__hard { padding: 14px 16px; border-radius: 16px; border: 1px dashed var(--line); margin: 6px 0 14px; font-size: 13.5px; }
.wq__hard b { font-weight: 600; }
.wq__links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; margin: 6px 0 18px; }
.wq__links a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.wq__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.wq__fine { margin: 0; font-size: 11px; color: var(--muted); line-height: 1.5; }
.wq__err { color: var(--gold-2); }
@media (max-width: 700px) { .finder__row { flex-direction: column; border-radius: 22px; } .finder__btn { width: 100%; } .wq__panel { padding: 26px 18px; } }

/* ---------- plumbing page extras ---------- */
.form select { width: 100%; font: inherit; color: var(--fg); background: rgba(244,240,231,.06); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.form select option { color: #0A1B26; }
.form input[type="date"] { color-scheme: dark; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; letter-spacing: .06em; color: var(--muted); transition: background .25s, color .25s, border-color .25s; cursor: pointer; }
.choice input:checked + span { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.stat--promise { text-align: left; }
.stat--promise .stat__value { font-size: 1.1rem; color: var(--accent); letter-spacing: .2em; }
.promise__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.3rem, 1.8vw, 1.7rem); line-height: 1.1; margin: 10px 0 10px; }
.stat--promise .stat__label { text-transform: none; letter-spacing: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* ---------- air page extras ---------- */
.stat--spec .stat__value { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.specs__note { margin: 22px 0 0; font-size: 12.5px; color: var(--muted); max-width: 70ch; }
.caps { display: grid; border-top: 1px solid var(--line); margin-top: 28px; }
.cap { display: grid; grid-template-columns: minmax(160px, 1fr) 2fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cap b { font-weight: 600; font-size: 15px; }
.cap span { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.bundle { padding: 36px clamp(22px, 4vw, 48px); border-radius: 24px; background: var(--card); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.bundle h3 { font-family: var(--font-display); font-weight: 300; font-style: italic; font-size: clamp(1.7rem, 3vw, 2.5rem); margin: 6px 0 10px; line-height: 1.05; }
.bundle p { margin: 0; color: var(--muted); max-width: 60ch; }
@media (max-width: 700px) { .bundle { grid-template-columns: 1fr; } .cap { grid-template-columns: 1fr; gap: 6px; } }

@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; margin-left: auto; }
  .head-phone { white-space: nowrap; display: none; }
  /* phones/tablets: one slim row — mark, pills, burger — so the header stays out of the clip's logo */
  /* phones/tablets: same look as desktop — wordmark + pills — on two rows inside the solid strip (height measured in JS) */
  .site-head { flex-wrap: wrap; row-gap: 8px; padding: 10px var(--gutter) 10px; }
  .realms-nav { order: 3; flex-basis: 100%; justify-content: center; margin-left: 0; }
  .realms-nav a { padding: 7px 14px; flex: 1; text-align: center; font-size: 10px; letter-spacing: .16em; }
  .tiers__grid { grid-template-columns: 1fr; }
  .tier { min-height: 0; }
  .story__wrap, .faq__wrap, .coverage__wrap, .coverage__wrap:has(.map--art), .cta__wrap, .foot__wrap { grid-template-columns: 1fr; }
  .coverage__map.has-art .map--art { width: 100%; margin-left: 0; }
  .coverage__map.has-art .readout { display: block; max-width: none; }
  .story--alt .story__steps { order: 2; }
  .story__sticky { position: relative; top: 0; }
  .story__steps { padding-top: 0; }
  .step { min-height: 0; padding: 26px 0 26px 26px; opacity: 1; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .faq__wrap .sec-head { position: static; }
  .gauge { display: none; }
}
@media (max-width: 700px) {
  .sec-head--split { grid-template-columns: 1fr; align-items: start; }
  .sol { grid-template-columns: 1fr; gap: 12px; }
  .sol__idx, .sol__arrow { display: none; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat { padding: 28px 22px; }
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .foot__cols { grid-template-columns: 1fr; }
  .readout { position: static; margin-top: 16px; }
  .hero__meta .hero__coord { display: none; }
  .brand__name { font-size: 18px; }

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

/* ---------- Aether 3D viewer (air.html #explore, js/model.js): closed unit → tap → exploded parts ---------- */
.model__stage { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(18px, 2.4vw, 36px); align-items: stretch; }
.model__view { position: relative; width: 100%; justify-self: stretch; align-self: start; aspect-ratio: 1 / 1.02; border-radius: 24px; border: 1px solid var(--line); overflow: hidden; isolation: isolate; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
  background: radial-gradient(120% 90% at 50% 100%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%), radial-gradient(80% 70% at 50% 0%, rgba(244,240,231,.06), transparent 70%), var(--card); }
.model__view:active { cursor: grabbing; }
.model__view.is-hover { cursor: pointer; }
.model__view canvas { display: block; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity .9s var(--ease-out); }
.model__view.is-ready canvas { opacity: 1; }
.model__view::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: 9%; height: 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); filter: blur(10px); opacity: 0; transition: opacity 1.2s; z-index: 0; pointer-events: none; }
.model__view.is-ready::before { opacity: 1; }
.model__loading { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 160px; text-align: center; transition: opacity .5s; z-index: 2; pointer-events: none; }
.model__loading i { display: block; height: 1px; width: 100%; background: rgba(244,240,231,.14); position: relative; overflow: hidden; }
.model__loading i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 0%); background: var(--accent); transition: width .3s; }
.model__loading span { display: block; margin-top: 10px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.model__view.is-ready .model__loading { opacity: 0; }
.model__hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 50%, var(--line)); background: rgba(4,16,26,.72); color: var(--fg); font: 600 11px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; backdrop-filter: blur(8px);
  animation: rise .6s var(--ease-out) both .4s; cursor: pointer; }
.model__hint::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--glow); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 100% { box-shadow: 0 0 0 14px transparent; } }
.model__toggle { position: absolute; right: 16px; top: 16px; z-index: 3; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(4,16,26,.6); color: var(--fg); font: 600 10px/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; backdrop-filter: blur(8px); cursor: pointer; transition: border-color .3s, background .3s; }
.model__toggle:hover { border-color: var(--accent); background: rgba(4,16,26,.85); }
.model__tip { position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(244,240,231,.94); color: var(--ink); font: 500 12px/1 var(--font-body); white-space: nowrap;
  transform: translate(-50%, calc(-100% - 16px)); box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); transition: opacity .2s; }
.model__tip b { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--ivory); display: grid; place-items: center; font: 600 11px/1 var(--font-body); }
.model__tip::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: rgba(244,240,231,.94); transform: translateX(-50%) rotate(45deg); }
.model__side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.model__parts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.model__part { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--fg); text-align: left; font: 500 13px/1.25 var(--font-body); cursor: pointer; transition: border-color .3s, background .3s, transform .4s var(--ease-out); }
.model__part b { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font: 600 11px/1 var(--font-body); color: var(--muted); transition: background .3s, color .3s, border-color .3s; }
.model__part:hover, .model__part.is-hot { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); transform: translateX(3px); }
.model__part.is-on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--card)); }
.model__part.is-on b, .model__part.is-hot b { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.model__card { flex: 1; padding: 22px 24px 24px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 10%, var(--card)), var(--card)); min-height: 180px; }
.model__card-n { margin: 0 0 10px; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
.model__card-t { margin: 0 0 10px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.1; letter-spacing: -.01em; }
.model__card-b { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.model__card-t .amp { font-family: var(--font-body); font-weight: 500; }   /* Fraunces' ampersand is a swash form; use the grotesk's */
.model__card.is-swap > * { animation: rise .45s var(--ease-out) both; } .model__card.is-swap > :nth-child(2) { animation-delay: .05s; } .model__card.is-swap > :nth-child(3) { animation-delay: .1s; }
.model__specs { margin-top: clamp(28px, 4vw, 48px); }
.model__specs-t { margin: 0 0 14px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.3rem, 1.8vw, 1.6rem); }
.model__specs-g { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.model__specs-g > div { padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.model__specs-g dt { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.model__specs-g dd { margin: 0; font-size: 15px; }
@media (max-width: 900px) {
  .model__stage { grid-template-columns: 1fr; }
  .model__view { aspect-ratio: 4 / 4.4; }
  .model__parts { grid-template-columns: 1fr 1fr; }
  .model__specs-g { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .model__parts { grid-template-columns: 1fr 1fr; gap: 6px; }
  .model__part { padding: 9px 10px; font-size: 12px; gap: 9px; }
  .model__specs-g { grid-template-columns: 1fr; }
  .model__hint { bottom: 14px; }
}
.model__hint[hidden], .model__tip[hidden], .model__toggle[hidden] { display: none; }
/* presentation mode ("Play the flow"): a slide over the stage, the side card dimmed, pills hidden */
.model.is-presenting .model__hint, .model.is-presenting .model__nav, .model.is-presenting .model__finish, .model.is-presenting .model__tip { display: none; }
.model__side { position: relative; }
/* desktop: the show takes the whole right column — list and card fade out underneath, the slide sits centred beside the model */
.model.is-presenting .model__parts, .model.is-presenting .model__card { transition: opacity .5s, filter .5s; }
.model.is-presenting .model__side > .model__parts, .model.is-presenting .model__side > .model__card { opacity: .1; filter: blur(3px); pointer-events: none; }
.model__slide { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 5; max-height: 62%; overflow: hidden; padding: 18px 20px 14px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(4,16,26,.78), rgba(4,16,26,.9)); backdrop-filter: blur(14px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); opacity: 0; transform: translateY(14px); }
.model__side > .model__slide { inset: 0; left: 0; right: 0; bottom: 0; max-height: none; display: flex; flex-direction: column; justify-content: center; padding: clamp(18px, 2.4vw, 32px); border-radius: 22px; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, rgba(4,16,26,.92)), rgba(4,16,26,.96)); }
.model__side > .model__slide[hidden] { display: none; }
.model__side > .model__slide .model__slide-t { font-size: clamp(1.5rem, 2.4vw, 2.2rem); margin-bottom: 12px; }
.model__side > .model__slide .model__slide-b { font-size: 15.5px; line-height: 1.55; }
.model__side > .model__slide .model__slide-x .model__more { display: grid; }
.model__side > .model__slide .model__slide-foot { margin-top: 22px; }
.model__slide[hidden] { display: none; }
.model__slide.is-in { animation: slidein .55s var(--ease-out) both; }
@keyframes slidein { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.model__slide-n { margin: 0 0 6px; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
.model__slide-t { margin: 0 0 8px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.3rem, 2.1vw, 1.9rem); line-height: 1.08; letter-spacing: -.01em; }
.model__slide-t .amp { font-family: var(--font-body); font-weight: 500; }
.model__slide-b { margin: 0; color: var(--fg); font-size: 14.5px; line-height: 1.5; max-width: 60ch; }
.model__slide-b span { display: inline-block; opacity: 0; animation: wordin .35s var(--ease-out) both; animation-delay: calc(.25s + var(--w) * .03s); }
@keyframes wordin { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.model__slide-x[hidden] { display: none; }
.model__slide-x .model__facts { margin-top: 12px; } .model__slide-x .model__facts > div { background: rgba(244,240,231,.06); }
.model__slide-x .mw { margin-top: 14px; } .model__slide-x .mw__lane { height: 64px; } .model__slide-x .mw--meter svg { width: 96px; height: 96px; } .model__slide-x .mw--meter { grid-template-columns: 96px 1fr; }
.model__slide-x .model__more { display: none; }
.model__slide-foot { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.model__slide-dots { display: flex; gap: 6px; }
.model__slide-dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: rgba(244,240,231,.2); cursor: pointer; transition: background .3s, transform .3s; }
.model__slide-dots button[data-done] { background: rgba(95,208,220,.5); }
.model__slide-dots button.is-on { background: var(--accent); transform: scale(1.35); }
.model__slide-bar { flex: 1; height: 2px; background: rgba(244,240,231,.12); border-radius: 2px; overflow: hidden; }
.model__slide-bar i { display: block; height: 100%; width: 0; background: var(--accent); animation: tourbar var(--dur, 4s) linear both; }
/* phones / tablets: the slide is a normal block under the canvas (the list and card are hidden while presenting) so model and show are both on screen */
@media (max-width: 1000px) {
  .model.is-presenting .model__side > .model__parts, .model.is-presenting .model__side > .model__card { display: none; }
  .model.is-presenting .model__view { aspect-ratio: 1 / 0.8; transition: aspect-ratio .5s; }   /* shorter canvas while presenting: model + slide share the screen */
  .model__side > .model__slide { position: relative; inset: auto; max-height: none; padding: 16px 16px 12px; display: block; }
  .model__side > .model__slide .model__slide-t { font-size: clamp(1.25rem, 5vw, 1.6rem); margin-bottom: 8px; }
  .model__side > .model__slide .model__slide-b { font-size: 14px; }
  .model__slide-x .mw--meter svg { width: 72px; height: 72px; } .model__slide-x .mw--meter { grid-template-columns: 72px 1fr; }
  .model__side > .model__slide .model__slide-foot { margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) { .model__slide-b span { animation: none; opacity: 1; } }
/* part card extras: fact chips, animated widgets, takeaways — on wide screens the card scrolls inside itself so a rich card never
   stretches the 3D stage */
@media (min-width: 1001px) {
  /* the side column never grows the row: it takes the 3D view's height (height: 0 contributes nothing to the row's auto size,
     min-height: 100 % then fills the row) and the card scrolls inside it — so the stage stays the same size for every part */
  .model__side { height: 0; min-height: 100%; overflow: hidden; }
  .model__parts { flex: none; }
  .model__card { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(244,240,231,.18) transparent; }
}
.model__extra[hidden] { display: none; }
.model__facts { margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.model__facts > div { display: flex; flex-direction: column; gap: 3px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(244,240,231,.04); animation: rise .5s var(--ease-out) both; animation-delay: calc(.12s + var(--i, 0) * .06s); }
.model__facts dt { margin: 0; font: 600 9.5px/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.model__facts dd { margin: 0; font: 500 12.5px/1.3 var(--font-body); color: var(--fg); }
.model__more { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.model__more li { position: relative; padding-left: 20px; font-size: 13px; line-height: 1.45; color: var(--muted); animation: rise .5s var(--ease-out) both; animation-delay: calc(.3s + var(--i, 0) * .08s); }
.model__more li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.mw { margin: 16px 0 0; animation: rise .6s var(--ease-out) both; animation-delay: .22s; }
/* flow: particles cross a media band; some are caught */
.mw--flow { position: relative; padding: 18px 0 6px; }
.mw__lab { position: absolute; top: 0; font: 600 9.5px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.mw__lab--in { left: 0; } .mw__lab--out { right: 0; color: var(--accent); }
.mw__lane { position: relative; height: 54px; border-radius: 12px; background: linear-gradient(90deg, rgba(244,240,231,.05), color-mix(in srgb, var(--accent) 12%, transparent)); overflow: hidden; }
.mw__band { position: absolute; left: 50%; top: 6px; bottom: 6px; width: 14px; transform: translateX(-50%); border-radius: 7px; background: color-mix(in srgb, var(--accent) 55%, #0a1b26); box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 45%, transparent); }
.mw__band em { position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); font: 600 9px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); white-space: nowrap; font-style: normal; }
.mw__dot { position: absolute; top: var(--y); left: -4%; width: 6px; height: 6px; border-radius: 50%; background: #d8c7a8; animation: mwflow 3.2s linear infinite; animation-delay: calc(var(--i) * -.23s); }
.mw__dot.is-caught { animation-name: mwcaught; }
@keyframes mwflow { 0% { left: -4%; background: #d8c7a8; } 49% { background: #d8c7a8; } 51% { background: var(--accent); } 100% { left: 102%; background: var(--accent); } }
@keyframes mwcaught { 0% { left: -4%; opacity: 1; } 46% { left: 47%; opacity: 1; } 56% { left: 49%; opacity: 0; transform: scale(.4); } 100% { left: 49%; opacity: 0; } }
/* meter: ring + count-up */
.mw--meter { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; }
.mw--meter svg { grid-column: 1; grid-row: 1; width: 84px; height: 84px; transform: rotate(-90deg); }
.mw__ring-bg { fill: none; stroke: rgba(244,240,231,.1); stroke-width: 8; }
.mw__ring { fill: none; stroke: var(--accent); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: calc(314 - 314 * var(--p)); animation: mwring 1.2s var(--ease-out) both; }
@keyframes mwring { from { stroke-dashoffset: 314; } }
.mw__num { grid-column: 1; grid-row: 1; justify-self: center; display: flex; align-items: baseline; gap: 1px; }
.mw__num b { font: 400 24px/1 var(--font-display); color: var(--fg); } .mw__num small { font: 600 10px/1 var(--font-body); color: var(--muted); }
.mw--meter p { margin: 0; grid-column: 2; grid-row: 1; font-size: 13px; line-height: 1.45; color: var(--muted); }
/* cycle: stages light up in turn */
.mw--cycle { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.mw--cycle span { position: relative; display: inline-flex; align-items: center; gap: 7px; font: 500 12px/1 var(--font-body); color: var(--muted); animation: mwstage var(--period) linear infinite; animation-delay: calc(var(--i) * var(--period) / var(--n)); }
.mw--cycle span i { width: 8px; height: 8px; border-radius: 50%; background: rgba(244,240,231,.18); animation: mwdot var(--period) linear infinite; animation-delay: calc(var(--i) * var(--period) / var(--n)); }
@keyframes mwstage { 0%, 2% { color: var(--fg); } 22% { color: var(--fg); } 30%, 100% { color: var(--muted); } }
@keyframes mwdot { 0%, 2% { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); } 22% { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); } 30%, 100% { background: rgba(244,240,231,.18); box-shadow: none; } }
/* path: the water's route as nodes on a rail; the part's own node glows, a drop runs the rail, an optional branch drops to drain */
.mw--path { position: relative; padding: 10px 0 0; }
.mw--path .mw__rail { position: absolute; left: calc(50% / var(--n)); right: calc(50% / var(--n)); top: 15px; height: 2px; background: rgba(244,240,231,.14); }
.mw--path .mw__drop { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: mwdrop 5s linear infinite; }
@keyframes mwdrop { from { left: 0; } to { left: 100%; } }
.mw--path ol { position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); margin: 0; padding: 0; list-style: none; }
.mw--path li { display: flex; flex-direction: column; align-items: center; gap: 7px; animation: rise .5s var(--ease-out) both; animation-delay: calc(.15s + var(--i) * .05s); }
.mw--path li i { width: 12px; height: 12px; border-radius: 50%; background: #0c1b27; border: 2px solid rgba(244,240,231,.28); }
.mw--path li span { font: 500 10px/1.15 var(--font-body); color: var(--muted); text-align: center; }
.mw--path li:nth-child(even) span { margin-top: 13px; }   /* labels alternate rows so nine nodes still read */
.mw--path li.is-at i { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent), 0 0 14px var(--accent); }
.mw--path li.is-at span { color: var(--fg); font-weight: 600; }
.mw--path .mw__drain { position: absolute; top: 48px; left: calc((var(--i) + .5) * 100% / var(--n)); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; pointer-events: none; }
.mw--path .mw__drain i { width: 0; height: 14px; border-left: 2px dashed rgba(216,199,168,.5); }
.mw--path .mw__drain span { font: 600 8.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #d8c7a8; white-space: nowrap; }
.mw--path:has(.mw__drain) { padding-bottom: 34px; }
@media (max-width: 700px) { .mw--path li span { font-size: 9px; } }
/* pop-up: a part's standalone model in a modal (js/model.js openPop) */
.model__pop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(2,9,16,.74); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); animation: fadein .3s var(--ease-out) both; }
.model__pop[hidden] { display: none; }
.model__pop-box { position: relative; width: min(980px, 100%); max-height: calc(100vh - 32px); display: grid; grid-template-columns: 1.05fr 1fr; border-radius: 26px; border: 1px solid var(--line); background: var(--card); box-shadow: 0 40px 90px rgba(0,0,0,.55); overflow: hidden; animation: poprise .5s var(--ease-out) both; }
@keyframes fadein { from { opacity: 0; } }
@keyframes poprise { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.model__pop-x { position: absolute; right: 14px; top: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(4,16,26,.6); color: var(--fg); font: 300 26px/1 var(--font-body); cursor: pointer; }
.model__pop-x:hover { color: var(--accent); }
.model__pop-view { position: relative; aspect-ratio: 1 / 1.02; min-height: 320px; background: radial-gradient(120% 90% at 50% 100%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%), radial-gradient(80% 70% at 50% 0%, rgba(244,240,231,.06), transparent 70%), #07131d; cursor: grab; touch-action: none; }
.model__pop-view canvas { display: block; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity .7s var(--ease-out); }
.model__pop-view.is-ready canvas { opacity: 1; }
.model__pop-sw { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); z-index: 2; display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(4,16,26,.62); backdrop-filter: blur(8px); }
.model__pop-sw[hidden] { display: none; }
.model__pop-sw button { padding: 8px 14px; border-radius: 999px; border: 1px solid transparent; background: transparent; color: var(--fg); font: 600 10px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.model__pop-sw button.is-on { background: rgba(244,240,231,.12); border-color: var(--line); color: var(--accent); }
.model__pop-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font: 600 9.5px/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.model__pop-side { padding: clamp(22px, 3vw, 36px) clamp(22px, 3vw, 36px) clamp(22px, 3vw, 36px) clamp(20px, 2.6vw, 30px); overflow-y: auto; scrollbar-width: thin; }
.model__pop-n { margin: 0 0 10px; font: 600 10px/1 var(--font-body); letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.model__pop-t { margin: 0 0 12px 0; font: 400 clamp(24px, 2.6vw, 32px)/1.1 var(--font-display); color: var(--fg); }
.model__pop-b { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.model__pop-open { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; padding: 10px 16px 10px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--fg); font: 600 10.5px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: background .3s, border-color .3s; animation: rise .5s var(--ease-out) both; animation-delay: .3s; }
.model__pop-open i { width: 10px; height: 10px; border: 1.5px solid var(--accent); transform: rotate(45deg); border-radius: 2px; }
.model__pop-open:hover { background: color-mix(in srgb, var(--accent) 20%, transparent); border-color: var(--accent); }
.model__slide .model__pop-open { display: none; }
body.has-pop { overflow: hidden; }
@media (max-width: 760px) { .model__pop { padding: 10px; } .model__pop-box { grid-template-columns: 1fr; max-height: calc(100vh - 20px); overflow-y: auto; } .model__pop-view { aspect-ratio: 1 / .8; min-height: 0; } .model__pop-side { padding: 18px 18px 22px; } }
/* bars: labelled bars grow in */
.mw--bars { display: grid; gap: 8px; }
.mw--bars > div { display: grid; grid-template-columns: 110px 1fr; gap: 3px 10px; align-items: center; animation: rise .5s var(--ease-out) both; animation-delay: calc(.2s + var(--i) * .1s); }
.mw--bars span { font: 500 12px/1.2 var(--font-body); color: var(--fg); }
.mw--bars b { display: block; height: 8px; border-radius: 4px; background: rgba(244,240,231,.08); overflow: hidden; }
.mw--bars b i { display: block; height: 100%; width: var(--w); border-radius: 4px; background: var(--accent); animation: mwbar 1s var(--ease-out) both; animation-delay: calc(.3s + var(--i) * .12s); }
@keyframes mwbar { from { width: 0; } }
.mw--bars small { grid-column: 2; font-size: 11px; color: var(--muted); }
@media (max-width: 700px) { .mw--bars > div { grid-template-columns: 90px 1fr; } }
/* finish toggle (faucet: brushed nickel | matte black), bottom-right of the canvas */
.model__finish { position: absolute; right: 16px; top: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 2px; padding: 4px 4px 4px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(4,16,26,.62); backdrop-filter: blur(8px); }
.model__finish span { font: 600 10px/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.model__finish button { padding: 8px 12px; border-radius: 999px; border: 1px solid transparent; background: transparent; color: var(--fg); font: 600 10px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.model__finish[hidden] { display: none; }   /* the class's display would otherwise beat the hidden attribute (one pill per machine) */
.model__finish button:hover { color: var(--accent); }
/* the pill lives top-right so it never collides with the carousel arrows / hint along the bottom; it drops below "Back to both" while a unit is focused */
.model__view:has(.model__toggle:not([hidden])) .model__finish { top: 64px; }
.model__finish button.is-on { background: rgba(244,240,231,.12); border-color: var(--line); color: var(--accent); }
@media (max-width: 700px) { .model__finish { right: 10px; top: 54px; padding-left: 10px; } .model__view:has(.model__toggle:not([hidden])) .model__finish { top: 92px; } .model__finish button { padding: 8px 9px; letter-spacing: .12em; } .model__finish span { display: none; } }
/* carousel of machine types (water #system): ‹ name · n / N › at the foot of the canvas; the hint lifts above it */
.model__nav { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(4,16,26,.62); backdrop-filter: blur(8px); transition: opacity .3s; }
.model__nav-b { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: var(--fg); display: grid; place-items: center; cursor: pointer; transition: background .3s, color .3s; }
.model__nav-b:hover { background: rgba(244,240,231,.1); color: var(--accent); }
.model__nav-l { display: flex; flex-direction: column; align-items: center; min-width: 164px; padding: 0 6px; }
.model__nav-l b { font: 600 11px/1.2 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--fg); white-space: nowrap; }
.model__nav-l small { font: 500 10px/1.2 var(--font-body); letter-spacing: .22em; color: var(--muted); margin-top: 3px; }
.model__nav.is-busy { opacity: .55; pointer-events: none; }
.model__nav[hidden] { display: none; }
.model__view:has(.model__nav:not([hidden])) .model__hint { bottom: 78px; }
@media (max-width: 700px) { .model__nav { bottom: 10px; } .model__nav-l { min-width: 130px; } .model__view:has(.model__nav:not([hidden])) .model__hint { bottom: 68px; } }

@media (prefers-reduced-motion: reduce) { .model__hint::before { animation: none; } }

/* ---------- SEO brief (2026-11-01): footer business block, sticky click-to-call on phones ---------- */
.foot__addr { font-style: normal; display: block; color: var(--muted); }
.foot__rating { color: var(--gold-2); text-decoration: none; }
.foot__rating::before { content: "★★★★★ "; letter-spacing: .05em; }
.call-fab { display: none; }
@media (max-width: 700px) {
  .call-fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: 999px;
    background: var(--accent); color: var(--ink); font: 700 11px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
    box-shadow: 0 14px 30px -10px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08) inset; }
  .call-fab svg { width: 16px; height: 16px; fill: currentColor; }
}

/* ---------- viewer tour: "Play the flow" walks the parts in order with a pulsing highlight and a progress bar ---------- */
.model__play { position: absolute; left: 16px; top: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(4,16,26,.6); color: var(--fg); font: 600 10px/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; backdrop-filter: blur(8px); cursor: pointer; transition: border-color .3s, background .3s; }
.model__play:hover { border-color: var(--accent); background: rgba(4,16,26,.85); }
.model__play i { width: 0; height: 0; border-left: 8px solid var(--accent); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.model__play.is-on i { width: 8px; height: 9px; border: 0; border-left: 3px solid var(--accent); border-right: 3px solid var(--accent); }
.model__play[hidden] { display: none; }
.model__bar { height: 2px; margin: 14px 0 0; background: rgba(244,240,231,.12); border-radius: 2px; overflow: hidden; display: none; }
.model__bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.model__card.is-tour .model__bar { display: block; }
.model__card.is-tour .model__bar i { animation: tourbar var(--dur, 3.2s) linear both; }
@keyframes tourbar { from { width: 0; } to { width: 100%; } }

/* certifications & compliance (water.html #certifications; js/main.js renderers.certs) */
.certs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.cert { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px 22px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); transition: border-color .3s, transform .4s var(--ease-out); }
.cert:hover { border-color: var(--accent); transform: translateY(-3px); }
.cert__icon { width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px; }
.cert h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1.15; }
.cert__line { margin: 0; font-size: 14px; line-height: 1.5; color: var(--fg); }
.cert__detail { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.cert__status { margin-top: auto; align-self: flex-start; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.certs__foot { margin: 22px 0 0; max-width: 70ch; font-size: 13px; line-height: 1.55; color: var(--muted); }
.certs__act { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.certs__note { margin: 0; font-size: 14px; color: var(--fg); }
.certs__note a { color: var(--accent); }
@media (max-width: 640px) { .cert { padding: 20px 18px 18px; } .certs__act .btn { width: 100%; justify-content: center; } }

/* finder result card: "Email me this report" (js/main.js mailBlock), built from the finder's own row/input/button */
.wq__mail { margin: 18px 0 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.wq__mail-h { margin: 0 0 10px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.wq__mail .finder__input { min-width: 0; }
.wq__mail-zip { flex: 0 0 84px !important; }
.wq__mail .form__consent { margin-top: 10px; }
.wq__mail-msg { margin: 8px 0 0; min-height: 18px; font-size: 13px; color: var(--fg); }
.wq__mail-msg a { color: var(--accent); }
.wq__gate-lead { margin: 6px 0 14px; font-size: 15px; line-height: 1.5; color: var(--fg); }
.wq__gate .finder__row + .finder__row { margin-top: 8px; }
.wq__gate { border-top: 0; margin-top: 0; padding-top: 0; }

.call-fab { transition: opacity .25s ease; }
.call-fab.is-away { opacity: 0; pointer-events: none; }   /* js/main.js: hidden while the hero buttons are in view */

/* ---------- current offer: top banner (S.promo, js/main.js R.promo) + "Current offers" section on /water ---------- */
.promo { display: flex; align-items: center; justify-content: center; gap: 12px 22px; flex-wrap: wrap; padding: 10px var(--gutter); text-align: center;
  background: linear-gradient(90deg, color-mix(in srgb, var(--aqua-2) 22%, var(--abyss)), color-mix(in srgb, var(--aqua-2) 10%, var(--abyss))); border-bottom: 1px solid color-mix(in srgb, var(--aqua-2) 40%, transparent); color: var(--ivory); }
.promo__text { margin: 0; flex: 1 1 420px; max-width: 860px; font: 500 14px/1.45 var(--font-body); letter-spacing: .01em; text-wrap: balance; }
.promo__btn { flex: 0 0 auto; padding: 11px 22px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.hub-body .promo { position: absolute; top: var(--head-h); left: 0; right: 0; z-index: 6; }
@media (max-width: 640px) { .promo { padding: 8px var(--gutter) 10px; gap: 8px; } .promo__text { flex-basis: 100%; font-size: 12.5px; line-height: 1.4; } .promo__btn { padding: 9px 20px; font-size: 10.5px; } }
.offers { padding: 56px var(--gutter); text-align: center; }
.offers__wrap { width: min(var(--wrap), 100%); margin-inline: auto; display: grid; justify-items: center; gap: 14px; }
.offers__title { margin: 0; font: 400 clamp(26px, 4vw, 40px)/1.15 var(--font-display, serif); }
.offers__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; width: 100%; max-width: 720px; }
.offers__list li { padding: 22px 18px; border: 1px solid color-mix(in srgb, var(--aqua-2) 40%, transparent); border-radius: 16px; background: color-mix(in srgb, var(--aqua-2) 8%, transparent); display: grid; gap: 6px; }
.offers__list b { font: 400 clamp(28px, 4vw, 38px)/1 var(--font-display, serif); color: var(--aqua-2); }
.offers__list span { font: 500 15px/1.4 var(--font-body); }
.offers__note { margin: 6px 0 4px; font: 500 15px/1.4 var(--font-body); opacity: .9; }

/* ---------- legal links (consent text, footer) and the privacy / SMS terms pages ---------- */
.legal-links { margin: 6px 0 4px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.legal-links a, .foot__legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.legal-links a:hover, .foot__legal a:hover { color: var(--aqua-2); }
.foot__legal { display: inline-flex; gap: 18px; flex-wrap: wrap; }
.legal-page { background: var(--abyss); padding-top: 0; }
.legal { width: min(760px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: 48px 0 80px; color: var(--ivory); }
.legal h1 { font: 300 clamp(2rem, 5vw, 3rem)/1.1 var(--font-display); margin: 0 0 8px; letter-spacing: -.01em; }
.legal__meta { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.legal__glance { border: 1px solid color-mix(in srgb, var(--aqua-2) 40%, transparent); background: color-mix(in srgb, var(--aqua-2) 8%, transparent); border-radius: 16px; padding: 20px 22px; margin: 0 0 34px; }
.legal .legal__glance h2 { margin: 0 0 10px; font: 600 12px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--aqua-2); }
.legal__glance ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.legal h2 { font: 400 clamp(1.3rem, 3vw, 1.7rem)/1.2 var(--font-display); margin: 38px 0 10px; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: color-mix(in srgb, var(--ivory) 88%, transparent); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 6px; }
.legal a { color: var(--aqua-2); text-underline-offset: 3px; }
.legal__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); border-bottom: 1px solid rgba(255,255,255,.08); }
.legal__top .brand { text-decoration: none; }
.legal__top .btn { white-space: nowrap; padding: 11px 18px; font-size: 11px; }
/* /account: "My account" sign-in request (js/account.js) */
.acct { width: min(520px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: 56px 0 80px; color: var(--ivory); }
.acct h1 { font: 300 clamp(2rem, 5vw, 3rem)/1.1 var(--font-display); margin: 0 0 10px; letter-spacing: -.01em; }
.acct__lede { color: color-mix(in srgb, var(--ivory) 88%, transparent); font-size: 16px; line-height: 1.6; margin: 0 0 26px; }
.acct__form { padding: 28px; }
.acct__form .btn { justify-self: stretch; justify-content: center; }
.acct__hint { margin: -6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.acct__done { margin: 0; padding: 14px 16px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--aqua-2) 45%, transparent); background: color-mix(in srgb, var(--aqua-2) 10%, transparent); color: var(--ivory); font-size: 15px; line-height: 1.5; }
.acct__form .form__err { margin: 0; min-height: 0; }
.acct__open, .acct__help { margin: 22px 0 0; font-size: 15px; color: var(--muted); }
.acct__help { margin-top: 8px; }
.acct a { color: var(--aqua-2); text-underline-offset: 3px; }
.legal__foot { border-top: 1px solid rgba(255,255,255,.08); padding: 22px var(--gutter); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 12px; color: var(--muted); }

/* live Google review count (filled from /api/reviews by main.js / hub.js; hidden until the answer arrives, never a typed-in number) */
.hero__reviews { display: block; width: fit-content; margin: 18px auto 0; font-size: 13px; letter-spacing: .04em; color: var(--gold-2); text-decoration: none; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.hero__reviews[hidden], [data-review-count][hidden] { display: none; }
.foot__count { color: rgba(244,240,231,.6); font-size: 13px; }

/* narrow phones: wordmark, Book and the menu button share the first row (Kenneth 2026-11-09; was three rows below 450 px) */
@media (max-width: 449px) {
  .site-head { column-gap: 8px; }
  .site-head .brand { gap: 8px; }
  .site-head .brand__name { font-size: 16px; letter-spacing: .1em; }
  .site-head .head-book { padding: 8px 11px; font-size: 10px; letter-spacing: .1em; }
  .site-head .burger { margin-left: 0; margin-right: -10px; }   /* Book takes the free space; the lines sit 10 px inside the 44 px tap area, so they line up with the gutter */
}
@media (max-width: 359px) { .site-head .brand__name { display: none; } }   /* very small phones: the mark alone (the link keeps its "Poseidon home" label) */

/* ---------- request forms: premium panel (Memento concept, picture-drop/website-premium/BUILD-SPEC.txt; 2026-11-13) ----------
   Presentation only: every field, name, required rule, consent text, link and submit handler is unchanged (js/leads.js).
   Scoped to the request section (.cta) on /water, /air, /plumbing and the generated service / town pages. */
.cta .form { background: #0c2130; border: 1px solid #2b485b; border-radius: 24px; padding: 30px; gap: 20px; box-shadow: 0 20px 80px rgba(0,0,0,.2); -webkit-backdrop-filter: none; backdrop-filter: none; }
.cta .form label { gap: 9px; font-size: 11.5px; letter-spacing: .14em; color: #d3e1eb; font-weight: 600; }
.cta .form input:not([type=checkbox]):not([type=radio]), .cta .form textarea, .cta .form select {
  min-height: 52px; padding: 13px 14px; border: 1px solid #395467; border-radius: 10px; background: #071b29; color: #f1f6fa;
  font: 16px var(--font-body); letter-spacing: 0; text-transform: none; transition: border-color .2s, box-shadow .2s; }
.cta .form textarea { min-height: 100px; }
.cta .form input::placeholder, .cta .form textarea::placeholder { color: #829cad; opacity: 1; }
.cta .form input:focus, .cta .form textarea:focus, .cta .form select:focus { border-color: #8dcaff; }
.cta .form input:focus-visible, .cta .form textarea:focus-visible, .cta .form select:focus-visible { outline: 3px solid #a6d8ff; outline-offset: 3px; }
.cta .form .form__row { gap: 16px; }
.cta .form > .btn[type=submit] { justify-self: stretch; justify-content: center; min-height: 52px; border-radius: 12px; background: #87c8ff; border-color: #a1d5ff; color: #052037; font-weight: 700; box-shadow: 0 8px 30px rgba(33,132,195,.1); }
.cta .form > .btn[type=submit]::after { background: #b5ddff; }
.cta .form > .btn[type=submit]:hover { color: #052037; border-color: #b5ddff; }
.cta .form > .btn[type=submit]:focus-visible { outline: 3px solid #a6d8ff; outline-offset: 3px; }
.cta .form .form__consent span { color: #b5c8d5; line-height: 1.6; font-weight: 400; }
.cta .form .form__consent input { accent-color: #87c8ff; }
.cta .form .legal-links { color: #adc2d2; }
.cta .form .choice span { display: inline-flex; align-items: center; min-height: 44px; border-color: #395467; border-radius: 10px; background: #071b29; }
.cta .form .choice input:checked + span { background: #163b55; color: #fff; border-color: #8dcaff; }
.cta .form .choice input:focus-visible + span { outline: 3px solid #a6d8ff; outline-offset: 3px; }
.cta .form .form__done { color: #a6d8ff; }
/* the trident-wave art under the left column (desktop / tablet two-column layout only; decorative) */
@media (min-width: 1101px) {
  .cta__wrap { align-items: start; }
  .cta__wrap > div:first-child::after { content: ""; display: block; margin-top: 32px; aspect-ratio: 1.8; border-radius: 20px;
    background: url(/assets/art/account-hero-m.webp) 75% center / cover; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
}
@media (max-width: 640px) { .cta .form { padding: 22px 18px; border-radius: 20px; } .cta .form .form__row { grid-template-columns: 1fr; } }
