/* HeyFabLab. The whole page in the sticker-slap palette: cream paper, cobalt / orange / yellow / pink panels,
   cream pill tags, bold Outfit headlines, stickers. */
:root {
  --paper: #f1ece4;
  --paper-2: #e9e2d6;
  --cobalt: #4a6cf0;
  --cobalt-deep: #3553c9;
  --orange: #ff6a2b;
  --yellow: #ffd23f;
  --pink: #ffb6e1;
  --mint: #8af5dc;
  --sky: #9ab8ff;
  --ink: #141414;
  --cream: #f1ece4;
  --fg: var(--ink);
  --muted: #5e5a55;
  --line: rgba(20,20,20,.12);
  --red: var(--orange);
  --red-deep: #e65a1e;
  --purple: #a633d6; --blue: var(--cobalt); --green: #2fbf8a;
  --soft: #fff; --soft2: var(--paper-2); --card: #fff;
  --shadow: 0 1px 2px rgba(20,20,20,.06), 0 10px 30px rgba(20,20,20,.08);
  --shadow-lg: 0 24px 60px rgba(20,20,20,.18);
  --r: 20px; --r-lg: clamp(18px, 2.4vw, 32px);
  --gutter: clamp(10px, 1.2vw, 16px);
  --phone-w: min(380px, calc(100vw - 48px));
  --head: "Outfit", "Figtree", system-ui, sans-serif;
  --sans: "Figtree", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--fg); background: var(--paper); line-height: 1.45; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button { font: inherit; cursor: pointer; }
input { font: inherit; }
/* the header is sticky, so a jump to a section (#makers, #waitlist…) lands below it, not under it */
:root { --top-h: 64px; }
@media (max-width: 760px) { :root { --top-h: 60px; } }
main .panel { scroll-margin-top: calc(var(--top-h) + var(--gutter) + env(safe-area-inset-top)); }
.waitlist { scroll-margin-top: calc(var(--top-h) + 32px); }
/* keyboard focus: a ring in each panel's contrast colour (the prompt box glows as a whole; the footer has its own) */
:where(header.top, main) :focus-visible { outline: 3px solid var(--focus, var(--ink)); outline-offset: 3px; }
.make { --focus: var(--yellow); } .made { --focus: var(--cream); } .reel { --focus: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.display { font-family: var(--head); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 0; }
.accent { color: var(--orange); }
.sub { margin: 0; font-size: clamp(16px, 1.6vw, 18px); max-width: 60ch; opacity: .85; }
.section-head { display: grid; gap: 12px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 48px); }
/* the tag: a cream pill like the footer's */
.tag-pill { display: inline-block; padding: .3em .75em .34em; border-radius: 999px; background: var(--cream); color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .01em; }

/* header */
.top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px clamp(16px, 3vw, 32px); background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(12px);
}
.logo { font-family: "Gabarito", var(--head); font-weight: 800; font-size: 28px; letter-spacing: -.015em; text-decoration: none; color: var(--ink); display: inline-flex; gap: 12px; align-items: center; white-space: nowrap; }
.logo-img { display: block; height: 40px; width: auto; transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.logo:hover .logo-img { transform: translateY(-3px) rotate(-1.2deg); }
@media (max-width: 600px) { .logo-img { height: 32px; } }
@media (prefers-reduced-motion: reduce) { .logo:hover .logo-img { transform: none; } }
.lm { display: block; flex: none; }
.logo { position: relative; }
nav { display: flex; gap: 6px; align-items: center; }
nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; padding: 8px 12px; border-radius: 999px; transition: background .15s; }
nav a:not(.pill):hover { background: #fff; }
nav .pill { background: var(--ink); color: var(--cream); padding: 9px 16px; box-shadow: 0 3px 0 rgba(0,0,0,.35); transition: transform .12s, background .15s, box-shadow .12s; }
nav .pill:hover { background: var(--orange); transform: translateY(-1px); } nav .pill:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,.35); }
nav .ghost { box-shadow: inset 0 0 0 1.5px rgba(20,20,20,.25); padding: 8px 14px; }
nav .ghost:hover { background: var(--yellow); }
nav .pill.go { background: var(--cobalt); display: inline-flex; align-items: center; gap: 6px; }
nav .pill.go i { font-style: normal; transition: transform .2s; } nav .pill.go:hover i { transform: translateX(3px); }
.wb-link { position: relative; display: inline-flex; align-items: center; gap: 6px; margin: 14px 2px 0; color: var(--cream); font-weight: 700; font-size: 14px; text-decoration: none; opacity: .85; border-bottom: 1.5px solid rgba(241,236,228,.4); padding-bottom: 1px; transition: opacity .15s, border-color .15s; }
.wb-link::after { content: ""; position: absolute; inset: -11px 0; } /* a 44 px tap area without moving the underline */
.wb-link i { font-style: normal; transition: transform .2s; }
.wb-link:hover { opacity: 1; border-color: var(--yellow); } .wb-link:hover i { transform: translateX(3px); }
@media (max-width: 760px) { nav a:not(.pill) { display: none; } }
/* phones: the links the header has no room for are in a menu (44 px targets) */
.menu-btn { display: none; }
.top-menu[hidden] { display: none; }
@media (max-width: 760px) {
  .menu-btn { display: inline-grid; place-content: center; gap: 4px; width: 44px; height: 44px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(20,20,20,.18); }
  .menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  nav .pill { min-height: 44px; display: inline-flex; align-items: center; }
  .top-menu { position: absolute; top: calc(100% + 4px); right: 16px; left: 16px; display: grid; gap: 4px; padding: 8px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1.5px rgba(20,20,20,.08), 0 24px 60px rgba(20,20,40,.28); animation: top-menu-in .18s ease-out; }
  .top-menu a, .top-menu button { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border: 0; border-radius: 14px; background: transparent; color: var(--ink); font: 800 17px/1 var(--head); text-decoration: none; text-align: left; }
  .top-menu a:hover, .top-menu button:hover, .top-menu a:focus-visible, .top-menu button:focus-visible { background: var(--yellow); }
  .top-menu button[data-signin] { margin-top: 4px; justify-content: center; background: var(--ink); color: var(--cream); border-radius: 999px; }
}
.top-menu [hidden], .narrow-only { display: none; }
@media (max-width: 420px) { .wide-only { display: none; } .narrow-only { display: inline; } }
@keyframes top-menu-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .top-menu { animation: none; } }

/* every section is a rounded panel in the frame */
.panel { margin: 0 var(--gutter); border-radius: var(--r-lg); position: relative; overflow: hidden; }
.panel + .panel { margin-top: var(--gutter); }

/* 1. make: cobalt */
.make {
  background: var(--cobalt); color: var(--cream);
  display: grid; gap: 28px; align-items: center;
  padding: clamp(28px, 5vw, 72px) clamp(18px, 4vw, 56px);
  min-height: calc(100svh - 72px);
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: .3em .75em .34em; border-radius: 999px; background: var(--cream); color: var(--ink); font-size: 13px; font-weight: 700; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.6); opacity: .5; } }
.make h1 { font-size: clamp(44px, 6.6vw, 92px); margin-bottom: 18px; color: var(--cream); }
.make h1 .c1 { color: var(--cream); } .make h1 .c2 { color: var(--yellow); } .make h1 .c3 { color: var(--pink); } .make h1 .c4 { color: var(--mint); }
.make h1 .c3, .make h1 .c4 { text-shadow: 0 4px 0 rgba(0,0,0,.18); } .make h1 .c2 { text-shadow: 0 4px 0 rgba(0,0,0,.18); }
.make h1 .w { display: inline-block; opacity: 0; transform: translateY(.5em); animation: rise .7s cubic-bezier(.2,.8,.2,1) forwards; }
.make h1 .w:nth-of-type(1) { animation-delay: .05s } .make h1 .w:nth-of-type(2) { animation-delay: .11s } .make h1 .w:nth-of-type(3) { animation-delay: .17s }
.make h1 .w:nth-of-type(4) { animation-delay: .3s } .make h1 .w:nth-of-type(5) { animation-delay: .38s }
.make-copy { position: relative; z-index: 3; } /* the words and the prompt box sit over the slapped stickers, never under one */
@keyframes rise { to { opacity: 1; transform: none; } }
.settled .make h1 .w { opacity: 1; transform: none; animation: none; }
.chip-img { vertical-align: middle; width: .9em; height: .9em; border-radius: .3em; overflow: hidden; margin: 0 .05em; box-shadow: 0 0 0 4px var(--cream); transform: rotate(-6deg); transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.chip-img img, .chip-img model-viewer, .chip-img video { width: 100%; height: 100%; display: block; background: var(--yellow); border-radius: 0; object-fit: cover; }
/* the hero clip: the SECTOR 07 robot video, muted and looping. The 16:9 player is zoomed past the chip on every side,
   so its title bar, the notice YouTube lays over the top, the logo and captions fall outside; the robot in the middle shows. Not clickable. */
.chip-yt { position: relative; display: inline-block; width: 1.25em; height: 1.1em; border-radius: .26em; background: #111; }
.chip-yt iframe { position: absolute; top: 50%; left: 50%; width: 250%; height: 170%; transform: translate(-50%, -60%); border: 0; pointer-events: none; background: #111; }
.make h1:hover .chip-img { transform: rotate(6deg) scale(1.1); }
.settled .chip-img { animation: floaty 4s ease-in-out infinite; }
@keyframes floaty { 50% { translate: 0 -6px; } }
.lead { font-size: clamp(17px, 1.8vw, 20px); margin: 0 0 22px; max-width: 46ch; opacity: .9; }

.box {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 6px;
  background: var(--cream); color: var(--ink); border-radius: 999px; padding: 6px 6px 6px 20px;
  box-shadow: 0 10px 30px rgba(20,20,40,.25); transition: box-shadow .2s, transform .2s;
}
.box:focus-within { box-shadow: 0 0 0 4px rgba(255,210,63,.6), 0 18px 40px rgba(20,20,40,.3); transform: translateY(-1px); }
.box input { border: 0; outline: 0; background: transparent; color: var(--ink); font-size: clamp(16px, 1.9vw, 19px); font-weight: 600; min-width: 0; padding: 10px 0; }
.box input::placeholder { color: #8a847c; opacity: .55; translate: 0 0; transition: opacity .45s ease, translate .45s ease; }
.box input.ph-out::placeholder { opacity: 0; translate: 0 6px; }
@media (prefers-reduced-motion: reduce) { .box input::placeholder { transition: none; } }
.dice { border: 0; background: var(--yellow); border-radius: 50%; width: 44px; height: 44px; font-size: 20px; transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
.dice:hover { transform: rotate(-25deg) scale(1.08); }
.dice[disabled] { opacity: .5; }
.dice.rolling { animation: dice-roll .7s cubic-bezier(.34,1.56,.64,1); }
@keyframes dice-roll { 0% { transform: rotate(0) scale(1); } 45% { transform: rotate(-260deg) scale(1.3); } 100% { transform: rotate(-360deg) scale(1); } }
.box.rolled { animation: box-pop .45s cubic-bezier(.34,1.56,.64,1); }
@keyframes box-pop { 35% { transform: scale(1.02) rotate(-.6deg); } }
.box input.typing { caret-color: transparent; }
@media (prefers-reduced-motion: reduce) { .dice.rolling, .box.rolled { animation: none; } }
.bake { display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--ink); color: var(--cream); border-radius: 999px; font-weight: 800; font-size: 16px; padding: 0 18px 0 20px; height: 44px; box-shadow: 0 4px 0 rgba(0,0,0,.35); transition: transform .12s, background .15s, box-shadow .12s; }
.bake i { font-style: normal; transition: transform .2s; }
.bake:hover { background: var(--orange); transform: translateY(-1px); } .bake:hover i { transform: translateX(3px); }
.bake:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,.35); }
.bake[disabled] { opacity: .7; cursor: progress; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips button { border: 0; background: rgba(241,236,228,.16); color: var(--cream); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 13px; box-shadow: inset 0 0 0 1.5px rgba(241,236,228,.5); transition: transform .15s, background .15s, color .15s; }
.chips button:hover { background: var(--cream); color: var(--ink); transform: translateY(-2px) rotate(-1deg); }
.chips button.is-on { background: var(--yellow); color: var(--ink); box-shadow: none; }
.status { min-height: 1.4em; margin: 12px 2px 0; font-weight: 700; color: var(--yellow); }

.oven {
  position: relative; background: var(--cream); color: var(--ink); border-radius: var(--r); padding: 12px;
  display: flex; flex-direction: column; gap: 8px;
  aspect-ratio: 4 / 5; max-height: 72svh; width: 100%; max-width: 560px; justify-self: center;
  box-shadow: 0 30px 70px rgba(20,20,40,.3); transform: rotate(1.5deg); transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
@media (hover: hover) { .oven:hover { transform: rotate(0deg) translateY(-3px); } }
.oven-top { display: flex; justify-content: space-between; align-items: center; padding: 2px 6px; font-size: 12px; font-weight: 800; color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: .04em; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 1.4s infinite; }
.badge { background: var(--yellow); border-radius: 999px; padding: 4px 10px; color: var(--ink); }
.badge.real { background: var(--orange); color: #fff; }
model-viewer { width: 100%; height: 100%; background: #fff; --poster-color: #fff; border-radius: 14px; }
.oven > model-viewer { flex: 1 1 auto; min-height: 0; height: auto; }

/* the stage: a real desert highway (Unsplash, hotlinked). The photo is bottom-aligned so the asphalt runs under the robot's feet; a contact shadow sells the superposition. */
.oven > .stage { flex: 1 1 auto; min-height: 0; position: relative; border-radius: 14px; overflow: hidden; background: #5a4a44; }
.stage model-viewer { position: absolute; inset: 0; height: 100%; background: transparent; --poster-color: transparent; z-index: 1; }
.scene { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.scene i { position: absolute; display: block; }
.scene .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 82%; }
.scene .haze { inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 70%, rgba(30,20,20,.2) 100%); }
.scene .ground { left: 30%; right: 30%; bottom: 9%; height: 7%; border-radius: 50%; background: rgba(20,15,15,.55); filter: blur(8px); }
/* the moves (public/motion.js): the viewer and its ground shadow walk and hop by a transform; the pill names the move */
.stage model-viewer, .scene .ground { will-change: transform; }
.move-pill { position: absolute; left: 10px; bottom: 10px; z-index: 2; background: var(--cream); color: var(--ink); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 800; box-shadow: 0 2px 0 rgba(20,20,20,.12); pointer-events: none; }
.move-pill[hidden] { display: none; }

/* the bot switcher: cream chips under the stage. The active one is yellow, like the prompt chips. */
.bots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; padding: 0 2px; }
.bots[hidden] { display: none; }
.bots button { border: 0; background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 11px 6px 8px; font-size: 12.5px; font-weight: 800; display: inline-flex; align-items: center; gap: 5px; box-shadow: 0 2px 0 rgba(20,20,20,.12); transition: transform .15s, background .15s, box-shadow .15s; }
.bots button:hover { transform: translateY(-1px); background: var(--pink); }
.bots button.is-on { background: var(--yellow); box-shadow: none; transform: none; }
.bots button i { font-style: normal; font-size: 14px; }
.oven-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 6px; font-weight: 700; font-size: 14px; color: var(--muted); }
.post { border: 0; border-radius: 999px; background: var(--ink); color: var(--cream); padding: 8px 12px; font-weight: 800; font-size: 13px; box-shadow: 0 3px 0 rgba(0,0,0,.35); transition: transform .12s, background .15s, box-shadow .12s; }
.post:hover { background: var(--orange); transform: translateY(-1px); } .post:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,.35); }
.connect { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 6px 2px; border-top: 1.5px dashed var(--line); font-size: 13px; font-weight: 700; color: var(--muted); }
.connect[hidden] { display: none; }
.connect button { border: 0; border-radius: 999px; background: #fff; color: var(--ink); padding: 6px 11px; font-weight: 800; font-size: 12px; transition: transform .15s, background .15s; box-shadow: var(--shadow); }
.connect button:hover { transform: translateY(-1px) rotate(-2deg); }
.connect button.linked { background: var(--mint); }
.connect-note { width: 100%; font-size: 12px; font-weight: 500; }
@media (min-width: 900px) { .make { grid-template-columns: 1.05fr .95fr; gap: 56px; } }

/* workflow stepper, edit tools and the edit log inside the oven card */
.steps { list-style: none; margin: 0; padding: 0 4px 2px; display: flex; gap: 4px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.steps[hidden] { display: none; }
.steps li { flex: 1; text-align: center; padding: 5px 4px; border-radius: 999px; background: #fff; color: var(--muted); transition: background .3s, color .3s, transform .3s; }
.steps li.done { background: var(--mint); color: var(--ink); } .steps li.on { background: var(--ink); color: var(--cream); transform: translateY(-1px); }
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 6px 0; border-top: 1.5px dashed var(--line); }
.tools[hidden] { display: none; }
.tool { border: 0; border-radius: 999px; background: #fff; color: var(--ink); padding: 7px 12px; font-weight: 800; font-size: 13px; box-shadow: 0 3px 0 rgba(0,0,0,.18); transition: transform .12s, box-shadow .12s, background .15s; }
.tool:hover { transform: translateY(-1px); } .tool:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,.18); }
.tool.next { margin-left: auto; background: var(--orange); color: #fff; box-shadow: 0 3px 0 rgba(0,0,0,.3); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(3px); } }
.color-form { display: flex; gap: 4px; } .color-form[hidden] { display: none; }
.color-form input { border: 0; border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600; width: 190px; background: #fff; }
.color-form button { border: 0; border-radius: 999px; background: var(--ink); color: var(--cream); padding: 7px 12px; font-weight: 800; font-size: 13px; }
.edits { list-style: none; margin: 0; padding: 6px 8px 2px; display: grid; gap: 3px; font-size: 12px; font-weight: 600; color: var(--muted); max-height: 64px; overflow: auto; }
.edits[hidden] { display: none; }
.edits li { animation: rise .4s cubic-bezier(.2,.8,.2,1) both; } .edits li b { color: var(--ink); }
/* stage card extras: parts list, gauges, two phones */
.sc-parts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; align-self: center; }
.sc-parts li { display: flex; justify-content: space-between; gap: 8px; align-items: center; background: #fff; border-radius: 10px; padding: 8px 10px; font-size: 12px; font-weight: 700; opacity: .35; transition: opacity .3s, transform .3s; }
.sc-parts li.on { opacity: 1; transform: translateX(2px); } .sc-parts li .rec { font-size: 10px; background: var(--mint); color: var(--ink); border-radius: 999px; padding: 2px 7px; font-weight: 800; }
.sc-gauges { display: grid; gap: 10px; align-self: center; }
.sc-gauge { background: #fff; border-radius: 12px; padding: 10px 12px; display: grid; gap: 6px; font-size: 12px; font-weight: 800; }
.sc-gauge span { display: flex; justify-content: space-between; } .sc-gauge small { color: var(--muted); font-weight: 600; }
.sc-gauge i { display: block; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--cobalt), var(--mint)); width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.sc-gauge.on i { width: var(--w, 80%); } .sc-gauge .ok { color: var(--green); opacity: 0; transition: opacity .3s; } .sc-gauge.on .ok { opacity: 1; }
.sc-phones { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-self: center; }
.sc-phones .sc-phone { aspect-ratio: 9 / 16; } .sc-phones .sc-net { position: absolute; top: 8px; left: 8px; background: rgba(255,255,255,.92); color: var(--ink); border-radius: 999px; padding: 3px 8px; font-size: 10px; font-weight: 800; }
.sc-phones .sc-posted { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(20,20,20,.45); color: #fff; font-weight: 800; font-size: 13px; opacity: 0; transition: opacity .4s; } .stage-card.done .sc-posted { opacity: 1; }

/* generating state inside the oven card */
.gen { position: absolute; left: 12px; right: 12px; top: 72px; bottom: 100px; z-index: 4; border-radius: 14px; background: rgba(241,236,228,.9); backdrop-filter: blur(8px); display: grid; align-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; }
.gen[hidden] { display: none; }
.gen-ring { width: 64px; height: 64px; border-radius: 50%; border: 4px dashed var(--orange); animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.gen-stage { font-family: var(--head); font-weight: 800; font-size: 20px; }
.gen-bar { width: min(100%, 280px); height: 10px; border-radius: 999px; background: #fff; overflow: hidden; }
.gen-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--orange), var(--yellow)); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.gen-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; color: var(--muted); font-weight: 600; }
.gen-log li { animation: rise .4s cubic-bezier(.2,.8,.2,1) both; }
.gen-log li::before { content: "✓ "; color: var(--green); }
.tabs { display: inline-flex; gap: 2px; background: #fff; border-radius: 999px; padding: 3px; }
.tabs[hidden] { display: none; }
.tabs button { border: 0; background: transparent; border-radius: 999px; padding: 4px 12px; font-weight: 800; font-size: 12px; color: var(--muted); transition: background .15s, color .15s; }
.tabs button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.board-strip { display: flex; align-items: center; gap: 8px; padding: 4px 6px 0; font-size: 12px; color: var(--muted); font-weight: 700; animation: rise .5s cubic-bezier(.2,.8,.2,1) both; }
.board-strip[hidden] { display: none; }
.board-strip img { width: 54px; height: 54px; object-fit: cover; border-radius: 10px; background: #fff; box-shadow: var(--shadow); }
.board-strip a { color: var(--orange); }
model-viewer.dim { filter: blur(6px) saturate(.6); opacity: .5; transition: filter .6s, opacity .6s; }

/* demo stage card: posting + shopfront, inside the oven */
.stage-card { position: absolute; left: 12px; right: 12px; top: 72px; bottom: 100px; z-index: 4; border-radius: 14px; background: var(--cream); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; overflow: hidden; animation: rise .5s cubic-bezier(.2,.8,.2,1) both; }
.stage-card[hidden] { display: none; }
.stage-card.done { cursor: pointer; }
.sc-side { display: grid; align-content: center; gap: 10px; }
.sc-title { font-family: var(--head); font-weight: 800; font-size: 18px; }
.sc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.sc-steps li::before { content: "○ "; } .sc-steps li.on::before { content: "✓ "; color: var(--green); } .sc-steps li.on { color: var(--ink); }
.sc-bar { height: 10px; border-radius: 999px; background: #fff; overflow: hidden; } .sc-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), var(--yellow)); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.sc-done { font-size: 12px; font-weight: 800; color: var(--green); opacity: 0; transition: opacity .3s; } .stage-card.done .sc-done { opacity: 1; }
.sc-phone { position: relative; border-radius: 18px; background: #000; overflow: hidden; aspect-ratio: 9 / 16; align-self: center; box-shadow: var(--shadow-lg); }
.sc-phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.sc-cap { position: absolute; left: 10px; right: 10px; bottom: 12px; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.7); font-size: 12px; display: grid; gap: 2px; } .sc-cap b { font-size: 13px; }
.sc-hearts { position: absolute; right: 8px; bottom: 60px; color: var(--orange); font-size: 18px; letter-spacing: 4px; writing-mode: vertical-rl; opacity: 0; } .stage-card.done .sc-hearts { animation: bigheart 1.2s ease both; opacity: 1; }
.sc-shop { background: #fff; border-radius: 14px; padding: 12px; display: grid; gap: 10px; align-self: center; box-shadow: var(--shadow); }
.sc-shop-head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 800; }
.sc-logo { font-family: var(--head); font-size: 14px; } .sc-pill { background: var(--paper); border-radius: 999px; padding: 3px 8px; }
.sc-product { display: grid; gap: 8px; } .sc-product img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--paper); }
.sc-name { font-family: var(--head); font-weight: 800; font-size: 15px; line-height: 1.15; } .sc-price { font-weight: 800; font-size: 14px; } .sc-price i { font-style: normal; font-weight: 600; color: var(--muted); font-size: 12px; }
.sc-meta { font-size: 11px; color: var(--muted); font-weight: 600; }
.sc-buy { border: 0; background: var(--ink); color: var(--cream); border-radius: 999px; padding: 8px 12px; font-weight: 800; font-size: 13px; justify-self: start; }
@media (max-width: 520px) { .stage-card { grid-template-columns: 1fr; } .sc-phone { max-height: 46%; aspect-ratio: auto; } }

/* confetti */
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 5; }
.confetti i { position: absolute; top: -10px; width: 8px; height: 14px; border-radius: 2px; animation: fall 1.8s ease-in forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); opacity: 0; } }

/* 1b. makers: pink panel. A row of maker reels, each with a shop chip under it. */
/* made here: real listings from the maker API (made-here.js) */
.madehere { background: var(--mint); color: var(--ink); padding: clamp(28px, 5vw, 64px) clamp(18px, 4vw, 56px); }
.madehere[hidden] { display: none; }
.mh-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.mh-tile { display: grid; background: #fff; border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 0 2px 0 rgba(20,20,20,.12); transition: transform .18s; }
.mh-tile:hover { transform: translateY(-3px) rotate(-.6deg); }
.mh-tile .pic { aspect-ratio: 1; background: var(--paper-2); overflow: hidden; }
.mh-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mh-tile .meta { padding: 12px 14px 14px; display: grid; gap: 2px; }
.mh-tile b { font-family: var(--head); font-size: 18px; } .mh-tile .meta > span { font-size: 13.5px; color: var(--muted); }
.mh-tile .meta > .price { font-family: var(--head); font-weight: 800; color: var(--ink); font-size: 16px; }
.mh-more { margin: 20px 0 0; } .mh-more .pill { display: inline-flex; min-height: 48px; align-items: center; padding: 0 20px; border-radius: 999px; background: var(--ink); color: var(--cream); font-weight: 800; text-decoration: none; }
.makers { background: var(--pink); color: var(--ink); padding: clamp(28px, 4vw, 48px) 0 clamp(20px, 3vw, 36px); }
.makers .section-head { padding: 0 clamp(18px, 4vw, 56px); }
.maker-row { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px clamp(18px, 4vw, 56px) 28px; scrollbar-width: none; }
.maker-row::-webkit-scrollbar { display: none; }
.maker { flex: 0 0 auto; width: 264px; scroll-snap-align: start; background: #fff; border-radius: 22px; padding: 8px; display: grid; gap: 8px; box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; --c: var(--orange); }
.maker.show:nth-child(odd) { transform: rotate(-1.2deg); } .maker.show:nth-child(even) { transform: rotate(1.2deg); }
@media (hover: hover) { .maker.show:hover { transform: translateY(-6px) rotate(0deg); box-shadow: var(--shadow-lg); } } /* a tap would leave a card lifted */
.maker .clip { position: relative; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: var(--ink); }
.maker .thumb, .maker .clip iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.maker .thumb { object-fit: cover; } .maker .thumb.wide { object-fit: contain; }
.maker .clip iframe { pointer-events: none; background: transparent; opacity: 0; transition: opacity .3s; }
.maker.playing .clip iframe { opacity: 1; }
.maker .who { position: absolute; left: 8px; top: 8px; display: inline-flex; flex-direction: column; gap: 1px; padding: 6px 10px; border-radius: 12px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 12px; line-height: 1.15; max-width: calc(100% - 56px); }
.maker .who b { font-family: var(--head); font-weight: 800; font-size: 13px; }
.maker .who span { color: var(--muted); font-weight: 600; }
.maker .snd { position: absolute; right: 8px; top: 8px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); font-size: 15px; display: grid; place-items: center; transition: transform .15s; }
.maker .snd:hover { transform: scale(1.08); }
.maker.sound .snd { background: var(--yellow); }
.maker .orig { position: absolute; right: 8px; bottom: 8px; padding: 4px 9px; border-radius: 999px; background: rgba(20,20,20,.55); color: #fff; font-size: 11px; font-weight: 700; text-decoration: none; opacity: 0; transition: opacity .2s; }
.maker:hover .orig, .maker:focus-within .orig { opacity: 1; }
@media (hover: none) { .maker .orig { opacity: 1; } .maker .snd { width: 44px; height: 44px; } }
.maker .orig::before { content: ""; position: absolute; inset: -10px -6px; } /* the pill stays small; the tap area is 44 px */
.maker .clip:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.maker .reel-title { position: absolute; left: 10px; right: 70px; bottom: 8px; margin: 0; color: #fff; font-weight: 700; font-size: 13px; line-height: 1.25; text-shadow: 0 1px 2px rgba(0,0,0,.6), 0 0 14px rgba(0,0,0,.4); }
.maker .clip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(180deg, transparent, rgba(0,0,0,.55)); pointer-events: none; }
.maker .reel-title, .maker .orig, .maker .snd, .maker .who { z-index: 2; }
.shop-chip { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "img text" "buy buy"; align-items: center; gap: 10px; padding: 8px 8px 8px 8px; border-radius: 16px; background: var(--cream); color: var(--ink); text-decoration: none; transition: background .15s; }
.shop-chip .p-img { width: 42px; height: 42px; border-radius: 12px; background: var(--c); object-fit: cover; object-position: 50% 40%; }
.shop-chip .p-text { display: grid; line-height: 1.15; min-width: 0; }
.shop-chip .p-name { font-family: var(--head); font-weight: 800; font-size: 14px; line-height: 1.1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop-chip .p-price { font-size: 12px; font-weight: 700; color: var(--muted); } .shop-chip .p-src { position: relative; color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.shop-chip .p-src::before { content: ""; position: absolute; inset: -15px -6px; }
.shop-chip .p-buy { border: 0; cursor: pointer; font-family: inherit; border-radius: 999px; background: var(--ink); color: var(--cream); padding: 8px 11px; font-size: 12px; font-weight: 800; white-space: nowrap; box-shadow: 0 3px 0 rgba(0,0,0,.3); transition: background .15s, transform .12s; }
.shop-chip .p-buy:hover { background: var(--orange); transform: translateY(-1px); }
.shop-chip .p-img { grid-area: img; } .shop-chip .p-text { grid-area: text; } .shop-chip .p-buy { grid-area: buy; }
.maker.you { background: var(--ink); color: var(--cream); display: grid; grid-template-rows: 1fr auto; }
.maker.you .you-art { aspect-ratio: 9 / 16; border-radius: 16px; display: grid; place-items: center; background: var(--cobalt); font-family: var(--head); font-size: 110px; font-weight: 800; color: var(--cream); }
.maker.you .try { border: 0; border-radius: 16px; padding: 14px 12px; background: var(--orange); color: #fff; font-weight: 800; font-size: 14px; text-align: left; }
.maker.you .try:hover { background: var(--yellow); color: var(--ink); }
@media (max-width: 520px) { .maker { width: 220px; } }

/* 2. reels: yellow panel */
.reels { background: var(--yellow); color: var(--ink); padding: clamp(28px, 5vw, 64px) clamp(18px, 4vw, 56px); }
.reels-wrap { display: grid; gap: 28px; justify-items: center; }
.reels-copy { max-width: 520px; text-align: center; display: grid; gap: 12px; }
.reels h2 { font-size: clamp(30px, 4.4vw, 48px); }
.reels .accent { color: var(--cobalt); }
.hint { margin: 0; font-weight: 700; opacity: .75; font-size: 14px; }
.hint a { color: var(--cobalt); }
.how { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 8px; text-align: left; }
.how li { display: flex; align-items: center; gap: 12px; background: var(--cream); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); font-weight: 700; transition: transform .2s; }
@media (hover: hover) { .how li:hover { transform: translateX(6px) rotate(-.5deg); } }
.how b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 13px; flex: none; }
.how li:nth-child(1) b { background: var(--orange); } .how li:nth-child(2) b { background: var(--cobalt); } .how li:nth-child(3) b { background: var(--green); }
@media (min-width: 900px) { .reels-wrap { grid-template-columns: 1fr auto; align-items: center; gap: 64px; } .reels-copy { text-align: left; } }
.phone {
  position: relative; width: var(--phone-w);
  height: min(calc(var(--phone-w) * 19.5 / 9), calc(100svh - 150px));
  border: 4px solid #2b272e; border-radius: 44px; background: #000; overflow: hidden;
  box-shadow: 0 30px 80px rgba(20,20,20,.35), 0 0 0 2px #0a0a0a; transform: rotate(-2deg); transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
@media (hover: hover) { .phone:hover { transform: rotate(0deg) scale(1.01); } }
.feed:focus-visible { outline: none; } .phone:has(.feed:focus-visible) { box-shadow: 0 30px 80px rgba(20,20,20,.35), 0 0 0 2px #0a0a0a, 0 0 0 6px var(--cobalt); } /* the ring goes round the phone: inside it would be clipped */
.notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 110px; height: 28px; background: #000; border-radius: 20px; z-index: 5; }
.feed { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; }
.feed::-webkit-scrollbar { display: none; }
.reel { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; background: #111; font-family: system-ui, -apple-system, sans-serif; color: #fff; }
.reel .media, .reel video, .reel model-viewer { position: absolute; inset: 0; width: 100%; height: 100%; }
.reel video { object-fit: cover; }
.reel model-viewer { background: #1b1720; --poster-color: #1b1720; border-radius: 0; }
.reel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel .yt-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(0); }
.reel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 45%); }
.rail { position: absolute; right: 10px; bottom: 100px; z-index: 3; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.rail-btn { background: none; border: 0; color: #fff; display: grid; justify-items: center; gap: 2px; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.rail-btn .ico { width: 46px; height: 46px; display: grid; place-items: center; font-size: 24px; background: rgba(255,255,255,.14); border-radius: 50%; backdrop-filter: blur(6px); transition: transform .15s; }
.rail-btn:hover .ico { transform: scale(1.08); }
.rail-btn:active .ico { transform: scale(.9); }
.rail-btn .count { font-size: 12px; font-weight: 600; }
.heart.on .ico { color: var(--orange); animation: pop .35s ease; }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
.cap { position: absolute; left: 14px; right: 76px; bottom: 22px; z-index: 3; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.cap .handle { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.cap .text { font-size: 15px; line-height: 1.3; }
.cap .outcome { margin-top: 6px; font-size: 13px; opacity: .85; }
.tag { position: absolute; top: 48px; left: 12px; z-index: 3; background: rgba(255,255,255,.9); color: var(--ink); border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.big-heart { position: absolute; left: 50%; top: 50%; z-index: 4; transform: translate(-50%,-50%) scale(0); font-size: 110px; color: var(--orange); pointer-events: none; animation: bigheart .7s ease forwards; }
@keyframes bigheart { 20% { transform: translate(-50%,-50%) scale(1.1); opacity: 1; } 100% { transform: translate(-50%,-80%) scale(1); opacity: 0; } }

/* 3. made: orange panel, cream cards */
.made { background: var(--orange); color: var(--cream); padding: clamp(28px, 5vw, 64px) clamp(18px, 4vw, 56px); }
.made .accent { color: var(--yellow); }
.made .sub { opacity: .92; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.filters button { border: 0; background: rgba(241,236,228,.18); color: var(--cream); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 13px; box-shadow: inset 0 0 0 1.5px rgba(241,236,228,.55); transition: transform .15s, background .15s, color .15s; }
.filters button:hover { transform: translateY(-1px); background: rgba(241,236,228,.3); }
.filters button[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card { display: grid; gap: 0; background: var(--cream); color: var(--ink); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
@media (hover: hover) { .card:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow-lg); } }
.card[hidden] { display: none; }
.embed { position: relative; margin: 0; aspect-ratio: 4 / 5; background: var(--paper-2); overflow: hidden; }
.embed .thumb, .embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; transition: transform .6s; }
.card:hover .embed .thumb { transform: scale(1.05); }
.embed .play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: linear-gradient(to top, rgba(0,0,0,.35), transparent 50%); color: #fff; font-size: 34px; text-shadow: 0 2px 10px rgba(0,0,0,.7); transition: background .15s; }
.embed .play:hover { background: rgba(0,0,0,.25); }
.chip-license { position: absolute; left: 10px; top: 10px; background: var(--cream); color: var(--ink); border-radius: 999px; padding: 3px 9px; font-size: 11px; font-weight: 800; }
.info { display: grid; gap: 4px; padding: 12px 14px 14px; }
.info .name { margin: 0; font-family: var(--head); font-size: 17px; font-weight: 800; line-height: 1.2; }
.info .caption { margin: 0; font-size: 14px; color: var(--muted); font-weight: 500; }
.info .meta { margin: 0; font-size: 12px; color: var(--muted); font-weight: 600; }
.info .meta a { color: inherit; }
.info .like-this { justify-self: start; margin-top: 6px; border: 0; border-radius: 999px; background: var(--ink); color: var(--cream); padding: 7px 12px; font-weight: 800; font-size: 13px; transition: background .15s, transform .15s; }
.info .like-this:hover { background: var(--cobalt); transform: translateY(-1px) rotate(-1deg); }
.info .actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; }
.info .actions .like-this { margin-top: 0; }
/* the maker's own store or site: an outlined pill beside the ink one */
.info .store { display: inline-block; border: 2px solid var(--ink); border-radius: 999px; padding: 5px 12px; font-weight: 800; font-size: 13px; color: var(--ink); text-decoration: none; background: transparent; transition: background .15s, color .15s, transform .15s; }
.info .store[hidden] { display: none; }
.info .store:hover { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateY(-1px) rotate(1deg); }
.weak .embed::after { content: "rough clip"; position: absolute; top: 10px; right: 10px; background: var(--cream); color: var(--ink); border-radius: 999px; padding: 3px 8px; font-size: 10px; font-weight: 800; text-transform: uppercase; }

/* loose stickers on the panels; the hero ones slap in and can be dragged */
.deco { position: absolute; width: clamp(64px, 7vw, 110px); pointer-events: none; z-index: 2; filter: drop-shadow(0 6px 10px rgba(20,20,40,.25)); animation: bob 6s ease-in-out infinite; }
.deco.slap { translate: -50% -50%; rotate: var(--r, 0deg); animation: none; pointer-events: auto; cursor: grab; touch-action: none; user-select: none; transition: scale .25s cubic-bezier(.2,1.5,.3,1); }
.deco.slap > svg { animation: slapin .62s var(--at, 0s) cubic-bezier(.3,1.5,.4,1) both; }
.deco.slap:hover { scale: 1.08; } .deco.slap.is-drag { cursor: grabbing; scale: 1.14; z-index: 9; filter: drop-shadow(0 18px 20px rgba(20,20,40,.35)); }
.settled .deco.slap > svg { animation: none; }
@keyframes slapin { 0% { opacity: 0; transform: scale(2.1) rotate(24deg) translateY(-30%); filter: blur(1.5px); } 55% { opacity: 1; transform: scale(.9) rotate(-3deg); filter: none; } 78% { transform: scale(1.05) rotate(1deg); } 100% { opacity: 1; transform: none; } }
.deco svg { width: 100%; height: auto; display: block; }
@keyframes bob { 50% { translate: 0 -8px; } }
@media (max-width: 760px) { .deco { display: none; } }

/* workbench page */
.wb-body { background: var(--paper); }
.wb-crumb { font-weight: 800; font-size: 14px; padding: 8px 12px; color: var(--muted); }
.wb { display: grid; gap: var(--gutter); padding: 0 var(--gutter) var(--gutter); min-height: calc(100svh - 60px); }
.wb-side { background: var(--cobalt); color: var(--cream); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px); display: grid; align-content: start; gap: 12px; }
.wb-title { font-size: clamp(34px, 3.6vw, 52px); color: var(--cream); margin-bottom: 8px; } .wb-title .c2 { color: var(--yellow); }
.wb-steps { margin-top: 8px; } .wb-steps li { background: rgba(241,236,228,.16); color: var(--cream); } .wb-steps li.done { background: var(--mint); color: var(--ink); } .wb-steps li.on { background: var(--cream); color: var(--ink); }
.wb-tools { border-top: 1.5px dashed rgba(241,236,228,.35); padding-top: 10px; }
.wb-log { font-family: "DM Mono", ui-monospace, monospace; font-size: 12px; color: rgba(241,236,228,.8); max-height: 180px; padding: 6px 2px; } .wb-log li b { color: var(--yellow); }
.wb-note { margin: auto 0 0; font-size: 12px; opacity: .7; }
.wb-oven { aspect-ratio: auto; max-height: none; max-width: none; height: calc(100svh - 60px - var(--gutter)); transform: none; position: sticky; top: calc(48px + var(--gutter)); }
.wb-oven:hover { transform: none; }
.wb-oven .gen, .wb-oven .stage-card { top: 44px; bottom: 60px; }
.wb-oven .stage-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 24px; }
.wb-oven .sc-title { font-size: 24px; } .wb-oven .sc-steps { font-size: 14px; } .wb-oven .sc-parts li { font-size: 14px; padding: 12px 14px; }
.wb-oven .sc-phones .sc-phone { width: min(100%, 220px); justify-self: center; }
/* when the post strip is showing, keep the stage card above it instead of on top of it */
.wb-oven:has(.connect:not([hidden])) .stage-card { bottom: 184px; }
.wb-oven .sc-shop { max-width: 360px; justify-self: center; }
.wb-oven .post { text-decoration: none; }
@media (min-width: 900px) { .wb { grid-template-columns: minmax(320px, .9fr) 1.6fr; align-items: start; } }
@media (max-width: 899px) { .wb-oven { height: auto; aspect-ratio: 4 / 5; position: static; } }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.show { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .make h1 .w, .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* footer: sticker slap. Cream frame, cobalt panel, giant script wordmark, stickers. */
.ssf{--ssf-paper:#f1ece4;--ssf-panel:#4a6cf0;--ssf-ink:#141414;--ssf-cream:#f1ece4;--ssf-accent:#ff6a2b;--ssf-wmh:50svh;position:relative;isolation:isolate;overflow:hidden;overflow:clip;container-type:inline-size;display:flex;flex-direction:column;width:100%;min-height:100svh;margin-top:0;padding:0 var(--gutter) var(--gutter);background:var(--ssf-paper);color:var(--ssf-ink);font-family:var(--sans);font-weight:500}
/* resets in :where() so the footer's own classes (.ssf-tag, .ssf-big, .ssf-pill, .ssf-note) win over them */
.ssf :where(button){appearance:none;background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;cursor:pointer}
.ssf :where(a){color:inherit;text-decoration:none}
.ssf :where(ul,p,h3){margin:0;padding:0;list-style:none;font:inherit}
.ssf svg{display:block;max-width:none;overflow:visible}
.ssf :focus-visible{outline:2.5px solid var(--ssf-accent);outline-offset:3px;border-radius:6px}
.ssf-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.ssf-top{position:relative;z-index:2;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:clamp(14px,2cqw,26px) clamp(10px,1.6cqw,22px) clamp(24px,5cqw,80px)}
.ssf-nav{justify-self:start;position:relative;display:grid;place-items:center;width:clamp(58px,6.2cqw,80px);height:clamp(42px,4.4cqw,56px);font-weight:800;font-size:clamp(15px,1.6cqw,20px);letter-spacing:-.02em;color:var(--ssf-ink)}
.ssf-nav svg{position:absolute;left:-6%;top:-14%;width:72%;height:auto;color:var(--ssf-accent);transition:transform .7s cubic-bezier(.2,1.4,.3,1)}
.ssf-nav span{position:relative;transition:transform .4s cubic-bezier(.2,1.6,.3,1)}
.ssf-nav:hover svg{transform:rotate(72deg) scale(1.12)}
.ssf-nav:hover span{transform:rotate(-6deg) scale(1.06)}
.ssf-logo{display:block;color:var(--ssf-ink)}
.ssf-logo svg{height:clamp(24px,2.5cqw,34px);width:auto}
.ssf-logo path{fill:none;stroke:currentColor;stroke-width:3.3;stroke-linecap:round;stroke-linejoin:round}
.ssf-chat{justify-self:end;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;color:var(--ssf-ink);transition:transform .45s cubic-bezier(.2,1.6,.3,1)}
.ssf-chat svg{width:24px;height:24px}
.ssf-chat:hover{transform:rotate(-14deg) scale(1.12)}
.ssf-panel{position:relative;z-index:1;flex:1;display:flex;flex-direction:column;overflow:hidden;overflow:clip;border-radius:clamp(14px,1.8cqw,24px);background:var(--ssf-panel);color:var(--ssf-cream);transform-origin:50% 100%}
.ssf-cols{position:relative;z-index:2;display:grid;grid-template-columns:repeat(var(--ssf-n,3),minmax(0,1fr));gap:clamp(22px,3cqw,44px) clamp(16px,2.4cqw,36px);padding:clamp(26px,5.4cqw,72px) clamp(18px,1.8cqw,26px) clamp(20px,3cqw,40px)}
.ssf-col{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.ssf-tag{display:inline-block;margin-bottom:clamp(14px,1.6cqw,22px);padding:.28em .72em .32em;border-radius:999px;background:var(--ssf-cream);color:var(--ssf-ink);font-size:clamp(12px,1.05cqw,14px);font-weight:600;line-height:1.2}
.ssf-big{font-size:clamp(19px,2.1cqw,30px);font-weight:800;line-height:1.16;letter-spacing:-.022em;font-family:var(--head)}
.ssf-line{display:block;overflow:hidden;overflow:clip;padding:0 .08em .06em;margin:0 -.08em -.06em}
.ssf-line.is-up{overflow:visible} /* once its text has risen (footer.js), a line stops clipping, so a link's tap area can be taller than the line */
.ssf-line>*{display:inline-block}
.ssf-big a,.ssf-big button{position:relative;text-align:left;transition:color .2s}
.ssf-big a::after,.ssf-big button::after{content:'';position:absolute;left:0;right:0;bottom:-.02em;height:.09em;border-radius:1em;background:currentColor;transform:scaleX(0);transform-origin:100% 50%;transition:transform .45s cubic-bezier(.6,0,.2,1)}
.ssf-big a:hover::after,.ssf-big button:hover::after,.ssf-big a:focus-visible::after,.ssf-big button:focus-visible::after{transform:scaleX(1);transform-origin:0 50%}
.ssf-copy{display:inline-grid !important}
.ssf-copy>span{grid-area:1/1;transition:transform .5s cubic-bezier(.2,1.2,.3,1),opacity .3s}
.ssf-copy .ssf-done{transform:translateY(105%);opacity:0}
.ssf-copy.is-copied .ssf-addr{transform:translateY(-105%);opacity:0}
.ssf-copy.is-copied .ssf-done{transform:none;opacity:1}
.ssf-map{position:relative;display:inline-block;margin-top:clamp(16px,1.8cqw,24px);font-size:clamp(14px,1.25cqw,17px);font-weight:700;letter-spacing:-.01em;padding-bottom:.55em}
.ssf-map svg{position:absolute;left:-2%;bottom:0;width:104%;height:.5em}
.ssf-map path{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-dasharray:var(--l,120px) var(--l,120px);stroke-dashoffset:0}
.ssf-map:hover path,.ssf-map:focus-visible path{animation:ssf-rewrite .7s cubic-bezier(.6,0,.3,1)}
.ssf-note{margin-top:clamp(12px,1.3cqw,18px);max-width:34ch;font-size:clamp(11px,.92cqw,13px);line-height:1.45;opacity:.82}
.ssf .waitlist{margin-top:clamp(14px,1.6cqw,20px);justify-content:flex-start}
.ssf .waitlist input{border-color:color-mix(in oklab,var(--ssf-cream) 45%,transparent);background:transparent;color:var(--ssf-cream);min-width:0;width:min(100%,260px)}
.ssf .waitlist input::placeholder{color:color-mix(in oklab,var(--ssf-cream) 60%,transparent)}
.ssf .waitlist button{background:var(--ssf-cream);color:var(--ssf-ink)}
.ssf .form-note{color:var(--ssf-cream)}
.ssf .form-note a{text-decoration:underline;text-underline-offset:2px;font-weight:700}
.ssf-stage{position:relative;z-index:1;margin-top:auto;width:min(100%,calc(var(--ssf-wmh) * var(--ssf-ar,4)));align-self:center;padding:0 clamp(6px,.8cqw,12px)}
.ssf-stage-in{position:relative;container-type:inline-size}
.ssf-wm-btn{display:block;width:100%;border-radius:0 !important;cursor:pointer;-webkit-tap-highlight-color:transparent}
.ssf-wm{width:100%;height:auto;color:var(--ssf-cream)}
.ssf-wm path{fill:none;stroke:currentColor;stroke-width:3.3;stroke-linecap:round;stroke-linejoin:round}
.ssf-st{position:absolute;z-index:3;translate:-50% -50%;touch-action:none;user-select:none;-webkit-user-select:none}
.ssf-st-btn{display:block;width:100%;cursor:grab;rotate:calc(var(--r) + var(--tilt,0deg));transition:rotate .5s cubic-bezier(.2,1.4,.3,1)}
.ssf-st.is-drag{z-index:9 !important}
.ssf-st.is-drag .ssf-st-btn{cursor:grabbing;transition:rotate .12s linear}
.ssf-st-lift{display:block;transition:transform .35s cubic-bezier(.2,1.5,.3,1),filter .35s;filter:drop-shadow(0 1px .5px rgba(10,16,60,.28)) drop-shadow(0 4px 6px rgba(10,16,60,.18))}
.ssf-st-btn:hover .ssf-st-lift,.ssf-st-btn:focus-visible .ssf-st-lift{transform:translateY(-4%) scale(1.06);filter:drop-shadow(0 2px 1px rgba(10,16,60,.2)) drop-shadow(0 14px 16px rgba(10,16,60,.3))}
.ssf-st.is-drag .ssf-st-lift{transform:translateY(-7%) scale(1.12);filter:drop-shadow(0 2px 1px rgba(10,16,60,.16)) drop-shadow(0 22px 22px rgba(10,16,60,.34))}
.ssf-st-slap{display:block}
.ssf-st svg{width:100%;height:auto}
.ssf-sheen{transform:translateX(-130%);transition:transform 0s}
.ssf-st-btn:hover .ssf-sheen{transform:translateX(130%);transition:transform .9s cubic-bezier(.4,0,.2,1)}
.ssf-ring{position:absolute;left:50%;top:50%;width:150%;aspect-ratio:1;translate:-50% -50%;border-radius:50%;border:2px solid var(--ssf-cream);opacity:0;pointer-events:none}
.ssf-credits{position:absolute;z-index:6;right:clamp(10px,1.2cqw,16px);bottom:clamp(10px,1.2cqw,16px)}
.ssf-pill{display:block;padding:.3em .8em .34em;border-radius:999px;background:var(--ssf-ink);color:var(--ssf-paper);font-size:clamp(12px,1cqw,14px);font-weight:600;transition:transform .4s cubic-bezier(.2,1.6,.3,1),background .2s}
.ssf-pill:hover{transform:rotate(-5deg) scale(1.06)}
.ssf-pop{position:absolute;right:0;bottom:calc(100% + 10px);width:max-content;max-width:min(300px,80cqw);padding:14px 16px;border-radius:16px;background:var(--ssf-paper);color:var(--ssf-ink);box-shadow:0 0 0 4px #fff,0 18px 40px rgba(10,16,60,.35);transform-origin:90% 100%;animation:ssf-popin .45s cubic-bezier(.2,1.5,.3,1)}
.ssf-pop[hidden]{display:none}
.ssf-pop li{display:flex;flex-direction:column;padding:6px 0;font-size:13px;line-height:1.3}
.ssf-pop li+li{border-top:1.5px dashed color-mix(in oklab,var(--ssf-ink) 22%,transparent)}
.ssf-pop b{font-size:11px;font-weight:600;opacity:.6;text-transform:lowercase}
.ssf-pop strong{font-weight:800;letter-spacing:-.01em}
@container (max-width: 760px){.ssf-cols{grid-template-columns:minmax(0,1fr)}.ssf-top{padding-bottom:24px}.ssf-stage{width:min(165%,calc(var(--ssf-wmh) * var(--ssf-ar,4)));max-width:none;margin-left:-6%}}
@keyframes ssf-rewrite{0%{stroke-dashoffset:var(--l,120px)}100%{stroke-dashoffset:0}}
@keyframes ssf-popin{from{opacity:0;transform:translateY(10px) scale(.7) rotate(4deg)}}
@media (prefers-reduced-motion: no-preference){
.ssf-panel{scale:calc(.9 + .1 * var(--ssf-sp,1));border-radius:calc(clamp(14px,1.8cqw,24px) + (1 - var(--ssf-sp,1)) * 60px)}
.ssf-stage-in{transform:translateY(calc((1 - var(--ssf-sp,1)) * 18%))}
.ssf-st{transform:translate(calc(var(--ssf-px,0) * var(--d) * 9px),calc(var(--ssf-py,0) * var(--d) * 6px));transition:transform .7s cubic-bezier(.2,.8,.2,1)}
.ssf-st.is-drag{transition:none}
.ssf:not(.is-in) .ssf-top>*,.ssf:not(.is-in) .ssf-tag,.ssf:not(.is-in) .ssf-line>*,.ssf:not(.is-in) .ssf-map,.ssf:not(.is-in) .ssf-note,.ssf:not(.is-in) .waitlist,.ssf:not(.is-in) .ssf-pill{opacity:0}
.ssf.is-in .ssf-top>*{animation:ssf-fall .8s cubic-bezier(.2,1.3,.3,1) both}
.ssf.is-in .ssf-top>:nth-child(2){animation-delay:.08s}.ssf.is-in .ssf-top>:nth-child(3){animation-delay:.16s}
.ssf.is-in .ssf-panel{animation:ssf-grow 1.1s cubic-bezier(.7,0,.2,1) both}
.ssf.is-in .ssf-tag{animation:ssf-pop .7s cubic-bezier(.2,1.7,.3,1) both;animation-delay:calc(.45s + var(--c) * .1s)}
.ssf.is-in .ssf-line>*{animation:ssf-rise .8s cubic-bezier(.2,.9,.2,1) both;animation-delay:calc(.55s + var(--c) * .1s + var(--i) * .07s)}
.ssf.is-in .ssf-map,.ssf.is-in .ssf-note,.ssf.is-in .waitlist{animation:ssf-fade .7s ease both;animation-delay:calc(.85s + var(--c) * .1s)}
.ssf.is-in .ssf-pill{animation:ssf-pop .6s cubic-bezier(.2,1.7,.3,1) both;animation-delay:var(--end,3s)}
.ssf .ssf-wm path{stroke-dasharray:var(--l,3000px) calc(var(--l,3000px) + 8px);stroke-dashoffset:calc(var(--l,3000px) + 4px)}
.ssf:not(.is-in) .ssf-wm path{visibility:hidden}
.ssf.is-in .ssf-wm path{animation:ssf-write var(--dur) var(--at) cubic-bezier(.55,.1,.35,1) both}
.ssf:not(.is-in) .ssf-st-slap{opacity:0}
.ssf.is-in .ssf-st-slap{animation:ssf-slap .62s var(--at) cubic-bezier(.3,1.5,.4,1) both}
.ssf.is-in .ssf-ring{animation:ssf-ring .7s var(--at) cubic-bezier(.2,.8,.2,1) both}
.ssf-logo:hover path{animation:ssf-rewrite 1.1s cubic-bezier(.55,.1,.35,1)}
.ssf-logo path{stroke-dasharray:var(--l,3000px) calc(var(--l,3000px) + 8px)}
.ssf-st-btn:active .ssf-st-lift{transform:translateY(-6%) scale(1.1)}
}
@keyframes ssf-write{0%{stroke-dashoffset:calc(var(--l,3000px) + 4px);visibility:visible}100%{stroke-dashoffset:0;visibility:visible}}
@keyframes ssf-fall{from{opacity:0;transform:translateY(-14px) rotate(-6deg)}}
@keyframes ssf-grow{0%{clip-path:inset(30% 12% 0 12% round 80px);transform:translateY(40px)}100%{clip-path:inset(0 0 0 0 round 0);transform:none}}
@keyframes ssf-pop{0%{opacity:0;transform:scale(.4) rotate(-12deg)}100%{opacity:1;transform:none}}
@keyframes ssf-rise{from{opacity:1;transform:translateY(110%)}to{opacity:1;transform:none}}
@keyframes ssf-fade{from{opacity:0;transform:translateY(8px)}}
@keyframes ssf-slap{0%{opacity:0;transform:scale(2.1) rotate(24deg) translateY(-30%);filter:blur(1.5px)}55%{opacity:1;transform:scale(.9) rotate(-3deg);filter:none}78%{transform:scale(1.05) rotate(1deg)}100%{opacity:1;transform:none}}
@keyframes ssf-ring{0%{opacity:0;transform:scale(.3)}40%{opacity:.75}100%{opacity:0;transform:scale(1)}}
/* the waitlist form keeps its base look */
.waitlist { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.waitlist input { border: 1.5px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: #fff; border-radius: 999px; padding: 11px 16px; min-width: 240px; font-family: var(--sans); font-weight: 500; }
.waitlist input::placeholder { color: rgba(255,255,255,.55); }
.waitlist button { border: 0; background: var(--red); color: #fff; border-radius: 999px; padding: 11px 18px; font-weight: 700; font-family: var(--sans); transition: transform .15s; }
.waitlist button:hover { transform: translateY(-1px); }
.waitlist button[disabled] { opacity: .7; }
.form-note { width: 100%; margin: 0; font-size: 13px; opacity: .8; }

/* ---- workbench: your accounts (TikTok, Instagram, Shopify) ---- */
.accounts { display: grid; gap: 8px; margin-top: 6px; }
.accounts-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 800; }
.accounts-mode { font-family: "DM Mono", ui-monospace, monospace; font-size: 11px; font-weight: 500; opacity: .75; }
.accounts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.acct { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; background: rgba(241,236,228,.12); border-radius: 14px; padding: 8px 10px; transition: background .3s; min-height: 52px; }
.acct.on { background: rgba(241,236,228,.22); }
.acct.busy { animation: pulse 1.2s infinite; }
.acct-icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: var(--net, var(--ink)); overflow: hidden; }
.acct-icon svg { width: 19px; height: 19px; display: block; }
.acct-icon img { width: 100%; height: 100%; object-fit: cover; }
.acct-name { font-weight: 800; font-size: 13px; line-height: 1.15; }
.acct-state { font-family: "DM Mono", ui-monospace, monospace; font-size: 11px; opacity: .8; line-height: 1.2; }
.acct-btn { border: 0; border-radius: 999px; background: var(--cream); color: var(--ink); padding: 7px 12px; font-weight: 800; font-size: 12px; box-shadow: 0 2px 0 rgba(0,0,0,.25); transition: transform .12s, background .15s; white-space: nowrap; }
.acct-btn:hover { transform: translateY(-1px); }
.acct.on .acct-btn { background: var(--mint); }
.connect-upload { background: var(--yellow) !important; }
.oven-links { display: flex; gap: 6px; align-items: center; }
.shop-link { background: var(--orange) !important; }

/* ---- modals: the consent card and the new-post card ---- */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(20,20,20,.45); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; animation: fadein .2s both; }
.modal[hidden] { display: none; }
.modal-card { background: #fff; color: var(--ink); border-radius: 22px; width: min(440px, 100%); padding: 22px; display: grid; gap: 16px; box-shadow: var(--shadow-lg); animation: pop .35s cubic-bezier(.2,.8,.2,1) both; }
.post-card { width: min(560px, 100%); }
.consent-head { display: flex; align-items: center; gap: 12px; }
.consent-head .acct-icon { width: 46px; height: 46px; border-radius: 14px; flex: none; }
.consent-head .acct-icon svg { width: 25px; height: 25px; }
.consent-title { font-family: var(--head); font-weight: 800; font-size: 21px; line-height: 1.1; letter-spacing: -.01em; }
.consent-sub { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.consent-scopes { list-style: none; margin: 0; padding: 12px 14px; background: var(--paper); border-radius: 14px; display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.consent-scopes li::before { content: "✓ "; color: var(--green); font-weight: 800; }
.consent-field { display: grid; gap: 6px; font-size: 12px; font-weight: 800; color: var(--muted); }
.consent-field input, .consent-field textarea { font: inherit; font-size: 16px; font-weight: 600; color: var(--ink); padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; resize: vertical; }
.consent-field input:focus, .consent-field textarea:focus { outline: 3px solid var(--sky); border-color: transparent; }
.consent-actions { display: flex; gap: 8px; justify-content: flex-end; }
.btn-ghost { border: 0; background: var(--paper); color: var(--ink); border-radius: 999px; padding: 10px 14px; font-weight: 800; }
.btn-primary { border: 0; background: var(--ink); color: var(--cream); border-radius: 999px; padding: 10px 18px; font-weight: 800; box-shadow: 0 3px 0 rgba(0,0,0,.35); transition: transform .12s, box-shadow .12s, background .15s; }
.btn-primary:hover:not([disabled]) { background: var(--orange); }
.btn-primary:active:not([disabled]) { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,.35); }
.btn-primary[disabled] { opacity: .55; cursor: default; }
.consent-busy { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; padding: 6px 0; }
.consent-busy i { width: 18px; height: 18px; border-radius: 50%; border: 3px dashed var(--orange); animation: spin 1.4s linear infinite; flex: none; }
.consent-ok { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; color: var(--green); }
.consent-note { font-family: "DM Mono", ui-monospace, monospace; font-size: 11px; color: var(--muted); margin: 0; line-height: 1.4; }
.post-grid { display: grid; grid-template-columns: 150px 1fr; gap: 16px; }
.post-drop { position: relative; aspect-ratio: 9 / 16; background: var(--paper); border-radius: 16px; border: 2px dashed rgba(20,20,20,.25); display: grid; place-items: center; text-align: center; font-weight: 800; font-size: 14px; cursor: pointer; overflow: hidden; transition: border-color .15s, background .15s; }
.post-drop:hover, .post-drop.over { border-color: var(--orange); background: #fff; }
.post-drop.has { border-style: solid; border-color: transparent; background: #000; }
.post-drop video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-drop-text { display: grid; gap: 4px; padding: 12px; }
.post-drop-text small { font-weight: 600; color: var(--muted); font-size: 11px; }
.post-drop.has .post-drop-text { position: absolute; left: 8px; right: 8px; bottom: 8px; background: rgba(0,0,0,.55); color: #fff; border-radius: 10px; font-size: 11px; padding: 6px; }
.post-drop.has .post-drop-text small { color: rgba(255,255,255,.8); }
.post-form { display: grid; gap: 12px; align-content: start; }
.post-to { display: flex; gap: 6px; flex-wrap: wrap; }
.post-to button { border: 0; border-radius: 999px; background: var(--paper); color: var(--ink); padding: 7px 12px; font-weight: 800; font-size: 12px; display: inline-flex; align-items: center; gap: 6px; transition: background .15s, transform .12s; }
.post-to button[aria-pressed="true"] { background: var(--mint); }
.post-to button.unlinked { opacity: .6; }
.post-to button .acct-icon { width: 18px; height: 18px; border-radius: 5px; }
.post-to button .acct-icon svg { width: 11px; height: 11px; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) { .post-grid { grid-template-columns: 1fr; } .post-drop { aspect-ratio: 16 / 9; } }

/* ---- the storefront simulation: a mini page that assembles itself inside the stage card ---- */
.sc-site { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); align-self: center; justify-self: center; width: 100%; max-width: 420px; font-size: 10px; }
.sc-site-bar { display: flex; align-items: center; gap: 4px; padding: 7px 10px; background: #f3f1ec; }
.sc-site-bar i { width: 7px; height: 7px; border-radius: 50%; background: #d9d4cb; }
.sc-site-bar span { margin-left: 6px; flex: 1; background: #fff; border-radius: 999px; padding: 2px 8px; color: var(--muted); font-weight: 600; font-family: "DM Mono", ui-monospace, monospace; font-size: 9px; }
.sc-site-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 10px; padding: 12px; background: var(--field, var(--cobalt)); color: var(--on-field, var(--cream)); min-height: 118px; transition: background .5s; }
.sc-site-shot { background: rgba(255,255,255,.3); border-radius: 10px; aspect-ratio: 1; overflow: hidden; }
.sc-site-shot img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .5s; }
.sc-site-shot img[src] { opacity: 1; }
.sc-site-copy { display: grid; align-content: center; gap: 6px; }
.sc-site-name { font-family: var(--head); font-weight: 800; font-size: 15px; line-height: 1.05; letter-spacing: -.02em; }
.sc-site-tag { font-size: 9px; font-weight: 600; opacity: .92; }
.sc-site-price { font-family: var(--head); font-weight: 800; font-size: 13px; }
.sc-site-btn { background: var(--ink); color: var(--cream); border-radius: 999px; padding: 4px 9px; font-weight: 800; font-size: 9px; justify-self: start; }
.sc-site-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px 12px 0; }
.sc-site-ph { aspect-ratio: 4 / 3; border-radius: 8px; background: var(--paper-2) center / cover no-repeat; transition: opacity .4s; }
.sc-site-bands { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px 12px 12px; }
.sc-site-bands > div { height: 34px; border-radius: 8px; background: var(--b); transition: background .4s; }
.sk { color: transparent !important; background: rgba(255,255,255,.35) !important; border-radius: 6px; min-height: 10px; animation: shimmer 1.2s ease-in-out infinite; }
.sc-site-name.sk { height: 30px; width: 85%; }
.sc-site-tag.sk { height: 16px; width: 95%; }
.sc-site-price.sk { height: 14px; width: 35%; }
.sc-site-btn.sk { height: 18px; width: 48%; }
.sc-site-ph.sk, .sc-site-bands > div.sk { background: var(--paper-2) !important; }
.sc-open { justify-self: start; background: var(--orange); color: #fff; border-radius: 999px; padding: 9px 14px; font-weight: 800; font-size: 13px; text-decoration: none; box-shadow: 0 3px 0 rgba(0,0,0,.3); animation: rise .4s cubic-bezier(.2,.8,.2,1) both; }
.sc-open[hidden] { display: none; }
.sc-handle { font-family: "DM Mono", ui-monospace, monospace; font-size: 11px; opacity: .85; }
@keyframes shimmer { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .sk, .sc-open, .modal, .modal-card, .acct.busy { animation: none; } }
/* phones: the same design, sized for a thumb. Notch and home-indicator insets are 0 on desktop. */
.top { padding-top: calc(12px + env(safe-area-inset-top)); padding-left: max(clamp(16px, 3vw, 32px), env(safe-area-inset-left)); padding-right: max(clamp(16px, 3vw, 32px), env(safe-area-inset-right)); }
.panel { margin-left: max(var(--gutter), env(safe-area-inset-left)); margin-right: max(var(--gutter), env(safe-area-inset-right)); }
.ssf { padding-bottom: calc(var(--gutter) + env(safe-area-inset-bottom)); }
nav .pill { white-space: nowrap; }
@media (max-width: 760px) {
  .top { padding-top: calc(8px + env(safe-area-inset-top)); padding-bottom: 8px; }
  .logo { font-size: 19px; min-height: 44px; }
  nav .pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; }
  .chips button, .filters button { min-height: 44px; min-width: 44px; padding: 0 16px; }
  .info .meta a { display: inline-block; min-width: 44px; text-align: center; padding: 14px 8px; margin: -12px -8px; } /* the source link ("GitHub") is a 44 px target on a phone */
  .post, .tool, .connect button, .color-form button, .info .like-this, .shop-chip .p-buy { min-height: 44px; padding-left: 14px; padding-right: 14px; }
  .info .store { min-height: 44px; display: inline-flex; align-items: center; }
  .bots button { min-height: 44px; padding: 0 13px 0 10px; }
  .ssf-nav { min-height: 44px; } .ssf-logo { position: relative; } .ssf-logo::before { content: ""; position: absolute; inset: -10px 0; }
  .tabs button { min-height: 36px; }
  .color-form { flex: 1 1 100%; } .color-form input { flex: 1; width: auto; min-width: 0; min-height: 44px; font-size: 16px; }
  .creator { flex-basis: min(300px, calc(100vw - 72px)); }
  .creator .try { min-height: 44px; }
  .hint a { display: inline-block; padding: 12px 0; margin: -12px 0; }
  /* the reel phone leaves page on both sides, so a swipe beside it scrolls the page, not the feed;
     a squarer screen than 19.5:9 so the 9:16 reels' burned-in captions are not cropped */
  .reels { --phone-w: min(380px, calc(100vw - 88px)); }
  .phone { height: min(calc(var(--phone-w) * 17 / 9), 74svh); transform: none; }
  .phone:hover { transform: none; }
  .ssf-chat { width: 44px; height: 44px; }
  .ssf .waitlist input, .ssf .waitlist button { min-height: 44px; }
  /* the big-type links and the copy button: a 44 px tap area that leaves the line where it is (padding out, margin in) */
  .ssf-big .ssf-line.is-up > a, .ssf-big .ssf-line.is-up > button { padding-top: 11px; padding-bottom: 11px; margin-top: -11px; margin-bottom: -11px; }
  .ssf-big .ssf-line.is-up > a::after, .ssf-big .ssf-line.is-up > button::after { bottom: calc(11px - .02em); }
  .ssf-pill { position: relative; } .ssf-pill::before { content: ""; position: absolute; inset: -12px -8px; }
}
/* the prompt box on a narrow phone: the input gets the whole first row, dice and Make it share the second */
@media (max-width: 480px) {
  .box { grid-template-columns: auto 1fr; border-radius: 26px; padding: 6px; gap: 6px; }
  .box input { grid-column: 1 / -1; padding: 12px 14px; min-height: 48px; }
  .dice, .bake { height: 48px; } .dice { width: 48px; }
  .bake { justify-content: center; }
}

