/* ==========================================================================
   DS Global Services — design system
   Cinematic corporate identity on a midnight base.
   One accent system: electric blue + cyan + violet. Glow is used sparingly.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2-variations"), url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------- tokens */
:root {
  color-scheme: dark;

  /* palette */
  --c-midnight: #02030a;
  --c-indigo: #0b1235;
  --c-blue: #246bff;
  --c-cyan: #00e5ff;
  --c-violet: #7047ff;
  --c-magenta: #d946ef;
  --c-white: #f7faff;

  /* surfaces */
  --surface-0: #02030a;
  --surface-1: #060917;
  --surface-2: #0b1235;

  /* text */
  --text-1: #f7faff;
  --text-2: rgba(224, 231, 255, 0.78);
  --text-3: rgba(200, 210, 242, 0.62);
  --text-accent: #8fd8ff;
  --text-link: #a9c6ff;

  /* lines */
  --line-1: rgba(168, 186, 255, 0.12);
  --line-2: rgba(168, 186, 255, 0.24);

  /* gradients */
  --grad-primary: linear-gradient(105deg, #246bff 0%, #3f5cff 46%, #7047ff 100%);
  --grad-text: linear-gradient(100deg, #9ff0ff 0%, #79a6ff 46%, #ad95ff 100%);
  --grad-line: linear-gradient(90deg, #00e5ff, #246bff 52%, #7047ff);

  /* type */
  --font-sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* layout */
  --container: 1280px;
  --gutter: clamp(20px, 4.4vw, 56px);
  --header-h: 66px;
  --radius-s: 10px;
  --radius-m: 16px;

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--surface-0);
  scroll-padding-top: 104px;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--surface-0);
  color: var(--text-1);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.66;
  font-weight: 400;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas, picture { display: block; max-width: 100%; }
a { color: inherit; }
p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.06; letter-spacing: -0.01em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
strong { font-weight: 650; }
::selection { background: rgba(36, 107, 255, 0.5); color: #fff; }
:focus-visible { outline: 2px solid var(--c-cyan); outline-offset: 3px; border-radius: 6px; }

[hidden] { display: none !important; }
.visually-hidden {
  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; top: 12px; left: 12px; z-index: 100; padding: 12px 18px; border-radius: 10px;
  background: var(--c-white); color: var(--surface-0); font-weight: 650; text-decoration: none;
  transform: translateY(-160%); transition: transform 0.25s var(--ease-out);
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.nobr { white-space: nowrap; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: 48px; }

.icon {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* gradient text accent */
.grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.t-thin { font-weight: 300; font-stretch: 100%; }

/* ---------------------------------------------------------------- type scale */
.kicker {
  display: inline-flex; align-items: center; gap: 0;
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-2);
}
.kicker::before { content: ""; width: 30px; height: 1px; margin-right: 14px; background: var(--grad-line); flex: none; }
.kicker em { font-style: normal; color: var(--c-cyan); margin-right: 12px; }
.lead { font-size: clamp(1.12rem, 1rem + 0.42vw, 1.36rem); line-height: 1.56; color: var(--text-2); }
.fine { font-size: 0.9rem; color: var(--text-3); }

/* ---------------------------------------------------------------- buttons */
.btn {
  --h: 54px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 26px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 0.98rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), background-position 0.6s var(--ease-out),
    background-color 0.3s, border-color 0.3s, color 0.3s;
}
.btn .icon { transition: transform 0.4s var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(0); transition-duration: 0.1s; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

.btn--primary {
  color: #fff;
  background-image: var(--grad-primary);
  background-size: 160% 100%;
  background-position: 0% 0;
  box-shadow: 0 10px 26px -16px rgba(55, 95, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn--primary:hover {
  background-position: 100% 0;
  box-shadow: 0 16px 34px -18px rgba(96, 82, 255, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}
.btn--secondary {
  color: var(--text-1);
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(178, 202, 255, 0.46);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.8);
  box-shadow: 0 12px 28px -20px rgba(0, 229, 255, 0.45);
}
.btn--sm { --h: 42px; padding: 0 18px; font-size: 0.9rem; gap: 8px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-link); font-weight: 600; text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat;
  padding-bottom: 3px;
  transition: color 0.3s, background-size 0.5s var(--ease-out);
}
.text-link .icon { transition: transform 0.4s var(--ease-out); }
.text-link:hover { color: var(--text-1); background-size: 100% 1px; }
.text-link:hover .icon { transform: translateX(3px); }
.link-row { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 32px; }

.copy-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(178, 202, 255, 0.34); background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-1); cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s, transform 0.3s var(--ease-out);
}
.copy-btn:hover { border-color: rgba(0, 229, 255, 0.75); background: rgba(255, 255, 255, 0.07); transform: translateY(-1px); }
.copy-btn .icon { width: 15px; height: 15px; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background-color 0.45s, border-color 0.45s, box-shadow 0.45s;
}
.site-header::before {
  /* keeps the bar legible over bright images before the page scrolls */
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(2, 3, 10, 0.72), rgba(2, 3, 10, 0));
  transition: opacity 0.45s;
}
.site-header.is-scrolled {
  background: rgba(4, 6, 18, 0.8);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line-1);
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.9);
}
.site-header.is-scrolled::before { opacity: 0; }
.header-bar { display: flex; align-items: center; gap: 24px; height: 84px; transition: height 0.45s var(--ease-out); }
.site-header.is-scrolled .header-bar { height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; border-radius: 12px; }
.brand-mark { width: 46px; height: 46px; border-radius: 50%; transition: width 0.45s var(--ease-out), height 0.45s var(--ease-out); }
.site-header.is-scrolled .brand-mark { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 0.95rem; font-weight: 760; font-stretch: 114%; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-1); }
.brand-sub { margin-top: 4px; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }

.nav-desktop { margin-left: auto; }
.nav-list { display: flex; gap: 2px; list-style: none; }
.nav-list a {
  position: relative; display: block; padding: 10px 15px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 520; color: var(--text-2); text-decoration: none;
  transition: color 0.25s, background-color 0.25s;
}
.nav-list a:hover { color: var(--text-1); background: rgba(255, 255, 255, 0.05); }
.nav-list a[aria-current="page"] { color: var(--text-1); }
.nav-list a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 2px; margin-left: -9px;
  border-radius: 2px; background: var(--grad-line);
}
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid rgba(178, 202, 255, 0.24); background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 110px 0 36px;
  background: radial-gradient(80% 60% at 90% 0%, rgba(36, 107, 255, 0.16), transparent 70%),
    radial-gradient(70% 50% at 0% 100%, rgba(112, 71, 255, 0.14), transparent 70%), #02030a;
  opacity: 0; transition: opacity 0.3s var(--ease-out);
  overflow-y: auto;
}
.mobile-menu[data-open="true"] { opacity: 1; }
.mobile-list { list-style: none; }
.mobile-list a {
  display: block; padding: 12px 0; text-decoration: none; color: var(--text-1);
  font-size: clamp(1.9rem, 1.3rem + 4vw, 2.6rem); font-weight: 760; font-stretch: 112%; letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line-1);
}
.mobile-list a[aria-current="page"] { color: var(--text-accent); }
.mobile-sub { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; }
.mobile-sub a { color: var(--text-2); text-decoration: none; font-weight: 520; }
.mobile-cta { margin-top: 28px; width: 100%; }
.mobile-mail { margin-top: 18px; font-family: var(--font-mono); font-size: 0.8rem; }
.mobile-mail a { color: var(--text-3); text-decoration: none; }
.mobile-menu[data-open="true"] .mobile-list li { animation: menu-in 0.6s var(--ease-out) both; }
.mobile-menu[data-open="true"] .mobile-list li:nth-child(2) { animation-delay: 0.04s; }
.mobile-menu[data-open="true"] .mobile-list li:nth-child(3) { animation-delay: 0.08s; }
.mobile-menu[data-open="true"] .mobile-list li:nth-child(4) { animation-delay: 0.12s; }
.mobile-menu[data-open="true"] .mobile-list li:nth-child(5) { animation-delay: 0.16s; }
@keyframes menu-in { from { opacity: 0; transform: translateY(16px); } }
body.nav-open { overflow: hidden; }
body.nav-open .site-header { background: transparent; border-bottom-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

@media (max-width: 1079px) {
  .nav-desktop, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .header-bar { height: 72px; }
  .site-header.is-scrolled .header-bar { height: 64px; }
}
@media (max-width: 420px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 0.86rem; }
  .brand-mark, .site-header.is-scrolled .brand-mark { width: 40px; height: 40px; }
}
@media (max-width: 359px) {
  /* the smallest phones: keep the menu button fully on screen */
  .header-bar { gap: 10px; }
  .brand { gap: 9px; }
  .brand-name { font-size: 0.76rem; letter-spacing: 0.03em; }
  .brand-mark, .site-header.is-scrolled .brand-mark { width: 34px; height: 34px; }
  .chapter-list a strong { font-size: 1rem; letter-spacing: 0; }
}

/* ---------------------------------------------------------------- ambient background (inner pages) */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: var(--surface-0); }
.ambient::before,
.ambient::after { content: ""; position: absolute; border-radius: 50%; }
.ambient::before {
  width: 70vmax; height: 70vmax; right: -24vmax; top: -34vmax;
  background: radial-gradient(closest-side, rgba(36, 107, 255, 0.2), rgba(36, 107, 255, 0.06) 55%, transparent);
}
.ambient::after {
  width: 64vmax; height: 64vmax; left: -30vmax; top: 40vh;
  background: radial-gradient(closest-side, rgba(112, 71, 255, 0.14), rgba(112, 71, 255, 0.04) 55%, transparent);
}
.motion .ambient::before { animation: drift-a 38s var(--ease-io) infinite alternate; }
.motion .ambient::after { animation: drift-b 46s var(--ease-io) infinite alternate; }
@keyframes drift-a { to { transform: translate3d(-8vmax, 6vmax, 0) scale(1.08); } }
@keyframes drift-b { to { transform: translate3d(6vmax, -10vmax, 0) scale(1.12); } }
.page-main { position: relative; z-index: 1; }
main { overflow-x: clip; }

/* ---------------------------------------------------------------- page hero (inner pages) */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: min(82vh, 800px);
  padding: 170px 0 clamp(64px, 8vw, 112px);
}
.page-hero--short { min-height: min(58vh, 560px); }
.page-hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.page-hero-media picture, .page-hero-media img { width: 100%; height: 100%; }
.page-hero-media img { object-fit: cover; transform: translate3d(0, calc(var(--py, 0) * 1px), 0) scale(1.04); }
.motion .page-hero-media img { animation: hero-settle 2.6s var(--ease-out) both; }
@keyframes hero-settle { from { opacity: 0; transform: scale(1.12); } }
.page-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 3, 10, 0.94) 0%, rgba(2, 3, 10, 0.74) 30%, rgba(2, 3, 10, 0.12) 64%, rgba(2, 3, 10, 0) 80%),
    linear-gradient(0deg, var(--surface-0) 0%, rgba(2, 3, 10, 0) 36%),
    linear-gradient(180deg, rgba(2, 3, 10, 0.6) 0%, rgba(2, 3, 10, 0) 26%);
}
.page-hero-inner { position: relative; max-width: 800px; }
.page-hero h1 {
  margin-top: 24px;
  font-size: clamp(2.6rem, 1.3rem + 4.6vw, 5.8rem);
  font-weight: 800; font-stretch: 112%; line-height: 0.98; letter-spacing: -0.025em;
}
.page-hero h1 > span { display: block; }
.page-hero .lead { margin-top: 30px; max-width: 610px; }
.page-hero .btn-row { margin-top: 38px; }
.motion .page-hero-inner > * { animation: rise-in 1.2s var(--ease-out) both; }
.motion .page-hero-inner > :nth-child(2) { animation-delay: 0.08s; }
.motion .page-hero-inner > :nth-child(3) { animation-delay: 0.16s; }
.motion .page-hero-inner > :nth-child(4) { animation-delay: 0.26s; }
.motion .page-hero-inner > :nth-child(5) { animation-delay: 0.36s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(26px); } }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: 0.5; }
.breadcrumb a { color: var(--text-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--text-1); }
.page-hero .breadcrumb + .kicker { margin-top: 30px; display: flex; }

@media (max-width: 900px) {
  .page-hero { min-height: 0; padding-top: 112px; align-items: flex-end; }
  .page-hero-media { bottom: auto; height: 74vh; }
  .page-hero-media::after {
    background: linear-gradient(0deg, var(--surface-0) 6%, rgba(2, 3, 10, 0.55) 46%, rgba(2, 3, 10, 0.2) 70%, rgba(2, 3, 10, 0.55) 100%);
  }
  .page-hero-inner { padding-top: 36vh; }
}

/* ---------------------------------------------------------------- editorial system */
.ed-section { position: relative; padding-block: clamp(88px, 11vw, 168px); }
.ed-section--tight { padding-block: clamp(36px, 5vw, 64px); }
.ed-section + .ed-section::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  max-width: var(--container); margin-inline: auto; height: 1px; background: var(--line-1);
}
.ed-num {
  font-family: var(--font-mono); font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-accent);
}
.ed-title {
  font-size: clamp(2.1rem, 1.2rem + 3.1vw, 4.3rem);
  font-weight: 780; font-stretch: 110%; line-height: 1.02; letter-spacing: -0.022em;
  max-width: 19ch;
}
.ed-head { display: grid; gap: 22px; max-width: 920px; margin-bottom: clamp(52px, 6vw, 92px); }
.ed-head .lead { max-width: 640px; }
.ed-sub {
  margin: 0 0 14px;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3);
}
* + .ed-sub { margin-top: 44px; }
.ed-note {
  margin-top: 40px; padding-left: 20px; max-width: 760px;
  border-left: 1px solid rgba(0, 229, 255, 0.5);
  font-size: 0.92rem; line-height: 1.6; color: var(--text-2);
}
.ed-note a { color: var(--text-link); }

.ed-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.ed-aside p { margin-top: 22px; color: var(--text-2); max-width: 44ch; }
@media (min-width: 1000px) { .ed-aside--sticky { position: sticky; top: 120px; } }

.ed-rows { border-top: 1px solid var(--line-2); }
.ed-row {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 104px);
  padding-block: clamp(48px, 6vw, 84px);
  border-bottom: 1px solid var(--line-1);
}
.ed-row--full { grid-template-columns: minmax(0, 1fr); }
.ed-row-head .ed-num { margin-bottom: 18px; }
.ed-row-head h3 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.5rem); font-weight: 740; font-stretch: 108%; line-height: 1.08; letter-spacing: -0.015em; }
.ed-row-head p { margin-top: 18px; color: var(--text-2); max-width: 46ch; }
.ed-row-head .text-link { margin-top: 26px; }
.ed-row--full .ed-row-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 104px); align-items: end; }
.ed-row--full .ed-row-head > div p { margin-top: 0; }

.ed-list { list-style: none; display: grid; }
.ed-list li { position: relative; padding: 15px 0 15px 30px; border-top: 1px solid var(--line-1); font-size: 1.02rem; line-height: 1.45; }
.ed-list li::before { content: ""; position: absolute; left: 0; top: 1.55em; width: 14px; height: 1px; background: var(--grad-line); }
.ed-list a { text-decoration: none; color: var(--text-1); transition: color 0.25s; }
.ed-list a:hover { color: var(--text-accent); }
.ed-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.ed-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 36px; }

.ed-grid { display: grid; column-gap: clamp(28px, 4vw, 56px); row-gap: 60px; }
.ed-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ed-grid > div { padding-top: 26px; border-top: 1px solid var(--line-2); }
.ed-grid .n { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.14em; color: var(--text-accent); }
.ed-grid h3 { margin: 16px 0 10px; font-size: 1.32rem; font-weight: 720; font-stretch: 108%; }
.ed-grid p { color: var(--text-2); font-size: 0.98rem; }
.caps-grid .ed-sub { margin-top: 0; color: var(--text-accent); }
.caps-grid .ed-list li:first-child { border-top: 0; }

.ed-steps { list-style: none; border-bottom: 1px solid var(--line-1); }
.ed-steps li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; padding: 30px 0; border-top: 1px solid var(--line-1); }
.ed-steps .n {
  font-size: 2.6rem; font-weight: 200; font-stretch: 100%; line-height: 1;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ed-steps h3 { font-size: 1.4rem; font-weight: 720; font-stretch: 108%; }
.ed-steps p { margin-top: 8px; color: var(--text-2); }

.ed-facts { border-top: 1px solid var(--line-2); }
.ed-facts > div { display: grid; grid-template-columns: minmax(150px, 0.9fr) minmax(0, 2fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line-1); }
.ed-facts dt { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); padding-top: 3px; }
.ed-facts dd { color: var(--text-1); }
.ed-facts a { color: var(--text-link); }

.ed-index { list-style: none; border-top: 1px solid var(--line-2); }
.ed-index a {
  display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; align-items: center; gap: 20px;
  padding: 26px 0; border-bottom: 1px solid var(--line-1); text-decoration: none;
  transition: padding 0.5s var(--ease-out), color 0.3s;
}
.ed-index span { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; color: var(--text-accent); }
.ed-index strong { font-size: clamp(1.4rem, 1rem + 1.5vw, 2.3rem); font-weight: 740; font-stretch: 110%; letter-spacing: -0.015em; line-height: 1.1; }
.ed-index .icon { width: 26px; height: 26px; color: var(--text-3); transition: transform 0.5s var(--ease-out), color 0.3s; }
.ed-index a:hover { padding-left: 12px; }
.ed-index a:hover .icon { transform: translateX(6px); color: var(--c-cyan); }

/* full-width statement */
.ed-statement { position: relative; padding-block: clamp(110px, 15vw, 230px); overflow: hidden; }
.ed-statement::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: min(1100px, 120vw); height: 70%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(84, 72, 255, 0.16), rgba(36, 107, 255, 0.05) 60%, transparent);
  pointer-events: none;
}
.ed-statement .container { position: relative; }
.ed-statement .big {
  font-size: clamp(2.4rem, 1rem + 5.2vw, 6.6rem);
  font-weight: 790; font-stretch: 112%; line-height: 1; letter-spacing: -0.028em;
  max-width: 15ch;
}
.ed-statement .big strong { font-weight: 800; }
.ed-statement .big .t-thin { display: block; }
.ed-statement .lead { margin-top: 32px; max-width: 640px; }
.ed-statement .btn-row { margin-top: 40px; }

.prose p + p { margin-top: 1.1em; }
.prose p { color: var(--text-2); }
.prose p:first-child { color: var(--text-1); font-size: 1.14rem; }

/* tender journey: six steps on one line */
.journey { position: relative; list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.journey::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--grad-line); opacity: 0.55; }
.journey li { position: relative; padding: 36px 22px 0 0; }
.journey .dot {
  position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%;
  background: var(--surface-0); border: 1px solid var(--c-cyan);
  box-shadow: 0 0 0 5px rgba(0, 229, 255, 0.08);
}
.journey .n { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--text-accent); }
.journey strong { display: block; margin: 8px 0 8px; font-size: 1.32rem; font-weight: 740; font-stretch: 108%; }
.journey .d { display: block; font-size: 0.92rem; line-height: 1.5; color: var(--text-2); }
.motion .journey[data-reveal] li { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.motion .journey[data-reveal].is-in li { opacity: 1; transform: none; }
.motion .journey[data-reveal].is-in li:nth-child(2) { transition-delay: 0.08s; }
.motion .journey[data-reveal].is-in li:nth-child(3) { transition-delay: 0.16s; }
.motion .journey[data-reveal].is-in li:nth-child(4) { transition-delay: 0.24s; }
.motion .journey[data-reveal].is-in li:nth-child(5) { transition-delay: 0.32s; }
.motion .journey[data-reveal].is-in li:nth-child(6) { transition-delay: 0.4s; }

/* credentials */
.cred-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.cred-list li { display: flex; flex-direction: column; gap: 10px; padding: 30px 28px 30px 0; border-bottom: 1px solid var(--line-1); }
.cred-list li + li { padding-left: 28px; border-left: 1px solid var(--line-1); }
.cred-list strong { font-size: clamp(1.3rem, 1rem + 0.9vw, 1.75rem); font-weight: 760; font-stretch: 110%; line-height: 1.12; }
.cred-list span { color: var(--text-2); font-size: 0.95rem; }
.cred-list em {
  display: inline-flex; align-self: flex-start; margin-top: 6px; padding: 5px 10px; border-radius: 999px;
  font-style: normal; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-accent); border: 1px solid rgba(0, 229, 255, 0.35);
}

/* ---------------------------------------------------------------- founder: editorial portrait, no frame */
.founder-scene {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center;
  gap: clamp(20px, 4vw, 60px);
  padding-block: clamp(96px, 11vw, 170px);
}
.founder-copy { position: relative; z-index: 2; }
.founder-title {
  margin-top: 28px;
  font-size: clamp(2.6rem, 1.1rem + 5vw, 6.2rem);
  font-weight: 820; font-stretch: 114%; line-height: 0.94; letter-spacing: -0.02em;
  text-transform: uppercase;
}
.founder-title > span { display: block; }
.founder-title .t-thin { font-weight: 300; }
.founder-name { display: flex; flex-direction: column; gap: 6px; margin-top: 36px; }
.founder-name strong { font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem); font-weight: 720; font-stretch: 108%; }
.founder-name span { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-accent); }
.founder-copy .lead { margin-top: 26px; max-width: 54ch; color: var(--text-1); }
.founder-copy .ed-note { margin-top: 30px; }

/* An editorial portrait: the subject stands in front of a tonal backdrop, offset to one side,
   and dissolves into the stage at the chest. No glow, no frame, no circle. */
.portrait { position: relative; justify-self: end; width: min(100%, 580px); }
.page-hero--founder { min-height: 0; }
.page-hero--founder .founder-scene { padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 110px); }
.portrait-stage {
  position: absolute; z-index: 0; left: 16%; right: 0; top: 9%; bottom: 10%;
  background:
    radial-gradient(70% 46% at 34% 22%, rgba(150, 168, 255, 0.13), rgba(150, 168, 255, 0) 72%),
    linear-gradient(100deg, rgba(2, 3, 10, 0) 55%, rgba(2, 3, 10, 0.55) 100%),
    linear-gradient(180deg, #111840 0%, #0b1235 48%, #060920 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}
.portrait-stage::after {
  /* a single hairline marks the top edge of the backdrop */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.5), rgba(112, 71, 255, 0.35) 60%, rgba(112, 71, 255, 0));
}
.portrait-fig { position: relative; z-index: 1; width: 88%; transform: translate3d(0, calc(var(--par, 0) * 1px), 0); will-change: transform; }
.portrait img {
  width: 100%; height: auto;
  filter: drop-shadow(18px 24px 36px rgba(0, 0, 0, 0.55));
  -webkit-mask-image: linear-gradient(180deg, #000 56%, rgba(0, 0, 0, 0.6) 76%, transparent 95%), linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, #000 56%, rgba(0, 0, 0, 0.6) 76%, transparent 95%), linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-composite: intersect;
}
.portrait-cap {
  position: absolute; z-index: 2; right: 0; top: 9%; transform: translateX(calc(100% + 18px));
  display: flex; gap: 14px; writing-mode: vertical-rl;
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); white-space: nowrap;
}
.portrait-cap span:first-child { color: var(--text-2); }


/* ---------------------------------------------------------------- founder's message: an editorial statement */
.message-scene { position: relative; overflow: hidden; padding-block: clamp(120px, 15vw, 240px); }
.message-scene::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(38% 46% at 16% 26%, rgba(112, 71, 255, 0.17), transparent 72%),
    radial-gradient(40% 40% at 88% 84%, rgba(36, 107, 255, 0.12), transparent 72%);
}
.message { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 9fr); gap: clamp(16px, 4vw, 60px); }
.message-label { padding-top: 18px; }
.quote-mark {
  display: block; height: 0.5em; margin-bottom: 0.08em;
  font-size: clamp(8rem, 5rem + 12vw, 17rem); font-weight: 800; line-height: 0.82; font-stretch: 100%;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.message blockquote p:first-child {
  font-size: clamp(1.75rem, 1.05rem + 2.6vw, 3.5rem);
  font-weight: 300; font-stretch: 102%; line-height: 1.2; letter-spacing: -0.012em;
  max-width: 24ch; color: var(--text-1);
}
.message blockquote p + p { margin-top: 40px; max-width: 54ch; font-size: clamp(1.1rem, 1rem + 0.45vw, 1.38rem); line-height: 1.6; color: var(--text-2); }
.message figcaption { display: flex; align-items: center; gap: 18px; margin-top: 56px; }
.message figcaption::before { content: ""; width: 56px; height: 1px; background: var(--grad-line); }
.message figcaption strong { font-size: 1.15rem; font-weight: 700; font-stretch: 108%; }
.message figcaption span { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.message figcaption > div { display: flex; flex-direction: column; gap: 4px; }
.motion .message[data-reveal] .quote-mark,
.motion .message[data-reveal] blockquote p,
.motion .message[data-reveal] figcaption { opacity: 0; transform: translateY(22px); transition: opacity 1.4s var(--ease-out), transform 1.4s var(--ease-out); }
.motion .message[data-reveal].is-in .quote-mark,
.motion .message[data-reveal].is-in blockquote p,
.motion .message[data-reveal].is-in figcaption { opacity: 1; transform: none; }
.motion .message[data-reveal].is-in blockquote p:first-child { transition-delay: 0.15s; }
.motion .message[data-reveal].is-in blockquote p + p { transition-delay: 0.4s; }
.motion .message[data-reveal].is-in figcaption { transition-delay: 0.65s; }
.motion .message[data-reveal] { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- contact + form */
.contact-mail {
  display: inline-block; margin-top: 22px; padding-block: 3px;
  font-size: clamp(1.15rem, 0.72rem + 1.25vw, 1.75rem); font-weight: 680; font-stretch: 100%; line-height: 1.2; letter-spacing: -0.01em;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1px no-repeat;
  transition: background-size 0.6s var(--ease-out), color 0.3s;
}
.contact-mail:hover { background-size: 100% 1px; color: var(--text-accent); }
.contact-meta { margin-top: 40px; }

.form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); }
.field .opt { text-transform: none; letter-spacing: 0.02em; color: var(--text-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line-2); color: var(--text-1);
  font-size: 1rem; line-height: 1.4;
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: #0a0e24; color: var(--text-1); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(178, 202, 255, 0.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-cyan); background: rgba(255, 255, 255, 0.05); box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.12); }
.field [aria-invalid="true"] { border-color: #ff7a9a; }
.field-error { font-size: 0.86rem; color: #ff9fb6; }
.form-foot { display: grid; gap: 16px; justify-items: start; }
.form-help { font-size: 0.88rem; color: var(--text-3); }
.form-help a { color: var(--text-link); }
.form-help strong { color: var(--text-2); }
.form-status { padding: 24px; border-radius: var(--radius-m); border: 1px solid rgba(0, 229, 255, 0.32); background: rgba(10, 16, 44, 0.6); }
.form-status:focus { outline: none; }
.form-status strong { display: block; font-size: 1.05rem; }
.form-status p { margin-top: 10px; color: var(--text-2); font-size: 0.95rem; }
.form-status textarea { width: 100%; margin-top: 16px; padding: 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.3); font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-2); }
.form-status .btn-row { margin-top: 16px; }
.form-status--success { border-color: rgba(84, 230, 170, 0.45); }

/* ---------------------------------------------------------------- legal */
.legal { max-width: 820px; }
.legal .legal-meta { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.legal .lead { margin-top: 18px; }
.legal section { padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--line-1); }
.legal h2 { font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.7rem); font-weight: 720; font-stretch: 108%; }
.legal p, .legal li { color: var(--text-2); }
.legal p { margin-top: 14px; }
.legal ul { margin-top: 12px; padding-left: 20px; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--text-link); }

/* ---------------------------------------------------------------- footer */
.site-footer { position: relative; z-index: 3; background: var(--surface-0); border-top: 1px solid var(--line-1); padding-top: clamp(72px, 9vw, 120px); }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.4), rgba(112, 71, 255, 0.4), transparent);
}
.footer-statement p {
  display: flex; flex-wrap: wrap; gap: 0 0.4em;
  font-size: clamp(1.7rem, 1rem + 2.8vw, 3.6rem); font-weight: 220; font-stretch: 108%; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--text-2);
}
.footer-statement strong { font-weight: 780; color: var(--text-1); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: clamp(56px, 7vw, 96px); }
.footer-brand p { margin-top: 22px; max-width: 40ch; font-size: 0.94rem; color: var(--text-3); }
.footer-col h2 { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.footer-col ul { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.footer-col li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; }
.footer-col li .icon { margin-top: 4px; color: var(--text-accent); }
.footer-col a { color: var(--text-2); text-decoration: none; transition: color 0.25s; word-break: break-word; }
.footer-col a:hover { color: var(--text-1); }
.footer-col span { color: var(--text-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 26px 34px; border-top: 1px solid var(--line-1); font-size: 0.86rem; color: var(--text-3); }
.footer-legal { display: flex; gap: 22px; list-style: none; }
.footer-legal a { color: var(--text-3); text-decoration: none; }
.footer-legal a:hover { color: var(--text-1); }

/* ---------------------------------------------------------------- reveal */
.motion [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.motion [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .cred-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cred-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .journey::before { display: none; }
  .journey li { padding-top: 0; padding-left: 28px; }
  .journey li::before { content: ""; position: absolute; left: 7px; top: 22px; bottom: -40px; width: 1px; background: var(--grad-line); opacity: 0.4; }
  .journey .dot { top: 4px; }
}
@media (max-width: 900px) {
  .ed-split, .ed-row, .ed-row--full .ed-row-head { grid-template-columns: minmax(0, 1fr); }
  .ed-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-list--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founder-scene { grid-template-columns: minmax(0, 1fr); }
  .portrait { justify-self: start; order: -1; width: min(100%, 460px); }
  .portrait-cap { display: none; }
  .message { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .ed-list--2, .ed-list--3, .ed-grid--3, .form-row, .cred-list { grid-template-columns: minmax(0, 1fr); }
  .cred-list li + li { padding-left: 0; border-left: 0; }
  .journey { grid-template-columns: minmax(0, 1fr); }
  .ed-steps li { grid-template-columns: 64px minmax(0, 1fr); }
  .ed-steps .n { font-size: 2rem; }
  .ed-facts > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ed-index a { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .btn { --h: 52px; }
  .btn-row .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- service groups: a cinematic frame from the world, without a frame */
.ed-group-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(52px, 6vw, 92px); }
.ed-group-head .ed-head { margin-bottom: 0; }
.ed-num--big {
  font-family: var(--font-sans); font-size: clamp(3.2rem, 2rem + 3.4vw, 5.6rem); font-weight: 180; font-stretch: 100%;
  letter-spacing: -0.02em; line-height: 0.9;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.group-visual { position: relative; aspect-ratio: 16 / 8; margin-right: calc(var(--gutter) * -1); }
.group-visual img {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 18%, #000 74%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 18%, #000 74%, transparent 100%);
  mask-composite: intersect;
}
@media (max-width: 900px) {
  .ed-group-head { grid-template-columns: minmax(0, 1fr); }
  .group-visual { order: -1; margin-inline: calc(var(--gutter) * -1); aspect-ratio: 16 / 9; }
}

/* ==========================================================================
   Home: art-directed hero, the six-chapter story, the tender signature
   ========================================================================== */

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(680px, 100svh);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 140px 0 clamp(40px, 6vh, 72px);
  background: var(--surface-0);
}
.hero-plate {
  position: absolute; z-index: -2; top: 0; right: 0; bottom: 0; width: 74%; overflow: hidden;
  transform: translate3d(0, calc(var(--hy, 0) * 1px), 0);
  will-change: transform;
}
.hero-plate::after {
  /* the image dissolves into the dark stage: no visible edge, no frame */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--surface-0) 0%, rgba(2, 3, 10, 0.86) 9%, rgba(2, 3, 10, 0.3) 30%, rgba(2, 3, 10, 0) 52%),
    linear-gradient(0deg, var(--surface-0) 0%, rgba(2, 3, 10, 0.45) 16%, rgba(2, 3, 10, 0) 38%),
    linear-gradient(180deg, rgba(2, 3, 10, 0.5) 0%, rgba(2, 3, 10, 0) 20%);
}
.hero-shot { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 1.4s ease 1.6s; }
.hero-shot.is-active { z-index: 1; opacity: 1; transition: opacity 2.4s cubic-bezier(0.45, 0, 0.25, 1); }
.hero-shot picture, .hero-shot img { width: 100%; height: 100%; }
.hero-shot img { object-fit: cover; }
.motion .hero-shot img { transform: scale(1.08) translate3d(1.2%, 0.5%, 0); transition: transform 0s linear 3.1s; }
.motion .hero-shot.is-active img { transform: scale(1.01) translate3d(0, 0, 0); transition: transform 11s cubic-bezier(0.22, 0.61, 0.36, 1); }
/* the opening: the stage comes up from black once, on first load */
.motion .hero-plate { animation: plate-in 1.8s cubic-bezier(0.4, 0, 0.2, 1) both; }
@keyframes plate-in { from { opacity: 0; } }
.hero-light {
  /* controlled lighting: a soft shade behind the type keeps it legible over every shot, and a faint cool light above */
  position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background:
    radial-gradient(48% 56% at 22% 66%, rgba(2, 3, 10, 0.7), rgba(2, 3, 10, 0) 100%),
    radial-gradient(36% 40% at 34% 18%, rgba(70, 82, 255, 0.1), rgba(70, 82, 255, 0) 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: end; gap: 40px clamp(32px, 5vw, 80px); }
.hero-place {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.98rem; font-weight: 520; letter-spacing: 0.02em; color: var(--text-2);
}
.hero-place::before { content: ""; width: 34px; height: 1px; background: var(--grad-line); }
.hero-title {
  margin-top: 22px;
  font-size: clamp(3.3rem, 1rem + 7vw, 9.2rem);
  font-weight: 800; font-stretch: 114%; line-height: 0.88; letter-spacing: -0.032em; text-transform: uppercase;
}
.hero-title span { display: block; width: max-content; white-space: nowrap; }
.hero-title span + span { background: linear-gradient(180deg, #ffffff 30%, #c5d0ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-pos { margin-top: 26px; max-width: 30ch; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem); font-weight: 500; line-height: 1.3; color: var(--text-1); }
.hero-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; margin-top: 18px; list-style: none; font-size: 0.98rem; color: var(--text-2); }
.hero-tags li { white-space: nowrap; }
.hero-tags li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 14px; border-radius: 50%; background: var(--c-cyan); vertical-align: middle; opacity: 0.85; }
.hero .btn-row { margin-top: 38px; }

.hero-marks { position: relative; padding-bottom: 6px; }
.hero-marks::before {
  /* a local shade travels with the list, so it reads cleanly over any part of any shot */
  content: ""; position: absolute; z-index: -1; inset: -90px -110px -60px -110px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(2, 3, 10, 0.86), rgba(2, 3, 10, 0.66) 50%, rgba(2, 3, 10, 0));
}
.hero-marks-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hero-toggle { display: none; }
.motion .hero-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 2px; border: 0; background: none; cursor: pointer;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); transition: color 0.3s;
}
.motion .hero-toggle:hover { color: var(--text-1); }
.hero-toggle-i { position: relative; width: 8px; height: 9px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.is-paused .hero-toggle-i { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; }
.hero-marks-label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
.hero-mark-list { list-style: none; margin-top: 14px; border-top: 1px solid var(--line-1); }
.hero-mark {
  position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; width: 100%;
  padding: 15px 0 17px; border: 0; border-bottom: 1px solid var(--line-1); background: none; text-align: left; cursor: pointer;
  color: var(--text-2); transition: color 0.4s;
}
.hero-mark:hover, .hero-mark.is-active { color: var(--text-1); }
.hero-mark-n { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; padding-top: 3px; }
.hero-mark.is-active .hero-mark-n { color: var(--c-cyan); }
.hero-mark-t { font-size: 0.98rem; font-weight: 600; line-height: 1.35; text-shadow: 0 1px 14px rgba(2, 3, 10, 0.9); }
.motion .hero-mark.is-active .hero-mark-t { animation: mark-in 0.9s var(--ease-out) both; }
@keyframes mark-in { from { opacity: 0.2; transform: translateX(-6px); } }
.hero-mark-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; overflow: hidden; }
.hero-mark-bar i { display: block; width: 100%; height: 100%; background: var(--grad-line); transform-origin: 0 50%; transform: scaleX(0); }
.hero-mark.is-active .hero-mark-bar i { transform: scaleX(1); }
.is-timing .hero-mark.is-active .hero-mark-bar i { animation: mark-progress 7.5s linear both; }
@keyframes mark-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-3); text-decoration: none;
}
.hero-cue i { position: relative; display: block; width: 1px; height: 40px; overflow: hidden; background: var(--line-1); }
.hero-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--c-cyan); }
.motion .hero-cue i::after { animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }
.motion .hero-copy > * { animation: rise-in 1.3s var(--ease-out) both; }
.motion .hero-copy > :nth-child(2) { animation-delay: 0.1s; }
.motion .hero-copy > :nth-child(3) { animation-delay: 0.22s; }
.motion .hero-copy > :nth-child(4) { animation-delay: 0.3s; }
.motion .hero-copy > :nth-child(5) { animation-delay: 0.4s; }
.motion .hero-marks { animation: rise-in 1.3s var(--ease-out) 0.55s both; }

/* ---------------------------------------------------------------- intro statement */
.intro { position: relative; padding-block: clamp(110px, 13vw, 200px) clamp(80px, 9vw, 140px); }
.intro-statement {
  margin-top: 30px; max-width: 25ch;
  font-size: clamp(2.1rem, 1rem + 3.7vw, 5rem);
  font-weight: 300; font-stretch: 102%; line-height: 1.1; letter-spacing: -0.022em; color: var(--text-1);
}
.intro-statement .grad { font-weight: 640; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px clamp(40px, 7vw, 110px); margin-top: clamp(48px, 6vw, 80px); }
.intro-grid .lead { color: var(--text-1); max-width: 52ch; }
.intro-side p { color: var(--text-2); }
.intro-side .link-row { margin-top: 22px; }
.meta-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line-2); }
.meta-row > div { padding: 20px 20px 0 0; }
.meta-row > div + div { padding-left: 20px; border-left: 1px solid var(--line-1); }
.meta-row dt { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.meta-row dd { margin-top: 8px; font-size: 1.06rem; font-weight: 620; color: var(--text-1); }

/* ---------------------------------------------------------------- what we do: the index of chapters */
.services-head { position: relative; padding-top: clamp(80px, 9vw, 130px); }
.services-head::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); max-width: var(--container); margin-inline: auto; height: 1px; background: var(--line-1); }
.services-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px clamp(40px, 6vw, 96px); align-items: end; }
.services-head-grid .ed-title { margin-top: 22px; }
.chapter-list { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: clamp(52px, 6vw, 80px); border-top: 1px solid var(--line-2); }
.chapter-list a {
  display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px 18px 24px 0; text-decoration: none;
  border-bottom: 1px solid var(--line-1); transition: color 0.3s;
}
.chapter-list li + li a { padding-left: 18px; border-left: 1px solid var(--line-1); }
.chapter-list span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--text-accent); }
.chapter-list strong { font-size: clamp(1.15rem, 0.9rem + 0.7vw, 1.5rem); font-weight: 760; font-stretch: 112%; letter-spacing: 0.01em; text-transform: uppercase; color: var(--text-1); transition: color 0.3s; }
.chapter-list em { font-style: normal; font-size: 0.88rem; line-height: 1.4; color: var(--text-3); }
.chapter-list a:hover strong { color: var(--text-accent); }

/* ---------------------------------------------------------------- chapters */
.chapter { position: relative; padding-block: clamp(84px, 9vw, 150px); }
.services-head + .chapter-rail + .chapter, .services-head + .chapter { padding-top: clamp(64px, 7vw, 110px); }
.chapter + .chapter::before, .signature + .chapter::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); max-width: var(--container); margin-inline: auto; height: 1px; background: var(--line-1);
}
.chapter-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.chapter--wide .chapter-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.chapter--left .chapter-copy { order: 2; }
.chapter--left .chapter-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.chapter--left.chapter--wide .chapter-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.chapter-n {
  display: block; margin-left: -0.06em;
  font-size: clamp(6rem, 3rem + 9vw, 12rem); font-weight: 200; font-stretch: 100%; line-height: 0.78; letter-spacing: -0.05em;
  background: linear-gradient(180deg, rgba(168, 196, 255, 0.55) 0%, rgba(168, 196, 255, 0.04) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.chapter-verb {
  display: flex; align-items: center; gap: 14px; margin-top: 22px;
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-accent);
}
.chapter-verb::before { content: ""; width: 30px; height: 1px; background: var(--grad-line); }
.chapter-title {
  margin-top: 16px;
  font-size: clamp(2.1rem, 1.15rem + 2.9vw, 4.1rem);
  font-weight: 780; font-stretch: 110%; line-height: 1.02; letter-spacing: -0.022em;
}
.chapter-lead { margin-top: 24px; max-width: 48ch; font-size: clamp(1.08rem, 1rem + 0.35vw, 1.28rem); line-height: 1.6; color: var(--text-2); }
.chapter-text { margin-top: 18px; max-width: 52ch; color: var(--text-2); }
.chapter-copy .ed-list { margin-top: 34px; }
.chapter-copy .ed-note { margin-top: 30px; }
.chapter-copy > .text-link { margin-top: 30px; }
.chapter-media {
  position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 16 / 11;
  background: #070a1c; box-shadow: 0 40px 80px -48px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(168, 186, 255, 0.08);
}
.chapter--tall .chapter-media { aspect-ratio: 4 / 5; }
.chapter-media picture, .chapter-media img { width: 100%; height: 100%; }
.chapter-media img { object-fit: cover; transform: translate3d(0, calc(var(--mp, 0) * 1px), 0) scale(1.14); }
.chapter-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(2, 3, 10, 0.45), rgba(2, 3, 10, 0) 40%);
}
.motion .chapter-media { clip-path: inset(10% 6% 10% 6% round 6px); transition: clip-path 1.6s var(--ease-out); }
.motion .chapter-media.is-in { clip-path: inset(0 0 0 0 round 6px); }

/* side index while reading the chapters (wide screens only) */
.chapter-rail { position: fixed; right: 26px; top: 50%; z-index: 40; transform: translateY(-50%); opacity: 0; pointer-events: none; transition: opacity 0.5s; }
.chapter-rail.is-visible { opacity: 1; pointer-events: auto; }
.chapter-rail ol { list-style: none; display: grid; gap: 4px; }
.chapter-rail a {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 6px 0;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; color: var(--text-3); text-decoration: none; transition: color 0.3s;
}
.chapter-rail a::after { content: ""; width: 16px; height: 1px; background: currentColor; transition: width 0.4s var(--ease-out); }
.chapter-rail em { font-style: normal; text-transform: uppercase; opacity: 0; transform: translateX(6px); transition: opacity 0.3s, transform 0.3s; }
.chapter-rail a:hover, .chapter-rail a.is-active { color: var(--text-1); }
.chapter-rail a.is-active::after { width: 32px; background: var(--c-cyan); }
.chapter-rail a:hover em, .chapter-rail a.is-active em { opacity: 1; transform: none; }
@media (max-width: 1499px) { .chapter-rail { display: none; } }

/* ---------------------------------------------------------------- the tender signature */
.signature { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(110px, 13vw, 200px); background: #03040e; }
.signature::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.35), rgba(112, 71, 255, 0.35), transparent); }
.signature-media { position: absolute; z-index: -1; top: 0; right: 0; width: 76%; height: min(92vh, 900px); }
.signature-media picture, .signature-media img { width: 100%; height: 100%; }
.signature-media img { object-fit: cover; opacity: 0.85; }
.signature-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #03040e 0%, rgba(3, 4, 14, 0.82) 22%, rgba(3, 4, 14, 0.2) 60%, rgba(3, 4, 14, 0.1) 100%),
    linear-gradient(0deg, #03040e 0%, rgba(3, 4, 14, 0) 46%),
    linear-gradient(180deg, #03040e 0%, rgba(3, 4, 14, 0) 22%);
}
.signature-head { max-width: 660px; }
.signature-head .btn-row { margin-top: 34px; }

.flow { position: relative; margin-top: clamp(80px, 10vw, 150px); --flow: 1; }
.motion .flow { --flow: 0; }
.flow-track { position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.flow-track i {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-blue) 55%, var(--c-violet));
  transform-origin: 0 50%; transform: scaleX(var(--flow));
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}
.flow-list { position: relative; list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.flow-list li { display: flex; flex-direction: column; }
.flow-node {
  display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%;
  background: #05071a; border: 1px solid rgba(0, 229, 255, 0.7); color: var(--c-cyan);
  box-shadow: 0 0 0 6px rgba(0, 229, 255, 0.06);
  transition: border-color 0.6s, color 0.6s, box-shadow 0.6s, background-color 0.6s;
}
.flow-node .icon { width: 22px; height: 22px; }
.motion .flow-list li:not(.is-on) .flow-node { border-color: var(--line-2); color: var(--text-3); box-shadow: none; }
.motion .flow-list li.is-on .flow-node { box-shadow: 0 0 0 6px rgba(0, 229, 255, 0.06), 0 0 18px -6px rgba(0, 229, 255, 0.4); }
.flow-n { margin-top: 22px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; color: var(--text-accent); }
.flow-list strong { margin-top: 8px; font-size: clamp(1.3rem, 1rem + 0.8vw, 1.65rem); font-weight: 760; font-stretch: 110%; letter-spacing: -0.01em; text-transform: uppercase; }
.flow-short { margin-top: 6px; font-weight: 600; color: var(--text-1); }
.flow-d { margin-top: 10px; font-size: 0.9rem; line-height: 1.55; color: var(--text-3); }
.motion .flow-list li strong, .motion .flow-list li .flow-short { transition: color 0.6s; }
.motion .flow-list li:not(.is-on) strong { color: var(--text-2); }

.caps-block { margin-top: clamp(80px, 9vw, 130px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line-2); }
.caps-title { max-width: 26ch; font-size: clamp(1.5rem, 1.05rem + 1.4vw, 2.3rem); font-weight: 740; font-stretch: 108%; line-height: 1.12; }
.caps-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px clamp(28px, 4vw, 56px); margin-top: 40px; }
.caps-cols .ed-sub { margin-top: 0; color: var(--text-accent); }

/* ---------------------------------------------------------------- founder band (home) */
.founder-band { position: relative; }
.founder-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(48% 60% at 80% 50%, rgba(80, 70, 255, 0.1), transparent 70%);
}
.founder-band .founder-scene { padding-block: clamp(90px, 10vw, 160px); }
.founder-title, .page-hero--founder .founder-title { margin-top: 24px; font-size: clamp(2.5rem, 1.2rem + 4.4vw, 5.1rem); line-height: 0.95; text-wrap: wrap; }
.ed-section--creds { padding-top: clamp(80px, 9vw, 130px); }

/* ---------------------------------------------------------------- closing band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(130px, 16vw, 240px); }
.cta-media { position: absolute; inset: 0; z-index: -1; }
.cta-media picture, .cta-media img { width: 100%; height: 100%; }
.cta-media img { object-fit: cover; object-position: 72% 50%; }
.cta-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 3, 10, 0.95) 0%, rgba(2, 3, 10, 0.8) 38%, rgba(2, 3, 10, 0.2) 75%, rgba(2, 3, 10, 0.1) 100%),
    linear-gradient(0deg, var(--surface-0) 0%, rgba(2, 3, 10, 0) 30%),
    linear-gradient(180deg, var(--surface-0) 0%, rgba(2, 3, 10, 0) 30%);
}
.cta-title { margin-top: 26px; max-width: 14ch; font-size: clamp(2.5rem, 1.2rem + 4.6vw, 5.8rem); font-weight: 790; font-stretch: 112%; line-height: 0.98; letter-spacing: -0.028em; }
.cta-text { margin-top: 26px; max-width: 52ch; font-size: clamp(1.08rem, 1rem + 0.35vw, 1.28rem); color: var(--text-2); }
.cta-band .btn-row { margin-top: 38px; }
.footer-cta { margin-top: 22px; }

/* ---------------------------------------------------------------- about: image band and founder-led block */
.image-band { position: relative; isolation: isolate; overflow: hidden; min-height: min(84vh, 780px); display: flex; align-items: flex-end; padding-block: 140px clamp(64px, 8vw, 110px); }
.image-band-media { position: absolute; inset: 0; z-index: -1; }
.image-band-media picture, .image-band-media img { width: 100%; height: 100%; }
.image-band-media img { object-fit: cover; }
.image-band-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(2, 3, 10, 0.9) 0%, rgba(2, 3, 10, 0.55) 45%, rgba(2, 3, 10, 0.05) 80%),
    linear-gradient(0deg, var(--surface-0) 0%, rgba(2, 3, 10, 0) 35%), linear-gradient(180deg, var(--surface-0) 0%, rgba(2, 3, 10, 0) 25%);
}
.image-band-title { margin-top: 22px; max-width: 16ch; font-size: clamp(2.3rem, 1.1rem + 4.2vw, 5.4rem); font-weight: 790; font-stretch: 112%; line-height: 1; letter-spacing: -0.026em; }
.image-band-tag { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 26px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); }
.vm-title { margin-top: 22px; max-width: 22ch; font-size: clamp(1.7rem, 1.1rem + 2vw, 2.9rem); font-weight: 300; line-height: 1.15; letter-spacing: -0.015em; color: var(--text-1); }
.founder-led-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.founder-led .portrait { justify-self: start; width: min(100%, 480px); }
.founder-led .ed-title { margin-top: 18px; }

/* ---------------------------------------------------------------- responsive (home and new blocks) */
@media (max-width: 1180px) {
  .hero-tags { gap: 8px 18px; }
  .hero-tags li::before, .hero-tags li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 10px 0 0; border-radius: 50%; background: var(--c-cyan); vertical-align: middle; opacity: 0.85; }
  .chapter-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chapter-list li:nth-child(4) a { padding-left: 0; border-left: 0; }
  /* tablets and phones: the process runs down the page, and the line fills downwards */
  .flow { max-width: 760px; }
  .flow-list { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .flow-track { display: block; left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; }
  .flow-track i { transform-origin: 50% 0; transform: scaleY(var(--flow)); }
  .flow-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 24px; padding-bottom: 38px; }
  .flow-node { grid-row: 1 / span 4; }
  .flow-n { margin-top: 4px; }
  .meta-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .meta-row > div:nth-child(4) { padding-left: 0; border-left: 0; }
}
@media (max-width: 900px) {
  /* phones and tablets: the image sits on top, fully visible; the type follows on the dark stage */
  .hero { display: block; min-height: 0; padding: 0 0 56px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-plate { position: relative; width: 100%; height: 56svh; min-height: 340px; max-height: 560px; }
  .hero-plate::after { background: linear-gradient(0deg, var(--surface-0) 0%, rgba(2, 3, 10, 0.4) 30%, rgba(2, 3, 10, 0) 55%), linear-gradient(180deg, rgba(2, 3, 10, 0.7) 0%, rgba(2, 3, 10, 0) 30%); }
  .hero-light { display: none; }
  .hero-grid { margin-top: -54px; position: relative; }
  .hero-title { margin-top: 16px; }
  .hero-marks-label { display: none; }
  .hero-marks-head { justify-content: flex-end; margin-top: 30px; }
  .hero-mark-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 4px; border-top: 0; }
  .hero-mark { grid-template-columns: minmax(0, 1fr); padding: 10px 0 12px; border-bottom: 1px solid var(--line-2); }
  .hero-mark-t { font-size: 0.8rem; font-weight: 520; }
  .hero-mark:not(.is-active) .hero-mark-t { color: var(--text-3); }
  .hero-cue { display: none; }
  .hero-marks::before { display: none; }
  .intro-grid, .services-head-grid, .chapter-grid, .chapter--wide .chapter-grid, .chapter--left .chapter-grid, .chapter--left.chapter--wide .chapter-grid, .founder-led-grid { grid-template-columns: minmax(0, 1fr); }
  .chapter--left .chapter-copy { order: 0; }
  .chapter-media { order: -1; }
  .chapter--tall .chapter-media { aspect-ratio: 4 / 3; }
  .caps-cols { grid-template-columns: minmax(0, 1fr); }
  .signature-media { width: 100%; height: 70vh; }
  .founder-led .portrait { justify-self: center; width: min(86%, 420px); }
}
@media (max-width: 760px) {
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero-title { font-size: min(3.3rem, 13.2vw); }
  .chapter-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapter-list li a { padding-left: 0 !important; border-left: 0 !important; }
  .chapter-list li:nth-child(even) a { padding-left: 16px !important; border-left: 1px solid var(--line-1) !important; }
  .meta-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meta-row > div { padding: 16px 12px 16px 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--line-1); }
  .meta-row > div:nth-child(even) { padding-left: 14px !important; border-left: 1px solid var(--line-1) !important; }
  .chapter { padding-block: 72px 88px; }
  .chapter-n { font-size: 5.4rem; }
  .flow-list li { column-gap: 18px; padding-bottom: 34px; }
  .signature-media { height: 52vh; }
  .image-band { min-height: 0; padding-top: 52vh; }
  .image-band-media::after { background: linear-gradient(0deg, var(--surface-0) 10%, rgba(2, 3, 10, 0.6) 50%, rgba(2, 3, 10, 0.2) 100%); }
  .cta-media::after { background: linear-gradient(0deg, var(--surface-0) 0%, rgba(2, 3, 10, 0.85) 40%, rgba(2, 3, 10, 0.55) 100%); }
}
