/* ============================================================
   Mickel Yu · experiment build · BSOD/OS system
   ONE ground: blue #0A00EE. White = text/UI. Black = output only.
   Voices: Space Mono (system) · Jakarta 800 (display) ·
           PP Editorial New italic (the quote, once)
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'PP Editorial New';
  src: url('assets/fonts/editorial/PPEditorialNew-Ultralight-BF644b21500d0c0.otf') format('opentype');
  font-weight: 200; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'PP Editorial New';
  src: url('assets/fonts/editorial/PPEditorialNew-UltralightItalic-BF644b214ff1e9b.otf') format('opentype');
  font-weight: 200; font-style: italic; font-display: swap;
}

/* ---------- Tokens / reset ---------- */
:root {
  --blue:  #0A00EE;
  --white: #FFFFFF;
  --black: #0A0A0A;
  --term-green: #33FF33;         /* intro boot: terminal phosphor text */
  --yellow: #FFE500;
  --dim:   rgba(255, 255, 255, 0.62);
  --faint: rgba(255, 255, 255, 0.38);
  --edge:  rgba(255, 255, 255, 0.28);
  --ease-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.87, 0, 0.13, 1);
  --pad: clamp(32px, 4.2vw, 64px);
  --bar-h: 44px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Space Mono', monospace;
  font-weight: 400;
  color: var(--white);
  background: var(--blue);
  -webkit-font-smoothing: antialiased;
  min-width: 1280px;
  overflow-x: hidden;
}
html.booting { overflow: hidden; }

.mono {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

::selection { background: var(--white); color: var(--blue); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }
img, canvas { max-width: 100%; display: block; }

/* ---------- Boot overlay ---------- */
#boot {
  position: fixed; inset: 0;
  z-index: 200;
  background: #000;
  cursor: pointer;
  transition: opacity 0.45s var(--ease-expo);
}
#boot canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#boot.boot-out { opacity: 0; pointer-events: none; }
.boot-line {
  position: absolute;
  left: var(--pad); bottom: var(--pad);
  min-height: 20px;
  transition: opacity 0.3s;
}
/* intro boot: terminal-green phrases on the black ground.
   resting chars inherit green; the block cursor inverts to green-on-black */
#boot .boot-line { color: var(--term-green); }
#boot .boot-line .char.charFill { color: #000; background: var(--term-green); }

/* ---------- Typer states (2xa-style block cursor) ---------- */
[data-typer-auto], .boot-line { white-space: pre-wrap; }
[data-typer-auto] .word, .boot-line .word { white-space: pre; display: inline-block; }
.char { display: inline-block; }
.char.charInit { color: transparent; }
.char.charFill {
  color: var(--blue);
  background: var(--white);
  border-radius: 3px;
}
.char.charFill:has(+ .charFill) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.char.charFill + .charFill { border-radius: 0; }
.char.charFill + .charFill:last-child,
.char.charFill + .charFill:has(+ :not(.charFill)) { border-radius: 0 3px 3px 0; }

/* ---------- OS chrome ---------- */
.os-bar {
  position: fixed; left: 0; right: 0;
  z-index: 100;
  height: var(--bar-h);
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  background: var(--blue);
  color: var(--white);
}
/* stronger than --edge: the header sits over the busy ASCII hero, which
   washes out a faint line. footer/panels keep the shared --edge (0.28). */
.os-top { top: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.5); }
.os-bottom {
  bottom: 0; border-top: 1px solid var(--edge);
  transition: transform 0.55s var(--ease-expo);
}
/* tucked below the screen while at the top (hero); slides in on scroll */
.os-bottom.tucked { transform: translateY(100%); }
.os-bar a { border-bottom: 1px solid transparent; transition: border-color 0.25s; }
.os-bar a:hover { border-bottom-color: var(--white); }

/* footer mode switch — Business = you-are-here · Private = easter-egg door.
   Replaces the old copyright; inherits the .mono bar type (uppercase 13px). */
.mode-tg { display: inline-flex; align-items: center; gap: 22px; }
.mode-tg .m {
  display: inline-flex; align-items: center; gap: 8px; position: relative;
  color: var(--dim); background: none; border: none; cursor: pointer;
  font: inherit; letter-spacing: inherit; text-transform: inherit; line-height: 1;
  transition: color 0.2s;
}
.mode-tg .m::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  border: 1px solid var(--dim); background: transparent; transition: 0.2s;
}
.mode-tg .m:hover { color: var(--white); }
.mode-tg .m.on { color: var(--white); cursor: default; }
.mode-tg .m.on::before { background: var(--yellow); border-color: var(--yellow); }

/* ">" points at the Private door and nudges toward it */
@keyframes egg-nudge {
  0%, 100% { transform: translateX(0);   opacity: 0.55; }
  50%      { transform: translateX(7px); opacity: 1;    }
}
.mode-tg .arw {
  color: var(--white); font-weight: 700; line-height: 1;
  font-size: 1.5em;
  margin-right: -4px;         /* claw back part of the 22px group gap */
  will-change: transform;
  animation: egg-nudge 1.05s ease-in-out infinite;
}
html.no-motion .mode-tg .arw { animation: none; opacity: 1; }

/* Private emits a radar ping to flag the hidden door */
@keyframes egg-ping {
  0%       { transform: scale(1);   opacity: 0.8; }
  70%, 100%{ transform: scale(2.8); opacity: 0;   }
}
.mode-tg .m.egg:not(.on)::after {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  border: 1.5px solid var(--yellow); pointer-events: none;
  animation: egg-ping 1.4s ease-out infinite;
}
html.no-motion .mode-tg .m.egg::after { display: none; }

/* ---------- Stacking panels (screens) ---------- */
.stack > .panel {
  position: sticky; /* JS sets per-panel top */
  top: 0;
  min-height: 100vh;
  background: var(--blue);
}
.panel.hero    { z-index: 1; }
.panel.about   { z-index: 2; }
.panel.work    { z-index: 3; }
.panel.contact { z-index: 5; }
.panel.about, .panel.work, .panel.contact {
  border-top: 1px solid var(--edge);
}

/* Light screen: white ground, blue ink. Component colors follow via tokens. */
.panel.light {
  background: var(--white);
  color: var(--blue);
  --edge:  rgba(10, 0, 238, 0.28);
  --dim:   rgba(10, 0, 238, 0.62);
  --faint: rgba(10, 0, 238, 0.38);
}
.panel.light ::selection { background: var(--blue); color: var(--white); }
.panel.light .char.charFill { color: var(--white); background: var(--blue); }
.panel.light :focus-visible { outline-color: var(--blue); }

.sec-label {
  position: absolute;
  top: calc(var(--bar-h) + 24px); left: var(--pad);
  color: var(--dim);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease-expo), transform 0.9s var(--ease-expo);
}
.sec-label.is-inview { opacity: 1; transform: none; }

/* ============================================================
   1. HERO
   ============================================================ */
.hero { height: 100vh; overflow: hidden; }
#ascii-field { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-inner {
  position: relative;
  height: 100%;
  /* bottom needs no bar clearance: the footer tucks away on the hero */
  padding: calc(var(--bar-h) + 24px) var(--pad) 52px;
  pointer-events: none;
}
/* two full-width lines pinned top & bottom, framing the ripple */
.hero-headline {
  height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero-line {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  font-size: 10vw;            /* fallback until fitLine() scales to width */
  line-height: 0.88;
  letter-spacing: -0.025em;
  white-space: nowrap;
  will-change: transform, opacity;
}
/* per-letter spans injected by distort.js — must be inline-block to transform */
.hero-line .letter {
  display: inline-block;
  will-change: transform;
}

.hero-scroll {
  position: absolute;
  right: var(--pad);
  top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--dim);
}
.scroll-line { width: 56px; height: 1px; background: var(--edge); position: relative; overflow: hidden; }
.scroll-line::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--white);
  transform: translateX(-100%);
  animation: scroll-hint 2.2s var(--ease-inout) infinite;
}
@keyframes scroll-hint {
  0% { transform: translateX(-100%); } 55% { transform: translateX(0); } 100% { transform: translateX(100%); }
}

/* ============================================================
   2. ABOUT / SYSTEM REPORT
   ============================================================ */
.about { padding: calc(var(--bar-h) + 12vh) var(--pad) calc(var(--bar-h) + 10vh); }

.report-grid {
  display: grid;
  grid-template-columns: 4fr 1fr 7fr;
}
.report-meta {
  color: var(--dim);
  line-height: 2.1;
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.8s var(--ease-expo), transform 0.9s var(--ease-expo);
}
.report-meta.is-inview { opacity: 1; transform: none; }
.report-meta p::before { content: '· '; color: var(--faint); }

.report-body { grid-column: 3; max-width: 62ch; }
.about-para {
  font-size: 12px;
  line-height: 1.8;
  text-transform: none;
  letter-spacing: 0.01em;
}
.about-para + .about-para { margin-top: 1.4em; }
.about-para .mask { display: block; overflow: hidden; }
.about-para .mask-in { display: block; transform: translateY(110%); transition: transform 1s var(--ease-expo); }
.about-para.revealed .mask-in { transform: none; }

/* line-by-line reveal (data-reveal-lines): JS wraps each wrapped line in its
   own clip-mask; lines slide up in sequence via a per-line --i delay */
.about-para .line-mask { display: block; overflow: hidden; }
.about-para .line-in {
  display: block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease-expo);
  transition-delay: calc(var(--i, 0) * 0.08s);
}
.about-para.revealed .line-in { transform: none; }
/* resize re-split: snap already-revealed lines into place, don't replay */
.about-para.no-line-anim .line-in { transition: none; }

/* Experience: process list */
.exp-list {
  list-style: none;
  margin-top: clamp(64px, 10vh, 120px);
}
.exp-row {
  --local: clamp(0, calc((var(--progress, 0) - var(--n) * 0.11) * 7), 1);
  opacity: var(--local);
  transform: translateY(calc((1 - var(--local)) * 28px));
  will-change: transform, opacity;
  display: grid;
  grid-template-columns: 140px 200px 1fr 110px;
  gap: 24px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--edge);
  font-size: 13px;
}
.exp-row:last-child { border-bottom: 1px solid var(--edge); }
.exp-head { color: var(--dim); font-size: 11px; }
.exp-row span:nth-child(1) { color: var(--dim); }
.exp-row:not(.exp-head) span:nth-child(2) { font-weight: 700; }
.exp-row:not(.exp-head) span:nth-child(3) { color: var(--blue); text-transform: none; }
.exp-row span:nth-child(4) { text-align: right; }

/* ============================================================
   3. QUOTE (the one Editorial moment, closing the About screen)
   ============================================================ */
.quote-block {
  margin-top: clamp(120px, 22vh, 260px);
  padding-bottom: clamp(200px, 34vh, 420px);
  display: flex; flex-direction: column;
  gap: 3vh;
}
.spread-row {
  display: flex; justify-content: space-between; align-items: baseline;
}
.spread-row span {
  font-family: 'PP Editorial New', serif;
  font-weight: 200; font-style: italic;
  font-size: clamp(54px, 6vw, 100px);
  line-height: 1;
  letter-spacing: -0.01em;
}

/* ============================================================
   4. WORK / RENDERS
   ============================================================ */
.work { padding: calc(var(--bar-h) + 10vh) 0 calc(var(--bar-h) + 26vh); overflow: hidden; }

.waterfall { margin-top: 4vh; white-space: nowrap; }
.wf-row {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(44px, 4.6vw, 74px);
  line-height: 1.16;
  text-transform: uppercase;
  will-change: transform, opacity;
}
.wf-row:first-child { color: var(--white); }

.work-list { list-style: none; margin-top: clamp(70px, 10vh, 130px); }

.work-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: baseline;
  gap: 32px;
  padding: clamp(30px, 4.2vh, 46px) var(--pad);
  border-top: 1px solid var(--edge);
  cursor: pointer;
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s var(--ease-expo), transform 1s var(--ease-expo),
              background 0.12s, color 0.12s;
}
.work-row.is-inview { opacity: 1; transform: none; }
.work-row:nth-child(2).is-inview { transition-delay: 0.06s; }
.work-row:nth-child(3).is-inview { transition-delay: 0.12s; }
.work-row:nth-child(4).is-inview { transition-delay: 0.18s; }
.work-row:last-child { border-bottom: 1px solid var(--edge); }

/* invert on hover (main-site pattern) */
.work-row:hover, .work-row:focus-visible {
  background: var(--white);
  color: var(--blue);
  transition-delay: 0s;
}
.work-row:hover .w-idx, .work-row:hover .w-meta,
.work-row:focus-visible .w-idx, .work-row:focus-visible .w-meta { color: var(--blue); }

.w-idx { color: var(--faint); }
.w-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(44px, 4.4vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.w-meta { color: var(--dim); }

/* random + sticky hover thumbnail */
.work-thumb {
  position: fixed;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  border: 1px solid var(--edge);
  background: var(--black);
  transition: opacity 0.3s var(--ease-expo);
}
.work-thumb.on { opacity: 1; }
.work-thumb canvas { display: block; }

/* ============================================================
   4b. MARQUEE (slim white band between Work and Contact)
   Not a full stacking panel — a thin strip like the root site's
   about-marquee. z-index sits above the Work slide so it sweeps up
   over it, and Contact (higher z) then covers it. Motion is a
   continuous CSS loop; track holds the disciplines set twice so the
   -50% translate loops seamlessly. Same copy/font/colour as root.
   ============================================================ */
.marquee {
  position: relative;
  z-index: 4;
  overflow: hidden;
  padding: 24px 0;
  background: var(--white);
  border-top: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  white-space: nowrap;
  font-family: 'PP Editorial New', serif;
  font-weight: 200;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.88;
  color: var(--blue);
  will-change: transform;
  animation: marquee-scroll 32s linear infinite;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
html.no-motion .marquee-track { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ============================================================
   5. CONTACT / TERMINAL  (white terminal window, real inputs,
   bounce-out on send — physics + handoff live in main.js)
   ============================================================ */
.contact {
  min-height: 100vh;
  padding: calc(var(--bar-h) + 10vh) var(--pad) calc(var(--bar-h) + 8vh);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
}

/* ---- terminal window: WHITE ground, BLUE ink, YELLOW prompts ---- */
.term {
  width: min(760px, 72vw);
  background: var(--white);
  border: 1px solid var(--blue);
  box-shadow: 0 30px 80px rgba(10, 0, 238, 0.18);
  /* entrance (LS toggles .is-inview; no-motion forces it visible below) */
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.9s var(--ease-expo), transform 1.1s var(--ease-expo);
}
.term.is-inview { opacity: 1; transform: none; }
.term-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 15px;
  border-bottom: 1px solid var(--blue);
}
.term-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--blue); }
.term-title {
  margin-left: 12px;
  font-size: 12px; letter-spacing: 0.05em;
  color: rgba(10, 0, 238, 0.6);
}
.term-body {
  padding: 28px 30px;
  font-family: 'Space Mono', monospace;
  font-size: 14px; line-height: 1.8;
  color: var(--blue);
}
.term-intro { color: rgba(10, 0, 238, 0.6); margin-bottom: 22px; }

.fieldline { display: block; margin: 0 0 20px; cursor: text; }
.flabel { display: block; margin-bottom: 2px; }
.fp { color: var(--yellow, #FFE500); }
.fv {
  display: block; width: 100%;
  background: transparent; border: none;
  border-bottom: 1px solid rgba(10, 0, 238, 0.28);
  color: var(--blue);
  font-family: 'Space Mono', monospace;
  font-size: 14px; line-height: 1.6;
  padding: 2px 0 6px;
  resize: vertical;
  transition: border-color 0.3s;
}
textarea.fv { min-height: 62px; }
.fv::placeholder { color: rgba(10, 0, 238, 0.32); }
.fv:focus { outline: none; border-bottom-color: var(--blue); }
.fv.invalid { border-bottom-color: #ff0033; }

/* honeypot: visually gone, off the a11y tree, never focusable */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.term-actions {
  display: flex; align-items: center; gap: 22px;
  margin-top: 26px; flex-wrap: wrap;
}
.send {
  display: inline-block;
  background: var(--blue); color: var(--white);
  font-family: 'Space Mono', monospace; font-weight: 700;
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  border: none; padding: 12px 26px;
  cursor: pointer; user-select: none;
  transition: transform 0.4s var(--ease-expo);
}
.send:hover { transform: translateY(-2px); }
.send[disabled] { opacity: 0.55; cursor: default; transform: none; }
.foot { color: rgba(10, 0, 238, 0.6); font-size: 13px; }
.foot.error { color: #ff0033; }

/* ---- bounce overlay canvas (created in JS, appended to <body>) ---- */
#fx {
  position: fixed; inset: 0;
  z-index: 90;                /* under the OS bars (z-index 100) */
  pointer-events: none;
  display: none;
}

/* ---- confirmation payoff (white ink on the blue panel) ---- */
.sent {
  position: fixed; left: 50%; top: 50%;
  transform: translate(-50%, -52%);
  z-index: 95;               /* above #fx, under the OS bars */
  text-align: center; width: 100%;
  opacity: 0; pointer-events: none;
}
.sent.show { opacity: 1; pointer-events: auto; transition: opacity 0.55s ease 0.12s; }
.sent .big {
  font-family: 'Space Mono', monospace; color: var(--white);
  font-size: clamp(22px, 3vw, 40px); letter-spacing: 0.01em;
}
.sent .big i { font-style: normal; color: var(--yellow, #FFE500); }
.sent .sub {
  margin-top: 14px; color: var(--faint);
  font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase;
}
.sent .replay {
  margin-top: 26px; display: inline-block; cursor: pointer;
  color: var(--yellow, #FFE500); border-bottom: 1px solid var(--yellow, #FFE500);
  font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase;
  padding-bottom: 2px;
}

/* ---------- Page transition overlay ---------- */
#transition {
  position: fixed; inset: 0;
  z-index: 300;
}
#transition canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Private door: VHS tune-in transition (footer Private link) ---------- */
#vhs { position: fixed; inset: 0; z-index: 9999; background: #000; display: none; overflow: hidden; }
#vhs.on { display: block; animation: crtFlicker 0.12s steps(2) infinite; }
@keyframes crtFlicker { 0% { filter: brightness(1); } 50% { filter: brightness(1.06); } }
.vhs-noise { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; image-rendering: pixelated; }
.vhs-vig { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 52%, rgba(0,0,0,0.7) 100%); }
.vhs-scan { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0.55;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 2px, rgba(0,0,0,0.32) 3px); }
.vhs-osd { position: absolute; inset: 0; z-index: 4; pointer-events: none;
  font-family: 'Space Mono', monospace; text-transform: uppercase; letter-spacing: 0.06em;
  text-shadow: 1.5px 0 rgba(255,0,80,0.9), -1.5px 0 rgba(0,220,255,0.9); }
.osd-tl { position: absolute; top: clamp(20px,4vh,44px); left: clamp(20px,4vw,52px);
  font-size: clamp(13px,1.5vw,17px); display: flex; align-items: center; gap: 10px; color: #fff; }
.osd-tr { position: absolute; top: clamp(20px,4vh,44px); right: clamp(20px,4vw,52px);
  font-size: clamp(13px,1.5vw,17px); color: #fff; }
.osd-bl { position: absolute; bottom: clamp(22px,5vh,52px); left: clamp(20px,4vw,52px);
  font-size: clamp(13px,1.5vw,17px); color: #fff; }
.rec { width: 11px; height: 11px; border-radius: 50%; background: #ff2020; box-shadow: 0 0 8px #ff2020;
  animation: recBlink 1s steps(1) infinite; }
@keyframes recBlink { 50% { opacity: 0.15; } }

/* loading phrase repeated 4x across the middle (2xa-style) */
.boot-multi {
  position: absolute;
  left: var(--pad); right: var(--pad);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  white-space: nowrap;
  color: var(--white);
  transition: opacity 0.3s;
}

/* ============================================================
   Project page (dummy for transition testing)
   White ground, blue ink: makes the blue dither cover pop.
   ============================================================ */
body.light-page {
  background: var(--white);
  color: var(--blue);
  --edge:  rgba(10, 0, 238, 0.28);
  --dim:   rgba(10, 0, 238, 0.62);
  --faint: rgba(10, 0, 238, 0.38);
}
body.light-page .os-bar { background: var(--white); color: var(--blue); }
body.light-page ::selection { background: var(--blue); color: var(--white); }
body.light-page .proj-back:hover { color: var(--blue); border-color: var(--blue); }
body.light-page :focus-visible { outline-color: var(--blue); }

.proj-page {
  min-height: 100vh;
  padding: calc(var(--bar-h) + 12vh) var(--pad) calc(var(--bar-h) + 8vh);
}
.proj-back {
  display: inline-block;
  color: var(--dim);
  border-bottom: 1px solid var(--edge);
  padding-bottom: 2px;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
}
.proj-back:hover { color: var(--white); border-color: var(--white); }
.proj-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(70px, 8vw, 130px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 5vh 0 2vh;
}
.proj-meta { color: var(--dim); margin-bottom: 7vh; }
.proj-media {
  max-width: 62vw;
  border: 1px solid var(--edge);
  background: var(--black);
}
.proj-media canvas { width: 100%; }
.proj-note { margin-top: 6vh; color: var(--faint); max-width: 48ch; text-transform: none; font-size: 13px; line-height: 1.8; }

/* ============================================================
   Motion fallbacks
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
html.no-motion [data-scroll],
html.no-motion .exp-row,
html.no-motion .term,
html.no-motion .mask-in,
html.no-motion .line-in,
html.no-motion .hero-line {
  opacity: 1 !important;
  transform: none !important;
}
html.no-motion .char.charInit { color: inherit; }
