/* Radon Boss · home page prototype, new direction (19 Oct 2026)
   Charcoal is the page. Deep Pine for the second sections, Radon Sand for one reading panel, Lake Air the one cool
   accent, orange only on "Get a quote". Outfit SemiBold / Newsreader Italic / Hanken Grotesk. */

@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-wght.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/Newsreader-Italic.ttf") format("truetype"); font-style: italic; font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/HankenGrotesk-wght.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/HankenGrotesk-Italic-wght.ttf") format("truetype"); font-style: italic; font-weight: 100 900; font-display: swap; }

:root {
  --charcoal: #22201D; --deep: #1A1816; --raised: #2B2925; --pine: #2C3A30; --pine-deep: #233029;
  --sand: #E0CFA9; --sand-tint: #F3EBDA; --lake: #6E97A3; --orange: #FF9527; --white: #FFFFFF;
  --text: rgba(255, 255, 255, .92); --muted: rgba(255, 255, 255, .64); --line: rgba(255, 255, 255, .1);
  --head: "Outfit", system-ui, sans-serif; --serif: "Newsreader", Georgia, serif; --body: "Hanken Grotesk", system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 64px); --max: 1280px; --r: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--charcoal); color: var(--text); font: 400 18px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--sand); letter-spacing: -0.01em; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; color: #000; padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; border-radius: 6px; }

/* film grain over everything, very faint */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- type ---------- */
.eyebrow { font: 600 16px/1.2 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--sand); margin-bottom: 18px; }
.display { font: 600 clamp(44px, 7.4vw, 112px)/.98 var(--head); letter-spacing: -0.035em; color: var(--white); }
.display--md { font-size: clamp(38px, 5.6vw, 84px); }
.display em, .h2 em { font-size: 1.04em; }
.h2 { font: 600 clamp(32px, 4.2vw, 60px)/1.04 var(--head); letter-spacing: -0.03em; color: var(--white); }
h3 { font: 600 22px/1.2 var(--head); letter-spacing: -0.01em; color: var(--white); }

/* ---------- buttons ---------- */
.btn { --h: 54px; display: inline-flex; align-items: center; gap: 10px; height: var(--h); padding: 0 26px; border-radius: 99px;
  font: 600 16px/1 var(--body); text-decoration: none; white-space: nowrap; border: 1.5px solid transparent;
  transition: transform .35s var(--ease), background-color .3s, border-color .3s, color .3s; }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 16px; }
.btn--cta { background: var(--orange); color: var(--charcoal); }
.btn--cta:hover { background: #ffa748; transform: translateY(-2px); }
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .32); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn--dark { background: var(--charcoal); color: var(--white); }
.btn--dark:hover { background: var(--pine); }
.btn__arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--white); text-decoration: none; padding-bottom: 4px;
  background: linear-gradient(var(--sand), var(--sand)) 0 100% / 100% 1.5px no-repeat; transition: background-size .4s var(--ease); }
.link:hover { background-size: 0 1.5px; background-position: 100% 100%; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); background: none; color: var(--white); font-size: 18px; cursor: pointer;
  transition: background-color .3s, border-color .3s; }
.round:hover { background: var(--white); color: var(--charcoal); border-color: var(--white); }

/* ---------- header ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .4s, border-color .4s, transform .5s var(--ease); border-bottom: 1px solid transparent; }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; transition: height .4s var(--ease); }
.nav.is-scrolled { background: rgba(34, 32, 29, .72); backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.nav.is-scrolled .nav__in { height: 68px; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo img { height: 42px; width: auto; }
.nav__links { display: flex; gap: 6px; align-items: center; }
.nav__links > a, .nav__drop > button { font: 500 16px/1 var(--body); color: var(--text); text-decoration: none; background: none; border: 0; cursor: pointer;
  padding: 10px 14px; border-radius: 99px; transition: background-color .25s; }
.nav__links > a:hover, .nav__drop > button:hover, .nav__drop:focus-within > button { background: rgba(255, 255, 255, .08); }
.nav__drop { position: relative; }
.nav__drop span { font-size: 10px; opacity: .6; margin-left: 3px; }
.nav__menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; padding: 8px; border-radius: 16px; background: rgba(43, 41, 37, .96);
  backdrop-filter: blur(16px); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-size: 16px; color: var(--text); }
.nav__menu a:hover { background: rgba(255, 255, 255, .07); }
.nav__cta { display: flex; align-items: center; gap: 16px; }
.nav__phone { font: 600 16px/1 var(--body); color: var(--sand); text-decoration: none; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: none; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--white); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { top: 25px; }
body.menu-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
body.menu-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }

.sheet { position: fixed; inset: 0; z-index: 40; background: var(--charcoal); padding: 110px var(--pad) 40px; display: flex; flex-direction: column;
  justify-content: space-between; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease); }
body.menu-open .sheet { clip-path: inset(0 0 0 0); }
.sheet__links a { display: block; font: 600 clamp(34px, 9vw, 48px)/1.25 var(--head); letter-spacing: -0.03em; color: var(--white); text-decoration: none;
  opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease); }
body.menu-open .sheet__links a { opacity: 1; transform: none; }
body.menu-open .sheet__links a:nth-child(2) { transition-delay: .05s; } body.menu-open .sheet__links a:nth-child(3) { transition-delay: .1s; }
body.menu-open .sheet__links a:nth-child(4) { transition-delay: .15s; } body.menu-open .sheet__links a:nth-child(5) { transition-delay: .2s; }
body.menu-open .sheet__links a:nth-child(6) { transition-delay: .25s; }
.sheet__foot { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: -6% 0 0; z-index: -2; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: settle 2.4s var(--ease) forwards; filter: saturate(.9) contrast(1.05); }
@keyframes settle { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; z-index: -1;
  /* a little lighter (Ema, 13 Nov): was .92 / .62 / .2 across and .55 at the top */
  background: linear-gradient(90deg, rgba(34, 32, 29, .8) 0%, rgba(34, 32, 29, .48) 46%, rgba(34, 32, 29, .1) 100%),
              linear-gradient(180deg, rgba(34, 32, 29, .42) 0%, rgba(34, 32, 29, 0) 28%, rgba(34, 32, 29, 0) 62%, var(--charcoal) 100%); }
.hero__in { padding-top: 150px; padding-bottom: 40px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 99px; border: 1px solid rgba(224, 207, 169, .35);
  background: rgba(34, 32, 29, .35); backdrop-filter: blur(8px); font: 600 16px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--sand); margin-bottom: 28px; }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lake); box-shadow: 0 0 0 0 rgba(110, 151, 163, .7); animation: pulse 2.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(110, 151, 163, .7); } 70% { box-shadow: 0 0 0 10px rgba(110, 151, 163, 0); } 100% { box-shadow: 0 0 0 0 rgba(110, 151, 163, 0); } }
.hero__label { font: 500 16px/1.4 var(--body); color: var(--muted); letter-spacing: .01em; margin-bottom: 14px; }
.hero__title { font: 600 clamp(52px, 9.6vw, 148px)/1 var(--head); letter-spacing: -0.045em; color: var(--white); margin-bottom: 30px; }
.hero__title .split { display: block; }
.hero__title .split--serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.03em; color: var(--sand); padding-left: .04em; margin-top: .02em; }
.hero__sub { max-width: 34ch; font-size: clamp(18px, 1.5vw, 21px); color: var(--text); margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctas--center { justify-content: center; }
.hero__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 34px; }
.trust { list-style: none; margin: 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 36px; border-top: 1px solid var(--line); flex: 1;
  font-size: 16px; color: var(--muted); }
.trust b { color: var(--white); font-weight: 600; margin-right: 4px; }
.scrollcue { width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 99px; position: relative; flex: none; margin-top: 20px; }
.scrollcue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--white); animation: cue 1.8s infinite var(--ease); }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* the hero title arrives word by word */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .14em 0; margin: 0 -.04em -.14em 0; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: var(--wd, 0s); }
.is-ready .split .w > span { transform: none; }

/* every other title arrives the same way, word by word, as it scrolls into view (site.js splits them) */
.tsplit .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .16em 0; margin: 0 -.06em -.16em 0; }
.tsplit .w > span { display: inline-block; transform: translateY(112%) rotate(4deg); transform-origin: 0 100%; opacity: 0;
  transition: transform 1s var(--ease), opacity .5s linear; transition-delay: var(--wd, 0s); }
.tsplit.in .w > span { transform: none; opacity: 1; }

/* ---------- reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(32px); filter: blur(4px);
  transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
/* panels (cards, steps, tiles, blocks...) rise further and settle into size; .panel is added by site.js */
[data-reveal].panel { transform: translateY(56px) scale(.955); transition-duration: 1.1s, 1.2s, 1.1s; }
[data-reveal].in { opacity: 1; transform: none; filter: none; }

/* ---------- loading screen, home page (Ema 13 Nov): the footer's hills and treeline rise at the foot of the screen, the
   atom mark settles in the centre, then the whole screen slides up to show the page. Replaces Robyn's frame lines and
   circle opening. ---------- */
.intro { position: fixed; inset: 0; z-index: 100; background: var(--charcoal); overflow: hidden;
  animation: intro-up 1s cubic-bezier(.76, 0, .24, 1) 2.1s forwards, intro-gone .01s 3.15s forwards; }
.intro__ridge { position: absolute; left: 0; bottom: 0; width: 100%; pointer-events: none; transform: translateY(105%); }
.intro__ridge--far { height: 34vh; fill: #3a4a4f; animation: ridge-up 1.4s var(--ease) .15s forwards; }
.intro__ridge--near { height: 25vh; fill: var(--pine); animation: ridge-up 1.4s var(--ease) .4s forwards; }
.intro__mark { position: absolute; left: 50%; top: 44%; width: clamp(88px, 11vw, 150px); height: auto; opacity: 0;
  transform: translate(-50%, -50%) scale(.7); animation: intro-mark 1.3s var(--ease) .35s forwards; }
@keyframes ridge-up { to { transform: none; } }
@keyframes intro-mark { to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes intro-up { to { transform: translateY(-100%); } }
@keyframes intro-gone { to { visibility: hidden; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
/* the page waits behind the curtain: header, footage and hero words start as the screen slides away */
html:not(.no-intro) body.page-index .nav { animation: fade-in 1.1s ease 2.6s both; }
html:not(.no-intro) body.page-index .hero__media video { animation-delay: 2.1s; }
html:not(.no-intro) body.page-index .hero .split .w > span { transition-delay: calc(var(--wd, 0s) + 2.35s); }
html:not(.no-intro) body.page-index .hero [data-reveal] { transition-delay: calc(var(--d, 0s) + 2.35s); }
.no-intro .intro { display: none; }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--deep); }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font: 600 clamp(22px, 2.4vw, 32px)/1 var(--head); letter-spacing: -0.02em; color: var(--white); }
.marquee span:nth-child(4n+3) { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--sand); }
.marquee i { width: 26px; height: 26px; flex: none; background: var(--lake); -webkit-mask: url("../brand/mark-white.svg") center / contain no-repeat; mask: url("../brand/mark-white.svg") center / contain no-repeat; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(90px, 12vw, 170px) 0; position: relative; }
.section--tight { padding: clamp(60px, 7vw, 100px) 0; }
.pine { background: var(--pine); }
.sand { background: var(--sand-tint); color: var(--charcoal); }
.sand .h2, .sand h3 { color: var(--charcoal); } .sand em { color: var(--pine); } .sand .eyebrow { color: var(--pine); }
.sand p, .sand .duo__text p { color: rgba(34, 32, 29, .8); }
.sand a:not(.btn) { color: var(--charcoal); }

.statement { font: 500 clamp(24px, 2.9vw, 42px)/1.32 var(--head); letter-spacing: -0.02em; max-width: 26ch; margin: 44px 0 0; color: var(--white); }
.statement .word { color: rgba(255, 255, 255, .18); transition: color .25s linear; }
.statement .word.lit { color: var(--white); }

.steps { list-style: none; padding: 0; margin: clamp(60px, 8vw, 110px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 34px 30px 34px; border-radius: var(--r); background: var(--raised); border: 1px solid var(--line); overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s; }
.step::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--lake); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.step:hover { transform: translateY(-6px); border-color: rgba(110, 151, 163, .5); }
.step:hover::before { transform: scaleX(1); }
.step__n { display: block; font: italic 400 64px/1 var(--serif); color: var(--sand); margin-bottom: 40px; }
.step h3 { font-size: 26px; margin-bottom: 10px; }
.step p { color: var(--muted); }

.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.split-head .h2 { max-width: 16ch; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card { position: relative; display: block; border-radius: var(--r); overflow: hidden; min-height: 560px; text-decoration: none; color: var(--white); isolation: isolate; }
.card__img { position: absolute; inset: 0; z-index: -1; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(34, 32, 29, 0) 30%, rgba(34, 32, 29, .92) 100%); }
.card:hover .card__img img { transform: scale(1.08); }
.card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px; }
.card h3 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 10px; max-width: 16ch; }
.card p:not(.eyebrow) { color: rgba(255, 255, 255, .78); max-width: 38ch; }
.card .eyebrow { margin-bottom: 12px; }
.card__go { position: absolute; right: 30px; bottom: 34px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 20px;
  background: var(--white); color: var(--charcoal); transform: rotate(-45deg) scale(.9); transition: transform .5s var(--ease); }
.card:hover .card__go { transform: rotate(0) scale(1); }

.figures { background: var(--pine); padding: clamp(80px, 9vw, 130px) 0; }
.figures__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.figure { padding: 0 34px; border-left: 1px solid rgba(255, 255, 255, .14); }
.figure:first-child { padding-left: 0; border-left: 0; }
.figure__n { font: 600 clamp(64px, 8vw, 120px)/1 var(--head); letter-spacing: -0.05em; color: var(--white); margin-bottom: 18px; }
.figure p:last-child { color: rgba(255, 255, 255, .72); max-width: 30ch; font-size: 17px; }

.duo { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.duo--flip { grid-template-columns: 1fr 1fr; }
.duo--faq { grid-template-columns: .8fr 1.2fr; align-items: start; }
.duo__text > * + * { margin-top: 22px; }
.duo__text p { color: var(--muted); max-width: 46ch; }
.duo__img { position: relative; }
.frame { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.frame img { width: 100%; height: 115%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--tall img { height: 100%; }
.duo__img--portrait::before { content: ""; position: absolute; inset: 8% -6% -6% 8%; border-radius: var(--r); background: var(--sand); opacity: .9; z-index: 0; }
.duo__img--portrait .frame { position: relative; z-index: 1; }
.pine .duo__text p { color: rgba(255, 255, 255, .78); }
.badge { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); max-width: 480px; }
.badge img { width: 72px; height: auto; background: #fff; border-radius: 10px; padding: 6px; flex: none; }
.badge p { font-size: 16px; line-height: 1.45; }

.ticks { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.ticks li { padding: 34px 28px 0 0; }
.ticks li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.ticks svg { width: 34px; height: 34px; fill: none; stroke: var(--sand); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; }
.ticks h3 { font-size: 20px; margin-bottom: 8px; }
.ticks p { color: var(--muted); font-size: 16px; }

.reviews { background: var(--deep); overflow: hidden; }
.stars { color: var(--orange); letter-spacing: .06em; font-size: .7em; vertical-align: .12em; margin-right: 6px; }
.reviews__nav { display: flex; gap: 10px; }
.slider { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 var(--pad) 10px calc(max(var(--pad), (100vw - var(--max)) / 2)); scroll-padding-left: calc(max(var(--pad), (100vw - var(--max)) / 2)); }
.slider::-webkit-scrollbar { display: none; }
.quote { flex: 0 0 min(560px, 84vw); scroll-snap-align: start; margin: 0; padding: 40px; border-radius: var(--r); background: var(--raised); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 34px; min-height: 340px; }
.quote blockquote { margin: 0; font: italic 400 clamp(22px, 2vw, 28px)/1.35 var(--serif); color: var(--white); }
.quote blockquote::before { content: "“"; display: block; font: 600 64px/0.6 var(--head); color: var(--lake); margin-bottom: 14px; }
.quote figcaption { font-weight: 600; color: var(--sand); }
.quote--more { justify-content: center; align-items: flex-start; background: transparent; border-style: dashed; }
.quote--more p { font: 600 28px/1.2 var(--head); color: var(--white); }

.faq { display: flex; flex-direction: column; gap: 12px; }
.qa { background: #fff; border-radius: 18px; border: 1px solid rgba(34, 32, 29, .08); transition: box-shadow .4s; }
.qa[open] { box-shadow: 0 18px 50px -24px rgba(34, 32, 29, .35); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 26px;
  font: 600 clamp(18px, 1.6vw, 21px)/1.3 var(--head); color: var(--charcoal); }
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--charcoal); position: relative; transition: transform .45s var(--ease), background-color .3s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 11px; right: 11px; top: 16px; height: 2px; background: #fff; border-radius: 2px; }
.qa__icon::after { transform: rotate(90deg); transition: transform .45s var(--ease); }
.qa[open] .qa__icon { background: var(--pine); transform: rotate(180deg); }
.qa[open] .qa__icon::after { transform: rotate(0); }
.qa__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.qa__body > div { overflow: hidden; }
.qa[open] .qa__body { grid-template-rows: 1fr; }
.qa__body p { padding: 0 26px 26px; color: rgba(34, 32, 29, .78); max-width: 62ch; }

.cta { position: relative; overflow: hidden; padding: clamp(120px, 14vw, 200px) 0 clamp(200px, 20vw, 300px); text-align: center; background:
  radial-gradient(60% 50% at 50% 30%, rgba(110, 151, 163, .16), rgba(110, 151, 163, 0) 70%), var(--charcoal); }
.cta__in { position: relative; z-index: 2; }
.cta__sub { font-size: clamp(19px, 1.6vw, 22px); color: var(--text); margin: 26px auto 38px; max-width: 34ch; }
.cta__small { margin: 30px auto 0; font-size: 16px; color: var(--sand); max-width: 48ch; }
.ridge { position: absolute; left: 0; width: 100%; pointer-events: none; }
.ridge--far { bottom: 0; height: 230px; fill: #3a4a4f; }
.ridge--near { bottom: 0; height: 170px; fill: var(--pine); }

.foot { background: var(--pine-deep); padding: 90px 0 30px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot__brand img { width: 150px; height: auto; margin-bottom: 22px; }
.foot__tag { font: italic 400 26px/1.25 var(--serif); color: var(--sand); max-width: 14ch; }
.foot h3 { font: 600 16px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--sand); margin-bottom: 18px; }
.foot a { display: block; color: rgba(255, 255, 255, .8); text-decoration: none; padding: 5px 0; transition: color .25s; }
.foot a:hover { color: #fff; }
.foot p { color: rgba(255, 255, 255, .7); font-size: 16px; padding: 4px 0; }
.foot .foot__phone { font: 600 30px/1.2 var(--head); letter-spacing: -0.02em; color: var(--white); margin-bottom: 6px; }
.foot__base { display: flex; justify-content: space-between; gap: 16px; padding-top: 26px; font-size: 16px; }
.foot__base p { font-size: 16px; color: rgba(255, 255, 255, .55); }

/* ---------- review notes (XXX = copy from Pete, $$$ = photo needed) ---------- */
.note { display: inline-block; margin: 4px 0; padding: 3px 9px; border-radius: 6px; background: #FFF1C7; color: #5b4300; border: 1px dashed #c9a24a;
  font: 600 16px/1.4 var(--body); letter-spacing: 0; text-transform: none; vertical-align: middle; }
.note--media { position: absolute; top: 14px; left: 14px; z-index: 3; }
.hero .note--media { top: auto; bottom: 120px; left: auto; right: var(--pad); }
body.notes-off .note { display: none; }
.ptag { position: fixed; left: 12px; bottom: 12px; z-index: 70; padding: 8px 12px; border-radius: 8px; background: rgba(26, 24, 22, .92); border: 1px solid var(--line);
  font: 500 16px/1.3 system-ui, sans-serif; color: #fff; display: flex; gap: 10px; align-items: center; }
.ptag b { color: var(--sand); }
.ptag label { cursor: pointer; } .ptag input { vertical-align: -2px; margin: 0 3px 0 0; }

/* ---------- smaller screens ---------- */
@media (max-width: 1080px) {
  .nav__links, .nav__phone { display: none; }
  .nav__burger { display: block; }
  .steps, .ticks { grid-template-columns: 1fr 1fr; }
  .ticks li:nth-child(3) { padding-left: 0; border-left: 0; }
  .ticks li { padding-bottom: 30px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav__cta .btn--sm { display: none; }
  .hero__in { padding-top: 160px; }
  .hero .note--media { bottom: auto; top: 86px; right: 16px; left: 16px; }
  .card__body { padding: 26px 86px 28px 26px; }
  .card__go { right: 22px; bottom: 26px; }
  .steps, .cards, .figures__grid, .duo, .duo--flip, .duo--faq, .ticks { grid-template-columns: 1fr; }
  .ticks li, .ticks li + li { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .card { min-height: 460px; }
  .figure { padding: 28px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .figure:first-child { border-top: 0; padding-top: 0; }
  .duo--flip .duo__img { order: -1; }
  .quote { padding: 28px; min-height: 300px; }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__base { flex-direction: column; }
  .scrollcue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  .split .w > span, .tsplit .w > span { transform: none; opacity: 1; }
}

/* sections that follow one another on the same ground don't need double padding */
#what { padding-bottom: clamp(50px, 6vw, 80px); }
#services { padding-top: 0; }
.card__img img[src*="radon-system1"] { object-position: 50% 78%; }

/* =================================================================
   Inner pages (19 Oct 2026, evening)
   ================================================================= */
.nav__links > .nav__drop > a { font: 500 16px/1 var(--body); color: var(--text); text-decoration: none; padding: 10px 14px; border-radius: 99px; display: inline-block; transition: background-color .25s; }
.nav__links > .nav__drop > a:hover { background: rgba(255, 255, 255, .08); }
.nav [aria-current="page"] { color: var(--sand) !important; }
.nav__drop:has([aria-current="page"]) > a, .nav__drop:has([aria-current="page"]) > button { color: var(--sand); }
.h3 { font: 600 clamp(24px, 2.2vw, 30px)/1.15 var(--head); letter-spacing: -0.02em; color: var(--white); }
.center { text-align: center; margin-top: 24px; }
.muted { color: var(--muted); margin-top: 28px; font-size: 16px; }

/* page hero */
.phero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.phero--plain { min-height: 0; background: radial-gradient(70% 90% at 85% 0%, rgba(110, 151, 163, .14), rgba(110, 151, 163, 0) 60%), var(--charcoal); }
.phero--full { min-height: 100svh; align-items: center; }
.phero__media { position: absolute; inset: -8% 0 0; z-index: -2; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__in { padding-top: 170px; padding-bottom: clamp(60px, 8vw, 110px); }
.phero--plain .phero__in { padding-top: 190px; padding-bottom: clamp(50px, 6vw, 90px); }
.phero__title { font: 600 clamp(46px, 7.4vw, 112px)/1 var(--head); letter-spacing: -0.04em; color: var(--white); max-width: 15ch; margin-bottom: 26px; }
.phero__title em { font-size: 1.03em; }
.phero__sub { max-width: 46ch; font-size: clamp(18px, 1.5vw, 21px); color: var(--text); margin-bottom: 32px; }
.phero__sub--wide { max-width: 62ch; }
.phero__sub a, .contact a:not(.btn) { color: var(--sand); }
.phero .note--media { top: auto; bottom: 26px; right: var(--pad); left: auto; }

.frame--wide { aspect-ratio: 3 / 2; }
.frame--wide img { height: 112%; }

.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line); font-size: 16px; color: var(--white); background: rgba(255, 255, 255, .03); }

.steps--dark .step { background: rgba(0, 0, 0, .14); border-color: rgba(255, 255, 255, .12); }
.steps--dark .step p { color: rgba(255, 255, 255, .74); }

.values { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.values li { padding: 28px 24px 30px; border-radius: var(--r); background: var(--raised); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .4s; }
.values li:hover { transform: translateY(-6px); border-color: rgba(110, 151, 163, .5); }
.values .step__n { font-size: 48px; margin-bottom: 28px; }
.values h3 { font-size: 21px; margin-bottom: 10px; }
.values p { color: var(--muted); font-size: 16px; }
.badge--lg { padding: 20px 22px; max-width: none; }
.badge--lg img { width: 96px; }
.badge--lg p { font-size: 17px; }

.banner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(32px, 4vw, 56px); border-radius: var(--r);
  background: linear-gradient(120deg, var(--pine), #34463a); text-decoration: none; color: var(--white); position: relative; overflow: hidden; }
.banner .h2 { max-width: 20ch; }
.banner p:not(.eyebrow) { color: rgba(255, 255, 255, .78); margin-top: 14px; max-width: 52ch; }
.banner .card__go { position: static; flex: none; }
.banner:hover .card__go { transform: rotate(0) scale(1); }

.dir { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.dir__card { padding: 34px 30px; border-radius: var(--r); background: var(--raised); border: 1px solid var(--line); }
.dir__card .h3 { margin-bottom: 22px; }
.dir__card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.dir__card a { color: var(--white); text-decoration-color: rgba(224, 207, 169, .5); text-underline-offset: 4px; }
.dir__card--empty { background: transparent; border-style: dashed; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }

/* Smaller portrait on desktop: home "Meet Pete" (Ema, 4 Nov; first used on About, Pete 29 Oct), and the Meet our team section */
.duo__img--sm { max-width: 360px; justify-self: center; width: 100%; }
.story { max-width: 720px; }
.story p { max-width: 60ch; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 56px; }
.team__card { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; padding: 26px; border-radius: var(--r); background: var(--raised); border: 1px solid var(--line); }
.team__img { border-radius: calc(var(--r) - 8px); overflow: hidden; aspect-ratio: 4 / 5; position: relative; background: rgba(255, 255, 255, .04); }
.team__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team__img--empty { display: flex; align-items: center; justify-content: center; border: 1px dashed var(--line); padding: 12px; text-align: center; }
.team__text > * + * { margin-top: 12px; }
.team__text h3 { font-size: 26px; }
.team__text p:not(.eyebrow) { color: var(--muted); font-size: 16.5px; }

.ticks--five { grid-template-columns: repeat(5, 1fr); border-color: rgba(255, 255, 255, .14); }
.ticks--five li + li { border-color: rgba(255, 255, 255, .14); }
.pine .ticks p { color: rgba(255, 255, 255, .74); }
.lead-out { margin-top: 56px; font: italic 400 clamp(22px, 2.2vw, 30px)/1.35 var(--serif); color: var(--sand); max-width: 40ch; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 70px; }
.three > div { padding: 30px 28px; border-radius: var(--r); background: var(--raised); border: 1px solid var(--line); }
.three .step__n { font-size: 48px; margin-bottom: 26px; }
.three h3 { margin-bottom: 10px; }
.three p { color: var(--muted); font-size: 16.5px; }
.statement--wide { max-width: 34ch; margin-top: 0; }

/* article (What is radon) */
.article { display: grid; grid-template-columns: 240px 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.toc { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 4px; }
.toc a { color: var(--muted); text-decoration: none; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); transition: color .25s, border-color .25s; }
.toc a:hover, .toc a.is-on { color: var(--white); border-color: var(--sand); }
.article__body { max-width: 760px; }
.block { padding: 48px 0; border-top: 1px solid var(--line); }
.block .h3 { margin-bottom: 18px; }
.block p { color: var(--text); margin-bottom: 14px; }
.block .link { margin-top: 8px; }
.list { padding-left: 20px; margin: 0 0 14px; color: var(--text); }
.list li { padding: 4px 0; }
.list li::marker { color: var(--lake); }
.figrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.figrow div { padding: 22px; border-radius: 16px; background: var(--pine); }
.figrow b { display: block; font: 600 40px/1 var(--head); letter-spacing: -0.03em; color: var(--white); margin-bottom: 8px; }
.figrow span { font-size: 16px; color: rgba(255, 255, 255, .75); }
.diagram { margin: 0 0 20px; padding: 24px; border-radius: var(--r); background: var(--raised); border: 1px solid var(--line); }
.diagram svg { width: 100%; height: auto; border-radius: 12px; }
.diagram figcaption { margin-top: 14px; font-size: 16px; color: var(--muted); }
.diagram .rise path { stroke-dasharray: 8 10; animation: rise 2.4s linear infinite; }
@keyframes rise { to { stroke-dashoffset: -36; } }

/* tools */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 30px; }
.tile { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--raised); border: 1px solid var(--line); display: flex; flex-direction: column; }
.tile--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
.tile__img { aspect-ratio: 4 / 3; overflow: hidden; }
.tile--wide .tile__img { aspect-ratio: auto; min-height: 380px; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.05); }
.tile figcaption { padding: 28px 30px 32px; align-self: center; }
.tile figcaption .h3 { margin-bottom: 10px; }
.tile figcaption p { color: var(--muted); font-size: 16.5px; }

/* questions page */
.faqpage__in { display: grid; grid-template-columns: 240px 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.jump { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 4px; }
.jump a { color: rgba(34, 32, 29, .7); text-decoration: none; padding: 7px 0 7px 14px; border-left: 2px solid rgba(34, 32, 29, .15); transition: color .25s, border-color .25s; }
.jump a:hover, .jump a.is-on { color: var(--charcoal); border-color: var(--pine); }
.qgroup { grid-column: 2; margin-bottom: 56px; scroll-margin-top: 100px; }
.qgroup .h3 { color: var(--charcoal); margin-bottom: 20px; }
.faqpage .jump { grid-row: 1 / span 6; }

/* contact */
.contact { position: relative; padding: 170px 0 clamp(80px, 9vw, 130px); background: radial-gradient(60% 70% at 10% 0%, rgba(110, 151, 163, .14), rgba(110, 151, 163, 0) 60%), var(--charcoal); }
.contact__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__text { position: sticky; top: 110px; }
.contact__list { list-style: none; padding: 0; margin: 10px 0 0; border-top: 1px solid var(--line); }
.contact__list li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact__list span:first-child { color: var(--sand); font-size: 16px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding-top: 3px; }
.contact__list small { display: block; grid-column: 2; color: var(--muted); font-size: 16px; margin-top: -6px; }
.contact .note--media { top: 110px; right: var(--pad); left: auto; }
.form { padding: clamp(26px, 3vw, 40px); border-radius: var(--r); background: var(--sand-tint); color: var(--charcoal); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; margin-bottom: 22px; }
.f { display: flex; flex-direction: column; gap: 7px; font-size: 16px; font-weight: 600; color: rgba(34, 32, 29, .75); }
.f--full { grid-column: 1 / -1; }
.f input, .f select, .f textarea { font: 400 17px/1.4 var(--body); color: var(--charcoal); background: #fff; border: 1.5px solid rgba(34, 32, 29, .12); border-radius: 12px; padding: 13px 14px; width: 100%;
  transition: border-color .25s, box-shadow .25s; appearance: none; }
.f select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1.5 1.75 6 6.25l4.5-4.5' stroke='%2322201D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 4px rgba(44, 58, 48, .14); }
.f small { font-weight: 400; font-size: 16px; color: rgba(34, 32, 29, .6); }
.btn--full { width: 100%; justify-content: center; }
.form__small { margin-top: 12px; font-size: 16px; color: rgba(34, 32, 29, .65); text-align: center; }
.form__done { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--pine); color: #fff; font-size: 16px; }
.form__done a { color: var(--sand); }
.cta__small--left { margin: 34px 0 0; text-align: left; }

.credits { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.credits li { padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 16px; }
.credits b { display: block; color: var(--white); margin-bottom: 4px; }
.credits a, .foot__base a { color: var(--sand); }
.foot__base a { display: inline; padding: 0; }

@media (max-width: 1080px) {
  .values { grid-template-columns: repeat(2, 1fr); }
  .ticks--five { grid-template-columns: repeat(2, 1fr); }
  .ticks--five li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .dir, .three { grid-template-columns: 1fr 1fr; }
  .article, .faqpage__in { grid-template-columns: 1fr; }
  .toc, .jump { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .toc a, .jump a { border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; }
  .jump a { border-color: rgba(34, 32, 29, .15); }
  .qgroup { grid-column: 1; }
  .contact__in { grid-template-columns: 1fr; }
  .contact__text { position: static; }
}
@media (max-width: 760px) {
  .values, .ticks--five, .dir, .three, .gallery, .figrow { grid-template-columns: 1fr; }
  .ticks--five li { padding-left: 0 !important; }
  .tile--wide { grid-template-columns: 1fr; }
  .tile--wide .tile__img { min-height: 0; aspect-ratio: 4 / 3; }
  .banner { flex-direction: column; align-items: flex-start; }
  .form__grid { grid-template-columns: 1fr; }
  .phero__in, .phero--plain .phero__in { padding-top: 140px; }
  .contact { padding-top: 130px; }
  .contact .note--media { position: static; margin: 0 16px; }
  .phero .note--media { right: 16px; }
  .team, .team__card { grid-template-columns: 1fr; }
  .team__img { max-width: 240px; }
  .duo__img--sm { max-width: none; }
}
.nowrap { white-space: nowrap; }

/* =================================================================
   Motion layer, 12 Nov 2026 (Ema: "more movement", "cards that stack on desktop", "a more flowing services page").
   Patterns carried over from the Turvi site (pinned card stack, zoom-reveal) and Robyn's site (hero drift, progress
   line, lazy video). Everything here switches off under prefers-reduced-motion at the bottom of this block.
   ================================================================= */

/* a thin sand line along the top shows how far down the page you are */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 70; background: var(--sand); pointer-events: none; }

/* page heroes: the words drift up and fade as you scroll away (site.js) */
.hero__in, .phero__in { will-change: transform, opacity; }

/* inner-page heroes can carry a clip behind the photo; the photo is the poster and the reduced-motion fallback */
.phero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.05); }
.phero__media video + img { position: absolute; inset: 0; opacity: 0; transform: none !important; }
.phero__media.no-vid video { display: none; } .phero__media.no-vid video + img { opacity: 1; }

/* the plain heroes get a slow drifting glow instead of a photo */
.phero--plain { background-size: 220% 220%; animation: glow-drift 26s ease-in-out infinite alternate; }
@keyframes glow-drift { from { background-position: 100% 0; } to { background-position: 0 100%; } }

/* zoom-reveal: a picture opens from a slit at its centre while settling from 112% to 100% (site.js adds .zoom + .in) */
.zoom { clip-path: inset(44% 0 44% 0 round var(--r)); transform: scale(1.06); will-change: clip-path, transform; }
.zoom.in { clip-path: inset(0 0 0 0 round var(--r)); transform: none; transition: clip-path 1.3s var(--ease), transform 1.5s var(--ease); }
.tile__img.zoom, .tile__img.zoom.in { clip-path: inset(44% 0 44% 0); } .tile__img.zoom.in { clip-path: inset(0); }

/* a stack of pinned cards: each sticks a little lower than the one before; as the next card rides up, the one
   underneath shrinks from its top edge and dims under its veil (set by the stack script) */
.stack { display: flex; flex-direction: column; gap: 18px; margin-top: clamp(50px, 6vw, 80px); padding-bottom: 12vh; }
[data-stack] > .stack-card { position: sticky; top: calc(var(--stack-top, 96px) + var(--i, 0) * var(--stack-step, 14px)); transform-origin: top center; will-change: transform; }
.stack-veil { position: absolute; inset: 0; background: var(--pine-deep); opacity: 0; pointer-events: none; z-index: 5; transition: opacity .1s linear; border-radius: inherit; }

/* the Homes page "How a system works" cards */
.how { position: relative; isolation: isolate; min-height: clamp(420px, calc(100svh - 96px - 70px), 600px); border-radius: var(--r); overflow: hidden;
  background: var(--pine-deep); border: 1px solid rgba(255, 255, 255, .12); display: grid; grid-template-columns: 1.05fr 1fr; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .7); }
.how__media { position: relative; overflow: hidden; min-height: 0; }
.how__media img, .how__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.how__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(35, 48, 41, 0) 55%, var(--pine-deep) 100%), linear-gradient(to top, rgba(35, 48, 41, .55), rgba(35, 48, 41, 0) 40%); }
.how__media .note--media { top: 14px; left: 14px; }
.how__text { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.how__n { font: italic 400 clamp(60px, 7vw, 108px)/1 var(--serif); color: var(--sand); margin-bottom: auto; }
.how h3 { font-size: clamp(26px, 2.5vw, 38px); letter-spacing: -0.02em; }
.how p { color: rgba(255, 255, 255, .78); max-width: 44ch; font-size: 17.5px; }
.how__link { margin-top: 8px; }

/* a lead-out line lights up word by word like the home statement */
.lead-out .word { color: rgba(224, 207, 169, .22); transition: color .25s linear; }
.lead-out .word.lit { color: var(--sand); }

@media (max-width: 960px) {
  /* phones: stacks lie flat unless they ask to keep stacking ([data-stack-mobile], the Homes page "How a system works",
     Ema 13 Nov: cards short enough to fit under the header) */
  [data-stack]:not([data-stack-mobile]) > .stack-card { position: relative; top: auto; transform: none !important; }
  [data-stack]:not([data-stack-mobile]) .stack-veil { display: none; }
  .stack { gap: 14px; padding-bottom: 0; }
  [data-stack-mobile] { padding-bottom: 8vh; }
  [data-stack-mobile] > .stack-card { top: calc(var(--stack-top-m, 76px) + var(--i, 0) * 10px); }
  .how { grid-template-columns: 1fr; min-height: 0; }
  .how__media { aspect-ratio: 16 / 10; }
  .how__media::after { background: linear-gradient(to top, var(--pine-deep), rgba(35, 48, 41, 0) 50%); }
  .how__n { margin-bottom: 6px; font-size: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .progress { display: none; }
  .hero__in, .phero__in { transform: none !important; opacity: 1 !important; }
  .phero__media video { display: none; } .phero__media video + img { opacity: 1; }
  .phero--plain { animation: none; }
  .zoom, .zoom.in { clip-path: none; transform: none; }
  [data-stack] > .stack-card { position: relative; top: auto; transform: none !important; }
  .stack-veil { display: none; }
  .lead-out .word { color: var(--sand); }
}

/* hero clip picker (/hero-options/, for Ema and Pete; not linked from the menu) */
.opts { padding: 150px 0 clamp(80px, 9vw, 130px); }
.opts__page { margin-top: clamp(60px, 7vw, 100px); }
.opts__page > p { color: var(--muted); max-width: 60ch; margin-top: 10px; }
.opts__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 18px; margin-top: 28px; }
.opt { border-radius: var(--r); overflow: hidden; background: var(--raised); border: 1px solid var(--line); display: flex; flex-direction: column; }
.opt video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.opt__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.opt__id { font: 600 16px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--sand); }
.opt h3 { font-size: 20px; }
.opt p { color: var(--muted); font-size: 16px; }
.opt a { color: var(--sand); }

/* ===== Quote form photos (13 Nov) ===== */
.f--photos { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; color: rgba(34, 32, 29, .75); }
.f__label { font-size: 16px; font-weight: 600; color: rgba(34, 32, 29, .85); }
.f--photos small { font-size: 16px; font-weight: 400; color: rgba(34, 32, 29, .65); }
.f--photos input[type="file"] { font: 400 16px/1.4 var(--body); color: var(--charcoal); background: #fff; border: 1.5px dashed rgba(34, 32, 29, .3); border-radius: 12px; padding: 14px; width: 100%; min-height: 56px; cursor: pointer; }
.f--photos input[type="file"]:focus-visible { outline: none; border-color: var(--pine); box-shadow: 0 0 0 4px rgba(44, 58, 48, .14); }
.f--photos input[type="file"]::file-selector-button { font: 600 16px/1 var(--body); min-height: 44px; margin-right: 14px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--pine); color: #fff; cursor: pointer; }
.ph__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.ph__list:empty { display: none; }
.ph__item { display: flex; flex-direction: column; gap: 6px; }
.ph__item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: #fff; border: 1px solid rgba(34, 32, 29, .12); }
.ph__rm { min-height: 44px; border: 1.5px solid rgba(34, 32, 29, .25); border-radius: 10px; background: #fff; color: var(--charcoal); font: 600 16px/1 var(--body); cursor: pointer; }
.ph__rm:hover, .ph__rm:focus-visible { border-color: var(--charcoal); outline: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__error:empty { display: none; }
.form__error { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1.5px solid var(--charcoal); color: var(--charcoal); font-size: 16px; }
.form .form__error a { color: var(--pine); font-weight: 600; text-decoration: underline; }
.form button[disabled] { opacity: .7; cursor: progress; }
.f[hidden] { display: none; }
.f--photos input[type="file"]:disabled { opacity: .55; cursor: not-allowed; }
.ph__msg:empty { display: none; }
.ph__msg { margin: 0; padding: 12px 14px; border-radius: 10px; background: #fff; border: 1.5px solid rgba(34, 32, 29, .35); color: var(--charcoal); font-size: 16px; }

/* ===== Launch polish (13 Nov) ===== */

/* Punctuation kept with the word before it in page titles (see glue() in site.js) */
.nb { white-space: nowrap; }

/* 1px sideways scroll on the home page: the sand block behind Pete's portrait pokes 6% out to the right */
.section { overflow-x: clip; }

/* Running text: at least 18px on desktop, 17px on phones (it was 15 to 17.5 in places) */
.ticks p, .values p, .three p, .team__text p:not(.eyebrow), .tile figcaption p, .figure p:last-child, .how p,
.credits li, .muted, .foot p, .badge p, .badge--lg p, .figrow span, .opt p, .hero__label, .diagram figcaption, .cta__small { font-size: 18px; }
.foot .foot__tag { font-size: 22px; } /* the 26px rule was always beaten by ".foot p" */
.f input, .f select, .f textarea { font-size: 18px; }

/* Labels, eyebrows and small print: at least 16px (18 Nov) */
.eyebrow, .pill, .foot h3, .contact__list span:first-child, .opt__id { font-size: 16px; }
.contact__list small, .f small, .form__small, .foot__base p, .foot__base a { font-size: 16px; }
.f { font-size: 16px; }
.note { font-size: 16px; }

/* Touch areas at least 44px tall, made with padding rather than bigger text */
.btn--sm { --h: 44px; }
.skip { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; }
.nav__logo { display: inline-flex; align-items: center; min-height: 44px; }
.sheet__links a { min-height: 44px; }
.foot__grid a { display: flex; align-items: center; min-height: 44px; padding: 0; }
.foot__base a, main p a, main li a { padding-block: 13px; }
.link { padding: 8px 0 12px; background-origin: content-box; background-position: 0 calc(100% + 4px); }
.link:hover { background-position: 100% calc(100% + 4px); }
.credits a, .opt a { padding-block: 13px; }

/* Phone bar: Call and Get a quote, fixed to the bottom on phones and small tablets */
.callbar { display: none; }

@media (max-width: 1080px) {
  .toc a, .jump a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
}
@media (max-width: 960px) {
  .team { grid-template-columns: 1fr; } /* two cards side by side were wider than a tablet */
}
@media (max-width: 900px) {
  .callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(26, 24, 22, .96);
    border-top: 1px solid var(--line);
    transition: transform .45s var(--ease), opacity .25s, visibility .45s; }
  /* away while a Call or Get a quote button is already on screen (site.js), so the two are never doubled (Ema, 13 Nov) */
  .callbar.is-away { transform: translateY(110%); visibility: hidden; }
  .callbar a { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 56px; padding: 0 10px; border-radius: 99px;
    font: 600 18px/1.1 var(--body); text-decoration: none; white-space: nowrap; text-align: center; }
  .callbar__call { flex: 1.6; color: var(--white); border: 1.5px solid rgba(255, 255, 255, .45); }
  .callbar__quote { flex: 1; background: var(--orange); color: var(--charcoal); }
  body.menu-open .callbar { opacity: 0; visibility: hidden; pointer-events: none; }
  body.page-thank-you .callbar__quote { display: none; }
  /* no bar at all on the Get a quote page (Ema, 13 Nov); site.js removes it there too */
  body.page-contact-us .callbar { display: none; }
  body.page-contact-us .foot { padding-bottom: calc(30px + 64px + env(safe-area-inset-bottom)); }
  body.page-contact-us .ptag { bottom: calc(16px + env(safe-area-inset-bottom)); }
  /* 76px bar + 64px for the Preview tag, which sits above the bar; drop the 64px when the tag goes at launch */
  .foot { padding-bottom: calc(30px + 76px + 64px + env(safe-area-inset-bottom)); }
  .ptag { bottom: calc(88px + env(safe-area-inset-bottom)); }
}

/* phone sizes, after the last 760px block above */
@media (max-width: 760px) {
  .ticks p, .values p, .three p, .team__text p:not(.eyebrow), .tile figcaption p, .figure p:last-child, .how p,
  .credits li, .muted, .badge p, .badge--lg p, .figrow span, .opt p, .hero__label { font-size: 17px; }
  .diagram figcaption, .cta__small { font-size: 16px; }
  .foot p { font-size: 17px; }
}

/* ===== About page rework (13 Nov, second pass) =====
   Ema 13 Nov: a short intro in the hero; then Pete's panel slides in and pins while Lucas's panel slides up over it,
   with the photos opening like "My story" on the Turvi About page (a closed box opening from its centre while the
   picture settles from 120%). Then the values that brighten as you reach them, and the certification cards (.certs:
   the home page already uses .trust, which strips the wrap padding). */
.phero__title--balance { max-width: 13ch; text-wrap: balance; }

.tstack { position: relative; overflow-x: clip; }   /* clip, not hidden: hidden would stop Pete's panel pinning; it stops the text waiting to slide in from widening the page */
.tpanel { min-height: 100vh; display: flex; align-items: center; padding-block: clamp(96px, 12vh, 140px); }
.tpanel > .wrap { width: 100%; }
.tpanel__kicker { margin-bottom: clamp(28px, 4vw, 48px); }
.tpanel--pete { position: sticky; top: 0; z-index: 0; background: var(--charcoal); }
.tpanel--lucas { position: relative; z-index: 1; background: var(--pine); border-radius: 32px 32px 0 0; box-shadow: 0 -24px 60px rgba(0, 0, 0, .45); }
.tpanel__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 110px); align-items: center; width: 100%; }
.tpanel--lucas .tpanel__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.tpanel__text > * + * { margin-top: 20px; }
.tpanel__name { font: 600 clamp(44px, 5.4vw, 80px)/1 var(--head); letter-spacing: -0.035em; color: var(--white); }
.tpanel__text > .tpanel__role { margin-top: 12px; font: italic 400 clamp(22px, 2vw, 28px)/1.2 var(--serif); color: var(--sand); }
.tpanel__text > p:not(.eyebrow):not(.tpanel__role) { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.6; color: var(--text); max-width: 54ch; }
.tpanel__text > .tpanel__role + p { margin-top: 30px; }
.tpanel--lucas .tpanel__text > p:not(.tpanel__role) { color: rgba(255, 255, 255, .86); }
.tpanel__photo { width: 100%; max-width: 480px; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--raised); justify-self: end; }
.tpanel--lucas .tpanel__photo { justify-self: start; }
.tpanel__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Pete's and Lucas's words: faint until the colour slides across them word by word as you scroll (the "My vision" sweep
   on the Turvi site, Ema 13 Nov). site.js wraps the words; without script or with reduced motion the text is plain. */
.tpanel { --sweep-on: rgba(255, 255, 255, .94); --sweep-off: rgba(255, 255, 255, .2); }
.sweep .w { display: inline-block; background-image: linear-gradient(to right, var(--sweep-on), var(--sweep-on) 50%, var(--sweep-off) 50%);
  background-size: 200% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* photos open from a closed box at their centre while the picture settles from 120% (Turvi "My story") */
.rb-anim .rb-zoom { clip-path: inset(50% round var(--r)); }
.rb-anim .rb-zoom > img { transform: scale(1.2); transform-origin: center; }
.rb-anim .tpanel.in .rb-zoom { clip-path: inset(0 round var(--r)); transition: clip-path 1.3s cubic-bezier(.16, 1, .3, 1) .1s; }
.rb-anim .tpanel.in .rb-zoom > img { transform: scale(1); transition: transform 1.3s cubic-bezier(.16, 1, .3, 1) .1s; }
/* the text slides in from the side the photo isn't on, line by line */
.rb-anim .tpanel__text > :not(.sweep), .rb-anim .tpanel__kicker { opacity: 0; transform: translateX(-48px); }
.rb-anim .tpanel--lucas .tpanel__text > :not(.sweep) { transform: translateX(48px); }
.rb-anim .tpanel.in .tpanel__kicker, .rb-anim .tpanel.in .tpanel__text > :not(.sweep) { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rb-anim .tpanel.in .tpanel__text > :nth-child(2) { transition-delay: .08s; }
.rb-anim .tpanel.in .tpanel__text > :nth-child(3) { transition-delay: .16s; }
.rb-anim .tpanel.in .tpanel__text > :nth-child(4) { transition-delay: .24s; }
.rb-anim .tpanel.in .tpanel__text > :nth-child(5) { transition-delay: .32s; }

.ethos { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.ethos__head { position: sticky; top: 120px; }
.ethos__intro { margin-top: 28px; font: italic 400 clamp(21px, 1.9vw, 26px)/1.45 var(--serif); color: var(--sand); max-width: 34ch; }
.ethos__list { list-style: none; margin: 0; padding: 0; perspective: 1000px; }
.ethos__list li { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 20px; padding: 36px 0; opacity: .3; transition: opacity .7s var(--ease); }
/* the hairlines are drawn by pseudo-elements so they can draw across as each value tips in */
.ethos__list li::before, .ethos__list li:last-child::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--line); transform-origin: left center; }
.ethos__list li::before { top: 0; }
.ethos__list li:last-child::after { bottom: 0; }
.ethos__list li.lit, .ethos__list.all-lit li { opacity: 1; }
/* domino entrance (Ema 13 Nov): each value tips forward into place from just below, one after another (site.js keeps
   them 0.24 s apart), its hairline drawing across; then it brightens as it reaches the reading line */
.rb-anim .ethos__list li { opacity: 0; transform: translateY(30px) rotateX(-20deg); transform-origin: 50% 0;
  transition: opacity .8s var(--ease), transform 1s var(--ease); }
.rb-anim .ethos__list li::before, .rb-anim .ethos__list li:last-child::after { transform: scaleX(0); transition: transform 1.1s var(--ease) .12s; }
.rb-anim .ethos__list li.in { opacity: .3; transform: none; }
.rb-anim .ethos__list li.in::before, .rb-anim .ethos__list li.in:last-child::after { transform: scaleX(1); }
.rb-anim .ethos__list li.in.lit { opacity: 1; }
.ethos__n { font: italic 400 46px/1 var(--serif); color: var(--sand); }
.ethos__list h3 { font: 600 clamp(25px, 2.4vw, 34px)/1.15 var(--head); letter-spacing: -0.02em; color: var(--white); margin-bottom: 10px; }
.ethos__list p { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 46ch; }

.certs { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.certs__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.certs__list li { display: flex; flex-direction: column; gap: 20px; padding: 28px 26px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.certs__list img { width: 96px; height: auto; background: #fff; border-radius: 10px; padding: 6px; }
.certs__list svg { width: 44px; height: 44px; fill: none; stroke: var(--sand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.certs__list p { font-size: 18px; line-height: 1.5; color: rgba(255, 255, 255, .86); }
/* the three certification cards arrive one after another as they scroll in (Ema 13 Nov; site.js spaces them 0.38 s apart) */
.rb-anim .certs__list li { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rb-anim .certs__list li.in { opacity: 1; transform: none; }

/* local directory banner with clip Q1 (clear water over stones) behind it (Ema 13 Nov); the still shows under reduced motion */
.banner--video { background: var(--deep); min-height: clamp(220px, 24vw, 300px); }
.banner__media { position: absolute; inset: 0; z-index: 0; }
.banner__media img, .banner__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26, 24, 22, .78) 0%, rgba(26, 24, 22, .45) 60%, rgba(26, 24, 22, .3) 100%); }
.banner--video > :not(.banner__media) { position: relative; z-index: 1; }

@media (max-width: 960px) {
  .tpanel__grid, .tpanel--lucas .tpanel__grid, .ethos, .certs { grid-template-columns: minmax(0, 1fr); }
  .tpanel { min-height: 0; }
  .tpanel__photo, .tpanel--lucas .tpanel__photo { order: -1; justify-self: start; max-width: 380px; }
  .tpanel--lucas { border-radius: 24px 24px 0 0; }
  .ethos__head { position: static; }
  .certs__list { grid-template-columns: minmax(0, 1fr); }
  .certs__list li { flex-direction: row; align-items: center; }
  .certs__list img, .certs__list svg { flex: none; }
  .certs__list img { width: 80px; }
}
@media (max-width: 760px) {
  .tpanel { padding-block: 72px; }
  .tpanel__photo, .tpanel--lucas .tpanel__photo { max-width: 300px; }
  .tpanel__text > p:not(.eyebrow):not(.tpanel__role) { font-size: 18px; }
  .ethos__list li { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 28px 0; }
  .ethos__n { font-size: 34px; }
  .ethos__list p, .certs__list p { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .banner__media video { display: none; }
  .tpanel--pete { position: relative; }
  .ethos__list li { opacity: 1; transition: none; }
}

/* ===== Questions page: search and question bars (13 Nov) =====
   Ema 13 Nov: "make it easy for the customer to search for their question" and "more animation where the question bars
   appear on scroll". The box filters as you type (site.js); the bars wipe open from the left one after another. */
.qsearch { grid-column: 2; margin-bottom: 40px; }
.qsearch__label { display: block; font: 600 16px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--pine); margin-bottom: 12px; }
.qsearch__box { position: relative; }
.qsearch__box svg { position: absolute; left: 22px; top: 50%; width: 24px; height: 24px; transform: translateY(-50%); fill: none; stroke: var(--charcoal); stroke-width: 2; stroke-linecap: round; opacity: .55; pointer-events: none; }
.qsearch__box input { width: 100%; min-height: 64px; padding: 0 64px 0 60px; border-radius: 18px; border: 1.5px solid rgba(34, 32, 29, .18); background: #fff;
  font: 400 20px/1.2 var(--body); color: var(--charcoal); -webkit-appearance: none; appearance: none; transition: border-color .25s, box-shadow .25s; }
.qsearch__box input::placeholder { color: rgba(34, 32, 29, .5); }
.qsearch__box input::-webkit-search-cancel-button { display: none; }
.qsearch__box input:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 4px rgba(44, 58, 48, .18); }
.qsearch__clear { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(34, 32, 29, .08); color: var(--charcoal); font: 400 28px/1 var(--body); cursor: pointer; }
.qsearch__clear:hover { background: rgba(34, 32, 29, .14); }
.qsearch__status { margin-top: 12px; min-height: 1.4em; font-size: 17px; color: rgba(34, 32, 29, .7); }
.qsearch__none { font-size: 18px; color: var(--charcoal); }
.qsearch__none a { color: var(--pine); font-weight: 600; }
.qa__q mark { background: rgba(224, 207, 169, .7); color: inherit; border-radius: 4px; padding: 0 2px; }
.qgroup[hidden], .qa[hidden] { display: none; }
.jump a.is-empty { opacity: .35; pointer-events: none; }
/* the bars wipe open from the left as they scroll in, one after another; the clip is dropped once settled so an open
   answer's shadow isn't cut off */
.rb-faq .faqpage .qa { opacity: 0; transform: translateX(-28px); clip-path: inset(0 100% 0 0 round 18px);
  transition: opacity .6s ease, transform .9s var(--ease), clip-path .9s var(--ease); }
.rb-faq .faqpage .qa.bar-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 18px); }
.rb-faq .faqpage .qa.bar-done { clip-path: none; }
.tbal { text-wrap: balance; }
/* one column (the same breakpoint as .faqpage__in): the search comes first, then the group buttons */
@media (max-width: 1080px) { .qsearch { grid-column: auto; } .faqpage .jump { grid-row: auto; } }
@media (max-width: 760px) {
  .qsearch__box input { font-size: 18px; min-height: 60px; padding-left: 54px; }
  .qsearch__box svg { left: 18px; }
}

/* Home "What we do": a heading above the three steps (Ema, 13 Nov: "Getting started" / "How to start working with us") */
.steps__head { margin-top: clamp(72px, 9vw, 120px); }
.steps__head + .steps { margin-top: clamp(36px, 4vw, 52px); }

/* ===== Home services as stacked cards (13 Nov) =====
   Ema 13 Nov: animate "Homes and new builds" like "What I help with" on the Turvi About page. Picture left (number and
   name over it), line and text middle, list right, links along the bottom; the picture opens from a closed square, the
   words slide up out of clipped lines, and the cards pin and stack ([data-stack], the Homes page mechanic). */
.svc-stack { margin-top: 0; gap: 20px; }
.svc { position: relative; height: clamp(460px, calc(100svh - 196px), 580px); padding: 20px; border-radius: var(--r); overflow: hidden;
  background: var(--raised); border: 1px solid var(--line); color: var(--white);
  display: grid; grid-template-columns: 4fr 5fr 3fr; grid-template-rows: 1fr auto; gap: 24px 36px; }
.svc__media { grid-row: 1 / 3; position: relative; display: block; border-radius: calc(var(--r) - 8px); overflow: hidden; background: var(--pine-deep); }
.svc__clip { position: absolute; inset: 0; }
.svc__clip img, .svc__clip video { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc__clip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26, 24, 22, .85) 0, rgba(26, 24, 22, .45) 32%, rgba(26, 24, 22, .05) 62%, rgba(26, 24, 22, .35) 100%); }
.svc__n { position: absolute; top: 18px; left: 22px; z-index: 1; font: italic 400 38px/1 var(--serif); color: var(--sand); }
.svc__tag { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; font: 600 clamp(32px, 3.2vw, 48px)/1.02 var(--head); letter-spacing: -0.025em; color: var(--white); }
.svc__body { padding-top: 12px; }
.svc__line { font: 600 clamp(26px, 2.3vw, 34px)/1.15 var(--head); letter-spacing: -0.015em; color: var(--white); margin: 0 0 18px; }
.svc__body p { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 44ch; }
.svc__list { padding-top: 14px; }
.svc__list .eyebrow { margin-bottom: 14px; }
.svc__list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.svc__list li span { position: relative; padding-left: 20px; font-size: 18px; line-height: 1.4; color: rgba(255, 255, 255, .84); }
.svc__list li span::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--sand); }
.svc__links { grid-column: 2 / 4; display: flex; justify-content: space-between; gap: 20px; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; }
.svc__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--white); text-decoration: none; font: 600 18px/1.1 var(--body); }
.svc__links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.svc__links a.svc__quote { color: var(--orange); }
/* the entrance (Turvi "What I help with"): plays when a card reaches the lower 40% of the screen, replays after scrolling back */
.rb-svc .svc__clip { clip-path: inset(50%); transition: clip-path .9s cubic-bezier(.16, 1, .3, 1); }
.rb-svc .svc .rise, .rb-svc .why .rise { overflow: hidden; }
.rb-svc .svc .rise > *, .rb-svc .why .rise > * { display: block; transform: translateY(110%); transition: transform .8s cubic-bezier(.16, 1, .3, 1) var(--d, 0s); }
.rb-svc .svc li.rise { padding: 1px 0; }
.rb-svc .svc.in .svc__clip { clip-path: inset(0); }
.rb-svc .svc.in .rise > *, .rb-svc .why.in .rise > * { transform: none; }
.rb-svc .svc.noanim .svc__clip, .rb-svc .svc.noanim .rise > *, .rb-svc .why.noanim .rise > * { transition: none; }
@media (max-width: 960px) {
  .svc { height: auto; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 20px; padding: 16px; }
  .svc__media { grid-row: auto; aspect-ratio: 16 / 10; }
  .svc__links { grid-column: auto; flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .svc__body p, .svc__list li span { font-size: 17px; }
}

/* a framed clip (Homes "Where we work", clip T1, Ema 13 Nov): opens like the framed pictures; the photo shows instead under reduced motion */
.frame--vid video { width: 100%; height: 100%; object-fit: cover; display: block; }
.frame--vid img { display: none; }
@media (prefers-reduced-motion: reduce) { .frame--vid video { display: none; } .frame--vid img { display: block; height: 100%; } }

/* home service cards play clips (Ema 13 Nov: P6 behind Residential Homes, P4 behind New builds); the photo shows instead under reduced motion */
.svc__clip video + img { display: none; }
@media (prefers-reduced-motion: reduce) { .svc__clip video { display: none; } .svc__clip video + img { display: block; } }

/* with reduced motion the word-by-word lighting never runs (site.js stops early), so the statement shows in full */
@media (prefers-reduced-motion: reduce) { .statement .word { color: var(--white); } }

/* home "Meet our team" over clip Q6 (Ema 13 Nov): the clip fills the section under a pine shade; the still shows under reduced motion */
.section--vid { position: relative; overflow: hidden; isolation: isolate; }
.section__media { position: absolute; inset: 0; z-index: -1; }
.section__media video, .section__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.section__media video + img { display: none; }
.section__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(35, 48, 41, .9) 0%, rgba(35, 48, 41, .72) 50%, rgba(35, 48, 41, .45) 100%); }
.about-strip { max-width: 640px; }
@media (max-width: 760px) { .section__media::after { background: rgba(35, 48, 41, .78); } }
@media (prefers-reduced-motion: reduce) { .section__media video { display: none; } .section__media video + img { display: block; } }

/* reviews drift slowly across the screen (Ema 13 Nov): site.js moves the cards into a track, adds a copy for a seamless
   loop, and sets the distance and a speed of about 30px a second; hovering (mouse), touching or tabbing in pauses them.
   Without script or with reduced motion they stay a row you can swipe. */
.slider.is-marquee { display: block; overflow: hidden; padding: 0 0 10px; scroll-snap-type: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); }
.slider__track { display: flex; gap: 18px; width: max-content; animation: revs-drift var(--dur, 100s) linear infinite; }
@media (hover: hover) { .slider.is-marquee:hover .slider__track { animation-play-state: paused; } }
.slider.is-paused .slider__track, .slider.is-marquee:focus-within .slider__track { animation-play-state: paused; }
@keyframes revs-drift { from { transform: translateX(0); } to { transform: translateX(var(--shift, -50%)); } }
.revs__foot { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 44px); }

/* a full-width clip panel above the New builds page's builders panel (P4, Ema 13 Nov) */
.frame--pano { aspect-ratio: 21 / 9; margin-bottom: 18px; }
@media (max-width: 760px) { .frame--pano { aspect-ratio: 16 / 10; } }

/* New builds "Why build it in?" (Ema 13 Nov, second pass): slim frosted panels that pin and stack, over slow running water.
   Desktop row: number | heading | line (headings about the size of the Turvi Services list); phones stack them in a column. */
.why-sec { position: relative; isolation: isolate; }
.why-sec__bg { position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; z-index: -1; overflow: hidden; }
.why-sec__bg video, .why-sec__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why-sec__bg video + img { display: none; }
.why-sec__bg::after { content: ""; position: absolute; inset: 0; background: rgba(44, 58, 48, .5); }
.why-sec__in { padding-block: clamp(90px, 12vw, 170px); }
.why-stack { margin-top: clamp(40px, 5vw, 64px); }
.why { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 36ch); align-items: center; gap: 12px 40px;
  min-height: clamp(150px, 20vh, 210px); padding: clamp(24px, 3vw, 40px) clamp(24px, 3.4vw, 48px); border-radius: var(--r); overflow: hidden;
  background: rgba(26, 24, 22, .38); -webkit-backdrop-filter: blur(6px) saturate(115%); backdrop-filter: blur(6px) saturate(115%);
  border: 1px solid rgba(255, 255, 255, .16); color: var(--white); }
.why__body { display: contents; }
.why__n { font: italic 400 clamp(28px, 2.4vw, 38px)/1 var(--serif); color: var(--sand); }
.why__h { font: 600 clamp(30px, 3.4vw, 52px)/1.02 var(--head); letter-spacing: -0.03em; color: var(--white); margin: 0; }
.why__body p { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; color: rgba(255, 255, 255, .84); max-width: 36ch; }
@media (max-width: 960px) {
  .why { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 10px; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .why-sec__bg video { display: none; } .why-sec__bg video + img { display: block; } }

/* the band's hills without its words and buttons (New builds page, Ema 13 Nov) */
.cta.cta--ridge { padding: 0; height: clamp(200px, 20vw, 300px); }

/* Homes "Where we work" under its full-width clip (Ema 13 Nov): heading left, words and towns right; stacked on phones */
.where { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 6vw, 90px); margin-top: clamp(36px, 4vw, 56px); align-items: start; }
.where p { max-width: 58ch; }
.where .chips { margin-top: 24px; }
@media (max-width: 960px) { .where { grid-template-columns: minmax(0, 1fr); } }

/* home "What is radon": title and statement stacked in a narrow column like the rest of the page, not across the full line
   (Ema 13 Nov, later: "more stacked"); the line spacing stays open (her earlier "not stacked so tight") */
#what .display { font-size: clamp(29px, 5.4vw, 84px); }  /* two lines, not three (Ema 16 Nov: three felt squished) */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }  /* home h1 kept for search and screen readers, not shown (Ema 16 Nov) */
#what .statement { max-width: 30ch; font-size: clamp(22px, 2.3vw, 34px); line-height: 1.45; margin-top: clamp(32px, 4vw, 52px); }

/* contact page: clip D9 at the top with the title over it, no shade (Ema 13 Nov); the details and form follow straight after */
.phero--contact { min-height: 62svh; }
.contact.contact--after-hero { padding-top: clamp(56px, 7vw, 100px); }

/* home "What is radon" in its own Deep Pine panel with more room around it, set apart from "Our services" (Ema 13 Nov) */
#what { background: var(--pine); padding-block: clamp(100px, 12vw, 170px); }
#what + #services { padding-top: clamp(90px, 10vw, 150px); }

/* New builds: the closing line after the reasons, a little larger and centred (Ema 13 Nov) */
.why-stack + .lead-out { margin: clamp(48px, 6vw, 90px) auto 0; max-width: 34ch; text-align: center; font-size: clamp(25px, 2.6vw, 38px); line-height: 1.4; }


/* ===== Gallery (13 Nov) ===== */
.gal { padding-top: 10px; padding-bottom: clamp(60px, 8vw, 110px); }
.gal__grid { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 18px; }
.gal__item { break-inside: avoid; margin: 0 0 18px; }
.gal__btn { display: block; position: relative; border-radius: var(--r); cursor: zoom-in; text-decoration: none; }
.gal__btn:focus-visible { outline: 3px solid var(--sand); outline-offset: 4px; }
.gal__fig { display: block; border-radius: var(--r); overflow: hidden; background: var(--raised); }
.gal__fig img { width: 100%; height: auto; display: block; transition: transform .7s var(--ease), filter .4s; }
.gal__btn:hover .gal__fig img { transform: scale(1.03); filter: brightness(1.08); }
.gal__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* entrance: each photo opens from a closed box while settling from about 108% (only when script runs and motion is allowed) */
.gal-anim .gal__fig { clip-path: inset(44% 0 44% 0 round var(--r)); }
.gal-anim .gal__fig img { transform: scale(1.08); }
.gal-anim .gal__item.in .gal__fig { clip-path: inset(0 0 0 0 round var(--r)); transition: clip-path 1.2s var(--ease); }
.gal-anim .gal__item.in .gal__fig img { transform: none; transition: transform 1.4s var(--ease), filter .4s; }
.gal-anim .gal__item.in .gal__btn:hover .gal__fig img { transform: scale(1.03); }
@media (max-width: 1000px) { .gal__grid { columns: 2; } }
@media (max-width: 560px) { .gal__grid { column-gap: 12px; } .gal__item { margin-bottom: 12px; } .gal__fig, .gal__btn { border-radius: 16px; } }
@media (prefers-reduced-motion: reduce) {
  .gal-anim .gal__fig, .gal-anim .gal__item.in .gal__fig { clip-path: none; }
  .gal-anim .gal__fig img { transform: none; }
}
/* lightbox */
html.lbx-lock, body.lbx-lock { overflow: hidden; }
.lbx { position: fixed; inset: 0; z-index: 200; background: rgba(14, 13, 12, .985); display: flex; flex-direction: column; opacity: 0; transition: opacity .25s; touch-action: pan-y; overscroll-behavior: contain; }
.lbx[hidden] { display: none; }
.lbx.is-open { opacity: 1; }
.lbx__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; min-height: 76px; }
.lbx__count { font: 600 20px/1 var(--head); color: var(--white); letter-spacing: .01em; }
.lbx__stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 84px 24px; }
.lbx__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 12px; opacity: 1; transition: opacity .25s; }
.lbx.is-loading .lbx__img { opacity: .15; }
.lbx__btn { min-width: 56px; min-height: 56px; border-radius: 28px; border: 2px solid rgba(255, 255, 255, .5); background: rgba(34, 32, 29, .9); color: var(--white); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font: 600 20px/1 var(--head); padding: 0 24px; }
.lbx__btn:hover { background: var(--sand); color: var(--charcoal); border-color: var(--sand); }
.lbx__btn:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; }
.lbx__nav { position: absolute; top: 50%; margin-top: -28px; padding: 0; width: 56px; }
.lbx__nav svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.lbx__prev { left: 14px; } .lbx__next { right: 14px; }
@media (max-width: 760px) {
  .lbx__stage { padding: 0 12px 96px; }
  .lbx__nav { top: auto; bottom: 20px; margin-top: 0; width: 64px; }
  .lbx__prev { left: calc(50% - 76px); } .lbx__next { right: calc(50% - 76px); }
}
@media (prefers-reduced-motion: reduce) { .lbx, .lbx__img, .gal__fig img { transition: none; } }

/* 16 Nov privacy: the Privacy policy page (src/pages/privacy.html) */
.policy { max-width: 760px; }
.policy h2 { font: 600 clamp(24px, 3vw, 30px)/1.2 var(--head); color: var(--white); margin: 44px 0 12px; }
.policy p, .policy li { font-size: 19px; line-height: 1.65; color: var(--muted); }
.policy p { margin: 0 0 16px; }
.policy b { color: var(--white); font-weight: 600; }
.policy a { color: var(--sand); padding-block: 8px; }
.policy__date { font-weight: 600; color: var(--white); }
.policy__list { margin: 0 0 20px; padding-left: 22px; }
.policy__list li { margin-bottom: 10px; }
@media (max-width: 760px) { .policy p, .policy li { font-size: 18px; } .policy h2 { margin-top: 36px; } }

/* ===== 16 Nov devA ===== */

/* 1. Home reviews: arrows on desktop, swipe or drag on phones, the slow drift kept (site.js takes the drift over from the
   CSS animation so a hand can move the cards and the drift carries on from where they were left) */
.revs__arrows { display: flex; gap: 12px; }
.revs__arrow { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .04); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
  transition: transform .35s var(--ease), background-color .3s, border-color .3s; }
.revs__arrow:hover { border-color: var(--white); background: rgba(255, 255, 255, .1); }
.revs__arrow:active { transform: scale(.94); }
.revs__arrow:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; }
@media (max-width: 760px) { .revs__arrows { display: none; } }
.slider.is-marquee { touch-action: pan-y; cursor: grab; }
.slider.is-marquee.is-js .slider__track { animation: none; will-change: transform; }
.slider.is-marquee.is-dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; }

/* 2. New builds "Why build it in?": the water now covers the whole section. The old layer was a sticky 100svh box with a
   -100svh margin, so its margin box was empty and it could slide out of the bottom of the section, and on a phone 100svh is
   shorter than the screen once the address bar slides away. Now: a full-height layer (poster picture painted on it, so it can
   never be blank) holding a sticky window that is as tall as the largest screen. */
.why-sec { overflow: hidden; overflow: clip; }
.why-sec__bg { position: absolute; inset: 0; height: auto; margin: 0; z-index: -1; overflow: visible;
  background: var(--pine-deep) url(/assets/img/directory-q1.jpg) center / cover no-repeat; }
.why-sec__pin { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.why-sec__bg::after { content: ""; position: absolute; inset: 0; background: rgba(44, 58, 48, .5); pointer-events: none; }

/* 3. Service-page heroes: a dark gradient rising from the bottom edge, behind the white words, on phones and desktop.
   Replaces the side-to-side shade on these two pages (Homes and New builds use the same rule). */
.hero__shade--text { background:
  linear-gradient(0deg, rgba(26, 24, 22, .92) 0%, rgba(26, 24, 22, .82) 24%, rgba(26, 24, 22, .55) 52%, rgba(26, 24, 22, .18) 78%, rgba(26, 24, 22, 0) 100%),
  linear-gradient(180deg, rgba(34, 32, 29, .4) 0%, rgba(34, 32, 29, 0) 22%); }
@media (max-width: 760px) {
  .hero__shade--text { background:
    linear-gradient(0deg, rgba(26, 24, 22, .94) 0%, rgba(26, 24, 22, .86) 34%, rgba(26, 24, 22, .6) 64%, rgba(26, 24, 22, .22) 88%, rgba(26, 24, 22, 0) 100%),
    linear-gradient(180deg, rgba(34, 32, 29, .4) 0%, rgba(34, 32, 29, 0) 22%); }
}

/* 5. Desktop menu: the hover bubble from the Turvi Creative menu. A rounded bubble swells in behind the link with the
   springy ease (cubic-bezier .16,1,.3,1) and a ring that opens around it, here in orange with a soft glow; the letters
   roll up one after another (18ms apart) as they do on that site. Desktop dropdowns only; the phone menu is untouched. */
.nav__menu a { position: relative; z-index: 0; isolation: isolate; }
.nav__menu a:hover { background: transparent; }
.nav__menu a::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 12px;
  background: radial-gradient(120% 140% at 30% 20%, rgba(255, 149, 39, .26), rgba(255, 149, 39, .12) 60%, rgba(255, 149, 39, .08));
  border: 1px solid rgba(255, 149, 39, .5);
  box-shadow: 0 0 0 0 rgba(255, 149, 39, 0), 0 0 0 rgba(255, 149, 39, 0);
  opacity: 0; transform: scale(.86);
  transition: opacity .3s, transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s cubic-bezier(.16, 1, .3, 1); }
.nav__menu a:hover::before, .nav__menu a:focus-visible::before { opacity: 1; transform: scale(1.03);
  box-shadow: 0 0 0 5px rgba(255, 149, 39, .1), 0 0 26px rgba(255, 149, 39, .42); }
.nav__menu a:focus-visible { outline: 2px solid var(--sand); outline-offset: 2px; }
.nav__drop .nav__menu a span { font-size: inherit; opacity: 1; margin-left: 0; }
@media (prefers-reduced-motion: reduce) {
  .nav__menu a::before { transition: opacity .2s; transform: none; }
  .nav__menu a:hover::before, .nav__menu a:focus-visible::before { transform: none; }
}
/* ===== 16 Nov devC: Tools and Local contractors as pinned, evenly sized card stacks (Ema) =====
   Same mechanic as the Homes "how" and New builds "why" cards ([data-stack], .stack-veil). Every card on a page is the same
   height. Hidden-until-arrival states only apply when the script has added .rb-dc (motion allowed), so reduced motion and
   no-script see everything. */
.phero--plain:has(.phero__media) { min-height: 62svh; align-items: flex-end; }   /* a hero clip can go in the plain heroes */
.phero--plain .phero__media { z-index: -2; }

/* Tools */
.tool-stack, .cstack { margin-top: 0; overflow-x: clip; }
.tool { position: relative; isolation: isolate; height: clamp(460px, calc(100svh - 190px), 600px); border-radius: var(--r); overflow: hidden;
  background: var(--raised); border: 1px solid rgba(255, 255, 255, .14); display: grid; grid-template-columns: 1.1fr 1fr; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .75); }
.tool__media { position: relative; overflow: hidden; min-height: 0; }
.tool__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tool__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(43, 41, 37, 0) 60%, var(--raised) 100%); }
.tool__text { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.tool__h { font: 600 clamp(30px, 3.2vw, 50px)/1.04 var(--head); letter-spacing: -0.03em; color: var(--white); margin: 0; }
.tool__text p { color: rgba(255, 255, 255, .8); font-size: clamp(17.5px, 1.35vw, 20px); line-height: 1.55; max-width: 46ch; }
.rb-dc .tool .rise { overflow: hidden; }
.rb-dc .tool .rise > * { display: block; transform: translateY(110%); transition: transform .8s cubic-bezier(.16, 1, .3, 1) var(--d, 0s); }
.rb-dc .tool.in .rise > * { transform: none; }
.rb-dc .tool__media { clip-path: inset(0 0 0 100%); transition: clip-path 1s cubic-bezier(.16, 1, .3, 1); }
.rb-dc .tool.in .tool__media { clip-path: inset(0); }
.rb-dc .tool.noanim .tool__media, .rb-dc .tool.noanim .rise > * { transition: none; }

/* Local contractors */
.cpanel { position: relative; isolation: isolate; height: clamp(320px, 46svh, 420px); border-radius: var(--r); overflow: hidden; overflow-x: clip;
  background: var(--raised); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .75); }
.cpanel--empty { background: var(--pine-deep); border-style: dashed; border-color: rgba(224, 207, 169, .4); }
.cpanel__in { height: 100%; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: auto auto; column-gap: clamp(28px, 5vw, 80px);
  padding: clamp(28px, 4vw, 56px); align-content: center; }
.cpanel__in .eyebrow { grid-column: 1; grid-row: 1; margin-bottom: 14px; align-self: end; }
.cpanel__h { grid-column: 1; grid-row: 2; align-self: start; font: 600 clamp(30px, 3.6vw, 54px)/1.06 var(--head); letter-spacing: -0.03em; color: var(--white); margin: 0; }
.cpanel__in ul { grid-column: 2; grid-row: 1 / 3; align-self: center; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; min-width: 0; }
.cpanel__in li { font-size: clamp(18px, 1.5vw, 21px); overflow-wrap: anywhere; }
.cpanel__in a { color: var(--white); text-decoration-color: rgba(224, 207, 169, .5); text-underline-offset: 5px; }
.cpanel__in .link { grid-column: 2; grid-row: 1 / 3; align-self: center; justify-self: start; font-size: clamp(18px, 1.5vw, 21px); }
.rb-dc .cpanel { opacity: 0; transition: opacity .9s ease; }
.rb-dc .cpanel.in { opacity: 1; }
.rb-dc .cpanel .cfly { opacity: 0; transform: translateX(90px); transition: opacity .8s ease var(--d, .15s), transform .9s cubic-bezier(.16, 1, .3, 1) var(--d, .15s); }
.rb-dc .cpanel .cfly:nth-child(2), .rb-dc .cpanel .cfly:nth-child(3) { --d: .3s; }
.rb-dc .cpanel .cfly:nth-child(4), .rb-dc .cpanel .cfly:nth-child(5) { --d: .45s; }
.rb-dc .cpanel.in .cfly { opacity: 1; transform: none; }
.rb-dc .cpanel.noanim, .rb-dc .cpanel.noanim .cfly { transition: none; }

@media (max-width: 960px) {
  .tool { height: clamp(520px, calc(100svh - 190px), 660px); grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(150px, 1fr) auto; }
  .tool__media::after { background: linear-gradient(to top, var(--raised), rgba(43, 41, 37, 0) 45%); }
  .tool__text { padding: 22px 22px 28px; gap: 10px; justify-content: flex-start; }
  .tool__h { font-size: clamp(28px, 7vw, 36px); }
  .cpanel { height: 380px; }
  .cpanel__in { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr; padding: 26px 22px; align-content: start; row-gap: 0; }
  .cpanel__in .eyebrow { grid-row: 1; align-self: start; }
  .cpanel__h { grid-row: 2; font-size: clamp(28px, 7.4vw, 38px); margin-bottom: 18px; }
  .cpanel__in ul, .cpanel__in .link { grid-column: 1; grid-row: 3; align-self: start; }
  .cpanel__in ul { gap: 12px; }
  .rb-dc .cpanel .cfly { transform: translateX(60px); }
}
@media (prefers-reduced-motion: reduce) {
  .rb-dc .cpanel, .rb-dc .cpanel .cfly, .rb-dc .tool__media, .rb-dc .tool .rise > * { opacity: 1; transform: none; clip-path: none; transition: none; }
}
/* ===== end 16 Nov devC ===== */

/* ===== 16 Nov devB: Radon in the Kootenays (stacked panels) ===== */
/* Radon in the Kootenays: panels like New builds' "Why build it in?", with the picture next to the title and text */
.kt-sec .why-sec__in { padding-block: clamp(60px, 8vw, 120px); }
.kt-sec .why-stack { margin-top: 0; }
.why.kt { grid-template-columns: minmax(0, 1fr) minmax(0, clamp(260px, 30vw, 400px)); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: 0; padding: clamp(22px, 3vw, 40px); background: rgba(26, 24, 22, .5); }
.kt__text { display: flex; flex-direction: column; gap: 14px; }
.kt__text .why__h { font-size: clamp(36px, 4.4vw, 68px); }
.kt__text p { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, .86); max-width: 44ch; }
.kt__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--pine-deep); }
.kt__media video, .kt__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.kt__media video + img { display: none; }
.rb-svc .kt .kt__media { clip-path: inset(50% round var(--r)); transition: clip-path 1.2s cubic-bezier(.16, 1, .3, 1) .15s; }
.rb-svc .kt.in .kt__media { clip-path: inset(0 round var(--r)); }
.rb-svc .kt.noanim .kt__media { transition: none; }
@media (max-width: 960px) {
  .why.kt { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .kt__text { gap: 10px; }
  .kt__text .why__h { font-size: clamp(30px, 8vw, 40px); }
  .kt__media { aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) {
  .kt__media video { display: none; } .kt__media video + img { display: block; }
}

/* ===== 16 Nov partner photos (Local contractors): one size in every panel ===== */
.cpanel--photo { --ph: clamp(320px, 46svh, 420px); }
.cpanel--photo .cpanel__in { padding-left: calc(var(--ph) * .8 + clamp(28px, 4vw, 56px)); column-gap: clamp(20px, 3vw, 48px); }
.cpanel__photo { position: absolute; left: 0; top: 0; height: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--deep); }
.cpanel__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.cpanel--photo .cpanel__h { font-size: clamp(28px, 2.9vw, 46px); }
/* the photo grows from small to full size as it fades in (Ema, 16 Nov) */
.rb-dc .cpanel__photo img { opacity: 0; transform: scale(.72); transition: opacity 1.6s ease .15s, transform 1.9s cubic-bezier(.16, 1, .3, 1) .15s; }
.rb-dc .cpanel.in .cpanel__photo img { opacity: 1; transform: none; }
.rb-dc .cpanel.noanim .cpanel__photo img { transition: none; }
@media (max-width: 960px) {
  /* phones: the photo sits under the name at the panel's full width, never shrunk to a thumbnail */
  .cpanel--photo { height: auto; }
  .cpanel--photo .cpanel__in { padding: 26px 22px 30px; grid-template-rows: auto auto auto auto; height: auto; }
  .cpanel--photo .cpanel__h { margin-bottom: 18px; font-size: clamp(28px, 7.4vw, 38px); }
  .cpanel--photo .cpanel__photo { position: relative; grid-column: 1; grid-row: 3; width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 14px; margin-bottom: 22px; }
  .cpanel--photo .cpanel__in ul { grid-row: 4; }
}
@media (prefers-reduced-motion: reduce) { .rb-dc .cpanel__photo img { opacity: 1; transform: none; transition: none; } }

/* 16 Nov: Questions page, room above "Our services" (the home rule #services { padding-top: 0 } left it flush) */
.faqpage ~ #services { padding-top: clamp(84px, 9vw, 140px); padding-bottom: clamp(84px, 9vw, 140px); }

/* 16 Nov: phone section headings two steps larger (Ema: they read a tad small on a phone) */
@media (max-width: 600px) {
  .h2 { font-size: clamp(36px, 9.8vw, 42px); }
  .display--md { font-size: clamp(42px, 11.4vw, 48px); }
  #what .display { font-size: clamp(32px, 9.6vw, 44px); }  /* each line is about 8em wide, so two lines hold down to 320px */
}

/* 16 Nov: About. "Our ethos" section above Meet our team (the line that was beside the values list); Pete's panel gets room on phones */
.ethosq { text-align: center; padding-top: 0; }
.ethosq .display { margin-bottom: clamp(26px, 3.4vw, 48px); }
.ethosq__q { margin: 0 auto; max-width: 27ch; font: italic 400 clamp(28px, 3.5vw, 54px)/1.22 var(--serif); letter-spacing: -0.01em; color: var(--sand); }
/* each line flies in from the side (odd lines from the left, even from the right) and settles into place, one after another */
.ethosq__q .ln { display: block; white-space: nowrap; }
.rb-lines .ethosq__q .ln { opacity: 0; transform: translateX(-34vw); transition: opacity .9s ease calc(var(--i) * .16s), transform 1.1s cubic-bezier(.16, 1, .3, 1) calc(var(--i) * .16s); will-change: transform; }
.rb-lines .ethosq__q .ln:nth-child(even) { transform: translateX(34vw); }
.rb-lines .ethosq__q.in .ln { opacity: 1; transform: none; }
.ethosq { overflow-x: clip; }
@media (max-width: 960px) {
  /* Pete's panel pins when its last line reaches the bottom of the screen; the extra room below lets his words finish
     brightening and be read before Lucas's panel reaches them (halved from 62vh, Ema 18 Nov: the gap was too large) */
  .tpanel--pete { padding-bottom: 31vh; }
}
@media (max-width: 960px) and (prefers-reduced-motion: reduce) { .tpanel--pete { padding-bottom: 72px; } }

/* 16 Nov: "Work with us" panel on Local contractors plays the moss clip (G7) behind a dark wash */
.cpanel--media { border-style: solid; border-color: rgba(255, 255, 255, .14); }
.cpanel__bg { position: absolute; inset: 0; z-index: -1; }
.cpanel__bg video, .cpanel__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cpanel__bg video + img { display: none; }
.cpanel__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26, 24, 22, .78), rgba(26, 24, 22, .5)); }
@media (prefers-reduced-motion: reduce) { .cpanel__bg video { display: none; } .cpanel__bg video + img { display: block; } }

/* Quote form panel (chosen by Ema, 16 Nov; made permanent 18 Nov): charcoal, not the light sand. The boxes people type in stay
   light (sand tint, dark text) so an older reader still sees at once where to write. */
.form { background: var(--raised); color: var(--white); border: 1px solid rgba(255, 255, 255, .14); }
.form .f, .form .f--photos { color: rgba(255, 255, 255, .92); }
.form .f small, .form .f--photos small, .form .form__small { color: rgba(255, 255, 255, .7); }
.form .f input, .form .f select, .form .f textarea, .form .f--photos input[type="file"] { background-color: var(--sand-tint); border-color: transparent; }
.form .f input:focus, .form .f select:focus, .form .f textarea:focus, .form .f--photos input[type="file"]:focus-visible { border-color: var(--sand); box-shadow: 0 0 0 4px rgba(224, 207, 169, .3); }
.form .form__small a { color: var(--sand); }
.form .f__label { color: rgba(255, 255, 255, .92); }
.form .ph__msg, .form .ph__list { color: rgba(255, 255, 255, .85); }
.form .f--referred { margin-bottom: 22px; }

/* 16 Nov: service cards without the "Includes" / "Why build it in" lists (Ema): the words take both right-hand columns */
.svc__body { grid-column: 2 / 4; align-self: center; padding-top: 0; }
.svc__line { font-size: clamp(30px, 2.9vw, 44px); }
.svc__body p { font-size: clamp(18px, 1.5vw, 21px); max-width: 48ch; }
@media (max-width: 960px) { .svc__body { grid-column: auto; } }

/* 16 Nov: desktop pointer is a small hammer (Ema). Mouse only; typing fields keep the text cursor. The hammer rests
   slightly raised with its striking face on the hot spot; links and buttons raise it further; while the mouse button is
   down it swings to the struck picture (same grip position, so the head dips), and lifts again on release. */
@media (hover: hover) and (pointer: fine) {
  html:not(.cur-on) { cursor: url(/assets/icons/cursor-hammer.png) 10 13, auto; cursor: image-set(url(/assets/icons/cursor-hammer.png) 1x, url(/assets/icons/cursor-hammer@2x.png) 2x) 10 13, auto; }
  html:not(.cur-on) :is(a, button, summary, label, select, [role="button"], input[type="file"], input[type="submit"], .round, .revs__arrow, .qa summary, .ph__rm) {
    cursor: url(/assets/icons/cursor-hammer-tap.png) 15 10, pointer !important; cursor: image-set(url(/assets/icons/cursor-hammer-tap.png) 1x, url(/assets/icons/cursor-hammer-tap@2x.png) 2x) 15 10, pointer !important; }
  html:not(.cur-on):active, html:not(.cur-on):active * { cursor: url(/assets/icons/cursor-hammer-down.png) 10 13, auto; cursor: image-set(url(/assets/icons/cursor-hammer-down.png) 1x, url(/assets/icons/cursor-hammer-down@2x.png) 2x) 10 13, auto; }
  html:not(.cur-on):active :is(a, button, summary, label, select, [role="button"], input[type="file"], input[type="submit"], .round, .revs__arrow, .qa summary, .ph__rm) {
    cursor: url(/assets/icons/cursor-hammer-down.png) 15 10, pointer !important; cursor: image-set(url(/assets/icons/cursor-hammer-down.png) 1x, url(/assets/icons/cursor-hammer-down@2x.png) 2x) 15 10, pointer !important; }
  html:not(.cur-on):active :is(input:not([type="file"]):not([type="submit"]), textarea) { cursor: text; }
}

/* 16 Nov: the "Preview · Draft website · not the live site" tag is hidden on the preview (Ema, so she can see the pages
   properly). The preview is still noindex. Delete this line to bring the tag and its Notes switch back. */
.ptag { display: none !important; }

/* 17 Nov (tester): the closed phone menu must not take keyboard focus. Hidden while closed, shown the moment it opens. */
body:not(.menu-open) .sheet { visibility: hidden; transition-property: clip-path, visibility; transition-delay: 0s, .7s; }

/* 17 Nov (Ema): on phones the Tools and Local contractors panels no longer pin and slide over each other (data-stack-mobile
   removed from both pages): they sit one under another at their own height, so nothing is cut off by the call bar. */
@media (max-width: 960px) {
  .tool { height: auto; grid-template-rows: auto auto; }
  .tool__media { aspect-ratio: 16 / 11; min-height: 0; }
  .cpanel, .cpanel.cpanel--empty { height: auto; min-height: 300px; }
  .tool-stack, .cstack { gap: 18px; }
}

/* 17 Nov (Ema): the Questions page is charcoal like the rest of the site (it was the one light page). Question bars are
   raised charcoal with white words; the search box stays a light field so it is obvious where to type. */
.faqpage--dark { background: var(--charcoal); color: var(--text); }
.faqpage--dark .jump a { color: rgba(255, 255, 255, .78); border-color: rgba(255, 255, 255, .22); }
.faqpage--dark .jump a:hover, .faqpage--dark .jump a.is-on { color: var(--white); border-color: var(--sand); }
.faqpage--dark .qgroup .h3 { color: var(--white); }
.faqpage--dark .qa { background: var(--raised); border-color: rgba(255, 255, 255, .14); }
.faqpage--dark .qa[open] { box-shadow: 0 18px 50px -24px rgba(0, 0, 0, .8); border-color: rgba(224, 207, 169, .4); }
.faqpage--dark .qa summary { color: var(--white); }
.faqpage--dark .qa__icon { background: var(--sand); }
.faqpage--dark .qa__icon::before, .faqpage--dark .qa__icon::after { background: var(--charcoal); }
.faqpage--dark .qa[open] .qa__icon { background: var(--white); }
.faqpage--dark .qa__body p { color: rgba(255, 255, 255, .86); }
.faqpage--dark .qa__body a { color: var(--sand); }
.faqpage--dark .qsearch__label { color: var(--sand); }
.faqpage--dark .qsearch__box input { background: var(--sand-tint); border-color: transparent; }
.faqpage--dark .qsearch__box input:focus { border-color: var(--sand); box-shadow: 0 0 0 4px rgba(224, 207, 169, .3); }
.faqpage--dark .qsearch__status { color: rgba(255, 255, 255, .75); }
.faqpage--dark .qsearch__none { color: var(--white); }
.faqpage--dark .qsearch__none a { color: var(--sand); }
.faqpage--dark .qa__q mark, .faqpage--dark mark { background: rgba(224, 207, 169, .9); color: var(--charcoal); }
.faqpage--dark ~ #services { border-top: 1px solid var(--line); }

/* ===== 18 Nov: footer, hammer pointer with a ring (Ema) ===== */
/* Footer social links sit side by side in the "Talk to us" column */
.foot__social { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 6px; }
.foot__social a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .35); }
/* Phones: two columns. The logo and tagline take a full row, Services and Radon sit side by side, Talk to us takes a full row. */
@media (max-width: 760px) {
  .foot { padding-top: 56px; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 36px; }
  .foot__brand, .foot__grid > div:last-child { grid-column: 1 / -1; }
  .foot__brand img { margin-bottom: 14px; }
  .foot__tag { max-width: none; }
  .foot h3 { margin-bottom: 8px; letter-spacing: .14em; }
  .foot__grid a { overflow-wrap: anywhere; line-height: 1.3; }
}

/* Pointer: the hammer stays under the mouse and a thin light ring trails it. Fine pointer only; site.js adds html.cur-on after
   the first mouse move and never under reduced motion, so those visitors keep the plain CSS hammer above. The ring grows over
   links and buttons and shrinks a little while the button is down; the hammer swings to its struck picture while down. */
.cur-hammer, .cur-ring { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; opacity: 0; transition: opacity .25s; will-change: transform; }
.cur-hammer { width: 0; height: 0; }
.cur-hammer i { position: absolute; left: -10px; top: -13px; width: 40px; height: 40px; background: url(/assets/icons/cursor-hammer@2x.png) 0 0 / 40px 40px no-repeat; }
.cur-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 0 0 1px rgba(26, 24, 22, .35); }
.cur-ring i { display: block; width: 100%; height: 100%; border-radius: 50%; transition: transform .3s cubic-bezier(.645, .045, .355, 1), background .3s; }
html.cur-on .cur-hammer, html.cur-on .cur-ring { opacity: 1; }
html.cur-on.cur-text .cur-hammer, html.cur-on.cur-text .cur-ring { opacity: 0; }
html.cur-on.cur-link .cur-hammer i { left: -15px; top: -10px; background-image: url(/assets/icons/cursor-hammer-tap@2x.png); }
html.cur-on.cur-down .cur-hammer i { background-image: url(/assets/icons/cursor-hammer-down@2x.png); }
html.cur-on.cur-link .cur-ring i { transform: scale(1.6); background: rgba(255, 255, 255, .1); }
html.cur-on.cur-down .cur-ring i { transform: scale(.8); }
html.cur-on, html.cur-on * { cursor: none !important; }
html.cur-on :is(input:not([type="file"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]), textarea) { cursor: text !important; }
@media (prefers-reduced-motion: reduce), (pointer: coarse) { .cur-hammer, .cur-ring { display: none; } }

/* 18 Nov (Ema): phone footer. The logo lock-up moves to the bottom, under Facebook and Instagram, and the phone
   number is the same size as the text around it, just bold. */
@media (max-width: 760px) {
  .foot__grid .foot__brand { order: 9; margin-top: 18px; }
  .foot .foot__phone { font: 700 17px/1.4 var(--body); letter-spacing: 0; margin-bottom: 0; }
}
/* 18 Nov: What is radon, first section (wir-) */
.wir__lead { font: 600 clamp(25px, 2.6vw, 38px)/1.2 var(--head); letter-spacing: -0.02em; color: var(--white); max-width: 26ch; margin-bottom: 18px; }
.wir__sub { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; color: var(--text); max-width: 44ch; margin-bottom: 32px; }
.wir { padding-bottom: clamp(60px, 7vw, 100px); }
.wir .display { margin-bottom: clamp(28px, 3.6vw, 52px); max-width: 14ch; }
.wir__q { margin: 0 0 clamp(36px, 5vw, 72px); max-width: 30ch; font: italic 400 clamp(28px, 3.6vw, 56px)/1.22 var(--serif); letter-spacing: -0.01em; color: var(--sand); }
.wir__q .ln { display: block; white-space: nowrap; }
.rb-lines .wir__q .ln { opacity: 0; transform: translateX(-34vw); transition: opacity .9s ease calc(var(--i) * .16s), transform 1.1s cubic-bezier(.16, 1, .3, 1) calc(var(--i) * .16s); will-change: transform; }
.rb-lines .wir__q .ln:nth-child(even) { transform: translateX(34vw); }
.rb-lines .wir__q.in .ln { opacity: 1; transform: none; }
.wir__body { max-width: 62ch; padding-top: clamp(26px, 3vw, 40px); border-top: 1px solid var(--line); }
.wir__body p { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.6; color: var(--text); margin-bottom: 22px; }
.wir__body .wir__end { font: 600 clamp(24px, 2.4vw, 34px)/1.25 var(--head); letter-spacing: -0.02em; color: var(--white); margin: 34px 0 0; max-width: 28ch; }

/* 18 Nov (Ema's phone review, second round) */
/* headings that rise inside a clipped line kept losing the tails of g, y and p: a little room under the line */
.rise > .why__h, .rise > .tool__h { padding-bottom: .14em; }
/* About: Pete's and Lucas's photos open from a closed box at their centre exactly like the Radon in the Kootenays
   pictures (Ema, 18 Nov; replaces the 13 Nov box-and-zoom), at every width. It plays when the photo reaches the lower
   40% of the screen and again after scrolling back above it (site.js toggles .seen). The clip sits on the picture, so
   the frame it sits in can be watched (Chrome counts a target's own clip-path when measuring). */
.rb-anim .tpanel .rb-zoom, .rb-anim .tpanel.in .rb-zoom { clip-path: none; background: transparent; transition: none; }
.rb-anim .tpanel .rb-zoom > img, .rb-anim .tpanel.in .rb-zoom > img { transform: none; clip-path: inset(50% round var(--r));
  transition: clip-path 1.2s cubic-bezier(.16, 1, .3, 1) .15s; }
.rb-anim .tpanel .rb-zoom.seen > img { clip-path: inset(0 round var(--r)); }
.rb-anim .tpanel .rb-zoom.noanim > img { transition: none; }
@media (max-width: 760px) {
  /* "Buying or selling?" panel: the arrow sits on the right on phones */
  .banner .card__go { align-self: flex-end; }
}
@media (max-width: 760px) {
  /* home hero on phones: a little tighter, and room under the trust row so Safari's floating bottom bar doesn't cover it */
  .hero__in { padding-top: 120px; padding-bottom: 28px; }
  .hero__title { margin-bottom: 22px; }
  .hero__sub { margin-bottom: 26px; }
  .hero__foot { padding-bottom: 90px; }
}
@media (max-width: 960px) {
  /* contact page, one column (Ema, 18 Nov): the intro line, then the form, then phone, email, hours and area */
  .contact__text { display: contents; }
  .contact__in > .form { order: 1; }
  .contact__list { order: 2; margin-top: 0; }
}
@media (max-width: 760px) {
  /* phone footer: "Learn about radon" takes two lines in its half column. Both headings start on the same line
     ("Services" level with "Learn about", Ema 18 Nov) and keep two lines' height, so the links beside each other line up */
  .foot__grid > div:not(.foot__brand):not(:last-child) h3 { display: flex; align-items: flex-start; line-height: 1.15; min-height: 2.3em; }
}
@media (max-width: 760px) {
  /* New builds on phones (Ema, 18 Nov): half the space above the timber-home clip, more room between it and the
     "Building in the West Kootenays?" panel */
  .nb-before-pano { padding-bottom: 75px; }
  .nb-pano { padding-top: 0; }
  .nb-pano .frame--pano { margin-bottom: 36px; }
}
/* Homes and New builds heroes (Ema, 18 Nov): no buttons (the phone call bar shows instead), and on phones the hero fills
   the screen so the title and words sit low, over the darkest part of the shade */
.phero--svc .phero__sub { margin-bottom: 0; }
@media (max-width: 760px) {
  .phero--svc { min-height: 100svh; }
  /* room for the phone call bar (and Safari's floating bottom bar under it) so the last line is never covered */
  .phero--svc .phero__in { padding-bottom: 160px; }
}
/* About "Buying or selling?" panel (Ema, 18 Nov: too dark to see the water rippling). The clip itself is very dark
   (poster averages 28 of 255), so it is brightened and the wash over it lightened; a soft shadow keeps the white words clear */
.banner--video .banner__media img, .banner--video .banner__media video { filter: brightness(2.3) contrast(1.08) saturate(1.1); }
.banner--video .banner__media::after { background: linear-gradient(90deg, rgba(26, 24, 22, .5) 0%, rgba(26, 24, 22, .26) 60%, rgba(26, 24, 22, .12) 100%); }
.banner--video .h2 { text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
@media (max-width: 760px) {
  /* "Got your reading?" band on phones (Ema, 18 Nov): less room above the title, more between the last line and the
     hills, so the block sits in the middle of its space */
  .cta:not(.cta--ridge) { padding-top: 64px; padding-bottom: 300px; }
}
/* the brightened clip must stay inside the panel's rounded corners (a filter can paint past them) */
.banner--video .banner__media { clip-path: inset(0 round var(--r)); }
/* Local contractors "A realtor, inspector or builder who'd like to be listed?" panel (Ema, 18 Nov: too dark to see the
   nature). The moss clip averages 67 of 255; the wash was .78 to .5, now .5 to .18, and the clip is a little brighter */
.cpanel--media .cpanel__bg video, .cpanel--media .cpanel__bg img { filter: brightness(1.35) saturate(1.1); }
.cpanel--media .cpanel__bg::after { background: linear-gradient(90deg, rgba(26, 24, 22, .5), rgba(26, 24, 22, .18)); }
.cpanel--media .cpanel__in { text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
@media (max-width: 760px) {
  /* Get a quote on phones (Ema, 18 Nov): the title sits at the bottom of the picture, not part-way up */
  .phero--contact .phero__in { padding-bottom: 26px; }
  .phero--contact .phero__title { margin-bottom: 0; }
}
/* home "Questions people ask us": the call line under the heading is gone and the All questions button sits under the
   questions (Ema, 18 Nov), left-aligned like the heading, not stretched across the list */
.faq > .faq__more { align-self: flex-start; margin-top: 18px; }

/* ===== 19 Nov (Ema): menu, footer logo and About panel arrow =====
   (1) About "Buying or selling?" panel: on desktop the arrow sits under the words at the far left; phones (max 760px) keep
   it on the right as before. (2) Desktop menu words two sizes up (16 to 20px), dropdown links too. (3) [footer logo change
   reverted, see below] (4) Phone menu words four sizes down (34-48px to 22px). */
@media (min-width: 761px) {
  .banner--arrow-under { flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px; }
}
.nav__links > a, .nav__drop > button, .nav__links > .nav__drop > a { font-size: 20px; }
.nav__menu { min-width: 260px; }
.nav__menu a { font-size: 20px; white-space: nowrap; }
.sheet__links a { font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; display: flex; align-items: center; }
/* the menu words never wrap; with the header phone number gone (Ema, 19 Nov) the 20px menu fits from 1081px again */
.nav__links > a, .nav__drop > button, .nav__links > .nav__drop > a { white-space: nowrap; }

/* ===== 19 Nov (Ema), second round =====
   (1) [footer logo change reverted, see below] (2) Phone menu grouped under
   the desktop menu's headings (About us, Services, Learn about radon, then Contact): each heading is a small sand label like
   the footer's, not a link; the groups arrive one after another; the sheet scrolls if a short phone can't fit it all. (3) The
   phone number is gone from the desktop header (removed from layout.html; the call bar, phone menu and footer keep it). */
.sheet { overflow-y: auto; overscroll-behavior: contain; padding-top: 96px; justify-content: flex-start; gap: 28px; }
.sheet__foot { margin-top: auto; }
.sheet__links { display: grid; gap: 22px; }
.sheet__label { font: 600 16px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--sand); margin: 0 0 4px;
  opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease); }
body.menu-open .sheet__label { opacity: 1; transform: none; }
body.menu-open .sheet__group:nth-child(2) > * { transition-delay: .06s; }
body.menu-open .sheet__group:nth-child(3) > * { transition-delay: .12s; }
body.menu-open .sheet__group:nth-child(4) > * { transition-delay: .18s; }
/* while the phone menu is open the header bar is solid, so menu links never show through it when a short phone scrolls the menu */
body.menu-open .nav { background: var(--charcoal); }

/* 19 Nov (Ema): phone menu links glow orange when tapped, the same bubble, ring and glow as the desktop dropdown links
   (site.js adds .is-tap as the finger lands and opens the page a quarter second later). The bubble hugs the words; the
   words stay lined up with the headings. */
.sheet__links a { position: relative; z-index: 0; isolation: isolate; width: fit-content; padding: 0 16px; margin-left: -16px;
  border-radius: 14px; -webkit-tap-highlight-color: transparent; }
.sheet__links a::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 14px;
  background: radial-gradient(120% 140% at 30% 20%, rgba(255, 149, 39, .26), rgba(255, 149, 39, .12) 60%, rgba(255, 149, 39, .08));
  border: 1px solid rgba(255, 149, 39, .5);
  box-shadow: 0 0 0 0 rgba(255, 149, 39, 0), 0 0 0 rgba(255, 149, 39, 0);
  opacity: 0; transform: scale(.86);
  transition: opacity .3s, transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s cubic-bezier(.16, 1, .3, 1); }
.sheet__links a.is-tap::before, .sheet__links a:focus-visible::before { opacity: 1; transform: scale(1.03);
  box-shadow: 0 0 0 5px rgba(255, 149, 39, .1), 0 0 26px rgba(255, 149, 39, .42); }
@media (hover: hover) { .sheet__links a:hover::before { opacity: 1; transform: scale(1.03); box-shadow: 0 0 0 5px rgba(255, 149, 39, .1), 0 0 26px rgba(255, 149, 39, .42); } }
.sheet__links a:focus-visible { outline: 2px solid var(--sand); outline-offset: 2px; }

/* 19 Nov (Ema): the footer logo is back to its original 150px (she meant the header logo). The header logo is two sizes up on
   desktop only: 42 to 54px tall (about 168 to 216px wide), 48px once the bar shrinks on scroll. Phones keep 42px. */
@media (min-width: 1081px) {
  .nav__logo img { height: 54px; }
  .nav.is-scrolled .nav__logo img { height: 48px; }
}
.nav__logo img { transition: height .4s var(--ease); }

/* 19 Nov (Ema): on desktop too the footer phone number is the size of the text around it (18px), just bold, as on phones */
@media (min-width: 761px) { .foot .foot__phone { font: 700 18px/1.4 var(--body); letter-spacing: 0; margin-bottom: 0; } }

/* ===== 19 Nov (Ema): New builds, two clip panels with a charcoal wash =====
   "Building in the West Kootenays?" has clip J8 behind it (trial) and the lead-out line is its own panel under "Why build it
   in?" with clip D6 behind it. Both clips are muted a little and sit under brand charcoal, so the words read; the About
   panel's brightening filter (for its dark water clip) is switched off here. */
.banner--j8 .banner__media img, .banner--j8 .banner__media video,
.banner--quote .banner__media img, .banner--quote .banner__media video { filter: saturate(.75); }
.banner--j8 .banner__media::after { background: linear-gradient(90deg, rgba(34, 32, 29, .84) 0%, rgba(34, 32, 29, .7) 55%, rgba(34, 32, 29, .6) 100%); }
.banner--quote .banner__media::after { background: rgba(34, 32, 29, .68); }
.banner--j8 .h2, .banner--quote .lead-out { text-shadow: 0 2px 18px rgba(0, 0, 0, .4); }
.banner--quote { min-height: clamp(300px, 34vw, 460px); justify-content: center; text-align: center; padding: clamp(48px, 7vw, 100px) clamp(28px, 6vw, 90px); }
.banner--quote .lead-out { margin: 0 auto; max-width: 38ch; font-size: clamp(24px, 2.4vw, 34px); }
.banner--quote .lead-out .word { color: rgba(224, 207, 169, .38); }
.banner--quote .lead-out .word.lit { color: var(--sand); }

/* 19 Nov (Ema): the quote panel is washed in the site's pine green (not charcoal) so it reads as its own section, has much
   more room above and below the words (so it takes longer to scroll past), and its words are two sizes bigger on phones
   (24 to 28px). */
.banner--quote .banner__media::after { background: rgba(44, 58, 48, .78); }
.banner--quote { min-height: 0; padding: clamp(120px, 15vw, 220px) clamp(28px, 6vw, 90px); }
@media (max-width: 760px) { .banner--quote .lead-out { font-size: 28px; line-height: 1.35; } }
/* 19 Nov (Ema): the P4 clip (woman on a veranda) now sits under the quote panel, not above the builders panel */
.nb-quote__pano { margin: 18px 0 0; }

/* 19 Nov (Ema): no call bar on the thank-you page (the form is already sent; the number is in the words), so no bottom
   room is kept for it either. The page now has clip B5 behind its words. */
@media (max-width: 900px) { body.page-thank-you .callbar { display: none; } }

/* 19 Nov (Ema): on desktop the home "What is radon" paragraph was squeezed into a narrow column (30ch) beside a lot of
   empty space. From 961px up it runs wider (up to 48ch, never wider than the page); phones and tablets are unchanged. */
@media (min-width: 961px) { #what .statement { max-width: min(48ch, 100%); } }

/* 19 Nov (Ema): the New builds quote is a full-width pine green band with no clip (the D6 clip is gone), and its words are
   larger on desktop. The walking clip follows in its own section. The .banner--quote rules above are no longer used. */
.nb-quoteband { padding-block: clamp(110px, 14vw, 220px); text-align: center; }
.nb-quoteband .lead-out { margin: 0 auto; max-width: 30ch; font-size: clamp(28px, 3.5vw, 54px); line-height: 1.3; }
.nb-quoteband .lead-out .word { color: rgba(224, 207, 169, .3); }
.nb-quoteband .lead-out .word.lit { color: var(--sand); }
.nb-quotepano .nb-quote__pano { margin: 0; }
