/* ═══════════════════════════════════════════════════════════
   Get Started Ventures · v2 — "Défilé"
   A horizontal-scroll home page. The page advances left → right;
   each section is a full-screen panel.
   Warm greige / stone register. General Sans.
   ═══════════════════════════════════════════════════════════ */

/* ── Design tokens ─────────────────────────────────── */
:root {
  /* Palette — warm greige / stone */
  --bg:       #ECE7DF;   /* warm greige */
  --panel-a:  #F5F1EA;   /* lightest panel / surface */
  --panel-b:  #EBE4D9;   /* mid greige */
  --panel-c:  #E0D8C8;   /* deeper greige */
  --lav:      #CDBC95;   /* soft sand — decorative marks */
  --ink:      #2C2823;   /* running text — warm near-black */
  --muted:    #645B50;   /* secondary text — AA */
  --accent:   #8A6D44;   /* brass — links, rules, marks */
  --accent-d: #5F4A2E;   /* darker brass — AA text on light */
  --line:     rgba(44, 40, 35, .14);
  --line-2:   rgba(44, 40, 35, .28);

  /* Type */
  --font: "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --eo:   cubic-bezier(.16, 1, .3, 1);

  /* Layout */
  --header-h: 72px;
  --pad-x:    clamp(28px, 5.4vw, 104px);
}

/* ── Reset / base ──────────────────────────────────── */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Lock the viewport — the deck owns the scrolling */
  overflow: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
b { font-weight: 600; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent-d);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-160%);
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ── Header (fixed, above the deck) ────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--pad-x);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-mark { display: inline-flex; color: var(--accent); transition: transform .8s var(--eo); }
.brand:hover .brand-mark { transform: rotate(180deg); }
.brand-word b { color: var(--accent-d); }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}
.site-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 0;
  transition: color .25s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1.5px;
  background: var(--accent);
  transition: right .3s var(--eo);
}
.site-nav a:hover,
.site-nav a.is-current { color: var(--ink); }
.site-nav a:hover::after,
.site-nav a.is-current::after { right: 0; }

.btn-apply {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.btn-apply:hover { background: var(--accent-d); transform: translateY(-1px); }
.btn-apply span:last-child { transition: transform .3s var(--eo); }
.btn-apply:hover span:last-child { transform: translateX(3px); }

/* ── Deck — the horizontal scroll container ────────── */
.deck {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.deck::-webkit-scrollbar { height: 8px; }
.deck::-webkit-scrollbar-track { background: transparent; }
.deck::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--accent) 60%, transparent);
  border-radius: 999px;
}
.deck::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── Panel base ────────────────────────────────────── */
.panel {
  position: relative;
  flex: 0 0 auto;
  width: 100vw;
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + clamp(20px, 3.4vh, 44px)) var(--pad-x)
           clamp(22px, 3.6vh, 46px);
  overflow: hidden;
}
/* Dense panels get extra width so content can breathe.
   Specific panels override .wide — match its specificity (0,2,0). */
.panel.wide            { width: max(100vw, min(150vw, 1440px)); }
.panel.panel-portfolio { width: max(100vw, min(204vw, 1880px)); }  /* 7 ventures, one row */
.panel.panel-closer    { width: max(100vw, min(138vw, 1300px)); }

/* Per-panel backgrounds vary gently along the greige register */
.panel-hero      { background: var(--panel-a); }
.panel-firm      { background: var(--panel-b); }
.panel-method    { background: var(--panel-c); }
.panel-sectors   { background: var(--panel-b); }
.panel-portfolio { background: var(--panel-a); }
.panel-paths     { background: var(--panel-c); }
.panel-closer    { background: var(--ink); color: var(--bg); }

.panel-inner {
  flex: 1 1 auto;
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* Panel foot — a thin meta line pinned to the panel bottom */
.panel-foot {
  flex-shrink: 0;
  width: 100%;
  max-width: 1340px;
  margin: clamp(14px, 2.4vh, 28px) auto 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 14px 28px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
}
.panel-closer .panel-foot { border-color: rgba(255,255,255,.16); }
.foot-link {
  color: var(--accent-d);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity .25s var(--ease);
}
.foot-link:hover { opacity: .65; }

/* ── Shared section typography ─────────────────────── */
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-d);
}
.section-title {
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 50px);
  line-height: 1.08;
  letter-spacing: -.025em;
  color: var(--ink);
}
.section-body {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  color: var(--muted);
}

/* ── Reveal mechanism ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--eo), transform .7s var(--eo);
}
.panel.is-in .reveal {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--rv, 0) * 90ms);
}

/* ── Buttons ───────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.btn-primary:hover { background: var(--accent-d); transform: translateY(-2px); }
.btn-primary span:last-child { transition: transform .3s var(--eo); }
.btn-primary:hover span:last-child { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 15px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(138,109,68,.08); }

.btn-link {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  padding-bottom: 2px;
}
.btn-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: currentColor;
  transform-origin: right;
  transition: transform .35s var(--eo);
}
.btn-link:hover::after { transform: scaleX(0); }

/* ════════ Panel · Hero ════════ */
.hero-inner { justify-content: center; }
.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-d);
  margin-bottom: clamp(16px, 2.4vh, 28px);
}
.hero-title {
  font-weight: 600;
  font-size: clamp(48px, 8.4vw, 132px);
  line-height: .98;
  letter-spacing: -.04em;
  color: var(--ink);
}
.hero-title span { display: block; }
.hero-accent { color: var(--accent-d); }
.hero-sub {
  max-width: 58ch;
  margin: clamp(20px, 3vh, 34px) 0 clamp(26px, 3.6vh, 40px);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.65;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
/* Centred via inset:0 + margin:auto so it never extends the panel's
   scroll height (a translateY trick would inflate scrollHeight). */
.hero-mark {
  position: absolute;
  top: 0;
  bottom: 0;
  right: clamp(-40px, -1vw, 0px);
  margin: auto 0;
  width: clamp(260px, 32vw, 500px);
  height: clamp(260px, 32vw, 500px);
  color: var(--lav);
  opacity: .9;
  z-index: 0;
  pointer-events: none;
}
.hero-mark svg { width: 100%; height: 100%; overflow: visible; }
.hero-inner { position: relative; z-index: 1; }
.panel-tag {
  position: absolute;
  left: var(--pad-x);
  bottom: clamp(22px, 3.6vh, 46px);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--accent-d);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.panel-tag span { animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(6px); }
}

/* ════════ Panel 01 · The firm ════════ */
.firm-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.firm-text { display: flex; flex-direction: column; gap: clamp(14px, 2vh, 22px); }
.firm-text .section-title { max-width: 17ch; }
.firm-text .section-body { max-width: 52ch; }
.firm-signature {
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--accent-d);
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat {
  background: var(--panel-b);
  padding: clamp(18px, 2.6vh, 30px) clamp(16px, 1.8vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-num {
  font-size: clamp(40px, 4.6vw, 68px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--accent-d);
  font-feature-settings: "tnum" 1;
}
.stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--muted);
}

/* ════════ Panel 02 · The method ════════ */
.method-inner { gap: clamp(20px, 3.4vh, 42px); }
.method-head { display: flex; flex-direction: column; gap: 12px; }
.method-head .section-title { max-width: 22ch; }
.steps {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.2vw, 18px);
  align-content: center;
  min-height: 0;
}
.step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: clamp(18px, 2.4vh, 32px) clamp(16px, 1.4vw, 24px);
  background: rgba(255,255,255,.5);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.step:hover {
  background: #fff;
  border-color: var(--accent);
  transform: translateY(-4px);
}
.step-when {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-d);
}
.step-num {
  font-size: clamp(34px, 3.4vw, 50px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--lav);
}
.step-title {
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.015em;
  color: var(--ink);
}
.step-body {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ════════ Panel 03 · Where we play ════════ */
.sectors-inner { gap: clamp(18px, 3vh, 36px); }
.sectors-head { display: flex; flex-direction: column; gap: 12px; }
.sectors-head .section-title { max-width: 24ch; }
.sectors-grid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: clamp(12px, 1vw, 18px);
  min-height: 0;
}
.sector {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: clamp(16px, 2.2vh, 30px) clamp(16px, 1.5vw, 28px);
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.sector:hover {
  background: #fff;
  border-color: var(--accent);
  transform: translateY(-4px);
}
.sector-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--accent-d);
}
.sector-name {
  font-size: clamp(17px, 1.5vw, 23px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ink);
}
.sector-body {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ════════ Panel 04 · Selected portfolio ════════ */
.portfolio-inner { gap: clamp(16px, 2.6vh, 32px); }
.portfolio-head { display: flex; flex-direction: column; gap: 12px; }
.portfolio-head .section-title { max-width: 22ch; }
/* 7 ventures sit on a single row — one column each. The panel is
   extra-wide so the row spreads out; one row means zero vertical
   overflow. Cards stretch to share one tall row. */
.ventures {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: clamp(10px, .9vw, 16px);
  align-content: stretch;
  min-height: 0;
}
.venture {
  background: rgba(255,255,255,.6);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.venture:hover {
  background: #fff;
  border-color: var(--accent);
  transform: translateY(-4px);
}
.venture a {
  display: flex;
  flex-direction: column;
  gap: 9px;
  height: 100%;
  padding: clamp(20px, 3vh, 32px) clamp(14px, 1vw, 20px);
}
.venture-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--accent-d);
}
.venture-name {
  font-size: clamp(19px, 1.5vw, 25px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.025em;
  color: var(--ink);
}
.venture-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}
.venture-meta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: 11px;
  letter-spacing: .03em;
}
.venture-sector { color: var(--muted); }
.venture-year { color: var(--accent-d); font-weight: 600; }
.venture-stage {
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
}
.venture-stage[data-stage="launched"] {
  color: var(--accent-d);
  background: rgba(138,109,68,.14);
}
.venture-stage[data-stage="pipeline"] {
  color: var(--muted);
  border: 1px solid var(--line-2);
}

/* ════════ Panel 05 · Three paths ════════ */
.paths-inner { gap: clamp(18px, 3vh, 40px); }
.paths-head { display: flex; flex-direction: column; gap: 12px; }
.paths-head .section-title { max-width: 26ch; }
.paths-grid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.4vw, 24px);
  align-content: center;
  min-height: 0;
}
.path {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 3.4vh, 42px) clamp(20px, 2vw, 34px);
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.path::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .5s var(--eo);
}
.path:hover { transform: translateY(-6px); border-color: var(--ink); }
.path:hover::before { transform: translateY(0); }
.path-num {
  font-size: clamp(40px, 4vw, 62px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--lav);
  transition: color .35s var(--ease);
}
.path:hover .path-num { color: var(--accent); }
.path-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-d);
  transition: color .35s var(--ease);
}
.path:hover .path-tag { color: var(--lav); }
.path-lead {
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.018em;
  color: var(--ink);
  transition: color .35s var(--ease);
}
.path:hover .path-lead { color: var(--bg); }
.path-body {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  transition: color .35s var(--ease);
}
.path:hover .path-body { color: rgba(236,231,223,.78); }
.path-go {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-d);
  transition: color .35s var(--ease);
}
.path:hover .path-go { color: var(--lav); }
.path-go span { transition: transform .3s var(--eo); }
.path:hover .path-go span { transform: translateX(5px); }

/* ════════ Panel · CTA closer + footer ════════ */
.closer-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
}
.closer-cta { display: flex; flex-direction: column; gap: clamp(14px, 2vh, 22px); }
.closer-cta .section-label { color: var(--lav); }
.closer-title {
  font-weight: 600;
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -.035em;
  color: var(--bg);
  max-width: 14ch;
}
.closer-body {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.65;
  color: rgba(236,231,223,.74);
  max-width: 48ch;
}
.closer-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.closer-actions .btn-primary {
  background: var(--lav);
  color: var(--ink);
}
.closer-actions .btn-primary:hover { background: #fff; }
.closer-actions .btn-link { color: var(--lav); }
.closer-note {
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(236,231,223,.55);
}

/* Footer — sits in the right half of the closer panel */
.site-footer {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.6vh, 30px);
  padding: clamp(22px, 3vh, 36px);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--bg);
}
.footer-mark .brand-mark { color: var(--lav); }
.footer-mark .brand-word b { color: var(--lav); }
.footer-line {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(236,231,223,.6);
  max-width: 34ch;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 20px;
}
.footer-col h3 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lav);
  margin-bottom: 10px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 6px; }
.footer-col li { font-size: 13px; }
.footer-col a,
.footer-col span { color: rgba(236,231,223,.7); }
.footer-col a { transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--bg); }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(236,231,223,.5);
}

/* ── Horizontal progress bar (bottom) ──────────────── */
.progress {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 100;
  height: 4px;
  background: rgba(44, 40, 35, .1);
}
.progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-d));
  transition: width .12s linear;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — small desktop / tablet (still horizontal).
   Panels stay full-height, so dense content is compacted
   rather than stacked (stacking would overflow vertically).
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1180px) and (min-width: 861px) {
  .panel.wide            { width: max(100vw, min(178vw, 1400px)); }
  .panel.panel-portfolio { width: max(100vw, min(228vw, 1760px)); }
  .panel.panel-closer    { width: max(100vw, min(168vw, 1340px)); }

  /* Firm — stats drop below the text, in one row of 4 */
  .firm-inner { grid-template-columns: 1fr; gap: clamp(20px, 3vh, 34px); }
  .stats { grid-template-columns: repeat(4, 1fr); }

  /* Closer — keep two columns (stacking overflows the panel);
     compact the footer so it fits the panel height. */
  .closer-inner { gap: clamp(24px, 3.6vw, 48px); }
  .site-footer { gap: 16px; padding: 22px; }
  .footer-line { display: none; }
  .footer-cols { gap: 14px 16px; }
  .footer-col li { font-size: 12px; }
}

/* ═══════════════════════════════════════════════════════
   MOBILE — drop the horizontal scroll, return to a
   natural vertical column. ≤ 860px.
   ═══════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  body { overflow: auto; }

  .deck {
    position: static;
    flex-direction: column;
    overflow: visible;
    scroll-snap-type: none;
    height: auto;
  }

  .panel,
  .panel.wide {
    width: 100%;
    height: auto;
    min-height: auto;
    scroll-snap-align: none;
    padding: clamp(64px, 12vh, 96px) clamp(20px, 6vw, 40px) clamp(40px, 7vh, 64px);
  }
  .panel-hero { min-height: 86vh; justify-content: center; }

  .panel-inner { min-height: 0; }
  .panel-foot { margin-top: clamp(26px, 5vh, 44px); }

  /* Hero */
  .hero-mark {
    position: static;
    transform: none;
    width: clamp(140px, 40vw, 220px);
    margin: clamp(28px, 5vh, 44px) 0 0;
    opacity: .8;
  }
  .panel-tag { display: none; }

  /* Firm */
  .firm-inner { grid-template-columns: 1fr; gap: clamp(26px, 5vh, 40px); }
  .stats { grid-template-columns: 1fr 1fr; }

  /* Method — 4 steps stack vertically */
  .steps {
    grid-template-columns: 1fr;
    gap: 12px;
    align-content: start;
  }
  .step-body { margin-top: 4px; }

  /* Sectors — 1 column */
  .sectors-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 12px;
  }
  .sector-body { margin-top: 4px; }

  /* Portfolio — 1 column */
  .ventures {
    grid-template-columns: 1fr;
    gap: 12px;
    align-content: start;
  }
  .venture:last-child { grid-column: span 1; }

  /* Paths — 1 column */
  .paths-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    align-content: start;
  }
  .path-body { margin-bottom: 4px; }

  /* Closer + footer */
  .closer-inner { grid-template-columns: 1fr; gap: clamp(30px, 6vh, 48px); }
  .footer-cols { grid-template-columns: 1fr 1fr; }

  /* Header */
  .site-header { height: 60px; gap: 12px; }
  .site-nav { display: none; }
  .brand { font-size: 15px; }
  :root { --header-h: 60px; }

  /* Progress bar is meaningless in vertical mode */
  .progress { display: none; }
}

/* ── Narrow phones (≤ 420px) ───────────────────────── */
@media (max-width: 420px) {
  .panel,
  .panel.wide { padding-left: 18px; padding-right: 18px; }
  .stats { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════
   Reduced motion — neutralise reveals & smooth scroll.
   Horizontal navigation stays fully functional.
   ═══════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .progress-fill { transition: none !important; }
  .panel-tag span { animation: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   INNER PAGES — vertical scroll layout
   apply.html · portfolio.html · portfolio/<slug>.html
   These pages share palette, General Sans, header and buttons
   from above. They do NOT use .deck / .panel / .reveal.
   ═══════════════════════════════════════════════════════════ */

/* ── Inner-page body reset ──────────────────────────── */
.inner-page {
  overflow: auto;
  height: auto;
  background: var(--bg);
  color: var(--ink);
}

/* ── Inner-page hero ────────────────────────────────── */
.ip-hero {
  padding: calc(var(--header-h) + clamp(48px, 8vh, 96px)) var(--pad-x) clamp(40px, 7vh, 80px);
  background: var(--panel-a);
  border-bottom: 1px solid var(--line);
}
.ip-hero-inner { max-width: 800px; }
.ip-hero .section-label { margin-bottom: 18px; }
.ip-title {
  font-weight: 600;
  font-size: clamp(34px, 5.2vw, 72px);
  line-height: 1.04;
  letter-spacing: -.035em;
  color: var(--ink);
  margin: 0 0 clamp(16px, 2.6vh, 28px);
}
.ip-sub {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.65;
  color: var(--muted);
  max-width: 58ch;
  margin: 0 0 clamp(12px, 2vh, 20px);
}
.ip-meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-d);
}

/* ── Shared CTA section (apply + portfolio + detail) ── */
.ip-cta {
  background: var(--ink);
  padding: clamp(56px, 10vh, 112px) var(--pad-x);
}
.ip-cta-inner {
  max-width: 680px;
  margin: 0 auto;
}
.ip-cta .section-label { color: var(--lav); margin-bottom: 16px; }
.ip-cta-title {
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -.035em;
  color: var(--bg);
  margin: 0 0 clamp(14px, 2vh, 22px);
}
.ip-cta-body {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.65;
  color: rgba(236,231,223,.74);
  max-width: 48ch;
  margin: 0 0 clamp(24px, 3.4vh, 38px);
}
.ip-cta-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.ip-cta-actions .btn-primary {
  background: var(--lav);
  color: var(--ink);
}
.ip-cta-actions .btn-primary:hover { background: #fff; }
.ip-cta-actions .btn-link { color: var(--lav); }
.ip-cta-note {
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(236,231,223,.5);
}

/* ── Inner-page footer ──────────────────────────────── */
.ip-footer {
  background: var(--panel-b);
  border-top: 1px solid var(--line);
  padding: clamp(28px, 4.6vh, 48px) var(--pad-x);
}
.ip-footer-inner {
  max-width: 1340px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px 40px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.ip-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  flex-shrink: 0;
}
.ip-footer-brand .brand-mark { color: var(--accent); }
.ip-footer-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  flex-wrap: wrap;
}
.ip-footer-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: color .25s var(--ease);
}
.ip-footer-nav a:hover { color: var(--ink); }
.ip-footer-copy {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
}

/* ════════════════════════════════════════════════════════
   APPLY PAGE
   ════════════════════════════════════════════════════════ */

.ap-section {
  padding: clamp(48px, 8vh, 96px) var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(40px, 6vw, 80px);
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* Tabs */
.ap-frame { min-width: 0; }
.ap-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}
.ap-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color .25s var(--ease), border-color .25s var(--ease);
  font-family: var(--font);
  margin-bottom: -1px;
}
.ap-tab:hover { color: var(--ink); }
.ap-tab.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.tab-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--accent-d);
}
.ap-tab.is-active .tab-num { color: var(--accent-d); }

/* Tab description strip */
.tab-desc {
  padding: 16px 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

/* Form fields */
.ap-form { display: flex; flex-direction: column; gap: 20px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.field-wrap.full { grid-column: 1 / -1; }
.field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .01em;
}
.field-opt {
  font-weight: 400;
  color: var(--muted);
}
.field-input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,.8);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--ink);
  outline: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field-input::placeholder { color: var(--lav); }
.field-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(138,109,68,.18); }
textarea.field-input { resize: vertical; min-height: 120px; line-height: 1.6; }
select.field-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23645B50' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }

.field-err {
  font-size: 12px;
  color: #c0392b;
  display: none;
}
.has-error .field-input { border-color: #c0392b; }
.has-error .field-err { display: block; }

.ap-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 8px;
}
.ap-note {
  font-size: 13px;
  color: var(--muted);
}

/* Confirmation */
.ap-thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: clamp(36px, 6vh, 60px) 0;
  text-align: center;
}
.thanks-mark { color: var(--accent-d); }
.thanks-title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
}
.thanks-body { font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 44ch; }

/* Apply sidebar */
.ap-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: clamp(48px, 7vh, 64px);
}
.aside-card {
  padding: 20px 22px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.aside-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-d);
  margin: 0 0 8px;
}
.aside-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}
.aside-contact .aside-label { margin-bottom: 10px; }
.aside-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-d);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity .25s var(--ease);
}
.aside-link:hover { opacity: .65; }

/* ════════════════════════════════════════════════════════
   PORTFOLIO LIST PAGE
   ════════════════════════════════════════════════════════ */

.pf-group {
  padding: clamp(48px, 7vh, 80px) var(--pad-x);
  background: var(--panel-b);
}
.pf-group:nth-child(even) { background: var(--panel-a); }
.pf-group-pipeline { background: var(--panel-c); }

.pf-group-inner { max-width: 1240px; margin: 0 auto; }

.pf-group-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: clamp(24px, 4vh, 40px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.pf-group-title {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -.025em;
  color: var(--ink);
}
.pf-group-count {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--accent-d);
}

.pf-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: clamp(14px, 1.4vw, 20px);
}
.pf-card {
  background: rgba(255,255,255,.65);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  position: relative;
}
.pf-card:hover {
  background: #fff;
  border-color: var(--accent);
  transform: translateY(-4px);
}
.pf-card a {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 3vh, 28px) clamp(18px, 1.6vw, 24px);
  height: 100%;
}
.pf-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pf-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--accent-d);
}
.pf-stage {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
}
.pf-stage[data-stage="launched"] {
  color: var(--accent-d);
  background: rgba(138,109,68,.14);
}
.pf-stage[data-stage="pipeline"] {
  color: var(--muted);
  border: 1px solid var(--line-2);
}
.pf-card-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 8px; }
.pf-name {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.03em;
  color: var(--ink);
}
.pf-tagline {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.pf-card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .03em;
}
.pf-sector { color: var(--muted); }
.pf-year { color: var(--accent-d); font-weight: 600; }
.pf-hq { color: var(--muted); }
.pf-go {
  position: absolute;
  top: clamp(20px, 3vh, 28px);
  right: clamp(18px, 1.6vw, 24px);
  font-size: 16px;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.pf-card:hover .pf-go { opacity: 1; transform: translateX(0); }

/* ════════════════════════════════════════════════════════
   PORTFOLIO DETAIL PAGE
   ════════════════════════════════════════════════════════ */

/* ── Detail hero ── */
.dt-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(48px, 8vh, 96px)) var(--pad-x) clamp(48px, 7vh, 80px);
  background: var(--panel-b);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.dt-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.dt-hero-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.dt-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--accent-d);
}
.dt-stage {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
}
.dt-stage[data-stage="launched"] {
  color: var(--accent-d);
  background: rgba(138,109,68,.14);
}
.dt-stage[data-stage="pipeline"] {
  color: var(--muted);
  border: 1px solid var(--line-2);
}
.dt-sector {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.dt-name {
  font-size: clamp(40px, 6.4vw, 88px);
  font-weight: 600;
  line-height: .96;
  letter-spacing: -.04em;
  color: var(--ink);
  margin: 0 0 clamp(14px, 2vh, 22px);
}
.dt-tagline {
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.015em;
  color: var(--muted);
  max-width: 44ch;
  margin: 0 0 clamp(18px, 2.8vh, 28px);
}
.dt-hero-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--accent-d);
}
/* Decorative mark */
.dt-hero-mark {
  position: absolute;
  top: 0; bottom: 0;
  right: clamp(-20px, -1vw, 40px);
  margin: auto 0;
  width: clamp(220px, 28vw, 420px);
  height: clamp(220px, 28vw, 420px);
  color: var(--lav);
  opacity: .55;
  z-index: 0;
  pointer-events: none;
}
.dt-hero-mark svg { width: 100%; height: 100%; overflow: visible; }

/* ── Detail body ── */
.dt-body {
  padding: clamp(48px, 8vh, 88px) var(--pad-x);
  background: var(--panel-a);
}
.dt-body-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

/* Long-form text */
.dt-long { display: flex; flex-direction: column; gap: clamp(28px, 4vh, 44px); }
.dt-lede {
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -.01em;
  color: var(--ink);
}
.dt-para {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.7;
  color: var(--muted);
}

.dt-section { display: flex; flex-direction: column; gap: 16px; }
.dt-section-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-d);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

/* Services pills */
.dt-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dt-pills li {
  padding: 7px 14px;
  background: rgba(138,109,68,.1);
  border: 1px solid rgba(138,109,68,.22);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-d);
}

/* Leadership */
.dt-people { display: flex; flex-direction: column; gap: 10px; }
.dt-people li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.dt-people li:last-child { border-bottom: none; }
.dt-people strong { font-size: 14px; font-weight: 600; color: var(--ink); }
.dt-people span { font-size: 13px; color: var(--muted); }

/* KPIs / targets */
.dt-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.dt-kpi {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(18px, 2.6vh, 26px) clamp(16px, 1.4vw, 22px);
  background: rgba(255,255,255,.7);
}
.dt-kpi-num {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--accent-d);
  font-feature-settings: "tnum" 1;
}
.dt-kpi-lab {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--muted);
}

/* ── Detail sidebar ── */
.dt-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.dt-glance, .dt-contact, .dt-others {
  padding: 22px;
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.dt-glance-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-d);
  margin: 0 0 14px;
}
.dt-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  font-size: 13px;
}
.dt-dl dt {
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.dt-dl dd {
  color: var(--ink);
  margin: 0;
}
.dt-dl a { color: var(--accent-d); border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: opacity .25s var(--ease); }
.dt-dl a:hover { opacity: .65; }

/* Other ventures list */
.dt-others { padding: 18px 22px; }
.dt-other {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  transition: color .25s var(--ease);
}
.dt-other:last-child { border-bottom: none; padding-bottom: 0; }
.dt-other:hover { color: var(--accent-d); }
.dt-other-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.dt-other:hover .dt-other-name { color: var(--accent-d); }
.dt-other-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dt-other-arrow { font-size: 13px; color: var(--accent); opacity: 0; transform: translateX(-4px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.dt-other:hover .dt-other-arrow { opacity: 1; transform: translateX(0); }

/* ── Next ventures ── */
.dt-next {
  padding: clamp(48px, 8vh, 88px) var(--pad-x);
  background: var(--panel-c);
  border-top: 1px solid var(--line);
}
.dt-next-inner { max-width: 1240px; margin: 0 auto; }
.dt-next-head {
  margin-bottom: clamp(28px, 4vh, 44px);
}
.dt-next-title {
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 600;
  letter-spacing: -.03em;
  color: var(--ink);
  margin: 8px 0 0;
}
.dt-next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.2vw, 20px);
}
.dt-next-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 3.4vh, 32px) clamp(18px, 1.6vw, 26px);
  background: rgba(255,255,255,.6);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.dt-next-card:hover {
  background: #fff;
  border-color: var(--accent);
  transform: translateY(-4px);
}
.dt-next-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--accent-d);
}
.dt-next-name {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -.03em;
  color: var(--ink);
  line-height: 1.06;
}
.dt-next-tagline {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  flex: 1 1 auto;
}
.dt-next-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  gap: 10px;
}
.dt-next-arrow {
  font-size: 15px;
  color: var(--accent);
  transform: translateX(-4px);
  opacity: 0;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.dt-next-card:hover .dt-next-arrow { opacity: 1; transform: translateX(0); }

/* ════════════════════════════════════════════════════════
   INNER PAGES — RESPONSIVE
   ════════════════════════════════════════════════════════ */

@media (max-width: 1080px) {
  .dt-body-inner { grid-template-columns: 1fr 260px; }
  .ap-section { grid-template-columns: 1fr; max-width: 760px; }
  .ap-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 0;
  }
}

@media (max-width: 860px) {
  /* apply */
  .field-row { grid-template-columns: 1fr; }
  .ap-section { padding-left: clamp(20px, 6vw, 40px); padding-right: clamp(20px, 6vw, 40px); }

  /* portfolio list */
  .pf-list { grid-template-columns: 1fr; }

  /* detail */
  .dt-body-inner { grid-template-columns: 1fr; }
  .dt-side { position: static; }
  .dt-next-grid { grid-template-columns: 1fr; gap: 12px; }

  /* hero mark */
  .dt-hero-mark { display: none; }
}

@media (max-width: 600px) {
  .ap-aside { grid-template-columns: 1fr; }
  .dt-kpis { grid-template-columns: 1fr 1fr; }

  .ip-footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .ip-footer-nav { gap: 12px; }
}

@media (max-width: 420px) {
  .dt-kpis { grid-template-columns: 1fr; }
  .pf-card a { padding: 18px; }
  .ip-cta-actions { flex-direction: column; align-items: flex-start; }
  .ip-cta-actions .btn-primary { width: 100%; justify-content: center; }
}
