/* Sol's Second Sinks
   Light, calm and friendly. Lots of white, one water blue, a little sunshine yellow,
   soft rounded shapes. The personality lives in the copy, the handwritten notes in the
   drawings, and the scroll story on the home page. Mobile first. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("/assets/fonts/caveat.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  --ink: #172131;
  --text: #435066;
  --muted: #5b687d;
  --bg: #ffffff;
  --mist: #f3f6fa;
  --mist-2: #e8eef5;
  --line: #e2e8f0;
  --line-2: #cdd7e3;
  --blue: #1170c4;
  --blue-ink: #0b5aa1;
  --blue-50: #ebf4fc;
  --blue-100: #d4e7f8;
  --sun: #ffcb47;
  --sun-50: #fff6db;
  --hot: #ec5b52;
  --stone: #e9edf1;

  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;

  --gutter: clamp(20px, 5vw, 56px);
  --max: 1200px;
  --section: clamp(72px, 10vw, 136px);
  --r-s: 12px;
  --r-m: 18px;
  --r-l: 28px;
  --shadow-1: 0 1px 2px rgba(23, 33, 49, 0.05), 0 10px 28px -16px rgba(23, 33, 49, 0.22);
  --shadow-2: 0 2px 6px rgba(23, 33, 49, 0.05), 0 28px 56px -28px rgba(23, 33, 49, 0.32);
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --header-h: 68px;
}
@media (min-width: 960px) {
  :root { --header-h: 80px; }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  interpolate-size: allow-keywords;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (min-width: 1120px) {
  body { font-size: 1.125rem; }
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
a[href^="tel:"], a[href^="sms:"], a[href^="mailto:"] { white-space: nowrap; }
main:focus { outline: none; }
[hidden] { display: none !important; }
::selection { background: var(--blue-100); color: var(--ink); }

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-s);
  text-decoration: none;
  font-weight: 650;
}
.skip:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.i { width: 20px; height: 20px; flex: none; }
.stack { display: grid; gap: 20px; align-content: start; }
.stack-s { display: grid; gap: 10px; align-content: start; }

/* ---------- Type ---------- */

.h1, .h2 {
  font-family: var(--display);
  color: var(--ink);
  text-wrap: balance;
}
.h1 {
  font-weight: 750;
  font-size: clamp(2.7rem, 1.6rem + 4.6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.h2 {
  font-weight: 720;
  font-size: clamp(2rem, 1.45rem + 2.4vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.h3 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 680;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.lead {
  font-size: clamp(1.125rem, 1.02rem + 0.45vw, 1.3125rem);
  line-height: 1.55;
  max-width: 36em;
  text-wrap: pretty;
}
.muted { color: var(--muted); }
.small { font-size: 0.9375rem; line-height: 1.55; }
.prose { max-width: 38em; }
.prose p + p { margin-top: 1em; }

.text-link {
  color: var(--blue);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.25em;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}
.text-link:hover { color: var(--blue-ink); text-decoration-color: var(--sun); }
.prose a, .faq-a a {
  color: var(--blue);
  font-weight: 600;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1.5px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn .i { width: 18px; height: 18px; }
.btn:hover { background: var(--blue-ink); border-color: var(--blue-ink); transform: translateY(-1px); box-shadow: 0 12px 24px -14px rgba(11, 90, 161, 0.7); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-soft { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-soft:hover { background: #fff; color: var(--ink); border-color: var(--ink); box-shadow: 0 12px 24px -16px rgba(23, 33, 49, 0.45); }
.btn-white { background: #fff; color: var(--ink); border-color: #fff; }
.btn-white:hover { background: var(--sun-50); border-color: var(--sun-50); color: var(--ink); box-shadow: none; }
.btn-ghost-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost-white:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; box-shadow: none; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 0.9375rem; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }

.btn-row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 520px) {
  .btn-row { flex-direction: row; flex-wrap: wrap; }
}
/* Quote button full width on phones, the two message buttons side by side under it */
.btn-trio .btn { padding-inline: 20px; }
@media (max-width: 519px) {
  .btn-trio { display: grid; grid-template-columns: 1fr 1fr; }
  .btn-trio > :first-child { grid-column: 1 / -1; }
  .btn-trio .btn { padding-inline: 12px; }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
  border-radius: 8px;
}
.mark { width: 36px; height: 36px; flex: none; }
.mark-tile { fill: var(--blue); }
.mark-old { fill: #fff; }
.mark-new { fill: var(--sun); }
.brand-name {
  font-family: var(--display);
  font-weight: 750;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
  line-height: 1;
  white-space: nowrap;
}

.nav { display: none; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.9688rem;
  font-weight: 550;
  text-decoration: none;
  color: var(--text);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--mist); }
.nav a[aria-current="page"] { color: var(--blue); background: var(--blue-50); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 10px;
  color: var(--ink);
  font-weight: 650;
  font-size: 0.9688rem;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  border-radius: 8px;
}
.header-phone .i { width: 17px; height: 17px; color: var(--blue); }
.header-phone:hover { color: var(--blue); }
.header-quote { display: none; }
.menu-btn {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-right: -6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.menu-btn .i { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

@media (min-width: 560px) {
  .header-quote { display: inline-flex; }
}
@media (min-width: 1000px) {
  .nav { display: block; margin-right: auto; }
  .menu-btn { display: none; }
  .brand { margin-right: 12px; }
}
@media (min-width: 1180px) {
  .header-phone { display: inline-flex; }
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  background: #fff;
  overflow-y: auto;
  padding: 8px var(--gutter) 40px;
  border-top: 1px solid var(--line);
}
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a {
  display: flex;
  align-items: center;
  min-height: 62px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.025em;
  text-decoration: none;
}
.mobile-menu li a[aria-current="page"] { color: var(--blue); }
.mobile-menu .btn-row { margin-top: 28px; }
.mobile-menu .btn-row .btn { width: 100%; }
.mobile-menu .note { margin-top: 20px; color: var(--muted); font-size: 0.9375rem; }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu:not([hidden]) { animation: fade-down 0.28s var(--ease) both; }
}
@keyframes fade-down { from { opacity: 0; transform: translateY(-8px); } }
body.menu-open { overflow: hidden; }

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section-mist { background: var(--mist); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 44rem; }
.section-head-split { max-width: none; }
@media (min-width: 900px) {
  .section-head-split { grid-template-columns: 1fr 1fr; align-items: end; gap: 56px; }
}
.section-foot { margin-top: clamp(32px, 4vw, 48px); }

.page-hero { background: var(--mist); padding-block: clamp(40px, 7vw, 104px) clamp(48px, 7vw, 88px); }
.page-hero .wrap { display: grid; gap: 20px; }
.page-hero .h1 { max-width: 13em; }

/* ---------- The scroll story ---------- */

.story { position: relative; background: linear-gradient(var(--mist), var(--mist)) top / 100% 0 no-repeat; }
.story-grid {
  display: grid;
  grid-template-areas: "intro" "stage" "steps" "outro";
}
.story-intro { grid-area: intro; display: grid; gap: 22px; align-content: center; padding-block: clamp(24px, 5vw, 48px) 28px; }
.story-intro .lead { max-width: 30em; }
.hero-actions { display: grid; gap: 16px; margin-top: 6px; }
.hero-call { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9688rem; }
.hero-call a { color: var(--ink); font-weight: 650; text-underline-offset: 0.2em; font-variant-numeric: tabular-nums; }
.hero-call a:hover { color: var(--blue); }
.hero-call .i { width: 17px; height: 17px; color: var(--blue); }
.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.scroll-hint .i { width: 18px; height: 18px; color: var(--blue); }
@media (prefers-reduced-motion: no-preference) {
  .scroll-hint .i { animation: nudge 1.8s var(--ease) infinite; }
}
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

.story-stage {
  grid-area: stage;
  position: sticky;
  top: var(--header-h);
  z-index: 3;
  align-self: start;
  margin-inline: calc(var(--gutter) * -1);
  padding: 8px var(--gutter) 10px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.stage-figure {
  margin: 0;
  border-radius: var(--r-l);
  background: var(--mist);
  padding: 6px;
}
.stage-figure .scene { width: 100%; height: auto; max-height: 40svh; margin-inline: auto; }
.stage-steps {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.stage-steps a {
  display: grid;
  gap: 6px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 6px;
}
.stage-steps a::before {
  content: "";
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  transition: background-color 0.3s var(--ease);
}
.stage-steps a.is-done::before { background: var(--blue-100); }
.stage-steps a.is-current { color: var(--ink); }
.stage-steps a.is-current::before { background: var(--blue); }
.stage-steps span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.story-steps { grid-area: steps; }
.story-step {
  min-height: 48svh;
  padding-block: 28px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.step-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 650;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}
.story-step .h2 { font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.9rem); }
.story-step p { max-width: 26em; font-size: 1.125rem; }
.story-outro { grid-area: outro; display: grid; gap: 20px; align-content: start; padding-block: 24px clamp(72px, 10vw, 120px); }

@media (min-width: 960px) {
  .story-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    grid-template-areas: "intro stage" "steps stage" "outro stage";
    column-gap: clamp(40px, 5vw, 80px);
  }
  .story-intro { min-height: calc(100svh - var(--header-h)); padding-block: 40px 64px; }
  .story-stage {
    grid-row: 1 / span 3;
    height: calc(100svh - var(--header-h));
    margin: 0;
    padding: 24px 0 32px;
    background: transparent;
    border: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    align-content: center;
  }
  .stage-figure { display: grid; place-items: center; min-height: 0; height: 100%; padding: clamp(12px, 2vw, 28px); }
  .stage-figure .scene { max-height: 100%; }
  .stage-steps { margin-top: 16px; gap: 10px; }
  .stage-steps span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .stage-steps a:hover { color: var(--ink); }
  .story-step { min-height: 78svh; align-content: center; padding-block: 48px; }
  .story-live .story-step { opacity: 0.32; transition: opacity 0.4s var(--ease); }
  .story-live .story-step.is-active { opacity: 1; }
  .story-outro { min-height: 70svh; align-content: center; }
}
.story-live .story-step { transition: opacity 0.4s var(--ease); }

/* scene drawing */
.scene { overflow: visible; font-family: var(--sans); }
.sc-back-cab { fill: #e7edf4; }
.sc-back-seam { stroke: #d3dce7; stroke-width: 1.5; fill: none; }
.sc-back-top { fill: #dfe5ec; }
.sc-back-sink { fill: #c3cfdc; }
.sc-back-faucet { fill: none; stroke: #9fb0c3; stroke-width: 5; stroke-linecap: round; }
.sc-basement { fill: #edf2f7; }
.sc-floor { fill: #d6dee8; }
.sc-hatchline { stroke: #bcc8d5; stroke-width: 1.2; }
.sc-cab-side { fill: #d7e0ea; }
.sc-cab-front { fill: #f6f8fb; stroke: #c4d0dd; stroke-width: 1.5; }
.sc-cab-inside { fill: #dbe3ec; }
.sc-cab-rail { fill: #f6f8fb; }
.sc-toekick { fill: #c9d4e0; }
.sc-door rect:first-child { fill: #fff; stroke: #c4d0dd; stroke-width: 1.5; }
.sc-door .sc-panel { fill: none; stroke: #dbe3ec; stroke-width: 1.5; }
.sc-door .sc-knob { fill: #9fb0c3; }
.sc-top { fill: var(--stone); stroke: #b9c5d2; stroke-width: 1.5; stroke-linejoin: round; }
.sc-slab-front { fill: #d9e0e8; }
.sc-slab-side { fill: #cbd4de; }
.dg-speck, .sc-back .dg-speck { fill: #c2ccd7; }
.dg-speck-dk { fill: #a7b4c2; }
.dg-speck-lt { fill: #fff; }
.sc-hole { fill: #46536a; }
.sc-basin-wall { fill: #b7c4d3; }
.sc-basin-floor { fill: #e5ebf2; }
.sc-basin-drain { fill: #8796a9; }
.sc-polish { fill: none; stroke: #fff; stroke-width: 3.5; stroke-linejoin: round; }
.sc-trace { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-dasharray: 7 6; stroke-linecap: round; }
.sc-reveal { fill: none; stroke: #fff; stroke-width: 12; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sc-cutline { fill: none; stroke: #3c4a5f; stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linejoin: round; }
.sc-piece { fill: var(--stone); stroke: #b9c5d2; stroke-width: 1.5; }
.sc-pipe { fill: none; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sc-hose { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sc-pipe.sc-hot, .sc-pipe.sc-cold { stroke-width: 6; }
.sc-hot { stroke: var(--hot); }
.sc-cold { stroke: var(--blue); }
.sc-drainpipe { stroke: #8e9db0; }
.sc-valves rect { fill: var(--sun); stroke: #3c4a5f; stroke-width: 1.5; }
.sc-vent { fill: #fff; stroke: #8e9db0; stroke-width: 2; }
.sc-basin { fill: #f3f6fa; stroke: #8e9db0; stroke-width: 2; stroke-linejoin: round; }
.sc-basin-shade { fill: none; stroke: #d4dde8; stroke-width: 3; stroke-linecap: round; }
.sc-gooseneck { fill: none; stroke: #3c4a5f; stroke-width: 6; stroke-linecap: round; }
.sc-lever { stroke: #3c4a5f; stroke-width: 4; stroke-linecap: round; }
.sc-faucet-base { fill: #3c4a5f; }
.sc-water { stroke: #69b3f2; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 9 7; }
.scene.is-flowing .sc-water { animation: water 0.6s linear infinite; }
@keyframes water { to { stroke-dashoffset: -16; } }
.sc-ripple { fill: none; stroke: #69b3f2; stroke-width: 2; }
.sc-sparkle path { fill: var(--sun); stroke: #3c4a5f; stroke-width: 1.3; stroke-linejoin: round; }
.sc-check circle { fill: var(--blue); }
.sc-check path { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sc-pencil-body { fill: var(--sun); stroke: #3c4a5f; stroke-width: 1.2; }
.sc-pencil-eraser { fill: #f2a7a3; stroke: #3c4a5f; stroke-width: 1.2; }
.sc-pencil-tip { fill: #f3dfc0; stroke: #3c4a5f; stroke-width: 1.2; stroke-linejoin: round; }
.sc-blade polygon { fill: #d3dbe5; stroke: #3c4a5f; stroke-width: 1.2; stroke-linejoin: round; }
.sc-blade-hub { fill: #3c4a5f; }
.sc-blade-mark { stroke: #3c4a5f; stroke-width: 2; stroke-linecap: round; }
.sc-dust { fill: #b8c3cf; }
.sc-note text { font-family: var(--hand); font-weight: 600; font-size: 24px; fill: var(--blue); }
.sc-note path { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#sc-n-sink1 text, #sc-n-sink1 path { fill: #8697ab; }
#sc-n-sink1 path { fill: none; stroke: #8697ab; }

/* ---------- Crew / points ---------- */

.points { display: grid; gap: 28px 40px; }
.point { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: start; align-content: start; }
.point .h3 { align-self: center; }
.point p { grid-column: 2; }
@media (min-width: 760px) {
  .points { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .points { grid-template-columns: repeat(4, 1fr); }
  .point { grid-template-columns: 1fr; }
  .point .ic-soft { margin-bottom: 8px; }
  .point p { grid-column: 1; }
}

/* Icon tiles: Lucide line icons on soft tiles */
.ic-soft {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--blue-50);
  color: var(--blue);
  flex: none;
}
.ic-soft .i { width: 21px; height: 21px; }
.ic-sun { background: var(--sun-50); color: #9a6a00; }
.ic-ok {
  display: grid; place-items: center;
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--blue); color: #fff;
}
.ic-ok .i { width: 34px; height: 34px; }

/* ---------- Layout cards, rows and plan drawings ---------- */

.layout-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(78%, 1fr);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  margin-inline: calc(var(--gutter) * -1);
  padding: 4px var(--gutter) 20px;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.layout-scroller::-webkit-scrollbar { display: none; }
.layout-scroller > * { scroll-snap-align: start; }
@media (min-width: 760px) {
  .layout-scroller { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 24px; }
}
.layout-card {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 14px 14px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.layout-card .dg { border-radius: 12px; background: var(--mist); }
.layout-card .stack-s { padding-inline: 6px; }
.layout-card p { font-size: 0.9688rem; }
.layout-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); border-color: var(--line-2); }
@media (prefers-reduced-motion: no-preference) {
  .layout-card:hover .dg-cut, .layout-row:hover .dg-cut { animation: march 0.9s linear infinite; }
}
@keyframes march { to { stroke-dashoffset: -18; } }

.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.9375rem; }
.legend span { display: inline-flex; align-items: center; gap: 10px; }
.legend svg { width: 32px; height: 20px; }
.legend .lg-old { fill: #fff; stroke: #6b7c92; stroke-width: 1.6; }
.legend .lg-new { fill: var(--blue-50); stroke: var(--blue); stroke-width: 2; stroke-dasharray: 4 3; }

.layout-rows { display: grid; gap: clamp(56px, 8vw, 96px); }
.layout-row { display: grid; gap: 24px; scroll-margin-top: calc(var(--header-h) + 24px); }
.layout-row figure { margin: 0; background: var(--mist); border-radius: var(--r-l); padding: clamp(10px, 2vw, 22px); }
.layout-text { display: grid; gap: 14px; align-content: start; }
.layout-text .h2 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem); }
.facts { display: grid; gap: 14px; margin-top: 6px; }
.facts div { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line); }
.facts dt { color: var(--ink); font-weight: 650; font-size: 0.9688rem; }
@media (min-width: 900px) {
  .layout-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
  .layout-row:nth-child(even) figure { order: 2; }
}

.dg { width: 100%; height: auto; overflow: visible; font-family: var(--sans); }
.dg-counter { fill: var(--stone); stroke: #8e9db0; stroke-width: 1.3; stroke-linejoin: round; }
.dg-sink { fill: #fff; stroke: #6b7c92; stroke-width: 1.3; }
.dg-none { fill: none; stroke: none; }
.dg-drain { fill: #fff; stroke: #6b7c92; stroke-width: 1.1; }
.dg-spout { stroke: #3c4a5f; stroke-width: 2.4; stroke-linecap: round; }
.dg-faucet { fill: #3c4a5f; }
.dg-newfill { fill: var(--blue-50); }
.dg-cut { fill: none; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 5 4; stroke-linecap: round; }
.cut-reveal { fill: none; stroke: #fff; stroke-width: 9; stroke-dasharray: 1; stroke-dashoffset: 0; }
.dg-newsink .dg-drain { stroke: var(--blue); }
.dg-newsink .dg-spout { stroke: var(--blue); }
.dg-newsink .dg-faucet { fill: var(--blue); }
.dg-sparkle { fill: var(--sun); stroke: #3c4a5f; stroke-width: 1.1; stroke-linejoin: round; }
.dg-wall { fill: none; stroke: #3c4a5f; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.dg-range circle { fill: #fff; stroke: #8e9db0; stroke-width: 1.1; }
.dg-appliance { fill: #fff; stroke: #8e9db0; stroke-width: 1.1; }
.dg-appline { stroke: #b9c5d2; stroke-width: 0.8; }
.dg-mini { fill: #6b7c92; font-size: 8px; font-weight: 700; text-anchor: middle; }
.dg-oldsmall { stroke-dasharray: 2.5 2.5; stroke: #6b7c92; }
.dg-speck { fill: #c2ccd7; }

/* cutaway (How it works) */
.dg-cabinet { fill: #f6f8fb; stroke: #8e9db0; stroke-width: 1.4; }
.dg-floor { fill: #d6dee8; stroke: #8e9db0; stroke-width: 1.4; }
.dg-hatchline { stroke: #bcc8d5; stroke-width: 1.2; }
.dg-basin { fill: #fff; stroke: #6b7c92; stroke-width: 1.8; stroke-linejoin: round; }
.dg-clip { stroke: #6b7c92; stroke-width: 2.4; stroke-linecap: round; }
.dg-cutedge { stroke: var(--blue); stroke-width: 3.5; stroke-linecap: round; }
.dg-gooseneck { fill: none; stroke: #3c4a5f; stroke-width: 5.5; stroke-linecap: round; }
.dg-pipe-out { display: none; }
.dg-pipe { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.dg-hot { stroke: var(--hot); }
.dg-cold { stroke: var(--blue); }
.dg-drainpipe { stroke: #8e9db0; }
.dg-valve { fill: var(--sun); stroke: #3c4a5f; stroke-width: 1.4; }
.dg-vent { fill: #fff; stroke: #8e9db0; stroke-width: 1.8; }
.dg-drop { fill: #69b3f2; }
.dg-label { fill: var(--ink); font-size: 15px; font-weight: 600; }
.dg-muted { fill: var(--muted); font-weight: 600; }
.dg-leader { fill: none; stroke: #9fb0c3; stroke-width: 1.2; stroke-dasharray: 3 3; }
.dg-leaderdot { fill: #3c4a5f; }

@media (prefers-reduced-motion: no-preference) {
  .motion .draw:not(.is-in) .cut-reveal { stroke-dashoffset: 1; }
  .motion .draw:not(.is-in) .after-cut { opacity: 0; }
  .motion .draw.is-in:not(.no-anim) .cut-reveal { animation: cut 1s var(--ease) 0.15s both; }
  .motion .draw.is-in:not(.no-anim) .after-cut { animation: fade-in 0.45s var(--ease) 1s both; }
}
@keyframes cut { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fade-in { from { opacity: 0; } }

/* ---------- FAQ ---------- */

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-weight: 650;
  font-size: 1.0938rem;
  line-height: 1.4;
  border-radius: 6px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm {
  display: grid; place-items: center;
  width: 34px; height: 34px; flex: none;
  border-radius: 50%;
  background: var(--mist);
  color: var(--ink);
  transition: transform 0.3s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.faq-item summary .pm .i { width: 17px; height: 17px; }
.faq-item summary:hover .pm { background: var(--blue-50); color: var(--blue); }
.faq-item[open] summary .pm { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-a { padding: 0 52px 24px 0; max-width: 44em; }
.faq-a p + p { margin-top: 0.8em; }
@media (prefers-reduced-motion: no-preference) {
  .faq-item::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size 0.32s var(--ease), content-visibility 0.32s allow-discrete;
  }
  .faq-item[open]::details-content { block-size: auto; }
}

.faq-layout { display: grid; gap: 40px; }
.faq-group { scroll-margin-top: calc(var(--header-h) + 24px); }
.faq-group + .faq-group { margin-top: clamp(44px, 6vw, 64px); }
.faq-group-title { font-family: var(--display); color: var(--ink); font-weight: 700; letter-spacing: -0.025em; font-size: clamp(1.45rem, 1.25rem + 0.8vw, 1.85rem); margin-bottom: 10px; }
.faq-toc { display: none; }
@media (min-width: 1000px) {
  .faq-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 72px; align-items: start; }
  .faq-toc { display: block; position: sticky; top: calc(var(--header-h) + 32px); }
  .faq-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
  .faq-toc a { display: block; padding: 9px 16px; border-radius: 999px; text-decoration: none; font-weight: 550; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
  .faq-toc a:hover { background: var(--mist); color: var(--ink); }
  .faq-toc a.is-active { background: var(--blue-50); color: var(--blue); }
}

/* ---------- CTA band ---------- */

.cta-band { position: relative; overflow: hidden; background: #0e63b0; color: #fff; padding-block: clamp(72px, 10vw, 120px); }
.cta-band .h2 { color: #fff; max-width: 13em; }
.cta-band p { color: #fff; max-width: 30em; }
.cta-grid { position: relative; display: grid; gap: 32px; }
.cta-actions { display: grid; gap: 16px; align-content: start; }
.cta-phone { font-size: 0.9688rem; }
.cta-phone a { color: #fff; font-weight: 650; text-underline-offset: 0.2em; font-variant-numeric: tabular-nums; }
.cta-band :focus-visible { outline-color: #fff; }
.cta-art { display: none; position: absolute; pointer-events: none; }
.cta-art .ca-sink { fill: none; stroke: rgba(255, 255, 255, 0.28); stroke-width: 2.5; stroke-dasharray: 10 8; stroke-linecap: round; }
.cta-art .ca-drain { fill: none; stroke: rgba(255, 255, 255, 0.28); stroke-width: 2.5; }
.cta-art .ca-sparkle { fill: var(--sun); }
@media (min-width: 900px) {
  .cta-grid { grid-template-columns: 1.2fr 0.8fr; align-items: end; gap: 64px; }
  .cta-art { display: block; right: 4%; top: 40px; width: 210px; }
  .cta-actions { padding-top: 120px; }
}

/* ---------- How it works ---------- */

.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.tl-item { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 20px; padding-bottom: 48px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: 21px; top: 48px; bottom: 6px; border-left: 2px dashed var(--line-2); }
.tl-item:last-child::before { display: none; }
.tl-num {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-family: var(--display); font-weight: 750; font-size: 1.15rem;
}
.tl-body { display: grid; gap: 12px; padding-top: 4px; }
.tl-body .h2 { font-size: clamp(1.7rem, 1.35rem + 1.4vw, 2.4rem); }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.tick { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--blue-50); color: var(--blue); }
.tick .i { width: 13px; height: 13px; }
@media (min-width: 900px) {
  .tl-item { grid-template-columns: 56px minmax(0, 1fr); gap: 0 32px; padding-bottom: 64px; }
  .tl-item::before { left: 27px; top: 60px; }
  .tl-num { width: 56px; height: 56px; font-size: 1.35rem; }
  .tl-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: 12px 56px; align-items: start; }
  .tl-body > .h2, .tl-body > p { grid-column: 1; }
  .tl-body > .ticks { grid-column: 2; grid-row: 1 / span 3; margin-top: 8px; }
}

.split { display: grid; gap: 36px; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
}
.cutaway-figure { margin: 0; background: #fff; border-radius: var(--r-l); padding: clamp(16px, 3vw, 32px); box-shadow: var(--shadow-1); }
.cutaway-figure .dg { max-width: 460px; margin-inline: auto; }

.photo-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px 32px; }
.photo-grid li { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; }
.photo-grid .ic-soft { grid-row: 1 / span 2; }
.photo-grid strong { color: var(--ink); font-weight: 650; align-self: end; }
.photo-grid span.muted { font-size: 0.9688rem; grid-column: 2; }
@media (min-width: 700px) {
  .photo-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
}

.decide-grid { display: grid; gap: 16px; }
.decide { display: grid; gap: 10px; padding: clamp(20px, 3vw, 28px); background: #fff; border-radius: var(--r-m); border: 1px solid var(--line); }
.decide-head { display: flex; align-items: center; gap: 14px; }
@media (min-width: 900px) {
  .decide-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}

.ready-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ready-list li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; }

/* ---------- About ---------- */

.about-story { display: grid; gap: 24px; }
@media (min-width: 900px) {
  .about-story { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; }
}
.license-card { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: clamp(22px, 3vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); }
.license-card strong { color: var(--ink); }
.contact-card { display: grid; gap: 20px; padding: clamp(26px, 4vw, 52px); background: var(--blue-50); border-radius: var(--r-l); }
.contact-number { font-family: var(--display); color: var(--ink); font-weight: 750; letter-spacing: -0.03em; font-size: clamp(2.3rem, 1.6rem + 3vw, 3.8rem); line-height: 1; text-decoration: none; width: fit-content; border-radius: 8px; }
.contact-number:hover { color: var(--blue); }
.contact-lines { display: grid; gap: 10px; }
.contact-name, .aside-name, .footer-person { color: var(--ink); font-weight: 650; }
.contact-email, .aside-email { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: var(--blue); font-weight: 600; text-decoration: none; border-radius: 6px; }
.contact-email:hover, .aside-email:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.contact-email .i, .aside-email .i { width: 18px; height: 18px; }
.contact-email { font-size: 1.125rem; }
.footer-person { margin-bottom: 6px; }
.mobile-menu .note a { color: var(--blue); font-weight: 600; }

/* ---------- Quote form ---------- */

.quote-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) {
  .quote-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: 56px; align-items: start; }
  .quote-aside { position: sticky; top: calc(var(--header-h) + 32px); }
}
.form-card {
  scroll-margin-top: calc(var(--header-h) + 20px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-1);
  padding: clamp(20px, 4vw, 44px);
}
.form { display: grid; gap: 36px; }
.fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 20px; }
.fieldset > legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 4px;
  font-family: var(--display);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: clamp(1.4rem, 1.25rem + 0.6vw, 1.7rem);
  line-height: 1.15;
}
.fieldset + .fieldset { padding-top: 32px; border-top: 1px solid var(--line); }
.row-2 { display: grid; gap: 20px; }
@media (min-width: 640px) {
  .row-2 { grid-template-columns: 1fr 1fr; }
}
.field { display: grid; gap: 8px; min-width: 0; }
.label { color: var(--ink); font-weight: 600; font-size: 0.9688rem; }
.label .opt { font-weight: 450; color: var(--muted); }
.input, .textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-s);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.4;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.textarea { min-height: 130px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #8391a5; }
.input:hover, .textarea:hover { border-color: #a9b7c7; }
.input:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(17, 112, 196, 0.15); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #d64545; }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.15); }
.error-msg { display: flex; gap: 8px; align-items: flex-start; font-size: 0.9375rem; font-weight: 550; color: #b42727; }
.error-msg .i { width: 18px; height: 18px; margin-top: 2px; }

.choice-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-group > legend { float: left; width: 100%; padding: 0; margin-bottom: 12px; color: var(--ink); font-weight: 600; font-size: 0.9688rem; }
.choice-group > .choices { clear: both; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9688rem;
  font-weight: 550;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.choice span .i { width: 16px; height: 16px; display: none; }
.choice input:hover + span { border-color: #a9b7c7; }
.choice input:checked + span { border-color: var(--blue); background: var(--blue-50); color: var(--blue-ink); }
.choice input:checked + span .i { display: block; }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }


.form-foot { display: grid; gap: 14px; }
.hint { font-size: 0.9063rem; color: var(--muted); }
.photo-tip { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px 18px; background: var(--mist); border-radius: var(--r-m); }
.photo-tip strong { color: var(--ink); }
.send-choices { display: grid; gap: 10px; }
.send-choices .btn { width: 100%; min-height: 56px; font-size: 1.0625rem; }
@media (min-width: 640px) {
  .send-choices { display: flex; flex-wrap: wrap; gap: 12px; }
  .send-choices .btn { width: auto; padding-inline: 30px; }
}
.sent-fallback { width: 100%; margin-top: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.sent-fallback summary { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; cursor: pointer; list-style: none; color: var(--blue); font-weight: 600; border-radius: 6px; }
.sent-fallback summary::-webkit-details-marker { display: none; }
.sent-fallback summary .i { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.sent-fallback[open] summary .i { transform: rotate(180deg); }
.sent-fallback-body { display: grid; gap: 14px; margin-top: 14px; }
.sent-fallback .textarea { font-size: 0.9688rem; min-height: 220px; background: var(--mist); }
.form-alert {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--r-s);
  background: #fdeceb;
  color: #8a1f1f;
  font-weight: 520;
}
.form-alert .i { width: 20px; height: 20px; margin-top: 2px; }
.form-alert a { color: inherit; font-weight: 650; }
.spin { display: inline-grid; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { display: grid; gap: 16px; justify-items: start; }
.form-success .h2 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); }
.form-success:focus { outline: none; }
@media (prefers-reduced-motion: no-preference) {
  .form-success:not([hidden]) .ic-ok { animation: pop 0.5s var(--ease) both; }
}
@keyframes pop { from { transform: scale(0.6); opacity: 0; } }

.aside-card { display: grid; padding: clamp(20px, 3vw, 28px); background: var(--mist); border-radius: var(--r-l); }
.aside-block { display: grid; gap: 12px; padding-block: 22px; border-top: 1px solid var(--line-2); }
.aside-block:first-child { border-top: 0; padding-top: 0; }
.aside-block:last-child { padding-bottom: 0; }
.aside-block .h3 { font-size: 1.125rem; }
.aside-phone { font-family: var(--display); color: var(--ink); font-weight: 750; letter-spacing: -0.03em; font-size: 1.9rem; line-height: 1.1; text-decoration: none; width: fit-content; border-radius: 8px; }
.aside-phone:hover { color: var(--blue); }
.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: ms; }
.mini-steps li { counter-increment: ms; display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 0.9688rem; }
.mini-steps li::before {
  content: counter(ms);
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; color: var(--blue);
  font-weight: 700; font-size: 0.8125rem;
}

/* ---------- 404 / privacy ---------- */

.lost-links { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); max-width: 34rem; }
.lost-links a { display: flex; justify-content: space-between; align-items: center; min-height: 62px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; transition: color 0.2s var(--ease), padding 0.25s var(--ease); }
.lost-links a .i { width: 18px; height: 18px; color: var(--blue); }
.lost-links a:hover { color: var(--blue); padding-left: 6px; }
.drain-art { width: clamp(120px, 26vw, 180px); }
.drain-art .da-ring { fill: #fff; stroke: #8e9db0; stroke-width: 3; }
.drain-art .da-plate { fill: var(--stone); stroke: #8e9db0; stroke-width: 2.5; }
.drain-art .da-hole { fill: #46536a; }
.drain-art .da-swirl { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 9 9; }
@media (prefers-reduced-motion: no-preference) {
  .drain-art .da-swirl { transform-origin: 100px 100px; transform-box: view-box; animation: spin 7s linear infinite; }
}
.prose h2 { font-family: var(--display); color: var(--ink); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; margin: 2em 0 0.5em; }
.prose ul { padding-left: 1.2em; margin: 0.75em 0; }
.prose li + li { margin-top: 0.4em; }

/* ---------- Footer ---------- */

.site-footer { background: var(--mist); padding-block: clamp(56px, 8vw, 88px) 32px; }
.footer-top { display: grid; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--line-2); }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand .brand { margin: 0; width: fit-content; }
.footer-brand p { max-width: 22em; }
.footer-h { font-family: var(--display); color: var(--ink); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.015em; margin-bottom: 10px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; text-decoration: none; border-radius: 6px; }
.footer-links a:hover { color: var(--blue); }
.footer-links .i { width: 17px; height: 17px; color: var(--blue); }
.footer-note { margin-top: 12px; }
.footer-bottom { display: grid; gap: 10px; padding-top: 22px; font-size: 0.875rem; color: var(--muted); }
.footer-bottom a { color: var(--text); text-underline-offset: 0.2em; }
.footer-bottom a:hover { color: var(--blue); }
@media (min-width: 760px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
  .footer-bottom { grid-template-columns: 1fr auto; gap: 24px; }
}

/* ---------- Phone call/text bar ---------- */

.action-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 0.8fr 1fr;
  gap: 8px;
  padding: 10px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}
.action-bar .btn { min-height: 48px; padding: 0 10px; gap: 6px; font-size: 0.9375rem; }
.action-bar .btn .i { width: 17px; height: 17px; }
.action-bar.is-visible { transform: none; }
.page-quote .action-bar { display: none; }
@media (min-width: 760px) {
  .action-bar { display: none; }
}
@media (max-width: 759px) {
  body.has-action-bar .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}

/* ---------- Gentle reveal on scroll ---------- */

@media (prefers-reduced-motion: no-preference) {
  .motion [data-reveal] { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .motion [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(14px); }
}

@media print {
  .site-header, .action-bar, .cta-band, .mobile-menu, .story-stage { display: none !important; }
}
