/* ═══════════════════════════════════════════════════════════════
   PAWA Engineering — immersive data-center site
   Warm-white technical world · electric-blue connection line
   v2 — cinematic chapter camera, live labels, boot loader
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* environment */
  --paper:       #f6f4ef;
  --paper-2:     #efece5;
  --paper-3:     #e7e3da;
  --ink:         #14181c;
  --ink-soft:    rgba(20, 24, 28, 0.82);
  --ink-faint:   rgba(20, 24, 28, 0.62);
  --hairline:    rgba(20, 24, 28, 0.12);
  --hairline-2:  rgba(20, 24, 28, 0.07);
  --charcoal:    #262b31;
  --graphite:    #171b1f;

  /* functional */
  --blue:        #1466ff;
  --blue-bright: #3f86ff;
  --blue-soft:   rgba(20, 102, 255, 0.14);
  --blue-glow:   rgba(20, 102, 255, 0.32);
  --hot-1:       #ff4326;
  --hot-2:       #ffab24;
  --green:       #2fae6a;

  /* brand accent (logo olive-gold) — used sparingly */
  --brass:       #9a913c;
  --brass-2:     #b7ad4c;

  --display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --sans:    "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, monospace;

  --gx: clamp(20px, 6vw, 108px);
  --maxw: 1320px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* while loading, hide the page — NOT the loader (the old body-level fade
   hid the loader with it, so visitors only ever saw a blank white gap) */
body > *:not(.loader) { transition: opacity 0.9s ease; }
body:has(.loader):not(.is-ready) > *:not(.loader) { opacity: 0; }

/* film grain — the difference between "digital white" and paper */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 260;
  pointer-events: none;
  opacity: 0.55;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/></svg>");
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
em { font-style: normal; color: var(--blue); }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ── page-level reading progress : the blue thread ── */
.pageline { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 95; pointer-events: none; }
.pageline i { display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }

/* ── line-mask headline reveals ── */
.lm { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lm > span { display: block; transform: translateY(112%); transition: transform 1s var(--ease); }
body.is-ready .chap.is-active .lm > span { transform: none; }
.chap.is-active .lm:nth-child(2) > span { transition-delay: 0.09s; }

/* ── shared type helpers ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow .tick { width: 22px; height: 1px; background: var(--blue); display: inline-block; }
.eyebrow--light { color: rgba(255,255,255,0.7); }
.eyebrow--light .tick { background: var(--blue-bright); }

.section__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-top: 20px;
}
.section__lead {
  max-width: 54ch;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.4vw, 19px);
  margin-top: 22px;
}

/* ══════════════════════ BUTTONS ══════════════════════ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  font-family: var(--mono);
  font-size: 13px; letter-spacing: 0.06em;
  border-radius: 2px;
  transition: transform 0.5s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
  overflow: hidden;
}
.btn span { transition: transform 0.5s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--blue); }
.btn--ghost { border: 1px solid var(--hairline); color: var(--ink); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--blue); color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 3px;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.link-arrow span { transition: transform 0.4s var(--ease); }
.link-arrow:hover { color: var(--blue); border-color: var(--blue); }
.link-arrow:hover span { transform: translateX(5px); }

/* ══════════════════════ PRELOADER · rack boot-up ══════════════════════ */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background-color: var(--paper);
  background-image:
    radial-gradient(46vw 46vw at 50% 38%, rgba(20, 102, 255, 0.06), transparent 65%),
    repeating-linear-gradient(0deg,  rgba(20, 24, 28, 0.04) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(20, 24, 28, 0.04) 0 1px, transparent 1px 56px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px;
  transition: transform 0.9s var(--ease-inout), opacity 0.6s ease 0.35s, visibility 0.9s;
}
/* the curtain lifts once the room is powered */
.loader.is-done { transform: translateY(-100%); opacity: 0; visibility: hidden; }
.loader__logo { width: 54px; height: 54px; display: block; }
.loader__brand {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--ink-soft);
}

/* ── the boot rack: units power on with the real loading progress ── */
.loader__rack { width: 118px; margin-top: 4px; }
.loader__rack svg { width: 100%; height: auto; display: block; }
.lr-frame { fill: #fdfcfa; stroke: rgba(20, 24, 28, 0.35); stroke-width: 1.4; }
.lr-u rect { fill: #262b31; opacity: 0.18; transition: opacity 0.45s var(--ease); }
.lr-u line { stroke: rgba(255, 255, 255, 0.22); stroke-width: 1; opacity: 0; transition: opacity 0.45s; }
.lr-u circle { fill: var(--blue-bright); opacity: 0; transition: opacity 0.3s; }
.lr-u.is-on rect { opacity: 1; }
.lr-u.is-on line { opacity: 1; }
.lr-u.is-on circle { opacity: 1; filter: drop-shadow(0 0 4px rgba(63, 134, 255, 0.9)); }
/* fully booted: every indicator settles to operational green */
.loader.is-complete .lr-u circle { fill: var(--green); filter: drop-shadow(0 0 5px rgba(47, 174, 106, 0.9)); }
.loader.is-complete .loader__fill { background: var(--green); }
/* the emblem draws itself */
.loader__logo .em-ring, .loader__logo .em-mark {
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: emdraw 1.4s var(--ease-inout) forwards;
}
.loader__logo .em-mark { animation-delay: 0.35s; }
@keyframes emdraw { to { stroke-dashoffset: 0; } }

.loader__boot {
  display: flex; flex-direction: column; gap: 5px;
  min-height: 76px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint);
}
.loader__boot span { display: flex; gap: 14px; align-items: baseline; opacity: 0; transform: translateY(4px); transition: opacity 0.35s ease, transform 0.35s ease; }
.loader__boot span.is-on { opacity: 1; transform: none; }
.loader__boot b { font-weight: 500; color: var(--green); }
.loader__line { width: min(260px, 60vw); height: 1px; background: var(--hairline); overflow: hidden; }
.loader__fill { display: block; height: 100%; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.loader__meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); font-variant-numeric: tabular-nums; }

/* ══════════════════════ HEADER ══════════════════════ */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--gx);
  transition: padding 0.5s var(--ease), background 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head.is-stuck {
  padding: 13px var(--gx);
  background: rgba(246, 244, 239, 0.82);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom-color: var(--hairline);
}
.brand { display: inline-flex; align-items: center; gap: 12px; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.brand__emblem { width: 34px; height: 34px; display: block; flex: none; }
.brand__emblem svg { width: 100%; height: 100%; overflow: visible; }

/* press and hold the logo — a blue arc sweeps the ring, then admin opens */
.em-hold { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.brand.is-hold .em-hold { opacity: 1; animation: emHold 0.9s linear forwards; }
@keyframes emHold { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: 0.02em; }
.brand__sub { font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }

.nav { display: flex; gap: 30px; }
.nav__link {
  position: relative;
  font-size: 14px; color: var(--ink-soft);
  padding: 6px 0;
  transition: color 0.35s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover, .nav__link.is-current { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); }

.head__actions { display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: inline-flex; align-items: center; gap: 10px; }
.menu-toggle__lines { display: inline-flex; flex-direction: column; gap: 5px; width: 22px; }
.menu-toggle__lines i { height: 1.5px; width: 100%; background: var(--ink); display: block; transition: transform 0.4s var(--ease), width 0.4s var(--ease); }
.menu-toggle:hover .menu-toggle__lines i:first-child { width: 60%; }
.menu-toggle__label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }

/* ══════════════════════ FULL-SCREEN MENU ══════════════════════ */
.menu {
  position: fixed; inset: 0; z-index: 120;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s 0.8s;
}
.menu.is-open { pointer-events: auto; visibility: visible; transition-delay: 0s; }
.menu__panel {
  position: absolute; inset: 0;
  background: var(--paper);
  display: grid; grid-template-columns: 1.4fr 1fr;
  padding: clamp(80px, 12vh, 140px) var(--gx) 60px;
  gap: 60px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.75s var(--ease-inout);
}
.menu.is-open .menu__panel { clip-path: inset(0 0 0 0); }

.menu__eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.menu__list { list-style: none; margin-top: 30px; border-top: 1px solid var(--hairline); }
.menu__list li { border-bottom: 1px solid var(--hairline); overflow: hidden; }
.menu__list a {
  display: flex; align-items: baseline; justify-content: space-between;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(30px, 5vw, 62px); letter-spacing: -0.02em;
  padding: 18px 0;
  transform: translateY(110%);
  transition: transform 0.7s var(--ease), color 0.35s var(--ease);
}
.menu.is-open .menu__list a { transform: translateY(0); }
.menu__list a span { font-family: var(--mono); font-size: 13px; color: var(--ink-faint); letter-spacing: 0.1em; }
.menu__list a:hover { color: var(--blue); }
.menu__list li:nth-child(1) a { transition-delay: 0.10s; }
.menu__list li:nth-child(2) a { transition-delay: 0.16s; }
.menu__list li:nth-child(3) a { transition-delay: 0.22s; }
.menu__list li:nth-child(4) a { transition-delay: 0.28s; }
.menu__list li:nth-child(5) a { transition-delay: 0.34s; }
.menu__list li:nth-child(6) a { transition-delay: 0.40s; }

.menu__aside { display: flex; flex-direction: column; gap: 36px; align-self: end; }
.menu__scene { border: 1px solid var(--hairline); background: var(--paper-2); aspect-ratio: 16/9; overflow: hidden; opacity: 0; transition: opacity 0.6s ease 0.35s; }
.menu.is-open .menu__scene { opacity: 1; }
.menu__block { display: flex; flex-direction: column; gap: 14px; }
.menu__action {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--hairline); padding: 12px 0;
  font-size: 15px;
  transition: color 0.3s var(--ease), padding 0.4s var(--ease);
}
.menu__action .ar { color: var(--blue); transition: transform 0.4s var(--ease); }
.menu__action:hover { color: var(--blue); padding-left: 6px; }
.menu__action:hover .ar { transform: translateX(5px); }
.menu__addr { color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.menu__mail { color: var(--blue); font-size: 14px; font-family: var(--mono); }

/* ══════════════════════ CHAPTER RAIL ══════════════════════ */
.rail {
  position: fixed; left: var(--gx); bottom: 40px; z-index: 60;
  display: flex; align-items: center; gap: 14px;
  opacity: 0; transition: opacity 0.6s ease;
  pointer-events: none;
}
.rail.is-live { opacity: 1; }
.rail__dots { display: flex; gap: 9px; align-items: center; }
.rail__dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--hairline); transition: background 0.4s var(--ease), transform 0.4s var(--ease); }
.rail__dots i.is-on { background: var(--blue); }
.rail__dots i.is-now { transform: scale(1.7); background: var(--blue); }
.rail__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }

/* ══════════════════════ JOURNEY (pinned isometric world) ══════════════════════ */
.journey { position: relative; height: 730vh; }
.journey__sticky {
  position: sticky; top: 0; height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

/* the scene owns the left band; copy owns the right column */
.scene { position: absolute; inset: 0 42% 0 0; }

/* cinematic chapter camera : CSS interpolates every move */
.scene__cam {
  width: 100%; height: 100%;
  transition: transform 1.4s var(--ease-inout);
  will-change: transform;
}
.scene[data-chapter="0"] .scene__cam { transform: scale(1); }
.scene[data-chapter="1"] .scene__cam { transform: scale(1.05); }
.scene[data-chapter="2"] .scene__cam { transform: translate(-2%, 9%) scale(1.2); }
.scene[data-chapter="3"] .scene__cam { transform: translate(-4%, 13%) scale(1.5); }
.scene[data-chapter="4"] .scene__cam { transform: scale(1.02); }
.scene[data-chapter="5"] .scene__cam { transform: translate(-8%, -5%) scale(1.26); }
.scene[data-chapter="6"] .scene__cam { transform: translate(-2%, -5%) scale(1.08); }

/* cursor parallax lives on its own layer (JS, ±6px);
   explicit width so the world's % width resolves against the
   viewport, not the SVG's 300px intrinsic default */
.scene__par {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  will-change: transform;
}

/* world: fixed aspect wrapper so HTML labels can anchor to viewBox coords */
.scene__world { position: relative; width: min(96%, 1000px); }
.scene__world svg { width: 100%; height: auto; overflow: visible; }

/* live HTML technical labels (PRD ch.02) */
.slabel {
  position: absolute;
  transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center; gap: 0;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft); white-space: nowrap;
  opacity: 0; translate: 0 8px;
  transition: opacity 0.6s var(--ease), translate 0.6s var(--ease);
  pointer-events: none;
}
.slabel::after { content: ""; width: 1px; height: 16px; background: var(--ink-faint); margin: 5px 0 4px; }
.slabel i { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--blue); background: var(--paper); }
.scene:not(.scene--video)[data-chapter="1"] .slabel { opacity: 1; translate: 0 0; }
.scene:not(.scene--video)[data-chapter="1"] .slabel:nth-of-type(1) { transition-delay: 0.10s; }
.scene:not(.scene--video)[data-chapter="1"] .slabel:nth-of-type(2) { transition-delay: 0.22s; }
.scene:not(.scene--video)[data-chapter="1"] .slabel:nth-of-type(3) { transition-delay: 0.34s; }
.scene:not(.scene--video)[data-chapter="1"] .slabel:nth-of-type(4) { transition-delay: 0.46s; }
.scene:not(.scene--video)[data-chapter="1"] .slabel:nth-of-type(5) { transition-delay: 0.58s; }

/* copy: chapters anchor straight to the stage so the cover can morph */
.chapters { position: static; }
.chap {
  position: absolute;
  left: calc(58% + 44px); right: var(--gx);
  top: 50%; translate: 0 -50%;
  max-width: 480px;
  opacity: 0; visibility: hidden;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0.6s;
}
.chap.is-active { opacity: 1; visibility: visible; transform: translateY(0); }
.chap__idx { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.chap__h {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(30px, 3.6vw, 50px); line-height: 1.06; letter-spacing: -0.02em;
  margin-top: 16px;
}
.chap__h--display { font-size: clamp(38px, 5vw, 66px); }
.chap__p { color: var(--ink-soft); margin-top: 20px; font-size: clamp(16px, 1.3vw, 18px); }
.chap__cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.chap__legend { list-style: none; margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chap__legend li { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; color: var(--ink-soft); }
.chap__legend i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.chap__legend i[data-dot="hall"] { background: var(--charcoal); }
.chap__legend i[data-dot="elec"] { background: var(--brass); }
.chap__legend i[data-dot="floor"] { background: var(--blue); }
.chap__legend i[data-dot="cool"] { background: var(--blue-bright); }

.chap__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chap__tags li { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; padding: 7px 13px; border: 1px solid var(--hairline); border-radius: 2px; color: var(--ink-soft); }
.chap__links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; }
.chap__links a { font-family: var(--mono); font-size: 13px; color: var(--ink); border-bottom: 1px solid var(--blue); padding-bottom: 3px; transition: color 0.3s; }
.chap__links a:hover { color: var(--blue); }
.chap .btn { margin-top: 28px; }

.scroll-hint { display: inline-flex; align-items: center; gap: 10px; margin-top: 44px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); transition: opacity 0.4s; }
.scroll-hint i { width: 1px; height: 26px; background: var(--hairline); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; inset: 0; background: var(--blue); animation: railrun 1.8s var(--ease-inout) infinite; }
.scroll-hint.is-hidden { opacity: 0; }
@keyframes railrun { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(100%); } }

/* ══════════════════════ SVG SCENE STATE STYLING ══════════════════════ */
.scene .rack-face { fill: #fdfdfb; stroke: rgba(20,24,28,0.10); transition: fill 0.8s var(--ease), stroke 0.8s var(--ease); }
.scene .rack-top  { fill: #f3f0e9; stroke: rgba(20,24,28,0.08); transition: fill 0.8s var(--ease); }
.scene .rack-side { fill: #e7e3da; stroke: rgba(20,24,28,0.08); transition: fill 0.8s var(--ease); }
.scene .rack-door { fill: rgba(20,24,28,0.04); transition: fill 0.8s var(--ease); }
.scene .crac-face { fill: #f0ede6; stroke: var(--hairline); transition: fill 0.8s; }
.scene .crac-top { fill: #e7e3d9; }
.scene .crac-side { fill: #dcd6ca; }
.scene .elec-face { fill: #f0ede6; stroke: var(--hairline); transition: fill 0.8s, stroke 0.8s; }
.scene .elec-top { fill: #e7e3d9; }
.scene .elec-side { fill: #d8d2c5; }
.scene .led { fill: var(--blue-bright); opacity: 0; }
.scene .cable { fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transition: opacity 0.4s; filter: drop-shadow(0 0 3px var(--blue-glow)); }
.scene .underfloor { fill: var(--blue); opacity: 0; transition: opacity 0.9s var(--ease); filter: blur(3px); }
.scene .arrow-cold { stroke: var(--blue); fill: none; opacity: 0; transition: opacity 0.7s; }
.scene .arrow-hot { stroke: var(--hot-1); fill: none; opacity: 0; transition: opacity 0.7s; }
.scene .glass { fill: rgba(255,255,255,0.26); stroke: rgba(20,24,28,0.14); stroke-width: 0.8; }
.scene .post { stroke: #b5b0a5; stroke-width: 1.3; }
.scene .rail-line { stroke: #a8a398; stroke-width: 1.6; fill: none; }
.scene .canopy--cold { fill: url(#gGlass); stroke: rgba(255,255,255,0.75); stroke-width: 1; opacity: 0.45; transition: opacity 0.8s, filter 0.8s; }
.scene .canopy-rib { stroke: rgba(255,255,255,0.6); stroke-width: 0.8; opacity: 0.4; transition: opacity 0.8s; }
.scene .canopy--hot { fill: rgba(255,67,38,0.07); stroke: var(--hot-1); stroke-width: 0.8; opacity: 0; transition: opacity 0.8s; }
.scene .cage { fill: none; stroke: var(--brass); stroke-width: 0.9; opacity: 0; transition: opacity 0.8s; }
.scene .dimmable { transition: opacity 0.8s var(--ease); }

/* activation: chapters 1–5 share the powered state */
.scene:not([data-chapter="0"]) .rack-face { fill: url(#gRackF); stroke: #0b0e12; }
.scene:not([data-chapter="0"]) .rack-top  { fill: url(#gRackT); }
.scene:not([data-chapter="0"]) .rack-side { fill: #14171c; }
.scene:not([data-chapter="0"]) .rack-door { fill: rgba(255,255,255,0.05); }
.scene:not([data-chapter="0"]) .led { opacity: 1; animation: blink 3.4s steps(1) infinite; }
.scene:not([data-chapter="0"]) .cage { opacity: 0.55; }
.scene:not([data-chapter="0"]) .canopy--cold { opacity: 0.85; }
.scene:not([data-chapter="0"]) .canopy-rib { opacity: 0.8; }
@keyframes blink { 0%,92%{opacity:1;} 93%,96%{opacity:0.25;} 97%,100%{opacity:1;} }

.scene[data-chapter="1"] .underfloor { opacity: 0.5; }

/* chapter 2–4 : the followed cable (dashoffset scrubbed by JS) */
.scene[data-chapter="2"] .cable,
.scene[data-chapter="3"] .cable,
.scene[data-chapter="4"] .cable { opacity: 1; }

/* chapter 3 : electrical focus — hall recedes, the annex stays lit */
.scene[data-chapter="3"] .dimmable { opacity: 0.28; }
.scene[data-chapter="3"] .dim-elec { opacity: 1; }
.scene[data-chapter="3"] .elec-face { fill: #fff; stroke: var(--blue); }

/* chapter 4 : integrated systems — everything on, calm and connected */
.scene[data-chapter="4"] .underfloor { opacity: 0.5; }
.scene[data-chapter="4"] .canopy--cold { opacity: 1; }
.scene[data-chapter="4"] .arrow-cold,
.scene[data-chapter="4"] .arrow-hot { opacity: 0.45; }

/* chapter 5 : cold aisle */
.scene[data-chapter="5"] .arrow-cold { opacity: 1; animation: flow 2.2s linear infinite; }
.scene[data-chapter="5"] .canopy--cold { opacity: 1; stroke: var(--blue-bright); filter: drop-shadow(0 0 6px rgba(20,102,255,0.45)); }
.scene[data-chapter="5"] .underfloor { opacity: 0.7; }

/* chapter 6 : hot aisle */
.scene[data-chapter="6"] .arrow-hot { opacity: 1; animation: flow 2.2s linear infinite; }
.scene[data-chapter="6"] .canopy--hot { opacity: 1; }
.scene[data-chapter="6"] .underfloor { opacity: 0.25; }
@keyframes flow { 0%{opacity:0.2;} 50%{opacity:1;} 100%{opacity:0.2;} }

/* ══════════════════════ SERVICE TICKER ══════════════════════ */
.ticker {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  padding: 16px 0;
  background: var(--paper);
}
.ticker__track {
  display: inline-flex; align-items: center; gap: 34px;
  width: max-content; white-space: nowrap;
  animation: marquee 36s linear infinite;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-soft);
  padding-right: 34px;
}
.ticker__track i { width: 5px; height: 5px; background: var(--blue); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ══════════════════════ GENERIC SECTIONS ══════════════════════ */
.section { padding: clamp(90px, 13vh, 170px) var(--gx); max-width: var(--maxw); margin: 0 auto; }
.section__head { max-width: 760px; margin-bottom: clamp(48px, 7vh, 92px); }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ── SERVICES · a full-width engineering index (4 disciplines) ── */
.svc-board {
  list-style: none;
  border-top: 1px solid var(--hairline);
}
.svc {
  background: var(--paper);
  display: grid;
  grid-template-columns: 34px 56px 1fr auto;
  grid-template-rows: auto auto;
  align-items: start; gap: 8px 20px;
  padding: 30px 8px;
  border-bottom: 1px solid var(--hairline);
  position: relative;
  transition: background 0.4s var(--ease), padding 0.5s var(--ease);
  cursor: pointer;
}
.svc::before { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 2px; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform 0.5s var(--ease); }
.svc:hover, .svc:focus-visible { padding-left: 22px; background: var(--paper-2); }
.svc:hover::before, .svc:focus-visible::before { transform: scaleY(1); }
.svc__no { grid-column: 1; grid-row: 1; font-family: var(--mono); font-size: 13px; color: var(--ink-faint); padding-top: 4px; transition: color 0.3s; }
.svc:hover .svc__no { color: var(--blue); }
.svc__body { grid-column: 3; grid-row: 1; }
.svc__body h3 { font-family: var(--display); font-weight: 500; font-size: clamp(19px, 1.9vw, 25px); letter-spacing: -0.01em; }
.svc__body p { color: var(--ink-soft); font-size: 15px; margin-top: 8px; max-width: 58ch; }
.svc__sys {
  grid-column: 4; grid-row: 1;
  justify-self: end; align-self: start;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--ink-faint); text-align: right; line-height: 1.5;
  border: 1px solid var(--hairline); border-radius: 2px;
  padding: 5px 9px; width: max-content; max-width: 190px;
}
.svc__ar { grid-column: 4; grid-row: 2; font-family: var(--mono); color: var(--blue); justify-self: end; align-self: end; transition: transform 0.4s var(--ease); }
.svc:hover .svc__ar { transform: translateX(6px); }

/* ── service icons : line-drawn, themed, animate on click ── */
.svc__ic {
  grid-row: 1 / span 2; align-self: center;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--hairline); border-radius: 3px;
  background: #fff;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.2s var(--ease);
}
.svc:hover .svc__ic { border-color: rgba(20, 102, 255, 0.45); box-shadow: 0 0 16px -4px rgba(20, 102, 255, 0.35); }
.svc:active .svc__ic { transform: scale(0.93); }
.svc__ic svg { width: 26px; height: 26px; overflow: visible; }
.svc__ic .st { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.svc__ic .ac { stroke: var(--blue); }
.svc__ic .fa { fill: var(--blue); stroke: none; }

/* themed click animations, keyed by data-icon */
@keyframes icoDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes icoFlash { 0%, 100% { opacity: 1; } 20%, 60% { opacity: 0.12; } 40%, 80% { opacity: 1; } }
@keyframes icoWrench { 0% { transform: rotate(0); } 30% { transform: rotate(-26deg); } 60% { transform: rotate(13deg); } 100% { transform: rotate(0); } }
@keyframes icoBars { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes icoRise { 0% { transform: translateY(4px); opacity: 0.15; } 60% { opacity: 1; } 100% { transform: translateY(-3px); opacity: 0.9; } }
@keyframes icoFall { 0% { transform: translateY(-4px); opacity: 0.15; } 60% { opacity: 1; } 100% { transform: translateY(3px); opacity: 0.9; } }
.svc.is-play[data-icon="build"] .ic-draw,
.svc.is-play[data-icon="int"] .ic-draw,
.svc.is-play[data-icon="fm"] .ic-draw { stroke-dasharray: 1; animation: icoDraw 0.9s var(--ease) both; }
.svc.is-play[data-icon="mee"] .ic-bolt { animation: icoFlash 0.85s ease; }
.svc.is-play[data-icon="mtn"] svg { animation: icoWrench 0.8s var(--ease); }
.svc.is-play[data-icon="cage"] .ic-bars { transform-origin: 50% 0%; transform-box: fill-box; animation: icoBars 0.7s var(--ease); }
.svc.is-play[data-icon="hot"] .ic-arrows { animation: icoRise 0.9s ease; }
.svc.is-play[data-icon="cold"] .ic-arrows { animation: icoFall 0.9s ease; }

/* ── PROOF ── */
.proof__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.stat { background: var(--paper); padding: 30px 26px; position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease) 0.2s; }
.stat.is-in::after { transform: scaleX(1); }
.stat dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.stat .num { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 5vw, 66px); line-height: 1; margin: 14px 0 10px; font-variant-numeric: tabular-nums; }
.stat .num b { font-weight: inherit; }
.stat .num span { font-size: 0.4em; color: var(--blue); }
.stat p { font-size: 13px; color: var(--ink-soft); }
.proof__note { margin-top: 30px; font-family: var(--mono); font-size: 12px; color: var(--ink-faint); }

/* ── PROJECTS ── */
.feat { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; margin-bottom: 70px; }
.feat__media { aspect-ratio: 16 / 11; border: 1px solid var(--hairline); overflow: hidden; position: relative; background: var(--paper-2); }
.feat__media .mini-iso { transition: transform 1.2s var(--ease); }
.feat:hover .feat__media .mini-iso { transform: scale(1.03); }
.feat__scene, .proj__scene, .news__scene { position: absolute; inset: 0; }
.feat__cat, .proj__cat { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.feat__title { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -0.01em; margin: 14px 0 24px; }
.feat__specs { display: flex; gap: 34px; margin-bottom: 26px; }
.feat__specs dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.feat__specs dd { font-size: 15px; margin-top: 5px; }

.proj-list { border-top: 1px solid var(--hairline); }
.proj { display: grid; grid-template-columns: 54px 120px 1fr 40px; align-items: center; gap: 24px; padding: 22px 8px; border-bottom: 1px solid var(--hairline); transition: background 0.4s, padding 0.5s var(--ease); }
.proj:hover { background: var(--paper-2); padding-left: 20px; }
.proj__no { font-family: var(--mono); color: var(--ink-faint); font-size: 14px; }
.proj__scene { position: relative; height: 66px; border: 1px solid var(--hairline); overflow: hidden; background: var(--paper-2); }
.proj__body h4 { font-family: var(--display); font-weight: 500; font-size: clamp(16px, 1.7vw, 21px); margin-top: 5px; letter-spacing: -0.01em; }
.proj__ar { font-family: var(--mono); color: var(--blue); text-align: right; transition: transform 0.4s var(--ease); }
.proj:hover .proj__ar { transform: translateX(6px); }

/* ── QUBE · an engineering blueprint sheet, not a black slab ── */
.qube__sheet {
  position: relative;
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: center;
  border: 1px solid var(--hairline);
  background-color: #fbf9f5;
  background-image: var(--bpgrid);
  padding: clamp(40px, 6vw, 84px);
  box-shadow: 0 40px 90px -50px rgba(20, 102, 255, 0.18);
}
.qube__title { font-family: var(--display); font-weight: 600; font-size: clamp(42px, 6.4vw, 92px); letter-spacing: -0.03em; margin-top: 22px; }
.qube__title span { color: var(--ink-faint); font-weight: 400; font-size: 0.34em; letter-spacing: -0.01em; }
.qube__lead { max-width: 48ch; color: var(--ink-soft); font-size: clamp(16px, 1.4vw, 19px); margin: 20px 0 26px; }
.qube__specs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.qube__specs li { font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; padding: 7px 13px; border: 1px solid var(--hairline); border-radius: 2px; color: var(--ink-soft); background: rgba(255,255,255,0.65); }
.qube__iso { justify-self: center; width: clamp(280px, 32vw, 420px); position: relative; }

/* ── NEWS ── */
.news__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(30px, 5vw, 64px); }
.news__feat { display: block; }
.news__scene { position: relative; aspect-ratio: 16 / 10; border: 1px solid var(--hairline); overflow: hidden; background: var(--paper-2); }
.news__scene .mini-iso { transition: transform 1.2s var(--ease); }
.news__feat:hover .news__scene .mini-iso { transform: scale(1.03); }
.news__feat .news__body { padding-top: 26px; }
.news__meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.news__feat h3 { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.12; letter-spacing: -0.01em; margin: 12px 0 14px; }
.news__feat p { color: var(--ink-soft); font-size: 15px; max-width: 52ch; margin-bottom: 18px; }
.news__side { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--hairline); }
.news__item { padding: 24px 0; border-bottom: 1px solid var(--hairline); transition: padding 0.4s var(--ease); }
.news__item:hover { padding-left: 10px; }
.news__item h4 { font-family: var(--display); font-weight: 500; font-size: clamp(17px, 1.8vw, 22px); margin-top: 8px; letter-spacing: -0.01em; }
.news__all { margin-top: 24px; font-family: var(--mono); font-size: 13px; color: var(--blue); display: inline-flex; gap: 8px; }
.news__all span { transition: transform 0.4s var(--ease); }
.news__all:hover span { transform: translateX(5px); }

/* ── ABOUT ── */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.about__principles { list-style: none; margin-top: 8px; }
.about__principles li { display: grid; grid-template-columns: 48px 1fr; gap: 6px 16px; padding: 26px 0; border-top: 1px solid var(--hairline); }
.about__principles li:last-child { border-bottom: 1px solid var(--hairline); }
.about__principles span { font-family: var(--mono); font-size: 13px; color: var(--blue); grid-column: 1; }
.about__principles h4, .about__principles p { grid-column: 2; }
.about__principles h4 { font-family: var(--display); font-weight: 500; font-size: clamp(18px, 1.9vw, 23px); letter-spacing: -0.01em; }
.about__principles p { color: var(--ink-soft); font-size: 15px; margin-top: 6px; }

/* ── CONTACT ── */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__direct { margin-top: 46px; border-top: 1px solid var(--hairline); }
.contact__row { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--hairline); align-items: baseline; }
.contact__k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.contact__row a { color: var(--ink); border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s; }
.contact__row a:hover { color: var(--blue); border-color: var(--blue); }

.brief { border: 1px solid var(--hairline); padding: clamp(26px, 3vw, 44px); background: var(--paper-2); position: relative; }
.brief__progress { height: 2px; background: var(--hairline); margin-bottom: 34px; overflow: hidden; }
.brief__line { display: block; height: 100%; width: 33.33%; background: var(--blue); transition: width 0.6s var(--ease); }
.brief__step { border: 0; display: none; }
.brief__step.is-active { display: block; animation: fadein 0.5s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.brief__step legend { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 22px; display: flex; gap: 10px; align-items: center; }
.brief__step legend span { color: var(--blue); }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--hairline);
  padding: 10px 0; font-size: 16px; transition: border-color 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field textarea { resize: vertical; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); margin-bottom: 24px; }
.consent input { margin-top: 4px; accent-color: var(--blue); }
.brief__row { display: flex; gap: 12px; justify-content: space-between; }
.brief__done { text-align: center; padding: 30px 0; }
.brief__check { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 24px; margin-bottom: 20px; }
.brief__done h3 { font-family: var(--display); font-weight: 500; font-size: 28px; }
.brief__done p { color: var(--ink-soft); margin: 12px 0 22px; }

/* ══════════════════════ FINALE · PRD Chapter 14 ══════════════════════ */
.finale {
  position: relative;
  padding: clamp(110px, 18vh, 220px) var(--gx) clamp(140px, 22vh, 260px);
  text-align: center;
  overflow: hidden;
}
.finale__scene {
  position: absolute; left: 50%; bottom: -6%;
  transform: translateX(-50%);
  width: min(760px, 86vw);
  opacity: 0.5;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 45%);
          mask-image: linear-gradient(to top, transparent 0%, #000 45%);
}
.finale__inner { position: relative; }
.finale__inner .eyebrow { justify-content: center; }
.finale__h {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(34px, 5.4vw, 76px);
  line-height: 1.04; letter-spacing: -0.02em;
  margin: 22px auto 40px;
  max-width: 18ch;
}
.finale__h .lm > span { transform: translateY(112%); }
.finale__inner.is-in .lm > span { transform: none; }
.finale__inner.is-in .lm:nth-child(2) > span { transition-delay: 0.09s; }
.finale__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════ FOOTER ══════════════════════ */
.site-foot { background: var(--graphite); color: rgba(255,255,255,0.72); position: relative; }
.site-foot::before { content: ""; position: absolute; top: 0; left: var(--gx); right: var(--gx); height: 1px; background: linear-gradient(to right, var(--blue), transparent 40%); }
.foot__top { display: grid; grid-template-columns: 1.2fr 2fr; gap: clamp(40px, 6vw, 90px); padding: clamp(64px, 10vh, 120px) var(--gx) 60px; max-width: var(--maxw); margin: 0 auto; }
.foot__brand .brand__emblem { width: 40px; height: 40px; margin-bottom: 22px; }
.foot__stmt { font-family: var(--display); font-weight: 400; font-size: clamp(19px, 2vw, 26px); line-height: 1.3; color: #fff; letter-spacing: -0.01em; margin-bottom: 28px; max-width: 24ch; }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.foot__cols div { display: flex; flex-direction: column; gap: 12px; }
.foot__cols span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 6px; }
.foot__cols a { color: rgba(255,255,255,0.88); font-size: 14px; transition: color 0.3s; width: fit-content; }
.foot__cols a:hover { color: var(--blue-bright); }
.foot__base { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px var(--gx); border-top: 1px solid rgba(255,255,255,0.09); max-width: var(--maxw); margin: 0 auto; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: rgba(255,255,255,0.68); }
.foot__base a { transition: color 0.3s; }
.foot__base a:hover { color: #fff; }
.foot__tag { color: rgba(255,255,255,0.55); }

/* ══════════════════════ CUSTOM CURSOR ══════════════════════ */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue);
  pointer-events: none; z-index: 300;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s;
  opacity: 0;
  display: flex; align-items: center; justify-content: center;
}
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 34px; height: 34px; background: var(--blue-soft); border: 1px solid var(--blue); }
.cursor__label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; opacity: 0; transition: opacity 0.25s;
  white-space: nowrap;
}
.cursor.has-label { width: 58px; height: 58px; background: var(--blue); border: 0; }
.cursor.has-label .cursor__label { opacity: 1; }

/* mini scenes */
.mini-iso { width: 100%; height: 100%; }

/* ══════════════════════ RESPONSIVE ══════════════════════ */
@media (max-width: 1080px) {
  /* the journey stays pinned and interactive on mobile too:
     the model owns the upper stage, one chapter card at a time
     owns the lower stage — scroll drives the whole story before
     the page continues to About */
  .journey { height: 700vh; }
  .journey__sticky { grid-template-columns: 1fr; height: 100vh; height: 100svh; }
  .scene { inset: 9vh 0 40vh 0; transition: inset 1.4s var(--ease-inout); }
  .journey__sticky.is-cover .scene { inset: 48vh 0 2vh 0; }
  .scene__world { width: min(94%, 560px); transition: width 1.4s var(--ease-inout); }
  .slabel { font-size: 9px; }
  .chap { left: 6vw; right: 6vw; top: auto; bottom: 3.5vh; translate: none; max-width: none; }
  .journey__sticky.is-cover .chap[data-chap="0"] {
    top: clamp(70px, 9vh, 110px); bottom: auto;
    text-align: center;
  }
  .journey__sticky.is-cover .chap[data-chap="0"] .chap__p { margin-left: auto; margin-right: auto; max-width: 42ch; }
  .journey__sticky.is-cover .chap[data-chap="0"] .chap__cta { justify-content: center; }
  /* mobile: dots only (the text label crowded the header), tucked
     top-right below the header. Hidden on the cover where the centred
     chapter-00 eyebrow occupies that zone; shown on chapters 1–6. */
  .rail { left: auto; right: 16px; top: 74px; bottom: auto; }
  .rail__label { display: none; }
  .rail.is-cover { opacity: 0; pointer-events: none; }
  .qube__sheet { grid-template-columns: 1fr; }
  .qube__iso { width: min(300px, 76vw); }
  .feat, .proof__grid, .news__grid, .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .head__cta { display: none; }
  /* cover: compact copy so the CTAs never sit on top of the model */
  .journey__sticky.is-cover .scene { inset: 62vh 0 0 0; }
  .journey__sticky.is-cover .chap[data-chap="0"] { top: clamp(64px, 8vh, 96px); }
  .chap__h--display { font-size: 30px; }
  .journey__sticky.is-cover .chap[data-chap="0"] .chap__p { font-size: 15px; max-width: 36ch; margin-top: 12px; }
  .chap__cta { gap: 10px; margin-top: 18px; }
  .chap__cta .btn { padding: 11px 15px; font-size: 12px; }
  .scroll-hint { margin-top: 18px; }
  .menu__panel { grid-template-columns: 1fr; gap: 40px; overflow-y: auto; }
  .menu__aside { align-self: start; }
  .menu__scene { display: none; }
  .svc { grid-template-columns: 26px 42px 1fr auto; padding: 20px 16px; }
  .svc__ic { width: 40px; height: 40px; }
  .svc__ic svg { width: 22px; height: 22px; }
  .svc__sys { display: none; }
  .proj { grid-template-columns: 40px 1fr 28px; }
  .proj__scene { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .feat__specs { flex-wrap: wrap; gap: 20px; }
  .foot__cols { grid-template-columns: 1fr; }
  .cursor { display: none; }
  .ticker__track { animation-duration: 26s; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 24px 20px; }
}

/* ═══════════════════════════════════════════════════════════════
   v3 · THE ELECTRIC BLUEPRINT LAYER
   graph-paper texture, registration marks, ghost numerals,
   soft blue light — the page reads like a live engineering sheet
   ═══════════════════════════════════════════════════════════════ */

:root {
  --cross: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='9'><path d='M4.5 0V9M0 4.5H9' stroke='%2314181c' stroke-opacity='0.32' stroke-width='1'/></svg>");
  --bpgrid:
    repeating-linear-gradient(0deg,  rgba(20, 24, 28, 0.045) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(20, 24, 28, 0.045) 0 1px, transparent 1px 56px);
}

/* ── registration marks on technical frames ── */
.tframe { position: relative; }
.tframe::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image: var(--cross), var(--cross), var(--cross), var(--cross);
  background-repeat: no-repeat;
  background-position: 7px 7px, calc(100% - 7px) 7px, 7px calc(100% - 7px), calc(100% - 7px) calc(100% - 7px);
}

/* ── ghost section numerals : editorial technical index ── */
main { counter-reset: sec; }
main .section { counter-increment: sec; position: relative; }
main .section:not(.qube)::before {
  content: counter(sec, decimal-leading-zero);
  position: absolute; top: clamp(56px, 8vh, 104px); right: var(--gx);
  font-family: var(--display); font-weight: 600;
  font-size: clamp(88px, 11vw, 168px); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(20, 102, 255, 0.3);
  pointer-events: none; user-select: none;
  transition: -webkit-text-stroke-color 0.6s var(--ease), text-shadow 0.6s var(--ease), transform 0.9s var(--ease);
}
/* entering a section wakes its numeral: white fill with a soft
   blue halo around it — same light language as the partner chips */
main .section:not(.qube):hover::before {
  color: #fff;
  -webkit-text-stroke-color: rgba(20, 102, 255, 0.5);
  text-shadow:
    0 0 14px rgba(20, 102, 255, 0.28),
    0 0 46px rgba(20, 102, 255, 0.3),
    0 16px 44px rgba(20, 102, 255, 0.22);
  transform: translateY(-8px);
}

/* ── the journey plays on graph paper, lit from within ── */
.journey__sticky::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(52vw 52vw at 82% -8%, rgba(20, 102, 255, 0.075), transparent 62%),
    var(--bpgrid);
  -webkit-mask-image: radial-gradient(130% 110% at 50% 42%, #000 52%, transparent 98%);
          mask-image: radial-gradient(130% 110% at 50% 42%, #000 52%, transparent 98%);
}

/* soft blue light pooling beneath the facility */
.scene__world svg { position: relative; }
.scene__world::before {
  content: ""; position: absolute;
  left: 4%; right: 4%; top: 52%; height: 42%;
  background: radial-gradient(ellipse at center, rgba(20, 102, 255, 0.13), transparent 66%);
  filter: blur(14px);
  opacity: 0.55;
  transition: opacity 1s var(--ease);
}
.scene:not([data-chapter="0"]) .scene__world::before { opacity: 1; }

/* the finale glows too — the operational room at rest */
.finale::before {
  content: ""; position: absolute; left: 50%; bottom: -10%;
  width: 70vw; height: 46vh; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(20, 102, 255, 0.09), transparent 65%);
  pointer-events: none;
}

/* ── the thread : the blue line literally travels the page ── */
.thread {
  position: fixed; left: calc(var(--gx) * 0.42); top: 0; bottom: 0; width: 1px;
  background: var(--hairline-2);
  z-index: 40; pointer-events: none;
}
.thread i {
  position: absolute; top: 0; left: -2.5px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px 2px var(--blue-glow), 0 0 26px 6px rgba(20, 102, 255, 0.14);
}
.thread i::after {
  content: ""; position: absolute; left: 2px; bottom: 100%;
  width: 1px; height: 42px;
  background: linear-gradient(to top, var(--blue), transparent);
  opacity: 0.6;
}

/* ── blue light on everything that is "live" ── */
.pageline i { box-shadow: 0 0 10px rgba(20, 102, 255, 0.6); }
.loader__fill { box-shadow: 0 0 12px rgba(20, 102, 255, 0.55); }
.brief__line { box-shadow: 0 0 10px rgba(20, 102, 255, 0.5); }
.eyebrow .tick { box-shadow: 0 0 9px rgba(20, 102, 255, 0.55); }
.ticker__track i { box-shadow: 0 0 8px rgba(20, 102, 255, 0.55); }
.rail__dots i.is-now { box-shadow: 0 0 10px 2px var(--blue-glow); }
.svc::before { box-shadow: 0 0 12px rgba(20, 102, 255, 0.55); }
.stat.is-in::after { box-shadow: 0 0 12px rgba(20, 102, 255, 0.45); }
.site-foot::before { box-shadow: 0 0 16px rgba(20, 102, 255, 0.35); }
.brief__check { box-shadow: 0 0 26px rgba(20, 102, 255, 0.45); }
.chap__h em { text-shadow: 0 0 30px rgba(20, 102, 255, 0.32); }
.finale__h em { text-shadow: 0 0 30px rgba(20, 102, 255, 0.32); }

.btn--solid:hover { box-shadow: 0 10px 34px -8px rgba(20, 102, 255, 0.55); }
.btn--ghost:hover { box-shadow: 0 0 22px rgba(20, 102, 255, 0.14); }
.btn--light:hover { box-shadow: 0 10px 34px -8px rgba(20, 102, 255, 0.55); }
.nav__link::after { box-shadow: 0 0 8px rgba(20, 102, 255, 0.5); }

/* frames answer hover with a blue edge, not a lift */
.feat:hover .feat__media,
.news__feat:hover .news__scene { border-color: rgba(20, 102, 255, 0.45); box-shadow: 0 0 34px -6px rgba(20, 102, 255, 0.22); }
.feat__media, .news__scene, .svc-preview { transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.svc-preview { box-shadow: 0 24px 60px -40px rgba(20, 102, 255, 0.25); }

@media (max-width: 1080px) {
  .thread { display: none; }
  main .section:not(.qube)::before { font-size: clamp(70px, 12vw, 110px); top: 40px; }
}

/* ═══════════════════════════════════════════════════════════════
   v4 · THE OPERATIONAL LAYER
   footer becomes a live operations panel; the journey gets a
   scanline + coordinates HUD; media reveals through masks
   ═══════════════════════════════════════════════════════════════ */

/* ── footer : the operational layer ── */
.site-foot {
  overflow: hidden;
  background-image:
    repeating-linear-gradient(0deg,  rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 56px);
}
.foot__status {
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  max-width: var(--maxw); margin: 0 auto;
  padding: 16px var(--gx);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-variant-numeric: tabular-nums;
}
.foot__pulse { display: inline-flex; align-items: center; gap: 10px; }
.foot__pulse i {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--green);
  box-shadow: 0 0 10px rgba(47, 174, 106, 0.75);
  animation: heartbeat 2.6s ease-in-out infinite;
}
@keyframes heartbeat { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.foot__clock { color: rgba(255, 255, 255, 0.7); }

/* circuit nodes on every column heading */
.foot__cols span::before {
  content: ""; display: inline-block;
  width: 5px; height: 5px; border-radius: 50%;
  border: 1px solid var(--blue);
  margin-right: 9px; vertical-align: 1px;
  box-shadow: 0 0 8px rgba(20, 102, 255, 0.55);
}
.foot__brand .brand__emblem svg { filter: drop-shadow(0 0 12px rgba(154, 145, 60, 0.35)); }

/* ghost wordmark — the deepest layer of the sheet */
.foot__mark {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(110px, 20vw, 320px);
  line-height: 0.72; letter-spacing: -0.02em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.055);
  user-select: none; pointer-events: none;
  margin-bottom: -0.08em;
}

/* ── journey scanline : the system sweeps itself on every chapter ── */
.scene::after {
  content: ""; position: absolute; left: 4%; right: 4%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20, 102, 255, 0.55), transparent);
  box-shadow: 0 0 14px rgba(20, 102, 255, 0.35);
  opacity: 0; pointer-events: none;
}
.scene.is-scan::after { animation: scan 1s var(--ease-inout); }
@keyframes scan {
  0%   { opacity: 0; transform: translateY(12vh); }
  14%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(78vh); }
}

/* ── coordinates HUD : live position readout ── */
.scene-hud {
  position: absolute; left: var(--gx); top: 104px; z-index: 5;
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.scene-hud i {
  width: 6px; height: 6px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--blue);
  box-shadow: 0 0 8px rgba(20, 102, 255, 0.5);
}
.scene-hud span { transition: opacity 0.3s ease; }
.scene-hud.is-swap span { opacity: 0; }

/* ── media enters through a controlled mask (PRD image reveal) ── */
.feat__media, .news__scene { clip-path: inset(0 0 100% 0); transition: clip-path 0.9s var(--ease) 0.15s, border-color 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.feat.is-in .feat__media, .news__feat.is-in .news__scene { clip-path: inset(0 0 0 0); }

/* ── the page hardware: scrollbar in brand ── */
html { scrollbar-width: thin; scrollbar-color: rgba(20, 24, 28, 0.35) var(--paper-2); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: rgba(20, 24, 28, 0.28); border: 2px solid var(--paper-2); }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ticker yields to the reader */
.ticker:hover .ticker__track { animation-play-state: paused; }

@media (max-width: 1080px) {
  .scene-hud { display: none; }
  .foot__mark { font-size: clamp(80px, 24vw, 180px); }
}

/* ═══════════════════════════════════════════════════════════════
   v5 · SECTION ATMOSPHERES
   every screen gets its own background character — bands, hatches,
   editorial rules, rings — with slow, gentle light movement.
   rhythm: rich → calm → rich, never plain-meets-plain
   ═══════════════════════════════════════════════════════════════ */

.proof, .projects, .news, .about, .contact { isolation: isolate; }

/* shared slow movements */
@keyframes glowdrift {
  from { background-position: 82% -6%, 0 0; }
  to   { background-position: 58% 14%, 0 0; }
}
@keyframes ringdrift {
  from { background-position: 0px 0px; }
  to   { background-position: 30px 42px; }
}
@keyframes bob {
  from { transform: translateY(-4px); }
  to   { transform: translateY(5px); }
}

/* ── PROOF · a full-bleed workbench band with drafting hatch ── */
.proof::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw;
  transform: translateX(-50%);
  z-index: -1; pointer-events: none;
  background-color: var(--paper-2);
  background-image:
    radial-gradient(circle, rgba(20, 102, 255, 0.07), transparent 62%),
    repeating-linear-gradient(45deg, rgba(20, 24, 28, 0.025) 0 1px, transparent 1px 16px);
  background-size: 56vw 56vw, auto;
  background-repeat: no-repeat, repeat;
  background-position: 82% -6%, 0 0;
  border-top: 1px solid var(--hairline-2);
  border-bottom: 1px solid var(--hairline-2);
  animation: glowdrift 26s ease-in-out infinite alternate;
}

/* ── PROJECTS · full-bleed band with an isometric floor grid ── */
.projects::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw;
  transform: translateX(-50%);
  z-index: -1; pointer-events: none;
  background-color: #edeae2;
  background-image:
    repeating-linear-gradient(30deg,  rgba(20, 24, 28, 0.05) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(150deg, rgba(20, 24, 28, 0.05) 0 1px, transparent 1px 40px);
  border-top: 1px solid var(--hairline-2);
  border-bottom: 1px solid var(--hairline-2);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.projects { isolation: isolate; }

/* ── NEWS · ruled editorial paper ── */
.news::after {
  content: ""; position: absolute; inset: 0;
  z-index: -1; pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(20, 24, 28, 0.03) 0 1px, transparent 1px 44px);
  -webkit-mask-image: linear-gradient(to right, transparent 8%, #000 55%);
          mask-image: linear-gradient(to right, transparent 8%, #000 55%);
}

/* ── ABOUT · plain paper, like Services — a calm reading moment ── */

/* ── CONTACT · the conversation happens on the drafting table ── */
.contact::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw;
  transform: translateX(-50%);
  z-index: -1; pointer-events: none;
  background-color: #f2efe8;
  background-image:
    radial-gradient(circle, rgba(20, 102, 255, 0.065), transparent 60%),
    var(--bpgrid);
  background-size: 52vw 52vw, auto, auto;
  background-repeat: no-repeat, repeat, repeat;
  background-position: 12% 108%, 0 0, 0 0;
  border-top: 1px solid var(--hairline-2);
  animation: glowdrift 30s ease-in-out infinite alternate-reverse;
}

/* ── gentle life on standing objects ── */
.finale::before { animation: bob 9s ease-in-out infinite alternate; }

/* ── FOOTER · a lighter slate, still the final layer ── */
.site-foot {
  background-color: #303842;
  background-image:
    repeating-linear-gradient(0deg,  rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 56px);
}
.foot__mark { -webkit-text-stroke-color: rgba(255, 255, 255, 0.075); }
.foot__status { border-bottom-color: rgba(255, 255, 255, 0.1); }
.foot__base { border-top-color: rgba(255, 255, 255, 0.11); }

/* ═══════════════════════════════════════════════════════════════
   v6 · PRESS DESK & SYSTEM DIAGRAM
   News becomes an engineering press sheet; About becomes a
   connected system diagram; drafting details across the page
   ═══════════════════════════════════════════════════════════════ */

@keyframes slowspin { to { transform: rotate(360deg); } }

/* ── NEWS · the engineering press desk ── */
.news::after {
  background-image: repeating-linear-gradient(0deg, rgba(20, 24, 28, 0.05) 0 1px, transparent 1px 44px);
}
.news__grid { position: relative; }
/* the editor's margin rule */
.news__grid::before {
  content: ""; position: absolute; left: -28px; top: -6px; bottom: -6px; width: 1px;
  background: linear-gradient(to bottom, rgba(20, 102, 255, 0.4), rgba(20, 102, 255, 0.06));
}
.news__no { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--blue); display: block; margin-bottom: 6px; }
.news__item { position: relative; }

/* rotating module stamp lives on the QUBE blueprint sheet */
.news__feat { position: relative; }
.qube__stamp {
  position: absolute; top: -30px; right: -26px;
  width: 108px; height: 108px; z-index: 3;
  animation: slowspin 44s linear infinite;
  pointer-events: none;
}
.qube__stamp svg { width: 100%; height: 100%; }

/* ── ABOUT · the company as a connected system ── */
/* the three principles share one blue spine */
.about__principles { position: relative; padding-left: 30px; }
.about__principles::before {
  content: ""; position: absolute; left: 4px; top: 34px; bottom: 34px; width: 1px;
  background: linear-gradient(to bottom, var(--blue), rgba(20, 102, 255, 0.1));
}
.about__principles li { position: relative; }
.about__principles li::after {
  content: ""; position: absolute; left: -29px; top: 34px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--blue);
  box-shadow: 0 0 8px rgba(20, 102, 255, 0.45);
}

/* ── drafting details across the page ── */
/* ghost buttons answer hover with blueprint corner brackets */
.btn--ghost::before, .btn--ghost::after {
  content: ""; position: absolute; width: 7px; height: 7px;
  border: 1px solid var(--blue);
  opacity: 0; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn--ghost::before { top: 3px; left: 3px; border-right: 0; border-bottom: 0; transform: translate(4px, 4px); }
.btn--ghost::after  { bottom: 3px; right: 3px; border-left: 0; border-top: 0; transform: translate(-4px, -4px); }
.btn--ghost:hover::before, .btn--ghost:hover::after { opacity: 1; transform: translate(0, 0); }

/* measurement ruler along the featured-project frame */
.feat__media::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9px; z-index: 2;
  background-image: repeating-linear-gradient(90deg, rgba(20, 24, 28, 0.3) 0 1px, transparent 1px 26px);
  opacity: 0.5; pointer-events: none;
}

/* the brief's three stages are visible nodes on the line */
.brief__progress { position: relative; overflow: visible; }
.brief__progress::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 9px;
  transform: translateY(-50%); pointer-events: none;
  background-image:
    radial-gradient(circle, var(--ink-faint) 2.2px, transparent 2.7px),
    radial-gradient(circle, var(--ink-faint) 2.2px, transparent 2.7px),
    radial-gradient(circle, var(--ink-faint) 2.2px, transparent 2.7px);
  background-size: 9px 9px; background-repeat: no-repeat;
  background-position: 0% 50%, 50% 50%, 100% 50%;
}

.proj:hover .proj__no { color: var(--blue); }

@media (max-width: 1080px) {
  .news__grid::before { display: none; }
}
@media (max-width: 720px) {
  .qube__stamp { display: none; }
}

/* ── NEWS PAGE · pagination + closing CTA band ── */
.pager {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: clamp(36px, 5vh, 60px);
  font-family: var(--mono); font-size: 13px;
}
.pager__info { color: var(--ink-faint); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.pager__nums { display: flex; gap: 6px; align-items: center; }
.pager__nums a {
  min-width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; border-radius: 2px;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.pager__nums a:hover { color: var(--blue); border-color: var(--hairline); }
.pager__nums a.is-active { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 12px rgba(20, 102, 255, 0.14); }
.pager__next { padding: 0 14px; }

.cta-band { text-align: center; }
.cta-band .section__title { max-width: 20ch; margin-left: auto; margin-right: auto; }
.cta-band .btn { margin-top: 34px; }

/* ═══════════════════════════════════════════════════════════════
   v7 · THE NEWS ARCHIVE
   multi-story editorial index with category filters;
   News (05) and About (06) get clearly different backgrounds
   ═══════════════════════════════════════════════════════════════ */

/* ── category filters : thin blue line marks the active one ── */
.news-index { margin-top: clamp(48px, 7vh, 80px); }
.news-filter {
  display: flex; gap: 26px; flex-wrap: wrap;
  padding-bottom: 18px; border-bottom: 1px solid var(--hairline);
}
.news-filter button {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint);
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.news-filter button:hover { color: var(--ink); }
.news-filter button.is-active { color: var(--ink); border-bottom-color: var(--blue); }

/* ── editorial rows : image alternates left / right ── */
.nrow {
  display: grid;
  grid-template-columns: 54px 132px 1fr 60px 30px;
  align-items: center; gap: 24px;
  padding: 24px 8px;
  border-bottom: 1px solid var(--hairline);
  transition: background 0.4s var(--ease), padding 0.5s var(--ease);
}
.nrow:hover { background: rgba(255, 255, 255, 0.55); padding-left: 20px; }
.nrow[hidden] { display: none; }
.nrow__no { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--ink-faint); transition: color 0.3s; }
.nrow:hover .nrow__no { color: var(--blue); }
.nrow__scene { position: relative; height: 78px; border: 1px solid var(--hairline); overflow: hidden; background: var(--paper-2); }
.nrow__body h4 { font-family: var(--display); font-weight: 500; font-size: clamp(17px, 1.8vw, 22px); letter-spacing: -0.01em; margin-top: 6px; }
.nrow__body p { color: var(--ink-soft); font-size: 14px; margin-top: 5px; max-width: 60ch; }
.nrow__read { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); text-align: right; }
.nrow__ar { font-family: var(--mono); color: var(--blue); text-align: right; transition: transform 0.4s var(--ease); }
.nrow:hover .nrow__ar { transform: translateX(6px); }

/* every second story mirrors: image moves to the right side */
.nrow:nth-of-type(even) { grid-template-columns: 54px 1fr 132px 60px 30px; }
.nrow:nth-of-type(even) .nrow__no    { order: 0; }
.nrow:nth-of-type(even) .nrow__body  { order: 1; }
.nrow:nth-of-type(even) .nrow__scene { order: 2; }
.nrow:nth-of-type(even) .nrow__read  { order: 3; }
.nrow:nth-of-type(even) .nrow__ar    { order: 4; }

/* ── NEWS (05) : warm editorial paper — ruled lines + column rule ── */
.news::after {
  background-image:
    linear-gradient(90deg, transparent calc(58% - 1px), rgba(20, 24, 28, 0.05) 58%, transparent calc(58% + 1px)),
    repeating-linear-gradient(0deg, rgba(20, 24, 28, 0.05) 0 1px, transparent 1px 44px);
}

@media (max-width: 720px) {
  .nrow, .nrow:nth-of-type(even) { grid-template-columns: 40px 1fr 28px; }
  .nrow__scene, .nrow__read { display: none; }
  .news-filter { gap: 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   v9 · COVER → CONTROL ROOM
   chapter 0 opens as a centered cinematic cover — giant ghost word,
   model center-stage — then the stage morphs into the split
   scene-left / copy-right reading layout as the journey begins
   ═══════════════════════════════════════════════════════════════ */

.journey__ghost {
  position: absolute; left: 50%; top: 27vh; translate: -50% 0;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(140px, 19vw, 290px); line-height: 1; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(20, 24, 28, 0.055);
  pointer-events: none; user-select: none;
  transition: opacity 0.9s var(--ease);
}
.journey__sticky:not(.is-cover) .journey__ghost { opacity: 0; }

.scene-cap {
  position: absolute; right: var(--gx); bottom: 40px; z-index: 5;
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint);
}
.scene-cap i { width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid var(--brass); flex: none; }

@media (min-width: 1081px) {
  /* the stage morphs between cover and reading layouts — all three
     motions share one duration/easing so they move as a single piece */
  .scene { transition: inset 1.4s var(--ease-inout); will-change: inset; }
  .scene__world { transition: width 1.4s var(--ease-inout); }
  .journey__sticky.is-cover .scene { inset: 20vh 0 0 0; }
  .journey__sticky.is-cover .scene__world { width: min(76%, 900px); }

  .journey__sticky.is-cover .chap[data-chap="0"] {
    left: 50%; right: auto; top: clamp(84px, 11vh, 150px); translate: -50% 0;
    width: min(860px, 86vw); max-width: none;
    text-align: center;
  }
  .journey__sticky.is-cover .chap[data-chap="0"] .chap__p { margin-left: auto; margin-right: auto; max-width: 62ch; }
  .journey__sticky.is-cover .chap[data-chap="0"] .chap__cta { justify-content: center; }

  /* ghost chapter numerals tie the copy to the thread */
  .chap::before {
    content: attr(data-num);
    position: absolute; top: -86px; left: -10px; z-index: -1;
    font-family: var(--display); font-weight: 600;
    font-size: 150px; line-height: 1;
    color: transparent; -webkit-text-stroke: 1.2px rgba(20, 102, 255, 0.24);
    pointer-events: none;
  }
  .chap[data-chap="0"]::before { display: none; }
}

@media (max-width: 1080px) {
  .journey__ghost, .scene-cap { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   v12 · REAL NEWS + FLOATING QUBE
   photo-driven news (mono on home, colour on the news page),
   article reading page, and the enlarged QUBE with a floating logo
   ═══════════════════════════════════════════════════════════════ */

/* ── news photos fill their frames ── */
.news__scene img, .nrow__scene img, .article__hero img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
}
.news__feat:hover .news__scene img { transform: scale(1.04); }
.nrow:hover .nrow__scene img { transform: scale(1.05); }

/* ── HOME news module : black & white, colour blooms on hover ── */
.news--mono .news__scene img,
.news--mono .nrow__scene img { filter: grayscale(1) contrast(1.02); }
.news--mono .news__feat:hover .news__scene img,
.news--mono .nrow:hover .nrow__scene img { filter: grayscale(0) contrast(1); }
.news--mono .news-index { margin-top: clamp(30px, 4vh, 52px); }

/* ── ARTICLE reading page ── */
.article { max-width: 900px; margin: 0 auto; }
.article__head { max-width: 760px; }
.article__title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(30px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -0.02em;
  margin: 20px 0 22px;
}
.article__meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-faint);
}
.article__meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-faint); }
.article__hero {
  margin: clamp(34px, 5vh, 60px) 0;
  aspect-ratio: 16 / 8.5; overflow: hidden;
  border: 1px solid var(--hairline); background: var(--paper-2);
}
.article__body { max-width: 68ch; }
.article__body p {
  font-size: clamp(16px, 1.35vw, 19px); line-height: 1.75; color: var(--ink-soft);
  margin-bottom: 1.25em;
}
.article__body p:first-child { font-size: clamp(18px, 1.6vw, 22px); color: var(--ink); line-height: 1.6; }
.article__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: clamp(40px, 6vh, 70px); padding-top: 28px; border-top: 1px solid var(--hairline);
}

/* ── QUBE : an openable module — hover/tap lifts the lid, the glass
       clears, and the live racks inside are revealed ── */
.qube__cube { transform: rotate(-4deg); cursor: pointer; }
.qube__cube svg { width: 100%; height: auto; overflow: visible; }
.qm-lid { transition: transform 0.9s var(--ease-inout); }
.qm-walls { transition: opacity 0.9s var(--ease-inout); }
.qube__cube:hover .qm-lid,
.qube__cube.is-open .qm-lid { transform: translateY(-34px); }
.qube__cube:hover .qm-walls,
.qube__cube.is-open .qm-walls { opacity: 0.18; }
.qm-led { fill: var(--blue-bright); animation: blink 3.2s steps(1) infinite; }
.qube__hint {
  display: block; text-align: center; margin-top: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint);
  transition: color 0.4s var(--ease);
}
.qube__iso:hover .qube__hint { color: var(--blue); }

/* ── ABOUT (01) · perforated drafting-paper band, distinct from Services ── */
.about::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw;
  transform: translateX(-50%);
  z-index: -1; pointer-events: none;
  background-color: #f0ede6;
  background-image: radial-gradient(circle, rgba(20, 24, 28, 0.055) 1px, transparent 1.5px);
  background-size: 24px 24px;
  border-top: 1px solid var(--hairline-2);
  border-bottom: 1px solid var(--hairline-2);
}

/* ═══════════════════════════════════════════════════════════════
   v16 · PARTNERS & END CUSTOMERS
   two logo rows drift in opposite directions; logos sit muted &
   monochrome, then bloom to full colour on hover (rows pause too)
   ═══════════════════════════════════════════════════════════════ */
.partners__wall {
  position: relative;
  display: flex; flex-direction: column; gap: clamp(14px, 1.8vh, 22px);
  overflow: hidden;
  padding: clamp(8px, 1.5vh, 20px) 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-row {
  display: flex; align-items: stretch;
  gap: clamp(14px, 1.6vw, 22px);
  width: max-content; will-change: transform;
}
.logo-row--a { animation: marquee 60s linear infinite; }
.logo-row--b { animation: marquee 54s linear infinite reverse; }
.partners__wall:hover .logo-row { animation-play-state: paused; }

/* each logo rests on a hairline tile that lights blue on hover */
.logo-chip {
  flex: none;
  display: flex; align-items: center; justify-content: center;
  width: clamp(168px, 18vw, 232px);
  height: clamp(92px, 10vw, 128px);
  padding: 0 22px;
  border: 1px solid var(--hairline);
  border-radius: 3px;
  background: var(--paper);
  position: relative;
  transition: border-color 0.45s var(--ease), box-shadow 0.55s var(--ease), background 0.45s var(--ease), transform 0.55s var(--ease);
}
.logo-chip::after {
  content: ""; position: absolute; left: 10px; top: 10px;
  width: 5px; height: 5px; border-radius: 50%;
  border: 1px solid var(--hairline);
  transition: border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.logo-chip img {
  max-height: clamp(38px, 4vw, 52px); max-width: 78%;
  width: auto; object-fit: contain;
  filter: grayscale(1) contrast(1.02);
  opacity: 0.5;
  transition: filter 0.45s var(--ease), opacity 0.45s var(--ease);
}
.logo-chip img.logo--tall { max-height: clamp(56px, 6.2vw, 82px); max-width: 60%; }
.logo-chip:hover {
  border-color: var(--blue);
  background: #fff;
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(20,102,255,0.35) inset,
              0 16px 40px -16px rgba(20,102,255,0.55),
              0 0 26px -6px rgba(20,102,255,0.3);
}
.logo-chip:hover::after { border-color: var(--blue); box-shadow: 0 0 8px rgba(20,102,255,0.6); }
.logo-chip:hover img { filter: grayscale(0); opacity: 1; }

/* ═══════════════════════════════════════════════════════════════
   v18 · THE ROOM IS ALIVE
   status LEDs across the interface, data pulses on the thread —
   the whole page carries the heartbeat of a running facility
   ═══════════════════════════════════════════════════════════════ */

/* status LEDs beside every eyebrow — rack-style indicators */
@keyframes ledblink { 0%, 70% { opacity: 0.22; } 76%, 86% { opacity: 1; } 92%, 100% { opacity: 0.22; } }
.led-strip { display: inline-flex; gap: 4px; margin-left: 8px; align-items: center; }
.led-strip i { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); opacity: 0.22; animation: ledblink 3s infinite; }
.led-strip i:nth-child(2) { background: var(--green); animation-delay: 1s; }
.led-strip i:nth-child(3) { animation-delay: 2s; }

/* each stat card carries its own status light */
.stat::before {
  content: ""; position: absolute; top: 14px; right: 14px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green); opacity: 0.25;
  animation: ledblink 3.6s infinite;
}
.stat:nth-child(2)::before { background: var(--blue); animation-delay: 0.9s; }
.stat:nth-child(3)::before { animation-delay: 1.8s; }
.stat:nth-child(4)::before { background: var(--blue); animation-delay: 2.7s; }

/* data pulses travel down the thread line */
@keyframes threadpulse {
  0% { transform: translateY(-40px); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(100vh); opacity: 0; }
}
.thread::after {
  content: ""; position: absolute; left: -1px; top: 0;
  width: 3px; height: 30px; border-radius: 2px;
  background: linear-gradient(to bottom, transparent, var(--blue));
  animation: threadpulse 7s linear infinite;
}

/* brief success actions */
.brief__done-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }

/* ═══════════════════════════════════════════════════════════════
   v20 · ABOUT SYSTEM VIEW + BRIEF ROUTE
   About: a live rack elevation that answers the three principles.
   Contact: the brief travels a drawn route from You to PAWA JKT.
   ═══════════════════════════════════════════════════════════════ */

/* ── CONTACT · the brief's transmission route ── */
.brief-route {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; column-gap: 12px;
  margin-top: 30px; padding: 16px 18px 13px;
  border: 1px solid var(--hairline); background: #fff;
}
.brief-route svg { width: 100%; height: 26px; overflow: visible; }
.br-track { fill: none; stroke: var(--hairline); stroke-width: 1.5; }
.br-line {
  fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 0.82;
  transition: stroke-dashoffset 0.9s var(--ease-inout);
  filter: drop-shadow(0 0 4px var(--blue-glow));
}
.br-node {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); white-space: nowrap;
}
.br-node i { width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--blue); background: var(--paper); flex: none; transition: border-color 0.4s, background 0.4s, box-shadow 0.4s; }
.br-node--hq i { border-color: var(--ink-faint); }
.brief-route.is-sent .br-node--hq i {
  border-color: var(--green); background: var(--green);
  box-shadow: 0 0 10px rgba(47, 174, 106, 0.7);
  animation: heartbeat 2s ease-in-out infinite;
}
.br-status {
  grid-column: 1 / -1; margin-top: 10px;
  font-family: var(--mono); font-weight: 400; font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint);
  transition: color 0.4s;
}
.brief-route.is-sent .br-status { color: var(--green); }

/* ═══════════════════════════════════════════════════════════════
   v19 · SERVICE DETAIL PAGES (service.html?s=slug)
   the tile's icon becomes the hero — large, slowly looping
   ═══════════════════════════════════════════════════════════════ */
.svc-page { position: relative; max-width: 1100px; margin: 0 auto; }

.svc-close {
  position: absolute; top: -8px; right: 0; z-index: 5;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--hairline); border-radius: 3px;
  font-size: 22px; line-height: 1; color: var(--ink-soft); background: #fff;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.5s var(--ease), box-shadow 0.4s var(--ease);
}
.svc-close:hover {
  color: var(--blue); border-color: var(--blue);
  transform: rotate(90deg);
  box-shadow: 0 0 22px -4px rgba(20, 102, 255, 0.4);
}

.svc-hero {
  display: grid; grid-template-columns: 1fr auto;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding-right: 60px;
  margin-bottom: clamp(40px, 6vh, 64px);
}
.svc-hero__title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(34px, 4.8vw, 62px); line-height: 1.04; letter-spacing: -0.02em;
  margin: 18px 0 14px;
}
.svc-hero__tag { color: var(--ink-soft); font-size: clamp(17px, 1.6vw, 21px); max-width: 44ch; }

/* the big icon: same drawing, hero scale, soft blue ambience */
.svc-hero__ic {
  width: clamp(160px, 22vw, 230px); aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--hairline); border-radius: 5px;
  background: #fff;
  box-shadow: 0 30px 70px -30px rgba(20, 102, 255, 0.35), 0 0 0 1px rgba(20, 102, 255, 0.06);
}
.svc-hero__ic svg { width: 54%; height: 54%; overflow: visible; }
.svc-hero__ic .st { fill: none; stroke: var(--ink); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.svc-hero__ic .ac { stroke: var(--blue); }
.svc-hero__ic .fa { fill: var(--blue); stroke: none; }

/* slow, elegant loops — one per theme */
@keyframes heroDraw { 0% { stroke-dashoffset: 1; } 42% { stroke-dashoffset: 0; } 58% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes heroPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes heroSway { 0%, 100% { transform: rotate(0); } 35% { transform: rotate(-9deg); } 70% { transform: rotate(5deg); } }
@keyframes heroRise { 0% { transform: translateY(5px); opacity: 0; } 35% { opacity: 1; } 75% { transform: translateY(-5px); opacity: 0; } 100% { opacity: 0; } }
@keyframes heroFall { 0% { transform: translateY(-5px); opacity: 0; } 35% { opacity: 1; } 75% { transform: translateY(5px); opacity: 0; } 100% { opacity: 0; } }
.svc-hero .ic-draw { stroke-dasharray: 1; animation: heroDraw 8s ease-in-out infinite; }
.svc-hero[data-icon="mee"] .ic-bolt { animation: heroPulse 3.8s ease-in-out infinite; }
.svc-hero[data-icon="mtn"] svg { animation: heroSway 6s var(--ease-inout) infinite; }
.svc-hero[data-icon="cage"] .ic-bars { animation: heroPulse 5s ease-in-out infinite; }
.svc-hero[data-icon="hot"] .ic-arrows { animation: heroRise 4s ease-in-out infinite; }
.svc-hero[data-icon="cold"] .ic-arrows { animation: heroFall 4s ease-in-out infinite; }

.svc-detail { display: grid; grid-template-columns: 1fr 300px; gap: clamp(36px, 5vw, 80px); align-items: start; }
.svc-detail__body p { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.75; color: var(--ink-soft); margin-bottom: 1.2em; max-width: 62ch; }
.svc-detail__body p:first-child { font-size: clamp(18px, 1.55vw, 22px); color: var(--ink); line-height: 1.6; }
.svc-detail__aside { border: 1px solid var(--hairline); background: var(--paper-2); padding: 26px 24px; position: sticky; top: 110px; }
.svc-detail__label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; }
.svc-detail__aside ul { list-style: none; margin-bottom: 24px; }
.svc-detail__aside li { position: relative; padding: 10px 0 10px 20px; border-bottom: 1px solid var(--hairline); font-size: 14px; }
.svc-detail__aside li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid var(--blue); }
.svc-detail__nav {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(46px, 7vh, 80px); padding-top: 26px;
  border-top: 1px solid var(--hairline);
  font-family: var(--mono); font-size: 13px;
}
.svc-detail__nav a { color: var(--ink-soft); transition: color 0.3s var(--ease); display: inline-flex; gap: 8px; align-items: center; }
.svc-detail__nav a:hover { color: var(--blue); }
.svc-detail__nav a span { transition: transform 0.35s var(--ease); }
.svc-detail__nav a:hover span { transform: translateX(3px); }
.svc-detail__all { color: var(--blue) !important; }

@media (max-width: 1080px) {
  .svc-hero { grid-template-columns: 1fr; padding-right: 0; }
  .svc-hero__ic { width: 150px; }
  .svc-detail { grid-template-columns: 1fr; }
  .svc-detail__aside { position: static; }
  .svc-close { top: -14px; }
}

/* ═══════════════════════════════════════════════════════════════
   v21 · THE RENDERED JOURNEY
   the client's 3D film, served as a scroll-scrubbed frame sequence.
   Feathered edges + paper-tinted frames: the render is part of the
   page, never a video rectangle sitting on it.
   ═══════════════════════════════════════════════════════════════ */

/* the film carries its own camera — the CSS camera stands down */
.scene--video .scene__cam { transform: none !important; transition: none; }

.scene__world--film {
  width: min(96%, 1150px);
  aspect-ratio: 16 / 9;
  /* horizontal feather */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.scene__world--film canvas {
  width: 100%; height: 100%; display: block;
  /* vertical feather */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 92%, transparent 100%);
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}
.scene--video.is-filmed canvas { opacity: 1; }

/* per-chapter annotations over the film — small, precise, live HTML */
.scene--video .slabel { opacity: 0; translate: 0 8px; }
.scene--video[data-chapter="1"] .slabel[data-ch="1"],
.scene--video[data-chapter="2"] .slabel[data-ch="2"],
.scene--video[data-chapter="3"] .slabel[data-ch="3"],
.scene--video[data-chapter="4"] .slabel[data-ch="4"],
.scene--video[data-chapter="5"] .slabel[data-ch="5"],
.scene--video[data-chapter="6"] .slabel[data-ch="6"] { opacity: 1; translate: 0 0; }
/* labels over dark close-up beats (chapters 2–3) read in white */
.scene--video[data-chapter="2"] .slabel[data-ch="2"],
.scene--video[data-chapter="3"] .slabel[data-ch="3"] { color: rgba(255, 255, 255, 0.85); }
.scene--video[data-chapter="2"] .slabel[data-ch="2"]::after,
.scene--video[data-chapter="3"] .slabel[data-ch="3"]::after { background: rgba(255, 255, 255, 0.5); }

@media (max-width: 1080px) {
  .scene__world--film { width: 96%; }
}

/* ═══════════════════════════════════════════════════════════════
   v27 · MULTI-PAGE ARCHITECTURE
   home is the interactive journey only; every other section became
   its own page. These are the pieces that live on the new pages.
   ═══════════════════════════════════════════════════════════════ */

/* ── home hand-off: where the journey ends ── */
.journey-end {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(70px, 11vh, 130px) var(--gx) clamp(80px, 13vh, 150px);
  text-align: center;
}
.journey-end .eyebrow { justify-content: center; }
.journey-end__h {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(26px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -0.02em;
  margin: 18px 0 clamp(34px, 5vh, 56px);
}
.journey-end__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--hairline);
  border: 1px solid var(--hairline); text-align: left;
}
.journey-end__grid a {
  background: var(--paper); padding: 26px 22px;
  display: flex; flex-direction: column; gap: 6px;
  position: relative; transition: background 0.4s var(--ease), padding 0.45s var(--ease);
}
.journey-end__grid a::before {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 2px;
  background: var(--blue); transform: scaleY(0); transform-origin: top;
  transition: transform 0.5s var(--ease);
}
.journey-end__grid a:hover { background: var(--paper-2); padding-left: 32px; }
.journey-end__grid a:hover::before { transform: scaleY(1); }
.journey-end__grid span { font-family: var(--mono); font-size: 12px; color: var(--blue); }
.journey-end__grid b {
  font-family: var(--display); font-weight: 500; font-size: clamp(17px, 1.7vw, 21px);
  letter-spacing: -0.01em;
}
.journey-end__grid i { font-style: normal; font-size: 13px; color: var(--ink-soft); }

/* ── service page: the three containment systems (A/B/C)
      the tiles reuse .svc / .svc-board from the services index verbatim,
      so only the section spacing lives here ── */
.svc-subs { margin-top: clamp(48px, 7vh, 84px); }
.svc-subs .svc-board { margin-top: 0; }

/* breadcrumb back to the parent service, sitting inside the hero eyebrow */
.svc-up { color: var(--blue); border-bottom: 1px solid rgba(20, 102, 255, 0.35); transition: border-color 0.4s var(--ease); }
.svc-up:hover { border-color: var(--blue); }

/* ── service page: the procedural system diagram ── */
.svc-fig { margin-top: clamp(44px, 6vh, 76px); }
.svc-fig__media {
  border: 1px solid var(--hairline); background: var(--paper-2);
  overflow: hidden; aspect-ratio: 16 / 7;
  display: flex; align-items: center; justify-content: center;
  background-image: var(--bpgrid);
  transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.svc-fig__media .mini-iso { width: min(72%, 560px); height: auto; transition: transform 1.2s var(--ease); }
.svc-fig__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-fig:hover .svc-fig__media { border-color: rgba(20, 102, 255, 0.45); box-shadow: 0 0 34px -6px rgba(20, 102, 255, 0.22); }
.svc-fig:hover .svc-fig__media .mini-iso { transform: scale(1.04); }
.svc-fig figcaption { display: flex; flex-direction: column; gap: 5px; padding-top: 14px; }
.svc-fig figcaption b {
  font-family: var(--mono); font-weight: 500; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue);
}
.svc-fig figcaption span { font-size: 14px; color: var(--ink-soft); max-width: 60ch; }

/* ── service page: 3D coordination gallery ── */
.svc-gal { margin-top: clamp(52px, 8vh, 96px); }
.svc-gal__title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(24px, 2.8vw, 38px); letter-spacing: -0.02em; margin: 16px 0 clamp(28px, 4vh, 44px);
}
.svc-gal__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 38px); }
.svc-gal__item--wide { grid-column: 1 / -1; }
.svc-gal__media {
  border: 1px solid var(--hairline); background: var(--paper-2);
  overflow: hidden; aspect-ratio: 16 / 11;
  transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.svc-gal__item--wide .svc-gal__media { aspect-ratio: 16 / 9; }
.svc-gal__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.svc-gal__item:hover .svc-gal__media { border-color: rgba(20, 102, 255, 0.45); box-shadow: 0 0 34px -6px rgba(20, 102, 255, 0.22); }
.svc-gal__item:hover .svc-gal__media img { transform: scale(1.03); }
.svc-gal__item figcaption { display: flex; flex-direction: column; gap: 5px; padding-top: 14px; }
.svc-gal__item figcaption b {
  font-family: var(--mono); font-weight: 500; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue);
}
.svc-gal__item figcaption span { font-size: 14px; color: var(--ink-soft); max-width: 60ch; }

/* ── QUBE, now living on the Server Room Effectiveness page ── */
.svc-qube { max-width: none; padding: clamp(52px, 8vh, 96px) 0 0; }
.qube__list { list-style: none; margin: 22px 0 30px; }
.qube__list li {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px;
  padding: 13px 0; border-top: 1px solid var(--hairline);
}
.qube__list li:last-child { border-bottom: 1px solid var(--hairline); }
.qube__list span { font-family: var(--mono); font-size: 12px; color: var(--blue); padding-top: 3px; }
.qube__list b { font-family: var(--display); font-weight: 500; font-size: 17px; display: block; }
.qube__list i { font-style: normal; font-size: 14px; color: var(--ink-soft); }

@media (max-width: 1080px) {
  .journey-end__grid { grid-template-columns: repeat(2, 1fr); }
  .svc-gal__grid { grid-template-columns: 1fr; }
  .svc-gal__item--wide { grid-column: auto; }
}
@media (max-width: 720px) {
  .journey-end__grid { grid-template-columns: 1fr; }
  .svc-fig__media { aspect-ratio: 4 / 3; }
  .svc-fig__media .mini-iso { width: 92%; }
}

/* ── project photos (admin-uploaded) sit in the same frames.
      whatever size is uploaded, object-fit crops it to the frame's ratio
      so the archive never goes ragged. photos rest in black & white and
      bloom into colour on hover — same formula as .news--mono ── */
.feat__media img, .proj__scene img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(1) contrast(1.02);
  transition: transform 1.2s var(--ease), filter 0.6s var(--ease), opacity 0.7s var(--ease);
}
.feat:hover .feat__media img { transform: scale(1.03); }
.feat__media:hover img.is-on, .feat__media:focus-visible img.is-on { filter: grayscale(0) contrast(1); }
.proj:hover .proj__scene img { transform: scale(1.05); filter: grayscale(0) contrast(1); }
.proj__scene--photo { border: 1px solid var(--hairline); background: var(--paper-2); overflow: hidden; }

/* ── the rows are now buttons that promote a project into the big card ── */
.proj {
  width: 100%; font: inherit; color: inherit; text-align: left;
  background: none; border: 0; border-bottom: 1px solid var(--hairline);
  cursor: pointer;
}
.proj:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }

/* ── the disciplines a project used, as chips above the title ── */
.feat__svcs { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 18px; }
.feat__svcs:empty { display: none; }
.feat__svc {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  padding: 6px 11px; border: 1px solid var(--hairline); border-radius: 2px;
  color: var(--ink-soft); background: rgba(255, 255, 255, 0.6);
}

/* ── project photo carousel, inside the featured frame ── */
.pcar { position: absolute; inset: 0; }
.pcar__img { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.pcar__img.is-on { opacity: 1; pointer-events: auto; }
.pcar__nav {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 38px; height: 38px; display: grid; place-items: center;
  font-family: var(--mono); font-size: 19px; line-height: 1;
  color: var(--ink); cursor: pointer;
  background: rgba(251, 249, 245, 0.9); border: 1px solid var(--hairline); border-radius: 2px;
  opacity: 0; transition: opacity 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.pcar__nav--prev { left: 12px; }
.pcar__nav--next { right: 12px; }
.feat__media:hover .pcar__nav,
.feat__media:focus-within .pcar__nav { opacity: 1; }
.pcar__nav:hover { border-color: var(--blue); box-shadow: 0 0 20px -4px rgba(20, 102, 255, 0.5); }
.pcar__count {
  position: absolute; left: 12px; bottom: 18px; z-index: 3;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  padding: 5px 9px; color: var(--ink-soft);
  background: rgba(251, 249, 245, 0.9); border: 1px solid var(--hairline);
}
.pcar__count b { color: var(--blue); font-weight: 500; }
.pcar__dots { position: absolute; right: 12px; bottom: 18px; z-index: 3; display: flex; gap: 6px; }
.pcar__dots i {
  width: 7px; height: 7px; border-radius: 50%; cursor: pointer;
  background: rgba(20, 24, 28, 0.22); transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.pcar__dots i.is-on { background: var(--blue); transform: scale(1.25); }

/* ══════════════════════ REDUCED MOTION ══════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .scene::after { display: none; }
  .foot__pulse i { animation: none; }
  .feat__media, .news__scene { clip-path: none; }
  /* no sweep — the ring simply lights while the logo is held */
  .brand.is-hold .em-hold { animation: none; stroke-dashoffset: 0; }
  .proof::after, .about::after, .contact::after, .qube__iso svg, .finale::before { animation: none; }
  .qube__stamp, .logo-row { animation: none; }
  .led-strip i, .stat::before, .thread::after { animation: none; }
  .partners__wall { -webkit-mask-image: none; mask-image: none; }
  .logo-row { flex-wrap: wrap; gap: 30px 46px; justify-content: center; }
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .scroll-hint i::after, .scene .led, .ticker__track { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .lm > span { transform: none !important; }
  .scene__cam { transition: none; }
}
