

:root {
  --sans: 'Mona Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --pad: clamp(20px, 4.4vw, 64px);
  --bar: 56px;
  --gap: clamp(16px, 1.7vw, 24px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --black: #0A0A0A;
  --white: #F4F4F4;
}

[data-theme="dark"] {
  --bg: var(--black);
  --fg: var(--white);
  --fg2: rgba(244, 244, 244, .70);
  --fg3: rgba(244, 244, 244, .55);
  --line: rgba(244, 244, 244, .16);
  --line2: rgba(244, 244, 244, .36);
}
[data-theme="light"] {
  --bg: var(--white);
  --fg: var(--black);
  --fg2: rgba(10, 10, 10, .72);
  --fg3: rgba(10, 10, 10, .60);
  --line: rgba(10, 10, 10, .16);
  --line2: rgba(10, 10, 10, .42);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lock { overflow: hidden; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
h1, h2, h3 { font-weight: 500; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img, video, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
::selection { background: var(--white); color: var(--black); }
[data-theme="light"] ::selection { background: var(--black); color: var(--white); }

.skip {
  position: fixed; left: var(--pad); top: -80px; z-index: 100;
  padding: 10px 14px; background: var(--white); color: var(--black);
  font: 500 .75rem var(--mono); letter-spacing: .06em; text-transform: uppercase;
}
.skip:focus { top: 10px; }

.wrap { width: 100%; max-width: 1680px; margin: 0 auto; padding: 0 var(--pad); }

.label {
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--fg3);
  font-variant-numeric: tabular-nums;
}


.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--bar);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--pad);
  color: var(--fg);
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--line);
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.mark {
  display: inline-flex; align-items: center; gap: 10px; justify-self: start;
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; white-space: nowrap;
}
.mark img { width: 18px; height: 18px; filter: grayscale(1) brightness(1.25) contrast(1.1); transition: filter .45s var(--ease); }
.bar[data-theme="light"] .mark img { filter: grayscale(1) invert(1) contrast(1.15); }

.nav { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav a {
  position: relative; padding: 6px 0;
  font-size: .84375rem; font-weight: 450; letter-spacing: -.005em;
  color: var(--fg2);
  transition: color .3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--fg); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.bar-meta {
  justify-self: end; display: inline-flex; gap: 1.2em;
  font: 500 .75rem var(--mono); letter-spacing: .06em; text-transform: uppercase;
  color: var(--fg3); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.bar-meta time { color: var(--fg); }
.menu-btn {
  display: none; justify-self: end;
  font: 500 .75rem var(--mono); letter-spacing: .06em; text-transform: uppercase;
  padding: 10px 0 10px 12px;
}
.bar-progress {
  position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px;
  background: var(--fg); transform-origin: left; transform: scaleX(var(--prog, 0));
}


main > section { position: relative; background: var(--bg); color: var(--fg); }
.sec { padding: clamp(76px, 13vh, 148px) 0; }

.sh {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px var(--gap);
  margin-bottom: clamp(44px, 8vh, 92px);
}
.sh h2 { grid-column: 1 / 4; padding-top: .55em; }
.sh .lead, .sh .sh-body { grid-column: 4 / 13; }
.sh--bare { margin-bottom: clamp(28px, 5vh, 52px); }
.num { color: var(--fg); margin-right: 1.5em; }

.lead {
  font-size: clamp(1.9rem, 3.75vw, 3.5rem);
  font-weight: 500;
  font-stretch: 106%;
  letter-spacing: -.038em;
  line-height: 1.04;
  max-width: 13em;
  text-wrap: balance;
}
.lead--long { font-size: clamp(1.6rem, 2.9vw, 2.75rem); max-width: 19em; letter-spacing: -.032em; line-height: 1.08; }
.lead--side { font-size: clamp(1.6rem, 2.5vw, 2.4rem); max-width: 11em; letter-spacing: -.032em; line-height: 1.08; }


.hero {
  display: flex; min-height: 100svh;
  padding: calc(var(--bar) + clamp(26px, 5vh, 52px)) 0 clamp(44px, 7vh, 80px);
}
.hero .wrap { display: flex; flex-direction: column; }
.hero-top {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  margin-bottom: clamp(12px, 2.2vh, 24px);
}
.hero-index { display: flex; gap: 0 2.2em; flex-wrap: wrap; justify-content: flex-end; }
.hero-index li + li::before { content: "/"; margin-right: 2.2em; opacity: .5; }

.statement {
  font-size: clamp(2.9rem, 9.4vw, 9.5rem);   
  font-weight: 500;
  font-stretch: 110%;
  letter-spacing: -.056em;
  line-height: .92;
  white-space: nowrap;
  margin-left: -.05em;
}
.fl { display: inline-block; }
.statement .w {
  display: inline-block; vertical-align: top; overflow: hidden;
  padding: .06em .07em .12em 0; margin: -.06em -.07em -.12em 0;
}
.statement .wi { display: inline-block; }

.field { margin-top: clamp(18px, 3.2vh, 34px); }
.field canvas {
  width: 100vw; max-width: none;
  margin-left: calc(50% - 50vw);
  height: clamp(190px, 30vh, 330px);
  cursor: crosshair;
  touch-action: pan-y;
}
.field figcaption {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px 40px;
  padding-top: 14px;
  font-size: .8125rem; line-height: 1.5; color: var(--fg2);
}
.field figcaption p { max-width: 60ch; }
.readout { display: flex; gap: 2.2em; flex: none; }
.readout div { display: flex; gap: .8em; align-items: baseline; }
.readout dt, .readout dd {
  font: 500 .75rem var(--mono); letter-spacing: .06em; text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.readout dt { color: var(--fg3); white-space: nowrap; }
.readout dd { color: var(--fg); min-width: 2ch; text-align: right; }

.lede {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px var(--gap);
  margin-top: auto; padding-top: clamp(34px, 6vh, 64px);
}
.lede-main { grid-column: 1 / 8; }
.lede-main p:first-child { font-size: 1.0625rem; color: var(--fg2); max-width: 46ch; }
.lede-strong {
  margin-top: .55em;
  font-size: clamp(1.55rem, 2.7vw, 2.4rem);
  font-weight: 500; font-stretch: 104%;
  letter-spacing: -.032em; line-height: 1.1;
  max-width: 17em; text-wrap: balance;
}
.lede-side { grid-column: 9 / 13; align-self: end; font-size: 1rem; color: var(--fg2); }


.stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px var(--gap); }
.stage { position: relative; padding: 18px clamp(0px, 2vw, 32px) 0 0; }
.stage h3 {
  margin: clamp(26px, 5vh, 56px) 0 20px;
  font-size: clamp(1.45rem, 2.1vw, 1.9rem); font-stretch: 104%;
  letter-spacing: -.03em; line-height: 1.1; max-width: 12em;
}
.stage .thesis { font-size: 1.125rem; line-height: 1.38; color: var(--fg); letter-spacing: -.01em; margin-bottom: 12px; max-width: 30em; }
.stage p { font-size: .9375rem; color: var(--fg2); max-width: 44ch; }
.stage .label { font-size: .75rem; color: var(--fg3); }
.stage .stage-id { color: var(--fg); }
.stage .stage-kicker { margin-bottom: 10px; }
.stage .note { margin-top: 14px; font-size: .875rem; }
.stage .note b { font-weight: 500; color: var(--fg); }


.rule { position: relative; }
.rule::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: var(--line2); transform-origin: left;
  transition: transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 70ms);
}
.js .rule[data-r]:not(.in)::before { transform: scaleX(0); }
@media (hover: hover) {
  .stage::after {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
    background: var(--fg); transform: scaleX(0); transform-origin: left;
    transition: transform .8s var(--ease);
  }
  .stage:hover::after { transform: scaleX(1); }
}


.pubs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gap); align-items: start; }
.pubs-side { grid-column: 1 / 5; position: sticky; top: calc(var(--bar) + clamp(28px, 6vh, 64px)); }
.pubs-side .lead { margin-top: clamp(20px, 3.4vh, 36px); }
.pubs-count { margin-top: clamp(28px, 6vh, 64px); display: flex; align-items: center; gap: .5em; color: var(--fg); }
.pubs-bar { position: relative; flex: 0 1 132px; height: 1px; margin-left: 1em; background: var(--line); }
.pubs-bar i { position: absolute; inset: 0; background: var(--fg); transform-origin: left; transform: scaleX(.25); transition: transform .7s var(--ease); }

.papers { grid-column: 5 / 13; }
.paper { padding: 20px 0 clamp(40px, 7vh, 68px); }
.paper:last-child { padding-bottom: 0; }
.paper-meta { display: flex; flex-wrap: wrap; gap: 4px 1.6em; align-items: baseline; }
.paper-meta .pnum { color: var(--fg); }
.status { margin-left: auto; display: inline-flex; align-items: center; gap: .7em; color: var(--fg2); }
.status::before { content: ""; width: 7px; height: 7px; border: 1px solid currentColor; border-radius: 50%; }
.paper-flag { display: inline-flex; align-items: center; gap: .6em; color: var(--fg); }
.paper-flag::before { content: ""; width: 6px; height: 6px; background: currentColor; }
@media (hover: hover) and (pointer: fine) { .paper[data-media] { cursor: zoom-in; } }
.paper-film { margin-top: clamp(20px, 3.4vh, 32px); }
.paper-film video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.paper h3 {
  margin: clamp(18px, 3vh, 30px) 0 clamp(18px, 3vh, 28px);
  font-size: clamp(1.45rem, 2.35vw, 2.15rem); font-stretch: 104%;
  letter-spacing: -.032em; line-height: 1.1; max-width: 21em; text-wrap: balance;
}
.paper-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 14px clamp(24px, 3vw, 48px); }
.hook { font-size: 1.0625rem; line-height: 1.42; letter-spacing: -.008em; color: var(--fg); max-width: 34ch; }
.abs { font-size: .9375rem; color: var(--fg2); max-width: 60ch; }


.sys { border-bottom: 1px solid var(--line2); }
.sys-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 3.4fr) minmax(0, 2.5fr) minmax(0, 5fr) 64px;
  gap: 0 var(--gap); align-items: baseline;
  padding: clamp(18px, 2.6vh, 24px) 0 clamp(20px, 2.9vh, 27px);
}
.sys-row > * { transition: opacity .35s var(--ease), transform .6s var(--ease); }
.sys-name { font-size: clamp(1.6rem, 2.9vw, 2.6rem); font-stretch: 106%; letter-spacing: -.04em; line-height: 1; }
.sys-desc { font-size: .9375rem; color: var(--fg2); max-width: 56ch; }
.sys-flag { justify-self: end; color: var(--fg); display: inline-flex; align-items: center; gap: .6em; }
.sys-flag::before { content: ""; width: 6px; height: 6px; background: currentColor; }
@media (hover: hover) and (pointer: fine) {
  .sys:hover .sys-row > * { opacity: .38; }
  .sys:hover .sys-row:hover > * { opacity: 1; }
  .sys-row:hover .sys-name { transform: translateX(10px); }
  .sys-row[data-media] { cursor: zoom-in; }
}
.sys-media { grid-column: 2 / -1; margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.sys-media video { grid-column: 1 / -1; width: 100%; max-width: 420px; aspect-ratio: 1; background: #000; object-fit: cover; }
.sys-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; background: #151515; }


.peek {
  position: fixed; left: 0; top: 0; z-index: 40;
  width: clamp(280px, 30vw, 440px);
  pointer-events: none; opacity: 0; scale: .95;
  transition: opacity .28s var(--ease), scale .6s var(--ease);
  will-change: transform;
}
.peek.on { opacity: 1; scale: 1; }
.peek { background: var(--black); outline: 1px solid rgba(244, 244, 244, .3); width: clamp(260px, 27vw, 400px); }
.peek.sq { width: clamp(220px, 21vw, 300px); }
.peek-frame { position: relative; aspect-ratio: 5 / 4; background: #000; overflow: hidden; }
.peek.sq .peek-frame { aspect-ratio: 1; }
.peek.wide { width: clamp(320px, 36vw, 560px); }
.peek.wide .peek-frame { aspect-ratio: 16 / 9; }
.peek.wide .peek-cap { gap: 1.2em; white-space: nowrap; }
.peek-frame > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.peek-frame img { opacity: 0; transition: opacity .6s var(--ease); }
.peek-frame img.on { opacity: 1; }
.peek-cap { display: flex; justify-content: space-between; padding: 9px 11px 10px; color: var(--white); border-top: 1px solid rgba(244, 244, 244, .3); }


.works { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px var(--gap); align-items: start; }
.wpaper { grid-column: 1 / 6; padding-top: 20px; border-top: 1px solid var(--line2); }
.wpaper h3 {
  margin: clamp(20px, 4vh, 40px) 0 clamp(20px, 3.4vh, 32px);
  font-size: clamp(1.9rem, 3.3vw, 3.1rem); font-stretch: 106%;
  letter-spacing: -.038em; line-height: 1.04; text-wrap: balance;
}
.wpaper .hook { max-width: 40ch; }
.wpaper .abs { margin-top: 14px; max-width: 52ch; }
.link {
  display: inline-flex; gap: .7em; align-items: baseline; margin-top: clamp(24px, 4vh, 40px);
  padding-bottom: 5px; border-bottom: 1px solid var(--fg);
  font: 500 .75rem var(--mono); letter-spacing: .06em; text-transform: uppercase;
}
.link span { transition: transform .5s var(--ease); }
.link:hover span { transform: translateX(6px); }

.fig { grid-column: 6 / 13; }
.fig-panel { position: relative; aspect-ratio: 1.36; background: var(--black); overflow: hidden; cursor: crosshair; touch-action: pan-y; }
.fig-panel canvas { width: 100%; height: 100%; }
.fig figcaption {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px var(--gap);
  padding-top: 14px; font-size: .8125rem; line-height: 1.5; color: var(--fg2);
}
.fig figcaption b { grid-column: 1 / -1; color: var(--fg); margin-bottom: 4px; }


.sec--last { padding-bottom: clamp(24px, 4vh, 36px); }
.contact-sub { margin-top: clamp(18px, 3vh, 28px); font-size: 1.0625rem; color: var(--fg2); max-width: 46ch; }
#contact .sh { margin-bottom: 0; }
.mail {
  position: relative; display: block;
  margin: clamp(44px, 9vh, 104px) 0 clamp(40px, 8vh, 92px);
  padding-bottom: .26em;
  font-size: clamp(1.7rem, 8.4vw, 8.4rem);   
  font-weight: 500; font-stretch: 108%;
  letter-spacing: -.055em; line-height: 1; white-space: nowrap;
  margin-left: -.03em;
}
.mail::before, .mail::after { content: ""; position: absolute; left: .03em; right: 0; bottom: 0; height: 1px; background: var(--line2); }
.mail::after { height: 2px; background: var(--fg); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.mail:hover::after, .mail:focus-visible::after { transform: scaleX(1); }

.ctable { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px var(--gap); }
.ctable dt { margin-bottom: 8px; }
.ctable dd { font-size: .9375rem; line-height: 1.45; color: var(--fg); max-width: 30ch; }
.nb { white-space: nowrap; }
.tlink { border-bottom: 1px solid var(--line2); padding-bottom: 2px; transition: border-color .3s; }
.tlink:hover { border-color: var(--fg); }

.doctrine { margin-top: clamp(44px, 8vh, 88px); padding-top: 18px; border-top: 1px solid var(--line); color: var(--fg2); }
.doctrine i { font-style: normal; margin: 0 1.3em; opacity: .5; }
.foot { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: clamp(20px, 3vh, 28px); }
.foot a { color: var(--fg); }


.js [data-r] {
  opacity: 0; transform: translate3d(0, 16px, 0);
  transition: opacity .9s var(--ease), transform 1s var(--ease);
}
.js [data-r].in { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 70ms); }
.js .sys-row[data-r] { transform: none; }

.sw { display: inline-block; vertical-align: top; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.swi { display: inline-block; }
.js [data-split] .swi { transform: translateY(112%); transition: transform 1s var(--ease); transition-delay: calc(var(--w, 0) * 32ms); }
.js [data-split].in .swi { transform: none; }

.js .statement .wi { transform: translateY(112%); transition: transform 1.1s var(--ease); }
.js.ready .statement .w1 .wi, .js.go .statement .w2 .wi { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-r], .js [data-split] .swi, .js .statement .wi { opacity: 1; transform: none; transition: none; }
  .js .rule[data-r]:not(.in)::before { transform: none; }
  .peek { transition: none; }
}


@media (max-width: 1100px) {
  .sys-row { grid-template-columns: 44px minmax(0, 3fr) minmax(0, 6fr) 56px; }
  .sys-tag { grid-column: 3; }
  .sys-desc { grid-column: 3; margin-top: 6px; }
  .sys-flag { grid-column: 4; grid-row: 1; }
  .sys-media { grid-column: 3 / -1; }
  .paper-body { grid-template-columns: 1fr; }
  .hook { max-width: 44ch; }
  .fig figcaption { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .bar { grid-template-columns: 1fr auto auto; gap: 14px; }
  .tz { display: none; }
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--bar));
    flex-direction: column; gap: 0; padding: 12px var(--pad) 32px;
    background: var(--bg); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
  }
  .bar.open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 16px 0; font-size: 1.75rem; font-weight: 500; letter-spacing: -.035em; color: var(--fg); border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }

  .sh { grid-template-columns: 1fr; gap: 20px; }
  .sh h2, .sh .lead, .sh .sh-body { grid-column: 1; }
  .sh h2 { padding-top: 0; }

  .hero { min-height: 0; padding-top: calc(var(--bar) + 28px); }
  .hero-top { display: contents; }
  .hero-top > .label:first-child { margin-bottom: 16px; }
  .hero-index { order: 9; flex-direction: column; gap: 4px; margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line); }
  .hero-index li + li::before { content: none; }
  .statement { line-height: .9; }
  .field canvas { height: 210px; }
  .field figcaption { flex-direction: column-reverse; gap: 12px; }
  .lede { grid-template-columns: 1fr; padding-top: 40px; }
  .lede-main, .lede-side { grid-column: 1; }

  .stages { grid-template-columns: 1fr; gap: 44px; }
  .stage h3 { margin-top: 22px; }

  .pubs { grid-template-columns: 1fr; gap: 44px; }
  .pubs-side, .papers { grid-column: 1; }
  .pubs-side { position: static; }
  .pubs-count { display: none; }
  .status { margin-left: 0; flex-basis: 100%; }

  .sys-row { grid-template-columns: 36px minmax(0, 1fr) auto; }
  .sys-name { grid-column: 2; }
  .sys-tag { grid-column: 2; margin-top: 10px; }
  .sys-desc { grid-column: 2 / -1; }
  .sys-flag { grid-column: 3; grid-row: 1; }
  .sys-media { grid-column: 2 / -1; }

  .works { grid-template-columns: 1fr; }
  .wpaper, .fig { grid-column: 1; }
  .fig-panel { aspect-ratio: 1.05; }

  .ctable { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doctrine i { margin: 0 .7em; }
  .foot { flex-direction: column; }
}

@media (max-width: 860px) and (max-aspect-ratio: 1/1) {
  .statement .w { display: block; }
}


[data-theme="grey"] {
  --bg: #BDBDBA;
  --fg: var(--black);
  --fg2: rgba(10, 10, 10, .76);
  --fg3: rgba(10, 10, 10, .66);
  --line: rgba(10, 10, 10, .2);
  --line2: rgba(10, 10, 10, .48);
}
[data-theme="grey"] ::selection { background: var(--black); color: var(--white); }
.bar[data-theme="grey"] .mark img { filter: grayscale(1) invert(1) contrast(1.15); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.chip { display: inline-block; flex: none; width: 9px; height: 9px; border: 1px solid currentColor; }
.chip.k { background: #0A0A0A; } .chip.w { background: #F4F4F4; } .chip.g { background: #8C8C89; }


.nav { align-items: center; }
.nav .area { display: inline-flex; align-items: center; gap: .6em; }
.nav .sep { width: 1px; height: 14px; background: var(--line2); }
.nav a[aria-current="page"] { color: var(--fg); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.sec--tight { padding-top: 0; }
.sec--doors { padding-top: clamp(24px, 4vh, 48px); }
[data-theme="dark"] .fig-panel { outline: 1px solid var(--line2); outline-offset: -1px; }


.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.door {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  --door-pad: clamp(18px, 2.1vw, 30px);
  min-height: clamp(400px, 62vh, 610px);
  padding: var(--door-pad) var(--door-pad) 0;   
  background: var(--bg); color: var(--fg);
  border: 1px solid rgba(244, 244, 244, .34);
}
.door + .door { border-left: 0; }
.door-top { display: flex; justify-content: space-between; align-items: center; color: var(--fg); }
.door h3 { font-size: clamp(2.1rem, 4.5vw, 4.3rem); font-stretch: 108%; letter-spacing: -.05em; line-height: .95; }
.door .scope { font-size: 1rem; color: var(--fg2); max-width: 30ch; }
.door-media { position: relative; margin: 8px calc(-1 * var(--door-pad)) 0; aspect-ratio: 16 / 9; overflow: hidden; background: #0A0A0A; }   
.door .enter { margin-top: auto; }

.door-media.blend { background: var(--black); }
.door-media.blend > video {
  inset: auto; left: 50%; top: 50%; width: calc((100% - 2 * var(--door-pad)) / 0.9); height: auto; aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%); mix-blend-mode: lighten;
}

.door-media.blend.ink { background: none; }
.door-media.blend.ink > video { filter: invert(1) brightness(1.1); mix-blend-mode: multiply; }
.door-media > img, .door-media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity .6s var(--ease); }
.enter {
  display: inline-flex; gap: .7em; align-self: flex-start; padding-bottom: 4px; border-bottom: 1px solid currentColor;
  font: 500 .75rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg);
}
.enter span { transition: transform .5s var(--ease); }
@media (hover: hover) {
  .door:hover .door-media > img, .door:hover .door-media > video { transform: scale(1.04); }
  .door:hover .door-media.blend > video { transform: translate(-50%, -50%) scale(1.03); }
  .door:hover .enter span { transform: translateX(6px); }
}


.film {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--fg) 24%, transparent) 0 1px, transparent 1px 12px),
    color-mix(in srgb, var(--fg) 6%, transparent);
  outline: 1px solid var(--line2); outline-offset: -1px;
}
.door-media.film { background:
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--fg) 24%, transparent) 0 1px, transparent 1px 12px),
    color-mix(in srgb, var(--fg) 6%, transparent); }
.film video { opacity: 0; }
.film.has-film video { opacity: 1; }
.film-note { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 16px; color: var(--fg); }
.film.has-film .film-note { display: none; }


.ix-head { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-bottom: clamp(20px, 3.4vh, 32px); }
.ix-count { margin-left: 1.6em; color: var(--fg3); }
.ix-filter { display: flex; gap: 6px; flex-wrap: wrap; }
.ix-filter button {
  display: inline-flex; align-items: center; gap: .65em; padding: 8px 12px;
  border: 1px solid var(--line2); color: var(--fg2);
  font: 500 .75rem var(--mono); letter-spacing: .06em; text-transform: uppercase;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.ix-filter button:hover { color: var(--fg); border-color: var(--fg); }
.ix-filter button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.ix-list { border-bottom: 1px solid var(--line2); }
.ix-row {
  display: grid; grid-template-columns: 44px 128px minmax(0, 1fr) minmax(0, 270px) 20px;
  gap: 0 var(--gap); align-items: baseline;
  padding: 15px 0 17px; border-top: 1px solid var(--line2);
}
.ix-row[hidden] { display: none; }
.ix-tags { display: inline-flex; gap: 4px; align-items: center; align-self: center; }
.ix-name { font-size: clamp(1.15rem, 1.75vw, 1.5rem); font-weight: 500; letter-spacing: -.028em; line-height: 1.15; transition: transform .6s var(--ease); }
.ix-go { opacity: 0; transform: translateX(-8px); transition: opacity .3s var(--ease), transform .5s var(--ease); }
@media (hover: hover) {
  .ix-row:hover .ix-name { transform: translateX(8px); }
  .ix-row:hover .ix-go { opacity: 1; transform: none; }
}
.ix-row.enter-row { animation: ixIn .6s var(--ease) both; animation-delay: calc(var(--k, 0) * 24ms); }
@keyframes ixIn { from { opacity: 0; transform: translateY(8px); } }
.ix-more { margin-top: 18px; padding: 10px 0; color: var(--fg); border-bottom: 1px solid currentColor; }
.ix-more[hidden] { display: none; }


.room-hero { padding: calc(var(--bar) + clamp(36px, 8vh, 84px)) 0 clamp(56px, 9vh, 104px); }
.room-id { display: flex; gap: 1.8em; align-items: center; }
.room-id span { display: inline-flex; gap: .6em; align-items: center; }
.room-id span:last-child { color: var(--fg); }
.room-h1 {
  font-size: clamp(2.7rem, 8vw, 7.8rem); font-weight: 500; font-stretch: 110%;
  letter-spacing: -.054em; line-height: .94; max-width: 9.5em;
  margin: .26em 0 .34em -.04em; text-wrap: balance;
}
.room-h1--long { font-size: clamp(2.1rem, 5.3vw, 5.1rem); max-width: 13em; letter-spacing: -.046em; line-height: .98; }
.room-lede { font-size: clamp(1.0625rem, 1.5vw, 1.3rem); line-height: 1.45; color: var(--fg2); max-width: 44ch; }

.room-film { margin-top: clamp(30px, 6vh, 64px); width: min(100%, calc((100vh - var(--bar) - 76px) * 16 / 9)); width: min(100%, calc((100svh - var(--bar) - 76px) * 16 / 9)); scroll-margin-top: calc(var(--bar) + 16px); }
.room-film-frame { position: relative; aspect-ratio: 16 / 9; background: #0A0A0A; overflow: hidden; outline: 1px solid var(--line2); outline-offset: -1px; }
.room-film-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; cursor: pointer; }
.room-film-cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4em 1.6em; padding-top: 11px; color: var(--fg2); }
.room-film-cap a { color: var(--fg); padding-bottom: 2px; border-bottom: 1px solid currentColor; }
.room-film-tc { margin-left: auto; font-variant-numeric: tabular-nums; }
.room-media { position: relative; margin-top: clamp(30px, 6vh, 64px); aspect-ratio: 21 / 9; overflow: hidden; background: #000; }
.room-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room-media.film { background:
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--fg) 24%, transparent) 0 1px, transparent 1px 12px),
    color-mix(in srgb, var(--fg) 6%, transparent); }


.lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px var(--gap); align-items: start; }
.line-card figure { aspect-ratio: 4 / 5; overflow: hidden; background: #000; margin-bottom: 18px; }
.line-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
@media (hover: hover) { .line-card:hover img { transform: scale(1.035); } }
.line-card h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-stretch: 104%; letter-spacing: -.035em; line-height: 1.05; }
.species { font-style: italic; color: var(--fg2); margin-top: 4px; }
.line-class { margin-top: 12px; font-size: 1.0625rem; letter-spacing: -.01em; }
.meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px var(--gap); margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.meta dd { font-size: .9375rem; }
.record { margin-top: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.record summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; cursor: pointer; list-style: none; color: var(--fg); }
.record summary::-webkit-details-marker { display: none; }
.record summary::after { content: "+"; font-size: 1rem; }
.record[open] summary::after { content: "\2212"; }
.record p { font-size: .9375rem; color: var(--fg2); margin-bottom: 14px; max-width: 62ch; }
.record p.label { font-size: .75rem; color: var(--fg); margin: 18px 0 6px; }


.methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gap); }
.methods--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.method { padding: 16px clamp(0px, 1.6vw, 24px) clamp(34px, 6vh, 56px) 0; }
.method .label { color: var(--fg); }
.method h3 { margin: clamp(22px, 4vh, 40px) 0 12px; font-size: clamp(1.35rem, 1.9vw, 1.7rem); font-stretch: 104%; letter-spacing: -.03em; line-height: 1.1; }
.method p:last-child { font-size: .9375rem; color: var(--fg2); max-width: 40ch; }


.shelf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px var(--gap); align-items: start; }
.prod figure { aspect-ratio: 5 / 4; overflow: hidden; background: #000; margin-bottom: 20px; }
.prod img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; transition: transform 1.4s var(--ease); }
@media (hover: hover) { .prod:hover img { transform: scale(1.03); } }
.prod h3 { margin-top: 10px; font-size: clamp(1.8rem, 3vw, 2.7rem); font-stretch: 106%; letter-spacing: -.04em; line-height: 1; }
.tagline { margin: 12px 0 12px; font-size: 1.125rem; line-height: 1.35; letter-spacing: -.01em; }
.desc { font-size: .9375rem; color: var(--fg2); max-width: 58ch; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin: 22px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column-reverse; gap: 4px; }
.stats dd { font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.order { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
.terms { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.terms dd { font-size: .9375rem; margin-top: 2px; }
.order-cta {
  display: inline-flex; gap: .7em; padding: 12px 16px; border: 1px solid var(--fg);
  font: 500 .75rem var(--mono); letter-spacing: .06em; text-transform: uppercase;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.order-cta:hover, .order-cta:focus-visible { background: var(--fg); color: var(--bg); }
.shelf-note { margin-top: clamp(28px, 5vh, 48px); padding-top: 16px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--fg2); display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.shelf-note .tlink { color: var(--fg); }

@media (max-width: 1100px) {
  .methods--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ix-row { grid-template-columns: 40px 112px minmax(0, 1fr) 20px; }
  .ix-note { grid-column: 3; margin-top: 4px; }
  .ix-go { grid-column: 4; grid-row: 1; }
}
@media (max-width: 860px) {
  .nav { align-items: stretch; }
  .nav .area { display: flex; gap: .5em; }
  .nav .sep { display: none; }
  .nav .area .chip { width: 12px; height: 12px; }
  .doors { grid-template-columns: 1fr; }
  .door { min-height: 0; }
  .door + .door { border-left: 1px solid rgba(244, 244, 244, .34); border-top: 0; }
  .door .enter { margin-top: 10px; }
  .ix-row { grid-template-columns: 34px minmax(0, 1fr) 16px; }
  .ix-row > .label { grid-column: 2; }
  .ix-name { grid-column: 2; margin: 2px 0; }
  .ix-note { grid-column: 2; }
  .ix-go { display: none; }
  .ix-count { display: block; margin: 4px 0 0; }
  .room-media { aspect-ratio: 4 / 3; }
  .lines, .methods, .methods--4, .shelf { grid-template-columns: 1fr; }
  .line-card figure { aspect-ratio: 1; }
  .stats { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ix-row.enter-row { animation: none; }
}




.sec--nexts { padding-top: 0; }
.nexts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.next {
  --door-pad: clamp(18px, 2.1vw, 30px);
  position: relative; display: flex; flex-direction: column; gap: 14px;
  min-height: clamp(230px, 36vh, 340px); padding: var(--door-pad);
  background: var(--bg); color: var(--fg); border: 1px solid rgba(244, 244, 244, .34);
}
[data-theme="grey"] .nexts .next, [data-theme="light"] .nexts .next { border-color: rgba(10, 10, 10, .5); }
.next + .next { border-left: 0; }
.next h3 { font-size: clamp(2.1rem, 4.5vw, 4.3rem); font-stretch: 108%; letter-spacing: -.05em; line-height: .95; }
.next .scope { font-size: 1rem; color: var(--fg2); max-width: 30ch; }
.next .enter { margin-top: auto; }
@media (hover: hover) and (pointer: fine) { .next:hover .enter span { transform: translateX(6px); } }


.sys-row--line { grid-template-columns: 52px minmax(0, 4.2fr) minmax(0, 6.2fr) 64px; }


.pubs .papers > ol { list-style: none; }
.facts { border-bottom: 1px solid var(--line2); }
.facts div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--gap); align-items: baseline; padding: 14px 0 15px; border-top: 1px solid var(--line2); }
.facts dt { font-size: .9375rem; color: var(--fg2); }
.facts dd { font-size: clamp(1.35rem, 2vw, 1.8rem); font-stretch: 106%; letter-spacing: -.035em; font-variant-numeric: tabular-nums; line-height: 1; }


.stills { margin-top: clamp(40px, 8vh, 84px); }
.stills-h { color: var(--fg); margin-bottom: 16px; }
.stills-row { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.still { display: block; width: 100%; padding: 0; border: 0; background: #0A0A0A; cursor: pointer; overflow: hidden; outline: 1px solid var(--line2); outline-offset: -1px; }
.still img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.2s var(--ease), opacity .4s var(--ease); }
.stills-row p { display: flex; gap: 1.4em; padding-top: 10px; color: var(--fg2); }
.stills-row p span { color: var(--fg); font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) {
  .stills-row:hover .still img { opacity: .5; }
  .stills-row .still:hover img { opacity: 1; transform: scale(1.04); }
}
.still:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }

@media (max-width: 1100px) {
  .sys-row--line { grid-template-columns: 44px minmax(0, 4.2fr) minmax(0, 6.2fr) 56px; }
}
@media (max-width: 560px) {
  .nexts { grid-template-columns: 1fr; }
  .next + .next { border-left: 1px solid rgba(244, 244, 244, .34); border-top: 0; }
  [data-theme="grey"] .nexts .next + .next, [data-theme="light"] .nexts .next + .next { border-left-color: rgba(10, 10, 10, .5); }
  .next { min-height: 200px; }
}
@media (max-width: 760px) {
  .sys-row--line { grid-template-columns: 36px minmax(0, 1fr) auto; }
  .stills-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px var(--gap); }
}


.room-hero--cell { padding-top: var(--bar); padding-bottom: 0; background: #040405; }
.room-hero--cell + .sec { padding-top: clamp(56px, 9vh, 104px); }      
.hero-stage {
  --wrap: min(100vw, 1680px);                                             
  --edge: calc((100vw - var(--wrap)) / 2 + var(--wrap) * .4166);           
  --panel: calc(100vw - var(--edge));                                     
  --gutter: clamp(20px, 2.4vw, 40px);
  position: relative; isolation: isolate; display: flex; overflow: hidden; background: #040405; color: var(--fg);
  min-height: calc(100vh - var(--bar)); min-height: calc(100svh - var(--bar));
}
.hero-stage-in {
  position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; pointer-events: none;
  padding-top: clamp(22px, 3.4vh, 34px); padding-bottom: clamp(22px, 3.4vh, 34px);
  padding-right: calc(var(--panel) - (100vw - var(--wrap)) / 2 + var(--gutter));   
}
.hero-stage-in > * { pointer-events: auto; }
.hero-stage-in > .room-id { width: fit-content; }

.hero-stage .room-h1 { font-size: clamp(2.3rem, 5.2vw, 5.5rem); max-width: none; margin: auto 0 .3em -.04em; padding-top: .5em; }
.hero-stage .room-lede { max-width: 32ch; }
.stage-foot { margin-top: clamp(22px, 4vh, 40px); }
.stage-foot .rail { margin-right: calc(var(--gutter) * -1); }              
.stage-row { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding-top: clamp(4px, 1vh, 8px); }
.stage-tc { display: flex; gap: 1.4em; color: var(--fg); white-space: nowrap; }
.stage-tc span:last-child { color: var(--fg3); font-variant-numeric: tabular-nums; }

.cta { display: inline-flex; align-items: center; gap: 2.4em; width: fit-content; padding: 16px 20px 15px 22px;
  font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; line-height: 1;
  color: var(--bg); background: var(--fg); border: 1px solid var(--fg); transition: color .35s var(--ease), background-color .35s var(--ease); }
.cta span { transition: transform .5s var(--ease); }
.cta:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .cta:hover { color: var(--fg); background: transparent; } .cta:hover span { transform: translateX(6px); } }

.cell { position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: var(--panel); background: #040405; border-left: 1px solid var(--line); --cell-shift: 0; --cell-shift-y: 0; --cell-fill: .9; }
.cell-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1s var(--ease); }
.cell-film { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 50%; background: #040405; transition: opacity 1s var(--ease); }
.cell[data-cell="live"] .cell-canvas { opacity: 1; }
.cell[data-cell="live"] .cell-film { opacity: 0; }
.cell-pad { position: absolute; inset: 0; display: none; touch-action: pan-y; }
@media (hover: hover) and (pointer: fine) {
  .cell[data-cell="live"] .cell-pad { display: block; cursor: grab; }
  .is-turning .cell-pad { cursor: grabbing; }
}
@media (max-width: 1099px) {
  
  .hero-stage { flex-direction: column; min-height: 0; }
  .hero-stage-in { padding-top: clamp(28px, 6vh, 56px); padding-right: var(--pad); padding-bottom: 24px; }
  .hero-stage .room-h1 { font-size: clamp(2.3rem, 8vw, 5rem); max-width: 9.5em; margin-top: .26em; padding-top: 0; }
  .hero-stage .room-lede { max-width: 44ch; }
  .stage-foot .rail { margin-right: 0; }
  .cell { position: relative; top: auto; right: auto; bottom: auto; order: 2; width: 100%; aspect-ratio: 16 / 9; border-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .cell-film, .cell-canvas { transition: none; } }


.ro { font-family: var(--mono); font-size: .6875rem; font-weight: 500; letter-spacing: .02em; line-height: 1.35; color: var(--fg3);
  font-variant-numeric: tabular-nums; margin-top: clamp(30px, 6vh, 64px); max-width: 560px; }
.ro-head, .ro-foot { display: flex; align-items: baseline; gap: 1.6em; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.ro-head b, .ro-foot b { font-weight: inherit; color: var(--fg); }
.ro-foot b, .ro-of { text-transform: none; letter-spacing: .02em; }
.ro-push { margin-left: auto; }
.ro-arms { margin: 12px 0 11px; padding: 5px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ro-arm { display: grid; grid-template-columns: 1.5em 6.6em 5.4em minmax(0, 1fr); column-gap: .9em; align-items: baseline; padding: 6px 0;
  white-space: nowrap; transition: color .25s var(--ease); }
.ro-arm.is-live { color: var(--fg); }
.ro-id { color: var(--fg); }
.ro-st { display: inline-flex; align-items: center; gap: .75em; text-transform: uppercase; letter-spacing: .06em; }
.ro-st::before { content: ""; width: 7px; height: 7px; flex: none; border: 1px solid currentColor; }
.ro-arm.is-live .ro-st::before { background: currentColor; }
.ro-arm.is-live .ro-ln { color: var(--fg2); }
.ro-code { overflow: hidden; text-overflow: ellipsis; }
.ro-code span { white-space: nowrap; }
@media (max-width: 1099px) {
  .hero-stage > .ro { order: 3; width: 100%; max-width: none; margin: 0; padding: 16px var(--pad) 24px; }
  .ro-arm { grid-template-columns: 1.5em 6.6em minmax(0, 1fr); }
  .ro-ln { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ro-arm { transition: none; } }


.rail { list-style: none; display: flex; gap: 3px; }
.rail li { flex: var(--w) 1 0; min-width: 0; }
.rail button { display: block; width: 100%; padding: 12px 0 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.rail i { display: block; position: relative; height: 2px; background: var(--line2); }
.rail i::after { content: ""; position: absolute; inset: 0; background: var(--fg); transform-origin: left center; transform: scaleX(var(--f, 0)); }
.rail .label { display: block; padding-top: 11px; white-space: nowrap; overflow: hidden; color: var(--fg3); transition: color .3s var(--ease); }
.rail .label b { font-weight: inherit; margin-right: .9em; }
.rail li.is-on .label { color: var(--fg); }
.rail button:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .rail button:hover .label { color: var(--fg); }
  .rail button:hover i { background: var(--fg3); }
}
.rail--quiet button { padding: 0 0 14px; }                          


.dossier { border-top: 1px solid var(--line2); padding-top: 20px; }
.dossier .paper-meta { display: flex; }
.dossier-title { margin: clamp(18px, 3vh, 30px) 0 clamp(28px, 5vh, 52px) -.03em; font-size: clamp(1.7rem, 3.2vw, 3.2rem); font-weight: 500; font-stretch: 106%; letter-spacing: -.04em; line-height: 1.03; max-width: 19em; text-wrap: balance; }
.dossier-film { width: min(100%, calc((100vh - var(--bar) - 48px) * 16 / 9)); width: min(100%, calc((100svh - var(--bar) - 48px) * 16 / 9)); scroll-margin-top: calc(var(--bar) + 16px); }
.rail-meta { display: none; gap: 1.6em; padding-top: 14px; color: var(--fg3); }   
.rail-meta .rail-now { color: var(--fg); }
.rail-meta .rail-tc { margin-left: auto; font-variant-numeric: tabular-nums; }
.dossier-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 36px var(--gap); margin-top: clamp(56px, 9vh, 104px); align-items: start; }
.dossier-text { grid-column: 1 / 6; }
.dossier-hook { font-size: clamp(1.55rem, 2.6vw, 2.5rem); font-weight: 500; font-stretch: 106%; letter-spacing: -.038em; line-height: 1.05; text-wrap: balance; }
.dossier-text .abs { margin-top: clamp(18px, 3vh, 30px); max-width: 46ch; font-size: 1rem; line-height: 1.5; }
.dossier .facts { grid-column: 7 / 13; }
@media (max-width: 900px) {
  .dossier-text, .dossier .facts { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .dossier-film .rail .label { display: none; }
  .dossier-film .rail button { padding-bottom: 6px; }
  .rail-meta { display: flex; }
}


.app-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 4vh, 44px) var(--gap); align-items: start; }
.app-text { grid-column: 1 / 5; }
.app-screen { grid-column: 5 / 13; position: relative; aspect-ratio: 2054 / 1282; }
.app-steps { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.app-step button {
  all: unset; box-sizing: border-box; display: grid; grid-template-columns: 6.2em minmax(0, 1fr); gap: 4px 12px; width: 100%;
  padding: 14px 0 15px; border-top: 1px solid var(--line); cursor: pointer; position: relative;
}
.app-step button:focus-visible { outline: 1px solid var(--fg); outline-offset: 4px; }
.app-step-k { color: var(--fg3); transition: color .4s var(--ease); }
.app-step-n { color: var(--fg3); margin-right: .9em; }
.app-step-txt { font-size: .9rem; line-height: 1.42; color: var(--fg3); max-width: 34em; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .55s var(--ease), opacity .45s var(--ease), color .4s var(--ease); }
.app-step.is-on .app-step-txt { max-height: 9em; opacity: 1; }
.app-step.is-on .app-step-k, .app-step.is-on .app-step-n { color: var(--fg); }
.app-step.is-on .app-step-txt { color: var(--fg2); }
@media (hover: hover) { .app-step:not(.is-on) button:hover .app-step-k, .app-step:not(.is-on) button:hover .app-step-txt { color: var(--fg2); } }
.app-step-bar { position: absolute; left: 0; right: 0; top: -1px; height: 1px; overflow: hidden; }
.app-step-bar i { display: block; height: 100%; background: var(--fg); transform: scaleX(0); transform-origin: left; }
.app-step.is-on .app-step-bar i { transform: scaleX(1); }
.app-grid.is-auto .app-step.is-on .app-step-bar i { animation: app-fill var(--app-dur, 5.2s) linear both; }
@keyframes app-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.app-shot { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); }
.app-shot img { display: block; width: 100%; height: 100%; object-fit: contain; }
.app-shot.is-on { opacity: 1; }

.app-lede { margin: 0 0 clamp(44px, 7vh, 80px) -.03em; max-width: 21em; font-size: clamp(1.8rem, 3.1vw, 3.1rem); font-weight: 500; font-stretch: 106%; letter-spacing: -.04em; line-height: 1.03; text-wrap: balance; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-bottom: clamp(64px, 10vh, 120px); }
.pillar { padding-top: clamp(20px, 3vh, 28px); }
.pillar-k { color: var(--fg); }
.pillar-k .num { margin-right: 1.2em; }
.pillar-h { margin: 14px 0 12px -.02em; font-size: clamp(1.3rem, 1.75vw, 1.8rem); font-weight: 500; font-stretch: 104%; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
.pillar-p { margin: 0; max-width: 28em; font-size: .95rem; line-height: 1.5; color: var(--fg2); }
.app-how { padding-top: clamp(22px, 3vh, 32px); margin-bottom: clamp(22px, 3.5vh, 36px); }
.app-how-k { color: var(--fg); }
@media (min-width: 861px) and (max-width: 1099px) {
  .app-text { grid-column: 1 / 6; }
  .app-screen { grid-column: 6 / 13; }
}
@media (max-width: 860px) {
  .app-text, .app-screen { grid-column: 1 / -1; }
  .app-screen { order: -1; margin: 0 calc(var(--pad) * -.5); }
}
@media (max-width: 699px) {
  .pillars { grid-template-columns: 1fr; gap: 8px; }
}
@media (hover: hover) { .app-step:not(.is-on) button:hover .app-step-txt { color: var(--fg3); } }
@media (prefers-reduced-motion: reduce) { .app-shot, .app-step-k, .app-step-txt { transition: none; } .app-grid.is-auto .app-step.is-on .app-step-bar i { animation: none; } }


.room-hero--cell + .app { background: #040405; padding-top: clamp(44px, 7vh, 84px); }
.app-name { color: var(--fg); }




html { scroll-padding-top: var(--bar); }
.room-film, .dossier-film { scroll-margin-top: 16px; }


.stage h3, .sys-name, .ix-name, .next h3 { text-wrap: balance; }
p, dd { text-wrap: pretty; }


.paper-film video { max-height: calc(100svh - var(--bar) - 32px); }
.sys-media video { max-width: min(420px, calc(100svh - var(--bar) - 32px)); }


@media (pointer: coarse) {
  .mark { padding: 13px 0; }
  .menu-btn { min-height: 44px; min-width: 44px; }
  .ix-filter button { min-height: 44px; }
  .ix-more { min-height: 44px; }
  .link, .room-film-cap a, .foot a, .tlink, .mail .fl, .rail button { position: relative; }
  .nav a::before, .link::before, .room-film-cap a::before, .foot a::before, .tlink::before, .mail .fl::before, .rail button::before {
    content: ""; position: absolute; inset: -13px -6px;
  }
  .rail button::before { inset: -18px 0 -10px; }
  .mail .fl::before { inset: -10px 0; }
}


@media (max-width: 860px), (pointer: coarse) {
  .field figcaption, .fig figcaption { font-size: .875rem; }
}
@media (max-width: 560px) {
  .hook { text-wrap: balance; }
  .doctrine i { display: block; height: 0; overflow: hidden; margin: 0; visibility: hidden; }
}
@media (max-width: 419px) {
  .readout { gap: 1.3em; }
  .ro-arm { align-items: start; }
  .ro-code { white-space: normal; text-overflow: clip; min-height: 2.7em; }   
}
@media (max-width: 359px) {
  .bar-meta { display: none; }
  .ctable { grid-template-columns: 1fr; }
}


@media (min-width: 561px) and (max-width: 860px) {
  .door {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); grid-template-rows: auto auto 1fr auto;
    column-gap: var(--door-pad); row-gap: 12px; padding-bottom: var(--door-pad);
  }
  .door > :not(.door-media) { grid-column: 1; }
  .door .enter { align-self: end; margin-top: 10px; }
  .door-media { grid-column: 2; grid-row: 1 / -1; justify-self: stretch; align-self: stretch; min-width: 0; margin: calc(-1 * var(--door-pad)) calc(-1 * var(--door-pad)) calc(-1 * var(--door-pad)) 0; }
  .door-media:not(.blend) > video { object-fit: contain; }
}


@media (min-width: 861px) and (max-aspect-ratio: 4/5) {
  .hero { min-height: 0; }
  .field canvas { height: clamp(190px, 30vh, 440px); }
}


@media (max-width: 1099px) {
  .cell { max-height: calc(100svh - var(--bar)); }
  .cell-film { object-fit: contain; }
}


.rail-tight .rail .label { display: none; }
.rail-tight .rail button { padding-bottom: 6px; }
.rail-tight .rail-meta { display: flex; }


@media (max-width: 1099px), (horizontal-viewport-segments: 2) {
  .cell-film { object-position: 54% 55%; }
  .cell.cell-fit .cell-film { object-fit: contain; }
}


@media (min-width: 861px) and (max-width: 1099px), (horizontal-viewport-segments: 2) {
  :root {
    --half: 50vw;
    --spine: calc(var(--fold, 0px) + 2 * var(--pad));                      
    --cols2: minmax(0, 1fr) minmax(0, 1fr);
  }

  
  .bar { grid-template-columns: var(--cols2); column-gap: var(--spine); }
  .mark { grid-area: 1 / 1; }
  .bar-meta { grid-area: 1 / 1; justify-self: end; }
  .nav { grid-area: 1 / 2; justify-self: start; gap: 18px; }
  .menu-btn { grid-area: 1 / 2; }

  
  .sh { grid-template-columns: 1fr; gap: 20px; }
  .sh h2, .sh .lead, .sh .sh-body { grid-column: 1; }
  .sh h2 { padding-top: 0; }
  .sys-row, .sys-row--line { grid-template-columns: 36px minmax(0, 1fr) auto; }
  .sys-name { grid-column: 2; }
  .sys-tag { grid-column: 2; margin-top: 10px; }
  .sys-desc { grid-column: 2 / -1; }
  .sys-flag { grid-column: 3; grid-row: 1; }
  .sys-media { grid-column: 2 / -1; }
  .ix-row { grid-template-columns: 34px minmax(0, 1fr) 16px; }
  .ix-row > .label, .ix-name, .ix-note { grid-column: 2; }
  .ix-name { margin: 2px 0; }
  .ix-go { grid-column: 3; grid-row: 1; }
  .stages { grid-template-columns: 1fr; gap: 44px; }
  .stage h3 { margin-top: 22px; }
  .status { margin-left: 0; flex-basis: 100%; }
  .ctable { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot { flex-direction: column; }
  .doctrine i { display: block; height: 0; overflow: hidden; margin: 0; visibility: hidden; }   
  .readout { gap: 1.4em; }

  
  .hero { min-height: min(100svh, 820px); padding-bottom: 32px; }
  .hero .wrap { display: grid; grid-template-columns: var(--cols2); column-gap: var(--spine); grid-template-rows: auto auto 1fr auto; }
  .hero-top { display: contents; }
  .hero-top > .label:first-child { grid-area: 1 / 1; margin-bottom: 16px; }
  .statement { grid-area: 2 / 1; line-height: .9; }
  .statement .w { display: block; }
  .lede { display: contents; }
  .lede-main { grid-area: 3 / 1; align-self: end; padding-top: 28px; }
  .hero-index { grid-area: 4 / 1; align-self: start; flex-direction: column; gap: 4px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); }
  .hero-index li + li::before { content: none; }
  .field { grid-area: 1 / 2 / 4 / 3; margin: 0; display: flex; flex-direction: column; }
  .field canvas { width: calc(100% + var(--pad)); max-width: none; margin-left: 0; height: 0; flex: 1 1 0; min-height: 220px; }
  .field figcaption { flex-direction: column-reverse; gap: 12px; }
  .lede-side { grid-area: 4 / 2; align-self: start; padding-top: 28px; }

  
  .doors { grid-template-columns: var(--cols2); column-gap: var(--spine); }
  .door { display: flex; min-height: 0; padding-bottom: 0; }
  .door-media { margin: 8px calc(-1 * var(--door-pad)) 0; align-self: auto; }
  .door .enter { align-self: flex-start; margin-top: 10px; }
  .door + .door { border-left: 1px solid rgba(244, 244, 244, .34); }
  .door:nth-child(2) { grid-column: 2; grid-row: 1 / 3; border-top: 1px solid rgba(244, 244, 244, .34); }
  .door:nth-child(2) .enter { margin-top: auto; }
  .door:nth-child(3) { border-top: 0; }

  
  #approach .wrap, #ix, #contact .wrap, .pubs, .works, .dossier, .dossier-body, .app-grid {
    display: grid; grid-template-columns: var(--cols2); column-gap: var(--spine); align-items: start;
  }
  #approach .sh { position: sticky; top: calc(var(--bar) + 28px); margin-bottom: 0; }
  .ix-head { grid-column: 1; grid-row: 1 / 3; position: sticky; top: calc(var(--bar) + 28px); flex-direction: column; align-items: flex-start; }
  .ix-list, .ix-more { grid-column: 2; }
  .ix-more { justify-self: start; }
  #contact .sh { grid-column: 1; grid-row: 1 / 3; }
  #contact .mail { grid-column: 2; margin: 0 0 40px; }
  #contact .ctable { grid-column: 2; }
  #contact .doctrine { grid-column: 1; margin-top: 44px; }
  #contact .foot { grid-column: 2; margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); }
  .pubs-side { grid-column: 1; }
  .papers { grid-column: 2; }
  .wpaper { grid-column: 1; }
  .fig { grid-column: 2; }

  
  .sys, .nexts { display: grid; grid-template-columns: var(--cols2); column-gap: var(--spine); }
  .nexts .next + .next { border-left-style: solid; border-left-width: 1px; border-top-style: solid; border-top-width: 1px; }

  
  .room-hero:not(.room-hero--cell) { min-height: min(100svh, 820px); display: flex; flex-direction: column; justify-content: center; padding-bottom: 32px; }
  .room-hero:not(.room-hero--cell) > .wrap { display: grid; grid-template-columns: var(--cols2); column-gap: var(--spine); align-items: center; }
  .room-hero .room-id, .room-hero .room-h1, .room-hero .room-lede { grid-column: 1; }
  .room-h1--long { font-size: calc(var(--half) * .072); max-width: none; }
  .room-film { grid-column: 2; grid-row: 1 / 4; margin-top: 0; width: 100%; }

  
  .hero-stage { display: grid; grid-template-columns: minmax(0, var(--half)) minmax(0, 1fr); column-gap: var(--fold, 0px); grid-template-rows: 1fr auto; min-height: min(calc(100svh - var(--bar)), 760px); }
  .hero-stage-in { grid-column: 1; grid-row: 1 / 3; padding: 24px var(--pad); }
  .hero-stage .room-h1 { font-size: calc(var(--half) * .085); margin-top: auto; padding-top: .5em; }   
  .cell { grid-column: 2; grid-row: 1; align-self: end; width: 100%; height: 100%; aspect-ratio: auto; min-height: 240px; max-height: calc(var(--half) * 1.1); order: 0; border-left: 0; }
  .cell-film { object-fit: cover; }
  .hero-stage > .ro { grid-column: 2; grid-row: 2; padding: 14px var(--pad) 20px; }

  
  .pillars { grid-template-columns: 1fr; gap: 0; }
  .pillar { display: grid; grid-template-columns: var(--cols2); column-gap: var(--spine); padding-bottom: 24px; }
  .pillar-k, .pillar-h { grid-column: 1; }
  .pillar-p { grid-column: 2; grid-row: 1 / 3; padding-top: 2px; }
  .app-text { grid-column: 1; }
  .app-screen { grid-column: 2; grid-row: 1; order: 0; margin: 0; position: sticky; top: calc(var(--bar) + 24px); }

  
  .dossier .paper-meta, .dossier-title { grid-column: 1; }
  .dossier-film { grid-column: 2; grid-row: 1 / 3; width: 100%; }
  .dossier-body { grid-column: 1 / -1; }
  .dossier-text { grid-column: 1; }
  .dossier .facts { grid-column: 2; }
}

@media (min-width: 700px) and (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; gap: 0; }
  .pillar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: calc(2 * var(--pad)); padding-bottom: 24px; }
  .pillar-k, .pillar-h { grid-column: 1; }
  .pillar-p { grid-column: 2; grid-row: 1 / 3; padding-top: 2px; }
}


@media (horizontal-viewport-segments: 2) {
  :root {
    --fold: calc(env(viewport-segment-left 1 0, 50vw) - env(viewport-segment-right 0 0, 50vw));
    --half: env(viewport-segment-width 0 0, 50vw);
    --cols2: minmax(0, calc(env(viewport-segment-width 0 0, 50vw) - 2 * var(--pad))) minmax(0, 1fr);
  }
}
@media (horizontal-viewport-segments: 2) and (max-width: 860px) {
  .nav { grid-area: auto; left: env(viewport-segment-left 1 0, 50vw); }       
  .ro-arm { align-items: start; }
  .ro-code { white-space: normal; text-overflow: clip; min-height: 2.7em; }
}


@media (vertical-viewport-segments: 2) {
  :root {
    --top: env(viewport-segment-bottom 0 0, 50vh);   
    --low: env(viewport-segment-top 0 1, 50vh);      
  }
  html { scroll-padding-top: 0; scroll-padding-bottom: var(--bar); }
  .bar { inset: auto 0 0 0; border-bottom: 0; border-top: 1px solid var(--line); }
  .bar-progress { bottom: auto; top: -1px; }
  .sec--last { padding-bottom: calc(var(--bar) + 24px); }

  
  .hero { min-height: 0; padding-top: 0; }
  .field { display: contents; }
  .field canvas { order: -1; height: var(--top); margin-bottom: calc(var(--low) - var(--top) + 28px); }

  
  .room-hero:not(.room-hero--cell) { padding-top: 0; }
  .room-hero:not(.room-hero--cell) > .wrap { display: flex; flex-direction: column; }
  .room-hero .room-film { order: -1; width: auto; margin: 0 calc(-1 * var(--pad)); }
  .room-hero .room-film-frame { aspect-ratio: auto; height: var(--top); outline: 0; }
  .room-hero .room-film-cap { padding: calc(var(--low) - var(--top) + 12px) var(--pad) 0; }
  .room-hero .room-id { margin-top: 28px; }

  
  .room-hero--cell { padding-top: 0; }
  .cell { order: -1; aspect-ratio: auto; height: var(--top); max-height: none; }
  .cell-film { object-fit: contain; }
  .hero-stage-in { padding-top: calc(var(--low) - var(--top) + 24px); }

  
  .app-text, .app-screen { grid-column: 1 / -1; }
  .app-screen { order: -1; position: sticky; top: 0; z-index: 2; height: var(--top); aspect-ratio: auto; margin: 0 calc(-1 * var(--pad)); background: #040405; }

  
  .dossier-film { width: 100%; }
  .dossier-film .room-film-frame { aspect-ratio: auto; height: calc(var(--top) - 16px); }
  .dossier-film .rail { margin-top: calc(var(--low) - var(--top) + 4px); }

  
  .pubs-side, #approach .sh, .ix-head { top: calc(var(--low) + 16px); }
}
@media (vertical-viewport-segments: 2) and (max-width: 860px) {
  .nav { top: auto; bottom: 100%; height: calc(100dvh - var(--low) - var(--bar)); }   
  .nav a { padding: 12px 0; font-size: 1.5rem; }
}


.bar.is-away { transform: translateY(calc(-100% - 2px)); }
@media (vertical-viewport-segments: 2) { .bar.is-away { transform: translateY(calc(100% + 2px)); } }
.bar { transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), transform .35s var(--ease); }
@media (prefers-reduced-motion: reduce) { .bar { transition: none; } }


.status-pdf::before { background: currentColor; }
.status-pdf a { color: var(--fg); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .4s var(--ease); }
.status-pdf a:hover, .status-pdf a:focus-visible { background-size: 100% 1px; }
.status-pdf .status-data { color: var(--fg2); }
@media (pointer: coarse) {
  .status-pdf a { display: inline-flex; align-items: center; min-height: 44px; }
}


@media (pointer: coarse) {
  .rail--quiet button::before { left: 50%; right: auto; width: max(100%, 44px); transform: translateX(-50%); }
}
.rail.rail-even { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 7), minmax(0, 1fr)); gap: 0 3px; padding-top: 6px; }
.rail.rail-even li, .rail.rail-even button { position: static; }
.dossier-film .rail.rail-even button { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0; }
.rail.rail-even button::before { content: none; }
.rail.rail-even i { position: absolute; top: 0; left: calc(var(--a) * 100%); width: calc(var(--b) * 100% - 3px); }
.dossier-film .rail.rail-even .label { display: block; padding: 0; font-size: 0; }
.dossier-film .rail.rail-even .label b { font-size: .75rem; margin: 0; }
.dossier-film .rail.rail-even ~ .rail-meta { display: flex; }
