
/* PEP-1007 — /central-heating-installation-chiswick (draft, unapproved).
   Visual system: the accepted Heating London / Notting Hill / Chelsea
   family language (same :root tokens, same hero/credential-strip/
   editorial-split/detail-grid/sequence/process-grid/faq-section/final-cta
   vocabulary), ported via the approved central-heating-installation-chelsea
   page. Header/footer carry the site's Template-B navigation IA (menu
   button + primary-navigation with aria-expanded) restyled onto this
   palette, since that pattern has a real, accessible mobile menu.
   Self-contained: single stylesheet, no external fonts, no framework
   dependency.

   .editorial__image-frame and .controls-section__image both read a
   --frame-ratio custom property set inline per image (this page's three
   approved detail photographs are 972x1619, 1122x1402 and 977x1610 —
   none matching the other family pages' ratios), so no fixed-ratio
   fallback is relied on here. */

:root {
  --ink: #0e1b22;
  --ink-soft: #172832;
  --ink-faint: #28404a;
  --paper: #fbfaf7;
  --cream: #f1ede6;
  --cream-deep: #e5ded4;
  --copper: #95552f;
  --copper-bright: #d09a74;
  --text: #15252c;
  --muted: #5e696f;
  --line: rgba(21, 37, 44, 0.15);
  --line-dark: rgba(255, 255, 255, 0.15);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  overflow: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--copper-bright);
  outline-offset: 5px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h2 {
  margin-bottom: 1.5rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.5rem, 3.8vw, 4.35rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

h3 {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.25;
}

.page-shell {
  width: min(calc(100% - 4rem), 1280px);
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(5.5rem, 9vw, 8.5rem);
}

.eyebrow {
  margin-bottom: 1.45rem;
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.67);
}

.eyebrow--copper {
  color: var(--copper-bright);
}

.lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  letter-spacing: -0.02em;
  line-height: 1.45;
}

/* ---------------------------------------------------------- Skip link -- */

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.skip-link:focus {
  transform: translateY(0);
}

/* --------------------------------------------------------------- Button -- */

.button {
  display: inline-flex;
  min-height: 3.45rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 1.35rem;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--copper {
  background: var(--copper);
  color: #fff;
}

.button--copper:hover {
  background: #7f4423;
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #fff;
}

.brand__mark {
  display: block;
  flex: none;
  width: 2.7rem;
  height: 2.7rem;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__copy strong {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.brand__copy small {
  margin-top: 0.28rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

/* ----------------------------------------------------------------- Hero -- */

.hero {
  position: relative;
  min-height: 760px;
  height: 100svh;
  max-height: 960px;
  background: var(--ink);
  color: #fff;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% center;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 18, 24, 0.96) 0%, rgba(7, 18, 24, 0.85) 38%, rgba(7, 18, 24, 0.3) 70%, rgba(7, 18, 24, 0.2) 100%),
    linear-gradient(0deg, rgba(7, 18, 24, 0.82) 0%, transparent 40%);
}

.site-header {
  position: relative;
  z-index: 50;
  display: grid;
  min-height: 7rem;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-header nav a,
.header-phone {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.site-header nav a:hover,
.header-phone:hover {
  color: #fff;
}

.header-phone {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 0.65rem;
}

.menu-button {
  display: none;
  justify-self: end;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0;
  border: 0;
  background: none;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ------------------------------------------------------------ Hero copy -- */

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  height: calc(100% - 7rem);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 4rem;
  padding-block: 4.5rem 4rem;
}

.hero__copy {
  max-width: 700px;
}

.hero h1 {
  max-width: 700px;
  margin-bottom: 1.75rem;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(2.85rem, 5.4vw, 5.4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero__intro {
  max-width: 620px;
  margin-bottom: 2.1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  line-height: 1.62;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero__facts {
  display: grid;
  width: 19rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.hero__facts div {
  display: grid;
  grid-template-columns: 4.1rem 1fr;
  align-items: center;
  gap: 0.9rem;
  padding-block: 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.hero__facts strong {
  color: #d4ac8e;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.hero__facts span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

/* ---------------------------------------------------- Mobile nav panel -- */

@media (max-width: 900px) {
  #primary-navigation {
    position: absolute;
    z-index: 40;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.35);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .site-header.menu-open #primary-navigation {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  #primary-navigation a {
    padding: 1.15rem 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-family: var(--serif);
    font-size: 1.35rem;
  }

  .menu-button {
    display: inline-flex;
  }
}

/* ------------------------------------------------------ Credential strip -- */

.credential-strip {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.credential-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.credential {
  display: flex;
  min-height: 7.3rem;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.55rem;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.35;
}

.credential:first-child {
  border-left: 1px solid var(--line);
}

.credential img {
  flex: 0 0 auto;
  object-fit: contain;
}

.credential--manufacturer:first-child img {
  width: 2.1rem;
  height: 2.9rem;
}

.credential--manufacturer:nth-child(2) {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.65rem;
}

.credential--manufacturer:nth-child(2) img {
  width: 7rem;
  height: auto;
}

.credential span {
  display: flex;
  flex-direction: column;
}

.credential small {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.credential--linked {
  transition: background 160ms ease;
}

.credential--linked:hover {
  background: rgba(255, 255, 255, 0.5);
}

.credential--niceic {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.6rem;
}

.credential--niceic img {
  width: 6.3rem;
  height: auto;
}

/* ------------------------------------------------------------ Local intro -- */

.local-intro {
  background: var(--paper);
}

.local-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  gap: clamp(4rem, 9vw, 9rem);
  align-items: start;
}

.local-intro h2 {
  max-width: 650px;
  margin-bottom: 0;
}

.local-intro__copy {
  padding-top: 2.8rem;
}

.local-intro__copy > p:not(.lead) {
  color: var(--muted);
}

.local-intro__rule {
  display: grid;
  margin-top: 2.5rem;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.local-intro__rule span {
  padding: 1rem 0.6rem;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
}

.local-intro__rule span:last-child {
  border-right: 0;
}

/* ---------------------------------------------------------- System design -- */

.system-section {
  padding-block: clamp(5.5rem, 8vw, 8rem);
  background: var(--ink);
  color: #fff;
}

.section-heading {
  display: grid;
  margin-bottom: 4rem;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.43fr);
  gap: 5rem;
  align-items: end;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.section-heading--dark h2 {
  color: #fff;
}

.section-heading--dark > p {
  color: rgba(255, 255, 255, 0.58);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.capability {
  min-height: 14rem;
  padding: 2.2rem 2rem 2.5rem;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.capability > span {
  display: block;
  margin-bottom: 2.25rem;
  color: var(--copper-bright);
  font-family: var(--serif);
  font-size: 1rem;
}

.capability h3 {
  margin-bottom: 1rem;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
}

.capability p {
  max-width: 26rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.93rem;
}

/* -------------------------------------------------------------- Editorial -- */

.editorial {
  background: var(--paper);
}

.serviceability {
  background: var(--cream);
}

.editorial__grid,
.serviceability__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(4rem, 8vw, 8rem);
  align-items: center;
}

.serviceability__grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
}

.editorial__image-frame {
  /* width MUST be explicit, not max-width alone: a box with an
     aspect-ratio has an "intrinsic aspect ratio" per the CSS Box
     Alignment spec, which makes the default justify-self:normal resolve
     to start (shrink-to-fit) instead of stretch inside a grid — so with
     only max-width + margin-inline:auto it collapses to computed width:0
     and every image inside renders at 0x0. width:min(...) sizes the box
     directly and sidesteps justify-self entirely. (Confirmed defect/fix
     from the Notting Hill sibling page — applied here from the start.) */
  position: relative;
  overflow: hidden;
  background: var(--cream-deep);
  aspect-ratio: var(--frame-ratio, 5 / 8);
  width: min(100%, 30rem);
  margin-inline: auto;
}

.editorial__image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-index {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.75rem;
  background: rgba(14, 27, 34, 0.82);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.editorial__copy,
.serviceability__copy {
  max-width: 560px;
}

.editorial__copy > p:not(.eyebrow, .lead),
.serviceability__copy > p:not(.eyebrow, .lead) {
  color: var(--muted);
}

.feature-list {
  display: grid;
  margin: 2.1rem 0 2.35rem;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.feature-list li::before {
  content: "";
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--copper);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.3;
  text-transform: uppercase;
}

.arrow-link span[aria-hidden] {
  transition: transform 160ms ease;
  display: inline-block;
}

.arrow-link:hover span[aria-hidden] {
  transform: translate(2px, -2px);
}

.detail-grid {
  display: grid;
  margin-top: 2.6rem;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.detail-grid div {
  display: flex;
  min-height: 7.7rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-grid strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
}

.detail-grid span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- Controls -- */

.controls-section {
  padding-block: 6.5rem;
  background: var(--ink-soft);
  color: #fff;
}

.controls-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.05fr);
  gap: clamp(4rem, 8vw, 8rem);
  align-items: center;
}

.controls-section__image {
  /* See .editorial__image-frame above: width must be explicit alongside
     aspect-ratio, or this collapses to computed width:0 in a grid.
     --frame-ratio here (not a fixed 5/8) because this page's approved
     photograph is square — see file header note. */
  position: relative;
  width: min(100%, 28rem);
  margin-inline: auto;
  aspect-ratio: var(--frame-ratio, 1 / 1);
  overflow: hidden;
  box-shadow: 2rem 2rem 0 rgba(184, 120, 78, 0.09);
}

.controls-section__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.controls-section__copy {
  max-width: 560px;
}

.controls-section h2 {
  color: #fff;
}

.controls-section__copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.66);
}

.sequence {
  display: grid;
  margin: 2.1rem 0;
  border-top: 1px solid var(--line-dark);
}

.sequence div {
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: center;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--line-dark);
}

.sequence span {
  color: var(--copper-bright);
  font-family: var(--serif);
  font-size: 0.92rem;
}

.sequence strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.79rem;
  letter-spacing: 0.04em;
}

/* ------------------------------------------------------------------ Process -- */

.process-section {
  background: var(--paper);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-grid article {
  min-height: 16rem;
  padding: 1.8rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-grid article > span {
  display: block;
  margin-bottom: 3.5rem;
  color: var(--copper);
  font-family: var(--serif);
}

.process-grid h3 {
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
}

.process-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ----------------------------------------------------------------- Coverage -- */

.coverage {
  padding-block: clamp(4.5rem, 7vw, 6.5rem);
  border-block: 1px solid var(--line);
  background: var(--cream);
}

.coverage__inner {
  max-width: 860px;
}

.coverage h2 {
  font-size: clamp(2.1rem, 3.2vw, 3.2rem);
}

.coverage p {
  color: var(--muted);
  font-size: 1rem;
}

.coverage p strong {
  color: var(--ink);
  font-weight: 700;
}

/* --------------------------------------------------------------- Crosslinks -- */

.crosslinks {
  padding-block: clamp(3rem, 5vw, 4rem);
  background: var(--paper);
}

.crosslinks p {
  max-width: 920px;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.crosslinks p:last-child {
  margin-bottom: 0;
}

.crosslinks a {
  border-bottom: 1px solid var(--copper);
  color: var(--ink);
  font-weight: 700;
}

.crosslinks a:hover {
  color: var(--copper);
}

/* --------------------------------------------------------------------- FAQ -- */

.faq-section {
  background: var(--paper);
}

.faq-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: clamp(4rem, 9vw, 9rem);
  align-items: start;
}

.faq-section__intro {
  position: sticky;
  top: 2rem;
}

.faq-section__intro h2 {
  font-size: clamp(2.2rem, 3.3vw, 3.6rem);
}

.faq-section__intro > p:not(.eyebrow) {
  color: var(--muted);
}

.plain-phone {
  display: inline-flex;
  margin-top: 1rem;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 700;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  display: grid;
  padding: 1.5rem 2.5rem 1.5rem 0;
  grid-template-columns: 3rem 1fr;
  align-items: center;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.35;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  right: 0;
  content: "+";
  color: var(--copper);
  font-family: var(--sans);
  font-size: 1.1rem;
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-list summary span {
  color: var(--copper);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.faq-list details p {
  max-width: 660px;
  margin: -0.2rem 2rem 1.75rem 3rem;
  color: var(--muted);
}

/* ----------------------------------------------------------------- Final CTA -- */

.final-cta {
  position: relative;
  padding-block: clamp(6rem, 10vw, 9.5rem);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.final-cta::before {
  position: absolute;
  width: 42rem;
  height: 42rem;
  right: -14rem;
  bottom: -22rem;
  border: 1px solid rgba(208, 154, 116, 0.25);
  border-radius: 50%;
  box-shadow:
    0 0 0 5rem rgba(208, 154, 116, 0.035),
    0 0 0 10rem rgba(208, 154, 116, 0.025);
  content: "";
}

.final-cta__inner {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  max-width: 900px;
  margin-bottom: 1.8rem;
  color: #fff;
  font-size: clamp(2.9rem, 5.4vw, 5.6rem);
}

.final-cta__inner > p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 1.05rem;
}

.final-cta__actions {
  display: flex;
  margin-top: 2.2rem;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
}

.final-cta__phone {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.final-cta__related {
  display: flex;
  margin-top: 4rem;
  flex-wrap: wrap;
  gap: 0.7rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.final-cta__related span {
  margin-right: auto;
  color: var(--copper-bright);
}

.final-cta__related a:hover {
  color: #fff;
}

/* ------------------------------------------------------------------- Footer -- */

.site-footer {
  padding-block: 4.5rem 2rem;
  background: #081116;
  color: #fff;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.2fr 0.65fr 0.65fr;
  gap: 4rem;
  padding-bottom: 3.5rem;
}

.site-footer__nav,
.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
}

.site-footer__nav a:hover,
.site-footer__contact a:hover {
  color: #fff;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* -------------------------------------------------------------- Breakpoints -- */

@media (max-width: 1120px) {
  .credential-strip__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .credential:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .credential:nth-child(3) {
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }

  .credential:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .page-shell {
    width: min(calc(100% - 3rem), 1280px);
  }

  .site-header {
    /* Three in-flow items share this row at this breakpoint: brand,
       menu-button and header-phone (#primary-navigation is position:absolute
       here — see the earlier 900px block — so it never occupies a track).
       Two columns would let header-phone wrap onto its own row. */
    grid-template-columns: 1fr auto auto;
  }

  .hero {
    min-height: 780px;
    height: auto;
    max-height: none;
  }

  .hero__veil {
    background:
      linear-gradient(90deg, rgba(7, 18, 24, 0.94) 0%, rgba(7, 18, 24, 0.68) 72%, rgba(7, 18, 24, 0.4) 100%),
      linear-gradient(0deg, rgba(7, 18, 24, 0.88) 0%, transparent 55%);
  }

  .hero__content {
    height: auto;
    min-height: calc(780px - 7rem);
    grid-template-columns: 1fr;
    align-content: end;
    gap: 3rem;
  }

  .hero__facts {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero__facts div {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero__facts div:last-child {
    border-right: 0;
  }

  .local-intro__grid,
  .editorial__grid,
  .serviceability__grid,
  .controls-section__grid,
  .faq-section__grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .serviceability__grid {
    grid-template-columns: 1fr;
  }

  .serviceability__grid .editorial__image-frame {
    order: -1;
  }

  .local-intro__copy {
    max-width: 700px;
    padding-top: 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-heading > p {
    max-width: 620px;
  }

  .editorial__image-frame,
  .controls-section__image {
    width: min(100%, 22rem);
  }

  .serviceability__copy {
    max-width: 700px;
  }

  .controls-section__copy {
    max-width: 700px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-section__intro {
    position: static;
    max-width: 700px;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__top .brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 2rem), 1280px);
  }

  .section-pad {
    padding-block: 4.75rem;
  }

  h2 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .site-header {
    min-height: 5.7rem;
  }

  .brand__copy strong {
    font-size: 0.9rem;
  }

  .brand__copy small {
    display: none;
  }

  .brand__mark {
    width: 2.35rem;
    height: 2.35rem;
  }

  .header-phone span {
    display: none;
  }

  .header-phone {
    width: 2.7rem;
    height: 2.7rem;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
  }

  .hero {
    min-height: 800px;
  }

  .hero__image {
    object-position: 68% center;
  }

  .hero__content {
    min-height: calc(800px - 5.7rem);
    padding-block: 3rem 2rem;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.4rem);
  }

  .hero__intro {
    font-size: 1rem;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero__facts {
    gap: 0;
  }

  .hero__facts div {
    padding-inline: 0.65rem;
  }

  .hero__facts strong {
    font-size: 1.45rem;
  }

  .hero__facts span {
    font-size: 0.52rem;
  }

  .credential-strip__inner {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .credential,
  .credential:first-child,
  .credential:nth-child(3) {
    min-height: 6rem;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding-inline: 1.5rem;
  }

  .credential:last-child {
    border-bottom: 0;
  }

  .credential--manufacturer:nth-child(2),
  .credential--niceic {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .local-intro__rule {
    grid-template-columns: 1fr;
  }

  .local-intro__rule span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .local-intro__rule span:last-child {
    border-bottom: 0;
  }

  .capability-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .capability {
    min-height: auto;
  }

  .capability > span {
    margin-bottom: 1.75rem;
  }

  .editorial__image-frame,
  .controls-section__image {
    width: min(100%, 17rem);
  }

  .controls-section {
    padding-block: 4rem;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .process-grid article {
    min-height: auto;
  }

  .process-grid article > span {
    margin-bottom: 2rem;
  }

  .faq-list summary {
    grid-template-columns: 2.25rem 1fr;
    font-size: 1.04rem;
  }

  .faq-list details p {
    margin-left: 2.25rem;
  }

  .final-cta h2 {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

  .final-cta__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .final-cta__phone {
    text-align: center;
  }

  .final-cta__related {
    flex-direction: column;
  }

  .final-cta__related span {
    margin: 0 0 0.5rem;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .site-footer__top .brand {
    grid-column: auto;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * ,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
