/* ═══════════════════════════════════════════════════════════
   Get Started Ventures · v5 — "Bureau (blue)"
   Keynote-style snap-scroll deck.
   Cool cream + deep slate blue + royal blue accent.
   Palette: colorswall #15471 — venture capital brand identity.
   Cabinet Grotesk + Switzer + JetBrains Mono.
   ═══════════════════════════════════════════════════════════ */

:root {
  --cream:     #f5f3ee;
  --cream-2:   #e8eaf2;
  --ink:       #233560;
  --ink-2:     #1a2848;
  --accent:    #5b79c2;
  --accent-2:  #7e97ce;
  --light:     #fafafa;

  --bg:        var(--cream);
  --fg:        var(--ink);
  --fg-soft:   #5a6680;
  --rule:      rgba(35,53,96,.18);
  --rule-2:    rgba(35,53,96,.4);

  --display: "Cabinet Grotesk", "Helvetica Neue", system-ui, sans-serif;
  --body:    "Switzer", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, Menlo, monospace;

  --ease: cubic-bezier(.2,.8,.2,1);
  --eo:   cubic-bezier(.16,1,.3,1);
}

body[data-theme="cream"]  { --bg: var(--cream); --fg: var(--ink); --fg-soft: #5a6680; --rule: rgba(35,53,96,.18); --rule-2: rgba(35,53,96,.4); }
body[data-theme="dark"]   { --bg: var(--ink);   --fg: var(--light); --fg-soft: rgba(250,250,247,.65); --rule: rgba(250,250,247,.14); --rule-2: rgba(250,250,247,.32); }
body[data-theme="accent"] { --bg: var(--accent); --fg: var(--ink); --fg-soft: rgba(35,53,96,.7); --rule: rgba(35,53,96,.22); --rule-2: rgba(35,53,96,.45); }

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .6s var(--ease), color .6s var(--ease);
}
html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  height: 100%;
  overflow-y: scroll;
}
body { height: 100%; overflow: hidden auto; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--accent); font-weight: inherit; }
.accent { color: var(--accent); }
body[data-theme="accent"] em,
body[data-theme="accent"] .accent { color: var(--ink); }
.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
::selection { background: var(--accent); color: var(--ink); }

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: .055; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.7 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ── Header ──────────────────────────────────────── */
.bu-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 20px clamp(24px, 4vw, 56px);
  pointer-events: none;
}
.bu-header > * { pointer-events: auto; }
.bu-logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -.01em;
  color: var(--fg);
  mix-blend-mode: difference;
  filter: invert(1);
}
.bu-logo em { color: var(--accent); font-style: normal; font-weight: inherit; }
.bu-mark { display: inline-flex; color: var(--accent); transition: transform .8s var(--eo); }
.bu-logo:hover .bu-mark { transform: rotate(180deg); }

.bu-progress {
  justify-self: center;
  display: inline-flex; align-items: baseline; gap: 6px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--fg-soft);
}
.bp-cur { color: var(--accent); font-weight: 500; }
body[data-theme="accent"] .bp-cur { color: var(--ink); font-weight: 700; }
.bp-sep { color: var(--rule-2); }

.bu-header-r {
  display: inline-flex; align-items: center; gap: 18px;
}
.bu-port {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  color: var(--fg);
  position: relative;
  padding: 6px 0;
  transition: color .25s;
}
.bu-port::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--accent);
  transition: right .35s var(--eo);
}
.bu-port:hover { color: var(--accent); }
body[data-theme="accent"] .bu-port { color: var(--ink); }
body[data-theme="accent"] .bu-port::after { background: var(--ink); }
body[data-theme="accent"] .bu-port:hover { color: var(--ink); opacity: .7; }
.bu-port:hover::after { right: 0; }

.bu-apply {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--fg); color: var(--bg);
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .01em;
  transition: background .3s, color .3s, transform .3s var(--ease);
}
body[data-theme="accent"] .bu-apply { background: var(--ink); color: var(--accent); }
.bu-apply:hover { transform: translate(2px, -1px); background: var(--accent); color: var(--ink); }

/* ── Side dots ──────────────────────────────────── */
.bu-dots {
  position: fixed;
  right: clamp(16px, 2vw, 32px);
  top: 50%; transform: translateY(-50%);
  z-index: 80;
  display: flex; flex-direction: column;
  gap: 14px;
}
.bu-dots button {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 12px;
  width: 80px;
  background: transparent; border: 0;
  color: var(--fg-soft);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  padding: 4px 0;
  transition: color .3s var(--ease), gap .3s var(--ease);
}
.bu-dots button i {
  font-style: normal;
  opacity: 0;
  transition: opacity .3s, transform .3s var(--ease);
}
.bu-dots button::after {
  content: "";
  width: 14px; height: 1px;
  background: currentColor;
  transition: width .35s var(--eo), background .3s;
}
.bu-dots button:hover { color: var(--fg); }
.bu-dots button:hover i { opacity: 1; }
.bu-dots button.is-on { color: var(--accent); }
body[data-theme="accent"] .bu-dots button.is-on { color: var(--ink); }
.bu-dots button.is-on::after { width: 32px; background: currentColor; }
.bu-dots button.is-on i { opacity: 1; transform: translateX(-2px); }

/* ── Hint ──────────────────────────────────────── */
.bu-hint {
  position: fixed;
  bottom: clamp(20px, 3vh, 32px);
  left: 50%; transform: translateX(-50%);
  z-index: 80;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--fg-soft);
  pointer-events: none;
  transition: opacity .4s;
  animation: hintFade 6s 4s var(--ease) forwards;
}
.bu-hint kbd {
  font-family: var(--mono);
  font-size: 12px;
  padding: 4px 8px;
  background: color-mix(in srgb, var(--fg) 8%, transparent);
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--fg);
}
@keyframes hintFade {
  0%, 30% { opacity: 1; }
  100%    { opacity: 0; }
}

/* ── Deck + slide base ─────────────────────────── */
.bu-deck { scroll-snap-type: y mandatory; }
.slide {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  min-height: 100vh;
  padding: clamp(96px, 14vh, 140px) clamp(56px, 8vw, 140px) clamp(40px, 6vh, 60px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
  color: var(--fg);
  transition: background .6s var(--ease), color .6s var(--ease);
}
.slide[data-bg="cream"]  { background: var(--cream); color: var(--ink); }
.slide[data-bg="dark"]   { background: var(--ink);   color: var(--light); }
.slide[data-bg="accent"] { background: var(--accent); color: var(--ink); }

.slide[data-bg="dark"] em,
.slide[data-bg="dark"] .accent { color: var(--accent); }
.slide[data-bg="dark"] .mono { color: rgba(250,250,247,.6); }
.slide[data-bg="cream"] .mono { color: #5a6680; }
.slide[data-bg="accent"] em,
.slide[data-bg="accent"] .accent { color: var(--ink); }
.slide[data-bg="accent"] .mono { color: rgba(35,53,96,.7); }

.slide-num {
  position: absolute;
  top: clamp(80px, 12vh, 120px);
  left: clamp(56px, 8vw, 140px);
  font-size: 11px;
}

.slide-foot {
  position: relative;
  margin-top: clamp(48px, 8vh, 96px);   /* hard minimum gap above foot */
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  flex-wrap: wrap; gap: 8px;
  flex-shrink: 0;
  width: 100%;
}

/* Make main content of each slide expand to fill available vertical space.
   flex: 1 0 auto = grow if space available, NEVER shrink below content's natural size.
   Combined with min-height: 100vh + height: auto on .slide, the slide grows
   beyond 100vh when content needs it. .slide-foot stays in flow at the bottom. */
.slide > .intro-grid,
.slide > .manifesto-title,
.slide > .method-list,
.slide > .paths-flex,
.slide > .sec-stack-bu,
.slide > .port-table { flex: 1 0 auto; align-self: stretch; }
.slide > .manifesto-title { display: flex; flex-direction: column; justify-content: center; }
.slide.slide-apply { justify-content: center; }
.slide.slide-apply > .apply-title,
.slide.slide-apply > .apply-sub,
.slide.slide-apply > .apply-actions { flex-shrink: 0; }
.slide > .method-title,
.slide > .paths-q,
.slide > .port-q,
.slide > .sec-caption,
.slide > .manifesto-stats { flex-shrink: 0; }
.port-link {
  color: var(--accent) !important;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
body[data-theme="cream"] .slide-foot .port-link { color: var(--ink) !important; }
.slide-foot .port-link:hover { opacity: .7; }

/* Reveal mechanism */
.slide .word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform .9s var(--eo), opacity .9s var(--eo);
}
.slide.is-on .word { transform: translateY(0); opacity: 1; transition-delay: calc(var(--wi, 0) * 80ms); }

/* ── 01 · INTRO ─────────────────────────────────── */
.slide-intro { grid-template-rows: auto 1fr; }
.intro-grid {
  align-self: center;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
}
.intro-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(64px, 11vw, 200px);
  line-height: .88;
  letter-spacing: -.045em;
  margin: 0 0 32px;
}
.intro-title .line { display: block; overflow: hidden; }
.intro-title .word.accent { color: var(--accent); }
.intro-title .word i { font-style: normal; color: var(--accent); }
.intro-sub {
  max-width: 56ch;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--fg-soft);
  margin: 0;
  opacity: 0;
  transition: opacity 1s var(--ease) .6s;
}
.slide-intro.is-on .intro-sub { opacity: 1; }

.intro-r { display: flex; justify-content: center; align-items: center; }
.intro-logo {
  width: 100%; max-width: 440px;
  aspect-ratio: 1;
  opacity: 0;
  transition: opacity 1s var(--ease) .4s;
}
.slide-intro.is-on .intro-logo { opacity: 1; }
.intro-logo svg { width: 100%; height: 100%; color: var(--ink); overflow: visible; }
.intro-logo .il-1, .intro-logo .il-2, .intro-logo .il-3 { transform-origin: 50% 50%; }
.slide-intro.is-on .intro-logo .il-1 { animation: spinSlow 40s linear infinite, draw 1.6s .8s var(--eo) both; }
.slide-intro.is-on .intro-logo .il-2 { animation: spinSlow 30s linear infinite reverse, draw 1.6s 1s var(--eo) both; }
.slide-intro.is-on .intro-logo .il-3 { animation: pop 1s 1.4s var(--eo) both; transform-origin: 50% 50%; transform-box: fill-box; }
.intro-logo path[pathLength] { stroke-dasharray: 100; stroke-dashoffset: 100; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop  { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ── 02 · MANIFESTO ─────────────────────────────── */
.slide-manifesto {
  grid-template-rows: 1fr auto;
  align-content: center;
}
.manifesto-title {
  align-self: center;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(56px, 10vw, 168px);
  line-height: .9;
  letter-spacing: -.045em;
  margin: 0;
  max-width: 22ch;
}
.manifesto-title .word:nth-child(1) { --wi: 0; }
.manifesto-title .word:nth-child(2) { --wi: 1; }
.manifesto-title .word:nth-child(3) { --wi: 2; }
.manifesto-title .word:nth-child(4) { --wi: 3; }
.manifesto-title .word:nth-child(5) { --wi: 4; }
.manifesto-title .word:nth-child(6) { --wi: 5; }
.manifesto-title .word:nth-child(7) { --wi: 6; }
.manifesto-title .word:nth-child(8) { --wi: 7; }
.manifesto-title .accent { color: var(--accent); }

.manifesto-stats {
  list-style: none; padding: 0; margin: clamp(40px, 6vh, 72px) 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.manifesto-stats li {
  padding: 24px 16px 0 0;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--eo), transform .8s var(--eo);
}
.manifesto-stats li:last-child { border-right: 0; padding-right: 0; }
.slide-manifesto.is-on .manifesto-stats li:nth-child(1) { opacity: 1; transform: none; transition-delay: 1s; }
.slide-manifesto.is-on .manifesto-stats li:nth-child(2) { opacity: 1; transform: none; transition-delay: 1.15s; }
.slide-manifesto.is-on .manifesto-stats li:nth-child(3) { opacity: 1; transform: none; transition-delay: 1.3s; }
.slide-manifesto.is-on .manifesto-stats li:nth-child(4) { opacity: 1; transform: none; transition-delay: 1.45s; }
.ms-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -.035em;
  font-feature-settings: "tnum" 1;
  color: var(--accent);
}
.ms-lab { color: var(--fg-soft); }

/* ── 03 · METHOD ─────────────────────────────────── */
.slide-method { grid-template-rows: auto 1fr; align-content: start; }
.method-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 96px);
  line-height: .96;
  letter-spacing: -.035em;
  margin: 0 0 clamp(40px, 6vh, 64px);
  color: var(--ink);
  max-width: 22ch;
}
.method-title .word:nth-child(1) { --wi: 0; }
.method-title .word:nth-child(2) { --wi: 1; }
.method-title .word:nth-child(3) { --wi: 2; }
.method-title .word:nth-child(4) { --wi: 3; }

.method-list {
  list-style: none; padding: 0; margin: 0;
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-content: end;
}
.ml-item {
  padding: 24px 20px;
  background: rgba(35,53,96,.05);
  border: 1px solid rgba(35,53,96,.18);
  display: flex; flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--eo), transform .7s var(--eo), background .3s, border-color .3s;
}
.slide-method.is-on .ml-item { opacity: 1; transform: none; transition-delay: calc(.8s + var(--i) * .12s); }
.ml-item:hover { background: var(--ink); color: var(--light); border-color: var(--ink); }
.ml-item:hover h3 { color: var(--light); }
.ml-item:hover p, .ml-item:hover .ml-when { color: rgba(250,250,247,.7); }
.ml-when { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(35,53,96,.65); }
.ml-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--ink);
}
.ml-item h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.15;
  letter-spacing: -.012em;
  margin: 0;
  color: var(--ink);
}
.ml-item p {
  font-size: 13px; line-height: 1.55;
  color: rgba(35,53,96,.75);
  margin: auto 0 0;
}

/* ── 04 · PATHS ──────────────────────────────────── */
.slide-paths { grid-template-rows: auto 1fr; align-content: start; }
.paths-q {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(48px, 8vw, 132px);
  line-height: .92;
  letter-spacing: -.04em;
  margin: 0 0 clamp(32px, 5vh, 56px);
  color: var(--ink);
}
.paths-q em { color: var(--accent); }
.paths-flex {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.path-tile {
  position: relative;
  padding: clamp(32px, 5vh, 56px) clamp(24px, 3vw, 40px);
  border-right: 1px solid var(--rule);
  display: grid; gap: 16px;
  align-content: start;
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--eo), transform .8s var(--eo), background .35s, color .35s;
}
.path-tile:last-child { border-right: 0; }
.slide-paths.is-on .path-tile:nth-child(1) { opacity: 1; transform: none; transition-delay: 1s; }
.slide-paths.is-on .path-tile:nth-child(2) { opacity: 1; transform: none; transition-delay: 1.15s; }
.slide-paths.is-on .path-tile:nth-child(3) { opacity: 1; transform: none; transition-delay: 1.3s; }
.path-tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .55s var(--eo);
}
.path-tile:hover { color: var(--light); }
.path-tile:hover::before { transform: translateY(0); }
.pt-mega {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(80px, 8vw, 130px);
  line-height: 1;
  letter-spacing: -.045em;
  color: var(--accent);
}
.pt-tag { color: var(--fg-soft); }
.path-tile:hover .pt-tag { color: rgba(250,250,247,.6); }
.pt-line {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.18;
  letter-spacing: -.012em;
  max-width: 30ch;
}
.pt-line em { color: var(--accent); }
.path-tile:hover .pt-line em { color: var(--accent-2); }
.pt-go {
  margin-top: auto;
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  color: var(--accent);
  align-self: start;
  transition: transform .35s var(--eo);
}
.path-tile:hover .pt-go { transform: translateX(8px); color: var(--accent-2); }

/* ── 05 · SECTORS ─────────────────────────────────── */
.slide-sectors { grid-template-rows: 1fr auto; }
.sec-stack-bu {
  list-style: none; padding: 0; margin: 0;
  align-self: stretch;
  border-top: 1px solid var(--rule);
}
.sec-stack-bu li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: clamp(8px, 1.6vh, 18px) 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 6.5vw, 100px);
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--light);
  cursor: default;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--eo), transform .8s var(--eo), padding-left .4s var(--eo), color .4s;
  overflow: hidden;
}
.slide-sectors.is-on .sec-stack-bu li { opacity: 1; transform: none; transition-delay: calc(.4s + var(--i) * .08s); }
.sec-stack-bu li:hover { padding-left: clamp(20px, 4vw, 56px); color: var(--accent); }
.sec-stack-bu li i {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .14em;
  color: rgba(250,250,247,.4);
  align-self: center;
}
.sec-caption {
  margin: clamp(24px, 4vh, 48px) 0 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 32px);
  line-height: 1.3;
  letter-spacing: -.015em;
  color: rgba(250,250,247,.85);
  max-width: 32ch;
}
.sec-caption .word:nth-child(1) { --wi: 0; }
.sec-caption .word:nth-child(2) { --wi: 1; }
.sec-caption .word:nth-child(3) { --wi: 2; }
.sec-caption .word:nth-child(4) { --wi: 3; }
.sec-caption .word:nth-child(5) { --wi: 4; }
.sec-caption .word:nth-child(6) { --wi: 5; }
.sec-caption .word:nth-child(7) { --wi: 6; }

/* ── 06 · PORTFOLIO ─────────────────────────────── */
.slide-portfolio { grid-template-rows: auto 1fr; align-content: start; }
.port-q {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 96px);
  line-height: .96;
  letter-spacing: -.035em;
  margin: 0 0 clamp(32px, 5vh, 56px);
  color: var(--ink);
  max-width: 18ch;
}
.port-q em { color: var(--accent); }

.port-table {
  width: 100%;
  border-collapse: collapse;
  align-self: end;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.port-table th {
  text-align: left;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(35,53,96,.55);
  padding: 12px 16px;
  border-bottom: 1px solid var(--ink);
}
.port-table td {
  padding: 18px 16px;
  border-bottom: 1px solid rgba(35,53,96,.12);
  font-size: 15px;
  color: var(--ink);
  vertical-align: baseline;
}
.port-table tr {
  position: relative;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s var(--eo), transform .6s var(--eo), background .25s;
}
.slide-portfolio.is-on tbody tr {
  opacity: 1; transform: none;
  transition-delay: calc(.6s + var(--i) * .07s);
}
.port-table tr:hover { background: rgba(91,121,194,.14); }
.port-table td:first-child {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--accent);
}
body[data-theme="cream"] .port-table td:first-child,
.slide[data-bg="cream"] .port-table td:first-child {
  color: #3c5285;
}
.port-table b {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -.015em;
}

/* ── 07 · APPLY ──────────────────────────────────── */
.slide-apply { grid-template-rows: 1fr; align-content: center; }
.apply-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(56px, 11vw, 200px);
  line-height: .88;
  letter-spacing: -.045em;
  margin: 0;
  color: var(--ink);
  max-width: 14ch;
}
.apply-title .line { display: block; overflow: hidden; }
.apply-title .word i { font-style: normal; color: var(--accent-2); }

.apply-sub {
  max-width: 56ch;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  margin: clamp(28px, 4vh, 40px) 0 clamp(32px, 5vh, 48px);
  color: rgba(35,53,96,.85);
  opacity: 0;
  transition: opacity 1s var(--ease) 1s;
}
.slide-apply.is-on .apply-sub { opacity: 1; }
.apply-actions {
  display: flex; align-items: center; gap: 28px;
  flex-wrap: wrap;
  opacity: 0;
  transition: opacity 1s var(--ease) 1.2s;
}
.slide-apply.is-on .apply-actions { opacity: 1; }

.btn-mega {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 30px;
  background: var(--ink); color: var(--accent);
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.005em;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--ink);
  transition: color .35s var(--ease);
}
.btn-mega::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--light);
  transform: translateY(101%);
  transition: transform .55s var(--eo);
}
.btn-mega:hover { color: var(--ink); border-color: var(--light); }
.btn-mega:hover::before { transform: translateY(0); }
.btn-mega span:last-child { transition: transform .35s var(--eo); }
.btn-mega:hover span:last-child { transform: translateX(4px); }

.btn-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--display); font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  position: relative; padding-bottom: 2px;
}
.btn-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transition: transform .4s var(--eo); transform-origin: right;
}
.btn-link:hover::after { transform: scaleX(0); }

.apply-mark {
  position: absolute;
  right: -8%; bottom: -20%;
  width: 60vh; max-width: 600px; min-width: 400px;
  z-index: 0;
  color: var(--ink);
  opacity: .14;
  pointer-events: none;
  animation: spinSlow 60s linear infinite;
}

/* ═══════════════════════════════════════════════════════
   PORTFOLIO LIST / DETAILS / APPLY (non-deck pages)
   Reuse same theme but break the snap-scroll constraint
   ═══════════════════════════════════════════════════════ */

body.page { overflow: auto; }
body.page html, body.page { scroll-snap-type: none; }

.page-html { scroll-snap-type: none !important; }

/* List page */
.page-cover {
  padding: clamp(120px, 16vh, 200px) clamp(28px, 6vw, 80px) clamp(40px, 6vh, 80px);
  background: var(--cream);
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.pc-bar {
  display: flex; justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #5a6680;
}
.pc-bar .accent-c { color: #3c5285; }
.pc-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(56px, 10vw, 160px);
  line-height: .92;
  letter-spacing: -.04em;
  margin: 32px 0 16px;
  color: var(--ink);
  max-width: 16ch;
}
.pc-title em { color: var(--accent); }
.pc-sub {
  max-width: 60ch;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: #5a6680;
  margin: 0;
}

.list-section {
  padding: clamp(60px, 10vh, 120px) clamp(28px, 6vw, 80px);
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}
.list-section h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -.025em;
  margin: 0 0 32px;
  color: var(--ink);
}
.list-section h2 span { color: #8089a3; margin-left: 14px; font-weight: 500; font-size: .55em; font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.list-section.alt { background: var(--cream-2); }

.list-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.list-card {
  display: grid; gap: 14px;
  padding: 28px;
  background: var(--light);
  border: 1px solid var(--rule);
  transition: background .35s, color .35s, transform .35s var(--eo), border-color .3s;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.list-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .55s var(--eo);
}
.list-card:hover { transform: translateY(-4px); color: var(--light); border-color: var(--ink); }
.list-card:hover::before { transform: translateY(0); }
.list-card .lc-top { display: flex; justify-content: space-between; align-items: baseline; }
.list-card .lc-num { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #3c5285; }
.list-card:hover .lc-num { color: var(--accent); }
.list-card .lc-tag {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  padding: 3px 10px;
  background: var(--cream-2);
  color: var(--ink);
  border-radius: 999px;
}
.list-card:hover .lc-tag { background: var(--accent); color: var(--ink); }
.list-card h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -.025em;
  margin: 0;
  color: var(--ink);
}
.list-card:hover h3 { color: var(--light); }
.list-card p {
  font-size: 14px; line-height: 1.55;
  color: #5a6680;
  margin: 0;
}
.list-card:hover p { color: rgba(250,250,247,.78); }
.list-card .lc-meta {
  display: flex; justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8089a3;
}
.list-card:hover .lc-meta { border-color: rgba(250,250,247,.16); color: rgba(250,250,247,.6); }

/* Detail page */
.detail-cover {
  padding: clamp(120px, 16vh, 200px) clamp(28px, 6vw, 80px) clamp(40px, 6vh, 80px);
  background: var(--ink);
  color: var(--light);
  border-bottom: 1px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.dc-bar {
  display: flex; justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(250,250,247,.16);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(250,250,247,.6);
}
.dc-bar .accent-c { color: var(--accent); }
.dc-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  margin-top: 32px;
}
.dc-l { display: grid; gap: 12px; }
.dc-no { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .14em; }
.dc-name {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(60px, 12vw, 200px);
  line-height: .9;
  letter-spacing: -.045em;
  margin: 0;
  color: var(--light);
}
.dc-tagline {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--accent);
  margin: 0;
  max-width: 32ch;
}
.dc-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  align-self: end;
}
.dc-tag.pipeline { background: transparent; color: var(--accent); border: 1px solid var(--accent); }

.detail-body {
  padding: clamp(80px, 12vh, 140px) clamp(28px, 6vw, 80px);
  background: var(--cream);
  color: var(--ink);
}
.db-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.db-long { display: grid; gap: 20px; }
.db-long p {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.65;
  margin: 0;
  max-width: 62ch;
}
.db-long p.lede {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  letter-spacing: -.012em;
}
.db-section {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.db-section h3 {
  font-family: var(--mono);
  font-size: 11px;
  color: #3c5285;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 18px;
  font-weight: 500;
}
.db-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.db-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  display: flex; justify-content: space-between; gap: 16px;
}
.db-list li b { color: #3c5285; font-weight: 700; }
.db-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.db-pills li {
  padding: 6px 12px;
  border: 1px solid var(--rule);
  background: var(--cream-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}

.db-side {
  position: sticky; top: 100px;
  display: grid; gap: 16px;
}
.side-card {
  padding: 24px;
  background: var(--light);
  border: 1px solid var(--rule);
}
.side-card h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #3c5285;
  font-weight: 500;
  margin: 0 0 14px;
}
.side-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 16px;
}
.side-card dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8089a3;
}
.side-card dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
}
.side-card a { color: #3c5285; }
.side-card a:hover { text-decoration: underline; }

/* Related */
.related {
  padding: clamp(80px, 12vh, 140px) clamp(28px, 6vw, 80px);
  background: var(--cream-2);
  border-top: 1px solid var(--rule);
}
.rl-head { margin-bottom: 32px; }
.rl-head .mono { color: #3c5285; font-size: 12px; }
.rl-head h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -.02em;
  margin: 8px 0 0;
  color: var(--ink);
}
.rl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.rl-card {
  padding: 24px;
  background: var(--light);
  border: 1px solid var(--rule);
  display: grid; gap: 12px;
  transition: background .3s, color .3s, transform .4s var(--eo), border-color .3s;
  position: relative;
}
.rl-card:hover { background: var(--ink); color: var(--light); transform: translateY(-4px); border-color: var(--ink); }
.rl-card .rl-num { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: #3c5285; }
.rl-card:hover .rl-num { color: var(--accent); }
.rl-card h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -.015em;
  margin: 0;
}
.rl-card .rl-sector { font-size: 13px; color: #5a6680; }
.rl-card:hover .rl-sector { color: rgba(250,250,247,.7); }
.rl-card .rl-go { font-family: var(--mono); color: #3c5285; font-size: 14px; margin-top: auto; }
.rl-card:hover .rl-go { color: var(--accent); }

/* Page footer */
.page-foot {
  background: var(--ink);
  color: var(--light);
  padding: 24px clamp(28px, 6vw, 80px);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  flex-wrap: wrap; gap: 14px;
}
.page-foot a { color: var(--accent); }
.page-foot a:hover { color: var(--accent-2); }

/* CTA closer for non-deck pages */
.page-cta {
  padding: clamp(100px, 16vh, 180px) clamp(28px, 6vw, 80px);
  background: var(--accent);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.page-cta-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; gap: 32px;
  justify-items: start;
}
.page-cta h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(48px, 9vw, 140px);
  line-height: .92;
  letter-spacing: -.04em;
  margin: 0;
  max-width: 16ch;
  color: var(--ink);
}
.page-cta p {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: rgba(35,53,96,.85);
  margin: 0;
  max-width: 56ch;
}
.page-cta .actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.page-cta .btn-mega { background: var(--ink); color: var(--accent); border-color: var(--ink); }
.page-cta .btn-mega::before { background: var(--light); }
.page-cta .btn-mega:hover { color: var(--ink); }
.page-cta .btn-link { color: var(--ink); }

/* Apply page */
.ap-cover {
  padding: clamp(120px, 16vh, 200px) clamp(28px, 6vw, 80px) clamp(40px, 6vh, 80px);
  background: var(--cream);
  color: var(--ink);
}
.ap-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(56px, 11vw, 200px);
  line-height: .92;
  letter-spacing: -.045em;
  margin: 32px 0 24px;
}
.ap-title em { color: var(--accent); }
.ap-sub {
  max-width: 56ch;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: #5a6680;
  margin: 0;
}

.ap-form-section {
  padding: clamp(60px, 10vh, 120px) clamp(28px, 6vw, 80px);
  background: var(--cream-2);
  border-top: 1px solid var(--rule);
}
.ap-frame {
  max-width: 900px; margin: 0 auto;
  padding: clamp(28px, 4vw, 56px);
  background: var(--light);
  border: 1px solid var(--rule);
}
.ap-tabs {
  display: inline-flex;
  border: 1px solid var(--ink);
  margin-bottom: 32px;
}
.atab {
  padding: 12px 22px;
  font-family: var(--display); font-weight: 600; font-size: 13px;
  border: 0; background: transparent;
  color: var(--ink);
  cursor: pointer;
  border-right: 1px solid var(--ink);
  transition: background .25s, color .25s;
}
.atab:last-child { border-right: 0; }
.atab.is-on { background: var(--accent); color: var(--ink); }

.ap-form { display: grid; gap: 18px; }
.ap-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ap-form label {
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8089a3;
}
.ap-form label.full { grid-column: 1/-1; }
.ap-form input,
.ap-form select,
.ap-form textarea {
  width: 100%;
  font-family: var(--display); font-size: 18px;
  color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--ink);
  padding: 10px 0 12px;
  outline: 0;
  text-transform: none;
  letter-spacing: -.005em;
}
.ap-form textarea { resize: vertical; min-height: 120px; }
.ap-form input:focus,
.ap-form textarea:focus,
.ap-form select:focus { border-color: var(--accent); border-bottom-width: 2px; }
.form-foot {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 18px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.form-thanks {
  border: 1px solid var(--accent);
  padding: 20px 24px;
  background: rgba(91,121,194,.14);
  margin-top: 12px;
  color: var(--ink);
}
.form-thanks .mono { color: #3c5285; }
.form-thanks p { margin: 4px 0 0; font-family: var(--display); font-size: 18px; }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 980px) {
  .slide { padding: 110px clamp(24px, 5vw, 56px) 100px; }
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .intro-r { display: none; }
  .manifesto-stats { grid-template-columns: repeat(2, 1fr); }
  .manifesto-stats li:nth-child(2) { border-right: 0; }
  .method-list { grid-template-columns: repeat(2, 1fr); }
  .paths-flex { grid-template-columns: 1fr; border-top: 0; }
  .path-tile { border-right: 0; border-bottom: 1px solid var(--rule); }
  .port-table { font-size: 13px; }
  .port-table th, .port-table td { padding: 10px 8px; }
  .bu-dots { display: none; }
  .bu-hint { display: none; }
  .list-cards { grid-template-columns: 1fr; }
  .db-grid { grid-template-columns: 1fr; }
  .db-side { position: static; }
  .rl-grid { grid-template-columns: 1fr; }
  .dc-head { grid-template-columns: 1fr; gap: 16px; }
  .ap-form .row { grid-template-columns: 1fr; }
}

/* ── Mobile: full overhaul — disable snap-scroll, natural flow ── */
@media (max-width: 880px) {
  /* Disable snap-scrolling on mobile so content can flow naturally */
  html { scroll-snap-type: none; height: auto; }
  body { overflow: auto; height: auto; }
  .bu-deck { scroll-snap-type: none; }

  /* Slides become auto-height with natural padding */
  .slide {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    height: auto;
    min-height: auto;
    padding: 100px 24px 40px;
  }

  /* slide-num: static within flow, no longer absolutely positioned */
  .slide-num {
    position: static;
    display: block;
    margin-bottom: 32px;
  }

  /* slide-foot: static at the bottom of natural content */
  .slide-foot {
    position: static;
    margin-top: 48px;
    padding-top: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 10px;
  }

  /* Header: tighter padding, smaller logo */
  .bu-header {
    padding: 14px 18px;
    gap: 12px;
  }
  .bu-logo { font-size: 14px; gap: 8px; }
  .bu-logo svg { width: 18px; height: 18px; }
  .bu-progress { display: none; }
  .bu-port { font-size: 12px; }
  .bu-apply { padding: 8px 14px; font-size: 12px; }

  /* Intro: stack and reduce sizing */
  .intro-grid { grid-template-columns: 1fr; gap: 16px; }
  .intro-r { display: none; }
  .intro-title {
    font-size: clamp(48px, 13vw, 80px);
    margin-bottom: 24px;
  }
  .intro-sub {
    font-size: 15px;
    max-width: 100%;
  }

  /* Manifesto */
  .manifesto-title {
    font-size: clamp(40px, 11vw, 64px);
  }
  .manifesto-stats {
    grid-template-columns: 1fr 1fr;
    margin-top: 32px;
  }
  .manifesto-stats li {
    padding: 18px 12px 0 0;
    border-right: 1px solid var(--rule);
  }
  .manifesto-stats li:nth-child(2n) { border-right: 0; padding-right: 0; }
  .ms-num { font-size: 40px; }
  .ms-lab { font-size: 10px; }

  /* Method */
  .method-title {
    font-size: clamp(32px, 8vw, 56px);
    margin-bottom: 28px;
  }
  .method-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ml-item { padding: 18px 16px; gap: 8px; }
  .ml-num { font-size: 36px; }
  .ml-item h3 { font-size: 17px; }
  .ml-item p { font-size: 13px; }

  /* Paths */
  .paths-q { font-size: clamp(36px, 10vw, 64px); margin-bottom: 24px; }
  .paths-flex { grid-template-columns: 1fr; border-top: 0; }
  .path-tile {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding: 24px 18px;
  }
  .pt-mega { font-size: 64px; }
  .pt-line { font-size: 17px; }

  /* Sectors */
  .sec-stack-bu li {
    font-size: clamp(32px, 9vw, 56px);
    padding: 12px 0;
  }
  .sec-stack-bu li i { font-size: 10px; }
  .sec-caption { font-size: 17px; }

  /* Portfolio */
  .port-q { font-size: clamp(32px, 9vw, 56px); margin-bottom: 24px; }
  .port-table { font-size: 13px; }
  .port-table th, .port-table td {
    padding: 10px 6px;
  }
  .port-table th:nth-child(4), .port-table td:nth-child(4) { display: none; }
  .port-table b { font-size: 16px; }

  /* Apply */
  .apply-title { font-size: clamp(44px, 12vw, 80px); }
  .apply-sub { font-size: 15px; }
  .apply-actions { gap: 16px; }
  .btn-mega { padding: 14px 22px; font-size: 14px; }
  .apply-mark {
    width: 280px; min-width: 240px;
    right: -15%; bottom: -10%;
  }

  /* Side dots / hints hidden */
  .bu-dots { display: none; }
  .bu-hint { display: none; }

  /* Non-deck pages */
  .pc-title { font-size: clamp(44px, 13vw, 80px); margin: 24px 0 12px; }
  .pc-sub, .ap-sub { font-size: 15px; }
  .list-section { padding: 60px 18px; }
  .list-section h2 { font-size: 26px; margin-bottom: 22px; }
  .list-section h2 span { display: block; margin-left: 0; margin-top: 6px; font-size: 11px; }
  .list-cards { grid-template-columns: 1fr; gap: 10px; }
  .list-card { padding: 22px; }
  .list-card h3 { font-size: 26px; }

  /* Portfolio detail */
  .detail-cover { padding: 100px 18px 40px; }
  .dc-name { font-size: clamp(48px, 14vw, 80px); }
  .dc-tagline { font-size: 18px; }
  .dc-tag { align-self: start; padding: 6px 12px; }
  .detail-body { padding: 60px 18px; }
  .db-grid { grid-template-columns: 1fr; gap: 32px; }
  .db-side { position: static; }
  .db-long p { font-size: 16px; }
  .db-long p.lede { font-size: 19px; }
  .related { padding: 60px 18px; }
  .rl-grid { grid-template-columns: 1fr; gap: 10px; }
  .rl-head h3 { font-size: 24px; }

  /* CTA closer / page footer */
  .page-cta { padding: 80px 18px; }
  .page-cta h2 { font-size: clamp(40px, 12vw, 64px); }
  .page-cta p { font-size: 15px; }
  .page-cta .actions { gap: 16px; }
  .page-foot {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 18px;
    font-size: 10px;
  }

  /* Apply page */
  .ap-cover { padding: 100px 18px 40px; }
  .ap-title { font-size: clamp(48px, 14vw, 96px); margin: 18px 0 14px; }
  .ap-form-section { padding: 60px 18px; }
  .ap-frame { padding: 22px; }
  .ap-tabs { display: flex; flex-wrap: wrap; }
  .atab { padding: 10px 14px; font-size: 12px; flex: 1; min-width: 33%; }
  .ap-form .row { grid-template-columns: 1fr; gap: 14px; }
  .ap-form input, .ap-form select, .ap-form textarea { font-size: 16px; }
  .form-foot { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ── Extra-small mobile (≤ 480px) ───────────────── */
@media (max-width: 480px) {
  .slide { padding: 88px 16px 32px; }
  .intro-title { font-size: clamp(42px, 14vw, 64px); letter-spacing: -.04em; }
  .manifesto-title { font-size: clamp(34px, 11vw, 52px); }
  .manifesto-stats { grid-template-columns: 1fr; }
  .manifesto-stats li {
    border-right: 0 !important;
    border-bottom: 1px solid var(--rule);
    padding: 14px 0;
  }
  .manifesto-stats li:last-child { border-bottom: 0; }
  .method-title { font-size: clamp(28px, 9vw, 44px); }
  .paths-q { font-size: clamp(32px, 11vw, 52px); }
  .pt-mega { font-size: 52px; }
  .sec-stack-bu li { font-size: clamp(28px, 9vw, 44px); }
  .port-q, .apply-title { font-size: clamp(34px, 12vw, 56px); }
  .port-table th:nth-child(3), .port-table td:nth-child(3) { display: none; }
  .port-table b { font-size: 15px; }
  .bu-port { display: none; }
  .pc-title { font-size: clamp(36px, 14vw, 60px); }
  .dc-name { font-size: clamp(40px, 15vw, 64px); }
  .list-card h3 { font-size: 22px; }
  .ap-title { font-size: clamp(40px, 15vw, 64px); }
}

/* ── Tiny phones (≤ 360px) ──────────────────────── */
@media (max-width: 360px) {
  .slide { padding: 80px 14px 28px; }
  .bu-header { padding: 12px 14px; }
  .bu-logo { font-size: 13px; }
  .bu-apply { padding: 6px 10px; font-size: 11px; }
  .intro-sub, .pc-sub, .ap-sub { font-size: 14px; }
  .ml-item { padding: 14px 12px; }
  .path-tile { padding: 18px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .slide .word { transform: none !important; opacity: 1 !important; }
  .manifesto-stats li, .ml-item, .path-tile, .sec-stack-bu li, .port-table tr,
  .intro-sub, .intro-logo, .apply-sub, .apply-actions {
    opacity: 1 !important; transform: none !important;
  }
  html { scroll-snap-type: none; }
}
