/* Tri-State Pools & Spas — site styles (all pages)
   Sections: tokens · base · buttons · header & menus · home · hot tubs ·
   spa detail · above ground pools · footer · motion · responsive.
   Motion sticks to transform/opacity so everything stays on the GPU. */

/* ── Tokens ─────────────────────────────────────────────────────── */
:root {
  --blue: #0D35B0;
  --blue-2: #0A2A8C;
  --blue-soft: #E8EDFB;
  --navy: #0A1633;
  --navy-2: #0F2252;
  --aqua: #5ED3E6;
  --caldera: #E8704C;
  --nordic: #194F90;
  --wf-red: #D71E28;
  --wf-gold: #FFCD41;

  --ink: #0E1726;
  --ink-2: #4B5568;
  --ink-3: #7A8496;
  --paper: #E8EDF3;     /* page background */
  --surface: #F3F5F8;   /* cards, panels, menus */
  --stage: #E1E7EF;     /* photo stages */
  --line: #D3DBE6;

  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
  --r: 20px;
  --shadow: 0 1px 2px rgba(14,23,38,.05), 0 8px 24px -8px rgba(14,23,38,.12);
  --shadow-lg: 0 2px 4px rgba(14,23,38,.05), 0 24px 60px -18px rgba(14,23,38,.28);
  --hero-bg: radial-gradient(120% 90% at 85% 10%, #1E4BC9 0%, var(--navy-2) 42%, var(--navy) 80%);
  color-scheme: light;
}

/* ── Base ───────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; caret-color: transparent; }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
input, textarea { caret-color: auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.025em; }
h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 700; }
section { position: relative; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
svg .d { fill: currentColor; stroke: none; opacity: .14; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
:focus:not(:focus-visible) { outline: none; }

/* Things you press: no text selection, no tap flash, pointer everywhere. */
a, button, summary, .card, .sw, .bpill, .g-rating, .hero-art {
  -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
button *, .btn *, .card *, .bpill *, .g-rating *, .hero-art * { cursor: inherit; }

.kicker { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.kicker.light { color: var(--aqua); }
.sec-head { max-width: 760px; margin-bottom: 38px; }
.sub { margin: 16px 0 0; font-size: 17px; color: var(--ink-2); max-width: 58ch; }
.lede { max-width: 54ch; margin: 16px 0 0; font-size: clamp(16px, 1.5vw, 18.5px); color: rgba(255,255,255,.76); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Dark gradient used by every page header */
.hero, .page-head, .ag-hero { position: relative; overflow: hidden; color: #fff; background: var(--hero-bg); }
.hero-glow { position: absolute; width: 900px; height: 900px; right: -250px; top: -300px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(94,211,230,.28), transparent 60%); }
.caustics {
  position: absolute; inset: -20%; opacity: .2; pointer-events: none; will-change: transform;
  background:
    radial-gradient(40% 30% at 20% 30%, rgba(94,211,230,.5), transparent 70%),
    radial-gradient(30% 25% at 70% 70%, rgba(120,170,255,.45), transparent 70%),
    radial-gradient(25% 20% at 45% 85%, rgba(94,211,230,.35), transparent 70%);
  animation: drift 24s ease-in-out infinite alternate;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.88); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  --bg: var(--blue); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 15px; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap; overflow: hidden; isolation: isolate; cursor: pointer;
  transition: transform .3s var(--out), translate .35s var(--out), box-shadow .3s, background-color .25s, border-color .25s, color .25s;
}
.btn.sm { padding: 9px 16px; font-size: 14px; }
.btn.lg { padding: 16px 26px; font-size: 16px; }
.btn .ic { transition: transform .35s var(--out); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
/* Shine sweep on filled buttons */
.btn-primary::after, .btn-light::after, .btn-caldera::after, .btn-nordic::after, .btn-wf::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.4) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--out);
}
.btn:hover::after { transform: translateX(120%); }
.btn-primary { box-shadow: 0 6px 18px -6px rgba(13,53,176,.6); }
.btn-primary:hover { --bg: var(--blue-2); box-shadow: 0 10px 26px -8px rgba(13,53,176,.7); }
.btn-light { --bg: var(--surface); --fg: var(--navy); box-shadow: 0 8px 30px -8px rgba(94,211,230,.55); }
.btn-light::after { background: linear-gradient(110deg, transparent 30%, rgba(94,211,230,.35) 50%, transparent 70%); }
.btn-outline-light { --bg: rgba(255,255,255,.06); --fg: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { --bg: rgba(255,255,255,.14); border-color: rgba(255,255,255,.7); }
.btn-ghost { --bg: var(--surface); --fg: var(--ink); border-color: var(--line); }
.btn-ghost::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue-soft); transform: translateY(101%); transition: transform .4s var(--out); }
.btn-ghost:hover { border-color: #C7D4F5; color: var(--blue-2); }
.btn-ghost:hover::before { transform: none; }
.btn-caldera { --bg: var(--caldera); box-shadow: 0 6px 18px -6px rgba(232,112,76,.6); }
.btn-caldera:hover { --bg: #D65E3A; }
.btn-nordic { --bg: var(--nordic); box-shadow: 0 6px 18px -6px rgba(25,79,144,.6); }
.btn-wf { --bg: var(--wf-red); box-shadow: 0 6px 18px -6px rgba(215,30,40,.6); }
.btn-wf:hover { --bg: #B8121C; }
/* Magnetic: JS sets --mx/--my; uses `translate` so it never fights :active scale. */
.magnetic { translate: var(--mx, 0) var(--my, 0); }

/* ── Header & menus ─────────────────────────────────────────────── */
.topbar { background: var(--navy); color: rgba(255,255,255,.78); font-size: 13px; }
.topbar-in { display: flex; gap: 26px; justify-content: center; padding-block: 8px; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .ic { width: 15px; height: 15px; color: var(--aqua); }

.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: rgba(243,245,248,.96); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 30px -18px rgba(14,23,38,.3); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand img { height: 34px; width: auto; }
.links { display: flex; gap: 4px; }
.links a { position: relative; text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; transition: color .2s, background-color .2s; }
.links a:hover { color: var(--ink); background: var(--paper); }
.links a[aria-current="page"] { color: var(--blue); background: var(--blue-soft); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--out); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { display: grid; padding: 6px clamp(16px, 4vw, 40px) 18px; border-top: 1px solid var(--line); }
.mobile-menu a { text-decoration: none; font-weight: 700; font-size: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .mm-call { display: flex; gap: 10px; align-items: center; color: var(--blue); border: 0; }

/* Nav dropdowns (Hot Tubs brands → collections; Above Ground Pools) */
.nav-dd { position: relative; display: flex; }
.nav-dd > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-dd > a .ic { width: 14px; height: 14px; transition: transform .25s var(--out); }
.nav-dd:hover > a .ic, .nav-dd:focus-within > a .ic { transform: rotate(180deg); }
.dd-panel, .dd-fly {
  position: absolute; z-index: 50; padding: 10px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .22s var(--out), visibility 0s .22s;
}
.dd-panel { top: 100%; left: 50%; width: 300px; margin-top: 14px; transform: translate(-50%, -6px); }
.dd-panel.pools { width: 360px; }
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover bridge */
.nav-dd:hover .dd-panel, .nav-dd:focus-within .dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .18s, transform .22s var(--out); }
.dd-panel ul { list-style: none; margin: 0; padding: 0; }
.dd-brand { position: relative; }
.links .dd-panel a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--ink); font-weight: 700; font-size: 15px; background: none; }
.links .dd-panel a:hover, .dd-brand:hover > a, .dd-brand:focus-within > a { background: var(--paper); color: var(--ink); }
.dd-logo { width: 74px; height: 30px; display: grid; place-items: center; flex: none; }
.dd-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dd-name { flex: 1; }
.dd-arrow { color: var(--ink-3); transition: transform .25s var(--out), color .2s; }
.dd-brand:hover .dd-arrow, .dd-brand:focus-within .dd-arrow, .links .dd-panel a:hover .dd-arrow { transform: translateX(3px); color: var(--blue); }
.dd-fly { left: calc(100% + 4px); top: -10px; width: 240px; border-radius: 18px; transform: translateX(-6px); }
.dd-fly::before { content: ""; position: absolute; top: 0; bottom: 0; left: -10px; width: 10px; } /* hover bridge */
.dd-brand:hover .dd-fly, .dd-brand:focus-within .dd-fly { opacity: 1; visibility: visible; transform: none; transition: opacity .15s, transform .2s var(--out); }
.dd-fly p { margin: 4px 12px 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.links .dd-fly a { justify-content: space-between; font-size: 14.5px; padding: 9px 12px; }
.dd-fly small { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.links .dd-panel a.dd-all { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; color: var(--blue); font-size: 14px; justify-content: space-between; }
.dd-pool-thumb { width: 74px; height: 44px; flex: none; border-radius: 10px; overflow: hidden; background: var(--stage); }
.dd-pool-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dd-meta { display: flex; flex-direction: column; flex: 1; line-height: 1.2; }
.dd-meta small { font-size: 12px; font-weight: 600; color: var(--ink-3); margin-top: 2px; }

/* ── Home ───────────────────────────────────────────────────────── */
.hero { padding-block: clamp(56px, 8vw, 110px) clamp(64px, 8vw, 120px); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 74px); font-weight: 800; text-transform: uppercase; letter-spacing: -.025em; line-height: 1.02; max-width: 14ch; }
.stats-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); }
.stats { display: flex; gap: clamp(22px, 4vw, 48px); margin: 0; flex-wrap: wrap; }
.stats dt { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.stats dd { margin: 6px 0 0; font-size: 13.5px; color: rgba(255,255,255,.6); }
.g-rating { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; text-decoration: none; transition: background-color .25s, transform .35s var(--out); }
.g-rating:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.g-logo { width: 44px; height: 44px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; }
.g-logo svg { width: 24px; height: 24px; }
.g-score { font-size: 32px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.g-meta { display: flex; flex-direction: column; gap: 3px; }
.g-meta small { font-size: 12.5px; color: rgba(255,255,255,.7); font-weight: 600; }
.stars { display: flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; }

/* Rotating spa plate */
.hero-art { position: relative; display: block; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; text-decoration: none; color: #fff; }
.plate { position: absolute; inset: 9%; border-radius: 50%; background: var(--surface); overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.6), inset 0 0 0 10px rgba(243,245,248,.9), 0 0 0 1px rgba(255,255,255,.25); }
.plate img { width: 100%; height: 100%; object-fit: contain; padding: 9%; mix-blend-mode: multiply; animation: spin 80s linear infinite; transition: opacity .45s ease; will-change: transform; }
.ripple { position: absolute; inset: 9%; border-radius: 50%; border: 1.5px solid rgba(94,211,230,.5); animation: ripple 4.5s var(--out) infinite; will-change: transform, opacity; }
.ripple.r2 { animation-delay: 1.5s; }
.ripple.r3 { animation-delay: 3s; }
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px;
  background: rgba(10,22,51,.72); border: 1px solid rgba(255,255,255,.22);
  font-size: 14px; font-weight: 700; line-height: 1.15; box-shadow: 0 12px 30px -12px rgba(0,0,0,.45);
  animation: bob 6s ease-in-out infinite; will-change: transform;
}
.chip small { display: block; font-size: 11px; font-weight: 600; opacity: .7; letter-spacing: .06em; text-transform: uppercase; }
.chip .ic { width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: rgba(94,211,230,.25); color: #fff; }
.chip.c1 { left: -4%; top: 16%; }
.chip.c2 { right: -6%; top: 46%; animation-delay: -2s; }
.chip.c3 { left: 4%; bottom: 6%; animation-delay: -4s; }

/* Review banner */
.statement { background: var(--blue); color: #fff; overflow: hidden; padding-block: 20px; }
.st-track { display: flex; width: max-content; animation: marquee 70s linear infinite; will-change: transform; }
.statement:hover .st-track { animation-play-state: paused; }
.st-row { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.st-row i { width: 14px; height: 14px; border-radius: 50%; background: var(--aqua); flex: none; box-shadow: 0 0 0 6px rgba(94,211,230,.2); }
.rv { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; font-size: 16px; }
.rv-stars { display: inline-flex; gap: 2px; }
.rv-stars svg { width: 18px; height: 18px; }
.rv q { quotes: "\201C" "\201D"; font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; letter-spacing: -.015em; }
.rv b { font-size: 15px; font-weight: 700; color: var(--aqua); letter-spacing: .01em; }

/* Brand pills */
.brands { padding-block: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.brand-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.bpill { display: grid; place-items: center; height: 84px; padding: 0 34px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--out), box-shadow .3s, border-color .3s; }
.bpill:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #CFD8EA; }
.bpill img { height: 46px; width: auto; max-width: 190px; object-fit: contain; }

/* Browse hot tubs teaser (tiles stay still) */
.teaser { padding-block: clamp(70px, 9vw, 120px); border-bottom: 1px solid var(--line); }
.teaser-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.teaser-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ts { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 12px 14px; border-radius: 20px; background: var(--stage); }
.ts img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.ts b { font-size: 14px; }

/* Above ground pools call-out */
.pools-cta { padding-block: clamp(60px, 8vw, 100px) 0; }
.pool-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 60px); align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 30px; background: linear-gradient(135deg, #DCEBF5 0%, var(--surface) 70%); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.pool-art img { width: 100%; max-width: 460px; margin-inline: auto; filter: drop-shadow(0 26px 30px rgba(10,22,51,.28)); }
.pool-brand { height: 30px; width: auto; margin-bottom: 14px; }

/* Financing (home) */
.financing { padding-block: clamp(60px, 8vw, 100px) clamp(70px, 9vw, 120px); }
.fin-card { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: clamp(26px, 5vw, 60px); align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 30px; background: linear-gradient(135deg, var(--surface) 0%, #EFE9E3 100%); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.fin-card::after, .wf-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--wf-red), var(--wf-gold)); }
.fin-logo img, .wf-logo img { width: clamp(130px, 16vw, 190px); height: auto; filter: drop-shadow(0 18px 30px rgba(215,30,40,.28)); transition: transform .5s var(--out); }
.fin-card:hover .fin-logo img, .wf-card:hover .wf-logo img { transform: rotate(-3deg) scale(1.03); }

/* Quiz band */
.band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, #1D3F9C 100%); color: #fff; padding-block: clamp(50px, 6vw, 80px); overflow: hidden; }
.band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(94,211,230,.3), transparent 65%); }
.band-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.band h2 { font-size: clamp(28px, 3.6vw, 44px); max-width: 20ch; }

/* Brochures */
.brochures, .visit { padding-block: clamp(70px, 9vw, 120px); }
.bro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bro { position: relative; overflow: hidden; border-radius: 26px; padding: clamp(26px, 4vw, 40px); min-height: 340px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; border: 1px solid var(--line); }
.bro.hs { background: linear-gradient(150deg, #E9EEF9, #D9E3F7); }
.bro.cd { background: linear-gradient(150deg, #F5ECE7, #F0DDD3); }
.bro.nd { background: linear-gradient(150deg, #E7EEF5, #D5E2EF); }
.bro-logo { height: 40px; width: auto; }
.bro p { margin: 0; color: var(--ink-2); max-width: 30ch; font-weight: 500; }
.bro .btn { margin-top: auto; }
.bro-spa { position: absolute; right: -60px; bottom: -60px; width: 250px; mix-blend-mode: multiply; opacity: .9; transition: transform 1s var(--out); }
.bro:hover .bro-spa { transform: rotate(-12deg) scale(1.05); }

/* Visit */
.visit-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.contact { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.contact li { display: flex; gap: 16px; align-items: center; }
.contact small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.contact a { text-decoration: none; font-weight: 700; font-size: 17px; line-height: 1.35; }
.contact a:hover { color: var(--blue); }
.ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: var(--blue); flex: none;
  background: linear-gradient(145deg, #F1F5FF, #DEE7FD); box-shadow: inset 0 1px 0 #fff, 0 6px 16px -8px rgba(13,53,176,.5); }
.ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.mapcard { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; background: var(--stage); }
.mapcard iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-label {
  position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 4px 10px; flex-wrap: wrap;
  padding: 14px 18px; border-radius: 16px; background: rgba(243,245,248,.95); font-size: 14px; color: var(--ink-2); font-weight: 600;
  text-decoration: none; box-shadow: 0 10px 30px -12px rgba(10,22,51,.45); transition: transform .35s var(--out);
}
.map-label b { color: var(--ink); width: 100%; font-size: 16px; }
.map-label .ic { margin-left: auto; color: var(--blue); transition: transform .35s var(--out); }
.map-label:hover { transform: translateY(-2px); }
.map-label:hover .ic { transform: translateX(4px); }

/* ── Hot tubs page ──────────────────────────────────────────────── */
.page-head { padding-block: clamp(46px, 6vw, 80px); }
.ph-in { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(38px, 5.6vw, 70px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.ph-logos { display: flex; gap: 12px; flex-wrap: wrap; }
.ph-logos img { height: 52px; width: auto; padding: 10px 16px; border-radius: 14px; background: var(--surface); }
.shop { padding-block: 40px clamp(70px, 9vw, 120px); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.brandbar { position: relative; display: flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.bb { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 14.5px; color: var(--ink-2); transition: background-color .2s, color .2s; }
.bb small { font-size: 12px; color: var(--ink-3); background: var(--paper); border-radius: 99px; padding: 1px 7px; }
.bb .ic { width: 15px; height: 15px; transition: transform .25s var(--out); }
.bb:hover, .bb[aria-expanded="true"] { background: var(--paper); color: var(--ink); }
.bb[aria-expanded="true"] .ic { transform: rotate(180deg); }
.bb.on { background: var(--ink); color: #fff; }
.bb.on small { background: rgba(255,255,255,.18); color: #fff; }
.bb-panel { position: absolute; z-index: 30; top: calc(100% + 10px); left: 0; width: min(880px, calc(100vw - 32px)); padding: 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: panelIn .2s var(--out); }
.pa { display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--blue-soft); color: var(--blue-2); font-weight: 800; font-size: 14px; padding: 10px 16px; border-radius: 12px; margin-bottom: 14px; }
.pa small { font-weight: 700; opacity: .7; }
.pa .ic { width: 16px; height: 16px; }
.pa:hover { background: #DBE3FA; }
.pc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 6px 18px; }
.pc { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0; background: none; padding: 8px 10px; border-radius: 10px; font-weight: 800; font-size: 15px; color: var(--ink); text-align: left; }
.pc small { font-size: 12px; color: var(--ink-3); font-weight: 700; }
.pc:hover { background: var(--paper); color: var(--blue); }
.pc-col ul { list-style: none; margin: 2px 0 10px; padding: 0; }
.pm { width: 100%; border: 0; background: none; text-align: left; padding: 5px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pm:hover { background: var(--paper); color: var(--ink); }
.seats { display: inline-flex; align-items: center; gap: 4px; padding: 5px 5px 5px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.seats .lbl { display: inline-flex; gap: 7px; align-items: center; font-size: 13.5px; font-weight: 700; color: var(--ink-3); margin-right: 6px; }
.seats button { border: 0; background: none; padding: 8px 13px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--ink-2); transition: background-color .2s, color .2s; }
.seats button:hover { background: var(--paper); }
.seats button[aria-pressed="true"] { background: var(--blue-soft); color: var(--blue-2); }
.search { margin-left: auto; display: flex; align-items: center; gap: 8px; padding: 0 16px; height: 50px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink-3); transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(13,53,176,.12); }
.search input { border: 0; outline: 0; background: none; font: inherit; font-weight: 600; color: var(--ink); width: 160px; }
.result-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 22px 0 16px; min-height: 34px; }
.count { margin: 0; font-size: 14px; color: var(--ink-3); font-weight: 600; }
.crumb { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.crumb i { font-style: normal; color: var(--ink-3); margin: 0 4px; }
.crumb .clear { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 5px 11px 5px 8px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.crumb .clear .ic { width: 14px; height: 14px; }
.crumb .clear:hover { border-color: #C3CEDE; color: var(--ink); }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); cursor: pointer;
  transition: transform .35s var(--out), box-shadow .35s var(--out), border-color .3s;
  animation: fadeUp .4s var(--out) both; animation-delay: calc(var(--i, 0) * 25ms);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #D3DBE8; }
.card-img { position: relative; aspect-ratio: 4 / 3.2; background: var(--stage); display: grid; place-items: center; overflow: hidden; }
.card-img::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--surface) 0%, rgba(243,245,248,0) 70%); }
.card-img img { position: relative; width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--out); }
.card:hover .card-img img { transform: scale(1.05); }
.tag { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 6px 10px; border-radius: 10px; background: rgba(243,245,248,.92); box-shadow: 0 1px 6px rgba(14,23,38,.08); }
.tag img { display: block; height: 22px; width: auto; max-width: 120px; object-fit: contain; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.card .h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.card .coll { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.card .meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-2); font-weight: 600; margin-top: 2px; }
.card .meta span { display: inline-flex; align-items: center; gap: 5px; }
.card .meta .ic { width: 16px; height: 16px; color: var(--blue); }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); }
.dots { display: flex; }
.dots i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--surface); margin-left: -5px; box-shadow: 0 1px 3px rgba(14,23,38,.25); }
.dots i:first-child { margin-left: 0; }
.dots-none { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.card .open { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 800; color: var(--blue); }
.card .open .ic { width: 16px; height: 16px; transition: transform .35s var(--out); }
.card:hover .open .ic { transform: translateX(4px); }
.empty { text-align: center; padding: 60px 20px; color: var(--ink-2); }

/* ── Spa detail dialog ──────────────────────────────────────────── */
.detail { width: min(1180px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 28px; background: var(--surface); color: var(--ink); box-shadow: 0 40px 120px -20px rgba(10,22,51,.55); overflow: hidden; }
.detail::backdrop { background: rgba(10,22,51,.6); }
.detail[open] { animation: dialogIn .45s var(--out); }
.detail[open]::backdrop { animation: fadeIn .3s; }
.d-shell { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.d-close { position: absolute; right: 16px; top: 16px; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; transition: transform .35s var(--out), background-color .2s; }
.d-close:hover { transform: rotate(90deg); background: var(--paper); }
.d-stage { position: relative; background: radial-gradient(90% 80% at 50% 45%, var(--surface) 0%, var(--stage) 75%); padding: 22px; display: flex; flex-direction: column; align-items: center; }
.seg { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); isolation: isolate; }
.seg button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 13.5px; color: var(--ink-2); transition: color .25s; }
.seg button[aria-selected="true"] { color: #fff; }
.seg-pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--ink); transition: transform .35s var(--out), width .35s var(--out); box-shadow: 0 6px 16px -6px rgba(14,23,38,.5); }
.stage-art { position: relative; flex: 1; width: 100%; min-height: 400px; display: grid; place-items: center; }
.view { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.view.is-on { opacity: 1; pointer-events: auto; }
.v-color { padding: 10px 4px; }
.v-photo img { max-width: 86%; max-height: 420px; object-fit: contain; mix-blend-mode: multiply; }
/* Color photo: the new image replaces the old in one frame once loaded */
.cv { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; }
.cv.in { opacity: 1; }
.cv img { max-width: 94%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cv.stack { display: flex; flex-direction: column; justify-content: center; align-items: center; }
.cv.stack img { width: min(94%, 560px); max-height: none; max-width: none; }
.cv.stack .cb { margin-top: -1px; }
.build { margin: 4px 0 10px; font-size: 14px; font-weight: 700; color: var(--ink-2); text-align: center; min-height: 1.6em; }
.d-nav { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.d-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; transition: transform .3s var(--out), border-color .2s, color .2s; }
.d-nav button:hover { transform: scale(1.08); border-color: var(--blue); color: var(--blue); }
.d-info { padding: clamp(26px, 3.4vw, 44px); display: flex; flex-direction: column; }
.d-logo { height: 30px; width: auto; align-self: flex-start; }
.d-coll { margin: 18px 0 4px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.d-info h2 { font-size: clamp(38px, 4.4vw, 58px); font-weight: 800; letter-spacing: -.035em; }
.specs { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.specs li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.specs .ic { width: 22px; height: 22px; color: var(--blue); }
.specs small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.specs b { font-size: 15.5px; }
.specs .none { grid-column: 1 / -1; color: var(--ink-2); font-size: 14.5px; }

/* Finishes: shell row above cabinet row */
.finishes { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.fin-row + .fin-row { margin-top: 18px; }
.fin-label { margin: 0 0 10px; font-size: 14.5px; color: var(--ink-3); font-weight: 600; }
.fin-label b { color: var(--ink); }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.sw { position: relative; width: 58px; height: 58px; border-radius: 50%; border: 0; padding: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 3px 8px -2px rgba(14,23,38,.25); }
.sw::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--blue); opacity: 0; transition: opacity .15s; }
.sw[aria-checked="true"]::after { opacity: 1; }
.sw .tip { position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translateX(-50%); white-space: nowrap; padding: 5px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .15s; }
.sw:hover .tip, .sw:focus-visible .tip { opacity: 1; }
.no-colors { margin: 24px 0 0; padding: 16px 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); font-size: 14.5px; }

/* Massage seats (Caldera) */
.massage { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.massage h3 { font-size: 18px; font-weight: 800; margin: 0 0 14px; letter-spacing: -.01em; }
.ms-list { display: flex; flex-wrap: wrap; gap: 6px; }
.ms { border: 1px solid var(--line); background: var(--surface); padding: 7px 13px; border-radius: 99px; font-weight: 700; font-size: 13px; color: var(--ink-2); transition: background-color .2s, color .2s, border-color .2s; }
.ms:hover { border-color: #C3CEDE; color: var(--ink); }
.ms[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.ms-view { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: center; margin-top: 14px; padding: 14px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.ms-tub { position: relative; border-radius: 10px; overflow: hidden; background: var(--surface); }
.ms-tub img { width: 100%; height: auto; mix-blend-mode: multiply; }
.ms-tub .ms-overlay { position: absolute; inset: 0; height: 100%; }
.ms-copy { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.ms-body { max-height: 170px; width: auto; }
.ms-copy p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.ms-copy p b { display: block; color: var(--ink); font-size: 14.5px; margin-bottom: 2px; }

/* Full specifications */
.full-specs { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 18px; }
.full-specs summary { list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 800; font-size: 16px; padding: 10px 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.full-specs summary::-webkit-details-marker { display: none; }
.full-specs summary .ic { transition: transform .25s var(--out); }
.full-specs[open] summary .ic { transform: rotate(180deg); }
.fs-group { margin-top: 18px; }
.fs-group h4 { margin: 0 0 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.fs-group dl { margin: 0; }
.fs-group dl div { display: grid; grid-template-columns: minmax(110px, 40%) 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.fs-group dt { color: var(--ink-3); font-weight: 600; }
.fs-group dd { margin: 0; color: var(--ink); font-weight: 600; }

.d-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.d-ctas .btn-primary { flex: 1 1 260px; }
.d-call { width: 100%; display: inline-flex; gap: 8px; align-items: center; justify-content: center; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--ink-2); text-decoration: none; }
.d-call:hover { color: var(--blue); }

/* ── Above ground pools page ────────────────────────────────────── */
.ag-hero { padding-block: clamp(50px, 7vw, 96px); }
.ag-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.ag-brand { height: 34px; width: auto; margin-bottom: 26px; opacity: .95; }
.ag-hero h1 { font-size: clamp(42px, 6vw, 78px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.ag-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.ag-points li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 16px; }
.ag-points .ic { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: rgba(94,211,230,.18); color: var(--aqua); }
.ag-art { position: relative; }
.ag-art::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: 20%; height: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.45), transparent); }
.ag-art img { position: relative; width: 100%; max-width: 620px; margin-inline: auto; }

.wf-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.wf-strip-in { display: flex; align-items: center; gap: 18px; padding-block: 16px; flex-wrap: wrap; }
.wf-strip img { height: 48px; width: auto; }
.wf-strip p { margin: 0; flex: 1; min-width: 240px; color: var(--ink-2); font-size: 15px; }
.wf-strip b { color: var(--ink); }

.ag-models, .ag-sizes, .ag-build, .ag-star, .ag-finance { padding-block: clamp(60px, 8vw, 104px); }
.ag-models { padding-block: clamp(40px, 5vw, 64px) clamp(30px, 4vw, 50px); }
.ag-contact { padding-bottom: clamp(60px, 8vw, 104px); }

/* Model cards */
.pool-models { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.pm-card { scroll-margin-top: 110px; display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--out), box-shadow .35s var(--out); }
.pm-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pm-card.picked { box-shadow: 0 0 0 3px var(--blue), var(--shadow-lg); animation: pickPulse 1.6s var(--out) 2; }
.pm-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--stage); }
.pm-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--out); }
.pm-img.lava { background: #fff; }
.pm-img.lava img { object-fit: contain; }
.pm-card:hover .pm-img.lava img { transform: scale(1.04); }
.pm-img.whitewood img { object-position: 30% 50%; }
.pm-card:hover .pm-img.whitewood img { transform: scale(1.04); }
.pm-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pm-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pm-top h3 { font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.salt { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 800; }
.salt .ic { width: 15px; height: 15px; }
.salt.yes { background: #DDF3E7; color: #13704A; }
.salt.no { background: var(--paper); color: var(--ink-2); border: 1px solid var(--line); }
.pm-desc { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.pm-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.pm-facts div { padding: 10px 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.pm-facts dt { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.pm-facts dd { margin: 2px 0 0; font-weight: 700; font-size: 15px; }
.pm-label { margin: 4px 0 -4px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.pm-sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.pm-sizes span { padding: 6px 12px; border-radius: 99px; background: var(--blue-soft); color: var(--blue-2); font-weight: 800; font-size: 14px; }
.pm-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }

/* Size guide */
.ag-sizes-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.size-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.size-pick button { border: 1px solid var(--line); background: var(--surface); padding: 10px 16px; border-radius: 99px; font-weight: 800; font-size: 15px; color: var(--ink-2); transition: background-color .2s, color .2s, border-color .2s; }
.size-pick button:hover { border-color: #B9C6D8; color: var(--ink); }
.size-pick button[aria-checked="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.size-read { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 460px; margin: 26px 0 0; }
.size-read div { padding: 14px 16px; border-radius: 16px; background: var(--blue-soft); border: 1px solid #C9D6F5; }
.size-read dt { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.size-read dd { margin: 4px 0 0; font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--blue-2); }
.sz-foot { margin: 14px 0 0; font-size: 13px; color: var(--ink-3); max-width: 60ch; }
.sz-help { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; transition: background-color .2s, translate .35s var(--out); }
.sz-help:hover { background: var(--blue); }
.sz-help .ic { transition: transform .35s var(--out); }
.sz-help:hover .ic { transform: translateX(4px); }
.size-viz { text-align: center; }
.size-viz svg { width: 100%; max-width: 420px; }
#szRing, #szWater { transition: r .45s var(--out); }
.sz-label { font: 800 30px var(--sans); fill: #fff; letter-spacing: -.02em; }
.sz-note { margin: 6px 0 0; font-size: 13px; color: var(--ink-3); }

/* Construction details */
.ag-build { background: var(--surface); border-block: 1px solid var(--line); }
.build-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.build-grid figure { margin: 0; text-align: center; }
.build-grid img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 50%; mix-blend-mode: multiply; transition: transform .5s var(--out); }
.build-grid figure:hover img { transform: scale(1.05); }
.build-grid figcaption { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--ink-2); }

/* StarSeries */
.star-head { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-bottom: 30px; }
.star-head img { height: 54px; width: auto; }
.star-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.star-head .sub { margin-top: 8px; }
.star-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.star-grid figure { margin: 0; border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.star-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .7s var(--out); }
.star-grid figure:hover img { transform: scale(1.06); }
.star-grid figcaption { padding: 14px 16px 16px; font-size: 14px; color: var(--ink-2); }
.star-grid figcaption b { display: block; color: var(--ink); font-size: 16px; }

/* Wells Fargo financing card */
.wf-card { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: clamp(26px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 60px); border-radius: 32px; background: linear-gradient(135deg, var(--surface) 0%, #F2E9E1 100%); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.wf-logo img { width: clamp(140px, 18vw, 210px); }
.wf-copy h2 { font-size: clamp(30px, 4vw, 48px); }
.wf-steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.wf-steps li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.wf-steps span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--wf-red); color: #fff; font-size: 14px; font-weight: 800; }

/* Contact for pricing */
.price-card { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 32px; color: #fff; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, #1D3F9C 100%); }
.price-card h2 { font-size: clamp(30px, 4vw, 48px); }
.price-card p { color: rgba(255,255,255,.72); margin: 14px 0 0; }
.price-actions { display: grid; gap: 12px; }
.pa-tile { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; text-decoration: none; font-weight: 700; font-size: 17px; transition: background-color .2s, transform .35s var(--out); }
.pa-tile:hover { background: rgba(255,255,255,.14); transform: translateX(4px); }
.pa-tile .ic { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(94,211,230,.2); color: var(--aqua); }
.pa-tile small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
.call-bar { display: none; }

/* ── Footer ─────────────────────────────────────────────────────── */
.foot { background: var(--navy); color: rgba(255,255,255,.72); padding-block: 64px 28px; }
.foot-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-brand img { width: 240px; }
.foot-brand p { margin: 16px 0 0; max-width: 34ch; font-size: 14.5px; }
.foot h4 { margin: 0 0 14px; color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.foot a { display: block; text-decoration: none; padding: 4px 0; font-weight: 500; transition: color .2s; }
.foot a:hover { color: #fff; }
.foot-legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.5); }

/* ── Motion ─────────────────────────────────────────────────────── */
/* Content is visible by default. Only when app.js is running (it adds
   .js-reveal to <html>) do below-the-fold sections start hidden and fade in. */
.reveal { transition: opacity .7s var(--out), transform .7s var(--out); transition-delay: var(--d, 0s); }
.js-reveal .reveal:not(.in) { opacity: 0; transform: translateY(18px); }
/* Sections out of view stop their looping animations (set by JS). */
.is-paused, .is-paused * { animation-play-state: paused !important; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ripple { from { transform: scale(1); opacity: .9; } to { transform: scale(1.32); opacity: 0; } }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes drift { to { transform: translate3d(4%, -3%, 0) rotate(6deg) scale(1.08); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(-6px); } }
@keyframes pickPulse { 50% { box-shadow: 0 0 0 9px rgba(13,53,176,.18), var(--shadow-lg); } }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1100px) { .links a { padding: 8px 10px; font-size: 14px; } }

/* Desktop detail: the info column scrolls on its own */
@media (min-width: 1041px) {
  .detail { height: min(920px, calc(100dvh - 32px)); }
  .d-shell { height: 100%; grid-template-rows: minmax(0, 1fr); }
  .d-info { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
}
@media (max-width: 1040px) {
  .links { display: none; }
  .burger { display: inline-block; }
  .bro-grid { grid-template-columns: 1fr 1fr; }
  .build-grid { grid-template-columns: repeat(3, 1fr); }
  .star-grid { grid-template-columns: 1fr 1fr; }
  /* Detail becomes one scrolling column */
  .detail { overflow-y: auto; overscroll-behavior: contain; }
  .d-shell { display: block; }
  .d-stage { padding-top: 70px; }
  .stage-art { flex: none; height: min(78vw, 400px); min-height: 0; }
  .d-close { position: fixed; }
}
@media (max-width: 860px) {
  .hero-in, .ag-hero-in, .teaser-in, .pool-card, .fin-card, .wf-card, .price-card,
  .visit-in, .pool-models, .ag-sizes-in, .bro-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 400px; order: -1; margin-bottom: 8px; }
  .ag-art { order: -1; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .search { margin-left: 0; flex: 1 1 100%; }
  .search input { width: 100%; }
  .topbar-in { gap: 6px 20px; }
  .topbar a:nth-child(2) { display: none; }
  /* Pools: pinned call / financing bar */
  .call-bar { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 20px; background: rgba(10,22,51,.94); box-shadow: 0 20px 40px -12px rgba(0,0,0,.5); }
  .call-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 14px; font-weight: 800; color: #fff; text-decoration: none; background: rgba(255,255,255,.1); }
  .call-bar a:first-child { background: var(--blue); }
  .call-bar img { height: 22px; width: auto; }
  body[data-page="pools"] .foot { padding-bottom: 110px; }
}
@media (max-width: 560px) {
  .nav-cta .btn-primary .ic { display: none; }
  .nav-in { gap: 10px; height: 64px; }
  .brand img { height: 26px; }
  .hero-ctas .btn { width: 100%; }
  .stats-row { gap: 18px; }
  .chip { font-size: 12.5px; padding: 8px 12px 8px 8px; }
  .chip.c1 { left: 0; top: 10%; }
  .chip.c2 { right: 0; }
  .bpill { height: 68px; padding: 0 22px; }
  .bpill img { height: 36px; max-width: 140px; }
  .teaser-strip { grid-template-columns: repeat(2, 1fr); }
  .teaser-strip .ts:nth-child(n+5) { display: none; }
  .bro { padding-bottom: 130px; }
  .bro-spa { width: 200px; right: -50px; bottom: -50px; }
  .ph-logos img { height: 42px; }
  .brandbar { border-radius: 22px; }
  .seg button { padding: 9px 13px; }
  .seats { flex-wrap: wrap; }
  .detail { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .sw { width: 50px; height: 50px; }
  .ms-view { grid-template-columns: 1fr; }
  .build-grid { grid-template-columns: 1fr 1fr; }
  .star-grid, .pm-facts { grid-template-columns: 1fr; }
  .size-read dd { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ── Touch screens ──────────────────────────────────────────────── */
/* Phone menu quick links under Hot Tubs / Above Ground Pools */
.mm-sub { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0 14px; border-bottom: 1px solid var(--line); }
.mobile-menu .mm-sub a { font-size: 14.5px; font-weight: 700; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); }
.mobile-menu a:has(+ .mm-sub) { border-bottom: 0; padding-bottom: 8px; }
/* No sticky "lifted" states after a tap */
@media (hover: none) {
  .card:hover, .bpill:hover, .pm-card:hover, .g-rating:hover, .map-label:hover, .pa-tile:hover, .d-nav button:hover { transform: none; }
  .card:hover .card-img img, .pm-card:hover .pm-img img, .star-grid figure:hover img, .build-grid figure:hover img, .bro:hover .bro-spa { transform: none; }
  .btn:hover::after { transform: translateX(-120%); }
}
@media (max-width: 560px) {
  .pm-facts { grid-template-columns: 1fr 1fr; }
  .pc-grid { grid-template-columns: 1fr 1fr; }
  .stage-art { touch-action: pan-y; }
}

/* Hero plate: just the spa, floating — no white disc behind it */
.plate { background: none; box-shadow: none; overflow: visible; }
.plate::before { content: ""; position: absolute; left: 14%; right: 14%; bottom: -2%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.45), transparent); }
.plate img { position: relative; padding: 4%; mix-blend-mode: normal; filter: drop-shadow(0 18px 24px rgba(0,0,0,.35)); }
.plate img { filter: none; }
.plate::after { content: ""; position: absolute; inset: 8%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(94,211,230,.18), transparent 70%); }
.plate img { padding: 10%; }

/* ── Parts & Service · Chemicals & Accessories · Water Testing ──── */
.info-sec { padding-block: clamp(56px, 7vw, 96px); }
.info-grid, .steps-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.info-card h3 { font-size: 21px; font-weight: 800; margin-top: 8px; }
.info-card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.info-card > b { position: absolute; right: 22px; top: 20px; font-size: 13px; font-weight: 800; color: var(--ink-3); letter-spacing: .08em; }
.cat-logos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; }
.cat-logos img { height: 40px; width: auto; max-width: 130px; object-fit: contain; padding: 6px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }

/* Photo next to the page title (parts & service) */
.photo-card { margin: 0; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.18); background: var(--navy-2); }
.photo-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo-card figcaption { padding: 12px 16px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.75); }

/* Brand logo carousel */
.logo-band { padding-block: 34px 38px; background: var(--surface); border-bottom: 1px solid var(--line); overflow: hidden; }
.logo-band-title { margin: 0 0 18px; text-align: center; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.logo-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; width: max-content; animation: marquee 40s linear infinite; will-change: transform; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-row { display: flex; gap: 18px; padding-right: 18px; }
.logo-tile { display: grid; place-items: center; width: 200px; height: 96px; padding: 16px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.logo-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Hours card (water testing) */
.hours-card { padding: clamp(22px, 3vw, 32px); border-radius: 26px; background: var(--surface); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); scroll-margin-top: 110px; }
.hours-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.hours-top h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; }
.open-badge { padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 800; background: var(--paper); color: var(--ink-2); border: 1px solid var(--line); }
.open-badge.is-open { background: #DDF3E7; color: #13704A; border-color: #BFE6CF; }
.hours-list { margin: 0; display: grid; gap: 2px; }
.hours-list div { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 12px; font-size: 15.5px; }
.hours-list dt { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.hours-list dt small { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); padding: 2px 8px; border-radius: 99px; }
.hours-list dd { margin: 0; font-weight: 600; color: var(--ink-2); }
.hours-list .today { background: var(--blue-soft); }
.hours-list .today dd { color: var(--blue-2); font-weight: 800; }
.hours-note { margin: 12px 0 0; font-size: 13px; color: var(--ink-3); }
.visit { padding-top: 0; }
.dd-panel.more { width: 240px; }

/* The menu has six items now: tighten it, and switch to the hamburger sooner */
@media (max-width: 1320px) { .links a { padding: 8px 10px; font-size: 14px; } .nav-in { gap: 16px; } }
@media (max-width: 1180px) { .links { display: none; } .burger { display: inline-block; } }
@media (max-width: 860px) {
  .info-grid, .steps-row { grid-template-columns: 1fr; }
  .photo-card { order: -1; }
  .logo-tile { width: 160px; height: 80px; }
}
.links a, .nav-dd > a { white-space: nowrap; }
.links { gap: 2px; }
@media (max-width: 1440px) { .links a { padding: 8px 9px; font-size: 13.5px; } .brand img { height: 30px; } .nav-in { gap: 14px; } }
@media (max-width: 1240px) { .links { display: none; } .burger { display: inline-block; } }

/* ── Two-row header: logo row on top, directory row below ─────────
   The whole header is sticky with a negative top equal to the logo row's
   height, so the logo row scrolls away and the directory row stays pinned. */
.nav { --top-h: 80px; top: calc(var(--top-h) * -1 + env(safe-area-inset-top, 0px)); }
.nav-top { display: flex; align-items: center; gap: 20px; height: var(--top-h); }
.brand img { height: 44px; }
.nav-cta { margin-left: auto; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.nav-phone .ic { color: var(--blue); }
.nav-phone:hover { color: var(--blue); }
.nav-bottom { border-top: 1px solid var(--line); }
.nav-bottom .links { display: flex; justify-content: center; flex-wrap: nowrap; gap: 4px; height: 52px; align-items: center; }
.nav-bottom .links a, .nav-bottom .nav-dd > a { padding: 8px 14px; font-size: 14.5px; }
@media (max-width: 1240px) {
  .links { display: flex; }
  .burger { display: none; }
  .nav-bottom .links { justify-content: space-between; gap: 0; }
  .nav-bottom .links a, .nav-bottom .nav-dd > a { padding: 8px 10px; font-size: 14px; }
}
@media (max-width: 1040px) {
  .nav { --top-h: 68px; top: env(safe-area-inset-top, 0px); }
  .nav-bottom, .nav-phone { display: none; }
  .burger { display: inline-block; }
  .brand img { height: 34px; }
}
@media (max-width: 560px) {
  .nav { --top-h: 62px; }
  .nav-top { gap: 10px; }
  .brand img { height: 26px; }
  .nav-cta .btn { padding: 9px 14px; font-size: 14px; }
}
.more-pill { display: inline-grid; place-items: center; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px dashed #B9C6D8; color: var(--ink-2); font-size: 13.5px; font-weight: 800; background: var(--paper); }

/* ── Built pages: links instead of buttons, no-script fallbacks ──── */
a.card, a.ts { text-decoration: none; color: inherit; }
a.ts { transition: transform .35s var(--out); }
a.ts:hover { transform: translateY(-3px); }
.foot-h { margin: 0 0 14px; color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.open-badge:empty { display: none; }
/* The phone menu shows on narrow screens when scripts are off; with scripts
   it folds behind the menu button. Never shown on desktop. */
@media (min-width: 1041px) { .mobile-menu { display: none !important; } }
.d-full { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: var(--blue); text-decoration: none; }
.d-full:hover .ic { transform: translateX(3px); }
.d-full .ic { width: 16px; height: 16px; transition: transform .3s var(--out); }

/* ── Model pages (hot-tubs/<brand>-<model>.html) ─────────────────── */
.model-hero { padding-block: 28px clamp(48px, 6vw, 80px); background: radial-gradient(70% 90% at 25% 30%, var(--surface) 0%, var(--paper) 70%); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-3); margin-bottom: 22px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink); font-weight: 800; }
.model-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.model-stage { position: sticky; top: 80px; display: flex; flex-direction: column; align-items: center; padding: 22px; border-radius: 28px; background: radial-gradient(90% 80% at 50% 45%, var(--surface) 0%, var(--stage) 75%); border: 1px solid var(--line); }
.model-art { min-height: 420px; }
.model-info h1 { font-size: clamp(44px, 5vw, 68px); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.model-lede { margin: 16px 0 0; font-size: 17px; color: var(--ink-2); max-width: 52ch; }
.model-sec { padding-block: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.model-h { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 24px; }
.ms-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.ms-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.model-overhead { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.model-overhead img { width: 100%; max-width: 560px; justify-self: center; mix-blend-mode: multiply; }
.model-specs { margin: 0; border: 0; padding: 0; }
.model-specs summary { font-size: 20px; padding: 16px 18px; }
@media (max-width: 1040px) {
  .model-grid, .model-overhead { grid-template-columns: 1fr; }
  .model-stage { position: static; }
  .model-art { height: min(70vw, 420px); min-height: 0; }
}
@media (max-width: 560px) { .ms-card { grid-template-columns: 1fr; } }
/* Controls that only work with scripts stay hidden until app.js runs. */
html:not(.js) .js-only { display: none !important; }
.brandbar:empty { display: none; }

/* ── Site header: utility bar, primary menu, phone drawer ─────────
   Menus open by click/tap or keyboard (app.js); hover only adds to that on
   desktop. Without scripts, :hover/:focus-within open them and the Menu
   link jumps to the drawer (#drawer:target). */
:root { --hdr-h: 76px; }
html { scroll-padding-top: calc(var(--hdr-h) + 16px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.util { background: var(--navy); color: rgba(255,255,255,.8); font-size: 13px; }
.util-in { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 26px; padding-block: 7px; }
.util a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; padding-block: 3px; transition: color .2s; }
.util a:first-child { margin-right: auto; }
.util a:hover { color: #fff; }
.util b { color: #fff; font-weight: 800; }
.util .ic { width: 15px; height: 15px; color: var(--aqua); }
.util :focus-visible { outline-color: var(--aqua); }
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(243,245,248,.97); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.hdr.scrolled { box-shadow: 0 6px 30px -18px rgba(14,23,38,.35); }
.hdr-in { display: flex; align-items: center; gap: 18px; height: var(--hdr-h); }
.hdr .brand { margin-right: 0; flex: none; }
.hdr .brand img { height: 36px; width: auto; }
.pnav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.pn { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.pn-item { position: relative; display: flex; align-items: center; }
.pn-item:has(.mega) { position: static; }
.pn-link { text-decoration: none; font-weight: 700; font-size: 14.5px; color: var(--ink-2); padding: 9px 12px; border-radius: 999px; white-space: nowrap; transition: color .2s, background-color .2s; }
.pn-link:hover { color: var(--ink); background: var(--paper); }
.pn-link[aria-current="page"], .pn-link[data-section] { color: var(--blue); background: var(--blue-soft); }
.has-menu .pn-link { padding-right: 6px; border-radius: 999px 0 0 999px; }
.pn-tog { display: grid; place-items: center; width: 30px; height: 38px; padding: 0 4px 0 0; border: 0; border-radius: 0 999px 999px 0; background: none; color: var(--ink-3); transition: color .2s, background-color .2s; }
.pn-link[aria-current="page"] + .pn-tog, .pn-link[data-section] + .pn-tog { background: var(--blue-soft); color: var(--blue); }
.pn-tog:hover, .pn-tog[aria-expanded="true"] { color: var(--blue); background: var(--blue-soft); }
.pn-tog .ic { width: 16px; height: 16px; transition: transform .2s var(--out); }
.pn-tog[aria-expanded="true"] .ic { transform: rotate(180deg); }
.hdr-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.hdr-price { padding: 11px 20px; font-size: 15px; }
.hdr-call, .menu-btn { display: none; }

.mega, .drop { display: none; position: absolute; z-index: 45; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.pn-item.open > .mega, .pn-item.open > .drop { display: block; }
html:not(.js) .pn-item:hover > .mega, html:not(.js) .pn-item:focus-within > .mega,
html:not(.js) .pn-item:hover > .drop, html:not(.js) .pn-item:focus-within > .drop { display: block; }
.mega { left: 0; right: 0; top: 100%; border-width: 1px 0; border-radius: 0 0 24px 24px; max-height: calc(100vh - var(--hdr-h) - 20px); overflow: auto; }
.mega-in { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 36px; padding-block: 26px 30px; }
.mega-h { margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.mega-all { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; margin-bottom: 22px; border-radius: 16px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 800; font-size: 16px; }
.mega-all small { display: block; font-weight: 600; font-size: 13px; opacity: .82; }
.mega-all:hover { background: var(--blue-2); }
.mega-all .ic { transition: transform .25s var(--out); }
.mega-all:hover .ic { transform: translateX(3px); }
.mega-brands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.mb-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 800; font-size: 16px; }
.mb-head:hover { color: var(--blue); }
.mb-logo { width: 62px; height: 28px; display: grid; place-items: center; flex: none; }
.mb-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.mega-brand ul { list-style: none; margin: 0; padding: 0; }
.mega-brand li a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 8px; margin-inline: -8px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 14.5px; }
.mega-brand li a:hover { background: var(--paper); color: var(--ink); }
.mega-brand small { color: var(--ink-3); font-weight: 700; }
.mb-all { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 800; color: var(--blue); text-decoration: none; }
.mb-all:hover { text-decoration: underline; }
.mega-help { border-left: 1px solid var(--line); padding-left: 28px; }
.mega-help ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-help a { display: flex; gap: 12px; align-items: flex-start; padding: 9px 10px; margin-inline: -10px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14.5px; }
.mega-help a:hover { background: var(--paper); }
.mega-help small { display: block; font-weight: 500; font-size: 12.5px; color: var(--ink-3); }
.mega-help .ic { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 2px; }
.drop { top: calc(100% + 8px); left: 0; width: 340px; padding: 10px; border-radius: 18px; }
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.drop ul { list-style: none; margin: 0; padding: 0; }
.drop li a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 15px; }
.drop li a:hover { background: var(--paper); }
.drop small { display: block; font-weight: 600; font-size: 12.5px; color: var(--ink-3); }
.dp-thumb { width: 64px; height: 44px; border-radius: 9px; overflow: hidden; flex: none; background: var(--stage); }
.dp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.drop-all { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding: 11px 12px 4px; border-top: 1px solid var(--line); font-weight: 800; font-size: 14px; color: var(--blue); text-decoration: none; }

.drawer { position: fixed; inset: 0 0 0 auto; z-index: 60; width: min(420px, 100%); height: 100%; max-width: none; max-height: none; margin: 0 0 0 auto; padding: 0 0 env(safe-area-inset-bottom, 0px); border: 0; background: var(--surface); color: var(--ink); display: none; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; box-shadow: var(--shadow-lg); }
.drawer[open], .drawer:target { display: flex; }
.drawer::backdrop { background: rgba(10,22,51,.55); }
.dr-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(12px + env(safe-area-inset-top, 0px)) 18px 12px; border-bottom: 1px solid var(--line); background: var(--surface); }
.dr-head .brand img { height: 28px; width: auto; }
.dr-close { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); }
.dr-nav { padding: 6px 18px; }
.dr-row { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); }
.dr-row > a { flex: 1; display: flex; align-items: center; min-height: 54px; font-weight: 800; font-size: 17px; color: var(--ink); text-decoration: none; }
.dr-row > a[aria-current] { color: var(--blue); }
.dr-row.sub { border-bottom: 0; }
.dr-row.sub > a { min-height: 48px; padding-left: 14px; font-size: 15.5px; font-weight: 700; }
.dr-tog { width: 54px; flex: none; display: grid; place-items: center; border: 0; border-left: 1px solid var(--line); background: none; color: var(--ink-2); }
.dr-tog .ic { transition: transform .2s var(--out); }
.dr-tog[aria-expanded="true"] .ic { transform: rotate(180deg); }
.dr-panel { padding: 4px 0 10px; border-bottom: 1px solid var(--line); }
.dr-panel .dr-panel { border-bottom: 0; padding: 0 0 6px; }
.js .dr-panel:not(.open) { display: none; }
.dr-panel > a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding-left: 26px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.dr-panel > a.dr-all { padding-left: 14px; color: var(--blue); font-weight: 800; }
.dr-panel .dr-panel > a.dr-all { padding-left: 26px; }
.dr-panel small { padding-right: 14px; color: var(--ink-3); font-weight: 700; }
.dr-actions { display: grid; gap: 10px; margin-top: auto; padding: 18px; border-top: 1px solid var(--line); }
.dr-actions .btn { justify-content: center; }
.dr-call { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; font-weight: 800; color: var(--blue); text-decoration: none; }

@media (max-width: 1320px) {
  .pn-link { padding: 9px 9px; font-size: 14px; }
  .has-menu .pn-link { padding-right: 4px; }
  .hdr .brand img { height: 32px; }
  .hdr-in { gap: 12px; }
}
@media (max-width: 1180px) {
  .pnav { display: none; }
  .hdr .brand { margin-right: auto; }
  .hdr-call, .menu-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 800; font-size: 15px; text-decoration: none; }
  .hdr-call { border: 1px solid var(--line); color: var(--ink); background: var(--surface); }
  .hdr-call .ic { color: var(--blue); }
  .menu-btn { background: var(--navy); color: #fff; }
  .mb-bars { display: grid; gap: 3px; }
  .mb-bars i { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; }
}
@media (max-width: 760px) {
  :root { --hdr-h: 64px; }
  .util { display: none; }
  .hdr .brand img { height: 27px; }
  .hdr-price { display: none; }
  .hdr-in { gap: 8px; }
}
@media (max-width: 400px) {
  .hdr .brand img { height: 23px; }
  .hdr-call span { display: none; }
  .hdr-call, .menu-btn { padding: 0 13px; }
}

/* ═══ Beatbot section (chemicals-accessories.html) ═══════════════ */
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 800; font-size: 15px; color: var(--blue); text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.card-link .ic { width: 16px; height: 16px; }
.bb-sec { position: relative; overflow: hidden; color: #fff; background: radial-gradient(90% 60% at 80% 0%, #17306E 0%, var(--navy) 60%, #050B1C 100%); padding-block: clamp(64px, 8vw, 110px); scroll-margin-top: var(--hdr-h); }
.bb-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.bb-head h2 { font-size: clamp(30px, 4.2vw, 50px); }
.bb-sub { margin: 16px 0 0; font-size: clamp(16px, 1.5vw, 18px); color: rgba(255,255,255,.76); max-width: 58ch; }
.bb-feature { margin: 0; }
.bb-player { position: relative; border-radius: var(--r); overflow: hidden; background: #000; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.bb-player video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.bb-play { position: absolute; left: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px); display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border: 0; border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; box-shadow: 0 10px 30px -8px rgba(0,0,0,.6); transition: transform .3s var(--out); }
.bb-play:hover { transform: scale(1.04); }
.bb-play svg { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--blue); fill: #fff; }
.bb-play small { margin-left: 6px; font-weight: 600; color: var(--ink-2); }
.bb-feature figcaption { margin-top: 14px; font-size: 15px; color: rgba(255,255,255,.7); }
.bb-clips { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(36px, 5vw, 56px); }
.bb-clip { margin: 0; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.bb-clip video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #000; }
.bb-clip figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 16px 14px; }
.bb-clip b { font-size: 15.5px; }
.bb-clip span { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--aqua); white-space: nowrap; }
.bb-h3 { margin: clamp(48px, 6vw, 72px) 0 20px; font-size: clamp(22px, 2.4vw, 28px); }
.bb-models { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.bb-model { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.bb-model img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.bb-model h4 { margin: 14px 16px 4px; font-size: 18px; }
.bb-model p { margin: 0 16px 18px; font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.72); }
.bb-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: clamp(36px, 5vw, 52px); padding: 22px 24px; border-radius: var(--r); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.bb-cta p { margin: 0; font-size: 17px; font-weight: 700; max-width: 46ch; }
.bb-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 1100px) {
  .bb-models { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .bb-clips { grid-template-columns: repeat(2, 1fr); }
  .bb-models { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .bb-clips { grid-template-columns: 1fr 1fr; gap: 10px; }
  .bb-clip figcaption { flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
  .bb-clip b { font-size: 14px; }
  .bb-clip span { font-size: 11px; }
  .bb-models { grid-template-columns: 1fr; }
  .bb-model { flex-direction: row; align-items: center; }
  .bb-model img { width: 112px; flex: none; }
  .bb-model h4 { margin: 0 14px 4px 0; }
  .bb-model p { margin: 0 14px 0 0; font-size: 14px; }
  .bb-model > div { padding-block: 10px; }
  .bb-play { padding: 8px 16px 8px 8px; font-size: 14px; }
  .bb-play svg { width: 34px; height: 34px; padding: 8px; }
  .bb-cta-btns, .bb-cta-btns .btn { width: 100%; }
}

/* Get Pricing: hot tub or above ground pool (Nov 4, 2026) */
.gp-type { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--stage, #eef3f8); margin: 0 0 16px; }
.gp-type button { flex: 1; border: 0; background: none; border-radius: 999px; padding: 10px 12px; font: inherit; font-weight: 700; color: inherit; cursor: pointer; }
.gp-type button[aria-checked="true"] { background: #fff; box-shadow: 0 2px 8px rgba(10, 22, 51, .12); }
.gp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Privacy page (Nov 4, 2026) */
.privacy { max-width: 760px; }
.privacy h2 { margin: 28px 0 8px; }
.privacy p, .privacy li { line-height: 1.65; }
.privacy ul { padding-left: 20px; margin: 8px 0 12px; }
