/* GiftedHands Plumbing. Built by MacDigital, 2026.
   One idea carries the design: the copper riser. Every section of a page branches off it,
   and water fills it as you scroll. Everything else stays quiet. */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --slab: #eef1f0;      /* poured concrete, cool */
  --paper: #f8faf9;
  --ink: #15232d;       /* from the logo's charcoal hand */
  --ink-2: #44535d;
  --ink-3: #6b7880;
  --pex: #0b6fae;       /* logo drop blue: every action */
  --pex-deep: #08507f;
  --water: #3fa9e6;
  --night: #0f2230;
  --rule: #cdd5d6;
  --brass: #c9a24b;
  --logo-orange: #cc4e25; /* sampled from his logo lettering */
  --copper-1: #6c3315; --copper-2: #b0602c; --copper-3: #eaa874; --copper-4: #c26d36;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --wide: 125%;         /* nameplate width */
  --narrow: 78%;        /* spec-sheet width */
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--slab); color: var(--ink);
  font: 400 1.0625rem/1.6 "Archivo", ui-sans-serif, system-ui, sans-serif;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pex); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--pex-deep); }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3 { margin: 0; text-wrap: balance; color: var(--ink); }
:focus-visible { outline: 3px solid var(--water); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }

/* ---------- type scale (1.25, set on a 17px base) ---------- */
.display, h1 {
  font-stretch: var(--wide); font-weight: 800; letter-spacing: -.025em;
  font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.6rem); line-height: .98;
}
h2 { font-stretch: var(--wide); font-weight: 760; letter-spacing: -.02em; font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); line-height: 1.04; }
h3 { font-stretch: 112%; font-weight: 700; letter-spacing: -.01em; font-size: 1.3rem; line-height: 1.2; }
.lede { font-size: clamp(1.125rem, 1rem + .5vw, 1.3rem); line-height: 1.5; color: var(--ink-2); max-width: 54ch; }
.spec { font-stretch: var(--narrow); font-weight: 600; font-size: .9rem; letter-spacing: .01em; color: var(--ink-3); }
.prose { max-width: 66ch; }
.prose h2 { margin: 1.6em 0 .5em; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); }
.prose h3 { margin: 1.4em 0 .4em; }
.prose ul { margin: 0 0 1.2em; }
.prose li { padding-left: 1.2em; position: relative; margin: .35em 0; }
.prose li::before { content: ""; position: absolute; left: 0; top: .7em; width: .55em; height: 2px; background: var(--copper-2); }

/* ---------- layout ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.run { position: relative; }
.bay { padding-block: clamp(40px, 5vw, 72px); }
.bay + .bay { padding-top: 0; }
.bay-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.bay-head h2 { margin-bottom: .45em; }
.bay-head p { color: var(--ink-2); max-width: 60ch; margin: 0; }

/* ---------- the riser ---------- */
/* one geometry at every size: phones get a slim pipe hugging the left edge, wide screens a full one */
:root {
  --rx: 6px;      /* riser's left edge, from the start of the centred column */
  --coff: 24px;   /* from the riser's left edge to where content starts */
  --pw: 12px; --pwall: 3px;          /* riser width and copper wall */
  --bh: 10px; --bwall: 3px;          /* branch height and wall */
  --fw: 18px; --fh: 16px;            /* tee fitting */
  --mh: 12px; --mwall: 3px;          /* hero main */
}
@media (min-width: 1040px) {
  :root { --rx: calc(var(--gutter) + 14px); --coff: 58px; --pw: 20px; --pwall: 4px; --bh: 16px; --bwall: 4px; --fw: 30px; --fh: 28px; --mh: 18px; --mwall: 4px; }
}
.run .wrap { padding-left: calc(var(--rx) + var(--coff)); }
.run > .riser {
  display: block; position: absolute; top: 0; bottom: 0; pointer-events: none; z-index: 0;
  left: 50%; margin-left: calc(min(var(--wrap), 100%) / -2 + var(--rx)); width: var(--pw);
}
/* copper pipe, cut away so you can see down the bore */
.pipe {
  position: absolute; left: 0; top: 0; bottom: 0; width: var(--pw); border-radius: calc(var(--pw) / 2);
  background: linear-gradient(90deg, var(--copper-1), var(--copper-3) 22%, var(--copper-2) 40%, var(--copper-2) 60%, var(--copper-3) 78%, var(--copper-1));
  box-shadow: 2px 0 8px rgba(21,35,45,.2);
}
.pipe::after { /* the empty bore */
  content: ""; position: absolute; inset: var(--pwall); border-radius: calc(var(--pw) / 2 - var(--pwall));
  background: linear-gradient(90deg, #2a1206, #4d250f 50%, #2a1206);
  box-shadow: inset 0 0 4px rgba(0,0,0,.6);
}
/* blue water filling the bore as you read down the page: lit from the left like water in a glass tube,
   with soft currents and fine bubbles carried down. --d (scroll) speeds it up; --t keeps it moving at rest. */
@property --t { syntax: "<length>"; inherits: true; initial-value: 0px; }
.flow {
  position: absolute; left: var(--pwall); top: var(--pwall); width: calc(var(--pw) - 2 * var(--pwall));
  border-radius: calc(var(--pw) / 2 - var(--pwall)); overflow: hidden;
  height: calc(var(--flow, 0) * (100% - 2 * var(--pwall)));
  --y: calc(var(--d, 0) * 1px + var(--t));
  background:
    linear-gradient(90deg, transparent 18%, rgba(255,255,255,.55) 30%, rgba(255,255,255,.12) 40%, transparent 46%),
    radial-gradient(1px 1px at 62% 30%, rgba(255,255,255,.95), transparent) 0 calc(var(--y) * 1.4) / 100% 60px repeat-y,
    radial-gradient(1.4px 1.4px at 40% 70%, rgba(255,255,255,.8), transparent) 0 calc(var(--y) * 1.1) / 100% 90px repeat-y,
    radial-gradient(1.6px 18px at 34% 50%, rgba(235,250,255,.95), transparent) 0 calc(var(--y) * 1.8) / 100% 90px repeat-y,
    radial-gradient(1.6px 30px at 66% 50%, rgba(200,236,255,.7), transparent) 0 calc(var(--y) * 2.6) / 100% 180px repeat-y,
    linear-gradient(90deg, #032a46, #0d64a4 16%, #2a95dc 36%, #7cccf8 47%, #3ba2e4 57%, #116db0 80%, #032a46);
  box-shadow: inset 0 0 3px rgba(0,30,60,.5), 0 0 10px rgba(63,169,230,.35);
}
.flow::after { /* the leading edge: a foamy, rounded front that churns while it is still filling */
  content: ""; position: absolute; left: -2px; right: -2px; bottom: -3px; height: 16px; border-radius: 50%;
  background:
    radial-gradient(closest-side at 50% 40%, rgba(255,255,255,.95), rgba(255,255,255,0) 70%),
    radial-gradient(closest-side, #dff4ff, #7fd0ff 60%, rgba(63,169,230,0));
  transform: scaleX(calc(.85 + var(--v, 0) * .3)); opacity: calc(.75 + var(--v, 0) * .25);
  filter: drop-shadow(0 2px 3px rgba(127,208,255,.6));
}
@media (prefers-reduced-motion: no-preference) {
  .flow, .main-pipe.wet::after, .run .tee.wet::before, .water, .drop::before { animation: current 6s linear infinite; }
  @keyframes current { from { --t: 0px; } to { --t: 360px; } }
}

/* a tee: each section heading branches off the riser, and fills once you reach it */
.run .tee { position: relative; }
.run .tee::before, .run .tee::after { content: ""; position: absolute; pointer-events: none; }
.run .tee::before {
  left: calc(var(--pw) / 2 - var(--coff)); width: calc(var(--coff) - var(--pw) / 2 - 6px);
  top: .48em; height: var(--bh); border-radius: 0 6px 6px 0;
  background:
    linear-gradient(90deg, transparent calc(100% - 3px), var(--copper-1) calc(100% - 3px)),
    linear-gradient(180deg, transparent var(--bwall), #6fc4f5 var(--bwall), #1c86cf 50%, #05375c calc(100% - var(--bwall)), transparent calc(100% - var(--bwall))) 0 0 / 0% 100% no-repeat,
    linear-gradient(180deg, var(--copper-1), var(--copper-3) var(--bwall), #2a1206 var(--bwall), #4d250f 50%, #2a1206 calc(100% - var(--bwall)), var(--copper-3) calc(100% - var(--bwall)), var(--copper-1));
  transition: background-size .7s var(--ease);
}
.run .tee.wet::before {
  background:
    radial-gradient(9px 1px at 50% 50%, rgba(235,248,255,.9), transparent) calc(var(--d, 0) * .8px + var(--t, 0px)) 40% / 30px 100% repeat-x,
    linear-gradient(90deg, transparent calc(100% - 3px), var(--copper-1) calc(100% - 3px)),
    linear-gradient(180deg, transparent var(--bwall), #a6defc var(--bwall), #3aa3e4 35%, #0f6aac 70%, #032a46 calc(100% - var(--bwall)), transparent calc(100% - var(--bwall))) 0 0 / 100% 100% no-repeat,
    linear-gradient(180deg, var(--copper-1), var(--copper-3) var(--bwall), #2a1206 var(--bwall), #4d250f 50%, #2a1206 calc(100% - var(--bwall)), var(--copper-3) calc(100% - var(--bwall)), var(--copper-1));
}
.run .tee::after { /* the tee fitting on the riser */
  left: calc(var(--pw) / 2 - var(--fw) / 2 - var(--coff)); top: calc(.48em - (var(--fh) - var(--bh)) / 2);
  width: var(--fw); height: var(--fh); border-radius: calc(var(--fh) / 4.5);
  background: linear-gradient(90deg, #6c3315, #e3a06a 30%, #b0602c 55%, #7a3a17);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 1px 3px rgba(21,35,45,.3);
}

/* ---------- the drop: the riser ends in the logo and fills it ---------- */
.finale { position: relative; isolation: isolate; overflow-x: clip; clip-path: inset(-100vh 0 0 0); /* the ghost may rise into the section above, never below or sideways */ padding-block: clamp(8px, 2vw, 24px) clamp(56px, 7vw, 96px); }
.finale-ghost { /* the full logo, large and faint, behind the sign-off */
  position: absolute; z-index: -1; pointer-events: none; opacity: .07; filter: grayscale(.3);
  width: clamp(240px, 30vw, 400px); height: auto; right: max(-60px, calc(50% - 640px)); top: 50%; transform: translateY(-50%);
}
@media (max-width: 759px) { .finale-ghost { right: -24%; width: 88vw; opacity: .06; } }
.finale-grid { position: relative; }
.finale-grid { display: flex; align-items: center; gap: clamp(24px, 4vw, 48px); }
.drop {
  position: relative; flex: none; width: clamp(96px, 22vw, 150px); aspect-ratio: 278 / 330; --fill: 0; --amp: .3;
  /* where the blue drop sits inside the image, so the level runs from its bottom to its tip */
  --dt: 1.5%; --db: 75.8%;
  --level: calc(var(--db) - var(--fill) * (var(--db) - var(--dt)));
}
.drop > img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* water lives inside the shape of the blue drop only; the hand and the house lines stay as they are */
.drop-water {
  position: absolute; inset: 0; overflow: hidden;
  -webkit-mask: url("/img/giftedhands-drop-mask.png") 0 0 / 100% 100% no-repeat;
  mask: url("/img/giftedhands-drop-mask.png") 0 0 / 100% 100% no-repeat;
}
.water { /* the logo's own blue, so a full drop is the real logo */
  position: absolute; inset: 0;
  --up: calc(var(--rise, 0px) + var(--t, 0px));
  background:
    radial-gradient(1.4px 1.4px at 30% 50%, rgba(255,255,255,.9), transparent) 0 calc(100% - var(--up)) / 22px 46px,
    radial-gradient(1px 1px at 70% 50%, rgba(255,255,255,.7), transparent) 0 calc(100% - var(--up) * 1.5) / 30px 64px,
    radial-gradient(2px 2px at 50% 50%, rgba(255,255,255,.55), transparent) 0 calc(100% - var(--up) * .7) / 40px 90px,
    radial-gradient(40% 14% at 50% 50%, rgba(160,220,255,.28), transparent) calc(var(--t, 0px) * .25) 0 / 70% 36%,
    radial-gradient(30% 10% at 50% 50%, rgba(160,220,255,.22), transparent) calc(var(--t, 0px) * -.18) 18% / 55% 30%,
    linear-gradient(180deg, #0b6fb2, #1286c8 55%, #1a93d4);
  clip-path: inset(var(--level) 0 0 0);
}
.drop.full .water { background: linear-gradient(180deg, #0b6fb2, #1286c8 55%, #1a93d4); }
.water::after { /* light through glass: a glint down the left, shade on the right */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, transparent 18%, rgba(255,255,255,.28) 26%, rgba(255,255,255,.06) 34%, transparent 40%),
    linear-gradient(90deg, rgba(255,255,255,.14), transparent 35%, transparent 70%, rgba(0,30,60,.22));
}
.drop.full .water::after { opacity: 0; }
.surface {
  position: absolute; left: 0; right: 0; height: 14px; overflow: hidden;
  top: calc(var(--level) - 13px);
  transform-origin: 50% 100%; transform: scaleY(var(--amp));
  opacity: calc(var(--fill) * 40); /* hidden while empty */
}
.drop.full .surface { opacity: 0; }
.surface::after { /* a bright line along the crest of the front wave */
  content: ""; position: absolute; bottom: 0; left: 0; width: 200%; height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20' preserveAspectRatio='none'%3E%3Cpath d='M0 10 Q15 2 30 10 T60 10 T90 10 T120 10' fill='none' stroke='%23d6f0ff' stroke-width='1.6'/%3E%3C/svg%3E") 0 0 / 50% 100% repeat-x;
  opacity: .85;
}
.wave { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; background-repeat: repeat-x; background-size: 50% 100%; }
.wave.back { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20' preserveAspectRatio='none'%3E%3Cpath d='M0 10 Q15 18 30 10 T60 10 T90 10 T120 10 V20 H0Z' fill='%233fa9e6'/%3E%3C/svg%3E"); opacity: .7; }
.wave.front { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20' preserveAspectRatio='none'%3E%3Cpath d='M0 10 Q15 2 30 10 T60 10 T90 10 T120 10 V20 H0Z' fill='%230b6fb2'/%3E%3C/svg%3E"); }
@media (prefers-reduced-motion: no-preference) {
  .wave.front, .surface::after { animation: swell 2.6s linear infinite; }
  .wave.back { animation: swell 3.9s linear infinite reverse; }
  @keyframes swell { to { transform: translateX(-50%); } }
}
.drop::before { /* the stream pouring from the pipe into the drop */
  content: ""; position: absolute; z-index: 2; left: 50%; top: 0; width: 4px; margin-left: -2px; border-radius: 2px;
  height: var(--level); opacity: var(--pour, 0); transition: opacity .4s;
  background:
    radial-gradient(1px 10px at 35% 50%, rgba(255,255,255,.9), transparent) 0 calc(var(--t, 0px) * 3) / 100% 26px repeat-y,
    linear-gradient(90deg, #2a98e0, #bfe8ff 45%, #3aa3e4);
  box-shadow: 0 0 6px rgba(63,169,230,.6);
}
.finale-line { margin: 0; font-stretch: var(--wide); font-weight: 800; letter-spacing: -.025em; line-height: 1; font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem); }
.finale-sub { margin: 14px 0 0; color: var(--ink-2); font-size: 1.05rem; }
.finale-sub a { font-weight: 700; white-space: nowrap; }
@media (min-width: 1040px) {
  /* centre the drop's tip on the riser */
  .run .drop { width: 130px; margin-left: calc(var(--pw) / 2 - var(--coff) - 65px); }
}

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40; background: rgba(238,241,240,.9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-head.scrolled { border-bottom-color: var(--rule); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 40px; height: auto; }
/* his logo lettering in his logo orange; the two lines come out the same width, like a stacked lockup */
.wordmark { display: block; height: auto; fill: var(--logo-orange); }
.brand .wordmark { width: 128px; }
/* his logo in its true form, in the proportions of his artwork (logo-full.png): the mark is 23.7% of the
   lettering's width and sits 6.1% of that width above it */
.true-logo { container-type: inline-size; width: min(var(--logo-w, 560px), 100%); margin-inline: auto; }
.true-logo > * { display: block; margin-inline: auto; }
.true-logo img { width: 24.3cqw; height: auto; margin-bottom: 5.6cqw; } /* the mark file carries 4-5px of padding */
.true-logo .wordmark-line { width: 100cqw; height: auto; fill: var(--logo-orange); }
.logo-bay { text-align: center; }
.logo-panel { padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 56px); background: #fff; border-radius: 16px; max-width: 760px; margin: 0 auto; }
.logo-line { margin: 14px 0 0; font-stretch: var(--narrow); font-weight: 600; letter-spacing: .04em; color: var(--ink-3); }
.nav { display: none; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 560; font-size: .98rem; padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--copper-2); color: var(--ink); }
.head-phone { display: none; font-weight: 700; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.menu-btn {
  appearance: none; border: 1px solid var(--rule); background: var(--paper); color: var(--ink);
  font: inherit; font-weight: 600; font-size: .95rem; border-radius: 8px; padding: 9px 14px; cursor: pointer;
}
@media (min-width: 1040px) {
  .nav { display: flex; gap: 26px; }
  .head-phone { display: inline; }
  .menu-btn { display: none; }
}
.drawer { display: none; border-top: 1px solid var(--rule); background: var(--paper); }
.drawer.open { display: block; }
.drawer ul { padding: 10px var(--gutter) 22px; }
.drawer a { display: block; padding: 13px 0; font-size: 1.15rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 10px; text-decoration: none;
  font: inherit; font-weight: 700; font-size: 1.02rem; cursor: pointer; border: 0;
  transition: background-color .15s, transform .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-pex { background: var(--pex); color: #fff; }
.btn-pex:hover { background: var(--pex-deep); color: #fff; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }
.head-cta { display: none; min-height: 44px; padding: 0 16px; font-size: .95rem; }
@media (min-width: 720px) { .head-cta { display: inline-flex; } }

/* ---------- hero ---------- */
/* the hero is one full screen; the next section always starts below the fold */
.hero { padding-top: clamp(20px, 4vw, 48px); overflow-x: clip; }
@media (min-width: 900px) {
  /* capped, so a tall or zoomed-out screen doesn't pull the photo and headline apart */
  .hero { min-height: min(calc(100svh - 76px), 900px); display: flex; flex-direction: column; }
  .hero > .hero-grid { flex: 1; }
  .hero > .wrap { width: 100%; } /* auto margins in a flex column would shrink each row to its content */
}
.hero-grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.hero h1 { max-width: 17ch; font-size: clamp(2.4rem, 1.3rem + 3.7vw, 4.1rem); }
.hero .lede { margin: 24px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { margin: 20px 0 0; }
.hero-visual { position: relative; }
.hero-copy { align-self: center; }
.hero-photo { margin: 0; border-radius: 14px; overflow: hidden; background: #c7cfd1; aspect-ratio: 4 / 3; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-inset {
  position: absolute; left: 12px; bottom: 12px; margin: 0; display: flex; align-items: center; gap: 12px;
  background: var(--paper); border-radius: 12px; padding: 8px 16px 8px 8px; box-shadow: 0 10px 30px -12px rgba(15,34,48,.45);
}
.hero-inset img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; object-position: 50% 30%; }
.hero-inset b { display: block; font-stretch: 112%; font-weight: 750; font-size: 1rem; line-height: 1.15; }
.hero-inset span { display: block; font-stretch: var(--narrow); font-weight: 600; font-size: .85rem; color: var(--ink-3); }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.2fr .8fr; }
  /* the photo runs off the right edge of the screen */
  .hero-visual { align-self: center; } /* the photo and Zain's card stay together beside the headline */
  .hero-photo {
    aspect-ratio: auto; height: clamp(380px, calc(100svh - 360px), 620px);
  }
  .hero-inset { left: -36px; bottom: -28px; padding: 10px 20px 10px 10px; }
  .hero-inset img { width: 72px; height: 72px; }
}
@media (max-width: 859px) {
  /* the call bar is always on screen at this size, so the hero doesn't repeat its buttons */
  .hero-actions { display: none; }
}
@media (max-width: 899px) {
  .hero-grid {
    display: flex; flex-direction: column; gap: 22px;
    /* screen height, minus the header, the phone call bar and the hero's own padding */
    min-height: calc(100svh - 76px - 72px - 20px - 16px);
  }
  .hero h1 { max-width: none; font-size: clamp(2rem, 8.6vw, 2.6rem); }
  .hero .lede { margin: 14px 0 0; font-size: 1.06rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-meta { margin-top: 12px; }
  /* the photo takes whatever height is left on the first screen, never more */
  .hero-visual { flex: 1 1 0; display: flex; min-height: 200px; }
  .hero-photo { flex: 1; aspect-ratio: auto; position: relative; min-height: 0; }
  .hero-photo img { position: absolute; inset: 0; }
  .hero-main { padding-top: 36px; }
}
/* page-load moment: the headline settles */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 { animation: settle .9s var(--ease) both; }
  .hero .lede, .hero-actions, .hero-meta { animation: settle .9s .12s var(--ease) both; }
  .hero-visual { animation: settle 1s .2s var(--ease) both; }
  @keyframes settle { from { opacity: 0; transform: translateY(14px); } }
}

/* the main: a copper line across the bottom of the hero, with the valve tags hung from it */
.hero-main { position: relative; padding-top: clamp(28px, 3vw, 40px); padding-bottom: clamp(20px, 3vw, 32px); }
.main-pipe {
  position: relative; height: var(--mh); border-radius: calc(var(--mh) / 2); margin-bottom: 22px;
  background:
    linear-gradient(180deg, transparent var(--mwall), #a6defc var(--mwall), #3aa3e4 35%, #0f6aac 70%, #032a46 calc(100% - var(--mwall)), transparent calc(100% - var(--mwall))) 0 0 / 0% 100% no-repeat,
    linear-gradient(180deg, var(--copper-1), var(--copper-3) var(--mwall), #2a1206 var(--mwall), #4d250f 50%, #2a1206 calc(100% - var(--mwall)), var(--copper-3) calc(100% - var(--mwall)), var(--copper-1));
  box-shadow: 0 2px 6px rgba(21,35,45,.18);
  transition: background-size .9s var(--ease);
}
.main-pipe.wet { background-size: 100% 100%, auto; }
.main-pipe::after { /* a glint along the top, soft currents and fine bubbles, revealed with the water front */
  content: ""; position: absolute; left: 0; right: 0; top: var(--mwall); bottom: var(--mwall);
  --x: calc(var(--d, 0) * .8px + var(--t));
  background:
    linear-gradient(180deg, transparent 8%, rgba(255,255,255,.5) 22%, rgba(255,255,255,.1) 34%, transparent 42%),
    radial-gradient(1px 1px at 50% 62%, rgba(255,255,255,.9), transparent) calc(var(--x) * 1.4) 0 / 60px 100% repeat-x,
    radial-gradient(1.2px 1.2px at 30% 34%, rgba(255,255,255,.75), transparent) calc(var(--x) * 1.1) 0 / 110px 100% repeat-x,
    radial-gradient(14px 1px at 50% 48%, rgba(225,245,255,.85), transparent) calc(var(--x) * 1.8) 0 / 90px 100% repeat-x,
    radial-gradient(24px 1.2px at 50% 72%, rgba(190,232,255,.5), transparent) calc(var(--x) * 2.6) 0 / 180px 100% repeat-x;
  clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--ease);
}
.main-pipe.wet::after { clip-path: inset(0 0 0 0); }
/* the main leaves the riser through a tee and runs to the column's right edge */
.run .main-pipe { margin-left: calc(var(--pw) / 2 - var(--coff)); border-radius: 0 calc(var(--mh) / 2) calc(var(--mh) / 2) 0; }
.run .main-pipe::after { left: calc(var(--fw) / 2); } /* currents start past the tee fitting */
.run .main-pipe::before {
  content: ""; position: absolute; left: calc(var(--fw) / -2); top: calc((var(--mh) - var(--fh)) / 2); width: var(--fw); height: var(--fh); border-radius: calc(var(--fh) / 4.5);
  background: linear-gradient(90deg, #6c3315, #e3a06a 30%, #b0602c 55%, #7a3a17);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 1px 3px rgba(21,35,45,.3);
}
.hero-main .tags { gap: 18px 14px; }
@media (min-width: 1040px) { .hero-main .tags { display: grid; grid-template-columns: repeat(5, 1fr); } }
/* phones and tablets: a 2 x 2 grid with the Google rating as a full-width plate underneath.
   Only the top row hangs from the main, so no chain crosses another tag. */
@media (max-width: 1039px) {
  .hero-main .tags { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-main .tag { min-height: 58px; padding: 9px 10px 9px 34px; }
  .hero-main .tag::before { left: 12px; width: 11px; height: 11px; margin-top: -5.5px; }
  .hero-main .tag b { font-stretch: 112%; font-size: .95rem; line-height: 1.15; }
  .hero-main .tag span { font-size: .8rem; }
  .hero-main .tag:last-child { grid-column: 1 / -1; }
  .hero-main .tag:nth-child(n+3)::after { display: none; }
}
.hero-main .tag { margin-top: 0; }
.hero-main .tag::after { /* the chain from the main down to the tag */
  content: ""; position: absolute; left: 20px; top: -22px; width: 2px; height: 26px;
  background: repeating-linear-gradient(180deg, #8a8f92 0 3px, transparent 3px 5px);
}

/* ---------- valve tags (credentials) ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 14px 12px; padding-top: 4px; }
.tag {
  position: relative; display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 62px; padding: 10px 16px 10px 40px; border-radius: 8px;
  background: linear-gradient(160deg, #e2c47c, var(--brass) 45%, #a9822f);
  color: #3a2a08; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -1px 0 rgba(0,0,0,.18), 0 2px 4px rgba(21,35,45,.12);
}
.tag::before { /* punched hole */
  content: ""; position: absolute; left: 14px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%;
  background: var(--slab); box-shadow: inset 0 1px 2px rgba(0,0,0,.45);
}
.tag b { font-stretch: var(--wide); font-weight: 800; font-size: 1.02rem; letter-spacing: -.01em; line-height: 1.1; }
.tag span { font-stretch: var(--narrow); font-weight: 600; font-size: .82rem; line-height: 1.2; opacity: .85; }

/* ---------- audiences ---------- */
.who { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.who li { padding: 22px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 6px; }
.who h3 { font-size: 1.2rem; }
.who p { margin: 0; color: var(--ink-2); max-width: 52ch; }
@media (min-width: 760px) {
  .who { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}

/* ---------- services as a spec list ---------- */
.specs { border-top: 1.5px solid var(--ink); }
.specs li { border-bottom: 1px solid var(--rule); }
.specs a {
  display: grid; gap: 6px 32px; padding: 24px 0; color: var(--ink); text-decoration: none;
}
.specs h3 { font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); font-stretch: var(--wide); font-weight: 760; }
.specs p { margin: 0; color: var(--ink-2); max-width: 56ch; }
.specs .go { font-weight: 700; color: var(--pex); }
.specs a:hover h3 { color: var(--pex-deep); }
.specs a:hover .go { text-decoration: underline; }
@media (min-width: 860px) {
  .specs a { grid-template-columns: minmax(260px, 1fr) 1.4fr auto; align-items: baseline; }
}
/* phones: the whole row is the link, so a chevron beside the title replaces the repeated "Details" */
@media (max-width: 859px) {
  .specs a { grid-template-columns: 1fr auto; column-gap: 16px; padding: 20px 0; }
  .specs h3 { grid-column: 1; }
  .specs p { grid-column: 1; }
  .specs .go { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 36px; height: 36px; border-radius: 50%;
    border: 1.5px solid var(--rule); font-size: 0; display: grid; place-items: center; }
  .specs .go::before { content: ""; width: 9px; height: 9px; border-top: 2px solid var(--pex); border-right: 2px solid var(--pex); transform: translateX(-2px) rotate(45deg); }
}

/* service rows with a photo of the work */
.specs .thumb { display: block; overflow: hidden; border-radius: 8px; background: var(--paper); aspect-ratio: 4 / 3; }
.specs .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.specs a:hover .thumb img { transform: scale(1.05); }
@media (min-width: 860px) {
  .specs.pics a { grid-template-columns: 176px minmax(220px, 1fr) 1.4fr auto; align-items: center; padding: 20px 0; }
}
@media (max-width: 859px) {
  .specs.pics a { grid-template-columns: 96px 1fr auto; column-gap: 16px; align-items: center; }
  .specs.pics .thumb { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
  .specs.pics h3, .specs.pics p { grid-column: 2; }
  .specs.pics .go { grid-column: 3; }
  .specs.pics p { font-size: .95rem; }
}
/* who calls us: each kind of client with a photo of their kind of job */
.who img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin-bottom: 10px; }

/* wide photo between sections */
.band { margin-block: clamp(8px, 2vw, 24px) clamp(8px, 2vw, 20px); }
.band-frame { position: relative; overflow: hidden; border-radius: 12px; height: clamp(220px, 42vw, 480px); background: var(--paper); }
.band-frame img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; object-position: var(--pos, 50% 50%); will-change: transform; transform: translate3d(0, var(--drift, 0px), 0); }
.band figcaption { margin-top: 10px; color: var(--ink-3); }

/* ---------- process: a real sequence, so it is numbered ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; display: grid; align-content: start; grid-template-columns: 56px 1fr; gap: 4px 18px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.steps li::before {
  content: counter(step); grid-row: span 2; font-stretch: var(--wide); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--copper-2);
  font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 1.15rem; }
.steps p { margin: 0; color: var(--ink-2); max-width: 60ch; }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 0 20px; border-top: 1.5px solid var(--ink); }
  .steps li { grid-template-columns: 1fr; border-bottom: 0; padding-top: 22px; }
  .steps li::before { grid-row: auto; margin-bottom: 10px; }
}

/* ---------- job strips (gallery) ---------- */
.strip { position: relative; }
.strip-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--ink-3) transparent;
}
.strip-track figure { margin: 0; flex: none; scroll-snap-align: start; }
.strip-track button {
  display: block; padding: 0; border: 0; background: #c7cfd1; cursor: zoom-in; border-radius: 10px; overflow: hidden;
  height: clamp(260px, 42vw, 420px);
}
.strip-track img { height: 100%; width: auto; object-fit: cover; transition: transform .4s var(--ease); }
.strip-track button:hover img { transform: scale(1.025); }
.strip-track figcaption { margin-top: 10px; font-stretch: var(--narrow); font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.strip-nav { display: flex; gap: 8px; margin-top: 6px; }
.strip-nav button {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  cursor: pointer; display: grid; place-items: center;
}
.strip-nav button:hover { background: var(--ink); color: #fff; }
.strip-nav svg { width: 20px; height: 20px; }
.job { padding-block: 34px; border-top: 1px solid var(--rule); }
.job-head { display: grid; gap: 8px 40px; margin-bottom: 22px; }
.job-head p { margin: 0; color: var(--ink-2); max-width: 62ch; }
@media (min-width: 900px) { .job-head { grid-template-columns: 1fr 1.3fr; align-items: end; } }

.viewer { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; }
.viewer::backdrop { background: rgba(10,22,31,.86); }
.viewer img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 10px; }
.viewer p { color: #e6eef2; text-align: center; margin: 12px 0 0; }
.viewer form { position: fixed; top: 16px; right: 16px; margin: 0; }
.viewer form button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }
@media (prefers-reduced-motion: no-preference) {
  .viewer[open] { animation: open .25s var(--ease); }
  @keyframes open { from { opacity: 0; transform: scale(.97); } }
}

/* ---------- reviews ---------- */
.quotes { display: grid; gap: 28px; }
.quote { margin: 0; padding: 26px 0 0; border-top: 1.5px solid var(--ink); }
.quote blockquote { margin: 0 0 14px; font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); line-height: 1.45; max-width: 46ch; }
.quote figcaption { font-weight: 700; }
.quote figcaption span { display: block; font-weight: 500; color: var(--ink-3); font-size: .95rem; }
@media (min-width: 860px) { .quotes { grid-template-columns: 1fr 1fr; gap: 48px; } }
.quote-list .quote blockquote { font-size: 1.1rem; }
.rating-line { margin-top: 30px; color: var(--ink-2); }

/* ---------- reviews flowing through ---------- */
.rv-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; max-width: none; }
.rv-score { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; padding-bottom: 6px; }
.rv-score b { font-stretch: var(--wide); font-weight: 800; font-size: 2.2rem; line-height: 1; letter-spacing: -.02em; }
.rv-score span:last-child { color: var(--ink-2); font-weight: 600; }
.rv-score:hover span:last-child { color: var(--pex); text-decoration: underline; }
.rv-stars { display: inline-flex; gap: 2px; color: var(--brass); }
.rv-stars svg { width: 18px; height: 18px; fill: currentColor; }
.rv-flow { display: grid; gap: 16px; margin-inline: calc(-1 * var(--gutter)); overflow: hidden; padding-block: 4px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rv-row { overflow: hidden; }
.run .rv-flow { margin-left: 0; }
@media (min-width: 1040px) { .run .rv-flow { margin-left: 0; -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 5%, #000 94%, transparent); } }
.rv-track { display: flex; gap: 16px; width: max-content; transform: translateX(var(--x, 0px)); will-change: transform; }
.rv-copy { display: contents; }
.rv { margin: 0; width: clamp(280px, 30vw, 380px); flex: none; display: flex; flex-direction: column; gap: 12px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 20px 22px; }
.rv blockquote { margin: 0; flex: 1; }
.rv blockquote p { margin: 0; color: var(--ink); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rv figcaption b { display: block; font-weight: 700; }
.rv figcaption span { display: block; color: var(--ink-3); font-size: .9rem; }
.rv-quote { font-stretch: var(--wide); font-weight: 800; font-size: 2.6rem; line-height: .6; height: 18px; color: var(--copper-2); }
.rv-list { margin-top: 56px; }
@media (prefers-reduced-motion: reduce) {
  .rv-flow { -webkit-mask: none; mask: none; margin-inline: 0; }
  .rv-row { overflow-x: auto; }
  .rv-copy { display: none; }
}

/* reviews page: every review in full, in columns */
.rv-grid { columns: 1; column-gap: 16px; }
.rv-grid .rv { width: auto; break-inside: avoid; margin-bottom: 16px; }
.rv-grid .rv blockquote p { display: block; -webkit-line-clamp: unset; overflow: visible; margin-bottom: .7em; }
.rv-grid .rv blockquote p:last-child { margin-bottom: 0; }
@media (min-width: 760px) { .rv-grid { columns: 2; } }
@media (min-width: 1180px) { .rv-grid { columns: 3; } }

/* ---------- section pipes ---------- */
.bay.piped { padding-top: clamp(20px, 3vw, 36px); }
.sep-wrap .sep, .job .sep { margin-bottom: clamp(28px, 4vw, 48px); }
.job { border-top: 0; padding-top: 8px; }

/* ---------- about ---------- */
.about-grid { display: grid; gap: 32px; align-items: start; }
.about-grid figure { margin: 0; justify-self: end; width: 100%; border-radius: 12px; overflow: hidden; max-width: 460px; }
.about-grid figcaption { padding-top: 10px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.2fr .8fr; gap: 56px; } }
.about-grid .quote { justify-self: stretch; max-width: none; border-radius: 0; overflow: visible; margin: 28px 0 8px; }
.about-photos { display: grid; gap: 24px; justify-items: end; }
@media (min-width: 560px) and (max-width: 899px) { .about-photos { grid-template-columns: 1fr 1fr; } }
.values { display: grid; gap: 0 48px; border-top: 1.5px solid var(--ink); margin: 0; }
.values div { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.values dt { font-weight: 700; font-size: 1.08rem; }
.values dd { margin: 4px 0 0; color: var(--ink-2); max-width: 52ch; }
@media (min-width: 760px) { .values { grid-template-columns: 1fr 1fr; } }

/* ---------- service area line ---------- */
.route { position: relative; margin-top: 8px; }
.route ol { display: grid; gap: 0; }
.route li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--rule); }
.route li::before { /* the main */
  content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 6px; background: var(--pex); opacity: .9;
}
.route li:first-child::before { top: 50%; }
.route li:last-child::before { bottom: 50%; }
.route li::after { /* each town is a tee off the main */
  content: ""; position: absolute; left: 3px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 4px; background: var(--paper); box-shadow: inset 0 0 0 4px var(--pex);
}
.route a { font-stretch: var(--wide); font-weight: 760; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.route a:hover { color: var(--pex-deep); text-decoration: underline; }
.route span { display: block; color: var(--ink-3); font-size: .95rem; }
@media (min-width: 960px) {
  .route ol { grid-template-columns: repeat(7, 1fr); }
  .route li { padding: 44px 10px 0 0; border: 0; }
  .route li::before { left: 0; right: 0; top: 13px; bottom: auto; width: auto; height: 6px; }
  .route li:first-child::before { left: 8px; top: 13px; }
  .route li:last-child::before { right: auto; width: 16px; bottom: auto; }
  .route li::after { left: 0; top: 16px; }
  .route a { font-size: 1.05rem; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1.5px solid var(--ink); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-stretch: 112%; font-weight: 700; font-size: 1.15rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px;
  border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 0 22px; color: var(--ink-2); max-width: 66ch; }
.faq .answer p:last-child { margin: 0; }

/* tags sway once on their chains when water runs through the main */
.hero-main .tag { transform-origin: 20px -22px; }
@media (prefers-reduced-motion: no-preference) {
  .main-pipe.wet + .tags .tag { animation: sway 1.8s cubic-bezier(.3, .6, .3, 1) both; }
  .main-pipe.wet + .tags .tag:nth-child(2) { animation-delay: .12s; }
  .main-pipe.wet + .tags .tag:nth-child(3) { animation-delay: .24s; }
  .main-pipe.wet + .tags .tag:nth-child(4) { animation-delay: .36s; }
  .main-pipe.wet + .tags .tag:nth-child(5) { animation-delay: .48s; }
  @keyframes sway { 0% { transform: rotate(0); } 18% { transform: rotate(3.2deg); } 42% { transform: rotate(-2deg); } 66% { transform: rotate(.9deg); } 84% { transform: rotate(-.3deg); } 100% { transform: rotate(0); } }
  /* FAQ answers slide open */
  @supports (interpolate-size: allow-keywords) {
    .faq { interpolate-size: allow-keywords; }
    .faq details::details-content { height: 0; overflow: clip; transition: height .35s var(--ease), content-visibility .35s allow-discrete; }
    .faq details[open]::details-content { height: auto; }
  }
}

/* FAQ with a side card */
.faq-grid { display: grid; gap: 32px; align-items: start; }
.faq-grid .faq { max-width: none; }
.ask { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 24px; }
.ask h3 { margin-bottom: 8px; }
.ask p { color: var(--ink-2); margin-bottom: 16px; }
.ask .btn { width: 100%; }
.ask .spec { margin: 14px 0 0; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 1.6fr .8fr; gap: 56px; } .ask { position: sticky; top: 100px; } }
.zain-facts { margin-top: 28px; }

/* ---------- facts box (plain answers for people and answer engines) ---------- */
.facts { display: grid; gap: 0; border-top: 1.5px solid var(--ink); margin: 0; }
.facts div { display: grid; gap: 2px 24px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--ink-2); }
@media (min-width: 760px) { .facts div { grid-template-columns: 220px 1fr; } }

/* ---------- contact band ---------- */
.contact { background: var(--night); color: #dbe6ec; }
.contact h2, .contact h3 { color: #fff; }
.contact h2 + .lede { margin-top: 18px; }
.contact a { color: #9fd5f5; }
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.direct { display: grid; gap: 18px; margin-top: 28px; }
.direct a { display: inline-block; padding-block: 6px; }
.facts dd a { display: inline-block; padding-block: 6px; }
.direct a.big { font-stretch: var(--wide); font-weight: 800; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); color: #fff; text-decoration: none; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.direct a.big:hover { text-decoration: underline; }
.direct .spec { color: #9eb1bd; }
.hours { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); }
.hours p { margin: 0 0 .4em; }

.form { display: grid; gap: 16px; background: var(--paper); color: var(--ink); padding: clamp(20px, 3vw, 32px); border-radius: 14px; }
.form .row { display: grid; gap: 16px; }
@media (min-width: 620px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 650; font-size: .95rem; }
.field label span { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #b9c4c7; border-radius: 8px;
  padding: 12px 13px; width: 100%; min-height: 50px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pex); box-shadow: 0 0 0 3px rgba(11,111,174,.2); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; }
.field .hint { font-size: .85rem; color: var(--ink-3); }
.form .btn { width: 100%; }
.form-status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #1b6b3a; }
.form-status.err { color: #b3261e; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- page header (inner pages) ---------- */
.page-head { padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(24px, 4vw, 40px); }
.page-head .lede { margin-top: 20px; }
.page-head + .bay { padding-top: clamp(16px, 3vw, 32px); }
.prose > :first-child { margin-top: 0; }
h1, h2 { hyphens: manual; }
.crumbs { margin-bottom: 18px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-stretch: var(--narrow); font-weight: 600; font-size: .9rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--pex); text-decoration: underline; }
.split { display: grid; gap: 40px; }
@media (min-width: 980px) { .split { grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: start; } }
.aside { position: sticky; top: 100px; display: grid; gap: 18px; }
.aside .card { background: var(--paper); border-radius: 12px; padding: 22px; border: 1px solid var(--rule); }
.aside .card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.aside .card p { color: var(--ink-2); margin-bottom: 14px; }
.aside .card .btn { width: 100%; }
.aside figure { margin: 0; border-radius: 12px; overflow: hidden; }
.links-list li { padding: 8px 0; border-bottom: 1px solid var(--rule); }
.links-list a { font-weight: 600; text-decoration: none; }
.links-list a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.site-foot { background: var(--night); color: #9eb1bd; padding: clamp(40px, 6vw, 64px) 0 calc(96px + env(safe-area-inset-bottom)); font-size: .95rem; }
.site-foot a { color: #e3ecf1; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-top { display: grid; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-brand { display: grid; justify-items: start; gap: 12px; }
/* his charcoal hand needs a light ground on the night footer */
.foot-logo { background: var(--paper); border-radius: 14px; padding: 18px 22px; width: min(100%, 330px); box-sizing: border-box; }
.foot-logo .true-logo { --logo-w: 286px; }
.foot-brand span { display: block; }
.foot-call { display: grid; gap: 2px; }
.foot-call a { padding-block: 8px; }
.foot-call .foot-phone { font-stretch: var(--wide); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); color: #fff; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.foot-call p { margin: 6px 0 0; max-width: 36ch; }
.foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; padding-block: 32px; }
.foot-links h2 { font-size: .95rem; font-stretch: 100%; font-weight: 700; color: #fff; letter-spacing: 0; margin-bottom: 10px; }
.foot-links li { margin: 7px 0; }
.foot-company { grid-column: 1 / -1; }
.foot-company ul { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.foot-company li { margin: 0; }
.foot-legal { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .88rem; }
.foot-legal nav { display: flex; gap: 18px; }
@media (min-width: 860px) {
  .site-foot { padding-bottom: 40px; }
  .foot-top { grid-template-columns: 1fr auto; align-items: end; }
  .foot-call { text-align: right; justify-items: end; }
  .foot-links { grid-template-columns: repeat(3, 1fr); }
  .foot-company { grid-column: auto; }
  .foot-company ul { display: block; }
  .foot-company li { margin: 7px 0; }
}

/* ---------- phone action bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(248,250,249,.96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--rule);
}
.callbar .btn { min-height: 50px; font-size: .98rem; padding: 0 10px; }
@media (min-width: 860px) { .callbar { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
