/* ============================================================
   FORMA — Neo-Brutalist Poster
   Recipe 2 · overrides: oversized index system (№ 01–06),
   typographic symbols instead of icons, hue rotated to tangerine
   ============================================================ */

/* ---------- fonts ---------- */
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/archivoblack-400.woff2') format('woff2');
}
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url('./assets/fonts/spacegrotesk-400.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('./assets/fonts/spacegrotesk-500.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('./assets/fonts/spacegrotesk-700.woff2') format('woff2'); }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('./assets/fonts/spacemono-400.woff2') format('woff2'); }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('./assets/fonts/spacemono-700.woff2') format('woff2'); }

/* ---------- tokens ---------- */
:root {
  --paper: #FFF6E9;
  --paper-hi: #FFFDF4;
  --ink: #171310;
  --ink-soft: #5C5344;
  --accent: #FF4D00;
  --border: 3px solid var(--ink);
  --shadow: 7px 7px 0 var(--ink);
  --shadow-sm: 5px 5px 0 var(--ink);
  --font-display: 'Archivo Black', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Space Grotesk', system-ui, 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', ui-monospace, 'Courier New', monospace;
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
figure { margin: 0; }
ol { margin: 0; padding: 0; list-style: none; }

:focus { outline: 3px solid var(--accent); outline-offset: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- shared atoms ---------- */
.kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.kicker-invert { color: #D8CBB4; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 12px 22px;
  border: var(--border);
  background: var(--paper-hi);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s linear, box-shadow 0.12s linear, background-color 0.12s linear, color 0.12s linear;
}
.btn-primary { background: var(--accent); }
.btn-big { font-size: 0.95rem; padding: 16px 26px; min-height: 56px; }
.btn-small { font-size: 0.74rem; padding: 10px 14px; min-height: 44px; box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: var(--border);
}
.head-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  padding-block: 6px;
}
.brand-mark { color: var(--accent); margin-left: 2px; }
.site-nav { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; padding-inline-end: 24px; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 12px 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border: 3px solid transparent;
  transition: border-color 0.12s linear, background-color 0.12s linear;
}
.site-nav a:active { transform: translateY(2px); }
.head-cta { flex-shrink: 0; }

/* ---------- hero ---------- */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  overflow: clip;
}
.hero-kicker { animation: rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0 0 28px;
  display: grid;
  gap: 4px;
}
.ht-line { display: block; animation: rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: 70ms; }
.ht-accent { color: var(--accent); animation-delay: 140ms; }
.ht-big { font-size: clamp(4rem, 10.2vw, 9rem); }
.ht-outline { color: transparent; -webkit-text-stroke: 3px var(--ink); animation-delay: 210ms; }
@supports not (-webkit-text-stroke: 1px black) { .ht-outline { color: var(--ink); } }

.hero-lede {
  font-size: 1.1875rem;
  line-height: 1.65;
  max-width: 34em;
  margin: 0 0 32px;
  animation: rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 280ms;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; animation: rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: 350ms; }

.hero-plates { position: relative; min-height: 500px; }
.plate {
  margin: 0;
  border: var(--border);
  box-shadow: var(--shadow);
  background: var(--paper-hi);
  overflow: clip;
  animation: plate-pop 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 150ms;
}
.plate img { display: block; width: 100%; height: auto; }
.plate-main { position: absolute; top: 6px; right: 0; width: min(86%, 440px); transform: rotate(-2deg); }
.plate-small { position: absolute; bottom: 44px; left: 0; width: min(52%, 250px); transform: rotate(2.5deg); z-index: 2; animation-delay: 300ms; }
.badge {
  position: absolute;
  top: -30px;
  left: 6%;
  width: 136px;
  z-index: 3;
  animation: rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both, spin 26s linear infinite;
  animation-delay: 420ms;
}
.badge svg { display: block; width: 100%; }
.plate-tag {
  position: absolute;
  bottom: 6px;
  right: 3%;
  z-index: 3;
  margin: 0;
  transform: rotate(-2deg);
  background: var(--accent);
  border: var(--border);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  animation: rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 500ms;
}

/* ---------- ticker ---------- */
.ticker {
  border-top: var(--border);
  border-bottom: var(--border);
  background: var(--ink);
  color: var(--paper);
  overflow: clip;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: tick 30s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-block: 13px;
  white-space: nowrap;
}
.ticker-run { padding-right: 0; }

/* ---------- section scaffolding ---------- */
.board-section { max-width: 1200px; margin: 0 auto; padding: 88px 24px 96px; scroll-margin-top: 90px; }
#how, #visit { scroll-margin-top: 90px; }
.section-head { max-width: 46em; margin-bottom: 40px; }
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.section-lede { font-size: 1.125rem; line-height: 1.6; color: var(--ink-soft); max-width: 38em; margin: 0; }

/* ---------- toolbar ---------- */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 16px 20px;
  border: var(--border);
  background: var(--paper-hi);
  box-shadow: var(--shadow);
  padding: 20px;
}
.field { display: grid; gap: 8px; }
.field-search { flex: 1 1 220px; }
.field-category { flex: 0 1 200px; }
.field-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
input[type="search"], select {
  font: inherit;
  font-family: var(--font-body);
  font-size: 1rem;
  min-height: 48px;
  padding: 10px 14px;
  border: var(--border);
  background: var(--paper);
  color: var(--ink);
  border-radius: 0;
}
select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23171310' stroke-width='3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.pocket {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 16px;
  border: var(--border);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  cursor: pointer;
  transition: background-color 0.12s linear, color 0.12s linear, box-shadow 0.12s linear, transform 0.12s linear;
  box-shadow: 4px 4px 0 var(--ink);
}
.pocket:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.pocket-name { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
.pocket-count { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; color: var(--ink-soft); }
.pocket[aria-pressed="true"] { background: var(--accent); color: var(--ink); }
.pocket[aria-pressed="true"] .pocket-count { color: var(--ink); }

.board-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 18px 0 0;
}

/* ---------- board: ticket rows ---------- */
.board { border-bottom: var(--border); margin-top: 10px; }
.board.no-anim .ticket { animation: none; }
.ticket {
  display: grid;
  grid-template-columns: 92px 104px minmax(0, 1fr) auto max-content;
  grid-template-areas: "no thumb main facts action";
  gap: 18px 26px;
  align-items: center;
  padding: 22px 10px;
  border-top: var(--border);
  animation: row-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.ticket:nth-child(2) { animation-delay: 60ms; }
.ticket:nth-child(3) { animation-delay: 120ms; }
.ticket:nth-child(4) { animation-delay: 180ms; }
.ticket:nth-child(5) { animation-delay: 240ms; }
.ticket:nth-child(6) { animation-delay: 300ms; }

.t-no { grid-area: no; font-family: var(--font-mono); font-weight: 700; font-size: clamp(2.2rem, 3.4vw, 3.2rem); line-height: 1; color: transparent; -webkit-text-stroke: 2.5px var(--ink); transition: color 0.12s linear; }
@supports not (-webkit-text-stroke: 1px black) { .t-no { color: var(--ink); } }

.t-thumb { grid-area: thumb; width: 104px; height: 104px; border: var(--border); box-shadow: 4px 4px 0 var(--ink); overflow: clip; background: var(--paper-hi); }
.t-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.t-main { grid-area: main; min-width: 0; }
.t-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2.5px solid var(--ink);
  padding: 4px 10px;
}
.chip-saved {
  border: 2.5px solid var(--ink);
  background: var(--accent);
  transform: rotate(-3deg);
}
.t-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  letter-spacing: -0.015em;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0 0 8px;
}
.t-meta { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin: 0; }

.t-facts { grid-area: facts; display: grid; gap: 2px; justify-items: end; text-align: right; }
.t-price { font-family: var(--font-mono); font-weight: 700; font-size: 1.35rem; line-height: 1.1; }
.t-price-label { font-family: var(--font-mono); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.t-action { grid-area: action; }

/* ---------- empty state ---------- */
.empty {
  margin-top: 24px;
  border: 3px dashed var(--ink);
  padding: 48px 24px;
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
  animation: rise 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.empty[hidden] { display: none; }
.empty-mark { font-size: 2.6rem; color: var(--accent); margin: 0; line-height: 1; }
.empty-title { font-family: var(--font-display); font-size: 1.4rem; text-transform: uppercase; margin: 0; }
.empty-lede { margin: 0 0 8px; color: var(--ink-soft); max-width: 34em; }
.noscript-note { border: var(--border); background: var(--paper-hi); padding: 20px; margin-top: 16px; }

/* ---------- how band (inverted) ---------- */
.how { background: var(--ink); color: var(--paper); padding: 96px 24px 112px; }
.how-inner { max-width: 1100px; margin: 0 auto; }
.how h2 { color: var(--paper); }
.steps { margin-top: 40px; border-top: 3px solid #4A4136; }
.step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 28px 8px;
  border-bottom: 3px solid #4A4136;
  align-items: start;
  transition: background-color 0.15s linear, padding 0.15s linear;
}
.step-no {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2.5px var(--paper);
}
@supports not (-webkit-text-stroke: 1px black) { .step-no { color: var(--paper); } }
.step-title { font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.01em; margin: 0 0 8px; color: var(--paper); }
.step-lede { margin: 0; color: #CFC4B2; max-width: 52em; line-height: 1.65; }
.pull-quote { margin: 56px 0 0; max-width: 34em; }
.pull-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--accent);
  margin: 0;
  text-transform: none;
}
.pull-quote figcaption { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #CFC4B2; margin-top: 14px; }

/* ---------- visit ---------- */
.visit {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 96px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.visit-plate { border: var(--border); box-shadow: var(--shadow); transform: rotate(1.5deg); overflow: clip; background: var(--paper-hi); }
.visit-plate img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; }
.visit-info h2 { margin-bottom: 20px; }
.visit-ledger { margin: 0 0 32px; }
.ledger-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 2px solid rgba(23, 19, 16, 0.18);
  align-items: baseline;
}
.ledger-row dt { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.ledger-row dd { margin: 0; font-weight: 500; }

/* ---------- footer ---------- */
.site-foot {
  border-top: var(--border);
  background: var(--paper-hi);
  padding: 40px 24px 48px;
}
.site-foot > * { max-width: 1200px; margin-inline: auto; }
.foot-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9vw, 8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 3px var(--ink);
  margin: 8px 0 18px;
  text-transform: uppercase;
  white-space: nowrap;
}
@supports not (-webkit-text-stroke: 1px black) { .foot-brand { color: var(--ink); } }
.foot-small { color: var(--ink-soft); font-size: 0.9rem; max-width: 60em; margin: 0 0 16px; }
.foot-small a, .foot-top { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.foot-small a { padding: 12px 1px; }
.foot-top { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; display: inline-flex; align-items: center; min-height: 44px; padding-inline: 2px; }

/* ---------- detail dialog ---------- */
dialog.detail {
  border: var(--border);
  box-shadow: 10px 10px 0 var(--ink);
  background: var(--paper);
  color: var(--ink);
  padding: 0;
  width: min(940px, calc(100vw - 28px));
  max-height: calc(100dvh - 40px);
  margin: auto;
  overflow: auto;
  border-radius: 0;
}
dialog.detail::backdrop { background: rgba(23, 19, 16, 0.62); }
.detail-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; }
.detail-photo { position: relative; border-right: var(--border); background: var(--paper-hi); min-height: 320px; overflow: clip; }
.detail-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-note {
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 0;
  background: var(--paper);
  border-top: var(--border);
  border-right: var(--border);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 6px 10px;
}
.stamp {
  position: absolute;
  top: 18px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%) rotate(-8deg);
  background: var(--accent);
  border: var(--border);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  white-space: nowrap;
  animation: stamp-in 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.stamp[hidden] { display: none; }

.detail-body { padding: 28px clamp(20px, 3vw, 36px) 36px; position: relative; }
.detail-topbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.detail-kicker { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin: 0; }
.detail-close { box-shadow: none; background: var(--paper-hi); border: 2.5px solid var(--ink); }
.detail-title { font-family: var(--font-display); font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.02; letter-spacing: -0.02em; text-transform: uppercase; margin: 0 0 14px; }
.detail-desc { margin: 0 0 22px; font-size: 1.125rem; line-height: 1.65; max-width: 38em; }
.detail-body .fact-ledger { margin: 0 0 24px; }
.detail-body .ledger-row { grid-template-columns: 96px 1fr; }
.detail-save { width: 100%; }
.detail-save[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: 5px 5px 0 var(--accent); }
.detail-note { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-soft); margin: 14px 0 0; }

/* ---------- keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes plate-pop { from { opacity: 0; transform: rotate(0deg) translateY(28px) scale(0.94); } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes row-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes stamp-in { from { opacity: 0; transform: translateX(-50%) rotate(-8deg) scale(1.7); } to { opacity: 1; transform: translateX(-50%) rotate(-8deg) scale(1); } }

/* ============================================================
   HOVER STATES — pointer-fine only
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
  .btn-small:hover { box-shadow: 6px 6px 0 var(--ink); }

  .brand:hover .brand-mark { display: inline-block; transform: rotate(90deg); }
  .brand-mark { transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1); }
  .site-nav a:hover { border-color: var(--ink); background: var(--paper-hi); }

  .ticket:hover { background: var(--ink); color: var(--paper); }
  .ticket:hover .t-no { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
  .ticket:hover .t-title { color: var(--paper); }
  .ticket:hover .t-meta { color: #CFC4B2; }
  .ticket:hover .t-price-label { color: #CFC4B2; }
  .ticket:hover .chip { border-color: var(--paper); color: var(--paper); }
  .ticket:hover .t-thumb { transform: rotate(-2deg) scale(1.04); }
  .t-thumb { transition: transform 0.15s cubic-bezier(0.22, 1, 0.36, 1); }

  .pocket:hover { background: var(--paper-hi); }
  .pocket[aria-pressed="true"]:hover { background: var(--accent); }

  .step:hover { background: #221D17; padding-left: 20px; }

  .foot-small a:hover, .foot-top:hover { color: var(--accent); }
  .foot-brand:hover { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
  .detail-close:hover { background: var(--accent); }
  .detail-save:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
}

/* per-context focus tweaks */
.ticket .btn:focus-visible { outline-offset: 0; outline: 3px solid var(--accent); box-shadow: 0 0 0 3px var(--ink); }
.detail-close:focus-visible { outline-color: var(--accent); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 40px; }
  .hero-plates { min-height: 0; display: grid; gap: 20px; }
  .plate-main, .plate-small { position: static; width: 100%; }
  .plate-main { width: 100%; max-width: 560px; transform: rotate(-1deg); }
  .plate-small { width: min(62%, 300px); justify-self: end; margin-top: -40px; }
  .badge { top: -26px; left: auto; right: 4%; width: 108px; }
  .plate-tag { position: static; justify-self: start; transform: rotate(-2deg); }
  .ticket { grid-template-columns: 64px 84px minmax(0, 1fr); grid-template-areas:
    "no thumb main"
    "facts facts facts"
    "action action action";
    row-gap: 16px; }
  .t-thumb { width: 84px; height: 84px; }
  .t-no { font-size: 1.9rem; }
  .t-facts { justify-items: start; text-align: left; display: flex; gap: 22px; align-items: baseline; flex-wrap: wrap; }
  .t-action .btn { width: 100%; }
  .visit { grid-template-columns: 1fr; gap: 40px; }
  .visit-plate img { max-height: 320px; }
}

@media (max-width: 640px) {
  .head-inner { flex-wrap: wrap; gap: 6px 12px; padding: 10px 16px 0; }
  .site-nav { order: 3; width: 100%; margin-left: 0; padding-block: 0 4px; }
  .head-cta { margin-left: auto; }
  .hero { padding-inline: 16px; padding-bottom: 64px; }
  .hero-cta .btn { width: 100%; }
  .plate-small { margin-top: -56px; }
  .board-section { padding-inline: 16px; padding-block: 64px 72px; }
  .toolbar { padding: 16px; }
  .how { padding: 72px 16px 88px; }
  .step { grid-template-columns: 1fr; gap: 10px; padding-block: 22px; }
  .visit { padding-inline: 16px; }
  .ledger-row { grid-template-columns: 84px 1fr; }
  .site-foot { padding-inline: 16px; }
  .foot-brand { -webkit-text-stroke-width: 2px; }
  /* dialog stacks */
  .detail-grid { grid-template-columns: 1fr; }
  .detail-photo { border-right: none; border-bottom: var(--border); min-height: 230px; max-height: 34dvh; }
  .detail-body { padding: 22px 18px 28px; }
  .detail-body .ledger-row { grid-template-columns: 84px 1fr; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
