/* =============================================================================
   Ezzy's Studio — site.css (shared, no build step)
   Structural, stage-agnostic component CSS. Stage look (fonts, colours,
   doodles, wobble, motion) lives in css/age-*.css and assets/stages/.
   See GROWING-UP.md. No third-party requests.

   Components
   ----------
   .draft-banner     Small “draft, not a live shop” bar
   .digital-strip    Prominent 100% digital statement
   header.site       Big crayon wordmark, nav, primary CTA
   .playground-sky / .playground-ground  Studio doodles (never over drawings or type)
   .pg-rocket-fly    CSS-only crayon rocket (legacy decorative path)
   .egg-ui / .egg-sky  CSS-only seasonal Easter-egg flyer and secret note
   footer.site       Wordmark/icon, links, draft footer
   .btn / .btn-ghost Chunky crayon-outlined CTA, hover wiggle, press squash
   .steps            Numbered “how it works” steps (ol.steps > li)
   .tier-grid / .tier-card   Paper cards with washi tape; .tier-featured is Print Ready
   .faq details      FAQ item (native <details>/<summary>, no JS)
   .ba / .ba-panel   Before/after pair. Drawings use object-fit: contain.
   .mark-caption     Studio design-element caption
   .tbc              Visible placeholder marker class
   .prose            Long-form legal / guide typography
   .newsletter       Sign-up form
   .visually-hidden  Accessible hide; also used for the newsletter honeypot
   .checkout-form    Pre-checkout waiver and optional marketing opt-in (no JS)
   .order-page       Private order page draft
   ============================================================================= */

:root {
  /* Layout and spacing only. Stage look is in css/age-*.css. */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 2.75rem;
  --s-8: 3.5rem;
  --gutter: 1.15rem;
  --max: 78rem;
  --narrow: 42rem;
  --pill: 2rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .btn:hover,
  .btn:focus-visible,
  .btn:active {
    animation: none !important;
    transform: none !important;
  }
  .pg-rocket-fly,
  .egg-fly {
    animation: none !important;
    left: 1.2rem;
    top: 0.6rem;
    transform: rotate(var(--motion-rocket-from-rot));
  }
  .egg-char,
  .egg-house-still {
    animation: none !important;
    transform: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  .egg-char-frog,
  .egg-char-duck,
  .egg-char-snowman,
  .egg-char-family {
    left: 22%;
  }
  .egg-house-still { left: 5%; }
  html[data-egg-char="house"] .egg-char-family,
  html:not([data-egg-char]) .egg-char-family {
    left: 32%;
  }
  /* no-JS fallback: park the first character of the set in the right band */
  .egg-char-rocket {
    opacity: 1 !important;
    visibility: visible !important;
  }
  html[data-season="winter"] .egg-char-rocket {
    opacity: 0 !important;
    visibility: hidden !important;
  }
  html[data-season="winter"] .egg-char-snowman {
    opacity: 1 !important;
    visibility: visible !important;
  }
  html[data-egg-char] .egg-char,
  html[data-egg-char] .egg-house-still {
    opacity: 0 !important;
    visibility: hidden !important;
  }
  html[data-egg-char="rocket"] .egg-char-rocket,
  html[data-egg-char="spaceman"] .egg-char-spaceman,
  html[data-egg-char="house"] .egg-char-family,
  html[data-egg-char="house"] .egg-house-still,
  html[data-egg-char="frog"] .egg-char-frog,
  html[data-egg-char="duck"] .egg-char-duck,
  html[data-egg-char="snowman"] .egg-char-snowman,
  html[data-egg-char="reindeer"] .egg-char-reindeer,
  html[data-egg-char="santa-rocket"] .egg-char-santa-rocket {
    opacity: 1 !important;
    visibility: visible !important;
  }
  html[data-season="winter"] .hero-play::before,
  html[data-season="winter"] .hero-play::after,
  html[data-season="winter"] .playground-sky::before,
  html[data-season="winter"] .playground-sky::after,
  html[data-season="winter"] .playground-ground::before {
    content: none !important;
    animation: none !important;
  }
  .egg-note {
    transform: translate(-50%, -50%) !important;
  }
  .float-slow,
  .float-cloud,
  .float-cloud-alt,
  .float-star,
  .float-star-alt {
    animation: none !important;
  }
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--text);
  line-height: var(--leading);
  text-rendering: optimizeLegibility;
  background-color: var(--paper);
  background-image: var(--paper-texture);
  background-size: 240px 240px;
  background-repeat: repeat;
}

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

/* Drawings must be shown whole, on an opaque card, above any playground motion. */
img.artwork,
.ba-frame img,
.file-preview img,
.order-preview-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--paper-card);
}

.ba,
.ba-frame,
.ba-panel {
  position: relative;
  z-index: 2;
}

a {
  color: inherit;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}
a:hover { text-decoration-thickness: 3px; }

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

.skip {
  position: absolute;
  left: var(--s-3);
  top: -100%;
  z-index: 30;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  font-weight: 700;
}
.skip:focus { top: var(--s-3); }

.wrap {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* --- .draft-banner --- */
.draft-banner {
  position: relative;
  z-index: 12;
  background: var(--ink);
  color: var(--paper-card);
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
}

/* --- Prominent 100% digital statement --- */
.digital-strip {
  position: relative;
  z-index: 12;
  margin: 0;
  padding: 0.7rem 1rem;
  text-align: center;
  font-family: var(--hand);
  font-weight: 400;
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  line-height: 1.25;
  background: var(--orange);
  color: var(--ink);
  border-bottom: 3px solid var(--ink);
}

/* --- .tbc --- */
.tbc {
  display: inline;
  font-weight: 700;
  background-color: var(--yellow);
  padding: 0.04rem 0.2rem;
}

/* --- header.site : the wordmark is the hero of the header --- */
header.site {
  position: sticky;
  top: 0;
  z-index: 11;
  background-color: var(--paper);
  background-image: var(--paper-texture);
  background-size: 240px 240px;
  border-bottom: 3px solid var(--ink);
}
.header-inner {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.45rem 1.25rem;
  padding: 0.7rem 0 0.85rem;
}
.logo {
  display: block;
  grid-column: 1 / -1;
  width: min(48rem, 100%);
  max-width: 48rem;
}
.logo img { width: 100%; height: auto; }
.header-inner > .btn { grid-column: 2; justify-self: end; }
nav.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  font-family: var(--hand);
  font-size: 1.2rem;
  font-weight: 400;
}
nav.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.45rem 0.35rem;
  text-decoration: none;
  color: var(--ink);
}
nav.site-nav a:hover,
nav.site-nav a:focus-visible,
nav.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.18em;
}

/* --- Playground sky (rocket + floating sun/clouds/stars; no type here) --- */
.playground-sky {
  position: relative;
  z-index: 0;
  height: 8rem;
  overflow: hidden;
  pointer-events: none;
}
.playground-sky .pg,
.playground-ground .pg { position: absolute; }

/* --- Swappable doodle layer (images come from stage tokens) --- */
.hero-play .hp,
.playground-sky .pg,
.playground-ground .pg,
.play-break [class*="hp-"],
.pg-rocket,
.tape,
.ba-arrow {
  display: block;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.hp-rainbow,
.pg-rainbow { background-image: var(--doodle-rainbow); }
.hp-sun,
.pg-sun { background-image: var(--doodle-sun); aspect-ratio: 1; }
.hp-cloud-1,
.hp-cloud-2,
.pg-cloud { background-image: var(--doodle-cloud); aspect-ratio: 180 / 130; }
.hp-star-1,
.pg-star-1,
.hp-star-break { background-image: var(--doodle-star); aspect-ratio: 100 / 96; }
.hp-star-2,
.pg-star-2 { background-image: var(--doodle-star-blue); aspect-ratio: 100 / 96; }
.hp-star-3,
.pg-star-3 { background-image: var(--doodle-star-pink); aspect-ratio: 100 / 96; }
.hp-house,
.pg-house,
.hp-house-break { background-image: var(--doodle-house); aspect-ratio: 340 / 200; }
.hp-spaceman,
.pg-spaceman,
.hp-space-break { background-image: var(--doodle-spaceman); aspect-ratio: 220 / 200; }
.pg-rocket {
  width: 100%;
  aspect-ratio: 260 / 200;
  background-image: var(--doodle-rocket);
  height: auto;
}
.pg-grass {
  background-image: var(--doodle-grass);
  background-size: cover;
  background-position: bottom;
}
.tape {
  width: 4.6rem;
  aspect-ratio: 164 / 44;
  height: auto;
  background-image: var(--doodle-tape);
  background-size: 100% 100%;
}
.tape-blue { background-image: var(--doodle-tape-blue); }
.tape-pink { background-image: var(--doodle-tape-pink); }
.ba-arrow {
  background-image: var(--mark-arrow);
  aspect-ratio: 400 / 175;
}


.pg-sun { width: 5.2rem; top: 0.2rem; right: 5%; }
.pg-cloud-1 { width: 7.2rem; top: 0.85rem; left: 16%; opacity: 0.9; }
.pg-cloud-2 { width: 6rem; top: 2rem; right: 22%; opacity: 0.88; }
.pg-star-1 { width: 2.3rem; top: 0.4rem; left: 7%; }
.pg-star-2 { width: 1.85rem; top: 3.1rem; left: 36%; }
.pg-star-3 { width: 2.05rem; top: 0.55rem; right: 36%; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(var(--motion-bob-y)); }
}
@keyframes bob-alt {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(var(--motion-bob-y-alt)) translateX(var(--motion-bob-x-alt)); }
}
@keyframes twinkle {
  0%, 100% { transform: rotate(calc(var(--motion-twinkle-tilt) * -1)) scale(1);
  }
  50% { transform: rotate(var(--motion-twinkle-tilt)) scale(var(--motion-twinkle-scale)); }
}
.float-slow { animation: bob var(--motion-bob-duration) ease-in-out infinite; }
.float-cloud { animation: bob var(--motion-cloud-duration) ease-in-out infinite; }
.float-cloud-alt { animation: bob-alt var(--motion-cloud-alt-duration) ease-in-out infinite; }
.float-star { animation: twinkle var(--motion-twinkle-duration) ease-in-out infinite; }
.float-star-alt { animation: twinkle var(--motion-twinkle-alt-duration) ease-in-out infinite reverse; }

.pg-rocket-fly {
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 5.8rem;
  animation: rocket-fly var(--motion-rocket-duration) linear infinite;
  will-change: transform;
}
.pg-rocket-fly .pg-rocket { width: 100%; height: auto; }
@keyframes rocket-fly {
  0%   { transform: translate(var(--motion-rocket-from-x), var(--motion-rocket-from-y)) rotate(var(--motion-rocket-from-rot)); }
  100% { transform: translate(calc(100vw + var(--motion-rocket-to-x)), var(--motion-rocket-to-y)) rotate(var(--motion-rocket-to-rot)); }
}

/* --- Seasonal Easter-egg flyer and secret note (CSS-only, no JS) --- */
.pg-sky-wrap {
  position: relative;
}
.egg-ui {
  position: relative;
  z-index: 40;
  height: 0;
  margin: 0;
}
.egg-toggle:focus {
  outline: none;
}
body:has(.egg-toggle:focus-visible) .egg-hit {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.egg-panel {
  display: none;
}
.egg-toggle:checked ~ .egg-panel {
  display: block;
}
.egg-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  margin: 0;
  background: rgba(26, 25, 24, 0.4);
  cursor: pointer;
}
.egg-note {
  position: fixed;
  z-index: 41;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(var(--tilt-note));
  width: min(22.5rem, calc(100vw - 2.3rem));
  padding: 1.7rem 1.4rem 1.25rem;
  background-color: var(--note-paper);
  background-image:
    linear-gradient(90deg, transparent 1.35rem, var(--note-margin) 1.35rem, var(--note-margin) 1.5rem, transparent 1.5rem),
    repeating-linear-gradient(
      to bottom,
      var(--note-paper) 0,
      var(--note-paper) 1.9rem,
      var(--note-line) 1.9rem,
      var(--note-line) 2rem
    );
  border: 3px solid var(--ink);
  border-radius: var(--radius-note);
  box-shadow: var(--shadow-crayon);
  font-family: var(--hand);
  font-size: 1.45rem;
  line-height: 2rem;
  color: var(--ink);
  text-align: center;
}
.egg-note-title {
  margin: 0 0 0.4rem;
  font-family: var(--hand);
  font-weight: 400;
  font-size: 2rem;
  line-height: 2.1rem;
  color: var(--ink);
}
.egg-note-code {
  margin: 0 0 1.1rem;
  color: var(--ink);
}
.egg-close {
  cursor: pointer;
  min-width: 7rem;
}
.egg-code-winter,
.egg-code-spring,
.egg-code-summer,
.egg-code-autumn { display: none; }
html[data-season="winter"] .egg-code-all-year { display: none; }
html[data-season="winter"] .egg-code-winter { display: block; }
html[data-season="spring"] .egg-code-all-year { display: none; }
html[data-season="spring"] .egg-code-spring { display: block; }
html[data-season="summer"] .egg-code-all-year { display: none; }
html[data-season="summer"] .egg-code-summer { display: block; }
html[data-season="autumn"] .egg-code-all-year { display: none; }
html[data-season="autumn"] .egg-code-autumn { display: block; }

/* Flyers cross the top-middle sky; ground characters use the footer grass band. */
.pg-ground-wrap {
  position: relative;
  overflow: hidden;
}
.egg-sky {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.egg-fly {
  position: absolute;
  top: 1.15rem;
  left: 0;
  width: 5.8rem;
  animation: rocket-fly var(--egg-fly-duration, var(--motion-rocket-duration)) linear infinite;
  will-change: transform;
  pointer-events: none;
}
.egg-hit {
  display: block;
  pointer-events: auto;
  cursor: pointer;
  min-height: 2.75rem;
}
.egg-fly .egg-char {
  position: absolute;
  inset: 0;
  width: 100%;
  aspect-ratio: 260 / 200;
}
.egg-char,
.egg-house-still {
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center bottom;
}
.egg-char {
  animation: egg-turn-5 var(--egg-cycle-all-year) linear infinite;
}
.egg-char-reindeer,
.egg-char-santa-rocket,
.egg-char-snowman { display: none; }
html[data-season="winter"] .egg-char-rocket,
html[data-season="winter"] .egg-char-spaceman,
html[data-season="winter"] .egg-char-family,
html[data-season="winter"] .egg-char-frog,
html[data-season="winter"] .egg-char-duck,
html[data-season="winter"] .egg-house-still { display: none; }
html[data-season="winter"] .egg-char-reindeer,
html[data-season="winter"] .egg-char-santa-rocket,
html[data-season="winter"] .egg-char-snowman { display: block; }

.egg-char-rocket { background-image: var(--doodle-rocket); animation-delay: 0s; }
.egg-char-spaceman { background-image: var(--doodle-spaceman); animation-delay: calc(var(--egg-fly-duration, 14s) * -1); }
.egg-char-family { background-image: var(--doodle-family); }
.egg-char-frog { background-image: var(--doodle-frog); }
.egg-char-duck { background-image: var(--doodle-duck); }
.egg-char-snowman { background-image: var(--doodle-snowman); }
.egg-char-reindeer { background-image: var(--doodle-reindeer); animation-delay: calc(var(--egg-fly-duration, 14s) * -1); }
.egg-char-santa-rocket { background-image: var(--doodle-santa-rocket); animation-delay: calc(var(--egg-fly-duration, 14s) * -2); }

/* Ground band: sits on the playground grass, above the caption and the footer links. */
.egg-ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2.15rem;
  height: 5.6rem;
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
}
.pg-ground-wrap:has(.playground-ground.is-simple) .egg-ground {
  height: 5.2rem;
  bottom: 2.2rem;
}
@media (min-width: 800px) {
  .egg-ground { height: 6.4rem; bottom: 2.25rem; }
  .pg-ground-wrap:has(.playground-ground.is-simple) .egg-ground {
    height: 5.9rem;
    bottom: 2.3rem;
  }
}
.egg-ground .egg-char,
.egg-house-still {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 5.6rem;
  height: 100%;
  background-position: center bottom;
}
.egg-char-family { width: 7.4rem; }
.egg-char-snowman { width: 5.2rem; }
.egg-house-still {
  left: 8%;
  width: auto;
  height: 100%;
  aspect-ratio: 180 / 200;
  background-image: var(--doodle-house-still);
  animation: egg-turn-5 var(--egg-cycle-all-year) linear infinite;
  animation-delay: calc(var(--egg-fly-duration, 14s) * -2);
}
.pg-ground-wrap:has(.pg-house) .egg-house-still { display: none; }
.pg-ground-wrap:has(.playground-ground.is-simple) .egg-house-still { left: 22%; }

.egg-char-family {
  animation:
    egg-turn-5 var(--egg-cycle-all-year) linear infinite,
    egg-walk var(--egg-fly-duration, 14s) linear infinite;
  animation-delay: calc(var(--egg-fly-duration, 14s) * -2), 0s;
}
.egg-char-frog {
  animation:
    egg-turn-5 var(--egg-cycle-all-year) linear infinite,
    egg-hop var(--egg-fly-duration, 14s) linear infinite;
  animation-delay: calc(var(--egg-fly-duration, 14s) * -3), 0s;
}
.egg-char-duck {
  animation:
    egg-turn-5 var(--egg-cycle-all-year) linear infinite,
    egg-waddle var(--egg-fly-duration, 14s) linear infinite;
  animation-delay: calc(var(--egg-fly-duration, 14s) * -4), 0s;
}
.egg-char-snowman {
  animation:
    egg-turn-3 var(--egg-cycle-winter) linear infinite,
    egg-slide var(--egg-fly-duration, 14s) linear infinite;
  animation-delay: 0s, 0s;
}
html[data-season="winter"] .egg-char-reindeer,
html[data-season="winter"] .egg-char-santa-rocket {
  animation-name: egg-turn-3;
  animation-duration: var(--egg-cycle-winter);
}

/* Visible characters in their slot are the only tap/keyboard-adjacent targets. */
.egg-char,
.egg-house-still { pointer-events: none; }

@keyframes egg-turn-5 {
  0%, 19.99% { opacity: 1; visibility: visible; pointer-events: auto; }
  20%, 100% { opacity: 0; visibility: hidden; pointer-events: none; }
}
@keyframes egg-turn-3 {
  0%, 33.32% { opacity: 1; visibility: visible; pointer-events: auto; }
  33.33%, 100% { opacity: 0; visibility: hidden; pointer-events: none; }
}
@keyframes egg-walk {
  0% { transform: translateX(-8rem); }
  100% { transform: translateX(calc(100vw + 4rem)); }
}
@keyframes egg-hop {
  0% { transform: translate(-7rem, 0); }
  7% { transform: translate(4vw, -1.45rem); }
  14% { transform: translate(12vw, 0); }
  21% { transform: translate(20vw, -1.45rem); }
  28% { transform: translate(28vw, 0); }
  35% { transform: translate(36vw, -1.45rem); }
  42% { transform: translate(44vw, 0); }
  49% { transform: translate(52vw, -1.45rem); }
  56% { transform: translate(60vw, 0); }
  63% { transform: translate(68vw, -1.45rem); }
  70% { transform: translate(76vw, 0); }
  77% { transform: translate(84vw, -1.45rem); }
  84% { transform: translate(92vw, 0); }
  91% { transform: translate(100vw, -1.3rem); }
  100% { transform: translate(calc(100vw + 7rem), 0); }
}
@keyframes egg-waddle {
  0% { transform: translateX(-7rem) rotate(-10deg); }
  10% { transform: translateX(6vw) rotate(10deg); }
  20% { transform: translateX(16vw) rotate(-10deg); }
  30% { transform: translateX(26vw) rotate(10deg); }
  40% { transform: translateX(36vw) rotate(-10deg); }
  50% { transform: translateX(46vw) rotate(10deg); }
  60% { transform: translateX(56vw) rotate(-10deg); }
  70% { transform: translateX(66vw) rotate(10deg); }
  80% { transform: translateX(76vw) rotate(-10deg); }
  90% { transform: translateX(88vw) rotate(10deg); }
  100% { transform: translateX(calc(100vw + 7rem)) rotate(-8deg); }
}
@keyframes egg-slide {
  0% { transform: translateX(-8rem) rotate(-6deg); }
  12% { transform: translateX(8vw) rotate(6deg); }
  24% { transform: translateX(20vw) rotate(-6deg); }
  36% { transform: translateX(32vw) rotate(6deg); }
  48% { transform: translateX(44vw) rotate(-6deg); }
  60% { transform: translateX(56vw) rotate(6deg); }
  72% { transform: translateX(68vw) rotate(-6deg); }
  84% { transform: translateX(80vw) rotate(6deg); }
  100% { transform: translateX(calc(100vw + 8rem)) rotate(-4deg); }
}

/* JS pick: one character, correct band; CSS loop remains the no-JS fallback. */
html[data-egg-char] .egg-char,
html[data-egg-char] .egg-house-still {
  animation: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
html[data-egg-kind="ground"] .egg-fly { animation: none; }
html[data-egg-char="rocket"] .egg-char-rocket,
html[data-egg-char="spaceman"] .egg-char-spaceman,
html[data-egg-char="reindeer"] .egg-char-reindeer,
html[data-egg-char="santa-rocket"] .egg-char-santa-rocket {
  animation: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
html[data-egg-char="frog"] .egg-char-frog {
  animation: egg-hop var(--egg-fly-duration, 14s) linear infinite;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
html[data-egg-char="duck"] .egg-char-duck {
  animation: egg-waddle var(--egg-fly-duration, 14s) linear infinite;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
html[data-egg-char="snowman"] .egg-char-snowman {
  animation: egg-slide var(--egg-fly-duration, 14s) linear infinite;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
html[data-egg-char="house"] .egg-char-family {
  animation: egg-walk var(--egg-fly-duration, 14s) linear infinite;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
html[data-egg-char="house"] .egg-house-still {
  animation: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Winter snow: sparse crayon flakes, transform-only, decorative layers only */
html[data-season="winter"] .hero-play::before,
html[data-season="winter"] .hero-play::after,
html[data-season="winter"] .playground-sky::before,
html[data-season="winter"] .playground-sky::after,
html[data-season="winter"] .playground-ground::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -100%;
  height: 200%;
  z-index: 2;
  pointer-events: none;
  background-repeat: repeat;
  will-change: transform;
}
html[data-season="winter"] .hero-play::before,
html[data-season="winter"] .playground-sky::before {
  background-image: var(--doodle-snow);
  background-size: 280px 280px;
  opacity: 0.85;
  animation: snow-fall var(--motion-snow-a-duration) linear infinite;
}
html[data-season="winter"] .hero-play::after,
html[data-season="winter"] .playground-sky::after {
  background-image: var(--doodle-snow-fine);
  background-size: 220px 220px;
  opacity: 0.75;
  animation: snow-fall-alt var(--motion-snow-b-duration) linear infinite;
}
/* Keep hero snow in the doodle band so it never sits on type or artwork. */
html[data-season="winter"] .hero-play::before,
html[data-season="winter"] .hero-play::after {
  clip-path: inset(0 0 calc(100% - 6.4rem) 0);
}
@media (min-width: 800px) {
  html[data-season="winter"] .hero-play::before,
  html[data-season="winter"] .hero-play::after {
    clip-path: inset(0 0 calc(100% - 10rem) 0);
  }
}
html[data-season="winter"] .playground-ground::before {
  background-image: var(--doodle-snow-fine);
  background-size: 260px 260px;
  opacity: 0.55;
  animation: snow-fall var(--motion-snow-c-duration) linear infinite;
  z-index: 1;
}
@keyframes snow-fall {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(12px, 140px, 0); }
  100% { transform: translate3d(0, 280px, 0); }
}
@keyframes snow-fall-alt {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-10px, 110px, 0); }
  100% { transform: translate3d(0, 220px, 0); }
}


/* --- Playground ground (house, family, rainbow, spaceman, grass) --- */
.playground-ground {
  position: relative;
  z-index: 0;
  height: 12.25rem;
  overflow: hidden;
  pointer-events: none;
  margin-top: 0.5rem;
}
.pg-grass {
  left: 0;
  right: 0;
  bottom: 1.7rem;
  width: 100%;
  height: 3.6rem;
  object-fit: cover;
  object-position: bottom;
}
.pg-house {
  left: 3%;
  bottom: 2.05rem;
  width: min(18rem, 48vw);
}
.pg-rainbow {
  left: 42%;
  bottom: 4.1rem;
  width: min(13rem, 36vw);
  opacity: 0.9;
}
.pg-spaceman {
  right: 4%;
  bottom: 2.2rem;
  width: min(9.5rem, 28vw);
}
.ground-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.2rem;
  z-index: 1;
  pointer-events: auto;
  font-size: 0.8rem;
  max-width: none;
  text-align: center;
  margin: 0;
  opacity: 0.95;
}

/* --- .btn (chunky crayon, wiggle, squash) --- */
@keyframes wiggle {
  0%   { transform: rotate(0deg) scale(1); }
  30%  { transform: rotate(var(--motion-wiggle-tilt-a)) scale(var(--motion-wiggle-scale-a)); }
  60%  { transform: rotate(var(--motion-wiggle-tilt-b)) scale(var(--motion-wiggle-scale-b)); }
  100% { transform: rotate(-0.5deg) scale(var(--motion-wiggle-scale-end)); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.55rem 1.4rem 0.45rem;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--hand);
  font-weight: 400;
  font-size: 1.28rem;
  text-decoration: none;
  line-height: 1.15;
  border: 3px solid var(--ink);
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-crayon);
  cursor: pointer;
}
.btn:hover,
.btn:focus-visible {
  background: var(--yellow-hover);
  color: var(--ink);
  animation: wiggle var(--motion-wiggle-duration) ease-in-out both;
}
.btn:focus-visible { outline-color: var(--ink); }
.btn:active {
  animation: none;
  transform: scale(var(--motion-press-scale-x), var(--motion-press-scale-y));
  box-shadow: 2px 2px 0 var(--ink);
}
.btn:disabled,
.btn[disabled] {
  background: var(--disabled-bg);
  color: var(--disabled-ink);
  border-color: var(--disabled-ink);
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
  animation: none;
}
.btn-ghost {
  background: var(--paper-card);
  color: var(--ink);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--yellow);
  color: var(--ink);
}
.btn-red {
  background: var(--red);
  color: #fff;
}
.btn-red:hover,
.btn-red:focus-visible {
  background: var(--red-hover);
  color: #fff;
}
.btn-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-3);
  margin: var(--s-4) 0 0;
}

/* Bands no longer use flat colour blocks — they are just section spacing
   on the sketchbook. Classes are kept so existing markup still works. */
.band,
section.band,
.page-hero,
.hero {
  position: relative;
  background: transparent;
  color: var(--ink);
  padding: var(--s-5) 0;
}
.band-yellow,
.band-wash-yellow,
.band-pink,
.band-blue,
.band-green,
.band-violet,
.band-orange,
.band-paper,
.band-ink {
  background: transparent;
  color: var(--ink);
}
.band-ink a { text-decoration-color: var(--red); }

.wobble {
  border: 3px solid var(--ink);
  border-radius: var(--radius-wobble);
  background: var(--paper-card);
  box-shadow: 3px 4px 0 var(--ink);
}
.wobble-tight { box-shadow: var(--shadow-tight); }

/* --- Hero / page title --- */
.hero { padding: 7.6rem 0 1.35rem; overflow: hidden; }
.hero-grid { display: grid; gap: 1.25rem; }
.hero h1,
.page-hero h1 {
  margin: 0 0 0.15rem;
  font-family: var(--hand);
  font-weight: 400;
  font-size: clamp(2.4rem, 8.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: var(--tracking-tight);
  max-width: 14em;
}
.hero h1 .title-end,
.page-hero h1 .title-end { white-space: nowrap; }
.hero h1 .highlight {
  background-image: var(--mark-stroke-yellow);
  background-size: 100% 70%;
  background-repeat: no-repeat;
  background-position: center 80%;
  padding: 0 0.1em;
}
.hero h1 .rule,
.page-hero h1 .rule,
.section-head h2 .rule {
  display: block;
  width: 100%;
  max-width: 16rem;
  height: 0.48em;
  margin-top: 0.08em;
  background: var(--mark-underline-red) left center / 100% 100% no-repeat;
}
.section-head h2 .rule { max-width: none; }
.section-head h2 .rule.violet { background-image: var(--mark-underline-violet); }
.section-head h2 .rule.blue,
.page-hero h1 .rule.blue { background-image: var(--mark-underline-blue); }
.lede {
  margin: 0.7rem 0 0;
  font-size: clamp(1.08rem, 2.4vw, 1.28rem);
  line-height: 1.45;
  max-width: 40rem;
}
.turnaround { margin: 0.55rem 0 0; font-size: 1rem; font-weight: 700; }
.price-note { margin: 0.35rem 0 0; font-size: 0.98rem; }
.nowrap { white-space: nowrap; }
.ai-line {
  display: inline-block;
  width: fit-content;
  margin: 1rem 0 0;
  font-family: var(--hand);
  font-size: 1.15rem;
  background: var(--paper-card);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.2rem 0.9rem 0.1rem;
}

.page-hero { padding: 1.4rem 0 1rem; }
.page-hero h1 { font-size: clamp(2.1rem, 6vw, 3.2rem); }

/* --- .ba (before / after). Nothing is overlaid on the drawing. --- */
.ba { margin: 0; }
.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  align-items: end;
}
.ba-panel { margin: 0; }
.ba-frame {
  background: var(--paper-card);
  padding: 0.65rem;
}
.ba-panel figcaption {
  margin: 0.7rem 0 0;
  font-family: var(--hand);
  font-size: 1.15rem;
  text-align: center;
}
.ba-arrow { display: none; }
.ba-note,
.mark-caption {
  margin: 1rem auto 0;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 36rem;
}
.hand {
  font-family: var(--hand);
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  color: var(--red);
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-align: center;
  margin: 0 0 0.65rem;
}
.showcase-title {
  margin: 0 0 0.2rem;
  text-align: center;
  font-family: var(--hand);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --- Sections --- */
section { padding: var(--s-7) 0; }
section.band { padding: var(--s-7) 0; }
section[id], .page-hero { scroll-margin-top: 0.8rem; }
.section-head { text-align: center; margin: 0 0 1.25rem; position: relative; }
.section-head h2 {
  margin: 0;
  font-family: var(--hand);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: 0;
  display: inline-block;
  line-height: 1.15;
}
.section-kicker {
  font-family: var(--hand);
  font-size: 1.4rem;
  margin: 0 0 0.35rem;
  color: var(--red);
}
.section-head p { margin: 0.85rem auto 0; max-width: 34rem; }

/* --- .steps --- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-5);
}
.steps li {
  display: grid;
  grid-template-columns: 3.6rem 1fr;
  gap: 0.9rem 1rem;
  align-items: start;
  background: var(--paper-card);
  border: 3px solid var(--ink);
  border-radius: var(--radius-step);
  box-shadow: 3px 4px 0 var(--ink);
  padding: 1.1rem 1.15rem 1.2rem;
}
.steps li:nth-child(1) { transform: rotate(var(--tilt-step-1)); }
.steps li:nth-child(3) { transform: rotate(var(--tilt-step-3)); }
.step-num {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hand);
  font-size: 1.6rem;
  background: var(--mark-scribble-red) center / contain no-repeat;
}
.steps li:nth-child(2) .step-num {
  background-image: var(--mark-scribble-blue);
}
.steps h3 {
  margin: 0.35rem 0 0.35rem;
  font-size: 1.45rem;
  font-weight: 400;
  font-family: var(--hand);
}
.steps p { margin: 0; }

/* --- .tier-grid / paper cards with washi tape --- */
.tier-grid {
  display: grid;
  gap: var(--s-6) var(--s-5);
  align-items: stretch;
}
.tier-card {
  margin: 0;
  padding: 1.6rem 1.3rem 1.4rem;
  background: var(--paper-card);
  border: 3px solid var(--ink);
  border-radius: var(--radius-card);
  box-shadow: 4px 6px 0 var(--ink);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  position: relative;
}
.tier-standard { transform: rotate(var(--tilt-tier-standard)); }
.tier-featured { transform: rotate(var(--tilt-tier-featured)); }
.tier-keep { transform: rotate(var(--tilt-tier-keep)); }
.tier-card h3 {
  margin: 0;
  font-family: var(--hand);
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1.1;
}
.tier-card p { margin: 0; }
.tier-card .btn { margin-top: auto; align-self: stretch; }
.tape {
  position: absolute;
  width: 4.6rem;
  height: auto;
  z-index: 2;
  pointer-events: none;
}
.tape-tl { top: -0.85rem; left: 1.3rem; transform: rotate(var(--tilt-tape-tl)); }
.tape-tr { top: -0.7rem; right: 1.1rem; transform: rotate(var(--tilt-tape-tr)); }

.popular-sticker {
  position: absolute;
  top: -2.1rem;
  right: -0.85rem;
  width: 7.4rem;
  height: 7.4rem;
  margin: 0;
  padding: 2.35rem 1.15rem 0;
  background: var(--doodle-sticker-star) center / contain no-repeat;
  font-family: var(--hand);
  font-size: 1.05rem;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--ink);
  transform: rotate(var(--tilt-sticker));
  z-index: 3;
}
.tier-badge { display: none; }

.tier-price {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.35rem 0.7rem;
  margin: 0;
  font-family: var(--hand);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}
.tier-price .price-pair {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}
.tier-price .price-curr {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tier-price .price-amt { font-size: 2rem; font-weight: 400; line-height: 1.1; }
.tier-price .price-sep {
  font-size: 1.6rem;
  font-weight: 400;
  padding-bottom: 0.05rem;
}

/* --- Promise / two-up --- */
.promise-grid { display: grid; gap: var(--s-5); }
.promise {
  margin: 0;
  padding: 1.15rem 1.2rem 1.3rem;
  background: var(--paper-card);
  border: 3px solid var(--ink);
  border-radius: 1.8rem 1.2rem 2rem 1.4rem;
  box-shadow: 3px 4px 0 var(--ink);
}
.promise:nth-child(1) { transform: rotate(var(--tilt-promise-1)); }
.promise:nth-child(2) { transform: rotate(var(--tilt-promise-2)); }
.promise h3 {
  margin: 0 0 0.45rem;
  font-size: 1.45rem;
  font-weight: 400;
  font-family: var(--hand);
}
.promise p { margin: 0; }
.promise-mark { width: 2.6rem; height: auto; margin-bottom: 0.35rem; }

/* --- .faq --- */
.faq { max-width: var(--narrow); margin-inline: auto; }
.faq details {
  border: 3px solid var(--ink);
  border-radius: 1.4rem 1.1rem 1.6rem 1.2rem;
  background: var(--paper-card);
  box-shadow: 2px 3px 0 var(--ink);
  padding: 0.15rem 1rem 0.15rem;
  margin: 0 0 0.85rem;
}
.faq details:nth-child(odd) { transform: rotate(var(--tilt-faq-odd)); }
.faq details:nth-child(even) { transform: rotate(var(--tilt-faq-even)); }
.faq summary {
  cursor: pointer;
  font-family: var(--hand);
  font-size: 1.25rem;
  font-weight: 400;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--hand);
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--red);
  flex: 0 0 auto;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0.1rem 0 0.85rem; padding-right: 1.5rem; }

/* --- .buy-box --- */
.buy-box {
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.35rem 1.35rem;
  background: var(--paper-card);
  border: 3px solid var(--ink);
  border-radius: 1.8rem 1.3rem 2rem 1.4rem;
  box-shadow: 3px 4px 0 var(--ink);
  max-width: 28rem;
}
.buy-box .price-label {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.buy-box .price {
  margin: 0.35rem 0 0.9rem;
  font-family: var(--hand);
  font-size: 1.7rem;
  font-weight: 400;
}
.buy-box .btn { width: 100%; }
.pay-note { margin: 0.75rem 0 0; font-size: 0.9rem; }

/* --- Revisions and Refund Waiver callout --- */
.rules-callout {
  margin: 2.2rem auto 0;
  max-width: 46rem;
  padding: 1.15rem 1.3rem 1.25rem;
  background: var(--paper-card);
  border: 3px solid var(--ink);
  border-radius: 1.8rem 1.3rem 2rem 1.4rem;
  box-shadow: 3px 4px 0 var(--ink);
  transform: rotate(var(--tilt-buy));
}
.rules-callout h2,
.rules-callout h3 {
  margin: 0 0 0.55rem;
  font-family: var(--hand);
  font-size: 1.5rem;
  font-weight: 400;
}
.rules-callout ul { margin: 0; padding-left: 1.2rem; }
.rules-callout li { margin: 0 0 0.4rem; }

/* --- .prose (legal / guides) --- */
.prose { max-width: var(--narrow); }
.prose h2 {
  margin: 2.1rem 0 0.7rem;
  font-family: var(--hand);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
}
.prose h3 {
  margin: 1.4rem 0 0.45rem;
  font-family: var(--hand);
  font-size: 1.3rem;
  font-weight: 400;
}
.prose p, .prose li { margin: 0 0 0.75rem; }
.prose ul, .prose ol { margin: 0 0 0.9rem; padding-left: 1.2rem; }
.prose li { margin-bottom: 0.35rem; }
.prose blockquote {
  margin: 0 0 1rem;
  padding: 0.6rem 1rem;
  background: var(--paper-card);
  border: 3px solid var(--ink);
  border-radius: 1.4rem 1rem 1.6rem 1.2rem;
}
.prose blockquote p { margin: 0; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1.1rem 0 1.4rem;
}
.prose th, .prose td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.8rem 0.55rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
}
.prose th { font-weight: 700; }
.prose .table-wrap { overflow-x: auto; margin: 1.1rem 0 1.4rem; }
.prose .table-wrap table { margin: 0; }
.legal-meta { font-size: 0.92rem; margin: 0 0 1.5rem; }

/* --- Thank-you --- */
.thanks { max-width: 38rem; padding: 2.25rem 0 3.5rem; }
.thanks h1 {
  margin: 0 0 0.8rem;
  font-family: var(--hand);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: 0;
}
.steps-email {
  margin: 1.5rem 0;
  padding: 1.1rem 1.2rem;
  background: var(--paper-card);
  border: 3px solid var(--ink);
  border-radius: 1.6rem 1.2rem 1.8rem 1.3rem;
  box-shadow: 3px 4px 0 var(--ink);
}
.steps-email h2 {
  margin: 0 0 0.7rem;
  font-family: var(--hand);
  font-size: 1.4rem;
  font-weight: 400;
}
.steps-email ol { margin: 0; padding-left: 1.2rem; }
.email-address { font-weight: 700; word-break: break-word; }

.photo-tips { display: grid; gap: var(--s-4); }
.photo-tips dt { font-weight: 700; margin: 0; }
.photo-tips dd { margin: 0.2rem 0 0.8rem; }

.closing { text-align: center; }
.closing .lede { margin-inline: auto; }
.closing .btn-row { align-items: center; justify-content: center; }

/* --- Coming soon --- */
.coming-soon {
  min-height: 55vh;
  display: grid;
  align-content: center;
  text-align: center;
  padding: 2.5rem 0 3.5rem;
}
.coming-soon h1 {
  margin: 0 auto 0.6rem;
  font-family: var(--hand);
  font-weight: 400;
  font-size: clamp(2.4rem, 8vw, 3.8rem);
  letter-spacing: 0;
  max-width: 16em;
}
.coming-soon .lede { margin-inline: auto; }
.coming-soon .btn-row { justify-content: center; align-items: center; }

/* --- footer.site --- */
footer.site {
  position: relative;
  z-index: 1;
  padding: 2.4rem 0 2.75rem;
  margin-top: 0;
  background-color: var(--paper);
  background-image: var(--paper-texture);
  background-size: 240px 240px;
  color: var(--ink);
  border-top: 3px solid var(--ink);
}
.footer-inner {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
  display: grid;
  gap: 1.25rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand img.icon { width: 3rem; height: 3rem; }
.footer-brand p { margin: 0; font-family: var(--hand); font-size: 1.4rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.98rem;
  font-weight: 600;
}
.draft-note { margin: 0.5rem 0 0; font-size: 0.85rem; max-width: 42rem; }

@media (max-width: 799px) {
  header.site { position: static; }
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.45rem 0.75rem;
    padding: 0.55rem 0 0.8rem;
  }
  .logo {
    grid-column: 1 / -1;
    grid-row: 1;
    flex: none;
    max-width: 100%;
  }
  .header-inner > .btn {
    grid-column: 2;
    grid-row: 2;
    padding: 0.4rem 0.9rem;
    min-height: 2.75rem;
    font-size: 1.1rem;
  }
  nav.site-nav {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 0.25rem 0.7rem;
    font-size: 1.1rem;
  }
  .pg-cloud-2, .pg-star-2 { display: none; }
  .playground-sky { height: 6.2rem; }
  .playground-ground { height: 11.5rem; }
  .pg-spaceman { width: 22vw; }
  .popular-sticker { right: -0.2rem; top: -1.7rem; width: 6.4rem; height: 6.4rem; padding-top: 2rem; font-size: 0.95rem; }
}

@media (min-width: 800px) {
  body { font-size: var(--text-lg); }
  .hero { padding: 9.5rem 0 1.5rem; }
  .page-hero { padding: 1.6rem 0 1.2rem; }
  .hero-grid {
    grid-template-columns: minmax(20rem, 26rem) minmax(0, 1fr);
    gap: 1.4rem;
    align-items: start;
  }
  .hero-copy { display: block; }
  .hero-copy h1 { font-size: clamp(2.2rem, 3.6vw, 3.15rem); max-width: none; }
  .ba-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 0.75rem;
    align-items: center;
  }
  .ba-arrow {
    display: block;
    width: 3.4rem;
    align-self: center;
    margin-top: -1.6rem;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
  }
  .steps li {
    grid-template-columns: 1fr;
    justify-items: start;
    min-height: 100%;
  }
  .steps.steps-long { grid-template-columns: 1fr; }
  .steps.steps-long li { grid-template-columns: 3.5rem 1fr; }
  .tier-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem;
    align-items: stretch;
    padding-top: 1rem;
  }
  .tier-featured { z-index: 1; }
  .promise-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
  }
  section,
  section.band { padding: 2.15rem 0; }
  section[id], .page-hero { scroll-margin-top: 8.5rem; }
  .header-inner { padding: 0.85rem 0 1rem; }
  .logo { width: min(52rem, 100%); max-width: 52rem; }
  .buy-box { padding: 1.5rem 1.6rem 1.6rem; }
  .btn-row { flex-direction: row; flex-wrap: wrap; }
  .playground-sky { height: 9rem; }
  .playground-ground { height: 13.5rem; }
  .pg-house { width: min(24rem, 40vw); }
  .pg-rainbow { width: min(20rem, 36vw); }
  .pg-spaceman { width: min(14rem, 24vw); }
}

@media (min-width: 800px) and (prefers-reduced-motion: reduce) {
  .tier-standard, .tier-featured, .tier-keep { transform: none; }
}

/* --- Accessible hide (and newsletter honeypot) --- */
.visually-hidden,
.newsletter-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Newsletter sign-up --- */
.newsletter { position: relative; margin: 0; }
.newsletter-block { margin: 0 auto; max-width: 36rem; }
.newsletter-block h2 { margin: 0 0 0.6rem; font-family: var(--hand); font-weight: 400; }
.newsletter-intro,
.newsletter-aside { margin: 0 0 1rem; font-size: 0.95rem; }
.newsletter-compact {
  margin: 1.5rem 0 0;
  padding: 1.15rem 0 0;
  border-top: 3px solid var(--ink);
  max-width: 40rem;
}
.newsletter-compact h2 {
  margin: 0 0 0.35rem;
  font-family: var(--hand);
  font-size: 1.4rem;
  font-weight: 400;
}
.newsletter-fields { display: grid; gap: 0.75rem; }
.newsletter label {
  display: block;
  margin: 0 0 0.25rem;
  font-weight: 700;
  font-size: 0.9rem;
}
.newsletter .field { margin: 0; }
.newsletter input[type="email"],
.newsletter input[type="text"] {
  display: block;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.4rem 0.7rem;
  border: 3px solid var(--ink);
  border-radius: 0.9rem 1.2rem 0.8rem 1.1rem;
  background: var(--paper-card);
  color: var(--ink);
  font: inherit;
}
.newsletter input[type="email"]:focus-visible,
.newsletter input[type="text"]:focus-visible,
.newsletter input[type="checkbox"]:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}
.newsletter-consent {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin: 0.9rem 0 0;
  min-height: 2.75rem;
}
.newsletter-consent input[type="checkbox"] {
  flex: 0 0 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
  accent-color: var(--ink);
}
.newsletter-consent label {
  font-weight: 500;
  font-size: 0.92rem;
  margin: 0;
  cursor: pointer;
}
.newsletter .btn { margin-top: 0.9rem; }
.newsletter-aside { margin: 0.7rem 0 0; }
.newsletter-error {
  display: none;
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.7rem;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  background: var(--paper-card);
  font-size: 0.92rem;
}
.newsletter:has(:user-invalid) .newsletter-error { display: block; }
@media (min-width: 800px) {
  .newsletter-compact .newsletter-fields {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

/* --- Private order page --- */
.demo-banner {
  margin: 0;
  padding: 0.55rem 1rem;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  border-bottom: 3px solid var(--ink);
}
.order-page { padding: 1.75rem 0 3rem; }
.order-page .order-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.order-page h1 { margin: 0 0 0.6rem; font-family: var(--hand); font-weight: 400; }
.order-lede, .order-demo-note { margin: 0 0 1rem; max-width: 40rem; }
.order-demo-note {
  padding: 0.7rem 0.85rem;
  border: 3px solid var(--ink);
  border-radius: 1.2rem;
  background: var(--paper-card);
  font-size: 0.95rem;
}
.order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.25rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}
.order-meta li { margin: 0; }
.order-meta dt, .order-meta .lbl {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.order-status {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}
.order-timeline { margin: 0 0 2.25rem; padding: 0; list-style: none; }
.order-timeline h2 { margin: 0 0 0.85rem; font-family: var(--hand); font-weight: 400; }
.order-timeline ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
@media (min-width: 800px) {
  .order-timeline ol { grid-template-columns: repeat(6, 1fr); gap: 0.75rem; }
}
.order-timeline li {
  position: relative;
  margin: 0;
  padding: 0.7rem 0.75rem 0.8rem;
  border: 2px solid color-mix(in srgb, var(--ink) 35%, transparent);
  border-radius: 1.1rem;
  background: var(--paper-card);
}
.order-timeline li[data-state="done"] { border-color: var(--ink); }
.order-timeline li[data-state="current"] {
  border-color: var(--ink);
  border-width: 3px;
  background: #FFE56A;
}
.order-timeline .tl-step {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.25rem;
}
.order-timeline h3 { margin: 0 0 0.2rem; font-size: 1rem; }
.order-timeline p { margin: 0; font-size: 0.9rem; }
.order-grid { display: grid; gap: 1.5rem; margin: 0 0 2.25rem; }
@media (min-width: 900px) {
  .order-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.order-panel {
  margin: 0;
  padding: 1.15rem 1.2rem 1.3rem;
  border: 3px solid var(--ink);
  border-radius: 1.5rem 1.2rem 1.7rem 1.3rem;
  background: var(--paper-card);
}
.order-panel h2 { margin: 0 0 0.7rem; font-family: var(--hand); font-weight: 400; }
.order-panel .hint { margin: 0 0 0.9rem; font-size: 0.95rem; }
.order-file {
  margin: 0 0 1rem;
  padding: 0.65rem 0.75rem;
  border: 2px solid color-mix(in srgb, var(--ink) 30%, transparent);
  border-radius: 1rem;
}
.order-file p { margin: 0; }
.order-file .file-name { font-weight: 700; }
.upload-drop {
  margin: 0 0 0.9rem;
  padding: 0.9rem 0.85rem;
  border: 3px dashed var(--ink);
  border-radius: 1.2rem;
  background: var(--paper-card);
}
.upload-drop label { font-weight: 700; }
.upload-drop input[type="file"] {
  display: block;
  width: 100%;
  min-height: 2.75rem;
  margin: 0.4rem 0 0.35rem;
  padding: 0.45rem 0;
  font: inherit;
}
.order-preview-frame {
  margin: 0 0 0.7rem;
  background: var(--paper-card);
  min-height: 12rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-preview-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 28rem;
  object-fit: contain;
}
.order-thread { margin: 0 0 2rem; }
.order-thread h2 { margin: 0 0 0.7rem; font-family: var(--hand); font-weight: 400; }
.thread {
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}
.thread li {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border: 2px solid color-mix(in srgb, var(--ink) 30%, transparent);
  border-radius: 1.1rem;
  background: var(--paper-card);
}
.thread li[data-from="studio"] { border-color: var(--ink); }
.thread .who {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
}
.thread .who strong { font-weight: 700; }
.thread p { margin: 0; }
.compose label { display: block; font-weight: 700; margin: 0 0 0.3rem; }
.compose textarea {
  display: block;
  width: 100%;
  min-height: 6.5rem;
  padding: 0.5rem 0.7rem;
  border: 3px solid var(--ink);
  border-radius: 1.1rem;
  background: var(--paper-card);
  color: var(--ink);
  font: inherit;
  resize: vertical;
}
.compose textarea:focus-visible,
.upload-drop input[type="file"]:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}
.compose .btn { margin-top: 0.75rem; }

.newsletter-soon { margin: 0.4rem 0 0; font-size: 0.92rem; }
.newsletter button[disabled] { cursor: not-allowed; }

/* Pre-checkout consent (native HTML; no JS). The submit control is enabled
   visually only when every required checkbox is ticked. The required
   attribute also blocks submit if CSS :has() is unavailable. */
.checkout-form {
  max-width: 42rem;
  margin: 1.5rem 0 0;
}
.checkout-form fieldset {
  border: 3px solid var(--ink);
  border-radius: 1.6rem 1.2rem 1.8rem 1.3rem;
  padding: 0.85rem 1.1rem 0.35rem;
  margin: 0 0 1.25rem;
  background: var(--paper-card);
}
.checkout-form legend { font-family: var(--hand); font-size: 1.3rem; font-weight: 400; padding: 0 0.4rem; }
.checkout-form .consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 0 1rem;
  min-height: 2.75rem;
}
.checkout-form .consent-row input[type="checkbox"] {
  flex: 0 0 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.2rem;
  accent-color: var(--ink);
}
.checkout-form .consent-row label { font-size: 1rem; line-height: 1.45; }
.checkout-form .upload-drop { margin: 0 0 1.25rem; }
.checkout-currency { margin: 0 0 1.15rem; font-weight: 600; }
.checkout-form .checkout-submit { display: inline-flex; }
.checkout-hint { display: none; margin: 0.5rem 0 0; font-size: 0.95rem; }
@supports selector(:has(*)) {
  .checkout-form:has(input[name="waiver"]):not(:has(input[name="waiver"]:checked)) .checkout-submit,
  .checkout-form:not(:has(input[name="terms"]:checked)) .checkout-submit {
    background: #E8E6E3;
    color: #1A1918;
    cursor: not-allowed;
    pointer-events: none;
    animation: none;
    box-shadow: none;
  }
  .checkout-form:has(input[name="waiver"]):not(:has(input[name="waiver"]:checked)) .checkout-hint,
  .checkout-form:not(:has(input[name="terms"]:checked)) .checkout-hint {
    display: block;
  }
  /* Cards & Invites has no drawing upload. Pet Caricature uses the pet photo box
     instead. Without :has(), both boxes stay visible with their hints. */
  .checkout-form:has(#tier-cards:checked) #checkout-upload,
  .checkout-form:has(#tier-pet:checked) #checkout-upload {
    display: none;
  }
  .checkout-form:has(input[name="tier"]:checked):not(:has(#tier-pet:checked)) #checkout-upload-pet {
    display: none;
  }
}
.checkout-note { margin: 1rem 0 0; font-size: 0.95rem; }
.newsletter fieldset:disabled {
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
}
.newsletter fieldset:disabled input,
.newsletter fieldset:disabled button {
  background: #F3F3F3;
  border-color: #999;
  color: #4A4948;
  cursor: not-allowed;
}


/* --- Play 2: large hero doodles, wide Danny showcase, founder note --- */
.hero-play {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-play .hp { position: absolute; }
.hp-rainbow {
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 7.4rem;
  object-fit: contain;
  object-position: top center;
  opacity: 0.96;
}
.hp-sun {
  width: 6.8rem;
  top: 0.15rem;
  right: 2%;
}
.hp-cloud-1 {
  width: 7.2rem;
  top: 2.6rem;
  left: 10%;
  opacity: 0.9;
}
.hp-cloud-2 {
  width: 6rem;
  top: 1.1rem;
  right: 18%;
  opacity: 0.88;
}
.hp-star-1 { width: 2.8rem; top: 0.45rem; left: 5%; }
.hp-star-2 { width: 2.2rem; top: 0.7rem; left: 42%; }
.hp-star-3 { width: 2.5rem; top: 0.35rem; right: 16%; }
.hp-house,
.hp-spaceman { display: none; }
.hero-play .pg-rocket-fly,
.hero .egg-fly {
  width: 10.5rem;
  top: 1.15rem;
}
.hero .wrap,
.hero-copy,
.hero .ba {
  position: relative;
  z-index: 1;
}
.hero .ba,
.hero .ba-frame,
.hero .ba-panel {
  z-index: 2;
}

.ba-hero .showcase-title {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  margin: 0 0 0.15rem;
  text-transform: none;
  letter-spacing: 0;
}
.ba-note { max-width: 46rem; }

.play-break {
  position: relative;
  height: 9.5rem;
  overflow: hidden;
  pointer-events: none;
  padding: 0;
  margin: 0;
}
.play-break [class*="hp-"] {
  position: absolute;
  height: auto;
}
.play-break-house .hp-house-break {
  left: 4%;
  bottom: 0;
  width: min(20rem, 70vw);
}
.play-break-space .hp-space-break {
  right: 6%;
  bottom: 0.2rem;
  width: min(11rem, 46vw);
}
.play-break-space .hp-star-break {
  left: 12%;
  top: 1rem;
  width: 3.2rem;
}

/* Handwritten founder note on lined exercise paper */
.founder {
  padding: 2.8rem 0 2.2rem;
  scroll-margin-top: 7.5rem;
}
.note {
  position: relative;
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.1rem 1.8rem 1.4rem 3.4rem;
  background-color: var(--note-paper);
  background-image:
    linear-gradient(90deg, transparent 2.45rem, var(--note-margin) 2.45rem, var(--note-margin) 2.62rem, transparent 2.62rem),
    repeating-linear-gradient(
      to bottom,
      var(--note-paper) 0,
      var(--note-paper) 1.9rem,
      var(--note-line) 1.9rem,
      var(--note-line) 2rem
    );
  background-position: 0 0.55rem;
  border: 3px solid var(--ink);
  border-radius: var(--radius-note);
  box-shadow: var(--shadow-crayon);
  transform: rotate(var(--tilt-note));
  font-family: var(--hand);
  font-size: 1.35rem;
  line-height: 2rem;
  color: var(--ink);
}
.note h2 {
  margin: 0 0 0.7rem;
  font-family: var(--hand);
  font-weight: 400;
  font-size: 1.85rem;
  line-height: 2rem;
}
.note p { margin: 0 0 2rem; }
.note p:last-of-type { margin-bottom: 0.4rem; }
.note p.note-sign {
  display: block;
  margin: 0.15rem 0 0 auto;
  width: fit-content;
  font-family: var(--hand);
  font-size: 2.55rem;
  line-height: 1;
  color: var(--red);
  transform: rotate(-6deg);
}
.founder .tape-tl { left: 1.6rem; }
.founder .tape-tr { right: 1.8rem; }

@media (max-width: 799px) {
  .hero { padding: 6.8rem 0 1.1rem; }
  .hp-rainbow { height: 6.6rem; }
  .hp-sun { width: 5rem; }
  .hp-cloud-1, .hp-cloud-2 { width: 5.4rem; }
  .hero-play .pg-rocket-fly,
  .hero .egg-fly { width: 7.2rem; top: 0.85rem; }
  .hp-star-1, .hp-star-2, .hp-star-3 { width: 2.1rem; }
  .note { padding: 1.8rem 1.15rem 1.2rem 2.7rem; font-size: 1.22rem; line-height: 1.9rem; transform: none; }
  .note h2 { font-size: 1.55rem; }
}

.playground-ground.is-simple {
  height: 7.5rem;
}
.playground-ground.is-simple .pg-grass { bottom: 2.15rem; height: 4.6rem; }

@media (min-width: 800px) {
  .play-break { height: 12rem; }
  .play-break-house .hp-house-break { width: min(28rem, 42vw); left: 3%; }
  .play-break-space .hp-space-break { width: min(16rem, 24vw); right: 5%; }
  .play-break-space .hp-star-break { width: 4.5rem; left: 18%; top: 1.4rem; }
  .hero-play .pg-rocket-fly,
  .hero .egg-fly { width: 12rem; top: 1.35rem; }
  .hp-rainbow { height: 9.2rem; }
  .playground-ground.is-simple { height: 8.4rem; }
  .playground-ground.is-simple .pg-grass { bottom: 2.25rem; height: 5.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-play .pg-rocket-fly,
  .hero .egg-fly {
    animation: none !important;
    left: 1.5rem;
    top: 2rem;
    transform: rotate(var(--motion-rocket-from-rot));
  }
}

/* Beat section.band padding so the rainbow band stays above type and drawings. */
section.hero.band {
  padding: 6.8rem 0 1.1rem;
}
@media (min-width: 800px) {
  section.hero.band {
    padding: 11rem 0 1.5rem;
  }
  .hp-rainbow { height: 10.5rem; }
  .hero-play .pg-rocket-fly,
  .hero .egg-fly { top: 0.7rem; }
  .ba-hero .hand {
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
    margin-bottom: 0.4rem;
  }
}

/* --- Cards & Invites product (structural; look comes from age tokens) --- */
.price-tbc {
  display: inline-block;
  font-family: var(--hand);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
}
.invite-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin: 1.25rem 0 0;
}
.invite-card {
  position: relative;
  background: var(--paper-card);
  border: 3px solid var(--ink);
  border-radius: var(--radius-card, 1.25rem);
  box-shadow: var(--shadow-tight);
  padding: 1.1rem 1.1rem 1.2rem;
  transform: rotate(var(--tilt-tier, 0deg));
}
.invite-card h3 {
  font-family: var(--hand);
  font-size: 1.7rem;
  margin: 0 0 0.35rem;
  font-weight: 400;
}
.invite-card p { margin: 0; }
.invite-card .draft-template {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--violet);
}
.how-steps {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  counter-reset: how-step;
}
.how-steps li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 3.6rem;
  background: var(--paper-card);
  border: 3px solid var(--ink);
  border-radius: var(--radius-card, 1.25rem);
  counter-increment: how-step;
}
.how-steps li::before {
  content: counter(how-step);
  position: absolute;
  left: 0.7rem;
  top: 0.7rem;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  font-family: var(--hand);
  font-size: 1.35rem;
  background: var(--yellow);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 50%;
}
.how-steps h3 {
  margin: 0 0 0.2rem;
  font-family: var(--hand);
  font-size: 1.4rem;
  font-weight: 400;
}
.how-steps p { margin: 0; }
.sale-banner {
  background: var(--yellow);
  color: var(--ink);
  border-bottom: 3px solid var(--ink);
  text-align: center;
  font-family: var(--hand);
  font-size: 1.25rem;
  padding: 0.45rem 0.75rem;
}
.privacy-line {
  margin: 0.75rem 0 0;
  font-weight: 700;
}

@media (min-width: 800px) {
  .invite-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
  .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
