/* Layout concept: an engineer's inspection document. Schedules and ruled tables on stainless grey; red only for signal. */
:root {
  --bg: #F3F5F6; --paper: #FCFDFD; --ink: #15191D; --steel: #56616B; --line: #D5DBDF; --red: #C8102E; --red-dark: #9E0C24;
  --c1: #B00020; --c2: #C2410C; --c3: #92610A; --fi: #1D6FA5; --amber-bg: #FFF1C9; --amber-line: #B7791F;
  --display: "Archivo", "Arial Black", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
a { color: inherit; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--fi); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; margin: 0; }
h1, .display { font-family: var(--display); font-stretch: 125%; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-family: var(--display); font-stretch: 125%; font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.75rem); }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.stack { display: grid; gap: 16px; }
.prose { max-width: 68ch; display: grid; gap: 14px; }
.prose h2 { margin-top: 18px; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.eyebrow { font: 500 .75rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.lede { font-size: 1.2rem; color: var(--steel); max-width: 56ch; }
.band { padding-block: 56px; border-top: 1px solid var(--line); }
.band-head { display: grid; gap: 8px; margin-bottom: 24px; max-width: 70ch; }
.mock-bar { background: var(--amber-bg); border-bottom: 1px solid var(--amber-line); font: 500 .78rem/1.4 var(--mono); text-align: center; padding: 6px 16px; }
.site-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; justify-content: space-between; padding-block: 10px; }
.logo { display: block; line-height: 0; }
.logo img { height: 62px; width: auto; }
nav.main { display: flex; flex-wrap: wrap; gap: 4px 20px; font-weight: 600; font-size: 1rem; }
nav.main a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
nav.main a[aria-current] { color: var(--red); border-color: var(--red); }
.crumbs { font: 400 .75rem/1.5 var(--mono); color: var(--steel); padding-top: 24px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.page-top { display: grid; gap: 14px; padding-block: 18px 30px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 44px; }
.hero-copy { display: grid; gap: 18px; min-width: 0; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: .95rem; text-decoration: none; padding: 13px 20px; border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn.primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.board { background: var(--paper); border: 1px solid var(--line); padding: 12px; min-width: 0; }
.board-stage { position: relative; aspect-ratio: 4 / 3; background: #1d0a3c; max-width: 100%; }
.board-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.board label { display: block; font: 500 .72rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); margin-top: 10px; }
.board input[type=range] { width: 100%; accent-color: var(--red); margin: 4px 0 0; }
.board small { color: var(--steel); }
.answer { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--ink); padding: 16px 20px 18px; display: grid; gap: 6px; max-width: 78ch; }
.answer p { font-size: 1.14rem; line-height: 1.55; }
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.split > * { min-width: 0; }
.scroll { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: .98rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
tr:last-child > * { border-bottom: 0; }
thead th { font: 500 .72rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); background: var(--bg); white-space: nowrap; }
tbody th { font-weight: 600; }
.mono { font-family: var(--mono); font-size: .86rem; font-variant-numeric: tabular-nums; }
.schedule a { font-weight: 600; text-decoration: none; }
.schedule a:hover { text-decoration: underline; }
.way { font: 600 .9rem var(--mono); color: var(--red); width: 56px; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); background: var(--paper); }
.cols > * { padding: 18px 20px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.cols > * + * { border-left: 1px solid var(--line); }
.cols.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proofbar { padding-block: 0 44px; }
.temp { font: 500 .75rem var(--mono); color: var(--steel); }
.qlist { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); background: var(--paper); }
.qlist li + li { border-top: 1px solid var(--line); }
.qlist a { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 12px 16px; font-weight: 600; text-decoration: none; }
.qlist span { font: 400 .75rem/1.9 var(--mono); color: var(--steel); }
ol.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));  border: 1px solid var(--line); background: var(--paper); }
ol.steps li { counter-increment: s; padding: 16px 18px; display: grid; gap: 6px; align-content: start; min-width: 0; }
ol.steps li + li { border-left: 1px solid var(--line); }
ol.steps li::before { content: "Step " counter(s); font: 500 .72rem var(--mono); color: var(--red); }
.ticklist { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 78ch; margin: 0; padding: 0; list-style: none; }
.codes li { display: flex; gap: 12px; align-items: center; background: var(--paper); border: 1px solid var(--line); padding: 10px 12px; }
.chip { font: 600 .85rem var(--mono); color: #fff; padding: 3px 8px; }
.chip.c1 { background: var(--c1); } .chip.c2 { background: var(--c2); } .chip.c3 { background: var(--c3); } .chip.fi { background: var(--fi); }
mark.ph { background: var(--amber-bg); color: var(--ink); border: 1px dashed var(--amber-line); padding: 0 6px; font: 500 .82em/1.5 var(--mono); }
details { background: var(--paper); border: 1px solid var(--line); padding: 12px 16px; }
details + details { border-top: 0; }
.faq { display: grid; gap: 0; max-width: 78ch; }
.faq h3 { padding: 14px 16px 4px; }
.faq p { padding: 0 16px 14px; }
.faq > div { background: var(--paper); border: 1px solid var(--line); }
.faq > div + div { border-top: 0; }
.sources { font-size: .95rem; padding-left: 20px; margin: 0; display: grid; gap: 4px; }
.meta { font: 400 .78rem/1.6 var(--mono); color: var(--steel); }
dl.terms { margin: 0; background: var(--paper); border: 1px solid var(--line); }
dl.terms > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 12px 16px; scroll-margin-top: 12px; }
dl.terms > div + div { border-top: 1px solid var(--line); }
dl.terms dt { font-weight: 700; } dl.terms dd { margin: 0; }
form.contact { display: grid; gap: 12px; background: var(--paper); border: 1px solid var(--line); padding: 20px; }
form.contact label { display: grid; gap: 4px; font-weight: 600; font-size: .95rem; }
input, textarea, select { font: inherit; color: inherit; background: #fff; border: 1px solid var(--steel); padding: 9px 11px; width: 100%; border-radius: 0; }
.status { font: 500 .85rem var(--mono); min-height: 1.4em; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.seg legend { font: 500 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); padding: 0; margin-bottom: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; }
.seg span { display: block; padding: 9px 14px; border: 1px solid var(--steel); background: var(--paper); font-weight: 600; }
.seg input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--fi); outline-offset: 2px; }
.tool-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 20px; align-items: end; margin-bottom: 16px; }
.tool-controls label { font-weight: 600; display: grid; gap: 4px; }
.tool-controls small { font-weight: 400; color: var(--steel); }
.due { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--ink); padding: 12px 16px; margin-bottom: 16px; display: grid; gap: 2px; }
.due strong { font-family: var(--display); font-stretch: 125%; font-size: 1.5rem; }
.due.overdue { border-top-color: var(--c1); } .due.overdue strong { color: var(--c1); }
.timeline { min-width: 720px; padding: 12px 16px; }
.t-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 40px; border-top: 1px solid var(--line); }
.t-row.axis { border-top: 0; min-height: 26px; }
.t-name { font-weight: 600; font-size: .92rem; line-height: 1.25; }
.t-track { position: relative; height: 24px; background: var(--bg); }
.axis .t-track { background: none; }
.t-tick { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--red); }
.t-tick.major { width: 4px; background: var(--ink); }
.t-yr { position: absolute; top: 3px; font: 500 .72rem var(--mono); color: var(--steel); padding-left: 3px; border-left: 1px solid var(--line); }
.t-yr.first { padding-left: 0; border-left: 0; }
.t-band { position: absolute; inset: 5px 0; background: var(--ink); color: #fff; font: 500 .7rem/14px var(--mono); padding-left: 8px; }
.t-note { position: absolute; left: 8px; top: 4px; font: 500 .72rem var(--mono); color: var(--steel); }
.site-foot { background: var(--ink); color: #DDE3E7; margin-top: 56px; padding-block: 36px; font-size: .95rem; }
.site-foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-foot a { color: #fff; }
.site-foot h2 { font: 500 .72rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #AEB8BF; margin-bottom: 8px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.sev { font: 600 .75rem var(--mono); white-space: nowrap; }
.sev.crit { color: var(--c1); } .sev.high { color: var(--c2); } .sev.med { color: var(--c3); } .sev.pass { color: #1F7A4A; }
@media (max-width: 860px) {
  .hero, .split, .tool-controls { grid-template-columns: minmax(0, 1fr); }
  .cols, .cols.two, .cols.four { grid-template-columns: minmax(0, 1fr); }
  .cols > * + * { border-left: 0; border-top: 1px solid var(--line); }
  ol.steps { grid-template-columns: minmax(0, 1fr); }
  ol.steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .site-foot .wrap { grid-template-columns: minmax(0, 1fr); }
  dl.terms > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .codes { grid-template-columns: minmax(0, 1fr); }
  .band { padding-block: 40px; }
  .logo img { height: 48px; }
  nav.main { gap: 0 14px; font-size: .92rem; }
  nav.main a { padding: 3px 0; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
ol.steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { ol.steps.three { grid-template-columns: minmax(0, 1fr); } }

/* ===== Flash layer: dark thermal hero, live switchboard, clickable plant map ===== */
:root { --night: #0D1015; --night-2: #161B22; --night-line: #2C343D; --mist: #C4CDD4; --hot: linear-gradient(90deg, #5B1FA8, #C8102E 42%, #F2682A 72%, #FFC93C); --ok: #3DDC84; }
html { scroll-padding-top: 90px; }
body { overflow-x: clip; }
main { position: relative; z-index: 0; overflow-x: clip; }
.site-head { position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.site-head .wrap { flex-wrap: nowrap; }
.logo img { height: 52px; }
nav.main { align-items: center; flex-wrap: nowrap; gap: 4px 18px; font-size: .97rem; margin-left: auto; }
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: -16px; width: 300px; background: var(--night); padding: 8px; display: none; z-index: 60; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.sub::before { content: ""; display: block; height: 3px; background: var(--hot); margin: -8px -8px 8px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: grid; }
.sub a { color: #fff; border: 0; padding: 7px 10px; font-weight: 600; font-size: .92rem; }
.sub a:hover { background: var(--red); color: #fff; }
.menu-btn { display: none; margin-left: auto; font: 600 .95rem var(--body); background: var(--ink); color: #fff; border: 0; padding: 9px 14px; cursor: pointer; }
.btn.call { background: var(--red); border-color: var(--red); color: #fff; white-space: nowrap; padding: 10px 14px; font-size: .85rem; display: inline-flex; align-items: center; gap: 8px; }
.btn.call:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.m-bar { display: none; }

.stage-dark { background: var(--night); color: #fff; position: relative; overflow: hidden; }
.stage-dark::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--hot); }
.mega { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 44px; align-items: center; padding-block: 52px 44px; }
.mega h1 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.02; color: #fff; }
.hotword { background: var(--hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mega .eyebrow { color: #FFC93C; }
.mega .lede { color: var(--mist); font-size: 1.28rem; }
.mega .hero-copy { gap: 20px; }
.mega .btn:not(.primary) { color: #fff; border-color: #fff; }
.mega .btn:not(.primary):hover { background: #fff; color: var(--ink); }
.torch { position: relative; aspect-ratio: 4 / 3; max-width: 100%; background: #1B2127; cursor: crosshair; touch-action: pan-y; box-shadow: 0 0 0 1px var(--night-line), 0 0 90px rgba(200,16,46,.35); }
.torch canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#board-thermal { --mx: 52%; --my: 37%; --r: 150px; -webkit-mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 62%, transparent 100%); mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 62%, transparent 100%); }
.torch.full #board-thermal { -webkit-mask-image: none; mask-image: none; }
.torch-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-top: 10px; color: var(--mist); font-size: .9rem; }
.torch-bar button { font: 500 .78rem var(--mono); color: #fff; background: transparent; border: 1px solid #fff; padding: 6px 10px; cursor: pointer; }
.torch-bar button[aria-pressed=true] { background: #fff; color: var(--ink); }
.intents { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--night-line); border: 1px solid var(--night-line); margin-bottom: 44px; }
.intent { background: var(--night-2); color: #fff; text-decoration: none; padding: 16px 18px; display: grid; gap: 4px; align-content: start; position: relative; transition: background .18s; min-width: 0; }
.intent small { color: var(--mist); font-size: .92rem; line-height: 1.35; }
.intent strong { font-family: var(--display); font-stretch: 112%; font-size: 1.04rem; line-height: 1.2; }
.intent .eyebrow { color: #FFC93C; }
.intent:hover, .intent:focus-visible { background: var(--red); color: #fff; }
.intent:hover small, .intent:hover .eyebrow { color: #fff; }

.ticker { background: var(--red); color: #fff; overflow: hidden; white-space: nowrap; font: 700 .95rem var(--display); font-stretch: 112%; }
.ticker-track { display: inline-flex; padding-block: 11px; }
.ticker-track span { padding-right: 34px; }
.ticker-track span::after { content: "/"; margin-left: 34px; opacity: .55; }
.proofbar { padding-block: 32px; }

.plant { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.plant > * { min-width: 0; }
.plant-map { background: var(--night); padding: 10px; }
.plant-map svg { display: block; width: 100%; height: auto; }
.zone { cursor: pointer; }
.zone rect { stroke: #0D1015; stroke-width: 3; transition: filter .18s, stroke .18s; }
.zone text { font: 700 19px var(--body); fill: #fff; pointer-events: none; }
.zone text.dk { fill: #0D1015; }
.zone:hover rect { filter: brightness(1.18); }
.zone.sel rect { stroke: #FFC93C; stroke-width: 6; }
.feed { fill: none; stroke: #FFC93C; stroke-width: 3; stroke-dasharray: 10 12; opacity: .85; pointer-events: none; }
.zone-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.zone-chips button { font: 600 .9rem var(--body); padding: 7px 11px; border: 1px solid var(--steel); background: var(--paper); color: var(--ink); cursor: pointer; }
.zone-chips button[aria-pressed=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.zone-panel { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--red); padding: 18px 20px; display: grid; gap: 10px; }
.zone-panel + .zone-panel { margin-top: 10px; }
.js .zone-panel + .zone-panel { margin-top: 0; }
.zone-panel h3 { font-family: var(--display); font-stretch: 125%; font-size: 1.3rem; }
.zone-links { display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
.zone-links a { display: flex; justify-content: space-between; gap: 10px; text-decoration: none; font-weight: 700; padding: 9px 12px; background: var(--bg); }
.zone-links a::after { content: "→"; }
.zone-links a:hover { background: var(--red); color: #fff; }

.board-sec { background: var(--night); color: #fff; }
.board-sec .band-head p { color: var(--mist); }
.band.board-sec { border-top: 0; }
.breakers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.breaker { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 14px; align-content: start; padding: 16px; background: var(--night-2); border: 1px solid var(--night-line); color: #fff; text-decoration: none; transition: border-color .18s, background .18s, transform .18s; min-width: 0; }
.lever { grid-row: span 3; width: 30px; height: 58px; background: #0A0C10; border: 1px solid var(--night-line); position: relative; }
.lever::after { content: ""; position: absolute; left: 4px; right: 4px; height: 24px; bottom: 4px; background: #7C8791; transition: bottom .22s cubic-bezier(.3,1.6,.5,1), background .2s, box-shadow .2s; }
.breaker.on .lever::after, .breaker:hover .lever::after, .breaker:focus-visible .lever::after { bottom: 28px; background: var(--ok); box-shadow: 0 0 14px var(--ok); }
.breaker .way { width: auto; color: #FFC93C; font-size: .75rem; }
.breaker strong { font-size: 1.1rem; line-height: 1.22; }
.breaker small { color: var(--mist); font: 400 .78rem/1.4 var(--mono); }
.breaker:hover, .breaker:focus-visible { border-color: var(--red); background: #211018; color: #fff; transform: translateY(-3px); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); background: var(--paper); }
.stat { padding: 20px; min-width: 0; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font: 800 clamp(2.4rem, 5vw, 3.8rem)/1 var(--display); font-stretch: 125%; background: var(--hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--steel); }

/* Inner page heroes share the dark stage */
.crumbs, .page-top { position: relative; color: #fff; }
.crumbs::before, .page-top::before { content: ""; position: absolute; inset: 0 -100vw; background: var(--night); z-index: -1; }
.crumbs { color: var(--mist); }
.crumbs a { color: #fff; }
.page-top { padding-block: 18px 40px; }
.page-top::after { content: ""; position: absolute; left: -100vw; right: -100vw; bottom: 0; height: 4px; background: var(--hot); }
.page-top .lede { color: var(--mist); }
.page-top .eyebrow { color: #FFC93C; }
.page-top .answer, .page-top .scroll, .page-top .codes { color: var(--ink); }
.page-top .answer .eyebrow { color: var(--steel); }
main > .page-top + *, main > .wrap.page-top + .wrap { margin-top: 32px; }
.btn:hover { transform: translateY(-1px); }
.js .reveal:not(.in) { transform: translateY(20px); }
.reveal { transition: transform .5s cubic-bezier(.2,.7,.2,1); }

/* Quote flow */
form.wizard { gap: 16px; }
.w-progress { height: 6px; background: var(--line); }
.w-progress span { display: block; height: 100%; width: 33%; background: var(--hot); transition: width .25s; }
.w-step { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.w-step legend { font-family: var(--display); font-stretch: 125%; font-weight: 700; font-size: 1.3rem; padding: 0; margin-bottom: 10px; }
.w-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.w-cards label { display: block; cursor: pointer; }
.w-cards input { position: absolute; opacity: 0; width: 1px; }
.w-cards span { display: block; height: 100%; border: 1px solid var(--steel); padding: 12px; font-weight: 700; background: #fff; }
.w-cards input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.w-cards input:focus-visible + span { outline: 3px solid var(--fi); outline-offset: 2px; }
.w-nav { display: flex; justify-content: space-between; gap: 10px; }
.w-done { background: var(--night); color: #fff; padding: 20px; display: grid; gap: 8px; }
.w-done mark.ph { color: var(--ink); }

@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .site-head .wrap { flex-wrap: wrap; position: relative; }
  .site-head .btn.call { display: none; }
  nav.main { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; flex-wrap: nowrap; padding-block: 6px; margin: 0; }
  nav.main.open { display: flex; }
  nav.main a { padding: 9px 0; border-bottom: 1px solid var(--line); }
  .sub { display: none !important; }
}
@media (max-width: 860px) {
  .mega { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-block: 30px 28px; }
  .intents { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 28px; }
  .plant { grid-template-columns: minmax(0, 1fr); }
  .breakers { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  #board-thermal { --r: 100px; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
  .m-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--night); }
  .m-bar a { text-align: center; font: 700 .9rem var(--display); color: #fff; text-decoration: none; padding: 17px 8px; }
  .m-bar a:first-child { background: var(--red); }
  .w-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 460px) { .intents { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: tick 38s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
  .feed { animation: flow 1.1s linear infinite; }
  .dot { animation: pulse 1.5s ease-out infinite; }
  .hotword, .stat b { background-size: 200% 100%; animation: heat 7s ease-in-out infinite alternate; }
  .zone[data-zone=plant] rect { animation: glow 2.2s ease-in-out infinite; }
}
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes flow { to { stroke-dashoffset: -22; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.75); } 100% { box-shadow: 0 0 0 10px rgba(255,255,255,0); } }
@keyframes heat { to { background-position: 100% 0; } }
@keyframes glow { 50% { filter: brightness(1.3); } }
@media (prefers-reduced-motion: reduce) { .reveal, .breaker, .lever::after { transition: none; } .js .reveal:not(.in) { transform: none; } }

/* Corrections */
[hidden] { display: none !important; }
.mega h1 { font-size: clamp(2.3rem, 4.5vw, 3.9rem); }
.mega { padding-block: 40px 32px; }
.hotword { background: linear-gradient(90deg, #FF4B4B, #F2682A 45%, #FFC93C 80%, #FF4B4B); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-top + .band, .page-top + section.band { border-top: 0; }
#board-thermal { --r: 170px; }
@media (max-width: 860px) { #board-thermal { --r: 105px; } }
.feed { stroke-width: 4; opacity: 1; }
@media (max-width: 1080px) { .has-sub > a { display: block; } }
@media (min-width: 861px) { .cols:not(.two):not(.four) > :nth-child(n+4) { border-top: 1px solid var(--line); } .cols:not(.two):not(.four) > :nth-child(3n+1) { border-left: 0; } }

/* About hero: copy beside a switchgear-style rating plate, with a stat strip under it */
.about-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 18px; }
.about-copy { display: grid; gap: 18px; }
.about-copy h1 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-stretch: 112%; letter-spacing: .02em; color: var(--mist); }
.about-claim { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.04; color: #fff; text-wrap: balance; }
.about-copy .btn:not(.primary) { color: #fff; border-color: #fff; }
.about-copy .btn:not(.primary):hover { background: #fff; color: var(--ink); }
.plate { margin: 0; position: relative; color: var(--ink); padding: 22px 24px 18px; border-radius: 6px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, rgba(0,0,0,.03) 1px 3px), linear-gradient(160deg, #E4E8EB, #B9C1C7 55%, #D3D8DC);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 0 rgba(0,0,0,.18), 0 24px 60px rgba(0,0,0,.45), 0 0 80px rgba(200,16,46,.22); }
.plate::before, .plate::after { content: ""; position: absolute; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #8A949C 60%, #5E676F); box-shadow: 0 1px 1px rgba(0,0,0,.4); }
.plate::before { left: 10px; } .plate::after { right: 10px; }
.plate-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 14px; margin: 6px 0 14px; background: var(--red); color: #fff; }
.plate-brand { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 1.6rem; letter-spacing: .04em; line-height: 1; }
.plate-type { font: 600 .72rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.plate-rows { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.plate-rows > div { padding: 10px 4px 9px; border-bottom: 1px solid rgba(21,25,29,.35); min-width: 0; }
.plate-rows > div:nth-child(odd) { padding-right: 14px; border-right: 1px solid rgba(21,25,29,.35); }
.plate-rows > div:nth-child(even) { padding-left: 14px; }
.plate-rows dt { font: 500 .66rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #3E474F; }
.plate-rows dd { margin: 2px 0 0; font: 600 1.05rem/1.3 var(--mono); overflow-wrap: anywhere; }
.plate figcaption { margin-top: 12px; font-size: .85rem; color: #2F373E; }
.plate figcaption a { font-weight: 600; }
.about-strip { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--night-line); border: 1px solid var(--night-line); }
.about-strip li { background: var(--night-2); padding: 18px 20px; display: grid; gap: 4px; align-content: start; min-width: 0; }
.about-strip b { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; background: var(--hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-strip span { color: var(--mist); font-size: .95rem; line-height: 1.35; }
@media (max-width: 860px) {
  .about-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .about-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
}
@media (max-width: 380px) { .plate-rows { grid-template-columns: minmax(0, 1fr); } .plate-rows > div:nth-child(n) { padding: 10px 4px 9px; border-right: 0; } }
.plate-rows > div.plate-wide { grid-column: 1 / -1; padding-left: 4px; border-right: 0; }
.plate-rows .plate-wide dd { font-size: 1.3rem; }
.plate-rows .plate-wide a { text-decoration: none; }
.about-strip span a { color: #fff; }
.about-strip b { background: linear-gradient(90deg, #FF4B4B, #F2682A 55%, #FFC93C); -webkit-background-clip: text; background-clip: text; }

/* Plain-reading About page */
.easy { display: grid; gap: 14px; max-width: 62ch; }
.easy p { font-size: 1.15rem; line-height: 1.65; }
.easy-cols h3 { font-family: var(--display); font-stretch: 112%; font-size: 1.3rem; }
.easy-cols p { font-size: 1.08rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border: 1px solid var(--line); background: var(--paper); }
.ticks li { position: relative; padding: 14px 18px 14px 48px; font-size: 1.08rem; border-bottom: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 16px; height: 9px; margin-top: -7px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
.page-top .btn:not(.primary) { color: #fff; border-color: #fff; }
.page-top .btn:not(.primary):hover { background: #fff; color: var(--ink); }
.band + .proofbar { padding-top: 0; }

/* Client logo conveyor */
.proofbar { padding-block: 0; }
.clients { padding-block: 0 44px; }
.clients-panel { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: stretch; border: 1px solid var(--line); border-top: 0; background: var(--paper); }
.clients-label { padding: 18px 20px; display: grid; align-content: center; border-right: 1px solid var(--line); }
.clients-label h2.eyebrow { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.logo-belt { overflow: hidden; min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logo-track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; }
.logo-track li { flex: none; width: 150px; height: 84px; display: flex; align-items: center; justify-content: center; }
.logo-track img { height: var(--h, 32px); width: auto; max-width: 108px; object-fit: contain; filter: grayscale(1) contrast(1.15); opacity: .62; transition: filter .25s ease, opacity .25s ease; }
.logo-track li:hover img { filter: none; opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .logo-track { animation: belt 32s linear infinite; }
  .logo-belt:hover .logo-track { animation-play-state: paused; }
}
@keyframes belt { to { transform: translateX(calc(-100% / 6)); } }
@media (prefers-reduced-motion: reduce) { .logo-track { flex-wrap: wrap; width: auto; justify-content: center; } .logo-track li[aria-hidden] { display: none; } .logo-track img { transition: none; } }
@media (max-width: 860px) { .clients-panel { grid-template-columns: minmax(0, 1fr); } .clients-label { border-right: 0; border-bottom: 1px solid var(--line); padding-block: 12px; } .logo-track li { width: 128px; height: 76px; } }
.form-error { color: var(--red-dark); font-weight: 600; margin: 0 0 8px; }

/* Service photos (from the current red7is.com) */
.page-top.has-photo { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); align-items: center; column-gap: 40px; }
.page-top.has-photo .top-copy { display: grid; gap: 14px; min-width: 0; }
.top-photo { margin: 0; justify-self: end; width: 100%; }
.top-photo img { display: block; width: 100%; max-width: 380px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
@media (max-width: 860px) { .page-top.has-photo { grid-template-columns: minmax(0, 1fr); } .top-photo { justify-self: start; } .top-photo img { max-width: 100%; } }

/* ---- Competitor-review changes (18 Nov) ---- */
/* Header phone */
.head-tel { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font: 700 .95rem var(--display); font-stretch: 105%; color: var(--ink); text-decoration: none; }
.head-tel svg { color: var(--red); }
.head-tel:hover { color: var(--red); }
.nav-tel { display: none; }
@media (max-width: 1240px) { .head-tel span { display: none; } .head-tel { padding: 8px; border: 1px solid var(--line); } }
@media (max-width: 1080px) {
  .head-tel { order: 2; margin-left: auto; } .menu-btn { order: 3; margin-left: 8px; }
  nav.main { order: 4; }
  .has-sub.res .sub, .has-sub.res:hover .sub { display: grid !important; position: static; width: auto; background: none; box-shadow: none; padding: 0 0 0 14px; }
  .has-sub.res .sub::before { display: none; }
  .has-sub.res .sub a { color: var(--ink); font-weight: 500; }
  .has-sub.res .sub a:hover { background: none; color: var(--red); }
  .nav-tel { display: block; color: var(--red); font-weight: 700; }
}
/* Stats bar under the hero */
.statbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.statbar .stats { border: 0; background: none; }
.statbar .stat { padding-block: 18px; }
/* Services grid */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc-card { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; min-width: 0; }
.svc-card:hover { border-color: var(--red); box-shadow: 0 10px 26px rgba(21,25,29,.10); }
.svc-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night, #101418); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.svc-card:hover .svc-img img { transform: scale(1.04); }
.svc-ph { display: grid; place-items: center; height: 100%; color: rgba(255,255,255,.55); font-size: 1.05rem; letter-spacing: .14em; background: linear-gradient(135deg, #15191D, #2a3036); }
.svc-body { display: grid; gap: 6px; padding: 16px 18px 18px; align-content: start; }
.svc-body strong { font: 700 1.08rem/1.25 var(--display); font-stretch: 105%; }
.svc-body small { color: var(--steel); font-size: .95rem; line-height: 1.45; }
.svc-more { margin-top: 4px; font: 600 .88rem var(--body); color: var(--red); }
.svc-all { margin-top: 20px; }
/* Sector cards */
.sector-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); background: var(--paper); }
.sector-card { display: grid; gap: 6px; align-content: start; padding: 20px 18px; text-decoration: none; color: var(--ink); min-width: 0; border-top: 3px solid transparent; transition: border-color .2s ease, background .2s ease; }
.sector-card + .sector-card { border-left: 1px solid var(--line); }
.sector-card:hover { border-top-color: var(--red); background: #fff; }
.sector-card strong { font: 700 1.05rem/1.25 var(--display); font-stretch: 105%; }
.sector-card small { color: var(--steel); font-size: .93rem; line-height: 1.45; }
@media (max-width: 1080px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sector-card + .sector-card { border-left: 0; } .sector-card { border-bottom: 1px solid var(--line); } .sector-card:nth-child(even) { border-left: 1px solid var(--line); } }
@media (max-width: 560px) { .svc-grid, .sector-grid { grid-template-columns: minmax(0, 1fr); } .sector-card:nth-child(even) { border-left: 0; } }
@media (prefers-reduced-motion: reduce) { .svc-card, .svc-img img, .sector-card { transition: none; } .svc-card:hover .svc-img img { transform: none; } }
/* Shorter hero headline (competitor review) */
.mega h1 { font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.06; text-wrap: balance; }
.mega .lede strong { color: #fff; }

/* About: director note */
.director { margin: 0; max-width: 78ch; display: grid; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--red); padding: 26px 30px; }
.director blockquote { margin: 0; display: grid; gap: 12px; font-size: 1.12rem; line-height: 1.6; }
.director blockquote p { margin: 0; }
.director blockquote p:first-child::before { content: "\201C"; } .director blockquote p:last-child::after { content: "\201D"; }
.director figcaption { color: var(--steel); }
.director figcaption strong { color: var(--ink); }
.stat b.stat-word { font-size: clamp(1.6rem, 3vw, 2.4rem); }
@media (max-width: 1080px) { .cols.four.easy-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cols.four.easy-cols { grid-template-columns: minmax(0, 1fr); } .director { padding: 20px; } }
@media (max-width: 1080px) and (min-width: 861px) { .cols.four.easy-cols > :nth-child(odd) { border-left: 0; } .cols.four.easy-cols > :nth-child(n+3) { border-top: 1px solid var(--line); } }

/* About: ethos, principles, standards */
.ethos { font-size: 1.12rem; }
.ethos strong { color: var(--red-dark); }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.principles h3 { margin: 0 0 12px; }
.plist { margin: 0; padding: 0; list-style: none; counter-reset: pr; display: grid; gap: 0; background: var(--paper); border: 1px solid var(--line); }
.plist li { counter-increment: pr; position: relative; display: block; padding: 13px 16px 13px 54px; line-height: 1.5; }
.plist li + li { border-top: 1px solid var(--line); }
.plist li::before { content: counter(pr, decimal-leading-zero); position: absolute; left: 16px; top: 13px; font: 600 .85rem/1.75 var(--mono); color: var(--red); }
.ticks.std li { line-height: 1.5; }
@media (max-width: 860px) { .principles { grid-template-columns: minmax(0, 1fr); } }

/* Centred stats (About) */
.stats.centred .stat { text-align: center; justify-items: center; align-content: center; }
.stat b.stat-long { font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.12; text-wrap: balance; }
/* Larger header logo */
.logo img { height: 80px; }
.site-head .wrap { padding-block: 8px; }
@media (max-width: 1080px) { .logo img { height: 64px; } }
@media (max-width: 560px) { .logo img { height: 58px; } }
html { scroll-padding-top: 110px; }
/* Logo: bigger so the wording reads */
.logo img { height: 112px; }
.site-head .wrap { padding-block: 6px; }
@media (max-width: 1080px) { .logo img { height: 84px; } }
@media (max-width: 560px) { .logo img { height: 72px; } }
html { scroll-padding-top: 135px; }

/* Hero scope list */
.scope { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.14); max-width: 62ch; }
.scope li { display: grid; grid-template-columns: 11.5em minmax(0, 1fr); gap: 14px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: .98rem; line-height: 1.4; }
.scope strong { color: #fff; font-weight: 700; }
.scope span { color: var(--mist, #C9D1D8); }
@media (max-width: 560px) { .scope li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
/* Cropped logo (tagline removed) */
.logo img { height: 96px; }
@media (max-width: 1080px) { .logo img { height: 74px; } }
@media (max-width: 560px) { .logo img { height: 64px; } }
html { scroll-padding-top: 120px; }

/* ===== Responsive sizing pass (18 Nov) ===== */
/* 1. Minimum readable size for small mono labels (was 11.5px) */
.eyebrow, .crumbs, .board label, thead th, .temp, .qlist span, ol.steps li::before, .meta, .seg legend,
.t-yr, .t-note, .site-foot h2, .sev, .torch-bar button, .breaker .way, .breaker small, .plate-type { font-size: max(.8rem, 12.8px); }
.t-band { font-size: max(.75rem, 12px); }

/* 2. Fill large screens: wider content column that grows with the screen */
.wrap { max-width: clamp(1180px, 86vw, 1560px); }
/* 3. Scale type up gently on big monitors so the wider column doesn't look sparse */
@media (min-width: 1700px) { html { font-size: 17.5px; } }
@media (min-width: 2200px) { html { font-size: 19px; } }
@media (min-width: 2800px) { html { font-size: 21px; } .wrap { max-width: 1800px; } }
/* Keep long text readable inside the wider column */
.lede, .easy p, .band-head p, .answer p, .prose p { max-width: 75ch; }
/* 4. Very small phones */
@media (max-width: 360px) {
  .wrap { padding-left: 14px; padding-right: 14px; }
  .mega h1 { font-size: 1.85rem; }
  .btn { padding: 12px 16px; }
  .logo img { height: 56px; }
}
/* 5. Media never wider than its box */
img, svg, canvas, video { max-width: 100%; }

/* Accreditation badges */
.badges { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.badges li { min-width: 0; margin: 0; }
.badges li::marker { content: none; }
.badges a { display: grid; grid-template-rows: 28px auto; row-gap: 8px; align-content: start; height: 100%; padding: 12px 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--steel); transition: border-color .2s ease; }
.badges a:hover { border-color: var(--red); }
.badge-logo { display: flex; align-items: center; height: 28px; }
.badges img { display: block; height: 28px; width: auto; max-width: 100%; }
.badges a > span:last-child { font-size: .82rem; line-height: 1.35; }
.badges .badge-word { font: 800 1.15rem/1 var(--display); font-stretch: 112%; color: #15191D; letter-spacing: .06em; }
@media (max-width: 420px) { .badges { grid-template-columns: minmax(0, 1fr); } .badges a { grid-template-columns: 110px minmax(0, 1fr); grid-template-rows: none; align-items: center; column-gap: 12px; } }

/* Project experience list */
.xp { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 0; }
.xp li { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); column-gap: 14px; padding: 7px 0; border-top: 1px solid var(--line); line-height: 1.4; }
.xp li:first-child { border-top: 0; padding-top: 2px; }
.xp strong { font-weight: 700; }
.xp span { color: var(--steel); font-size: .95rem; }
@media (max-width: 1180px) { .xp li { grid-template-columns: minmax(0, 1fr); row-gap: 1px; } }
