/* ============================================================
   Henne & Spur — Swiss Style / grid-heavy
   Handwritten CSS. CSS Grid + variables + clamp().
   ============================================================ */

:root {
  /* warm casual-game palette pulled from the Crazy Hen egg icon */
  --cream:    #fbf5e9;   /* page background */
  --white:    #ffffff;   /* card / surface */
  --ink:      #221a10;   /* warm near-black text */
  --black:    #221a10;   /* alias kept for existing rules */
  --ink-60:   #5d5347;
  --ink-40:   #8d8273;

  --gold:     #f6b50d;   /* primary accent / CTA */
  --amber:    #e08a00;   /* gold hover / deep accent */
  --gold-soft:#fdeecb;   /* soft gold section tint */
  --sky:      #149fde;   /* secondary accent */
  --sky-soft: #e4f2fb;   /* soft sky section tint */
  --green:    #6cae28;   /* tertiary accent */
  --red:      #e53227;   /* warm barn red */

  --grey:     #f3ead9;   /* warm tint (alias for sec--grey) */
  --hairline: #ece0c9;

  --col-gap: clamp(16px, 2vw, 40px);
  --edge: clamp(20px, 5.5vw, 140px);
  --maxw: 100%;

  --step-mono: 0.72rem;
  --lh-tight: 1.02;
  --lh-body: 1.55;

  --r: 14px;             /* card radius */
  --r-sm: 10px;          /* button / input radius */
  --shadow: 0 18px 40px -22px rgba(60, 42, 8, .45);
  --shadow-sm: 0 8px 20px -14px rgba(60, 42, 8, .4);

  --rule: 1px solid var(--hairline);
  --rule-strong: 1px solid var(--ink);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font-family: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--red); color: var(--white); }

/* ---------- layout primitives ---------- */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--edge);
}
/* full-bleed: the hairline of the head/foot runs edge to edge,
   content is held off the very edge by --edge padding only */
.grid12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--col-gap);
}

/* span helpers (desktop)
   Use the grid-column-end longhand for spans so a sibling .start-* (which sets
   grid-column-start) composes correctly instead of collapsing the item to span 1. */
@media (min-width: 880px) {
  .c-3  { grid-column-end: span 3; }
  .c-4  { grid-column-end: span 4; }
  .c-5  { grid-column-end: span 5; }
  .c-6  { grid-column-end: span 6; }
  .c-7  { grid-column-end: span 7; }
  .c-8  { grid-column-end: span 8; }
  .c-9  { grid-column-end: span 9; }
  .c-12 { grid-column-end: span 12; }
  .start-1  { grid-column-start: 1; }
  .start-2  { grid-column-start: 2; }
  .start-4  { grid-column-start: 4; }
  .start-5  { grid-column-start: 5; }
  .start-7  { grid-column-start: 7; }
  .start-9  { grid-column-start: 9; }
  .start-10 { grid-column-start: 10; }
}

/* ---------- typography ---------- */
.mono {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: var(--step-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.label {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: var(--step-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.label--red { color: var(--red); }

.display {
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  font-size: clamp(2.4rem, 1.2rem + 5.6vw, 5.6rem);
  overflow-wrap: break-word;
}
.h2 {
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.2rem);
  overflow-wrap: break-word;
}
.h3 {
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem);
}
.lead {
  font-size: clamp(1.1rem, 1rem + 0.7vw, 1.5rem);
  line-height: 1.4;
  font-weight: 500;
  max-width: 28ch;
}
.prose p { max-width: 64ch; }
.prose p + p { margin-top: 1.1em; }
.muted { color: var(--ink-60); }
.numeral {
  font-weight: 800;
  font-size: clamp(2.4rem, 1.4rem + 4vw, 4.4rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

a.txtlink {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 1px;
  transition: color .15s ease, border-color .15s ease;
}
a.txtlink:hover { color: var(--sky); border-color: var(--sky); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: "Space Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  padding: 0.95em 1.45em;
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, background .16s ease, color .16s ease, border-color .16s ease;
}
.btn:hover { background: var(--amber); transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.btn .arrow { display: inline-block; transition: transform .16s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn--ghost {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 4px 0 var(--ink);
}
.btn--ghost:hover { background: var(--sky); color: var(--white); border-color: var(--ink); }

.btn--block { width: 100%; justify-content: space-between; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: var(--rule);
}
.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--black);
}
.brand svg { width: 26px; height: 26px; display: block; }
.brand b {
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 1.02rem;
}
.brand span {
  font-family: "Space Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-40);
  display: block;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 2rem);
}
.nav a {
  font-family: "Space Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--red); color: var(--red); }

.burger {
  display: none;
  width: 40px; height: 40px;
  border: var(--rule-strong);
  background: var(--white);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.burger span,
.burger span::before,
.burger span::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--black);
  transition: transform .2s ease, opacity .2s ease;
}
.burger span { position: relative; }
.burger span::before { position: absolute; top: -6px; left: 0; }
.burger span::after  { position: absolute; top: 6px; left: 0; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 879px) {
  .burger { display: inline-flex; }
  .nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: var(--rule);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 var(--edge) 1rem;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 0.9rem 0;
    border-bottom: var(--rule);
    font-size: 0.85rem;
  }
  .nav a:last-child { border-bottom: none; }
  .nav .btn { margin-top: 0.9rem; justify-content: center; }
}

/* ============================================================
   SECTIONS — generic rhythm (deliberately uneven)
   ============================================================ */
section { position: relative; }
.sec { padding-block: clamp(48px, 7vw, 110px); }
.sec--tight { padding-block: clamp(36px, 5vw, 72px); }
.sec--top-rule { border-top: var(--rule); }
.sec--ink { background: var(--ink); color: var(--white); }
.sec--grey { background: var(--grey); }
.sec--sky  { background: var(--sky-soft); }
.sec--gold { background: var(--gold-soft); }

.sec--ink .label, .sec--ink .muted { color: #cdbfa6; }
.sec--ink .idx { color: var(--gold); }
.sec--ink a.txtlink { color: var(--white); border-color: var(--gold); }
.sec--ink a.txtlink:hover { color: var(--gold); border-color: var(--gold); }
.sec--ink .btn--ghost { background: transparent; color: var(--white); border-color: var(--white); box-shadow: 0 4px 0 rgba(0,0,0,.35); }
.sec--ink .btn--ghost:hover { background: var(--white); color: var(--ink); }

/* section header pattern: index marker + title */
.sec-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--col-gap);
  align-items: end;
  padding-bottom: clamp(24px, 3vw, 44px);
}
.sec-head .idx {
  grid-column: span 12;
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--red);
  border-bottom: var(--rule);
  padding-bottom: 8px;
  margin-bottom: 4px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-block: clamp(40px, 6vw, 96px); }
.hero .grid12 { align-items: start; }
.hero-kicker {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  align-items: center;
  border-bottom: var(--rule);
  padding-bottom: 14px;
  margin-bottom: clamp(28px, 4vw, 56px);
}
.tag {
  font-family: "Space Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  background: var(--white);
  padding: 5px 11px;
  border: 2px solid var(--ink);
  border-radius: 999px;
}
.tag--red { color: var(--white); background: var(--red); border-color: var(--red); }

.hero h1 { grid-column: 1 / -1; }
@media (min-width: 880px) {
  .hero h1 { grid-column: 1 / span 9; }
}
.hero-side {
  grid-column: 1 / -1;
  margin-top: clamp(24px, 3vw, 40px);
  display: grid;
  gap: 1.4rem;
}
@media (min-width: 880px) {
  .hero-side { grid-column: 10 / span 3; margin-top: 0.3rem; }
}
.hero-foot {
  grid-column: 1 / -1;
  margin-top: clamp(28px, 4vw, 52px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--col-gap);
  border-top: var(--rule);
  padding-top: 22px;
}
.hero-foot .lead { grid-column: 1 / -1; }
.hero-foot .cta-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
@media (min-width: 880px) {
  .hero-foot .lead { grid-column: 1 / span 6; }
  .hero-foot .cta-row { grid-column: 8 / span 5; }
}
.trustline {
  font-family: "Space Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ink-40);
}

/* hero app showcase card */
.app-card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: clamp(18px, 1.6vw, 24px);
  gap: 1rem;
}
.app-top { display: flex; align-items: center; gap: 14px; }
.app-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm);
  flex: none;
}
.app-name { font-weight: 800; font-size: 1.4rem; letter-spacing: -0.01em; line-height: 1.1; }
.app-meta { font-family: "Space Mono", monospace; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-40); margin-top: 4px; }
.app-facts { display: grid; gap: 0; border-top: var(--rule); }
.app-facts li {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.6rem 0; border-bottom: var(--rule);
}
.app-facts .mono { color: var(--ink-40); }
.app-facts b { font-weight: 700; font-size: 0.92rem; text-align: right; }
.app-note { font-family: "Space Mono", monospace; font-size: 0.64rem; letter-spacing: 0.04em; color: var(--ink-40); text-align: center; }

/* ============================================================
   ABOUT (legend) — offset two-column
   ============================================================ */
.about-grid { row-gap: clamp(28px, 4vw, 48px); }
.about-grid .stat {
  border-top: var(--rule-strong);
  padding-top: 14px;
}
.about-grid .stat .numeral { color: var(--red); }
.about-grid .stat .label { display: block; margin-top: 6px; }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--col-gap); }
@media (min-width: 880px) { .stat-row { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   GENRE / Worum geht's strip
   ============================================================ */
.genre-note {
  background: var(--white);
  border: 2px solid var(--ink);
  border-left: 8px solid var(--red);
  border-radius: var(--r);
  padding: clamp(20px, 2.4vw, 32px);
  box-shadow: var(--shadow-sm);
  align-self: start;
}

/* ============================================================
   TIPS — numbered modular rows
   ============================================================ */
.tips { display: grid; gap: 0; }
.tip {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--col-gap);
  align-items: start;
  border-top: var(--rule);
  padding-block: clamp(22px, 3vw, 36px);
}
.tip:last-child { border-bottom: var(--rule); }
.tip .num {
  grid-column: 1 / -1;
  color: var(--red);
}
.tip .tip-title { grid-column: 1 / -1; }
.tip .tip-body { grid-column: 1 / -1; }
@media (min-width: 880px) {
  .tip .num { grid-column: 1 / span 2; }
  .tip .tip-title { grid-column: 3 / span 4; }
  .tip .tip-body { grid-column: 7 / span 6; }
}
.tip .tip-body p { max-width: 52ch; color: var(--ink-60); }

/* ============================================================
   SHOWCASE cards (game art + full description)
   ============================================================ */
.showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 44px); }
.show-card { display: flex; flex-direction: column; gap: 16px; }
.show-card figure {
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.show-card:hover figure { transform: translateY(-5px); box-shadow: var(--shadow); }
.show-card img { width: 100%; aspect-ratio: 500 / 1024; object-fit: cover; display: block; }
.show-card h3 { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; display: flex; align-items: baseline; gap: 0.55em; }
.show-card h3 .n { font-family: "Space Mono", monospace; font-size: 0.8rem; color: var(--amber); }
.show-card p { color: var(--ink-60); font-size: 0.93rem; line-height: 1.55; max-width: 42ch; }

@media (max-width: 900px) { .showcase { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .showcase { grid-template-columns: 1fr; gap: 28px; }
  .show-card { flex-direction: row; align-items: flex-start; gap: 16px; }
  .show-card figure { flex: 0 0 40%; }
  .show-card .show-text { flex: 1; }
}

/* ============================================================
   FAQ — Alpine accordion
   ============================================================ */
.faq { border-top: var(--rule); }
.faq-item { border-bottom: var(--rule); }
.faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: baseline;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: clamp(18px, 2.4vw, 28px) 0;
  color: var(--black);
}
.faq-q .qnum {
  font-family: "Space Mono", monospace;
  font-size: 0.74rem;
  color: var(--red);
}
.faq-q .qtxt {
  font-weight: 700;
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.4rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.faq-q .qsign {
  font-family: "Space Mono", monospace;
  font-size: 1.1rem;
  transition: transform .2s ease;
}
.faq-q[aria-expanded="true"] .qsign { transform: rotate(45deg); }
.faq-a {
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
}
.faq-a .spacer { width: 2.6ch; }
.faq-a p { max-width: 60ch; color: var(--ink-60); padding-bottom: clamp(18px, 2.4vw, 28px); }
[x-cloak] { display: none !important; }

/* ============================================================
   CTA BAND + FORM
   ============================================================ */
.ctaband .grid12 { align-items: center; row-gap: clamp(24px, 3vw, 40px); }
.ctaband .cb-head { grid-column: 1 / -1; }
.ctaband .cb-action { grid-column: 1 / -1; }
@media (min-width: 880px) {
  .ctaband .cb-head { grid-column: 1 / span 7; }
  .ctaband .cb-action { grid-column: 9 / span 4; }
}

.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label {
  font-family: "Space Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.field input,
.field textarea {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  padding: 0.85em 1em;
  border: 2px solid var(--hairline);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-sm);
}
.sec--ink .field input,
.sec--ink .field textarea { background: #322817; border-color: #4a3d24; color: var(--white); }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(20,159,222,.25); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-family:"Space Mono",monospace; font-size:0.66rem; color: var(--ink-40); letter-spacing:0.04em; }

/* privacy-consent checkbox */
.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; }
.consent input[type="checkbox"] {
  width: 20px; height: 20px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--gold);
  cursor: pointer;
}
.consent label { font-size: 0.85rem; line-height: 1.45; color: var(--ink-60); cursor: pointer; }
.consent label span { color: var(--red); }
.sec--ink .consent label { color: #cdbfa6; }
.consent input[type="checkbox"]:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* ============================================================
   CONTENT (legal / text pages)
   ============================================================ */
.doc { row-gap: clamp(28px, 4vw, 48px); }
.doc .doc-body { grid-column: 1 / -1; }
@media (min-width: 880px) {
  .doc .doc-aside { grid-column: 1 / span 3; }
  .doc .doc-body { grid-column: 5 / span 8; }
}
.doc-body h2 { font-size: clamp(1.2rem,1rem+0.8vw,1.6rem); font-weight:800; letter-spacing:-0.01em; margin-top: 2.2em; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font-size: 1.05rem; font-weight: 700; margin-top: 1.6em; }
.doc-body p, .doc-body li { color: var(--ink-60); max-width: 70ch; }
.doc-body p + p { margin-top: 1em; }
.doc-body ul { margin-top: 0.8em; display: grid; gap: 0.5em; }
.doc-body ul li { position: relative; padding-left: 1.4em; }
.doc-body ul li::before { content:"—"; position:absolute; left:0; color: var(--red); }
.doc-aside { font-family:"Space Mono",monospace; font-size:0.72rem; letter-spacing:0.06em; color: var(--ink-40); }
.doc-aside .label { display:block; margin-bottom: 0.5em; }
.noindex-flag { color: var(--red); }

/* ============================================================
   404
   ============================================================ */
.nf { min-height: 60vh; display: grid; align-content: center; }
.nf .code {
  font-weight: 800;
  font-size: clamp(5rem, 3rem + 16vw, 16rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--red);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-foot {
  border-top: var(--rule-strong);
  padding-block: clamp(40px, 5vw, 72px);
}
.foot-grid { row-gap: clamp(28px, 4vw, 44px); }
.foot-brand { grid-column: 1 / -1; }
.foot-brand .lead { max-width: 30ch; margin-top: 0.8rem; }
.foot-col { grid-column: span 6; }
@media (min-width: 880px) {
  .foot-brand { grid-column: 1 / span 5; }
  .foot-col { grid-column: span 2; }
  .foot-col--wide { grid-column: span 3; }
}
.foot-col .label { display: block; margin-bottom: 1rem; border-bottom: var(--rule); padding-bottom: 8px; }
.foot-col ul { display: grid; gap: 0.6rem; }
.foot-col a {
  text-decoration: none;
  color: var(--black);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color .15s ease, color .15s ease;
}
.foot-col a:hover { color: var(--red); border-color: var(--red); }
.foot-bottom {
  margin-top: clamp(32px, 4vw, 56px);
  border-top: var(--rule);
  padding-top: 20px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--col-gap);
  align-items: start;
}
.foot-disclaimer {
  grid-column: 1 / -1;
  font-family: "Space Mono", monospace;
  font-size: 0.66rem;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--ink-40);
}
@media (min-width: 880px) { .foot-disclaimer { grid-column: 1 / span 8; } }
.foot-copy {
  grid-column: 1 / -1;
  font-family: "Space Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--ink-40);
}
@media (min-width: 880px) { .foot-copy { grid-column: 10 / span 3; text-align: right; } }

/* ---------- cookie hint ---------- */
.cookie {
  position: fixed;
  left: var(--edge); right: var(--edge);
  bottom: clamp(12px, 2vw, 24px);
  z-index: 60;
  background: var(--ink);
  color: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: clamp(16px, 2vw, 22px);
  display: grid;
  gap: 0.9rem;
  max-width: 560px;
  margin-inline: auto;
}
/* a class selector outranks the UA [hidden] rule, so re-assert it
   explicitly — otherwise box.hidden = true never hides the banner */
.cookie[hidden] { display: none; }
.cookie p { font-size: 0.85rem; color: #e7dcc4; line-height: 1.5; }
.cookie .mono { color: var(--gold); }
.cookie .cookie-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* buttons sit on the dark modal — invert them so they don't vanish */
.cookie .btn {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.cookie .btn:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.cookie .btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.cookie .btn--ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }

/* ---------- skip link ---------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 10px 16px;
  font-family: "Space Mono", monospace;
  font-size: 0.75rem;
  z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* ============================================================
   POLISH — focus rings, depth, section markers, anchor offset
   ============================================================ */
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.btn:focus-visible { outline-color: var(--ink); outline-offset: 3px; }
.nav a:focus-visible, .faq-q:focus-visible { outline-offset: 4px; }

/* anchors land below the sticky header */
section[id], [id].shell { scroll-margin-top: 84px; }

/* sticky header gets a soft lift so it separates from the cream */
.site-head { box-shadow: 0 6px 24px -20px rgba(60, 42, 8, .55); }

/* section index markers carry a small accent chip in their own colour */
.sec-head .idx { display: flex; align-items: center; gap: 0.65em; }
.sec-head .idx::before {
  content: "";
  width: 9px; height: 9px;
  background: currentColor;
  border-radius: 2px;
  flex: none;
}

/* numerals warm up with the brand red, stats sit on a gold rule */
.about-grid .stat { border-top: 3px solid var(--gold); }

/* footer signs off with a gold hairline accent */
.site-foot { border-top: 3px solid var(--gold); }

/* ============================================================
   MOBILE — collapse the 12-col modules to a single stack
   Below 880px the column-span helpers are inactive, so any
   grid12 child without an explicit 1 / -1 rule would fall to
   span 1 and squeeze. Collapsing the tracks keeps every block
   full-width and avoids horizontal overflow from track growth.
   ============================================================ */
@media (max-width: 879px) {
  .grid12,
  .sec-head,
  .hero-foot { grid-template-columns: 1fr; }

  .hero-kicker { row-gap: 0.4rem; }
  .hero-kicker .mono { margin-left: 0 !important; flex-basis: 100%; }

  .hero-foot .cta-row .btn { flex: 1 1 auto; justify-content: center; }
  .about-grid .c-3 { margin-top: clamp(8px, 3vw, 24px); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
