/* Mirror layout (site 5, Butler County baths). A steamed bathroom mirror: things arrive fogged and are wiped clear,
   cards fog faintly and clear on hover while beads of condensation slide down. Arch topped shapes like a vanity mirror.
   Deep petrol teal on porcelain, brushed nickel accents. Motion is transform, opacity and mask only. */
:root {
  --nickel: #AEB8BA; --nickel-2: #D6DDDE; --nickel-3: #E8EDED;
  --teal-2: #1F7479; --teal-3: #5E9B9E; --teal-4: #A9CACB; --teal-5: #DCE9E8;
  --tint: #E4ECEB;
  --fog: url(/media/fog.webp);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --wipe: cubic-bezier(.55, .05, .25, 1);
  --sh: 0 1px 2px rgba(10, 36, 39, .06), 0 18px 40px -22px rgba(10, 36, 39, .28);
  --sh-up: 0 2px 4px rgba(10, 36, 39, .06), 0 30px 60px -26px rgba(10, 36, 39, .38);
  --arch-card: 50% 50% 16px 16px / 46px 46px 16px 16px;
  --arch-cap: 26px 26px 10px 10px / 22px 22px 10px 10px;
  --gutter: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.62 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
button { font: inherit; color: inherit; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--teal-3); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 900px; }
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-sm { width: 18px; height: 18px; }
.ic-lg { width: 32px; height: 32px; }

/* steam: two slow teal clouds behind the whole page, so the porcelain never reads flat */
.steam { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.steam i { position: absolute; width: 90vmax; height: 90vmax; background: var(--accent); opacity: .08; -webkit-mask-image: var(--fog), radial-gradient(closest-side, #000 25%, transparent 100%); mask-image: var(--fog), radial-gradient(closest-side, #000 25%, transparent 100%); -webkit-mask-size: cover, 100% 100%; mask-size: cover, 100% 100%; -webkit-mask-composite: source-in; mask-composite: intersect; will-change: transform; }
.steam i:first-child { left: -30vmax; top: -20vmax; animation: drift 46s ease-in-out infinite alternate; }
.steam i:last-child { right: -34vmax; bottom: -30vmax; opacity: .06; transform: rotate(180deg); animation: drift2 58s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(14vmax, 10vmax, 0) rotate(20deg); } }
@keyframes drift2 { to { transform: translate3d(-12vmax, -8vmax, 0) rotate(160deg); } }

/* ---------- type ---------- */
.h1, .h2, h3, .price-big { font-family: var(--f-display); font-weight: var(--f-display-w); text-transform: uppercase; letter-spacing: -.012em; line-height: 1.04; }
.h1 { font-size: clamp(36px, 5.6vw, 80px); color: #fff; }
.h2 { font-size: clamp(28px, 3.3vw, 46px); color: var(--ink); }
h3 { font-size: 20px; letter-spacing: 0; line-height: 1.15; }
.kick { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 700 13px/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.kick::before { content: ''; width: 10px; height: 13px; border-radius: 5px 5px 1px 1px; background: linear-gradient(160deg, var(--teal-4), var(--accent)); flex: none; }
.kick-light { color: #E3EEEE; }
.kick-light::before { background: linear-gradient(160deg, #fff, var(--nickel)); }
.head { text-align: center; max-width: 860px; margin: 0 auto 52px; }
.head .sub { margin: 18px auto 0; max-width: 700px; font-size: 19px; color: var(--muted); }
.lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; }
.fine { margin: 18px auto 0; text-align: center; font-size: 14px; color: var(--muted); max-width: 760px; }
.muted { color: var(--muted); }

/* headline words: clear from the fog one by one, lift on hover */
.words .w { display: inline-block; transition: transform .45s var(--ease), opacity .45s var(--ease), filter .45s var(--ease), color .3s; transition-delay: calc(var(--i) * 16ms); }
.js .words:not(.in) .w { opacity: 0; transform: translateY(.32em); filter: blur(5px); }
.js .words.in:not(.done) .w { transition-delay: calc(var(--i) * 45ms); }
.words:hover .w { transform: translateY(-.08em); }
.words:hover .w:nth-child(odd) { color: var(--teal-2); }
.hero .words:hover .w:nth-child(odd), .phero .words:hover .w:nth-child(odd), .band .words:hover .w:nth-child(odd) { color: #CFE3E3; }

/* ---------- the fog: one layer per card, wiped clear on reveal, faintly back and cleared again on hover ---------- */
.wipe, .fogc { position: relative; }
.wipe::after, .fogc::after {
  content: ''; position: absolute; inset: 0; z-index: 5; border-radius: inherit; pointer-events: none;
  background: var(--fog) center / cover, rgba(228, 236, 235, .72);
  -webkit-mask: linear-gradient(112deg, transparent 0 38%, #000 52% 100%) 0 0 / 300% 100% no-repeat;
  mask: linear-gradient(112deg, transparent 0 38%, #000 52% 100%) 0 0 / 300% 100% no-repeat;
  opacity: 0;
}
.js .wipe:not(.in) { opacity: 0; transform: translateY(18px); }
.js .wipe:not(.in)::after { opacity: 1; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
.js .wipe { transition: opacity .38s var(--ease), transform .55s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js .wipe::after { transition: -webkit-mask-position .62s var(--wipe), mask-position .62s var(--wipe), opacity .3s; transition-delay: calc(var(--i, 0) * 60ms + .12s); }
.js .wipe.in::after { opacity: 1; -webkit-mask-position: 0 0; mask-position: 0 0; }
.js .wipe.settled { transition-delay: 0s; }
.js .wipe.settled::after { transition-delay: 0s; }
@keyframes fogpass {
  0% { opacity: 0; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  30% { opacity: .5; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  100% { opacity: .5; -webkit-mask-position: 0 0; mask-position: 0 0; }
}
.bead { position: absolute; top: 18px; z-index: 6; width: 8px; height: 10px; border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 36% 30%, #fff 0 16%, rgba(255, 255, 255, .6) 30%, rgba(14, 90, 95, .2) 66%, rgba(14, 90, 95, .06) 100%);
  box-shadow: 0 1px 1px rgba(10, 36, 39, .18); }
.bead.b1 { left: 16%; }
.bead.b2 { left: 58%; width: 6px; height: 8px; top: 30px; }
.bead.b3 { left: 83%; width: 7px; height: 9px; top: 22px; }
@keyframes bead { 0% { opacity: 0; transform: translateY(0) scale(.6); } 14% { opacity: .95; transform: translateY(0) scale(1); } 30% { transform: translateY(6px); } 85% { opacity: .9; } 100% { opacity: 0; transform: translateY(110px); } }
@media (hover: hover) and (pointer: fine) and (min-width: 761px) {
  .fogc:hover::after { animation: fogpass .72s var(--wipe) both; }
  .fogc:hover .bead { animation: bead 1.5s cubic-bezier(.6, .05, .8, .5) both; }
  .fogc:hover .bead.b2 { animation-duration: 1.9s; animation-delay: .15s; }
  .fogc:hover .bead.b3 { animation-duration: 1.25s; animation-delay: .3s; }
}

/* text blocks rise instead of fogging (a fog box over plain text would draw an edge) */
.js .rv:not(.in) { opacity: 0; transform: translateY(18px); }
.js .rv { transition: opacity .5s var(--ease), transform .6s var(--ease); }

/* ---------- buttons: arch capped, a squeegee sheen wipes across on hover ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 15px 30px; border: 0; border-radius: var(--arch-cap); background: linear-gradient(180deg, var(--teal-2), var(--accent) 60%); color: #fff; font: 600 17px/1.25 var(--f-body); text-decoration: none; text-align: center; cursor: pointer; box-shadow: 0 16px 30px -16px rgba(14, 90, 95, .75), inset 0 1px 0 rgba(255, 255, 255, .22); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.btn::before { content: ''; position: absolute; z-index: -1; top: -20%; bottom: -20%; left: 0; width: 46%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .34) 45%, rgba(255, 255, 255, .5) 50%, transparent 56%); transform: translateX(-130%) skewX(-12deg); }
.btn .arr { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 15px 15px 6px 6px; background: rgba(255, 255, 255, .16); transition: transform .35s var(--ease); flex: none; }
.btn .arr svg { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 22px 36px -16px rgba(14, 90, 95, .8), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn:hover::before { transition: transform .75s var(--wipe); transform: translateX(330%) skewX(-12deg); }
.btn:hover .arr { transform: translateX(5px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn-wide { width: 100%; max-width: 780px; }
.btn-hero { min-height: 66px; font-size: 18.5px; padding: 17px 34px; }
.btn-light { background: linear-gradient(180deg, #fff, #EEF3F3); color: var(--accent); box-shadow: 0 18px 34px -18px rgba(0, 0, 0, .55); }
.btn-light .arr { background: var(--teal-5); }
.btn-light::before { background: linear-gradient(100deg, transparent, rgba(14, 90, 95, .1) 45%, rgba(14, 90, 95, .16) 50%, transparent 56%); }
.btn-sm { min-height: 44px; padding: 9px 18px; font-size: 15px; border-radius: 20px 20px 8px 8px / 17px 17px 8px 8px; }
.btn-sm .arr { width: 24px; height: 24px; }
.cta-row { display: flex; justify-content: center; margin-top: 48px; }
.hero .cta-row, .phero .cta-row { margin-top: 30px; }

/* ---------- header: a normal bar, hidden at the top, slides in once you scroll ---------- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transform: translateY(-110%); transition: transform .45s var(--ease); }
.hdr.show { transform: none; }
.hdr-in { position: relative; display: flex; align-items: center; gap: 28px; height: 70px; padding: 0 max(var(--gutter), calc((100vw - 1220px) / 2 + var(--gutter))); background: rgba(246, 248, 248, .97); box-shadow: 0 12px 30px -20px rgba(10, 36, 39, .45); overflow: hidden; }
.hdr-in::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: var(--fog) center / cover, rgba(228, 236, 235, .6); -webkit-mask: linear-gradient(112deg, transparent 0 38%, #000 52% 100%) 0 0 / 300% 100% no-repeat; mask: linear-gradient(112deg, transparent 0 38%, #000 52% 100%) 0 0 / 300% 100% no-repeat; opacity: 0; }
.hdr.show .hdr-in::after { animation: fogpass .8s var(--wipe) .05s both; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.logo .mark { width: 42px; height: 42px; transition: transform .45s var(--ease); }
.logo:hover .mark { transform: translateY(-2px) rotate(-4deg); }
.logo .word { display: flex; flex-direction: column; line-height: 1; }
.logo .word b { font: var(--f-display-w) 16px/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.logo .word i { font: 600 11.5px/1 var(--f-body); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-2); margin-top: 5px; transition: letter-spacing .4s var(--ease); }
.logo:hover .word i { letter-spacing: .24em; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { position: relative; padding: 10px 16px; text-decoration: none; font-weight: 600; font-size: 16px; color: var(--ink); }
.nav a::before { content: ''; position: absolute; inset: 4px 2px 2px; z-index: -1; border-radius: 50% 50% 8px 8px / 14px 14px 8px 8px; background: var(--teal-5); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .35s var(--ease); }
.nav a span { display: inline-block; transition: transform .35s var(--ease); }
.nav a:hover::before, .nav a[aria-current]::before { transform: none; }
.nav a:hover span { transform: translateY(-2px); }
.nav a[aria-current] { color: var(--accent); }
.hdr .btn-sm { flex: none; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 16px 16px 8px 8px; background: var(--teal-5); cursor: pointer; position: relative; flex: none; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2.5px; border-radius: 2px; background: var(--accent); transition: transform .3s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; gap: 32px; padding: 100px 24px 40px; background: radial-gradient(120% 70% at 50% 0%, var(--teal-2), var(--dark) 80%); }
.sheet[hidden] { display: none; }
.sheet nav { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sheet nav a { font: var(--f-display-w) 34px/1.2 var(--f-display); text-transform: uppercase; color: #fff; text-decoration: none; padding: 6px 0; animation: sheetIn .45s var(--ease) both; animation-delay: calc(var(--i) * 50ms); }
.sheet .btn { align-self: center; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(14px); } }

/* ---------- hero: full bleed bath clips that clear from fog on load and steam between clips ---------- */
.hero, .phero { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #fff; background: var(--dark); }
.hero { min-height: 100vh; min-height: 100svh; }
.phero { min-height: min(80svh, 760px); min-height: 560px; }
.hero-media, .phero-media { position: absolute; inset: 0; z-index: -3; }
.hero-media video, .hero-ph, .phero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { opacity: 0; transition: opacity 1s ease; }
.hero-media video.on { opacity: 1; }
.hero-ph { background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease; }
.hero-ph.on { opacity: 1; animation: zoom 6.5s linear both; }
@keyframes zoom { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.phero-media img { animation: zoom 14s linear both; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(8, 30, 33, .62) 0%, rgba(8, 30, 33, .34) 30%, rgba(8, 30, 33, .42) 62%, rgba(8, 30, 33, .74) 100%); }
.phero .hero-shade { background: linear-gradient(180deg, rgba(8, 30, 33, .66) 0%, rgba(8, 30, 33, .46) 45%, rgba(8, 30, 33, .7) 100%); }
.hero-fog { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--fog) center / cover, rgba(226, 235, 234, .82);
  -webkit-mask: linear-gradient(112deg, transparent 0 38%, #000 52% 100%) 0 0 / 300% 100% no-repeat; mask: linear-gradient(112deg, transparent 0 38%, #000 52% 100%) 0 0 / 300% 100% no-repeat;
  animation: clearIn .9s var(--wipe) .05s both; }
@keyframes clearIn { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
.hero-fog.steam-on { animation: steamPass 1.15s var(--wipe) both; }
@keyframes steamPass {
  0% { opacity: 0; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  38% { opacity: .62; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  100% { opacity: .62; -webkit-mask-position: 0 0; mask-position: 0 0; }
}
.hero-in, .phero-in { position: relative; width: 100%; max-width: 1060px; padding: 130px var(--gutter) 150px; text-align: center; }
.phero-in { padding: 140px var(--gutter) 130px; }
.hero-h1 .ln { display: block; }
.hero-h1 { font-size: clamp(38px, 6.5vw, 96px); text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero .lead, .phero .lead { max-width: 780px; margin: 24px auto 0; color: #F1F6F6; text-shadow: 0 1px 14px rgba(0, 0, 0, .3); }
.phero .h1 { text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.js .rise { animation: riseIn .6s var(--ease) var(--d, 0s) both; }
@keyframes riseIn { from { opacity: 0; transform: translateY(16px); } }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 26px 0 0; padding: 0; list-style: none; font-weight: 600; font-size: 16px; color: #E8F0F0; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; transition: transform .3s var(--ease); }
.hero-badges li:hover { transform: translateY(-2px); }
.hero-badges .ic { color: var(--teal-4); stroke-width: 2.2; }
.hero-arches { position: absolute; bottom: 92px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hero-arches li { position: relative; width: 16px; height: 22px; border-radius: 8px 8px 2px 2px; background: rgba(255, 255, 255, .26); overflow: hidden; }
.hero-arches li b { position: absolute; inset: 0; background: #fff; transform: scaleY(0); transform-origin: 50% 100%; }
.hero-arches li.done b { transform: none; }
.hero-arches li.on b { animation: archFill var(--dur, 6s) linear both; }
@keyframes archFill { to { transform: none; } }
/* the page rises into the hero in one wide arch */
.hero-rise { position: absolute; z-index: 2; left: -6%; right: -6%; bottom: -1px; height: 70px; background: var(--bg); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 18px; font-size: 15px; color: #DCE8E8; }
.crumbs a { text-decoration: none; color: #fff; font-weight: 600; transition: color .2s; }
.crumbs a:hover { color: var(--teal-4); }

/* ---------- sections ---------- */
.sec { position: relative; padding: 88px 0; }
.sec-first { padding-top: 60px; }
.sec-tight { padding: 56px 0; }
.sec-tint { background: linear-gradient(180deg, transparent 0, var(--tint) 120px, var(--tint) calc(100% - 120px), transparent 100%); }

/* ---------- demo: phone in front of an arched mirror, points clear in sync ---------- */
.demo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; max-width: 1120px; margin: 0 auto; }
.stage { display: flex; justify-content: center; align-items: flex-end; padding: 54px 0 0; border-radius: 50% 50% 22px 22px / 200px 200px 22px 22px; background: radial-gradient(130% 80% at 50% 0%, #FFFFFF 0%, #E3ECEB 55%, #D4E2E1 100%); box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .85), var(--sh); overflow: hidden; }
.stage-arch { position: absolute; inset: 0; pointer-events: none; }
.glare { position: absolute; top: 6%; left: 16%; width: 13%; height: 62%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); transform: rotate(32deg); transition: transform 1.2s var(--ease); }
.glare.g2 { left: 34%; width: 7%; opacity: .7; }
.stage:hover .glare { transform: rotate(32deg) translateX(180px); }
.phone { position: relative; z-index: 1; width: 290px; margin: 0; padding: 9px; border-radius: 42px 42px 0 0; background: linear-gradient(160deg, #23393C, #0B1C1E); box-shadow: 0 -10px 40px -10px rgba(10, 36, 39, .5); transition: transform .5s var(--ease); }
.phone-screen { position: relative; aspect-ratio: 390 / 760; border-radius: 34px 34px 0 0; overflow: hidden; background: #fff; }
.phone-screen video, .phone-screen img { width: 100%; height: auto; display: block; }
.stage:hover .phone { transform: translateY(-8px); }
.points { display: grid; grid-template-rows: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pt { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; gap: 6px 18px; align-content: center; padding: 34px 32px 30px; border-radius: var(--arch-card); background: var(--surface); box-shadow: var(--sh); cursor: pointer; overflow: hidden; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.pt::before { content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: var(--fog) center / cover, rgba(232, 239, 238, .5); opacity: .82; transition: opacity .55s var(--ease); }
.pt.on::before { opacity: 0; }
.pt.on { box-shadow: var(--sh-up); }
.pt:hover { transform: translateY(-3px); }
.pt-n { grid-row: 1 / 3; align-self: center; font: var(--f-display-w) 46px/1 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px var(--teal-3); transition: color .4s; }
.pt.on .pt-n { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.pt-ic { display: none; }
.pt-c b { display: block; font: var(--f-display-w) 20px/1.2 var(--f-display); text-transform: uppercase; margin-bottom: 6px; }
.pt-c p { margin: 0; color: var(--muted); font-size: 17px; }
.pt-bar { position: absolute; left: 32px; right: 32px; bottom: 14px; height: 4px; border-radius: 4px; background: var(--nickel-3); overflow: hidden; }
.pt-bar b { position: absolute; inset: 0; background: linear-gradient(90deg, var(--teal-3), var(--accent)); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }

/* ---------- story: copy beside three arched niches ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.story-copy { display: flex; flex-direction: column; justify-content: center; }
.story-copy .h2 { margin-bottom: 26px; }
.story-copy p { font-size: 18.5px; }
.story-copy p b { color: var(--accent); }
.story-copy p:last-child { margin-bottom: 0; }
.niches { display: flex; flex-direction: column; padding: 56px 34px 30px; border-radius: 50% 50% 22px 22px / 90px 90px 22px 22px; background: var(--surface); box-shadow: var(--sh-up); }
.niches-t { margin: 0 0 22px; text-align: center; font: var(--f-display-w) 15px/1.2 var(--f-display); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.cols { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; min-height: 340px; }
.col { display: flex; flex-direction: column; text-align: center; }
.nw { position: relative; flex: 1; min-height: 220px; }
.niche { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); border-radius: 999px 999px 10px 10px; overflow: hidden; background: linear-gradient(180deg, var(--teal-5), #C9DCDB); transform-origin: 50% 100%; transition: transform .8s var(--ease); }
.niche-fog { position: absolute; inset: 0; background: var(--fog) center / cover, rgba(214, 226, 225, .4); }
.niche .q { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); font: var(--f-display-w) 44px/1 var(--f-display); color: rgba(14, 90, 95, .35); animation: qpulse 2.8s ease-in-out infinite; }
@keyframes qpulse { 50% { opacity: .45; } }
.col-y .niche { display: flex; flex-direction: column-reverse; background: var(--teal-5); box-shadow: 0 16px 30px -16px rgba(14, 90, 95, .6); }
.ly { display: block; height: var(--lh); transform-origin: 50% 100%; transition: transform .5s var(--ease); transition-delay: calc(.5s + var(--i) * .14s); }
.l1 { background: var(--accent); } .l2 { background: var(--teal-2); background: #2E8186; } .l3 { background: var(--teal-4); } .l4 { background: #7DAAAC; }
.fair { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); padding: 3px 10px; border-radius: 10px 10px 4px 4px; background: rgba(255, 255, 255, .9); color: var(--accent); font: 700 12px/1.3 var(--f-body); letter-spacing: .12em; text-transform: uppercase; }
.js .niches:not(.in) .niche { transform: scaleY(.04); }
.js .niches:not(.in) .ly { transform: scaleY(0); }
.col-a .niche { transition-delay: .15s; } .col-b .niche { transition-delay: .25s; } .col-y .niche { transition-delay: .35s; }
.col em { display: block; margin-top: 14px; font: var(--f-display-w) 18px/1.15 var(--f-display); text-transform: uppercase; font-style: normal; color: var(--muted); }
.col em s { text-decoration-thickness: 2px; text-decoration-color: rgba(14, 90, 95, .7); }
.col-y em { color: var(--accent); }
.col b { display: block; margin-top: 4px; font-size: 15px; }
.col span:not(.q):not(.fair):not(.niche-fog) { display: block; font-size: 14.5px; line-height: 1.35; color: var(--muted); margin-top: 2px; }
.key { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.key li { display: inline-flex; align-items: center; gap: 7px; }
.key s { width: 12px; height: 14px; border-radius: 6px 6px 2px 2px; display: inline-block; }

/* ---------- UGC triptych: three mirrors, the one playing is clear ---------- */
.trip { max-width: 1060px; margin: 0 auto; }
.trip-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ugc { margin: 0; cursor: pointer; transition: transform .5s var(--ease); }
.ugc.on { cursor: default; }
.ugc-media { position: relative; aspect-ratio: 9 / 16; border-radius: 50% 50% 20px 20px / 30% 30% 20px 20px; overflow: hidden; background: var(--dark); box-shadow: var(--sh); transition: box-shadow .5s var(--ease); }
.ugc.on .ugc-media { box-shadow: 0 0 0 6px #fff, var(--sh-up); }
.ugc-media video { width: 100%; height: 100%; object-fit: cover; }
.ugc-brand { position: absolute; top: 11%; left: 50%; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 5px; border-radius: 14px 14px 6px 6px; background: rgba(255, 255, 255, .92); color: var(--ink); font: 700 12.5px/1 var(--f-body); white-space: nowrap; }
.ugc-brand .mark { width: 22px; height: 22px; }
.cap { position: absolute; left: 12px; right: 12px; bottom: 64px; z-index: 3; margin: 0; text-align: center; font: 700 19px/1.25 var(--f-body); color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); min-height: 1.3em; }
.cap span { transition: color .15s; }
.cap span.on { color: #A8E3E4; }
.sound { position: absolute; right: 14px; bottom: 18px; z-index: 4; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 21px 21px 9px 9px; background: rgba(255, 255, 255, .92); color: var(--accent); cursor: pointer; transition: transform .3s var(--ease); }
.sound:hover { transform: translateY(-2px); }
.sound svg { width: 22px; height: 22px; }
.sound .wv2 { display: none; } .sound[aria-pressed="true"] .wv2 { display: block; } .sound[aria-pressed="true"] .x { display: none; }
/* while muted the button says what it does */
.ugc.on .sound:not([aria-pressed="true"]) { width: auto; padding: 0 15px 0 11px; grid-auto-flow: column; gap: 7px; }
.ugc.on .sound:not([aria-pressed="true"])::after { content: "Tap for sound"; font: 700 13px/1 var(--f-body); }
.ugc-brand, .cap, .ugc-fog { pointer-events: none; }
.ugc-fog { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; background: var(--fog) center / cover, rgba(220, 232, 231, .78);
  -webkit-mask: linear-gradient(112deg, transparent 0 38%, #000 52% 100%) 100% 0 / 300% 100% no-repeat; mask: linear-gradient(112deg, transparent 0 38%, #000 52% 100%) 100% 0 / 300% 100% no-repeat;
  transition: -webkit-mask-position .7s var(--wipe), mask-position .7s var(--wipe); }
.ugc.on .ugc-fog { -webkit-mask-position: 0 0; mask-position: 0 0; pointer-events: none; }
.ugc-wipe { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 18px 18px 8px 8px; background: rgba(255, 255, 255, .85); color: var(--accent); font-weight: 700; font-size: 15px; transition: transform .35s var(--ease); }
.ugc:hover .ugc-wipe { transform: translateY(-3px); }
.ugc-prog { position: absolute; left: 22px; right: 70px; bottom: 37px; z-index: 3; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.ugc-prog b { position: absolute; inset: 0; background: #fff; transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.ugc figcaption { margin-top: 18px; text-align: center; }
.ugc figcaption b { display: block; font: var(--f-display-w) 20px/1.2 var(--f-display); text-transform: uppercase; }
.ugc figcaption span { display: block; color: var(--muted); font-size: 16px; line-height: 1.4; margin-top: 4px; }
.trip-tabs { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.trip-tabs button { min-width: 108px; padding: 10px 20px; border: 0; border-radius: 20px 20px 8px 8px / 17px 17px 8px 8px; background: var(--surface); color: var(--ink); font-weight: 700; cursor: pointer; box-shadow: var(--sh); transition: transform .3s var(--ease), background .3s, color .3s; }
.trip-tabs button:hover { transform: translateY(-2px); }
.trip-tabs button[aria-selected="true"] { background: var(--accent); color: #fff; }

/* ---------- steps: arched cards hung from one plumbing run that fills as you scroll ---------- */
.run { position: relative; max-width: 1180px; margin: 0 auto; padding-top: 58px; }
.pipe { position: absolute; top: 0; left: 12.5%; right: 12.5%; height: 12px; border-radius: 6px; background: linear-gradient(180deg, #F1F4F4 0%, #BAC4C6 45%, #9DA9AB 70%, #CDD5D6 100%); box-shadow: 0 6px 14px -8px rgba(10, 36, 39, .5); }
.pipe-fill { position: absolute; inset: 3px; border-radius: 4px; background: linear-gradient(90deg, var(--teal-3), var(--accent)); transform: scaleX(var(--f, 0)); transform-origin: 0 50%; }
.drop { position: absolute; top: -4px; left: 0; width: 14px; height: 18px; margin-left: -7px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 35% 30%, #fff 0 14%, var(--teal-3) 50%, var(--accent)); box-shadow: 0 3px 8px rgba(14, 90, 95, .4); transform: translateX(var(--dx, 0)); }
.run-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.rs { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 24px 28px; border-radius: 50% 50% 16px 16px / 90px 90px 16px 16px; background: var(--surface); box-shadow: var(--sh); transition: box-shadow .45s var(--ease), transform .45s var(--ease); }
.rs:hover { transform: translateY(-4px); box-shadow: var(--sh-up); }
.fit { position: absolute; top: -52px; left: 50%; width: 10px; height: 52px; margin-left: -5px; background: linear-gradient(90deg, #D7DEDF, #A3AEB0 60%, #C4CCCD); }
.fit::before { content: ''; position: absolute; left: 50%; top: 18px; width: 22px; height: 12px; margin-left: -11px; border-radius: 4px; background: linear-gradient(180deg, #E8ECEC, #9FAAAC); }
.fit::after { content: ''; position: absolute; left: 2px; right: 2px; top: 0; bottom: 0; background: var(--accent); transform: scaleY(0); transform-origin: 50% 0; transition: transform .45s var(--ease); }
.rs.lit .fit::after { transform: none; }
.rs-ic { display: grid; place-items: center; width: 62px; height: 70px; border-radius: 31px 31px 10px 10px; background: var(--teal-5); color: var(--accent); margin-bottom: 16px; transition: background .4s, color .4s, transform .4s var(--ease); }
.rs.lit .rs-ic { background: var(--accent); color: #fff; }
.rs:hover .rs-ic { transform: translateY(-3px); }
.rs-n { font: 700 13px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-2); margin-bottom: 10px; }
.rs h3 { margin-bottom: 12px; transition: color .3s; }
.rs:hover h3 { color: var(--accent); }
.rs-when { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 14px; padding: 6px 12px; border-radius: 14px 14px 6px 6px; background: var(--nickel-3); color: var(--ink); font-weight: 600; font-size: 14.5px; line-height: 1.2; }
.rs-when .ic { color: var(--accent); }
.rs p:last-of-type { margin: 0; font-size: 16.5px; color: var(--muted); }

/* ---------- service cards: arched; the photo rises into the card on hover ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; min-height: 268px; padding: 44px 30px 26px; border-radius: var(--arch-card); background: var(--surface); box-shadow: var(--sh); text-decoration: none; color: var(--ink); transition: box-shadow .45s var(--ease), transform .45s var(--ease), color .35s; }
.card-ph { position: absolute; inset: 0; z-index: -1; opacity: 0; transform: translateY(26%) scale(1.06); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.card-ph img { width: 100%; height: 100%; object-fit: cover; }
.card-ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 30, 33, .2) 0%, rgba(8, 30, 33, .58) 45%, rgba(8, 30, 33, .9) 100%); }
.card-ic { display: grid; place-items: center; width: 56px; height: 62px; border-radius: 28px 28px 9px 9px; background: var(--teal-5); color: var(--accent); margin-bottom: 20px; transition: background .4s, color .4s, transform .45s var(--ease); }
.card b { font: var(--f-display-w) 21px/1.15 var(--f-display); text-transform: uppercase; margin-bottom: 8px; }
.card-l { color: var(--muted); font-size: 16.5px; line-height: 1.45; transition: color .35s; }
.card em { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-style: normal; font-weight: 700; font-size: 15px; color: var(--accent); transition: color .35s, gap .35s var(--ease); }
@media (hover: hover) and (min-width: 761px) {
  .card:hover { transform: translateY(-5px); box-shadow: var(--sh-up); color: #fff; }
  .card:hover .card-ph { opacity: 1; transform: none; }
  .card:hover .card-ic { background: rgba(255, 255, 255, .92); transform: translateY(-3px); }
  .card:hover .card-l { color: #E1ECEC; }
  .card:hover em { color: #fff; gap: 13px; }
}

/* ---------- map: an arched map beside a tiled town list ---------- */
.amap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.amap-map, .fmap { position: relative; min-height: 520px; border-radius: 50% 50% 20px 20px / 120px 120px 20px 20px; overflow: hidden; box-shadow: var(--sh-up); background: var(--tint); }
.amap-map .map, .fmap .map { position: absolute; inset: 0; z-index: 1; }
.tlist { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tlist li { position: relative; display: flex; align-items: stretch; border-radius: 16px 16px 8px 8px; background: var(--surface); box-shadow: var(--sh); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s; }
.tlist li:hover { transform: translateY(-3px); box-shadow: var(--sh-up); }
.tlist li.on { background: var(--accent); color: #fff; }
.tlist button { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 12px 6px 12px 18px; border: 0; background: none; text-align: left; cursor: pointer; }
.tlist button b { font-weight: 700; font-size: 16.5px; line-height: 1.2; }
.tlist button span { font-size: 13.5px; color: var(--muted); }
.tlist li.on button span { color: #CFE3E3; }
.tlist a { display: grid; place-items: center; width: 46px; color: var(--accent); flex: none; transition: transform .3s var(--ease); }
.tlist li.on a { color: #fff; }
.tlist a:hover { transform: translateX(3px); }
.leaflet-container { font: inherit; background: var(--tint); }
.leaflet-popup-content-wrapper { border-radius: 16px 16px 8px 8px; box-shadow: var(--sh-up); }
.leaflet-popup-content { margin: 14px 16px; font-size: 14.5px; line-height: 1.5; }
.leaflet-popup-content b { display: block; font-size: 16px; margin-bottom: 2px; }
.leaflet-popup-content a { color: var(--accent); font-weight: 700; }
.map-label { background: rgba(255, 255, 255, .94); border: 0; border-radius: 8px; box-shadow: 0 4px 12px -4px rgba(10, 36, 39, .35); font-weight: 700; font-size: 12.5px; color: var(--ink); padding: 3px 8px; }
.map-label::before { display: none; }
.pulse-dot { animation: pulse 2.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 50% { opacity: .7; } }
.leaflet-control-zoom a { border-radius: 10px !important; }

/* ---------- FAQ ---------- */
.acc { display: grid; gap: 12px; }
.acc details { border-radius: 22px 22px 12px 12px / 18px 18px 12px 12px; background: var(--surface); box-shadow: var(--sh); overflow: hidden; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.acc details:hover { transform: translateY(-2px); box-shadow: var(--sh-up); }
.acc summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 22px 26px; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.q-n { font: var(--f-display-w) 18px/1 var(--f-display); color: var(--teal-3); transition: color .3s; }
.q-t { font-weight: 700; font-size: 18.5px; line-height: 1.35; transition: transform .35s var(--ease); }
.acc summary:hover .q-t { transform: translateX(4px); }
.q-x { position: relative; width: 34px; height: 38px; border-radius: 17px 17px 7px 7px; background: var(--teal-5); transition: background .3s, transform .4s var(--ease); }
.q-x::before, .q-x::after { content: ''; position: absolute; left: 10px; right: 10px; top: 20px; height: 2.5px; margin-top: -1px; border-radius: 2px; background: var(--accent); transition: transform .4s var(--ease), background .3s; }
.q-x::after { transform: rotate(90deg); }
details[open] .q-x { background: var(--accent); }
details[open] .q-x::before, details[open] .q-x::after { background: #fff; }
details[open] .q-x::after { transform: rotate(0); }
details[open] .q-n { color: var(--accent); }
.acc details.clearing::after { animation: fogpass .72s var(--wipe) both; }
.acc-a { position: relative; padding: 0 26px 6px 70px; }
.acc-a p { color: var(--muted); }

/* ---------- town, cost, service blocks ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; }
.facts div { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 36px 18px 26px; border-radius: var(--arch-card); background: var(--surface); box-shadow: var(--sh); transition: transform .4s var(--ease), box-shadow .4s; }
.facts div:hover { transform: translateY(-4px); box-shadow: var(--sh-up); }
.facts .ic { color: var(--accent); margin-bottom: 10px; }
.facts dt { font-size: 14.5px; color: var(--muted); font-weight: 600; }
.facts dd { margin: 6px 0 0; font: var(--f-display-w) clamp(24px, 2.4vw, 34px)/1.1 var(--f-display); color: var(--ink); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.pair-ph { position: relative; margin: 0; min-height: 440px; border-radius: 50% 50% 20px 20px / 170px 170px 20px 20px; overflow: hidden; box-shadow: var(--sh-up); }
.pair-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pair-ph:hover img { transform: scale(1.04); }
.pair-cards { display: grid; grid-auto-rows: 1fr; gap: 20px; }
.pc { display: flex; flex-direction: column; justify-content: center; padding: 40px 34px 32px; border-radius: var(--arch-card); background: var(--surface); box-shadow: var(--sh); transition: transform .4s var(--ease), box-shadow .4s; }
.pc:hover { transform: translateY(-4px); box-shadow: var(--sh-up); }
.pc .ic { color: var(--accent); margin-bottom: 14px; }
.pc b { font: var(--f-display-w) 21px/1.2 var(--f-display); text-transform: uppercase; margin-bottom: 8px; }
.pc p { margin: 0; color: var(--muted); }
.pair-copy { align-items: stretch; }
.pair-txt { display: flex; flex-direction: column; justify-content: center; padding: 10px 0; }
.pair-txt .h2 { margin-bottom: 22px; }
.pair-txt p:last-child { margin-bottom: 0; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0 0; padding: 0; list-style: none; }
.trio li { display: flex; flex-direction: column; padding: 38px 30px 28px; border-radius: var(--arch-card); background: var(--surface); box-shadow: var(--sh); transition: transform .4s var(--ease), box-shadow .4s; }
.trio li:hover { transform: translateY(-4px); box-shadow: var(--sh-up); }
.trio li > span { font: var(--f-display-w) 34px/1 var(--f-display); color: transparent; -webkit-text-stroke: 1.4px var(--teal-3); margin-bottom: 14px; transition: color .35s; }
.trio li:hover > span { color: var(--teal-3); }
.trio li > .ic { color: var(--accent); margin-bottom: 14px; }
.trio b { font: var(--f-display-w) 20px/1.2 var(--f-display); text-transform: uppercase; margin-bottom: 8px; }
.trio p { margin: 0; color: var(--muted); }
.permit-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.permit-row .fmap { min-height: 420px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.chips a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 20px 20px 9px 9px / 17px 17px 9px 9px; background: var(--surface); box-shadow: var(--sh); text-decoration: none; font-weight: 700; transition: transform .3s var(--ease), background .3s, color .3s; }
.chips a:hover { transform: translateY(-3px); background: var(--accent); color: #fff; }
.pricebox { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.pb { display: flex; flex-direction: column; justify-content: center; padding: 50px 40px 38px; border-radius: 50% 50% 20px 20px / 70px 70px 20px 20px; background: var(--surface); box-shadow: var(--sh-up); }
.pb-a { text-align: center; align-items: center; }
.price-big { margin: 4px 0 14px; font-size: clamp(36px, 4.2vw, 56px); color: var(--accent); }
.incl { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.incl li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.incl .ic { color: var(--accent); margin-top: 4px; stroke-width: 2.2; }
.stack { padding: 40px 36px 30px; border-radius: 50% 50% 20px 20px / 60px 60px 20px 20px; background: var(--surface); box-shadow: var(--sh-up); }
.stack-bar { display: flex; height: 26px; border-radius: 13px 13px 6px 6px; overflow: hidden; margin-bottom: 24px; }
.stack-bar i { width: var(--w); transform-origin: 0 50%; transition: transform .6s var(--ease); transition-delay: calc(.3s + var(--i) * 70ms); }
.js .stack:not(.in) .stack-bar i { transform: scaleX(0); }
.stack-bar i.l1:nth-child(2) { background: #1A6B70; } .stack-bar i.l1:nth-child(3) { background: #24767B; } .stack-bar i.l1:nth-child(4) { background: #2E8186; } .stack-bar i.l1:nth-child(5) { background: #3A8C91; }
.stack-rows { margin: 0; padding: 0; list-style: none; }
.stack-rows li { display: grid; grid-template-columns: 14px 1fr auto; grid-template-rows: auto auto; gap: 0 14px; align-items: center; padding: 12px 6px; border-radius: 10px; transition: background .25s; }
.stack-rows li:hover { background: var(--tint); }
.stack-rows s { grid-row: 1 / 3; width: 12px; height: 14px; border-radius: 6px 6px 2px 2px; }
.stack-rows b { font-size: 17px; } .stack-rows span { grid-column: 2; font-size: 14.5px; color: var(--muted); }
.stack-rows em { grid-row: 1 / 3; grid-column: 3; font-style: normal; font-weight: 700; }
.stack-tot { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; padding: 16px 18px; border-radius: 14px 14px 8px 8px; background: var(--tint); font-weight: 700; }
.stack-final { background: var(--accent); color: #fff; }
.updown { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ud { padding: 44px 36px 32px; border-radius: var(--arch-card); background: var(--surface); box-shadow: var(--sh); transition: transform .4s var(--ease), box-shadow .4s; }
.ud:hover { transform: translateY(-4px); box-shadow: var(--sh-up); }
.ud .ic { width: 32px; height: 32px; color: var(--muted); margin-bottom: 12px; }
.ud-up .ic { color: var(--accent); }
.ud b { display: block; font: var(--f-display-w) 21px/1.2 var(--f-display); text-transform: uppercase; margin-bottom: 8px; }
.ud p { margin: 0; color: var(--muted); }
.prose { font-size: 18px; }
.prose p { color: var(--muted); }

/* ---------- band: an arched window onto a bathroom ---------- */
.band { padding: 40px 0 100px; }
.band-arch { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 560px; padding: 120px 40px 80px; border-radius: 50% 50% 28px 28px / 220px 220px 28px 28px; text-align: center; color: #fff; box-shadow: var(--sh-up); }
.band-ph { position: absolute; inset: 0; z-index: -2; }
.band-ph img, .band-ph video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.band-arch:hover .band-ph img, .band-arch:hover .band-ph video { transform: scale(1.08); }
.band-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 30, 33, .42), rgba(8, 30, 33, .55) 45%, rgba(10, 52, 56, .86)); }
.band-arch .glare { top: -10%; left: -20%; width: 12%; height: 130%; opacity: .35; animation: glareDrift 9s ease-in-out infinite; }
@keyframes glareDrift { 50% { transform: rotate(32deg) translateX(900px); } }
.band-in { max-width: 820px; width: 100%; }
.band-in .h2 { color: #fff; font-size: clamp(30px, 4vw, 54px); }
.band-sub { margin: 18px 0 0; font-size: 20px; color: #E3EEEE; }
.band .cta-row { margin-top: 34px; }

/* ---------- footer: petrol, a giant wordmark wiped clear ---------- */
.ft { position: relative; margin-top: 0; padding: 110px 0 30px; color: #CFDDDD; background: radial-gradient(90% 60% at 50% 0%, #10474B 0%, var(--dark) 70%); border-radius: 50% 50% 0 0 / 80px 80px 0 0; overflow: hidden; }
.ft-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.3fr; gap: 48px; }
.ft-brand p { margin-top: 20px; font-size: 15px; line-height: 1.6; color: #A9BFC0; max-width: 380px; }
.logo-light { color: #fff; }
.logo-light .word i { color: var(--teal-4); }
.ft-col h2 { margin: 0 0 14px; font: 700 13px/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-4); }
.ft-col a { display: block; padding: 4px 0; font-size: 16px; text-decoration: none; color: #DCE7E7; transition: transform .3s var(--ease), color .3s; }
.ft-col a:hover { transform: translateX(5px); color: #fff; }
.ft-towns { columns: 2; column-gap: 24px; }
.ft-towns h2 { column-span: all; }
.ft-mark { position: relative; margin: 70px auto 10px; padding: 0 var(--gutter); max-width: 1220px; }
.fw { width: 100%; height: auto; font-family: var(--f-display); font-weight: var(--f-display-w); font-size: 94px; letter-spacing: -.01em; }
.fw-base text { fill: rgba(255, 255, 255, .07); }
.fw-clear { position: absolute; inset: 0 var(--gutter); width: calc(100% - var(--gutter) * 2); }
.fw-clear text { fill: #E9F1F1; }
.fw-clear { -webkit-mask: linear-gradient(112deg, #000 0 38%, transparent 52% 100%) 100% 0 / 300% 100% no-repeat; mask: linear-gradient(112deg, #000 0 38%, transparent 52% 100%) 100% 0 / 300% 100% no-repeat; transition: -webkit-mask-position 1.3s var(--wipe), mask-position 1.3s var(--wipe); }
.ft-mark.in .fw-clear { -webkit-mask-position: 0 0; mask-position: 0 0; }
.ft-mark .bead { top: 22%; width: 12px; height: 15px; opacity: 0; }
.ft-mark.in .bead { animation: ftBead 5s ease-in 1.4s infinite; }
.ft-mark .fb1 { left: 22%; } .ft-mark .fb2 { left: 56%; animation-delay: 2.6s !important; top: 30%; width: 9px; height: 12px; } .ft-mark .fb3 { left: 81%; animation-delay: 3.8s !important; top: 18%; }
@keyframes ftBead { 0% { opacity: 0; transform: translateY(0); } 10% { opacity: .9; } 70% { opacity: .9; } 100% { opacity: 0; transform: translateY(60px); } }
.ft-legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 30px; font-size: 14px; color: #93ABAC; }
.ft-pw { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.ft-pw .ee-logo { height: 18px; width: auto; color: #fff; }
/* credit: EE line + the contractor link, one anchor */
.ft-legal a.ft-pw { flex-direction: column; align-items: center; gap: 6px; text-decoration: none; }
.ft-pw-a { display: inline-flex; align-items: center; gap: 8px; }
.ft-pw-b { font-size: 13.5px; color: #C9D8D8; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--teal-3) 60%, transparent); transition: color .3s, text-decoration-color .3s; }
.ft-pw:hover .ft-pw-b { color: #fff; text-decoration-color: #fff; }
.ft-links a { margin-left: 18px; text-decoration: none; color: #C6D6D6; transition: color .2s; }
.ft-links a:first-child { margin-left: 0; }
.ft-links a:hover { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .hdr .btn-sm { margin-left: auto; }
  .burger { display: block; }
  .run-steps { grid-template-columns: repeat(2, 1fr); gap: 70px 20px; }
  .pipe { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .demo, .story, .amap, .pair, .permit-row, .pricebox, .updown { grid-template-columns: 1fr; }
  .stage { padding-top: 46px; border-radius: 50% 50% 22px 22px / 160px 160px 22px 22px; }
  .points { grid-template-rows: none; }
  .niches { min-height: 520px; }
  .trio { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .ft-brand { grid-column: 1 / -1; }
  .pair-ph { min-height: 380px; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; --arch-card: 50% 50% 14px 14px / 34px 34px 14px 14px; }
  body { font-size: 17.5px; }
  .sec { padding: 72px 0; }
  .sec-first { padding-top: 44px; }
  .sec-tint { background: linear-gradient(180deg, transparent 0, var(--tint) 70px, var(--tint) calc(100% - 70px), transparent 100%); }
  .head { margin-bottom: 36px; }
  .head .sub { font-size: 17.5px; }
  .hdr-in { height: 62px; gap: 10px; }
  .logo .mark { width: 36px; height: 36px; }
  .logo .word b { font-size: 13.5px; }
  .logo .word i { font-size: 9.5px; letter-spacing: .14em; }
  .hdr .btn-sm { padding: 8px 12px; font-size: 14px; min-height: 40px; }
  .hdr .btn-sm .arr { display: none; }
  .hero-in { padding: 110px var(--gutter) 130px; }
  .phero { min-height: 540px; }
  .phero-in { padding: 120px var(--gutter) 100px; }
  .hero-h1 { font-size: clamp(34px, 10.4vw, 52px); }
  .h1 { font-size: clamp(32px, 9vw, 46px); }
  .lead { font-size: 18.5px; }
  .btn-hero { min-height: 62px; font-size: 17px; padding: 14px 20px; }
  .btn { padding: 14px 20px; }
  .hero-badges { gap: 8px 16px; font-size: 14.5px; }
  .hero-arches { bottom: 58px; }
  .hero-rise { height: 34px; }
  .cta-row { margin-top: 36px; }
  .phone { width: 250px; }
  .pt { padding: 30px 22px 30px; }
  .pt-n { font-size: 38px; }
  .pt-bar { left: 22px; right: 22px; }
  .niches { padding: 46px 18px 24px; border-radius: 50% 50% 18px 18px / 60px 60px 18px 18px; min-height: 0; }
  .cols { gap: 10px; min-height: 300px; }
  .col em { font-size: 15px; }
  .col b { font-size: 13.5px; }
  .col span:not(.q):not(.fair):not(.niche-fog) { font-size: 13px; }
  .trip-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 12px calc(13vw) 8px; scrollbar-width: none; }
  .trip-row::-webkit-scrollbar { display: none; }
  .ugc { flex: 0 0 74vw; scroll-snap-align: center; }
  .ugc.on { transform: none; }
  .run { padding-top: 0; }
  .run-steps { grid-template-columns: 1fr; gap: 16px; padding-left: 34px; }
  .pipe { display: block; top: 30px; bottom: 30px; left: 6px; right: auto; width: 12px; height: auto; }
  .pipe-fill { transform: scaleY(var(--f, 0)); transform-origin: 50% 0; }
  .drop { top: 0; left: -1px; margin-left: 0; transform: translateY(var(--dy, 0)); }
  .fit { top: 50%; left: -28px; width: 28px; height: 10px; margin: -5px 0 0; background: linear-gradient(180deg, #D7DEDF, #A3AEB0 60%, #C4CCCD); }
  .fit::before { left: 8px; top: 50%; width: 12px; height: 20px; margin: -10px 0 0; }
  .fit::after { transform: scaleX(0); transform-origin: 0 50%; }
  .rs { align-items: flex-start; text-align: left; padding: 28px 22px 24px; border-radius: var(--arch-card); }
  .rs-ic { width: 52px; height: 58px; margin-bottom: 12px; }
  .cards, .cards-3 { grid-template-columns: 1fr; gap: 16px; }
  .card { min-height: 0; padding: 0 22px 22px; }
  .card-ph { position: relative; z-index: 0; inset: auto; height: 170px; margin: 0 -22px 0; opacity: 1; transform: none; }
  .card-ph::after { background: linear-gradient(180deg, transparent 50%, rgba(8, 30, 33, .3)); }
  .card-ic { margin: -30px 0 14px; position: relative; z-index: 1; box-shadow: 0 6px 16px -8px rgba(10, 36, 39, .5); background: #fff; }
  .amap-map { min-height: 380px; border-radius: 50% 50% 18px 18px / 80px 80px 18px 18px; }
  .tlist button { padding: 10px 4px 10px 14px; }
  .tlist button b { font-size: 15px; }
  .tlist a { width: 36px; }
  .acc summary { padding: 18px 18px; gap: 12px; }
  .q-t { font-size: 17px; }
  .acc-a { padding: 0 18px 4px 18px; }
  .facts { gap: 12px; }
  .facts div { padding: 28px 10px 20px; }
  .pc, .ud, .trio li { padding: 34px 24px 26px; }
  .pair-ph { min-height: 340px; border-radius: 50% 50% 18px 18px / 120px 120px 18px 18px; }
  .pb { padding: 44px 24px 30px; border-radius: 50% 50% 18px 18px / 50px 50px 18px 18px; }
  .stack { padding: 34px 18px 22px; border-radius: 50% 50% 18px 18px / 40px 40px 18px 18px; }
  .stack-tot { font-size: 15.5px; }
  .band { padding: 24px 0 72px; }
  .band-arch { min-height: 520px; padding: 110px 20px 60px; border-radius: 50% 50% 22px 22px / 130px 130px 22px 22px; }
  .band-sub { font-size: 18px; }
  .ft { padding: 80px 0 26px; border-radius: 50% 50% 0 0 / 40px 40px 0 0; }
  .ft-grid { grid-template-columns: 1fr; gap: 30px; }
  .ft-mark { margin-top: 40px; }
  .ft-legal { flex-direction: column; align-items: flex-start; }
  .ft-legal a.ft-pw { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .wipe:not(.in), .js .rv:not(.in) { opacity: 1; transform: none; }
  .js .wipe::after, .hero-fog { display: none; }
  .js .words .w { opacity: 1 !important; transform: none !important; filter: none !important; }
}
@media (max-width: 760px) {
  .hero .kick::before, .phero .kick::before { display: none; }
  .ft-col:not(.ft-towns) { columns: 2; column-gap: 24px; }
  .ft-col:not(.ft-towns) h2 { column-span: all; }
}
