/* =========================================================================
   MATEO MAMALADZE — minimalist / white Inter / full-screen scrubbed video
   ========================================================================= */

@font-face {
  font-family: "Switzer";
  src: url("../assets/fonts/Switzer-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/IBMPlexMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --bg:        #060708;
  --bg-2:      #0a0b0d;
  --white:     #f4f5f7;
  --grey:      #9aa0a8;
  --grey-dim:  #62676e;
  --mist:      #b9c3ce;
  --line:      rgba(244,245,247,0.12);

  --sans: "Switzer", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --edge: clamp(22px, 5vw, 96px);
}

/* utility */
.mono { font-family: var(--mono); font-weight: 400; }
.dim  { color: var(--grey-dim); }
.link { color: var(--grey); transition: color .3s var(--ease-out); }
.link:hover { color: var(--white); }

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip; /* clip (not hidden) — avoids creating a scroll container that breaks pinning */
}
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
}
img,video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
sup { font-size: 0.5em; vertical-align: super; font-weight: 300; margin-left: 0.05em; }
::selection { background: var(--white); color: var(--bg); }
::-webkit-scrollbar { width: 0; height: 0; }

body.is-loading { overflow: hidden; height: 100vh; }
body.is-loading main,
body.is-loading .topbar { opacity: 0; }

/* ======================================================================== */
/*  PRELOADER                                                               */
/* ======================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 9800; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px;
}
.loader__name {
  font-size: clamp(12px, 1.4vw, 15px); font-weight: 400;
  letter-spacing: 0.42em; color: var(--white); text-indent: 0.42em;
}
.loader__bar {
  width: min(240px, 46vw); height: 1px; background: rgba(244,245,247,0.14);
  overflow: hidden; position: relative;
}
.loader__fill { position: absolute; inset: 0; width: 0%; background: var(--white); }
.loader__count {
  font-size: 11px; font-weight: 300; letter-spacing: 0.2em; color: var(--grey-dim);
}
.loader__count::after { content: "%"; }

/* ======================================================================== */
/*  TOP BAR                                                                 */
/* ======================================================================== */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; justify-content: space-between; align-items: center;
  padding: clamp(18px,2.4vw,30px) var(--edge);
  mix-blend-mode: difference; transition: opacity 0.6s var(--ease-out);
}
.topbar__brand {
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--white);
}
.topbar__meta {
  font-size: 11px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white); display: inline-flex; align-items: center; gap: 9px;
}
.topbar__meta .dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--white);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.2} }

/* ======================================================================== */
/*  HERO                                                                    */
/* ======================================================================== */
.hero { position: relative; height: 100vh; overflow: hidden; background: var(--bg); }
.hero__pin { position: relative; height: 100%; width: 100%; }
@supports (height: 100svh) {
  .hero, .wheelstage, .seqstage { height: 100svh; }
  body.is-loading { height: 100svh; }
}
.hero__media { position: absolute; inset: 0; }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%; will-change: contents;
}
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4,5,7,0.55) 0%, rgba(4,5,7,0.14) 34%, rgba(4,5,7,0) 58%),
    radial-gradient(135% 135% at 50% 48%, transparent 60%, rgba(4,5,7,0.62) 100%);
}

/* scenes */
.scenes { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.scene {
  position: absolute; inset: 0; opacity: 0;
  display: flex; flex-direction: column; padding: 0 var(--edge);
  will-change: transform, opacity, filter;
}
.scene--center { align-items: center; justify-content: center; text-align: center; }
.scene--left   { align-items: flex-start; justify-content: center; text-align: left; }
.scene--left .scene__inner { max-width: 50%; }

.scene .ln { display: block; }

.scene__name {
  font-weight: 200; letter-spacing: -0.03em; line-height: 0.92;
  font-size: clamp(56px, 12vw, 190px); color: var(--white);
  text-shadow: 0 6px 60px rgba(0,0,0,0.45);
}
.scene__role {
  font-weight: 300; letter-spacing: 0.02em;
  font-size: clamp(18px, 2.6vw, 38px); color: var(--white);
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.scene__role i { font-style: normal; color: var(--grey); margin: 0 0.6em; }

.scene__eyebrow {
  display: block; font-size: 12px; font-weight: 400; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--grey); margin-bottom: 26px;
}
.scene__statement {
  font-weight: 200; letter-spacing: -0.02em; line-height: 1.02;
  font-size: clamp(34px, 5.2vw, 82px); color: var(--white);
  text-shadow: 0 6px 50px rgba(0,0,0,0.5);
}
.scene__statement .em { font-weight: 400; }
@media (max-width: 820px){
  .scene--left { align-items: center; justify-content: flex-end; text-align: center; padding-bottom: 16vh; }
  .scene--left .scene__inner { max-width: 100%; }
  .scene__statement { font-size: clamp(30px, 8vw, 48px); }
}

.hero__cue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hero__cue span {
  font-size: 10px; font-weight: 400; letter-spacing: 0.32em; text-transform: uppercase; color: var(--white);
}
.hero__cue i {
  width: 1px; height: 42px; background: rgba(244,245,247,0.4); position: relative; overflow: hidden;
}
.hero__cue i::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 45%;
  background: var(--white); animation: cue 1.8s var(--ease-out) infinite;
}
@keyframes cue { 0%{transform:translateY(-100%)} 100%{transform:translateY(240%)} }

/* ======================================================================== */
/*  THE THREAD (thesis)                                                     */
/* ======================================================================== */
.sec-tag {
  display: block; font-size: 11px; font-weight: 400; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--grey-dim);
  margin-bottom: clamp(40px, 7vh, 80px);
}
.thesis {
  position: relative; z-index: 10; background: var(--bg);
  padding: clamp(110px, 20vh, 240px) var(--edge) clamp(90px, 14vh, 180px);
}
.thesis__word {
  font-weight: 200; letter-spacing: -0.03em; line-height: 0.95;
  font-size: clamp(56px, 11vw, 176px); color: var(--white);
}
.thesis__word { display: block; overflow: hidden; }
.thesis__word > span { display: inline-block; }
.thesis__def {
  margin-top: clamp(30px, 5vh, 54px);
  display: flex; flex-direction: column; gap: 8px;
}
.thesis__def p {
  font-size: clamp(14px, 1.25vw, 17px); font-weight: 300; color: var(--grey);
}
.thesis__def i { font-style: normal; text-transform: uppercase; letter-spacing: 0.22em; font-size: 11px; color: var(--grey-dim); }
.thesis__def b { font-weight: 500; color: var(--white); margin-right: 0.5em; }
.thesis__statement {
  margin-top: clamp(46px, 8vh, 90px);
  font-size: clamp(20px, 2.4vw, 34px); font-weight: 300; line-height: 1.45;
  color: var(--white); max-width: 34ch;
}

/* ======================================================================== */
/*  FOUR MOVEMENTS (index)                                                  */
/* ======================================================================== */
.movements {
  position: relative; z-index: 10; background: var(--bg);
  padding: clamp(70px, 12vh, 150px) var(--edge) clamp(90px, 16vh, 200px);
}
.movement {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline;
  gap: clamp(20px, 4vw, 70px);
  padding: clamp(28px, 4.5vh, 46px) 0;
  border-top: 1px solid var(--line);
  transition: opacity 0.4s var(--ease-out);
}
.movement:last-of-type { border-bottom: 1px solid var(--line); }
.movements:has(.movement:hover) .movement:not(:hover) { opacity: 0.35; }
.movement__num {
  font-size: 12px; font-weight: 400; letter-spacing: 0.2em; color: var(--grey-dim);
}
.movement__title {
  font-weight: 200; letter-spacing: -0.02em; line-height: 1;
  font-size: clamp(34px, 4.6vw, 72px); color: var(--white);
}
.movement__text {
  margin-top: 14px; font-size: clamp(14px, 1.25vw, 17px); font-weight: 300;
  line-height: 1.7; color: var(--grey); max-width: 58ch;
}
.movement__meta {
  font-size: 11px; font-weight: 400; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--grey-dim); white-space: nowrap;
}
.movements__note {
  margin-top: clamp(40px, 7vh, 70px);
  font-size: 12px; font-weight: 300; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--grey-dim);
}
@media (max-width: 720px){
  .movement { grid-template-columns: auto 1fr; }
  .movement__meta { grid-column: 2; margin-top: 10px; }
}

/* ======================================================================== */
/*  CHAPTERS — shared                                                       */
/* ======================================================================== */
.chapter {
  position: relative; z-index: 10; background: var(--bg);
  padding: clamp(90px, 16vh, 200px) 0 clamp(80px, 14vh, 170px);
  border-top: 1px solid var(--line);
}
.chapter--alt { background: var(--bg-2); }
.chapter__head {
  padding: 0 var(--edge); margin-bottom: clamp(50px, 9vh, 110px);
  display: flex; flex-direction: column; gap: 16px;
}
.chapter__num { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--grey-dim); }
.chapter__title {
  font-weight: 200; letter-spacing: -0.03em; line-height: 0.92;
  font-size: clamp(64px, 12vw, 180px); color: var(--white);
}
.chapter__title { display: block; overflow: hidden; }
.chapter__title > span { display: inline-block; }
.chapter__dek {
  font-size: clamp(16px, 1.6vw, 22px); font-weight: 300; color: var(--grey);
}
.chapter__close {
  padding: 0 var(--edge); margin-top: clamp(60px, 10vh, 120px);
  font-size: clamp(20px, 2.4vw, 34px); font-weight: 300; line-height: 1.45;
  color: var(--white); max-width: 36ch;
}

/* ---- PLATES — every media element is a numbered engineering figure ---- */
.plate { display: flex; flex-direction: column; gap: 10px; margin: 0; min-width: 0; }
.plate__head {
  display: flex; justify-content: space-between; gap: 14px;
  font-family: var(--mono); font-size: 10px; font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-dim);
}
.plate__head i { font-style: normal; }
.plate__frame {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-2);
}
.plate__frame > img, .plate__frame > video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.plate__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(130% 130% at 50% 38%, transparent 62%, rgba(4,5,7,0.30) 100%);
}
/* aspect ratios lock layout — no shift when media loads, no stale scroll triggers */
.plate__frame--169 { aspect-ratio: 16/9; }
.plate__frame--43  { aspect-ratio: 4/3; }
.plate__frame--45  { aspect-ratio: 4/5; }
.plate__frame--34  { aspect-ratio: 3/4; }
.plate__frame--pano { aspect-ratio: 21/9; }
.plate__frame--contain { background: var(--bg-2); }
.plate__frame--contain::after { display: none; }
.plate__frame--contain > img {
  object-fit: contain; padding: clamp(16px, 2vw, 30px);
  filter: invert(1) opacity(0.75);
}
/* unified dark grade pulls phone footage into the site's palette */
.grade > img, .grade > video { filter: saturate(0.78) contrast(1.06) brightness(0.9); }
.plate__cap {
  font-family: var(--mono); font-size: 10px; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-dim);
}
.plate--sub { margin-top: clamp(18px, 3vh, 32px); max-width: 420px; }
.plate--full { padding: 0 var(--edge); }
@media (max-width: 820px){ .plate__frame--pano { aspect-ratio: 16/10; } }

/* ---- ROWS — strict 12-column placements ---- */
.row {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(20px, 3vw, 48px) clamp(20px, 2.6vw, 44px);
  padding: clamp(50px, 9vh, 110px) var(--edge) 0;
  align-items: center;
}
.row__media { grid-column: 1 / span 7; }
.row__copy  { grid-column: 9 / span 4; }
.row--rev .row__media { grid-column: 6 / span 7; order: 2; }
.row--rev .row__copy  { grid-column: 1 / span 4; order: 1; }
.row--even { align-items: stretch; }
.row--even > * { grid-column: span 4; }
.copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.copy__lead {
  font-size: clamp(21px, 2.3vw, 32px); font-weight: 300; line-height: 1.32;
  color: var(--white); letter-spacing: -0.01em;
}
.copy p:not(.copy__lead) {
  font-size: clamp(14px, 1.25vw, 16px); font-weight: 300; line-height: 1.75;
  color: var(--grey); max-width: 44ch;
}
.copy .link { font-size: 12px; letter-spacing: 0.08em; }
@media (max-width: 900px){
  .row, .row--rev { display: flex; flex-direction: column; align-items: stretch; }
  .row--rev .row__media { order: 1; } .row--rev .row__copy { order: 2; }
}

/* ---- DOCS panel (fabrication records) ---- */
.docs {
  border: 1px solid var(--line); background: var(--bg);
  padding: clamp(22px, 2.6vw, 36px);
  display: flex; flex-direction: column; gap: 16px; justify-content: flex-start;
}
.docs__head {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--grey-dim);
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.docs .link { font-size: 12px; letter-spacing: 0.06em; }
.docs__note {
  margin-top: auto; padding-top: 18px;
  font-size: 12px; font-weight: 300; line-height: 1.7; color: var(--grey-dim);
}

/* ---- wheel stage (pinned scrub: plate left, scene column right) ---- */
.wheelstage { position: relative; height: 100vh; z-index: 30; background: var(--bg); }
.wheelstage__pin {
  position: relative; height: 100%; background: var(--bg);
  display: grid; grid-template-columns: 1.35fr 1fr;
  gap: clamp(24px, 4vw, 72px); align-items: center;
  padding: 0 var(--edge);
}
.wheelstage__plate { width: 100%; }
.wheelstage__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 30% center;
}
.wheelstage__scenes { position: relative; height: min(46vh, 420px); }
.wheelstage__scene {
  position: absolute; inset: 0; opacity: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
  will-change: transform, opacity, filter;
}
.wheelstage__scene h3 {
  font-weight: 200; font-size: clamp(32px, 4vw, 64px); letter-spacing: -0.02em;
  line-height: 1; color: var(--white);
}
.wheelstage__scene p {
  font-size: clamp(15px, 1.3vw, 18px); font-weight: 300; line-height: 1.7;
  color: var(--grey); max-width: 40ch;
}
@media (max-width: 900px){
  .wheelstage__pin { grid-template-columns: 1fr; align-content: center; gap: 20px; }
  .wheelstage__scenes { height: 34vh; }
}

/* ---- sequence stage (canvas scrub) ---- */
.seqstage { position: relative; height: 100vh; z-index: 30; background: var(--bg-2); }
.seqstage__pin { position: relative; height: 100%; overflow: hidden; background: var(--bg-2); }
.seqstage__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.seqstage__scene {
  position: absolute; left: var(--edge); top: 50%; transform: translateY(-50%);
  max-width: min(38ch, 40%); opacity: 0;
  display: flex; flex-direction: column; gap: 14px;
  will-change: transform, opacity, filter;
}
.seqstage__scene:nth-of-type(odd) { left: auto; right: var(--edge); }
.seqstage__scene h3 {
  font-weight: 200; font-size: clamp(34px, 4.6vw, 72px); letter-spacing: -0.02em;
  line-height: 1; color: var(--white);
}
.seqstage__scene p { font-size: clamp(15px, 1.4vw, 19px); font-weight: 300; line-height: 1.65; color: var(--grey); }
.seqstage__scene .mono { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.seqstage__wins { display: flex; flex-direction: column; gap: 8px; }
.seqstage__wins span { color: var(--white); font-weight: 300; }
@media (max-width: 820px){
  .seqstage__scene, .seqstage__scene:nth-of-type(odd) {
    left: var(--edge); right: var(--edge); max-width: none; top: auto; bottom: 8vh; transform: none;
  }
}

/* ---- LEDGER ROWS — dense facts, calmly set ---- */
.lgroup { padding: clamp(56px, 9vh, 110px) var(--edge) 0; }
.lgroup__head {
  display: block; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-dim);
  margin-bottom: 18px;
}
.lrow {
  display: grid; grid-template-columns: 92px 1fr auto;
  gap: clamp(14px, 2vw, 32px); align-items: baseline;
  padding: 15px 0; border-top: 1px solid var(--line);
}
.lrow:last-of-type { border-bottom: 1px solid var(--line); }
.lrow i {
  font-style: normal; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; color: var(--grey-dim);
}
.lrow p { font-size: clamp(14px, 1.2vw, 16px); font-weight: 300; line-height: 1.55; min-width: 0; }
.lrow b { font-weight: 400; color: var(--white); }
.lrow span { color: var(--grey); }
.lrow em {
  font-style: normal; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em; color: var(--grey-dim); white-space: nowrap;
  text-align: right;
}
.lgroup__foot { display: inline-block; margin-top: 18px; font-size: 12px; letter-spacing: 0.06em; }
@media (max-width: 720px){
  .lrow { grid-template-columns: 56px 1fr; }
  .lrow em { grid-column: 2; text-align: left; }
}

/* ---- chapter intro paragraph ---- */
.chapter__intro {
  padding: 0 var(--edge); margin-top: clamp(30px, 5vh, 54px);
  font-size: clamp(15px, 1.4vw, 19px); font-weight: 300; line-height: 1.7;
  color: var(--grey); max-width: 62ch;
}

/* ---- chapter footnote line ---- */
.chapter__also {
  padding: 0 var(--edge); margin-top: clamp(40px, 7vh, 70px);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  line-height: 2; max-width: 72ch;
}

/* ---- climber row proportions ---- */
.row__media--narrow { grid-column: 1 / span 5; }
.row__copy--wide { grid-column: 7 / span 6; }
@media (max-width: 900px){ .row__media--narrow, .row__copy--wide { grid-column: auto; } }

/* ---- progress thread ---- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 600;
  pointer-events: none;
}
.progress i {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--grey), var(--white));
  transform: scaleX(0); transform-origin: 0 50%; will-change: transform;
}
.topbar__meta em { font-style: normal; transition: opacity 0.25s var(--ease-out); }

.chapter__cv { align-self: flex-start; font-size: 12px; letter-spacing: 0.06em; margin-top: 4px; }

/* ---- CV download ---- */
.cvbtn {
  margin-top: 34px; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 18px;
  padding: 18px 26px 18px 22px;
  border: 1px solid var(--line);
  transition: border-color .35s var(--ease-out), background .35s var(--ease-out);
}
.cvbtn:hover { border-color: var(--white); background: rgba(244,245,247,0.04); }
.cvbtn__icon { width: 26px; height: 26px; color: var(--grey); flex: none;
  transition: color .35s var(--ease-out), transform .35s var(--ease-out); }
.cvbtn__icon svg { width: 100%; height: 100%; display: block; }
.cvbtn:hover .cvbtn__icon { color: var(--white); transform: translateY(2px); }
.cvbtn__text { display: flex; flex-direction: column; gap: 5px; }
.cvbtn__text b {
  font-size: clamp(14px, 1.3vw, 17px); font-weight: 400; color: var(--white);
  letter-spacing: 0.01em;
}
.cvbtn__text i {
  font-style: normal; font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--grey-dim);
}

/* ---- finale links ---- */
.finale__links {
  margin-top: 26px; display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 40px);
}
.finale__links .link { font-size: 12px; letter-spacing: 0.08em; }

/* ---- finale ---- */
.finale {
  position: relative; z-index: 10; background: var(--bg);
  min-height: 92vh; padding: clamp(100px, 18vh, 220px) var(--edge) 0;
  display: flex; flex-direction: column; border-top: 1px solid var(--line);
}
.finale__line {
  font-weight: 200; letter-spacing: -0.03em; line-height: 0.94;
  font-size: clamp(52px, 11vw, 170px); color: var(--white);
}
.finale__line span[data-line] { display: block; overflow: hidden; }
.finale__line span[data-line] > * { display: inline-block; }
.finale__note {
  margin-top: 28px; font-size: clamp(15px, 1.4vw, 19px); font-weight: 300;
  line-height: 1.65; color: var(--grey); max-width: 40ch;
}
.finale__mail {
  margin-top: 30px; font-family: var(--mono); font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 0.06em;
}
.foot {
  margin-top: auto; padding: clamp(50px, 10vh, 110px) 0 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
}

/* mono variants of existing labels */
.sec-tag, .movement__num, .movement__meta, .movements__note,
.topbar__meta, .loader__count, .hero__cue span, .scene__eyebrow, .thesis__def i {
  font-family: var(--mono);
}

/* ======================================================================== */
/*  REVEAL DEFAULTS (JS-driven)                                             */
/* ======================================================================== */
[data-reveal] { opacity: 0; transform: translateY(24px); filter: blur(6px);
  will-change: transform, opacity, filter; }
[data-line] > * { transform: translateY(110%); }

@media (prefers-reduced-motion: reduce) {
  *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; }
  [data-reveal]{ opacity:1 !important; transform:none !important; filter:none !important; }
  .scene{ opacity:1 !important; }
  [data-line] > *{ transform:none !important; }
}
