* { box-sizing: border-box; }
:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: #000; background: #fff; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; }
a { color: inherit; }
.scroll-scene { position: relative; }
.landing { position: relative; min-height: 100svh; padding: 2.2vw 4.3vw 3.2vw; }
.header { position: relative; z-index: 6; display: flex; justify-content: flex-end; align-items: center; gap: 24px; min-height: 1.8vw; }
.menu-toggle { padding: 0; border: 0; background: none; font-size: 3.8vw; letter-spacing: -.035em; cursor: pointer; white-space: nowrap; }
.menu-toggle span { display: inline-block; margin-left: .15em; font-size: clamp(76.05px, 6.8445vw, 126.75px); line-height: .3; vertical-align: -.13em; }
.name { margin: 3.3vw 0 0 -.012em; font-size: 25.15vw; font-weight: 600; letter-spacing: -.075em; line-height: .805; }
.name > span { display: block; }
.portrait { position: absolute; top: 32.2vw; right: 4.3vw; width: 16vw; aspect-ratio: .72; padding: 0; border: 0; background: #eee; cursor: pointer; overflow: hidden; z-index: 1; }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: grayscale(1); transition: filter 300ms ease; }
.portrait:hover img, .portrait:focus-visible img, .portrait[aria-pressed="true"] img { filter: grayscale(0); }
.topics { max-width: 72%; margin: 6.2vw 0 0; font-size: 3.55vw; letter-spacing: -.035em; line-height: 1.06; font-weight: 400; position: relative; z-index: 3; }
.topic-item { display: inline-block; white-space: nowrap; transform-origin: top left; }
.topic-item:first-child { display: block; width: max-content; }
.topics a { text-decoration: none; text-underline-offset: .13em; }
.topics a:hover, .topics a:focus-visible { text-decoration: underline; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid #000; outline-offset: 6px; }
.bio { max-width: 50%; margin-top: 80px; font-size: clamp(18px, 1.65vw, 25px); line-height: 1.42; letter-spacing: -.025em; }
.bio p { margin: 0 0 1em; }
.bio p:first-of-type { font-size: inherit; line-height: inherit; }
.menu { position: fixed; z-index: 5; inset: 0; height: 100dvh; overflow-y: auto; padding: 110px 8vw 60px; background: #fff; }
.menu:not([hidden]) { display: flex; flex-direction: column; justify-content: flex-start; padding-top: max(150px, 14vh); gap: .12em; }
.menu a { display: flex; justify-content: space-between; gap: 24px; color: #000; font-size: clamp(36px, 7vw, 110px); letter-spacing: -.06em; line-height: 1.15; text-decoration: none; }
.menu a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; }
/* The tall scene supplies scroll distance; the stage pins the composition. */
.scroll-ready .landing { position: sticky; top: 0; overflow: clip; }
.scroll-ready .name > span { will-change: transform; }
.scroll-ready .portrait { position: absolute; margin: 0; right: auto; aspect-ratio: auto; }
.scroll-ready .topics { position: fixed; margin: 0; max-width: none; }
.scroll-ready .topic-item { position: absolute; display: block; width: max-content; }
.scroll-ready .bio { position: absolute; margin: 0; max-width: none; opacity: 0; }
@media (max-width: 600px) {
  .landing { padding: 16px 6% 24px; }
  .header { gap: 20px; min-height: 31px; }
  .menu-toggle { font-size: 8.5vw; letter-spacing: -.045em; }
  .menu-toggle span { font-size: 86.19px; }
  .name { width: 98vw; margin-top: calc(10px * var(--intro-fit, 1)); margin-left: -5.6vw; font-size: calc(29.3vw * var(--intro-fit, 1)); line-height: .89; letter-spacing: -.08em; }
  .portrait { position: relative; inset: auto; display: block; width: calc(56% * var(--intro-fit, 1)); margin: calc(8px * var(--intro-fit, 1)) 0 0 auto; aspect-ratio: .86; }
  .topics { max-width: none; margin-top: calc(14px * var(--intro-fit, 1)); font-size: 8.5vw; line-height: 1.13; letter-spacing: -.045em; }
  .topic-item { display: block; width: max-content; }
  .menu { padding: 130px 6% 60px; }
  .bio { font-size: 16px; line-height: 1.4; max-width: none; }
  .bio p:first-of-type { font-size: inherit; line-height: inherit; }
  .bio p:not(:first-of-type) { width: 88vw; }
}
@media (prefers-reduced-motion: reduce) {
  .portrait img { transition: none; }
  .scroll-ready .name > span { will-change: auto; }
}

/* Navigation stays in the viewport after the scroll stage releases the bio. */
.scroll-ready .header { position: fixed; top: var(--header-top); left: var(--page-margin); right: var(--page-margin); }
.header-slot { position: relative; }
.nav-backdrop { display: none; }
.scroll-ready .nav-backdrop { display: block; position: fixed; inset: 0 0 auto; height: var(--nav-height); background: #fff; z-index: 2; opacity: 0; pointer-events: none; }
.menu-arrow { width: .8em; height: .8em; flex: 0 0 auto; margin-top: .15em; }

@media (max-width: 600px) {
  .topics a { position: relative; }
  .topics a::before, .topics a::after { position: absolute; opacity: var(--bracket-progress, 0); pointer-events: none; }
  .topics a::before { content: '['; left: -.35em; }
  .topics a::after { content: ']'; right: -.35em; }
  .topics .slash { opacity: calc(1 - var(--bracket-progress, 0)); }
  .topics[data-compact] a:hover, .topics[data-compact] a:focus-visible { text-decoration: none; }
}

.landing-page { overscroll-behavior-y: none; }
.landing-page .bio { overflow: visible; }
