@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/fiatlux-bricolage.woff2") format("woff2");
  font-style: normal;
  font-weight: 760;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #101110;
  --surface: #151614;
  --text: #f5f1e9;
  --muted: #b8b6ad;
  --line: #373833;
  --gold: #f1c38b;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 22px;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,
button:focus-visible,
video:focus-visible {
  outline: 3px solid #72c7d3;
  outline-offset: 4px;
}
::selection {
  background: #e8b474;
  color: #101110;
}
img,
video {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
figure,
p,
h1,
h2,
h3 {
  margin: 0;
}
.container {
  width: min(1280px, 89.4%);
  margin-inline: auto;
}
.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--text);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}
.masthead {
  background: #10110f;
  border-bottom: 1px solid #2d2f28;
}
.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 69px;
}
.wordmark {
  font-family: "Bricolage Grotesque", var(--sans);
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.025em;
}
.wordmark > span {
  color: var(--gold);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
}
.sun {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 3deg, var(--gold) 0 4deg, transparent 4deg 15deg);
}
.sun::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1.6px var(--ink);
}
.head-inner nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.head-inner nav a,
.back-to-top {
  font-size: 13px;
  font-weight: 500;
  color: #d1cfc7;
  padding: 11px 0;
}
.head-inner nav a:hover,
footer a:hover {
  color: var(--gold);
}
.head-inner nav .nav-paper {
  padding-left: 28px;
  background: linear-gradient(var(--line), var(--line)) left center / 1px 1.25em no-repeat;
}
.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.link-icon {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--gold);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  overflow: hidden;
  position: relative;
  isolation: isolate;
  background: #101110;
  border-bottom: 1px solid #35342e;
}
.hero-visual,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-visual {
  left: 29%;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% 43%;
}
.hero-shade {
  background:
    linear-gradient(
      90deg,
      #101110 5%,
      #101110 25%,
      rgba(16, 17, 16, 0.96) 33%,
      rgba(16, 17, 16, 0.76) 43%,
      rgba(16, 17, 16, 0.13) 61%,
      transparent 74%
    ),
    linear-gradient(0deg, rgba(9, 10, 9, 0.68), transparent 26%);
}
.hero-inner {
  position: relative;
  min-height: clamp(550px, 42vw, 680px);
  display: flex;
  align-items: center;
  padding-block: 64px;
}
.hero-copy {
  width: min(568px, 49%);
}
h1.wordmark {
  font-size: clamp(76px, 8.1vw, 128px);
  margin: 0 0 18px -0.045em;
}
.paper-title {
  max-width: 550px;
  font-size: clamp(21px, 2.03vw, 31px);
  line-height: 1.19;
  font-weight: 400;
  letter-spacing: -0.034em;
  text-wrap: balance;
}
.byline {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 4px 20px;
  margin-top: 27px;
  color: #e4e2dc;
  font-size: 14px;
}
sup {
  font-size: 0.65em;
  line-height: 0;
  padding-left: 0.08em;
}
.byline sup {
  color: var(--gold);
}
.byline a:hover {
  text-decoration: underline;
  text-decoration-color: #a78761;
  text-underline-offset: 3px;
}
.byline a:hover,
.byline a:focus-visible {
  color: var(--gold);
}
.affiliations {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 15px;
  font-size: 11.5px;
  margin-top: 10px;
  color: #b6b6ae;
}
.author-notes {
  display: flex;
  flex: 0 0 100%;
  flex-wrap: wrap;
  gap: inherit;
}
.hero-actions {
  display: flex;
  width: max-content;
  max-width: calc(100vw - 36px);
  gap: 11px;
  flex-wrap: wrap;
  margin-top: 29px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 19px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s;
}
button.button {
  font-family: inherit;
  cursor: pointer;
}
.primary {
  background: var(--gold);
  color: #201a12;
  border: 1px solid var(--gold);
}
.primary:hover {
  background: #ffdab0;
}
.secondary {
  background: #171816c9;
  color: var(--text);
  border: 1px solid #68665c;
}
.secondary:hover {
  border-color: var(--gold);
  background: #24241e;
}
.play-icon {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}
.doc-icon {
  display: inline-block;
  width: 12px;
  height: 15px;
  position: relative;
  border: 1.4px solid;
  border-radius: 1px;
}
.doc-icon::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 2px;
  width: 5px;
  height: 3px;
  border-block: 1px solid;
}

.section {
  padding-block: clamp(56px, 6.1vw, 91px);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}
h2 {
  font: 550 clamp(2rem, 1.6rem + 2vw, 3.25rem)/1.08 var(--sans);
  letter-spacing: -0.035em;
}
.section-head > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 355px;
}
.showcases {
  background: var(--surface);
}
.showcase-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.showcase-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 5px;
  border: 1px solid #393a35;
  background: #191a17;
  transition:
    background 0.16s,
    border-color 0.16s;
}
.showcase-option:hover {
  background: #24251f;
  border-color: #6b665a;
}
.showcase-option[aria-current] {
  background: #302a22;
  border-color: #a78761;
}
.showcase-option img {
  flex: 0 0 auto;
  width: 61px;
  height: 42px;
  object-fit: cover;
  border-radius: 2px;
}
.showcase-option span {
  display: grid;
  gap: 2px;
}
.showcase-option strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}
.showcase-option small {
  font-size: 11.5px;
  color: #bcb9ad;
}
.showcase-option[aria-current] strong {
  color: #f5d5ac;
}
.showcase-player {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #101110;
}
.showcase-screen {
  aspect-ratio: 1448/544;
  position: relative;
  overflow: hidden;
}
.showcase-screen video {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
}
.frame-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.33em;
  padding: 4px 9px;
  background: rgba(12, 12, 12, 0.82);
  color: #f5f2ed;
  border: 1px solid #ffffff29;
  border-radius: 3px;
  font-size: 12px;
  line-height: 1.4;
  pointer-events: none;
}
.source-tag {
  top: 11px;
  left: 11px;
}
.gram-tag {
  top: calc(50.4% + 11px);
  left: 11px;
}
.light-probes {
  position: absolute;
  bottom: 11px;
  left: 11px;
  width: clamp(36px, 9%, 116px);
  height: auto;
  filter: drop-shadow(0 1px 2px #0009);
  pointer-events: none;
}
.result-tag {
  top: 11px;
  left: calc(33.7% + 11px);
}
.result-tag i {
  background: var(--gold);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 3px;
}
.showcase-bar {
  min-height: 51px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 21px;
  border-top: 1px solid var(--line);
}
.showcase-control {
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
  min-height: 32px;
  color: var(--gold);
}
.showcase-control .play-icon {
  border-width: 4px 0 4px 7px;
}
.showcase-control.is-playing .play-icon {
  height: 10px;
  width: 8px;
  border: 0;
  border-inline: 3px solid;
}
#showcase-caption {
  font-size: 13px;
  color: var(--muted);
}

.method {
  background: #efede5;
  color: #262720;
  color-scheme: light;
}
.method .section-head > p {
  max-width: 460px;
  color: #505148;
}
.method-figure {
  border: 1px solid #d4d2c6;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
}
.method-figure > a {
  display: block;
  cursor: zoom-in;
  padding: clamp(10px, 2vw, 30px);
}
.method-figure img {
  width: 100%;
  height: auto;
}
.method-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4%;
  margin-top: 30px;
}
.method-notes article {
  border-top: 1px solid #c1c2b5;
  padding-top: 18px;
}
h3 {
  font: 600 clamp(1.125rem, 1rem + 0.45vw, 1.4rem)/1.24 var(--sans);
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.method-notes p {
  font-size: 14px;
  color: #4f5047;
  line-height: 1.62;
  margin-top: 10px;
}
.project-video {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  background: #080908;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.chapters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 21px;
  padding-top: 16px;
}
.chapters button {
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
  padding: 4px 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  text-align: left;
  color: #d2d2c8;
  cursor: pointer;
}
.chapters time {
  font:
    11px ui-monospace,
    monospace;
  color: #a4a49a;
}
.chapters button:hover,
.chapters button[aria-current],
.chapters button[aria-current] time {
  color: var(--gold);
}
.citation {
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.citation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.citation pre {
  margin: 0;
  padding: clamp(14px, 2.1vw, 28px);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--ink);
}
.citation code {
  font:
    14px/1.7 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  color: #e4dfd3;
}
footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
}
.footer-contact,
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-contact {
  flex-wrap: wrap;
  gap: 14px 28px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}
.footer-contact p {
  display: flex;
  gap: 8px;
  color: var(--muted);
}
.footer-contact p .link-icon {
  height: 1lh;
}
.footer-inner {
  padding-block: 12px;
}
footer .brand {
  font-size: 22px;
}
footer .sun {
  width: 21px;
  height: 21px;
}
.contact-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgb(8 9 8 / 78%);
}
body:has(.contact-overlay:not([hidden])) {
  overflow: hidden;
}
.contact-card {
  width: min(28rem, 100%);
  max-height: 100%;
  overflow: auto;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid #5d5549;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 64px rgb(0 0 0 / 40%);
}
.contact-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.contact-heading h2 {
  font-size: 28px;
}
.dialog-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
}
.dialog-close:hover {
  background: var(--line);
}
.contact-card .footer-contact {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 0;
  border: 0;
}
.contact-card .button {
  color: var(--gold);
}

@media (max-width: 980px) {
  .container {
    width: 91%;
  }
  .hero-inner {
    min-height: 530px;
  }
  .hero-copy {
    width: 55%;
  }
  .hero-actions {
    gap: 7px;
  }
  .hero-actions .button {
    gap: 7px;
    padding-inline: clamp(6px, 2vw, 12px);
  }
  .showcase-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-option {
    gap: 8px;
  }
  .showcase-option img {
    width: 43px;
    height: 36px;
  }
  .showcase-option strong {
    font-size: 13px;
  }
  .showcase-option small {
    font-size: 10.5px;
  }
}
@media (max-width: 660px) {
  .container {
    width: calc(100% - 36px);
  }
  .head-inner {
    min-height: 58px;
  }
  .brand {
    font-size: 22px;
    gap: 7px;
  }
  .sun {
    width: 20px;
    height: 20px;
  }
  .sun::after {
    inset: 5px;
  }
  .head-inner nav {
    gap: 14px;
  }
  .head-inner nav a {
    font-size: 12px;
  }
  .head-inner nav .nav-paper {
    padding-left: 12px;
  }
  .hero-inner {
    min-height: auto;
    display: block;
    padding: clamp(155px, 40vw, 235px) 0 32px;
  }
  .hero-copy {
    width: 100%;
  }
  .hero-visual {
    left: 0;
    height: clamp(270px, 68vw, 430px);
  }
  .hero-visual img {
    object-position: 54% 37%;
  }
  .hero-shade {
    background: linear-gradient(to bottom, transparent 0, #10111000 60px, #101110 100%) top / 100%
      clamp(270px, 68vw, 430px) no-repeat;
  }
  h1.wordmark {
    font-size: clamp(64px, 17vw, 100px);
    margin-bottom: 12px;
  }
  .paper-title {
    font-size: clamp(21px, 5.3vw, 27px);
    line-height: 1.19;
    text-wrap: initial;
    max-width: 495px;
  }
  .wide-break {
    display: none;
  }
  .byline {
    font-size: 13px;
    column-gap: 15px;
    margin-top: 20px;
  }
  .affiliations {
    gap: 2px 9px;
    font-size: 10.5px;
    margin-top: 7px;
  }
  .hero-actions {
    margin-top: 19px;
  }
  .button {
    min-height: 40px;
    font-size: 13px;
  }
  .section {
    padding-block: 41px;
  }
  .section-head {
    display: block;
    margin-bottom: 19px;
  }
  .section-head > p {
    margin-top: 10px;
    max-width: 440px;
    font-size: 14px;
  }
  .showcase-list {
    gap: 6px;
    margin-bottom: 10px;
  }
  .showcase-option {
    padding: 6px;
    gap: 7px;
  }
  .showcase-option img {
    width: 37px;
    height: 33px;
  }
  .showcase-option strong {
    font-size: 11.5px;
  }
  .showcase-option small {
    font-size: 10px;
  }
  .frame-tag {
    font-size: 8px;
    line-height: 1.15;
    padding: 2px 4px;
    gap: 0.2em;
  }
  .source-tag {
    top: 4px;
    left: 4px;
  }
  .gram-tag {
    top: calc(50.4% + 4px);
    left: 4px;
    max-width: calc(33% - 8px);
  }
  .light-probes {
    bottom: 4px;
    left: 4px;
  }
  .result-tag {
    top: 4px;
    left: calc(33.7% + 4px);
  }
  .result-tag i {
    width: 4px;
    height: 4px;
    margin-right: 1px;
  }
  .showcase-bar {
    gap: 13px;
    padding: 7px 10px;
  }
  #showcase-caption {
    font-size: 11px;
    line-height: 1.4;
  }
  .showcase-control {
    font-size: 12px;
  }
  .method-notes {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-top: 20px;
  }
  .method-notes article {
    padding-top: 15px;
  }
  .method-notes p {
    margin-top: 5px;
  }
  .method-figure > a {
    padding: 4px;
  }
  .chapters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 4px 10px;
    padding-top: 12px;
  }
  .chapters button {
    font-size: 11px;
    gap: 5px;
  }
  .chapters time {
    font-size: 10px;
  }
}
@media (max-width: 460px) {
  .head-inner {
    flex-direction: column;
    padding-top: 10px;
  }
  .head-inner nav {
    width: 100%;
    justify-content: space-between;
    gap: 4px;
  }
  .head-inner nav .nav-paper {
    padding-left: 8px;
  }
}
@media (max-width: 420px) {
  .hero-actions {
    gap: 4px;
  }
  .hero-actions .button {
    padding-inline: 1.5vw;
    font-size: clamp(12px, 3.3vw, 13px);
  }
  .hero-actions [aria-hidden] {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
  }
}
