/* ============================================================
   Escone Systems — landing page
   Ported from the Claude Design prototype (Escone Site.dc.html).
   Type system: Space Grotesk (display/UI), Space Mono (figure
   labels), Instrument Serif italics (accent words).
   ============================================================ */

:root {
  --bg: #0c0c0d;
  --fg: #efece4;
  --gold: #e8c14e;
  --green: #4fae6b;
  --max: 1120px;
  --pad: 34px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Space Grotesk", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ---- keyframes ---- */
@keyframes escShimmer { 0% { background-position: 0% 50%; } 100% { background-position: -200% 50%; } }
@keyframes escMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes escBlink { 0%, 55% { opacity: 1; } 78%, 100% { opacity: .18; } }
@keyframes escFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes escGlow { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes escDrift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(38px, -22px); }
  50% { transform: translate(18px, 30px); }
  75% { transform: translate(-30px, 10px); }
  100% { transform: translate(0, 0); }
}
@keyframes escSweep {
  0% { transform: translateX(-130%) skewX(-16deg); }
  100% { transform: translateX(260%) skewX(-16deg); }
}
@keyframes escMorph {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33% { transform: translate(26px, -18px) scale(1.35) rotate(38deg); }
  66% { transform: translate(-22px, 22px) scale(.85) rotate(-28deg); }
  100% { transform: translate(0, 0) scale(1) rotate(0deg); }
}
@keyframes escWalk1 {
  0% { transform: translate(0, 0); }
  22% { transform: translate(96px, 0); }
  25% { transform: translate(96px, 0); }
  47% { transform: translate(96px, 66px); }
  50% { transform: translate(96px, 66px); }
  72% { transform: translate(0, 66px); }
  75% { transform: translate(0, 66px); }
  97% { transform: translate(0, 0); }
  100% { transform: translate(0, 0); }
}
@keyframes escWalk2 {
  0% { transform: translate(0, 0); }
  30% { transform: translate(-78px, 34px); }
  33% { transform: translate(-78px, 34px); }
  63% { transform: translate(-38px, -44px); }
  66% { transform: translate(-38px, -44px); }
  100% { transform: translate(0, 0); }
}
@keyframes escWalk3 {
  0% { transform: translate(0, 0); }
  23% { transform: translate(0, -58px); }
  26% { transform: translate(0, -58px); }
  50% { transform: translate(64px, -58px); }
  53% { transform: translate(64px, -58px); }
  76% { transform: translate(64px, 0); }
  79% { transform: translate(64px, 0); }
  100% { transform: translate(0, 0); }
}
@keyframes escGlint {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.3); }
  28% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(.55); }
}
@keyframes escRing {
  0% { opacity: .8; transform: translate(-50%, -50%) scale(.4); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(7); }
}
@keyframes escStreak {
  0% { opacity: 0; transform: translate(-50%, -50%) translateX(-40px); }
  25% { opacity: .9; }
  100% { opacity: 0; transform: translate(-50%, -50%) translateX(70px); }
}

/* ---- fixed overlays ---- */
.progress-track {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  z-index: 100; background: transparent;
}
.progress-bar { height: 100%; width: 0%; background: var(--gold); }

.cursor-ring {
  position: fixed; top: 0; left: 0; width: 32px; height: 32px;
  border: 1px solid rgba(239, 236, 228, .85); border-radius: 50%;
  transform: translate(-50%, -50%); pointer-events: none; z-index: 9999;
  mix-blend-mode: difference; opacity: 0;
  transition: width .28s cubic-bezier(.2, 1, .3, 1),
              height .28s cubic-bezier(.2, 1, .3, 1), opacity .3s;
}
.cursor-dot {
  position: fixed; top: 0; left: 0; width: 5px; height: 5px;
  background: var(--fg); border-radius: 50%;
  transform: translate(-50%, -50%); pointer-events: none; z-index: 9999;
  mix-blend-mode: difference; opacity: 0;
}

.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%22120%22 height=%22120%22><filter id=%22n%22><feTurbulence type=%22fractalNoise%22 baseFrequency=%220.8%22 numOctaves=%222%22/></filter><rect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23n)%22/></svg>");
}

.fx-layer { position: fixed; inset: 0; z-index: 95; pointer-events: none; overflow: hidden; }

/* ---- nav ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px var(--pad); backdrop-filter: blur(6px);
  background: linear-gradient(180deg, rgba(12, 12, 13, .85), rgba(12, 12, 13, 0));
}
.nav-brand { font: 700 12px "Space Mono", monospace; letter-spacing: .16em; display: inline-flex; align-items: center; }
/* dark-theme logo (light wordmark) — the site is always dark.
   The alt text ("ESCONE SYSTEMS") styled by .nav-brand shows if the file is absent. */
.nav-logo { display: block; height: 30px; width: auto; }
.nav-links {
  display: flex; gap: 26px; font: 400 11px "Space Mono", monospace;
  letter-spacing: .12em; color: rgba(239, 236, 228, .55);
}
.nav-cta {
  font: 400 11px "Space Mono", monospace; letter-spacing: .12em;
  border: 1px solid rgba(239, 236, 228, .28); border-radius: 100px;
  padding: 9px 16px; display: inline-block;
}

/* ---- hero ---- */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; padding: 120px var(--pad) 40px; overflow: hidden;
}
.hero-spot {
  position: absolute; width: 760px; height: 760px; left: 0; top: 0;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 193, 78, .16), transparent 62%);
  pointer-events: none; opacity: 0;
}
.hero-inner { position: relative; }
.wordmark {
  margin: 0; font-weight: 400; letter-spacing: -.05em; line-height: .8;
  font-size: clamp(88px, 20vw, 340px);
  background: linear-gradient(100deg, #5f5c54 0%, #efece4 20%, #ffd868 40%, #fff6d6 50%, #ffcf4a 60%, #efece4 80%, #5f5c54 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: escShimmer 6s linear infinite;
}
.lockup {
  display: flex; align-items: center; gap: 16px; margin-top: 6px; padding-left: 4px;
}
.lockup-label {
  font: 400 clamp(14px, 2.2vw, 28px) "Space Mono", monospace;
  letter-spacing: .42em; color: var(--gold); text-transform: uppercase;
}
.lockup-line {
  flex: 1; height: 1px; max-width: 220px;
  background: linear-gradient(90deg, rgba(232, 193, 78, .5), transparent);
}
.hero-sub {
  margin: 0; max-width: 560px; font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.55; color: rgba(239, 236, 228, .66);
}
.hero-meta {
  position: absolute; bottom: 26px; left: var(--pad); right: var(--pad);
  display: flex; justify-content: space-between; align-items: center;
  font: 400 10.5px "Space Mono", monospace; letter-spacing: .14em;
  color: rgba(239, 236, 228, .4);
}
.hero-scroll { display: flex; align-items: center; gap: 9px; }
.hero-scroll-track {
  display: inline-block; width: 26px; height: 1px;
  background: rgba(239, 236, 228, .4); position: relative; overflow: hidden;
}
.hero-scroll-track::after {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  animation: escSweep 2.4s ease-in-out infinite;
}

/* ---- marquee ---- */
.marquee {
  overflow: hidden; padding: 14px 0;
  border-top: 1px solid rgba(239, 236, 228, .12);
  border-bottom: 1px solid rgba(239, 236, 228, .12);
}
.marquee-track {
  display: inline-flex; white-space: nowrap; animation: escMarquee 30s linear infinite;
  font-family: "Instrument Serif", serif; font-style: italic; font-size: 26px;
  color: rgba(239, 236, 228, .55);
}
.marquee-track span { padding-right: 44px; }

/* ---- shared section chrome ---- */
.wrap { max-width: var(--max); margin: 0 auto; }
.eyebrow {
  font: 400 12px "Space Mono", monospace; letter-spacing: .14em;
  color: rgba(239, 236, 228, .42);
}
.accent {
  font-family: "Instrument Serif", serif; font-style: italic; color: var(--gold);
}
.rule { max-width: var(--max); margin: 0 auto; height: 1px; background: rgba(239, 236, 228, .1); }

/* ---- manifesto ---- */
.manifesto { padding: 130px var(--pad); max-width: var(--max); margin: 0 auto; }
.manifesto .eyebrow { margin-bottom: 34px; }
.manifesto-head {
  margin: 0; font-size: clamp(26px, 3.6vw, 50px); line-height: 1.22;
  font-weight: 400; letter-spacing: -.02em; max-width: 17ch; text-wrap: balance;
}
.manifesto-body {
  margin: 34px 0 0; max-width: 560px; font-size: 17px; line-height: 1.6;
  color: rgba(239, 236, 228, .6);
}
.manifesto-body strong { color: var(--fg); font-weight: inherit; }

/* ---- stats ---- */
.stats { padding: 0 var(--pad) 120px; max-width: var(--max); margin: 0 auto; }
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  border-top: 1px solid rgba(239, 236, 228, .14);
  border-bottom: 1px solid rgba(239, 236, 228, .14);
}
.stat { padding: 40px 0; }
.stat:not(:last-child) { border-right: 1px solid rgba(239, 236, 228, .1); }
.stat-num {
  font-size: clamp(48px, 6vw, 84px); font-weight: 400; letter-spacing: -.03em;
  line-height: 1; font-variant-numeric: tabular-nums;
}
.stat-label {
  font: 400 11px "Space Mono", monospace; letter-spacing: .12em;
  color: rgba(239, 236, 228, .45); margin-top: 10px;
}

/* ---- index header ---- */
.index-head { padding: 0 var(--pad) 20px; max-width: var(--max); margin: 0 auto; }
.index-head-row {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid rgba(239, 236, 228, .14); padding-bottom: 20px;
}

/* ---- chapters ---- */
.chapter {
  padding: 90px var(--pad); max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.chapter-figure-first { order: 2; }
.chapter-text-second { order: 1; }
.chapter-kicker { display: flex; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.chapter-num {
  font-family: "Instrument Serif", serif; font-style: italic; font-size: 34px;
  color: var(--gold);
}
.chapter-tag {
  font: 400 11px "Space Mono", monospace; letter-spacing: .14em;
  color: rgba(239, 236, 228, .45);
}
.chapter-title {
  margin: 0; font-size: clamp(46px, 6vw, 92px); font-weight: 400;
  letter-spacing: -.03em; line-height: .92;
}
.chapter-lede {
  margin: 14px 0 0; font-family: "Instrument Serif", serif; font-style: italic;
  font-size: 24px; color: rgba(239, 236, 228, .7);
}
.chapter-body {
  margin: 24px 0 0; max-width: 440px; font-size: 16px; line-height: 1.6;
  color: rgba(239, 236, 228, .6);
}
.status {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  font: 400 12px "Space Mono", monospace; letter-spacing: .1em;
}
.status-static { color: rgba(239, 236, 228, .7); }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot-live { background: var(--green); box-shadow: 0 0 8px var(--green); }
.dot-pending { background: var(--gold); animation: escBlink 1.5s infinite; }
.dot-idle { border: 1px solid rgba(239, 236, 228, .5); }
.dot-idle-soft { border: 1px solid rgba(239, 236, 228, .35); }

/* figure frame */
.figure {
  aspect-ratio: 4 / 3; border: 1px solid rgba(239, 236, 228, .14); border-radius: 8px;
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #141415, #0e0e0f);
}

/* -- Scoper figure -- */
.scoper-glow {
  position: absolute; width: 220px; height: 220px; left: 58%; top: 52%;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 174, 107, .45), transparent 65%);
  filter: blur(10px); animation: escDrift 14s ease-in-out infinite;
}
.scoper-grid {
  position: absolute; inset: 34px 26px 26px; display: grid;
  grid-template-columns: repeat(7, 1fr); grid-template-rows: repeat(5, 1fr); gap: 5px;
}
.scoper-grid > div { border-radius: 3px; }

/* -- Case Studio figure -- */
.studio-card {
  position: absolute; inset: 34px 30px 30px; border: 1px solid rgba(239, 236, 228, .14);
  border-radius: 8px; background: rgba(239, 236, 228, .03); padding: 16px; overflow: hidden;
}
.studio-head { display: flex; align-items: center; gap: 10px; }
.studio-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #e8c14e, #8a6b1e);
}
.bar { background: rgba(239, 236, 228, .16); border-radius: 3px; }
.studio-name { height: 9px; width: 96px; background: rgba(239, 236, 228, .35); border-radius: 3px; }
.studio-handle { height: 7px; width: 60px; background: rgba(239, 236, 228, .18); border-radius: 3px; margin-top: 6px; }
.studio-more { margin-left: auto; font: 700 16px "Space Grotesk"; color: rgba(239, 236, 228, .3); }
.studio-line1 { height: 8px; width: 92%; margin-top: 16px; }
.studio-line2 { height: 8px; width: 74%; margin-top: 8px; }
.studio-media {
  height: 74px; background: rgba(239, 236, 228, .06); border-radius: 6px;
  margin-top: 12px; position: relative; overflow: hidden;
}
.studio-media::after {
  content: ""; position: absolute; inset: 0; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(232, 193, 78, .14), transparent);
  animation: escSweep 3.4s ease-in-out infinite;
}
.studio-stats {
  display: flex; gap: 18px; margin-top: 12px;
  font: 400 11px "Space Mono", monospace; color: rgba(239, 236, 228, .3);
}

/* -- Case Room figure -- */
.room { position: absolute; inset: 26px; display: flex; flex-direction: column; gap: 10px; }
.room-head {
  display: flex; justify-content: space-between; align-items: center;
  font: 400 10px "Space Mono", monospace; letter-spacing: .12em;
  color: rgba(239, 236, 228, .4);
}
.room-head .live { color: var(--green); }
.room-timer {
  flex: 1; border: 1px solid rgba(239, 236, 228, .14); border-radius: 8px;
  background: rgba(239, 236, 228, .03); padding: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.room-clock {
  font: 700 clamp(30px, 5vw, 46px) "Space Mono", monospace; letter-spacing: .04em;
  color: var(--fg); line-height: 1;
}
.room-buttons { display: flex; gap: 8px; margin-top: 14px; }
.room-btn { font: 400 10px "Space Mono", monospace; border-radius: 5px; }
.room-btn-primary { color: var(--bg); background: var(--gold); padding: 6px 12px; }
.room-btn-ghost {
  color: rgba(239, 236, 228, .65); border: 1px solid rgba(239, 236, 228, .2); padding: 6px 10px;
}
.room-sound {
  border: 1px solid rgba(239, 236, 228, .12); border-radius: 8px;
  background: rgba(239, 236, 228, .02); padding: 12px;
  display: flex; align-items: center; gap: 12px;
}
.room-play {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(239, 236, 228, .3);
  display: flex; align-items: center; justify-content: center;
  color: rgba(239, 236, 228, .5); font-size: 12px;
}
.room-progress {
  flex: 1; height: 3px; border-radius: 3px; background: rgba(239, 236, 228, .12); position: relative;
}
.room-progress::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 38%;
  background: var(--gold); border-radius: 3px;
}
.room-sound-label { font: 400 9px "Space Mono", monospace; color: rgba(239, 236, 228, .4); }

/* -- Scholar figure -- */
.scholar { position: absolute; inset: 26px; display: flex; gap: 12px; }
.scholar-side {
  width: 26%; border-right: 1px solid rgba(239, 236, 228, .1);
  display: flex; flex-direction: column; gap: 8px; padding-right: 12px;
}
.scholar-side .bar { height: 7px; }
.scholar-progress { margin-top: auto; width: 44px; height: 44px; position: relative; }
.scholar-progress svg { width: 44px; height: 44px; transform: rotate(-90deg); }
.scholar-progress-num {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font: 400 9px "Space Mono", monospace; color: rgba(239, 236, 228, .6);
}
.scholar-main { flex: 1; display: flex; flex-direction: column; gap: 9px; }
.scholar-label { font: 400 10px "Space Mono", monospace; letter-spacing: .1em; color: rgba(239, 236, 228, .4); }
.scholar-main .bar { height: 8px; }
.scholar-latex {
  margin-top: 6px; border: 1px solid rgba(232, 193, 78, .3); border-radius: 6px;
  background: rgba(232, 193, 78, .06); padding: 8px 10px;
  font: 400 12px "Space Mono", monospace; color: rgba(239, 236, 228, .7);
}

/* -- Chronicles figure -- */
.chron {
  position: absolute; inset: 26px; display: flex; flex-direction: column; gap: 10px; opacity: .9;
}
.chron-head {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid rgba(239, 236, 228, .16); padding-bottom: 8px;
}
.chron-title {
  font-family: "Instrument Serif", serif; font-style: italic; font-size: 22px;
  color: rgba(239, 236, 228, .8);
}
.chron-ed { font: 400 9px "Space Mono", monospace; color: rgba(239, 236, 228, .35); }
.chron-h1 { height: 11px; width: 90%; background: rgba(239, 236, 228, .28); border-radius: 3px; }
.chron-h2 { height: 11px; width: 66%; background: rgba(239, 236, 228, .28); border-radius: 3px; }
.chron-cols { display: flex; gap: 12px; margin-top: 4px; }
.chron-col { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.chron-col .bar { height: 6px; background: rgba(239, 236, 228, .12); border-radius: 2px; }
.chron-embed {
  flex: 1; border: 1px solid rgba(232, 193, 78, .35); border-radius: 6px;
  background: rgba(232, 193, 78, .05); display: flex; align-items: center; justify-content: center;
  font: 400 9px "Space Mono", monospace; letter-spacing: .1em;
  color: rgba(232, 193, 78, .75); min-height: 70px;
}
.chron-scan {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0, 0, 0, .14) 3px, rgba(0, 0, 0, .14) 4px);
}

/* -- Scouncil figure -- */
.scouncil {
  display: flex; align-items: center; justify-content: center;
}
.scouncil-halo {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 193, 78, .16), transparent 62%);
}
.scouncil-medallion {
  position: relative; width: 60%; max-width: 262px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #f7f1e1, #e4d7ba);
  border: 1px solid rgba(232, 193, 78, .55);
  box-shadow: 0 14px 46px rgba(0, 0, 0, .55), inset 0 0 0 7px rgba(232, 193, 78, .14);
  animation: escFloat 5s ease-in-out infinite;
  display: flex; align-items: center; justify-content: center;
}
.scouncil-medallion img { width: 80%; height: 80%; object-fit: contain; display: block; }

/* -- Omni figure -- */
.omni {
  position: absolute; inset: 30px; border-radius: 6px;
  background-image:
    linear-gradient(rgba(239, 236, 228, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 236, 228, .05) 1px, transparent 1px);
  background-size: 22px 22px;
}
.omni-room {
  position: absolute; border: 1px solid rgba(239, 236, 228, .16); border-radius: 3px;
  background: rgba(239, 236, 228, .02);
}
.omni-room span {
  position: absolute; top: 5px; left: 7px; font: 400 8px "Space Mono", monospace;
  letter-spacing: .08em; color: rgba(239, 236, 228, .35);
}
.omni-room-a { left: 4%; top: 6%; width: 40%; height: 38%; }
.omni-room-b { right: 4%; top: 6%; width: 40%; height: 38%; }
.omni-room-lib { left: 4%; bottom: 6%; width: 30%; height: 38%; }
.omni-room-hall {
  right: 4%; bottom: 6%; width: 52%; height: 38%;
  border-color: rgba(232, 193, 78, .3); background: rgba(232, 193, 78, .04);
}
.omni-room-hall span { color: rgba(232, 193, 78, .6); }
.omni-avatar { position: absolute; width: 12px; height: 12px; border-radius: 2px; }
.omni-avatar-1 { left: 12%; top: 16%; background: var(--gold); box-shadow: 0 0 8px rgba(232, 193, 78, .6); animation: escWalk1 12s ease-in-out infinite; }
.omni-avatar-2 { right: 16%; top: 20%; background: #8fb3e8; box-shadow: 0 0 8px rgba(143, 179, 232, .6); animation: escWalk2 14s ease-in-out infinite; }
.omni-avatar-3 { left: 14%; bottom: 22%; background: #e88f9f; box-shadow: 0 0 8px rgba(232, 143, 159, .6); animation: escWalk3 13s ease-in-out infinite; }

/* -- Milo figure -- */
.milo { background: #e8dcc2; }
.milo-blob { position: absolute; border-radius: 50%; }
.milo-b1 { width: 60%; height: 60%; left: 20%; top: 14%; background: #c9a86f; filter: blur(34px); mix-blend-mode: multiply; animation: escMorph 22s ease-in-out infinite; }
.milo-b2 { width: 55%; height: 55%; left: 8%; top: 34%; background: #8fa3ab; filter: blur(36px); mix-blend-mode: multiply; animation: escMorph 27s ease-in-out infinite 3s; }
.milo-b3 { width: 50%; height: 50%; left: 44%; top: 38%; background: #c58472; filter: blur(34px); mix-blend-mode: multiply; animation: escMorph 24s ease-in-out infinite 6s; }
.milo-b4 { width: 46%; height: 46%; left: 34%; top: 8%; background: #a8a079; filter: blur(38px); mix-blend-mode: multiply; animation: escMorph 30s ease-in-out infinite 9s; }
.milo-b5 { width: 38%; height: 38%; left: 52%; top: 46%; background: #d8c49a; filter: blur(30px); mix-blend-mode: screen; animation: escMorph 20s ease-in-out infinite 2s; }
.milo-acronym {
  font: 400 11px "Space Mono", monospace; letter-spacing: .22em; color: rgba(239, 236, 228, .4);
}
.milo-acronym b { color: var(--gold); }
.milo-lede { margin: 14px 0 4px; }
.milo-body { margin: 20px 0 0; max-width: 460px; }

/* ---- team ---- */
.team {
  padding: 130px var(--pad); border-top: 1px solid rgba(239, 236, 228, .12);
  background: linear-gradient(180deg, rgba(232, 193, 78, .03), transparent 40%);
}
.team .eyebrow { margin-bottom: 34px; }
.team-head {
  margin: 0; font-size: clamp(30px, 4.6vw, 66px); font-weight: 400;
  letter-spacing: -.03em; line-height: 1.08; max-width: 20ch; text-wrap: balance;
}
.team-panel {
  margin-top: 44px; max-width: 640px; border: 1px solid rgba(239, 236, 228, .14);
  border-radius: 10px; overflow: hidden;
}
.team-toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: rgba(239, 236, 228, .03); border: none; color: inherit;
  padding: 22px 24px; cursor: pointer; text-align: left;
  font-family: "Space Grotesk", sans-serif;
}
.team-toggle-title { font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.team-chev {
  font: 400 20px "Space Mono", monospace; color: var(--gold);
  transition: transform .35s cubic-bezier(.2, 1, .3, 1);
}
.team-body { max-height: 0; overflow: hidden; transition: max-height .5s cubic-bezier(.2, 1, .3, 1); }
.team-copy { padding: 4px 24px 26px; font-size: 16px; line-height: 1.7; color: rgba(239, 236, 228, .62); }
.team-chips {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px;
  font: 400 10px "Space Mono", monospace; letter-spacing: .1em; color: rgba(239, 236, 228, .55);
}
.team-chips span { border: 1px solid rgba(239, 236, 228, .2); border-radius: 100px; padding: 6px 12px; }

/* ---- footer ---- */
.footer { border-top: 1px solid rgba(239, 236, 228, .12); padding: 90px var(--pad) 40px; }
.footer .eyebrow { margin-bottom: 24px; }
.footer-email {
  margin: 0; font-size: clamp(34px, 7vw, 110px); font-weight: 400;
  letter-spacing: -.04em; line-height: .95;
}
.footer-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 20px; margin-top: 80px; padding-top: 24px;
  border-top: 1px solid rgba(239, 236, 228, .12);
  font: 400 10.5px "Space Mono", monospace; letter-spacing: .12em; color: rgba(239, 236, 228, .4);
}
.clock { font-variant-numeric: tabular-nums; }

/* ---- reveal (JS-driven) ---- */
[data-reveal] { will-change: opacity, transform; }

/* ---- custom-cursor mode ---- */
html.custom-cursor, html.custom-cursor * { cursor: none; }

/* ---- responsive ---- */
@media (max-width: 820px) {
  :root { --pad: 22px; }
  .nav-links { display: none; }
  .chapter { grid-template-columns: 1fr; gap: 34px; padding: 64px var(--pad); }
  .chapter-figure-first { order: 0; }
  .chapter-text-second { order: 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat:not(:last-child) { border-right: none; border-bottom: 1px solid rgba(239, 236, 228, .1); }
  .manifesto, .team { padding: 90px var(--pad); }
}

@media (max-width: 520px) {
  .marquee-track { font-size: 20px; }
  .hero-meta { font-size: 9px; }
}

/* ---- reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
}
