/* ==========================================================================
   Evolvade AI — site stylesheet
   Structure: tokens · base · type · layout · components · chrome ·
              sections · visuals · motion · responsive
   ========================================================================== */

/* ---------- Tokens (theme.js overrides these at runtime) ---------- */
:root {
  --c-paper: #ffffff;
  --c-mist: #f4f5f7;
  --c-ink: #0a0b0d;
  --c-night: #07080b;
  --c-snow: #f4f5f7;
  --c-accent: #2f5bff;
  --c-accent-dark: #5e86ff;
  --ff-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ff-body: var(--ff-display);
  --ff-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ff-serif: 'Instrument Serif', Georgia, serif;
  --fw-display: 600;
  --ls-display: -0.035em;
  --fs-base: 17px;
  --container: 1240px;
  --radius: 20px;
  --radius-btn: 999px;
  --space: 1;
  --em-family: var(--ff-serif);
  --em-style: italic;
  --em-weight: 400;
  --em-color: inherit;
  --em-scale: 1.06;

  --gutter: clamp(20px, 4.6vw, 56px);
  --header-h: 64px;
  --ln-h: 52px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --danger: #d93025;
}

/* Tone variables. Any element with .themed recomputes the derived palette from its own --bg/--fg. */
.t-light { --bg: var(--c-paper); --fg: var(--c-ink); --accent: var(--c-accent); --card: var(--c-mist); }
.t-mist { --bg: var(--c-mist); --fg: var(--c-ink); --accent: var(--c-accent); --card: var(--c-paper); }
.t-dark,
.t-midnight { --bg: var(--c-night); --fg: var(--c-snow); --accent: var(--c-accent-dark); --card: color-mix(in oklab, var(--fg) 5%, var(--bg)); }
.t-accent { --bg: color-mix(in oklab, var(--c-accent) 88%, #000); --fg: #ffffff; --accent: #ffffff; --card: color-mix(in oklab, #fff 10%, var(--bg)); }
.themed {
  --fg-2: color-mix(in oklab, var(--fg) 66%, var(--bg));
  --fg-3: color-mix(in oklab, var(--fg) 47%, var(--bg));
  --line: color-mix(in oklab, var(--fg) 11%, var(--bg));
  --line-2: color-mix(in oklab, var(--fg) 20%, var(--bg));
  --surface: color-mix(in oklab, var(--fg) 4%, var(--bg));
  --surface-2: color-mix(in oklab, var(--fg) 8%, var(--bg));
  --accent-soft: color-mix(in oklab, var(--accent) 12%, var(--bg));
  background-color: var(--bg);
  color: var(--fg);
}

/* Smooth cross-page fade in browsers that support cross-document view transitions. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-padding-top: calc(var(--header-h) + var(--ln-h) + 8px);
  /* Overscroll shows the hero colour at the top and the footer colour at the bottom. */
  background: linear-gradient(var(--c-paper) 50%, var(--c-night) 50%);
}
html.top-dark { background: var(--c-night); }
@media (prefers-reduced-motion: no-preference) { html[data-motion='on'] { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  font-optical-sizing: auto;
  color: var(--c-ink);
  background: var(--c-paper);
  overflow-x: clip;
}
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, p, figure, dl, dd, blockquote, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
p { text-wrap: pretty; }
::selection { background: color-mix(in oklab, var(--c-accent) 26%, transparent); }
:focus-visible { outline: 2px solid var(--accent, var(--c-accent)); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 300; padding: 10px 16px; border-radius: 10px; background: var(--c-ink); color: #fff; font-size: 14px; transform: translateY(-160%); transition: transform 0.3s var(--ease-out); }
.skip-link:focus { transform: none; }
.site-main { display: block; outline: none; background: var(--c-paper); }

/* ---------- Typography ---------- */
.d-xl, .d-l, .d-m, .d-s {
  font-family: var(--ff-display);
  font-weight: var(--fw-display);
  text-wrap: balance;
  font-kerning: normal;
}
.d-xl { font-size: clamp(3.05rem, 1rem + 7.4vw, 8.4rem); line-height: 0.94; letter-spacing: calc(var(--ls-display) - 0.012em); }
.d-l { font-size: clamp(2.25rem, 1.2rem + 3.05vw, 4.1rem); line-height: 1.02; letter-spacing: var(--ls-display); }
.d-m { font-size: clamp(1.85rem, 1.2rem + 2.05vw, 3.05rem); line-height: 1.07; letter-spacing: calc(var(--ls-display) + 0.006em); }
.d-s { font-size: clamp(1.4rem, 1.08rem + 0.95vw, 1.95rem); line-height: 1.16; letter-spacing: calc(var(--ls-display) + 0.014em); }
:is(.d-xl, .d-l, .d-m, .d-s, .ct-text, .pr-text, .ft-statement, .eq-res-label, .sgp-title h2) em {
  font-family: var(--em-family);
  font-style: var(--em-style);
  font-weight: var(--em-weight);
  color: var(--em-color);
  font-size: calc(var(--em-scale) * 1em);
  letter-spacing: -0.012em;
  line-height: 0.9;
  padding-right: 0.04em;
}
.lede { font-size: clamp(1.15rem, 0.98rem + 0.55vw, 1.42rem); line-height: 1.45; letter-spacing: -0.012em; color: var(--fg-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.eyebrow::before { content: ''; width: 1.25rem; height: 1px; background: var(--accent); flex: none; }
.eyebrow:has(.eyebrow-num)::before { display: none; }
.eyebrow-num { color: var(--accent); display: inline-flex; align-items: center; gap: 0.75rem; }
.eyebrow-num::after { content: ''; width: 1.25rem; height: 1px; background: var(--line-2); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons & links ---------- */
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.btn {
  --h: 50px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: var(--h);
  padding: 0 1.45rem;
  border-radius: var(--radius-btn);
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.006em;
  white-space: nowrap;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn .ico { flex: none; }
.btn-arrow { transition: transform 0.45s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn[target='_blank']:hover .btn-arrow { transform: translate(2px, -2px); }
.btn--primary { background: var(--c-accent); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14); }
.btn--primary:hover { background: color-mix(in oklab, var(--c-accent) 86%, #000); }
:is([data-tone='dark'], .t-dark, .t-midnight) .btn--primary:hover { background: color-mix(in oklab, var(--c-accent) 88%, #fff); }
.btn--secondary { color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--secondary:hover { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fg) 46%, var(--bg)); background: var(--surface); }
.btn--link { --h: auto; padding: 0.35rem 0; border-radius: 0; gap: 0.45rem; color: var(--fg); font-weight: 500; }
.btn--link span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.5s var(--ease-out); padding-bottom: 2px; }
.btn--link:hover span { background-size: 100% 1px; }
.btn--link .btn-arrow { color: var(--accent); }
.btn--sm { --h: 38px; padding: 0 1.05rem; font-size: 0.875rem; }
.btn--xs { --h: 32px; padding: 0 0.9rem; font-size: 0.8125rem; }
.btn-play { width: 12px; height: 12px; }
.btn.is-loading { pointer-events: none; opacity: 0.75; }
.btn.is-loading::after { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 26px;
  padding: 0 0.75rem;
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.badge--accent { color: var(--accent); background: color-mix(in oklab, var(--accent) 9%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 38%, transparent); }
.badge--accent::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in oklab, currentColor 22%, transparent); }

/* ---------- Media frames & placeholders ---------- */
.frame { position: relative; overflow: hidden; width: 100%; border-radius: var(--radius); background: var(--surface); isolation: isolate; }
.frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame > img.is-contain { object-fit: contain; }
.frame--vis { background: color-mix(in oklab, var(--fg) 2.2%, var(--bg)); box-shadow: inset 0 0 0 1px var(--line); }
.frame .vis { position: absolute; inset: 0; aspect-ratio: auto !important; }
.frame .vis > svg { width: 100%; height: 100%; }
.frame--ph { background: linear-gradient(160deg, color-mix(in oklab, var(--fg) 3.5%, var(--bg)), color-mix(in oklab, var(--fg) 6.5%, var(--bg))); box-shadow: inset 0 0 0 1px var(--line); }
.frame--hero { border-radius: calc(var(--radius) + 6px); }
.t-dark .frame--hero, .t-midnight .frame--hero { box-shadow: inset 0 0 0 1px var(--line), 0 70px 120px -110px color-mix(in oklab, var(--accent) 70%, transparent); }
.ph { position: absolute; inset: 0; display: grid; place-items: center; }
.ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(color-mix(in oklab, var(--fg) 16%, transparent) 1px, transparent 1.2px);
  background-size: 22px 22px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 75%);
}
.ph-c { position: absolute; width: 16px; height: 16px; border-color: var(--line-2); border-style: solid; border-width: 0; }
.ph-c--tl { top: 18px; left: 18px; border-top-width: 1px; border-left-width: 1px; }
.ph-c--tr { top: 18px; right: 18px; border-top-width: 1px; border-right-width: 1px; }
.ph-c--bl { bottom: 18px; left: 18px; border-bottom-width: 1px; border-left-width: 1px; }
.ph-c--br { bottom: 18px; right: 18px; border-bottom-width: 1px; border-right-width: 1px; }
.ph-x { position: absolute; width: 28px; height: 28px; left: 50%; top: 50%; translate: -50% -50%; }
.ph-x::before, .ph-x::after { content: ''; position: absolute; background: var(--line-2); }
.ph-x::before { left: 0; right: 0; top: 50%; height: 1px; }
.ph-x::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.ph-label { display: none; position: relative; z-index: 1; flex-direction: column; align-items: center; gap: 0.35rem; text-align: center; padding: 0.9rem 1.2rem; border-radius: 12px; background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 10px 30px -12px rgb(0 0 0 / 0.18); font-size: 0.8125rem; font-weight: 500; color: var(--fg); max-width: 80%; }
.ph-label .ico { color: var(--accent); }
.ph-label small { font-family: var(--ff-mono); font-size: 0.6875rem; letter-spacing: 0.06em; color: var(--fg-3); font-weight: 400; }
.is-preview .ph-label { display: flex; }
.is-preview .ph-x { display: none; }

.frame-play { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; color: #fff; background: radial-gradient(ellipse at center, rgb(0 0 0 / 0.18), transparent 70%); }
.frame-play-ring { width: clamp(64px, 7vw, 88px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / 0.14); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.32), 0 20px 50px -20px rgb(0 0 0 / 0.5); transition: transform 0.6s var(--ease-out), background-color 0.3s; }
.frame-play-ring .ico { transform: translateX(2px); }
.frame-play-label { font-family: var(--ff-mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.frame-play:hover .frame-play-ring { transform: scale(1.07); background: rgb(255 255 255 / 0.22); }
.frame--vis .frame-play, .frame--ph .frame-play { color: var(--fg); background: none; }
.frame--vis .frame-play-ring, .frame--ph .frame-play-ring { background: color-mix(in oklab, var(--bg) 70%, transparent); box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 50px -20px rgb(0 0 0 / 0.35); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: var(--fg);
  transition: transform 0.55s var(--ease-out), color 0.35s var(--ease);
}
.site-header[data-tone='light'] { --bg: var(--c-paper); --fg: var(--c-ink); --accent: var(--c-accent); --menu-bg: var(--c-paper); }
.site-header[data-tone='dark'] { --bg: var(--c-night); --fg: var(--c-snow); --accent: var(--c-accent-dark); --menu-bg: #101217; }
.site-header, .localnav {
  --fg-2: color-mix(in oklab, var(--fg) 66%, var(--bg));
  --fg-3: color-mix(in oklab, var(--fg) 47%, var(--bg));
  --line: color-mix(in oklab, var(--fg) 10%, var(--bg));
  --line-2: color-mix(in oklab, var(--fg) 20%, var(--bg));
  --surface: color-mix(in oklab, var(--fg) 5%, var(--menu-bg, var(--bg)));
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: color-mix(in oklab, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.8) blur(22px);
  backdrop-filter: saturate(1.8) blur(22px);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0;
  transition: opacity 0.4s var(--ease), background-color 0.35s var(--ease);
}
.site-header.is-scrolled::before, .site-header.is-menu-open::before { opacity: 1; }
.site-header.is-menu-open::before { background: var(--bg); box-shadow: none; }
.hdr-off .site-header:not(.is-menu-open) { transform: translateY(-101%); }
.hdr { position: relative; height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.hdr-logo { justify-self: start; display: inline-flex; align-items: center; height: 40px; border-radius: 8px; }
.brand { display: inline-flex; align-items: center; }
.brand--text { font-family: var(--ff-display); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.028em; line-height: 1; white-space: nowrap; }
.brand-img { height: var(--logo-h, 22px); width: auto; max-width: 220px; object-fit: contain; }
.brand-img--dark { display: none; }
[data-tone='dark'] .brand-img--light { display: none; }
[data-tone='dark'] .brand-img--dark { display: block; }

.hdr-nav { justify-self: center; }
.nav-list { display: flex; align-items: center; gap: 0.125rem; }
.nav-item { position: relative; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 0.3rem; height: 38px; padding: 0 0.9rem; border-radius: 999px; font-size: 0.875rem; font-weight: 450; letter-spacing: -0.003em; color: var(--fg-2); transition: color 0.25s var(--ease), background-color 0.25s var(--ease); }
.nav-link:hover, .nav-trigger[aria-expanded='true'], .nav-item.is-active > .nav-link { color: var(--fg); }
.nav-item.is-active > .nav-link::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 3px; height: 3px; margin-left: -1.5px; border-radius: 50%; background: var(--accent); }
.nav-chev { transition: transform 0.4s var(--ease-out); opacity: 0.7; }
.nav-trigger[aria-expanded='true'] .nav-chev { transform: rotate(180deg); }

.nav-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: min(640px, calc(100vw - 32px));
  padding: 8px;
  border-radius: 24px;
  background: var(--menu-bg);
  color: var(--fg);
  box-shadow: 0 0 0 1px var(--line), 0 40px 90px -30px rgb(0 0 0 / 0.32), 0 12px 30px -16px rgb(0 0 0 / 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -8px) scale(0.985);
  transform-origin: 50% 0;
  transition: opacity 0.25s var(--ease), transform 0.45s var(--ease-out), visibility 0s linear 0.45s;
}
.nav-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.has-menu.is-open .nav-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
.nm-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 6px; }
.nm-grid--1 { grid-template-columns: 1fr; }
.nm-grid--3 { grid-template-columns: repeat(3, 1fr); }
.nm-card { position: relative; display: flex; flex-direction: column; gap: 0.4rem; min-height: 184px; padding: 20px 22px 22px; border-radius: 17px; transition: background-color 0.3s var(--ease); }
.nm-card:hover { background: var(--surface); }
.nm-card--featured { background: color-mix(in oklab, var(--accent) 8%, var(--menu-bg)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 16%, transparent); }
.nm-card--featured:hover { background: color-mix(in oklab, var(--accent) 12%, var(--menu-bg)); }
.nm-badge { font-family: var(--ff-mono); font-size: 0.65rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); margin-bottom: auto; }
.nm-card--featured .nm-badge { color: var(--accent); }
.nm-title { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.nm-card--featured .nm-title { font-size: 1.6rem; }
.nm-desc { font-size: 0.8438rem; line-height: 1.45; color: var(--fg-2); max-width: 26ch; }
.nm-go { position: absolute; top: 18px; right: 18px; color: var(--fg-3); transition: transform 0.45s var(--ease-out), color 0.3s; }
.nm-card:hover .nm-go { color: var(--fg); transform: translateX(3px); }
.nm-card--featured .nm-go { color: var(--accent); }
.nm-all { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding: 14px 22px; border-radius: 14px; font-size: 0.875rem; color: var(--fg-2); transition: background-color 0.25s, color 0.25s; }
.nm-all:hover { background: var(--surface); color: var(--fg); }
.nm-all .ico { transition: transform 0.45s var(--ease-out); }
.nm-all:hover .ico { transform: translateX(3px); }

.hdr-actions { justify-self: end; display: flex; align-items: center; gap: 0.5rem; }
.hdr-burger { display: none; position: relative; width: 42px; height: 42px; border-radius: 50%; }
.hdr-burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform 0.5s var(--ease-out), top 0.5s var(--ease-out); }
.hdr-burger span:first-child { top: 17px; }
.hdr-burger span:last-child { top: 24px; }
.is-menu-open .hdr-burger span:first-child { top: 20.25px; transform: rotate(45deg); }
.is-menu-open .hdr-burger span:last-child { top: 20.25px; transform: rotate(-45deg); }

.mnav {
  position: fixed;
  inset: 0;
  z-index: -1;
  padding-top: var(--header-h);
  background: var(--bg);
  color: var(--fg);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}
.is-menu-open .mnav { opacity: 1; visibility: visible; transition-delay: 0s; }
.mnav-inner { display: flex; flex-direction: column; min-height: 100%; padding-top: 1.5rem; padding-bottom: calc(2rem + env(safe-area-inset-bottom)); }
.mnav-item, .mnav-foot { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease-out); transition-delay: calc(var(--i) * 45ms + 60ms); }
.is-menu-open :is(.mnav-item, .mnav-foot) { opacity: 1; transform: none; }
.mnav-item { border-bottom: 1px solid var(--line); }
.mnav-link { display: block; padding: 1.05rem 0; font-family: var(--ff-display); font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.mnav-link--group { padding-bottom: 0.5rem; color: var(--fg-3); font-size: 0.75rem; font-family: var(--ff-mono); font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; padding-top: 1.4rem; }
.mnav-sub { padding-bottom: 0.9rem; }
.mnav-sub a { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; font-family: var(--ff-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.028em; }
.mnav-sub small { font-family: var(--ff-mono); font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.mnav-foot { margin-top: auto; padding-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.mnav-foot .btn { width: 100%; }
.mnav-mail { font-size: 0.9375rem; color: var(--fg-2); }

/* Local (product) navigation */
.localnav {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h);
  z-index: 95;
  height: var(--ln-h);
  color: var(--fg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.35s var(--ease), transform 0.55s var(--ease-out), top 0.55s var(--ease-out), visibility 0s linear 0.55s;
}
.localnav[data-tone='light'] { --bg: var(--c-paper); --fg: var(--c-ink); --accent: var(--c-accent); }
.localnav[data-tone='dark'] { --bg: var(--c-night); --fg: var(--c-snow); --accent: var(--c-accent-dark); }
.localnav::before { content: ''; position: absolute; inset: 0; background: color-mix(in oklab, var(--bg) 88%, transparent); -webkit-backdrop-filter: saturate(1.8) blur(22px); backdrop-filter: saturate(1.8) blur(22px); box-shadow: 0 1px 0 var(--line), 0 -1px 0 var(--line); transition: background-color 0.35s; }
.ln-on .localnav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.hdr-off .localnav { top: 0; }
.hdr-off .localnav::before { box-shadow: 0 1px 0 var(--line); }
.ln { position: relative; height: 100%; display: flex; align-items: center; gap: 1.75rem; }
.ln-title { font-family: var(--ff-display); font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.022em; margin-right: auto; white-space: nowrap; }
.ln-links { display: flex; align-items: center; gap: 1.5rem; height: 100%; }
.ln-links a { position: relative; display: flex; align-items: center; height: 100%; font-size: 0.8125rem; color: var(--fg-2); white-space: nowrap; transition: color 0.25s; }
.ln-links a:hover, .ln-links a.is-active { color: var(--fg); }
.ln-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--accent); transform: scaleX(0); transition: transform 0.5s var(--ease-out); }
.ln-links a.is-active::after { transform: scaleX(1); }
.ln-toggle { display: none; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center; color: var(--fg-2); transition: transform 0.4s var(--ease-out); }
.ln.is-open .ln-toggle { transform: rotate(180deg); }
.ln-spacer { flex: 1; }

/* ==========================================================================
   Sections — shared
   ========================================================================== */
.sec { position: relative; padding-block: var(--pad); isolation: isolate; }
/* Spacing follows the viewport height too, so a section can sit within one screen. */
.sp-compact { --pad: calc(clamp(56px, min(6vw, 9vh), 96px) * var(--space)); }
.sp-default { --pad: calc(clamp(72px, min(8vw, 12vh), 128px) * var(--space)); }
.sp-spacious { --pad: calc(clamp(88px, min(10vw, 15vh), 168px) * var(--space)); }
.sp-none { --pad: 0px; }
.site-main > .sec:first-child:not(.sec--hero) { padding-top: calc(var(--pad) + var(--header-h) + clamp(24px, 4vw, 56px)); }
.ln-page .site-main > .sec:first-child:not(.sec--hero) { padding-top: calc(var(--pad) + var(--header-h) + clamp(24px, 4vw, 56px)); }

/* Rhythm: consecutive sections of the same tone share a hairline instead of doubled whitespace. */
:is(.t-light + .t-light, .t-mist + .t-mist, :is(.t-dark, .t-midnight) + :is(.t-dark, .t-midnight)):not(.has-bg) { padding-top: calc(var(--pad) * 0.62); }
:is(.t-light + .t-light, .t-mist + .t-mist, :is(.t-dark, .t-midnight) + :is(.t-dark, .t-midnight)):not(.has-bg)::before {
  content: '';
  position: absolute;
  top: 0;
  left: max(var(--gutter), calc((100% - var(--container)) / 2));
  right: max(var(--gutter), calc((100% - var(--container)) / 2));
  height: 1px;
  background: var(--line);
}
.t-midnight { background-image: radial-gradient(ellipse 70% 55% at 50% 0%, color-mix(in oklab, var(--accent) 17%, transparent), transparent 72%); }
.sec-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.sec-bg img { width: 100%; height: 100%; object-fit: cover; }
.sec-bg span { position: absolute; inset: 0; background: var(--bg); }
.has-bg[data-tone='dark'] .sec-bg::after { content: ''; position: absolute; inset: 0; background-image: var(--grain); pointer-events: none; }
/* Fill the screen: content centred in a section at least one viewport tall. */
.h-screen { display: flex; flex-direction: column; justify-content: center; min-height: 100svh; }
.h-screen > .wrap { width: 100%; }

.sec-head { max-width: 56rem; margin-bottom: clamp(2.5rem, min(5vw, 8vh), 4.5rem); }
.sec-head :is(.d-l, .d-m) { max-width: 22ch; }
.sec-head :is(.d-l, .d-m) { margin-top: 1.3rem; }
.sec-head.is-center { margin-inline: auto; text-align: center; }
.sec-head.is-center .eyebrow { justify-content: center; }
.sec-intro { margin-top: 1.5rem; max-width: 38rem; font-size: clamp(1.0625rem, 0.98rem + 0.3vw, 1.1875rem); line-height: 1.55; color: var(--fg-2); }
.sec-intro p + p { margin-top: 0.9em; }
.sec-head.is-center .sec-intro { margin-inline: auto; }
.sec-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 56rem) auto; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; }
.sec-head-aside { padding-bottom: 0.4rem; }

/* ---------- Hero (home) ---------- */
.sec--hero { display: flex; flex-direction: column; min-height: min(100svh, 1080px); padding-top: calc(var(--header-h) + clamp(48px, 9.5vh, 132px)); padding-bottom: clamp(28px, 4vw, 48px); overflow: hidden; }
.hero-inner { position: relative; z-index: 1; }
.hero-title { margin-top: clamp(1.25rem, 2.4vw, 2rem); max-width: 14ch; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 33rem) auto; justify-content: space-between; align-items: end; gap: 2rem 4rem; margin-top: clamp(2rem, 4vw, 3.5rem); }
.hero-copy { margin: 0; }
.hero-field { position: relative; flex: 1 1 auto; min-height: clamp(150px, 26vh, 320px); margin-top: clamp(1.5rem, 4vh, 3rem); }
.hero-field canvas { position: absolute; inset: 0 0 34px; width: 100%; height: calc(100% - 34px); opacity: 0; transition: opacity 1.8s var(--ease); }
.hero-field.is-ready canvas { opacity: 1; }
.hero-field-labels { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 1.25rem; height: 20px; font-family: var(--ff-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.hero-field-labels > span:last-child { color: var(--accent); }
.hero-field-ruler { flex: 1; height: 7px; background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 10px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hero-areas { position: relative; display: grid; grid-template-columns: 7rem 1fr; gap: 1rem 2rem; margin-top: clamp(1.75rem, 3.5vh, 2.5rem); padding-top: 1.5rem; }
.hero-areas::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
.hero-areas-label { font-family: var(--ff-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); padding-top: 0.15rem; }
.hero-areas ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.55rem 2rem; counter-reset: area; }
.hero-areas li { counter-increment: area; display: flex; gap: 0.75rem; font-size: 0.875rem; color: var(--fg-2); line-height: 1.4; }
.hero-areas li::before { content: counter(area, decimal-leading-zero); font-family: var(--ff-mono); font-size: 0.6875rem; color: var(--fg-3); padding-top: 0.12rem; }
.hero-media { margin-top: clamp(3rem, 6vw, 5rem); }
.v-plain.sec--hero { min-height: auto; padding-bottom: var(--pad); }

/* ---------- Page hero ---------- */
.phero.has-index { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; gap: 3rem clamp(3rem, 6vw, 6rem); align-items: end; }
.phero-title { margin-top: 1.4rem; max-width: 18ch; }
.phero.has-index .phero-foot { grid-template-columns: minmax(0, 40rem); justify-content: start; }
.phero.has-index .phero-foot .btns { margin-top: 0.5rem; }
.phero-index { padding-bottom: 0.3rem; }
.phero-index p { padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); font-family: var(--ff-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: var(--fg-3); }
.phero-index a { display: flex; align-items: baseline; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; color: var(--fg-2); transition: color 0.25s, padding 0.45s var(--ease-out); }
.phero-index a span { font-family: var(--ff-mono); font-size: 0.6875rem; color: var(--fg-3); transition: color 0.25s; }
.phero-index a:hover { color: var(--fg); padding-left: 0.35rem; }
.phero-index a:hover span { color: var(--accent); }
.phero-foot { display: grid; grid-template-columns: minmax(0, 40rem) auto; justify-content: space-between; align-items: end; gap: 2rem 4rem; margin-top: clamp(2rem, 3.5vw, 3rem); }
.phero-copy { font-size: clamp(1.125rem, 0.98rem + 0.5vw, 1.375rem); line-height: 1.5; letter-spacing: -0.011em; color: var(--fg-2); }
.phero-copy p + p { margin-top: 0.85em; }
.phero-foot:not(:has(.phero-copy)) { grid-template-columns: 1fr; }

/* ---------- Product hero ---------- */
.prh--centered { display: flex; flex-direction: column; align-items: center; text-align: center; }
.prh--centered .eyebrow { justify-content: center; }
.prh-logo { height: clamp(32px, 4vw, 44px); width: auto; margin-bottom: 1.75rem; }
.prh-title { margin-top: 1.4rem; max-width: 19ch; }
.prh-copy { margin-top: 1.75rem; max-width: 44rem; }
.prh .btns { margin-top: 2.25rem; }
.prh--centered .btns { justify-content: center; }
.prh-media { margin-top: clamp(3rem, 5vw, 4.5rem); }
.sec--productHero.v-centered { padding-top: calc(var(--header-h) + clamp(56px, 7.5vw, 112px)); }
.prh--split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 3rem clamp(2rem, 6vw, 6rem); }
.prh--split .prh-title { max-width: 16ch; }
.prh--split .prh-copy { max-width: 36rem; font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem); }
.prh-visual { width: 100%; max-width: 560px; justify-self: end; }

/* ---------- Product feature (home Pandora) ---------- */
.pf-head { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 62rem; margin-inline: auto; }
.pf-head .eyebrow { justify-content: center; }
.product-name { margin-top: 1.6rem; font-family: var(--ff-display); font-size: 1.375rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1; display: inline-flex; align-items: center; gap: 0.6rem; }
.pf-logo { height: 34px; width: auto; margin-top: 1.6rem; }
.pf-title { margin-top: 1.25rem; max-width: 21ch; }
.pf-lede { margin-top: 1.75rem; max-width: 46rem; font-size: clamp(1.125rem, 0.98rem + 0.5vw, 1.375rem); line-height: 1.45; letter-spacing: -0.012em; color: var(--fg-2); }
.pf-lede p + p { margin-top: 0.2rem; color: var(--fg); }
.pf-head .btns { margin-top: 2.5rem; justify-content: center; }
.pf-media { margin-top: clamp(3.5rem, 7vw, 6rem); }
.pf-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem clamp(3rem, 6vw, 6rem); margin-top: clamp(3.5rem, 6vw, 5rem); }
.pf-copy { font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.6; color: var(--fg-2); }
.pf-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.pf-highlights li { padding-top: 1.25rem; border-top: 1px solid var(--line-2); }
.pf-hi-ico { color: var(--accent); }
.pf-highlights h3 { margin: 1.1rem 0 0.45rem; font-family: var(--ff-display); font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; }
.pf-highlights p { font-size: 0.9063rem; line-height: 1.55; color: var(--fg-2); }

/* ---------- Feature grid ---------- */
.fg { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
.fg--c1 { --cols: 1; } .fg--c2 { --cols: 2; } .fg--c3 { --cols: 3; } .fg--c4 { --cols: 4; }
.fg-item { position: relative; }
.fg-link { display: block; height: 100%; }
.fg-ico { color: var(--fg); transition: color 0.4s var(--ease); }
.fg-title { margin: 2.25rem 0 0.7rem; font-family: var(--ff-display); font-size: 1.1875rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.018em; max-width: 17ch; }
.fg-text { font-size: 0.9375rem; line-height: 1.6; color: var(--fg-2); max-width: 34ch; }
.fg-more { display: inline-flex; margin-top: 1.25rem; color: var(--accent); transition: transform 0.45s var(--ease-out); }
.fg-link:hover .fg-more { transform: translateX(3px); }
.fg-item:hover .fg-ico { color: var(--accent); }

.fg--columns { border-top: 1px solid var(--line); }
.fg--columns .fg-item { padding: 2.25rem 2rem 0.25rem 0; }
.fg--columns .fg-item + .fg-item { padding-left: 2rem; box-shadow: inset 1px 0 0 var(--line); }
.fg--columns .fg-item::before { content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.8s var(--ease-out); }
.fg--columns .fg-item:hover::before { transform: scaleX(1); }
.fg--c2.fg--columns .fg-title { font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem); letter-spacing: -0.025em; max-width: 20ch; }
.fg--c2.fg--columns .fg-text { font-size: 1.0625rem; max-width: 40ch; }
.fg--c2.fg--columns .fg-item { padding-right: clamp(2rem, 5vw, 5rem); }
.fg--c2.fg--columns .fg-item + .fg-item { padding-left: clamp(2rem, 5vw, 5rem); }

.fg--cards { gap: 14px; }
.fg--cards .fg-item { padding: 2rem 2rem 2.25rem; border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fg) 4%, transparent); transition: box-shadow 0.4s var(--ease), transform 0.6s var(--ease-out); }
.fg--cards .fg-item:hover { box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 48px -32px rgb(0 0 0 / 0.22); }
.fg--cards .fg-ico { color: var(--accent); }
.fg-idx { position: absolute; top: 2rem; right: 2rem; font-family: var(--ff-mono); font-size: 0.6875rem; color: var(--fg-3); }
.fg--cards .fg-title { margin-top: 3.25rem; }

.fg--numbered { gap: 0 2rem; }
.fg--numbered .fg-item { padding-top: 1.5rem; border-top: 1px solid var(--line-2); }
.fg--numbered .fg-num { font-family: var(--ff-mono); font-size: 0.75rem; color: var(--accent); }
.fg--numbered .fg-title { margin-top: 2.75rem; font-size: 1.375rem; letter-spacing: -0.022em; }

/* ---------- Solutions preview ---------- */
.sp-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 14px; }
.sp-card { position: relative; display: flex; flex-direction: column; min-height: clamp(520px, 46vw, 640px); overflow: hidden; border-radius: calc(var(--radius) + 8px); transition: transform 0.7s var(--ease-out), box-shadow 0.7s var(--ease-out); }
.sp-card:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.35); }
.sp-card--primary { background-image: radial-gradient(ellipse 80% 60% at 85% 100%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 70%); }
.sp-card--secondary { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fg) 5%, transparent); }
.sp-card--secondary:hover { box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgb(0 0 0 / 0.2); }
.sp-body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 3.4vw, 48px); }
.sp-name { margin-top: 1.5rem; font-family: var(--ff-display); font-weight: var(--fw-display); font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.75rem); line-height: 1; letter-spacing: var(--ls-display); }
.sp-card--secondary .sp-name { font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.4rem); max-width: 11ch; }
.sp-logo { margin-top: 1.5rem; height: 40px; width: auto; }
.sp-text { margin-top: 1rem; max-width: 30rem; font-size: 1.0625rem; line-height: 1.5; color: var(--fg-2); }
.sp-link { margin-top: 1.75rem; display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.9375rem; font-weight: 500; }
.sp-link .ico { color: var(--accent); transition: transform 0.45s var(--ease-out); }
.sp-card:hover .sp-link .ico { transform: translateX(4px); }
.sp-media { position: relative; margin-top: auto; }
.sp-card--primary .sp-media { padding-left: clamp(28px, 3.4vw, 48px); }
.sp-card--primary .frame { border-radius: var(--radius) 0 0 0; }
.sp-card--secondary .sp-media { padding: 0 clamp(28px, 3.4vw, 48px) clamp(28px, 3.4vw, 48px); }
.sp-vis .vis--gate { margin-right: -2px; }
.sp-vis--rings { width: 86%; margin: 0 auto -22%; }

/* ---------- Solution spotlight ---------- */
.ss-main { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 3rem clamp(3rem, 7vw, 7rem); }
.ss--compact .ss-main { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.ss--compact .ss-visual { order: -1; max-width: 480px; width: 100%; justify-self: center; }
.ss-text { display: flex; flex-direction: column; align-items: flex-start; }
.ss-name { margin-top: 1.5rem; }
.ss-logo { margin-top: 1.5rem; height: 44px; width: auto; }
.ss-headline { margin-top: 1rem; max-width: 24ch; font-family: var(--ff-display); font-size: clamp(1.25rem, 1rem + 0.8vw, 1.65rem); font-weight: 500; line-height: 1.28; letter-spacing: -0.02em; }
.ss-copy { margin-top: 1.25rem; max-width: 34rem; font-size: 1.0625rem; color: var(--fg-2); }
.ss-text .btns { margin-top: 2.25rem; }
.ss-visual .vis--gate { border-radius: calc(var(--radius) + 4px); background: color-mix(in oklab, var(--fg) 2.5%, var(--bg)); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.ss-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(4rem, 8vw, 6.5rem); border-top: 1px solid var(--line); }
.ss-pillars li { padding: 2rem 2rem 0 0; }
.ss-pillars li + li { padding-left: 2rem; box-shadow: inset 1px 0 0 var(--line); }
.ss-p-top { display: flex; align-items: center; justify-content: space-between; color: var(--accent); }
.ss-p-top span { font-family: var(--ff-mono); font-size: 0.75rem; color: var(--fg-3); }
.ss-pillars h3 { margin: 2rem 0 0.6rem; font-family: var(--ff-display); font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem); font-weight: 600; letter-spacing: -0.03em; }
.ss-pillars p { color: var(--fg-2); font-size: 0.9688rem; max-width: 30ch; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 3rem clamp(3rem, 7vw, 7rem); }
.split--left .split-text { order: 2; }
.split-text h2 { margin-top: 1.3rem; max-width: 16ch; }
.split-copy { margin-top: 1.5rem; max-width: 34rem; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); color: var(--fg-2); }
.split-copy p + p { margin-top: 0.9em; }
.split-text .btns { margin-top: 2.25rem; }

/* ---------- Editorial ---------- */
.ed { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 2rem clamp(3rem, 8vw, 8rem); align-items: start; }
.ed-head h2 { margin-top: 1.3rem; max-width: 19ch; }
.ed-body { padding-top: clamp(0rem, 3vw, 2.6rem); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.55; color: var(--fg-2); }
.ed-body p + p { margin-top: 1em; }
.ed-body .btn { margin-top: 2rem; }

/* ---------- CTA ---------- */
.sec--cta { overflow: hidden; }
.cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta-inner .eyebrow { justify-content: center; }
.cta-title { margin-top: 1.5rem; max-width: 17ch; }
.cta-copy { margin-top: 1.4rem; max-width: 34rem; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); color: var(--fg-2); }
.cta-inner .btns { margin-top: 2.5rem; justify-content: center; }
.v-beam.sec--cta { padding-bottom: 0; }

/* ---------- Statement ---------- */
.st { display: flex; flex-direction: column; align-items: center; text-align: center; }
.st .eyebrow { margin-bottom: 1.5rem; }
.st-title { max-width: 13ch; }
.st-copy { margin-top: 2.25rem; max-width: 34rem; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem); line-height: 1.5; color: var(--fg-2); }
.st::after { content: ''; width: min(360px, 70%); height: 9px; margin-top: clamp(2.5rem, 5vw, 4rem); background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 12px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); }

/* ---------- Comparison ---------- */
.cmp-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 2.5rem clamp(3rem, 6vw, 6rem); margin-bottom: clamp(3rem, 6vw, 5rem); }
.cmp-head h2 { margin-top: 1.3rem; }
.cmp-copy { font-size: 1.0625rem; line-height: 1.6; color: var(--fg-2); }
.cmp-copy p + p { margin-top: 1em; }
.cmp { border-top: 1px solid var(--fg); }
.cmp-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.cmp-row > span { display: flex; align-items: baseline; gap: 0.9rem; padding: 1.3rem 1.5rem 1.3rem 0; font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); line-height: 1.4; }
.cmp-row > span + span { padding-left: 2rem; box-shadow: inset 1px 0 0 var(--line); }
.cmp-row .ico { flex: none; transform: translateY(2px); }
.cmp-row--head > span { padding-block: 1.1rem; font-family: var(--ff-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: var(--fg-3); }
.cmp-row--head > span + span { color: var(--accent); }
.cmp-l { color: var(--fg-3); }
.cmp-r { color: var(--fg); }
.cmp-r .ico { color: var(--accent); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.step { padding-right: 2.25rem; }
.step-top { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 2.5rem; }
.step-num { font-family: var(--ff-mono); font-size: 0.75rem; font-weight: 500; color: var(--accent); }
.step-line { position: relative; flex: 1; height: 1px; background: var(--line-2); transform-origin: 0 50%; }
.step-line::after { content: ''; position: absolute; right: -1px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); }
.step:last-child .step-line { background: linear-gradient(90deg, var(--line-2), var(--accent)); }
.step:last-child .step-line::after { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 20%, transparent); }
.step-ico { color: var(--fg); }
.step-title { margin: 1.4rem 0 0.6rem; font-family: var(--ff-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.step-text { font-size: 0.9375rem; color: var(--fg-2); max-width: 26ch; }

/* ---------- Contrast ---------- */
.ct { display: grid; gap: clamp(1.75rem, 3.5vw, 2.75rem); }
.ct-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 54rem) minmax(0, 1fr); gap: 1.5rem; align-items: baseline; }
.ct-label { justify-self: end; }
.ct-label { font-family: var(--ff-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: var(--fg-3); }
.ct-row--but .ct-label { color: var(--accent); }
.ct-text { font-family: var(--ff-display); font-weight: var(--fw-display); font-size: clamp(1.65rem, 1.05rem + 2.3vw, 3.2rem); line-height: 1.08; letter-spacing: var(--ls-display); text-wrap: balance; }
.ct-row--not .ct-text { color: var(--fg-3); }
.ct-strike { background: linear-gradient(currentColor, currentColor) 0 56% / 100% 2px no-repeat; transition: background-size 1.4s var(--ease-io) 0.4s; }

/* ---------- Equation ---------- */
.eq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3rem clamp(3rem, 8vw, 8rem); align-items: start; }
.eq-head { position: sticky; top: calc(var(--header-h) + var(--ln-h) + 3rem); }
.eq-head h2 { margin-top: 1.3rem; max-width: 12ch; }
.eq-copy { margin-top: 1.5rem; max-width: 30rem; font-size: 1.0625rem; color: var(--fg-2); }
.eq-terms { border-top: 1px solid var(--line); }
.eq-row { display: grid; grid-template-columns: 2.75rem 1.75rem minmax(0, 1fr) auto; align-items: center; gap: 0.75rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); font-family: var(--ff-display); font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); font-weight: 500; letter-spacing: -0.018em; }
.eq-op { font-family: var(--ff-mono); font-size: 1.25rem; font-weight: 400; color: var(--fg-3); line-height: 1; }
.eq-ico { color: var(--fg-2); }
.eq-row.has-note .eq-ico { color: var(--accent); }
.eq-note { font-family: var(--ff-mono); font-size: 0.65rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); padding: 0.4rem 0.7rem; border-radius: 999px; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 35%, transparent); white-space: nowrap; }
.eq-result { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); align-items: center; gap: 0.75rem; margin-top: -1px; padding-top: 1.6rem; border-top: 2px solid var(--fg); }
.eq-result .eq-op { color: var(--accent); font-size: 1.5rem; }
.eq-res-label { font-family: var(--ff-display); font-weight: var(--fw-display); font-size: clamp(1.75rem, 1.15rem + 2.1vw, 2.9rem); line-height: 1.04; letter-spacing: var(--ls-display); }
.eq-caption { margin-top: 1.5rem; padding-left: 3.5rem; font-size: 0.9375rem; color: var(--fg-2); max-width: 36rem; }

/* ---------- Loop ---------- */
.lp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 3rem clamp(3rem, 6vw, 6rem); }
.lp-text h2 { margin-top: 1.3rem; }
.lp-copy { margin-top: 1.5rem; max-width: 34rem; font-size: 1.0625rem; color: var(--fg-2); }
.chips-wrap { margin-top: 2.5rem; }
.chips-label { margin-bottom: 0.9rem; font-family: var(--ff-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: var(--fg-3); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { display: inline-flex; align-items: center; height: 34px; padding: 0 0.95rem; border-radius: 999px; font-size: 0.875rem; color: var(--fg-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.lp-visual { padding-inline: clamp(0px, 4vw, 48px); }

/* ---------- Pipeline ---------- */
.pl { position: relative; padding-top: 3.25rem; }
.pl-steps { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.pl-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 0.5rem; }
.pl-step:not(.is-last)::before { content: ''; position: absolute; top: 32px; left: calc(50% + 44px); right: calc(-50% + 44px); height: 1px; background: var(--line-2); }
.pl-step:not(.is-last)::after { content: ''; position: absolute; top: 29px; right: calc(-50% + 45px); width: 7px; height: 7px; border-top: 1px solid var(--fg-3); border-right: 1px solid var(--fg-3); transform: rotate(45deg); }
.pl-node { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 1.25rem; border-radius: 50%; background: var(--bg); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow 0.4s, color 0.4s; }
.pl-step:nth-child(3) .pl-node { color: var(--accent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 55%, transparent), 0 0 0 6px color-mix(in oklab, var(--accent) 8%, transparent); }
.pl-title { font-family: var(--ff-display); font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.pl-text { margin-top: 0.4rem; font-family: var(--ff-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.pl-return { position: absolute; top: 1.25rem; height: calc(2rem + 32px); left: calc(50% / var(--n)); right: calc(50% / var(--n)); border: 1px dashed var(--line-2); border-bottom: 0; border-radius: 22px 22px 0 0; pointer-events: none; }
.pl-return::after { content: ''; position: absolute; left: -4px; bottom: 26px; width: 7px; height: 7px; border-right: 1px solid var(--accent); border-bottom: 1px solid var(--accent); transform: rotate(45deg); }
.pl-return span { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 0.45rem; padding: 0 0.85rem; background: var(--bg); font-family: var(--ff-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: var(--accent); }
.pl-foot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem clamp(2.5rem, 6vw, 6rem); margin-top: clamp(3.5rem, 6vw, 5rem); padding-top: clamp(2.5rem, 4vw, 3rem); border-top: 1px solid var(--line); align-items: start; }
.pl-copy { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.55; color: var(--fg-2); }
.pl-note { display: flex; gap: 1rem; padding: 1.5rem 1.6rem; border-radius: var(--radius); background: var(--card); font-size: 0.9375rem; line-height: 1.6; color: var(--fg-2); }
.pl-note .ico { flex: none; color: var(--accent); margin-top: 2px; }

/* ---------- Stack ---------- */
.sk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 3rem clamp(3rem, 7vw, 7rem); }
.sk-text h2 { margin-top: 1.3rem; }
.sk-copy { margin-top: 1.5rem; max-width: 32rem; font-size: 1.0625rem; color: var(--fg-2); }
.sk-diagram { position: relative; padding-right: 8.5rem; --gap: 30px; }
.sk-layers { display: grid; grid-auto-rows: 1fr; gap: var(--gap); }
.sk-layer { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: 16px; background: color-mix(in oklab, var(--fg) 3.5%, var(--bg)); box-shadow: inset 0 0 0 1px var(--line-2); }
.sk-layer + .sk-layer::before { content: ''; position: absolute; left: 50%; top: calc(var(--gap) * -1); height: var(--gap); width: 1px; background: linear-gradient(var(--line-2), var(--fg-3)); }
.sk-layer + .sk-layer::after { content: ''; position: absolute; left: calc(50% - 3px); top: -7px; width: 7px; height: 7px; border-right: 1px solid var(--fg-3); border-bottom: 1px solid var(--fg-3); transform: rotate(45deg); }
.sk-layer.is-hl { background: color-mix(in oklab, var(--accent) 13%, var(--bg)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 60%, transparent), 0 0 0 5px color-mix(in oklab, var(--accent) 7%, transparent), 0 24px 70px -24px color-mix(in oklab, var(--accent) 60%, transparent); }
.sk-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--surface-2); color: var(--fg); }
.is-hl .sk-ico { background: var(--accent); color: #fff; }
.sk-title { display: block; font-family: var(--ff-display); font-size: 1rem; font-weight: 600; letter-spacing: -0.012em; line-height: 1.25; }
.sk-sub { display: block; margin-top: 0.2rem; font-size: 0.8125rem; line-height: 1.4; color: var(--fg-2); }
.sk-idx { font-family: var(--ff-mono); font-size: 0.6875rem; color: var(--fg-3); }
.sk-notes { position: absolute; top: 0; bottom: 0; right: 0; width: 7.25rem; }
.sk-note { position: absolute; left: 0; right: 0; display: flex; align-items: center; padding-left: 1.1rem; font-family: var(--ff-mono); font-size: 0.65rem; font-weight: 500; line-height: 1.5; letter-spacing: 0.13em; text-transform: uppercase; color: var(--fg-2); border-left: 1px solid var(--line-2); }
.sk-note::before, .sk-note::after { content: ''; position: absolute; left: -8px; width: 8px; height: 1px; background: var(--line-2); }
.sk-note::before { top: 0; }
.sk-note::after { bottom: 0; }
.sk-note--top { top: 0; height: calc((100% - (var(--n) - 1) * var(--gap)) / var(--n)); }
.sk-note--bottom { bottom: 0; height: calc((100% - (var(--n) - 1) * var(--gap)) / var(--n) * 2 + var(--gap)); color: var(--accent); border-color: color-mix(in oklab, var(--accent) 60%, transparent); }
.sk-note--bottom::before, .sk-note--bottom::after { background: color-mix(in oklab, var(--accent) 60%, transparent); }

/* ---------- Stages ---------- */
.sg { position: relative; --track: 3.75rem; padding-top: var(--track); }
.sg-track { position: absolute; top: calc(var(--track) + 5px); left: 0; right: 0; height: 1px; background: var(--line-2); }
.sg-track span { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--accent)); transform-origin: 0 50%; transition: transform 1.8s var(--ease-io) 0.2s; }
.sg-list { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.sg-item { position: relative; padding-right: clamp(1.5rem, 3vw, 3rem); }
.sg-dot { position: relative; z-index: 1; display: block; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--fg-3); }
.sg-item:last-child .sg-dot { background: var(--accent); box-shadow: 0 0 0 5px color-mix(in oklab, var(--accent) 18%, transparent); }
.sg-num { display: block; margin-top: 2rem; font-family: var(--ff-mono); font-size: 0.75rem; color: var(--fg-3); }
.sg-title { margin: 0.8rem 0 0.75rem; font-family: var(--ff-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-weight: var(--fw-display); line-height: 1.1; letter-spacing: -0.03em; max-width: 14ch; }
.sg-item:last-child .sg-title { color: var(--accent); }
.sg-text { font-size: 0.9375rem; line-height: 1.55; color: var(--fg-2); max-width: 32ch; }
.sg-share { display: flex; gap: 3px; height: 6px; margin-top: 2rem; max-width: 17rem; }
.sg-share span { border-radius: 3px; transform-origin: 0 50%; transition: transform 1.2s var(--ease-out) calc(var(--i) * 0.15s + 0.4s); }
.sg-h { background: var(--fg); opacity: 0.82; }
.sg-a { background: var(--accent); }
.sg-bracket { position: absolute; top: 1.15rem; height: calc(var(--track) - 1.15rem + 5px); left: calc((var(--n) - 2) / var(--n) * 100% + 5px); width: calc(100% / var(--n)); border: 1px solid color-mix(in oklab, var(--accent) 70%, transparent); border-bottom: 0; border-radius: 12px 12px 0 0; }
.sg-bracket span { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 0 0.75rem; background: var(--bg); font-family: var(--ff-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.sg-foot { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1.5rem 3rem; margin-top: clamp(3rem, 5vw, 4rem); padding-top: 1.75rem; border-top: 1px solid var(--line); }
.sg-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; font-family: var(--ff-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-2); }
.sg-legend span { display: inline-flex; align-items: center; gap: 0.55rem; }
.sg-legend-note { color: var(--fg-3); letter-spacing: 0.08em; text-transform: none; font-weight: 400; }
.sw { display: inline-block; width: 16px; height: 6px; border-radius: 3px; }
.sw-h { background: var(--fg); opacity: 0.82; }
.sw-a { background: var(--accent); }
.sg-bridge { max-width: 38rem; font-size: 1rem; color: var(--fg-2); }
.sg-bridge strong { color: var(--accent); font-weight: 600; }

/* ---------- Showcase ---------- */
.sc-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.sc-gallery--1 { grid-template-columns: 1fr; }
.sc-gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sc-gallery figcaption { margin-top: 0.9rem; font-size: 0.875rem; color: var(--fg-2); }
.sc-link { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 1.5rem 2.5rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem); border-radius: calc(var(--radius) + 4px); box-shadow: inset 0 0 0 1px var(--line-2); background: transparent; transition: box-shadow 0.4s var(--ease), background-color 0.4s var(--ease); }
.sc-link:hover { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 55%, transparent); background: color-mix(in oklab, var(--accent) 6%, transparent); }
.sc-link-title { display: block; font-family: var(--ff-display); font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.6rem); font-weight: 600; letter-spacing: -0.025em; }
.sc-link-text { display: block; margin-top: 0.45rem; font-size: 0.9375rem; color: var(--fg-2); max-width: 46rem; }
.sc-link-host { font-family: var(--ff-mono); font-size: 0.75rem; color: var(--fg-3); white-space: nowrap; }
.sc-link-arrow { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color 0.4s var(--ease), color 0.4s, box-shadow 0.4s, transform 0.6s var(--ease-out); }
.sc-link:hover .sc-link-arrow { background: var(--accent); color: #fff; box-shadow: none; transform: rotate(-8deg) scale(1.04); }

/* ---------- Progression ---------- */
.pg { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 0 clamp(0.75rem, 1.5vw, 1.5rem); }
.pg-num { font-family: var(--ff-mono); font-size: 0.75rem; color: color-mix(in oklab, var(--accent) calc(var(--k) * 100%), var(--fg-3)); }
.pg-bar { display: block; height: 2px; margin: 1rem 0 1.6rem; border-radius: 2px; background: color-mix(in oklab, var(--accent) calc(var(--k) * 100%), var(--line-2)); transform-origin: 0 50%; }
.pg-title { font-family: var(--ff-display); font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.9rem); font-weight: var(--fw-display); letter-spacing: -0.03em; line-height: 1.1; color: color-mix(in oklab, var(--fg) calc(52% + var(--k) * 48%), var(--bg)); }
.pg-text { margin-top: 0.6rem; font-size: 0.875rem; line-height: 1.5; color: var(--fg-2); max-width: 22ch; }

/* ---------- Service groups ---------- */
.sgp { border-top: 1px solid var(--line); }
.sgp-item { display: grid; grid-template-columns: 4.5rem minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem clamp(2rem, 4vw, 4rem); padding-block: clamp(2.5rem, 5vw, 4.25rem); border-bottom: 1px solid var(--line); }
.sgp-num { font-family: var(--ff-mono); font-size: 0.8125rem; color: var(--accent); padding-top: 0.45rem; }
.sgp-title { display: flex; flex-direction: column; gap: 1.5rem; }
.sgp-ico { color: var(--fg-2); }
.sgp-title h2 { max-width: 13ch; font-family: var(--ff-display); font-weight: var(--fw-display); font-size: clamp(1.6rem, 1.2rem + 1.35vw, 2.4rem); line-height: 1.08; letter-spacing: calc(var(--ls-display) + 0.005em); text-wrap: balance; }
.sgp-text { max-width: 36rem; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.5; color: var(--fg-2); }
.sgp-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem 2rem; margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.sgp-points li { position: relative; padding-left: 1.4rem; font-size: 0.9375rem; line-height: 1.45; }
.sgp-points li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 9px; height: 1px; background: var(--accent); }

/* ---------- Pair (mission / vision) ---------- */
.pr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pr--1 { grid-template-columns: 1fr; }
.pr-item { padding-right: clamp(2rem, 5vw, 5rem); }
.pr-item + .pr-item { padding: 0 0 0 clamp(2rem, 5vw, 5rem); box-shadow: inset 1px 0 0 var(--line-2); }
.pr-label { display: flex; gap: 0.85rem; font-family: var(--ff-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: var(--accent); }
.pr-label span { color: var(--fg-3); }
.pr-text { margin-top: 1.75rem; font-family: var(--ff-display); font-weight: var(--fw-display); font-size: clamp(1.55rem, 1.1rem + 1.55vw, 2.45rem); line-height: 1.16; letter-spacing: calc(var(--ls-display) + 0.008em); text-wrap: balance; }

/* ---------- Index ---------- */
.ix { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 2.5rem clamp(3rem, 7vw, 7rem); align-items: start; }
.ix-head h2 { margin-top: 1.3rem; }
.ix-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; border-top: 1px solid var(--line); }
.ix-list li { display: flex; align-items: baseline; gap: 1.25rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; letter-spacing: -0.01em; }
.ix-num { font-family: var(--ff-mono); font-size: 0.6875rem; color: var(--fg-3); }

/* ---------- Note ---------- */
.nt { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.5rem; padding-block: 2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nt-label { font-family: var(--ff-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: var(--fg-3); min-width: 6rem; }
.nt-text { margin-right: auto; font-family: var(--ff-display); font-size: clamp(1.25rem, 1rem + 0.8vw, 1.65rem); font-weight: 500; letter-spacing: -0.022em; }

/* ---------- Text & media ---------- */
.tx { max-width: 46rem; }
.tx--center { text-align: center; margin-inline: auto; }
.tx h2 { margin-top: 1.3rem; }
.tx-body { margin-top: 1.5rem; font-size: 1.0625rem; color: var(--fg-2); }
.tx-body p + p { margin-top: 1em; }
.tx .btns { margin-top: 2rem; }
.md--narrow figure { max-width: 860px; margin-inline: auto; }
.md--full { max-width: none; padding-inline: 0; }
.md--full .frame { border-radius: 0; }
.md figcaption { margin-top: 1rem; font-size: 0.875rem; color: var(--fg-2); }

/* ---------- Contact ---------- */
.ctc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3rem clamp(3rem, 7vw, 7rem); align-items: start; }
.ctc-intro { position: sticky; top: calc(var(--header-h) + 3rem); }
.ctc-intro h1 { margin-top: 1.4rem; max-width: 12ch; }
.ctc-copy { margin-top: 1.5rem; max-width: 30rem; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.5; color: var(--fg-2); }
.ctc-direct { display: grid; gap: 1.75rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.ctc-direct dt { font-family: var(--ff-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: var(--fg-3); }
.ctc-direct dd { margin: 0.6rem 0 0; }
.ctc-direct dd p { margin-bottom: 1rem; font-size: 0.9375rem; color: var(--fg-2); }
.ctc-email { font-family: var(--ff-display); font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.85rem); font-weight: 500; letter-spacing: -0.025em; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: color 0.3s, background-size 0.5s var(--ease-out); }
.ctc-email:hover { color: var(--accent); }
.ctc-panel { padding: clamp(1.5rem, 3.5vw, 3rem); border-radius: calc(var(--radius) + 8px); background: var(--c-paper); box-shadow: 0 0 0 1px color-mix(in oklab, var(--c-ink) 7%, transparent), 0 50px 100px -50px rgb(10 11 13 / 0.2); }
.t-light > .wrap > .ctc-panel, .ctc-panel { --card: var(--c-mist); }
.ctc-topics legend { margin-bottom: 1rem; font-family: var(--ff-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: var(--fg-2); }
.topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.topic { position: relative; display: block; }
.topic input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.topic-card { display: flex; flex-direction: column; height: 100%; padding: 1rem 1.1rem 1.05rem; border-radius: 14px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease); }
.topic-card .ico { color: var(--fg-3); margin-bottom: 1.4rem; transition: color 0.3s; }
.topic-card strong { font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.topic-card small { margin-top: 0.15rem; font-size: 0.8125rem; color: var(--fg-2); line-height: 1.4; }
.topic-card:hover { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fg) 40%, var(--bg)); }
.topic input:checked + .topic-card { box-shadow: inset 0 0 0 1.5px var(--accent); background: color-mix(in oklab, var(--accent) 5%, var(--bg)); }
.topic input:checked + .topic-card .ico { color: var(--accent); }
.topic input:focus-visible + .topic-card { outline: 2px solid var(--accent); outline-offset: 3px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.field { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1.4rem; }
.field-label { font-size: 0.8125rem; font-weight: 500; color: var(--fg-2); }
.field-label em { font-style: normal; font-weight: 400; color: var(--fg-3); margin-left: 0.25rem; }
.field input, .field textarea { width: 100%; height: 52px; padding: 0 1rem; border: 0; border-radius: 12px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg); font: inherit; font-size: 1rem; transition: box-shadow 0.25s var(--ease); -webkit-appearance: none; appearance: none; }
.field textarea { height: auto; min-height: 148px; padding: 0.9rem 1rem; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-3); }
.field input:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fg) 34%, var(--bg)); }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px color-mix(in oklab, var(--accent) 14%, transparent); }
.field [aria-invalid='true'] { box-shadow: inset 0 0 0 1.5px var(--danger); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ctc-form { position: relative; }
.ctc-topics { margin-bottom: 0.5rem; }
.ctc-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.ctc-consent { max-width: 22rem; font-size: 0.8125rem; line-height: 1.45; color: var(--fg-3); }
.ctc-status { min-height: 1.4em; margin-top: 1rem; font-size: 0.875rem; color: var(--fg-2); }
.ctc-status.is-error { color: var(--danger); }
.ctc-success { padding: clamp(3rem, 8vw, 5rem) 1rem; text-align: center; outline: none; }
.ctc-success:not([hidden]) { animation: rise 0.8s var(--ease-out) both; }
.ctc-check { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 1.75rem; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 0 0 8px color-mix(in oklab, var(--accent) 14%, transparent); }
.ctc-success p { margin: 0.9rem auto 0; max-width: 26rem; color: var(--fg-2); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; padding: clamp(5rem, 9vw, 8rem) 0 calc(2rem + env(safe-area-inset-bottom)); }
.site-main:has(> .sec:last-child[data-tone='dark']) + .site-footer::before { content: ''; position: absolute; top: 0; left: max(var(--gutter), calc((100% - var(--container)) / 2)); right: max(var(--gutter), calc((100% - var(--container)) / 2)); height: 1px; background: var(--line); }
.ft-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3rem clamp(3rem, 6vw, 6rem); padding-bottom: clamp(4rem, 8vw, 6.5rem); }
.ft-statement { font-family: var(--ff-display); font-weight: var(--fw-display); font-size: clamp(2.2rem, 1.4rem + 2.7vw, 3.75rem); line-height: 1; letter-spacing: var(--ls-display); }
.ft-text { margin: 1.5rem 0 2.25rem; max-width: 24rem; font-size: 0.9375rem; color: var(--fg-2); }
.ft-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; align-content: start; }
.ft-title { margin-bottom: 1.25rem; font-family: var(--ff-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: var(--fg-3); }
.ft-col li + li { margin-top: 0.7rem; }
.ft-col a { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.9375rem; color: var(--fg-2); transition: color 0.25s; word-break: break-word; }
.ft-col a:hover { color: var(--fg); }
.ft-ext { opacity: 0.6; }
.ft-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-top: 2rem; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--fg-3); }
.ft-logo { display: inline-flex; color: var(--fg); }
.brand--footer.brand--text { font-size: 1rem; }
.ft-legal { margin-right: auto; }
.ft-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.ft-links a:hover, .ft-up:hover { color: var(--fg); }
.ft-up { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--fg-2); transition: color 0.25s; }

/* ==========================================================================
   Video dialog
   ========================================================================== */
.vmodal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: clamp(16px, 4vw, 72px); }
.vmodal[hidden] { display: none; }
.vmodal-backdrop { position: absolute; inset: 0; background: rgb(4 5 8 / 0.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: fade 0.45s var(--ease) both; }
.vmodal-box { position: relative; width: min(100%, 1320px, calc((100svh - 140px) * 16 / 9)); aspect-ratio: 16 / 9; animation: pop 0.6s var(--ease-out) both; }
.vmodal-frame { position: absolute; inset: 0; overflow: hidden; border-radius: 16px; background: #000; box-shadow: 0 60px 120px -40px rgb(0 0 0 / 0.7); }
.vmodal-frame iframe { width: 100%; height: 100%; border: 0; }
.vmodal-close { position: absolute; top: -54px; right: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: rgb(255 255 255 / 0.12); transition: background-color 0.3s, transform 0.4s var(--ease-out); }
.vmodal-close:hover { background: rgb(255 255 255 / 0.22); transform: rotate(90deg); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(0.98); } }

/* ==========================================================================
   Generated visuals
   ========================================================================== */
.vis { position: relative; width: 100%; }
.vis > svg { display: block; width: 100%; height: 100%; overflow: visible; }
.vis-label { position: absolute; font-family: var(--ff-mono); font-size: clamp(0.5625rem, 0.5rem + 0.2vw, 0.6875rem); font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: var(--fg-3); white-space: nowrap; pointer-events: none; }
.vis-label--center { transform: translateX(-50%); }
.vis-label--right { text-align: right; }
.vis-label--accent { color: var(--accent); }
.vis-label--pill { transform: translate(-50%, -50%); padding: 0.35rem 0.65rem; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg-2); }
.vis-label--pill.vis-label--accent { color: var(--accent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 45%, transparent); }

/* Gate */
.vis--gate { overflow: hidden; }
.vis--gate svg { overflow: hidden; }
.g-in { fill: none; stroke: var(--fg); stroke-opacity: 0.17; stroke-width: 1; vector-effect: non-scaling-stroke; }
.g-in--pass { stroke-opacity: 0.42; }
.g-out { fill: none; stroke: var(--accent); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.g-flow { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 22 978; stroke-dashoffset: 1000; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px var(--accent)); animation: flow 7.5s linear infinite; opacity: 0.95; }
.g-gate { stroke: var(--fg); stroke-opacity: 0.55; stroke-width: 1; vector-effect: non-scaling-stroke; }
.g-ticks { stroke: var(--fg); stroke-opacity: 0.28; stroke-width: 1; vector-effect: non-scaling-stroke; }
.g-stop { stroke: var(--fg); stroke-opacity: 0.4; stroke-width: 1; vector-effect: non-scaling-stroke; }
.g-pass { fill: var(--accent); }
@keyframes flow { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }

/* Rings */
.r-ring { fill: none; stroke: var(--fg); stroke-width: 1; vector-effect: non-scaling-stroke; }
.r-ring--1 { stroke-opacity: 0.22; stroke-dasharray: 2 5; }
.r-ring--2 { stroke-opacity: 0.2; }
.r-ring--3 { stroke: var(--accent); stroke-opacity: 0.55; }
.r-ticks { stroke: var(--fg); stroke-opacity: 0.22; stroke-width: 1; vector-effect: non-scaling-stroke; }
.r-cross { stroke: var(--fg); stroke-opacity: 0.4; vector-effect: non-scaling-stroke; }
.r-orbit { transform-box: view-box; transform-origin: 50% 50%; animation: rot 60s linear infinite; }
.r-orbit--1 { animation-duration: 48s; animation-direction: reverse; }
.r-orbit--2 { animation-duration: 36s; }
.r-orbit--3 { animation-duration: 24s; }
.r-dot { fill: var(--fg); }
.r-dot--accent { fill: var(--accent); }
.r-halo { fill: none; stroke: var(--accent); stroke-opacity: 0.35; }
@keyframes rot { to { transform: rotate(360deg); } }

/* Loop */
.vis--loop { width: min(100%, 540px); margin-inline: auto; aspect-ratio: 1; }
.l-track { fill: none; stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.l-inner { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 6; vector-effect: non-scaling-stroke; }
.l-pulse { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px var(--accent)); animation: orbit 9s linear infinite; }
.l-arrow { fill: none; stroke: var(--fg-3); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.l-node { fill: var(--bg); stroke: var(--fg-3); stroke-width: 1.2; vector-effect: non-scaling-stroke; animation: lnode 9s linear infinite; }
@keyframes orbit { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -1000; } }
@keyframes lnode { 0% { fill: var(--accent); stroke: var(--accent); } 16% { fill: var(--bg); stroke: var(--fg-3); } }
@keyframes llabel { 0% { color: var(--fg); } 16% { color: var(--fg-2); } }
.loop-label { position: absolute; display: flex; flex-direction: column; gap: 0.25rem; transform: translate(-50%, -50%); font-family: var(--ff-display); font-size: clamp(0.875rem, 0.8rem + 0.25vw, 1rem); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; white-space: nowrap; color: var(--fg-2); animation: llabel 9s linear infinite; }
.loop-label b { font-family: var(--ff-mono); font-size: 0.6875rem; font-weight: 400; color: var(--fg-3); letter-spacing: 0.04em; }
.loop-label--center { align-items: center; text-align: center; }
.loop-label--left { transform: translate(0, -50%); align-items: flex-start; }
.loop-label--right { transform: translate(-100%, -50%); align-items: flex-end; text-align: right; }
.loop-center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--ff-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; line-height: 1.9; text-transform: uppercase; color: var(--fg-2); pointer-events: none; }

/* Matrix */
.m-cell { fill: var(--fg); fill-opacity: 0.06; }
.m-cell--pass { fill-opacity: 0.17; }
.m-cell--strong { fill: var(--accent); fill-opacity: 0.92; }
.m-scan-line { fill: var(--accent); }
.m-scan { animation: scan 7s var(--ease-io) infinite; }
@keyframes scan { 0% { transform: translateX(0); opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(var(--d)); opacity: 0; } }

/* Beam */
.vis--beam { height: clamp(110px, 12vw, 170px); margin-top: clamp(4rem, 8vw, 7rem); }
.b-line { fill: none; stroke: var(--fg); stroke-opacity: 0.16; stroke-width: 1; vector-effect: non-scaling-stroke; }
.b-line--accent { stroke: var(--accent); stroke-opacity: 0.85; }
.b-flow { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 60 940; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 5px var(--accent)); animation: flow 6.5s linear infinite; }

/* ==========================================================================
   Motion — reveal on scroll
   ========================================================================== */
html.cms-wait :is(#site-header, #main, #site-footer, #local-nav) { opacity: 0; }
:is(#site-header, #main, #site-footer) { transition: opacity 0.5s var(--ease); }
.js [data-reveal] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 1s var(--ease), transform 1.3s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal='frame'] { transform: translate3d(0, 48px, 0) scale(0.985); transition-duration: 1.2s, 1.6s; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .reveal-lines .ln { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.js .reveal-lines .ln > span { display: block; transform: translate3d(0, 108%, 0); transition: transform 1.3s var(--ease-out); }
.js .reveal-lines .ln:nth-child(2) > span { transition-delay: 0.1s; }
.js .reveal-lines .ln:nth-child(3) > span { transition-delay: 0.2s; }
.js .reveal-lines .ln:nth-child(4) > span { transition-delay: 0.3s; }
.js .reveal-lines.is-in .ln > span { transform: none; }
.no-js .reveal-lines .ln, .reveal-lines .ln { display: block; }
.js .step .step-line { transform: scaleX(0); transition: transform 1.3s var(--ease-io) calc(var(--i) * 0.14s + 0.25s); }
.js .step.is-in .step-line { transform: none; }
.js .ct-row--not:not(.is-in) .ct-strike { background-size: 0 2px; }
.js .sg:not(.is-revealed) .sg-track span { transform: scaleX(0); }
.js .sg-item:not(.is-in) .sg-share span { transform: scaleX(0); }
.js .pg-step:not(.is-in) .pg-bar { transform: scaleX(0); }
.pg-bar { transition: transform 1.1s var(--ease-io) calc(var(--i) * 0.12s + 0.2s); }
.reveal-all [data-reveal], .reveal-all .reveal-lines .ln > span { opacity: 1 !important; transform: none !important; }

/* Preview mode (Admin) */
.is-preview [data-reveal], .is-preview .reveal-lines .ln > span { opacity: 1 !important; transform: none !important; transition: none !important; }
.is-preview .sec.is-flash::after { content: ''; position: absolute; inset: 0; z-index: 50; pointer-events: none; box-shadow: inset 0 0 0 2px var(--c-accent); animation: flash 1.6s var(--ease) forwards; }
@keyframes flash { 0%, 60% { opacity: 1; } 100% { opacity: 0; } }
.preview-badge { position: fixed; left: 50%; bottom: 16px; z-index: 500; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.9rem; border-radius: 999px; background: var(--c-ink); color: #fff; font: 500 0.75rem/1 var(--ff-mono); letter-spacing: 0.08em; text-transform: uppercase; box-shadow: 0 10px 30px -10px rgb(0 0 0 / 0.5); }
.preview-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #ffb020; }
.is-embedded .preview-badge { display: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .reveal-lines .ln > span, .js .step .step-line, .js .ct-strike, .js .sg-track span, .js .sg-share span, .js .pg-bar { opacity: 1 !important; transform: none !important; transition: none !important; background-size: 100% 2px; }
  .g-flow, .b-flow, .l-pulse, .r-orbit, .l-node, .loop-label, .m-scan { animation: none !important; }
  .m-scan { display: none; }
  .g-flow, .b-flow { display: none; }
}
html[data-motion='off'] :is([data-reveal], .reveal-lines .ln > span, .step-line, .sg-track span, .sg-share span, .pg-bar) { opacity: 1 !important; transform: none !important; transition: none !important; }
html[data-motion='off'] :is(.g-flow, .b-flow, .l-pulse, .r-orbit, .l-node, .loop-label, .m-scan) { animation: none !important; }
html[data-motion='off'] :is(.g-flow, .b-flow, .m-scan) { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-link { padding: 0 0.7rem; }
  .hero-areas ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ln-links { gap: 1.1rem; }
}

@media (max-width: 1024px) {
  .fg--c4 { --cols: 2; }
  .fg--columns.fg--c4 .fg-item:nth-child(2n + 1) { padding-left: 0; box-shadow: none; }
  .fg--columns.fg--c4 .fg-item:nth-child(n + 3) { margin-top: 2.5rem; box-shadow: inset 0 1px 0 var(--line); }
  .fg--columns.fg--c4 .fg-item:nth-child(2n):nth-child(n + 3) { box-shadow: inset 0 1px 0 var(--line), inset 1px 0 0 var(--line); }
  .fg--numbered.fg--c4 { gap: 2.5rem 2rem; }
  .pf-body { grid-template-columns: 1fr; }
  .sp-grid { grid-template-columns: 1fr; }
  .sp-card { min-height: 0; }
  .sp-card--secondary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); align-items: center; }
  .sp-card--secondary .sp-media { margin-top: 0; padding: clamp(28px, 3.4vw, 48px); }
  .sp-vis--rings { margin: 0 auto; width: 100%; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 0; }
  .step:nth-child(2n) .step-line { background: linear-gradient(90deg, var(--line-2), transparent); }
  .pr-text { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); }
  .ss-pillars li { padding-right: 1.25rem; }
  .ss-pillars li + li { padding-left: 1.25rem; }
}

@media (max-width: 960px) {
  :root { --header-h: 60px; }
  .hdr { grid-template-columns: 1fr auto; }
  .hdr-nav { display: none; }
  .hdr-burger { display: block; }
  .hero-foot, .phero-foot { grid-template-columns: 1fr; align-items: start; }
  .phero.has-index { grid-template-columns: 1fr; }
  .phero-index { display: none; }
  .sec-head--split { grid-template-columns: 1fr; align-items: start; }
  .sec-head-aside { padding-bottom: 0; }
  .prh--split { grid-template-columns: 1fr; }
  .prh-visual { justify-self: center; max-width: 440px; }
  .ss-main, .ss--compact .ss-main { grid-template-columns: 1fr; }
  .ss--compact .ss-visual { order: 0; max-width: 400px; }
  .split, .ed, .cmp-top, .eq, .lp, .sk, .ix, .ctc, .ft-top { grid-template-columns: 1fr; }
  .split--left .split-text { order: 0; }
  .eq-head, .ctc-intro { position: static; }
  .lp-visual { max-width: 520px; width: 100%; justify-self: center; padding-inline: 12%; }
  .pl-foot { grid-template-columns: 1fr; }
  .sgp-item { grid-template-columns: 3rem minmax(0, 1fr); }
  .sgp-body { grid-column: 2; }
  .sk-diagram { max-width: 620px; }
  .ln { gap: 1rem; }
  .ln-toggle { display: inline-flex; }
  .ln-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; height: auto; gap: 0; padding: 0.5rem var(--gutter) 1rem; background: var(--bg); box-shadow: 0 1px 0 var(--line), 0 30px 40px -30px rgb(0 0 0 / 0.3); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.25s, transform 0.4s var(--ease-out), visibility 0s linear 0.4s; }
  .ln.is-open .ln-links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .ln-links a { height: auto; padding: 0.8rem 0; font-size: 0.9375rem; border-bottom: 1px solid var(--line); }
  .ln-links li:last-child a { border-bottom: 0; }
  .ln-links a::after { display: none; }
  .ln-title { margin-right: 0; }
  .ln-toggle { margin-right: auto; margin-left: -0.5rem; }
}

@media (max-width: 800px) {
  .fg--c3 { --cols: 1; }
  .fg--c2 { --cols: 1; }
  .fg--columns .fg-item, .fg--columns .fg-item + .fg-item, .fg--c2.fg--columns .fg-item + .fg-item { padding: 2rem 0 0; box-shadow: none; }
  .fg--columns .fg-item + .fg-item { margin-top: 2rem; box-shadow: inset 0 1px 0 var(--line); }
  .fg--columns .fg-title { margin-top: 1.5rem; }
  .fg--cards .fg-title { margin-top: 2rem; }
  .fg--numbered { gap: 2.5rem; }
  .fg--numbered .fg-title { margin-top: 1.5rem; }
  .ss-pillars { grid-template-columns: 1fr; }
  .ss-pillars li, .ss-pillars li + li { padding: 1.75rem 0; box-shadow: none; border-bottom: 1px solid var(--line); }
  .ss-pillars h3 { margin-top: 1.25rem; }
  .pr { grid-template-columns: 1fr; gap: 3rem; }
  .pr-item, .pr-item + .pr-item { padding: 0; box-shadow: none; }
  .pr-item + .pr-item { padding-top: 3rem; box-shadow: inset 0 1px 0 var(--line-2); }
  .cmp-row { grid-template-columns: 1fr; }
  .cmp-row > span + span { padding-left: 0; box-shadow: none; padding-top: 0; }
  .cmp-row > span { padding-right: 0; }
  .cmp-row > span:first-child { padding-bottom: 0.4rem; }
  .cmp-row--head { display: none; }
  .cmp-l { font-size: 0.9375rem !important; }
  .pg { grid-template-columns: 1fr; gap: 0; }
  .pg-step { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: 1rem; padding: 1.15rem 0; border-top: 1px solid var(--line); }
  .pg-bar { display: none; }
  .pg-num { padding-top: 0.45rem; grid-row: span 2; }
  .pg-text { max-width: none; }
  .sg { padding-top: 0; padding-left: 2rem; }
  .sg-track { top: 6px; bottom: 6px; left: 5px; right: auto; width: 1px; height: auto; }
  .sg-track span { background: linear-gradient(180deg, transparent, var(--accent)); transform-origin: 50% 0; }
  .js .sg:not(.is-revealed) .sg-track span { transform: scaleY(0); }
  .sg-list { grid-template-columns: 1fr; gap: 2.75rem; }
  .sg-item { padding-right: 0; }
  .sg-dot { position: absolute; left: calc(-2rem); top: 0.15rem; }
  .sg-num { margin-top: 0; }
  .sg-bracket { display: none; }
  .sc-gallery { grid-template-columns: 1fr; }
  .sc-link { grid-template-columns: minmax(0, 1fr) auto; }
  .sc-link-host { display: none; }
  .ix-list { grid-template-columns: 1fr; }
  .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sgp-points { grid-template-columns: 1fr; }
  .sk-diagram { padding-right: 0; }
  .sk-notes { display: none; }
  .pl { padding-top: 0; }
  .pl-return { display: none; }
  .pl-steps { grid-template-columns: 1fr; gap: 1.75rem; }
  .pl-step { flex-direction: row; text-align: left; align-items: center; gap: 1.25rem; padding: 0; }
  .pl-node { width: 52px; height: 52px; margin: 0; flex: none; }
  .pl-step > :not(.pl-node) { display: block; }
  .pl-step { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 1.25rem; row-gap: 0.15rem; }
  .pl-node { grid-row: span 2; }
  .pl-text { margin-top: 0; }
  .pl-step:not(.is-last)::before { top: 52px; left: 26px; right: auto; width: 1px; height: 1.75rem; }
  .pl-step:not(.is-last)::after { display: none; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .btns { width: 100%; }
  .hero-foot .btns .btn, .phero-foot .btns .btn, .prh .btns .btn, .pf-head .btns .btn, .cta-inner .btns .btn { flex: 1 1 auto; }
  .hero-areas { grid-template-columns: 1fr; gap: 0.9rem; }
  .hero-areas ul { grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; }
  .hero-areas li { font-size: 0.8125rem; }
  .hero-field { min-height: 170px; }
  .pf-highlights { grid-template-columns: 1fr; gap: 0; }
  .pf-highlights li { padding: 1.25rem 0 1.5rem; }
  .fg--c4 { --cols: 1; }
  .fg--columns.fg--c4 .fg-item, .fg--columns.fg--c4 .fg-item:nth-child(n) { padding: 2rem 0 0; box-shadow: inset 0 1px 0 var(--line); margin-top: 2rem; }
  .fg--columns.fg--c4 .fg-item:first-child { margin-top: 0; box-shadow: none; }
  .fg--numbered.fg--c4 { gap: 2.25rem; }
  .sp-card--secondary { grid-template-columns: 1fr; }
  .sp-card--secondary .sp-media { padding-top: 0; }
  .sp-vis--rings { width: 78%; }
  .sp-card--primary .sp-media { padding-left: 20px; }
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .step { padding-right: 0; }
  .step .step-line { background: linear-gradient(90deg, var(--line-2), transparent) !important; }
  .eq-row { grid-template-columns: 1.75rem 1.5rem minmax(0, 1fr); }
  .eq-note { grid-column: 3; justify-self: start; margin-top: 0.25rem; }
  .eq-result { grid-template-columns: 1.75rem minmax(0, 1fr); }
  .eq-caption { padding-left: 0; }
  .ct-row { grid-template-columns: 1fr; gap: 0.6rem; }
  .ct-label { justify-self: start; }
  .topics { grid-template-columns: 1fr 1fr; }
  .topic-card .ico { margin-bottom: 0.9rem; }
  .field-row { grid-template-columns: 1fr; }
  .ctc-panel { margin-inline: calc(var(--gutter) * -0.5); }
  .lp-visual { padding-inline: 15%; }
  .loop-label { font-size: 0.75rem; }
  .loop-label b { font-size: 0.625rem; }
  .loop-center { font-size: 0.5625rem; }
  .ft-bottom { gap: 0.75rem 1.5rem; }
  .ft-legal { order: 3; width: 100%; }
  .sc-link-arrow { width: 44px; height: 44px; }
  .nm-card { min-height: 0; }
  .sk-layer { padding: 1rem; gap: 0.85rem; }
  .sk-ico { width: 36px; height: 36px; }
  .sk-idx { display: none; }
  .vmodal-close { top: -50px; }
  .frame--vis:is(.frame--hero) { aspect-ratio: 4 / 3 !important; }
  .vis--gate .vis-label:not(.vis-label--center), .vis--matrix .vis-label--right { display: none; }
  .vis-label { font-size: 0.5625rem; }
}

@media (max-width: 400px) {
  .topics { grid-template-columns: 1fr; }
}

@media (max-width: 359px) {
  .hdr-cta { display: none; }
}

@media (hover: none) {
  .sp-card:hover { transform: none; }
}

@media print {
  .site-header, .localnav, .hero-field, .vis--beam, .vmodal { display: none !important; }
  .js [data-reveal], .js .reveal-lines .ln > span { opacity: 1 !important; transform: none !important; }
}

html.menu-lock { overflow: hidden; }

/* ==========================================================================
   Signature layer — depth, measurement and choreography
   ========================================================================== */

/* Fine grain gives dark surfaces material depth and removes gradient banding. */
:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
.t-dark { background-image: var(--grain); }
.t-midnight { background-image: var(--grain), radial-gradient(ellipse 70% 55% at 50% 0%, color-mix(in oklab, var(--accent) 17%, transparent), transparent 72%); }
.sp-card--primary { background-image: var(--grain), radial-gradient(ellipse 80% 60% at 85% 100%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 70%); }

/* Home intro: the header settles in first, then the content follows. */
@media (prefers-reduced-motion: no-preference) {
  html[data-motion='on']:not(.is-preview) body[data-page='home'] .hdr { animation: hdr-in 0.9s var(--ease-out) both; }
}
@keyframes hdr-in { from { opacity: 0; transform: translateY(-10px); } }

/* The hero field draws itself — from intelligence (left) to autonomy (right). */
.hero-field canvas {
  -webkit-mask: linear-gradient(90deg, #000 46%, transparent 56%) 100% 0 / 220% 100% no-repeat;
  mask: linear-gradient(90deg, #000 46%, transparent 56%) 100% 0 / 220% 100% no-repeat;
  transition: opacity 0.8s var(--ease);
}
.hero-field.is-ready canvas { animation: field-draw 2.8s var(--ease-io) 0.35s forwards; }
@keyframes field-draw { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }

/* Graduated rulers: minor ticks every 10px, major every 100px. */
.hero-field-ruler {
  position: relative;
  height: 9px;
  background:
    repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 10px) 0 100% / 100% 4px no-repeat,
    repeating-linear-gradient(90deg, var(--fg-3) 0 1px, transparent 1px 100px) 0 100% / 100% 9px no-repeat;
}
.hero-field-ruler::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, var(--accent) 0 1px, transparent 1px 10px) 0 100% / 100% 4px no-repeat,
    repeating-linear-gradient(90deg, var(--accent) 0 1px, transparent 1px 100px) 0 100% / 100% 9px no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000);
  mask-image: linear-gradient(90deg, transparent 20%, #000);
  clip-path: inset(0 100% 0 0);
}
.hero-field.is-ready .hero-field-ruler::after { animation: ruler-fill 2.8s var(--ease-io) 0.35s forwards; }
@keyframes ruler-fill { to { clip-path: inset(0 0 0 0); } }
.hero-field-labels > span:last-child { opacity: 0.3; }
.hero-field.is-ready .hero-field-labels > span:last-child { animation: arrive 0.9s var(--ease) 2.5s forwards; }
@keyframes arrive { to { opacity: 1; } }
.st::after {
  height: 9px;
  background:
    repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 9px) 0 100% / 100% 4px no-repeat,
    repeating-linear-gradient(90deg, var(--fg-3) 0 1px, transparent 1px 54px) 0 100% / 100% 9px no-repeat;
}
.ft-bottom {
  border-top: 0;
  background:
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 10px) 0 0 / 100% 5px no-repeat,
    linear-gradient(var(--line), var(--line)) 0 0 / 100% 1px no-repeat;
}

/* Optical alignment: opening quotes hang outside the text edge. */
.hang { margin-left: -0.42em; }

/* Calibration scale in the margin: the reader's position, measured. */
.pscale, .pscale-mark { display: none; }
@supports (animation-timeline: scroll()) {
  @media (min-width: 1360px) {
    .pscale, .pscale-mark { display: block; position: fixed; left: 26px; top: 50%; z-index: 80; width: 13px; height: min(42vh, 360px); transform: translateY(-50%); pointer-events: none; }
    .pscale {
      mix-blend-mode: difference;
      background:
        repeating-linear-gradient(180deg, rgb(255 255 255 / 0.28) 0 1px, transparent 1px 9px) 0 0 / 5px 100% no-repeat,
        repeating-linear-gradient(180deg, rgb(255 255 255 / 0.55) 0 1px, transparent 1px 45px) 0 0 / 10px 100% no-repeat;
    }
    .pscale-mark::before { content: ''; position: absolute; left: 0; top: 0; width: 13px; height: 1.5px; background: var(--c-accent); box-shadow: 0 0 10px var(--c-accent); animation: pscale linear both; animation-timeline: scroll(root); }
  }
  /* Product nav: a reading-progress hairline. */
  .localnav::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); animation: read-progress linear both; animation-timeline: scroll(root); }
}
@keyframes pscale { to { top: calc(100% - 1.5px); } }
@keyframes read-progress { to { transform: scaleX(1); } }
.is-embedded :is(.pscale, .pscale-mark), .menu-lock :is(.pscale, .pscale-mark) { display: none !important; }

/* Cinematic frames rise into place as they enter the view (scroll-linked where supported). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html[data-motion='on']:not(.is-preview) .frame--hero { transform-origin: 50% 100%; animation: frame-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    html[data-motion='on']:not(.is-preview) [data-reveal='frame']:has(> .frame--hero) { opacity: 1; transform: none; }
  }
}
@keyframes frame-rise { from { transform: perspective(2200px) rotateX(14deg) scale(0.94); opacity: 0.35; } to { transform: none; opacity: 1; } }

/* Real screenshots get a fine bezel and top light. */
.frame--img::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.06); }
:is(.t-dark, .t-midnight) .frame--img::after { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08), inset 0 1px 0 rgb(255 255 255 / 0.12); }

/* Primary buttons carry a quiet accent glow on hover. */
.btn--primary:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14), 0 10px 28px -12px color-mix(in oklab, var(--c-accent) 75%, transparent); }

/* Grids: every item is indexed; cards answer the pointer with an accent line. */
.fg-idx { position: absolute; top: 2rem; right: 2rem; font-family: var(--ff-mono); font-size: 0.6875rem; color: var(--fg-3); letter-spacing: 0.04em; }
.fg--columns .fg-idx { top: 2.45rem; right: 2rem; }
.fg--columns .fg-item:last-child .fg-idx { right: 0; }
.fg--cards .fg-item::before { content: ''; position: absolute; top: 0; left: 2rem; right: 2rem; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.8s var(--ease-out); }
.fg--cards .fg-item:hover::before { transform: scaleX(1); }

/* Comparison: the organization column carries the emphasis. */
.cmp { position: relative; }
.cmp::before { content: ''; position: absolute; top: -1px; left: 50%; right: 0; height: 2px; background: var(--accent); }
.cmp::after { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; right: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 6%, transparent), transparent 90%); pointer-events: none; }

/* Flagship card: the evaluation gate brightens when you approach it. */
.sp-card--primary .sp-vis { opacity: 0.82; transition: opacity 0.7s var(--ease); }
.sp-card--primary:hover .sp-vis { opacity: 1; }

@media (max-width: 800px) {
  .cmp::before, .cmp::after { display: none; }
  .fg--columns .fg-idx, .fg--columns .fg-item:last-child .fg-idx { right: 0; top: 2.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-field canvas { -webkit-mask: none; mask: none; animation: none !important; }
  .hero-field-ruler::after { clip-path: none; animation: none !important; }
  .hero-field-labels > span:last-child { opacity: 1; animation: none !important; }
}
html[data-motion='off'] .hero-field canvas, .is-preview .hero-field canvas { -webkit-mask: none; mask: none; animation: none; }
html[data-motion='off'] .hero-field-ruler::after, .is-preview .hero-field-ruler::after { clip-path: none; animation: none; }
html[data-motion='off'] .hero-field-labels > span:last-child, .is-preview .hero-field-labels > span:last-child { opacity: 1; animation: none; }

/* ==========================================================================
   Imagery layer — brand assets and generated art inside sections
   ========================================================================== */

/* Logos */
.brand-img { max-width: min(300px, 56vw); }
.logo-img { max-width: 100%; object-fit: contain; }
.prh-logo { height: clamp(52px, 6.2vw, 88px); margin-bottom: 2rem; }
.prh--split .prh-logo { height: clamp(46px, 4.6vw, 66px); margin-bottom: 1.75rem; }
.pf-logo { height: clamp(48px, 5vw, 70px); margin-top: 1.75rem; }
.ss--flagship .ss-logo { height: clamp(58px, 6vw, 92px); }
.ss--compact .ss-logo { height: clamp(50px, 4.8vw, 70px); }
.sp-card--primary .sp-logo { height: clamp(50px, 5vw, 76px); margin-top: 1.75rem; }
.sp-card--secondary .sp-logo { height: clamp(42px, 4vw, 58px); }
@media (max-width: 520px) { .hdr:has(.brand-img) .hdr-cta { display: none; } }

/* Page heroes: a line-field band or a cinematic image band beneath the headline. */
.sec--pageHero.has-band { padding-bottom: clamp(28px, 4vw, 48px); }
.phero-field { flex: none; min-height: 0; height: clamp(150px, 19vw, 250px); margin-top: clamp(3rem, 6vw, 5rem); }
.hero-field[data-field='diverge'] .hero-field-labels > span:first-child { color: var(--accent); }
.hero-field[data-field='diverge'] .hero-field-labels > span:last-child { color: var(--fg-3); opacity: 1; animation: none; }
.hero-field[data-field='diverge'] .hero-field-ruler::after { -webkit-mask-image: linear-gradient(90deg, #000, transparent 80%); mask-image: linear-gradient(90deg, #000, transparent 80%); }
/* Framed art inside cards, columns, statements and rows. */
.art { margin-bottom: 1.75rem; }
.art .frame { border-radius: max(var(--radius) - 6px, 6px); }
.fg-item:has(.art) :is(.fg-idx, .fg-ico) { display: none; }
.fg--columns .fg-item:last-child { padding-right: 0; }
.fg--columns .art { margin-bottom: 2.25rem; }
/* Outer columns are wider than inner ones (no outer padding): a shared height keeps the art and titles aligned. */
.fg--c3.fg--columns .art .frame { height: clamp(180px, 16vw, 250px); }
.fg--c4.fg--columns .art .frame { height: clamp(150px, 12vw, 196px); }
.fg--cards .art { margin: -0.75rem -0.75rem 1.75rem; }
.pr-item .art { margin-bottom: 2.25rem; }
.sgp-title .art { width: 100%; max-width: 340px; margin: 0.5rem 0 0; }
.sgp-title:has(.art) .sgp-ico { display: none; }
.ix-art { max-width: 400px; margin-top: clamp(2.5rem, 5vw, 4rem); }
.ed-media { grid-column: 1 / -1; margin-top: clamp(3rem, 6vw, 5rem); }

/* Orbit */
.vis--orbit { width: 100%; max-width: 560px; margin-inline: auto; }
.frame .vis--orbit { max-width: none; }
.o-ring { fill: none; stroke: var(--fg); stroke-width: 1; vector-effect: non-scaling-stroke; }
.o-ring--outer { stroke-opacity: 0.22; }
.o-ring--mid { stroke-opacity: 0.14; stroke-dasharray: 2 6; }
.o-ring--inner { stroke-opacity: 0.16; }
.o-spokes { fill: none; stroke: var(--fg); stroke-opacity: 0.08; vector-effect: non-scaling-stroke; }
.o-sweep { transform-box: view-box; transform-origin: 50% 50%; animation: rot 12s linear infinite; }
.o-sweep path { fill: var(--accent); fill-opacity: 0.07; }
.o-node { fill: var(--bg); stroke: var(--fg-3); stroke-width: 1.2; vector-effect: non-scaling-stroke; animation: onode 12s linear infinite; }
.o-hub { fill: var(--accent); }
.o-hub-halo { fill: none; stroke: var(--accent); stroke-opacity: 0.4; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: hub 3.2s var(--ease-io) infinite; }
.o-label { position: absolute; transform: translate(-50%, -50%); font-family: var(--ff-mono); font-size: clamp(0.625rem, 0.58rem + 0.15vw, 0.75rem); color: var(--fg-3); animation: olabel 12s linear infinite; }
@media (prefers-reduced-motion: no-preference) {
  html[data-motion='on'] .ix-sync .ix-num { animation: olabel 12s linear infinite; }
}
@keyframes onode { 0% { fill: var(--accent); stroke: var(--accent); } 14% { fill: var(--bg); stroke: var(--fg-3); } }
@keyframes olabel { 0% { color: var(--accent); } 14% { color: var(--fg-3); } }
@keyframes hub { 50% { transform: scale(1.35); stroke-opacity: 0.1; } }

/* Layers */
.vis--layers { width: 100%; }
.ly-face { fill: var(--bg); fill-opacity: 0.94; stroke: var(--fg); stroke-opacity: 0.3; stroke-width: 1; vector-effect: non-scaling-stroke; }
.ly-side { fill: color-mix(in oklab, var(--fg) 7%, var(--bg)); stroke: var(--fg); stroke-opacity: 0.18; stroke-width: 1; vector-effect: non-scaling-stroke; }
.ly-plate--top .ly-face { fill: color-mix(in oklab, var(--accent) 10%, var(--bg)); stroke: var(--accent); stroke-opacity: 0.9; }
.ly-grid { fill: none; stroke: var(--accent); stroke-opacity: 0.3; stroke-width: 1; vector-effect: non-scaling-stroke; }
.ly-axis { stroke: var(--accent); stroke-opacity: 0.35; stroke-dasharray: 2 6; vector-effect: non-scaling-stroke; }
.ly-plate { animation: ly-float 6s var(--ease-io) infinite; animation-delay: calc(var(--i) * -0.45s); }
.ly-plate--top { animation-name: ly-lift; }
@keyframes ly-float { 50% { transform: translateY(-6px); } }
@keyframes ly-lift { 50% { transform: translateY(-20px); } }

/* Modules */
.md-links { fill: none; stroke: var(--fg); stroke-opacity: 0.16; stroke-width: 1; vector-effect: non-scaling-stroke; }
.md-tile { fill: color-mix(in oklab, var(--fg) 4%, var(--bg)); stroke: var(--fg); stroke-opacity: 0.3; stroke-width: 1; vector-effect: non-scaling-stroke; }
.md-tile--ai { fill: var(--accent); fill-opacity: 0.9; stroke: var(--accent); stroke-opacity: 1; animation: md-pulse 4.2s var(--ease-io) infinite; }
@keyframes md-pulse { 50% { fill-opacity: 0.4; } }

/* Ascent: the progression's rising curve. Columns lose their gap so nodes align with each column's edge. */
.pg-curve { margin: clamp(2.5rem, 5vw, 4.5rem) 0 0.75rem; }
.pg-curve + .pg { gap: 0; }
.pg-curve + .pg .pg-step { padding-right: clamp(0.75rem, 1.5vw, 1.5rem); }
.as-guide { fill: none; stroke: var(--line); stroke-dasharray: 2 6; vector-effect: non-scaling-stroke; }
.as-stop { stop-color: var(--accent); }
.as-stop--start { stop-color: var(--fg-3); stop-opacity: 0.5; }
.as-drops { fill: none; stroke: var(--fg); stroke-opacity: 0.14; stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }
.as-line { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1 1; }
.as-node { fill: var(--bg); stroke: color-mix(in oklab, var(--accent) calc(var(--k) * 100%), var(--fg-3)); stroke-width: 1.6; }
.as-end { fill: var(--accent); }
.as-end-halo { fill: none; stroke: var(--accent); stroke-opacity: 0.4; transform-box: fill-box; transform-origin: center; animation: hub 3.2s var(--ease-io) infinite; }
.as-pulse { fill: var(--accent); filter: drop-shadow(0 0 5px var(--accent)); }
.as-low { left: 0; top: 50%; }
.as-high { right: 0; top: -0.2rem; }
.js .pg-curve:not(.is-in) .as-line { stroke-dashoffset: 1; }
.js .pg-curve:not(.is-in) :is(.as-node, .as-end, .as-end-halo, .as-area, .as-pulse) { opacity: 0; }
.as-line { transition: stroke-dashoffset 2.4s var(--ease-io) 0.2s; }
.as-node { transition: opacity 0.5s var(--ease) calc(var(--i) * 0.38s + 0.35s); }
.as-area { transition: opacity 1.4s var(--ease) 1.2s; }
:is(.as-end, .as-end-halo, .as-pulse) { transition: opacity 0.6s var(--ease) 2.3s; }
@media (max-width: 800px) { .pg-curve { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .o-sweep, .o-node, .o-label, .o-hub-halo, .ly-plate, .md-tile--ai, .as-end-halo, .stage-figure, .cons-caret, .demo-live i { animation: none !important; }
  .o-sweep, .as-pulse { display: none; }
}
html[data-motion='off'] :is(.o-sweep, .o-node, .o-label, .o-hub-halo, .ly-plate, .md-tile--ai, .as-end-halo, .stage-figure, .cons-caret, .demo-live i) { animation: none !important; }
html[data-motion='off'] :is(.o-sweep, .as-pulse) { display: none; }

@media (max-width: 960px) {
  .ix-art { max-width: 320px; }
}
@media (max-width: 640px) {
  .sgp-title .art { max-width: none; }
}

/* ==========================================================================
   Colour & presence — electric-blue bands, dark heroes, stages, live demo,
   prompt console and the footer
   ========================================================================== */

/* Electric-blue sections (closing calls to action). */
.t-accent { background-image: radial-gradient(ellipse 70% 80% at 75% 20%, rgb(255 255 255 / 0.14), transparent 70%); }
.t-accent .btn--primary { background: #fff; color: var(--c-accent); box-shadow: 0 14px 34px -14px rgb(0 0 30 / 0.55); }
.t-accent .btn--primary:hover { background: color-mix(in oklab, #fff 90%, var(--c-accent)); }
.t-accent .btn--secondary { color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.5); }
.t-accent .btn--secondary:hover { background: rgb(255 255 255 / 0.1); box-shadow: inset 0 0 0 1px #fff; }
.t-accent .eyebrow { color: rgb(255 255 255 / 0.78); }
.t-accent .cta-copy { color: rgb(255 255 255 / 0.82); }

/* Big frames never exceed the screen. */
:is(.pf-media, .prh-media, .sc-main, .ed-media) .frame { max-height: min(68svh, 720px); }

/* Page hero with a cover image: one screen, the text over the image. */
.sec--pageHero.has-cover { justify-content: flex-start; overflow: hidden; }
.phero-cover { position: absolute; inset: 0; z-index: -1; }
.phero-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.phero-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, color-mix(in oklab, var(--bg) 55%, transparent) 38%, transparent 66%), var(--grain); }
@media (prefers-reduced-motion: no-preference) {
  html[data-motion='on']:not(.is-preview) .phero-cover img { animation: cover-in 2.8s var(--ease-out) both; }
}
@keyframes cover-in { from { opacity: 0; transform: scale(1.05); } }

/* Sections with a background image and a screen height: text near the top, the image's subject below. */
.sec--editorial.h-screen.has-bg { justify-content: flex-start; padding-top: clamp(96px, 16vh, 180px); }
.sec--editorial.has-bg .ed-body { color: color-mix(in oklab, var(--fg) 78%, transparent); }

/* Dark page heroes: the field sits on the artwork's lit floor. */
.sec--pageHero.has-bg .phero-field { margin-top: clamp(2.5rem, 5vh, 4rem); }

/* Product feature, split: text left, frame right, highlights beneath. */
.pf--split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem clamp(2.5rem, 5vw, 5rem); align-items: center; }
.pf--split .pf-head { align-items: flex-start; text-align: left; margin: 0; max-width: none; }
.pf--split .pf-head .eyebrow { justify-content: flex-start; }
.pf--split .pf-logo { margin-top: 1.4rem; }
.pf--split .pf-title { margin-top: 1.1rem; font-size: clamp(2rem, 1.2rem + 2.2vw, 3.1rem); max-width: 16ch; }
.pf--split .pf-lede { margin-top: 1.25rem; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); }
.pf--split .pf-head .btns { justify-content: flex-start; margin-top: 2rem; }
.pf--split .pf-media { margin-top: 0; }
.pf--split .pf-body { grid-column: 1 / -1; margin-top: clamp(1rem, 2.5vw, 2rem); }

/* Solutions preview: both cards dark; the secondary card takes its own accent (teal for ROA). */
.sp-card { min-height: clamp(440px, min(40vw, 60vh), 580px); }
.sp-card--secondary { background-image: radial-gradient(ellipse 100% 65% at 50% 100%, color-mix(in oklab, var(--accent) 24%, transparent), transparent 72%), linear-gradient(165deg, color-mix(in oklab, var(--accent) 9%, #0b0f13), #07090c 72%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06); }
.sp-card--secondary:hover { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1), 0 40px 80px -40px rgb(0 0 0 / 0.4); }
.sp-card--secondary .sp-media { flex: 1 1 auto; display: grid; place-items: center; padding: 1rem clamp(28px, 3.4vw, 48px) clamp(28px, 3.4vw, 48px); }
.sp-vis--rings { width: min(100%, 290px); margin: 0 auto; }
.sp-card--secondary .badge { color: color-mix(in oklab, var(--accent) 80%, #fff); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 45%, transparent); }

/* Solution spotlight: a dark panel for the visual on light backgrounds. */
.ss-panel { padding: clamp(18px, 2.6vw, 36px); border-radius: calc(var(--radius) + 6px); background-image: var(--grain), radial-gradient(ellipse 85% 60% at 70% 100%, color-mix(in oklab, var(--accent) 26%, transparent), transparent 72%); box-shadow: 0 60px 120px -70px rgb(10 25 80 / 0.55); }

/* Stage: a cut-out rising out of a lit panel. */
.split--stage { align-items: center; }
.stage { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; margin-inline: auto; }
.stage-back { position: absolute; inset: 21% 0 0; overflow: hidden; border-radius: calc(var(--radius) + 10px); background: radial-gradient(ellipse 60% 30% at 50% 82%, rgb(47 91 255 / 0.4), transparent 70%), linear-gradient(180deg, #0c1020, #06070c); background-size: cover; background-position: 50% 62%; box-shadow: 0 60px 110px -60px rgb(10 20 60 / 0.75), inset 0 0 0 1px rgb(255 255 255 / 0.07), inset 0 1px 0 rgb(255 255 255 / 0.12); }
.stage-glow { position: absolute; left: 50%; top: -18%; width: 78%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); background: radial-gradient(circle, color-mix(in oklab, var(--c-accent) 42%, transparent), transparent 64%); opacity: 0.75; }
.stage-figure { position: absolute; left: 50%; bottom: 9%; z-index: 1; height: 86%; width: auto; max-width: 94%; object-fit: contain; transform: translateX(-50%); filter: drop-shadow(0 28px 36px rgb(0 0 0 / 0.5)); animation: stage-float 7s var(--ease-io) infinite; }
@keyframes stage-float { 50% { transform: translate(-50%, -10px); } }
.split--stage .split-text h2 { max-width: 14ch; }

/* Live demo (Try Pandora). */
.demo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem clamp(2.5rem, 5vw, 5rem); align-items: center; }
.demo-text h2 { margin-top: 1.3rem; max-width: 13ch; }
.demo-copy { margin-top: 1.5rem; max-width: 31rem; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.55; color: var(--fg-2); }
.demo-copy p + p { margin-top: 0.9em; }
.demo-text .btns { margin-top: 2.25rem; }
.demo-visual { perspective: 2000px; }
.demo-win { position: relative; display: block; overflow: hidden; border-radius: 16px; background: #0a0c12; color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1), 0 70px 120px -50px rgb(0 0 0 / 0.8), 0 0 90px -30px color-mix(in oklab, var(--accent) 45%, transparent); transform: rotateY(-7deg) rotateX(3deg); transform-origin: 30% 50%; transition: transform 1s var(--ease-out), box-shadow 0.6s var(--ease); }
.demo-win:hover, .demo-win:focus-visible { transform: rotateY(-2deg) rotateX(0deg) translateY(-4px); }
.demo-bar { display: flex; align-items: center; gap: 1rem; height: 40px; padding: 0 14px; background: rgb(255 255 255 / 0.035); border-bottom: 1px solid rgb(255 255 255 / 0.07); }
.demo-dots { display: inline-flex; gap: 6px; }
.demo-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / 0.16); }
.demo-url { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; max-width: 300px; height: 24px; margin-inline: auto; border-radius: 7px; background: rgb(255 255 255 / 0.06); font-family: var(--ff-mono); font-size: 0.75rem; color: rgb(255 255 255 / 0.72); }
.demo-live { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--ff-mono); font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; color: #7ee2a8; }
.demo-live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgb(126 226 168 / 0.2); animation: live 2s var(--ease-io) infinite; }
@keyframes live { 50% { opacity: 0.3; } }
.demo-body { display: block; padding: clamp(20px, 2.6vw, 34px); background: radial-gradient(ellipse 70% 60% at 88% 0%, color-mix(in oklab, var(--accent) 20%, transparent), transparent 70%); }
.demo-top { display: flex; align-items: center; gap: 0.75rem; }
.demo-logo { height: 26px; width: auto; }
.demo-name { font-weight: 600; }
.demo-tag { padding: 0.25rem 0.55rem; border-radius: 999px; font-family: var(--ff-mono); font-size: 0.5625rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgb(255 255 255 / 0.62); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14); }
.demo-h { display: block; max-width: 22ch; margin-top: 1.1rem; font-family: var(--ff-display); font-size: clamp(1.25rem, 0.95rem + 1vw, 1.8rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; }
.demo-h em { color: color-mix(in oklab, var(--accent) 70%, #fff); }
.demo-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 1.4rem; }
.demo-metric { display: flex; flex-direction: column; overflow: hidden; padding: 12px 12px 0; border-radius: 10px; background: rgb(255 255 255 / 0.04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.07); }
.demo-m-label { font-family: var(--ff-mono); font-size: 0.5625rem; letter-spacing: 0.12em; text-transform: uppercase; color: color-mix(in oklab, var(--accent) 75%, #fff); }
.demo-m-value { margin-top: 0.5rem; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.demo-m-cap { margin-top: 0.35rem; font-size: 0.6875rem; color: rgb(255 255 255 / 0.5); }
.demo-spark { display: block; width: calc(100% + 24px); height: 34px; margin: 10px -12px 0; }
.demo-spark-area { fill: var(--accent); opacity: 0.14; }
.demo-spark-line { fill: none; stroke: var(--accent); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1 1; transition: stroke-dashoffset 1.8s var(--ease-io) calc(0.4s + var(--i, 0) * 0.2s); }
.demo-metric:nth-child(2) .demo-spark-line { transition-delay: 0.6s; }
.demo-metric:nth-child(3) .demo-spark-line { transition-delay: 0.8s; }
.js .demo-visual:not(.is-in) .demo-spark-line { stroke-dashoffset: 1; }
.demo-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.demo-step { display: inline-flex; flex-direction: column; gap: 3px; padding: 8px 10px; border-radius: 8px; background: rgb(255 255 255 / 0.04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.07); }
.demo-step-t { font-size: 0.75rem; font-weight: 500; }
.demo-step-tag { font-family: var(--ff-mono); font-size: 0.5rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgb(255 255 255 / 0.45); }
.demo-arrow { display: inline-flex; color: rgb(255 255 255 / 0.3); }
.demo-open { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 0.4rem; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--c-accent); color: #fff; font-size: 0.8125rem; font-weight: 500; opacity: 0; transform: translateY(6px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-out); }
.demo-win:hover .demo-open, .demo-win:focus-visible .demo-open { opacity: 1; transform: none; }
.sec--demo .sc-link { margin-top: clamp(2.5rem, 5vh, 3.5rem); }

/* Prompt console. */
.cons-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem clamp(2.5rem, 5vw, 5rem); align-items: center; }
.cons-wrap--left .cons-text { order: 2; }
.cons-text h2 { margin-top: 1.3rem; max-width: 15ch; }
.cons-text .btns { margin-top: 2.25rem; }
.cons { overflow: hidden; border-radius: 16px; font-family: var(--ff-mono); background-color: #090b10; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.09), 0 60px 120px -60px rgb(5 12 30 / 0.6), 0 0 80px -40px color-mix(in oklab, var(--accent) 50%, transparent); }
.cons-bar { display: flex; align-items: center; gap: 1rem; height: 42px; padding: 0 14px; background: rgb(255 255 255 / 0.03); border-bottom: 1px solid var(--line); }
.cons-title { font-size: 0.75rem; color: var(--fg-2); }
.cons-modes { display: inline-flex; gap: 3px; margin-left: auto; padding: 3px; border-radius: 999px; background: rgb(255 255 255 / 0.05); }
.cons-modes span { padding: 0.28rem 0.65rem; border-radius: 999px; font-size: 0.5625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.cons-modes .is-on { background: var(--accent); color: #05100d; }
.cons-body { display: grid; gap: 18px; padding: clamp(16px, 2.2vw, 26px); }
.cons-label { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.cons-lines { display: block; margin-top: 10px; font-size: clamp(0.6875rem, 0.62rem + 0.2vw, 0.8125rem); line-height: 1.65; color: var(--fg-2); white-space: pre-wrap; }
.cons-line { display: block; transition: opacity 0.35s var(--ease) calc(0.2s + var(--i) * 0.07s); }
.cons-line:first-child { color: var(--fg); }
.cons-caret { display: inline-block; width: 7px; height: 1.05em; vertical-align: -0.2em; background: var(--accent); animation: caret 1.05s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.cons-steps { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 6px; }
.cons-steps li { position: relative; padding-top: 12px; font-size: 0.6875rem; color: var(--fg-2); }
.cons-steps li i { position: absolute; top: 0; left: 0; right: 0; height: 3px; overflow: hidden; border-radius: 3px; background: var(--line-2); }
.cons-steps li i::after { content: ''; position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; transition: transform 0.9s var(--ease-io) calc(1.3s + var(--i) * 0.7s); }
.cons-out ul { display: grid; gap: 6px; margin-top: 10px; }
.cons-out li { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.75rem; line-height: 1.45; color: var(--fg-2); transition: opacity 0.5s var(--ease) calc(3.4s + var(--i) * 0.22s); }
.cons-out li .ico { flex: none; margin-top: 0.15em; color: var(--accent); }
.cons-result { margin-top: 12px; padding: 10px 12px; border-radius: 8px; font-size: 0.75rem; color: var(--fg); background: color-mix(in oklab, var(--accent) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 30%, transparent); transition: opacity 0.6s var(--ease) 4.8s; }
.js .cons-visual:not(.is-in) :is(.cons-line, .cons-out li, .cons-result) { opacity: 0; }
.js .cons-visual:not(.is-in) .cons-steps li i::after { transform: scaleX(0); }

/* Footer: a modest signature, a quieter statement, light from the corner. */
.site-footer { padding-top: clamp(4rem, 8vh, 6rem); background-image: var(--grain), radial-gradient(ellipse 55% 80% at 0% 0%, color-mix(in oklab, var(--accent) 13%, transparent), transparent 70%); }
.ft-top { padding-bottom: clamp(3rem, 6vh, 4.5rem); }
.ft-mark { display: block; width: clamp(200px, 19vw, 280px); margin-bottom: 1.6rem; }
.ft-mark img { display: block; width: 100%; height: auto; }
.ft:has(.ft-mark) .ft-logo { display: none; }
.ft-mark + .ft-statement { font-size: clamp(1.6rem, 1.1rem + 1.5vw, 2.4rem); }

@media (max-width: 960px) {
  .pf--split, .demo, .cons-wrap { grid-template-columns: 1fr; }
  .cons-wrap--left .cons-text { order: 0; }
  .demo-win { transform: none; }
  .stage { max-width: 440px; }
}
@media (max-width: 640px) {
  .demo-metrics { grid-template-columns: 1fr 1fr; }
  .demo-metric:nth-child(3) { display: none; }
  .demo-flow .demo-step-tag { display: none; }
  .cons-modes { display: none; }
  .sp-card { min-height: 0; }
}

/* Solutions preview at desktop: the flagship card runs horizontally so the pair fits one screen. */
@media (min-width: 961px) {
  .sp-card { min-height: clamp(400px, min(36vw, 54vh), 520px); }
  .sp-card--primary { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .sp-card--primary .sp-body { align-self: center; }
  .sp-card--primary .sp-media { display: flex; align-items: center; margin-top: 0; padding-left: 0; }
  .sp-card--primary .sp-vis { width: 100%; }
}

/* Second accent: a violet the line field blends toward, for a little colour within the brand blue. */
:root { --accent-2: #7a5cff; }
.t-dark, .t-midnight { --accent-2: #a28bff; }

/* Home hero: a soft colour wash behind the point where the field resolves. */
.sec--hero .hero-field::before { content: ''; position: absolute; left: 30%; right: -10%; top: 10%; bottom: 20%; background: radial-gradient(ellipse 50% 45% at 40% 50%, color-mix(in oklab, var(--accent) 16%, transparent), transparent 70%), radial-gradient(ellipse 40% 40% at 75% 55%, color-mix(in oklab, var(--accent-2) 12%, transparent), transparent 70%); filter: blur(10px); pointer-events: none; }

/* ==========================================================================
   Round 4 — one-screen sections, product showcase, horizon, journey,
   workflow loop, floating sub-navigation
   ========================================================================== */

/* Home hero: headline, copy, field and focus areas all inside one screen. */
.sec--hero.v-field { height: 100svh; min-height: 600px; max-height: 1120px; padding-top: calc(var(--header-h) + clamp(24px, 6vh, 104px)); padding-bottom: clamp(18px, 2.6vh, 40px); }
.sec--hero.v-field .hero-title { margin-top: clamp(0.9rem, 2vh, 2rem); font-size: clamp(3rem, min(1rem + 7.4vw, 14vh), 8.4rem); }
.sec--hero.v-field .hero-foot { margin-top: clamp(1rem, 2.8vh, 3rem); }
.sec--hero.v-field .hero-field { flex: 1 1 0; min-height: 90px; margin-top: clamp(0.5rem, 1.8vh, 2.5rem); }
.sec--hero.v-field .hero-areas { margin-top: clamp(0.5rem, 1.6vh, 2rem); padding-top: clamp(0.75rem, 1.7vh, 1.5rem); }
@media (max-height: 620px), (max-width: 760px) {
  .sec--hero.v-field { height: auto; max-height: none; }
  .sec--hero.v-field .hero-field { flex: none; height: clamp(150px, 26vh, 220px); }
}

/* Product feature (split): highlights spread across the full width, nothing else beneath. */
.pf--split .pf-body:not(:has(.pf-copy)) { display: block; }
.pf--split .pf-body { margin-top: clamp(2.5rem, 6vh, 4.5rem); }
.pf--split .pf-highlights { gap: clamp(2rem, 5vw, 5.5rem); }
.pf--split .pf-highlights li { padding-top: 1.6rem; }
.pf--split .pf-highlights p { max-width: 32ch; }

/* Column art on white: a light grey ground gives the drawings contrast. */
.t-light .fg--columns .art .frame--vis { background: color-mix(in oklab, var(--fg) 5.5%, var(--bg)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fg) 8%, var(--bg)); }

/* Solutions — showcase: two products on one stage, each under its own light. */
.sec--solutionsPreview.v-showcase .sec-head { margin-bottom: clamp(1.25rem, 4vh, 3rem); }
.spx { display: grid; grid-template-columns: minmax(0, 7fr) 1px minmax(0, 5fr); align-items: stretch; }
.spx-rule { background: linear-gradient(180deg, transparent, var(--line-2) 18%, var(--line-2) 82%, transparent); }
.spx-item { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; padding: 0 clamp(1.25rem, 4vw, 4.5rem); text-align: center; }
.spx-light { position: absolute; inset: -12% 6% 0; z-index: -1; background: radial-gradient(ellipse 58% 50% at 50% 34%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 72%); opacity: 0.75; transition: opacity 0.8s var(--ease); }
.spx-item:hover .spx-light { opacity: 1; }
.spx-vis { display: grid; place-items: center; width: 100%; height: clamp(190px, 31vh, 320px); }
.spx-vis > .vis { height: 100%; width: auto; max-width: 100%; }
.spx-vis > .frame { height: 100%; width: auto; max-width: 100%; background: none; box-shadow: none; }
.spx-body { display: flex; flex-direction: column; align-items: center; margin-top: clamp(1rem, 3vh, 2.25rem); }
.spx-logo { height: clamp(42px, 5.6vh, 60px); width: auto; margin-top: 1rem; }
.spx-item--secondary .spx-logo { height: clamp(34px, 4.6vh, 48px); }
.spx-name { margin-top: 1rem; font-family: var(--ff-display); font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); font-weight: 600; letter-spacing: -0.03em; }
.spx-text { margin-top: 0.9rem; max-width: 30rem; font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem); line-height: 1.5; color: var(--fg-2); }
.spx-item--secondary .spx-text { max-width: 22rem; }
.spx-link { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1.35rem; font-size: 0.9375rem; font-weight: 500; color: var(--fg); }
.spx-link .ico { color: var(--accent); transition: transform 0.45s var(--ease-out); }
.spx-item:hover .spx-link .ico { transform: translateX(4px); }
.spx-item--secondary .badge { color: color-mix(in oklab, var(--accent) 80%, #fff); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 45%, transparent); }
@media (max-width: 860px) {
  .spx { grid-template-columns: 1fr; gap: 3.5rem; }
  .spx-rule { display: none; }
}

/* Stage, floating: the cut-out alone, with a soft halo and a ground shadow. */
.stage--float { max-width: 470px; }
.stage--float .stage-figure { height: 82%; bottom: 11%; filter: drop-shadow(0 26px 30px rgb(20 30 80 / 0.2)); }
.stage-halo { position: absolute; left: 50%; top: 6%; width: 84%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); background: radial-gradient(circle, color-mix(in oklab, var(--c-accent) 24%, transparent), color-mix(in oklab, var(--accent-2) 10%, transparent) 46%, transparent 68%); filter: blur(4px); }
.stage-ground { position: absolute; left: 50%; bottom: 7%; width: 54%; height: 6%; border-radius: 50%; transform: translateX(-50%); background: radial-gradient(ellipse, rgb(20 30 80 / 0.24), transparent 70%); animation: ground 7s var(--ease-io) infinite; }
@keyframes ground { 50% { transform: translateX(-50%) scale(0.88); opacity: 0.7; } }

/* Editorial with the horizon backdrop: one screen, centred text above an animated horizon. */
.sec-art { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; height: 60%; pointer-events: none; }
.vis--horizon, .vis--horizon svg { display: block; width: 100%; height: 100%; }
.sec--editorial.has-art.h-screen { justify-content: center; padding-top: calc(var(--header-h) + 2vh); padding-bottom: clamp(140px, 30vh, 320px); }
.has-art .ed { grid-template-columns: 1fr; justify-items: center; gap: 1.5rem; max-width: 50rem; text-align: center; }
.has-art .ed-head .eyebrow { justify-content: center; }
.has-art .ed-head h2 { max-width: 20ch; margin-inline: auto; }
.has-art .ed-body { padding-top: 0; max-width: 40rem; }
.has-art .ed-body .btn { margin-top: 1.5rem; }
.hz-stop { stop-color: var(--accent); }
.hz-stop--hot { stop-color: color-mix(in oklab, var(--accent) 30%, #fff); }
.hz-disc { fill: color-mix(in oklab, var(--bg) 94%, var(--accent)); }
.hz-lat { fill: none; stroke: var(--accent); stroke-opacity: calc(0.36 - var(--k) * 0.02); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hz-mer { fill: none; stroke: var(--accent); stroke-opacity: 0.17; stroke-width: 1; vector-effect: non-scaling-stroke; transform-box: view-box; transform-origin: 800px 1860px; animation: hz-turn 28s var(--ease-io) infinite; animation-delay: var(--d); }
@keyframes hz-turn { from { transform: scaleX(1); } to { transform: scaleX(-1); } }
.hz-rim { fill: none; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.hz-rim-glow { fill: none; stroke-width: 12; opacity: 0.75; }
.hz-sweep { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 0.07 0.93; filter: drop-shadow(0 0 6px var(--accent)); animation: hz-sweep 10s var(--ease-io) infinite; }
@keyframes hz-sweep { from { stroke-dashoffset: 0.07; } to { stroke-dashoffset: -1; } }
.hz-mote { fill: var(--accent); opacity: 0; animation: hz-mote var(--t) linear infinite; animation-delay: var(--d); }
@keyframes hz-mote { 0% { opacity: 0; transform: translateY(0); } 20% { opacity: 0.75; } 100% { opacity: 0; transform: translateY(-170px); } }

/* The last call to action and the footer share one screen. */
.site-main > .sec--cta:last-child { --pad: clamp(56px, 8vh, 96px); }
.site-main > .sec--cta:last-child .cta-title { font-size: clamp(2rem, 1.1rem + 2.6vw, 3.6rem); }
.site-main > .sec--cta:last-child .vis--beam { height: clamp(64px, 8.5vh, 110px); margin-top: clamp(1.5rem, 4vh, 3rem); }
.site-footer { padding-top: clamp(2.5rem, 6vh, 4.5rem); }
.ft-top { padding-bottom: clamp(2rem, 4.5vh, 3.25rem); }
.ft-mark { width: clamp(180px, 14vw, 230px); margin-bottom: 1rem; }
.ft-mark + .ft-statement { font-size: clamp(1.35rem, 1rem + 1vw, 1.9rem); }
.ft-text { margin: 0.9rem 0 1.4rem; }
.ft-bottom { padding-top: 1.25rem; }

/* Journey (Pandora): four panels lighting in turn on a 9s cycle. */
.vis--journey { width: 100%; }
.j-panel { fill: color-mix(in oklab, var(--fg) 3%, transparent); stroke: var(--fg); stroke-opacity: 0.14; stroke-width: 1; vector-effect: non-scaling-stroke; animation: j-phase 9s linear infinite; animation-delay: calc(var(--i) * 2.25s - 9s); }
@keyframes j-phase {
  0%, 22% { stroke: var(--accent); stroke-opacity: 0.85; fill: color-mix(in oklab, var(--accent) 8%, transparent); }
  30%, 100% { stroke: var(--fg); stroke-opacity: 0.14; fill: color-mix(in oklab, var(--fg) 3%, transparent); }
}
.j-code { fill: var(--fg); opacity: 0.2; }
.j-code--kw { fill: var(--accent); opacity: 0.65; }
.j-scan { animation: j-scan 9s var(--ease-io) infinite; }
@keyframes j-scan { 0% { transform: translateY(0); opacity: 1; } 22% { transform: translateY(228px); opacity: 1; } 26%, 100% { transform: translateY(228px); opacity: 0; } }
.j-scan-band { fill: var(--accent); opacity: 0.1; }
.j-scan-line { stroke: var(--accent); stroke-width: 1.5; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px var(--accent)); }
.j-cell { fill: color-mix(in oklab, var(--fg) 9%, transparent); animation: j-pass 9s linear infinite; animation-delay: calc(2.25s + var(--k) * 0.05s - 9s); }
.j-cell--fail { animation-name: j-fail; }
@keyframes j-pass { 0% { fill: color-mix(in oklab, var(--fg) 9%, transparent); } 3%, 70% { fill: var(--accent); } 78%, 100% { fill: color-mix(in oklab, var(--fg) 9%, transparent); } }
@keyframes j-fail { 0% { fill: color-mix(in oklab, var(--fg) 9%, transparent); } 3%, 70% { fill: color-mix(in oklab, var(--fg) 30%, transparent); } 78%, 100% { fill: color-mix(in oklab, var(--fg) 9%, transparent); } }
.j-track { fill: color-mix(in oklab, var(--fg) 10%, transparent); }
.j-bar { transform-box: fill-box; transform-origin: 0 50%; }
.j-bar--score { fill: var(--accent); animation: j-score 9s var(--ease-out) infinite; }
@keyframes j-score { 0%, 26% { transform: scaleX(0); } 46%, 76% { transform: scaleX(0.82); } 86%, 100% { transform: scaleX(0); } }
.j-bar--cfg { fill: color-mix(in oklab, var(--fg) 30%, transparent); animation: j-cfg 9s var(--ease-out) infinite; animation-delay: calc(var(--i) * 0.12s); }
.j-bar--cfg.is-best { fill: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); }
@keyframes j-cfg { 0%, 50% { transform: scaleX(0); } 64%, 88% { transform: scaleX(1); } 96%, 100% { transform: scaleX(0); } }
.j-tag { font-family: var(--ff-mono); font-size: 18px; fill: var(--fg); opacity: 0.45; }
.j-line { fill: none; stroke: var(--fg); stroke-opacity: 0.22; stroke-width: 1; vector-effect: non-scaling-stroke; animation: j-lines 9s linear infinite; }
@keyframes j-lines { 0%, 74% { stroke: var(--fg); stroke-opacity: 0.22; } 80%, 96% { stroke: var(--accent); stroke-opacity: 0.6; } 100% { stroke: var(--fg); stroke-opacity: 0.22; } }
.j-beam { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 5px var(--accent)); }
.j-seal { fill: var(--bg); stroke: var(--accent); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.j-seal-halo { fill: none; stroke: var(--accent); stroke-opacity: 0.4; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: hub 3s var(--ease-io) infinite; }
.j-check { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; animation: j-check 9s var(--ease-out) infinite; }
@keyframes j-check { 0%, 76% { stroke-dashoffset: 1; } 84%, 97% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
.j-link { fill: none; stroke: var(--fg); stroke-opacity: 0.22; stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.j-pulse { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 0.3 0.7; stroke-dashoffset: 0.3; opacity: 0; filter: drop-shadow(0 0 5px var(--accent)); animation: j-pulse 9s linear infinite; animation-delay: calc((var(--i) + 1) * 2.25s - 0.6s - 9s); }
@keyframes j-pulse { 0% { opacity: 1; stroke-dashoffset: 0.3; } 9% { opacity: 1; stroke-dashoffset: -0.7; } 10%, 100% { opacity: 0; stroke-dashoffset: -0.7; } }
.j-arrow { fill: none; stroke: var(--fg); stroke-opacity: 0.4; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.j-title { font-size: clamp(0.5625rem, 0.48rem + 0.28vw, 0.75rem); color: var(--fg); white-space: nowrap; }
.j-title b { margin-right: 0.55em; font-weight: 500; color: var(--accent); }
.j-cap { font-size: clamp(0.5rem, 0.45rem + 0.22vw, 0.6875rem); letter-spacing: 0.08em; color: var(--fg-3); white-space: nowrap; }

/* Solution spotlight (flagship): a wider stage for the product visual, less air elsewhere. */
.ss--flagship .ss-main { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 2.5rem clamp(2rem, 4.5vw, 4.5rem); }
.ss--flagship .ss-pillars { margin-top: clamp(2.5rem, 6vh, 4.5rem); }
.ss--flagship .ss-pillars h3 { margin-top: 1.4rem; }
.ss-panel .vis--journey { margin: -4px 0; }

/* Ascent feedback loop. */
.as-loop { fill: none; stroke: var(--accent); stroke-opacity: 0.35; stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 0.008 0.012; }
.as-loop-flow { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 0.14 0.86; opacity: 0.85; filter: drop-shadow(0 0 4px var(--accent)); animation: as-flow 4.8s linear infinite; }
@keyframes as-flow { from { stroke-dashoffset: 0.14; } to { stroke-dashoffset: -0.86; } }
.as-loop-head { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: 0.8; }
.as-loop-dot { display: none; }
.as-loop-label { top: 0; transform: translate(-50%, -50%); padding: 0.2rem 0.75rem; border-radius: 999px; color: var(--accent); background: var(--bg); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 30%, transparent); }
.as-loop, .as-loop-flow, .as-loop-head, .as-loop-label { transition: opacity 0.8s var(--ease) 2.6s; }
.js .pg-curve:not(.is-in) :is(.as-loop, .as-loop-flow, .as-loop-head, .as-loop-label) { opacity: 0; }
.pg-curve:has(.has-loop) { margin-top: clamp(2rem, 5vh, 3.5rem); }

/* Loop (optimisation) on dark: stronger track, nodes and labels. */
:is(.t-dark, .t-midnight) .vis--loop .l-track { stroke: color-mix(in oklab, var(--fg) 36%, var(--bg)); stroke-width: 1.4; }
:is(.t-dark, .t-midnight) .vis--loop .l-inner { stroke: color-mix(in oklab, var(--fg) 22%, var(--bg)); }
:is(.t-dark, .t-midnight) .vis--loop .l-arrow { stroke: color-mix(in oklab, var(--fg) 62%, var(--bg)); }
:is(.t-dark, .t-midnight) .loop-label { color: color-mix(in oklab, var(--fg) 82%, var(--bg)); }
.vis--loop .l-pulse { stroke-width: 3.2; }
.vis--loop .l-node { stroke-width: 1.6; }

/* Product hero with a live preview. */
.prh--preview { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.prh--preview .prh-visual { max-width: none; justify-self: stretch; }

/* Workflow loop. */
.wf-stage { position: relative; aspect-ratio: 1200 / 490; }
.wf-stage > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wf-nodes { position: absolute; inset: 0; }
.wf-node { position: absolute; display: flex; flex-direction: column; gap: 0.35rem; padding: clamp(10px, 1.2vw, 16px); border-radius: 14px; background: color-mix(in oklab, var(--fg) 4%, var(--bg)); box-shadow: inset 0 0 0 1px var(--line-2); animation: wf-node 8.4s linear infinite; animation-delay: calc(var(--i) * 1.05s - 8.4s); }
@keyframes wf-node {
  0%, 9% { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 85%, transparent), 0 0 44px -12px color-mix(in oklab, var(--accent) 60%, transparent); }
  16%, 100% { box-shadow: inset 0 0 0 1px var(--line-2); }
}
.wf-node.is-dev { background: transparent; outline: 1px dashed color-mix(in oklab, var(--fg) 26%, var(--bg)); outline-offset: -1px; }
.wf-node.is-hl { background: color-mix(in oklab, var(--accent) 12%, var(--bg)); }
.wf-top { display: flex; align-items: center; gap: 0.5rem; }
.wf-num { font-family: var(--ff-mono); font-size: 0.6875rem; color: var(--fg-3); }
.wf-ico { color: var(--accent); }
.wf-status { margin-left: auto; padding: 0.15rem 0.5rem; border-radius: 999px; font-family: var(--ff-mono); font-size: 0.5625rem; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.is-poc .wf-status { color: var(--accent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 45%, transparent); }
.is-dev .wf-status { color: var(--fg-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.is-live .wf-status { color: #7ee2a8; box-shadow: inset 0 0 0 1px rgb(126 226 168 / 0.4); }
.wf-title { font-family: var(--ff-display); font-size: clamp(0.9375rem, 0.8rem + 0.4vw, 1.125rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; }
.wf-text { font-size: clamp(0.72rem, 0.66rem + 0.18vw, 0.8125rem); line-height: 1.42; color: var(--fg-2); }
.wf-link { fill: none; stroke: var(--line-2); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.wf-link--back { stroke: color-mix(in oklab, var(--accent) 50%, transparent); stroke-dasharray: 4 5; }
.wf-head { fill: none; stroke: var(--fg-3); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.wf-head--back { stroke: var(--accent); }
.wf-pulse { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 0.3 0.7; stroke-dashoffset: 0.3; opacity: 0; filter: drop-shadow(0 0 5px var(--accent)); animation: wf-pulse 8.4s linear infinite; animation-delay: calc(var(--i) * 1.05s + 0.7s - 8.4s); }
@keyframes wf-pulse { 0% { opacity: 1; stroke-dashoffset: 0.3; } 5% { opacity: 1; stroke-dashoffset: -0.7; } 5.5%, 100% { opacity: 0; stroke-dashoffset: -0.7; } }
.wf-center { position: absolute; left: 62.5%; top: 50%; display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.55rem 1rem; border-radius: 999px; transform: translate(-50%, -50%); font-family: var(--ff-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; color: var(--fg-2); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.wf-center .ico { color: var(--accent); animation: spin 9s linear infinite; }
.wf-back-label { position: absolute; top: 50%; padding: 0.35rem 0.75rem; border-radius: 999px; transform: translate(-50%, -50%); font-family: var(--ff-mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; color: var(--accent); background: var(--bg); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 40%, transparent); }
.wf-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2.5rem; margin-top: clamp(1.25rem, 3vh, 2.25rem); }
.wf-legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-family: var(--ff-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.wf-legend li { display: inline-flex; align-items: center; gap: 0.5rem; }
.wf-legend i { width: 11px; height: 11px; border-radius: 3px; }
.wf-legend .is-poc i { background: color-mix(in oklab, var(--accent) 25%, transparent); box-shadow: inset 0 0 0 1px var(--accent); }
.wf-legend .is-dev i { outline: 1px dashed var(--fg-3); outline-offset: -1px; }
.wf-legend .is-live i { background: #7ee2a8; }
.wf-note { display: flex; align-items: flex-start; gap: 0.6rem; max-width: 44rem; font-size: 0.9375rem; color: var(--fg-2); }
.wf-note .ico { flex: none; margin-top: 0.2em; color: var(--accent); }
.sec--workflow .sec-head--split { margin-bottom: clamp(1.75rem, 4vh, 3rem); }
@media (max-width: 900px) {
  .wf-stage { aspect-ratio: auto; }
  .wf-stage > svg, .wf-center, .wf-back-label { display: none; }
  .wf-nodes { position: static; display: grid; gap: 10px; }
  .wf-node { position: static; width: auto !important; height: auto !important; }
}

/* Product sub-navigation: a small floating capsule, clearly distinct from the main header. */
.localnav { top: calc(var(--header-h) + 8px); height: 46px; pointer-events: none; }
.localnav::before, .localnav::after { display: none; }
.localnav .ln.wrap { pointer-events: auto; width: fit-content; max-width: calc(100% - 2 * var(--gutter)); height: 46px; margin-inline: auto; padding: 0 5px 0 18px; gap: 1.1rem; border-radius: 999px; background: color-mix(in oklab, var(--bg) 80%, transparent); -webkit-backdrop-filter: saturate(1.8) blur(22px); backdrop-filter: saturate(1.8) blur(22px); box-shadow: inset 0 0 0 1px var(--line-2), 0 16px 40px -18px rgb(0 0 0 / 0.5); }
.localnav .ln-title { display: inline-flex; align-items: center; gap: 0.55rem; margin-right: 0.2rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: -0.01em; }
.localnav .ln-title::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 25%, transparent); }
.localnav .ln-links { gap: 2px; height: auto; }
.localnav .ln-links a { height: 32px; padding: 0 0.75rem; border-radius: 999px; font-size: 0.75rem; transition: color 0.25s, background-color 0.25s; }
.localnav .ln-links a:hover { background: color-mix(in oklab, var(--fg) 6%, transparent); }
.localnav .ln-links a.is-active { background: color-mix(in oklab, var(--fg) 12%, transparent); color: var(--fg); }
.localnav .ln-links a::after { display: none; }
.localnav .ln-cta { --h: 34px; }
.hdr-off .localnav { top: 8px; }
@supports (animation-timeline: scroll()) {
  .localnav .ln::after { content: ''; position: absolute; left: 20px; right: 20px; bottom: 0; height: 1.5px; border-radius: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); animation: read-progress linear both; animation-timeline: scroll(root); }
}
@media (max-width: 960px) {
  .localnav .ln.wrap { width: auto; }
  .localnav .ln-links { top: calc(100% + 8px); border-radius: 18px; padding: 0.5rem 1rem; box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 40px -30px rgb(0 0 0 / 0.4); }
  .localnav .ln-links a { height: auto; padding: 0.75rem 0.25rem; border-radius: 0; }
  .localnav .ln-links a.is-active { background: none; color: var(--accent); }
}

@media (prefers-reduced-motion: reduce) {
  .hz-mer, .hz-sweep, .hz-mote, .stage-ground, .j-panel, .j-scan, .j-cell, .j-bar, .j-line, .j-check, .j-pulse, .j-seal-halo, .as-loop-flow, .wf-node, .wf-pulse, .wf-center .ico { animation: none !important; }
  .j-scan, .hz-mote, .wf-pulse, .j-pulse { display: none; }
  .j-cell--pass { fill: var(--accent); }
  .j-cell--fail { fill: color-mix(in oklab, var(--fg) 30%, transparent); }
  .j-bar--score { transform: scaleX(0.82); }
  .j-check { stroke-dashoffset: 0; }
}
html[data-motion='off'] :is(.hz-mer, .hz-sweep, .hz-mote, .stage-ground, .j-panel, .j-scan, .j-cell, .j-bar, .j-line, .j-check, .j-pulse, .j-seal-halo, .as-loop-flow, .wf-node, .wf-pulse, .wf-center .ico) { animation: none !important; }
html[data-motion='off'] :is(.j-scan, .hz-mote, .wf-pulse, .j-pulse) { display: none; }
html[data-motion='off'] .j-cell--pass { fill: var(--accent); }
html[data-motion='off'] .j-check { stroke-dashoffset: 0; }
/* Journey labels wrap within their panel's width. */
.j-title, .j-cap { width: 21%; white-space: normal; text-align: center; line-height: 1.35; }
.j-title { transform: translate(-50%, -50%); }
.j-cap { font-family: var(--ff-body); font-size: clamp(0.625rem, 0.55rem + 0.22vw, 0.8125rem); font-weight: 400; letter-spacing: 0; text-transform: none; transform: translateX(-50%); }
.as-loop-label { top: 6%; }
/* Product hero with a preview: the headline scales to the narrower text column. */
.prh--preview .prh-title { max-width: 17ch; font-size: clamp(2.1rem, 1.1rem + 2.3vw, 3.4rem); }
.prh--preview .prh-logo { margin-bottom: 1.25rem; }
.prh--preview .prh-copy { margin-top: 1.25rem; font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); }
.prh--preview .btns { margin-top: 1.75rem; }
/* Product hero with the journey visual: a wide stage for the labelled product story. */
.prh--split:has(.vis--journey) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.prh--split .prh-visual:has(.vis--journey) { max-width: none; justify-self: stretch; padding: clamp(14px, 2vw, 28px); border-radius: calc(var(--radius) + 6px); background: color-mix(in oklab, var(--fg) 3%, transparent); box-shadow: inset 0 0 0 1px var(--line), 0 60px 120px -70px color-mix(in oklab, var(--accent) 50%, transparent); }
.prh--split:has(.vis--journey) .prh-title { max-width: 17ch; font-size: clamp(2.1rem, 1.1rem + 2.3vw, 3.4rem); }
.prh--split:has(.vis--journey) .prh-logo { margin-bottom: 1.25rem; }
.prh--split:has(.vis--journey) .prh-copy { margin-top: 1.25rem; font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); }
.prh--split:has(.vis--journey) .btns { margin-top: 1.75rem; }
/* Showcase: a large video that still leaves room for its heading and link within about one screen. */
.sec--showcase .sec-head { margin-bottom: clamp(1.5rem, 3.5vh, 2.75rem); }
.sec--showcase .sc-main .frame { max-height: min(58svh, 660px); }
.sec--showcase .sc-link { margin-top: clamp(1.25rem, 3vh, 2rem); padding-block: clamp(1rem, 2vh, 1.5rem); }
@media (max-width: 960px) {
  .prh--split:has(.vis--journey), .prh--preview { grid-template-columns: 1fr; }
  .ss--flagship .ss-main { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .vis--journey .j-cap { display: none; }
  .vis--journey .j-title { font-size: 0.5rem; letter-spacing: 0.06em; }
}

/* ==========================================================================
   Round 5 — horizon placement, product artwork, capability tabs,
   statement rows, alternating feature rows
   ========================================================================== */

/* Horizon anchored by its rim: the bright edge sits at a fixed share of the section height,
   so it never crosses the text, whatever the screen's proportions. */
.has-art { overflow: hidden; }
.sec-art--rim { --hz-w: 100vw; --hz-rim: 78%; right: auto; bottom: auto; left: calc((100% - var(--hz-w)) / 2); width: var(--hz-w); height: auto; aspect-ratio: 1600 / 1000; top: calc(var(--hz-rim) - 0.475 * var(--hz-w)); }
.sec--pageHero.has-horizon { justify-content: flex-start; }
.sec--pageHero.has-horizon .sec-art--rim { --hz-rim: 88%; }
.sec--pageHero.has-horizon { padding-bottom: clamp(5.5rem, 13vh, 8rem); }

/* Journey: the winning configuration is tuned a step further. */
.j-bar--cfg.is-best { animation-name: j-cfg-best; }
@keyframes j-cfg-best { 0%, 50% { transform: scaleX(0); } 62%, 70% { transform: scaleX(1); } 76%, 88% { transform: scaleX(1.07); } 96%, 100% { transform: scaleX(0); } }

/* Product artwork: Pandora and Ring of Automation, each in its own light. */
.vis--products { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); overflow: hidden; color: #fff; background: radial-gradient(ellipse 55% 75% at 25% 50%, rgb(47 91 255 / 0.24), transparent 70%), radial-gradient(ellipse 45% 70% at 76% 50%, rgb(111 191 174 / 0.18), transparent 70%), linear-gradient(180deg, #0b0e17, #06070b); }
.frame--vis:has(.vis--products) { background: #07080c; box-shadow: none; }
.pv-half { position: relative; display: grid; place-items: center; overflow: hidden; }
.pv-half--pandora { --pv: #5e86ff; }
.pv-half--roa { --pv: #6fbfae; }
.pv-field { position: absolute; inset: 0; width: 100%; height: 100%; }
.pv-line { fill: none; stroke: #fff; stroke-opacity: 0.15; stroke-width: 1; vector-effect: non-scaling-stroke; }
.pv-line:nth-child(3n + 2) { stroke: var(--pv); stroke-opacity: 0.85; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 0.16 0.84; filter: drop-shadow(0 0 4px var(--pv)); animation: pv-flow 3.6s linear infinite; animation-delay: calc(var(--i) * -0.45s); }
@keyframes pv-flow { from { stroke-dashoffset: 0.16; } to { stroke-dashoffset: -0.84; } }
.pv-beam { display: none; }
.pv-logo { position: relative; z-index: 1; width: 64%; max-width: 360px; height: auto; filter: drop-shadow(0 0 26px rgb(47 91 255 / 0.4)); }
.pv-logo--roa { width: 60%; filter: drop-shadow(0 0 22px rgb(111 191 174 / 0.28)); }
.pv-rings { position: absolute; left: 50%; top: 50%; height: 94%; aspect-ratio: 1; transform: translate(-50%, -50%); overflow: visible; }
.pv-ring { fill: none; stroke: var(--pv); stroke-opacity: 0.32; stroke-width: 1; vector-effect: non-scaling-stroke; }
.pv-ring--dash { stroke-opacity: 0.55; stroke-dasharray: 3 7; transform-box: view-box; transform-origin: 200px 200px; animation: rot 48s linear infinite; }
.pv-ticks { fill: none; stroke: var(--pv); stroke-opacity: 0.35; stroke-width: 1; vector-effect: non-scaling-stroke; }
.pv-orbit { transform-box: view-box; transform-origin: 200px 200px; animation: rot 14s linear infinite; }
.pv-orbit--slow { animation-duration: 26s; animation-direction: reverse; }
.pv-node { fill: var(--pv); filter: drop-shadow(0 0 6px var(--pv)); }
.pv-node--dim { opacity: 0.6; }
.pv-tag { position: absolute; left: 0; right: 0; bottom: 8%; z-index: 1; text-align: center; font-family: var(--ff-mono); font-size: clamp(0.5rem, 0.44rem + 0.26vw, 0.6875rem); letter-spacing: 0.14em; text-transform: uppercase; color: rgb(255 255 255 / 0.55); }
.pv-rule { background: linear-gradient(180deg, transparent, rgb(255 255 255 / 0.12) 25%, rgb(255 255 255 / 0.12) 75%, transparent); }

/* Capability tabs: the list beside one large panel. */
.sgt { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem clamp(2rem, 4.5vw, 5rem); align-items: start; }
.sgt-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.sgt-tab { position: relative; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); align-items: center; gap: 0.75rem; padding: clamp(1rem, 2.4vh, 1.5rem) 0; border-bottom: 1px solid var(--line); text-align: left; color: var(--fg-3); transition: color 0.3s var(--ease); }
.sgt-num { font-family: var(--ff-mono); font-size: 0.75rem; color: var(--fg-3); transition: color 0.3s var(--ease); }
.sgt-name { font-family: var(--ff-display); font-size: clamp(1.1rem, 0.9rem + 0.65vw, 1.5rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
.sgt-tab:hover, .sgt-tab.is-on { color: var(--fg); }
.sgt-tab.is-on .sgt-num { color: var(--accent); }
.sgt-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.sgt-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.sgt-bar i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.5s var(--ease-out); }
.sgt-tab.is-on .sgt-bar i { transform: scaleX(1); }
.is-auto.is-visible .sgt-tab.is-on .sgt-bar i { transition: none; animation: sgt-progress 8s linear both; }
.is-auto:is(:hover, :focus-within) .sgt-tab.is-on .sgt-bar i { animation-play-state: paused; }
@keyframes sgt-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sgt-panels { position: relative; min-width: 0; }
.sgt-panel { display: grid; gap: clamp(1.25rem, 3vh, 2rem); outline: none; }
.sgt-panel + .sgt-panel { margin-top: 3rem; }
.sgt.is-tabs .sgt-panel + .sgt-panel { margin-top: 0; }
.sgt.is-tabs .sgt-panel:not(.is-on) { display: none; }
.sgt.is-tabs .sgt-panel.is-on { animation: sgt-in 0.6s var(--ease-out) both; }
@keyframes sgt-in { from { opacity: 0; transform: translateY(10px); } }
.sgt-art .frame { max-height: min(36vh, 380px); border-radius: calc(var(--radius) + 2px); }
.t-light .sgt-art .frame--vis { background: color-mix(in oklab, var(--fg) 5%, var(--bg)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fg) 8%, var(--bg)); }
.sgt-title { display: flex; gap: 0.8rem; align-items: baseline; font-family: var(--ff-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-weight: 600; letter-spacing: -0.025em; }
.sgt-title span { font-family: var(--ff-mono); font-size: 0.75rem; font-weight: 400; color: var(--accent); }
.sgt.is-tabs .sgt-title { display: none; }
.sgt-text { max-width: 46rem; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.5; color: var(--fg-2); }
.sgt-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 2rem; margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.sgt-points li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9375rem; line-height: 1.45; }
.sgt-points .ico { flex: none; margin-top: 0.22em; color: var(--accent); }

/* Purpose as statements: label and a small drawing beside each large sentence. */
.prs { border-top: 1px solid var(--line-2); }
.prs-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1.5rem clamp(2rem, 6vw, 6rem); align-items: start; padding-block: clamp(2rem, 5vh, 3.5rem); border-bottom: 1px solid var(--line-2); }
.prs-side .art { max-width: 260px; margin: 1.5rem 0 0; }
.t-mist .prs-side .art .frame--vis { background: var(--c-paper); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fg) 8%, var(--bg)); }
.prs-text { max-width: 24ch; font-family: var(--ff-display); font-size: clamp(1.6rem, 1.1rem + 1.7vw, 2.75rem); font-weight: var(--fw-display); line-height: 1.13; letter-spacing: calc(var(--ls-display) + 0.008em); text-wrap: balance; }

/* Feature rows: image beside text, alternating. */
.fgr { display: grid; gap: clamp(3rem, 8vh, 6rem); }
.fgr-item { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 2rem clamp(2.5rem, 6vw, 6rem); }
.fgr-item.is-flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.fgr-item.is-flip .fgr-art { order: 2; }
.fgr-art .frame { border-radius: calc(var(--radius) + 4px); }
.t-light .fgr-art .frame--vis:not(:has(.vis--products)) { background: color-mix(in oklab, var(--fg) 5%, var(--bg)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fg) 8%, var(--bg)); }
.fgr-num { font-family: var(--ff-mono); font-size: 0.75rem; color: var(--accent); }
.fgr-title { margin-top: 0.9rem; font-family: var(--ff-display); font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.5rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.03em; }
.fgr-text { max-width: 34rem; margin-top: 1rem; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.55; color: var(--fg-2); }
.fgr-copy .btn { margin-top: 1.5rem; }

@media (max-width: 860px) {
  .sgt { grid-template-columns: 1fr; gap: 1.25rem; }
  .sgt-list { flex-direction: row; gap: 8px; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter); overflow-x: auto; border-top: 0; scrollbar-width: none; scroll-snap-type: x proximity; }
  .sgt-list::-webkit-scrollbar { display: none; }
  .sgt-tab { flex: none; grid-template-columns: auto auto; gap: 0.5rem; padding: 0.6rem 1rem; border: 0; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); scroll-snap-align: start; }
  .sgt-tab.is-on { color: var(--bg); background: var(--fg); box-shadow: none; }
  .sgt-tab.is-on .sgt-num { color: var(--bg); opacity: 0.6; }
  .sgt-name { font-size: 0.875rem; white-space: nowrap; }
  .sgt-bar { display: none; }
  .sgt-points { grid-template-columns: 1fr; }
  .fgr-item, .fgr-item.is-flip { grid-template-columns: 1fr; gap: 1.5rem; }
  .fgr-item.is-flip .fgr-art { order: 0; }
  .prs-row { grid-template-columns: 1fr; gap: 1rem; }
  .prs-side .art { display: none; }
}
@media (max-width: 760px) {
  .sec-art--rim { --hz-w: 210vw; }
}
@media (prefers-reduced-motion: reduce) {
  .pv-line, .pv-ring--dash, .pv-orbit, .sgt-panel { animation: none !important; }
}
html[data-motion='off'] :is(.pv-line, .pv-ring--dash, .pv-orbit, .sgt-panel) { animation: none !important; }

/* ==========================================================================
   Mobile — calm, compact, considered. Tighter type and rhythm, compact list
   rows instead of tall stacks, swipeable galleries for cards, inline buttons.
   ========================================================================== */
@media (max-width: 640px) {
  :root { --gutter: 22px; }

  /* Type and rhythm */
  .d-xl { font-size: clamp(2.75rem, 1.6rem + 6vw, 3.4rem); }
  .d-l { font-size: clamp(1.95rem, 1.45rem + 2.4vw, 2.35rem); line-height: 1.05; }
  .d-m { font-size: clamp(1.65rem, 1.3rem + 1.8vw, 2rem); }
  .sp-compact { --pad: 52px; }
  .sp-default { --pad: 64px; }
  .sp-spacious { --pad: 80px; }
  .sec-head { margin-bottom: 2rem; }
  .sec-head :is(.d-l, .d-m) { margin-top: 1rem; }
  .sec-intro, .split-copy, .ed-body, .lp-copy, .eq-copy, .cmp-copy, .demo-copy, .fgr-text, .sgt-text { font-size: 1rem; line-height: 1.55; }
  .sec-head--split { grid-template-columns: 1fr; }
  .eyebrow { font-size: 0.6563rem; }

  /* Buttons: natural width, side by side when they fit */
  .btns { width: auto; gap: 0.6rem; }
  .hero-foot .btns .btn, .phero-foot .btns .btn, .prh .btns .btn, .pf-head .btns .btn, .cta-inner .btns .btn { flex: 0 1 auto; }
  .btn { --h: 48px; padding: 0 1.25rem; font-size: 0.9063rem; }
  .cta-inner .btns { justify-content: center; }

  /* Home hero: headline, copy, buttons and the field; the focus list lives on the About page */
  .sec--hero.v-field { min-height: calc(100svh - 0px); padding-top: calc(var(--header-h) + 40px); }
  .sec--hero.v-field .hero-areas { display: none; }
  .sec--hero.v-field .hero-field { flex: 1 1 auto; min-height: 150px; height: auto; }
  .hero-foot { gap: 1.5rem; }

  /* Page heroes */
  .phero-title { margin-top: 1rem; }
  .phero-foot { margin-top: 1.5rem; }
  .phero-copy { font-size: 1.0625rem; }
  .phero-index { display: none; }
  .phero-field { height: 150px; margin-top: 2.5rem; }

  /* Product hero */
  .prh-logo { height: 34px; margin-bottom: 1.25rem; }
  .prh--split .prh-visual { margin-top: 0.5rem; }

  /* Product feature: compact highlight rows */
  .pf-logo { height: 30px; }
  .pf--split .pf-body { margin-top: 2.5rem; }
  .pf-highlights, .pf--split .pf-highlights { gap: 0; }
  .pf-highlights li, .pf--split .pf-highlights li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: 0.75rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
  .pf-highlights .pf-hi-ico { grid-row: span 2; margin-top: 0.15rem; }
  .pf-highlights h3 { margin: 0 0 0.3rem; }
  .pf-highlights p { font-size: 0.875rem; }

  /* Swipeable galleries: one full card at a time, with position marks and arrows below (carousel.js) */
  .fg--columns:has(.art), .fg--cards {
    display: flex; gap: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    border-top: 0; scrollbar-width: none;
  }
  .fg--columns:has(.art)::-webkit-scrollbar, .fg--cards::-webkit-scrollbar { display: none; }
  .fg--columns:has(.art) > .fg-item, .fg--columns.fg--c4:has(.art) > .fg-item:nth-child(n) {
    flex: 0 0 100%; margin: 0; padding: 0; box-shadow: none; scroll-snap-align: start; scroll-snap-stop: always;
  }
  .fg--columns:has(.art) .art { margin-bottom: 1.25rem; }
  .fg--c3.fg--columns .art .frame, .fg--c4.fg--columns .art .frame { height: 190px; }
  .fg--cards > .fg-item { flex: 0 0 100%; padding: 1.5rem 1.4rem 1.6rem; scroll-snap-align: start; scroll-snap-stop: always; }
  /* cards waiting off to the side appear with the first one, not mid-swipe */
  :is(.fg--columns:has(.art), .fg--cards):has(> .is-in) > [data-reveal] { opacity: 1; transform: none; }
  .fg--cards .fg-title { margin-top: 1.75rem; }
  .fg-title { font-size: 1.125rem; }
  .fg-text { font-size: 0.9063rem; }

  /* Steps as compact rows */
  .steps { gap: 0; border-top: 1px solid var(--line); }
  .step { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: 0.75rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
  .step-top { grid-row: span 2; align-self: start; margin: 0.2rem 0 0; }
  .step-line, .step-ico { display: none; }
  .step-title { margin: 0 0 0.3rem; font-size: 1.0625rem; }
  .step-text { max-width: none; font-size: 0.875rem; }

  /* Comparison: tighter rows */
  .cmp-row > span { padding: 0.7rem 0; font-size: 0.9375rem; }
  .cmp-row > span:first-child { padding-bottom: 0.15rem; font-size: 0.8125rem; }
  .cmp-row { padding-block: 0.35rem; }

  /* Stages: compact */
  .sg { --track: 0px; padding-top: 0; }
  .sg-num { margin-top: 0; }
  .sg-title { margin: 0.35rem 0 0.4rem; font-size: 1.35rem; }
  .sg-text { font-size: 0.875rem; }

  /* Equation */
  .eq-row { padding-block: 0.8rem; }
  .eq-res-label { font-size: 1.6rem; }

  /* Loop and progression */
  .lp-visual { padding-inline: 8%; }
  .pg-step { padding: 0.9rem 0; }
  .pg-title { font-size: 1.2rem; }

  /* Workflow: compact cards */
  .wf-nodes { gap: 8px; }
  .wf-node { padding: 0.9rem 1rem; gap: 0.25rem; }
  .wf-title { font-size: 1rem; }
  .wf-text { font-size: 0.8125rem; }
  .wf-foot { flex-direction: column; align-items: flex-start; }

  /* Solutions showcase */
  .spx { gap: 3rem; }
  .spx-vis { height: 200px; }
  .spx-text { font-size: 0.9688rem; }

  /* Solution spotlight */
  .ss-logo, .ss--flagship .ss-logo { height: 46px; }
  .ss-headline { font-size: 1.25rem; }
  .ss-pillars { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .ss-pillars li, .ss-pillars li + li { padding: 1.1rem 0; box-shadow: inset 0 1px 0 var(--line); }
  .ss-pillars h3 { margin: 0.6rem 0 0.3rem; font-size: 1.35rem; }

  /* Community: a smaller floating character */
  .stage--float { max-width: 290px; }
  .split--stage { gap: 2rem; }

  /* Demo and console */
  .demo-h { font-size: 1.15rem; }
  .demo-body { padding: 16px; }
  .demo-m-value { font-size: 1.2rem; }
  .demo-open { display: none; }
  .cons-lines { font-size: 0.75rem; }
  .cons-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 10px; }

  /* Statements and rows */
  .prs-text { font-size: 1.6rem; }
  .fgr { gap: 3rem; }
  .fgr-title { font-size: 1.5rem; }

  /* Index list (focus areas) */
  .ix-art { max-width: 240px; margin-inline: auto; }

  /* Showcase */
  .sec--showcase .frame { aspect-ratio: 4 / 3 !important; }
  .sc-link { grid-template-columns: minmax(0, 1fr) auto; }
  .sc-link-host { display: none; }

  /* Product sub-navigation capsule spans the width */
  .localnav .ln.wrap { width: calc(100% - 2 * var(--gutter)); max-width: none; padding: 0 5px 0 16px; }

  /* Footer: brand, then two link columns, then the legal line */
  .site-footer { padding-top: 3rem; }
  .ft-top { gap: 2.5rem; padding-bottom: 2rem; }
  .ft-mark { width: 180px; }
  .ft-cols { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .ft-col:last-child { grid-column: 1 / -1; }
  .ft-col a { display: inline; }
  .ft-ext { display: inline-block; margin-left: 0.25rem; vertical-align: 1px; }
  .ft-bottom { flex-direction: column-reverse; align-items: flex-start; }
  .ft-legal { order: 0; }
}

@media (max-width: 380px) {
  :root { --gutter: 18px; }
  .d-xl { font-size: 2.6rem; }
  .btn { padding: 0 1.05rem; }
}
.eq-copy p + p { margin-top: 0.9em; }
@media (max-width: 640px) {
  .prh--split .prh-visual:not(:has(.vis--journey)) { width: min(100%, 290px); margin-inline: auto; }
}

/* ==========================================================================
   Round 6 — purpose drawings (gauge, intent), integration, About hero balance
   ========================================================================== */

/* About hero: the text sits centred between the header and the horizon. */
.site-main > .sec--pageHero.has-horizon:first-child { justify-content: center; padding-top: calc(var(--header-h) + clamp(16px, 3vh, 40px)); padding-bottom: clamp(6rem, 16vh, 10rem); }

/* Statement rows: a little more room for the drawing. */
.prs-side .art { max-width: 300px; }
.prs-side .frame--vis { padding: 0; }

/* Gauge (mission) */
.ga-track { fill: none; stroke: var(--fg); stroke-opacity: 0.14; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.ga-zone { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 5px color-mix(in oklab, var(--accent) 60%, transparent)); }
.ga-inner { fill: none; stroke: var(--fg); stroke-opacity: 0.1; stroke-dasharray: 2 5; vector-effect: non-scaling-stroke; }
.ga-tick { stroke: var(--fg); stroke-opacity: 0.28; stroke-width: 1; vector-effect: non-scaling-stroke; }
.ga-tick.is-major { stroke-opacity: 0.5; }
.ga-tick.is-zone { stroke: var(--accent); stroke-opacity: 0.75; }
.ga-needle { transform-box: view-box; transform-origin: 200px 222px; transform: rotate(56deg); animation: ga-needle 11s var(--ease-io) infinite; }
.ga-needle path { stroke: var(--fg); stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
@keyframes ga-needle {
  0%, 6% { transform: rotate(-82deg); }
  34% { transform: rotate(70deg); }
  40% { transform: rotate(52deg); }
  46% { transform: rotate(60deg); }
  50%, 86% { transform: rotate(56deg); }
  100% { transform: rotate(-82deg); }
}
.ga-hub { fill: var(--accent); }
.ga-hub-halo { fill: none; stroke: var(--accent); stroke-opacity: 0.35; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: hub 3.2s var(--ease-io) infinite; }
.ga-check { opacity: 0; animation: ga-check 11s var(--ease) infinite; }
.ga-check circle { fill: var(--bg); stroke: var(--accent); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.ga-check path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
@keyframes ga-check { 0%, 44% { opacity: 0; } 50%, 84% { opacity: 1; } 92%, 100% { opacity: 0; } }
.ga-label { bottom: 7%; }
.ga-label--low { left: 10%; }
.ga-label--high { right: 10%; }

/* Intent (vision) */
.it-rail { fill: none; stroke: var(--fg); stroke-opacity: 0.22; stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.it-dir { fill: none; stroke: var(--fg); stroke-opacity: 0.45; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.it-head { fill: none; stroke: var(--fg); stroke-opacity: 0.6; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.it-origin { fill: var(--bg); stroke: var(--fg); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.it-core { fill: var(--fg); }
.it-origin-halo { fill: none; stroke: var(--fg); stroke-opacity: 0.2; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: hub 3.6s var(--ease-io) infinite; }
.it-stop { stop-color: var(--accent); }
.it-trail { fill: none; stroke: url(#it-fade); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.it-dot { fill: var(--accent); filter: drop-shadow(0 0 3px color-mix(in oklab, var(--accent) 70%, transparent)); }
.it-agent { opacity: 0; animation: it-move 6.8s linear infinite; animation-delay: var(--d); }
@keyframes it-move { 0% { transform: translateX(0); opacity: 0; } 12% { opacity: 1; } 82% { opacity: 1; } 100% { transform: translateX(212px); opacity: 0; } }
.it-label--intent { left: 17.5%; top: 66%; transform: translateX(-50%); }
.it-label--std { left: 25%; top: 24%; }
.it-label--exec { right: 7%; top: 66%; }

/* Integration (applied engineering) */
.ig-block { fill: var(--bg); stroke: var(--fg); stroke-opacity: 0.28; stroke-width: 1; vector-effect: non-scaling-stroke; }
.ig-port { fill: var(--fg); fill-opacity: 0.5; }
.ig-text { font-family: var(--ff-mono); font-size: 14px; letter-spacing: 0.04em; fill: var(--fg); fill-opacity: 0.7; }
.ig-link { fill: none; stroke: var(--fg); stroke-opacity: 0.2; stroke-width: 1; vector-effect: non-scaling-stroke; }
.ig-flow { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 0.16 0.84; stroke-dashoffset: 0.16; filter: drop-shadow(0 0 4px var(--accent)); animation: ig-flow 3.6s linear infinite; animation-delay: calc(var(--i) * -0.9s); }
.ig-flow--out { animation-duration: 3s; animation-delay: calc(var(--i) * -1s - 0.4s); }
@keyframes ig-flow { to { stroke-dashoffset: -0.84; } }
.ig-hub { fill: color-mix(in oklab, var(--accent) 10%, var(--bg)); stroke: var(--accent); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.ig-hub-mark { fill: var(--accent); fill-opacity: 0.85; }
.ig-eval { fill: none; stroke: var(--accent); stroke-opacity: 0.45; stroke-width: 1; stroke-dasharray: 2 6; vector-effect: non-scaling-stroke; transform-box: view-box; transform-origin: 318px 160px; animation: rot 24s linear infinite; }
.ig-agent { fill: var(--bg); stroke: var(--accent); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.ig-agent-core { fill: var(--accent); }
.ig-agent-halo { fill: none; stroke: var(--accent); stroke-opacity: 0.3; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: hub 3.4s var(--ease-io) infinite; animation-delay: calc(var(--i) * -1.1s); }

@media (prefers-reduced-motion: reduce) {
  .ga-needle, .ga-hub-halo, .ga-check, .it-agent, .it-origin-halo, .ig-flow, .ig-eval, .ig-agent-halo { animation: none !important; }
  .ga-check, .it-agent { opacity: 1; }
  .it-agent:nth-child(odd) { transform: translateX(120px); }
  .ig-flow { display: none; }
}
html[data-motion='off'] :is(.ga-needle, .ga-hub-halo, .ga-check, .it-agent, .it-origin-halo, .ig-flow, .ig-eval, .ig-agent-halo) { animation: none !important; }
html[data-motion='off'] :is(.ga-check, .it-agent) { opacity: 1; }
html[data-motion='off'] .ig-flow { display: none; }

@media (max-width: 640px) {
  .site-main > .sec--pageHero.has-horizon:first-child { justify-content: flex-start; padding-top: calc(var(--header-h) + 40px); }
}
.prs-side .art { max-width: 340px; }
@media (max-width: 860px) {
  .prs-side .art { display: block; max-width: 280px; margin-top: 1rem; }
}
.it-label--intent, .it-label--exec { top: 74%; }

/* Horizon sky: colour, stars, rays, orbits and points of light on the surface. */
.hz-stop2 { stop-color: var(--accent-2); }
.hz-star { fill: #fff; opacity: var(--o); }
.hz-star.is-tw { animation: hz-tw 4.5s var(--ease-io) infinite; animation-delay: var(--d); }
@keyframes hz-tw { 50% { opacity: 0.05; } }
.hz-ray { opacity: var(--o); animation: hz-breathe 9s var(--ease-io) infinite; animation-delay: var(--d); }
.hz-rays { mix-blend-mode: screen; }
@keyframes hz-breathe { 50% { opacity: calc(var(--o) * 0.35); } }
.hz-orbits { fill: none; }
.hz-orbit { fill: none; stroke-opacity: calc(0.34 - var(--i) * 0.08); stroke-width: 1; stroke-dasharray: 2 7; vector-effect: non-scaling-stroke; }
.hz-orbit-node { transform-box: view-box; transform-origin: 800px 1860px; animation: hz-orbit var(--t) var(--ease-io) infinite alternate; animation-delay: calc(var(--i) * -17s); }
/* nodes travel the right-hand sky only, clear of the text */
@keyframes hz-orbit { from { transform: rotate(14deg); } to { transform: rotate(36deg); } }
.hz-orbit-dot { fill: color-mix(in oklab, var(--accent) 40%, #fff); }
.hz-orbit-halo { fill: none; stroke: var(--accent); stroke-opacity: 0.45; vector-effect: non-scaling-stroke; }
.hz-bloom { mix-blend-mode: screen; animation: hz-bloom 8s var(--ease-io) infinite; }
@keyframes hz-bloom { 50% { opacity: 0.75; } }
.hz-node { fill: color-mix(in oklab, var(--accent) 45%, #fff); opacity: 0.25; animation: hz-node var(--t) var(--ease-io) infinite; animation-delay: var(--d); }
@keyframes hz-node { 50% { opacity: 0.95; } }
@media (prefers-reduced-motion: reduce) {
  .hz-star, .hz-ray, .hz-orbit-node, .hz-bloom, .hz-node { animation: none !important; }
}
html[data-motion='off'] :is(.hz-star, .hz-ray, .hz-orbit-node, .hz-bloom, .hz-node) { animation: none !important; }

/* ==========================================================================
   Round 7: phone carousels and the capability selector
   ========================================================================== */

/* Carousel controls (carousel.js): position marks, a counter and arrows under a swipeable gallery. */
.fg-nav { display: none; }
@media (max-width: 640px) {
  .fg-nav { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.25rem; }
  .fg-nav[hidden] { display: none; }
  .fg-dots { display: flex; align-items: center; margin-left: -6px; }
  .fg-dot { display: grid; place-items: center; height: 36px; padding: 0 5px; -webkit-tap-highlight-color: transparent; }
  .fg-dot i { display: block; width: 6px; height: 6px; border-radius: 99px; background: var(--fg); opacity: 0.22; transition: width 0.45s var(--ease-out), opacity 0.3s var(--ease), background-color 0.3s var(--ease); }
  .fg-dot.is-on i { width: 22px; background: var(--accent); opacity: 1; }
  .fg-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; border-radius: 99px; }
  .fg-count { margin-left: auto; font-family: var(--ff-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--fg-3); font-variant-numeric: tabular-nums; }
  .fg-count b { font-weight: 500; color: var(--fg); }
  .fg-arrows { display: flex; gap: 8px; }
  .fg-arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color 0.25s var(--ease), color 0.25s var(--ease), opacity 0.25s var(--ease), box-shadow 0.25s var(--ease); -webkit-tap-highlight-color: transparent; }
  .fg-arrow:not(:disabled):active { background: color-mix(in oklab, var(--fg) 10%, transparent); }
  .fg-arrow:not(:disabled) { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fg) 30%, transparent); }
  .fg-arrow:disabled { opacity: 0.32; cursor: default; }
  .fg-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .fg-dot i { transition: none; }
}
html[data-motion='off'] .fg-dot i { transition: none; }

/* Capability selector on phones: the four capabilities as a tidy 2 × 2 grid of tiles, nothing cut off. */
@media (max-width: 860px) {
  .sgt-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-inline: 0; padding: 0; overflow: visible; scroll-snap-type: none; }
  .sgt-tab { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 0.9rem; min-height: 5.75rem; padding: 0.85rem 0.95rem 0.95rem; overflow: hidden; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg-2); scroll-snap-align: none; transition: color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease); -webkit-tap-highlight-color: transparent; }
  .sgt-tab:last-child:nth-child(odd) { grid-column: span 2; min-height: 0; }
  .sgt-name { font-size: 0.9375rem; line-height: 1.22; white-space: normal; text-wrap: balance; }
  .sgt-num { font-size: 0.6875rem; }
  .sgt-tab.is-on { color: var(--bg); background: var(--fg); box-shadow: none; }
  .sgt-tab.is-on .sgt-num { color: var(--bg); opacity: 0.6; }
  .sgt-bar { display: block; left: 0; right: 0; bottom: 0; height: 3px; }
  .sgt-tab:focus-visible { outline-offset: 2px; border-radius: 14px; }
  .sgt-panels { margin-top: 0.5rem; }
}
