/* FROZEN 2026-11-12 for the before page: a copy of assets/css/site.css as it stood before the three-page
   rework, so the live page can change without changing the before page. Do not edit to match the live page.

  BRIM POOL CARE: the look. Written fresh for this demo (DEMO_RUNBOOK step 5): no rule here is copied
  from another demo's stylesheet. Colours come only from the checked palettes, through the variables
  the starter sets (--bg, --text, --b1 to --b4 and their text colours). Luxury here means space,
  restraint and a thin brass line, never a badge.
  No em-dashes anywhere in this file.
*/

:root {
  --serif: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "Consolas", monospace;
  --gutter: clamp(16px, 5vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --rule: 1px solid var(--b2-accent, #C8A96A);
  --logo-brass: #C8A96A;
  --logo-face: #F4EFE6;
  --logo-ink: #0A1F26;
  --logo-aqua: #5FC6CF;
  /* Fallbacks so the page reads before palettes.js runs. */
  --bg: #F4EFE6; --text: #0A1F26; --muted: #4B5B61; --surface: #FBF8F2; --border: #D9CDB4;
  --accent: #7A5B22; --accent-text: #FBF8F2; --focus: #0E6F7A;
  --b2: #0A1F26; --b2-text: #F4EFE6; --b2-muted: #A9BCC0; --b2-accent: #C8A96A; --b2-accent-text: #0A1F26;
  --b3: #C8A96A; --b3-text: #0A1F26; --b3-muted: #3A2E14; --b3-accent: #0A1F26; --b3-accent-text: #C8A96A;
  --b4: #DDF0F1; --b4-text: #0A1F26; --b4-muted: #3E555A; --b4-accent: #0A1F26; --b4-accent-text: #DDF0F1;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  padding-bottom: 76px;
}
img, video, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Type */
.kicker {
  margin: 0 0 18px; font: 500 12px/1.2 var(--mono); letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 14px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.title {
  margin: 0 0 20px; font: 400 clamp(34px, 6.4vw, 64px)/1.04 var(--serif); letter-spacing: -.01em;
  font-optical-sizing: auto; text-wrap: balance;
}
.title-sm { font-size: clamp(28px, 4.6vw, 42px); }
.lead { margin: 0 0 28px; font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 40ch; }
.fine { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 14px 0 0; max-width: 62ch; }

/* Blocks: each section takes one measured set of colours from the palette. */
.block-deep { background: var(--b2); color: var(--b2-text); --muted: var(--b2-muted); --focus: var(--b2-accent); }
.block-deep .kicker { color: var(--b2-accent); }
.block-aqua { background: var(--b4); color: var(--b4-text); --muted: var(--b4-muted); }
.block-brass { background: var(--b3); color: var(--b3-text); --muted: var(--b3-muted); --focus: var(--b3-accent); }
.block-brass .kicker { color: var(--b3-text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), background-color .3s, color .3s;
}
.btn:hover { transform: translateY(-1px); }
.btn-brass { background: var(--b2-accent); color: var(--b2-accent-text); }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-quiet { padding: 0 6px; color: inherit; text-decoration: underline; text-decoration-color: var(--b2-accent); }
.btn-ink { background: var(--b2); color: var(--b2-text); }
.btn-call { background: var(--accent); color: var(--accent-text); min-height: 40px; padding: 0 18px; font-size: 14px; }

/* Ribbon: the sample-site note, always present on a demo. */
.ribbon { background: var(--b2); color: var(--b2-text); font-size: 13px; position: relative; z-index: 30; }
.ribbon-row { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.looks-toggle {
  background: none; border: 1px solid var(--b2-accent); color: var(--b2-text); border-radius: 999px;
  font: 500 12px var(--mono); padding: 5px 12px; cursor: pointer; white-space: nowrap;
}
.looks-panel { padding-bottom: 10px; }
.palette-switch { display: flex; flex-wrap: wrap; gap: 6px; }
.palette-switch button {
  background: transparent; color: var(--b2-text); border: 1px solid rgba(244, 239, 230, .35);
  border-radius: 999px; padding: 6px 12px; font: 500 12px var(--mono); cursor: pointer;
}
.palette-switch button[aria-pressed="true"] { background: var(--b2-accent); color: var(--b2-accent-text); border-color: var(--b2-accent); }

/* Top bar: pearl glass, sticky. */
.topbar {
  position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.topbar-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-mark svg, .footer-mark svg, .report-mark svg { width: 100%; height: 100%; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 500 24px/1 var(--serif); letter-spacing: .14em; text-transform: uppercase; }
.brand-sub { font: 500 9.5px/1 var(--mono); letter-spacing: .42em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav { display: none; gap: 28px; font-size: 14px; }
.nav a { text-decoration: none; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.topbar-call { display: none; }

/* HERO: the media on top, an ink panel below on a phone; side by side from 960px. */
.hero { background: var(--b2); color: var(--b2-text); --muted: var(--b2-muted); display: grid; }
.hero-media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; max-height: 74svh; width: 100%; background: #0A1F26; }
/* the stage (wave 2): two rendered frames cross-fade; the UI sits in the shade at the bottom, in thumb reach */
.stage { touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.stage.is-dragging { cursor: grabbing; }
.stage-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; opacity: 0; z-index: 0; pointer-events: none; }
.stage-img.is-on { opacity: 1; }
.stage-img.is-top { z-index: 1; }
.stage-hint { position: absolute; z-index: 4; left: 50%; top: 38%; transform: translate(-50%, -50%); margin: 0; display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: rgba(10, 31, 38, .62); color: #F4EFE6; font: 600 14px/1 var(--sans, sans-serif); letter-spacing: .02em; pointer-events: none; transition: opacity .6s var(--ease); }
.stage-hint.is-gone { opacity: 0; }
.stage-hand { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #C8A96A; animation: hand 2.2s var(--ease) infinite; }
@keyframes hand { 0% { transform: translateX(-16px); opacity: 0; } 25% { opacity: 1; } 75% { opacity: 1; } 100% { transform: translateX(16px); opacity: 0; } }
.stage-ui { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) 16px; color: #F4EFE6; }
.stage-step { margin: 0 0 10px; max-width: 46ch; font-size: 14px; line-height: 1.45; min-height: 3em; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.stage-step strong { color: #E3C98E; font-weight: 600; }
.stage-step a { color: #F4EFE6; text-decoration: underline; text-underline-offset: 3px; }
.stage-rail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-bottom: 10px; }
.stage-rail button { min-height: 44px; padding: 6px 2px 0; border: 0; border-top: 3px solid rgba(244, 239, 230, .28); background: none; color: rgba(244, 239, 230, .7); font: 600 11px/1.15 var(--sans, sans-serif); text-align: left; cursor: pointer; transition: border-color .3s var(--ease), color .3s var(--ease); }
.stage-rail button.is-done { border-top-color: #C8A96A; }
.stage-rail button[aria-pressed="true"] { border-top-color: #E3C98E; color: #FFF; }
.stage-sun { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; font: 600 12px/1 var(--sans, sans-serif); }
.stage-sun input { width: 100%; min-height: 44px; accent-color: #C8A96A; background: none; }
.stage-sun output { min-width: 7.5em; text-align: right; color: #E3C98E; }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity 1.4s var(--ease); z-index: 0; }
.slide.is-on { opacity: 1; }
.slide.is-top { z-index: 1; }
.slide img, .slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide video { opacity: 0; transition: opacity .6s var(--ease); }
.slide video.is-playing { opacity: 1; }
.slide:first-child.is-on img { animation: settle 1.6s var(--ease) both; }
.slide-bars { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 18px; z-index: 3; display: flex; gap: 6px; pointer-events: none; }
.slide-bars span { flex: 1; height: 2px; background: rgba(244, 239, 230, .3); border-radius: 2px; overflow: hidden; }
.slide-bars i { display: block; height: 100%; width: 0; background: #C8A96A; }
.slide-bars .is-done i { width: 100%; }
.slide-bars .is-run i { animation: bar var(--dur, 5000ms) linear forwards; }
@keyframes bar { from { width: 0; } to { width: 100%; } }
.ripples { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: auto; touch-action: pan-y; z-index: 2; }
.hero-shade { position: absolute; z-index: 2; inset: auto 0 0 0; height: 38%; background: linear-gradient(to bottom, transparent, rgba(10, 31, 38, .9)); pointer-events: none; }
.hero-panel { position: relative; padding: 36px 0 48px; }
.hero-copy { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.seal { position: relative; width: 112px; height: 112px; margin: -4px 0 22px; }
.seal-flat { position: absolute; inset: 14px; transition: opacity .8s var(--ease); }
.seal-turn { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); touch-action: pan-y; cursor: grab; }
.seal.is-3d .seal-turn { opacity: 1; }
/* the strip, in the visit report: the rendered macro, coloured to the reading on a canvas */
.strip { margin: 0 0 18px; }
.strip-canvas { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 6px; background: #0A1F26; cursor: grab; }
.strip-hint { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.strip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.strip-row .chips { flex: 1 1 auto; }
.strip-read { margin: 12px 0 0; font-size: 15px; min-height: 1.5em; }
.strip-read b { font-weight: 600; }
.strip-swatch { display: inline-block; width: 14px; height: 14px; margin: 0 6px -2px 0; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.seal.is-3d .seal-flat { opacity: 0; }
.hero-title { margin: 0 0 20px; font: 400 clamp(46px, 11vw, 92px)/.98 var(--serif); letter-spacing: -.015em; }
.hero-title em { font-style: italic; color: var(--b2-accent); display: block; }
.hero-lead { margin: 0 0 28px; font-size: clamp(17px, 2.3vw, 20px); color: var(--b2-muted); max-width: 38ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; }
.licence-line { font-size: 14px; line-height: 1.55; margin: 0; max-width: 60ch; }
.licence-line strong { font-family: var(--mono); font-weight: 500; letter-spacing: .04em; }
.licence-line a { color: var(--b2-accent); }
.now { margin-top: 28px; padding-top: 22px; border-top: var(--rule); }
.now-kicker { margin: 0 0 12px; font: 500 11px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--b2-accent); }
.lamps { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.lamps li { display: flex; align-items: center; gap: 8px; color: var(--b2-muted); }
.lamp { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--b2-muted); }
.lamps li.is-on { color: var(--b2-text); }
.lamps li.is-on .lamp { background: #5FC6CF; border-color: #5FC6CF; box-shadow: 0 0 0 4px rgba(95, 198, 207, .18), 0 0 14px rgba(95, 198, 207, .7); }
.now-text { margin: 0; font-size: 15px; }

/* WHY */
.why { position: relative; overflow: hidden; padding: 88px 0 72px; isolation: isolate; }
.water { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .5; pointer-events: none; }
.why-grid { display: grid; gap: 40px; }
.why-media { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.why-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: f; }
.fact { display: grid; grid-template-columns: 56px 1fr; gap: 6px 18px; padding: 26px 0; border-top: 1px solid rgba(200, 169, 106, .35); background: var(--b2); }
.fact-mark { font: 400 13px var(--mono); color: var(--b2-accent); padding-top: 6px; grid-row: span 2; }
.fact h3 { margin: 0; font: 400 26px/1.15 var(--serif); }
.fact p { margin: 0; color: var(--b2-muted); max-width: 52ch; }
.people { margin-top: 72px; }
.people-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.person { background: var(--b2); }
.person figure { margin: 0 0 16px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; }
.person img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); transition: transform 1.2s var(--ease); }
.person:hover img { transform: scale(1.03); }
.person h3 { margin: 0; font: 400 26px/1.1 var(--serif); }
.person-role { margin: 4px 0 8px; font: 500 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--b2-accent); }
.person p { margin: 0; color: var(--b2-muted); font-size: 15px; }

/* SERVICE */
.service { padding: 96px 0 80px; }
.section-head { margin-bottom: 40px; }
.sizes { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.sizes button { border: 0; background: transparent; color: var(--text); border-radius: 999px; padding: 9px 16px; font: 600 14px var(--sans); cursor: pointer; }
.sizes button[aria-pressed="true"] { background: var(--b2); color: var(--b2-text); }
.tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.tier { position: relative; padding: 32px 28px 30px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); display: flex; flex-direction: column; }
.tier-cadence { font: 500 11px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.tier h3 { margin: 0 0 18px; font: 400 40px/1 var(--serif); }
.tier-price { margin: 0 0 22px; display: flex; align-items: baseline; gap: 8px; }
.tier-price small { font: 500 12px var(--mono); letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.tier-price strong { font: 400 52px/1 var(--serif); letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.tier ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.tier li { padding: 11px 0 11px 22px; border-bottom: 1px solid var(--border); position: relative; font-size: 15px; }
.tier li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 8px; height: 1px; background: var(--accent); }
.tier.is-featured { background: var(--b2); color: var(--b2-text); border-color: var(--b2); --muted: var(--b2-muted); --border: rgba(200, 169, 106, .35); --accent: var(--b2-accent); }
.tier-flag { position: absolute; top: -11px; left: 28px; background: var(--b3); color: var(--b3-text); font: 500 10px var(--mono); letter-spacing: .18em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.terms { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.terms li { padding-left: 22px; position: relative; }
.terms li::before { content: ""; position: absolute; left: 0; top: 12px; width: 10px; height: 1px; background: var(--accent); }

/* DAY */
.day { padding: 96px 0; }
.day-grid { display: grid; gap: 40px; align-items: start; }
.planner fieldset { border: 0; margin: 0 0 22px; padding: 0; }
.planner legend { font: 500 11px var(--mono); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; color: var(--b4-muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--b4-text); background: transparent; color: var(--b4-text); border-radius: 999px; padding: 10px 16px; font: 500 14px var(--sans); cursor: pointer; min-height: 44px; }
.chip[aria-pressed="true"] { background: var(--b4-text); color: var(--b4); }
.result { background: var(--b2); color: var(--b2-text); --muted: var(--b2-muted); padding: 32px 28px; border-radius: 6px; position: sticky; top: 88px; box-shadow: 0 30px 60px -30px rgba(10, 31, 38, .55); }
.result-kicker { margin: 0 0 14px; font: 500 11px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--b2-accent); }
.result-day { margin: 0 0 10px; font: 400 28px/1.2 var(--serif); }
.result-price { margin: 0 0 24px; font: 500 16px var(--mono); color: var(--b2-accent); }
.result-sub { margin: 0 0 8px; font-size: 13px; color: var(--b2-muted); }
.result-visits { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid rgba(200, 169, 106, .35); }
.result-visits li { padding: 10px 0; border-bottom: 1px solid rgba(200, 169, 106, .35); font: 400 15px var(--mono); }
.result .btn { margin-top: 20px; background: var(--b2-accent); color: var(--b2-accent-text); width: 100%; }

/* SEASONAL */
.seasonal { padding: 96px 0; }
.seasonal-grid { display: grid; gap: 40px; align-items: center; }
.seasonal-media { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 4px; }
.seasonal-media img { width: 100%; height: 100%; object-fit: cover; }

/* COMMERCIAL */
.commercial { padding: 0 0 96px; }
.commercial-media { width: 100%; height: clamp(240px, 42vw, 560px); overflow: hidden; margin-bottom: 56px; }
.commercial-media img { width: 100%; height: 100%; object-fit: cover; }
.commercial-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.commercial-list li { padding: 22px 22px 22px 0; border-top: 1px solid rgba(200, 169, 106, .35); }
.commercial-list h3 { margin: 0 0 6px; font: 400 23px/1.2 var(--serif); }
.commercial-list p { margin: 0; color: var(--b2-muted); font-size: 15px; }
.commercial .btn { margin-top: 28px; }

/* PROOF: the report and the licence */
.proof { padding: 96px 0; }
.proof-grid { display: grid; gap: 64px; }
.report { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 22px; max-width: 380px; box-shadow: 0 30px 60px -36px rgba(10, 31, 38, .45); }
.report-head { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.35; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.report-mark { width: 36px; height: 36px; flex: none; }
.report-photo { border-radius: 12px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; margin-bottom: 16px; }
.gauges { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 14px; }
.gauge-top { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
.gauge-top strong { font: 500 15px var(--mono); }
.gauge-bar { position: relative; height: 8px; border-radius: 99px; background: var(--border); }
.gauge-band { position: absolute; top: 0; bottom: 0; background: color-mix(in srgb, #5FC6CF 70%, var(--surface)); border-radius: 99px; }
.gauge-dot { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--text); border: 2px solid var(--surface); }
.gauge-guide { font-size: 12px; color: var(--muted); margin-top: 5px; }
.report-lines { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.report-lines li { padding: 7px 0; border-top: 1px solid var(--border); }
.report-note { font-size: 14px; font-style: italic; margin: 12px 0 0; }
.covers .quote { font: italic 400 20px/1.4 var(--serif); border-left: 2px solid var(--accent); padding-left: 16px; margin: 18px 0; }
.excluded { list-style: none; margin: 0; padding: 0; }
.excluded li { padding: 14px 0; border-top: 1px solid var(--border); display: grid; gap: 2px; }
.excluded li span { font-size: 13px; color: var(--muted); }
.covers-photo { margin-top: 28px; border-radius: 4px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* REVIEWS */
.reviews { padding: 0 0 96px; }
.empty-frame { border: 1px dashed var(--border); border-radius: 6px; padding: 40px 24px; text-align: center; color: var(--muted); font: italic 400 20px/1.4 var(--serif); }

/* ASK */
.ask { padding: 96px 0; }
.ask-grid { display: grid; gap: 40px; }
.ask-hours { font: 400 14px/1.7 var(--mono); }
.ask-form { display: grid; gap: 14px; grid-template-columns: 1fr; }
.ask-form label { display: grid; gap: 6px; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.ask-form input, .ask-form select, .ask-form textarea {
  font: 400 16px var(--sans); color: var(--b3-text); background: rgba(251, 248, 242, .55);
  border: 1px solid rgba(10, 31, 38, .4); border-radius: 4px; padding: 13px 14px; min-height: 48px; width: 100%;
  letter-spacing: 0; text-transform: none;
}
.ask-form .btn { width: 100%; margin-top: 6px; }
.ask-sent { margin: 0; font-size: 15px; }

/* FOOTER */
.footer { position: relative; overflow: hidden; padding: 72px 0 40px; isolation: isolate; }
.water-footer { opacity: .35; }
.footer-grid { display: grid; gap: 28px; }
.footer-mark { width: 96px; height: 96px; --logo-face: #0A1F26; --logo-ink: #F4EFE6; }
.footer-line { font: 400 24px/1.3 var(--serif); margin: 0 0 18px; }
.footer p { font-size: 14px; }
.footer a { color: var(--b2-text); }
.footer .licence-line a { color: var(--b2-accent); }

/* PHONE: swipe rows. Each card is most of the screen wide, so the next one shows at the edge. */
.swipe { display: flex !important; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px;
  scroll-padding-left: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.swipe::-webkit-scrollbar { display: none; }
.swipe > li { flex: 0 0 84%; scroll-snap-align: start; }
.facts.swipe > li { flex-basis: 78%; border: 1px solid rgba(200, 169, 106, .35); border-radius: 6px; padding: 24px 22px; }
.facts.swipe > li.fact { grid-template-columns: 1fr; gap: 10px; }
.facts.swipe .fact-mark { grid-row: auto; padding: 0; }
.commercial-list.swipe > li { flex-basis: 78%; border: 1px solid rgba(200, 169, 106, .35); border-radius: 6px; padding: 22px; background: rgba(255, 255, 255, .02); }
.tiers.swipe { padding-top: 16px; }
.swipe-dots { display: flex; justify-content: center; gap: 8px; margin: 2px 0 6px; }
.swipe-dots span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .25; transition: opacity .3s, width .3s; }
.swipe-dots span.on { opacity: .9; width: 18px; border-radius: 3px; }

/* PHONE: stacked cards. Each card lies a little over the one before; tap one and it opens. */
.stack { display: grid; }
.stack-card { position: relative; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 10px;
  margin-top: -10px; box-shadow: 0 -6px 18px -12px rgba(10, 31, 38, .35); transition: transform .4s var(--ease); }
.stack-card:first-child { margin-top: 0; }
.stack-card summary { list-style: none; cursor: pointer; padding: 20px 52px 20px 20px; position: relative; }
.stack-card summary::-webkit-details-marker { display: none; }
.stack-card summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--accent), var(--accent)) center / 14px 1.5px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 1.5px 14px no-repeat; transition: transform .3s var(--ease); }
.stack-card[open] summary::after { transform: rotate(45deg); }
.stack-card h3 { margin: 0; font: 400 23px/1.2 var(--serif); }
.stack-card strong { font-weight: 600; }
.stack-card p { margin: 0; padding: 0 20px 20px; color: var(--muted); }
.stack-card[open] { z-index: 1; }

/* CALL BAR: pinned on a phone. */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(10, 31, 38, .94); color: #F4EFE6;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid rgba(200, 169, 106, .4);
}
.callbar .btn-brass { background: #C8A96A; color: #0A1F26; }
.callbar:has(.callbar-before) { grid-template-columns: 1fr 1fr auto; }
.callbar-before { align-self: center; color: #C8A96A; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 10px 4px; }

/* Evening: the pool light is on. */
[data-mode="evening"] .topbar { background: color-mix(in srgb, var(--bg) 82%, transparent); }
[data-mode="evening"] .footer-mark { --logo-face: #071519; }
[data-mode="evening"] .tier.is-featured { background: var(--b4); }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@keyframes settle { from { opacity: 0; } to { opacity: 1; } }

/* Tablet and up. Media queries sit below the rules they override. */
@media (min-width: 760px) {
  .swipe { display: grid !important; overflow: visible; margin: 0; padding: 0; scroll-snap-type: none; }
  .swipe-dots { display: none; }
  .facts.swipe > li, .commercial-list.swipe > li { border: 0; border-radius: 0; padding: 26px 0; background: none; border-top: 1px solid rgba(200, 169, 106, .35); }
  .commercial-list.swipe { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 28px; }
  .people-list.swipe { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .stack-card { margin-top: 0; border-radius: 0; border-width: 1px 0 0; box-shadow: none; background: transparent; }
  .stack-card summary { padding: 18px 0 6px; cursor: default; pointer-events: none; }
  .stack-card summary::after { display: none; }
  .stack-card p { padding: 0 0 18px; }
  .tiers { grid-template-columns: repeat(3, 1fr); }
  .ask-form { grid-template-columns: 1fr 1fr; }
  .ask-form .wide { grid-column: 1 / -1; }
  .seasonal-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .footer-grid { grid-template-columns: auto 1fr; gap: 48px; }
}
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .nav { display: flex; }
  .topbar-call { display: inline-flex; }
  /* the before page (shared stylesheet) keeps the old two columns; the live page's stage runs full width (the desk
     frames are 16 by 9) with the copy on its solid band below */
  .hero { grid-template-columns: 1.05fr 1fr; min-height: calc(100svh - 100px); }
  .hero-media { order: 2; aspect-ratio: auto; max-height: none; height: 100%; }
  .hero-shade { display: none; }
  .hero-panel { display: flex; align-items: center; padding: 64px 0; }
  .hero-copy { padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); padding-right: 56px; }

  .hero.has-stage { grid-template-columns: 1fr; }
  .has-stage .hero-media { order: 0; aspect-ratio: auto; max-height: none; height: max(460px, calc(100svh - 390px)); }
  .stage-img { object-position: 50% 62%; }
  .stage-ui { padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 22px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px 48px; align-items: end; }
  .stage-step { grid-column: 1 / -1; font-size: 15px; }
  .stage-rail { margin: 0; }
  .stage-rail button { font-size: 12px; }
  .has-stage .hero-panel { padding: 36px 0 64px; }
  .has-stage .hero-copy { display: grid; grid-template-columns: auto 1fr 1fr; gap: 0 48px; align-items: start; }
  .has-stage .hero-copy > * { grid-column: 3; }
  .has-stage .hero-copy > .seal { grid-column: 1; grid-row: 1 / span 4; margin: 0; }
  .has-stage .hero-copy > .kicker, .has-stage .hero-copy > .hero-title { grid-column: 2; }
  .has-stage .hero-copy > .hero-title { grid-row: 2 / span 6; font-size: clamp(56px, 6.4vw, 92px); }
  .has-stage .hero-copy > .kicker { grid-row: 1; }
  .has-stage .hero-copy > .tier-tagrow { grid-row: 1; margin: 0 0 14px; }
  .why-grid { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 64px; }
  .facts, .facts.swipe { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .fact { grid-template-columns: 1fr; }
  .fact-mark { grid-row: auto; }
  .day-grid { grid-template-columns: 1.2fr 1fr; gap: 64px; }
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .ask-grid { grid-template-columns: 1fr 1.2fr; gap: 72px; }
}

/* THE MOTION LAYER (wave 2, the founder 2026-11-12: "movement in text ... background motion ... top tier").
   stage.js adds the classes; with scripts off or reduced motion everything simply shows. */
.has-water { position: relative; overflow: hidden; isolation: isolate; }
.water-soft { opacity: .28; }
.block-aqua .water-soft { opacity: .22; mix-blend-mode: soft-light; }
.js .rise .w { display: inline-block; opacity: 0; transform: translateY(.55em) rotate(2deg); filter: blur(6px); transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.js .rise.is-in .w { opacity: 1; transform: none; filter: none; }
.js .kicker.draw::before { transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) .1s; }
.js .kicker.draw.is-in::before { transform: scaleX(1); }
.js .kicker.draw { letter-spacing: .32em; transition: letter-spacing 1.3s var(--ease); }
.js .kicker.draw.is-in { letter-spacing: .22em; }
.tilt { transition: transform .5s var(--ease), box-shadow .5s var(--ease); transform-style: preserve-3d; will-change: transform; }
.tilt.is-tilting { transition: transform .08s linear, box-shadow .3s var(--ease); box-shadow: 0 30px 60px -28px rgba(10, 31, 38, .45); }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .16), transparent 45%); opacity: 0; transition: opacity .4s var(--ease); }
.tilt.is-tilting::after { opacity: 1; }
.drift { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .js .rise .w { opacity: 1; transform: none; filter: none; transition: none; }
  .js .kicker.draw::before { transform: none; transition: none; }
  .js .kicker.draw { letter-spacing: .22em; transition: none; }
  .tilt, .tilt.is-tilting { transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
  .slide img { animation: none !important; }
  .slide { transition: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .person img, .nav a::after { transition: none; }
}

/* Tier tags, 2026-11-07: a small pill on every feature above the $500 site */
.tier-tagrow { margin: -6px 0 16px; }
.tier-tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid currentColor; border-radius: 999px;
  font: 500 10.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.tier-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #5FC6CF; box-shadow: 0 0 8px rgba(95, 198, 207, .9); }
.block-deep .tier-tag, .hero .tier-tag { color: var(--b2-accent); }
.block-aqua .tier-tag { color: var(--b4-text); }
.hero .tier-tagrow { margin: -6px 0 18px; }

/* What this costs, 2026-11-07: three cards, a swipe row on a phone */
.costs { padding: 96px 0; position: relative; }
.costs .lead { color: var(--b2-muted); }
.cost { display: flex; flex-direction: column; padding: 28px 24px; border: 1px solid rgba(200, 169, 106, .4); border-radius: 6px; background: rgba(255, 255, 255, .03); }
.cost-name { margin: 0 0 6px; font: 500 11px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--b2-accent); }
.cost-price { margin: 0 0 8px; font: 400 clamp(34px, 8vw, 46px)/1 var(--serif); letter-spacing: -.01em; }
.cost-line { margin: 0 0 18px; color: var(--b2-muted); font-size: 15px; }
.cost ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(200, 169, 106, .35); }
.cost ul li { position: relative; padding: 10px 0 10px 22px; border-bottom: 1px solid rgba(200, 169, 106, .25); font-size: 15px; }
.cost ul li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 8px; height: 1px; background: var(--b2-accent); }
.cost-plus { border-color: var(--b2-accent); }
.cost-immersive { border-color: #5FC6CF; box-shadow: 0 0 40px -14px rgba(95, 198, 207, .55); }
.cost-immersive .cost-name { color: #5FC6CF; }
.cost-link { margin-top: 24px; }
.cost-link + .cost-link { margin-left: 10px; }
.ribbon-before { color: inherit; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.swipe-hint { margin: 2px 0 10px; font: 500 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); text-align: center; }
.costs .swipe-hint { color: var(--b2-muted); text-align: center; }
.swipe-arrow { display: inline-block; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.cost-row.swipe > li { flex-basis: 84%; max-width: 340px; }
@media (max-width: 759px) {
  /* The report and the licence become two cards to swipe between. No slider or input sits inside. */
  .proof-grid { display: grid; grid-auto-flow: column; grid-auto-columns: min(84vw, 340px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 14px; scroll-padding-left: var(--gutter); align-items: start; }
  .proof-grid::-webkit-scrollbar { display: none; }
  .proof-grid > * { scroll-snap-align: start; min-width: 0; }
  .proof-grid .report { max-width: none; }
}
@media (min-width: 760px) {
  .cost-row.swipe { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .cost-row.swipe > li { max-width: none; border: 1px solid rgba(200, 169, 106, .4); border-radius: 6px; padding: 28px 24px; background: rgba(255, 255, 255, .03); }
  .cost-row.swipe > li.cost-plus { border-color: var(--b2-accent); }
  .cost-row.swipe > li.cost-immersive { border-color: #5FC6CF; }
  .swipe-hint { display: none; }
}

/* His circle mark, beside the founder's name (DEMO_RUNBOOK 5a). Brass glow for the pool light. */
.ftv { display: inline-block; vertical-align: middle; margin-left: .45rem; width: 3.1rem; height: 3.1rem; flex: none; border-radius: 50%;
  animation: ftv 4.5s ease-in-out infinite; filter: drop-shadow(0 0 .45rem rgba(200, 169, 106, .65)); transition: transform .35s cubic-bezier(.2, .9, .3, 1.4); }
.ftv img { width: 100%; height: 100%; }
.ftv:hover, .ftv:focus-visible { transform: scale(1.15) rotate(-10deg); }
@keyframes ftv { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
@media (prefers-reduced-motion: reduce) { .ftv, .swipe-arrow { animation: none; } .ftv { transition: none; } }

/* Footer home links, 2026-10-22: the agency and the maker, in the footer's own colour */
.home-links a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; display: inline-block; padding: 0.3em 0; }
.home-links a:hover, .home-links a:focus-visible { text-decoration-thickness: 2px; }
