/* ============================================================
   $oggie — two eras on one page.

   Top half  : a 1964 underground-comix plate. Aged newsprint, ink
               hatching, hand lettering, everything slightly askew.
   Bottom half: 2026. Flat yolk yellow, 3px black outlines, hard
               offset shadows, no grain at all.
   The torn strip between them is the time jump.
   ============================================================ */

/* ------------------------------------------------------------
   1. tokens
   ------------------------------------------------------------ */
:root {
  /* newsprint that yellowed in a drawer since 1964 */
  --paper:      #efe2c0;
  --paper-lit:  #f8f0da;
  --paper-deep: #ddc99a;
  --edge:       #c6ac7c;

  /* warm printing black, never #000 on paper */
  --ink:        #17130c;
  --ink-soft:   #574a33;

  /* Oggie's own green, straight off the plates */
  --oggie:      #5c9e2f;
  --oggie-lit:  #8ec14a;
  --oggie-deep: #2b5a1c;

  /* the hatched sky */
  --sky:        #3d8fc4;
  --sky-pale:   #b3d9ef;

  --flag:       #bc3520;   /* the pennant red */
  --tongue:     #e8622c;   /* his mouth — used once or twice, never as a field */

  /* 2026 block */
  --yolk:       #ffd21e;
  --yolk-deep:  #e0a800;

  --display: 'Bowlby One SC', 'Arial Black', sans-serif;
  --vintage: 'Rye', 'Bookman Old Style', serif;
  --hand:    'Patrick Hand SC', 'Comic Sans MS', cursive;
  --body:    'Nunito', 'Trebuchet MS', system-ui, sans-serif;

  --measure: 62ch;
  --shell:   1180px;
  --hard:    5px 5px 0 var(--ink);
}

/* ------------------------------------------------------------
   2. base
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(16px, 0.55vw + 14.4px, 18px);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Author `display` rules outrank the UA's `[hidden] { display: none }`, and this
   page toggles several of them (the result image, the loader, the share
   buttons). Restore the attribute's meaning once, globally. */
[hidden] { display: none !important; }

a { color: inherit; }

h1, h2, h3 { text-wrap: balance; margin: 0; }

p { margin: 0; }

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

.wrap {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}

/* the whole page sits under one sheet of paper grain */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: .34;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------
   3. shared type
   ------------------------------------------------------------ */
.kicker {
  font-family: var(--hand);
  font-size: 1.05rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--flag);
  margin-bottom: .4rem;
}

.title {
  font-family: var(--display);
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: .98;
  letter-spacing: -.015em;
}

.lead {
  max-width: var(--measure);
  margin-top: 1.1rem;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------
   4. buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.05rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--paper-lit);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 900;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: 3px 3px 0 var(--ink); }

.btn-lg { padding: .8rem 1.5rem; font-size: 1.02rem; }
.btn-buy   { background: var(--oggie);  color: var(--paper-lit); }
.btn-ink   { background: var(--ink);    color: var(--paper-lit); }
.btn-quiet { background: transparent; box-shadow: 3px 3px 0 var(--edge); }
.btn-quiet:hover { background: var(--paper-lit); box-shadow: 5px 5px 0 var(--edge); }

.copy-btn {
  flex: none;
  padding: .3rem .7rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper-lit);
  color: var(--ink);
  font: 800 .8rem/1 var(--body);
  letter-spacing: .04em;
  cursor: pointer;
}
.copy-btn:hover { background: var(--oggie-lit); }
.copy-btn.done  { background: var(--oggie); color: var(--paper-lit); border-color: var(--oggie-deep); }

/* ------------------------------------------------------------
   5. nav
   ------------------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--ink);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
  padding-block: .5rem;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  text-decoration: none;
  flex: none;
}
.brand img {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  align-self: center;
}
.brand-name {
  font-family: var(--vintage);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink);
}
.brand-year {
  font-family: var(--hand);
  font-size: .8rem;
  letter-spacing: .1em;
  color: var(--flag);
}

.nav-links {
  display: flex;
  gap: 1.15rem;
  margin-inline: auto;
  font-family: var(--hand);
  font-size: 1.02rem;
  letter-spacing: .04em;
}
.nav-links a {
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { border-bottom-color: var(--flag); }

.nav-cta { display: flex; align-items: center; gap: .5rem; flex: none; }

.nav-burger {
  display: none;
  padding: .35rem .6rem;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: var(--paper-lit);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

/* ------------------------------------------------------------
   6. hero
   ------------------------------------------------------------ */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }

/* the hatched sky from the plates: flat blue + ruled pen strokes */
.hero .sky {
  position: absolute;
  inset: 0 0 22% 0;
  z-index: 0;
  background:
    repeating-linear-gradient(
      104deg,
      rgba(23, 19, 12, .16) 0 1px,
      transparent 1px 7px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(23, 19, 12, .07) 0 1px,
      transparent 1px 5px
    ),
    linear-gradient(180deg, var(--sky) 0%, var(--sky-pale) 62%, var(--paper) 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
/* grid items default to min-width:auto — the nowrap contract address inside
   would otherwise push the whole column wider than the viewport */
.hero-copy, .hero-poster { min-width: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem .85rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper-lit);
  font-family: var(--hand);
  font-size: .92rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.blip {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--oggie);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--oggie) 32%, transparent);
  animation: blip 1.9s ease-in-out infinite;
}
@keyframes blip { 50% { box-shadow: 0 0 0 7px transparent; } }

.hero-title { margin: 1.1rem 0 1.2rem; }

/* the red pennant from plate one, drawn in CSS so it can hold live text */
.pennant {
  display: inline-block;
  position: relative;
  padding: .5rem 3.4rem .6rem 1.6rem;
  background: var(--flag);
  color: var(--paper-lit);
  clip-path: polygon(0 0, 100% 0, 84% 50%, 100% 100%, 0 100%);
  transform: rotate(-2.2deg);
  filter: drop-shadow(4px 5px 0 var(--ink));
}
.pennant span {
  font-family: var(--vintage);
  font-size: clamp(2.6rem, 8.5vw, 5.2rem);
  line-height: 1;
  letter-spacing: .02em;
  /* a struck-ink look: the letterform sits on its own shadow */
  text-shadow: 2px 2px 0 rgba(23, 19, 12, .45);
}

.hero-mantra {
  display: block;
  margin-top: .55rem;
  font-family: var(--display);
  font-size: clamp(1.9rem, 5vw, 3.1rem);
  line-height: 1;
  color: var(--oggie-deep);
  text-shadow: 3px 3px 0 var(--paper-lit);
}

.hero-sub {
  max-width: 48ch;
  font-size: 1.12rem;
  color: var(--ink);
}
.hero-sub strong { color: var(--flag); }

.ca-pill {
  display: flex;
  align-items: center;
  gap: .6rem;
  width: fit-content;
  max-width: 100%;
  margin-top: 1.5rem;
  padding: .45rem .5rem .45rem .8rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--paper-lit);
  box-shadow: var(--hard);
}
.ca-label {
  font-family: var(--hand);
  font-size: .85rem;
  letter-spacing: .14em;
  color: var(--flag);
}
.ca-pill code {
  min-width: 0;                    /* flex items must be told they may shrink */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: .82rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.5rem;
}

/* the poster, in a double-rule frame like a printed plate */
.hero-poster {
  margin: 0;
  padding: 12px;
  background: var(--paper-lit);
  border: 3px solid var(--ink);
  outline: 2px solid var(--ink);
  outline-offset: 6px;
  box-shadow: 10px 12px 0 rgba(23, 19, 12, .28);
  transform: rotate(1.4deg);
}
.hero-poster img { border: 2px solid var(--ink); }
.hero-poster figcaption {
  margin-top: .6rem;
  font-family: var(--hand);
  font-size: .95rem;
  text-align: center;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------
   7. marquee
   ------------------------------------------------------------ */
.marquee {
  overflow: hidden;
  padding: .7rem 0;
  background: var(--ink);
  color: var(--paper);
  border-block: 3px solid var(--ink);
}
.marquee-track {
  display: flex;
  gap: 2.2rem;
  width: max-content;
  animation: roll 42s linear infinite;
  font-family: var(--hand);
  font-size: 1.15rem;
  letter-spacing: .06em;
  text-transform: lowercase;
  white-space: nowrap;
}
.marquee-track span::after {
  content: '🐸';
  margin-left: 2.2rem;
  font-size: .9em;
}
.marquee-track .hot { color: var(--oggie-lit); }
@keyframes roll { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------
   8. lore
   ------------------------------------------------------------ */
.lore { padding: clamp(3rem, 7vw, 5.5rem) 0; }

.timeline {
  list-style: none;
  margin: 2.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-left: 3px dashed var(--edge);
}
.timeline li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1.4rem;
  padding: 1.35rem 0 1.35rem 1.6rem;
  position: relative;
}
.timeline li + li { border-top: 2px solid color-mix(in srgb, var(--edge) 60%, transparent); }
.timeline li::before {
  content: '';
  position: absolute;
  left: -10px; top: 2rem;
  width: 15px; height: 15px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}
.t-year {
  font-family: var(--vintage);
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--flag);
}
.t-body h3 {
  font-family: var(--display);
  font-size: 1.28rem;
  line-height: 1.15;
  margin-bottom: .35rem;
}
.t-body p { max-width: var(--measure); color: var(--ink-soft); }
.timeline .t-now::before { background: var(--oggie); border-color: var(--oggie-deep); }
.timeline .t-now .t-year { color: var(--oggie-deep); }

.panel-strip {
  margin: 3rem 0 0;
  padding: 14px;
  background: var(--paper-lit);
  border: 3px solid var(--ink);
  box-shadow: var(--hard);
  transform: rotate(-.7deg);
}
.panel-strip img { border: 2px solid var(--ink); }
.panel-strip figcaption {
  max-width: 58ch;
  margin: .8rem auto 0;
  font-family: var(--hand);
  font-size: 1.05rem;
  text-align: center;
  color: var(--ink-soft);
}

/* the two mantras, side by side */
.mantra-face {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.2rem;
  margin-top: 3.2rem;
}
.mantra-face blockquote {
  margin: 0;
  padding: 1.4rem 1.2rem;
  border: 3px solid var(--ink);
  border-radius: 26px 26px 26px 4px;   /* speech balloon */
  background: var(--paper-lit);
  text-align: center;
}
.mantra-face blockquote p {
  font-family: var(--hand);
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  line-height: 1.15;
}
.mantra-face cite {
  display: block;
  margin-top: .5rem;
  font-family: var(--body);
  font-size: .85rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.mantra-face .ours {
  background: var(--oggie);
  border-color: var(--oggie-deep);
  border-radius: 26px 26px 4px 26px;
  color: var(--paper-lit);
  box-shadow: var(--hard);
}
.mantra-face .ours cite { color: color-mix(in srgb, var(--paper-lit) 78%, transparent); }
.versus {
  font-family: var(--vintage);
  font-size: 1rem;
  text-align: center;
  color: var(--flag);
}

/* ------------------------------------------------------------
   9. gallery
   ------------------------------------------------------------ */
.gallery { padding: 0 0 clamp(3rem, 7vw, 5rem); }

.plates {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.6rem;
  margin-top: 2.4rem;
}
.plate {
  margin: 0;
  padding: 9px 9px 0;
  background: var(--paper-lit);
  border: 3px solid var(--ink);
  box-shadow: 4px 5px 0 rgba(23, 19, 12, .3);
  transform: rotate(var(--r, 0deg));
  cursor: zoom-in;
  transition: transform .16s ease, box-shadow .16s ease;
}
.plate:hover, .plate:focus-within {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 7px 9px 0 rgba(23, 19, 12, .34);
}
.plate img { border: 2px solid var(--ink); aspect-ratio: 3 / 4; object-fit: cover; }
.plate figcaption {
  padding: .55rem .2rem .6rem;
  font-family: var(--hand);
  font-size: .95rem;
  text-align: center;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------
   10. the tear — 1964 ends here
   ------------------------------------------------------------ */
.tear {
  position: relative;
  line-height: 0;
  background: var(--paper);
  margin-top: -1px;
}
.tear svg { display: block; width: 100%; height: clamp(44px, 6vw, 90px); }
.tear path { fill: var(--yolk); stroke: var(--ink); stroke-width: 4; }

/* ------------------------------------------------------------
   11. the 2026 block — flat colour, hard shadows, zero grain
   ------------------------------------------------------------ */
.modern {
  position: relative;
  background: var(--yolk);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
.modern .kicker { color: var(--ink); }
.modern .lead { color: color-mix(in srgb, var(--ink) 82%, transparent); }
.modern .btn-quiet { border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.modern .btn-quiet:hover { background: var(--yolk-deep); }
.modern + .modern { padding-top: 0; }

/* ------------------------------------------------------------
   12. oggify
   ------------------------------------------------------------ */
.examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.1rem;
  align-items: end;
  margin-top: 2rem;
}
.examples figure {
  margin: 0;
  padding: 7px 7px 0;
  background: var(--paper-lit);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(var(--r, 0deg));
}
.examples img { aspect-ratio: 1 / 1; object-fit: cover; border: 2px solid var(--ink); }
.examples figcaption {
  padding: .4rem 0 .5rem;
  font-weight: 800;
  font-size: .85rem;
  text-align: center;
}
.examples-note {
  align-self: center;
  font-family: var(--hand);
  font-size: 1.25rem;
  line-height: 1.15;
  text-align: center;
  color: var(--ink);
  transform: rotate(-4deg);
}

.gen {
  margin-top: 2.4rem;
  padding: clamp(1.1rem, 2.6vw, 1.9rem);
  background: var(--paper-lit);
  border: 4px solid var(--ink);
  border-radius: 22px;
  box-shadow: 8px 8px 0 var(--ink);
}

.gen-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.tabs, .vibes { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }

.tab, .vibe {
  padding: .5rem 1rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font: 800 .92rem/1 var(--body);
  cursor: pointer;
  transition: background .12s ease, color .12s ease;
}
.tab:hover, .vibe:hover { background: var(--yolk); }
.tab.is-on  { background: var(--ink);   color: var(--paper-lit); }
.vibe.is-on { background: var(--oggie); color: var(--paper-lit); }
.vibes-label {
  font-family: var(--hand);
  font-size: .95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.gen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
  margin-top: 1.2rem;
}

.drop {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  padding: 1.4rem;
  border: 3px dashed var(--ink);
  border-radius: 18px;
  background: var(--paper);
  background-size: cover;
  background-position: center;
  text-align: center;
  cursor: pointer;
  transition: background-color .12s ease, border-color .12s ease;
}
.drop:hover, .drop.is-over { background-color: var(--yolk); border-color: var(--oggie-deep); }
.drop.has-photo { border-style: solid; }
.drop.has-photo .drop-hint { display: none; }
.drop-icon { font-size: 2.4rem; }
.drop-hint h3 { font-family: var(--display); font-size: 1.15rem; margin: .5rem 0 .3rem; }
.drop-hint p { max-width: 32ch; margin-inline: auto; font-size: .92rem; color: var(--ink-soft); }
.drop-clear {
  position: absolute;
  top: .6rem; right: .6rem;
  width: 34px; height: 34px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-lit);
  font-size: .9rem;
  line-height: 1;
  cursor: pointer;
}

.frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  padding: 10px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background:
    repeating-linear-gradient(45deg,
      color-mix(in srgb, var(--paper-deep) 45%, transparent) 0 8px,
      var(--paper) 8px 16px);
  overflow: hidden;
}
.frame > * { grid-area: 1 / 1; }
.frame-empty {
  font-family: var(--hand);
  font-size: 1.05rem;
  color: var(--ink-soft);
  text-align: center;
}
.frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.loader { display: grid; justify-items: center; gap: .6rem; text-align: center; }
.loader p { font-family: var(--hand); font-size: 1.05rem; }
.hop {
  font-size: 2.6rem;
  animation: hop 1.05s ease-in-out infinite;
}
@keyframes hop {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  45%      { transform: translateY(-16px) rotate(6deg); }
}

.gen-error {
  margin-top: 1rem;
  padding: .7rem 1rem;
  border: 3px solid var(--flag);
  border-radius: 12px;
  background: color-mix(in srgb, var(--flag) 12%, var(--paper-lit));
  font-weight: 700;
  font-size: .95rem;
}

.gen-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.2rem;
}
.gen-fine {
  margin-top: .9rem;
  max-width: var(--measure);
  font-size: .88rem;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------
   13. oggienomics
   ------------------------------------------------------------ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
  margin-top: 2.2rem;
}
.card {
  display: grid;
  gap: .3rem;
  align-content: start;
  padding: 1.3rem;
  background: var(--paper-lit);
  border: 4px solid var(--ink);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink);
}
.card-k {
  font-family: var(--hand);
  font-size: .95rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--flag);
}
.card-v {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  color: var(--oggie-deep);
}
.card p { font-size: .92rem; color: var(--ink-soft); }

.verify { margin-top: 1.6rem; max-width: var(--measure); font-size: .95rem; }
.verify a { font-weight: 800; text-underline-offset: 3px; }

/* ------------------------------------------------------------
   14. how to buy
   ------------------------------------------------------------ */
.steps {
  counter-reset: step;
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  gap: 1.1rem;
  padding: 1.2rem 1.3rem;
  background: var(--paper-lit);
  border: 4px solid var(--ink);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 3.4rem; height: 3.4rem;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--oggie);
  color: var(--paper-lit);
  font-family: var(--display);
  font-size: 1.4rem;
}
.step-body { min-width: 0; }
.steps h3 { font-family: var(--display); font-size: 1.2rem; margin-bottom: .3rem; }
.steps p { max-width: var(--measure); color: var(--ink-soft); }
.steps strong { color: var(--flag); }

.steps-ca {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: .8rem;
  padding: .45rem .5rem .45rem .8rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
}
.steps-ca code {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: .8rem;
}

.buy-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }

/* ------------------------------------------------------------
   15. chart
   ------------------------------------------------------------ */
.chart { padding-bottom: clamp(3rem, 7vw, 5rem); }
#chartMount { margin-top: 1.8rem; }
.chart-embed {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 4px solid var(--ink);
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper-lit);
  box-shadow: 8px 8px 0 var(--ink);
}
.chart-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.chart-soon {
  display: grid;
  gap: .8rem;
  justify-items: start;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--paper-lit);
  border: 4px solid var(--ink);
  border-radius: 18px;
  box-shadow: 8px 8px 0 var(--ink);
}
.chart-soon h3 { font-family: var(--display); font-size: 1.35rem; }
.chart-soon p { max-width: var(--measure); color: var(--ink-soft); }

/* ------------------------------------------------------------
   16. footer
   ------------------------------------------------------------ */
.foot {
  background: var(--oggie-deep);
  color: var(--paper);
  border-top: 4px solid var(--ink);
  padding: clamp(2.2rem, 5vw, 3.4rem) 0;
}
.foot-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.6rem;
  align-items: start;
}
.foot-mark {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 3px solid var(--paper);
}
.foot-copy { display: grid; gap: .8rem; }
.foot-mantra {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--yolk);
}
.foot-copy p {
  max-width: 68ch;
  font-size: .9rem;
  color: color-mix(in srgb, var(--paper) 82%, transparent);
}
.foot-copy strong { color: var(--paper); }
.foot-links { display: grid; gap: .5rem; font-family: var(--hand); font-size: 1.02rem; }
.foot-links a { text-decoration: none; border-bottom: 2px solid transparent; }
.foot-links a:hover { border-bottom-color: var(--yolk); }

/* ------------------------------------------------------------
   17. lightbox
   ------------------------------------------------------------ */
.lightbox {
  width: min(92vw, 760px);
  max-height: 92vh;
  padding: 12px;
  border: 4px solid var(--ink);
  border-radius: 14px;
  background: var(--paper-lit);
  color: var(--ink);
}
.lightbox::backdrop { background: rgba(23, 19, 12, .78); }
.lightbox img {
  max-height: 76vh;
  margin-inline: auto;
  border: 2px solid var(--ink);
}
.lightbox p {
  margin-top: .7rem;
  font-family: var(--hand);
  font-size: 1.05rem;
  text-align: center;
}
.lb-close {
  position: absolute;
  top: -18px; right: -18px;
  width: 42px; height: 42px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--flag);
  color: var(--paper-lit);
  font-size: 1rem;
  cursor: pointer;
}

/* ------------------------------------------------------------
   18. responsive
   ------------------------------------------------------------ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  /* headline and CTAs stay first; the plate follows as the payoff */
  .hero-poster { max-width: 420px; margin-inline: auto; }
  .mantra-face { grid-template-columns: 1fr; }
  .versus { padding: .2rem 0; }
  .foot-inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-burger { display: block; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: .5rem 1.25rem 1rem;
    background: var(--paper);
    border-bottom: 3px solid var(--ink);
    font-size: 1.15rem;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: .55rem 0; border-bottom: 2px solid var(--paper-deep); }
  .nav-inner { position: relative; }
  .brand-year { display: none; }
}

@media (max-width: 560px) {
  .timeline li { grid-template-columns: 1fr; gap: .3rem; }
  .ca-pill code, .steps-ca code { font-size: .7rem; }
  .steps li { grid-template-columns: 1fr; }
  .steps li::before { width: 2.8rem; height: 2.8rem; font-size: 1.15rem; }
  .plates { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
}

/* ------------------------------------------------------------
   19. reduced motion
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
