@font-face {
  font-family: "DM Sans";
  src: url("../luxavatar/fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 750;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../luxavatar/fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  --night: #141817;
  --cream: #f6f5ef;
  --ink: #202623;
  --amber: #ffce90;
  --subtle: #b9c1bb;
  --rule: #c8cec4;
  --dark-rule: #414a44;
  --edge: clamp(20px, 5.6vw, 94px);
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-family: "DM Sans", sans-serif;
  background: var(--night);
  color: var(--ink);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 26px; }
body, h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
body { -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible, video:focus-visible { outline: 3px solid #e78d27; outline-offset: 4px; }
a:hover { text-decoration: underline; text-underline-offset: .23em; }
img, video { display: block; max-width: 100%; }
video { width: 100%; height: auto; background: #050706; }
ul, ol { list-style: none; padding: 0; }
i { font: italic 400 1.06em/.9 "Instrument Serif", Georgia, serif; }
[hidden] { display: none !important; }
.shell { max-width: 1560px; margin-inline: auto; padding-inline: var(--edge); }
.skip { position: absolute; z-index: 5; left: 12px; top: -120px; padding: .7em 1em; background: white; color: black; }
.skip:focus { top: 8px; }
.mast, .hero, .film, footer { background: var(--night); color: var(--cream); }
.mast-inner, .foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mast-inner { position: relative; min-height: 72px; }
.mast-inner::after { content: ""; position: absolute; left: var(--edge); right: var(--edge); bottom: 0; border-bottom: 1px solid var(--dark-rule); }
.brand { display: inline-flex; align-items: center; font-size: 1.34rem; font-weight: 680; letter-spacing: -.065em; }
.brand:hover, .watch:hover { text-decoration: none; }
.brand i { color: var(--amber); font-size: 1.13em; margin-left: .04em; }
.lens { position: relative; display: inline-block; height: 22px; width: 28px; margin-right: 10px; color: var(--amber); }
.lens::before, .lens::after { content: ""; position: absolute; top: 1px; width: 18px; height: 18px; border: 1.6px solid currentColor; border-radius: 50%; }
.lens::before { left: 0; }
.lens::after { left: 8px; background: repeating-linear-gradient(120deg,transparent 0 2px,currentColor 2.4px 3.1px,transparent 3.6px 5px); }
.mast nav { display: flex; gap: clamp(17px, 3vw, 43px); font-size: .94rem; color: #e2e5e0; }
.mast nav a { display: inline-flex; min-height: 44px; align-items: center; }
.hero { background: radial-gradient(ellipse at 83% 38%, #2b3029 0, #1b211d 32%, var(--night) 65%); }
.hero-inner {
  display: grid;
  grid-template: "intro demo" auto "credits demo" auto / minmax(0,.85fr) minmax(0,1.2fr);
  gap: clamp(20px,2vw,32px) clamp(30px,4.6vw,76px);
  padding-block: clamp(42px,5.3vw,83px) clamp(50px,6vw,93px);
}
.hero-copy { grid-area: intro; align-self: end; }
.project-meta { grid-area: credits; align-self: start; }
.venue { display: flex; align-items: center; gap: 12px; font: 500 .85rem/1.3 var(--mono); letter-spacing: .08em; }
.venue > span:first-child { display: block; width: 31px; height: 2px; background: var(--amber); }
.venue-year { color: var(--amber); }
h1 { margin-block: clamp(20px,2.5vw,36px) 20px; font-size: clamp(5.4rem,8.7vw,9.1rem); line-height: .86; font-weight: 650; letter-spacing: -.092em; }
h1 i { margin-left: .03em; color: var(--amber); letter-spacing: -.065em; }
.paper-title { max-width: 38ch; font-size: clamp(1.35rem,2.02vw,2rem); line-height: 1.14; letter-spacing: -.044em; text-wrap: pretty; }
.authors { display: flex; flex-wrap: wrap; max-width: 32rem; column-gap: .88em; row-gap: .32em; font-size: 1rem; line-height: 1.45; }
.authors span, .affiliations span { white-space: nowrap; }
sup { font: 500 .66em var(--mono); color: var(--amber); vertical-align: super; }
.authors sup { margin-left: 2px; }
.affiliations { display: flex; flex-wrap: wrap; gap: .16em 1.15em; margin-top: 9px; color: var(--subtle); font-size: .86rem; line-height: 1.55; }
.watch { margin-top: clamp(24px,2.6vw,38px); display: inline-flex; gap: 11px; align-items: center; min-height: 46px; padding: 10px 17px; border-radius: 30px; background: var(--amber); color: #231c13; font-weight: 650; font-size: .94rem; }
.watch:hover { background: #ffe1b9; }
.play-symbol { border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; margin-left: 2px; }
.runtime { border-left: 1px solid #705a3e6b; padding-left: 10px; font: .78rem var(--mono); }
.opening-demo { grid-area: demo; min-width: 0; align-self: center; }
.opening-demo video { border: 1px solid var(--dark-rule); }
.opening-demo figcaption, .player-caption, .pipeline figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.opening-demo figcaption { margin-top: 11px; font-size: .98rem; font-weight: 550; }
.opening-demo figcaption time { color: var(--subtle); }
.lighting-settings { margin-top: 2px; font-size: .85rem; color: var(--subtle); }
.lighting-settings summary { width: fit-content; padding-block: 8px; cursor: pointer; }
.lighting-settings summary:hover { color: var(--amber); }
.setups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; margin-top: 4px; }
.setups li { border-top: 1px solid var(--dark-rule); }
.setups a { min-height: 44px; display: flex; gap: 8px; align-items: center; padding-block: 4px; }
.setups a[aria-current] { color: var(--amber); }
.setups img { width: 27px; height: 27px; border: 1px solid #868e85; border-radius: 50%; }
.setups time { margin-left: auto; font-size: .73rem; }
.studies { background: var(--cream); }
.study {
  display: grid;
  grid-template-columns: minmax(0,.66fr) minmax(0,1.44fr);
  align-items: center;
  gap: clamp(28px,5vw,78px);
  padding-block: clamp(48px,5.2vw,82px);
}
.study + .study { position: relative; }
.study + .study::before { content: ""; position: absolute; left: var(--edge); right: var(--edge); top: 0; border-top: 1px solid var(--rule); }
.study-player figcaption { margin-top: 8px; text-align: right; font-size: .82rem; color: #4a554f; }
.study-player a { text-decoration: underline; text-underline-offset: 3px; }
.study-copy h2 i { display: block; color: #58694d; }
.study-copy p { margin-top: 20px; max-width: 33ch; font-size: clamp(1rem,1.15vw,1.16rem); line-height: 1.55; color: #4a554f; }
.method, .film { padding-block: clamp(54px,6.1vw,95px); }
.section-intro { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(260px,.75fr); align-items: end; gap: 32px; margin-bottom: clamp(25px,3vw,45px); }
h2 { font-size: clamp(2.8rem,4.5vw,5rem); font-weight: 540; letter-spacing: -.072em; line-height: .99; }
h2 i { letter-spacing: -.043em; }
.section-intro > p { font-size: clamp(1rem,1.15vw,1.16rem); line-height: 1.52; max-width: 50ch; color: #4a554f; }
h3 { font-size: 1.28rem; letter-spacing: -.035em; font-weight: 620; }
.full-player { min-width: 0; }
time, .duration, .foot-venue { font: .8rem var(--mono); }
.method { background: #e8ece3; border-top: 1px solid #d8ddd3; }
.method-body { display: grid; grid-template-columns: minmax(210px,.72fr) minmax(0,1.5fr); gap: clamp(30px,5.5vw,86px); align-items: center; }
.steps > div { padding-block: 16px; border-top: 1px solid #bcc6b8; }
.steps dt { font-size: 1.13rem; font-weight: 650; letter-spacing: -.026em; margin-bottom: 6px; }
.steps dd { color: #465147; font-size: 1rem; line-height: 1.53; }
.diagram { display: block; background: white; border: 1px solid #c6cec4; padding: clamp(10px,1.6vw,25px); }
.diagram img { width: 100%; height: auto; }
.pipeline figcaption, .player-caption { padding-top: 11px; font-size: .86rem; line-height: 1.35; }
.pipeline figcaption a, .player-caption a { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.film .section-intro > p, .player-caption { color: var(--subtle); }
.film-body { display: grid; grid-template-columns: minmax(0,2.45fr) minmax(220px,1fr); gap: clamp(24px,4vw,62px); }
.film h2 i { color: var(--amber); }
.duration { color: var(--amber); }
.chapter-block h3 { margin-bottom: 14px; }
.chapters { border-top: 1px solid var(--dark-rule); }
.chapter-block li { border-bottom: 1px solid var(--dark-rule); }
.chapters a { display: flex; gap: 15px; align-items: center; min-height: 41px; line-height: 1.35; padding: 6px 4px; }
.chapters time { color: #aab5aa; }
.chapters a:hover, .chapters a[aria-current] { color: var(--amber); }
.chapters a[aria-current] time { color: var(--amber); }
footer { border-top: 1px solid var(--dark-rule); }
.foot-inner { min-height: 72px; font-size: .92rem; }
.foot-inner > span { font-weight: 650; }
.foot-venue { color: var(--subtle); margin-left: 6px; }
@media(max-width: 1000px) {
  .hero-inner { column-gap: 28px; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); }
  .study { grid-template-columns: minmax(0,.72fr) minmax(0,1.42fr); gap: 30px; }
  .section-intro { grid-template-columns: 1fr 1fr; }
  .film-body { grid-template-columns: minmax(0,2fr) minmax(190px,1fr); gap: 22px; }
  .method-body { grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); gap: 25px; }
  .chapters a { min-height: 37px; font-size: .93rem; }
}
@media(max-width: 760px) {
  .mast-inner { min-height: 59px; }
  .hero-inner { grid-template: "intro" "demo" "credits" / minmax(0,1fr); gap: 24px; padding-block: 35px 42px; }
  h1 { margin-block: 23px 15px; font-size: clamp(5.2rem,16.8vw,7rem); }
  .paper-title { font-size: clamp(1.38rem,4.5vw,1.76rem); }
  .watch { margin-top: 19px; }
  .study, .section-intro, .method-body, .film-body { grid-template-columns: minmax(0,1fr); }
  .study { gap: 20px; padding-block: 39px; }
  .study-copy p { max-width: none; }
  .study-copy h2 i { display: inline; }
  .study-copy p { margin-top: 12px; }
  .section-intro { gap: 14px; }
  .chapters a { min-height: 44px; }
  .steps > div { padding-block: 11px; }
  .pipeline { grid-row: 1; }
}
@media(max-width: 420px) {
  :root { --edge: 16px; }
  .brand { font-size: 1.17rem; }
  .lens { margin-right: 5px; }
  .mast-inner { gap: 8px; }
  .mast nav { font-size: .83rem; gap: clamp(9px,3vw,13px); }
  .affiliations { flex-direction: column; }
  .setups { column-gap: 10px; }
}
@media(max-width: 350px) {
  .mast .lens { display: none; }
}
