/* =============================================================================
   marouantaleb.com — design system + site styles
   Tokens → reset → layout → components → sections → motion → responsive
   ========================================================================== */

/* ---------------------------------------------------------------- 1. TOKENS */
/* Black ground, gold accent. The gold ramp is the client's:
   #a67c00 · #bf9b30 · #ffbf00 · #ffcf40 · #ffdc73
   — #ffbf00 carries the interface, #a67c00 (its darkest step) carries the data,
   so chrome and charts never compete for the same gold.                        */
:root {
  color-scheme: dark;

  /* surfaces & ink — black is the default, on every OS setting */
  --bg:            #000000;
  --bg-alt:        #070603;
  --surface:       #0d0b07;
  --surface-2:     #15110a;
  --surface-3:     #1f1a10;
  --line:          rgba(255,191,0,.13);
  --line-strong:   rgba(255,191,0,.30);
  --text:          #f5f0e6;
  --text-2:        #b8ae9a;
  --muted:         #8a8172;

  /* gold */
  --gold-900:      #a67c00;
  --gold-700:      #bf9b30;
  --gold-500:      #ffbf00;
  --gold-300:      #ffcf40;
  --gold-100:      #ffdc73;

  --brand:         var(--gold-500);
  --brand-2:       var(--gold-700);
  --brand-ink:     #141005;
  --brand-soft:    rgba(255,191,0,.11);
  --brand-glow:    rgba(255,191,0,.26);

  /* chart series — validated (dataviz validator, dark surface #0d0b07,
     all pairs: worst CVD ΔE 10.9, worst normal-vision ΔE 20.1) */
  --series-1:      #a67c00;
  --series-2:      #3987e5;
  --series-3:      #d55181;
  --chart-grid:    rgba(255,240,214,.08);
  --chart-axis:    rgba(255,240,214,.16);

  /* type */
  --font-display: 'Fraunces', ui-serif, Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-display: clamp(2.35rem, 1.05rem + 5.3vw, 5.5rem);
  --fs-h2:      clamp(1.95rem, 1.1rem + 3.4vw, 4rem);
  --fs-h3:      clamp(1.2rem, 1rem + .85vw, 1.65rem);
  --fs-lede:    clamp(1.02rem, .95rem + .45vw, 1.3rem);
  --fs-body:    1.0rem;
  --fs-sm:      .875rem;
  --fs-mono:    .7rem;

  /* rhythm */
  --sp-section: clamp(5.5rem, 9vw, 9.5rem);
  --gutter:     clamp(1.25rem, 4vw, 3rem);
  --maxw:       1320px;
  --radius:     14px;
  --radius-lg:  22px;

  /* motion */
  --ease-out:   cubic-bezier(.16, 1, .3, 1);
  --ease-in-out:cubic-bezier(.65, 0, .35, 1);
  --dur:        .7s;
}

/* The alternate, reachable only from the toggle — parchment and bronze, so the
   gold identity survives the switch. There is deliberately no
   prefers-color-scheme rule: black is the ground everyone lands on. */
:root[data-theme="light"] {
  color-scheme: light;
  --bg:            #faf7f0;
  --bg-alt:        #f2ece0;
  --surface:       #ffffff;
  --surface-2:     #f7f2e8;
  --surface-3:     #ece4d3;
  --line:          rgba(50,38,8,.14);
  --line-strong:   rgba(50,38,8,.28);
  --text:          #17130a;
  --text-2:        #4a4335;
  --muted:         #6b6252;

  --gold-900:      #6b5000;
  --gold-700:      #a67c00;   /* the hero constellation reads off this one */
  --gold-500:      #7d5e00;
  --brand:         #7d5e00;
  --brand-2:       #a67c00;
  --brand-ink:     #ffffff;
  --brand-soft:    rgba(125,94,0,.09);
  --brand-glow:    rgba(125,94,0,.18);

  --series-1:      #a67c00;
  --series-2:      #2a78d6;
  --series-3:      #e87ba4;
  --chart-grid:    rgba(30,22,4,.09);
  --chart-axis:    rgba(30,22,4,.18);
}

/* ----------------------------------------------------------------- 2. RESET */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
/* the eased scroller drives scrollTo itself — native smoothing must stand down */
html.has-smooth { scroll-behavior: auto; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-feature-settings: 'ss01' 1, 'cv05' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .45s var(--ease-out), color .45s var(--ease-out);
}

body.is-locked { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.03em;
  text-wrap: balance;
}

::selection { background: var(--brand); color: var(--brand-ink); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: 0; left: 50%;
  transform: translate(-50%, -120%);
  z-index: 3000;
  background: var(--brand); color: var(--brand-ink);
  padding: .75rem 1.25rem; border-radius: 0 0 10px 10px;
  font-weight: 600; font-size: var(--fs-sm);
  transition: transform .25s var(--ease-out);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- 3. LAYOUT */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sp-section); position: relative; }
.section--tight { padding-block: clamp(3.5rem, 6vw, 6rem); }
.section--alt { background: var(--bg-alt); }

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
@media (min-width: 900px) {
  .section__head { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; align-items: end; }
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before {
  content: ''; width: 22px; height: 1px; background: var(--brand); flex: none;
}

.section__title { font-size: var(--fs-h2); margin-top: 1rem; }
.section__lede { color: var(--text-2); font-size: var(--fs-lede); max-width: 46ch; }

.rule { height: 1px; background: var(--line); border: 0; }

/* ------------------------------------------------------------ 4. COMPONENTS */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--line-strong);
  position: relative;
  display: inline-flex; align-items: center; gap: .6rem;
  min-height: 48px;
  padding: .8rem 1.5rem;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: -.01em;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--ease-out), border-color .35s var(--ease-out), transform .35s var(--ease-out);
  will-change: transform;
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--brand);
  transform: translateY(101%);
  transition: transform .5s var(--ease-out);
}
.btn:hover, .btn:focus-visible { color: var(--brand-ink); border-color: var(--brand); }
.btn:hover::after, .btn:focus-visible::after { transform: translateY(0); }
.btn:active { transform: scale(.97); }

.btn--primary { --btn-bg: var(--brand); --btn-fg: var(--brand-ink); --btn-bd: var(--brand); }
.btn--primary::after { background: var(--text); }
.btn--primary:hover, .btn--primary:focus-visible { color: var(--bg); border-color: var(--text); }

.btn__icon { width: 15px; height: 15px; flex: none; transition: transform .4s var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(3px); }

.tag {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .06em;
  color: var(--text-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35rem .7rem;
  white-space: nowrap;
  transition: border-color .3s var(--ease-out), color .3s var(--ease-out);
}
.tag-row { display: flex; flex-wrap: wrap; gap: .45rem; }

.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand); flex: none;
  position: relative;
}
.status-dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--brand); opacity: .5;
  animation: pulse-ring 2.4s var(--ease-out) infinite;
}
@keyframes pulse-ring {
  0%   { transform: scale(.6); opacity: .7; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

.link-underline {
  position: relative; display: inline-block; padding-bottom: 2px;
}
.link-underline::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.link-underline:hover::after, .link-underline:focus-visible::after {
  transform: scaleX(1); transform-origin: left;
}

/* ------------------------------------------------------------ 5. PRELOADER */
#preloader {
  position: fixed; inset: 0; z-index: 4000;
  background: var(--bg);
  display: grid; place-items: center;
  overflow: hidden;
}
#preloader[hidden] { display: none; }

.pre__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 50%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 50%, #000 20%, transparent 78%);
  opacity: 0;
  animation: pre-grid 2.6s var(--ease-out) forwards;
}
#preloader.is-first .pre__grid { animation-duration: 3.2s; }
@keyframes pre-grid {
  0%   { opacity: 0; transform: scale(1.12); }
  35%  { opacity: .85; transform: scale(1); }
  100% { opacity: .35; transform: scale(1); }
}

.pre__word {
  position: relative;
  display: grid;
  width: 100%;
  padding-inline: 5vw;
  text-align: center;
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.02em;
  font-size: clamp(2.25rem, 12vw, 11rem);
  white-space: normal;
}
@media (min-width: 700px) {
  .pre__word { white-space: nowrap; }
}
.pre__word-base, .pre__word-fill {
  grid-row: 1; grid-column: 1;
}
.pre__word-base { color: var(--line); }
.pre__word-fill {
  color: var(--text);
  clip-path: polygon(
    calc(var(--reveal, 0) * 1% - 1.6vw) 0%,
    calc(var(--reveal, 0) * 1% + 1.1vw) 14%,
    calc(var(--reveal, 0) * 1% - 1.3vw) 28%,
    calc(var(--reveal, 0) * 1% + 1.5vw) 42%,
    calc(var(--reveal, 0) * 1% - 1vw) 56%,
    calc(var(--reveal, 0) * 1% + 1.3vw) 70%,
    calc(var(--reveal, 0) * 1% - 1.5vw) 84%,
    calc(var(--reveal, 0) * 1% + 1vw) 100%,
    -20% 100%, -20% 0%
  );
}

.pre__status {
  position: absolute; right: 5vw; bottom: 6vh;
  display: flex; gap: .4em; align-items: baseline;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.pre__count { color: var(--text); font-variant-numeric: tabular-nums; min-width: 1.5ch; text-align: right; }

#preloader.is-done .pre__grid,
#preloader.is-done .pre__status { opacity: 0; transition: opacity .3s ease; }
#preloader.is-done .pre__word {
  transform: scale(7);
  opacity: 0;
  transition: transform .9s cubic-bezier(.6,0,.3,1), opacity .5s ease .35s;
}

/* ------------------------------------------------------------------ 6. NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
  transition: transform .5s var(--ease-out), background-color .4s ease, border-color .4s ease, backdrop-filter .4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }

.nav__inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: 72px;
}
.nav__brand {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: -.02em; font-size: clamp(.9rem, .78rem + .5vw, 1.05rem);
  white-space: nowrap; margin-right: auto; min-width: 0;
}
@media (max-width: 400px) { .nav__brand-dot { display: none; } }
.nav__brand svg { width: 26px; height: 26px; flex: none; }
.nav__brand-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

.nav__links { display: none; gap: .35rem; align-items: center; position: relative; }
.nav__ind {
  position: absolute; left: 0; top: 50%; height: 34px; width: 0;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 34%, transparent);
  opacity: 0; pointer-events: none;
  translate: var(--x, 0px) -50%;
  transition: translate .55s var(--ease-out), width .55s var(--ease-out), opacity .35s ease;
}
.nav__ind.is-on { opacity: 1; }
@media (min-width: 1000px) { .nav__links { display: flex; } }

.nav__link {
  position: relative;
  padding: .5rem .9rem;
  font-size: var(--fs-sm);
  color: var(--text-2);
  border-radius: 999px;
  transition: color .3s var(--ease-out);
}
.nav__link:hover { color: var(--text); }
.nav__link.is-active { color: var(--brand); }

.nav__tools { display: flex; align-items: center; gap: .4rem; }

.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out), background-color .3s var(--ease-out);
}
.icon-btn:hover { color: var(--text); border-color: var(--line-strong); background: var(--surface-2); }
.icon-btn svg { width: 17px; height: 17px; }

/* Shows the language you'd SWITCH TO, not the current one — one label,
   no separator, no highlight state needed. */
.lang-btn {
  width: auto; min-width: 40px; padding-inline: .65rem;
  line-height: 1;
  font-family: var(--font-mono); font-size: var(--fs-mono);
  letter-spacing: .1em; text-transform: uppercase;
}

.nav__cta { display: none; }
@media (min-width: 1000px) { .nav__cta { display: inline-flex; } }

.burger { display: grid; }
@media (min-width: 1000px) { .burger { display: none; } }
.burger span {
  display: block; width: 16px; height: 1.5px; background: currentColor;
  transition: transform .4s var(--ease-out), opacity .3s ease;
}
.burger span + span { margin-top: 4px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 1050;
  background: var(--bg);
  display: grid; align-content: center;
  padding: 6rem var(--gutter) 3rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-out);
  visibility: hidden;
}
body.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }

.menu__list { display: grid; gap: .25rem; }
.menu__item { overflow: hidden; }
.menu__link {
  display: flex; align-items: baseline; gap: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 11vw, 3.5rem);
  letter-spacing: -.035em;
  padding-block: .35rem;
  transform: translateY(110%);
  transition: transform .8s var(--ease-out), color .3s ease;
}
body.menu-open .menu__link { transform: translateY(0); }
body.menu-open .menu__item:nth-child(1) .menu__link { transition-delay: .12s; }
body.menu-open .menu__item:nth-child(2) .menu__link { transition-delay: .18s; }
body.menu-open .menu__item:nth-child(3) .menu__link { transition-delay: .24s; }
body.menu-open .menu__item:nth-child(4) .menu__link { transition-delay: .30s; }
body.menu-open .menu__item:nth-child(5) .menu__link { transition-delay: .36s; }
.menu__link:hover { color: var(--brand); }
.menu__num {
  font-family: var(--font-mono); font-size: var(--fs-mono);
  color: var(--muted); letter-spacing: .1em;
}
.menu__foot {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .25rem 1rem;
  font-size: var(--fs-sm); color: var(--text-2);
  opacity: 0; transition: opacity .5s ease .45s;
}
body.menu-open .menu__foot { opacity: 1; }
.menu__foot a {
  display: inline-flex; align-items: center;
  min-height: 40px; min-width: 40px; justify-content: center;
  padding-inline: .5rem; margin-inline: -.5rem;
}

/* ----------------------------------------------------------------- 7. HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-block: 8rem 4rem;
  overflow: hidden;
}
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0;
  translate: 0 var(--hy, 0px);
  transition: opacity 1.9s var(--ease-out) .15s;
  will-change: opacity, translate;
}
body.is-ready #hero-canvas { opacity: .9; }
.hero__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 110%, var(--brand-soft) 0%, transparent 55%),
    linear-gradient(to bottom, transparent 55%, var(--bg) 100%);
}
.hero__inner {
  position: relative; z-index: 2; width: 100%;
  translate: 0 var(--hcy, 0px);
  opacity: var(--ho, 1);
  display: grid; gap: 2.5rem; align-items: center;
}
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1fr auto; } }

.hero__status {
  display: inline-flex; align-items: center; gap: .6rem;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: .45rem 1rem .45rem .8rem;
  font-family: var(--font-mono); font-size: var(--fs-mono);
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-2);
}

.hero__title {
  font-size: var(--fs-display);
  margin-block: 1.6rem 0;
  max-width: 19ch;
}
.hero__title .accent {
  font-style: normal;
  color: var(--brand);
  position: relative;
}

.hero__grid { display: grid; gap: 1.9rem; margin-top: 2.1rem; max-width: 52ch; }
.hero__lede { color: var(--text-2); font-size: var(--fs-lede); max-width: 48ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.hero__eyebrow {
  font-family: var(--font-mono); font-size: var(--fs-mono);
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}

.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 2rem; z-index: 2;
  display: none; align-items: center; gap: .7rem;
  font-family: var(--font-mono); font-size: var(--fs-mono);
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
@media (min-width: 900px) { .hero__scroll { display: flex; } }
.hero__scroll-line {
  width: 1px; height: 42px; background: var(--line-strong); position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ''; position: absolute; inset: 0; background: var(--brand);
  animation: scroll-run 2.2s var(--ease-in-out) infinite;
}

/* --------------------------------------------------------- 4b. HERO PORTRAIT */
/* A reading, not a border — four corner brackets built from background
   gradients on one pseudo-element rather than four extra DOM nodes or
   hand-drawn SVG. */
.hero__portrait { display: none; justify-self: end; }
@media (min-width: 960px) { .hero__portrait { display: block; } }

.hero__portrait-frame {
  position: relative;
  width: clamp(190px, 18vw, 280px);
  aspect-ratio: 4 / 5;
  padding: 16px;
}
.hero__portrait-frame::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  --cs: 22px; --cw: 1.5px;
  background:
    linear-gradient(var(--brand), var(--brand)) top    left  / var(--cs) var(--cw) no-repeat,
    linear-gradient(var(--brand), var(--brand)) top    left  / var(--cw) var(--cs) no-repeat,
    linear-gradient(var(--brand), var(--brand)) top    right / var(--cs) var(--cw) no-repeat,
    linear-gradient(var(--brand), var(--brand)) top    right / var(--cw) var(--cs) no-repeat,
    linear-gradient(var(--brand), var(--brand)) bottom left  / var(--cs) var(--cw) no-repeat,
    linear-gradient(var(--brand), var(--brand)) bottom left  / var(--cw) var(--cs) no-repeat,
    linear-gradient(var(--brand), var(--brand)) bottom right / var(--cs) var(--cw) no-repeat,
    linear-gradient(var(--brand), var(--brand)) bottom right / var(--cw) var(--cs) no-repeat;
  opacity: .9;
}
.hero__portrait-frame img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: grayscale(1) contrast(1.06) brightness(.96);
  transition: filter .7s var(--ease-out);
}
.hero__portrait:hover .hero__portrait-frame img,
.hero__portrait:focus-within .hero__portrait-frame img {
  filter: grayscale(0) contrast(1.02) brightness(1);
}

.hero__portrait-cap {
  margin-top: .8rem; text-align: right;
  font-family: var(--font-mono); font-size: var(--fs-mono);
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
@keyframes scroll-run {
  0%   { transform: translateY(-100%); }
  55%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* -------------------------------------------------------------- 8. MARQUEE */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 1.35rem;
  overflow: hidden;
  --marquee-speed: 42s;
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee var(--marquee-speed) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 2.5rem;
  padding-inline: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  letter-spacing: -.02em;
  color: var(--text-2);
  white-space: nowrap;
}
.marquee__item::after {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--brand); opacity: .55; flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- 9. STATS */
.stats {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.stat {
  background: var(--bg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid; gap: .5rem; align-content: start;
  transition: background-color .4s var(--ease-out);
}
.stat:hover { background: var(--surface); }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  line-height: 1; letter-spacing: -.04em;
}
.stat__value .suffix { color: var(--brand); }
.stat__label { color: var(--muted); font-size: var(--fs-sm); line-height: 1.4; }

/* ------------------------------------------------------------ 10. APPROACH */
.disciplines { border-top: 1px solid var(--line); }

.discipline {
  position: relative;
  display: grid; gap: .55rem;
  padding-block: clamp(1.6rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 880px) {
  .discipline {
    grid-template-columns: 3.5rem minmax(0, 1fr) minmax(0, 1.25fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;
  }
}
.discipline__num {
  font-family: var(--font-mono); font-size: var(--fs-mono);
  letter-spacing: .2em; color: var(--brand); padding-top: .4rem;
}
.discipline__title { font-size: var(--fs-h3); }
.discipline__body { color: var(--text-2); font-size: .95rem; }

/* ----------------------------------------------------------------- 11. WORK */
/* The gallery pins for one viewport and travels sideways. The tall `.hscroll`
   is the scroll budget; `.hscroll__vp` sticks inside it and the track slides.
   Below 900px — and under reduced-motion — every rule here is switched off and
   the same markup renders as an ordinary stack. */
.hscroll { position: relative; }
.section--flush { padding-block: 0; }

/* The pinned screen: heading, travelling track and travel indicator are three
   rows of ONE viewport-tall box. That is what removes the void that used to sit
   between the heading and the cards, and what lets the cards arrive already in
   place instead of drifting up half-cropped until the pin catches them. */
.hscroll__vp {
  position: sticky; top: 0;
  height: 100svh;
  display: grid;
  /* The column MUST be pinned to the container width. Without it the implicit
     column is stretched by the 4600px-wide track, and every other row — the
     heading, the travel indicator — centres itself inside that width and lands
     far off-screen. The track simply overflows the column instead. */
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(.9rem, 2.4vh, 1.8rem);
  padding-block: clamp(4.75rem, 10vh, 6.5rem) clamp(1.1rem, 3vh, 2rem);
  overflow: hidden;
}

.hscroll__head { display: grid; gap: 1rem; align-items: end; }
@media (min-width: 1000px) {
  .hscroll__head { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; }
}
.hscroll__title {
  font-size: clamp(1.6rem, .8rem + 2.1vw, 2.9rem);
  margin-top: .7rem;
  max-width: 20ch;
}
.hscroll__lede { color: var(--text-2); font-size: var(--fs-lede); max-width: 42ch; }

.hscroll__track {
  display: flex;
  align-items: stretch;
  gap: clamp(1rem, 2.4vw, 2rem);
  padding-inline: var(--gutter);
  min-height: 0;
  will-change: transform;
  /* the entrance rides `translate`, the side-travel rides `transform` —
     two properties, so they never overwrite each other */
  translate: 0 calc((1 - var(--enter, 1)) * 90px);
  opacity: var(--enter, 1);
}

.hcard {
  flex: none;
  width: min(76vw, 880px);
  height: 100%;
  display: grid; grid-template-columns: minmax(220px, 42%) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(.9rem, 2vh, 1.35rem) clamp(1.25rem, 2.4vw, 2rem);
  padding: clamp(.9rem, 1.6vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  perspective: 1000px;
  transition: border-color .5s var(--ease-out);
}
.hcard:hover { border-color: var(--line-strong); }

.hcard__art {
  position: relative; min-height: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  overflow: hidden;
}
.hcard__art svg, .hcard__art img { width: 100%; height: 100%; object-fit: cover; }
.hcard__art > * { transform: scale(var(--ps, 1)); transition: transform 1.1s var(--ease-out); }
.hcard:hover .hcard__art > * { --ps: 1.04; }

/* generated artwork, animated in place — a handful of live-looking elements
   per piece (pulsing nodes, flowing lines, flickering cells, bouncing bars)
   rather than every element at once, so it reads as ambient life, not noise */
.art-pulse {
  transform-box: fill-box; transform-origin: center;
  animation: art-pulse 2.6s ease-in-out infinite;
  animation-delay: var(--d, 0ms);
}
@keyframes art-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.4); }
}

.art-flow { animation: art-flow var(--dur, 2.6s) linear infinite; }
@keyframes art-flow { to { stroke-dashoffset: -32; } }

.art-flicker {
  transform-box: fill-box; transform-origin: center;
  animation: art-flicker 2.8s ease-in-out infinite;
  animation-delay: var(--d, 0ms);
}
@keyframes art-flicker {
  0%, 100% { opacity: .95; }
  50%      { opacity: .2; }
}

.art-eq {
  transform-box: fill-box; transform-origin: center bottom;
  animation: art-eq 1.8s ease-in-out infinite;
  animation-delay: var(--d, 0ms);
}
@keyframes art-eq {
  0%, 100% { transform: scaleY(1); }
  50%      { transform: scaleY(.62); }
}

.hcard__body { display: grid; gap: .55rem; align-content: center; min-height: 0; }
.hcard__meta {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-mono); font-size: var(--fs-mono);
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.hcard__title { font-size: clamp(1.35rem, 2.4vw, 2rem); transition: transform .55s var(--ease-out); }
.hcard:hover .hcard__title { transform: translateX(5px); }
.hcard__summary {
  color: var(--text-2); font-size: .93rem; max-width: 58ch;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.metrics {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: .85rem; margin-top: .2rem;
}
.metric__value {
  font-family: var(--font-display); font-size: clamp(1.05rem, 1.9vw, 1.4rem);
  letter-spacing: -.02em; line-height: 1.1;
}
.metric__label { font-size: .72rem; color: var(--muted); line-height: 1.35; margin-top: .2rem; }

/* travel indicator — the third row of the pinned screen */
.hscroll__hud {
  display: flex; align-items: center; gap: 1.25rem;
  opacity: calc(var(--enter, 1) * var(--enter, 1));
}
.hscroll__count {
  font-family: var(--font-mono); font-size: var(--fs-mono);
  letter-spacing: .18em; color: var(--muted); white-space: nowrap;
}
.hscroll__count [data-hscroll-index] { color: var(--brand); }
.hscroll__count .sep { opacity: .4; }
.hscroll__bar { flex: 1; height: 1px; background: var(--line); position: relative; }
.hscroll__bar span {
  position: absolute; inset: 0; background: var(--brand);
  transform: scaleX(var(--p, 0)); transform-origin: left;
}

@media (max-width: 899.98px) {
  .section--flush { padding-block: var(--sp-section); }
  .hscroll { height: auto !important; }
  .hscroll__vp {
    position: static; height: auto; overflow: visible;
    display: block; padding-block: 0;
  }
  .hscroll__head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
  .hscroll__title { font-size: var(--fs-h2); max-width: none; }
  .hscroll__track {
    display: grid; gap: 1rem;
    transform: none !important; translate: none !important; opacity: 1 !important;
  }
  .hcard { width: auto; height: auto; grid-template-columns: none; grid-template-rows: auto auto; }
  .hcard__art { aspect-ratio: 16 / 11; }
  .hcard__body { align-content: start; }
  .hcard__summary { -webkit-line-clamp: unset; display: block; }
  .hscroll__hud { display: none; }
}


/* ------------------------------------------------------- 11b. HOVER PREVIEW */
/* One panel, four stacked visuals. Hovering a discipline brings its own
   forward; the panel itself chases the cursor with an eased follow. */
.discipline__title { transition: color .35s var(--ease-out), transform .45s var(--ease-out); }
.discipline:hover .discipline__title { color: var(--brand); transform: translateX(6px); }

.peek {
  position: fixed; top: 0; left: 0; z-index: 40;
  width: clamp(210px, 21vw, 330px);
  aspect-ratio: 16 / 11;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  scale: .9;
  translate: var(--px, 0px) var(--py, 0px);
  transition: opacity .3s var(--ease-out), scale .5s var(--ease-out);
  will-change: translate, opacity;
}
.peek.is-on { opacity: 1; scale: 1; }
.peek__item {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .4s var(--ease-out);
}
.peek__item.is-on { opacity: 1; }
.peek__item svg { width: 100%; height: 100%; }

@media (hover: none), (pointer: coarse) { .peek { display: none; } }

/* ---------------------------------------------------------------- 12. ABOUT */
.about {
  display: grid; gap: 1.35rem;
  color: var(--text-2); font-size: 1.05rem;
  max-width: 62ch;
}
.about__quote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.2; letter-spacing: -.025em;
  color: var(--text);
  border-left: 2px solid var(--brand);
  padding-left: 1.5rem;
  margin-block: .6rem;
}

/* ----------------------------------------------------------- 13. EXPERIENCE */
.timeline { display: grid; gap: 0; border-top: 1px solid var(--line); position: relative; }
/* a rail that fills as the visitor scrolls through this one section.
   Desktop only: the gutter is too tight below the column breakpoint to
   hold it without crowding the years column. */
@media (min-width: 860px) {
  .timeline::before,
  .timeline::after {
    content: ''; position: absolute; left: -1.1rem; top: 0; width: 1px; height: 100%;
  }
  .timeline::before { background: var(--line); }
  .timeline::after   { background: var(--brand); transform: scaleY(var(--tl-p, 0)); transform-origin: top; }
}
.tl-item {
  position: relative;
  display: grid; gap: .85rem;
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
  border-bottom: 1px solid var(--line);
  transition: background-color .45s var(--ease-out);
}
@media (min-width: 860px) {
  .tl-item {
    grid-template-columns: 11rem minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;
  }
}
.tl-item::before {
  content: ''; position: absolute; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1);
  top: 0; bottom: 0; background: var(--surface);
  opacity: 0; transition: opacity .45s var(--ease-out); z-index: -1;
}
.tl-item:hover::before { opacity: 1; }
.tl-years {
  font-family: var(--font-mono); font-size: var(--fs-mono);
  letter-spacing: .12em; color: var(--muted);
  display: flex; align-items: center; gap: .5rem;
}
.tl-years .now { color: var(--brand); }
.tl-role { font-size: var(--fs-h3); }
.tl-org { font-size: .85rem; color: var(--muted); margin-top: .3rem; }
.tl-body { color: var(--text-2); font-size: .95rem; }
.tl-body .tag-row { margin-top: .9rem; }

/* --------------------------------------------------------------- 14. SKILLS */
.skill-groups { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 720px)  { .skill-groups { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1080px) { .skill-groups { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.skill-group { background: var(--bg); padding: clamp(1.35rem, 2.5vw, 1.85rem); display: grid; gap: 1rem; align-content: start; }
.skill-group h3 {
  font-family: var(--font-mono); font-size: var(--fs-mono);
  letter-spacing: .18em; text-transform: uppercase; color: var(--brand); font-weight: 500;
}
.skill-group ul { display: grid; gap: .55rem; }
.skill-group li {
  font-size: .93rem; color: var(--text-2);
  display: flex; align-items: center; gap: .6rem;
}
.skill-group li::before {
  content: ''; width: 12px; height: 1px; background: var(--line-strong); flex: none;
  transition: width .35s var(--ease-out), background-color .35s var(--ease-out);
}
.skill-group li:hover { color: var(--text); }
.skill-group li:hover::before { width: 20px; background: var(--brand); }

/* -------------------------------------------------------------- 15. CONTACT */
.contact { text-align: center; display: grid; justify-items: center; gap: 1.5rem; }
.contact__title { font-size: var(--fs-h2); max-width: 16ch; }
.contact__lede { color: var(--text-2); font-size: var(--fs-lede); max-width: 46ch; }
.contact__mail {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.5vw, 3rem);
  letter-spacing: -.035em;
  margin-top: 1rem;
  word-break: break-word;
}
.contact__mail .link-underline::after { height: 2px; }
.contact__note {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem;
  font-family: var(--font-mono); font-size: var(--fs-mono);
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}

/* --------------------------------------------------------------- 16. FOOTER */
.footer { border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 5vw, 4rem) 2rem; }
.footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 820px) { .footer__grid { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } }
.footer__socials { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: -.5rem; }
.footer__socials a {
  font-size: var(--fs-sm); color: var(--text-2);
  display: inline-flex; align-items: center;
  min-height: 34px; padding-inline: .5rem;
}
.footer__socials a:hover { color: var(--text); }
.footer__bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-family: var(--font-mono); font-size: var(--fs-mono);
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.footer__bottom a {
  display: inline-flex; align-items: center;
  min-height: 34px; padding-inline: .4rem; margin-inline: -.4rem;
}
.footer__bottom a:hover { color: var(--text); }

/* --------------------------------------------------------------- 17. CURSOR */
.cursor, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 5000;
  pointer-events: none;
  border-radius: 50%;
  will-change: transform;
  opacity: 0;
  transition: opacity .3s ease;
}
.cursor { width: 6px; height: 6px; background: var(--brand); margin: -3px 0 0 -3px; }
.cursor-ring {
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1px solid var(--line-strong);
  transition: opacity .3s ease, width .3s var(--ease-out), height .3s var(--ease-out),
              margin .3s var(--ease-out), border-color .3s var(--ease-out), background-color .3s var(--ease-out);
}
body.cursor-ready .cursor, body.cursor-ready .cursor-ring { opacity: 1; }
body.cursor-hover .cursor-ring {
  width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-color: var(--brand); background: var(--brand-soft);
}
body.cursor-hover .cursor { opacity: 0; }
body.peeking .cursor-ring, body.peeking .cursor { opacity: 0; }
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-ring { display: none; }
}

/* -------------------------------------------------------- 18. REVEAL MOTION */
[data-reveal] {
  opacity: 0;
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), clip-path 1s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: transform, opacity;
}
[data-reveal="up"]    { transform: translateY(28px); }
[data-reveal="right"] { transform: translateX(-24px); }
[data-reveal="scale"] { transform: scale(.96); }
[data-reveal="clip"]  { clip-path: inset(0 0 100% 0); transform: none; }
[data-reveal].is-in {
  opacity: 1; transform: none; clip-path: inset(0 0 0 0);
}

/* split-line headings */
.sw { display: inline-block; }
.sw.accent, .accent { color: var(--brand); font-style: normal; }
.sl { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.sl-i {
  display: block;
  transform: translateY(115%);
  transition: transform 1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
[data-split].is-in .sl-i { transform: translateY(0); }

/* page transition curtain */
.page-curtain {
  position: fixed; inset: 0; z-index: 3500;
  background: var(--bg);
  transform: translateY(100%);
  pointer-events: none;
  display: grid; place-items: center;
}
.page-curtain.is-on {
  transform: translateY(0);
  transition: transform .6s var(--ease-in-out);
}


/* ---------------------------------------------------- 18b. MOTION LANGUAGE */
/* Three moves carry the whole page, deliberately repeated:
   a rise, a left-to-right wipe with a gold leading edge, and a rule that draws.
   Repetition is what makes motion read as a system instead of a collection. */

/* — the wipe: card artwork uncovers left to right, gold edge riding along.
     In the pinned gallery the cards enter the viewport sideways, so the
     observer fires them one at a time as they slide in — the same rule serves
     the desktop travel and the mobile stack. — */
.hcard__art {
  clip-path: inset(0 100% 0 0);
  transform: perspective(1000px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transition: clip-path 1.05s var(--ease-out) .08s, transform .5s var(--ease-out);
}
.hcard.is-in .hcard__art { clip-path: inset(0 0 0 0); }

.hcard__art::before {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg,
    transparent 0 calc(100% - 2px), var(--brand) calc(100% - 2px) 100%);
  transform: translateX(-100%);
  opacity: 0;
}
.hcard.is-in .hcard__art::before { animation: art-sweep 1.05s var(--ease-out) .08s both; }
@keyframes art-sweep {
  0%   { transform: translateX(-100%); opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translateX(0); opacity: 0; }
}

/* — the rule that draws: every list row underlines itself in gold as it lands,
     then settles back to a hairline — */
.discipline::after,
.tl-item::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--brand);
  transform: scaleX(0); transform-origin: left;
  opacity: .85;
}
.discipline.is-in::after,
.tl-item.is-in::after {
  transform: scaleX(1);
  opacity: .3;
  transition: transform .95s var(--ease-out) var(--d, 0ms),
              opacity .7s ease calc(var(--d, 0ms) + .8s);
}

/* -------------------------------------------------------- 18c. CHAT WIDGET */
.chatw { position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 2000; }

.chatw__launcher {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  background: var(--surface); color: var(--text-2);
  border: 1px solid var(--line-strong);
  box-shadow: 0 14px 34px rgba(0,0,0,.32);
  transition: transform .35s var(--ease-out), border-color .3s var(--ease-out), color .3s var(--ease-out);
}
.chatw__launcher:hover, .chatw__launcher:focus-visible { transform: scale(1.06); border-color: var(--brand); color: var(--brand); }
.chatw__launcher svg { width: 23px; height: 23px; }
.chatw__launcher .status-dot { position: absolute; top: 7px; right: 8px; }

.chatw__panel {
  position: absolute; right: 0; bottom: calc(56px + .9rem);
  width: min(360px, calc(100vw - 2rem));
  max-height: min(560px, 70vh);
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
  overflow: hidden;
  opacity: 0; transform: translateY(12px) scale(.98);
  pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .35s var(--ease-out);
}
.chatw__panel.is-on { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

.chatw__head { display: flex; align-items: flex-start; gap: .75rem; padding: 1rem 1.1rem .85rem; border-bottom: 1px solid var(--line); }
.chatw__title { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; margin-right: auto; }
.chatw__sub { font-size: .8rem; color: var(--muted); margin-top: .15rem; }

.chatw__log { overflow-y: auto; padding: .9rem 1.1rem; display: grid; gap: .6rem; align-content: start; }
.chat-msg { max-width: 86%; padding: .6rem .8rem; border-radius: 14px; font-size: .87rem; line-height: 1.5; }
.chat-msg--assistant { background: var(--surface-2); color: var(--text); justify-self: start; border-bottom-left-radius: 4px; }
.chat-msg--user { background: var(--brand); color: var(--brand-ink); justify-self: end; border-bottom-right-radius: 4px; }

.chatw__typing {
  padding: 0 1.1rem .5rem;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}

.chatw__form { display: flex; gap: .5rem; padding: .85rem 1.1rem; border-top: 1px solid var(--line); }
.chatw__input {
  flex: 1; min-height: 44px; min-width: 0;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: 999px;
  padding: .6rem 1rem; font-size: .88rem;
  transition: border-color .25s var(--ease-out);
}
.chatw__input:focus { outline: none; border-color: var(--brand); }
.chatw__input:disabled { opacity: .6; }
.chatw__send { min-height: 44px; padding-inline: 1.2rem; flex: none; }

.chatw__disclaimer {
  padding: 0 1.1rem .85rem;
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); text-align: center;
}

@media (max-width: 480px) {
  .chatw__panel { width: calc(100vw - 2rem); }
}

@media (prefers-reduced-motion: reduce) {
  .section--flush { padding-block: var(--sp-section); }
  .hscroll { height: auto !important; }
  .hscroll__vp {
    position: static; height: auto; overflow: visible;
    display: block; padding-block: 0;
  }
  .hscroll__head { margin-bottom: 3rem; }
  .hscroll__track {
    display: grid; gap: 1rem;
    transform: none !important; translate: none !important; opacity: 1 !important;
  }
  .hcard { width: auto; height: auto; }
  .hcard__art { aspect-ratio: 16 / 11; }
  .hscroll__hud { display: none; }
  .peek { display: none !important; }
  .hcard__art { clip-path: none !important; }
  .hcard__art::before { animation: none !important; opacity: 0 !important; }
  .discipline::after, .tl-item::after { display: none; }
  #hero-canvas { opacity: .9 !important; translate: none !important; }
  .hero__inner { translate: none !important; opacity: 1 !important; }
  .nav__ind { transition: none !important; }
}

/* ------------------------------------------------------- 19. REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .sl-i { transform: none !important; }
  .marquee__track { animation: none; }
  .cursor, .cursor-ring { display: none; }
  .status-dot::after { display: none; }
}
