/* ============================================================
   KM — Landing
   Palette:  ink #0b0d10, paper #f4e4c1, indigo #7c8cff, warm red #ff6a4b
   Type:     Instrument Serif (display, italic accents) + Inter (body)
   ============================================================ */

:root {
  --ink: #0b0d10;
  --ink-2: #0f1216;
  --ink-3: #161a20;
  --line: #2a2f38;
  --line-soft: #1c2027;
  --fog: #6d7684;
  --paper: #f4e4c1;
  --paper-soft: #e8d6ad;
  --chalk: #e9ecf2;
  --indigo: #7c8cff;
  --indigo-soft: #4a5aaa;
  --ember: #ff6a4b;
  --accent: var(--paper);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 1px 0 rgba(255,255,255,.03) inset, 0 30px 60px -30px rgba(0,0,0,.6);
  --max: 1240px;
  --ease: cubic-bezier(.2,.7,.1,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  background: var(--ink);
  color: var(--chalk);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--chalk);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(124,140,255,.12), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(255,106,75,.08), transparent 60%),
    var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
}

/* when pointer is coarse (touch), use normal cursor */
@media (hover: none) { body { cursor: auto; } .cursor { display: none; } }

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

a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* ============ GRAIN & CURSOR ============ */
.grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.cursor {
  position: fixed; top: 0; left: 0;
  width: 34px; height: 34px;
  border: 1px solid rgba(244,228,193,.55);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 9999;
  transition: width .25s var(--ease), height .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
  mix-blend-mode: difference;
}
.cursor span {
  position: absolute; inset: 0; margin: auto;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--paper);
}
.cursor.hot {
  width: 54px; height: 54px;
  border-color: var(--paper);
  background: rgba(244,228,193,.08);
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 20px clamp(20px, 3vw, 44px);
  z-index: 100;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: linear-gradient(180deg, rgba(11,13,16,.75), rgba(11,13,16,.25));
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Instrument Serif', serif;
  font-size: 28px; line-height: 1;
  color: var(--paper);
  letter-spacing: -.02em;
}
.brand-mark { display: inline-block; }
.brand-mark em { font-style: italic; color: var(--chalk); }
.brand-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 12px var(--ember);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: .6; transform: scale(1); }
  50%      { opacity: 1;  transform: scale(1.25); }
}

.nav-links {
  display: flex; gap: 28px;
  justify-content: center;
  font-size: 13px;
  letter-spacing: .02em;
  color: #b9c0cc;
}
.nav-links a { position: relative; padding: 6px 2px; transition: color .2s var(--ease); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--paper);
  transition: right .35s var(--ease);
}
.nav-links a:hover { color: var(--paper); }
.nav-links a:hover::after { right: 0; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 0 0 1px rgba(244,228,193,.3), 0 10px 30px -10px rgba(244,228,193,.45);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(244,228,193,.5), 0 14px 40px -10px rgba(244,228,193,.6); }
.nav-cta svg { width: 14px; height: 14px; }

@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(120px, 14vh, 180px) clamp(20px, 4vw, 64px) 100px;
  overflow: hidden;
  isolation: isolate;
}

#constellation {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  width: 780px; height: 780px;
  right: -200px; top: -140px;
  background: radial-gradient(closest-side, rgba(124,140,255,.28), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 34px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #b9c0cc;
  font-weight: 500;
  margin: 0;
}
.eyebrow.muted { color: var(--fog); }
.pulse {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 4px rgba(255,106,75,.18);
  animation: pulse 2s var(--ease) infinite;
}

.display {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(56px, 10vw, 164px);
  line-height: .93;
  letter-spacing: -.025em;
  color: var(--paper);
  margin: 0;
  max-width: 14ch;
}
.display em {
  color: var(--chalk);
  font-style: italic;
  background: linear-gradient(100deg, var(--chalk) 20%, var(--indigo) 45%, var(--paper) 65%, var(--chalk) 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 7s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.lede {
  max-width: 52ch;
  font-size: clamp(16px, 1.2vw, 19px);
  color: #c8cdd6;
  line-height: 1.6;
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  letter-spacing: .01em;
  cursor: none;
  transition: transform .3s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .3s var(--ease);
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(244,228,193,.5), 0 20px 60px -20px rgba(244,228,193,.5);
}
.btn-primary:hover { background: #fff2d2; transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--chalk);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
.btn-ghost:hover { background: rgba(255,255,255,.04); color: var(--paper); box-shadow: inset 0 0 0 1px rgba(244,228,193,.4); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin: 40px 0 0;
  padding: 24px 0 0;
  max-width: 680px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.hero-stats div { margin: 0; }
.hero-stats dt {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 6px;
}
.hero-stats dd {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--paper);
  margin: 0;
  line-height: 1;
  font-feature-settings: "tnum" 1;
  letter-spacing: -.02em;
}

@media (max-width: 640px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

.scroll-hint {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--fog);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-line {
  width: 1px; height: 54px; overflow: hidden;
  background: rgba(255,255,255,.08);
  position: relative;
}
.scroll-line::before {
  content: ''; position: absolute; top: -40%; left: 0; width: 100%; height: 40%;
  background: linear-gradient(180deg, transparent, var(--paper));
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine {
  0%   { top: -40%; }
  100% { top: 100%; }
}

/* ============ MARQUEE ============ */
.marquee {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 22px 0;
  overflow: hidden;
  background: var(--ink-2);
  position: relative; z-index: 2;
}
.marquee-track {
  display: inline-flex; gap: 40px;
  white-space: nowrap;
  animation: marquee 60s linear infinite;
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  color: var(--paper-soft);
  letter-spacing: .01em;
}
.marquee-track span:nth-child(even) { color: var(--fog); }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============ SECTIONS COMMON ============ */
section { position: relative; z-index: 2; }

.section-head { max-width: var(--max); margin: 0 auto 60px; padding: 0 clamp(20px, 4vw, 64px); }

.heading {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(42px, 6vw, 84px);
  line-height: .98;
  letter-spacing: -.02em;
  color: var(--paper);
  margin: 14px 0 0;
}
.heading em { color: var(--chalk); }
.heading.big { font-size: clamp(56px, 8vw, 116px); }

.paragraph {
  font-size: 17px;
  color: #c8cdd6;
  line-height: 1.7;
  max-width: 56ch;
}
.paragraph.soft { color: var(--fog); }

/* ============ SHOWCASE ============ */
.showcase {
  padding: clamp(80px, 10vw, 140px) clamp(20px, 4vw, 64px);
  max-width: var(--max);
  margin: 0 auto;
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
@media (max-width: 900px) {
  .showcase-grid { grid-template-columns: 1fr; }
}

.showcase-text .heading { margin-bottom: 24px; }
.check-list {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: grid; gap: 14px;
  font-size: 16px;
  color: var(--chalk);
}
.check-list li { display: flex; gap: 12px; align-items: baseline; }
.tick { color: var(--paper); font-size: 14px; }

.showcase-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}
.orbit { position: absolute; inset: 0; }
.orbit-ring {
  position: absolute; inset: 0;
  border: 1px dashed rgba(255,255,255,.08);
  border-radius: 50%;
  animation: orbit 40s linear infinite;
}
.orbit-ring.r1 { inset: 20%; animation-duration: 30s; }
.orbit-ring.r2 { inset: 10%; animation-duration: 60s; animation-direction: reverse; border-style: solid; border-color: rgba(124,140,255,.08); }
.orbit-ring.r3 { inset: 0;   animation-duration: 90s; }
@keyframes orbit { to { transform: rotate(360deg); } }

.orbit-core {
  position: absolute; inset: 0; margin: auto;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--paper), #c9a76b 60%, #5a4520 100%);
  box-shadow: 0 0 40px rgba(244,228,193,.35), 0 0 120px rgba(244,228,193,.15);
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}

.orbit-dot {
  position: absolute; top: 50%; left: 50%;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--paper);
  transform: translate(-50%, -50%) rotate(var(--a, 0deg)) translateX(var(--r, 40%)) rotate(calc(-1 * var(--a, 0deg)));
  box-shadow: 0 0 12px var(--paper);
}
.orbit-label {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(var(--a, 0deg)) translateX(var(--r, 40%)) rotate(calc(-1 * var(--a, 0deg)));
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fog);
  padding: 4px 8px;
  background: rgba(11,13,16,.8);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  white-space: nowrap;
  margin-top: -26px;
}

/* ============ PRINCIPLES ============ */
.principles {
  padding: clamp(80px, 10vw, 140px) 0;
  background:
    linear-gradient(180deg, transparent, rgba(15,18,22,.6), transparent);
}
.principle-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) {
  .principle-grid { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  padding: 36px 32px 40px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)),
    var(--ink-2);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .35s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
.card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(244,228,193,.09), transparent 40%);
  opacity: 0; transition: opacity .4s var(--ease);
  pointer-events: none;
}
.card:hover { border-color: rgba(244,228,193,.22); }
.card:hover::before { opacity: 1; }

.card-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 52px;
  color: var(--ember);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.card h3 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 28px;
  color: var(--paper);
  margin: 0 0 14px;
  letter-spacing: -.01em;
  line-height: 1.15;
}
.card p {
  color: #b9c0cc;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}
.card-glow {
  position: absolute; inset: auto -30% -60% -30%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(124,140,255,.25), transparent 70%);
  filter: blur(30px);
  opacity: .35;
  pointer-events: none;
  transition: opacity .6s var(--ease);
}
.card:hover .card-glow { opacity: .7; }

/* ============ DEMO ============ */
.demo {
  padding: clamp(80px, 10vw, 140px) clamp(20px, 4vw, 64px);
  max-width: var(--max);
  margin: 0 auto;
}
.demo-head { max-width: 720px; margin-bottom: 48px; }

.demo-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
    var(--ink-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.demo-input-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(124,140,255,.04), transparent);
}
.demo-search-icon { width: 18px; height: 18px; color: var(--fog); }
#demo-input {
  width: 100%;
  background: transparent;
  border: 0; outline: 0;
  color: var(--paper);
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -.01em;
  cursor: none;
}
#demo-input::placeholder { color: var(--fog); font-style: italic; }
.demo-input-row kbd {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--ink-3);
  color: var(--fog);
}

.demo-field {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  overflow: hidden;
}
@media (max-width: 700px) {
  .demo-field { aspect-ratio: 4 / 5; }
}

#demo-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

.demo-hits {
  position: absolute; top: 16px; left: 16px; right: 16px;
  display: flex; flex-wrap: wrap; gap: 8px;
  pointer-events: none;
}
.demo-hits .chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(244,228,193,.08);
  color: var(--paper);
  border: 1px solid rgba(244,228,193,.25);
  backdrop-filter: blur(6px);
  animation: chipIn .4s var(--ease) both;
}
@keyframes chipIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.demo-foot {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-top: 1px solid var(--line-soft);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fog);
  background: var(--ink-3);
}
.demo-foot code { color: var(--paper-soft); }
.led {
  width: 7px; height: 7px; border-radius: 50%;
  background: #74ffae;
  box-shadow: 0 0 10px #74ffae;
  animation: pulse 2s var(--ease) infinite;
}

/* ============ MANIFEST ============ */
.manifest {
  padding: clamp(80px, 14vw, 180px) clamp(20px, 4vw, 64px);
  position: relative;
}
.manifest::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(600px circle at 30% 50%, rgba(255,106,75,.08), transparent 70%);
  pointer-events: none;
}
.manifest-inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}
.manifest-quote {
  margin: 24px 0 0;
  padding: 0;
}
.manifest-quote p {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.15;
  color: var(--chalk);
  margin: 0;
  letter-spacing: -.015em;
}
.manifest-quote p em { color: var(--paper); }
.manifest-quote footer {
  margin-top: 40px;
  display: flex; align-items: center; gap: 14px;
  font-size: 12px;
  color: var(--fog);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.sig-line {
  display: inline-block;
  width: 40px; height: 1px;
  background: var(--paper);
}

/* ============ CTA ============ */
.cta {
  padding: clamp(80px, 12vw, 160px) clamp(20px, 4vw, 64px);
  text-align: center;
}
.cta-inner {
  max-width: 880px;
  margin: 0 auto;
  display: grid; gap: 28px; justify-items: center;
}
.cta-inner .paragraph { text-align: center; }

.cta-form {
  display: flex; gap: 10px;
  align-items: center;
  width: 100%;
  max-width: 560px;
  padding: 6px 6px 6px 22px;
  border-radius: 999px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  margin-top: 12px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.cta-form:focus-within {
  border-color: rgba(244,228,193,.5);
  box-shadow: 0 0 0 6px rgba(244,228,193,.07);
}
.cta-form label { display: contents; }
.cta-form label span { display: none; }
.cta-form input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: 0;
  color: var(--paper);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 14px 0;
  cursor: none;
}
.cta-form input::placeholder { color: var(--fog); }
.cta-form .btn { flex-shrink: 0; }
@media (max-width: 560px) {
  .cta-form { flex-direction: column; padding: 14px; border-radius: 18px; }
  .cta-form .btn { width: 100%; justify-content: center; }
}

/* ============ FOOT ============ */
.foot {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line-soft);
  padding: 64px clamp(20px, 4vw, 64px) 28px;
  background: var(--ink-2);
}
.foot-inner { max-width: var(--max); margin: 0 auto; }
.foot-brand { max-width: 360px; margin-bottom: 48px; }
.foot-brand .brand-mark {
  font-family: 'Instrument Serif', serif; font-size: 36px; color: var(--paper);
}
.foot-brand .brand-mark em { color: var(--chalk); font-style: italic; }
.foot-brand p { color: var(--fog); font-size: 14px; margin: 10px 0 0; max-width: 34ch; }

.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.foot-cols h4 {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--fog);
  margin: 0 0 18px;
  font-weight: 500;
}
.foot-cols a {
  display: block;
  font-size: 14px;
  color: var(--chalk);
  padding: 6px 0;
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.foot-cols a:hover { color: var(--paper); transform: translateX(2px); }
@media (max-width: 700px) {
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
}

.foot-bottom {
  display: flex; justify-content: space-between;
  margin-top: 24px;
  font-size: 12px; color: var(--fog);
}
.foot-mono { font-family: 'JetBrains Mono', monospace; }

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* split lines */
.split-line {
  display: block;
  overflow: hidden;
}
.split-line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease);
}
.reveal.in .split-line > span { transform: translateY(0); }
.split-line:nth-child(2) > span { transition-delay: .08s; }
.split-line:nth-child(3) > span { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .split-line > span { transform: none; }
}
