/* ===========================================================================
   HEATER CAP: THE SITE

   Built from the approved home page design. Every number the reference set
   inline is a token in tokens.css; this file reads them and invents nothing.
   There is no inline <style> and no style= attribute anywhere, because the CSP
   forbids both and a dropped inline rule is a defect that does not announce
   itself.

   THREE RULES THE CLIENT SET, AND WHERE THEY LIVE HERE:

   1. Photographs are never a thumbnail beside a wide block of text. Every
      text-and-image split gives the image at least half the row on desktop
      (section 9) and a floor of 420px of height. There is no max-width cap on
      an inset figure anywhere in this file.
   2. There is no giant display numeral. Steps are numbered with a 20px
      display-face 900 glyph inline at the start of a hairline row (sec. 11).
      The class that drew them at 100px is gone, and TypographyTests fails if
      it comes back.
   3. Headings are Satoshi 700 and body is Inter. No serif anywhere, and
      nothing left of the grotesque that preceded Satoshi: the display face
      changed in the typography pass and every number that goes with it
      lives in tokens.css.

   Order: reset, layout, type, buttons, head, hero, page head, proof, before
   and after, mosaic and steps, video, comparison, gallery, finish grids,
   bands, story, FAQ, footer, cards, forms, contact, reveal, reduced motion.
   =========================================================================== */

/* --------------------------------------------------------------------------
   1. RESET AND PRIMITIVES
-------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: var(--lh-copy);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}

/* HEIGHT: AUTO, AND IT MATTERS MORE THAN IT LOOKS. Every photograph on this
   site carries width and height attributes so the browser can reserve the
   space before the file arrives, and those attributes map to a presentational
   `height` that BEATS `aspect-ratio`: without this one line a 4:3 crop renders
   at the file's own 600px instead, and every picture on the page comes out
   portrait. The rules below that want a fixed height set one explicitly and
   still win. Not applied to svg, whose width and height attributes are the
   drawing's own co-ordinate space. */
img { height: auto; }

/* EVERY HEADING IS SATOSHI 700, h3 INCLUDED.

   The approved design set h3 in Inter on the argument that a card heading is
   not a display face shrunk down. That held for the grotesque this pass
   replaced, which was built for size; Satoshi stays optically even down to
   20px, so a card heading in it reads as part of the same system rather than
   as a bolder paragraph. The brief's own number, 20 to 24px at -0.01em, is
   what it is set at.

   TEXT-WRAP: BALANCE on all four. It is what stops a two-line headline
   leaving one orphaned word on the second line, which at 92px is the
   difference between a display headline and a mistake. Paragraphs get
   `pretty` instead, which only fixes the last line and does not reflow the
   whole block. */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-h1);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-xl);
}

h2 {
  font-size: var(--step-h2);
  line-height: var(--lh-display);
  letter-spacing: var(--track-display);
}

h3 {
  font-size: var(--step-h3);
  line-height: 1.25;
  letter-spacing: var(--track-h3);
}

h4 {
  font-size: var(--step-panel);
  line-height: 1.2;
  letter-spacing: var(--track-h3);
}

p {
  margin: 0;
  text-wrap: pretty;
}

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; }

strong { font-weight: 700; }

/* Anything scrolled to by an in-page link clears the fixed head. */
[id] { scroll-margin-top: calc(var(--head-h) + 24px); }

/* THE FOCUS RING. One rule, never removed, visible on both grounds. Drawn
   with outline rather than box-shadow so it follows the shape of a wrapped
   inline link across a line break. */
:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 3px;
  border-radius: 4px;
}

:is(.on-dark, .section--navy, .section--deep, .hero, .pagehead, .band, .videoband, .cta-final) :focus-visible,
.footer :focus-visible,
.sitehead :focus-visible {
  outline-color: var(--ember-soft);
}

.skip {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -140%);
  z-index: 300;
  background: var(--ember);
  color: var(--navy);
  padding: 0.8rem 1.4rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 700;
  transition: transform var(--hover-duration) var(--ease);
}

.skip:focus-visible { transform: translate(-50%, 0); }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   2. LAYOUT

   One container, 1240px with 28px of side padding, exactly as the reference.
   Sections are 110px top and bottom on desktop and 72px on mobile, which is
   the token's job.
-------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--tight { padding-block: var(--section-y-tight); }

.section--white { background: var(--white); }
.section--ground { background: var(--ground); }

.section--navy {
  background: var(--navy);
  color: var(--on-dark);
}

.section--deep {
  background: var(--midnight-deep);
  color: var(--on-dark);
}

/* THE STACK. Most sections in the approved design are a single column of
   blocks with one gap between them, rather than a margin on each. */
/* THE GAP IS THE RHYTHM TOKEN. 40px from a section's lead line to the content
   under it, down from 48, which is the one spacing this typography pass
   tightens: the section padding above and below is untouched. */
.stack {
  display: flex;
  flex-direction: column;
  gap: var(--rhythm-content);
}

.stack--tight { gap: 32px; }
.stack--loose { gap: 44px; }

/* THE SECTION HEAD: a heading on the left and its paragraph on the right,
   baselines aligned at the foot. This is the reference's "Gutter guards stop
   leaves" row. */
.headrow {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 64px;
  align-items: flex-end;
  justify-content: space-between;
}

.headrow h2 {
  flex: 1 1 560px;
  min-width: 0;
  font-size: var(--step-h2-xl);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-xl);
}

.headrow__note {
  flex: 1 1 380px;
  min-width: 0;
  font-size: var(--step-copy);
  line-height: var(--lh-copy);
  color: var(--muted);
}

/* A heading with a link or a button opposite it: the gallery's row. */
.headline-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-end;
}

/* THE SPLIT. Image and text share the row, and the image is never the
   smaller half: the media column asks for 520px and the text for 440, so at
   the 1240 container the picture takes more than half and at any narrower
   width the two simply stack. This is the client's first complaint answered
   in one rule. */
.split {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
}

.split--top { align-items: flex-start; }

.split__media {
  flex: 1 1 520px;
  min-width: 0;
}

.split__text {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--rhythm-lead);
}

/* An alternating section puts the picture second on a wide screen and still
   leads with the words when the two stack. */
.split--reverse .split__media,
.split--reverse .mosaic { order: 2; }

/* A STICKY PICTURE, for the one case where a split's text column runs long.
   Centring a 450px photograph against 1300px of prose leaves it marooned in
   white space, which is the complaint this rebuild exists to answer; pinning
   it keeps the picture beside whatever is being read instead. It is only ever
   sticky on a screen wide enough for the two to sit side by side. */
@media (min-width: 861px) {
  .split--sticky {
    align-items: flex-start;
  }

  .split--sticky .split__media,
  .split--sticky .mosaic {
    position: sticky;
    top: calc(var(--head-h) + 24px);
    align-self: flex-start;
  }
}

/* A column of text whose blocks need more air between them than the 20px a
   run of paragraphs wants: the reference's how-it-works column. */
.split__text--loose { gap: 30px; }

/* An eyebrow and a heading as one block inside a column: 16px, so the eyebrow
   reads as a label on the heading rather than as a line of its own. */
.colhead {
  display: flex;
  flex-direction: column;
  gap: var(--rhythm-eyebrow);
}

/* A heading that opens a section on its own, held to the reference's measure
   so it breaks over two lines rather than running the full 1240. */
.h2--narrow { max-width: 760px; }

/* A HEADING FOR A SECONDARY COLUMN. The display size is right for a section
   that owns its row and far too loud for the list that sits beside a form, so
   that one case gets its own step rather than its own component. */
.h2--col {
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.1;
}

/* A RUN OF ALTERNATING SPLITS. More air between them than inside them, so the
   eye reads each picture with its own paragraph rather than as a grid. */
.splits {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 6vw, 88px);
}

/* Two columns of running copy under one heading, which is how the longer
   argument on /why-ice-protection/ is set. It collapses to one column at the
   point where a 320px column would start hyphenating. */
.twocol {
  columns: 2 320px;
  column-gap: 56px;
}

.twocol p {
  font-size: var(--step-body);
  line-height: var(--lh-prose);
  color: var(--muted);
  break-inside: avoid-column;
}

.twocol p + p { margin-top: 1.1em; }

:is(.on-dark, .section--navy, .section--deep, .hero, .pagehead, .band, .videoband, .cta-final) .twocol p {
  color: var(--on-dark-body);
}

.split__media > img,
.split__media > figure > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-photo);
  background: var(--navy);
}

.split__media figure { margin: 0; }

.split__media figcaption {
  margin-top: 12px;
  font-size: var(--step-small);
  color: var(--muted);
}

:is(.on-dark, .section--navy, .section--deep, .hero, .pagehead, .band, .videoband, .cta-final) .split__media figcaption { color: var(--on-dark-dim); }

/* THE 420px FLOOR. On any screen wide enough to put the picture beside the
   words, the picture is at least 420 tall. A 4:3 crop of the 520px column
   would be 390, and a 390px picture next to a column of text is the thing the
   client rejected. */
@media (min-width: 861px) {
  .split__media > img,
  .split__media > figure > img { min-height: 420px; }
}

/* --------------------------------------------------------------------------
   3. TYPE COMPONENTS
-------------------------------------------------------------------------- */

/* THE EYEBROW. Inter 600 at 12.5px with 0.2em of tracking: a touch lighter
   and a touch wider than before, because 700 at 0.18em on 13px reads as a
   small heading rather than as a label once the heading under it is Satoshi. */
.eyebrow {
  font-size: var(--step-eyebrow);
  font-weight: 600;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--ember-ink);
  margin: 0;
}

:is(.on-dark, .section--navy, .section--deep, .hero, .pagehead, .band, .videoband, .cta-final) .eyebrow { color: var(--ember-soft); }

.lead {
  font-size: var(--step-copy);
  line-height: var(--lh-copy);
  color: var(--muted);
  max-width: 62ch;
}

:is(.on-dark, .section--navy, .section--deep, .hero, .pagehead, .band, .videoband, .cta-final) .lead { color: var(--on-dark-lead); }

/* The answer a section opens with: one size up from body, and in full ink
   rather than muted, because it is the sentence an answer engine quotes. */
.answer {
  font-size: var(--step-lead);
  line-height: var(--lh-body);
  color: var(--ink);
  max-width: 62ch;
}

:is(.on-dark, .section--navy, .section--deep, .hero, .pagehead, .band, .videoband, .cta-final) .answer { color: var(--on-dark); }

/* Running copy. 17px at 1.75 on a light ground, which is the reference's
   story section, and the same measure everywhere else. */
.prose {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.prose p {
  font-size: var(--step-body);
  line-height: var(--lh-prose);
  color: var(--muted);
  max-width: var(--measure);
}

:is(.on-dark, .section--navy, .section--deep, .hero, .pagehead, .band, .videoband, .cta-final) .prose p { color: var(--on-dark-body); }

.prose h2 { margin-top: 20px; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 16px; }

.prose a:not(.btn) {
  color: var(--link-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

:is(.on-dark, .section--navy, .section--deep, .hero, .pagehead, .band, .videoband, .cta-final) .prose a:not(.btn) { color: var(--ice); }

/* The one word in a headline that is allowed to be a colour. */
.accent-ice { color: var(--ice); }
.accent-ember { color: var(--ember); }
.accent-ember-ink { color: var(--ember-ink); }

/* The wordmark set in type, used in the comparison panel and nowhere else. */
.wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--step-panel);
  letter-spacing: var(--track-h3);
}

.wordmark__heat { color: var(--ember); }

/* THE WARRANTY STRIP. A slim hairline band of three short facts, separated by
   the reference's middot, with the whole thing linking through to /warranty/.
   It is the same shape as the proof strip, one line high: it sits under the
   heat tape comparison on the home page, where the question it answers is the
   one that has just been raised. */
.warrantystrip {
  border-top: 1px solid var(--hair-light);
  border-bottom: 1px solid var(--hair-light);
  background: var(--ember-wash);
}

.warrantystrip__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
  padding-block: 22px;
}

.warrantystrip__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  list-style: none;
  font-size: var(--step-small);
  font-weight: 700;
  color: var(--ink);
}

.warrantystrip__facts li {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

/* The separator is drawn rather than typed, so it is never read aloud. */
.warrantystrip__facts li + li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ember-ink);
}

/* --------------------------------------------------------------------------
   4. BUTTONS

   Pill, 46 to 56px tall. Ember fill with navy text for primary, because white
   on ember is 2.9:1 and fails; white fill or a 1px white outline for
   secondary on dark.
-------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: var(--step-btn);
  font-weight: 600;
  letter-spacing: var(--track-ui);
  line-height: 1;
  cursor: pointer;
  transition: transform var(--hover-duration) var(--ease),
              background-color var(--hover-duration) var(--ease),
              border-color var(--hover-duration) var(--ease),
              color var(--hover-duration) var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--ember);
  color: var(--navy);
}

.btn--primary:hover { background: var(--ember-soft); }

/* White fill on a dark ground: the dealer panel's first choice. */
.btn--light {
  background: var(--white);
  color: var(--navy);
}

.btn--light:hover { background: var(--on-dark-soft); }

/* A 1px white outline on a dark ground. */
.btn--ghost {
  background: transparent;
  color: var(--on-dark);
  border-color: var(--outline-light);
  font-weight: 600;
}

.btn--ghost:hover {
  background: var(--hover-dark);
  border-color: var(--white);
}

/* A 1px ink outline on a light ground: the gallery's "view all". */
.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  font-weight: 600;
}

.btn--outline:hover { background: var(--navy); color: var(--white); }

.btn--lg { min-height: 56px; padding: 0 30px; }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: var(--step-fine); }
.btn--block { width: 100%; }

/* A square-cornered button, which is what the hero's two panels use so the
   control matches the 12px field beside it. */
.btn--square { border-radius: var(--r-sm); }

.cta-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cta-pair--center { justify-content: center; }

/* --------------------------------------------------------------------------
   5. THE SITE HEAD

   A top bar and the navigation, fixed over the photograph that opens every
   page. Once the page has scrolled the whole thing becomes a solid midnight
   bar with a hairline under it and the top bar folds away, which is the one
   piece of behaviour the reference could not show.

   WITHOUT nav.js the head keeps the state the server rendered: transparent
   over a dark photograph, which is the readable one. Nothing is ever
   invisible because a script did not run.
-------------------------------------------------------------------------- */

.sitehead {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--on-dark);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 320ms var(--ease), border-color 320ms var(--ease);
}

.sitehead--solid {
  background: var(--midnight);
  border-bottom-color: var(--hair-dark);
}

.topbar {
  border-bottom: 1px solid var(--hair-glass);
  overflow: hidden;
  max-height: 60px;
  transition: max-height 280ms var(--ease), opacity 200ms var(--ease);
}

/* Folded away once the bar is solid, so the nav sits in a 100px bar rather
   than a 140px one. Animated rather than switched, because a 40px jump under
   the pointer reads as a glitch. */
.sitehead--solid .topbar {
  max-height: 0;
  opacity: 0;
  border-bottom-color: transparent;
}

.topbar__inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px 24px;
  justify-content: space-between;
  align-items: center;
  padding-block: 10px;
  font-size: var(--step-meta);
  line-height: 1.4;
  color: var(--on-dark-body);
  white-space: nowrap;
}

.topbar__group {
  display: flex;
  gap: 20px;
  white-space: nowrap;
}

.topbar__phone {
  color: var(--ember-soft);
  font-weight: 700;
}

.topbar__phone:hover { color: var(--white); }

.nav__inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px 36px;
  align-items: center;
  justify-content: space-between;
  padding-block: 22px;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

/* THE LOGO IS SIZED BY HEIGHT AND BY NOTHING ELSE.
   The mark is 109x64 and the width follows from that; a fixed width here as
   well would draw it to whatever ratio the two numbers happened to make.
   object-fit: contain is belt and braces for the one case CSS cannot see,
   a replaced element whose box is decided by its container rather than by
   these rules. */
.nav__logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  list-style: none;
  font-size: var(--step-btn);
  font-weight: 600;
  letter-spacing: var(--track-ui);
}

.nav__list a {
  color: var(--on-dark);
  white-space: nowrap;
  padding-block: 4px;
}

.nav__list a:hover { color: var(--ice); }

.nav__list a[aria-current='page'] {
  color: var(--ice);
  box-shadow: inset 0 -2px 0 0 var(--ember);
}

.nav__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex: 0 0 auto;
}

.burger {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--outline-light);
  border-radius: var(--r-sm);
  color: var(--on-dark);
  cursor: pointer;
}

.burger__bar {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.burger__bar::before,
.burger__bar::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 1.5px;
  background: currentColor;
}

.burger__bar::before { top: -6px; }
.burger__bar::after { top: 6px; }

@media (max-width: 1080px) {
  .nav__list,
  .nav__dealer { display: none; }
  .burger { display: inline-flex; }
  .nav__logo img { height: 48px; }
  .nav__inner { padding-block: 18px; }
}

@media (max-width: 860px) {
  /* The top bar is held to one line at every width so the head's height stays
     predictable and the hero's reserved space is never wrong. The line the
     bar loses first is the marketing one; the telephone number stays. */
  .topbar__lede { display: none; }
  .topbar__inner { justify-content: flex-end; }
}

@media (max-width: 560px) {
  .nav__logo img { height: 44px; }
  .topbar__hours { display: none; }
  .nav__cta { display: none; }
}

/* THE MOBILE OVERLAY. Full screen, display-face links, focus trapped by
   nav.js.
   [hidden] is restated because the rule above would otherwise beat the
   browser default. */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--midnight);
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  padding: var(--pad-x);
  overflow-y: auto;
}

.mobile-menu[hidden] { display: none; }

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.mobile-menu__top img { height: 44px; width: auto; object-fit: contain; }

.mobile-menu__close {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--outline-light);
  border-radius: var(--r-sm);
  color: var(--on-dark);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-menu__list {
  list-style: none;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
}

/* Eight links, two buttons and a phone number have to fit a 812px phone
   without scrolling, which is what sets this size rather than taste. */
.mobile-menu__list a {
  display: block;
  padding: 11px 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 5.6vw, 28px);
  font-weight: var(--weight-display);
  letter-spacing: var(--track-h3);
  color: var(--on-dark);
  border-bottom: 1px solid var(--hair-dark);
}

.mobile-menu__list a[aria-current='page'] { color: var(--ice); }

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 32px;
}

.mobile-menu__phone {
  margin-top: 20px;
  font-size: var(--step-small);
  color: var(--on-dark-body);
}

.mobile-menu__phone a { color: var(--ember-soft); font-weight: 700; }

/* --------------------------------------------------------------------------
   6. THE HOME HERO
-------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: var(--hero-min);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: var(--head-h);
  background: var(--midnight);
  color: var(--on-dark);
  overflow: hidden;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
}

.hero__wash {
  position: absolute;
  inset: 0;
  background: var(--wash-hero);
}

.hero__wash-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 320px;
  background: var(--wash-hero-foot);
}

.hero__body {
  position: relative;
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--rhythm-lead);
  padding-top: 72px;
}

.hero__title {
  max-width: 760px;
  font-size: var(--step-hero);
  line-height: var(--lh-hero);
  letter-spacing: var(--track-hero);
}

.hero__lead {
  max-width: 560px;
  font-size: var(--step-lead);
  line-height: var(--lh-body);
  color: var(--on-dark-lead);
}

/* THE TWO PATHS. Equal panels, 420px of basis each, so they sit side by side
   on a wide screen and stack on a phone. The homeowner panel is first and
   carries the ZIP field, because homeowners are the main reader; the dealer
   panel is unmistakable and second. */
.paths {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 48px;
  padding-bottom: 56px;
}

.path {
  flex: 1 1 420px;
  min-width: 0;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-panel);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.path__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 12px;
}

.path__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ice);
}

.path__label--dealer { color: var(--ember-soft); }

.path__note {
  font-size: var(--step-meta);
  color: var(--on-dark-body);
}

.path__title {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--step-panel);
  line-height: 1.2;
  letter-spacing: var(--track-h3);
  color: var(--on-dark);
}

.path__row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.path__row .btn { border-radius: var(--r-sm); min-height: 52px; }

/* The same two panels used inside a section rather than in the hero: one
   column of them beside a block of text, which is what /contact/ wants. */
.paths--inline {
  flex: 1 1 440px;
  min-width: 0;
  flex-direction: column;
  padding-top: 0;
  padding-bottom: 0;
}

/* The panels stack here, so the main axis is vertical and the 420px basis
   they carry in the hero would become 420px of HEIGHT: a short panel with a
   button marooned at the bottom of it. */
.paths--inline .path {
  flex: 0 0 auto;
}

.paths--inline .path__row { margin-top: 4px; }

.field-zip {
  flex: 1 1 180px;
  min-width: 0;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--glass-field-border);
  border-radius: var(--r-sm);
  background: var(--glass-field);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: var(--step-ui);
}

.field-zip::placeholder { color: var(--on-dark-dim); }

.field-zip:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 3px var(--ember-ring);
}

/* --------------------------------------------------------------------------
   7. THE INNER PAGE PHOTO HERO

   Every page that is not the home page opens with one of these: a full-bleed
   photograph, the same left-to-right wash as the hero, a breadcrumb, an
   eyebrow, a Satoshi h1 and one line of lead. It is NEVER an empty dark
   band, which is what the rejected design opened /how-it-works/ with.
-------------------------------------------------------------------------- */

.pagehead {
  position: relative;
  min-height: var(--pagehead-min);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: var(--head-h);
  padding-bottom: 56px;
  background: var(--midnight);
  color: var(--on-dark);
  overflow: hidden;
}

.pagehead__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pagehead__wash {
  position: absolute;
  inset: 0;
  background: var(--wash-head);
}

.pagehead__wash-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 240px;
  background: var(--wash-hero-foot);
}

.pagehead__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 48px;
}

.pagehead__body {
  flex: 1 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--rhythm-lead);
}

.pagehead__title { max-width: 22ch; }

.pagehead .lead {
  max-width: 620px;
  font-size: var(--step-copy);
  color: var(--on-dark-lead);
}

/* A frosted panel beside the heading, for the two pages that want the hero to
   say which audience it is for. */
.pagehead__aside {
  flex: 0 1 360px;
  min-width: 0;
}

/* A receipt and the error page: the same head, less of it. */
.pagehead--short {
  min-height: 0;
  padding-bottom: 72px;
}

.crumbs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: var(--step-fine);
  color: var(--on-dark-body);
}

.crumbs li { display: flex; gap: 8px; align-items: center; }
.crumbs li + li::before { content: '/'; opacity: 0.45; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs [aria-current='page'] { color: var(--white); }

/* --------------------------------------------------------------------------
   8. THE PROOF STRIP
-------------------------------------------------------------------------- */

.proof {
  background: var(--midnight);
  color: var(--on-dark);
  border-top: 1px solid var(--hair-dark);
}

.proof__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 28px;
  padding-block: 36px;
  list-style: none;
}

.proof__item {
  display: flex;
  gap: 14px;
  align-items: baseline;
}

/* THE BIG NUMERALS ARE SATOSHI 900 WITH TABULAR FIGURES.

   Satoshi's default figures are proportional, and its own widths run from 437
   units for a 1 to 718 for a 0. In a strip of five facts, or a column of
   numbered rows, that means 01 and 02 are different widths and the labels
   beside them do not line up. tabular-nums turns on the face's `tnum` feature,
   which it really has, so every digit takes the same advance and the column
   reads as a column. */
.proof__figure {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 38px;
  line-height: 1;
  letter-spacing: var(--track-h3);
  font-variant-numeric: tabular-nums;
  color: var(--ember);
}

.proof__label {
  font-size: var(--step-fine);
  line-height: 1.4;
  color: var(--on-dark-body);
}

/* On a light ground, which is what /about/ uses. */
.proof--light {
  background: var(--ground);
  color: var(--ink);
  border-top-color: var(--hair-light);
}

.proof--light .proof__figure { color: var(--ember-ink); }
.proof--light .proof__label { color: var(--muted); }

/* --------------------------------------------------------------------------
   9. BEFORE AND AFTER, AND THE FOUR DAMAGE FACTS

   Two photographs at full half-width each, 16:10, with a pill caption over
   the top left corner. This replaces the drag slider of the rejected design:
   the client's complaint was that the pictures were small, and two 460px
   frames side by side is the answer.
-------------------------------------------------------------------------- */

.ba-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.ba-pair figure {
  flex: 1 1 460px;
  min-width: 0;
  margin: 0;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--navy);
}

.ba-pair img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* THE BEFORE FRAME IS A 707px SCAN, and it is the only file on the site that
   cannot be drawn large. Side by side at the 1240 container each frame is
   about 600px, which is inside it; once they stack they would otherwise run
   the full width of a tablet. Both are capped so the pair keeps matching:
   capping one of the two would make the comparison lopsided, which is the
   whole point of showing them together. */
@media (max-width: 1000px) {
  .ba-pair figure {
    max-width: 700px;
    margin-inline: auto;
  }
}

.ba-pair figcaption {
  position: absolute;
  left: 20px;
  top: 20px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-size: var(--step-fine);
  font-weight: 700;
}

.ba-pair__before {
  background: var(--navy);
  color: var(--white);
}

.ba-pair__after {
  background: var(--ember);
  color: var(--navy);
}

/* The line that names what the pair is showing. It belongs to the pair rather
   than to the section, so it is pulled back out of the stack's 48px gap
   instead of floating halfway between the pictures and the facts. */
.ba-pair + .note { margin-top: -30px; }

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border-top: 1px solid var(--hair-light);
  list-style: none;
}

:is(.on-dark, .section--navy, .section--deep, .hero, .pagehead, .band, .videoband, .cta-final) .facts { border-top-color: var(--hair-dark); }

.facts li {
  padding: 28px 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.facts li:last-child { padding-right: 0; }

.facts__figure {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 34px;
  line-height: 1;
  letter-spacing: var(--track-h3);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

:is(.on-dark, .section--navy, .section--deep, .hero, .pagehead, .band, .videoband, .cta-final) .facts__figure { color: var(--on-dark); }

.facts__text {
  font-size: var(--step-small);
  line-height: 1.55;
  color: var(--muted);
}

:is(.on-dark, .section--navy, .section--deep, .hero, .pagehead, .band, .videoband, .cta-final) .facts__text { color: var(--on-dark-body); }

/* --------------------------------------------------------------------------
   10. THE MOSAIC

   One photograph across the top and two under it, which is how several
   pictures are shown anywhere on this site. The top one is 20px of radius and
   the two below are 16, exactly as the reference.
-------------------------------------------------------------------------- */

.mosaic {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-content: flex-start;
}

.mosaic img {
  min-width: 0;
  object-fit: cover;
  background: var(--navy);
}

.mosaic__lead {
  flex: 1 1 100%;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-photo);
}

.mosaic__pair {
  flex: 1 1 200px;
  width: 48%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-tile);
}

/* THE ONE EXCEPTION TO THE 4:3 MOSAIC LEAD, and it is a drawing rather than a
   photograph. The cutaway render is 16:9 and its callout labels run to the
   right edge; cover-cropping it to 4:3 cuts "heating element runs the full
   length of gutter" clean off, which turns a diagram that explains the product
   into a picture of a gutter. The frame follows the artwork here. */
.mosaic__lead--wide { aspect-ratio: 16 / 9; }

/* --------------------------------------------------------------------------
   11. NUMBERED ROWS

   THE SECOND COMPLAINT ANSWERED. A step is a hairline row with a 20px Satoshi
   900 numeral in ember at the start of it. There is no 100px numeral and no
   empty quarter of a screen around one anywhere in this file.
-------------------------------------------------------------------------- */

.steprows {
  display: flex;
  flex-direction: column;
  list-style: none;
}

.steprow {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--hair-light);
}

.steprows > .steprow:last-child { border-bottom: 1px solid var(--hair-light); }

:is(.on-dark, .section--navy, .section--deep, .hero, .pagehead, .band, .videoband, .cta-final) .steprow { border-top-color: var(--hair-dark); }
:is(.on-dark, .section--navy, .section--deep, .hero, .pagehead, .band, .videoband, .cta-final) .steprows > .steprow:last-child { border-bottom-color: var(--hair-dark); }

.steprow__n {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  color: var(--ember-ink);
  width: 34px;
  flex: none;
}

:is(.on-dark, .section--navy, .section--deep, .hero, .pagehead, .band, .videoband, .cta-final) .steprow__n { color: var(--ember); }

.steprow__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.steprow__body p {
  font-size: var(--step-small);
  line-height: var(--lh-body);
  color: var(--muted);
  max-width: 62ch;
}

:is(.on-dark, .section--navy, .section--deep, .hero, .pagehead, .band, .videoband, .cta-final) .steprow__body p { color: var(--on-dark-body); }

/* The quiet line that closes a column of steps. */
.note {
  font-size: var(--step-small);
  line-height: var(--lh-body);
  color: var(--muted);
  max-width: 62ch;
}

:is(.on-dark, .section--navy, .section--deep, .hero, .pagehead, .band, .videoband, .cta-final) .note { color: var(--on-dark-dim); }

/* --------------------------------------------------------------------------
   12. THE VIDEO BAND
-------------------------------------------------------------------------- */

.videoband {
  background: var(--midnight-deep);
  color: var(--on-dark);
  padding-block: var(--section-y);
}

.videoband__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--rhythm-content);
  text-align: center;
}

.videoband .lead { max-width: 60ch; }

/* THE FRAME. Capped at 1040px rather than run full bleed, and that is a
   decision the source file forces: the film is 640x360, so at 1920 across it
   is a three times upscale and every edge softens. At this width it is a 1.6x
   upscale inside a dark surround, which reads as cinematic rather than as low
   resolution. */
.videoband__frame {
  position: relative;
  width: 100%;
  max-width: 1040px;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-film);
}

.videoband__frame video,
.videoband__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.videoband__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
}

.videoband__overlay[hidden] { display: none; }

.playbtn {
  position: relative;
  z-index: 3;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform var(--hover-duration) var(--ease);
}

.playbtn:hover { transform: scale(1.06); }
.playbtn:focus-visible { outline: 3px solid var(--ember-soft); outline-offset: 6px; }

.playbtn__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
}

.playbtn__core {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ember);
  display: grid;
  place-items: center;
}

.playbtn__core svg { margin-inline-start: 3px; }   /* optical centring */

.videoband__meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: var(--step-fine);
  color: var(--on-dark-dim);
}

/* --------------------------------------------------------------------------
   13. THE COMPARISON PANELS AND THE TABLE
-------------------------------------------------------------------------- */

.vs {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.vs__panel {
  flex: 1 1 440px;
  min-width: 0;
  border-radius: var(--r-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.vs__panel--tape {
  background: var(--white);
  border: 1px solid var(--hair-light);
  color: var(--muted);
}

.vs__panel--cap {
  background: var(--navy);
  color: var(--on-dark);
}

.vs__title {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--step-panel);
  line-height: 1.2;
  letter-spacing: var(--track-h3);
  color: var(--muted);
}

.vs__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: var(--step-ui);
  line-height: 1.5;
}

.vs__panel--tape .vs__list { color: var(--muted); }
.vs__panel--cap .vs__list { color: var(--on-dark-soft); }

.vs__list li {
  display: flex;
  gap: 12px;
}

.vs__mark {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
}

.vs__panel--tape .vs__mark { color: var(--mark-dim); }
.vs__panel--cap .vs__mark { color: var(--ember); }

.vs__lead strong { color: var(--ink); }

/* The full table. Rounded and bordered, and it scrolls sideways rather than
   reflowing, because a comparison that stacks stops being a comparison. */
.cmp {
  border: 1px solid var(--hair-light);
  border-radius: var(--r-lg);
  background: var(--white);
  overflow-x: auto;
}

.cmp:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; }

.cmp table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: var(--step-ui);
}

.cmp th,
.cmp td {
  padding: 18px 22px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--hair-light);
  line-height: 1.55;
}

.cmp thead th {
  background: var(--ground);
  border-top: 0;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--step-body);
  color: var(--muted);
}

.cmp thead .cmp__cap { color: var(--ink); }

.cmp tbody th {
  width: 190px;
  font-weight: 700;
  color: var(--ink);
}

.cmp td { color: var(--muted); }
.cmp td.cmp__cap { color: var(--ink); }

/* --------------------------------------------------------------------------
   14. THE GALLERY AND THE LIGHTBOX

   One large photograph with two stacked beside it, then rows of four. Every
   tile is a real <button>, so the lightbox is reachable from a keyboard; with
   lightbox.js absent it does nothing, which is why each photograph is also
   legible at its grid size.
-------------------------------------------------------------------------- */

.gallery-feature {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
}

.gallery-feature > li { min-width: 0; }

.gallery-feature__lead { flex: 2 1 520px; }

.gallery-feature__stack {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Four across at the container's full width, which is what the approved
   design shows. The 220px minimum it uses gives four only because it has
   exactly four photographs to place; /gallery/ has twelve in this grid and
   would get five narrower ones. */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  list-style: none;
}

/* A PHOTOGRAPH TILE, in two forms. On the home page it is a plain image, so
   the class goes on the <img>; on /gallery/ it is a real <button> that opens
   the lightbox, so the class goes on the button and the image fills it. One
   set of sizes serves both. */
.gshot,
.shot {
  width: 100%;
  border-radius: var(--r-panel);
  background: var(--navy);
  overflow: hidden;
}

.gshot { object-fit: cover; display: block; }

.shot {
  display: block;
  padding: 0;
  border: 0;
  position: relative;
  cursor: zoom-in;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--navy);
  transition: transform 600ms var(--ease);
}

.shot:hover img { transform: scale(1.03); }

.gshot--ratio,
.shot--ratio img {
  height: auto;
  aspect-ratio: 4 / 3;
}

.gshot--tall,
.shot--tall,
.shot--tall img { height: 420px; }

.gshot--short,
.shot--short,
.shot--short img { height: 203px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--lightbox-bg);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 16px;
  color: var(--on-dark);
}

.lightbox[hidden] { display: none; }

.lightbox__bar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.lightbox__stage {
  display: grid;
  place-items: center;
  min-height: 0;
  position: relative;
}

.lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--r-photo);
}

.lightbox__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--on-dark-body);
  font-size: var(--step-fine);
  padding-top: 12px;
}

.lightbox__btn {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--outline-light);
  border-radius: var(--r-sm);
  color: var(--on-dark);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color var(--hover-duration) var(--ease);
}

.lightbox__btn:hover { background: var(--hover-dark); }

.lightbox__nav { display: flex; gap: 8px; align-items: center; }

/* --------------------------------------------------------------------------
   14b. THE FINISH GRIDS

   Two grids on /how-it-works/: eight metallic panels and the nine stone coat
   roof granule colours, each photograph with its colour name under it. They
   replace the two colour-chip fans the first build used.

   THE COLUMN COUNTS ARE DELIBERATE AND DIFFERENT. Eight tiles at four across
   fill two rows exactly; nine at three across fill three. A single auto-fit
   track count cannot do that, and a half-empty last row in a grid of colour
   samples reads as a missing colour. Below 1000px both grids fall to two
   across, which divides eight evenly and leaves one tile on the last row of
   nine, where a single wide tile is the lesser evil.
-------------------------------------------------------------------------- */

.finishes {
  display: grid;
  gap: 40px;
}

.finishes__set {
  display: grid;
  gap: 10px;
  align-content: start;
}

.finishes__title {
  font-size: var(--step-h3);
  letter-spacing: var(--track-h3);
}

/* The label sits directly under its title, so the gap the stack would put
   there is taken back and the grid gets the breathing room instead. */
.finishes__set .note { margin-bottom: 8px; }

.finishgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 1000px) {
  .finishgrid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .finishgrid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.finish {
  display: grid;
  gap: 8px;
}

/* The same rounding and cover behaviour as every other photograph tile, at
   the 3:2 the finish photographs were shot and cropped to. Both sets share
   the frame, so the two grids read as one component. */
.finish__img {
  height: auto;
  aspect-ratio: 800 / 534;
}

.finish__name {
  font-size: var(--step-small);
  line-height: 1.3;
  font-weight: 600;
  color: var(--ink);
}

:is(.on-dark, .section--navy, .section--deep, .hero, .pagehead, .band, .videoband, .cta-final)
  .finish__name { color: var(--on-dark-soft); }

/* --------------------------------------------------------------------------
   15. BANDS OVER A PHOTOGRAPH

   The dealer band and the closing call to action. One flat wash rather than a
   gradient, so the type sits on an even ground and the photograph reads as
   texture.
-------------------------------------------------------------------------- */

.band {
  position: relative;
  color: var(--on-dark);
  background: var(--midnight);
  overflow: hidden;
}

.band__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.band__wash {
  position: absolute;
  inset: 0;
  background: var(--wash-band);
}

.band__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
  padding-block: var(--section-y);
}

/* THE DEALER BAND AS A HERO, which is how /become-a-dealer/ opens. It
   reserves the head's height and takes the inner page hero's minimum, so it
   reads as a hero rather than as a band that happens to be first. */
.band--hero { min-height: var(--pagehead-min); }

.band--hero .band__inner {
  padding-top: calc(var(--head-h) + 48px);
  align-items: center;
}

.band__body {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--rhythm-lead);
}

.band__title {
  font-size: var(--step-h2-band);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-xl);
}

.band .lead { max-width: 560px; }

.tiles {
  flex: 1 1 400px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
}

.tile {
  background: var(--tile-glass);
  border: 1px solid var(--hair-dark-lifted);
  border-radius: var(--r-tile);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tile p {
  font-size: var(--step-fine);
  line-height: 1.55;
  color: var(--on-dark-body);
}

.tile--open { border-style: dashed; border-color: var(--ember-soft); }

@media (max-width: 480px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
}

/* The closing call to action: the same band, centred. */
.cta-final {
  position: relative;
  color: var(--on-dark);
  background: var(--midnight);
  overflow: hidden;
}

.cta-final__wash {
  position: absolute;
  inset: 0;
  background: var(--wash-cta);
}

.cta-final__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--rhythm-lead);
  padding-block: 100px;
}

.cta-final h2 {
  font-size: var(--step-cta);
  line-height: 1;
  letter-spacing: var(--track-hero);
}

.cta-final .lead { max-width: 560px; }

@media (max-width: 860px) {
  .cta-final__inner { padding-block: var(--section-y); }
}

/* --------------------------------------------------------------------------
   16. THE STORY SPLIT
-------------------------------------------------------------------------- */

.story__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story__text p {
  font-size: var(--step-body);
  line-height: var(--lh-prose);
  color: var(--muted);
  max-width: 62ch;
}

:is(.on-dark, .section--navy, .section--deep, .hero, .pagehead, .band, .videoband, .cta-final) .story__text p { color: var(--on-dark-body); }

/* --------------------------------------------------------------------------
   17. THE FAQ

   Heading and contact line on the left, accordion on the right.
   <details>/<summary>, so it opens with no JavaScript at all, the browser
   already handles the keyboard, and a screen reader already announces the
   expanded state. There is no version of this a custom widget does better.
-------------------------------------------------------------------------- */

.faqblock {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
}

.faqblock__aside {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--rhythm-lead);
}

.faqblock__aside p {
  font-size: var(--step-body);
  line-height: var(--lh-copy);
  color: var(--muted);
}

.faqblock__aside a {
  color: var(--link-ink);
  font-weight: 600;
}

.faqblock__aside a:hover { text-decoration: underline; }

.faq {
  flex: 2 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--hair-light);
  border-radius: var(--r-card);
}

/* 100px of row, which is what the approved design renders: its mock carries
   no border-box reset, so its 64px minimum and its 18px of padding add up
   instead of overlapping. The number is written out here rather than
   inherited from that. */
.faq__q {
  min-height: 100px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-body);
  font-size: var(--step-body);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq__q::-webkit-details-marker { display: none; }

/* A chevron, so a row reads as something that opens. The reference leaves the
   marker off; a row with no affordance at all is the one place this build
   adds to it rather than following it. */
.faq__sign {
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--ember-ink);
  border-bottom: 2px solid var(--ember-ink);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--hover-duration) var(--ease);
}

.faq__item[open] .faq__sign { transform: rotate(225deg) translateY(-2px); }

.faq__a {
  padding: 0 24px 22px;
}

.faq__a p {
  font-size: var(--step-small);
  line-height: 1.7;
  color: var(--muted);
  max-width: var(--measure);
}

.faq__a p + p { margin-top: 14px; }

/* --------------------------------------------------------------------------
   18. CHIPS AND LIGHT CARDS
-------------------------------------------------------------------------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.chips li {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hair-light);
  background: var(--white);
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--ink);
}

/* Chips are white pills with ink on them, which is right on a light section
   and far too loud on a dark one: eleven of them would be the brightest thing
   on the page. On dark they become the raised panel surface with the same
   hairline every other component uses there. */
:is(.on-dark, .section--navy, .section--deep, .hero, .pagehead, .band, .videoband, .cta-final) .chips li {
  background: var(--panel);
  border-color: var(--hair-dark);
  color: var(--on-dark);
}

.lightcards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  list-style: none;
}

/* A CALLOUT: one short quoted fact set apart from the argument around it, with
   an ember rule down its left edge. One use on the site, the fire in
   Naperville under the heat wires point, and it is a callout rather than
   another paragraph because it is the client's own sentence about a real
   event and it should not read as copywriting. */
.callout {
  border-left: 3px solid var(--ember);
  background: var(--ground);
  border-radius: 0 var(--r-tile) var(--r-tile) 0;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: var(--measure);
}

.callout p {
  font-size: var(--step-body);
  line-height: var(--lh-body);
  color: var(--ink);
  margin: 0;
}

.callout__source {
  font-size: var(--step-meta);
  color: var(--muted);
}

:is(.on-dark, .section--navy, .section--deep, .hero, .pagehead, .band, .videoband, .cta-final) .callout {
  background: var(--panel);
}

:is(.on-dark, .section--navy, .section--deep, .hero, .pagehead, .band, .videoband, .cta-final) .callout p { color: var(--on-dark); }
:is(.on-dark, .section--navy, .section--deep, .hero, .pagehead, .band, .videoband, .cta-final) .callout__source { color: var(--on-dark-dim); }

.lightcard {
  background: var(--white);
  border: 1px solid var(--hair-light);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lightcard__n {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ember-ink);
}

.lightcard p {
  font-size: var(--step-small);
  line-height: var(--lh-body);
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   19. ARTICLE CARDS
-------------------------------------------------------------------------- */

.article-group__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  max-width: 62ch;
}

/* A FEATURE CARD: one document given a whole row, on the raised dark surface
   so it separates from the sixteen white cards under it. Used once, for the
   homeowner's guide at the top of /articles/. */
.featurecard {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-lg);
  background: var(--navy);
  color: var(--on-dark);
}

.featurecard__body {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.featurecard h2 {
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-display);
}

.featurecard__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: var(--step-meta);
  color: var(--on-dark-dim);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 16px;
  list-style: none;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 26px;
  border: 1px solid var(--hair-light);
  border-radius: var(--r-lg);
  background: var(--white);
  color: var(--ink);
  transition: transform var(--hover-duration) var(--ease),
              border-color var(--hover-duration) var(--ease),
              box-shadow var(--hover-duration) var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--ember);
  box-shadow: var(--shadow-card);
}

.card__title {
  font-size: var(--step-body);
  font-weight: 700;
  line-height: 1.35;
}

.card__summary {
  font-size: var(--step-small);
  color: var(--muted);
  flex: 1 1 auto;
}

.card__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--step-meta);
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--ember-wash);
  color: var(--ember-ink);
}

/* --------------------------------------------------------------------------
   20. THE FOOTER
-------------------------------------------------------------------------- */

.footer {
  background: var(--midnight-deep);
  color: var(--foot-text);
  font-size: var(--step-fine);
}

.footer a:hover { color: var(--white); text-decoration: underline; }

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 36px;
  padding-block: 72px 36px;
}

/* align-items: flex-start IS THE FIX FOR THE SQUASHED FOOTER LOGO, and it is
   not cosmetic. This is a COLUMN flex container, so its default
   align-items: stretch applies to the cross axis, which here is the width: the
   logo was being pulled out to the full width of the footer column, about
   260px, while `height: 64px` held it down. `width: auto` cannot win that,
   because a stretched flex item is sized by the container rather than by its
   own width property. The wordmark came out flattened on every page.
   Everything else in the column is a block that wants the full width anyway,
   so stretching bought nothing even before it broke this. */
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer__brand img { height: 64px; width: auto; object-fit: contain; }
.footer__brand p { line-height: var(--lh-copy); }

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__title {
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--step-fine);
  font-weight: 700;
  letter-spacing: 0;
  margin: 0;
}

.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__brands {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__brands a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
}

/* 28px rather than 44: the Gutter Cap artwork carries its own white panel,
   and at 44 that panel is the loudest thing in the footer. */
.footer__brands img { height: 28px; width: auto; object-fit: contain; flex: 0 0 auto; }

.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
}

.footer__social svg { width: 18px; height: 18px; }

.footer__bottom { border-top: 1px solid var(--hair-dark); }

.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding-block: 22px;
  font-size: var(--step-meta);
  color: var(--foot-meta);
}

/* --------------------------------------------------------------------------
   21. FORMS
-------------------------------------------------------------------------- */

/* The white panel a form sits in on a light ground. */
.form-panel {
  background: var(--white);
  border: 1px solid var(--hair-light);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 40px);
}

.form { display: block; }

.form__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.field {
  grid-column: span 12;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field--half { grid-column: span 6; }
.field--third { grid-column: span 4; }
.field--quarter { grid-column: span 3; }

@media (max-width: 900px) {
  .field--quarter { grid-column: span 6; }
}

@media (max-width: 620px) {
  .field--half,
  .field--third,
  .field--quarter { grid-column: span 12; }
}

.field label {
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--ink);
}

.field .req { color: var(--ember-ink); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: var(--step-ui);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--field-border);
  border-radius: var(--r-sm);
  transition: border-color var(--hover-duration) var(--ease),
              box-shadow var(--hover-duration) var(--ease);
}

.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 3px var(--ember-ring);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 2px;
}

.field__error {
  font-size: var(--step-meta);
  color: var(--error-ink);
}

.field__error:empty { display: none; }

.field input[aria-invalid='true'],
.field select[aria-invalid='true'],
.field textarea[aria-invalid='true'] {
  border-color: var(--error-ink);
}

/* The honeypot. Hidden from people and from assistive technology, but a real
   field in the DOM, which is the whole trick: a form filler walking the DOM
   fills it and a person never can. Not display:none, because some bots skip
   fields that are display:none. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__status {
  margin-top: 16px;
  font-size: var(--step-small);
  color: var(--error-ink);
}

.form__status:empty { display: none; }

.form__note {
  margin-top: 16px;
  font-size: var(--step-meta);
  line-height: 1.6;
  color: var(--muted);
}

.form__note a { color: var(--link-ink); font-weight: 600; }

:is(.on-dark, .section--navy, .section--deep, .hero, .pagehead, .band, .videoband, .cta-final) .form__note { color: var(--on-dark-dim); }
:is(.on-dark, .section--navy, .section--deep, .hero, .pagehead, .band, .videoband, .cta-final) .form__note a { color: var(--ice); }

.form .cta-pair { margin-top: 24px; }

/* --------------------------------------------------------------------------
   22. CONTACT DETAILS
-------------------------------------------------------------------------- */

.contact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin: 0;
}

.contact-list dd { margin: 0; }

.contact-list .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 6px;
}

.contact-list .value {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--step-panel);
  line-height: 1.25;
  letter-spacing: var(--track-h3);
  color: var(--on-dark);
}

.contact-list a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   23. THE ERROR BAND

   The 404 and the 500, and nothing else. A flat midnight band with the mark,
   one heading, one line and the three links somebody who landed here wants.

   IT IS THE ONE PLACE ON THIS SITE WHERE A FLAT DARK BAND IS RIGHT, and that
   is not a relaxation of the rule the client set. Every real page opens with a
   photograph because an empty band was what the rejected design opened them
   with. An error page is the page that has to render when something else has
   already failed, so it asks for this stylesheet and the mark and nothing
   else: no full-bleed photograph, no srcset, no registry lookup, nothing that
   could itself be the reason the error page does not come up.

   The section carries .on-dark as well as .errband, which is what puts the
   eyebrow, the lead and the focus ring into their dark-surface colours. The
   lists in section 1 are the single source of that, and a surface that
   forgot to join one of them is exactly the defect the screenshot pass found
   on .band, .videoband and .page-head.
-------------------------------------------------------------------------- */

.errband {
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--head-h) + 48px);
  padding-bottom: 96px;
  background: var(--midnight);
  color: var(--on-dark);
}

.errband__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--rhythm-lead);
}

/* The mark at its own intrinsic size. It is here rather than being left to the
   fixed head because the head is glass over a photograph on every other page
   and there is no photograph behind it here, so without this the band would
   open with a logo floating on the same flat colour it is drawn on. */
.errband__mark {
  width: 109px;
  margin-bottom: 8px;
}

.errband__title { max-width: 20ch; }

.errband .lead { max-width: 54ch; }

/* The three links as one row, hairline-separated, rather than three buttons.
   A person who has hit a 404 is choosing a direction, not completing an
   action, and three primary buttons would be three equal calls to action with
   no hierarchy between them. */
.errband__links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--step-h3);
  letter-spacing: var(--track-h3);
}

.errband__links a {
  color: var(--ice);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.18s ease;
}

.errband__links a:hover { border-bottom-color: var(--ember); }

.errband__phone {
  font-size: var(--step-fine);
  color: var(--on-dark-dim);
  padding-top: 20px;
  border-top: 1px solid var(--hair-dark);
  align-self: stretch;
}

.errband__phone a { color: var(--ice); }
.errband__phone a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .errband { min-height: 0; padding-bottom: 72px; }
  .errband__links { font-size: var(--step-copy); gap: 10px 22px; }
}

/* --------------------------------------------------------------------------
   24. SCROLL REVEAL AND EVERY OTHER PIECE OF MOTION: SEE motion.css

   THERE IS NOTHING LEFT HERE, AND THAT IS THE POINT. The fade-and-rise this
   file used to own, together with reveal.js which drove it, is gone. One
   motion system rather than two: every reveal, the hero entrance, the nav's
   hide and show, the image masks, the parallax and the accordion now live in
   motion.css and motion.js, and the layout drops both when
   Site:EnableMotion is false.

   What stays in this file is the hover and focus behaviour that belongs to a
   component rather than to a timeline: .btn:hover, .shot:hover img,
   .playbtn:hover, .faq__sign and the focus ring in section 1. Those are CSS
   transitions on a real state change and they work with no JavaScript at all,
   which is why they were never candidates for moving.
-------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   25. REDUCED MOTION

   Everything this file moves is switched off here, in one block, so there is
   one place to check. motion.js has its own answer to the same query: it adds
   no class, hides nothing and builds no timeline, so there is nothing for
   this block to undo.
-------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .btn:hover,
  .card:hover,
  .playbtn:hover { transform: none; }

  .shot:hover img { transform: none; }
}
