/* ESP Engineering & Construction · v2 · the data center as a living machine
   Tokens live in tokens.css. Sections follow the order of the page. */

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--bg-1);
  color: var(--tx-2);
  font: 400 16px/1.5 var(--font-display);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--tx-1); font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--tx-1); outline-offset: 3px; border-radius: 2px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  width: 14px; height: 14px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: var(--z-skip);
  background: var(--tx-1); color: var(--bg-1); padding: 12px 14px; border-radius: 4px;
  font: 600 12px/1 var(--font-mono); text-transform: uppercase;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Shared pieces ---------- */
.label {
  font: 600 12px/1.2 var(--font-mono); letter-spacing: .01em; text-transform: uppercase; color: var(--tx-3);
}
.label--ink { color: var(--ink-2); }

.lead { font-size: 20px; font-weight: 600; line-height: 1.25; color: var(--tx-2); max-width: 32ch; }

.section-head { display: grid; gap: 18px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(36px, 4vw, 64px); line-height: .9; letter-spacing: -.012em; max-width: 17ch; }
.section-head .lead { max-width: 46ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 18px; border-radius: 4px; white-space: nowrap;
  font: 600 12px/1 var(--font-mono); letter-spacing: .01em; text-transform: uppercase;
  transition: transform var(--dur-fast) ease-out, filter var(--dur-fast) ease-out,
    background-color var(--dur-ui) var(--ease-ui), box-shadow var(--dur-ui) var(--ease-ui);
}
.btn:hover { filter: brightness(1.14); }
.btn:active { transform: scale(.97); }
.btn--card { background: var(--bg-3); color: var(--tx-1); box-shadow: inset 0 0 0 1px var(--bg-4); }
.btn--line { color: var(--tx-1); box-shadow: inset 0 0 0 1px rgba(246, 244, 242, .32); }
.btn--line:hover { box-shadow: inset 0 0 0 1px var(--tx-1); filter: none; }
.btn--brand { background: var(--brand); color: #fff; border-radius: 999px; padding: 0 20px; }
.btn--brand:hover { background: var(--brand-hover); filter: none; }
.btn--large { min-height: 52px; padding: 0 26px; }

/* Lists with an arrow marker under a hairline */
.arrows {
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E");
  margin-top: 26px; border-top: 1px solid var(--rule);
}
.arrows li {
  position: relative; padding: 11px 0 11px 28px; border-bottom: 1px solid var(--rule);
  font: 600 12px/1.45 var(--font-mono); letter-spacing: .01em; text-transform: uppercase; color: var(--tx-3);
}
.arrows li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 14px; height: 14px;
  background: var(--sys, var(--tx-4));
  -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat;
}
.arrows--tight { margin-top: 12px; }

/* Step chains: stage, arrow, stage */
.chain {
  --arrow-long: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 14' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 7h41M37 2.5l5 4.5-5 4.5'/%3E%3C/svg%3E");
  display: flex; flex-wrap: wrap; align-items: center; row-gap: 14px; margin-top: 56px;
}
.chain li {
  display: inline-flex; align-items: center;
  font: 600 12px/1 var(--font-mono); letter-spacing: .01em; text-transform: uppercase; color: var(--ink-1);
}
.chain li + li::before {
  content: ""; width: 44px; height: 14px; margin: 0 14px; background: var(--ink-2);
  -webkit-mask: var(--arrow-long) center / contain no-repeat; mask: var(--arrow-long) center / contain no-repeat;
}

/* Placeholders for content ESP still has to provide */
.todo {
  display: inline-block; padding: 4px 8px; border: 1px dashed currentColor; border-radius: 2px;
  font: 400 12px/1.4 var(--font-mono); color: var(--sys-genset);
}
.todo--ink { margin-top: 32px; color: #6B4300; }

/* Seven-segment figures */
.digit {
  position: relative; display: inline-block;
  font: 700 clamp(56px, 6.4vw, 96px)/1 var(--font-digit); color: var(--ink-1);
}
.digit::before { content: attr(data-ghost); position: absolute; inset: 0; opacity: .09; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header); height: var(--header-h);
  display: flex; align-items: center; gap: 32px; padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur-panel) ease, border-color var(--dur-panel) ease;
}
.site-header.is-solid {
  background: color-mix(in srgb, var(--bg-1) 90%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom-color: var(--rule);
}
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 0;
  font: 600 12px/1 var(--font-mono); letter-spacing: .01em; text-transform: uppercase; color: var(--tx-3);
  transition: color var(--dur-fast) ease, opacity var(--dur-fast) ease;
}
.nav a:hover, .nav a.is-active { color: var(--tx-1); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__actions .btn { min-height: 36px; }
.motion-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border-radius: 4px;
  font: 600 12px/1 var(--font-mono); letter-spacing: .01em; text-transform: uppercase; color: var(--tx-3);
  transition: color var(--dur-fast) ease, background-color var(--dur-ui) var(--ease-ui);
}
.motion-toggle:hover { color: var(--tx-1); background: var(--bg-3); }
.menu-toggle { display: none; width: 40px; height: 40px; place-items: center; border-radius: 4px; color: var(--tx-1); }
.menu-toggle .ico { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; min-height: 100svh; overflow: clip;
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 48px; align-items: center;
  padding: calc(var(--header-h) + 32px) var(--gutter) 96px;
}
.hero__media {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 62% 58% at 60% 52%, #312F2D 0%, var(--bg-1) 72%);
}
.hero__canvas, .hero__video, .hero__poster img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* The film's subject sits above the middle of the frame: keep it in view when a wide viewport crops top and bottom.
   Poster and videos share the same framing, so nothing shifts when one replaces the other. */
.hero__video, .hero__poster img { object-fit: cover; object-position: 50% 32%; }
.hero__video { opacity: 0; transition: opacity 400ms ease; }
.hero__video.is-on { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg-1) 0%, color-mix(in srgb, var(--bg-1) 80%, transparent) 24%, transparent 56%),
    linear-gradient(0deg, var(--bg-1) 0%, transparent 20%);
}
.hero__copy { max-width: 700px; }
.hero__title { margin-top: 20px; font-size: clamp(44px, 5.5vw, 80px); line-height: .87; letter-spacing: -.015em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.2em; }
.hero__title .line > span { display: inline-block; }
.hero__lead { margin-top: 28px; font-size: 20px; font-weight: 600; line-height: 1.25; color: var(--tx-2); max-width: 32ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.hero__note { font: 400 12px/1 var(--font-mono); text-transform: uppercase; color: var(--tx-4); }
.hero__sound {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px;
  background: var(--panel-bg); color: var(--tx-1); font: 600 12px/1 var(--font-mono); text-transform: uppercase;
}
.scroll-cue {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 12px/1 var(--font-mono); letter-spacing: .01em; text-transform: uppercase; color: var(--tx-3);
  transition: color var(--dur-fast) ease;
}
.scroll-cue:hover { color: var(--tx-1); }
.scroll-cue__line { position: relative; width: 1px; height: 36px; background: var(--bg-4); overflow: hidden; }
.scroll-cue__line::after {
  content: ""; position: absolute; inset: 0; background: var(--tx-1);
  transform: translateY(-100%); animation: cue 2.2s cubic-bezier(.7, 0, .2, 1) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  55%, 100% { transform: translateY(100%); }
}
html[data-motion="paused"] .scroll-cue__line::after { animation-play-state: paused; }

/* Hero entrance: pure CSS so it starts with the first paint and never waits for scripts */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title .line > span { animation: rise 900ms cubic-bezier(.16, 1, .3, 1) both; }
  .js .hero__title .line:nth-child(2) > span { animation-delay: 90ms; }
  .js .hero__title .line:nth-child(3) > span { animation-delay: 180ms; }
  .js .hero__copy .label,
  .js .hero__lead,
  .js .hero__cta { animation: fade-up 800ms cubic-bezier(.16, 1, .3, 1) 420ms both; }
  .js .hero__panel { animation: panel-in var(--dur-panel) ease 700ms both; }
}
@keyframes rise { from { transform: translateY(110%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes panel-in { from { opacity: 0; transform: translateX(12px); } }

/* Overlay panel over the scene */
.panel { background: var(--panel-bg); color: var(--tx-1); }
.panel__head {
  display: flex; justify-content: space-between; padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font: 600 12px/1 var(--font-mono); letter-spacing: .01em; text-transform: uppercase; color: var(--tx-3);
}
.panel__list a {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font: 600 13px/1.2 var(--font-mono); letter-spacing: .01em; text-transform: uppercase;
  transition: background-color var(--dur-ui) var(--ease-ui), color var(--dur-ui) var(--ease-ui);
}
.panel__list li:last-child a { border-bottom: 0; }
.panel__list a::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--sys);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform var(--dur-ui) var(--ease-ui);
}
.panel__dot { width: 8px; height: 8px; flex: none; background: var(--sys); }
.panel__num { margin-left: auto; font-weight: 400; color: var(--tx-4); transition: color var(--dur-ui) var(--ease-ui); }
.panel__list a.is-active { background: rgba(255, 255, 255, .05); }
.panel__list a.is-active::before { transform: scaleY(1); }
.panel__list a:hover,
.panel__list a:focus-visible { background: var(--panel-hover); color: #121110; outline: none; }
.panel__list a:hover .panel__num,
.panel__list a:focus-visible .panel__num { color: #4B4845; }

/* ---------- The machine: pinned dial + one section per system ---------- */
.machine { position: relative; --active: #FF4B4B; --p: 0; }
.machine__stage {
  position: sticky; top: 0; z-index: var(--z-stage); height: 100vh; overflow: clip;
  display: grid; place-items: center; pointer-events: none;
}
/* The first system overlaps the stage, so the stage keeps its own height and unpins with the machine. */
.machine__stage + .sys { margin-top: -100vh; }
.machine__stage::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: min(92vh, 72vw); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, color-mix(in oklab, var(--active) 9%, transparent) 0%, transparent 62%);
  transition: opacity var(--dur-big) ease-out;
}
.dial {
  position: relative; width: min(58vh, 40vw); aspect-ratio: 1;
  transition: opacity var(--dur-big) ease-out, filter var(--dur-big) ease-out;
}
.dial svg { width: 100%; height: 100%; overflow: visible; }
.machine.is-light .dial { opacity: .25; filter: grayscale(1) invert(1); }
.machine.is-light .machine__stage::before,
.machine.is-light .ruler { opacity: 0; }

/* Dial parts (the SVG is built in js/dial.js) */
.dial__ring { transform-box: view-box; transform-origin: 50% 50%; }
.dial__grab { fill: none; stroke: transparent; stroke-width: 34; pointer-events: stroke; cursor: grab; }
.dial__seg {
  fill: none; stroke: var(--sys-6); stroke-width: 7; pointer-events: stroke; cursor: grab;
  transition: stroke var(--dur-big) ease-out;
}
.dial__seg.is-active { stroke: var(--sys); }
.dial__seg-num { font: 600 9px var(--font-mono); fill: var(--tx-4); text-anchor: middle; }
.dial__line { fill: none; stroke: var(--bg-4); stroke-width: 1; }
.dial__line--active { stroke: color-mix(in oklab, var(--active) 42%, var(--bg-1)); }
.dial-tick { stroke: var(--bg-4); stroke-width: 1.4; transition: stroke var(--dur-fast) ease; }
.dial-tick.is-major { stroke: var(--tx-4); }
.dial-tick.is-lit { stroke: var(--active); }
.dial__marker { fill: var(--active); }
.dial__red { fill: none; stroke: var(--bg-4); stroke-width: 2.2; stroke-linecap: round; transition: stroke var(--dur-big) ease-out; }
.dial__red.is-lit { stroke: var(--active); }
.dial__red-label { font: 400 10.5px var(--font-mono); fill: var(--tx-4); }
.dial__state { opacity: 0; visibility: hidden; transition: opacity 300ms ease, visibility 300ms ease; }
.dial__state.is-on { opacity: 1; visibility: visible; }
.st-line { fill: none; stroke: var(--sys); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-line--thin { stroke-width: 1.2; }
.st-line--bold { stroke-width: 3.2; }
.st-dim { fill: none; stroke: var(--sys-6); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.st-neutral { fill: none; stroke: var(--tx-4); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.st-node { fill: var(--bg-1); stroke: var(--sys); stroke-width: 1.8; }
.st-box { fill: var(--bg-2); stroke: var(--sys-3); stroke-width: 1.4; }
.st-fill { fill: var(--sys); }
.st-fill-dim { fill: var(--sys-6); }
.st-fill-neutral { fill: var(--tx-4); }
.st-text { font: 600 9.5px var(--font-mono); letter-spacing: .04em; fill: var(--tx-3); text-anchor: middle; }
.st-rack { opacity: .35; rx: 2px; }
.st-text--value { font-size: 15px; fill: var(--sys-ink); }
.st-cell, .st-rack, .st-dot, .st-wave-ring { transform-box: fill-box; transform-origin: 50% 50%; }
.st-cell { transform-origin: 50% 100%; }
.dial-tick { transform-box: fill-box; transform-origin: 50% 50%; }
.st-wave-ring { vector-effect: non-scaling-stroke; }
.wa-bypass, .wa-dry, .wa-chiller, .wa-free {
  transition: stroke var(--dur-big) ease-out, opacity var(--dur-big) ease-out, fill var(--dur-big) ease-out;
}
.wa-free { opacity: .3; }
.dial__state.is-free .wa-bypass,
.dial__state.is-free .wa-dry { stroke: var(--sys); }
.dial__state.is-free .wa-chiller { opacity: .35; }
.dial__state.is-free .wa-free { opacity: 1; fill: var(--sys-ink); }

.sys {
  position: relative; z-index: var(--z-content); min-height: 100vh; pointer-events: none;
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4.6fr) minmax(0, 3.4fr); column-gap: 32px; align-items: center;
  padding: 96px var(--gutter);
}
.sys > * { pointer-events: auto; }
.sys__dial { display: none; }
.sys__text { grid-column: 1; max-width: 380px; }
.sys__num { color: var(--sys-ink); margin-right: 10px; }
.sys__title { margin-top: 18px; font-size: clamp(36px, 4vw, 64px); line-height: .9; letter-spacing: -.012em; color: var(--sys); }
.sys__lead { margin-top: 22px; font-size: 20px; font-weight: 600; line-height: 1.25; color: var(--tx-2); max-width: 32ch; }

.spec {
  grid-column: 3; align-self: end; justify-self: end; width: 100%; max-width: 400px; margin-bottom: 28px;
  background: var(--bg-3); border-radius: 4px; padding: 16px 18px 18px;
  font: 400 14px/1.25 var(--font-mono); color: var(--tx-3);
}
.spec__head {
  display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 14px;
  border-bottom: 1px solid var(--bg-4);
  font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--tx-3);
}
.spec dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 16px; margin: 0; }
.spec dt { color: var(--tx-3); }
.spec dd { color: var(--tx-2); }
.spec b { font-weight: 400; color: var(--sys-ink); }

.ruler {
  position: absolute; right: var(--gutter); bottom: 40px; display: flex; align-items: center; gap: 8px;
  font: 600 12px/1 var(--font-mono); color: var(--tx-4);
  transition: opacity var(--dur-big) ease-out;
}
.ruler__index { color: var(--tx-1); }
.ruler__track {
  --w: 240px; --tick: color-mix(in srgb, var(--tx-4) 55%, transparent);
  position: relative; width: var(--w); height: 14px; margin-left: 10px;
  background:
    repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px 30px) 0 0 / 100% 100% no-repeat,
    repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px 6px) 0 100% / 100% 50% no-repeat;
}
.ruler__marker {
  position: absolute; left: 0; top: -4px; width: 2px; height: 22px; background: var(--active);
  transform: translateX(calc(var(--p) * var(--w)));
}

/* ---------- Light breathing section ---------- */
.breath {
  position: relative; min-height: 100vh; display: grid; align-items: center;
  background: var(--bg-light); color: var(--ink-1);
  padding: clamp(96px, 16vh, 180px) var(--gutter);
}
.breath__inner {
  position: relative; z-index: var(--z-content); width: 100%;
  max-width: calc(var(--maxw) - 2 * var(--gutter)); margin-inline: auto;
}
.breath__title { margin-top: 18px; font-size: clamp(36px, 4vw, 64px); line-height: .9; letter-spacing: -.012em; color: var(--ink-1); max-width: 15ch; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; margin-top: 64px; }
.kpi { padding-top: 22px; border-top: 1px solid var(--rule-ink); }
.kpi__label { margin-top: 20px; font: 600 12px/1.3 var(--font-mono); letter-spacing: .01em; text-transform: uppercase; color: var(--ink-1); }
.kpi__text { margin-top: 8px; color: var(--ink-2); max-width: 30ch; }

/* ---------- Technical drawings (formats, cooling, AI) ----------
   Line art in the page's own grammar: neutral outlines, system colours for equipment,
   dashed flows. Class names are short because they repeat on every shape. */
.hatch-line { stroke: color-mix(in srgb, var(--tx-4) 45%, transparent); stroke-width: 1; }
.dwg { display: block; width: 100%; height: auto; }
.dwg .l { fill: none; stroke: var(--tx-2); stroke-width: 1.4; stroke-linejoin: round; }
.dwg .l2 { fill: none; stroke: var(--tx-4); stroke-width: 1.1; }
.dwg .l3 { fill: none; stroke: color-mix(in srgb, var(--tx-4) 55%, transparent); stroke-width: 1; }
.dwg .d { stroke-dasharray: 6 5; }
.dwg .dd { stroke-dasharray: 14 4 2 4; }
.dwg .h { fill: url(#p-hatch); }
.dwg .f { fill: var(--bg-3); }
.dwg .bg { fill: var(--bg-1); }
.dwg .s { fill: none; stroke: var(--sys); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.dwg .sf { fill: color-mix(in oklab, var(--sys) 12%, var(--bg-1)); stroke: var(--sys); stroke-width: 1.3; stroke-linejoin: round; }
.dwg .bus { stroke-width: 4; stroke-linecap: butt; }
.dwg .ret { fill: none; stroke: var(--sys-3); stroke-width: 1.3; opacity: .8; }
.dwg .hot { fill: none; stroke: var(--sys-busway); stroke-width: 1.5; stroke-linecap: round; }
.dwg .hotbox { fill: color-mix(in oklab, var(--sys-busway) 9%, var(--bg-1)); }
.dwg .flow { stroke-dasharray: 7 6; }
.dwg .ah { fill: var(--sys); stroke: none; }
.dwg .ah.hot { fill: var(--sys-busway); }
.dwg .ld { fill: none; stroke: var(--tx-4); stroke-width: 1; }
.dwg .t { font: 600 12.5px var(--font-mono); letter-spacing: .04em; fill: var(--tx-3); text-anchor: middle; }
.dwg .t--end { text-anchor: end; }
.dwg .t--start { text-anchor: start; }

/* A drawing with its title bar and legend */
.sheet { display: flex; flex-direction: column; margin: 0; }
.sheet__bar {
  display: flex; justify-content: space-between; gap: 16px; padding: 13px 20px; border-bottom: 1px solid var(--rule);
  font: 600 12px/1 var(--font-mono); letter-spacing: .01em; text-transform: uppercase; color: var(--tx-4);
}
.sheet__bar span:first-child { color: var(--tx-1); }
.sheet__dwg { position: relative; background: var(--bg-1); }
.sheet__body {
  flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px;
  padding: 22px 20px 26px; border-top: 1px solid var(--rule);
}
.sheet__body h3 { font-size: 26px; line-height: 1; letter-spacing: -.01em; }
.sheet__body p { margin-top: 10px; color: var(--tx-3); max-width: 34ch; }
.sheet__body--keys { display: block; }
.keys {
  display: grid; gap: 5px; align-content: start;
  font: 400 12px/1.5 var(--font-mono); letter-spacing: .01em; text-transform: uppercase; color: var(--tx-3);
}
.keys b { display: inline-block; min-width: 26px; font-weight: 600; color: var(--tx-1); }
.keys--cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 24px; }
/* Callouts are HTML so their size does not change with the drawing's scale */
.tag {
  position: absolute; left: var(--x); top: var(--y); width: 22px; height: 22px; margin: -11px 0 0 -11px;
  display: grid; place-items: center; border-radius: 50%; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--tx-3);
  font: 600 11px/1 var(--font-mono); font-style: normal; color: var(--tx-1);
}
.note { margin-top: 16px; font: 400 12px/1.4 var(--font-mono); text-transform: uppercase; color: var(--tx-4); }

/* ---------- Project formats ---------- */
.formats { background: var(--bg-2); padding: clamp(96px, 16vh, 180px) 0; }
.section-head--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 64px; align-items: end; }
.section-head--split > div { display: grid; gap: 18px; }
.sheets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.sheets .sheet { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.integrate {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; margin-top: 24px; padding: 18px 20px;
  border: 1px solid var(--rule);
}
.integrate ul { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.integrate a {
  display: inline-flex; align-items: center; gap: 9px;
  font: 600 12px/1 var(--font-mono); letter-spacing: .01em; text-transform: uppercase; color: var(--tx-2);
  transition: color var(--dur-fast) ease;
}
.integrate a::before { content: ""; width: 8px; height: 8px; background: var(--sys); }
.integrate a:hover { color: var(--tx-1); }

/* ---------- Cooling design and integration ---------- */
.cooling { padding: clamp(96px, 16vh, 180px) 0; }
.ctable { width: 100%; border-collapse: collapse; }
.ctable th, .ctable td { text-align: left; vertical-align: middle; }
.ctable thead th {
  padding: 13px 24px 13px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  font: 600 12px/1.2 var(--font-mono); letter-spacing: .01em; text-transform: uppercase; color: var(--tx-4);
}
.ctable tbody td, .ctable tbody th { padding: 18px 24px 18px 0; border-bottom: 1px solid var(--rule); }
.ctable__num { width: 56px; font: 400 12px/1 var(--font-mono); color: var(--tx-4); }
.ctable__name { width: 19%; font-size: 26px; font-weight: 700; line-height: 1; letter-spacing: -.01em; color: var(--tx-1); }
.ctable__text { width: 25%; color: var(--tx-2); }
.ctable__use { width: 17%; font: 400 14px/1.35 var(--font-mono); color: var(--tx-3); }
.ctable tbody .ctable__dwg { padding-right: 0; }
.ctable__dwg .dwg { max-width: 440px; margin-left: auto; }
.flowkey {
  display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 18px;
  font: 400 12px/1 var(--font-mono); text-transform: uppercase; color: var(--tx-4);
}
.flowkey span { display: inline-flex; align-items: center; gap: 10px; }
.flowkey span::before { content: ""; width: 28px; height: 2px; background: var(--sys-cooling); }
.flowkey .is-hot::before { background: var(--sys-busway); }
.flowkey .is-ret::before { background: var(--sys-cooling-4); }
.method { margin-top: 72px; }
.stepper { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 18px; border: 1px solid var(--rule); }
.stepper li {
  position: relative; padding: 18px 20px 20px;
  font: 600 12px/1.3 var(--font-mono); letter-spacing: .01em; text-transform: uppercase; color: var(--tx-1);
}
.stepper li + li { border-left: 1px solid var(--rule); }
.stepper li + li::before {
  content: ""; position: absolute; left: -5px; top: 50%; width: 9px; height: 9px; margin-top: -5px;
  background: var(--bg-1); border-top: 1px solid var(--tx-3); border-right: 1px solid var(--tx-3); transform: rotate(45deg);
}
.stepper span { display: block; margin-bottom: 26px; font-weight: 400; color: var(--tx-4); }

/* ---------- References ---------- */
.refs { padding: clamp(96px, 16vh, 180px) 0; }
.cards { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; }
.card {
  background: var(--bg-3); border: 1px solid transparent; border-radius: 4px; padding: 24px;
  transition: transform var(--dur-fast) ease-out, border-color var(--dur-ui) var(--ease-ui);
}
.card:hover { transform: translateY(-4px); border-color: var(--sys); }
.card--lead { grid-row: span 3; display: flex; flex-direction: column; padding: 32px; }
.card__meta {
  display: flex; justify-content: space-between; gap: 16px;
  font: 600 12px/1.2 var(--font-mono); letter-spacing: .01em; text-transform: uppercase; color: var(--tx-3);
}
.card__meta span:first-child { display: inline-flex; align-items: center; gap: 10px; color: var(--tx-1); }
.card__meta span:first-child::before { content: ""; width: 8px; height: 8px; background: var(--sys); }
.card__title { margin-top: 32px; font-size: clamp(28px, 2.8vw, 44px); line-height: .95; letter-spacing: -.01em; max-width: 17ch; }
.card__text { margin-top: 16px; color: var(--tx-2); max-width: 58ch; }
.card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 32px; }
.card__tags li {
  padding: 7px 9px; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--bg-4);
  font: 400 12px/1 var(--font-mono); text-transform: uppercase; color: var(--tx-3);
}

/* ---------- Engineering ---------- */
.eng { background: var(--bg-2); padding: clamp(96px, 16vh, 180px) 0; }
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.caps li { padding: 28px 28px 32px; border-bottom: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.caps li:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.caps__num { font: 400 12px/1 var(--font-mono); color: var(--tx-4); }
.caps h3, .steps h4 {
  margin-top: 14px; font: 600 12px/1.3 var(--font-mono); letter-spacing: .01em; text-transform: uppercase; color: var(--tx-1);
}
.caps p, .steps p { margin-top: 10px; color: var(--tx-3); max-width: 36ch; }

.gantt { margin-top: 96px; }
.gantt__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.gantt__gate { font: 400 12px/1.2 var(--font-mono); text-transform: uppercase; color: var(--tx-4); }
.gantt__head {
  display: grid; grid-template-columns: minmax(240px, 36%) repeat(4, minmax(0, 1fr)); padding: 12px 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  font: 600 12px/1.2 var(--font-mono); letter-spacing: .01em; text-transform: uppercase; color: var(--tx-3);
}
.gantt__head span + span { padding: 0 8px; }
.gantt__group { margin-top: 24px; font: 600 12px/1 var(--font-mono); text-transform: uppercase; color: var(--tx-4); }
.gantt__rows { margin-top: 10px; }
.gantt__row {
  display: grid; grid-template-columns: minmax(240px, 36%) minmax(0, 1fr); align-items: stretch;
  min-height: 46px; border-bottom: 1px solid var(--rule);
}
.gantt__tool {
  align-self: center; display: grid; grid-template-columns: 9.6em minmax(0, 1fr); column-gap: 10px;
  padding: 10px 16px 10px 0; font: 400 14px/1.3 var(--font-mono); color: var(--tx-3);
}
.gantt__tool b { font-weight: 600; color: var(--tx-1); }
.gantt__track {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center;
  background: repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 25%);
}
.gantt__bar { height: 14px; margin: 0 6px; border-radius: 2px; background: var(--tx-2); transform-origin: 0 50%; }
.gantt__rows--brand .gantt__bar { background: var(--brand-light); }
.span-1-4 { grid-column: 1 / 5; }
.span-2-4 { grid-column: 2 / 5; }
.span-2-3 { grid-column: 2 / 4; }
.span-1-2 { grid-column: 1 / 3; }
.span-2-2 { grid-column: 2 / 3; }

.resilience { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 64px; margin-top: 112px; }
.resilience__title { margin-top: 18px; font-size: clamp(28px, 2.8vw, 44px); line-height: .95; letter-spacing: -.01em; max-width: 16ch; }
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 40px; border-top: 1px solid var(--rule); }
.steps li { padding: 24px 0 28px; border-bottom: 1px solid var(--rule); }
.standards { align-self: start; background: var(--bg-3); border-radius: 4px; padding: 24px; }
.standards dl { display: grid; gap: 14px; margin: 18px 0 0; }
.standards dt { font: 600 12px/1 var(--font-mono); text-transform: uppercase; color: var(--tx-3); }
.standards dd { margin-top: 6px; font: 400 14px/1.35 var(--font-mono); color: var(--tx-2); }
.standards__sub { margin-top: 28px; }
.standards .todo { margin-top: 20px; }

/* ---------- AI and HPC ---------- */
.ai { background: var(--bg-2); padding: clamp(96px, 16vh, 180px) 0; }
.notice {
  padding: 4px 0 4px 18px; border-left: 2px solid var(--tx-3);
  font-size: 20px; font-weight: 600; line-height: 1.25; color: var(--tx-1); max-width: 34ch;
}
.notice span {
  display: block; margin-bottom: 8px;
  font: 600 12px/1 var(--font-mono); letter-spacing: .01em; text-transform: uppercase; color: var(--tx-4);
}
.ai__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.density { padding-top: 22px; border-top: 1px solid var(--rule); }
.density__fig { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; }
.density__fig b {
  font-size: clamp(52px, 5.2vw, 80px); font-weight: 700; line-height: .9; letter-spacing: -.02em; color: var(--tx-1);
  font-variant-numeric: tabular-nums;
}
.density__fig span { font: 600 12px/1 var(--font-mono); letter-spacing: .01em; text-transform: uppercase; color: var(--tx-3); }
/* A ruler from 0 to 150 kW: one tick every 10 kW, the band covers 50 to 130 and fades beyond */
.density__scale {
  position: relative; height: 26px; margin-top: 26px; border-bottom: 1px solid var(--tx-4);
  background: repeating-linear-gradient(90deg, var(--tx-4) 0 1px, transparent 1px calc(100% / 15)) 0 100% / 100% 9px no-repeat;
}
.density__band {
  position: absolute; left: 33.333%; right: 0; top: 2px; height: 10px;
  background: linear-gradient(90deg, var(--sys) 0 80%, transparent 100%);
}
.density__marks { position: relative; height: 16px; margin-top: 8px; font: 400 12px/1 var(--font-mono); color: var(--tx-3); }
.density__marks span { position: absolute; top: 0; transform: translateX(-50%); }
.density__marks span:nth-child(1) { left: 0; transform: none; }
.density__marks span:nth-child(2) { left: 33.333%; }
.density__marks span:nth-child(3) { left: 86.667%; }
.density__text { margin-top: 14px; color: var(--tx-3); }
.ai .rows { margin-top: 28px; }
.rows--num li { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: baseline; }
.ai .todo { margin-top: 20px; }
.ai__sheet { border: 1px solid var(--rule); }
.ai__sheet .tag { width: 28px; margin-left: -14px; border-radius: 11px; }

/* ---------- Telecom ---------- */
.telecom { position: relative; isolation: isolate; overflow: clip; padding: clamp(96px, 14vh, 160px) 0; }
.telecom__media {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 40% 62% at 50% 50%, #312F2D 0%, var(--bg-1) 76%);
}
.telecom__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.telecom__grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3.6fr) minmax(0, 4.4fr); column-gap: 32px; align-items: center;
  min-height: 780px;
}
.telecom__copy { grid-column: 1; }
.telecom__copy h2 { margin-top: 18px; font-size: clamp(36px, 4vw, 64px); line-height: .9; letter-spacing: -.012em; }
.telecom__copy .lead { margin-top: 22px; }
.telecom__site { margin-top: 18px; color: var(--tx-3); max-width: 40ch; }
.telecom__copy .note { margin-top: 28px; }
.tgroups { grid-column: 3; background: var(--panel-bg); }
.tgroup {
  position: relative; padding: 18px 20px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background-color var(--dur-ui) var(--ease-ui);
}
.tgroup:last-child { border-bottom: 0; }
.tgroup::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--sys);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform var(--dur-ui) var(--ease-ui);
}
.tgroup.is-active { background: rgba(255, 255, 255, .05); }
.tgroup.is-active::before { transform: scaleY(1); }
.tgroup h3 { margin-top: 10px; font-size: 20px; line-height: 1.15; }
.tgroup__list {
  margin-top: 10px; font: 400 12px/1.6 var(--font-mono); letter-spacing: .01em; text-transform: uppercase; color: var(--tx-3);
}

/* Rows: name + one line, separated by hairlines */
.rows { margin-top: 36px; border-top: 1px solid var(--rule); }
.rows li { padding: 16px 0 18px; border-bottom: 1px solid var(--rule); }
.rows h3 { font: 600 12px/1.3 var(--font-mono); letter-spacing: .01em; text-transform: uppercase; color: var(--tx-1); }
.rows p { margin-top: 6px; color: var(--tx-3); }

/* ---------- Beyond the data center ---------- */
.beyond { background: var(--bg-2); padding: clamp(96px, 16vh, 180px) 0; }
.rows--wide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; margin-top: 0; border-top: 0; }
.rows--wide li {
  display: grid; grid-template-columns: minmax(150px, 32%) minmax(0, 1fr); gap: 20px;
  padding: 20px 0 22px; border-top: 1px solid var(--rule); border-bottom: 0;
}
.rows--wide p { margin-top: 0; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: end; margin-top: 112px; }
.values__words { font-size: clamp(36px, 4vw, 64px); font-weight: 700; line-height: .92; letter-spacing: -.012em; color: var(--tx-1); }
.values__words span { display: block; }
.values__words span:nth-child(2) { color: var(--tx-3); }
.values__words span:nth-child(3) { color: var(--tx-4); }
.values__text { max-width: 52ch; }

/* ---------- Contact and footer ---------- */
.contact { background: var(--bg-0); padding: clamp(96px, 16vh, 180px) 0 96px; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.contact__title { margin-top: 18px; font-size: clamp(44px, 5.5vw, 80px); line-height: .87; letter-spacing: -.015em; max-width: 12ch; }
.contact .lead { margin-top: 26px; max-width: 40ch; }
.contact .btn { margin-top: 32px; }
.contact__details { margin: 0; border-top: 1px solid var(--rule); }
.contact__details div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.contact__details dt { font: 600 12px/2 var(--font-mono); text-transform: uppercase; color: var(--tx-4); }
.contact__details dd { color: var(--tx-1); }
.contact__details a { border-bottom: 1px solid var(--bg-4); transition: border-color var(--dur-fast) ease; }
.contact__details a:hover { border-color: var(--tx-1); }

.footer { background: var(--bg-0); padding: 64px 0 40px; border-top: 1px solid var(--rule); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.footer__brand img { width: 32px; margin-bottom: 16px; }
.footer__brand p { color: var(--tx-3); }
.footer__brand p:first-of-type { color: var(--tx-1); font-weight: 600; }
.footer__nav ul { display: grid; gap: 12px; margin-top: 18px; }
.footer__nav a {
  font: 400 12px/1.2 var(--font-mono); text-transform: uppercase; color: var(--tx-3);
  transition: color var(--dur-fast) ease;
}
.footer__nav a:hover { color: var(--tx-1); }
.footer__legal { margin-top: 56px; font: 400 12px/1 var(--font-mono); text-transform: uppercase; color: var(--tx-4); }

/* ---------- Narrow desktop and tablet ---------- */
@media (max-width: 1099px) {
  .hero { grid-template-columns: minmax(0, 1fr) 260px; column-gap: 28px; }
  .machine__stage { justify-items: end; padding-right: var(--gutter); }
  .machine__stage::before {
    left: auto; right: calc(var(--gutter) + min(44vw, 50vh) / 2); width: min(80vh, 64vw); transform: translate(50%, -50%);
  }
  .dial { width: min(44vw, 50vh); }
  .sys { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-content: center; row-gap: 28px; }
  .spec { grid-column: 1; justify-self: start; align-self: start; margin-bottom: 0; }
  .ruler { right: auto; left: var(--gutter); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head--split { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  .sheet__body { grid-template-columns: minmax(0, 1fr); }
  /* the comparison table becomes one block per technology: text on the left, diagram on the right */
  .ctable, .ctable tbody { display: block; }
  .ctable thead { display: none; }
  .ctable tr {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; align-items: center;
    padding: 22px 0; border-bottom: 1px solid var(--rule);
  }
  .ctable tr:first-child { border-top: 1px solid var(--rule); }
  .ctable tbody td, .ctable tbody th { display: block; grid-column: 1; width: auto; padding: 0; border: 0; }
  .ctable__num { margin-bottom: 10px; }
  .ctable__text { margin-top: 10px; }
  .ctable__use { margin-top: 8px; }
  .ctable__use::before { content: "Suited to: "; text-transform: uppercase; color: var(--tx-4); }
  .ctable tbody .ctable__dwg { grid-column: 2; grid-row: 1 / span 4; }
  .ctable__dwg .dwg { max-width: none; }
  .telecom { padding-top: 0; }
  .telecom__media { position: relative; height: 64svh; max-height: 700px; }
  .telecom__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; row-gap: 40px; }
  .telecom__copy, .tgroups { grid-column: 1; }
  .tgroups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tgroup:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .08); }
  .tgroup:nth-last-child(-n + 2) { border-bottom: 0; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card--lead { grid-row: auto; }
  .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .caps li:nth-child(3n + 1) { padding-left: 28px; border-left: 1px solid var(--rule); }
  .caps li:nth-child(2n + 1) { padding-left: 0; border-left: 0; }
  .resilience, .ai__grid, .values, .contact__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .rows--wide { grid-template-columns: minmax(0, 1fr); }
  .values { align-items: start; }
  .gantt__tool { display: block; }
  .gantt__tool b { display: block; margin-bottom: 2px; }
}

/* Portrait tablet: the scene sits above the copy and the panel */
@media (min-width: 768px) and (max-width: 1099px) and (orientation: portrait) {
  .hero { align-items: end; padding-top: calc(var(--header-h) + 44svh); }
  .hero__scrim {
    background: linear-gradient(0deg, var(--bg-1) 4%, color-mix(in srgb, var(--bg-1) 72%, transparent) 40%, transparent 64%);
  }
}

/* Five nav links: drop the motion label first, then collapse the nav */
@media (max-width: 1180px) {
  .motion-toggle span { display: none; }
  .nav { gap: 22px; }
}

@media (max-width: 900px) {
  .menu-toggle { display: grid; }
  .header__actions { margin-left: auto; }
  .motion-toggle span { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0;
    padding: 4px var(--gutter) 12px; background: var(--bg-1); border-bottom: 1px solid var(--rule);
    opacity: 0; visibility: hidden; transform: translateX(12px);
    transition: opacity var(--dur-panel) ease, transform var(--dur-panel) ease, visibility var(--dur-panel) ease;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .nav a:last-child { border-bottom: 0; }
}

/* ---------- Phone: nothing is pinned, the dial sits on top of each system ---------- */
@media (max-width: 767px) {
  .section-head { margin-bottom: 40px; }

  .hero { display: block; min-height: 0; padding: calc(var(--header-h) + 42svh) var(--gutter) 40px; }
  .hero__media { bottom: auto; height: calc(var(--header-h) + 46svh); }
  .hero__scrim { background: linear-gradient(0deg, var(--bg-1) 2%, transparent 34%); }
  .hero__panel { margin-top: 40px; }
  .panel__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel__list a { min-height: 52px; padding: 0 12px; font-size: 11px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .panel__list li:nth-child(odd) a { border-right: 1px solid rgba(255, 255, 255, .08); }
  .panel__list li:nth-last-child(-n + 2) a { border-bottom: 0; }
  .panel__num { display: none; }
  .hero__foot { position: static; margin-top: 24px; }
  .scroll-cue { display: none; }

  .machine__stage { display: none; }
  .machine__stage + .sys { margin-top: 0; }
  .sys { display: block; min-height: 0; padding: 72px var(--gutter) 40px; pointer-events: auto; }
  .sys__dial {
    display: grid; place-items: center; width: min(78vw, 340px); aspect-ratio: 1; margin: 0 auto 36px;
    border-radius: 50%; box-shadow: inset 0 0 0 1px var(--bg-4);
  }
  .sys__dial .dial { width: 100%; }
  .sys__text { max-width: none; }
  .spec { margin: 28px 0 0; max-width: none; }

  .breath { min-height: 0; padding: 88px var(--gutter); }
  .kpis { gap: 32px 20px; margin-top: 44px; }
  .chain { margin-top: 44px; }
  .chain li + li::before { width: 22px; margin: 0 8px; }

  .sheets { grid-template-columns: minmax(0, 1fr); }
  .keys--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ctable tr { grid-template-columns: minmax(0, 1fr); padding: 22px 0 10px; }
  .ctable tbody .ctable__dwg { grid-column: 1; grid-row: auto; margin-top: 14px; }
  .method { margin-top: 56px; }
  .stepper { grid-template-columns: minmax(0, 1fr); }
  .stepper li { display: flex; gap: 16px; padding: 14px 16px; }
  .stepper li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .stepper li + li::before { left: 22px; top: -5px; margin-top: 0; transform: rotate(135deg); }
  .stepper span { margin-bottom: 0; }
  .telecom__media { height: 58svh; }
  .tgroups { grid-template-columns: minmax(0, 1fr); }
  .tgroup:nth-child(odd) { border-right: 0; }
  .tgroup:nth-last-child(-n + 2) { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .tgroup:last-child { border-bottom: 0; }

  .card, .card--lead { padding: 22px; }
  .caps { grid-template-columns: minmax(0, 1fr); }
  .caps li, .caps li:nth-child(3n + 1), .caps li:nth-child(2n + 1) { padding: 22px 0 24px; border-left: 0; }
  .gantt { margin-top: 72px; }
  .gantt__top { flex-direction: column; gap: 10px; }
  .gantt__head { grid-template-columns: repeat(4, minmax(0, 1fr)); font-size: 9.5px; }
  .gantt__head span:first-child { display: none; }
  .gantt__head span + span { padding: 0 6px 0 0; }
  .gantt__row { grid-template-columns: minmax(0, 1fr); padding-bottom: 12px; }
  .gantt__tool { padding: 12px 0 8px; }
  .gantt__track { height: 22px; }
  .resilience { margin-top: 72px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .rows--wide li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .values { margin-top: 72px; }
  .contact { padding-bottom: 64px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

/* ---------- Reduced motion and no JavaScript ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue__line::after { animation: none; transform: none; }
  .card { transition: border-color var(--dur-ui) var(--ease-ui); }
  .card:hover { transform: none; }
}
.no-js .machine__stage + .sys { margin-top: 0; }
.no-js .machine__stage,
.no-js .sys__dial,
.no-js .hero__canvas,
.no-js .motion-toggle { display: none; }
