/* =====================================================================
   Tang Software LLC — "Quiet Editorial Studio" design system
   One stylesheet, used by every page. Mobile-first.
   ---------------------------------------------------------------------
   Aesthetic: warm paper canvas, deep ink type, soft-serif display
   (Fraunces) + humanist sans (Hanken Grotesk) + mono (Space Mono).
   Calm and refined: hairline borders, soft diffuse shadows, generous
   space, a single terracotta accent with teal as a quiet secondary.
   Character comes from typography and warmth, not noise.
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces */
  --paper:        #f6f1e6;  /* warm cream canvas              */
  --paper-2:      #efe7d8;  /* slightly deeper section tint   */
  --paper-3:      #e9e0ce;  /* deepest panel                  */
  --card:         #fffdf7;  /* near-white card                */
  --on-accent:    #fbf7ee;  /* warm off-white text on accent  */

  /* Ink */
  --ink:          #2a2319;  /* near-black, warm               */
  --ink-soft:     #5d5446;  /* muted body                     */
  --ink-faint:    #908676;  /* captions, meta                 */

  /* Brand accents — one primary, one quiet secondary */
  --clay:         #bb5e44;  /* primary terracotta, softened   */
  --clay-deep:    #9c4a31;
  --teal:         #356f64;  /* secondary deep teal, sparing   */
  --teal-deep:    #275249;
  --butter:       #d9b65a;  /* rare warm highlight, muted     */

  /* Functional */
  --line:         #2a2319;  /* ink border, used rarely        */
  --line-soft:    #e0d6c4;  /* hairline dividers / borders    */
  --line-mid:     #ccc0a8;  /* slightly stronger hairline     */
  /* soft, warm-tinted diffuse shadows */
  --shadow-sm:    0 1px 2px rgba(42,35,25,0.05), 0 2px 5px rgba(42,35,25,0.04);
  --shadow:       0 2px 6px rgba(42,35,25,0.05), 0 10px 24px rgba(42,35,25,0.06);
  --shadow-lg:    0 6px 16px rgba(42,35,25,0.07), 0 22px 48px rgba(42,35,25,0.08);
  --focus:        #356f64;

  /* Type */
  --display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-lg: 22px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--sans);
  background-color: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Paper grain overlay — subtle, fixed, non-interactive */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  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='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--clay-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--clay); }

/* ---------- Focus visibility (a11y) ---------- */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 0; top: -100px;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.1rem;
  z-index: 10000;
  font-family: var(--mono);
  font-size: 0.8rem;
  border-radius: 0 0 10px 0;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 0; color: var(--paper); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 1.6rem + 4.4vw, 4.6rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); }
h3 { font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.85rem); }
h4 { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); }

p { color: var(--ink-soft); }
p.lede {
  font-size: clamp(1.15rem, 1.05rem + 0.7vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink);
  max-width: 38ch;
}

strong { color: var(--ink); font-weight: 700; }

.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--clay-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--clay);
  display: inline-block;
}

/* Quiet emphasis underline on key words */
.squiggle {
  background-image: linear-gradient(var(--clay), var(--clay));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1.5px;
  padding-bottom: 2px;
}
.ink-mark { color: var(--clay); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 760px; }
section { padding-block: clamp(3.2rem, 2rem + 6vw, 6rem); }
.stack > * + * { margin-top: 1.1rem; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center p.lede { margin-inline: auto; }

.section-head { max-width: 46ch; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3rem); }
.section-head.center { margin-inline: auto; }

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

/* ---------- Buttons (sticker style) ---------- */
.btn {
  --btn-bg: var(--clay);
  --btn-fg: var(--on-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 0.85rem 1.4rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  text-align: center;
}
.btn:hover { background: var(--clay-deep); color: var(--btn-fg); }
.btn:active { background: var(--clay-deep); }
.btn--teal  { --btn-bg: var(--teal); }
.btn--teal:hover { background: var(--teal-deep); }
.btn--ink   { --btn-bg: var(--ink); }
.btn--ink:hover { background: #1c160f; }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-mid);
}
.btn--ghost:hover { border-color: currentColor; background: color-mix(in srgb, currentColor 9%, transparent); }
.btn--lg { padding: 1.1rem 1.9rem; font-size: 1.08rem; }
.btn svg { width: 1.15em; height: 1.15em; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

/* ---------- Cards & tags ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.4rem, 1rem + 1.6vw, 2rem);
}
.card--flat { box-shadow: none; }
.card--paper { background: var(--paper); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line-mid);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
}
.pill--live   { background: color-mix(in srgb, var(--teal) 14%, var(--card)); color: var(--teal-deep); border-color: color-mix(in srgb, var(--teal) 30%, transparent); }
.pill--soon   { background: color-mix(in srgb, var(--butter) 26%, var(--card)); color: #7a5a16; border-color: color-mix(in srgb, var(--butter) 45%, transparent); }
.pill--dot::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand .brand-mark { width: 34px; height: 34px; flex: none; }
.brand small {
  display: block;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 400;
  margin-top: 2px;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 42px;
  padding: 0 11px;
  background: var(--card);
  border: 1px solid var(--line-mid);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  height: 2px; width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-menu {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.nav-menu a {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 0.7rem 0.2rem;
  border-bottom: 1px solid var(--line-soft);
}
.nav-menu a[aria-current="page"] { color: var(--clay-deep); }
.nav-menu .nav-cta { border-bottom: 0; padding-top: 0.9rem; }

/* mobile: collapsible panel */
.nav-panel {
  display: none;
  width: 100%;
  padding-bottom: 0.8rem;
}
.nav-panel.is-open { display: block; }

@media (min-width: 880px) {
  .nav-toggle { display: none; }
  .nav-panel { display: block !important; width: auto; padding-bottom: 0; }
  .nav-menu {
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
  }
  .nav-menu a {
    border-bottom: 0;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    position: relative;
  }
  .nav-menu a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0.85rem; right: 0.85rem; bottom: 0.3rem;
    height: 2px;
    background: var(--clay);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
  }
  .nav-menu a:not(.nav-cta):hover::after,
  .nav-menu a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }
  .nav-menu .nav-cta {
    margin-left: 0.4rem;
    padding: 0.55rem 1.1rem;
    background: var(--clay);
    color: var(--on-accent);
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background 0.18s ease;
  }
  .nav-menu .nav-cta:hover { background: var(--clay-deep); color: var(--on-accent); }
  .nav-menu .nav-cta::after { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); overflow: hidden; }
.hero-grid {
  display: grid;
  gap: clamp(2rem, 1rem + 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 920px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.hero h1 { margin-bottom: 0.4rem; }
.hero .hero-art { position: relative; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: clamp(1rem, 0.6rem + 1.6vw, 1.6rem); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 620px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.feature .feature-icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border: 1px solid var(--line-mid);
  border-radius: 12px;
  background: var(--paper);
  margin-bottom: 1rem;
}
.feature h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.feature h3 ~ p { font-size: 0.98rem; }

/* ---------- Game cards (listing) ---------- */
.game-card {
  display: grid;
  gap: 1.3rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.3rem, 1rem + 1.8vw, 2.2rem);
  position: relative;
  overflow: hidden;
}
@media (min-width: 760px) {
  .game-card { grid-template-columns: 220px 1fr; gap: 2rem; }
  .game-card--reverse { grid-template-columns: 1fr 220px; }
  .game-card--reverse .game-card-art { order: 2; }
}
.game-card-art {
  display: grid; place-items: center;
}
.game-card-art img { width: clamp(130px, 40vw, 190px); }

/* ---------- Phone mockup ---------- */
.phone {
  width: clamp(210px, 60vw, 280px);
  aspect-ratio: 9 / 19;
  background: var(--ink);
  border-radius: 38px;
  padding: 11px;
  box-shadow: var(--shadow-lg);
  position: relative;
  margin-inline: auto;
}
.phone::before {
  content: "";
  position: absolute;
  top: 16px; left: 50%; transform: translateX(-50%);
  width: 38%; height: 18px;
  background: var(--ink);
  border-radius: 0 0 12px 12px;
  z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: var(--paper-2);
}
.phone-screen svg, .phone-screen img { width: 100%; height: 100%; object-fit: cover; }

.shots {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  justify-content: center;
  flex-wrap: wrap;
}
.shots .phone { transform: none; }

/* ---------- Steps / how to play ---------- */
.steps { counter-reset: step; display: grid; gap: 1.1rem; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.4rem;
  width: 46px; height: 46px;
  flex: none;
  display: grid; place-items: center;
  background: var(--paper-2);
  color: var(--clay-deep);
  border: 1px solid var(--line-mid);
  border-radius: 50%;
}

/* ---------- FAQ (accordion via <details>) ---------- */
.faq { display: grid; gap: 0.8rem; }
.faq details {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--card);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 1.2rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--clay);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 1.2rem 1.2rem; }
.faq .faq-body p { color: var(--ink-soft); }
.faq .faq-body p + p { margin-top: 0.7rem; }

/* ---------- Prose (legal & long-form) ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.6rem; margin-bottom: 0.8rem; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.prose h3 { margin-top: 1.8rem; margin-bottom: 0.5rem; font-size: 1.25rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p { margin-top: 1rem; }
.prose ul, .prose ol { margin: 1rem 0 1rem 1.2rem; padding-left: 0.6rem; }
.prose li { margin-bottom: 0.5rem; padding-left: 0.3rem; }
.prose li::marker { color: var(--clay); }
.prose a { font-weight: 600; }
.prose .updated {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink-faint);
  border: 2px dashed var(--line-soft);
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  display: inline-block;
}
.toc {
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 2rem;
}
.toc strong { display: block; font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.6rem; }
.toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
.toc a { font-weight: 600; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: var(--paper-2); border-bottom: 1px solid var(--line-soft); }
.page-hero .wrap { padding-block: clamp(2.6rem, 1.8rem + 4vw, 4.4rem); }
.crumbs { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-faint); margin-bottom: 1rem; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--clay); }

/* ---------- Contact / form ---------- */
.field { display: grid; gap: 0.4rem; margin-bottom: 1.1rem; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field .hint { font-size: 0.82rem; color: var(--ink-faint); }
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line-mid);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  width: 100%;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--ink-faint); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--teal); outline-offset: 1px; }
.form-note { font-size: 0.85rem; color: var(--ink-faint); margin-top: 0.4rem; }

.contact-grid { display: grid; gap: 1.4rem; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: 1.1fr 0.9fr; gap: 2.4rem; } }

.info-line { display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.9rem 0; border-bottom: 1px solid var(--line-soft); }
.info-line:last-child { border-bottom: 0; }
.info-line .info-ico { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border: 1px solid var(--line-mid); border-radius: 10px; background: var(--paper); }
.info-line strong { display: block; }
.info-line a { word-break: break-word; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 1.4rem + 3vw, 3.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--paper); }
.cta-band p { color: color-mix(in srgb, var(--paper) 80%, transparent); max-width: 46ch; margin-inline: auto; }
.cta-band .btn--ink { --btn-bg: var(--on-accent); --btn-fg: var(--ink); }
.cta-band .btn--ink:hover { background: var(--card); }

/* ---------- Stat row ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat .num { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1; color: var(--clay); }
.stat .lbl { font-family: var(--mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-faint); margin-top: 0.4rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--paper-3);
  border-top: 1px solid var(--line-soft);
  margin-top: clamp(3rem, 2rem + 4vw, 5rem);
}
.footer-grid {
  display: grid;
  gap: 2rem;
  padding-block: clamp(2.6rem, 2rem + 3vw, 4rem);
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-col h4 { font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--ink-faint); font-weight: 700; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.footer-col a:hover { color: var(--clay); text-decoration: underline; }
.footer-about p { font-size: 0.95rem; max-width: 34ch; }
.footer-bar {
  border-top: 1px solid var(--line-soft);
  padding-block: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--ink-faint);
  font-family: var(--mono);
}
.footer-bar a { color: var(--ink-faint); }

/* ---------- Reveal-on-load animation ---------- */
.reveal { opacity: 0; transform: translateY(12px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2,0.7,0.2,1); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* float class retained as a no-op (kept calm: no perpetual motion) */
.float, .float--slow { animation: none; }

/* utility */
.mt-0 { margin-top: 0; }
.muted { color: var(--ink-faint); }
.nowrap { white-space: nowrap; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
