/* ==========================================================================
   Paul Onwuanibe — site styles
   Light/dark theming via [data-theme] on <html>. Tokens first.
   ========================================================================== */
:root {
  --bg: #EFEAE2;
  --bg-2: #E6DFD3;
  --bg-3: #DDD4C5;
  --ink: #151311;
  --ink-2: #6B6358;
  --line: rgba(21, 19, 17, .14);
  --accent: #A4652E;
  --inv-bg: #151311;
  --inv-ink: #EFEAE2;
  --inv-ink-2: #9D9488;
  --inv-line: rgba(239, 234, 226, .14);

  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --caps: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --editorial: system-ui, -apple-system, 'Segoe UI', Arial, Helvetica, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;

  --gutter: clamp(16px, 2.6vw, 40px);
  --max: 1680px;
  --header-h: 76px;
  --ease: cubic-bezier(.76, 0, .24, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0D0C0B;
  --bg-2: #161412;
  --bg-3: #1F1C19;
  --ink: #EDE6DA;
  --ink-2: #8F867A;
  --line: rgba(237, 230, 218, .12);
  --accent: #D39A5C;
  --inv-bg: #EDE6DA;
  --inv-ink: #0D0C0B;
  --inv-ink-2: #5E574E;
  --inv-line: rgba(13, 12, 11, .14);
  color-scheme: dark;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.loader-pending { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  font-optical-sizing: auto;
  transition: background-color .6s var(--ease), color .6s var(--ease);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 4px; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 99px; }
.skip:focus { top: 16px; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- layout primitives ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(96px, 14vw, 220px) 0; position: relative; }
.center { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 88px); }
.label { font-family: var(--caps); font-weight: 500; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); display: inline-flex; align-items: center; gap: 14px; }
.label::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .55; flex: none; }
.it, em { font-style: italic; }
.sticky { position: sticky; top: calc(var(--header-h) + 24px); display: inline-block; }
.invert { background: var(--inv-bg); color: var(--inv-ink); --bg: var(--inv-bg); --bg-2: color-mix(in srgb, var(--inv-bg) 92%, var(--inv-ink)); --ink: var(--inv-ink); --ink-2: var(--inv-ink-2); --line: var(--inv-line); }

.shead { display: grid; gap: 24px; margin-bottom: clamp(48px, 6vw, 96px); max-width: 1100px; }
.shead__title { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.8vw, 104px); line-height: .95; letter-spacing: -.02em; }
.shead__intro { max-width: 560px; color: var(--ink-2); font-size: clamp(16px, 1.25vw, 19px); }
.shead--row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; max-width: none; }

/* split text masks */
.line-mask { overflow: hidden; display: block; padding-bottom: .08em; margin-bottom: -.08em; }
.w { display: inline-block; overflow: hidden; vertical-align: top; }
.w > span { display: inline-block; }

/* ---------- links & buttons ---------- */
.ulink { position: relative; display: inline-block; }
.ulink::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.ulink:hover::after { transform: scaleX(1); transform-origin: left; }
.link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.btn {
  --h: 56px;
  position: relative; display: inline-flex; align-items: center; gap: 14px; height: var(--h);
  padding: 0 8px 0 26px; border-radius: 99px; border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  font-size: 15px; font-weight: 500; letter-spacing: -.005em; color: var(--ink); white-space: nowrap;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before { content: ''; position: absolute; inset: 0; background: var(--ink); border-radius: inherit; transform: translateY(101%); transition: transform .6s var(--ease); z-index: -1; }
.btn:hover { color: var(--bg); border-color: var(--ink); }
.btn:hover::before { transform: translateY(0); }
.btn__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; transition: background .5s, color .5s, transform .6s var(--ease); }
.btn:hover .btn__icon { background: var(--bg); color: var(--ink); transform: rotate(-45deg); }
.btn__icon .arrow { width: 18px; height: 18px; }
.btn--big { --h: clamp(64px, 6vw, 92px); font-size: clamp(16px, 1.6vw, 26px); padding-left: clamp(26px, 2.4vw, 40px); }
.btn--big .btn__icon { width: calc(var(--h) - 16px); height: calc(var(--h) - 16px); }
.btn--light { border-color: var(--inv-line); }

.round { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .4s, color .4s, border-color .4s; }
.round:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.round svg { width: 18px; height: 18px; }

.chip { height: 40px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; transition: background .4s, color .4s, border-color .4s; }
.chip sup { font-family: var(--mono); font-size: 10px; opacity: .6; top: -.4em; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- grain, cursor, hover image ---------- */
.grain { position: fixed; inset: -50%; z-index: 900; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
[data-theme="dark"] .grain { opacity: .09; }
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-3%) } 60% { transform: translate(-2%,-1%) } 80% { transform: translate(3%,3%) } }

.cursor { position: fixed; left: 0; top: 0; z-index: 950; pointer-events: none; display: none; mix-blend-mode: difference; }
.has-cursor .cursor { display: block; }
.cursor__dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; }
.cursor__ring { position: absolute; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6);
  display: grid; place-items: center; transition: width .5s var(--ease-out), height .5s var(--ease-out), margin .5s var(--ease-out), background .4s, border-color .4s; }
.cursor__label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .3s; }
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: transparent; background: rgba(255,255,255,.12); }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: #fff; border-color: #fff; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { transform: scale(.85); }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

.hover-img { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; width: clamp(220px, 19vw, 320px); aspect-ratio: 4/5; opacity: 0; visibility: hidden; }
.hover-img__inner { position: absolute; inset: 0; overflow: hidden; border-radius: 2px; clip-path: inset(100% 0% 0% 0%); box-shadow: 0 30px 80px -30px rgba(0,0,0,.45); }
.hover-img__layer { position: absolute; inset: -6%; background-size: cover; background-position: center; }
.hover-img__cap { position: absolute; left: 0; top: calc(100% + 10px); font-family: var(--caps); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); white-space: nowrap; opacity: 0; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 990; display: none; color: #EFEAE2; }
.js .loader.is-on { display: block; }
.loader__bg { position: absolute; inset: 0; background: #0E0C0B; }
.loader__top, .loader__bottom { position: absolute; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; align-items: flex-end; font-family: var(--caps); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; }
.loader__top { top: var(--gutter); align-items: center; }
.loader__top > *, .loader__bottom > * { opacity: 0; }
.loader__mono { font-family: var(--serif); font-style: italic; font-size: 24px; letter-spacing: 0; text-transform: none; }
.loader__bottom { bottom: var(--gutter); }
.loader__count { font-family: var(--serif); font-style: italic; font-size: clamp(64px, 9vw, 150px); line-height: .8; letter-spacing: -.02em; text-transform: none; font-variant-numeric: tabular-nums; }
.loader__frame { position: absolute; left: 50%; top: 50%; width: clamp(150px, 15vw, 240px); aspect-ratio: 4/5; transform: translate(-50%, -54%); overflow: hidden; clip-path: inset(100% 0 0 0); background: #1a1714; }
.loader__stack, .loader__img { position: absolute; inset: 0; }
.loader__img { clip-path: inset(100% 0 0 0); }
.loader__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); }
.loader__name { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); display: flex; justify-content: center; gap: .32em; pointer-events: none; font-family: var(--serif); font-size: clamp(44px, 7.4vw, 130px); line-height: 1; letter-spacing: -.01em; mix-blend-mode: difference; color: #fff; }
.loader__w { display: inline-flex; }
.lc { display: inline-block; overflow: hidden; padding: 0 .01em .08em; margin-bottom: -.08em; }
.lc > span { display: inline-block; transform: translateY(110%); }
.loader__line { position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(var(--gutter) + 36px); height: 1px; background: rgba(239,234,226,.15); }
.loader__line span { display: block; height: 100%; background: #C99A68; transform-origin: left; transform: scaleX(0); }
.loader.is-handoff .loader__frame { transform: none; }

/* ---------- page transition: five-column shutter ---------- */
.pt { position: fixed; inset: 0; z-index: 980; pointer-events: none; visibility: hidden; }
.pt__cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.pt__cols i { display: block; background: var(--ink); transform: scaleY(0); transform-origin: bottom; margin-right: -1px; }
.pt__inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; color: var(--bg); }
.pt__idx, .pt__name { font-family: var(--caps); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; opacity: 0; }
.pt__title { display: flex; font-family: var(--serif); font-style: italic; font-size: clamp(48px, 8vw, 150px); line-height: 1; letter-spacing: -.01em; white-space: pre; }
.pt__title .lc > span { transform: translateY(110%); }

/* ---------- header ---------- */
.header { position: fixed; z-index: 700; left: 0; right: 0; top: 0; height: var(--header-h); padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; mix-blend-mode: difference; color: #fff; }
.logo { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.logo__mark { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1; letter-spacing: -.02em; }
.logo__name { font-size: 13px; font-weight: 500; letter-spacing: .01em; opacity: 0; transform: translateX(-8px); transition: opacity .5s, transform .5s var(--ease-out); }
.logo:hover .logo__name { opacity: 1; transform: none; }
.header__nav { display: flex; gap: clamp(18px, 2.2vw, 36px); }
.header__link { position: relative; font-size: 14px; overflow: hidden; display: block; height: 1.4em; }
.header__link > span { display: block; transition: transform .55s var(--ease); }
.header__link > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
.header__link:hover > span { transform: translateY(-100%); }
.header__link.is-current { padding-left: 10px; }
.header__link.is-current::before { content: ''; position: absolute; left: 0; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: currentColor; }
.header__tools { justify-self: end; display: flex; align-items: center; gap: 18px; }
.clock { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; }
.clock i { width: 6px; height: 6px; border-radius: 50%; background: #48d17a; box-shadow: 0 0 0 0 rgba(72,209,122,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(72,209,122,0) } 100% { box-shadow: 0 0 0 0 rgba(72,209,122,0) } }

.theme-toggle { position: relative; width: 52px; height: 28px; border-radius: 99px; border: 1px solid rgba(255,255,255,.5); }
.theme-toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .6s var(--ease); }
[data-theme="dark"] .theme-toggle::after { transform: translateX(24px); }
.theme-toggle__sun, .theme-toggle__moon { position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; }
.theme-toggle__sun { right: 8px; border: 1px solid #fff; }
.theme-toggle__moon { left: 8px; box-shadow: inset -3px 0 0 #fff; }

.menu-btn { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,.5); font-size: 14px; }
.menu-btn__lines { position: relative; width: 16px; height: 8px; }
.menu-btn__lines i { position: absolute; left: 0; right: 0; height: 1.2px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-btn__lines i:first-child { top: 0; }
.menu-btn__lines i:last-child { top: 7px; }
.menu-open .menu-btn__lines i:first-child { top: 3.5px; transform: rotate(45deg); }
.menu-open .menu-btn__lines i:last-child { top: 3.5px; transform: rotate(-45deg); }

/* ---------- fullscreen menu ---------- */
.menu { position: fixed; inset: 0; z-index: 650; visibility: hidden; color: var(--bg); }
.menu__bg { position: absolute; inset: 0; background: var(--ink); clip-path: inset(0 0 100% 0); }
.menu__inner { position: relative; height: 100%; display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--gutter); padding: calc(var(--header-h) + 5vh) var(--gutter) var(--gutter); }
.menu__nav { display: flex; flex-direction: column; justify-content: center; }
.menu__link { display: flex; align-items: baseline; gap: 18px; overflow: hidden; font-family: var(--serif); font-size: clamp(34px, 6.2vh, 88px); line-height: 1.02; letter-spacing: -.02em; }
.menu__link .menu__text, .menu__link .menu__num { display: inline-block; transform: translateY(105%); }
.menu__num { font-family: var(--mono); font-size: 12px; opacity: .5; letter-spacing: .06em; }
.menu__text { transition: font-style .3s, transform .3s; }
.menu__nav:hover .menu__link { opacity: .35; }
.menu__nav .menu__link { transition: opacity .4s; }
.menu__nav .menu__link:hover { opacity: 1; }
.menu__link:hover .menu__text { font-style: italic; }
.menu__aside { display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; opacity: 0; }
.menu__aside .label { color: inherit; opacity: .5; }
.menu__mail { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 40px); }
.menu__addr { max-width: 320px; opacity: .7; }
.menu__socials { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ==========================================================================
   HOME — hero
   ========================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: #0E0C0B; color: #F5F0E8; --hero-ink: #F5F0E8; }
.hero__slides { position: absolute; inset: 0; touch-action: pan-y; user-select: none; -webkit-user-select: none; will-change: transform; }
.hero__slide { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 0 0 100%); }
.hero__slide.is-active { clip-path: inset(0 0 0 0); z-index: 2; }
.hero__fill { position: absolute; inset: -10%; background-size: cover; background-position: center; filter: blur(48px) saturate(1.05) brightness(.82); transform: scale(1.15); }
.hero__media { position: absolute; inset: 0; overflow: hidden; will-change: transform; }
.hero__img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero__slide--cover .hero__fill { display: none; }
/* tall portraits: keep the photo sharp at full height on one side, over a blurred extension of itself */
.hero__slide--portrait-right .hero__media, .hero__slide--portrait-center .hero__media, .hero__slide--portrait-left .hero__media {
  inset: var(--header-h) auto 0 auto; height: calc(100% - var(--header-h)); aspect-ratio: 4 / 5; max-width: 72%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%);
  mask-composite: intersect; }
.hero__slide--portrait-right .hero__fill, .hero__slide--portrait-center .hero__fill, .hero__slide--portrait-left .hero__fill { filter: blur(48px) saturate(1.05) brightness(.58); }
.hero__slide--portrait-right .hero__media { right: 6vw; }
.hero__slide--portrait-left .hero__media { left: 6vw; }
.hero__slide--portrait-center .hero__media { left: 0; right: 0; margin: 0 auto; }
.hero__scrim { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(to top, rgba(10,9,8,.86) 0%, rgba(10,9,8,.5) 26%, rgba(10,9,8,0) 58%),
    linear-gradient(to right, rgba(10,9,8,.55) 0%, rgba(10,9,8,0) 52%); }
.hero__content { position: absolute; z-index: 4; left: var(--gutter); bottom: clamp(32px, 6vh, 72px); max-width: min(64vw, 1100px); pointer-events: none; }
.hero__kicker, .hero__role { font-family: var(--caps); font-weight: 500; font-size: 11.5px; text-transform: uppercase; letter-spacing: .26em; color: rgba(245,240,232,.85); }
.hero__kicker { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(14px, 2vh, 24px); }
.hero__kicker::before { content: ''; width: 36px; height: 1px; background: currentColor; opacity: .7; }
.hero__role { margin-top: clamp(16px, 2.4vh, 28px); }
.hero__name { margin: 0; font-family: var(--serif); font-weight: 400; color: var(--hero-ink); line-height: .86; letter-spacing: -.02em; font-size: clamp(64px, min(10.4vw, 17vh), 210px); text-shadow: 0 2px 40px rgba(0,0,0,.25); }
.hero__line { display: block; overflow: hidden; padding: 0 .04em .07em; margin-bottom: -.04em; }
.hero__line--2 { padding-left: .5em; }
.hero__word { display: inline-block; }
.hero__side { position: absolute; z-index: 4; right: var(--gutter); bottom: clamp(32px, 6vh, 72px); width: clamp(240px, 22vw, 330px); display: grid; gap: 28px; }
.hero__index { display: grid; gap: 2px; }
.hero__item { position: relative; width: 100%; display: grid; grid-template-columns: 1fr; align-items: baseline; padding: 10px 0 12px; text-align: left; color: rgba(245,240,232,.5); transition: color .5s; }
.hero__item:hover, .hero__item.is-active { color: var(--hero-ink); }
.hero__item-n { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; }
.hero__item-t { font-family: var(--serif); font-style: italic; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.25; }
.hero__item-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(245,240,232,.18); overflow: hidden; }
.hero__item-bar::after { content: ''; position: absolute; inset: 0; background: var(--hero-ink); transform: scaleX(var(--p, 0)); transform-origin: left; }
.hero__controls { display: flex; justify-content: flex-end; align-items: center; }
.hero__count { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1; color: rgba(245,240,232,.55); font-variant-numeric: tabular-nums; }
.hero__count b { color: var(--hero-ink); font-weight: 400; }
.hero__arrows { display: flex; gap: 10px; }
.round--light { border-color: rgba(245,240,232,.35); color: var(--hero-ink); }
.round--light:hover { background: var(--hero-ink); color: #0E0C0B; border-color: var(--hero-ink); }
.hero__cue { position: absolute; z-index: 4; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--caps); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(245,240,232,.7); }
.hero__cue i { width: 1px; height: 40px; background: linear-gradient(rgba(245,240,232,.8), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* frosted bar behind the navigation once the page scrolls */
.header-bg { position: fixed; z-index: 690; left: 0; right: 0; top: 0; height: var(--header-h); pointer-events: none;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(1.2); backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .5s var(--ease); }
.is-scrolled .header-bg { opacity: 1; }

.menu-open .header-bg { opacity: 0; }
/* over the full-bleed hero the nav sits in plain light type */
.on-hero .header { mix-blend-mode: normal; color: #F5F0E8; }
.on-hero .header .theme-toggle, .on-hero .header .menu-btn { border-color: rgba(245,240,232,.5); }
/* while the full-screen menu is open the nav sits on the menu colour — match its text colour in both themes */
.menu-open .header, .menu-open.on-hero .header { mix-blend-mode: normal; color: var(--bg); }
.menu-open .header .theme-toggle, .menu-open .header .menu-btn { border-color: color-mix(in srgb, var(--bg) 45%, transparent); }
.menu-open .header .theme-toggle::after { background: var(--bg); }
.menu-open .header .theme-toggle__sun { border-color: var(--bg); }
.menu-open .header .theme-toggle__moon { box-shadow: inset -3px 0 0 var(--bg); }

/* ---------- intro ---------- */
.intro__grid { display: grid; grid-template-columns: 1fr 3fr; gap: var(--gutter); }
.intro__statement { font-family: var(--editorial); font-weight: 400; font-size: clamp(27px, 3.25vw, 58px); line-height: 1.14; letter-spacing: -.025em; margin-bottom: 56px; text-indent: 12%; }
[data-scrub] .sw { opacity: .14; transition: none; }

/* ---------- stats ---------- */
.stats { padding-top: 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 28px 24px 0 0; border-right: 1px solid var(--line); display: grid; gap: 18px; align-content: start; }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat__idx { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.stat__num { font-family: var(--serif); font-size: clamp(48px, 5.6vw, 100px); line-height: .9; letter-spacing: -.02em; white-space: nowrap; }
.stat__label { color: var(--ink-2); max-width: 260px; font-size: 15px; }

/* ---------- featured ventures ---------- */
.hv { position: relative; }
.hv__pin { position: relative; padding: clamp(96px, 14vw, 220px) 0; }
.hv__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; margin-bottom: clamp(24px, 4vh, 48px); }
.hv__head .shead { margin-bottom: 0; gap: 16px; }
.hv .shead__title { font-size: clamp(40px, min(5.2vw, 9vh), 96px); }
.hv .shead__intro { max-width: 460px; }
.hv__meta, .hv__controls { display: flex; align-items: center; gap: 10px; }
.hv__meta { gap: 18px; flex-wrap: wrap; }
.hv__controls [data-ventures-prev] .arrow { transform: rotate(180deg); }
.hv__controls .round:disabled { opacity: .3; cursor: default; background: transparent; color: var(--ink); border-color: var(--line); }
.hv__track { display: flex; align-items: flex-start; gap: clamp(16px, 2vw, 32px); overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--ink) var(--bg-2); padding-bottom: 24px; -webkit-overflow-scrolling: touch; }
.hv__track::-webkit-scrollbar { height: 8px; }
.hv__track::-webkit-scrollbar-track { background: var(--bg-2); border-radius: 99px; }
.hv__track::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 99px; }
.vcard { flex: 0 0 clamp(260px, 28vw, 440px); min-width: 0; display: flex; flex-direction: column; gap: 16px; scroll-snap-align: start; }
.vcard__media { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 2px; background: var(--bg-2); }
.vcard__parallax { position: absolute; inset: 0; }
.vcard__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease-out); }
.vcard:hover .vcard__img { transform: scale(1.08); }
.vcard__status { position: absolute; left: 14px; top: 14px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 6px 10px; border-radius: 99px; background: rgba(13,12,11,.55); color: #EFEAE2; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.vcard__body { display: block; }
.vcard__num { font-family: var(--mono); font-size: 12px; color: var(--ink-2); padding-top: 8px; }
.vcard__name { font-family: var(--serif); font-weight: 400; font-size: clamp(21px, 1.7vw, 30px); line-height: 1; letter-spacing: -.01em; }
.vcard__cat { color: var(--ink-2); font-size: 14px; margin-top: 8px; }
.vcard--end { justify-content: center; align-items: flex-start; padding: 32px; aspect-ratio: 4/5; align-self: flex-start; border: 1px solid var(--line); border-radius: 2px; transition: background .5s, color .5s; }
.vcard--end:hover { background: var(--ink); color: var(--bg); }
.vcard__endtext { font-family: var(--serif); font-size: clamp(30px, 2.8vw, 50px); line-height: 1; }
.vcard--end .arrow { width: 40px; height: 40px; margin-top: 24px; }

/* ---------- rows (milestones) ---------- */
.rows { border-top: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.row::before { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.row:hover::before { transform: scaleY(1); }
.row__link { position: relative; display: grid; grid-template-columns: 120px 1fr 160px 48px; align-items: center; gap: 24px; padding: clamp(22px, 2.4vw, 36px) 0; transition: color .5s var(--ease), padding .6s var(--ease); }
.row:hover .row__link { color: var(--bg); padding-left: 20px; padding-right: 20px; }
.row__year { font-family: var(--mono); font-size: 13px; }
.row__title { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 40px); line-height: 1.02; letter-spacing: -.01em; }
.row__cat { font-size: 14px; opacity: .6; }
.row__arrow .arrow { width: 28px; height: 28px; transition: transform .6s var(--ease); }
.row:hover .row__arrow .arrow { transform: rotate(-45deg); }

/* ---------- lions den feature ---------- */
.den { position: relative; overflow: hidden; padding: clamp(96px, 14vw, 220px) 0; }
.den__bgword { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font-family: var(--serif); font-style: italic; font-size: 30vw; line-height: .8; white-space: nowrap; opacity: .05; pointer-events: none; }
.den__grid { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 120px); align-items: center; }
.den__media { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 2px; }
.den__parallax { position: absolute; inset: -12% 0; }
.den__img { width: 100%; height: 100%; object-fit: cover; }
.den__content { display: grid; gap: 32px; }
.den__quote { font-family: var(--serif); font-size: clamp(36px, 4.8vw, 88px); line-height: .98; letter-spacing: -.02em; }
.den__text { max-width: 520px; color: var(--ink-2); font-size: clamp(16px, 1.2vw, 19px); }

/* ---------- talks cards ---------- */
.talks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 32px); }
.talk { display: flex; flex-direction: column; gap: 18px; }
.talk__media { position: relative; display: block; width: 100%; aspect-ratio: 16/10; overflow: hidden; border-radius: 2px; background: var(--bg-3); text-align: left; }
.talk__img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); transform: scale(1.04); transition: transform 1.2s var(--ease-out), filter .8s; }
.talk:hover .talk__img { transform: scale(1.1); filter: none; }
.talk__img--yt { transform: scale(1.24); }
.talk:hover .talk__img--yt { transform: scale(1.3); }
.talk__poster { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 30% 20%, var(--accent), transparent 60%), var(--bg-3); }
.talk__poster span { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 2.6vw, 44px); text-align: center; line-height: 1; }
.talk__type { position: absolute; left: 14px; top: 14px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 6px 10px; border-radius: 99px; background: #E62B1E; color: #fff; }
.talk__play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; display: grid; place-items: center; background: rgba(239,234,226,.92); color: #151311; transform: scale(.9); transition: transform .6s var(--ease-out); }
.talk__play svg { width: 22px; height: 22px; margin-left: 3px; }
.talk:hover .talk__play { transform: scale(1.08); }
.talk__body { display: grid; gap: 10px; }
.talk__meta { display: flex; gap: 14px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.talk__title { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 1.6vw, 28px); line-height: 1.05; }
.talk__text { color: var(--ink-2); max-width: 520px; }
.talks-grid--big { grid-template-columns: repeat(3, 1fr); }

/* ---------- big quote ---------- */
.bigquote .wrap { position: relative; }
.bigquote__mark { position: absolute; left: var(--gutter); top: -.3em; font-family: var(--serif); font-size: clamp(160px, 20vw, 360px); line-height: 1; color: var(--accent); opacity: .9; }
.bigquote__text { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 88px); line-height: 1; letter-spacing: -.02em; max-width: 1400px; margin-left: auto; padding-left: 8%; }
.bigquote__by { margin-top: 40px; text-align: right; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- marquee ---------- */
.marquee { padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__inner { display: flex; align-items: center; gap: .4em; padding-right: .4em; font-family: var(--serif); font-size: clamp(52px, 8vw, 140px); line-height: 1; white-space: nowrap; }
.marquee__inner span.outline { color: transparent; -webkit-text-stroke: 1px var(--ink); font-style: italic; }
.marquee__inner i { font-style: normal; font-size: .3em; color: var(--accent); }

/* ---------- footer ---------- */
.footer { position: relative; padding: clamp(96px, 12vw, 180px) var(--gutter) 24px; max-width: var(--max); margin: 0 auto; overflow: hidden; }
.footer__top { display: grid; gap: 32px; padding-bottom: clamp(64px, 8vw, 120px); border-bottom: 1px solid var(--line); }
.footer__cta { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7vw, 132px); line-height: .92; letter-spacing: -.02em; max-width: 1300px; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 48px 0; }
.footer__grid .label { margin-bottom: 18px; }
.footer__grid ul { display: grid; gap: 6px; }
.footer__grid p { color: var(--ink-2); max-width: 280px; }
.footer__time { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--ink) !important; margin-bottom: 8px; }
.footer__giant { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--serif); font-size: 11.4vw; line-height: .82; letter-spacing: -.02em; white-space: nowrap; margin: 0 calc(-1 * var(--gutter) * .3); padding-top: 24px; }
@media (min-width: 1680px) { .footer__giant { font-size: 190px; } }
.footer__bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; font-size: 13px; color: var(--ink-2); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.phero { padding: calc(var(--header-h) + clamp(64px, 10vw, 160px)) 0 clamp(48px, 6vw, 96px); }
.phero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 120px); align-items: end; }
.phero__text { display: grid; gap: 32px; }
.phero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6.6vw, 128px); line-height: .9; letter-spacing: -.02em; margin-top: 8px; }
.phero__title--xl { font-size: clamp(52px, 10vw, 190px); line-height: .84; margin: 18px 0 clamp(40px, 5vw, 72px); }
.phero__lead { font-size: clamp(18px, 1.5vw, 24px); line-height: 1.4; max-width: 640px; color: var(--ink-2); }
.phero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.phero__count { font-family: var(--mono); font-size: 13px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }
.phero__count b { color: var(--ink); font-weight: 500; }
.phero__portrait { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 2px; }
.phero__portrait > div { position: absolute; inset: -10% 0; }
.phero__portrait img { width: 100%; height: 100%; object-fit: cover; }

.prose { display: grid; gap: 1.2em; font-size: clamp(17px, 1.3vw, 21px); line-height: 1.6; max-width: 760px; }
.prose strong { font-weight: 600; }
.prose--lead p:first-child { font-family: var(--editorial); font-size: clamp(23px, 2.1vw, 36px); line-height: 1.2; letter-spacing: -.015em; }
.prose ul { display: grid; gap: .4em; padding-left: 1.2em; list-style: disc; }
.bio__grid, .beyond__grid { display: grid; grid-template-columns: 1fr 3fr; gap: var(--gutter); }
.beyond__text { font-family: var(--editorial); font-size: clamp(24px, 2.6vw, 46px); line-height: 1.16; letter-spacing: -.02em; }

.philo__title { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 11vw, 210px); line-height: .85; letter-spacing: -.02em; margin: 24px 0 32px; }
.philo__text { max-width: 560px; font-size: clamp(17px, 1.4vw, 22px); color: var(--ink-2); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); margin-top: clamp(64px, 8vw, 120px); }
.pillar { border-top: 1px solid var(--line); padding-top: 24px; display: grid; gap: 14px; }
.pillar__num { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.8vw, 50px); font-style: italic; line-height: 1; }
.pillar p { color: var(--ink-2); max-width: 380px; }

.cv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 120px); }
.cvlist { margin-top: 24px; border-top: 1px solid var(--line); }
.cvlist li { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.cvlist__year { font-family: var(--mono); font-size: 13px; color: var(--ink-2); padding-top: 6px; }
.cvlist h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 1.6vw, 28px); line-height: 1.05; }
.cvlist p { color: var(--ink-2); margin-top: 6px; }

.boards__list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(32px, 6vw, 120px); border-top: 1px solid var(--line); }
.boards__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.boards__org { font-family: var(--serif); font-size: clamp(18px, 1.5vw, 25px); line-height: 1.1; }
.boards__role { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); white-space: nowrap; }

/* achievements */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.timeline .filters { margin-bottom: clamp(48px, 6vw, 96px); }
.tl-year { display: grid; grid-template-columns: 1fr 3fr; gap: var(--gutter); border-top: 1px solid var(--line); padding: 32px 0 56px; }
.tl-year.is-empty { display: none; }
.tl-year__label { font-family: var(--serif); font-size: clamp(52px, 6vw, 112px); line-height: .8; letter-spacing: -.02em; }
.tl-year__items { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 140px 1fr; column-gap: 24px; row-gap: 10px; padding: 18px 0 28px; border-bottom: 1px solid var(--line); }
.tl-item:last-child { border-bottom: 0; }
.tl-item.is-hidden { display: none; }
.tl-item__cat { grid-row: span 2; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); padding-top: 10px; }
.tl-item__title { font-family: var(--serif); font-weight: 400; font-size: clamp(23px, 2.1vw, 36px); line-height: 1.02; letter-spacing: -.01em; }
.tl-item__text { color: var(--ink-2); max-width: 640px; }

/* ventures index */
.viewtoggle { display: flex; gap: 8px; }
.vindex__head { display: grid; grid-template-columns: 1fr 220px 220px 80px; gap: 24px; padding-bottom: 16px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.vindex__list { border-top: 1px solid var(--line); }
.vrow { border-bottom: 1px solid var(--line); }
.vrow__link { display: grid; grid-template-columns: 1fr 220px 220px 80px; gap: 24px; align-items: center; padding: clamp(20px, 2.2vw, 34px) 0; transition: padding .6s var(--ease); }
.vrow__media { display: none; }
.vrow__num, .vrow__year { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.vrow__name { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 60px); line-height: .95; letter-spacing: -.02em; transition: transform .6s var(--ease), font-style .3s; }
.vrow__cat, .vrow__loc { font-size: 14px; color: var(--ink-2); }
.vrow__link:hover .vrow__name { transform: translateX(24px); font-style: italic; }
.vindex__list:hover .vrow { opacity: .35; }
.vindex__list .vrow { transition: opacity .5s; }
.vindex__list .vrow:hover { opacity: 1; }
[data-mode="grid"] .vindex__head { display: none; }
[data-mode="grid"] .vindex__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px var(--gutter); border: 0; }
[data-mode="grid"] .vrow { border: 0; opacity: 1 !important; }
[data-mode="grid"] .vrow__link { grid-template-columns: 1fr; padding: 0; row-gap: 10px; }
[data-mode="grid"] .vrow__media { display: block; grid-column: 1 / -1; aspect-ratio: 4/5; overflow: hidden; border-radius: 2px; }
[data-mode="grid"] .vrow__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
[data-mode="grid"] .vrow__link:hover .vrow__media img { transform: scale(1.06); }
[data-mode="grid"] .vrow__name { font-size: clamp(21px, 1.7vw, 30px); transform: none !important; }
[data-mode="grid"] .vrow__loc, [data-mode="grid"] .vrow__year { display: none; }
[data-mode="grid"] .vrow__cat { grid-column: 1; }

/* venture detail */
.vhero { padding-top: calc(var(--header-h) + clamp(48px, 8vw, 120px)); }
.back { font-size: 14px; margin-bottom: 40px; }
.vhero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 8.4vw, 160px); line-height: .86; letter-spacing: -.02em; margin: 16px 0 40px; }
.vhero__meta { display: flex; flex-wrap: wrap; gap: 16px clamp(32px, 5vw, 96px); padding: 24px 0; border-top: 1px solid var(--line); }
.vhero__meta dt { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin-bottom: 6px; }
.vhero__media { position: relative; height: clamp(360px, 80vh, 900px); overflow: hidden; margin-top: 24px; }
.vhero__media > div { position: absolute; inset: -12% 0; }
.vhero__media img { width: 100%; height: 100%; object-fit: cover; }
.vdetail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 120px); }
.vdetail__summary { font-family: var(--editorial); font-size: clamp(26px, 2.6vw, 46px); line-height: 1.16; letter-spacing: -.02em; }
.vstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--gutter); margin-top: clamp(64px, 8vw, 120px); }
.vstat { border-top: 1px solid var(--line); padding-top: 20px; }
.vstat__val { font-family: var(--serif); font-size: clamp(44px, 4.6vw, 86px); line-height: .9; letter-spacing: -.02em; }
.vstat__label { color: var(--ink-2); margin-top: 10px; }
.vgallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); margin-top: clamp(64px, 8vw, 120px); align-items: start; }
.vgallery__item { margin: 0; display: grid; gap: 12px; }
.vgallery__item--0 { grid-column: 1 / span 7; }
.vgallery__item--1 { grid-column: 8 / span 5; margin-top: 18%; }
.vgallery__item--2 { grid-column: 3 / span 8; }
.vgallery__media { position: relative; overflow: hidden; border-radius: 2px; aspect-ratio: 4 / 3; background: var(--bg-2); }
.vgallery__item--1 .vgallery__media { aspect-ratio: 4 / 5; }
.vgallery__item--2 .vgallery__media { aspect-ratio: 16 / 9; }
.vgallery__media img { width: 100%; height: 100%; object-fit: cover; }
.vgallery figcaption { font-family: var(--caps); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 800px) { .vgallery { grid-template-columns: 1fr; } .vgallery__item--0, .vgallery__item--1, .vgallery__item--2 { grid-column: 1; margin-top: 0; } }
.next { display: block; border-top: 1px solid var(--line); padding: clamp(64px, 10vw, 160px) 0; overflow: hidden; position: relative; }
.next__inner { position: relative; }
.next__name { font-family: var(--serif); font-size: clamp(48px, 7.6vw, 150px); line-height: .9; letter-spacing: -.02em; margin-top: 20px; position: relative; z-index: 2; transition: transform .8s var(--ease), font-style .3s; }
.next:hover .next__name { transform: translateX(3%); font-style: italic; }
.next__media { position: absolute; right: var(--gutter); top: 50%; width: clamp(160px, 18vw, 300px); aspect-ratio: 4/5; overflow: hidden; transform: translateY(-50%) rotate(4deg) scale(.8); opacity: 0; transition: transform .9s var(--ease-out), opacity .6s; }
.next__media img { width: 100%; height: 100%; object-fit: cover; }
.next:hover .next__media { opacity: 1; transform: translateY(-50%) rotate(-3deg) scale(1); }

/* lions den page */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; border-top: 1px solid var(--line); }
.facts div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin-bottom: 4px; }
.denstyle__text { font-family: var(--editorial); font-size: clamp(26px, 3vw, 54px); line-height: 1.16; letter-spacing: -.02em; margin-top: 32px; max-width: 1400px; }
.denstyle__quote { font-family: var(--serif); font-style: italic; font-size: clamp(46px, 7.4vw, 140px); line-height: .9; letter-spacing: -.02em; margin-top: clamp(64px, 10vw, 160px); color: var(--accent); }
.pitch-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); }
.pitch { display: grid; gap: 16px; align-content: start; padding: clamp(24px, 3vw, 48px); border: 1px solid var(--line); border-radius: 4px; transition: background .6s var(--ease), border-color .6s; }
.pitch:hover { background: var(--bg-2); border-color: transparent; }
.pitch__top { display: flex; justify-content: flex-end; align-items: center; }
.pitch__num { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.verdict { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); }
.verdict--out { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.verdict--invested { background: #2E7D4F; color: #fff; border-color: transparent; }
.verdict--recused { border-style: dashed; }
.pitch__name { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.8vw, 50px); line-height: .95; letter-spacing: -.02em; margin-top: 16px; }
.pitch__sector { color: var(--ink-2); }
.pitch__meta { display: flex; gap: 32px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pitch__meta dt { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.pitch__quote { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.2vw, 36px); line-height: 1.1; color: var(--accent); }
.pitch__text { color: var(--ink-2); }
.pitch__watch { justify-self: start; font-weight: 500; margin-top: 8px; }
.lessons__list { border-top: 1px solid var(--line); }
.lesson { display: grid; grid-template-columns: 5fr 4fr; gap: var(--gutter); padding: clamp(28px, 3vw, 48px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.lesson__num { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.lesson__title { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 46px); line-height: 1; letter-spacing: -.015em; }
.lesson__text { color: var(--ink-2); max-width: 460px; }
.lions__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 var(--gutter); margin-top: 32px; border-top: 1px solid var(--line); }
.lions__list li { display: grid; gap: 4px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.lions__name { font-family: var(--serif); font-size: clamp(21px, 1.9vw, 33px); line-height: 1; }
.lions__co { color: var(--ink-2); font-size: 14px; }

/* talks page */
.talks-featured { padding-top: 0; }
.tedx-badge { display: flex; align-items: baseline; gap: 10px; }
.tedx-badge__x { font-family: var(--sans); font-weight: 600; font-size: clamp(36px, 4vw, 64px); color: #E62B1E; letter-spacing: -.02em; }
.tedx-badge__n { font-family: var(--serif); font-style: italic; font-size: clamp(48px, 5.4vw, 96px); line-height: 1; }
.talks-all .shead { margin-bottom: 40px; }
.trows { border-top: 1px solid var(--line); }
.trow { display: grid; grid-template-columns: 140px 1fr 260px 110px 100px; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.trow.is-hidden { display: none; }
.trow__date, .trow__type { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.trow__title { font-family: var(--serif); font-size: clamp(20px, 1.7vw, 30px); line-height: 1.05; }
.trow__event { color: var(--ink-2); font-size: 15px; }
.trow__act { justify-self: end; font-weight: 500; font-size: 14px; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line); transition: background .4s, color .4s; }
.trow__act:hover { background: var(--ink); color: var(--bg); }
.trow__act--none { border: 0; color: var(--ink-2); }
.speak__grid { display: grid; grid-template-columns: 3fr 2fr; gap: var(--gutter); align-items: end; }
.speak__title { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 6.2vw, 116px); line-height: .9; letter-spacing: -.02em; }
.speak__text { color: var(--ink-2); font-size: 18px; margin-bottom: 32px; max-width: 420px; }

/* 404 */
.nf { min-height: 90vh; display: flex; align-items: center; padding-top: var(--header-h); }
.nf .wrap { display: grid; gap: 32px; }
.nf__title { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 7.4vw, 140px); line-height: .88; letter-spacing: -.02em; max-width: 1400px; }

/* video modal */
.vmodal { position: fixed; inset: 0; z-index: 960; display: grid; place-items: center; visibility: hidden; }
.vmodal.is-open { visibility: visible; }
.vmodal__bg { position: absolute; inset: 0; background: rgba(8,7,6,.92); opacity: 0; transition: opacity .6s var(--ease); }
.vmodal.is-open .vmodal__bg { opacity: 1; }
.vmodal__frame { position: relative; width: min(90vw, 1400px, calc(80vh * 16 / 9)); aspect-ratio: 16/9; background: #000; clip-path: inset(50% 0 50% 0); transition: clip-path .9s var(--ease); }
.vmodal.is-open .vmodal__frame { clip-path: inset(0 0 0 0); }
.vmodal__player, .vmodal__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vmodal__close { position: absolute; top: 24px; right: var(--gutter); color: #EFEAE2; font-size: 14px; display: flex; gap: 10px; align-items: center; }

/* reveal defaults (JS-enhanced only) */
.js [data-reveal], .js [data-reveal-children] > * { opacity: 0; transform: translateY(40px); }
.js [data-clip] { clip-path: inset(100% 0 0 0); }
.js [data-split] { visibility: hidden; }
.js .hero__word { transform: translateY(110%); }
.js [data-hero-fade] { opacity: 0; }
.js.no-anim [data-reveal], .js.no-anim [data-reveal-children] > * { opacity: 1; transform: none; }
.js.no-anim [data-split] { visibility: visible; }
.js.no-anim [data-clip] { clip-path: none; }
.js.no-anim .hero__word { transform: none; }
.js.no-anim [data-hero-fade] { opacity: 1; }

/* theme switch — circular reveal via View Transitions */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 9999; }
.vt-running body { transition: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .header__nav { display: none; }
  .header { grid-template-columns: 1fr auto; }
  .vindex__head, .vrow__link { grid-template-columns: 1fr 180px 64px; }
  .vrow__loc, .vindex__head span:nth-child(3) { display: none; }
  .trow { grid-template-columns: 110px 1fr 90px; }
  .trow__event, .trow__type { display: none; }
  .talks-grid, .talks-grid--big { grid-template-columns: repeat(2, 1fr); }
  [data-mode="grid"] .vindex__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  :root { --header-h: 64px; }
  .clock { display: none; }
  .menu-btn__label { display: none; }
  .menu-btn { padding: 0 12px; }
  .menu__inner { grid-template-columns: 1fr; align-content: center; }
  .menu__aside { justify-content: flex-start; }
  .hero__slide .hero__media { inset: 0 !important; height: 100% !important; margin: 0 !important; max-width: none !important; aspect-ratio: auto !important; -webkit-mask-image: none !important; mask-image: none !important; }
  .hero__slide .hero__fill { display: none; }
  .hero__content { left: var(--gutter); right: var(--gutter); max-width: none; bottom: 150px; }
  .hero__name { font-size: 17vw; }
  .hero__side { left: var(--gutter); right: var(--gutter); width: auto; bottom: 24px; gap: 14px; }
  .hero__index { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
  .hero__item { grid-template-columns: 1fr; padding: 0 0 8px; }
  .hero__item-n, .hero__item-t { display: none; }
  .hero__item-bar { left: 0; }
  .hero__cue { display: none; }
  .intro__grid, .bio__grid, .beyond__grid, .tl-year, .den__grid, .phero__grid, .cv__grid, .vdetail__grid, .speak__grid { grid-template-columns: 1fr; }
  .intro__statement { text-indent: 0; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 12px 32px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-child(even) { padding-left: 16px !important; }
  .hv__head { grid-template-columns: 1fr; }
  .loader__name { flex-direction: column; align-items: center; gap: 0; top: auto; bottom: 28%; transform: none; }
  .loader__frame { transform: translate(-50%, -70%); }
  .row__link { grid-template-columns: 64px 1fr 32px; }
  .row__cat { display: none; }
  .talks-grid, .talks-grid--big, .pitch-list, .pillars, .boards__list, .lions__list, [data-mode="grid"] .vindex__list { grid-template-columns: 1fr; }
  .lesson { grid-template-columns: 1fr; gap: 12px; }
  .tl-year__label { font-size: 72px; }
  .tl-item { grid-template-columns: 1fr; }
  .tl-item__cat { grid-row: auto; padding: 0; }
  .vindex__head { display: none; }
  .vrow__link { grid-template-columns: 1fr; row-gap: 4px; }
  .vrow__cat { grid-column: 1; }
  .vrow__year { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .facts { grid-template-columns: 1fr; }
  .trow { grid-template-columns: 1fr auto; row-gap: 6px; }
  .trow__date { grid-column: 1 / -1; }
  .bigquote__text { padding-left: 0; }
  .cvlist li { grid-template-columns: 64px 1fr; }
  .phero__portrait { max-width: 520px; }
}
@media (max-width: 520px) {
  .loader__top { display: grid; grid-template-columns: 1fr auto; }
  .loader__top > span:nth-child(2) { display: none; }
  .loader__top > span:last-child { text-align: right; }
  .loader__bottom { font-size: 9px; letter-spacing: .18em; line-height: 1.5; }
  .loader__role { max-width: min(260px, calc(100vw - 2 * var(--gutter))); }
  .stats__grid { grid-template-columns: 1fr; }
  .stat,
  .stat:nth-child(odd),
  .stat:nth-child(even) {
    min-width: 0;
    padding: 24px 0 28px !important;
    border-right: 0;
  }
  .stat__num { font-size: clamp(44px, 15vw, 64px); }
  .vcard { flex-basis: min(82vw, 360px); }
  .hv__meta { justify-content: space-between; }
}
@media (hover: none) { .hover-img { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js [data-reveal-children] > * { opacity: 1 !important; transform: none !important; }
  .js [data-clip] { clip-path: none !important; }
  .grain { animation: none; }
}
