/* Rill: one copper run, plaster ground, a thermal camera on the wall */
@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/specimen/familjen-grotesk-var.woff2") format("woff2"); }
@font-face { font-family: "Familjen Grotesk"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/specimen/familjen-grotesk-var-italic.woff2") format("woff2"); }

body.spec-rill { margin: 0; background: #E3E8E6; }

.rl-page {
  --rl-plaster: #E3E8E6;
  --rl-porcelain: #F1F4F3;
  --rl-ink: #10222A;
  --rl-ink-2: #3E5058;
  --rl-rule: rgba(16, 34, 42, .16);
  --rl-blue: #1747A6;
  --rl-copper: #B8561E;
  --rl-copper-ink: #8F3F12;
  --rl-copper-hi: #D98A55;
  --rl-font: "Familjen Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
  --rl-m: clamp(16px, 4.4vw, 64px);          /* side margin: the vertical run sits on it */
  --rl-hang: clamp(24px, 2.6vw, 40px);       /* text hangs this far past the run */
  --rl-r: 48px;                              /* elbow radius */
  --rl-nav-h: 56px;
  --rl-vf: 250px;
  position: relative;
  color: var(--rl-ink);
  background: var(--rl-plaster);
  font-family: var(--rl-font);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.rl-page *, .rl-page *::before, .rl-page *::after { box-sizing: border-box; }
.rl-page :focus-visible { outline: 2px solid var(--rl-blue); outline-offset: 3px; }
.rl-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.rl-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.rl-label { margin: 0; font-size: .75rem; line-height: 1.2; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rl-ink-2); }
.rl-note { font-style: italic; font-weight: 450; font-size: .9375rem; line-height: 1.35; letter-spacing: .004em; color: var(--rl-copper-ink); }
.rl-ic { width: 24px; height: 24px; flex: none; }
.rl-page .num, .rl-spot, .rl-vf-read, .rl-dim-t { font-variant-numeric: tabular-nums lining-nums; }

/* ── nav ─────────────────────────────────────────────────────────────── */
.rl-nav {
  position: sticky; top: var(--bar-h, 40px); z-index: 60;
  display: flex; align-items: center; gap: 28px;
  height: var(--rl-nav-h); padding: 0 var(--rl-m);
  background: rgba(227, 232, 230, .94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rl-rule);
}
.rl-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--rl-ink); text-decoration: none; font-weight: 700; font-size: 22px; letter-spacing: -.04em; line-height: 1; }
.rl-mark { width: 28px; height: 28px; flex: none; }
.rl-links { display: flex; gap: 26px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.rl-links a { color: var(--rl-ink); text-decoration: none; font-size: .9375rem; font-weight: 500; letter-spacing: -.005em; padding: 6px 0; background: linear-gradient(var(--rl-blue), var(--rl-blue)) 0 100% / 0 1px no-repeat; transition: background-size .25s; }
.rl-links a:hover, .rl-links a[aria-current] { background-size: 100% 1px; }
.rl-menu { display: none; }
.rl-enq {
  display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px 0 0;
  border: 1.5px solid var(--rl-ink); border-radius: 2px; color: var(--rl-ink); text-decoration: none;
  font-weight: 600; font-size: .9375rem; background: var(--rl-porcelain);
}
.rl-enq-collar { width: 10px; align-self: stretch; background: var(--rl-copper); border-right: 1.5px solid var(--rl-ink); }
.rl-enq:hover { background: #fff; }
.rl-menu {
  align-items: center; gap: 8px; height: 38px; padding: 0 12px; margin-left: auto;
  font: 600 .9375rem/1 var(--rl-font); color: var(--rl-ink); background: none; border: 1.5px solid var(--rl-ink); border-radius: 2px; cursor: pointer;
}

/* ── the run (drawn by JS; a CSS rail without it) ────────────────────── */
.rl-run { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: visible; display: none; }
.js-on .rl-run { display: block; }
.rl-run path { fill: none; stroke-linecap: butt; stroke-linejoin: round; }
.rl-run-wall { stroke: var(--rl-copper); stroke-width: 5px; }
.rl-run-bore { stroke: var(--rl-plaster); stroke-width: 2.2px; }
.rl-run-hi { stroke: var(--rl-copper-hi); stroke-width: .8px; opacity: .0; }
.rl-run-water { stroke: var(--rl-blue); stroke-width: 2.2px; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.rl-run-cold { stroke: var(--rl-blue); stroke-width: 1px; }
.rl-run-lab { position: absolute; z-index: 3; display: none; transform: translateY(-100%); font-style: italic; font-weight: 500; font-size: .75rem; line-height: 1; letter-spacing: .01em; color: var(--rl-copper-ink); white-space: nowrap; pointer-events: none; }
.rl-run-lab-c { color: var(--rl-blue); transform: translate(-100%, -100%) translateY(-5px); }
.js-on .rl-run-lab { display: block; }
.rl-page:not(.js-on)::before {       /* no JS: the rail drawn full down the left gutter */
  content: ""; position: absolute; left: calc(var(--rl-m) - 1px); top: calc(var(--rl-nav-h) + clamp(560px, calc(100svh - var(--bar-h, 40px) - var(--rl-nav-h)), 860px) * .6); bottom: 0; width: 2px; background: var(--rl-copper); z-index: 1;
}

/* the page-long water fill */
@keyframes rl-fill {
  0% { stroke-dashoffset: var(--rl-k0, 1.00); }
  5% { stroke-dashoffset: var(--rl-k1, 0.95); }
  10% { stroke-dashoffset: var(--rl-k2, 0.90); }
  15% { stroke-dashoffset: var(--rl-k3, 0.85); }
  20% { stroke-dashoffset: var(--rl-k4, 0.80); }
  25% { stroke-dashoffset: var(--rl-k5, 0.75); }
  30% { stroke-dashoffset: var(--rl-k6, 0.70); }
  35% { stroke-dashoffset: var(--rl-k7, 0.65); }
  40% { stroke-dashoffset: var(--rl-k8, 0.60); }
  45% { stroke-dashoffset: var(--rl-k9, 0.55); }
  50% { stroke-dashoffset: var(--rl-k10, 0.50); }
  55% { stroke-dashoffset: var(--rl-k11, 0.45); }
  60% { stroke-dashoffset: var(--rl-k12, 0.40); }
  65% { stroke-dashoffset: var(--rl-k13, 0.35); }
  70% { stroke-dashoffset: var(--rl-k14, 0.30); }
  75% { stroke-dashoffset: var(--rl-k15, 0.25); }
  80% { stroke-dashoffset: var(--rl-k16, 0.20); }
  85% { stroke-dashoffset: var(--rl-k17, 0.15); }
  90% { stroke-dashoffset: var(--rl-k18, 0.10); }
  95% { stroke-dashoffset: var(--rl-k19, 0.05); }
  100% { stroke-dashoffset: var(--rl-k20, 0.00); }
}
@keyframes rl-draw { from { stroke-dashoffset: var(--rl-d0, 1); } to { stroke-dashoffset: 0; } }
@supports (animation-timeline: scroll()) {
  .rl-page.is-run .rl-run-water { animation: rl-fill linear both; animation-timeline: scroll(root); }
}
.rl-page.is-io .rl-run-water { transition: stroke-dashoffset .7s cubic-bezier(.2, .7, .1, 1); }

/* ── hero ────────────────────────────────────────────────────────────── */
.rl-hero {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: max(440px, 33.333%) minmax(0, 1fr);
  height: clamp(560px, calc(100svh - var(--bar-h, 40px) - var(--rl-nav-h)), 860px);
}
.rl-hero-text {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  padding: 36px 24px 28px calc(var(--rl-m) + var(--rl-hang));
}
.rl-hero-tag { display: flex; flex-direction: column; gap: 6px; margin-left: calc(var(--rl-hang) * -1); }
.rl-tag-t { color: var(--rl-copper-ink); }
.rl-tag-p { color: var(--rl-ink-2); font-weight: 500; letter-spacing: .06em; }
.rl-h1 { margin: auto 0 0; display: flex; flex-direction: column; font-weight: 700; }
.rl-name {
  display: block; margin-left: calc(var(--rl-hang) * -1 - .04em);
  font-size: min(clamp(7.5rem, 21vw, 19.5rem), 34svh); line-height: .78; letter-spacing: -.055em; font-weight: 700;
  color: var(--rl-ink); white-space: nowrap;
}
.rl-name > span { position: relative; }
.rl-lh { color: var(--rl-copper); }
.rl-lc { color: var(--rl-blue); }
.rl-foot { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
.rl-h1-line {
  display: block; margin-top: calc(20px + var(--rl-r) + 26px); max-width: 13ch;
  font-size: clamp(1.5rem, 1.05rem + 1.35vw, 2.5rem); line-height: 1.05; letter-spacing: -.022em; font-weight: 620;
  text-wrap: balance;
}
.rl-sub { margin: 18px 0 0; max-width: 34ch; font-size: 1.0625rem; line-height: 1.5; color: var(--rl-ink-2); }
.rl-ctrl { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; margin-top: 24px; }
.rl-btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 12px;
  font: 600 .9375rem/1.1 var(--rl-font); letter-spacing: -.005em; color: var(--rl-ink);
  background: var(--rl-porcelain); border: 1.5px solid var(--rl-ink); border-radius: 2px; cursor: pointer;
}
.rl-btn:hover { background: #fff; }
.rl-btn-hot { padding-left: 0; }
.rl-btn-hot::before { content: ""; align-self: stretch; width: 12px; background: var(--rl-copper); border-right: 1.5px solid var(--rl-ink); margin-right: 2px; }
.rl-btn-hot[aria-pressed="true"] { background: var(--rl-ink); color: var(--rl-porcelain); }
.rl-btn-run { position: absolute; left: -1.5px; right: -1.5px; bottom: -6px; height: 1.5px; background: var(--rl-copper); transform: scaleX(0); transform-origin: 0 50%; }
.rl-btn-hot[aria-pressed="true"] .rl-btn-run { transform: scaleX(1); transition: transform var(--rl-run-s, 12s) linear; }
.rl-btn-find { border-color: transparent; background: none; padding: 0 6px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--rl-blue); color: var(--rl-blue); }
.rl-btn-find:hover { background: none; text-decoration-thickness: 2px; }
.rl-spot { margin: 16px 0 0; max-width: 38ch; height: 5.2em; overflow: visible; font-size: .875rem; line-height: 1.3; color: var(--rl-ink-2); }
.rl-spot b { color: var(--rl-blue); font-weight: 600; }
.rl-hero-note { position: absolute; left: calc(var(--rl-m) - 30px); bottom: 34px; margin: 0; writing-mode: vertical-rl; transform: rotate(180deg); font-size: .8125rem; white-space: nowrap; }

/* the wall: the photograph squared up, the camera over it */
.rl-wall {
  position: relative; overflow: hidden; container-type: size; outline-offset: -4px;
  background: #b9c2bd; touch-action: pan-y; cursor: none;
  --ar: 1.7778;        /* the master's aspect */
  --ox: .5; --oy: .5;  /* where the crop sits, like object-position */
  --W: max(100cqw, 100cqh * var(--ar));
  --H: max(100cqh, 100cqw / var(--ar));
  --lx: calc((100cqw - var(--W)) * var(--ox));
  --ly: calc((100cqh - var(--H)) * var(--oy));
}
.rl-wall:focus-visible { outline: 2px solid var(--rl-blue); }
.rl-plate { position: absolute; left: var(--lx); top: var(--ly); width: var(--W); height: var(--H); }
.rl-plate picture, .rl-photo { display: block; width: 100%; height: 100%; }
.rl-photo { object-fit: cover; }
.rl-layer { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.rl-layer svg { display: block; width: 100%; height: 100%; overflow: visible; }
/* the plumber's mark-up: the poster inside the ring when there is no live camera */
.rl-markup-wrap { clip-path: circle(calc(var(--rl-vf) / 2) at var(--mx, 58.1%) var(--my, 72.05%)); }
.rl-wall.is-live .rl-markup-wrap { display: none; }
.rl-mk-hot, .rl-mk-cold { fill: none; stroke-width: 7; stroke-dasharray: 26 16; stroke-linejoin: round; }
.rl-mk-hot { stroke: var(--rl-copper); }
.rl-mk-cold { stroke: var(--rl-blue); }
/* the key to the mark-up, pinned inside the top of the ring (the camera's own overlay once it is live) */
.rl-vf-key {
  position: absolute; left: 50%; top: 17%; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 3px 8px; font-size: .6875rem; line-height: 1.2; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rl-ink);
  background: rgba(241, 244, 243, .9); border: 1px solid var(--rl-ink);
}
.rl-vf-key i { display: block; width: 16px; height: 3px; }
.rl-key-h { background: repeating-linear-gradient(90deg, var(--rl-copper) 0 6px, transparent 6px 9px); }
.rl-key-c { margin-left: 6px; background: repeating-linear-gradient(90deg, var(--rl-blue) 0 6px, transparent 6px 9px); }
.rl-wall.is-live .rl-vf-key { display: none; }
/* the found tile */
.rl-found-wrap { z-index: 4; }
.rl-fd-tile, .rl-fd-dim { fill: none; stroke: #F1F4F3; stroke-width: 1.5px; vector-effect: non-scaling-stroke; stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s cubic-bezier(.2, .7, .1, 1); }
.rl-wall.is-found .rl-fd-tile, .rl-wall.is-found .rl-fd-dim { stroke-dashoffset: 0; }
.rl-page:not(.js-on) .rl-fd-tile, .rl-page:not(.js-on) .rl-fd-dim { stroke-dashoffset: 0; }

/* the dimension line down the seam */
.rl-dim { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--rl-blue); pointer-events: none; }
.rl-dim-t {
  position: absolute; left: 0; top: calc(var(--ly) + var(--H) * var(--y)); transform: translateY(-50%);
  padding: 1px 6px 1px 12px; font-size: .75rem; line-height: 1.2; font-weight: 600; color: var(--rl-blue);
  background: linear-gradient(90deg, transparent 10px, rgba(241, 244, 243, .9) 10px);
}
.rl-dim-t::before { content: ""; position: absolute; left: -4px; top: 50%; width: 9px; height: 1px; background: var(--rl-blue); transform: rotate(-45deg); }

/* the viewfinder */
.rl-vf {
  position: absolute; left: calc(var(--lx) + var(--W) * .581 - var(--rl-vf) / 2); top: calc(var(--ly) + var(--H) * .7205 - var(--rl-vf) / 2);
  width: var(--rl-vf); height: var(--rl-vf); pointer-events: none; z-index: 3; will-change: transform;
}
.js-on .rl-vf { left: 0; top: 0; }
.rl-vf-cv { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; opacity: 0; }
.rl-wall.is-live .rl-vf-cv { opacity: 1; animation: rl-iris .7s .3s cubic-bezier(.2, .7, .1, 1) both; }
@keyframes rl-iris { from { clip-path: circle(0 at 50% 50%); } to { clip-path: circle(50% at 50% 50%); } }
.rl-vf-ring { position: absolute; left: -9.09%; top: -9.09%; width: 118.18%; height: 118.18%; overflow: visible; transition: transform .15s; }
.rl-vf.is-pull .rl-vf-ring { transform: scale(1.02); }
.rl-vf-rim { fill: none; stroke: var(--rl-ink); stroke-width: 2px; vector-effect: non-scaling-stroke; }
.rl-vf-ticks line { stroke: var(--rl-ink); stroke-width: 1.25px; vector-effect: non-scaling-stroke; }
.rl-vf-x { fill: none; stroke: #F1F4F3; stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.rl-vf-box { fill: none; stroke: #F1F4F3; stroke-width: 1.25px; vector-effect: non-scaling-stroke; }
.rl-page:not(.js-on) .rl-vf-x, .rl-page:not(.js-on) .rl-vf-box, .rl-wall:not(.is-live) .rl-vf-x, .rl-wall:not(.is-live) .rl-vf-box { stroke: var(--rl-ink); }
.rl-vf-scale path { fill: none; stroke-width: 5px; }
.rl-vf-sc { font: 600 11px var(--rl-font); fill: var(--rl-ink); }
.rl-vf-read {
  position: absolute; left: 50%; top: calc(100% + 16px); transform: translateX(-50%); white-space: nowrap;
  padding: 3px 8px; font-size: .75rem; line-height: 1.2; font-weight: 600; letter-spacing: .04em; color: var(--rl-ink);
  background: var(--rl-porcelain); border: 1px solid var(--rl-ink);
}
.rl-vf-read b { font-weight: 700; }
.rl-wall:not(.is-live) .rl-vf-u { display: none; }

/* ── sections: each hangs off the run ────────────────────────────────── */
@property --rl-core { syntax: "<color>"; inherits: true; initial-value: #E3E8E6; }
.rl-page { --rl-band: 40px; --rl-pad: clamp(72px, 9vw, 144px); --rl-gap: 28px; }
.rl-run-flow { stroke: var(--rl-plaster); stroke-width: 1px; stroke-dasharray: 3 21; opacity: .85; animation: rl-flow 14s linear infinite; }
@keyframes rl-flow { to { stroke-dashoffset: -480; } }
.rl-page.is-closed .rl-run-flow { animation-play-state: paused; opacity: 0; transition: opacity .6s; }
.rl-sec { position: relative; z-index: 2; padding: var(--rl-pad) calc(var(--rl-m) + var(--rl-hang)) 0; }
.rl-g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.rl-js { }
.rl-page:not(.js-on) .rl-js { display: none !important; }

/* the tee a section hangs from: a collar on the run, a stub to the label */
.rl-tee { position: relative; display: block; margin: 0; color: var(--rl-copper-ink); }
.rl-tee::before { content: ""; position: absolute; top: 50%; left: calc(var(--rl-hang) * -1 + 7px); width: calc(var(--rl-hang) - 15px); height: 2px; margin-top: -1px; background: var(--rl-copper); }
.rl-t { position: absolute; left: calc(var(--rl-hang) * -1 - 12px); top: 50%; width: 24px; height: 24px; margin-top: -12px; overflow: visible; }
.rl-t-b { display: none; }
.rl-t-c { fill: var(--rl-core); stroke: var(--rl-ink); stroke-width: 1.5px; }
.rl-tee-r { text-align: right; }
.rl-tee-r::before { left: auto; right: calc(var(--rl-hang) * -1 + 7px); }
.rl-tee-r .rl-t { left: auto; right: calc(var(--rl-hang) * -1 - 12px); }
.rl-tee-d::before { display: none; }
.rl-page:not(.js-on) .rl-tee-r .rl-t, .rl-page:not(.js-on) .rl-tee-r::before, .rl-page:not(.js-on) .rl-hangs::before, .rl-page:not(.js-on) .rl-hangs::after { display: none; }
@keyframes rl-lit { from { --rl-core: #E3E8E6; } to { --rl-core: #1747A6; } }
@keyframes rl-lit-t { from { color: var(--rl-copper-ink); } to { color: var(--rl-blue); } }

/* a horizontal run: the band it passes through, and its two ends */
.rl-band { position: relative; height: var(--rl-band); }
.rl-wp { position: absolute; width: 0; height: 0; top: 50%; }
.rl-wp-l { left: calc(var(--rl-hang) * -1); }
.rl-wp-r { right: calc(var(--rl-hang) * -1); }
/* something hung from a horizontal run: a short branch down, and its collar */
.rl-hangs { position: relative; --drop: calc(var(--rl-band) / 2 + var(--rl-gap)); }
.rl-hangs::before {
  content: ""; position: absolute; z-index: 1; left: var(--hx, 50%); top: calc(var(--drop) * -1); width: 5px; height: var(--drop); margin-left: -2.5px;
  background: linear-gradient(90deg, var(--rl-copper) 0 1.4px, var(--rl-core) 1.4px 3.6px, var(--rl-copper) 3.6px);
}
.rl-hangs::after {
  content: ""; position: absolute; z-index: 1; left: var(--hx, 50%); top: calc(var(--drop) * -1 - 7px); width: 10px; height: 14px; margin-left: -5px;
  background: var(--rl-core); border: 1.5px solid var(--rl-ink);
}

/* type */
.rl-h2 { margin: 18px 0 0; max-width: 14ch; font-size: clamp(2.25rem, 1.1rem + 3.7vw, 5.25rem); line-height: .92; letter-spacing: -.035em; font-weight: 650; text-wrap: balance; }
.rl-lead { margin: 24px 0 0; max-width: 26ch; font-size: clamp(1.25rem, .95rem + .95vw, 1.875rem); line-height: 1.2; letter-spacing: -.012em; font-weight: 500; text-wrap: pretty; }
.rl-copy { max-width: 36em; margin-top: 24px; }
.rl-copy p { margin: 0 0 1em; }
.rl-pn { margin: 20px 0 0; max-width: 34em; }
.rl-list { max-width: 36em; margin: 28px 0 0; padding: 0; list-style: none; }
.rl-list li { position: relative; margin: 0 0 14px; padding-left: 26px; }
.rl-list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 14px; height: 1.5px; background: var(--rl-copper); }
.rl-list .rl-note { display: block; margin-top: 3px; }
.rl-dn { display: block; margin-bottom: 8px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; color: var(--rl-copper-ink); font-variant-numeric: tabular-nums lining-nums; }
.rl-close { margin: 32px 0 0; max-width: 30em; font-weight: 600; }

/* photographs, squared up like elevations */
.rl-fig { margin: 0; min-width: 0; }
.rl-fig img { display: block; width: 100%; height: auto; }
.rl-fig figcaption { margin-top: 12px; max-width: 34em; }
.rl-ph { position: relative; transform-origin: 50% 60%; }
.rl-dims { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.rl-dims path { fill: none; stroke: #F1F4F3; stroke-width: 1.25px; vector-effect: non-scaling-stroke; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.rl-dl {
  position: absolute; transform: translate(-50%, -50%); padding: 2px 6px; white-space: nowrap;
  font-size: .75rem; line-height: 1.2; font-weight: 600; letter-spacing: .02em; color: var(--rl-blue); background: rgba(241, 244, 243, .92);
  font-variant-numeric: tabular-nums lining-nums;
}

/* S2: three renovations deep */
.rl-deep-t { grid-column: 1 / span 6; }
.rl-cut { grid-column: 8 / -1; margin: 8px 0 0; }
.rl-cut-d { display: block; width: 100%; height: auto; overflow: visible; }
.rl-cut-open { fill: none; stroke: var(--rl-ink); stroke-width: 1px; stroke-dasharray: 6 4; }
.rl-cut-floor { fill: none; stroke: var(--rl-ink); stroke-width: 1px; }
.rl-cut-skirt { fill: none; stroke: var(--rl-ink); stroke-opacity: .35; stroke-width: 1px; }
.rl-cut-galv { fill: none; stroke: #66737A; stroke-width: 13px; }
.rl-cut-galv-in { fill: none; stroke: url(#rl-rust); stroke-width: 7px; }
.rl-cut-sock { fill: #4C585E; }
.rl-cut-cap { fill: var(--rl-ink); }
.rl-cut-ring { fill: none; stroke: var(--rl-copper-ink); stroke-width: 1.25px; stroke-dasharray: 3 3; }
.rl-cut-cu { fill: none; stroke: #A5623A; stroke-width: 7px; }
.rl-cut-crimp { fill: var(--rl-ink-2); }
.rl-cut-pex { fill: none; stroke: #AEB8BB; stroke-width: 8px; }
.rl-cut-new { fill: none; stroke: var(--rl-copper); stroke-width: 10px; }
.rl-cut-new-in { fill: none; stroke: var(--rl-blue); stroke-width: 3.6px; }
.rl-cut-clip { fill: var(--rl-ink); }
.rl-cut-dim { fill: none; stroke: var(--rl-blue); stroke-width: 1px; }
.rl-cut-out { fill: none; stroke: var(--rl-ink); stroke-width: 2px; }
.rl-cut-n circle { fill: var(--rl-porcelain); stroke: var(--rl-ink); stroke-width: 1.25px; }
.rl-cut-n text { font: 600 15px var(--rl-font); fill: var(--rl-ink); }
.rl-legend { counter-reset: rl-n; margin: 20px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.rl-legend li { counter-increment: rl-n; position: relative; padding-left: 34px; font-size: .9375rem; line-height: 1.4; }
.rl-legend li::before {
  content: counter(rl-n); position: absolute; left: 0; top: -1px; width: 22px; height: 22px; border: 1.25px solid var(--rl-ink); border-radius: 50%;
  display: grid; place-items: center; font-size: .75rem; font-weight: 600; background: var(--rl-porcelain);
}
.rl-legend b { font-weight: 600; }
.rl-legend .rl-note { display: block; margin-top: 2px; }

/* S3: the leak */
.rl-leaks-h { grid-column: 1 / span 7; }
.rl-leaks-lead { grid-column: 8 / -1; align-self: end; margin: 0 0 4px; }
.rl-leaks-steps { grid-column: 1 / span 7; }
.rl-drops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.rl-drop { position: relative; padding: calc(var(--rl-gap) + 4px) 0 0 18px; font-size: 1rem; }
.rl-drop::before { content: ""; position: absolute; left: 0; top: calc(var(--rl-band) / -2); width: 2px; height: calc(var(--rl-band) / 2 + var(--rl-gap) + 16px); background: var(--rl-copper); }
.rl-drop::after { content: ""; position: absolute; left: -3px; top: calc(var(--rl-gap) + 12px); width: 8px; height: 8px; border-radius: 50%; background: var(--rl-blue); }
.rl-drop .rl-note { display: block; margin-top: 8px; }
.rl-leaks-fig { grid-column: 9 / span 4; margin-top: var(--rl-gap); --hx: 50%; }
.rl-jobtag {
  display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 0; padding: 6px 14px 6px 8px; border: 1.5px solid var(--rl-blue); border-radius: 999px;
  font-size: .875rem; font-weight: 600; color: var(--rl-blue); background: var(--rl-porcelain);
}
.rl-jobtag .rl-ic { width: 20px; height: 20px; }

/* S4: bathrooms, down the right-hand run */
.rl-bath-fig { grid-column: 1 / span 5; }
.rl-bath-t { grid-column: 7 / -1; }

/* S5: kitchens, hung from a run right to left */
.rl-band-top { margin-top: 0; }
.rl-kit-fig { grid-column: 1 / span 7; margin-top: var(--rl-gap); --hx: 70%; }
.rl-kit-t { grid-column: 8 / -1; margin-top: var(--rl-gap); --hx: 0px; }
.rl-kit-t .rl-h2 { font-size: clamp(2.25rem, 1rem + 2.9vw, 4.25rem); }
.rl-kit-t .rl-tee { padding-left: 16px; }

/* S6: the wait for hot water */
.rl-hw-t { grid-column: 1 / span 7; }
.rl-hw-fig { grid-column: 9 / -1; width: 240px; justify-self: end; margin-top: 40px; }
.rl-solver {
  position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 48px; margin-top: 48px;
  padding: clamp(20px, 2.6vw, 40px); background: var(--rl-porcelain);
}
.rl-plan-wrap { min-width: 0; }
.rl-plan { display: block; width: 100%; height: auto; overflow: visible; margin-top: 8px; touch-action: pan-y; --rl-pk: 1.35; }
.rl-plan-help { margin: 8px 0 0; font-size: .875rem; color: var(--rl-ink-2); }
.rl-pl-roof { fill: none; stroke: var(--rl-ink); stroke-opacity: .22; stroke-width: 1px; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.rl-pl-wall { fill: rgba(16, 34, 42, .035); stroke: var(--rl-ink); stroke-width: 1.25px; vector-effect: non-scaling-stroke; }
.rl-pl-in { fill: none; stroke: var(--rl-ink); stroke-opacity: .5; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.rl-pl-room { font: 600 calc(10.5px * var(--rl-pk)) var(--rl-font); letter-spacing: .07em; text-transform: uppercase; fill: var(--rl-ink-2); }
.rl-pl-hall { fill-opacity: .7; }
.rl-pl-track { fill: none; stroke: var(--rl-ink-2); stroke-width: 1.5px; stroke-dasharray: 1 5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.rl-pl-spot { fill: var(--rl-porcelain); stroke: var(--rl-ink); stroke-width: 1.25px; vector-effect: non-scaling-stroke; }
.rl-pl-sl { font: 700 calc(12px * var(--rl-pk)) var(--rl-font); fill: var(--rl-ink); }
.rl-pl-drop0 { fill: none; stroke: var(--rl-ink); stroke-opacity: .3; stroke-width: 1px; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; }
.rl-pl-lead { fill: none; stroke: var(--rl-ink); stroke-opacity: .55; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.rl-pl-fx { fill: var(--rl-porcelain); stroke: var(--rl-ink); stroke-width: 1.25px; vector-effect: non-scaling-stroke; }
.rl-pl-ol { font: 500 calc(12px * var(--rl-pk)) var(--rl-font); fill: var(--rl-ink); }
.rl-pl-o.is-on .rl-pl-fx { fill: var(--rl-copper); }
.rl-pl-o.is-sel .rl-pl-ol { font-weight: 700; fill: var(--rl-blue); }
.rl-pl-o.is-sel .rl-pl-fx { stroke: var(--rl-blue); stroke-width: 2px; }
.rl-pl-hot { fill: none; stroke: var(--rl-copper); stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.rl-pl-20 { stroke-width: 4px; }
.rl-pl-15 { stroke-width: 2.4px; }
.rl-pl-hot.is-sel { stroke: var(--rl-copper-ink); }
.rl-pl-flow { fill: none; stroke: var(--rl-porcelain); stroke-width: 1.2px; stroke-dasharray: 2 9; vector-effect: non-scaling-stroke; }
.rl-pl-cold { fill: none; stroke: var(--rl-blue); stroke-opacity: .75; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.rl-pl-ring { fill: none; stroke: var(--rl-copper-ink); stroke-width: 1.5px; stroke-dasharray: 5 3; vector-effect: non-scaling-stroke; display: none; }
.rl-solver.is-ring .rl-pl-ring { display: inline; }
.rl-pl-hb { fill: var(--rl-porcelain); stroke: var(--rl-ink); stroke-width: 1.25px; vector-effect: non-scaling-stroke; }
.rl-pl-ht { fill: #fff; stroke: var(--rl-ink); stroke-width: 1.25px; vector-effect: non-scaling-stroke; }
.rl-pl-hc { fill: none; stroke: var(--rl-ink); stroke-opacity: .45; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.rl-pl-hit { fill: transparent; stroke: none; }
.js-on .rl-pl-heater { cursor: grab; outline: none; }
.rl-pl-heater.is-drag { cursor: grabbing; }
.rl-pl-heater:focus-visible .rl-pl-hit { stroke: var(--rl-blue); stroke-width: 2px; vector-effect: non-scaling-stroke; }

.rl-read { min-width: 0; }
.rl-fig-n { margin: 0; }
.rl-big { display: flex; align-items: baseline; gap: .06em; font-size: clamp(4.5rem, 1.5rem + 8vw, 11rem); line-height: .85; letter-spacing: -.045em; font-weight: 600; color: var(--rl-ink); font-variant-numeric: tabular-nums lining-nums; }
.rl-big b { font-weight: 600; }
.rl-s { font-size: .34em; letter-spacing: 0; font-weight: 500; color: var(--rl-ink-2); }
.rl-big-l { display: block; margin-top: 12px; font-size: 1.125rem; font-weight: 500; }
.rl-cap { margin: 16px 0 0; font-size: .9375rem; color: var(--rl-ink-2); max-width: 36em; font-variant-numeric: tabular-nums lining-nums; }
.rl-cmp { margin: 10px 0 0; padding-left: 12px; border-left: 2px solid var(--rl-blue); font-size: .9375rem; font-weight: 500; max-width: 36em; font-variant-numeric: tabular-nums lining-nums; }
.rl-tbl { width: 100%; margin-top: 22px; border-collapse: collapse; font-size: .9375rem; font-variant-numeric: tabular-nums lining-nums; }
.rl-tbl-c { caption-side: top; text-align: left; padding-bottom: 8px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rl-ink-2); }
.rl-tbl th, .rl-tbl td { padding: 7px 0; border-bottom: 1px solid var(--rl-rule); text-align: right; font-weight: 500; }
.rl-tbl thead th { font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: var(--rl-ink-2); border-bottom-color: var(--rl-ink); }
.rl-tbl th:first-child { text-align: left; }
.rl-tbl td { width: 18%; }
.rl-tbl tr.is-sel th, .rl-tbl tr.is-sel td { color: var(--rl-blue); font-weight: 650; }
.rl-on { color: var(--rl-copper-ink); font-weight: 500; font-style: italic; }
.rl-row-b { all: unset; cursor: pointer; text-decoration: underline; text-decoration-color: var(--rl-rule); text-underline-offset: 4px; }
.rl-row-b:hover { text-decoration-color: currentColor; }
.rl-row-b:focus-visible { outline: 2px solid var(--rl-blue); outline-offset: 3px; }

.rl-hw-ctrl { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px 36px; padding-top: 22px; border-top: 1px solid var(--rl-rule); }
.rl-cg { margin: 0; padding: 0; border: 0; min-width: 0; }
.rl-cg .rl-label, .rl-cg legend { display: block; padding: 0; margin: 0 0 10px; }
.rl-fxs { display: flex; flex-wrap: wrap; gap: 6px; }
.rl-fx, .rl-seg span, .rl-ring span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--rl-ink); border-radius: 2px;
  font: 600 .9375rem/1 var(--rl-font); color: var(--rl-ink); background: var(--rl-plaster); cursor: pointer;
}
.rl-fx::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--rl-ink); }
.rl-fx[aria-pressed="true"] { background: var(--rl-ink); color: var(--rl-porcelain); }
.rl-fx[aria-pressed="true"]::before { background: var(--rl-copper); border-color: var(--rl-copper); }
.rl-seg { display: flex; flex-wrap: wrap; }
.rl-seg legend { width: 100%; }
.rl-seg label, .rl-ring { position: relative; }
.rl-seg label + label span { margin-left: -1.5px; }
.rl-seg input, .rl-ring input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rl-seg input:checked + span { background: var(--rl-ink); color: var(--rl-porcelain); }
.rl-ring span::before { content: ""; width: 14px; height: 14px; border: 1.5px solid var(--rl-ink); border-radius: 2px; }
.rl-ring input:checked + span::before { background: var(--rl-copper) linear-gradient(45deg, transparent 45%, var(--rl-porcelain) 45% 55%, transparent 55%); border-color: var(--rl-copper); }
.rl-seg input:focus-visible + span, .rl-ring input:focus-visible + span { outline: 2px solid var(--rl-blue); outline-offset: 3px; }
.rl-addtag { margin-left: auto; }
.rl-addtag.is-done { border-color: var(--rl-blue); color: var(--rl-blue); }
.rl-std { max-width: 46em; margin: 20px 0 0; font-size: .9375rem; }
.rl-std b { font-weight: 650; }
.rl-model { margin: 8px 0 0; max-width: 52em; font-size: .875rem; }

/* S7: gas */
.rl-gas-t { grid-column: 1 / span 6; align-self: end; }
.rl-gas-list { grid-column: 7 / -1; align-self: end; margin: 0 0 4px; }
.rl-gas-list li:last-child { margin-bottom: 0; }
.rl-gas-note { grid-column: 1 / span 4; margin: calc(var(--rl-gap) + 8px) 0 0; font-size: 1.125rem; max-width: 18em; }
.rl-gasd { grid-column: 6 / -1; margin: var(--rl-gap) 0 0; --hx: 12%; }
.rl-gas-d { display: block; width: 100%; height: auto; overflow: visible; }
.rl-gd-ground { fill: none; stroke: var(--rl-ink); stroke-width: 1px; }
.rl-gd-wall, .rl-gd-floor, .rl-gd-bench { fill: none; stroke: var(--rl-ink); stroke-opacity: .55; stroke-width: 1px; }
.rl-gd-meter { fill: var(--rl-porcelain); stroke: var(--rl-ink); stroke-width: 1.25px; }
.rl-gd-meter-i { fill: none; stroke: var(--rl-ink); stroke-opacity: .5; stroke-width: 1px; }
.rl-gd-run { fill: none; stroke: var(--rl-copper); stroke-width: 3px; stroke-linejoin: round; }
.rl-gd-old { fill: none; stroke: var(--rl-ink); stroke-width: 2.5px; }
.rl-gd-oldx { fill: none; stroke: var(--rl-ink); stroke-opacity: .4; stroke-width: 1px; stroke-dasharray: 4 4; }
.rl-gd-cook { fill: var(--rl-ink); }
.rl-gd-valve { fill: var(--rl-porcelain); stroke: var(--rl-ink); stroke-width: 1.25px; }
.rl-gd-gauge circle { fill: var(--rl-porcelain); stroke: var(--rl-ink); stroke-width: 1.25px; }
.rl-gd-gauge path, .rl-gd-ticks { fill: none; stroke: var(--rl-ink); stroke-width: 1.25px; }
.rl-legend-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* S8: how a job goes, four valves on one run */
.rl-how-t { max-width: 100%; }
.rl-stops { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 48px 0 0; padding: 0; list-style: none; }
.rl-stops > li { position: relative; font-size: 1rem; max-width: 22em; }
.rl-stops strong { display: block; font-size: 1.125rem; font-weight: 650; margin-bottom: 4px; }
.rl-v { display: block; width: 48px; height: 48px; margin: 0 0 14px -8px; overflow: visible; }
.rl-v-b { fill: var(--rl-core); stroke: var(--rl-ink); stroke-width: 1.5px; stroke-linejoin: round; }
.rl-v-s { fill: none; stroke: var(--rl-ink); stroke-width: 1.5px; }
.rl-v-h { fill: none; stroke: var(--rl-ink); stroke-width: 3px; stroke-linecap: round; transform-box: view-box; transform-origin: 24px 9px; }
.rl-stops > li.rl-stops-wp { position: absolute; left: 0; right: 0; top: 0; height: 48px; max-width: none; }
.rl-how-body { margin-top: 72px; }
.rl-how-fig { grid-column: 1 / span 5; }
.rl-bench {
  grid-column: 7 / span 5; align-self: start; margin-top: 32px; padding: 26px 30px 22px; font-size: 1rem;
  background: var(--rl-porcelain) repeating-linear-gradient(transparent 0 27px, var(--rl-rule) 27px 28px); background-position: 0 22px;
}
.rl-bench p { margin: 0 0 .5em; line-height: 28px; }
.rl-bench .rl-label { margin-bottom: 12px; line-height: 28px; color: var(--rl-copper-ink); }
.rl-bn-day { font-weight: 650; }
.rl-bn-sig { font-style: italic; font-weight: 600; font-size: 1.25rem; color: var(--rl-blue); }
.rl-bn-d { display: block; width: min(100%, 320px); height: auto; margin: 8px 0 14px; overflow: visible; }
.rl-bn-w { fill: none; stroke: var(--rl-ink); stroke-width: 1px; }
.rl-bn-p { fill: none; stroke: var(--rl-copper); stroke-width: 3px; }
.rl-bn-c { fill: none; stroke: var(--rl-ink); stroke-width: 2px; }
.rl-bn-dim { fill: none; stroke: var(--rl-blue); stroke-width: 1px; }
.rl-bn-x { fill: none; stroke: var(--rl-copper-ink); stroke-width: 1.5px; }
.rl-bn-d text { font: italic 500 12px var(--rl-font); fill: var(--rl-ink-2); }

/* S9: the enquiry at the stop valve */
.rl-subs { margin: 28px 0 0; font-size: clamp(2.25rem, 1.1rem + 3.7vw, 5.25rem); line-height: 1; letter-spacing: -.035em; font-weight: 500; }
.rl-subs-n { margin: 12px 0 0; font-size: 1.0625rem; }
.rl-band-last { margin-top: 8px; }
.rl-enq-body { position: relative; grid-column: 3 / span 7; padding-top: var(--rl-gap); }
.rl-wp-in { left: calc(var(--rl-hang) * -1); top: calc(var(--rl-band) / -2); }
.rl-enq-body .rl-lead { margin: 0; }
.rl-form { display: grid; gap: 22px; margin-top: 36px; }
.rl-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.rl-f { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.rl-f > span, .rl-f legend { font-weight: 600; font-size: .9375rem; padding: 0; }
.rl-f input, .rl-f select, .rl-f textarea { width: 100%; min-height: 44px; padding: 10px 12px; font: 400 1rem/1.4 var(--rl-font); color: var(--rl-ink); background: var(--rl-porcelain); border: 1px solid var(--rl-ink); border-radius: 2px; }
.rl-f textarea { resize: vertical; }
.rl-f input::placeholder { color: #5E6E75; }
.rl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rl-chips legend { width: 100%; margin-bottom: 8px; }
.rl-chips label { position: relative; }
.rl-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rl-chips span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 15px; border: 1px solid var(--rl-ink); border-radius: 999px; font-size: .9375rem; cursor: pointer; background: var(--rl-plaster); }
.rl-chips input:checked + span { background: var(--rl-ink); color: var(--rl-porcelain); }
.rl-chips input:focus-visible + span { outline: 2px solid var(--rl-blue); outline-offset: 3px; }
.rl-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.rl-tags:empty { display: none; }
.rl-tag { display: inline-flex; align-items: center; gap: 4px; padding: 0 4px 0 12px; min-height: 34px; border: 1.5px solid var(--rl-blue); border-radius: 999px; font-size: .875rem; font-weight: 600; color: var(--rl-blue); background: var(--rl-porcelain); }
.rl-tag button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--rl-blue); font: 600 1.125rem/1 var(--rl-font); cursor: pointer; }
.rl-tag button:hover { background: rgba(23, 71, 166, .1); }
.rl-send { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 8px; }
.rl-wp-end { left: calc(var(--rl-hang) * -1); top: 30px; }
.rl-valve {
  position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 60px; padding: 0 22px;
  font: 650 1.0625rem/1 var(--rl-font); color: var(--rl-porcelain); background: var(--rl-ink); border: 1.5px solid var(--rl-ink); border-radius: 2px; cursor: pointer;
}
.rl-valve:hover { background: #1b3440; }
.rl-sv { position: absolute; left: calc(var(--rl-hang) * -1 - 32px); top: 50%; width: 64px; height: 64px; margin-top: -32px; overflow: visible; transform: rotate(90deg); }
.rl-sv-b { fill: var(--rl-plaster); stroke: var(--rl-ink); stroke-width: 1.75px; stroke-linejoin: round; }
.rl-sv-s { fill: none; stroke: var(--rl-ink); stroke-width: 2px; }
.rl-sv-h { fill: none; stroke: var(--rl-copper); stroke-width: 5px; stroke-linecap: round; transform-box: view-box; transform-origin: 32px 12px; transition: transform .6s cubic-bezier(.2, 0, 0, 1); }
.rl-sv-n { fill: var(--rl-ink); }
.rl-page.is-closed .rl-sv-h { transform: rotate(90deg); }
.rl-page.is-closed .rl-sv-b { fill: var(--rl-porcelain); }
.rl-status { margin: 0; min-height: 1.5em; font-weight: 600; color: var(--rl-blue); }
.rl-foot-bar { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; margin-top: var(--rl-pad); padding: 32px var(--rl-m) 48px calc(var(--rl-m) + var(--rl-hang)); border-top: 1px solid var(--rl-rule); font-size: .9375rem; background: var(--rl-plaster); }
.rl-foot-bar p { margin: 0; }
.rl-probe { position: absolute; left: 0; top: 0; width: var(--rl-m); height: var(--rl-r); visibility: hidden; pointer-events: none; }

/* ── on scroll: tees light, photos square up, notes come in with the flow ── */
@supports (animation-timeline: view()) {
  .rl-tee, .rl-hangs, .rl-stops > li { animation: rl-lit linear both; animation-timeline: view(); animation-range: entry 70% cover 40%; }
  .rl-tee { animation-name: rl-lit, rl-lit-t; }
  .rl-v-h { animation: rl-open linear both; animation-timeline: view(); animation-range: entry 80% cover 45%; }
  .rl-sq { view-timeline: --rl-sq block; }
  .rl-sq .rl-ph { animation: rl-square linear both; animation-timeline: --rl-sq; animation-range: entry 10% cover 40%; }
  .rl-sq-m .rl-ph { animation-name: rl-square-m; }
  .rl-sq .rl-dims path { animation: rl-dim linear both; animation-timeline: --rl-sq; animation-range: cover 40% cover 50%; }
  .rl-sq .rl-dl { animation: rl-fade linear both; animation-timeline: --rl-sq; animation-range: cover 44% cover 52%; }
  .rl-pn, .rl-list .rl-note, .rl-drop .rl-note, .rl-legend .rl-note, .rl-fig figcaption { animation: rl-note linear both; animation-timeline: view(); animation-range: entry 60% cover 30%; }
}
@keyframes rl-open { from { transform: rotate(-90deg); } to { transform: none; } }
@keyframes rl-square { from { transform: perspective(1400px) rotateY(-6deg) rotateX(2.5deg) scale(.95); } to { transform: none; } }
@keyframes rl-square-m { from { transform: perspective(1400px) rotateY(6deg) rotateX(2.5deg) scale(.95); } to { transform: none; } }
@keyframes rl-dim { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes rl-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rl-note { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* without scroll timelines, the page's script lights each tee as it arrives */
.rl-page.no-sda .rl-tee:not(.is-lit), .rl-page.no-sda .rl-hangs:not(.is-lit), .rl-page.no-sda .rl-stops > li:not(.is-lit) { --rl-core: #E3E8E6; }
.rl-page.no-sda .is-lit { --rl-core: #1747A6; }
.rl-page.no-sda .rl-tee.is-lit { color: var(--rl-blue); }
.rl-page.no-sda .rl-sq .rl-ph { transition: transform .9s cubic-bezier(.2, .7, .1, 1); transform: perspective(1400px) rotateY(-6deg) rotateX(2.5deg) scale(.95); }
.rl-page.no-sda .rl-sq-m .rl-ph { transform: perspective(1400px) rotateY(6deg) rotateX(2.5deg) scale(.95); }
.rl-page.no-sda .rl-sq.is-lit .rl-ph { transform: none; }
.rl-page.no-sda .rl-v-h { transition: transform .6s cubic-bezier(.2, 0, 0, 1); transform: rotate(-90deg); }
.rl-page.no-sda .is-lit .rl-v-h { transform: none; }

/* ── 1024 to 1180 (and short laptops) ────────────────────────────────── */
@media (max-width: 1180px) {
  .rl-page { --rl-r: 32px; --rl-vf: 200px; }
  .rl-hero { grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); }
  .rl-sub { max-width: 30ch; }
  .rl-links .rl-lo { display: none; }
  .rl-deep-t { grid-column: 1 / span 7; }
  .rl-cut { grid-column: 8 / -1; }
  .rl-legend { grid-template-columns: 1fr; }
  .rl-drops { grid-template-columns: 1fr; gap: 0; }
  .rl-drop + .rl-drop { padding-top: 20px; }
  .rl-drop + .rl-drop::before { top: 0; height: 36px; }
  .rl-drop + .rl-drop::after { top: 28px; }
  .rl-leaks-steps { grid-column: 1 / span 6; }
  .rl-leaks-fig { grid-column: 8 / -1; }
  .rl-bath-fig { grid-column: 1 / span 5; }
  .rl-bath-t { grid-column: 6 / -1; }
  .rl-kit-fig { grid-column: 1 / span 7; }
  .rl-kit-t { grid-column: 8 / -1; }
  .rl-solver { grid-template-columns: 1fr 1fr; }
  .rl-plan-wrap { grid-column: 1 / -1; }
  .rl-read { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
  .rl-read .rl-tbl { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
  .rl-legend-5 { grid-template-columns: 1fr 1fr; }
  .rl-gasd { grid-column: 5 / -1; }
}
@media (min-width: 701px) and (max-height: 800px) {
  .rl-page { --rl-r: 32px; --rl-vf: 200px; }
  .rl-hero-text { padding-top: 24px; padding-bottom: 20px; }
  .rl-h1-line { margin-top: calc(20px + var(--rl-r) + 20px); }
  .rl-sub { margin-top: 12px; font-size: 1rem; }
  .rl-ctrl { margin-top: 18px; }
  .rl-spot { margin-top: 12px; }
}
@media (max-width: 900px) and (min-width: 701px) {
  .rl-hero { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); }
  .rl-links { display: none; }
  .rl-menu { display: inline-flex; }
  .rl-deep-t, .rl-cut { grid-column: 1 / -1; }
  .rl-cut { max-width: 520px; margin-top: 40px; }
  .rl-leaks-h, .rl-leaks-lead { grid-column: 1 / -1; }
  .rl-leaks-lead { margin-top: 20px; }
  .rl-bath-fig { grid-column: 1 / span 5; }
  .rl-bath-t { grid-column: 6 / -1; }
  .rl-kit-fig, .rl-kit-t { grid-column: 1 / -1; }
  .rl-kit-t { margin-top: 48px; }
  .rl-kit-fig { --hx: 30%; }
  .rl-hw-t { grid-column: 1 / span 8; }
  .rl-hw-fig { grid-column: 9 / -1; width: 100%; max-width: 200px; }
  .rl-read { display: block; }
  .rl-gas-t, .rl-gas-list { grid-column: 1 / -1; }
  .rl-gas-list { margin-top: 24px; }
  .rl-gas-note, .rl-gasd { grid-column: 1 / -1; }
  .rl-gasd { --hx: 50%; }
  .rl-stops { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .rl-how-fig { grid-column: 1 / span 6; }
  .rl-bench { grid-column: 7 / -1; }
  .rl-enq-body { grid-column: 2 / -1; }
}

/* ── phones: photo first, one run down the left gutter at 20px ───────── */
@media (max-width: 700px) {
  .rl-page { --rl-r: 20px; --rl-vf: 150px; --rl-nav-h: 48px; --rl-m: 20px; --rl-hang: 24px; --rl-pad: 72px; --rl-band: 24px; --rl-gap: 20px; font-size: 1rem; }
  .rl-nav { gap: 10px; padding: 0 12px 0 16px; }
  .rl-brand { font-size: 20px; }
  .rl-mark { width: 26px; height: 26px; }
  .rl-links { display: none; }
  .rl-menu { display: inline-flex; }
  .rl-enq { height: 36px; padding-right: 12px; }
  .rl-nav.is-open .rl-links { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 100%; padding: 8px 16px 16px; background: var(--rl-plaster); border-bottom: 1px solid var(--rl-rule); }
  .rl-nav.is-open .rl-links .rl-lo { display: list-item; }
  .rl-nav.is-open .rl-links a { display: block; padding: 12px 0; font-size: 1.0625rem; }
  .rl-hero { display: flex; flex-direction: column; height: auto; }
  .rl-page { --rl-wall-h: clamp(420px, 90vw, 560px); }
  /* the 3:4 photograph fills the width; the crop keeps the leak about 62% down the strip */
  .rl-wall { order: -1; height: var(--rl-wall-h); flex: none; --ar: .75; --ly: max(100cqh - var(--H), min(0px, 100cqh * .62 - var(--H) * .7205)); }
  .rl-wall .rl-markup-wrap, .rl-wall .rl-found-wrap { left: -68.52%; width: 237.04%; }
  .rl-dim { left: auto; right: 0; }
  .rl-vf-key { top: 19%; gap: 4px; padding: 2px 6px; font-size: .625rem; letter-spacing: .06em; }
  .rl-vf-key i { width: 12px; }
  .rl-key-c { margin-left: 4px; }
  .rl-dim-t { left: auto; right: 0; padding: 1px 12px 1px 6px; background: linear-gradient(270deg, transparent 10px, rgba(241, 244, 243, .9) 10px); }
  .rl-dim-t::before { left: auto; right: -4px; }
  .rl-hero-text { padding: 10px 16px 8px calc(var(--rl-m) + var(--rl-hang)); }
  .rl-hero-tag { display: none; }
  .js-on .rl-run-lab { display: none; }
  .rl-page:not(.js-on)::before { top: calc(var(--rl-nav-h) + var(--rl-wall-h) + 50vw * .78 + 30px); }
  .rl-h1 { margin: 0; }
  .rl-name { font-size: 50vw; margin-left: calc(16px - var(--rl-m) - var(--rl-hang) - .04em); }
  .rl-h1-line { margin-top: calc(20px + var(--rl-r) + 18px); font-size: 1.5rem; line-height: 1.083; max-width: 14ch; }
  .rl-hero-text { display: grid; }
  .rl-ctrl { order: 1; margin-top: 14px; flex-wrap: nowrap; gap: 8px; }
  .rl-btn { font-size: .875rem; padding-right: 12px; }
  .rl-spot { order: 2; min-height: 0; }
  .rl-sub { order: 3; margin-top: 16px; }
  .rl-hero-note { position: static; order: 4; writing-mode: horizontal-tb; transform: none; margin-top: 12px; white-space: normal; }

  .rl-g { display: block; }
  .rl-g > * + * { margin-top: 40px; }
  .rl-h2 { margin-top: 14px; }
  .rl-wp-r { display: none; }
  .rl-tee-r { text-align: left; }
  .rl-tee-r::before { left: calc(var(--rl-hang) * -1 + 7px); right: auto; }
  .rl-tee-r .rl-t { right: auto; left: calc(var(--rl-hang) * -1 - 12px); }
  .rl-hangs::before, .rl-hangs::after { display: none; }
  .rl-fig { width: min(100%, 330px); }
  .rl-cut { max-width: 400px; }
  .rl-legend, .rl-legend-5 { grid-template-columns: 1fr; }
  .rl-leaks-lead { margin-top: 20px; }
  .rl-leaks-body { margin-top: 12px; }
  .rl-drops { grid-template-columns: 1fr; gap: 0; }
  .rl-drop { padding-top: 16px; }
  .rl-drop::before { top: 0; height: 30px; }
  .rl-drop::after { top: 22px; }
  .rl-drop:first-child::before { top: -12px; height: 42px; }
  .rl-bath-t { margin-top: 0; }
  .rl-bath-fig { margin-top: 40px; }
  .rl-bath .rl-g { display: flex; flex-direction: column-reverse; }
  .rl-kit-fig { margin-top: 12px; }
  .rl-kit-t .rl-tee { padding-left: 0; }
  .rl-kit-t .rl-tee::before { display: block; }
  .rl-kit-t .rl-tee-d::before { display: block; }
  .rl-kit .rl-g { display: flex; flex-direction: column-reverse; }
  .rl-kit .rl-g > * + * { margin-top: 0; }
  .rl-kit-fig { margin-top: 32px; }
  .rl-hw-fig { width: 160px; margin-top: 28px; }
  .rl-solver { display: block; margin-left: calc(var(--rl-hang) * -1 + 10px); margin-right: calc(var(--rl-m) * -1 + 4px); padding: 16px 14px 20px; }
  .rl-solver > * + * { margin-top: 24px; }
  .rl-plan { max-width: 380px; margin-left: auto; margin-right: auto; }
  .rl-read { display: block; }
  .rl-tbl td { width: 16%; }
  .rl-hw-ctrl { gap: 16px 20px; }
  .rl-fx, .rl-seg span, .rl-ring span { min-height: 40px; padding: 0 12px; font-size: .875rem; }
  .rl-addtag { margin-left: 0; }
  .rl-gas-list { margin-top: 20px; }
  .rl-gas-note { margin-top: 20px; }
  .rl-gasd { margin-top: 28px; }
  .rl-stops { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
  .rl-stops > li { padding-left: 0; }
  .rl-v { position: absolute; left: calc(var(--rl-hang) * -1 - 24px); top: -12px; margin: 0; transform: rotate(-90deg); }
  .rl-stops > li { padding-top: 2px; }
  .rl-stops > li.rl-stops-wp { display: none; }
  .rl-how-body { margin-top: 56px; }
  .rl-bench { padding: 20px 18px 16px; }
  .rl-subs { font-size: clamp(2rem, 9vw, 2.5rem); line-height: 1.05; }
  .rl-row2 { grid-template-columns: 1fr; }
  .rl-enq-body { padding-top: 12px; }
  .rl-sv { width: 40px; height: 40px; margin-top: -20px; left: calc(var(--rl-hang) * -1 - 20px); }
  .rl-valve { min-height: 52px; padding: 0 16px; font-size: 1rem; }
  .rl-wp-end { top: 26px; }
  .rl-foot-bar { flex-direction: column; align-items: flex-start; }
}
/* a short phone: photo strip, then the name with its line beside it */
@media (max-width: 700px) and (max-height: 640px) {
  .rl-page { --rl-vf: 120px; --rl-wall-h: 220px; }
  .rl-wall { --ly: calc((100cqh - var(--H)) * .8); }
  .rl-page:not(.js-on)::before { top: calc(var(--rl-nav-h) + var(--rl-wall-h) + 25.6vw * .78 + 30px); }
  .rl-hero-text { padding-top: 12px; }
  .rl-h1 { flex-direction: row; align-items: flex-start; gap: 14px; }
  .rl-name { font-size: 25.6vw; }
  .rl-h1-line { margin-top: .1em; font-size: 1.1875rem; line-height: 1.105; max-width: 11ch; }
  .rl-ctrl { margin-top: calc(20px + var(--rl-r) + 18px); }
  .rl-btn-hot { flex: 1; justify-content: flex-start; }
  .rl-btn-find { display: none; }
}
@media (max-width: 360px) {
  .rl-btn-find span { font-size: .8125rem; }
  .rl-enq { padding-right: 10px; }
  .rl-fx, .rl-seg span, .rl-ring span { padding: 0 10px; }
}

/* ── reduced motion: every final state ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .rl-page *, .rl-page *::before, .rl-page *::after { animation: none !important; transition: none !important; }
  .rl-wall.is-live .rl-vf-cv { clip-path: none; }
  .rl-page .rl-run-water { stroke-dashoffset: 0 !important; }
  .rl-page .rl-run-flow { display: none; }
  .rl-page .rl-tee, .rl-page .rl-hangs, .rl-page .rl-stops > li { --rl-core: #1747A6; }
  .rl-page .rl-tee { color: var(--rl-blue); }
  .rl-page .rl-sq .rl-ph, .rl-page .rl-v-h { transform: none !important; }
  .rl-page.is-closed .rl-sv-h { transform: rotate(90deg) !important; }
}
.rl-pl-heater.is-ready { transition: transform .35s cubic-bezier(.2, .7, .1, 1); }
@media (prefers-reduced-motion: reduce) { .rl-pl-heater.is-ready { transition: none; } }
.rl-jobtag[hidden] { display: none; }
.rl-meter { display: flex; gap: 20px; align-items: flex-start; max-width: 36em; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rl-rule); }
.rl-meter p { margin: 0; }
.rl-meter .rl-label { margin-bottom: 8px; color: var(--rl-copper-ink); }
.rl-meter-d { flex: none; width: 132px; height: auto; margin-top: 2px; }
.rl-meter-d > rect, .rl-meter-d > circle { fill: var(--rl-porcelain); stroke: var(--rl-ink); stroke-width: 1.25px; }
.rl-meter-d path { stroke: var(--rl-blue); stroke-width: 2px; }
.rl-meter-n rect { fill: var(--rl-ink); }
.rl-meter-n .rl-meter-r { fill: var(--rl-blue); }
.rl-meter-t text { font: 600 14px var(--rl-font); fill: var(--rl-porcelain); }
@media (max-width: 700px) { .rl-meter { flex-direction: column; gap: 12px; } }
.rl-plan.is-tall .rl-pl-room { font-size: calc(9px * var(--rl-pk)); letter-spacing: .05em; }
