/* ==========================================================================
   Berti Termic — "Thermostat: cold to warm"
   One temperature accent (--accent, --t) drives the whole site. js/main.js
   rewrites it when the hero dial moves. Defaults below = dial at 70 (warm).
   ========================================================================== */

:root {
  --paper: #fbf8f5;
  --graphite: #22262e;
  --graphite-2: #2c313b;
  --mist: #c9ced8;
  --ice: #3aa0ff;
  --amber: #ffb020;
  --ember: #e8402a;
  --scale: linear-gradient(90deg, var(--ice), var(--amber) 50%, var(--ember));

  /* temperature state (overwritten by JS) */
  --t: 0.7;
  --needle: 36deg;
  --accent: #f68324;
  --accent-deep: #81502a;
  --accent-lite: #fab57c;
  --accent-soft: #fae5d4;

  /* surface scope (re-declared by dark bands, panels and the footer) */
  --bg: var(--paper);
  --fg: var(--graphite);
  --fg-soft: #565d6b;
  --card: #ffffff;
  --rule: #e7e0d8;
  --accent-text: var(--accent-deep);

  --fin: 10px;
  --pitch: 22px;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 40' preserveAspectRatio='xMinYMid meet'%3E%3Cpath d='M10 37c-6-5 6-11 0-17s6-11 0-17' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
  --display: "Red Hat Display", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --text: "Red Hat Text", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1.0625rem/1.6 var(--text);
  overflow-wrap: break-word;
  overflow-x: clip;
}
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.35rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 4.2vw, 3rem); }
h3 { font-size: 1.3rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; border-radius: 4px; }
.num, .counter, .dial-num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 18px; border-radius: 999px; background: var(--graphite); color: #fff; font-weight: 700; }
.skip-link:focus { top: 10px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- Header + temperature strip ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 900 1.22rem/1 var(--display); letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-arc { stroke: var(--accent); transition: stroke 0.2s; }
.brand-dot { fill: #fff; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 9px 13px; border-radius: 999px; font-weight: 700; font-size: 0.93rem; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { background: var(--accent-soft); }
.site-nav a[aria-current="page"] { background: var(--graphite); color: #fff; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 2px solid var(--graphite); border-radius: 50%; background: #fff; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--graphite); transition: transform 0.2s, background-color 0.2s; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.temp-strip { position: relative; height: 5px; background: var(--scale); }
.temp-marker {
  position: absolute; top: 50%; left: calc(11px + (100% - 22px) * var(--t));
  width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: #fff; border: 5px solid var(--graphite); box-shadow: 0 0 0 2px #fff;
  transition: left 0.25s ease-out;
}

/* ---------- Bands (sections) ---------- */
.band { position: relative; padding: clamp(64px, 9vw, 112px) 0; background: var(--bg); color: var(--fg); }
.band--dark, .site-footer {
  --bg: var(--graphite); --fg: #ffffff; --fg-soft: var(--mist);
  --card: var(--graphite-2); --rule: #454c5a; --accent-text: var(--accent-lite);
}
.band p { color: var(--fg-soft); }
.band-head { max-width: 720px; margin-bottom: clamp(30px, 5vw, 56px); }
.band-head > :last-child { margin-bottom: 0; }
.band .eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font: 800 0.8rem/1.2 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text);
}
.eyebrow::before { content: ""; flex: none; width: 24px; height: 12px; border: 4px solid currentColor; border-bottom: 0; border-radius: 24px 24px 0 0; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); max-width: 60ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 26px 8px 10px;
  border: 0; border-radius: 999px; background: var(--fg); color: var(--bg);
  font: 800 1rem/1.2 var(--display); text-decoration: none; cursor: pointer;
}
.btn::before {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 4px, var(--accent) 5px);
  transition: transform 0.25s;
}
.btn:hover::before { transform: scale(1.14); }
.btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 2px var(--fg); }
.link-mail { font-weight: 700; overflow-wrap: anywhere; }
.note, .hint { font-size: 0.88rem; }
.band .note { margin: 0; }

/* ---------- Hero + thermostat dial ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(76px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
h1 em { font-style: normal; color: var(--accent-text); transition: color 0.2s; }
.thermo { display: grid; justify-items: center; gap: 20px; min-width: 0; }
.dial { position: relative; width: min(78vw, 340px); aspect-ratio: 1; border-radius: 50%; touch-action: none; user-select: none; -webkit-user-select: none; }
.js .dial { cursor: grab; }
.js .dial.is-dragging { cursor: grabbing; }
.dial-svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 18px 26px rgba(34, 38, 46, 0.2)); }
.dial-svg path { fill: none; stroke-linecap: round; }
.dial-scale { stroke-width: 4; }
.dial-ticks { stroke: var(--graphite); stroke-width: 9; stroke-linecap: butt !important; stroke-dasharray: 1.2 7.76; opacity: 0.55; }
.dial-track { stroke: #e9e2da; stroke-width: 22; }
.dial-fill { stroke: var(--accent); stroke-width: 22; transition: stroke 0.2s; }
.dial-face { fill: var(--graphite); }
.dial-knob { fill: #fff; stroke: var(--graphite); stroke-width: 5; }
.dial-knob-dot { fill: var(--accent); }
.dial-readout { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4px; text-align: center; color: #fff; pointer-events: none; }
.dial-cap { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mist); }
.dial-word { display: block; font: 900 clamp(1.15rem, 5.4vw, 1.7rem)/1.1 var(--display); letter-spacing: -0.01em; color: var(--accent-lite); transition: color 0.2s; }
.dial-num { font: 800 1rem/1.2 var(--display); letter-spacing: 0.06em; }
.dial-num small { font-size: 0.75em; color: var(--mist); }
.thermo-control { width: min(100%, 340px); text-align: center; }
html:not(.js) .thermo-control { display: none; }
.thermo-control label { display: block; margin-bottom: 6px; font-weight: 700; }
.thermo-control .hint { display: block; font-weight: 400; color: var(--fg-soft); }
.comfort-range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 34px; margin: 0; background: transparent; cursor: pointer; }
.comfort-range::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: var(--scale); }
.comfort-range::-moz-range-track { height: 10px; border-radius: 999px; background: var(--scale); }
.comfort-range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -9px; border-radius: 50%; background: #fff; border: 6px solid var(--graphite); }
.comfort-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 6px solid var(--graphite); }
.comfort-range:focus-visible { outline: 3px solid var(--graphite); outline-offset: 4px; border-radius: 999px; }
.thermo-scale { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 0.78rem; font-weight: 700; color: var(--fg-soft); }

/* ---------- Radiator fins + heat waves ---------- */
.radiator { position: relative; padding-top: calc(var(--fin) * 2 + 6px); }
.radiator--hero { --fin: 20px; --pitch: 40px; margin-top: clamp(40px, 6vw, 72px); }
.radiator::after { content: ""; display: block; height: 6px; margin-top: 8px; border-radius: 6px; background: var(--fg); opacity: 0.16; }
.fins {
  height: 30px;
  background:
    radial-gradient(circle at calc(var(--fin) / 2) calc(var(--fin) / 2), var(--accent) calc(var(--fin) / 2 - 0.5px), transparent calc(var(--fin) / 2)) 0 0 / var(--pitch) var(--fin) round no-repeat,
    radial-gradient(circle at calc(var(--fin) / 2) calc(var(--fin) / 2), var(--accent) calc(var(--fin) / 2 - 0.5px), transparent calc(var(--fin) / 2)) 0 100% / var(--pitch) var(--fin) round no-repeat,
    linear-gradient(90deg, var(--accent) var(--fin), transparent 0) 0 calc(var(--fin) / 2) / var(--pitch) calc(100% - var(--fin)) round no-repeat;
  opacity: calc(0.3 + var(--t) * 0.7);
  filter: drop-shadow(0 0 calc(var(--t) * 22px) var(--accent));
  transition: opacity 0.25s, filter 0.25s;
}
.radiator--hero .fins { height: clamp(64px, 10vw, 112px); }
.waves {
  position: absolute; left: 0; right: 0; top: 0; height: calc(var(--fin) * 2);
  background: var(--accent); opacity: calc(var(--t) * 0.95);
  -webkit-mask-image: var(--wave); mask-image: var(--wave);
  -webkit-mask-size: var(--pitch) calc(var(--fin) * 2); mask-size: var(--pitch) calc(var(--fin) * 2);
  -webkit-mask-position: 0 0; mask-position: 0 0;
  -webkit-mask-repeat: round no-repeat; mask-repeat: round no-repeat;
  transform-origin: 50% 100%;
  animation: rise 2.8s ease-in-out infinite alternate;
  transition: opacity 0.25s;
}
[data-comfort="chilly"] .waves { animation-play-state: paused; }
@keyframes rise {
  from { transform: translateY(4px) scaleY(0.88); }
  to { transform: translateY(-4px) scaleY(1.06); }
}

/* ---------- Pipe runs between bands ---------- */
.pipe {
  --pipe-x: max(calc(var(--gutter) / 2), calc(50% - var(--wrap) / 2 - 30px));
  position: absolute; left: var(--pipe-x); right: var(--pipe-x); top: -46px; height: 92px;
  z-index: 2; pointer-events: none;
}
.pipe::before, .pipe::after { content: ""; position: absolute; width: 50%; border: 0 solid var(--accent); transition: border-color 0.2s; }
.pipe::before { left: 0; top: 0; height: 46px; border-left-width: 6px; border-bottom-width: 6px; border-bottom-left-radius: 34px; }
.pipe::after { right: 0; top: 40px; height: 52px; border-right-width: 6px; border-top-width: 6px; border-top-right-radius: 34px; }
.pipe--flip::before { left: auto; right: 0; border-left-width: 0; border-right-width: 6px; border-bottom-left-radius: 0; border-bottom-right-radius: 34px; }
.pipe--flip::after { right: auto; left: 0; border-right-width: 0; border-left-width: 6px; border-top-right-radius: 0; border-top-left-radius: 34px; }
.pipe i { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); transition: background-color 0.2s; }
.pipe i:nth-child(1) { left: -5px; top: -8px; }
.pipe i:nth-child(2) { left: 50%; top: 33px; width: 12px; height: 20px; margin-left: -6px; border-radius: 4px; }
.pipe i:nth-child(3) { right: -5px; bottom: -8px; }
.pipe--flip i:nth-child(1) { left: auto; right: -5px; }
.pipe--flip i:nth-child(3) { right: auto; left: -5px; }

/* ---------- Grids, cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.split--form { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: clamp(24px, 5vw, 64px); align-items: center; }
.sticky { position: sticky; top: 108px; }
.card {
  position: relative; min-width: 0; padding: 30px 26px 28px 46px;
  border-radius: 42px 18px 18px 42px; background: var(--card); color: var(--fg);
  box-shadow: 0 16px 30px -22px rgba(34, 38, 46, 0.35);
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 42px;
  border-left: 11px solid var(--accent); border-radius: 42px 0 0 42px;
  pointer-events: none; transition: border-color 0.2s, border-left-width 0.25s, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.card > :last-child { margin-bottom: 0; }
.band .card-num { margin-bottom: 10px; font: 900 1.05rem/1 var(--display); letter-spacing: 0.08em; color: var(--accent-text); }
.card--link h3 a { text-decoration: none; }
.card--link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 42px 18px 18px 42px; }
.card--link:hover::before { border-left-width: 17px; }
.band .card-more { font-weight: 700; color: var(--fg); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; }
.tags li { padding: 3px 12px; border: 2px solid var(--rule); border-radius: 999px; font-size: 0.82rem; font-weight: 700; }

/* ---------- Steps (pipe timeline), ring lists, FAQ ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { position: relative; min-height: 84px; padding: 4px 0 34px 84px; counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; z-index: 1;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--bg); border: 6px solid var(--accent); color: var(--fg);
  font: 900 1.1rem/1 var(--display); font-variant-numeric: tabular-nums; transition: border-color 0.2s;
}
.steps li::after { content: ""; position: absolute; left: 27px; top: 60px; bottom: 0; width: 6px; background: var(--accent); opacity: 0.4; transition: background-color 0.2s; }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; }
.ticks { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 36px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.28em; width: 20px; height: 20px; border: 6px solid var(--accent); border-radius: 50%; transition: border-color 0.2s; }
.faq { border-top: 2px solid var(--rule); }
.faq details { border-bottom: 2px solid var(--rule); }
.faq summary { position: relative; padding: 18px 48px 18px 0; font: 800 1.08rem/1.3 var(--display); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; display: grid; place-items: center;
  width: 32px; height: 32px; margin-top: -16px; border: 2px solid currentColor; border-radius: 50%;
  font: 800 1.1rem/1 var(--display);
}
.faq details[open] summary::after { content: "\2013"; background: var(--accent); border-color: var(--accent); color: var(--graphite); }
.faq details p { margin: 0; padding: 0 48px 20px 0; }

/* ---------- Gauges ---------- */
.gauge-box { width: 100%; max-width: 320px; justify-self: end; }
.gauge { width: 100%; height: auto; overflow: visible; }
.gauge path { fill: none; }
.gauge-arc { stroke-width: 16; stroke-linecap: round; }
.gauge-ticks { stroke: var(--fg); stroke-width: 8; stroke-dasharray: 1 8.9; opacity: 0.5; }
.gauge-needle { transform-origin: 100px 100px; transform: rotate(var(--needle)); transition: transform 0.45s cubic-bezier(0.3, 1.4, 0.5, 1); }
.gauge-needle path { stroke: var(--fg); stroke-width: 6; stroke-linecap: round; }
.gauge-hub { fill: var(--accent); stroke: var(--fg); stroke-width: 5; transition: fill 0.2s; }
.band .gauge-cap { margin: 12px 0 0; text-align: center; font: 800 0.8rem/1.3 var(--display); letter-spacing: 0.12em; text-transform: uppercase; }
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 8vw, 104px); }
.page-hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.8rem); }
.page-hero .duo { align-items: end; }

/* ---------- Contact ---------- */
.panel {
  --bg: #ffffff; --fg: var(--graphite); --fg-soft: #565d6b; --rule: #e7e0d8; --accent-text: var(--accent-deep);
  position: relative; min-width: 0; padding: clamp(22px, 4vw, 44px); border-radius: 36px; background: #fff; color: var(--fg);
}
.form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 2px solid #8a8279; border-radius: 16px;
  background: var(--paper); color: var(--graphite); font: inherit;
}
.field textarea { min-height: 180px; border-radius: 22px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--graphite); outline-offset: 2px; border-color: var(--graphite); border-radius: 16px; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.band .field-error { margin: 0; font-size: 0.9rem; font-weight: 700; color: #b3261e; }
.field-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
.band .field-foot p { margin: 0; font-size: 0.88rem; }
.band .form-status { margin: 0; font-weight: 700; color: var(--fg); }
.form-status:empty { display: none; }
.details { list-style: none; margin: 0 0 30px; padding: 0; border-top: 2px solid var(--rule); }
.details li { padding: 14px 0; border-bottom: 2px solid var(--rule); overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { padding: 44px 0 28px; background: #1a1d23; color: var(--fg); }
.site-footer .radiator { margin-bottom: 44px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 1.1fr); gap: 32px; }
.footer-grid p { color: var(--fg-soft); max-width: 38ch; }
.footer-grid .footer-brand { margin-bottom: 10px; font: 900 1.5rem/1.1 var(--display); letter-spacing: -0.02em; color: #fff; }
.footer-grid .footer-title { margin-bottom: 14px; font: 800 0.78rem/1.2 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }
.footer-list { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; overflow-wrap: anywhere; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 40px; padding-top: 20px; border-top: 2px solid var(--rule); font-size: 0.9rem; color: var(--fg-soft); }
.footer-bottom p { margin: 0; }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js [data-reveal] { transform: translateY(28px); transition: transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js [data-reveal].is-visible { transform: none; }
.js .card[data-reveal]::before { transform: scaleY(0.2); }
.js .card[data-reveal].is-visible::before { transform: none; }
.js .grid > [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.js .grid > [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.js .grid > [data-reveal]:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split, .split--form, .duo { grid-template-columns: minmax(0, 1fr); }
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: static; }
  .gauge-box { max-width: 240px; justify-self: start; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 840px) {
  .header-bar { flex-wrap: wrap; padding: 8px 0; }
  .site-nav ul { flex-wrap: wrap; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 12px var(--gutter) 20px; background: #fff; box-shadow: 0 22px 30px -12px rgba(34, 38, 46, 0.3); }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; flex-wrap: nowrap; gap: 6px; }
  .js .site-nav a { padding: 13px 18px; font-size: 1.02rem; white-space: normal; }
}
@media (max-width: 640px) {
  .grid--2, .field-row, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .radiator--hero { --fin: 14px; --pitch: 28px; }
  .card { padding: 26px 20px 24px 40px; }
  .steps li { padding-left: 70px; }
  .steps li::before { width: 52px; height: 52px; border-width: 5px; font-size: 1rem; }
  .steps li::after { left: 23px; top: 52px; }
  .btn { padding-right: 20px; }
  .faq summary, .faq details p { padding-right: 42px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .card[data-reveal]::before { transform: none; }
}
