/* ========== COLORS & TYPE ==========
   --accent is the one bright color. Change it to recolor the details. */
:root {
  --bg: #0d0d0c;
  --bg-2: #161614;
  --ink: #ecebe6;
  --muted: #8b8a84;
  --line: rgba(236, 235, 230, 0.14);
  --accent: #ff5b1f;
  --pad: clamp(16px, 4vw, 48px);
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

/* ========== BASICS ========== */
*, *::before, *::after { box-sizing: border-box; }

/* Native smooth scrolling only when Lenis isn't running (it breaks Lenis' measurements) */
html:not(.lenis) { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

/* Smooth scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }

/* Film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--accent); color: var(--bg); }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, p { margin: 0; }

:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

.mono {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.label { color: var(--muted); margin-bottom: clamp(40px, 6vw, 80px); }

.placeholder { color: var(--muted); }

/* Underline that draws in on hover */
.u {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.5s var(--ease), color 0.3s;
}
.u:hover { background-size: 100% 1px; }

/* ========== PROGRESS BAR & CURSOR ========== */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* Bubble that follows the mouse over demos */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
  transform: scale(0);
}

/* ========== NAVIGATION ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--pad);
  background: linear-gradient(to bottom, rgba(13, 13, 12, 0.92), rgba(13, 13, 12, 0));
  transition: transform 0.6s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }

.nav-logo { display: inline-block; font-weight: 600; font-size: 16px; letter-spacing: 0.02em; }

.nav-status { display: flex; align-items: center; gap: 10px; color: var(--muted); }

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 91, 31, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(255, 91, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 91, 31, 0); }
}

.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }

.menu-btn {
  display: none;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 1180px) {
  .nav-status { display: none; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-block; }
}

/* Full-screen phone menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  padding: 96px var(--pad) 28px;
  background: var(--bg);
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; margin: auto 0; }
.menu a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(36px, 10vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.menu a .mono { color: var(--accent); }
.menu-foot { color: var(--muted); }

/* ========== HERO ========== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 100svh;
  padding: 84px var(--pad) 28px;
  overflow: hidden;
}
.hero > *:not(.hero-field) { position: relative; z-index: 1; }

/* Interactive dot field behind the name */
.hero-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 60% 50%, #000 20%, transparent 75%);
}

.hero-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.hero-name {
  display: flex;
  flex-direction: column;
  font-size: clamp(64px, min(17vw, 22vh), 260px);
  font-weight: 600;
  line-height: 0.84;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

/* Hidden until the intro animation is ready. Shows anyway after 2.5s as a fallback. */
.js .hero-name { visibility: hidden; animation: show-anyway 0s 2.5s forwards; }
@keyframes show-anyway { to { visibility: visible; } }

.hero-line {
  display: block;
  align-self: flex-start;
  overflow: hidden;
  padding: 0.03em 0.06em 0.05em 0;
}
.hero-line.serif {
  align-self: center;
  font-family: var(--serif);
  font-size: 1.12em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.8;
  text-transform: none;
  padding: 0 0.1em 0.12em;
}
.hero-line:last-child { align-self: flex-end; }

.char { display: inline-block; }

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.hero-intro { max-width: 36ch; font-size: clamp(17px, 1.5vw, 20px); }

.scroll-cue { display: flex; align-items: center; gap: 12px; color: var(--muted); white-space: nowrap; }
.scroll-line { position: relative; width: 56px; height: 1px; overflow: hidden; background: var(--line); }
.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateX(-100%);
  animation: scroll-line 2s var(--ease) infinite;
}
@keyframes scroll-line {
  60% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* Phones: name sits low, above the intro */
@media (max-width: 600px) {
  .scroll-cue { display: none; }
  .hero-top { margin-bottom: auto; }
  .hero-top span:last-child { display: none; }
  .hero-name { font-size: 18vw; }
}

/* ========== SECTIONS ========== */
.section { padding: clamp(110px, 14vw, 200px) var(--pad); border-top: 1px solid var(--line); }

.section-head { margin-bottom: clamp(56px, 8vw, 110px); }
.section-head .label { margin-bottom: 20px; }

.section-title {
  font-size: clamp(60px, 11vw, 180px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.055em;
}
.section-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.section-title .line-inner { display: block; }
.section-title sup {
  display: inline-block;
  margin-left: 0.6em;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.04em;
  vertical-align: top;
  color: var(--accent);
  transform: translateY(1em);
}

.section-intro { max-width: 38ch; margin-top: 28px; color: var(--muted); font-size: 18px; }

/* ========== ABOUT ========== */
.statement {
  max-width: 21em;
  font-size: clamp(28px, 4.4vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.statement em {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.about-grid {
  display: grid;
  gap: 48px;
  margin-top: clamp(72px, 10vw, 140px);
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: repeat(12, 1fr); }
  .about-text { grid-column: 1 / span 5; }
  .about-grid .facts { grid-column: 7 / -1; }
}

.about-text { max-width: 40ch; color: var(--muted); font-size: 18px; }

/* Label / value lists (about facts, résumé skills) */
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts div {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }

/* ========== RESEARCH ========== */
.research-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }

.study { border-bottom: 1px solid var(--line); }

.study-head {
  display: grid;
  grid-template-columns: 1fr 24px;
  grid-template-areas: "year toggle" "title title" "venue venue";
  gap: 10px 24px;
  align-items: baseline;
  width: 100%;
  padding: 28px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.study-year { grid-area: year; color: var(--muted); }
.study-title {
  grid-area: title;
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  transition: transform 0.6s var(--ease), color 0.3s;
}
.study-venue { grid-area: venue; color: var(--muted); }
.study-head:hover .study-title { transform: translateX(14px); }
.study.open .study-title { color: var(--ink); }

.study-toggle { grid-area: toggle; position: relative; width: 18px; height: 18px; align-self: center; justify-self: end; }
.study-toggle::before,
.study-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
  transition: transform 0.6s var(--ease);
}
.study-toggle::after { transform: rotate(90deg); }
.study.open .study-toggle::after { transform: rotate(0deg); }

/* Smooth open/close */
.study-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.7s var(--ease); }
.study.open .study-body { grid-template-rows: 1fr; }
.study-inner { overflow: hidden; }
.study-content {
  display: grid;
  gap: 24px;
  max-width: 820px;
  padding-bottom: 36px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s, transform 0.7s var(--ease);
}
.study.open .study-content { opacity: 1; transform: none; transition-delay: 0.15s; }

.study-abstract { font-size: 18px; line-height: 1.6; }
.study-meta { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 0; }
.study-meta dt { margin-bottom: 4px; color: var(--muted); }
.study-meta dd { margin: 0; font-size: 15px; }
.study-links { display: flex; flex-wrap: wrap; gap: 24px; }

@media (min-width: 900px) {
  .study-head {
    grid-template-columns: 120px 1fr minmax(160px, auto) 24px;
    grid-template-areas: "year title venue toggle";
    padding: 34px 0;
  }
  .study-venue { text-align: right; }
  .study-content { margin-left: 144px; }
}

/* ========== PROJECTS ========== */
.work { padding: clamp(110px, 14vw, 200px) 0 clamp(80px, 10vw, 140px); border-top: 1px solid var(--line); }
.work-intro { padding: 0 var(--pad); }

.work-track {
  display: flex;
  flex-direction: column;
  gap: clamp(80px, 12vw, 140px);
  padding: 0 var(--pad);
}

.project { display: grid; gap: 28px; }

.project-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-2);
}
/* Thin inner frame */
.project-media::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid var(--line);
  pointer-events: none;
}

/* Wider than its frame so it can drift sideways (parallax) */
.media-inner { position: absolute; inset: 0 -8%; display: block; }
.media-inner img { display: block; width: 100%; height: 100%; object-fit: cover; }

.media-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1.8;
  color: var(--muted);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 91, 31, 0.06), transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(236, 235, 230, 0.04) 14px 15px);
}

.project-num { color: var(--accent); }

.project h3 {
  margin: 14px 0 26px;
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  margin: 0 0 22px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.project-meta dt { margin-bottom: 4px; color: var(--muted); }
.project-meta dd { margin: 0; font-size: 15px; }

.project p { max-width: 40ch; margin-bottom: 22px; color: var(--muted); }

.project-links { display: flex; gap: 24px; }

.work-foot { display: none; }

@media (min-width: 900px) {
  .project { grid-template-columns: 1.5fr 1fr; align-items: end; gap: 48px; }
}

/* Desktop: projects slide sideways while the section is pinned */
.work.is-horizontal { padding-bottom: 0; }
.work.is-horizontal .work-intro { margin-bottom: 0; }
.work.is-horizontal .work-pin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  padding-top: 56px;
  overflow: hidden;
}
.work.is-horizontal .work-track {
  flex-direction: row;
  gap: 8vw;
  width: max-content;
}
.work.is-horizontal .project { width: min(80vw, 1240px); }
.work.is-horizontal .project-media { aspect-ratio: auto; height: min(60vh, 660px); }
.work.is-horizontal .work-foot {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: clamp(32px, 5vh, 56px);
  padding: 0 var(--pad);
  color: var(--muted);
}
.work-current { color: var(--ink); }
.work-bar { flex: 1; height: 1px; background: var(--line); }
.work-bar span {
  display: block;
  height: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ========== DEMOS ========== */
.demo-grid { display: grid; gap: 56px 24px; }

.demo {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.demo-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-2);
}
.demo-zoom { position: absolute; inset: 0; display: block; transition: transform 1.2s var(--ease); }
.demo:hover .demo-zoom { transform: scale(1.05); }
.demo .media-inner { inset: -8% 0; }
.demo-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s;
}
.demo.playing video { opacity: 1; }

.demo-play {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--ink);
  transform: scale(0.85);
  transition: transform 0.6s var(--ease), background 0.3s;
}
.demo-play::after {
  content: "";
  width: 13px;
  height: 15px;
  margin-left: 3px;
  background: var(--bg);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.demo:hover .demo-play { transform: scale(1); background: var(--accent); }

.demo-info { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 18px; }
.demo-title { font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: -0.025em; }
.demo-tag { color: var(--muted); text-align: right; }

/* Desktop: two staggered columns, the right one sits lower */
@media (min-width: 900px) {
  .demo-grid { grid-template-columns: repeat(12, 1fr); gap: 120px 24px; padding-bottom: 16vh; }
  .demo:nth-child(odd) { grid-column: 1 / span 6; }
  .demo:nth-child(even) { grid-column: 8 / span 5; transform: translateY(16vh); }
}

/* Video player: covers the whole window, so the close button is always on screen.
   Clicking anywhere outside the video, or pressing Esc, also closes it. */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(8, 8, 7, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }

/* Fits the window both ways, leaving room for the close button */
.lightbox-frame {
  display: grid;
  place-items: center;
  width: min(1120px, 92vw, calc((100svh - 180px) * 16 / 9));
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
}
.lightbox-frame video,
.lightbox-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.lightbox-empty { padding: 24px; color: var(--muted); text-align: center; line-height: 2; text-transform: none; }

.lightbox-close {
  position: absolute;
  top: 20px;
  right: var(--pad);
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}
.lightbox-close:hover { border-color: var(--ink); }
.lightbox-hint { position: absolute; bottom: 24px; left: 0; right: 0; color: var(--muted); text-align: center; }
@media (hover: none) { .lightbox-hint { display: none; } }

/* ========== TOOLKIT (scrolling skills) ========== */
.toolkit { padding: clamp(90px, 11vw, 160px) 0; border-top: 1px solid var(--line); overflow: hidden; }

.marquee { overflow: hidden; white-space: nowrap; }

.marquee-track {
  display: inline-flex;
  align-items: center;
  font-size: clamp(52px, 9vw, 150px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.marquee-track > * { flex: none; margin-right: 0.35em; }
.marquee-track i {
  width: 0.16em;
  height: 0.16em;
  border-radius: 50%;
  background: var(--accent);
}

.marquee-outline .marquee-track {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: none;
  color: transparent;
  -webkit-text-stroke: 1px var(--muted);
}
.marquee-outline .marquee-track i { background: none; border: 1px solid var(--muted); }

/* ========== RÉSUMÉ ========== */
.resume-grid { display: grid; gap: 64px; }

@media (min-width: 1000px) {
  .resume-grid { grid-template-columns: 5fr 7fr; gap: 64px; }
  .resume-side { position: sticky; top: 110px; align-self: start; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.4s var(--ease), color 0.4s;
}
.btn:hover { background: var(--accent); }

.resume-side .label { margin-bottom: 20px; }

.resume-group + .resume-group { margin-top: 72px; }
.group-title { margin-bottom: 8px; color: var(--accent); }

.rows { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }

.row { position: relative; display: grid; gap: 10px; padding: 28px 0; }
.row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  transform: scaleX(var(--line-scale, 1));
  transform-origin: 0 50%;
}
.row-year { color: var(--muted); padding-top: 6px; }
.row h4 { font-size: clamp(21px, 2vw, 28px); font-weight: 500; line-height: 1.2; letter-spacing: -0.025em; }
.row-org { margin: 6px 0 10px; color: var(--muted); }
.row-body p:last-child { color: var(--muted); }

@media (min-width: 600px) {
  .row { grid-template-columns: 1fr 3fr; gap: 32px; }
}

.skills div { grid-template-columns: 1fr 2.4fr; }

/* ========== CONTACT ========== */
.contact {
  padding: clamp(120px, 16vw, 220px) var(--pad) clamp(72px, 9vw, 120px);
  border-top: 1px solid var(--line);
}

.contact-title {
  margin-bottom: clamp(36px, 5vw, 64px);
  font-size: clamp(80px, 18vw, 300px);
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: -0.055em;
}
.contact-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.contact-title .line-inner { display: block; }
.contact-title em {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.contact-text { max-width: 38ch; margin-bottom: 40px; color: var(--muted); font-size: 18px; }

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(24px, 3.4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.025em;
  word-break: break-all;
  transition: border-color 0.4s var(--ease);
}
.contact-email:hover { border-color: var(--ink); }
.contact-email .arrow { display: inline-block; transition: transform 0.4s var(--ease); }
.contact-email:hover .arrow { transform: translate(4px, -4px); }

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}

/* ========== FOOTER ========== */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 24px var(--pad);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot, .scroll-line::after { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
