/* Veyl platform and Veyl Private. Builds on the shared Physical design system. */

.platform-home,
.private-page,
.physical-overview {
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-pop: cubic-bezier(.34, 1.35, .42, 1);
  --duration-micro: 180ms;
  --duration-ui: 320ms;
  --duration-reveal: 700ms;
  --data: #2f6f5e;
  --registration: rgba(16, 18, 16, .19);
}

.platform-home { background: var(--paper); }
.platform-home .site-header,
.private-page .site-header,
.physical-overview .site-header {
  background: rgba(242, 241, 236, .84);
  box-shadow: 0 0 0 rgba(16, 18, 16, 0);
  transition: background-color var(--duration-ui) var(--ease-expo), border-color var(--duration-ui) var(--ease-expo), box-shadow var(--duration-ui) var(--ease-expo);
}
.platform-home .site-header.stuck,
.private-page .site-header.stuck,
.physical-overview .site-header.stuck {
  background: rgba(242, 241, 236, .96);
  box-shadow: 0 12px 30px rgba(16, 18, 16, .045);
}
.platform-home .header-cta,
.private-page .header-cta,
.physical-overview .header-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 11px 15px;
  color: var(--on-night);
  background: var(--ink);
  border: 0;
  transition: transform var(--duration-micro) var(--ease-expo), background-color var(--duration-micro) ease;
}
.platform-home .header-cta::after,
.private-page .header-cta::after,
.physical-overview .header-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 25%, rgba(255,255,255,.22) 48%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 720ms var(--ease-expo);
}
.platform-home .header-cta:hover::after,
.private-page .header-cta:hover::after,
.physical-overview .header-cta:hover::after { transform: translateX(120%); }
.platform-home .header-cta:active,
.private-page .header-cta:active,
.physical-overview .header-cta:active { transform: scale(.975); }
.brand-letter { display: inline-block; }
.js .brand-letter { opacity: 0; transform: translateY(4px); transition: opacity 420ms var(--ease-expo), transform 420ms var(--ease-expo); transition-delay: calc(var(--letter-index) * 35ms); }
.js .brand-animated .brand-letter { opacity: 1; transform: none; }

.platform-home .button,
.private-page .button,
.physical-overview .button { transition: transform var(--duration-micro) var(--ease-expo), background-color var(--duration-micro) ease; }
.platform-home .button:active,
.private-page .button:active,
.physical-overview .button:active { transform: scale(.975); }
.platform-home .text-link span,
.private-page .text-link span,
.physical-overview .text-link span { transition: transform var(--duration-ui) var(--ease-expo); }
.platform-home .text-link:hover span,
.private-page .text-link:hover span,
.physical-overview .text-link:hover span { transform: translate(3px, -2px); }

/* A continuous drafting frame gives the platform the engineered precision of
   an operating system without turning every section into a rounded card. */
.platform-home main > .shell,
.private-page main > .shell,
.physical-overview main > .shell { position: relative; }
.platform-home main > .shell::before,
.private-page main > .shell::before,
.physical-overview main > .shell::before,
.platform-home main > .shell::after,
.private-page main > .shell::after,
.physical-overview main > .shell::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -1px;
  width: 10px;
  height: 10px;
  pointer-events: none;
  border-top: 1px solid var(--registration);
}
.platform-home main > .shell::before,
.private-page main > .shell::before,
.physical-overview main > .shell::before { left: 0; border-left: 1px solid var(--registration); }
.platform-home main > .shell::after,
.private-page main > .shell::after,
.physical-overview main > .shell::after { right: 0; border-right: 1px solid var(--registration); }

.js .platform-home .reveal,
.js .private-page .reveal,
.js .physical-overview .reveal {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(16px);
  transition: opacity var(--duration-reveal) var(--ease-expo), transform var(--duration-reveal) var(--ease-expo), filter var(--duration-reveal) var(--ease-expo);
  transition-delay: var(--d, 0ms);
}
.js .platform-home .reveal.in,
.js .private-page .reveal.in,
.js .physical-overview .reveal.in { opacity: 1; filter: none; transform: none; }

/* ---------------------------------------------------------------- hero */
.platform-hero,
.private-hero,
.division-hero {
  padding: clamp(54px, 6vw, 92px) 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, .55fr);
  column-gap: clamp(54px, 7vw, 112px);
  row-gap: clamp(48px, 6vw, 84px);
  align-items: end;
}
.platform-hero h1,
.private-hero h1,
.division-hero h1 {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(64px, 7.6vw, 124px);
  line-height: .96;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.hero-line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.hero-line > span { display: inline-block; }
.js .hero-heading.reveal { opacity: 1; filter: none; transform: none; }
.js .hero-line > span { transform: translateY(112%); transition: transform 820ms var(--ease-expo); }
.js .hero-heading.in .hero-line > span { transform: none; }
.js .hero-heading .hero-line:nth-child(2) > span { transition-delay: 90ms; }
.platform-hero-side,
.private-hero-side,
.division-hero-side { padding-bottom: 8px; }
.platform-hero-side > p,
.private-hero-side > p,
.division-hero-side > p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.47;
  letter-spacing: -.025em;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.hero-actions .button { min-width: 180px; }

/* ---------------------------------------------------------- product UI */
.product-frame {
  grid-column: 1 / -1;
  margin: 0;
  padding: clamp(12px, 1.4vw, 20px);
  color: #141514;
  background:
    linear-gradient(rgba(242,241,236,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,241,236,.035) 1px, transparent 1px),
    #171916;
  background-size: 42px 42px, 42px 42px, auto;
  border: 1px solid rgba(16,18,16,.22);
  box-shadow: 0 34px 80px rgba(29, 27, 21, .16);
}
.js .product-frame.reveal { transform: translateY(38px) scale(.987); }
.js .product-frame.reveal.in { transform: none; }
.product-topbar {
  min-height: 56px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  color: rgba(242, 241, 236, .7);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .13em;
}
.product-mark {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: #101210;
  background: var(--paper);
  border-radius: 7px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 650;
}
.product-top-status::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #92ac98;
}
.product-shell {
  min-height: 650px;
  display: grid;
  grid-template-columns: 210px 1fr;
  overflow: hidden;
  background: #f7f7f3;
  border-radius: 3px;
}
.product-sidebar {
  padding: 28px 18px 20px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #d9d9d3;
  background: #f0f0eb;
}
.product-label {
  margin: 0 10px 28px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.04em;
}
.product-sidebar a {
  margin-bottom: 4px;
  padding: 10px;
  color: #5c5e59;
  border-radius: 4px;
  font-size: 12px;
  text-decoration: none;
}
.product-sidebar a.active { color: #151615; background: #fff; box-shadow: inset 0 0 0 1px #ddddda; }
.product-sidebar-foot {
  margin-top: auto;
  padding: 14px 10px 0;
  color: #777974;
  border-top: 1px solid #d6d7d1;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.product-main { padding: clamp(32px, 4vw, 58px); }
.product-heading { display: flex; justify-content: space-between; gap: 28px; align-items: start; }
.product-kicker {
  margin: 0 0 11px;
  color: #747771;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.product-heading h2 { margin: 0; font-size: clamp(28px, 3vw, 45px); line-height: 1; letter-spacing: -.05em; }
.product-chip,
.decision {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #d6d7d1;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .09em;
  white-space: nowrap;
}
.product-metrics { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #d8d9d4; }
.product-metrics article { min-height: 145px; padding: 19px; display: flex; flex-direction: column; border-right: 1px solid #d8d9d4; }
.product-metrics article:last-child { border-right: 0; }
.product-metrics span { color: #6a6c67; font-size: 11px; }
.product-metrics strong { margin-top: auto; font-size: clamp(25px, 2.8vw, 42px); line-height: 1; letter-spacing: -.05em; font-weight: 520; font-variant-numeric: tabular-nums; }
.product-metrics small { margin-top: 7px; color: #747771; font-size: 10px; }
.product-table { margin-top: 28px; border-top: 1px solid #d6d7d1; }
.product-row { min-height: 67px; display: grid; grid-template-columns: minmax(220px, 1fr) 120px 130px; gap: 18px; align-items: center; border-bottom: 1px solid #d6d7d1; font-size: 12px; }
.product-row > span { min-width: 0; }
.product-row b { display: block; font-size: 12px; font-weight: 540; }
.product-row small { display: block; margin-top: 4px; color: #787a75; font-size: 10px; }
.product-table-head { min-height: 42px; color: #777974; font-family: var(--mono); font-size: 8px; text-transform: uppercase; letter-spacing: .12em; }
.decision.delegate { background: #dce9df; border-color: #b9cdbf; }
.decision.supervise { background: #e9e0d3; border-color: #d6c2a6; }
.decision.stop { background: #ead8d6; border-color: #d7b4b0; }
.product-caption { margin: 14px 4px 0; color: rgba(242,241,236,.58); font-size: 10px; }
.js [data-assemble] .product-topbar,
.js [data-assemble] .product-heading,
.js [data-assemble] .product-sidebar a,
.js [data-assemble] .product-sidebar-foot,
.js [data-assemble] .product-metrics article,
.js [data-assemble] .product-row {
  opacity: 0;
  transition: opacity 520ms var(--ease-expo), transform 520ms var(--ease-expo);
}
.js [data-assemble] .product-topbar,
.js [data-assemble] .product-heading,
.js [data-assemble] .product-metrics article,
.js [data-assemble] .product-row { transform: translateY(10px); }
.js [data-assemble] .product-sidebar a,
.js [data-assemble] .product-sidebar-foot { transform: translateX(-9px); }
.js [data-assemble].assembled .product-topbar,
.js [data-assemble].assembled .product-heading,
.js [data-assemble].assembled .product-sidebar a,
.js [data-assemble].assembled .product-sidebar-foot,
.js [data-assemble].assembled .product-metrics article,
.js [data-assemble].assembled .product-row { opacity: 1; transform: none; }
.js [data-assemble].assembled .product-heading { transition-delay: 100ms; }
.js [data-assemble].assembled .product-sidebar a:nth-of-type(1) { transition-delay: 120ms; }
.js [data-assemble].assembled .product-sidebar a:nth-of-type(2) { transition-delay: 160ms; }
.js [data-assemble].assembled .product-sidebar a:nth-of-type(3) { transition-delay: 200ms; }
.js [data-assemble].assembled .product-sidebar a:nth-of-type(4) { transition-delay: 240ms; }
.js [data-assemble].assembled .product-sidebar a:nth-of-type(5) { transition-delay: 280ms; }
.js [data-assemble].assembled .product-sidebar-foot { transition-delay: 320ms; }
.js [data-assemble].assembled .product-metrics article:nth-child(1) { transition-delay: 190ms; }
.js [data-assemble].assembled .product-metrics article:nth-child(2) { transition-delay: 260ms; }
.js [data-assemble].assembled .product-metrics article:nth-child(3) { transition-delay: 330ms; }
.js [data-assemble].assembled .product-row:nth-child(1) { transition-delay: 300ms; }
.js [data-assemble].assembled .product-row:nth-child(2) { transition-delay: 360ms; }
.js [data-assemble].assembled .product-row:nth-child(3) { transition-delay: 420ms; }
.js [data-assemble].assembled .product-row:nth-child(4) { transition-delay: 480ms; }
.js [data-assemble] .decision { transform: scale(.82); transition: transform 320ms var(--ease-pop); }
.js [data-assemble].assembled .decision { transform: none; transition-delay: 620ms; }
.platform-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; border-bottom: 1px solid var(--line); }
.platform-rail .rail-item {
  padding-inline: clamp(12px, 2vw, 30px);
  text-align: center;
}
.platform-rail .rail-item + .rail-item { border-left: 1px solid var(--line); }

/* ------------------------------------------------ scroll evidence story */
.reliability-story {
  --story-accent: #91aebe;
  --story-failure: #d67f63;
  position: relative;
  height: clamp(2500px, 390vh, 3500px);
  background: var(--paper);
}
.reliability-story-sticky {
  height: 100svh;
  min-height: 680px;
  position: sticky;
  top: 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(16,18,16,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,18,16,.025) 1px, transparent 1px),
    var(--paper);
  background-size: 58px 58px, 58px 58px, auto;
}
.reliability-story-frame { height: 100%; position: relative; overflow: hidden; }
.reliability-story-copy {
  width: min(730px, 58vw);
  position: absolute;
  z-index: 3;
  top: clamp(68px, 9vh, 112px);
  left: clamp(24px, 4vw, 66px);
}
.story-copy {
  position: absolute;
  inset: 0 auto auto 0;
  opacity: 0;
  filter: blur(7px);
  transform: translateY(18px);
  transition: opacity 500ms var(--ease-expo), transform 650ms var(--ease-expo), filter 500ms var(--ease-expo);
  pointer-events: none;
}
.story-copy-0 { opacity: 1; filter: none; transform: none; }
.story-copy .section-label { margin-bottom: 18px; }
.story-copy h2 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(42px, 5vw, 76px);
  line-height: .98;
  letter-spacing: -.058em;
  text-wrap: balance;
}
.story-copy > p:last-child {
  max-width: 54ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.52;
  letter-spacing: -.018em;
}
.story-phase-1 .story-copy-0,
.story-phase-2 .story-copy-0,
.story-phase-3 .story-copy-0,
.story-phase-2 .story-copy-1,
.story-phase-3 .story-copy-1,
.story-phase-3 .story-copy-2 { opacity: 0; filter: blur(7px); transform: translateY(-16px); }
.story-phase-1 .story-copy-1,
.story-phase-2 .story-copy-2,
.story-phase-3 .story-copy-3 { opacity: 1; filter: none; transform: none; }

.reliability-field {
  width: min(1120px, calc(100% - 100px));
  margin: 0;
  padding: 0;
  position: absolute;
  z-index: 2;
  right: 50px;
  bottom: clamp(74px, 8.5vh, 118px);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
  list-style: none;
  transform-origin: 50% 100%;
  transition: opacity 650ms var(--ease-expo), transform 900ms var(--ease-expo), filter 650ms var(--ease-expo);
}
.reliability-field li {
  min-height: clamp(66px, 8vh, 88px);
  padding: 12px 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  background: var(--story-accent);
  border: 1px solid rgba(16,18,16,.16);
  opacity: 0;
  transform: translateY(28px) scale(.97);
  transition:
    opacity 520ms var(--ease-expo) calc(var(--tile) * 24ms),
    transform 620ms var(--ease-expo) calc(var(--tile) * 24ms),
    background-color 520ms var(--ease-expo),
    border-color 520ms var(--ease-expo),
    color 520ms var(--ease-expo);
}
.reliability-story.is-active .reliability-field li { opacity: 1; transform: none; }
.reliability-field span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  opacity: .54;
}
.reliability-field b {
  font-size: 12px;
  font-weight: 520;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 350ms ease, transform 420ms var(--ease-expo);
}
.reliability-field b i,
.reliability-field b em { font-style: normal; }
.reliability-field b em { display: none; }
.story-phase-1 .reliability-field li,
.story-phase-2 .reliability-field li {
  background: rgba(242,241,236,.74);
  border-color: rgba(47,111,94,.38);
}
.story-phase-1 .reliability-field b,
.story-phase-2 .reliability-field b { opacity: 1; transform: none; }
.story-phase-2 .reliability-field .story-failure {
  color: #171916;
  background: var(--story-failure);
  border-color: rgba(16,18,16,.12);
}
.story-phase-2 .reliability-field .story-failure b i { display: none; }
.story-phase-2 .reliability-field .story-failure b em { display: inline; }
.story-phase-3 .reliability-field {
  opacity: .16;
  filter: blur(.25px);
  transform: translateY(74px) perspective(900px) rotateX(58deg) scale(.78);
}
.story-phase-3 .reliability-field li { background: transparent; border-color: rgba(16,18,16,.28); }

.story-decisions {
  width: min(1060px, calc(100% - 140px));
  position: absolute;
  z-index: 4;
  right: 70px;
  bottom: clamp(86px, 10vh, 130px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(16,18,16,.18);
  border: 1px solid rgba(16,18,16,.18);
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 600ms var(--ease-expo), transform 720ms var(--ease-expo);
  pointer-events: none;
}
.story-phase-3 .story-decisions { opacity: 1; transform: none; }
.story-decisions article {
  min-height: clamp(180px, 22vh, 246px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: #a8bac7;
}
.story-decisions article:nth-child(2) { background: #b7aa9b; }
.story-decisions article:nth-child(3) { background: #d67f63; }
.story-decisions span { font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .13em; opacity: .58; }
.story-decisions strong { margin-top: auto; font-size: clamp(28px, 3vw, 46px); font-weight: 480; letter-spacing: -.05em; }
.story-decisions small { margin-top: 10px; font-size: 12px; opacity: .68; }
.story-source {
  position: absolute;
  z-index: 5;
  right: 52px;
  bottom: 28px;
  color: var(--muted);
  font-size: 10px;
  text-decoration: none;
  letter-spacing: .015em;
  opacity: 0;
  transition: opacity 420ms ease;
}
.story-source:hover { color: var(--ink); }
.story-phase-3 .story-source { opacity: 1; }
.story-source span { display: inline-block; margin-left: 5px; transition: transform var(--duration-ui) var(--ease-expo); }
.story-source:hover span { transform: translate(3px, -2px); }
.story-progress {
  width: 42px;
  height: 3px;
  position: absolute;
  z-index: 5;
  bottom: 28px;
  left: 50%;
  overflow: hidden;
  border: 1px solid rgba(16,18,16,.25);
  transform: translateX(-50%);
}
.story-progress i {
  width: 100%;
  height: 100%;
  display: block;
  background: var(--ink);
  transform: scaleX(var(--story-progress, 0));
  transform-origin: left;
}

@media (max-width: 900px) {
  .reliability-story-copy { width: min(760px, calc(100% - 56px)); left: 28px; }
  .reliability-field { width: calc(100% - 56px); right: 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .story-decisions { width: calc(100% - 56px); right: 28px; }
  .story-source { right: 28px; }
}

@media (max-width: 620px) {
  .reliability-story { height: 330vh; }
  .reliability-story-sticky { min-height: 620px; }
  .reliability-story-copy { width: calc(100% - 36px); top: 54px; left: 18px; }
  .story-copy h2 { max-width: 15ch; font-size: clamp(36px, 11vw, 52px); }
  .story-copy > p:last-child { max-width: 38ch; margin-top: 14px; font-size: 14px; }
  .reliability-field { width: calc(100% - 36px); right: 18px; bottom: 58px; gap: 5px; }
  .reliability-field li { min-height: 52px; padding: 8px; }
  .reliability-field b { font-size: 10px; }
  .story-decisions { width: calc(100% - 36px); right: 18px; bottom: 66px; grid-template-columns: 1fr; }
  .story-decisions article { min-height: 112px; padding: 16px; }
  .story-decisions strong { font-size: 28px; }
  .story-source { right: 18px; bottom: 18px; left: 18px; }
  .story-progress { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reliability-story { height: auto; }
  .reliability-story-sticky { height: auto; min-height: 760px; position: relative; }
  .story-copy { display: none; }
  .story-copy-3 { display: block; opacity: 1; filter: none; transform: none; }
  .reliability-field { opacity: .12; transform: translateY(74px) perspective(900px) rotateX(58deg) scale(.78); }
  .story-decisions { opacity: 1; transform: none; }
  .story-source { opacity: 1; }
}

/* ------------------------------------------------------- lifecycle flow */
.platform-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.platform-step {
  --step-fill: #90a9bb;
  position: relative;
  isolation: isolate;
  min-height: 390px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid var(--line);
}
.platform-step:nth-child(2) { --step-fill: #a293ae; }
.platform-step:nth-child(3) { --step-fill: #b9a48e; }
.platform-step:nth-child(4) { --step-fill: #b88675; }
.platform-step:nth-child(5) { --step-fill: #708c87; }
.platform-step:last-child { border-right: 0; }
.platform-step::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--step-fill); transform: scaleY(0); transform-origin: bottom; transition: transform .65s var(--ease); }
.platform-step::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease-expo); }
.platform-step:hover::before { transform: scaleY(1); }
.platform-step:hover::after { transform: scaleX(1); }
.platform-step > span { color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; }
.platform-step h3 { margin: auto 0 12px; font-size: clamp(22px, 1.9vw, 30px); letter-spacing: -.04em; transition: transform var(--duration-ui) var(--ease-expo); }
.platform-step p { min-height: 6.4em; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; transition: color var(--duration-ui) ease; }
.platform-step:hover h3 { transform: translateY(-4px); }
.platform-step:hover p { color: var(--ink); }

/* The Trace: one reliability signal evolving across the operating lifecycle. */
.platform-step {
  --trace-x: 8%;
  --trace-y: 118px;
  background-image: linear-gradient(90deg, rgba(16,18,16,.14), rgba(16,18,16,.14));
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 var(--trace-y);
}
.platform-step:nth-child(1) { --trace-x: 0%; }
.platform-step:nth-child(2) { --trace-x: 26%; }
.platform-step:nth-child(3) { --trace-x: 50%; }
.platform-step:nth-child(4) { --trace-x: 74%; }
.platform-step:nth-child(5) { --trace-x: 100%; }
.platform-step > span,
.platform-step h3,
.platform-step p { position: relative; z-index: 1; }
.trace-mark {
  --trace-rotate: 0deg;
  --trace-scale: 1;
  width: 74px;
  height: 74px;
  position: absolute;
  z-index: 0;
  top: var(--trace-y);
  left: var(--trace-x);
  display: block;
  pointer-events: none;
  border: 1px solid rgba(16,18,16,.2);
  border-radius: 50%;
  opacity: .42;
  transform: translate(-50%, -50%) rotate(var(--trace-rotate)) scale(var(--trace-scale));
  transition: opacity var(--duration-ui) ease, transform 620ms var(--ease-expo);
}
.platform-step:nth-child(1) .trace-mark { width: 12px; height: 12px; border: 0; background: #708c87; box-shadow: 0 0 0 29px rgba(112,140,135,.12); }
.platform-step:nth-child(2) .trace-mark { background: radial-gradient(circle, rgba(16,18,16,.28) 0 3px, transparent 3.5px); box-shadow: 0 0 0 12px rgba(168,186,199,.1); }
.platform-step:nth-child(3) .trace-mark { width: 92px; height: 92px; box-shadow: inset 0 0 0 16px transparent, inset 0 0 0 17px rgba(16,18,16,.14); }
.platform-step:nth-child(4) .trace-mark { width: 92px; height: 92px; background-image: linear-gradient(rgba(214,127,99,.42), rgba(214,127,99,.42)), linear-gradient(90deg, rgba(214,127,99,.42), rgba(214,127,99,.42)); background-repeat: no-repeat; background-size: 1px 26px, 26px 1px; background-position: 50% -13px, calc(100% + 13px) 50%; }
.platform-step:nth-child(5) .trace-mark { --trace-rotate: 45deg; width: 66px; height: 66px; border-color: rgba(47,111,94,.46); border-radius: 2px; box-shadow: inset 0 0 0 16px rgba(47,111,94,.07); }
.platform-step:hover .trace-mark { opacity: .72; --trace-scale: 1.06; }

/* ---------------------------------------------------------- private band */
.private-band { margin-top: var(--band); padding: clamp(72px, 8vw, 124px) 0; color: var(--on-night); background: var(--night); }
.private-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(430px, 1fr); gap: clamp(52px, 6.5vw, 120px); align-items: center; }
.private-band .section-label { color: var(--on-night-3); }
.private-copy h2,
.physical-band-copy h2,
.company-cta h2,
.private-choice h2,
.private-system h2,
.division-card-copy h2 {
  margin: 0;
  font-size: clamp(46px, 5.7vw, 88px);
  line-height: .95;
  letter-spacing: -.058em;
  text-wrap: balance;
}
.physical-band-copy > p:not(.section-label) { max-width: 560px; margin: 28px 0 34px; color: var(--on-night-2); font-size: 16px; line-height: 1.62; }
.private-copy h2 { font-size: clamp(40px, 4.6vw, 72px); line-height: .96; letter-spacing: -.055em; }
.private-paths { position: relative; margin: clamp(36px, 3.8vw, 54px) 0 clamp(32px, 3.4vw, 46px); border-top: 1px solid var(--line-night); }
.private-paths::before { width: 1px; position: absolute; top: -18px; bottom: -18px; left: 5px; content: ""; background: linear-gradient(rgba(242,241,236,.24), rgba(242,241,236,.08)); }
.private-path { position: relative; padding: 19px 0; display: grid; grid-template-columns: 44px 1fr; gap: 16px; border-bottom: 1px solid var(--line-night); }
.private-path-num { position: relative; padding-top: 4px; color: var(--on-night-3); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; }
.private-path-num::before { width: 11px; height: 11px; position: absolute; top: 28px; left: 0; content: ""; border: 1px solid rgba(242,241,236,.38); border-radius: 50%; background: var(--night); }
.private-path:nth-child(2) .private-path-num::before { border-color: rgba(214,127,99,.58); background: rgba(214,127,99,.18); }
.private-path h3 { margin: 0 0 6px; font-size: 17px; font-weight: 520; letter-spacing: -.02em; }
.private-path p { max-width: 46ch; margin: 0; color: var(--on-night-2); font-size: 13.5px; line-height: 1.55; }
.light-button { color: var(--ink); background: var(--paper); }
.light-button:hover { background: #fff; }
.private-diagram { margin: 0; }
.private-diagram-label { margin-bottom: 15px; display: flex; align-items: center; gap: 11px; color: var(--on-night-3); font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }
.private-diagram-label::before { width: 8px; height: 8px; content: ""; background: #d67f63; }
.private-boundary { position: relative; overflow: hidden; padding: clamp(20px, 2.2vw, 30px); border: 1px dashed rgba(242,241,236,.36); }
.private-boundary::before,
.private-boundary::after { width: 11px; height: 11px; position: absolute; content: ""; border-color: rgba(242,241,236,.55); border-style: solid; }
.private-boundary::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.private-boundary::after { right: -1px; bottom: -1px; border-width: 0 1px 1px 0; }
.private-layers { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-night); }
.private-layers,
.private-veyl-band { position: relative; z-index: 1; }
.private-layers li { padding: 16px 2px; display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: baseline; border-bottom: 1px solid var(--line-night); transition: background-color var(--duration-micro) ease; }
.private-layers li:hover { background: rgba(242,241,236,.035); }
.private-layers span { color: var(--on-night-3); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }
.private-layers b { font-size: 15px; font-weight: 520; letter-spacing: -.015em; }
.private-layers small { color: var(--on-night-2); font-size: 11.5px; text-align: right; }
.private-veyl-band { margin-top: 18px; padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; color: var(--ink); background: #a8bac7; }
.private-veyl-band span { font-family: var(--mono); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.private-veyl-band p { margin: 0; font-size: 12.5px; line-height: 1.45; }
.private-boundary-meta { margin-top: 13px; display: flex; justify-content: space-between; gap: 16px; color: var(--on-night-3); font-family: var(--mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: .11em; }
.private-contained { color: #d67f63; text-align: right; }
.js .private-diagram .private-boundary,
.js .private-diagram .private-boundary-meta { opacity: 0; transition: opacity 600ms var(--ease-expo) 120ms; }
.js .private-diagram .private-layers li,
.js .private-diagram .private-veyl-band { opacity: 0; transform: translateY(10px); transition: opacity 560ms var(--ease-expo), transform 560ms var(--ease-expo); }
.js .private-diagram.in .private-boundary,
.js .private-diagram.in .private-boundary-meta { opacity: 1; }
.js .private-diagram.in .private-layers li,
.js .private-diagram.in .private-veyl-band { opacity: 1; transform: none; }
.js .private-diagram.in .private-layers li:nth-child(1) { transition-delay: 240ms; }
.js .private-diagram.in .private-layers li:nth-child(2) { transition-delay: 320ms; }
.js .private-diagram.in .private-layers li:nth-child(3) { transition-delay: 400ms; }
.js .private-diagram.in .private-layers li:nth-child(4) { transition-delay: 480ms; }
.js .private-diagram.in .private-veyl-band { transition-delay: 620ms; }
.js .private-diagram.in .private-boundary-meta { transition-delay: 700ms; }
.private-stack { display: flex; flex-direction: column; gap: 8px; }
.private-stack > div {
  min-height: 86px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 18px;
  align-items: center;
  color: var(--ink);
  background: #e8e7e0;
  transition: opacity 560ms var(--ease-expo), transform var(--duration-ui) var(--ease-expo);
}
.private-stack > div:nth-child(2) { background: #a8bac7; }
.private-stack > div:nth-child(3) { background: #c7b7aa; }
.private-stack > div:nth-child(4) { background: #b7969d; }
.private-stack > div:nth-child(5) { background: #d67f63; }
.private-stack span { font-family: var(--mono); font-size: 9px; }
.private-stack b { font-size: 17px; font-weight: 520; letter-spacing: -.025em; }
.private-stack small { color: rgba(16,18,16,.62); font-size: 11px; text-align: right; }
.js .private-stack.reveal > div,
.js .private-hero-visual .private-stack > div { opacity: 0; transform: translateX(24px); }
.js .private-stack.reveal.in > div,
.js .private-hero-visual.in .private-stack > div { opacity: 1; transform: none; }
.js .private-stack > div:nth-last-child(1) { transition-delay: 0ms; }
.js .private-stack > div:nth-last-child(2) { transition-delay: 70ms; }
.js .private-stack > div:nth-last-child(3) { transition-delay: 140ms; }
.js .private-stack > div:nth-last-child(4) { transition-delay: 210ms; }
.js .private-stack > div:nth-last-child(5) { transition-delay: 280ms; }
.js .private-stack > div:nth-last-child(6) { transition-delay: 350ms; }
.private-stack > div:hover { transform: translateX(6px); }
.js .private-stack.reveal.in > div:hover,
.js .private-hero-visual.in .private-stack > div:hover { transform: translateX(6px); }
.private-stack > div:hover span { color: var(--data); }

/* ------------------------------------------------------------- industries */
.industry-section { padding: var(--band) 0; }
.industry-ledger { display: grid; grid-template-columns: minmax(280px, .42fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.industry-intro { position: sticky; top: 140px; }
.industry-intro h2 { max-width: 12ch; margin: 0; font-size: clamp(42px, 4.8vw, 74px); line-height: .96; letter-spacing: -.055em; text-wrap: balance; }
.industry-intro > p:not(.section-label) { max-width: 40ch; margin: 22px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.industry-rows { border-top: 1px solid var(--line-strong); }
.industry-row { position: relative; isolation: isolate; min-height: clamp(150px, 15vw, 210px); padding: 26px 0; display: grid; grid-template-columns: clamp(90px, 9vw, 150px) minmax(0, 1fr) minmax(220px, .52fr); column-gap: clamp(24px, 3vw, 56px); align-items: end; overflow: hidden; border-bottom: 1px solid var(--line); }
.industry-index { position: absolute; z-index: 0; left: -6px; bottom: -34px; color: transparent; -webkit-text-stroke: 1px rgba(16,18,16,.16); font-size: clamp(120px, 14vw, 210px); font-weight: 300; line-height: .8; letter-spacing: -.06em; font-variant-numeric: tabular-nums; pointer-events: none; transition: -webkit-text-stroke-color var(--duration-ui) ease, transform 600ms var(--ease-expo); }
.industry-row::before { height: 1px; position: absolute; z-index: 0; right: 0; bottom: 58px; left: 0; content: ""; background: currentColor; opacity: .14; pointer-events: none; transform: scaleX(0); transform-origin: left; transition: transform 650ms var(--ease-expo); }
.industry-row:hover::before,
.industry-row:focus-within::before { transform: scaleX(1); }
.industry-row h3 { position: relative; z-index: 1; grid-column: 2; margin: 0; font-size: clamp(30px, 3.4vw, 52px); line-height: .98; letter-spacing: -.05em; font-weight: 480; transition: transform var(--duration-ui) var(--ease-expo); }
.industry-row > p,
.industry-row > div { position: relative; z-index: 1; grid-column: 3; }
.industry-row p { max-width: 42ch; margin: 0; padding-bottom: 6px; color: var(--muted); font-size: 13.5px; line-height: 1.6; transition: color var(--duration-ui) ease; }
.industry-row:hover h3 { transform: translateX(10px); }
.industry-row:hover p { color: var(--ink); }
.industry-row:hover .industry-index { -webkit-text-stroke-color: rgba(16,18,16,.28); transform: translateX(8px); }
.industry-row-accent-stone .industry-index { -webkit-text-stroke-color: rgba(168,186,199,.72); }
.industry-row-accent-rust .industry-index { -webkit-text-stroke-color: rgba(214,127,99,.52); }
.industry-row-accent-rust::before { color: #d67f63; opacity: .3; }
.industry-row-link { display: inline-block; margin-top: 14px; color: var(--ink); font-size: 12px; letter-spacing: .01em; text-underline-offset: 4px; text-decoration-color: rgba(214,127,99,.6); transition: text-decoration-color var(--duration-micro) ease; }
.industry-row-link:hover { text-decoration-color: var(--ink); }
.industry-row-link span { display: inline-block; transition: transform var(--duration-ui) var(--ease-expo); }
.industry-row-link:hover span { transform: translate(3px, -2px); }

/* ------------------------------------------------------------- research */
.research-band { padding: 0 0 var(--band); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .55fr); gap: clamp(70px, 9vw, 150px); }
.research-proof { padding: clamp(44px, 5vw, 74px); color: var(--on-night); background: var(--night-2); }
.research-proof .section-label { color: var(--on-night-3); }
.research-proof > strong { display: block; margin: clamp(56px, 7vw, 110px) 0 18px; font-size: clamp(70px, 9vw, 140px); line-height: .8; letter-spacing: -.07em; font-weight: 500; }
.research-proof h2 { max-width: 720px; margin: 0; font-size: clamp(31px, 3.5vw, 55px); line-height: 1; letter-spacing: -.05em; }
.research-proof > p:not(.section-label) { max-width: 590px; margin: 26px 0 32px; color: var(--on-night-2); line-height: 1.6; }
.research-index { align-self: end; border-top: 1px solid var(--line-strong); }
.research-index a { min-height: 120px; padding: 22px 14px; display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; align-content: center; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color var(--duration-ui) ease; }
.research-index span { color: var(--muted); font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.research-index b { max-width: 32ch; font-size: 17px; font-weight: 450; line-height: 1.35; }
.research-index i { grid-column: 2; grid-row: 1 / 3; align-self: center; font-style: normal; transition: transform .25s var(--ease); }
.research-index a:hover i { transform: translate(3px, -3px); }
.research-index a:hover { background: rgba(16,18,16,.04); }

/* -------------------------------------------------------------- physical */
.physical-band { padding: var(--band) 0; background: #b6c5cf; }
.physical-band-grid { display: grid; grid-template-columns: minmax(0, .62fr) minmax(520px, 1fr); gap: clamp(65px, 8vw, 130px); align-items: center; }
.physical-band-copy > p:not(.section-label) { color: rgba(16,18,16,.68); }
.physical-band-image { position: relative; min-height: 620px; overflow: hidden; color: var(--on-night); background: var(--night); text-decoration: none; }
.physical-band-image img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; filter: saturate(.72); transition: transform 900ms var(--ease-expo); }
.physical-band-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,12,10,.7), transparent 55%); }
.physical-band-image:hover img { transform: scale(1.055); }
.physical-band-image > span { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 28px; display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; transition: transform var(--duration-ui) var(--ease-expo); }
.physical-band-image:hover > span { transform: translateY(-6px); }
.physical-band-image b { font-size: 28px; font-weight: 520; letter-spacing: -.04em; }
.physical-band-image small { grid-column: 1; color: var(--on-night-2); font-size: 13px; }
.physical-band-image i { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 22px; font-style: normal; }

/* --------------------------------------------------------------- CTA */
.company-cta { padding: var(--band) 0; color: var(--on-night); background: #171916; }
.company-cta-grid { display: grid; grid-template-columns: 150px 1fr auto; gap: clamp(40px, 6vw, 90px); align-items: end; }
.company-cta .section-label { color: var(--on-night-3); }
.company-cta h2 { font-size: clamp(44px, 5.4vw, 82px); }
.company-cta .button { color: var(--ink); background: var(--paper); }

/* ---------------------------------------------------------- Private page */
.private-hero-visual,
.division-hero-visual { grid-column: 1 / -1; min-height: 680px; padding: clamp(28px, 4vw, 58px); color: var(--on-night); background: var(--night); }
.private-hero-visual { display: grid; grid-template-columns: minmax(0, .7fr) minmax(520px, 1fr); gap: clamp(50px, 7vw, 100px); align-items: center; }
.private-visual-copy h2 { max-width: 12ch; margin: 0; font-size: clamp(40px, 5vw, 76px); line-height: .96; letter-spacing: -.055em; }
.private-visual-copy p { max-width: 48ch; margin: 28px 0 0; color: var(--on-night-2); line-height: 1.6; }
.private-deployments { padding: var(--band) 0; }
.private-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.private-choice { min-height: 640px; padding: clamp(30px, 4vw, 56px); display: flex; flex-direction: column; background: var(--paper-2); }
.private-choice:nth-child(2) { background: #aabcc8; }
.private-choice .section-label { color: var(--muted); }
.private-choice h2 { max-width: 10ch; margin-top: clamp(65px, 8vw, 110px); font-size: clamp(39px, 4.5vw, 68px); }
.private-choice > p:not(.section-label) { max-width: 55ch; margin: auto 0 28px; color: var(--muted); line-height: 1.6; }
.private-choice ul { margin: 0; padding: 0; list-style: none; }
.private-choice li { padding: 13px 0; border-top: 1px solid rgba(16,18,16,.18); font-size: 13px; }
.private-system { padding: var(--band) 0; border-top: 1px solid var(--line); }
.private-system-head { display: grid; grid-template-columns: 1fr minmax(300px, .4fr); gap: 70px; align-items: end; }
.private-system-head p { margin: 0; color: var(--muted); line-height: 1.6; }
.system-grid { margin-top: 70px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.system-grid article { min-height: 290px; padding: 24px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.system-grid article:nth-child(3n) { border-right: 0; }
.system-grid span { color: var(--muted); font-family: var(--mono); font-size: 10px; }
.system-grid h3 { margin: auto 0 12px; font-size: 25px; letter-spacing: -.04em; }
.system-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.security-band { padding: var(--band) 0; color: var(--on-night); background: var(--night); }
.security-grid { display: grid; grid-template-columns: .7fr 1fr; gap: clamp(70px, 9vw, 150px); }
.security-copy h2 { margin: 0; font-size: clamp(44px, 5vw, 76px); line-height: .96; letter-spacing: -.055em; }
.security-copy p { max-width: 48ch; margin: 28px 0; color: var(--on-night-2); line-height: 1.6; }
.security-list { border-top: 1px solid var(--line-night); }
.security-list div { min-height: 92px; padding: 20px 0; display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; border-bottom: 1px solid var(--line-night); }
.security-list span { color: var(--on-night-3); font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.security-list b { font-weight: 450; }

/* --------------------------------------------------- Physical overview */
.division-hero-visual { position: relative; overflow: hidden; padding: 0; }
.division-hero-visual img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.division-hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,15,12,.65), transparent 65%); }
.division-hero-card { position: absolute; z-index: 2; left: 30px; right: 30px; bottom: 30px; max-width: 520px; padding: 24px; color: var(--on-night); background: rgba(16,18,16,.82); backdrop-filter: blur(16px); }
.division-hero-card span { color: var(--on-night-3); font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.division-hero-card h2 { margin: 22px 0 8px; font-size: 31px; letter-spacing: -.04em; }
.division-hero-card p { margin: 0; color: var(--on-night-2); font-size: 13px; }
.division-product { padding: var(--band) 0; }
.division-card { display: grid; grid-template-columns: minmax(0, .65fr) minmax(500px, 1fr); min-height: 680px; color: var(--on-night); background: var(--night); }
.division-card-copy { padding: clamp(40px, 5vw, 74px); display: flex; flex-direction: column; }
.division-card-copy .section-label { color: var(--on-night-3); }
.division-card-copy h2 { margin-top: auto; }
.division-card-copy p { max-width: 48ch; margin: 25px 0 32px; color: var(--on-night-2); line-height: 1.6; }
.division-card-media { position: relative; overflow: hidden; }
.division-card-media img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }

/* ----------------------------------------------------------- fine motion */
.word-reveal { display: inline-block; margin-right: .22em; }
.js .word-reveal { opacity: 0; filter: blur(5px); transform: translateY(5px); transition: opacity 540ms var(--ease-expo), filter 540ms var(--ease-expo), transform 540ms var(--ease-expo); transition-delay: calc(var(--word-index) * 42ms); }
.js .in .word-reveal { opacity: 1; filter: none; transform: none; }

.private-band,
.security-band,
.company-cta,
.research-proof { border-top: 1px solid rgba(242,241,236,.12); }

@media (min-width: 1200px) {
  .platform-home main > .shell,
  .private-page main > .shell,
  .physical-overview main > .shell {
    box-shadow: inset 1px 0 var(--registration), inset -1px 0 var(--registration);
  }
  .platform-hero,
  .private-hero,
  .division-hero,
  .statement,
  .industry-section,
  .private-deployments,
  .private-system,
  .faq { padding-inline: clamp(24px, 2.6vw, 42px); }
  .platform-flow,
  .research-band { padding-inline: 1px; }
}

/* ----------------------------------------------------------- responsive */
@media (max-width: 1150px) {
  .product-shell { grid-template-columns: 170px 1fr; }
  .physical-band-grid { grid-template-columns: 1fr 1fr; gap: 54px; }
  .platform-flow { grid-template-columns: repeat(3, 1fr); }
  .platform-step:nth-child(3) { border-right: 0; }
  .platform-step:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .platform-step:nth-child(4) { grid-column: 1 / 2; }
  .platform-step:nth-child(5) { border-right: 0; }
  .platform-step { --trace-y: 104px; }
  .platform-step:nth-child(1) { --trace-x: 0%; }
  .platform-step:nth-child(2) { --trace-x: 50%; }
  .platform-step:nth-child(3) { --trace-x: 100%; }
  .platform-step:nth-child(4) { --trace-x: 0%; }
  .platform-step:nth-child(5) { --trace-x: 100%; }
  .industry-ledger { grid-template-columns: 1fr; gap: 40px; }
  .industry-intro { position: static; }
  .industry-intro h2 { max-width: 18ch; }
  .research-band { grid-template-columns: 1fr .5fr; gap: 50px; }
  .company-cta-grid { grid-template-columns: 1fr; align-items: start; }
  .private-hero-visual { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .platform-hero,
  .private-hero,
  .division-hero { grid-template-columns: 1fr; gap: 30px; }
  .platform-hero h1,
  .private-hero h1,
  .division-hero h1 { font-size: clamp(55px, 11vw, 88px); }
  .platform-hero-side,
  .private-hero-side,
  .division-hero-side { max-width: 600px; }
  .product-shell { min-height: 0; grid-template-columns: 1fr; }
  .product-sidebar { display: none; }
  .product-main { padding: 34px; }
  .product-row { grid-template-columns: minmax(0, 1fr) 96px; }
  .product-row > span:nth-child(2) { display: none; }
  .product-table-head span:last-child { grid-column: 2; }
  .platform-rail { grid-template-columns: repeat(2, 1fr); }
  .platform-rail .rail-item:nth-child(3) { border-left: 0; }
  .private-grid,
  .physical-band-grid,
  .research-band,
  .private-hero-visual,
  .security-grid,
  .division-card { grid-template-columns: 1fr; }
  .private-stack { margin-top: 22px; }
  .private-stack > div { grid-template-columns: 32px 1fr; }
  .private-stack small { grid-column: 2; text-align: left; }
  .system-grid { grid-template-columns: repeat(2, 1fr); }
  .system-grid article:nth-child(3n) { border-right: 1px solid var(--line); }
  .system-grid article:nth-child(2n) { border-right: 0; }
  .research-index { align-self: auto; }
  .physical-band-image { min-height: 560px; }
  .private-choices { grid-template-columns: 1fr; }
  .private-system-head { grid-template-columns: 1fr; gap: 28px; }
  .division-card-media { min-height: 520px; order: -1; }
}

@media (max-width: 620px) {
  .platform-hero,
  .private-hero,
  .division-hero { padding-top: 44px; }
  .platform-hero h1,
  .private-hero h1,
  .division-hero h1 { font-size: clamp(47px, 14vw, 66px); line-height: .91; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .product-frame { margin-inline: -14px; padding: 7px; }
  .product-topbar { padding: 0 10px; }
  .product-top-status { display: none; }
  .product-main { padding: 24px 18px; }
  .product-heading { display: block; }
  .product-chip { margin-top: 16px; }
  .product-metrics { grid-template-columns: 1fr; }
  .product-metrics article { min-height: 106px; border-right: 0; border-bottom: 1px solid #d8d9d4; }
  .product-metrics article:last-child { border-bottom: 0; }
  .product-row { grid-template-columns: minmax(0, 1fr) 82px; }
  .product-caption { padding: 0 4px 6px; }
  .platform-flow { grid-template-columns: 1fr; }
  .platform-step,
  .platform-step:nth-child(4) { min-height: 260px; grid-column: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .platform-step p { min-height: 0; }
  .platform-step { --trace-x: 12px; --trace-y: 27px; --trace-scale: .62; padding-left: 34px; background-image: linear-gradient(rgba(16,18,16,.16), rgba(16,18,16,.16)); background-size: 1px 100%; background-position: 12px 0; }
  .platform-step:nth-child(1),
  .platform-step:nth-child(2),
  .platform-step:nth-child(3),
  .platform-step:nth-child(4),
  .platform-step:nth-child(5) { --trace-x: 12px; }
  .trace-mark { --trace-scale: .62; }
  .platform-step:hover .trace-mark { --trace-scale: .68; }
  .private-grid,
  .physical-band-grid { gap: 46px; }
  .private-band { padding: 64px 0; }
  .private-path { grid-template-columns: 34px 1fr; }
  .private-layers li { grid-template-columns: 36px 1fr; row-gap: 3px; }
  .private-layers small { grid-column: 2; text-align: left; }
  .private-veyl-band { grid-template-columns: 1fr; gap: 6px; }
  .private-boundary-meta { flex-direction: column; gap: 7px; }
  .private-contained { text-align: left; }
  .system-grid { grid-template-columns: 1fr; }
  .system-grid article,
  .system-grid article:nth-child(2n),
  .system-grid article:nth-child(3n) { min-height: 250px; border-right: 0; }
  .industry-row { min-height: 0; padding: 24px 0 26px; grid-template-columns: 1fr; row-gap: 10px; align-items: start; }
  .industry-row h3,
  .industry-row > p,
  .industry-row > div { grid-column: 1; }
  .industry-row h3 { margin-bottom: 2px; }
  .industry-row p { max-width: 56ch; padding-bottom: 0; }
  .industry-row::before { bottom: 14px; }
  .industry-index { right: -4px; bottom: -26px; left: auto; font-size: 120px; }
  .industry-row:hover h3 { transform: translateX(6px); }
  .research-proof { padding: 34px 24px; }
  .physical-band-image { min-height: 470px; }
  .private-hero-visual,
  .division-hero-visual { min-height: 560px; margin-inline: -14px; padding: 28px 22px; }
  .division-hero-visual { padding: 0; }
  .private-choice { min-height: 560px; }
  .security-list div { grid-template-columns: 1fr; gap: 8px; }
  .division-hero-card { left: 14px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-line > span,
  .word-reveal,
  [data-assemble] .product-topbar,
  [data-assemble] .product-heading,
  [data-assemble] .product-sidebar a,
  [data-assemble] .product-sidebar-foot,
  [data-assemble] .product-metrics article,
  [data-assemble] .product-row,
  [data-assemble] .decision,
  .private-stack > div {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
  .private-diagram .private-boundary,
  .private-diagram .private-layers li,
  .private-diagram .private-veyl-band,
  .private-diagram .private-boundary-meta {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .industry-row::before,
  .industry-row h3,
  .industry-index,
  .trace-mark { transition: none !important; }
  .platform-home .header-cta::after,
  .private-page .header-cta::after,
  .physical-overview .header-cta::after { display: none; }
}
