/* ==========================================================================
   RJR Home Improvements — design system
   Type: Archivo (wdth 100–125, wght 800–900) / IBM Plex Sans 400·600 / IBM Plex Mono 500
   Scale: 1.250 (Major Third) @ 360px -> 1.333 (Perfect Fourth) @ 1440px, base 16 -> 19px.
          Every clamp endpoint sits exactly on its scale step.
   Colour: brand red & white from the RJR logo, with charcoal for structure. Used the same way on every page:
          white = reading · charcoal = structure & dark bands · red = brand, action & markers ·
          red-bright = red on dark backgrounds · red-tint = quiet bands. White text on red only.
   Never: border-radius, box-shadow, gradients, or background highlights behind running text.
   ========================================================================== */

:root {
  --step--2: clamp(0.64rem, 0.6306rem + 0.0419vw, 0.6683rem);
  --step--1: clamp(0.8rem, 0.7697rem + 0.1346vw, 0.8908rem);
  --step-0:  clamp(1rem, 0.9375rem + 0.2778vw, 1.1875rem);
  --step-1:  clamp(1.25rem, 1.139rem + 0.4932vw, 1.583rem);
  --step-2:  clamp(1.5625rem, 1.38rem + 0.8112vw, 2.11rem);
  --step-3:  clamp(1.953rem, 1.667rem + 1.273vw, 2.813rem);
  --step-4:  clamp(2.441rem, 2.005rem + 1.938vw, 3.749rem);
  --step-5:  clamp(3.052rem, 2.403rem + 2.883vw, 4.998rem);
  --step-6:  clamp(3.815rem, 2.866rem + 4.218vw, 6.662rem);
  --step-7:  clamp(4.768rem, 3.398rem + 6.092vw, 8.881rem);
  --step-hero: clamp(2.441rem, 1.034rem + 6.253vw, 6.662rem); /* step 4 @360 -> step 6 @1440 */

  --lh: clamp(1.5rem, 1.406rem + 0.4167vw, 1.781rem);         /* 1 rhythm unit = body line */
  --s-q: calc(var(--lh) / 4);
  --s-h: calc(var(--lh) / 2);
  --s-1: var(--lh);
  --s-2: calc(var(--lh) * 2);
  --s-3: calc(var(--lh) * 3);

  --ink: #161414;        /* charcoal from the logo skyline */
  --ink-2: #2a2524;
  --light: #ffffff;
  --light-2: #f7f3f2;    /* warm white */
  --red: #a12f2f;        /* logo red · white text on it 6.9:1 · on white 6.9:1 */
  --red-deep: #7c2323;   /* hover / pressed */
  --red-bright: #ef6b65; /* red on charcoal 6.1:1 */
  --red-tint: #fbefee;   /* quiet red band, charcoal text 16:1 */
  --red-line: #e7c9c6;
  --grey: #5c5757;       /* on white 6.9:1 */

  --rule: 2px solid currentColor;
  --rule-hair: 1px solid currentColor;
  --f-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: 1rem;
  --measure: 65ch;
  --bar: 3.25rem;
  color-scheme: light;
}
@media (min-width: 48rem) { :root { --gutter: 2rem; } }
@media (min-width: 80rem) { :root { --gutter: 3rem; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--mast-h, 5rem) + var(--s-q)); }
body {
  background: var(--light); color: var(--ink);
  font-family: var(--f-body); font-weight: 400; font-size: var(--step-0); line-height: 1.5;
  font-kerning: normal; text-rendering: optimizeLegibility; overflow-x: clip;
  padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom));
}
@media (min-width: 64rem) { body { padding-bottom: 0; } }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.flow, section, article, header, footer, main { margin-trim: block; }
.flow { display: flex; flex-direction: column; gap: var(--s-1); }
.flow-h { display: flex; flex-direction: column; gap: var(--s-h); }
.flow-2 { display: flex; flex-direction: column; gap: var(--s-2); }

/* ---------- type ---------- */
h1, h2, h3, .display { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 100; text-wrap: balance; overflow-wrap: break-word; }
@media (min-width: 48rem) { h1, h2, .display { font-variation-settings: "wdth" 112; } }
@media (min-width: 80rem) { h1, .display { font-variation-settings: "wdth" 125; } }
h1 { font-size: var(--step-5); line-height: 1.1; letter-spacing: -0.035em; }
h2 { font-size: var(--step-4); line-height: 1.1; letter-spacing: -0.025em; }
h3 { font-size: var(--step-1); line-height: 1.25; letter-spacing: -0.01em; font-variation-settings: "wdth" 100; }
p, li, dd, dt, summary, td, th { max-width: var(--measure); }
p { text-wrap: pretty; }
.lede { font-size: var(--step-1); line-height: 1.45; max-width: 44ch; }
strong, b { font-weight: 600; }
@supports (text-box: trim-both cap alphabetic) { h1, h2, .display { text-box: trim-both cap alphabetic; } }

.label, .crumbs, .meta, figcaption, .nav a, .nav-toggle, .kv dt, .idx, .btn, .tag, .mbar a, .toc a, .cite, .spec th {
  font-family: var(--f-mono); font-weight: 500; font-size: var(--step--1); line-height: 1.5;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.label { display: flex; flex-wrap: wrap; gap: 0 var(--s-1); max-width: none; }
.label span + span::before { content: "\00b7"; margin-inline-end: var(--s-1); }
@media (max-width: 47.99rem) { .label { column-gap: 2ch; } .label span + span::before { content: none; } }
.hl { color: var(--red-bright); }                  /* emphasis on dark: colour, never a background */
.hl-o { color: var(--red); }

/* ---------- frame ---------- */
.wrap { width: 100%; max-width: 100rem; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--gutter); top: var(--s-h); background: var(--red); color: #fff; padding: var(--s-q) var(--s-h); z-index: 50; }

.topbar { background: var(--ink); color: var(--light); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--s-1); padding-block: var(--s-q); }
.topbar p { font-family: var(--f-mono); font-weight: 500; font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; max-width: none; }
.topbar a { color: var(--red-bright); }
.topbar .dot { display: inline-block; width: 0.6em; height: 0.6em; background: var(--red); margin-inline-end: 0.8ch; }
.topbar p + p { display: none; }
@media (min-width: 48rem) { .topbar p + p { display: block; } }

.mast { position: sticky; top: 0; z-index: 35; background: var(--light); }
.mast.is-compact .topbar { display: none; }
.mast.is-compact .site-head .wrap { padding-block: var(--s-q); }
.mast.is-compact .site-head { border-bottom-width: 3px; box-shadow: none; }
.site-head { position: relative; background: var(--light); border-bottom: 4px solid var(--red); }
.site-head .wrap {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  grid-template-areas: "brand toggle" "nav nav";
  gap: var(--s-h) var(--s-1); padding-block: var(--s-h);
}
.brand { grid-area: brand; display: block; line-height: 0; text-decoration: none; }
.brand img { height: clamp(3.75rem, 3rem + 2.6vw, 5.5rem); width: auto; transition: height 0.2s ease; }
.mast.is-compact .brand img { height: clamp(2.5rem, 2.2rem + 1vw, 3.25rem); }
.nav-toggle {
  grid-area: toggle; justify-self: end; align-self: center;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.75rem; padding: var(--s-q) var(--s-h);
  border: 2px solid var(--ink); background: var(--light); color: var(--ink);
}
.nav-toggle:hover { background: var(--red); border-color: var(--red); color: #fff; }
.nav-toggle .when-open { display: none; }
.mast.is-open .nav-toggle .when-closed { display: none; }
.mast.is-open .nav-toggle .when-open { display: inline; }
.nav { grid-area: nav; display: none; border-top: var(--rule-hair); padding-top: var(--s-h); background: var(--light); }
.nav.is-open { display: block; }
.nav ul { display: flex; flex-direction: column; gap: 0; }
.nav a { display: flex; text-decoration: none; padding-block: var(--s-h); border-bottom: var(--rule-hair); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--red); }
.nav .em { color: var(--red); }
.head-cta { display: none; }
@media (min-width: 64rem) {
  .nav-toggle { display: none; }
  .site-head .wrap { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand nav cta"; }
  .nav { display: block; border-top: 0; padding-top: 0; justify-self: center; }
  .nav ul { flex-direction: row; flex-wrap: wrap; gap: var(--s-q) var(--s-h); }
  .nav a { display: inline; padding-block: 0.15em; border-bottom: 0; }
  .head-cta { grid-area: cta; display: block; }
  .mast.is-compact .nav-toggle { display: inline-flex; grid-area: nav; justify-self: end; }
  .mast.is-compact .nav { display: none; padding: var(--s-h) var(--gutter) 0; border-top: var(--rule-hair); }
  .mast.is-compact.is-open .nav {
    display: block; position: absolute; z-index: 2; inset-inline: 0; top: 100%;
    background: var(--light); border-bottom: 6px solid var(--ink);
  }
  .mast.is-compact.is-open .nav ul { justify-content: flex-end; }
}

/* ---------- buttons: rectangles only ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-h); min-height: 2.75rem; padding: var(--s-q) var(--s-1); background: var(--ink); color: var(--light); border: 2px solid var(--ink); text-decoration: none; }
.btn::after { content: "\2192"; font-family: var(--f-body); }
.btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn--red { background: var(--red); color: #fff; border-color: var(--red); }
.btn--red:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.btn--line { background: transparent; color: inherit; border-color: currentColor; }
.btn--line:hover { background: var(--red); color: #fff; border-color: var(--red); }
.textlink { font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-h) var(--s-1); }

.crumbs { background: var(--light); border-bottom: var(--rule-hair); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0 var(--s-h); padding-block: var(--s-h); }
.crumbs li + li::before { content: "/"; margin-inline-end: var(--s-h); color: var(--grey); }
.crumbs a { text-decoration: none; }
.crumbs [aria-current] { color: var(--grey); }

/* ---------- hero: pre-blurred job photo + flat ink overlay ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--light); border-bottom: 6px solid var(--ink); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(13 13 12 / 0.56); }
.hero .wrap { display: grid; gap: var(--s-2); padding-block: var(--s-2); }
.hero h1 { font-size: var(--step-hero); line-height: 1.02; letter-spacing: -0.04em; max-width: 15ch; }
.hero--page h1 { font-size: var(--step-5); line-height: 1.08; max-width: 18ch; }
.hero .answer { border-color: var(--red-bright); }
.hero-foot { display: grid; gap: var(--s-2); border-top: 2px solid var(--light); padding-top: var(--s-1); }
.panel { background: var(--light); color: var(--ink); border: 6px solid var(--ink); outline: 2px solid var(--red-bright); padding: var(--s-h) var(--s-1) var(--s-1); align-self: start; display: flex; flex-direction: column; gap: var(--s-h); }
@media (min-width: 64rem) {
  .hero-foot { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
  .hero-foot > :first-child:not(:only-child) { grid-column: 1 / span 7; }
  .hero-foot > :last-child:not(:only-child) { grid-column: 9 / span 4; }
  .hero-foot > :only-child { grid-column: 1 / -1; }
}

.ticker { background: var(--red); color: #fff; border-bottom: 6px solid var(--ink); overflow: hidden; }
.ticker-track { display: flex; width: max-content; }
.ticker-track p { display: flex; gap: var(--s-1); padding: var(--s-q) var(--s-h); white-space: nowrap; max-width: none; font-family: var(--f-display); font-weight: 900; font-size: var(--step-2); line-height: 1.2; letter-spacing: -0.02em; text-transform: uppercase; font-variation-settings: "wdth" 125; }
@media (prefers-reduced-motion: no-preference) { .ticker-track { animation: tick 50s linear infinite; } }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- bands: the same five, in the same roles, on every page ---------- */
.band { padding-block: var(--s-3); border-bottom: 2px solid var(--ink); }
.band--alt { background: var(--light-2); }
.band--ink { background: var(--ink); color: var(--light); border-bottom-color: var(--ink); }
.band--red { background: var(--red); color: #fff; }
.band--red .urgent li::before { background: #fff; }
.band--red .btn { background: #fff; color: var(--red); border-color: #fff; }
.band--red .btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.band--red .idx .sw { background: #fff; }
.band--tint { background: var(--red-tint); color: var(--ink); }
.band--ink .btn { background: var(--red); color: #fff; border-color: var(--red); }
.band--ink .btn:hover { background: var(--light); border-color: var(--light); }
.band--ink a:hover { text-decoration-color: var(--red-bright); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-1) var(--gutter); }
.grid > * { grid-column: 1 / -1; }
@media (min-width: 64rem) { .col-idx { grid-column: 1 / span 3 !important; } .col-main { grid-column: 4 / span 9 !important; } }
.idx { padding-top: var(--s-h); border-top: 6px solid currentColor; align-self: start; display: flex; flex-direction: column; gap: var(--s-h); }
.idx .sw { width: var(--s-2); height: var(--s-h); background: var(--c, var(--red)); }
@media (min-width: 64rem) { .idx { position: sticky; top: calc(var(--mast-h, 5rem) + var(--s-1)); } }

/* contents list on long pages */
.toc { border-bottom: var(--rule-hair); background: var(--light); }
.toc ol { display: flex; flex-wrap: wrap; gap: var(--s-q) var(--s-1); padding-block: var(--s-h); counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { text-decoration: none; }
.toc a::before { content: counter(t, decimal-leading-zero) " "; color: var(--red); }

/* ---------- content components ---------- */
.kv { display: grid; grid-template-columns: minmax(8ch, max-content) 1fr; border-top: var(--rule); }
.kv dt, .kv dd { padding-block: var(--s-q); border-bottom: var(--rule-hair); }
.kv dt { padding-inline-end: var(--s-1); color: var(--grey); padding-top: calc(var(--s-q) + 0.2em); }
.kv dd { font-weight: 600; }

.answer { border-left: 6px solid currentColor; padding-left: var(--s-1); display: flex; flex-direction: column; gap: var(--s-h); }
.answer p { font-size: var(--step-1); line-height: 1.45; max-width: 52ch; }

.callout { border-left: 6px solid var(--red); padding: var(--s-h) 0 var(--s-h) var(--s-1); display: flex; flex-direction: column; gap: var(--s-q); }
.callout .label { color: var(--red); }

.defs { border-top: var(--rule); }
.defs > div { display: grid; gap: var(--s-q) var(--gutter); padding-block: var(--s-h); border-bottom: var(--rule-hair); }
.defs dt { font-weight: 600; font-size: var(--step-1); line-height: 1.3; }
@media (min-width: 48rem) { .defs > div { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } }

.spec { border-top: var(--rule); }
.spec th, .spec td { text-align: left; vertical-align: top; padding: var(--s-h) var(--s-h) var(--s-h) 0; border-bottom: var(--rule-hair); }
.spec td:first-child { font-weight: 600; }
@media (max-width: 47.99rem) {
  .spec thead { display: none; }
  .spec tr { display: grid; border-bottom: var(--rule-hair); padding-block: var(--s-h); }
  .spec td { border: 0; padding: 0; }
  .spec td:nth-child(2) { color: var(--grey); font-family: var(--f-mono); font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.06em; }
}

.steps { counter-reset: s; border-top: var(--rule); }
.steps li { counter-increment: s; display: grid; grid-template-columns: max-content 1fr; gap: var(--s-1); padding-block: var(--s-1); border-bottom: var(--rule-hair); max-width: none; }
.steps li::before { content: counter(s); min-width: 0.8em; font-family: var(--f-display); font-weight: 900; font-size: var(--step-5); line-height: 0.8; color: var(--red); font-variation-settings: "wdth" 125; }
.band--ink .steps li::before { color: var(--red-bright); }
.steps b { display: block; font-family: var(--f-display); font-weight: 800; font-size: var(--step-2); line-height: 1.15; letter-spacing: -0.02em; padding-bottom: var(--s-q); }

.ruled { border-top: var(--rule); }
.ruled > li { border-bottom: var(--rule-hair); padding-block: var(--s-q); display: grid; grid-template-columns: 1.2em 1fr; gap: var(--s-h); align-items: baseline; }
.ruled > li::before { content: ""; width: 0.6em; height: 0.6em; background: var(--red); }
.cols-2 { display: grid; gap: var(--s-2); }
@media (min-width: 48rem) { .cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); } }

.urgent { display: grid; border-top: var(--rule); }
.urgent li { display: grid; grid-template-columns: 1.2em 1fr; gap: var(--s-h); align-items: baseline; padding-block: var(--s-h); border-bottom: var(--rule-hair); font-size: var(--step-1); line-height: 1.3; font-weight: 600; max-width: none; }
.urgent li::before { content: ""; width: 0.7em; height: 0.7em; background: var(--ink); }
@media (min-width: 48rem) { .urgent { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); } }

.qa { border-top: var(--rule); }
.qa > div { display: grid; gap: var(--s-q) var(--gutter); padding-block: var(--s-1); border-bottom: var(--rule-hair); }
.qa h3 { font-size: var(--step-2); line-height: 1.15; }
@media (min-width: 64rem) { .qa > div { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

/* single verbatim review line */
.pull { display: flex; flex-direction: column; gap: var(--s-h); border-top: 6px solid currentColor; padding-top: var(--s-1); }
.pull blockquote p { font-family: var(--f-display); font-weight: 800; font-size: var(--step-3); line-height: 1.12; letter-spacing: -0.02em; max-width: 26ch; }
.pull blockquote p::before { content: "\201C"; color: var(--red); }
.pull blockquote p::after { content: "\201D"; color: var(--red); }
.band--ink .pull blockquote p::before, .band--ink .pull blockquote p::after { color: var(--red-bright); }

/* index rows */
.index-list { border-top: var(--rule); counter-reset: row; }
.index-list > li { border-bottom: var(--rule-hair); counter-increment: row; }
.index-list a { display: grid; grid-template-columns: 3.5ch 1fr auto; gap: 0 var(--s-h); align-items: baseline; padding-block: var(--s-h); text-decoration: none; }
.index-list a::before { content: counter(row, decimal-leading-zero); grid-column: 1; grid-row: 1; font-family: var(--f-mono); font-weight: 500; font-size: var(--step--1); letter-spacing: 0.08em; }
.index-list a::after { content: "\2192"; grid-column: 3; grid-row: 1; }
.index-list .t { grid-column: 2; grid-row: 1; font-family: var(--f-display); font-weight: 800; font-size: var(--step-2); line-height: 1.15; letter-spacing: -0.02em; }
.index-list .d { grid-column: 2 / -1; grid-row: 2; color: var(--grey); max-width: var(--measure); padding-top: var(--s-q); }
.index-list a:hover { background: var(--ink); color: var(--light); }
.index-list a:hover .d { color: var(--light); }
.index-list--sm .t { font-size: var(--step-1); }
.index-list--thumbs a { grid-template-columns: 3.5ch 4rem 1fr auto; align-items: start; }
.index-list--thumbs a::after { grid-column: 4; }
.index-list--thumbs .t { grid-column: 3; }
.index-list--thumbs .d { grid-column: 3 / -1; }
.index-list--thumbs .th { grid-column: 2; grid-row: 1 / span 2; width: 4rem; height: 4rem; border: 2px solid var(--ink); object-fit: cover; }
@media (min-width: 48rem) { .index-list--thumbs a { grid-template-columns: 3.5ch 6.5rem 1fr auto; } .index-list--thumbs .th { width: 6.5rem; height: 6.5rem; } }
.tag { display: inline-block; font-size: var(--step--2); line-height: 1.6; padding: 0 0.6ch; margin-inline-start: 0.8ch; vertical-align: middle; background: var(--red); color: #fff; letter-spacing: 0.1em; }

.trades { display: grid; gap: var(--s-2); }
@media (min-width: 64rem) { .trades { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); } }
.trades h3 { border-top: 6px solid var(--c, var(--red)); padding-top: var(--s-q); }

/* before / after: one job per row, one crop per row, tops aligned */
.ba { display: grid; gap: var(--s-1) var(--gutter); border-top: var(--rule); padding-top: var(--s-1); }
.ba + .ba { margin-top: var(--s-2); }
.ba-head { display: flex; flex-direction: column; gap: var(--s-h); }
.ba-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-h); align-items: start; }
.ba-row > figure:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 48rem) { .ba-row { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); } .ba-row > figure:last-child:nth-child(odd) { grid-column: auto; } }
@media (min-width: 64rem) { .ba { grid-template-columns: repeat(12, minmax(0, 1fr)); } .ba-head { grid-column: 1 / span 3; } .ba-row { grid-column: 4 / -1; } .ba--solo .ba-row { grid-column: 4 / span 6; } }
.ba figure { display: flex; flex-direction: column; gap: var(--s-q); }
.frame { position: relative; aspect-ratio: var(--ar, 4 / 3); border: 3px solid currentColor; overflow: hidden; background: var(--grey); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame .tag { position: absolute; left: 0; top: 0; margin: 0; font-size: var(--step--1); background: var(--light); color: var(--ink); padding: 0.1em 0.7ch; }
.frame .tag.after { background: var(--red); color: #fff; }
.frame .tag.during { background: var(--ink); color: #fff; }
figcaption { text-transform: none; letter-spacing: 0.01em; }

/* reviews */
.reviews { border-top: var(--rule); }
.review { display: grid; gap: var(--s-h) var(--gutter); padding-block: var(--s-1); border-bottom: var(--rule-hair); }
.review blockquote p { font-size: var(--step-1); line-height: 1.45; max-width: 52ch; }
.review blockquote p::before { content: "\201C"; }
.review blockquote p::after { content: "\201D"; }
.review .meta { display: flex; flex-wrap: wrap; gap: 0 var(--s-1); }
.review .pc { align-self: start; font-family: var(--f-display); font-weight: 800; font-size: var(--step-4); line-height: 1; letter-spacing: -0.03em; font-variation-settings: "wdth" 125; }
@media (min-width: 64rem) { .review { grid-template-columns: repeat(12, minmax(0, 1fr)); } .review > :first-child { grid-column: 1 / span 3; } .review > :last-child { grid-column: 4 / span 9; } }
.review--first blockquote p { font-family: var(--f-display); font-weight: 800; font-size: var(--step-3); line-height: 1.12; letter-spacing: -0.02em; max-width: 30ch; }
.score { display: grid; border: 3px solid var(--ink); background: var(--light); }
.score > * { padding: var(--s-h) var(--s-1); }
.score .big { font-family: var(--f-display); font-weight: 800; font-size: var(--step-4); line-height: 1.1; letter-spacing: -0.03em; background: var(--ink); color: var(--red-bright); }
.score .g { border-top: 2px solid var(--ink); display: flex; flex-wrap: wrap; gap: var(--s-h) var(--s-1); align-items: center; }
@media (min-width: 48rem) { .score { grid-template-columns: auto 1fr; } .score .big { grid-row: span 2; } }

/* areas */
.areas { border-top: var(--rule); display: grid; }
.areas a { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: var(--s-1); padding-block: var(--s-q); border-bottom: var(--rule-hair); text-decoration: none; }
.areas .n { font-family: var(--f-display); font-weight: 800; font-size: var(--step-3); line-height: 1.15; letter-spacing: -0.025em; }
.areas .p { font-family: var(--f-mono); font-size: var(--step--1); letter-spacing: 0.08em; color: var(--red); }
.band--ink .areas .p { color: var(--red-bright); }
@media (min-width: 64rem) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); } }

.features { display: grid; border-top: var(--rule); }
.features > div { padding-block: var(--s-h); border-bottom: var(--rule-hair); display: flex; flex-direction: column; gap: var(--s-q); }
.features dt { font-family: var(--f-display); font-weight: 800; font-size: var(--step-2); line-height: 1.15; letter-spacing: -0.02em; }
@media (min-width: 64rem) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); } }

/* faq */
.faq { border-top: var(--rule); }
.faq details { border-bottom: var(--rule-hair); }
.faq summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 1fr 2ch; gap: var(--s-1); padding-block: var(--s-h); font-weight: 600; font-size: var(--step-1); line-height: 1.35; max-width: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--red); }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding-bottom: var(--s-1); }

.stat { display: flex; flex-direction: column; gap: var(--s-h); border-bottom: var(--rule-hair); padding-bottom: var(--s-1); }
.stat-n { font-family: var(--f-display); font-weight: 900; font-size: var(--step-7); line-height: 0.9; letter-spacing: -0.05em; font-variation-settings: "wdth" 125; }
@supports (text-box: trim-both cap alphabetic) { .stat-n { text-box: trim-both cap alphabetic; } }

/* legal pages */
.prose { display: flex; flex-direction: column; gap: var(--s-1); max-width: 72ch; }
.prose h2 { font-size: var(--step-3); padding-top: var(--s-1); }
.prose h3 { font-size: var(--step-1); }
.prose ul { display: flex; flex-direction: column; gap: var(--s-q); }
.prose ul li { display: grid; grid-template-columns: 1.2em 1fr; }
.prose ul li::before { content: "\2014"; color: var(--red); }

/* ---------- final CTA band ---------- */
.cta { background: var(--red); color: #fff; border-bottom: 6px solid var(--ink); padding-block: var(--s-3); }
.cta .wrap { display: grid; gap: var(--s-2); }
.cta h2 { font-size: var(--step-5); line-height: 1.05; max-width: 14ch; }
.cta .num { font-family: var(--f-display); font-weight: 900; font-size: var(--step-4); line-height: 1; letter-spacing: -0.03em; text-decoration: none; font-variation-settings: "wdth" 112; }
.cta .btn { background: var(--ink); color: #fff; border-color: var(--ink); }
.cta .btn:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
@media (min-width: 64rem) { .cta .wrap { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; } .cta h2 { grid-column: 1 / span 7; } .cta .flow { grid-column: 8 / span 5; } }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: var(--light); padding-block: var(--s-3) var(--s-2); }
.site-foot .wrap { display: grid; gap: var(--s-2); }
.site-foot a { text-decoration-color: #6d6a63; }
.site-foot a:hover { text-decoration-color: var(--red-bright); }
.site-foot h2 { font-size: var(--step--1); font-family: var(--f-mono); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; font-variation-settings: normal; text-box: normal; padding-bottom: var(--s-q); border-bottom: 1px solid var(--light); color: var(--red-bright); }
.site-foot ul { display: flex; flex-direction: column; gap: var(--s-q); padding-top: var(--s-h); }
.site-foot li { font-size: var(--step--1); }
.foot-cols { display: grid; gap: var(--s-2); }
@media (min-width: 48rem) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); } }
@media (min-width: 64rem) { .foot-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.foot-logo { justify-self: start; width: max-content; max-width: 100%; display: block; background: #fff; padding: var(--s-h) var(--s-1); border-top: 6px solid var(--red); line-height: 0; }
.foot-logo img { height: clamp(4rem, 3.2rem + 3vw, 6rem); width: auto; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-h) var(--s-1); border-top: 1px solid #3a3935; padding-top: var(--s-1); }
.foot-base p, .foot-base button { font-family: var(--f-mono); font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; max-width: none; }
.foot-base button { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.credit a { color: var(--red-bright); }

/* ---------- mobile action bar ---------- */
.mbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 3fr 2fr; border-top: 3px solid var(--ink); padding-bottom: env(safe-area-inset-bottom); background: var(--ink); }
.mbar a { display: flex; align-items: center; justify-content: center; min-height: var(--bar); text-decoration: none; font-weight: 600; }
.mbar .wa { background: var(--red); color: #fff; }
.mbar .call { background: var(--ink); color: var(--light); }
@media (min-width: 64rem) { .mbar { display: none; } }

/* ---------- cookie consent ---------- */
.consent { position: fixed; inset-inline: 0; bottom: calc(var(--bar) + env(safe-area-inset-bottom)); z-index: 40; background: var(--ink); color: var(--light); border-top: 6px solid var(--red-bright); }
.consent[hidden] { display: none; }
.consent .wrap { display: grid; gap: var(--s-h) var(--s-1); padding-block: var(--s-1); }
.consent p { font-size: var(--step--1); max-width: 70ch; }
.consent a { color: var(--red-bright); }
.consent .row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-h); }
.consent .btn { background: var(--light); color: var(--ink); border-color: var(--light); min-width: 10rem; }
.consent .btn::after { content: none; }
.consent .btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
@media (min-width: 64rem) { .consent { bottom: 0; } .consent .wrap { grid-template-columns: 1fr auto; align-items: center; } }

@media print { .nav, .nav-toggle, .head-cta, .cta, .foot-cols, .mbar, .ticker, .hero-bg, .consent, .topbar { display: none !important; } .mast { position: static; } body { background: #fff; padding: 0; } .hero { color: #000; background: #fff; } .hero::before { content: none; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- quote form (in the neon CTA band) ---------- */
.cta-intro { align-self: start; }
.cta .hint a { font-weight: 600; }
@media (min-width: 64rem) {
  .cta .wrap { align-items: start; }
  .cta .cta-intro { grid-column: 1 / span 5; }
  .cta .qform { grid-column: 7 / span 6; }
  .cta h2 { grid-column: auto; }
}
.qform { display: flex; flex-direction: column; gap: var(--s-1); background: var(--light); color: var(--ink); border: 6px solid var(--ink); padding: var(--s-1); }
.qgrid { display: grid; gap: var(--s-h) var(--gutter); }
@media (min-width: 40rem) { .qgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: flex; flex-direction: column; gap: var(--s-q); min-width: 0; }
.field label { font-family: var(--f-mono); font-weight: 500; font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; }
.qform input[type="text"], .qform select, .qform textarea {
  width: 100%; min-height: 2.75rem; padding: 0.55em 0.7em;
  font: inherit; font-size: max(1rem, var(--step-0)); line-height: 1.4; color: var(--ink);
  background: #fff; border: 2px solid var(--ink); border-radius: 0; appearance: none; -webkit-appearance: none;
}
.qform select {
  padding-right: 2.4em; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230d0d0c' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.8em center; background-size: 0.75em;
}
.qform textarea { resize: vertical; min-height: 7rem; }
.qform input:focus, .qform select:focus, .qform textarea:focus { outline: 3px solid var(--red); outline-offset: 0; }
.qform.tried :invalid { border-color: var(--red); box-shadow: none; outline: 2px solid var(--red); }
.qform .check { display: grid; grid-template-columns: 1.4rem 1fr; gap: var(--s-h); align-items: center; font-weight: 600; cursor: pointer; }
.qform .check input { width: 1.25rem; height: 1.25rem; accent-color: var(--ink); margin: 0; }
.qform .hint { font-size: var(--step--1); color: var(--grey); max-width: 60ch; }
.qform .btn { background: var(--red); color: #fff; border-color: var(--red); font-size: var(--step--1); }
.qform .btn:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.qstatus { font-weight: 600; }
.qstatus:empty { display: none; }
.hint { font-size: var(--step--1); }

/* ---------- motion & anchors (brand red tones, gentle and optional) ---------- */
.btn, .index-list a, .areas a, .nav a, .nav-toggle, .faq summary, .qform input, .qform select, .qform textarea {
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, outline-color 0.18s ease;
}
.index-list a:hover { background: var(--ink); color: #fff; }
.areas a:hover { background: var(--red); color: #fff; }
.areas a:hover .p { color: #fff; }
.faq details[open] summary { color: var(--red); }
/* sticky header: keep jump targets (#quote, contents links) clear of it */
[id] { scroll-margin-top: calc(var(--mast-h, 0px) + 1rem); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
.onsite { display: flex; flex-direction: column; gap: var(--s-q); max-width: 52rem; }
.onsite img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 3px solid currentColor; }

/* ---------- Bromsgrove main-area block + coverage ---------- */
.hubarea a { display: grid; gap: var(--s-q); padding: var(--s-1); border: 3px solid var(--red); text-decoration: none; background: #fff; }
.hubarea .n { font-family: var(--f-display); font-weight: 800; font-size: var(--step-5); line-height: 1; letter-spacing: -0.03em; color: var(--red); }
.hubarea .d { color: var(--grey); max-width: var(--measure); }
.hubarea a:hover { background: var(--red); }
.hubarea a:hover .n, .hubarea a:hover .d, .hubarea a:hover .label { color: #fff; }
.pills { display: flex; flex-wrap: wrap; gap: var(--s-h); }
.pills li { border: 2px solid var(--red); background: #fff; padding: 0.3em 0.8em; font-weight: 600; max-width: none; }
.near-line { font-size: var(--step--1); max-width: 60ch; }
.near-line a { color: #fff; text-decoration-color: var(--red-bright); }

/* ---------- before / after: unmistakable on every screen ---------- */
.ba figure.is-after .frame { border-color: var(--red); }
.ba figcaption b { color: var(--red); text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--f-mono); font-weight: 500; }
.band--ink .ba figcaption b { color: var(--red-bright); }
.frame .tag { font-size: var(--step-0); padding: 0.2em 0.8ch; letter-spacing: 0.08em; }
@media (max-width: 39.99rem) {
  .ba-row { grid-template-columns: 1fr; gap: var(--s-1); }
  .ba-row > figure:last-child:nth-child(odd) { grid-column: auto; }
}

/* ---------- mobile refinements ---------- */
@media (max-width: 47.99rem) {
  .hero .wrap { gap: var(--s-1); padding-block: var(--s-1) var(--s-2); }
  .hero--page .hero-foot .panel { display: none; }          /* key facts repeat on-page; keep the phone hero short */
  .site-foot li { font-size: var(--step-0); }
  .site-foot ul { gap: var(--s-h); }
  .site-foot ul a { display: inline-block; padding-block: 0.2em; }
  .crumbs ol { font-size: var(--step--2); }
  .toc ol { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .toc li { flex: 0 0 auto; }
  .toc a { display: inline-block; padding-block: 0.4em; }
  .faq summary { padding-block: var(--s-1); }
  .qform { padding: var(--s-h); border-width: 4px; }
  .index-list a { padding-block: var(--s-1); }
}

/* Guide image at the top of each advice page */
.guide-lead { padding-block: var(--s-1) 0; }
.guide-lead figure { margin: 0; max-width: 60rem; }
.guide-lead img { display: block; width: 100%; height: auto; }
