/* ==========================================================================
   SNACK POSTER — "CHARCOAL SKETCH" THEME
   Black & white crayon/sketchbook reskin. Structure (sections, CONFIG,
   a11y/perf floor) follows the template brief. Visual identity: wobbly
   turbulence-displaced hand-retraced borders (never applied to text —
   see .sketch/.sketch-lg), crayon-stroke headline type, crosshatch
   shading. Monochrome by request.
   ========================================================================== */

/* ---- 0. TOKENS ---- */
:root {
  /* field — the six + accent to re-theme the whole page */
  --bg:      #ffffff;   /* paper white — the loud one, here, is the absence of colour */
  --bg-2:    #f2f2f2;   /* one step down, alternating sections */
  --bg-3:    #e2e2e2;   /* two steps down, wells + scrollbar */
  --ink:     #101010;   /* near-black, never pure #000 on large fills */
  --ink-2:   #201f1d;   /* warm-black mid, for ink-on-ink surfaces */
  --ink-3:   #050505;   /* darkest, full-bleed dark sections */
  --muted:   #4d4a45;   /* body text at reduced emphasis */
  --accent:  #101010;   /* monochrome accent — expressed via inversion, not hue */
  --line:    rgba(16, 16, 16, 0.18);
  --paper:   #ffffff;

  /* type — crayon/marker set */
  --display: "Permanent Marker", cursive;              /* big scrawled headlines */
  --serif:   "Space Grotesk", sans-serif;               /* body copy — stays clean and readable */
  --serif-2: "Space Grotesk", sans-serif;               /* CJK/sub-heads slot */
  --ui:      "Kalam", cursive;                          /* buttons, numerals, brand — weight 700 */
  --hand:    "Permanent Marker", cursive;               /* the stamp only */
  --mono:    "IBM Plex Mono", ui-monospace, monospace;  /* annotation — deliberate crisp contrast */

  --header: 76px;
  --panel-border: 4px;
}

/* ---- 1. RESET / BASE ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: var(--ink); color: var(--bg); }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg-3); }
::-webkit-scrollbar-thumb { background: var(--ink); border: 3px solid var(--bg-3); }

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 18px;
  z-index: 200;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

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

/* ---- 2. TYPE SCALE ---- */
h1, h2, h3 { margin: 0; }

h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 12vw, 150px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-shadow:
    1px 0 0 rgba(16,16,16,0.45),
    -1px 0.5px 0 rgba(16,16,16,0.35),
    0.5px 1px 0 rgba(16,16,16,0.3),
    2px 2px 0 rgba(16,16,16,0.18);
}

h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.05;
  text-shadow:
    1px 0 0 rgba(16,16,16,0.4),
    -1px 0.5px 0 rgba(16,16,16,0.3),
    2px 2px 0 rgba(16,16,16,0.15);
}
.ink-section h1, .ink-section h2 {
  text-shadow:
    1px 0 0 rgba(255,255,255,0.35),
    -1px 0.5px 0 rgba(255,255,255,0.25),
    2px 2px 0 rgba(255,255,255,0.15);
}
.hero-content h1 {
  text-shadow:
    1px 0 0 rgba(255,255,255,0.4),
    -1px 0.5px 0 rgba(255,255,255,0.3),
    2px 2px 0 rgba(0,0,0,0.4);
}

h3 {
  font-family: var(--serif-2);
  font-weight: 700;
  font-size: 21px;
}

.body-copy p { font-size: 18px; line-height: 1.6; max-width: 62ch; }

.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 28px;
  color: var(--ink);
}

.eyebrow, .section-index, .caption {
  font-family: var(--mono);
  text-transform: uppercase;
}
.eyebrow { font-size: 11px; letter-spacing: 0.26em; }
.section-index { font-size: 11px; letter-spacing: 0.28em; display: flex; gap: 10px; align-items: center; }
.caption { font-size: 11px; letter-spacing: 0.08em; color: var(--muted); }

/* Cartoon wobble — subtle irregular radius used across ink-bordered panels */
.wobble {
  border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px;
}

/* ---- Crayon wobble borders ----
   Two stacked, independently-turbulence-displaced border traces on
   pseudo-elements — never on the element's own text layer, so a wobbly
   hand-retraced outline replaces the old hard offset shadow entirely.
   .sketch = small scale, for buttons/chips/frames/cards.
   .sketch-lg = larger scale, for big panels and floating art. */
.sketch, .sketch-lg { position: relative; }
.sketch::before, .sketch::after,
.sketch-lg::before, .sketch-lg::after {
  content: "";
  position: absolute;
  inset: 0;
  border: var(--panel-border) solid var(--ink);
  border-radius: inherit;
  pointer-events: none;
}
.sketch::before { filter: url(#crayonRough); }
.sketch::after {
  filter: url(#crayonRoughAlt);
  opacity: 0.4;
  transform: translate(3px, 3px);
  transition: transform 0.15s ease;
}
.sketch-lg::before { filter: url(#crayonRoughLg); }
.sketch-lg::after {
  filter: url(#crayonRoughAltLg);
  opacity: 0.35;
  transform: translate(6px, 6px);
  transition: transform 0.15s ease;
}
/* on dark fills, the wobble line needs to be light, not ink-on-ink */
.ink-section .sketch::before, .ink-section .sketch::after,
.ink-section .sketch-lg::before, .ink-section .sketch-lg::after,
.spec-panel.sketch-lg::before, .spec-panel.sketch-lg::after,
.frame.sketch::before, .frame.sketch::after,
.btn.chip.sketch::before, .btn.chip.sketch::after {
  border-color: var(--bg);
}

/* Crayon heading stroke — layered offset shadow simulates overlapping
   waxy passes, without touching the SVG filter (keeps big type crisp
   to read even while it looks hand-scrawled). */
.crayon-text {
  text-shadow:
    1px 0 0 rgba(16,16,16,0.45),
    -1px 0.5px 0 rgba(16,16,16,0.35),
    0.5px 1px 0 rgba(16,16,16,0.3),
    2px 2px 0 rgba(16,16,16,0.18);
}
.ink-section .crayon-text {
  text-shadow:
    1px 0 0 rgba(255,255,255,0.35),
    -1px 0.5px 0 rgba(255,255,255,0.25),
    0.5px 1px 0 rgba(255,255,255,0.2),
    2px 2px 0 rgba(255,255,255,0.12);
}

/* Crosshatch — sketchbook shading texture, swapped in for the old
   print-halftone dots */
.halftone {
  background-image:
    repeating-linear-gradient(45deg, var(--ink) 0, var(--ink) 1px, transparent 1px, transparent 9px),
    repeating-linear-gradient(-45deg, var(--ink) 0, var(--ink) 1px, transparent 1px, transparent 9px);
  background-size: 100% 100%;
}

/* ---- 3. LAYOUT SHELLS ---- */
main { display: block; }
.field    { background: var(--bg); }
.field-2  { background: var(--bg-2); }
.ink-section { background: var(--ink); color: var(--bg); }
.ink-section .muted { color: rgba(255,255,255,0.6); }

.wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

.section {
  padding-block: clamp(64px, 10vw, 128px);
  position: relative;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

/* ---- 4. GRAIN OVERLAY (2.1) ---- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
}

/* ---- 5. LOADER (2.2) ---- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader img { width: 64px; height: 64px; }
.loader .loader-title {
  font-family: var(--display);
  font-size: 34px;
}
.loader .loader-sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
}

/* ---- 6. HEADER (2.3) ---- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: var(--header);
  z-index: 150;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease;
  border-bottom: var(--panel-border) solid transparent;
}
.site-header.is-scrolled {
  background: var(--bg);
  border-bottom-color: var(--ink);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}
.brand img { width: 34px; height: 34px; }
.brand .ticker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-inline-start: 4px;
}

.nav {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline wavy; text-underline-offset: 4px; }

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

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  background: var(--bg);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.hamburger span,
.hamburger span::before,
.hamburger span::after {
  content: "";
  display: block;
  width: 20px;
  height: 3px;
  background: var(--ink);
  position: relative;
}
.hamburger span::before { position: absolute; top: -7px; }
.hamburger span::after { position: absolute; top: 7px; }

@media (max-width: 980px) {
  .nav, .header-actions .btn.ghost { display: none; }
  .hamburger { display: flex; }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 100px 32px 40px;
  gap: 28px;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.mobile-menu a {
  text-decoration: none;
  font-family: var(--display);
  font-size: 40px;
}
.mobile-menu .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border: var(--panel-border) solid var(--bg);
  background: transparent;
  color: var(--bg);
  font-family: var(--mono);
  cursor: pointer;
}

/* ---- 7. BUTTONS (2.4) — cartoon variant: thick ink border + hard offset shadow ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: var(--bg);
  color: var(--ink);
  transition: transform 0.12s ease;
}
.btn:hover { transform: translate(-2px, -2px); }
.btn:hover.sketch::after { transform: translate(6px, 6px); }
.btn:active { transform: translate(0, 0); }
.btn:active.sketch::after { transform: translate(2px, 2px); }
.btn.chip { background: var(--ink); color: var(--bg); }
.btn.ghost { background: transparent; }
.btn.lg { min-height: 54px; font-size: 17px; padding: 0 28px; }

/* ---- 8. FULL-BLEED HERO (2.5) ---- */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero img.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,5,5,0.15) 0%, rgba(5,5,5,0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(20px, 5vw, 64px) clamp(48px, 8vw, 96px);
  color: var(--bg);
  max-width: 900px;
}
.hero-content .eyebrow { color: var(--bg); opacity: 0.75; margin-bottom: 14px; }
.hero-content h1 { color: var(--bg); }
.hero-content p { color: rgba(255,255,255,0.78); max-width: 46ch; margin: 18px 0 28px; font-size: 16px; }
.hero-actions { display: flex; flex-direction:row; gap: 14px; flex-wrap: wrap; }
.hero .btn.sketch::before, .hero .btn.sketch::after { border-color: var(--bg); }
.hero .btn.chip.sketch::before, .hero .btn.chip.sketch::after { border-color: rgba(255,255,255,0.6); }

/* ---- 9. TWIN MARQUEES (2.6) ---- */
.marquees { border-block: var(--panel-border) solid var(--ink); overflow: hidden; background: var(--bg); }
.marquee-row {
  display: flex;
  white-space: nowrap;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.marquee-row:last-child { border-bottom: none; }
.marquee-track {
  display: flex;
  gap: 40px;
  animation: ticker 26s linear infinite;
}
.marquee-row.reverse .marquee-track { animation-direction: reverse; animation-duration: 34s; }
.marquee-track span {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 40px;
}
.marquee-track span.display-word {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: 0.02em;
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---- 10. GRID LAYOUTS FOR NUMBERED SECTIONS ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.two-col .sticky { position: sticky; top: calc(var(--header) + 32px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

@media (max-width: 980px) {
  .two-col, .split { grid-template-columns: 1fr; }
  .two-col .sticky { position: static; }
}

/* Floating image treatment — cartoon panel */
.art-panel {
  background: var(--bg);
  border: none;
  padding: 14px;
}
.ink-section .art-panel { background: var(--ink-2); }

/* ---- 11. STAMP / SEAL (2.8) ---- */
.stamp {
  position: absolute;
  top: -20px;
  right: clamp(16px, 4vw, 48px);
  width: 130px;
  height: 130px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-11deg);
  font-family: var(--hand);
  font-size: 15px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
  background: var(--bg);
  animation: stamp-in 1.1s ease-out both;
}
.stamp.sketch::before, .stamp.sketch::after { border-width: 3px; }
@media (prefers-reduced-motion: reduce) {
  .stamp { animation: none; }
}

/* ---- 12. SPEC PANEL / "nutrition label" (2.9) ---- */
.spec-panel {
  background: var(--ink);
  color: var(--bg);
  padding: 32px;
  border: none;
}
.spec-panel h3 {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 400;
  padding-bottom: 14px;
  border-bottom: 4px solid var(--bg);
  margin-bottom: 16px;
}
.spec-panel ul { list-style: none; margin: 0; padding: 0; }
.spec-panel li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  font-family: var(--mono);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.spec-panel li.total {
  border-top: 3px solid var(--bg);
  border-bottom: none;
  margin-top: 6px;
  padding-top: 14px;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 16px;
}
.spec-columns {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}
@media (max-width: 980px) { .spec-columns { grid-template-columns: 1fr; } }

/* ---- 13. FILMSTRIP CAROUSEL (2.10) ---- */
.filmstrip-wrap { background: var(--ink-2); }
.filmstrip {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  border-block: 4px solid var(--ink);
  padding-block: 20px;
  cursor: grab;
  background:
    radial-gradient(circle, var(--bg) 4px, transparent 5px) 0 6px / 28px 16px repeat-x,
    radial-gradient(circle, var(--bg) 4px, transparent 5px) 0 calc(100% - 6px) / 28px 16px repeat-x,
    var(--ink-2);
}
.filmstrip:active { cursor: grabbing; }
.filmstrip::-webkit-scrollbar { height: 10px; }
.frame {
  flex: 0 0 min(340px, 78vw);
  scroll-snap-align: start;
  margin-inline: 12px;
  border: none;
  background: var(--bg);
}
.frame-media { overflow: hidden; }
.frame img { width: 100%; height: 220px; object-fit: cover; }
.frame figcaption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 12px;
  border-top: 2px solid var(--ink);
  color: var(--ink);
}

/* ---- 14. NUMBERED STEP LIST (2.11) ---- */
.step-list { list-style: none; margin: 0; padding: 0; }
.step-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 2px solid var(--line);
  align-items: start;
}
.step-list li:first-child { border-top: 2px solid var(--line); }
.step-num {
  font-family: var(--ui);
  font-weight: 700;
  font-size: 30px;
}
.step-body h3 { margin-bottom: 6px; }
.step-body p { margin: 0; color: var(--muted); max-width: 54ch; }
.ink-section .step-body p { color: rgba(255,255,255,0.72); }
.ink-section .step-list li { border-color: rgba(255,255,255,0.2); }

/* ---- 15. STAT TRIO (2.12) ---- */
.stat-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: none;
}
.stat-cell {
  padding: 28px 20px;
  border-right: var(--panel-border) solid var(--ink);
  text-align: left;
}
.stat-cell:last-child { border-right: none; }
.stat-cell .label { display: block; margin-bottom: 10px; }
.stat-cell .num {
  font-family: var(--ui);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
  display: block;
}
.stat-cell .detail { display: block; margin-top: 10px; }
@media (max-width: 980px) {
  .stat-trio { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; border-bottom: var(--panel-border) solid var(--ink); }
  .stat-cell:last-child { border-bottom: none; }
}

/* ---- 16. QUOTE WALL (2.13) ---- */
.quote-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
}
.quote-cell {
  border: none;
  padding: 24px;
  background: var(--bg);
  transition: transform 0.15s ease;
}
.quote-cell:hover { transform: translateY(-3px); }
.quote-cell:hover.sketch::after { transform: translate(8px, 8px); }
.quote-cell .pull-quote { display: block; margin-bottom: 10px; }
.quote-cell .caption { display: block; }

/* ---- 17. WALKER (2.14) ---- */
.walker {
  position: fixed;
  bottom: 18px;
  left: -100px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
  animation: walk 30s linear infinite;
}
.walker img { width: 56px; height: 56px; }
.walker .caption { white-space: nowrap; background: var(--bg); border: 2px solid var(--ink); padding: 2px 8px; }
/* extra runtime wobble for the placeholder line-art SVGs only — not applied
   to the real uploaded mascot photo, which shouldn't be distorted */
.crayon-art { filter: url(#crayonRoughLg); }
@media (prefers-reduced-motion: reduce) {
  .walker { display: none; }
}
@media (max-width: 700px) {
  .walker { display: none; }
}

/* ---- 18. TOAST (2.15) ---- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--bg-3);
  z-index: 250;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---- 19. FOOTER ---- */
.site-footer {
  background: var(--ink);
  color: var(--bg);
  padding-block: 56px 28px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 2px solid rgba(255,255,255,0.2);
}
.footer-links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
}

/* ---- 20. MOTION KEYFRAMES (max 6) ---- */
@keyframes floaty {
  0%   { transform: translateY(0) rotate(-0.6deg); }
  50%  { transform: translateY(-14px) rotate(0.8deg); }
  100% { transform: translateY(0) rotate(-0.6deg); }
}
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes walk {
  from { left: -100px; }
  to   { left: 105vw; }
}
@keyframes stamp-in {
  from { opacity: 0; transform: rotate(-11deg) scale(1.4); }
  to   { opacity: 1; transform: rotate(-11deg) scale(1); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

.floaty { animation: floaty 9s ease-in-out infinite; }
.rec-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  animation: blink 1.2s steps(1) infinite;
}
.ink-section .rec-dot { background: var(--bg); }
@media (prefers-reduced-motion: reduce) {
  .floaty { animation: none; }
  .rec-dot { animation: none; opacity: 1; }
}

/* ---- 21. RESPONSIVE: 560px stacking ---- */
@media (max-width: 560px) {
  .hero-actions, .footer-top {display:flex; flex-direction: row; align-items: flex-start; }
  .stamp { width: 96px; height: 96px; font-size: 12px; top: -14px; }
}
