/* The Plumber Guy concept. Tokens from BRIEF.md: Van Yellow, Soot, Flame, Cold Steel, Enamel White, Grey Pipe. */
:root {
  --yellow: #FFD200; --soot: #1B1A17; --flame: #F07C0A; --steel: #8FA6B5; --white: #FFFFFF; --pipe: #5C5A55;
  --sc-canvas: var(--white); --sc-surface: #F3F1EC;
  --sc-ink: var(--soot); --sc-ink-soft: var(--pipe);
  --sc-accent: var(--yellow); --sc-accent-ink: var(--soot);
  --sc-font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --sc-font-text: "Barlow", system-ui, sans-serif;
  --gut: clamp(1rem, 4vw, 3.5rem);
}
body { background: var(--white); color: var(--soot); font-family: var(--sc-font-text); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--soot); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--yellow); }

.concept-bar { background: var(--soot); color: #fff; font-size: .8125rem; line-height: 1.4; padding: .5rem var(--gut); text-align: center; }

.yellow { background: var(--yellow); }
.dark { background: var(--soot); color: #fff; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gut); }

/* header: logo + three links, static */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: clamp(.9rem, 2.5vw, 1.6rem); }
.top img { display: block; width: clamp(104px, 12vw, 150px); height: auto; }
.top nav { display: flex; gap: clamp(.9rem, 2.4vw, 2rem); font-weight: 600; font-size: 1rem; }
.top nav a { text-decoration: none; padding-block: .5rem; }
.top nav a:hover, .top nav a[aria-current] { text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 2px; }

.display { font-family: var(--sc-font-display); font-weight: 900; line-height: .86; letter-spacing: -.01em; margin: 0; }

/* buttons: the one action */
.call { display: inline-flex; align-items: center; gap: .6rem; background: var(--soot); color: var(--yellow); font-weight: 600; font-size: 1.125rem;
  text-decoration: none; padding: .95rem 1.4rem; border-radius: 999px; transition: transform .2s ease-out; }
.call:hover { transform: translateY(-2px); }
.call svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.dark .call, .call--yellow { background: var(--yellow); color: var(--soot); }

/* 1 plate */
.plate { min-height: min(calc(100svh - 2.2rem), 60rem); display: flex; flex-direction: column; }
.plate__body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(1rem, 4vh, 3rem) clamp(2rem, 7vh, 5rem); }
.plate h1 { font-size: clamp(4.4rem, min(21vw, 19svh), 11rem); }
.plate h1 span { display: block; }
.plate__lede { font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); line-height: 1.4; max-width: 34ch; margin: clamp(1.2rem, 3vh, 2rem) 0 0; font-weight: 500; }
.plate__act { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; margin-top: clamp(1.2rem, 3vh, 2rem); }
.plate__act .mail { font-weight: 500; text-underline-offset: .2em; }

/* 2 scale argument */
.scale [data-sc-stage] { display: grid; align-content: center; padding-inline: var(--gut); }
.scale .g { grid-area: 1 / 1; max-width: 1240px; width: 100%; margin-inline: auto; }
.scale .small { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 500; margin: 0 0 .4em; color: var(--pipe); }
.scale .big { font-size: clamp(3.4rem, 13vw, 10.5rem); }
.scale .intro { font-size: clamp(2.6rem, 9vw, 7rem); max-width: 12ch; }
.scale .close-line { font-size: clamp(1.6rem, 1.2rem + 2.4vw, 3.2rem); font-family: var(--sc-font-display); font-weight: 800; line-height: 1.05; max-width: 20ch; }

/* 3 trades list */
.trades { padding-block: clamp(4rem, 10vw, 8rem); }
.trades h2 { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-family: var(--sc-font-text); font-weight: 600; color: var(--yellow); margin: 0 0 1.5rem; }
.trades ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid #ffffff33; }
.trades li { border-bottom: 1px solid #ffffff33; }
.trades a { display: grid; grid-template-columns: 1fr; gap: .4rem 2rem; padding-block: clamp(1rem, 2.2vw, 1.6rem); text-decoration: none; }
.trades .name { font-family: var(--sc-font-display); font-weight: 900; font-size: clamp(3rem, 11vw, 7.5rem); line-height: .9; transition: color .2s ease-out; }
.trades .what { color: #D9D6CF; font-size: 1.0625rem; line-height: 1.5; max-width: 46ch; }
.trades a:hover .name { color: var(--yellow); }
@media (min-width: 820px) { .trades a { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; } }

/* 4 signature: the radiator that heats as you read */
.flush { --p: var(--sc-p, 1); --heat: clamp(0, calc((var(--p) - .5) / .32), 1);
  background: color-mix(in oklab, #E4EAEE, #FFF0D2 calc(var(--heat) * 100%)); }
.flush [data-sc-stage] { display: grid; align-content: center; gap: clamp(1rem, 3vh, 2.2rem); padding: clamp(1rem, 4vh, 3rem) var(--gut); max-width: 1240px; margin-inline: auto; }
.flush h2 { font-size: clamp(2.3rem, 7.4vw, 5.4rem); max-width: 14ch; line-height: .94; }
.flush ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.flush li { font-size: clamp(1rem, .92rem + .4vw, 1.3rem); font-weight: 500; padding-left: 1.4rem; position: relative; }
.flush li::before { content: ""; position: absolute; left: 0; top: .5em; width: .6rem; height: .6rem; border-radius: 50%; background: var(--steel); }
.flush .answer .display { font-size: clamp(2rem, 6vw, 4.4rem); }
.flush .answer p { margin: .6rem 0 0; font-size: clamp(1rem, .92rem + .4vw, 1.25rem); max-width: 44ch; line-height: 1.45; }
.flush .answer .call { margin-top: 1rem; }
.flush__words { display: grid; gap: clamp(1rem, 3vh, 2rem); }
.flush__words > * { grid-area: auto; }
.flush__stack { display: grid; }
.flush__stack > * { grid-area: 1 / 1; }

.rad { position: relative; height: clamp(110px, 24svh, 340px); padding: 14px 10px 0; }
.rad__pipe { position: absolute; left: 0; right: 0; top: 0; height: 12px; border-radius: 6px;
  background: color-mix(in oklab, #B9C6CE, var(--flame) calc(var(--heat) * 100%)); }
.rad__fins { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(4px, .8vw, 9px); height: 100%; }
.rad__fins i { --t: clamp(.18, calc((var(--p) - .5 - var(--i) * .018) / .14), 1);
  position: relative; border-radius: 10px 10px 6px 6px; overflow: hidden;
  background: color-mix(in oklab, #9FB1BD, var(--flame) calc(var(--t) * 100%)); }
.rad__fins i::before { content: ""; position: absolute; inset: 0 0 auto; height: 46%; background: #C9D5DC; opacity: calc(1 - var(--t)); }
.rad__fins i::after { content: ""; position: absolute; inset: auto 0 0; height: 16%; background: #5A5048; opacity: calc((1 - var(--t)) * .8); }
.rad__valve { position: absolute; bottom: -12px; width: 18px; height: 18px; border-radius: 4px; background: var(--pipe); }
.rad__valve--l { left: -2px; } .rad__valve--r { right: -2px; }
.rad__heat { position: absolute; left: 6%; right: 6%; top: -46px; height: 34px; opacity: var(--heat); }
.rad__heat path { fill: none; stroke: var(--flame); stroke-width: 3; stroke-linecap: round; }
@media (min-width: 900px) {
  .flush [data-sc-stage] { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; column-gap: 4rem; }
  .rad { height: min(62svh, 520px); grid-row: 1; grid-column: 2; }
  .rad__fins { grid-template-columns: repeat(9, 1fr); }
  .rad__fins i:nth-child(n+10) { display: none; }
}

/* 5 reviews */
.quotes { padding-block: clamp(4rem, 9vw, 8rem); }
.quotes blockquote { margin: 0; }
.quotes .q1 { font-family: var(--sc-font-display); font-weight: 800; font-size: clamp(2.2rem, 6.6vw, 5.4rem); line-height: .98; max-width: 18ch; }
.quotes .q2 { font-size: clamp(1.2rem, 1rem + .9vw, 1.7rem); line-height: 1.4; max-width: 38ch; font-weight: 500; }
.quotes cite { display: block; font-style: normal; font-size: 1rem; color: var(--pipe); margin-top: .9rem; font-family: var(--sc-font-text); font-weight: 500; }
.quotes__row { display: grid; gap: 2.5rem; margin-top: clamp(2.5rem, 6vw, 4.5rem); }
@media (min-width: 900px) { .quotes__row { grid-template-columns: 1fr auto; align-items: end; } }
.links { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-weight: 600; }
.links a { text-underline-offset: .25em; text-decoration-thickness: 2px; }

/* 6 close */
.close { padding-block: clamp(3.5rem, 9vw, 7rem) 0; }
.close h2 { font-family: var(--sc-font-text); font-weight: 600; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); margin: 0; }
.close .number { display: block; font-family: var(--sc-font-display); font-weight: 900; line-height: .88; font-size: clamp(3rem, 15vw, 12.5rem);
  text-decoration: none; letter-spacing: -.01em; margin-top: .6rem; white-space: nowrap; }
.close .number:hover { text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .08em; }
.close__grid { display: grid; gap: 2rem; margin-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.close__grid p { margin: 0; font-size: 1.0625rem; line-height: 1.55; }
.close__grid strong { display: block; font-weight: 600; }
.close__van { width: min(291px, 80%); height: auto; }
@media (min-width: 820px) { .close__grid { grid-template-columns: 1fr 1fr auto; align-items: end; } }
.foot { border-top: 1px solid #1B1A1733; padding-block: 1.2rem; font-size: .875rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }

/* inner pages */
.page-head { padding-block: clamp(2rem, 6vw, 4.5rem) clamp(2.5rem, 6vw, 4.5rem); }
.page-head h1 { font-size: clamp(3.8rem, 15vw, 10rem); }
.page-head p { font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); max-width: 40ch; margin: 1.2rem 0 0; line-height: 1.4; font-weight: 500; }
.chapter { padding-block: clamp(3rem, 7vw, 5.5rem); border-top: 1px solid #1B1A1722; scroll-margin-top: 1rem; }
.chapter__grid { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 900px) { .chapter__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.chapter h2 { font-size: clamp(3rem, 9vw, 6.5rem); }
.chapter h3 { font-size: 1.125rem; font-weight: 600; margin: 1.8rem 0 .4rem; }
.chapter p { font-size: 1.0625rem; line-height: 1.62; max-width: 62ch; margin: 0 0 1rem; }
.ticks { list-style: none; padding: 0; margin: .4rem 0 1rem; columns: 2 14rem; column-gap: 2rem; }
.ticks li { break-inside: avoid; padding: .35rem 0 .35rem 1.3rem; position: relative; font-size: 1.0625rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .85em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--flame); }
.chapter .call { margin-top: .6rem; }
.review { padding-block: clamp(2rem, 5vw, 3rem); border-top: 1px solid #1B1A1722; display: grid; gap: .8rem 4rem; }
@media (min-width: 900px) { .review { grid-template-columns: 12rem minmax(0, 1fr); } }
.review time { font-weight: 600; color: var(--pipe); }
.review blockquote { margin: 0; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; max-width: 62ch; }
.review blockquote p { margin: 0 0 .8rem; }

/* phones: fixed call bar */
.callbar { display: none; }
@media (max-width: 720px) {
  .callbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 50; justify-content: center;
    box-shadow: 0 6px 18px rgba(27, 26, 23, .28); }
  .close .foot { padding-bottom: 88px; }
  .top nav { font-size: .9375rem; }
}
@media (prefers-reduced-motion: reduce) { .call, .trades .name { transition: none; } .call:hover { transform: none; } }
.trust { margin: 0 0 2rem; font-weight: 500; max-width: 62ch; line-height: 1.5; }
.flush .answer p.display { line-height: .92; margin: 0; }
/* wide screens: "Plumbing, heating / and gas." on two lines, sized to fill the width (~7.1em per line) */
@media (min-width: 760px) {
  .plate h1 { font-size: min(calc((min(100vw, 1240px) - 2 * var(--gut)) / 7.4), 25svh); }
  .plate h1 span:nth-child(-n+2) { display: inline; }
  .plate__lede { max-width: 52ch; }
}
