:root {
  --paper: #fbf4e6;
  --paper-2: #f4e8d0;
  --ink: #2b2233;
  --ink-soft: #5d5266;
  --cheddar: #ffc53d;
  --cheddar-deep: #e0a21a;
  --tomato: #ff5a3c;
  --mint: #7ed8b8;
  --sky: #8ec5ff;
  --plum: #6b3fa0;
  --blush: #ffb3c7;
  --olive: #7a9a3a;
  --radius: 22px;
  --shadow: 0 2px 0 var(--ink), 0 18px 40px -18px rgba(43, 34, 51, .45);
  --display: "Fraunces", Georgia, serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  overflow-x: clip;
  /* subtle paper grain */
  background-image:
    radial-gradient(circle at 20% 10%, rgba(255, 197, 61, .18), transparent 40%),
    radial-gradient(circle at 90% 30%, rgba(126, 216, 184, .18), transparent 35%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .17 0 0 0 0 .13 0 0 0 0 .2 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px dashed var(--tomato); outline-offset: 4px; }

h1, h2, h3 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  line-height: 1.02;
  margin: 0;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(3rem, 8vw, 6.4rem); font-weight: 800; }
h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h3 { font-size: 1.6rem; font-weight: 700; }
.hand { font-family: var(--hand); font-weight: 700; color: var(--tomato); font-size: 1.25em; line-height: 1; }
.hand.big { font-size: 1.1em; display: inline-block; transform: rotate(-3deg); }
.eyebrow {
  font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  color: var(--ink-soft); margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem;
}
.eyebrow .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tomato); box-shadow: 0 0 0 4px rgba(255, 90, 60, .2); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(255, 90, 60, 0); } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.5rem; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  border: 2px solid var(--ink); text-decoration: none; font-weight: 700;
  cursor: pointer; box-shadow: 4px 4px 0 var(--tomato);
  transition: transform .2s cubic-bezier(.3, 1.8, .5, 1), box-shadow .2s;
}
.btn:hover { transform: translate(-2px, -2px) rotate(-1.5deg); box-shadow: 7px 7px 0 var(--tomato); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--tomato); }
.btn-ghost { background: var(--paper); color: var(--ink); box-shadow: 4px 4px 0 var(--cheddar); }
.btn-ghost:hover { box-shadow: 7px 7px 0 var(--cheddar); }
.btn-small { padding: .5rem 1.1rem; font-size: .95rem; box-shadow: 3px 3px 0 var(--cheddar); }
.btn-big { font-size: clamp(1.1rem, 3.6vw, 1.6rem); padding: 1.1rem 2rem; background: var(--tomato); border-color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.btn-big:hover { box-shadow: 10px 10px 0 var(--ink); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: .8rem clamp(16px, 4vw, 48px);
  background: rgba(251, 244, 230, .82); backdrop-filter: blur(10px);
  border-bottom: 2px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-color: var(--ink); }
.logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.45rem; font-variation-settings: "SOFT" 100, "WONK" 1; }
.logo svg { width: 42px; height: 42px; }
.logo .l1 { fill: var(--tomato); transition: transform .5s cubic-bezier(.3, 1.8, .5, 1); }
.logo .l2 { fill: var(--mint); transition: transform .5s cubic-bezier(.3, 1.8, .5, 1); }
.logo .l3 { fill: var(--cheddar); transition: opacity .3s; }
.logo:hover .l1 { transform: translateX(-4px); }
.logo:hover .l2 { transform: translateX(4px); }
.logo:hover .l3 { opacity: 0; }
.nav nav { display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.6rem); }
.nav nav a:not(.btn) { text-decoration: none; font-weight: 600; position: relative; }
.nav nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px;
  background: var(--cheddar); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav nav a:not(.btn):hover::after { transform: scaleX(1); }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: center;
  min-height: calc(100vh - 70px); padding: 2rem clamp(16px, 4vw, 48px) 4rem;
  max-width: 1320px; margin: 0 auto;
}
.hero h1 em { font-style: italic; }
.grate { position: relative; display: inline-block; color: var(--cheddar-deep); }
.grate .holes { position: absolute; left: 0; right: 0; bottom: -.08em; width: 100%; height: .25em; overflow: visible; }
.grate .holes path { fill: none; stroke: var(--tomato); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.2s .5s forwards ease-out; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 34rem; color: var(--ink-soft); margin: 1.5rem 0 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hint { margin-top: 2rem; font-size: 1.5rem; transform: rotate(-2deg); display: inline-block; }

.hero-stage { position: relative; height: min(560px, 70vh); touch-action: none; }
.hero-stage .pc {
  position: absolute; width: min(340px, 72%); cursor: grab; user-select: none;
  transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), box-shadow .3s;
  animation: dropIn .9s backwards cubic-bezier(.3, 1.4, .5, 1);
}
.hero-stage .pc.dragging { cursor: grabbing; transition: box-shadow .3s; box-shadow: 0 2px 0 var(--ink), 0 40px 60px -20px rgba(43, 34, 51, .55); }
@keyframes dropIn { from { opacity: 0; transform: translateY(-120px) rotate(-30deg) scale(.8); } }

/* ---------- postcard (shared) ---------- */
.pc {
  aspect-ratio: 3 / 2; border-radius: 14px; border: 2px solid var(--ink);
  box-shadow: var(--shadow); overflow: hidden; position: relative; container-type: inline-size;
}
.front {
  --bg: var(--cheddar); --fg: var(--ink); --accent: var(--tomato);
  --pc: rgba(43, 34, 51, .08);
  background-color: var(--bg); color: var(--fg);
  display: grid; grid-template-columns: 1.25fr 1fr; align-items: center;
  padding: 7% 6%; height: 100%; gap: 4%;
  position: relative;
}
.front::before { /* stamp-y dotted border */
  content: ""; position: absolute; inset: 8px; border: 2px dashed currentColor; opacity: .22; border-radius: 8px; pointer-events: none;
}
.front .words { font-family: var(--display); font-weight: 900; font-variation-settings: "SOFT" 100, "WONK" 1; line-height: .95; font-size: 8.6cqw; letter-spacing: -.02em; }
.front .words em { font-style: italic; color: var(--accent); }
.front .motif { width: 100%; height: auto; overflow: visible; }
.front .brand { position: absolute; left: 7%; bottom: 7%; font-family: var(--hand); font-size: 4.4cqw; opacity: .7; }
.front.flip-layout { grid-template-columns: 1fr 1.25fr; }
.front.flip-layout .motif { order: -1; }
.front .words.words-sm { font-size: 7.4cqw; hyphens: manual; }

/* background patterns */
.front.is-dark { --pc: rgba(255, 255, 255, .1); }
.pat-dots { background-image: radial-gradient(var(--pc) 22%, transparent 26%); background-size: 6cqw 6cqw; }
.pat-stripes { background-image: repeating-linear-gradient(-45deg, var(--pc) 0 3cqw, transparent 3cqw 6.5cqw); }
.pat-grid { background-image: linear-gradient(var(--pc) 2px, transparent 2px), linear-gradient(90deg, var(--pc) 2px, transparent 2px); background-size: 7cqw 7cqw; background-position: center; }
.pat-checks { background-image: conic-gradient(var(--pc) 25%, transparent 0 50%, var(--pc) 0 75%, transparent 0); background-size: 10cqw 10cqw; }
.pat-picnic { --pc: rgba(255, 90, 60, .16); background-image: linear-gradient(90deg, var(--pc) 50%, transparent 0), linear-gradient(var(--pc) 50%, transparent 0); background-size: 10cqw 10cqw; }
.pat-rays { background-image: repeating-conic-gradient(from 0deg at 78% 50%, var(--pc) 0 7deg, transparent 7deg 14deg); }
.front.flip-layout.pat-rays { background-image: repeating-conic-gradient(from 0deg at 24% 50%, var(--pc) 0 7deg, transparent 7deg 14deg); }
.pat-waves { background-image: radial-gradient(circle at 50% 0, transparent 38%, var(--pc) 40% 52%, transparent 54%); background-size: 8cqw 4cqw; }

/* "peek" layout: big words, the illustration peeks in from the corner */
.front.layout-peek { grid-template-columns: 1fr; overflow: hidden; }
.front.layout-peek .words { max-width: 60%; font-size: 10.5cqw; position: relative; z-index: 1; }
.front.layout-peek .motif { position: absolute; width: 48%; right: 1%; bottom: -3%; transform: rotate(-8deg); }
.card-wrap:hover .front.layout-peek .motif { transform: rotate(-3deg) scale(1.06); }
.front .motif { transition: transform .5s cubic-bezier(.3, 1.8, .5, 1); }
.card-wrap:hover .front:not(.layout-peek) .motif { transform: scale(1.07) rotate(-3deg); }

.back {
  background: #fffaf0; height: 100%; display: grid; grid-template-columns: 1.3fr 1fr; padding: 6%; gap: 5%;
  background-image: repeating-linear-gradient(transparent 0 7.5cqw, rgba(43, 34, 51, .06) 7.5cqw calc(7.5cqw + 1px));
}
.back .msg { font-family: var(--hand); font-size: 5.4cqw; line-height: 1.12; border-right: 2px solid rgba(43, 34, 51, .2); padding-right: 6%; overflow: hidden; color: var(--plum); }
.back .right { display: flex; flex-direction: column; justify-content: space-between; }
.back .stamp-box { align-self: flex-end; width: 17cqw; height: 20cqw; border: 2px dashed var(--ink); padding: 4px; transform: rotate(4deg); background: var(--paper); }
.back .stamp-box div { width: 100%; height: 100%; background: var(--sbg, var(--tomato)); display: grid; place-items: center; font-size: 8cqw; }
.back .addr { font-family: var(--hand); font-size: 4.2cqw; line-height: 1.5; }
.back .addr span { display: block; border-bottom: 1.5px solid rgba(43, 34, 51, .35); }
.back .postmark-mini { position: absolute; top: 12%; right: 26%; width: 20cqw; height: 20cqw; border: 2px solid rgba(107, 63, 160, .5); border-radius: 50%; display: grid; place-items: center; font-size: 2.2cqw; font-weight: 700; letter-spacing: .08em; color: rgba(107, 63, 160, .7); transform: rotate(-14deg); text-align: center; line-height: 1.2; }

/* ---------- marquee ---------- */
.marquee { background: var(--tomato); color: var(--paper); border-block: 2px solid var(--ink); overflow: hidden; transform: rotate(-1.2deg); margin: 1rem -2%; }
.marquee-track { display: flex; gap: 2rem; width: max-content; padding: .9rem 0; animation: scroll 40s linear infinite; font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 3vw, 2rem); font-style: italic; white-space: nowrap; }
.marquee-track i { font-style: normal; color: var(--cheddar); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(4rem, 10vw, 8rem) clamp(16px, 4vw, 48px); max-width: 1320px; margin: 0 auto; }
.section-head { text-align: center; max-width: 44rem; margin: 0 auto 2.5rem; }
.section-head .eyebrow { justify-content: center; }
.sub { color: var(--ink-soft); font-size: 1.15rem; }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 3rem; }
.chip {
  border: 2px solid var(--ink); background: var(--paper); border-radius: 999px; padding: .5rem 1.1rem;
  font-weight: 600; cursor: pointer; transition: transform .2s cubic-bezier(.3, 1.8, .5, 1), background .2s;
}
.chip:hover { transform: translateY(-3px) rotate(-2deg); }
.chip.is-on { background: var(--cheddar); box-shadow: 3px 3px 0 var(--ink); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 2.4rem 2rem; }
.card-wrap { position: relative; perspective: 1200px; transition: opacity .35s, transform .45s cubic-bezier(.3, 1.5, .5, 1); }
.card-wrap.hide { display: none; }
.sticker {
  position: absolute; top: -18px; right: -12px; width: 66px; z-index: 3; pointer-events: none;
  transform: rotate(14deg); animation: wobble 2.6s ease-in-out infinite; filter: drop-shadow(2px 3px 0 var(--ink));
}
.sticker svg { width: 100%; height: auto; overflow: visible; }
.sticker polygon { fill: var(--cheddar); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.sticker text { font-family: var(--display); font-weight: 900; font-size: 22px; text-anchor: middle; fill: var(--ink); font-variation-settings: "SOFT" 100, "WONK" 1; }
@keyframes wobble { 50% { transform: rotate(4deg) scale(1.08); } }
.chip-new { background: linear-gradient(90deg, var(--blush), var(--cheddar), var(--mint)); }
.card-wrap.pop { animation: pop .5s cubic-bezier(.3, 1.6, .5, 1) backwards; }
@keyframes pop { from { opacity: 0; transform: scale(.8) rotate(-6deg); } }
.card3d {
  position: relative; aspect-ratio: 3 / 2; transform-style: preserve-3d; cursor: pointer;
  transition: transform .7s cubic-bezier(.3, 1.3, .5, 1);
  transform: rotateX(var(--rx, 0deg)) rotateY(calc(var(--ry, 0deg) + var(--flip, 0deg))) rotate(var(--tilt, 0deg));
}
.card3d.flipped { --flip: 180deg; }
.card3d .pc { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.card3d .pc.back-face { transform: rotateY(180deg); }
.card3d .glare { position: absolute; inset: 0; border-radius: 14px; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .45), transparent 45%); opacity: 0; transition: opacity .3s; mix-blend-mode: soft-light; }
.card-wrap:hover .card3d:not(.flipped) .glare { opacity: 1; }
.card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; gap: .5rem; }
.card-meta h3 { font-size: 1.2rem; }
.card-meta .tags { font-size: .8rem; color: var(--ink-soft); }
.want {
  border: 2px solid var(--ink); background: var(--paper); border-radius: 999px; padding: .35rem .9rem; font-weight: 700; font-size: .85rem;
  cursor: pointer; white-space: nowrap; transition: background .2s, transform .2s cubic-bezier(.3, 1.8, .5, 1);
}
.want:hover { background: var(--mint); transform: rotate(-3deg) scale(1.05); }

/* ---------- pun-o-matic ---------- */
.machine {
  max-width: 760px; margin: 0 auto; background: var(--plum); border: 3px solid var(--ink); border-radius: 36px;
  padding: clamp(1.2rem, 4vw, 2.4rem); box-shadow: 10px 10px 0 var(--ink); color: var(--paper); position: relative;
}
.machine-top { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.machine-top h2 { font-size: clamp(1.5rem, 4vw, 2.4rem); text-align: center; margin: 0 .6rem; }
.bulb { width: 14px; height: 14px; border-radius: 50%; background: var(--cheddar); border: 2px solid var(--ink); animation: blink 1.2s infinite; }
.bulb:nth-child(2n) { animation-delay: .6s; background: var(--blush); }
@keyframes blink { 50% { opacity: .35; } }
.machine-screen {
  background: #1d1a2b; border: 3px solid var(--ink); border-radius: 20px; min-height: 190px; display: grid; place-items: center;
  padding: 1.6rem; text-align: center; box-shadow: inset 0 0 40px rgba(126, 216, 184, .25); overflow: hidden; position: relative;
}
.machine-screen::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(transparent 0 3px, rgba(0, 0, 0, .18) 3px 4px); pointer-events: none; }
.pun { font-family: var(--display); font-size: clamp(1.4rem, 3.4vw, 2.1rem); font-weight: 700; color: var(--mint); margin: 0; line-height: 1.2; text-shadow: 0 0 18px rgba(126, 216, 184, .5); }
.pun small { display: block; font-family: var(--hand); font-size: .7em; color: var(--blush); margin-top: .4rem; }
.pun.spin { animation: spinIn .5s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes spinIn { from { transform: translateY(60%) scale(.9); opacity: 0; filter: blur(4px); } }
.machine-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 1.6rem; gap: 1.5rem; flex-wrap: wrap; }
.big-button {
  width: 140px; height: 140px; border-radius: 50%; border: 3px solid var(--ink); cursor: pointer;
  background: radial-gradient(circle at 35% 30%, #ffe08a, var(--cheddar) 45%, var(--cheddar-deep));
  box-shadow: 0 10px 0 #a8740c, 0 14px 0 var(--ink); transition: transform .08s, box-shadow .08s;
  font-family: var(--display); font-weight: 900; font-size: 1.2rem; color: var(--ink); line-height: 1.05; position: relative;
}
.big-button::before, .big-button::after { content: ""; position: absolute; border-radius: 50%; background: rgba(168, 116, 12, .35); }
.big-button::before { width: 18px; height: 18px; top: 22px; right: 30px; }
.big-button::after { width: 11px; height: 11px; bottom: 26px; left: 30px; }
.big-button:active { transform: translateY(9px); box-shadow: 0 1px 0 #a8740c, 0 5px 0 var(--ink); }
.groan { flex: 1; min-width: 220px; }
.groan .label { font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; }
.meter { height: 22px; border-radius: 999px; border: 2px solid var(--ink); background: linear-gradient(90deg, var(--mint), var(--cheddar), var(--tomato)); margin: .5rem 0; position: relative; }
.needle { position: absolute; top: -8px; left: 0%; width: 6px; height: 34px; background: var(--paper); border: 2px solid var(--ink); border-radius: 4px; transition: left .6s cubic-bezier(.3, 1.8, .5, 1); }
.count { font-family: var(--hand); font-size: 1.4rem; color: var(--cheddar); }

/* ---------- sisters ---------- */
.sisters { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.sisters-copy p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.12rem; max-width: 36rem; }
.sisters-copy h2 { margin-bottom: 1.5rem; }
.venn { position: relative; aspect-ratio: 1.35; width: 100%; max-width: 520px; margin: 0 auto; --gap: 22%; }
.venn .circle {
  position: absolute; top: 50%; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--ink);
  display: flex; align-items: center; font-family: var(--hand); font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700;
  transition: transform 1.2s cubic-bezier(.3, 1.3, .5, 1); mix-blend-mode: multiply;
}
.venn .c-left { left: 0; background: var(--tomato); transform: translate(calc(var(--gap) * -1), -50%); justify-content: flex-start; padding-left: 12%; }
.venn .c-right { right: 0; background: var(--mint); transform: translate(var(--gap), -50%); justify-content: flex-end; padding-right: 12%; }
.venn .overlap {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0); font-family: var(--display); font-weight: 900; font-size: clamp(1.4rem, 3.5vw, 2rem);
  background: var(--cheddar); border: 3px solid var(--ink); border-radius: 50%; width: 22%; aspect-ratio: 1; display: grid; place-items: center;
  transition: transform .7s .9s cubic-bezier(.3, 1.8, .5, 1); z-index: 2;
}
.venn.together { --gap: 0%; }
.venn.together .overlap { transform: translate(-50%, -50%) scale(1) rotate(-8deg); }

/* ---------- order ---------- */
.steps { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 2rem; max-width: 1080px; }
.stamp {
  background: var(--paper); padding: 1.4rem 1.2rem 1.3rem; position: relative;
  /* perforated stamp edge: holes live in the transparent border */
  border: 10px solid transparent;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, radial-gradient(circle 5px, #0000 95%, #000) 0 0 / 20px 20px round border-box;
          mask: linear-gradient(#000 0 0) padding-box, radial-gradient(circle 5px, #0000 95%, #000) 0 0 / 20px 20px round border-box;
  transition: transform .35s cubic-bezier(.3, 1.8, .5, 1);
}
.stamp.s1 { background: var(--cheddar); transform: rotate(-2deg); }
.stamp.s2 { background: var(--sky); transform: rotate(1.5deg) translateY(12px); }
.stamp.s3 { background: var(--blush); transform: rotate(-1deg); }
.stamp:hover { transform: rotate(0) scale(1.04); }
.stamp .num { font-family: var(--display); font-weight: 900; font-size: 4rem; line-height: 1; opacity: .9; display: block; font-style: italic; }
.stamp h3 { margin: .4rem 0 .6rem; }
.stamp p { margin: 0; }
.mailbox { text-align: center; margin-top: 4rem; }

/* ---------- footer ---------- */
.footer { text-align: center; padding: 3rem 16px 4rem; border-top: 2px solid var(--ink); background: var(--paper-2); }
.postmark { width: 170px; margin: 0 auto 1rem; animation: rotate 30s linear infinite; }
.postmark svg { width: 100%; height: auto; }
.postmark circle { fill: none; stroke: var(--plum); stroke-width: 3; }
.postmark text { fill: var(--plum); font-family: var(--body); font-weight: 700; font-size: 14px; letter-spacing: 3px; }
.postmark .pm-big { font-family: var(--display); font-size: 26px; text-anchor: middle; letter-spacing: 1px; }
.postmark .pm-small { font-size: 12px; text-anchor: middle; }
@keyframes rotate { to { transform: rotate(360deg); } }
.footer p { margin: .3rem 0; font-weight: 600; }
.footer .tiny { font-size: .85rem; color: var(--ink-soft); font-weight: 400; }

/* ---------- cheese confetti ---------- */
.crumb { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 200; will-change: transform; }

/* ---------- mouse follower ---------- */
.mouse { position: fixed; left: 0; top: 0; width: 46px; z-index: 150; pointer-events: none; opacity: 0; transition: opacity .4s; }
.mouse.on { opacity: 1; }
.mouse svg { width: 100%; height: auto; overflow: visible; }
.mouse .body { fill: #b9aebf; stroke: var(--ink); stroke-width: 2; }
.mouse .ear { fill: #b9aebf; stroke: var(--ink); stroke-width: 2; }
.mouse .ear-in { fill: var(--blush); }
.mouse .eye { fill: var(--ink); }
.mouse .nose { fill: var(--tomato); }
.mouse .tail { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, calc(100% + 60px)); background: var(--ink); color: var(--paper);
  padding: .8rem 1.4rem; border-radius: 999px; font-weight: 600; z-index: 300; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1);
  max-width: calc(100vw - 32px); text-align: center; box-shadow: 4px 4px 0 var(--cheddar);
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px) rotate(1deg); transition: opacity .8s, transform .8s cubic-bezier(.3, 1.3, .5, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 1rem; }
  .hero-stage { height: 420px; }
  .sisters { grid-template-columns: 1fr; }
  .venn { max-width: 380px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav nav a:not(.btn) { display: none; }
  .hero-stage { height: 340px; }
  .hero-stage .pc { width: 78%; }
  .machine-bottom { justify-content: center; }
  .big-button { width: 120px; height: 120px; font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
}
