/* ── Unipegstrategy — fan project on $uPEG ─────────────────────
   Drawn from unipeg.art:
     - cream #FAFAF7 bg, near-black text
     - hot pink #E667D6 eyebrow accent (their logo color)
     - real uPEG sprites scattered as art
     - editorial gallery layout, generous whitespace
─────────────────────────────────────────────────────── */
:root {
  /* Creepier circus palette: bone-parchment text on deep wine, sickly
     hot-pink accent. Same variable names, flipped roles — the existing
     components keep working without touching every selector. */
  --cream:    #1c0f1c;     /* MAIN BG — deep wine */
  --cream-2:  #14091a;     /* card / section bg — even darker */
  --ink:      #ede2c4;     /* MAIN TEXT — parchment, legible on dark */
  --ink-mid:  #c8b88c;     /* secondary text */
  --ink-dim:  #8a7a5a;
  --ink-mute: #5a4a36;
  --rule:     #3a1828;     /* dim wine border */
  --rule-dim: #2a121e;
  --pink:     #ff3aa0;     /* hotter pink for the dark bg */
  --pink-hot: #ff5ab8;
  --good:     #d8a85a;     /* old-gold */
  --blood:    #8a1424;
}

* { box-sizing: border-box; }

/* ── INTRO SPLASH — full-screen tent flap, peels apart ─────
   The whole viewport IS the heavy striped tent canvas. Two
   flap halves with a center seam. Hisoka stands in front under
   a spotlight. Click ENTER → laugh + flaps curl/peel to the sides
   like real fabric being pulled aside → site reveals. */
body.intro-active { overflow: hidden; }

.intro {
  position: fixed; inset: 0; z-index: 9999;
  display: grid;
  place-items: end center;
  overflow: hidden;
  background: #06030c;     /* deep void behind everything (when flaps open) */
  animation: introFade .8s ease-out;
}
@keyframes introFade { from {opacity:0;} to {opacity:1;} }

/* The two flap halves. Each covers half the viewport, vertical stripes,
   subtle inner shadow at the meeting edge for fabric depth. */
.intro-flap {
  position: absolute;
  top: 0;
  width: 50vw;
  height: 100vh;
  z-index: 5;
  overflow: hidden;
  will-change: transform;
  transition: transform 1.8s cubic-bezier(.55,.06,.35,1.0);
}
.intro-flap-l { left: 0;
  transform-origin: 0% 0%;
  /* Slight pre-curl: rotate 0 default; on opening, shears outward */
}
.intro-flap-r { right: 0;
  transform-origin: 100% 0%;
}

/* The visible tent canvas — vertical red stripes over deep cream */
.intro-flap-skin {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(to right,
      #6e1414 0,  #6e1414 60px,
      #d8c8a0 60px, #d8c8a0 120px);
  /* Subtle weave grain */
  background-blend-mode: multiply;
  filter: saturate(0.85) brightness(0.85);
}
/* Heavy gradient overlay at the inner edge — sells "this is fabric" */
.intro-flap-l .intro-flap-skin::after,
.intro-flap-r .intro-flap-skin::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.0) 70%,
    rgba(0,0,0,0.45) 95%,
    rgba(0,0,0,0.65) 100%);
}
.intro-flap-r .intro-flap-skin::after {
  background: linear-gradient(to left,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.0) 70%,
    rgba(0,0,0,0.45) 95%,
    rgba(0,0,0,0.65) 100%);
}
/* Vertical fold creases — adds heaviness to the canvas */
.intro-flap-fold {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(to right,
    rgba(0,0,0,0) 0,    rgba(0,0,0,0) 240px,
    rgba(0,0,0,0.18) 240px, rgba(0,0,0,0.18) 242px);
  pointer-events: none;
}
/* Decorative tieback rope partway down each flap (where you'd grab it) */
.intro-flap-tieback {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #d8a85a;
  border: 2px solid #1a0a14;
  top: 48vh;
}
.intro-flap-l .intro-flap-tieback { right: 12px; }
.intro-flap-r .intro-flap-tieback { left: 12px; }

/* Centerline seam — dark gap where the two flaps meet, gives depth */
.intro-seam {
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: 6px;
  height: 100vh;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0.55) 80%,
    rgba(0,0,0,0.85));
  z-index: 6;
  pointer-events: none;
}

/* On ENTER: each flap shears + slides + curls away */
.intro-opening .intro-flap-l {
  transform: skewY(-3deg) translateX(-90vw) rotate(-8deg);
}
.intro-opening .intro-flap-r {
  transform: skewY(3deg) translateX(90vw) rotate(8deg);
}
.intro-opening .intro-seam { opacity: 0; transition: opacity .5s; }

/* Spotlight cone from above the seam, behind Hisoka */
.intro-spotlight {
  position: absolute;
  left: 50%; top: -8%;
  transform: translateX(-50%);
  width: 90vw; height: 90vh;
  background: radial-gradient(ellipse 50% 100% at 50% 0,
    rgba(255, 200, 130, 0.32) 0%,
    rgba(255, 180, 110, 0.12) 35%,
    rgba(255, 180, 110, 0)    70%);
  pointer-events: none;
  z-index: 4;
  filter: blur(6px);
  mix-blend-mode: screen;
  animation: spotFlicker 5s ease-in-out infinite;
}
@keyframes spotFlicker {
  0%, 100% { opacity: 0.95; }
  20%      { opacity: 0.85; }
  22%      { opacity: 0.95; }
  60%      { opacity: 1.0; }
}

/* Aura glow behind Hisoka */
.intro-aura {
  position: absolute;
  left: 50%;
  bottom: 8vh;
  transform: translateX(-50%);
  width: 70vh;
  height: 70vh;
  max-width: 80vw;
  background: radial-gradient(circle,
    rgba(230, 103, 214, 0.30) 0%,
    rgba(230, 103, 214, 0.10) 30%,
    rgba(230, 103, 214, 0)    65%);
  z-index: 7;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: auraPulse 2.4s ease-in-out infinite alternate;
}
@keyframes auraPulse {
  from { transform: translateX(-50%) scale(1);   opacity: 0.85; }
  to   { transform: translateX(-50%) scale(1.08); opacity: 1; }
}

/* Hisoka — the foreground hero (above flaps) */
.intro-hisoka {
  position: relative;
  z-index: 8;
  height: 78vh;
  max-width: 85vw;
  margin-bottom: 13vh;
  filter:
    drop-shadow(0 24px 0 rgba(0,0,0,0.55))
    drop-shadow(0 0 40px rgba(255, 180, 120, 0.18));
  transform-origin: 50% 80%;
  animation: hisokaIdle 4.4s ease-in-out infinite;
  transition: transform 1.6s cubic-bezier(.4,.05,.4,1), opacity 1.6s ease-in;
}
@keyframes hisokaIdle {
  0%   { transform: translateY(0)     rotate(-1.2deg) scale(1); }
  25%  { transform: translateY(-8px)  rotate(0.6deg)  scale(1.005); }
  50%  { transform: translateY(-3px)  rotate(1.2deg)  scale(1); }
  75%  { transform: translateY(-11px) rotate(-0.3deg) scale(1.005); }
  100% { transform: translateY(0)     rotate(-1.2deg) scale(1); }
}
/* On ENTER: Hisoka tilts back welcoming, then dissolves toward the tent */
.intro-opening .intro-hisoka {
  animation: hisokaExit 2.2s cubic-bezier(.5,.05,.5,.95) forwards;
}
@keyframes hisokaExit {
  0%   { transform: translateY(0)     rotate(-1.2deg) scale(1);   opacity: 1; }
  20%  { transform: translateY(-20px) rotate(-6deg)   scale(1.05); opacity: 1; }
  60%  { transform: translateY(-8vh)  rotate(2deg)    scale(0.85); opacity: .7; }
  100% { transform: translateY(-20vh) rotate(0deg)    scale(0.5);  opacity: 0; }
}

.intro-hisoka-fallback {
  position: relative; z-index: 3;
  width: 320px; height: 460px;
  margin-bottom: 13vh;
  align-items: center; justify-content: center; text-align: center;
  background: #1a1c2c; color: #f7c8d8;
  font-family: 'IBM Plex Mono', monospace; font-size: .9rem;
  font-weight: 600; line-height: 1.4;
  border: 4px dashed #f7c8d8;
}

/* ENTER button — refined, hot-pink underglow, less cartoon */
.intro-enter {
  position: absolute;
  bottom: 5vh;
  z-index: 9;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.32em;
  color: #fff5e0;
  background: rgba(20, 10, 30, 0.85);
  border: 1px solid rgba(247, 200, 216, 0.6);
  padding: 1rem 3.6rem;
  cursor: pointer;
  backdrop-filter: blur(6px);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.4),
    0 12px 30px rgba(230, 103, 214, 0.35),
    0 0 60px rgba(230, 103, 214, 0.15);
  transition: transform .25s, box-shadow .25s, background .25s, border-color .25s, opacity .5s, letter-spacing .25s;
  animation: enterPulse 2.4s ease-in-out infinite alternate;
}
.intro-enter:hover {
  background: rgba(40, 15, 50, 0.92);
  border-color: #f7c8d8;
  letter-spacing: 0.36em;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.4),
    0 16px 40px rgba(230, 103, 214, 0.55),
    0 0 80px rgba(230, 103, 214, 0.30);
  transform: translateY(-2px);
}
.intro-enter:active { transform: translateY(0); }
@keyframes enterPulse {
  from { box-shadow:
    0 0 0 1px rgba(0,0,0,0.4),
    0 12px 30px rgba(230, 103, 214, 0.30),
    0 0 60px rgba(230, 103, 214, 0.10); }
  to   { box-shadow:
    0 0 0 1px rgba(0,0,0,0.4),
    0 14px 36px rgba(230, 103, 214, 0.50),
    0 0 80px rgba(230, 103, 214, 0.22); }
}
.intro-opening .intro-enter { opacity: 0; transform: translateY(20px); }

/* Splash fades after flaps complete their peel */
.intro-opening { animation: introExit 2.2s ease-out forwards; }
@keyframes introExit {
  0%   { opacity: 1; }
  70%  { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

/* ── INTRO SPLASH — mobile ─────────────────────────── */
@media (max-width: 720px) {
  /* Use dvh on iOS so the URL bar doesn't steal the bottom button */
  .intro,
  .intro-flap,
  .intro-seam       { height: 100dvh; }
  .intro-spotlight  { height: 70dvh; }

  .intro-hisoka {
    height: 58dvh;
    max-width: 90vw;
    margin-bottom: 18dvh;
  }
  .intro-hisoka-fallback {
    width: 70vw; height: 50dvh;
    margin-bottom: 18dvh;
  }
  .intro-aura {
    width: 80vw;
    height: 60dvh;
    bottom: 12dvh;
  }
  /* Tighter stripes on small screens */
  .intro-flap-skin {
    background:
      repeating-linear-gradient(to right,
        #6e1414 0,  #6e1414 32px,
        #d8c8a0 32px, #d8c8a0 64px);
  }
  .intro-flap-fold {
    background: repeating-linear-gradient(to right,
      rgba(0,0,0,0) 0,    rgba(0,0,0,0) 128px,
      rgba(0,0,0,0.18) 128px, rgba(0,0,0,0.18) 129px);
  }
  .intro-flap-tieback { display: none; }

  .intro-enter {
    bottom: 4dvh;
    padding: 0.85rem 2.4rem;
    font-size: 1rem;
    letter-spacing: 0.28em;
  }
}


html, body {
  margin: 0; padding: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(138, 20, 36, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.6) 0%, transparent 65%),
    var(--cream);
  background-attachment: fixed;
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}
body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pink-hot); text-decoration-thickness: 2px; }

hr.rule {
  border: none;
  border-top: 1px solid var(--rule);
  width: 80px;
  margin: 28px auto 24px;
}

/* ── EYEBROW (pink accent label) ────────────────────────────── */
.eyebrow {
  font-family: 'IBM Plex Mono', 'Menlo', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink-hot);
  font-weight: 600;
  margin-bottom: 14px;
}

/* ── DECORATIVE BG UPEGS (real sprites) ─────────────────────── */
.bg-upegs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-upegs .bgu {
  position: absolute;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  user-select: none;
  border-radius: 4px;
}
.bgu-1  { top:  120px; left: 4%;   width: 110px; opacity: 0.55; transform: rotate(-4deg); }
.bgu-2  { top:  280px; right: 5%;  width: 130px; opacity: 0.55; transform: rotate(3deg); }
.bgu-3  { top:  720px; left: 6%;   width: 100px; opacity: 0.5;  transform: rotate(-2deg); }
.bgu-4  { top:  920px; right: 4%;  width: 120px; opacity: 0.5;  transform: rotate(5deg); }
.bgu-5  { top: 1280px; left: 3%;   width: 110px; opacity: 0.45; transform: rotate(-6deg); }
.bgu-6  { top: 1500px; right: 6%;  width: 130px; opacity: 0.5;  transform: rotate(2deg); }
.bgu-7  { top: 1880px; left: 5%;   width: 100px; opacity: 0.45; transform: rotate(4deg); }
.bgu-8  { top: 2120px; right: 5%;  width: 110px; opacity: 0.45; transform: rotate(-3deg); }
.bgu-9  { top: 2480px; left: 4%;   width: 100px; opacity: 0.4;  transform: rotate(-5deg); }
.bgu-10 { top: 2720px; right: 4%;  width: 120px; opacity: 0.4;  transform: rotate(3deg); }
.bgu-11 { top: 3080px; left: 6%;   width: 90px;  opacity: 0.35; transform: rotate(-2deg); }
.bgu-12 { top: 3320px; right: 6%;  width: 110px; opacity: 0.4;  transform: rotate(4deg); }

@media (max-width: 900px) {
  .bgu-1, .bgu-3, .bgu-5, .bgu-7, .bgu-9, .bgu-11   { width: 64px; opacity: 0.32; }
  .bgu-2, .bgu-4, .bgu-6, .bgu-8, .bgu-10, .bgu-12  { width: 70px; opacity: 0.32; }
}

/* ── TOPBAR ─────────────────────────────────────────────────── */
.topbar {
  position: relative;
  z-index: 2;
  display: flex; gap: 18px;
  justify-content: flex-end;
  padding: 22px clamp(20px, 4vw, 40px);
}
.tb-link {
  color: var(--ink-dim);
  text-decoration: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  transition: color 0.15s, background 0.15s, transform 0.15s;
}
.tb-link:hover { color: var(--ink); background: var(--rule-dim); transform: scale(1.05); }
.tb-link img { image-rendering: pixelated; }

/* music toggle (button, not anchor) — same shape as .tb-link */
button.tb-music {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: 'IBM Plex Mono', monospace;
}
.tb-music .music-icon {
  font-size: 18px;
  line-height: 1;
}
.tb-music.playing { color: var(--pink-hot); }
.tb-music.playing .music-icon { animation: music-pulse 1.4s ease-in-out infinite; }
@keyframes music-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

/* ── PAGE COLUMN ────────────────────────────────────────────── */
.page {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px) 64px;
}

section { padding: 80px 0 24px; }
section:first-of-type { padding-top: 24px; }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding-top: 24px;
  padding-bottom: 24px;
}
.hero-mascot {
  width: 220px;
  height: 220px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  border-radius: 8px;
  display: block;
  margin: 0 auto 28px;
  box-shadow: 0 12px 28px rgba(10, 10, 10, 0.06);
}
.hero .eyebrow { color: var(--pink-hot); }
.hero-word {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(42px, 9vw, 94px);
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0;
  color: var(--ink);
}
.hero-word .hw-1 { color: var(--ink); }
.hero-word .hw-2 { color: var(--ink-mute); font-weight: 700; }
.hero-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--ink-dim);
  margin-top: 14px;
  text-transform: uppercase;
}
.hero-thesis {
  max-width: 540px;
  margin: 0 auto 14px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.hero-aside {
  max-width: 540px;
  margin: 0 auto 28px;
  font-size: 15px;
  color: var(--ink-dim);
  font-style: italic;
}

/* ── CTA BUTTON ─────────────────────────────────────────────── */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.cta .arr {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  transition: transform 0.15s;
}
.cta:hover {
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(10,10,10,0.12);
}
.cta:hover .arr { transform: translateX(3px); }
.cta-fill {
  background: var(--ink);
  color: var(--cream);
}
.cta-fill:hover {
  background: var(--pink);
  color: var(--ink);
  text-decoration: none;
}

/* ── SECTIONS ───────────────────────────────────────────────── */
.sec-h {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 4.5vw, 38px);
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 12px;
}
.sec-sub {
  margin: 0 0 32px;
  color: var(--ink-mid);
  font-size: 17px;
}

/* ── FLYWHEEL STEPS ─────────────────────────────────────────── */
.steps {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.step {
  display: grid;
  grid-template-columns: 60px 96px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  align-items: center;
}
.step:last-child { border-bottom: 1px solid var(--rule); }
.step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--pink-hot);
}
.step-upeg {
  width: 88px;
  height: 88px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  border-radius: 6px;
  display: block;
  box-shadow: 0 4px 10px rgba(10,10,10,0.05);
}
.step-body h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
  color: var(--ink);
}
.step-body p {
  margin: 0;
  color: var(--ink-mid);
  font-size: 16px;
  line-height: 1.55;
}
.closer {
  margin: 36px 0 0;
  font-size: 17px;
  color: var(--ink);
  text-align: center;
  font-style: italic;
  letter-spacing: -0.005em;
}

/* ── LIVE STATS (soft editorial) ────────────────────────────── */
.live { padding-bottom: 16px; }
.stat-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  border-top: 1px solid var(--rule);
}
.stat-list li {
  padding: 22px 4px;
  border-bottom: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 4px;
  align-items: flex-start;
}
.stat-list li:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--rule); }
.stat-list li:nth-child(even) { padding-left: 16px; }
.stat-num {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.stat-lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

/* ── OPEN POSITIONS TABLE ───────────────────────────────────── */
.ctable {
  border-top: 1px solid var(--rule);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
}
.ctable-head, .ctable-row {
  display: grid;
  grid-template-columns: 50px 1fr 1fr 1fr 60px;
  gap: 12px;
  padding: 14px 0;
  align-items: center;
}
.ctable-head {
  border-bottom: 1px solid var(--rule);
  color: var(--ink-mute);
}
.ctable-row {
  border-bottom: 1px solid var(--rule);
  color: var(--ink-mid);
  text-decoration: none;
}
.ctable-row:hover { background: var(--rule-dim); }
.ctable-row .num { color: var(--pink-hot); }
.ctable-row .target { color: var(--good); }
.ctable-row .pct { font-weight: 700; color: var(--ink); }
.ctable-empty {
  padding: 28px 0;
  color: var(--ink-mute);
  font-size: 14px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-style: italic;
}

/* ── BURN LOG ───────────────────────────────────────────────── */
.logl {
  border-top: 1px solid var(--rule);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
}
.log-row {
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  color: var(--ink-mid);
  text-decoration: none;
}
.log-row:hover { background: var(--rule-dim); }
.log-row .ts { color: var(--ink-mute); }
.log-row .msg .cycle { color: var(--pink-hot); }
.log-row .eth { color: var(--ink); }
.log-row .burn { color: var(--good); }
.log-empty {
  padding: 28px 0;
  color: var(--ink-mute);
  font-size: 14px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-style: italic;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.ftr {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 32px clamp(20px, 4vw, 40px) 56px;
  text-align: center;
  color: var(--ink-mute);
  font-size: 13px;
}
.ftr-pegs {
  display: flex; gap: 14px; justify-content: center;
  margin-bottom: 22px;
}
.ftr-pegs img {
  width: 56px; height: 56px;
  image-rendering: pixelated;
  border-radius: 4px;
  opacity: 0.85;
}
.ftr-row { margin-bottom: 12px; font-size: 14px; }
.ftr-row .dot { margin: 0 6px; color: var(--rule); }
.ftr-row a { color: var(--ink); }
.ftr-stamp {
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.22em;
  font-size: 10px;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-top: 18px;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  .step { grid-template-columns: 40px 64px 1fr; gap: 12px; }
  .step-upeg { width: 60px; height: 60px; }
  .stat-list { grid-template-columns: 1fr; }
  .stat-list li:nth-child(odd) { border-right: none; padding-right: 0; }
  .stat-list li:nth-child(even) { padding-left: 0; }
  .ctable-head, .ctable-row {
    grid-template-columns: 40px 1fr 60px 60px;
    font-size: 12px;
  }
  .ctable-head span:nth-child(3), .ctable-row :nth-child(3) {
    display: none;
  }
  .log-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  .hero-thesis { font-size: 17px; }
  .hero-mascot { width: 160px; height: 160px; }
}
