/* =========================================================
   Ciphio — workshop index
   Paper, ink, one vermilion. Each entry brings its own colour
   inside its demo panel; the frame around it stays quiet.
   ========================================================= */

@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url('assets/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url('assets/fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 300 900; font-display: swap;
  src: url('assets/fonts/fraunces-latin-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 300 900; font-display: swap;
  src: url('assets/fonts/fraunces-latin-ext-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('assets/fonts/instrument-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('assets/fonts/instrument-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('assets/fonts/jetbrains-mono-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('assets/fonts/jetbrains-mono-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('assets/fonts/jetbrains-mono-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('assets/fonts/jetbrains-mono-latin-ext-500.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --paper: #F2EDE3;
  --paper-2: #E8E1D2;
  --sheet: #F8F4EC;
  --ink: #17150F;
  --ink-2: #3B372E;
  --muted: #6E6858;
  --rule: rgba(23, 21, 15, 0.14);
  --rule-strong: rgba(23, 21, 15, 0.7);
  --accent: #D63F1E;
  --accent-soft: rgba(214, 63, 30, 0.1);
  --ok: #2E7D4F;
  --wait: #B7791F;
  --grain-blend: multiply;
  --grain-opacity: 0.28;

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #13120F;
    --paper-2: #1C1A16;
    --sheet: #1A1915;
    --ink: #EDE6D7;
    --ink-2: #CFC7B5;
    --muted: #978F7D;
    --rule: rgba(237, 230, 215, 0.12);
    --rule-strong: rgba(237, 230, 215, 0.6);
    --accent: #FF6A45;
    --accent-soft: rgba(255, 106, 69, 0.12);
    --ok: #6CCB8F;
    --wait: #E3B160;
    --grain-blend: soft-light;
    --grain-opacity: 0.4;
    color-scheme: dark;
  }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* paper grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: var(--grain-opacity);
  mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.45 0 0 0 0 0.38 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 200; background: var(--ink); color: var(--paper); padding: 8px 12px; }

/* ---------- type helpers ---------- */
.mono, .label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.label { color: var(--muted); }
.serif { font-family: var(--serif); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.05;
}
p { margin: 0 0 1em; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.wordmark svg { width: 26px; height: 26px; flex: none; }
.wordmark:hover .mark-inner { transform: rotate(-40deg); }
.mark-inner { transform-origin: 16px 16px; transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }

.site-nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.site-nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--ink-2);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }

.lang {
  display: inline-flex;
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  overflow: hidden;
  margin-left: 8px;
}
.lang button {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.08em;
  background: transparent;
  color: var(--ink-2);
  border: 0;
  padding: 7px 9px;
  cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.menu-btn {
  display: none;
  margin-left: auto;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  padding: 9px 12px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .menu-btn { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--rule-strong);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; font-size: 14px; border-bottom: 1px solid var(--rule); border-radius: 0; }
  .site-nav a:hover { background: transparent; }
  .lang { margin: 16px 0 0; align-self: flex-start; }
}

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn .arr { transition: transform 0.2s; }
.btn:hover .arr { transform: translate(2px, -2px); }

.link {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  color: var(--ink-2);
}
.link:hover { color: var(--accent); }

.actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }

/* ---------- status chip ---------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 6px 9px 6px 8px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  white-space: nowrap;
}
.status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent);
}
.status[data-s="soon"]::before { background: transparent; border: 1.5px solid var(--muted); box-shadow: none; }
.status[data-s="partial"]::before { background: linear-gradient(90deg, var(--ok) 50%, var(--wait) 50%); }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(44px, 6.3vw, 98px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 450;
  margin: 18px 0 28px;
}
.hero h1 em { font-style: italic; font-weight: 350; color: var(--accent); display: block; }
.hero .lede { font-size: clamp(17px, 1.6vw, 20px); max-width: 46ch; color: var(--ink-2); }
.tally {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.tally span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); }
.tally b { color: var(--ink); font-weight: 500; }

/* cipher wheel */
.wheel { position: relative; width: min(100%, 440px); margin-inline: auto; }
.wheel svg { width: 100%; height: auto; overflow: visible; }
.wheel .ring-letter { font-family: var(--mono); font-size: 13px; fill: var(--ink-2); }
.wheel .inner-letter { font-family: var(--mono); font-size: 12.5px; fill: var(--accent); font-weight: 500; }
.wheel .inner { transition: transform 0.9s cubic-bezier(.2,.8,.2,1); transform-origin: 200px 200px; }
.wheel-readout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
}
.wheel-readout .plain { color: var(--ink); }
.wheel-readout .coded { color: var(--accent); min-width: 6.2ch; }
.wheel-readout button {
  width: 30px; height: 30px;
  border: 1px solid var(--rule-strong);
  background: transparent;
  color: var(--ink);
  border-radius: 50%;
  cursor: pointer;
  font: 14px/1 var(--mono);
}
.wheel-readout button:hover { background: var(--ink); color: var(--paper); }
.wheel-caption { text-align: center; margin-top: 10px; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .wheel { width: min(100%, 320px); }
}

/* ---------- section heads ---------- */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 24px;
  align-items: end;
  padding-bottom: 20px;
  border-bottom: 1.5px solid var(--rule-strong);
  margin-bottom: 0;
}
.section-head h2 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.03em; }
.section-head p { margin: 0; color: var(--muted); max-width: 52ch; justify-self: end; text-align: right; }
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head p { justify-self: start; text-align: left; }
}

/* ---------- index entries ---------- */
.entry {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(36px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 80px;
}
.entry-meta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.entry-no {
  font-family: var(--serif);
  font-size: clamp(56px, 6vw, 88px);
  line-height: 0.8;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.entry-no small {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 10px;
}
.entry-body h3 { font-size: clamp(38px, 4vw, 56px); letter-spacing: -0.03em; }
.entry-body h3 a { text-decoration: none; }
.entry-body h3 a:hover { color: var(--accent); }
.entry-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  color: var(--ink-2);
  margin: 8px 0 18px;
  font-weight: 400;
}
.entry-body .desc { color: var(--ink-2); }
.facts {
  margin: 20px 0 24px;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.facts div {
  display: grid;
  grid-template-columns: 9.5em 1fr;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}
.facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts dd { margin: 0; color: var(--ink); }

.note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
  border-left: 2px solid var(--accent);
  padding: 2px 0 2px 14px;
  margin: 0 0 22px;
}

@media (max-width: 1080px) {
  .entry { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .entry-meta { grid-column: 1 / -1; flex-direction: row; align-items: flex-end; gap: 18px; }
  .entry-meta .label { margin-left: auto; }
}
@media (max-width: 760px) {
  .entry { grid-template-columns: 1fr; }
  .entry-meta .label { margin-left: 0; }
  .entry-meta { flex-wrap: wrap; }
}

/* ---------- demo panels ---------- */
.figure { margin: 0; }
.demo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 30px 60px -30px rgba(23, 21, 15, 0.45);
  isolation: isolate;
}
.demo canvas, .demo > svg { width: 100%; height: 100%; }
.figure figcaption {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}
.figure figcaption b { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); white-space: nowrap; padding-top: 2px; }

.demo-hud {
  position: absolute;
  inset: 12px 14px auto 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font: 500 11px/1.2 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 2;
}
.demo-ui {
  position: absolute;
  z-index: 3;
  font-family: var(--mono);
}
.demo button.chip {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 10px 12px;
  cursor: pointer;
  border: 1.5px solid currentColor;
  background: transparent;
}

/* Arena */
.demo--arena { background: #161E3A; color: #FFD696; }
.demo--arena .demo-hud span:last-child { color: #60D6CC; }

/* Makas */
.demo--makas { background: #15181D; color: #FFC21A; }
.makas-ui { left: 0; right: 0; bottom: 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 0 16px; }
.makas-ui p { margin: 0; font-family: var(--serif); font-size: clamp(16px, 2vw, 21px); color: #F5F1E6; }
.makas-ui .row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.makas-ui button.chip { color: #FFC21A; }
.makas-ui button.chip.solid { background: #FFC21A; color: #15181D; border-color: #FFC21A; }
.makas-ui a { color: #FFC21A; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

/* Decinder */
.demo--decinder {
  background: radial-gradient(120% 90% at 50% 0%, #3A1E26 0%, #1C1216 70%);
  color: #FFB4A3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  padding: 12% 10% 9%;
}
.dc-lane { position: relative; }
.dc-lane .who { position: absolute; top: -26px; left: 0; right: 0; text-align: center; font: 500 10px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: #FFB4A3; opacity: .8; }
.dc-stack { position: relative; width: 100%; height: 100%; }
.dc-card {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.55s cubic-bezier(.3,.7,.2,1), opacity 0.55s;
  box-shadow: 0 12px 24px rgba(0,0,0,.35);
  display: flex;
  align-items: flex-end;
  padding: 10px;
}
.dc-card span { font-family: var(--serif); font-style: italic; color: #fff; font-size: clamp(12px, 1.5vw, 17px); line-height: 1.1; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.dc-card.out-r { transform: translateX(70%) rotate(14deg); opacity: 0; }
.dc-card.out-l { transform: translateX(-70%) rotate(-14deg); opacity: 0; }
.dc-card .stamp {
  position: absolute; top: 12px; font: 600 11px/1 var(--mono); letter-spacing: .12em; padding: 5px 7px; border: 2px solid; border-radius: 4px; opacity: 0; transition: opacity .2s;
}
.dc-card .stamp.like { left: 10px; color: #7CF0B0; transform: rotate(-10deg); }
.dc-card .stamp.nope { right: 10px; color: #FF7A8A; transform: rotate(10deg); }
.dc-card.show-like .stamp.like, .dc-card.show-nope .stamp.nope { opacity: 1; }
.dc-match {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 4;
  background: rgba(20, 10, 14, 0.72);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
  text-align: center;
}
.dc-match.on { opacity: 1; }
.dc-match div { font-family: var(--serif); font-size: clamp(28px, 4.4vw, 52px); font-style: italic; color: #FF8C7A; line-height: 1; }
.dc-match small { display: block; margin-top: 10px; font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #FFD9CF; font-style: normal; }

/* Seedwave */
.demo--seedwave { background: #0C0D0B; color: #D8F45A; }
.sw-ui { right: 14px; bottom: 14px; }
.sw-ui button.chip { color: #D8F45A; background: rgba(12,13,11,.6); }

/* Depositio */
.demo--depositio { background: #0F2724; color: #8FE6C8; }

@media (prefers-reduced-motion: reduce) {
  .dc-card, .wheel .inner { transition: none; }
}

/* ---------- network band ---------- */
.band { background: var(--ink); color: var(--paper); }
.band .section-head { border-color: color-mix(in srgb, var(--paper) 60%, transparent); }
.band .section-head p { color: color-mix(in srgb, var(--paper) 62%, transparent); }
.net { list-style: none; margin: 0; padding: 0; }
.net a {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 2fr);
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--paper) 16%, transparent);
  text-decoration: none;
  transition: padding 0.25s, color 0.25s;
}
.net a:hover { padding-left: 12px; color: var(--accent); }
.net .host { font-family: var(--mono); font-size: clamp(16px, 2vw, 22px); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.net .host i { font-style: normal; opacity: .45; }
.net .what { font-family: var(--serif); font-style: italic; font-size: 18px; color: color-mix(in srgb, var(--paper) 78%, transparent); }
.net .state { justify-self: end; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; display: inline-flex; gap: 8px; align-items: center; color: color-mix(in srgb, var(--paper) 70%, transparent); }
.net .state::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #6CCB8F; }
.net .state[data-s="soon"]::before { background: transparent; border: 1.5px solid currentColor; }
.net .state[data-s="here"]::before { background: var(--accent); }
@media (max-width: 760px) {
  .net a { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .net .what { grid-column: 1 / -1; grid-row: 2; font-size: 16px; }
}
/* on the dark band the colours are fixed rather than theme-flipped */
@media (prefers-color-scheme: dark) {
  .band { background: #0A0908; color: #EDE6D7; }
}

/* ---------- about ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 80px);
  padding-top: 36px;
}
.about .big {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.28;
  letter-spacing: -0.012em;
  font-weight: 380;
}
.about .big em { color: var(--accent); }
.contact-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule-strong); }
.contact-list li { display: grid; grid-template-columns: 8em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.contact-list span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.contact-list a { text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--accent); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1.5px solid var(--rule-strong); margin-top: 0; padding: 40px 0 28px; overflow: hidden; }
.site-footer .giant {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(88px, 20vw, 300px);
  letter-spacing: -0.06em;
  line-height: 0.8;
  margin: 0 0 32px -0.04em;
  padding-bottom: 0.2em;
  color: var(--ink);
}
.site-footer .giant em { color: var(--accent); font-weight: 400; }
.foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.foot-row nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-row a { text-decoration: none; color: var(--ink-2); text-transform: uppercase; }
.foot-row a:hover { color: var(--accent); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* =========================================================
   Entry pages
   ========================================================= */
.crumbs { padding: 26px 0 0; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--accent); }

.page-hero { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); border-bottom: 1.5px solid var(--rule-strong); }
.page-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.page-hero h1 {
  font-size: clamp(56px, 8vw, 116px);
  letter-spacing: -0.04em;
  line-height: 0.9;
  font-weight: 430;
  margin: 18px 0 12px;
}
.page-hero .entry-tag { font-size: clamp(20px, 2.2vw, 26px); margin-bottom: 22px; }
.page-hero .lede { font-size: 18px; color: var(--ink-2); max-width: 44ch; }
.page-hero .actions { margin-top: 26px; }
.page-hero .meta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
@media (max-width: 900px) { .page-hero .wrap { grid-template-columns: 1fr; } }

.banner-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 6; background: #161E3A; }
.banner-img img { width: 100%; height: 100%; object-fit: cover; }

.cols {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(40px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--rule);
}
.cols > h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.025em; }
.cols > h2 small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 400; }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr; } }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule-strong); }
.steps li { counter-increment: s; padding: 22px 22px 6px 0; border-right: 1px solid var(--rule); }
.steps li + li { padding-left: 22px; }
.steps li:last-child { border-right: 0; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--serif); font-weight: 300; font-size: 48px; line-height: 1; color: var(--accent); margin-bottom: 16px; }
.steps h3 { font-size: 22px; margin-bottom: 10px; letter-spacing: -0.01em; }
.steps p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 20px 0 6px; border-right: 0; border-bottom: 1px solid var(--rule); }
}

.spec { margin: 0; border-top: 1px solid var(--rule-strong); }
.spec div { display: grid; grid-template-columns: minmax(8em, 3fr) 9fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.spec dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.spec dd { margin: 0; }

.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 40px 18px 0;
  font-family: var(--serif);
  font-size: 21px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-family: var(--mono); font-size: 22px; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); max-width: 64ch; padding-bottom: 8px; }

.prose { max-width: 66ch; }
.prose p, .prose li { color: var(--ink-2); }
.prose h2 { font-size: 26px; margin: 36px 0 12px; }
.prose h3 { font-size: 20px; margin: 26px 0 10px; }
.prose a { color: var(--accent); }

.callout {
  border: 1.5px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 22px 24px;
  background: var(--sheet);
}
.callout h3 { font-size: 22px; margin-bottom: 8px; }
.callout p:last-child { margin: 0; }

.next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--rule);
}
.next a { padding: 36px 0; text-decoration: none; display: block; }
.next a + a { border-left: 1px solid var(--rule); padding-left: 28px; text-align: right; }
.next a span { display: block; }
.next a .t { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.02em; margin-top: 6px; }
.next a:hover .t { color: var(--accent); }
@media (max-width: 600px) { .next { grid-template-columns: 1fr; } .next a + a { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; text-align: left; } }

/* ---------- forms (support) ---------- */
.form { display: grid; gap: 22px; max-width: 640px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 600px) { .form .two { grid-template-columns: 1fr; } }
.form label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.form input, .form select, .form textarea {
  width: 100%;
  font: 17px/1.4 var(--sans);
  color: var(--ink);
  background: var(--sheet);
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  padding: 12px 14px;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form-status { font-family: var(--mono); font-size: 13px; min-height: 1.4em; }
.form-status.success { color: var(--ok); }
.form-status.error { color: var(--accent); }

/* ---------- 404 ---------- */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.lost h1 { font-size: clamp(90px, 18vw, 220px); font-weight: 300; letter-spacing: -0.06em; line-height: .85; }
.lost h1 em { color: var(--accent); }
.lost p { color: var(--ink-2); margin: 20px auto 28px; max-width: 40ch; }

/* =========================================================
   INDIE LAYER
   Warm cream, chunky Bricolage, sticker cards with hard
   shadows, one colour per entry. Sits on top of the base.
   ========================================================= */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('assets/fonts/bricolage-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('assets/fonts/bricolage-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --paper: #FFF3DE;
  --paper-2: #FBE6C2;
  --sheet: #FFFBF2;
  --ink: #1F1A15;
  --ink-2: #40382F;
  --muted: #7A6D5C;
  --rule: rgba(31, 26, 21, 0.16);
  --rule-strong: #1F1A15;
  --accent: #FF5A36;
  --sun: #FFC93C;
  --teal: #2EC4B6;
  --grape: #8D6BFF;
  --display: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
  --serif: var(--display);
  --line: 2.5px;
  --pop: 6px 6px 0 var(--ink);
  --pop-sm: 3px 3px 0 var(--ink);
  --grain-opacity: 0.18;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1A1612;
    --paper-2: #241F19;
    --sheet: #221D17;
    --ink: #FFF3DE;
    --ink-2: #E6D9C3;
    --muted: #A99B86;
    --rule: rgba(255, 243, 222, 0.14);
    --rule-strong: #FFF3DE;
    --accent: #FF6B47;
    --pop: 6px 6px 0 #000;
    --pop-sm: 3px 3px 0 #000;
  }
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; }

/* header */
.site-header { border-bottom: var(--line) solid var(--rule-strong); background: color-mix(in srgb, var(--paper) 94%, transparent); }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.04em; }
.site-nav a { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: 0; text-transform: none; border-radius: 999px; padding: 8px 14px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--sun); color: #1F1A15; }
.lang { border: 2px solid var(--rule-strong); border-radius: 999px; }
.lang button { padding: 7px 11px; }
.menu-btn { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 0; text-transform: none; border: 2px solid var(--rule-strong); border-radius: 999px; box-shadow: var(--pop-sm); }
@media (max-width: 760px) {
  .site-nav { border-bottom: var(--line) solid var(--rule-strong); }
  .site-nav a { font-size: 22px; border-radius: 0; }
  .site-nav a:hover { background: transparent; color: var(--accent); }
}

/* buttons */
.btn {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  padding: 13px 20px;
  border: var(--line) solid #1F1A15;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  box-shadow: 4px 4px 0 #1F1A15;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { background: var(--accent); border-color: #1F1A15; color: #fff; transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #1F1A15; }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #1F1A15; }
.btn--ghost { background: var(--sheet); color: var(--ink); }
.btn--ghost:hover { background: var(--sun); color: #1F1A15; }
.link { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: 0; text-transform: none; text-decoration-thickness: 2px; color: var(--ink); }

/* status sticker */
.status {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  background: var(--sheet);
  color: #1F1A15;
  border: 2px solid #1F1A15;
  box-shadow: var(--pop-sm);
  padding: 6px 12px 6px 10px;
  transform: rotate(-3deg);
}

/* hero */
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(46px, 7vw, 108px); line-height: 0.92; letter-spacing: -0.05em; }
.hero h1 em {
  display: inline;
  font-style: normal;
  font-weight: 800;
  color: inherit;
  background: linear-gradient(transparent 55%, var(--sun) 55%, var(--sun) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero .label { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--accent); }
.tally { border-top: 0; padding-top: 0; gap: 10px; }
.tally > span {
  font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: 0; color: #1F1A15;
  background: var(--sheet); border: 2px solid #1F1A15; border-radius: 999px; padding: 6px 14px; box-shadow: var(--pop-sm);
}
.tally > span:nth-child(1) { background: #BFEDE7; }
.tally > span:nth-child(2) { background: var(--sun); transform: rotate(-2deg); }
.tally > span:nth-child(3) { background: #E3D9FF; transform: rotate(1.5deg); }
.tally b { color: #1F1A15; font-weight: 800; }
.tally span span { font-family: inherit; color: inherit; font-size: inherit; letter-spacing: 0; }

.wheel { transform: rotate(-4deg); }
.wheel svg { border-radius: 50%; background: var(--sun); border: var(--line) solid #1F1A15; box-shadow: 10px 10px 0 #1F1A15; color: #1F1A15; }
.wheel .ring-letter { fill: #1F1A15; font-weight: 500; }
.wheel .inner-letter { fill: #C2361A; }
.wheel .inner circle { fill: #FFFBF2; }
.wheel-readout { transform: rotate(4deg); }
.wheel-readout .plain, .wheel-readout .coded { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: 0.06em; }
.wheel-readout button { border: 2px solid var(--rule-strong); box-shadow: var(--pop-sm); background: var(--sheet); }
.wheel-caption { transform: rotate(4deg); font-family: var(--display); text-transform: none; letter-spacing: 0; font-size: 14px; }

/* ticker */
.ticker { background: #1F1A15; color: var(--sun); border-block: var(--line) solid #1F1A15; overflow: hidden; white-space: nowrap; transform: rotate(-1.2deg); margin: 8px -20px 0; }
.ticker-track { display: inline-flex; animation: tick 38s linear infinite; padding: 14px 0; }
.ticker-track span { font-family: var(--display); font-weight: 800; font-size: clamp(18px, 2vw, 24px); letter-spacing: -0.01em; padding-right: 36px; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
.ticker-src { display: none; }

/* section heads */
.section-head { border-bottom: var(--line) solid var(--rule-strong); }
.section-head h2 { font-size: clamp(40px, 5.5vw, 72px); letter-spacing: -0.05em; }
.section-head p { font-family: var(--display); font-weight: 500; font-size: 18px; }

/* entries as sticker cards */
.entry {
  --ink: #1F1A15; --ink-2: #40382F; --muted: #6E6152; --rule: rgba(31,26,21,.18); --rule-strong: #1F1A15;
  color: #1F1A15;
  background: var(--card, #FFFBF2);
  border: var(--line) solid #1F1A15;
  border-radius: 26px;
  box-shadow: 8px 8px 0 #1F1A15;
  padding: clamp(24px, 3.5vw, 44px);
  margin-top: 40px;
}
.entry .entry-no { font-family: var(--display); font-weight: 800; letter-spacing: -0.06em; }
.entry .entry-no small { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0; text-transform: none; }
.entry .label { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 0; text-transform: none; }
.entry-tag, .page-hero .entry-tag { font-family: var(--display); font-style: normal; font-weight: 500; color: var(--ink-2); letter-spacing: -0.01em; }
.entry-body h3 { font-size: clamp(40px, 4.4vw, 64px); letter-spacing: -0.05em; }
.entry-body h3 a:hover { color: inherit; text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; text-decoration-color: var(--accent); }
.note { font-family: var(--display); font-style: normal; font-weight: 500; background: rgba(255,255,255,.55); border: 2px dashed #1F1A15; border-left-width: 2px; border-radius: 14px; padding: 12px 16px; }
.facts { border-top: 2px solid #1F1A15; }
.facts dt { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0; text-transform: none; }
.demo { border: var(--line) solid #1F1A15; border-radius: 18px; box-shadow: none; }
.figure figcaption b { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0; text-transform: none; }
.figure figcaption { color: #5C5143; }

#evolve-arena { --card: #CDEBF5; }
#makas { --card: #FFE08A; }
#decinder { --card: #FFCDBF; }
#seedwave { --card: #E2F59A; }
#depositio { --card: #BDEBD7; }

/* network */
.band { background: #1F1A15; color: #FFF3DE; }
.band .section-head { border-color: #FFF3DE; }
.net a:hover { color: var(--sun); }
.net .what { font-family: var(--display); font-style: normal; font-weight: 500; }
.net .state { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0; text-transform: none; }

/* about */
.about .big { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; }
.about .big em { font-style: normal; color: inherit; background: var(--sun); color: #1F1A15; padding: 0 .15em; border-radius: 6px; }
.contact-list { border-top: var(--line) solid var(--rule-strong); }
.contact-list span { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 0; text-transform: none; }

/* footer */
.site-footer { background: var(--sun); color: #1F1A15; border-top: var(--line) solid #1F1A15; --ink: #1F1A15; --ink-2: #1F1A15; --muted: #4F4436; }
.site-footer .giant { font-family: var(--display); font-weight: 800; letter-spacing: -0.07em; color: #1F1A15; }
.site-footer .giant em { color: var(--accent); }
.foot-row { font-family: var(--display); font-size: 15px; letter-spacing: 0; }
.foot-row a { text-transform: none; font-weight: 700; }

/* inner pages */
.crumbs { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: 0; text-transform: none; }
.page-hero { border-bottom: var(--line) solid var(--rule-strong); }
.page-hero h1 { font-family: var(--display); font-weight: 800; letter-spacing: -0.06em; }
.page-hero .label, .cols > h2 small, .spec dt, .form label { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 0; text-transform: none; }
.steps { border-top: var(--line) solid var(--rule-strong); }
.steps li::before { font-family: var(--display); font-weight: 800; color: var(--accent); }
.spec { border-top: var(--line) solid var(--rule-strong); }
.faq summary { font-family: var(--display); font-weight: 600; }
.callout { border: var(--line) solid var(--rule-strong); border-radius: 22px; box-shadow: var(--pop); background: var(--sheet); }
.next a .t { font-family: var(--display); font-weight: 800; letter-spacing: -0.04em; }
.next a .label { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 0; text-transform: none; }
.banner-img { border: var(--line) solid #1F1A15; border-radius: 22px; box-shadow: var(--pop); }
.form input, .form select, .form textarea { border: 2px solid var(--rule-strong); border-radius: 12px; }
.prose h2, .prose h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; }
.lost h1 { font-family: var(--display); font-weight: 800; }
.lost h1 em { font-style: normal; }
.tribe .t, .fn h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; }
.tribe .dot { border: 2px solid #1F1A15; }

main { overflow-x: clip; }
.hero h1 { font-size: clamp(44px, 6vw, 92px); }
@media (max-width: 900px) { .wheel { width: min(100%, 290px); } }
.status { background: #FFFBF2; }
@media (prefers-color-scheme: dark) {
  .entry { box-shadow: 8px 8px 0 var(--sun); }
  .callout, .banner-img { box-shadow: 6px 6px 0 var(--sun); }
  .wheel svg { box-shadow: 10px 10px 0 #000; }
}
