/* Wonder Nook - "Storybook atelier"
   Brand system colours pushed richer. Fonts: Fraunces (display, OFL), Quicksand (body, OFL),
   Fredoka (labels, OFL), Caveat (hand notes, OFL). All self-hosted. No trackers, no external requests. */

@font-face { font-family: "Fraunces"; src: url("../fonts/Fraunces.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/Fraunces-Italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Quicksand"; src: url("../fonts/Quicksand.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("../fonts/Fredoka.woff2") format("woff2"); font-weight: 300 700; font-stretch: 75% 125%; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/Caveat.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  /* card-stock grounds */
  --cream: #F8EEDB;
  --cream-2: #F0E0C0;
  --paper: #FFFBF1;
  /* inks */
  --ink: #33263A;
  --ink-soft: #55435B;
  /* saturated, deep brand colours */
  --forest: #1E4B38;
  --forest-deep: #143528;
  --fern: #4F9466;
  --sage: #CFE3CC;
  --tomato: #BF3B26;
  --tomato-deep: #962C1B;
  --marigold: #F2B230;
  --marigold-deep: #C98A0B;
  --corn: #3A58B0;
  --corn-deep: #29418A;
  --blush: #F8CFD3;
  --pink: #F4B3C2;
  --berry: #8E2D52;
  --mint: #2A735A;
  --night: #262B5C;
  --lilac: #CDBBEE;
  --moss: #4E6B2E;
  --glow: #FFE7A6;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Quicksand", "Trebuchet MS", system-ui, sans-serif;
  --label: "Fredoka", "Quicksand", system-ui, sans-serif;
  --hand: "Caveat", "Segoe Script", cursive;

  --wrap: 1200px;
  --gut: clamp(20px, 4.2vw, 56px);
  --grain: url("../img/grain.png");
  --lift: cubic-bezier(.2, .9, .3, 1.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--cream) var(--grain); color: var(--ink);
  font-family: var(--body); font-weight: 600; font-size: 18px; line-height: 1.62;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
main { display: block; overflow-x: clip; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--marigold-deep); outline-offset: 3px; border-radius: 6px; }
.s-forest :focus-visible, .s-corn :focus-visible, .s-tomato :focus-visible, .s-night :focus-visible,
.s-moss :focus-visible, .s-berry :focus-visible, .s-mint :focus-visible, .foot :focus-visible { outline-color: var(--marigold); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: .98; letter-spacing: -.02em; margin: 0 0 .4em; text-wrap: balance; }
h1 { font-size: clamp(46px, 8.2vw, 116px); font-weight: 900; line-height: .9; letter-spacing: -.035em; }
h2 { font-size: clamp(36px, 5.6vw, 78px); letter-spacing: -.03em; }
h3 { font-size: clamp(26px, 3vw, 38px); line-height: 1.04; }
h4 { font-size: 22px; line-height: 1.15; }
em, .em { font-style: italic; font-weight: 700; }
.lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.55; max-width: 34em; font-weight: 600; }
.small { font-size: 15px; line-height: 1.5; }
.muted { color: var(--muted, var(--ink-soft)); }
.hand { font-family: var(--hand); font-weight: 700; font-size: clamp(24px, 2.3vw, 32px); line-height: 1; letter-spacing: 0; }
.label { font-family: var(--label); font-weight: 600; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.3; }
.label::before { content: ""; display: inline-block; width: 11px; height: 11px; margin-right: 9px; background: currentColor;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); vertical-align: -1px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); position: relative; z-index: 2; }
.skip { position: absolute; left: 12px; top: -80px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.topbar { background: var(--forest-deep); color: #FBF4E4; font-family: var(--label); font-weight: 500; font-size: 14.5px; letter-spacing: .02em; text-align: center; padding: 9px var(--gut); }
.topbar b { color: var(--marigold); font-weight: 600; }
.topbar .long { display: none; } @media (min-width: 700px) { .topbar .long { display: inline; } }
.head .menu { margin-left: auto; } @media (min-width: 560px) { .head .menu { margin-left: 4px; } }
.head { position: sticky; top: 0; z-index: 90; background: var(--cream) var(--grain); border-bottom: 2px dashed rgba(51, 38, 58, .28); }
.head .wrap { display: flex; align-items: center; gap: 22px; min-height: 74px; }
.logo { display: block; flex: none; }
.logo img { width: 156px; height: auto; }
.nav { display: none; margin-left: auto; gap: 6px 30px; font-family: var(--label); font-weight: 600; font-size: 17px; }
.nav a { text-decoration: none; padding: 8px 2px; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--tomato); }
.head .btn { margin-left: auto; padding: 11px 20px; font-size: 16px; white-space: nowrap; display: none; }
@media (min-width: 560px) { .head .btn { display: inline-flex; } }
.menu { margin-left: 4px; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-family: var(--label); font-weight: 600; font-size: 16px; padding: 10px 14px; border: 2px solid var(--ink); border-radius: 12px; min-height: 44px; display: flex; align-items: center; gap: 8px; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--ink); color: var(--cream); }
.menu ul { position: absolute; right: 0; top: calc(100% + 10px); margin: 0; padding: 12px; list-style: none; background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; min-width: 210px; box-shadow: 6px 8px 0 rgba(51, 38, 58, .18); }
.menu li a { display: block; padding: 12px 14px; text-decoration: none; font-family: var(--label); font-weight: 600; font-size: 18px; border-radius: 10px; }
.menu li a:hover { background: var(--cream-2); }
@media (min-width: 900px) { .nav { display: flex; } .menu { display: none; } .head .btn { margin-left: 0; } }

/* ---------- buttons ---------- */
.btn {
  --bb: var(--btn-bg, var(--tomato)); --be: var(--btn-edge, var(--tomato-deep)); --bf: var(--btn-fg, #fff);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; text-decoration: none; text-align: center;
  font-family: var(--label); font-weight: 600; font-size: 18px; letter-spacing: .01em; line-height: 1.15;
  background: var(--bb); color: var(--bf); border: 0; border-radius: 16px; padding: 16px 28px; min-height: 52px;
  box-shadow: 0 5px 0 var(--be), 0 12px 18px -6px rgba(30, 15, 10, .45); transition: transform .18s var(--lift), box-shadow .18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--be), 0 16px 22px -6px rgba(30, 15, 10, .45); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--be), 0 4px 8px -4px rgba(30, 15, 10, .4); }
.btn.ghost { --bb: transparent; --bf: currentColor; --be: transparent; box-shadow: inset 0 0 0 2.5px currentColor; }
.btn.ghost:hover { background: color-mix(in srgb, currentColor 12%, transparent); box-shadow: inset 0 0 0 2.5px currentColor; }
.btn.gold { --bb: var(--marigold); --be: var(--marigold-deep); --bf: #2A1F2E; }
.btn.ink { --bb: var(--ink); --be: #130C17; --bf: var(--cream); }
.arrow { width: 22px; height: 14px; flex: none; }

/* ---------- sheets: each section is a different coloured piece of card ---------- */
.sheet { position: relative; background: var(--bg, var(--cream)) var(--grain); color: var(--fg, var(--ink));
  padding: clamp(80px, 9vw, 140px) 0 clamp(84px, 8.5vw, 130px); }
.sheet::after { /* scalloped, die-cut bottom edge that hangs over the next sheet */
  content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: 20px; z-index: 3; pointer-events: none;
  background: radial-gradient(circle at 20px 0, var(--bg) 19px, transparent 19.6px) 0 0 / 40px 20px repeat-x;
  filter: drop-shadow(0 5px 3px rgba(35, 20, 10, .24));
}
.sheet.flat::after { display: none; }
.sheet.cut::before { /* the die-cut line, with the tabs left uncut */
  content: ""; position: absolute; inset: 14px; border: 2.5px dashed color-mix(in srgb, var(--fg) 38%, transparent);
  border-radius: 32px; pointer-events: none; z-index: 1;
}
main > *:nth-child(1) { z-index: 40; } main > *:nth-child(2) { z-index: 39; } main > *:nth-child(3) { z-index: 38; }
main > *:nth-child(4) { z-index: 37; } main > *:nth-child(5) { z-index: 36; } main > *:nth-child(6) { z-index: 35; }
main > *:nth-child(7) { z-index: 34; } main > *:nth-child(8) { z-index: 33; } main > *:nth-child(9) { z-index: 32; }
main > *:nth-child(10) { z-index: 31; } main > *:nth-child(11) { z-index: 30; } main > *:nth-child(12) { z-index: 29; }
main > *:nth-child(13) { z-index: 28; } main > *:nth-child(14) { z-index: 27; } main > *:nth-child(15) { z-index: 26; }
main > * { position: relative; }

.s-cream   { --bg: var(--cream);  --fg: var(--ink); --muted: var(--ink-soft); --accent: var(--tomato); }
.s-cream2  { --bg: var(--cream-2); --fg: var(--ink); --muted: var(--ink-soft); --accent: var(--tomato-deep); }
.s-forest  { --bg: var(--forest); --fg: #FBF4E4; --muted: #D8E6D3; --accent: var(--marigold); }
.s-forest2 { --bg: var(--forest-deep); --fg: #FBF4E4; --muted: #D8E6D3; --accent: var(--marigold); }
.s-marigold{ --bg: var(--marigold); --fg: #2A1F2E; --muted: #4A3A4F; --accent: var(--forest); --btn-bg: var(--forest); --btn-edge: var(--forest-deep); }
.s-tomato  { --bg: var(--tomato); --fg: #fff; --muted: #FFF3EC; --accent: #FFE2D8; --btn-bg: var(--marigold); --btn-edge: var(--marigold-deep); --btn-fg: #2A1F2E; }
.s-corn    { --bg: var(--corn);   --fg: #fff; --muted: #E6ECFB; --accent: #FFD36B; }
.s-blush   { --bg: var(--blush);  --fg: #3A2740; --muted: #5C4560; --accent: var(--berry); }
.s-pink    { --bg: var(--pink);   --fg: #4A1832; --muted: #5E2842; --accent: var(--berry); --btn-bg: var(--berry); --btn-edge: #5E1A36; }
.s-berry   { --bg: var(--berry);  --fg: #FFF6F0; --muted: #F9DDE6; --accent: #FFD0DB; --btn-bg: var(--pink); --btn-edge: #C97A8F; --btn-fg: #4A1832; }
.s-mint    { --bg: var(--mint);   --fg: #FFFBF1; --muted: #DDF1E8; --accent: var(--glow); --btn-bg: var(--marigold); --btn-edge: var(--marigold-deep); --btn-fg: #2A1F2E; }
.s-lilac   { --bg: var(--lilac);  --fg: var(--night); --muted: #3B3F76; --accent: #4B2F96; --btn-bg: var(--night); --btn-edge: #12153A; --btn-fg: #FBF4E4; }
.s-night   { --bg: var(--night);  --fg: #FBF4E4; --muted: #DAD7EF; --accent: var(--glow); --btn-bg: var(--marigold); --btn-edge: var(--marigold-deep); --btn-fg: #2A1F2E; }
.s-moss    { --bg: var(--moss);   --fg: #FBF4E4; --muted: #E6EFD2; --accent: var(--glow); --btn-bg: var(--marigold); --btn-edge: var(--marigold-deep); --btn-fg: #2A1F2E; }
.accent { color: var(--accent); }
h1 em, h2 em, h3 em { color: var(--accent); font-weight: 800; }
.sheet .muted, .sheet .lead, .sheet .small { color: var(--muted); }
.sheet .lead { color: inherit; }

/* squiggle underline drawn by hand */
.squig { position: relative; display: inline-block; white-space: nowrap; }
.squig svg { position: absolute; left: -2%; width: 104%; height: .28em; bottom: -.16em; overflow: visible; }
.squig path { fill: none; stroke: currentColor; stroke-width: 6px; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- stickers (printed, white die-cut border, a little gloss) ---------- */
.sticker { position: absolute; z-index: 6; display: grid; place-items: center; text-align: center; color: #fff; line-height: 1;
  filter: drop-shadow(0 6px 5px rgba(20, 10, 5, .3)); transform: rotate(var(--r, 0deg)); }
.sticker .disc { position: absolute; inset: 0; border-radius: 50%; background: var(--sbg, var(--tomato)); border: 6px solid #fff; }
.sticker .disc::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 2.5px dashed rgba(255, 255, 255, .85); }
.sticker .gloss { position: absolute; inset: 6px; border-radius: 50%; background: linear-gradient(135deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 46%); pointer-events: none; }
.sticker .txt { position: relative; }
.price { width: 138px; height: 138px; }
.price b { display: block; font-family: var(--display); font-weight: 900; font-size: 50px; letter-spacing: -.04em; }
.price small { display: block; font-family: var(--label); font-weight: 600; font-size: 14px; letter-spacing: .14em; margin-top: 2px; }
.seal { width: 118px; height: 118px; --sbg: var(--tomato); }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.seal .txt small { display: block; font-family: var(--label); font-weight: 600; font-size: 11.5px; letter-spacing: .16em; }
.seal .txt b { display: block; font-family: var(--display); font-weight: 900; font-size: 36px; letter-spacing: -.03em; margin-top: 1px; }
.seal.sm { width: 92px; height: 92px; } .seal.sm .txt b { font-size: 28px; } .seal.sm .txt small { font-size: 10px; }
.tape { position: absolute; width: 112px; height: 30px; background: rgba(242, 178, 48, .78); transform: rotate(var(--r, -3deg)); z-index: 7;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .18); clip-path: polygon(0 8%, 4% 0, 8% 8%, 12% 0, 100% 0, 96% 50%, 100% 100%, 12% 100%, 8% 92%, 4% 100%, 0 92%, 3% 50%); }
.stamp { display: inline-block; font-family: var(--label); font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--tomato); border: 3px solid currentColor; border-radius: 8px; padding: 6px 12px; transform: rotate(-4deg); background: rgba(255, 255, 255, .6);
  mix-blend-mode: multiply; }

/* ---------- paper layers & lids ---------- */
.lid { display: block; background: #FFFBF1; padding: 7px; border-radius: 14px; position: relative;
  box-shadow: 0 1px 0 #fff inset, 0 3px 0 #E6D3AE, 0 4px 0 #D4BE92, 0 24px 34px -14px rgba(18, 8, 4, .6), 0 6px 10px rgba(18, 8, 4, .22); }
.lid img { border-radius: 8px; width: 100%; }
.paper { background: var(--paper); border-radius: 20px; box-shadow: 0 1px 0 #fff inset, 0 2px 0 #E6D3AE, 0 18px 26px -14px rgba(18, 8, 4, .5), 0 4px 8px rgba(18, 8, 4, .12); }

/* ---------- pop-out pieces ---------- */
.piece { position: relative; display: inline-block; width: var(--w, 200px); max-width: 100%; vertical-align: bottom; transform: rotate(var(--r, 0deg)); }
.piece > img, .piece .faces img { width: 100%; height: auto; }
.piece .ghost { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: brightness(0) opacity(.2); transform: translate(1px, 2px); }
.piece .main, .piece .faces { position: relative; display: block; transition: transform .45s var(--lift), filter .35s; filter: drop-shadow(0 5px 4px rgba(18, 8, 4, .3)); }
.piece:hover .main, .piece:hover .faces, .flip:focus-visible .faces {
  transform: translate(-6px, -16px) rotate(-3.5deg) scale(1.05); filter: drop-shadow(10px 22px 12px rgba(18, 8, 4, .34)); }
.flip { appearance: none; border: 0; background: none; padding: 0; margin: 0; cursor: pointer; font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
.flip .faces { transform-style: preserve-3d; perspective: 900px; aspect-ratio: var(--ar, 1 / 1.3); }
.flip .faces .fa, .flip .faces .fb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; backface-visibility: hidden; transition: transform .55s var(--lift); }
.flip .faces .fb { transform: rotateY(180deg); }
.flip.is-flipped .faces .fa { transform: rotateY(-180deg); } .flip.is-flipped .faces .fb { transform: rotateY(0); }
.flip:hover .faces, .flip:focus-visible .faces { transform: translate(-6px, -14px) rotate(-3deg) scale(1.05); }
.cap { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); white-space: nowrap; font-family: var(--hand); font-weight: 700; font-size: 25px; line-height: 1; color: var(--fg); }

/* ---------- hero (home) ---------- */
.hero.sheet { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(120px, 12vw, 190px); }
.hero .wrap { display: grid; gap: 40px; }
.hero h1 { color: #FBF4E4; margin: 22px 0 26px; font-size: clamp(44px, 6.4vw, 94px); }
.hero h1 .squig { color: var(--marigold); }
.hero h1 em { color: var(--marigold); }
.hero .lead { color: #EEF3E7; max-width: 22.5em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px 18px; margin: 34px 0 22px; }
.hero .fine { font-size: 15px; color: #D8E6D3; max-width: 34em; }
.collage { position: relative; min-height: 420px; margin-top: 10px; }
.collage .lid { position: absolute; width: 74%; }
.collage .l1 { left: 14%; top: 9%; transform: rotate(-3.5deg); z-index: 3; }
.collage .l2 { right: -1%; top: -2%; width: 52%; transform: rotate(6deg); z-index: 2; }
.collage .l3 { left: -4%; top: 40%; width: 56%; transform: rotate(-9deg); z-index: 1; }
.collage .piece { position: absolute; z-index: 5; }
.collage .p1 { left: -2%; bottom: -14%; --w: 31%; --r: -5deg; }
.collage .p2 { left: 29%; bottom: -22%; --w: 22%; --r: 3deg; }
.collage .p3 { right: 22%; bottom: -26%; --w: 24%; --r: 4deg; }
.collage .price { right: 1%; top: -6%; --r: 9deg; }
.collage .seal { left: 3%; top: 6%; --r: -10deg; }
.collage .note { position: absolute; z-index: 8; right: 0; bottom: -8%; max-width: 150px; margin: 0; color: #fff; transform: rotate(-5deg); text-align: center; }
.collage .note svg { display: block; width: 60px; margin: 6px auto 0 -10px; }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px; align-items: center; }
  .hero .copy { padding-right: 12px; }
  .collage { min-height: 600px; margin-top: 0; }
  .hero .collage { margin-right: -2vw; }
}
@media (max-width: 899px) { .collage { min-height: min(116vw, 560px); margin-bottom: 150px; } .collage .note { bottom: -42%; } }

/* ---------- ribbon ---------- */
.ribbon.sheet { padding: 34px 0 40px; border-top: 0; }
.ribbon ul { list-style: none; margin: 0 auto; padding: 0 var(--gut); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; max-width: calc(var(--wrap) + var(--gut) * 2); font-family: var(--label); font-weight: 600; font-size: clamp(14px, 1.5vw, 19px); letter-spacing: .13em; text-transform: uppercase; position: relative; z-index: 2; transform: rotate(-.6deg); }
.ribbon li { display: flex; align-items: center; }
.ribbon li + li::before { content: ""; width: 12px; height: 12px; margin: 0 clamp(12px, 1.6vw, 26px); background: #2A1F2E;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); flex: none; }

/* ---------- how it works ---------- */
.how { padding-top: clamp(130px, 13vw, 200px); }
.how .head2 { max-width: 760px; margin-bottom: clamp(40px, 6vw, 84px); }
.how h2 { color: #fff; }
.steps { display: grid; gap: clamp(56px, 7vw, 110px); counter-reset: s; }
.step { display: grid; gap: 28px; align-items: center; position: relative; }
.step .num { padding-bottom: .1em; font-family: var(--display); font-weight: 900; font-size: clamp(120px, 17vw, 240px); line-height: .7; color: var(--marigold); letter-spacing: -.06em; margin-bottom: 4px; display: block;
  text-shadow: 4px 5px 0 rgba(20, 25, 70, .4); }
.step h3 { color: #fff; font-size: clamp(34px, 4.4vw, 58px); margin-bottom: .3em; }
.step p { max-width: 28em; color: #fff; }
.step .art { position: relative; min-height: 280px; display: grid; place-items: center; }
.matcard { position: relative; width: min(62%, 330px); transform: rotate(-4deg); } .matcard .lid { padding: 6px; }
.board { position: relative; width: min(100%, 560px); aspect-ratio: 1.28; background: #FFF8E6 var(--grain); border-radius: 22px; transform: rotate(2.5deg);
  box-shadow: 0 1px 0 #fff inset, 0 4px 0 #DCC79C, 0 24px 34px -16px rgba(10, 15, 50, .65); border: 3px dashed rgba(51, 38, 58, .3); outline: 10px solid #FFF8E6; outline-offset: -1px; }
.board .piece { position: absolute; }
.board .b1 { left: 4%; top: 12%; --w: 26%; --r: -3deg; } .board .b2 { left: 34%; top: 6%; --w: 22%; --r: 2deg; }
.board .b3 { right: 5%; top: 10%; --w: 27%; --r: 4deg; } .board .b4 { left: 12%; bottom: 7%; --w: 22%; --r: -2deg; } .board .b5 { left: 38%; bottom: 8%; --w: 26%; --r: 3deg; }
.board .out { right: -7%; bottom: -13%; left: auto; --w: 27%; --r: 10deg; z-index: 4; }
.board .out .main { transform: translate(8px, -22px) rotate(7deg); filter: drop-shadow(14px 26px 14px rgba(10, 15, 50, .5)); }
.flipstage { display: flex; gap: clamp(12px, 3vw, 40px); align-items: flex-end; justify-content: center; padding: 22px 0 16px; }
.flipstage .piece { --w: min(34vw, 210px); }
.flipnote { margin-top: clamp(60px, 8vw, 120px); display: grid; gap: 30px; align-items: center; background: var(--cream) var(--grain); color: var(--ink); border-radius: 28px; padding: clamp(26px, 4vw, 52px);
  box-shadow: 0 1px 0 #fff inset, 0 5px 0 #DCC79C, 0 26px 36px -16px rgba(10, 15, 50, .7); position: relative; }
.flipnote h3 { color: var(--ink); } .flipnote h3 em { color: var(--tomato); }
.flipnote .hand { color: var(--corn-deep); }
@media (min-width: 900px) {
  .step { grid-template-columns: 1fr 1fr; gap: 56px; } .step:nth-child(even) .art { order: -1; }
  .step:nth-child(2) .copy { padding-left: 4%; } .step:nth-child(3) .copy { padding-left: 9%; }
  .flipnote { grid-template-columns: 1fr 1.1fr; }
}

/* ---------- the three worlds (home) ---------- */
.worlds { padding-top: clamp(110px, 11vw, 170px); padding-bottom: clamp(60px, 6vw, 90px); } .worlds .world:last-child { margin-bottom: 0; }
.worlds .intro { max-width: 820px; margin-bottom: clamp(48px, 6vw, 90px); }
.race { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 0 0 clamp(50px, 7vw, 90px); padding: 0; list-style: none; counter-reset: r; }
.race li { counter-increment: r; display: flex; gap: 14px; align-items: flex-start; max-width: 320px; font-size: 16.5px; line-height: 1.45; }
.race li::before { content: counter(r); flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--tomato); color: #fff; font-family: var(--display); font-weight: 900; font-size: 20px; border: 3px solid #fff; box-shadow: 0 3px 5px rgba(0, 0, 0, .25); }
.world { position: relative; border-radius: 34px; padding: clamp(24px, 4vw, 56px); margin-bottom: clamp(70px, 9vw, 130px); display: grid; gap: 34px; align-items: center;
  background: var(--bg) var(--grain); color: var(--fg); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 6px 0 rgba(0, 0, 0, .22), 0 34px 44px -22px rgba(20, 10, 5, .6); }
.world::before { content: ""; position: absolute; inset: 12px; border-radius: 24px; border: 2.5px dashed color-mix(in srgb, var(--fg) 34%, transparent); pointer-events: none; }
.world .shot { position: relative; z-index: 2; }
.world .shot .lid { transform: rotate(var(--lr, -2deg)); transition: transform .5s var(--lift); }
.world:hover .shot .lid { transform: rotate(0) translateY(-6px); }
.world .text { position: relative; z-index: 2; }
.world h3 { font-size: clamp(44px, 5.6vw, 86px); font-weight: 900; line-height: .9; letter-spacing: -.035em; margin: 10px 0 8px; }
.world h3 small { display: block; font-size: .38em; font-weight: 700; font-style: italic; letter-spacing: -.01em; margin-top: 10px; color: var(--accent); line-height: 1.1; }
.world .tagline { font-size: clamp(18px, 1.6vw, 21px); max-width: 26em; }
.world .row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 26px; }
.world .meta { font-family: var(--label); font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.world .popups { position: absolute; z-index: 5; inset: 0; pointer-events: none; }
.world .popups .piece { position: absolute; pointer-events: auto; }
.world .shot .seal { left: -16px; top: -30px; z-index: 8; }
.w-dino { --bg: var(--forest); --fg: #FBF4E4; --muted: #D8E6D3; --accent: var(--marigold); --btn-bg: var(--marigold); --btn-edge: var(--marigold-deep); --btn-fg: #2A1F2E; }
.w-bakery { --bg: var(--pink); --fg: #4A1832; --muted: #5E2842; --accent: var(--berry); --btn-bg: var(--berry); --btn-edge: #5E1A36; --btn-fg: #fff;
  background-image: var(--grain), linear-gradient(90deg, rgba(255, 255, 255, .26) 50%, transparent 50%), linear-gradient(rgba(255, 255, 255, .26) 50%, transparent 50%); background-size: auto, 44px 44px, 44px 44px; }
.w-fairy { --bg: var(--night); --fg: #FBF4E4; --muted: #DAD7EF; --accent: var(--glow); --btn-bg: var(--marigold); --btn-edge: var(--marigold-deep); --btn-fg: #2A1F2E;
  background-image: var(--grain), radial-gradient(circle at 20% 18%, rgba(255, 231, 166, .5) 0 2px, transparent 3px), radial-gradient(circle at 74% 30%, rgba(255, 231, 166, .55) 0 2px, transparent 3px), radial-gradient(circle at 56% 84%, rgba(205, 187, 238, .5) 0 2.5px, transparent 3.5px), radial-gradient(circle at 90% 70%, rgba(255, 231, 166, .45) 0 2px, transparent 3px), radial-gradient(circle at 8% 78%, rgba(205, 187, 238, .5) 0 2px, transparent 3px); }
@media (min-width: 900px) {
  .world { grid-template-columns: 1.12fr 1fr; gap: 56px; padding-block: 64px; }
  .world.rev .shot { order: 2; } .world.rev { margin-left: 6%; } .world.fwd { margin-right: 6%; }
  .world .shot { margin-left: -10%; } .world.rev .shot { margin-left: 0; margin-right: -10%; }
}
@media (max-width: 899px) { .world .shot { margin-bottom: 20px; } .world .popups { display: none; } }
.world .mobile-pieces { display: flex; gap: 6px; margin: 26px 0 0; align-items: flex-end; }
.world .mobile-pieces .piece { --w: 30%; }
@media (min-width: 900px) { .world .mobile-pieces { display: none !important; } }

/* ---------- why moms love it ---------- */
.love .wrap { display: grid; gap: clamp(40px, 6vw, 90px); }
.love h2 { font-size: clamp(54px, 9.4vw, 142px); line-height: .88; letter-spacing: -.04em; color: #fff; }
.love h2 em { display: inline-block; }
.ticket { position: relative; background: var(--paper); color: var(--ink); border-radius: 22px; padding: clamp(26px, 3.4vw, 44px); transform: rotate(1.4deg);
  box-shadow: 0 1px 0 #fff inset, 0 5px 0 #E1CDA4, 0 28px 36px -16px rgba(60, 10, 0, .7);
  -webkit-mask: radial-gradient(circle 13px at 0 38%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% 38%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 13px at 0 38%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% 38%, #0000 98%, #000) right / 51% 100% no-repeat; }
.ticket h4 { font-family: var(--label); font-weight: 600; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: var(--tomato-deep); margin: 0 0 14px; }
.ticket ul { list-style: none; margin: 0 0 26px; padding: 0; }
.ticket li { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; padding: 7px 0; border-bottom: 2px dotted rgba(51, 38, 58, .28); }
.ticket li s { text-decoration-thickness: 3px; text-decoration-color: var(--tomato); color: var(--ink-soft); }
.ticket .yes li { border-bottom-color: rgba(30, 75, 56, .3); } .ticket .yes li::before { content: "\2192\00a0"; color: var(--forest); font-weight: 900; }
.love .hand { color: #FFD6CC; transform: rotate(-3deg); display: inline-block; margin-top: 12px; }
.love .aside { display: flex; align-items: flex-end; gap: 18px; margin-top: 30px; }
.love .aside .piece { flex: none; }
.love .aside p { max-width: 22em; font-size: 17px; }
@media (min-width: 900px) { .love .wrap { grid-template-columns: 1.15fr .85fr; align-items: center; } }

/* ---------- bilingual ---------- */
.bilingual .fold { position: relative; display: grid; gap: 0; max-width: 980px; margin: 0 auto; background: var(--paper); border-radius: 26px; color: #3A2740;
  box-shadow: 0 1px 0 #fff inset, 0 6px 0 #E6C9C9, 0 30px 40px -18px rgba(90, 20, 50, .55); overflow: hidden; }
.bilingual .col { padding: clamp(28px, 4vw, 52px); }
.bilingual .col h3 { font-size: clamp(40px, 5vw, 68px); margin-bottom: 14px; } .bilingual .col.en h3 { color: var(--corn-deep); } .bilingual .col.fr h3 { color: var(--berry); }
.bilingual .col.fr { background: #FCE6E6; }
.bilingual .col p:last-child { margin: 0; }
.bilingual .fold::after { content: ""; position: absolute; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(51, 38, 58, .4) 0 8px, transparent 8px 15px); height: 2.5px; left: 0; right: 0; top: 50%; }
.bilingual .tag { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-4deg); background: var(--marigold); color: #2A1F2E; font-family: var(--label); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; padding: 7px 14px; border-radius: 8px; box-shadow: 0 3px 6px rgba(0, 0, 0, .25); white-space: nowrap; }
@media (min-width: 800px) {
  .bilingual .fold { grid-template-columns: 1fr 1fr; } .bilingual .fold::after { top: 12%; bottom: 12%; left: 50%; right: auto; width: 2.5px; height: auto; background: repeating-linear-gradient(0deg, rgba(51, 38, 58, .4) 0 8px, transparent 8px 15px); }
}

/* ---------- kind words (placeholders, clearly marked) ---------- */
.kind .head3 { max-width: 760px; margin-bottom: clamp(40px, 5vw, 70px); }
.notes { display: grid; gap: 36px; }
.qnote { position: relative; background: #FFFDF6; border-radius: 6px; padding: 38px 28px 26px; box-shadow: 0 2px 0 #fff inset, 0 18px 24px -14px rgba(40, 20, 10, .5), 0 3px 6px rgba(40, 20, 10, .14); transform: rotate(var(--r, -1.6deg)); border: 2.5px dashed rgba(191, 59, 38, .55); }
.qnote .tape { left: 50%; margin-left: -56px; top: -14px; }
.qnote blockquote { margin: 0 0 18px; font-family: var(--display); font-weight: 600; font-style: italic; font-size: 23px; line-height: 1.3; color: var(--ink); }
.qnote .who { font-family: var(--label); font-weight: 600; font-size: 14px; letter-spacing: .08em; color: var(--ink-soft); }
.qnote .stamp { position: absolute; right: 12px; bottom: 12px; }
@media (min-width: 900px) { .notes { grid-template-columns: repeat(3, 1fr); gap: 30px; } .qnote:nth-child(2) { margin-top: 44px; } .qnote:nth-child(3) { margin-top: 12px; } }

/* ---------- founder ---------- */
.founder .wrap { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
.polaroid { position: relative; width: min(100%, 360px); background: #fff; padding: 14px 14px 56px; box-shadow: 0 1px 0 #fff inset, 0 24px 32px -14px rgba(40, 20, 10, .55), 0 4px 8px rgba(40, 20, 10, .16); transform: rotate(-3.5deg); margin: 0 auto; }
.polaroid .ph { aspect-ratio: 1 / 1.05; background: repeating-linear-gradient(45deg, #EAD9BA 0 12px, #F2E4C6 12px 24px); display: grid; place-items: center; text-align: center; padding: 20px; font-family: var(--label); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-family: var(--hand); font-size: 28px; font-weight: 700; color: var(--ink); }
.founder .note p { max-width: 34em; }
.founder .sig { font-family: var(--hand); font-weight: 700; font-size: 44px; line-height: 1; color: var(--forest); margin: 20px 0 4px; }
@media (min-width: 900px) { .founder .wrap { grid-template-columns: .8fr 1.2fr; } }

/* ---------- waitlist / pre-order form ---------- */
.reserve .wrap { display: grid; gap: clamp(36px, 6vw, 80px); align-items: center; }
.reserve h2 { font-size: clamp(48px, 8vw, 118px); line-height: .88; letter-spacing: -.04em; }
.formcard { position: relative; background: var(--paper); color: var(--ink); border-radius: 26px; padding: clamp(24px, 3.4vw, 42px); box-shadow: 0 1px 0 #fff inset, 0 6px 0 #D9B96A, 0 30px 40px -18px rgba(60, 40, 0, .6); transform: rotate(-1deg); }
.formcard::before { content: ""; position: absolute; inset: 10px; border: 2.5px dashed rgba(51, 38, 58, .3); border-radius: 18px; pointer-events: none; }
.formcard form { position: relative; display: grid; gap: 16px; }
.formcard fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.formcard legend, .formcard label.t { font-family: var(--label); font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); padding: 0; margin-bottom: 8px; display: block; }
.choice { display: grid; gap: 8px; }
.choice label { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 2.5px solid rgba(51, 38, 58, .3); border-radius: 14px; background: #fff; font-family: var(--label); font-weight: 600; font-size: 17px; min-height: 48px; }
.choice span::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2.5px solid var(--ink-soft); background: #fff; }
.choice input:checked + span { border-color: var(--forest); background: #E6F0E0; }
.choice input:checked + span::before { border-color: var(--forest); background: radial-gradient(circle, var(--forest) 0 5px, #fff 6px); }
.choice input:focus-visible + span { outline: 3px solid var(--marigold-deep); outline-offset: 2px; }
.formcard input[type=email], .formcard input[type=text] { font: inherit; font-weight: 700; font-size: 18px; width: 100%; padding: 14px 16px; border: 2.5px solid rgba(51, 38, 58, .45); border-radius: 14px; background: #fff; color: var(--ink); min-height: 52px; }
.formcard input::placeholder { color: #756580; }
.formcard .micro { font-size: 14px; color: var(--ink-soft); margin: 0; }
.formcard .msg { display: none; padding: 12px 14px; border-radius: 12px; background: #FFE9C2; font-size: 15px; font-weight: 700; }
.formcard .msg.show { display: block; }
.hp { position: absolute; left: -9999px; }
@media (min-width: 900px) { .reserve .wrap { grid-template-columns: 1fr 1fr; } }

/* ---------- footer ---------- */
.foot { background: var(--forest-deep) var(--grain); color: #E8F0E4; padding: clamp(70px, 8vw, 110px) 0 40px; position: relative; z-index: 1; }
.foot .top { display: grid; gap: 40px; margin-bottom: 44px; }
.foot .logo img { width: 210px; }
.foot h4 { font-family: var(--label); font-weight: 600; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--marigold); margin: 0 0 14px; }
.foot li { overflow-wrap: anywhere; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-family: var(--label); font-weight: 500; font-size: 17px; }
.foot a { text-decoration: none; } .foot a:hover { text-decoration: underline; }
.foot .tag { font-family: var(--display); font-weight: 700; font-style: italic; font-size: 28px; line-height: 1.15; color: #fff; max-width: 14em; margin: 18px 0 0; }
.foot .cols { display: grid; gap: 34px; grid-template-columns: 1fr 1fr; }
.foot .legal { border-top: 2px dashed rgba(255, 255, 255, .25); padding-top: 24px; font-size: 14px; line-height: 1.55; color: #C5D6C4; max-width: 70em; }
@media (min-width: 900px) { .foot .top { grid-template-columns: 1.3fr 1.7fr; } .foot .cols { grid-template-columns: repeat(3, 1fr); } }

/* ---------- box pages ---------- */
.lidhero { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(130px, 13vw, 200px); }
.lidhero .wrap { display: grid; gap: 40px; align-items: center; }
.crumb { font-family: var(--label); font-weight: 600; font-size: 15px; letter-spacing: .06em; margin-bottom: 26px; }
.crumb a { text-decoration: none; opacity: .85; } .crumb a:hover { text-decoration: underline; opacity: 1; }
.lidhero h1 { margin: 14px 0 10px; font-size: clamp(60px, 11vw, 152px); line-height: .84; }
.lidhero h1 small { display: block; font-size: .34em; font-style: italic; font-weight: 700; letter-spacing: -.01em; line-height: 1.1; margin-top: .45em; color: var(--accent); }
.lidhero .hook { font-family: var(--display); font-weight: 600; font-style: italic; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.15; letter-spacing: -.01em; margin: 24px 0 18px; max-width: 18em; }
.lidhero .cta { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 30px; }
.lidhero .stage { position: relative; }
.lidhero .stage .lid { transform: rotate(-2.5deg); }
.lidhero .stage .price { right: -4%; top: -8%; --r: 8deg; } .lidhero .stage .seal { left: -3%; top: -9%; --r: -9deg; }
.lidhero .stage .piece { position: absolute; z-index: 5; }
.opener { position: absolute; z-index: 9; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; color: var(--fg); white-space: nowrap; }
.opener svg { width: 30px; height: 40px; }
@media (min-width: 900px) { .lidhero .wrap { grid-template-columns: 1fr 1.1fr; gap: 30px; } .lidhero .stage { margin-right: -3vw; } }

.inside .head2 { max-width: 780px; margin-bottom: clamp(36px, 5vw, 70px); }
.insidegrid { display: grid; gap: clamp(40px, 5vw, 70px); align-items: start; }
.mattray { position: relative; }
.mattray .lid { transform: rotate(-3deg); width: min(100%, 420px); margin: 0 auto; }
.mattray .hand { position: static; display: block; margin: 26px auto 0; transform: rotate(-3deg); max-width: 330px; text-align: center; color: var(--accent); }
.punchboard { position: relative; padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--paper) var(--grain); color: var(--ink);
  box-shadow: 0 1px 0 #fff inset, 0 6px 0 rgba(0, 0, 0, .18), 0 32px 40px -20px rgba(10, 5, 0, .6); border: 3px dashed rgba(51, 38, 58, .32); outline: 12px solid var(--paper); outline-offset: -1px; margin: 12px; }
.punchboard .pieces { display: flex; flex-wrap: wrap; gap: 30px 14px; align-items: flex-end; justify-content: center; padding: 6px 0 10px; }
.punchboard .pieces .piece { --w: var(--pw, 150px); }
.punchboard .piece figcaption, .pcap { display: block; text-align: center; font-family: var(--label); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-top: 10px; }
.punchboard figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.punchboard .hint { text-align: center; margin: 18px 0 0; color: var(--ink-soft); font-size: 15px; }
.ledger { margin: clamp(34px, 5vw, 60px) 0 0; padding: 0; list-style: none; display: grid; gap: 0; font-family: var(--label); font-weight: 500; font-size: 18px; border-top: 2.5px solid currentColor; }
.ledger li { display: flex; gap: 16px; justify-content: space-between; align-items: baseline; padding: 13px 0; border-bottom: 2px dotted color-mix(in srgb, currentColor 45%, transparent); }
.ledger li b { font-family: var(--display); font-weight: 800; font-size: 1.25em; }
@media (min-width: 900px) { .insidegrid { grid-template-columns: .8fr 1.2fr; } .ledger { grid-template-columns: 1fr 1fr; column-gap: 50px; } }

.missions { display: grid; gap: clamp(28px, 4vw, 44px); margin-top: clamp(30px, 5vw, 60px); counter-reset: m; }
.mission { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: start; padding: 22px 0; border-top: 3px dashed color-mix(in srgb, var(--fg) 38%, transparent); }
.mission .n { grid-row: span 2; font-family: var(--display); font-weight: 900; font-size: clamp(72px, 9vw, 130px); line-height: .8; color: var(--accent); letter-spacing: -.05em; min-width: .6em; }
.mission h3 { margin: 0; font-size: clamp(28px, 3.4vw, 46px); }
.mission p { margin: 0; max-width: 30em; }
.mission .piece { position: absolute; right: 0; top: -26px; --w: clamp(72px, 9vw, 110px); }
@media (min-width: 900px) { .missions { grid-template-columns: 1fr 1fr; column-gap: 7vw; } .missions .mission:nth-child(even) { margin-top: 56px; } }
.split { display: grid; gap: clamp(36px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.r { grid-template-columns: 1.1fr .9fr; } }
.bigquote { font-family: var(--display); font-weight: 900; font-size: clamp(48px, 8vw, 116px); line-height: .88; letter-spacing: -.04em; margin: 0 0 26px; }
.stand { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stand .piece { --w: min(78%, 360px); }
.others { display: grid; gap: 26px; margin-top: 40px; }
.other { display: grid; gap: 16px; align-items: center; text-decoration: none; background: var(--bg) var(--grain); color: var(--fg); border-radius: 26px; padding: 18px; box-shadow: 0 5px 0 rgba(0, 0, 0, .2), 0 24px 30px -18px rgba(10, 5, 0, .55); transition: transform .35s var(--lift); }
.other:hover { transform: translateY(-8px) rotate(-.6deg); }
.other .lid { padding: 5px; } .other h3 { margin: 0 0 6px; font-size: 34px; } .other p { margin: 0; font-size: 16px; color: var(--muted); }
@media (min-width: 700px) { .others { grid-template-columns: 1fr 1fr; } }

/* gingham / night sky / meadow patterns for the three box pages */
.gingham { background-image: var(--grain), linear-gradient(90deg, rgba(255, 255, 255, .3) 50%, transparent 50%), linear-gradient(rgba(255, 255, 255, .3) 50%, transparent 50%); background-size: auto, 48px 48px, 48px 48px; }
.stars { background-image: var(--grain), radial-gradient(circle at 12% 22%, rgba(255, 231, 166, .7) 0 2px, transparent 3px), radial-gradient(circle at 78% 14%, rgba(255, 231, 166, .6) 0 2.5px, transparent 3.5px), radial-gradient(circle at 44% 70%, rgba(205, 187, 238, .6) 0 2px, transparent 3px), radial-gradient(circle at 90% 62%, rgba(255, 231, 166, .6) 0 2px, transparent 3px), radial-gradient(circle at 24% 88%, rgba(255, 231, 166, .5) 0 2px, transparent 3px), radial-gradient(circle at 60% 36%, rgba(205, 187, 238, .5) 0 1.8px, transparent 2.8px); }
.bakery-awning { height: 38px; background: repeating-linear-gradient(90deg, var(--berry) 0 36px, #FFF6F0 36px 72px); position: relative; margin-bottom: -2px; }
.bakery-awning::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; background: radial-gradient(circle at 18px 0, var(--berry) 17.5px, transparent 18px) 0 0 / 72px 18px repeat-x, radial-gradient(circle at 54px 0, #FFF6F0 17.5px, transparent 18px) 0 0 / 72px 18px repeat-x; }

/* ---------- prose pages (about, faq, policies) ---------- */
.pagehead { padding-top: clamp(50px, 7vw, 100px); padding-bottom: clamp(90px, 9vw, 140px); }
.pagehead h1 { font-size: clamp(52px, 9vw, 128px); }
.pagehead .lead { margin-top: 18px; }
.prose { max-width: 760px; } .prose h2 { font-size: clamp(34px, 4.4vw, 56px); margin: 2.2em 0 .45em; } .prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: clamp(24px, 2.6vw, 32px); margin: 1.8em 0 .4em; } .prose ul, .prose ol { padding-left: 1.2em; } .prose li { margin-bottom: .5em; }
.prose a { color: var(--tomato-deep); font-weight: 700; }
.prose .box { background: var(--paper); border-radius: 18px; padding: 20px 24px; box-shadow: 0 2px 0 #E6D3AE, 0 14px 22px -14px rgba(18, 8, 4, .45); margin: 1.4em 0; }
.toc { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 0 0 40px; padding: 0; list-style: none; }
.toc a { display: block; font-family: var(--label); font-weight: 600; font-size: 16px; padding: 10px 16px; border: 2.5px solid var(--ink); border-radius: 12px; text-decoration: none; }
.toc a:hover { background: var(--ink); color: var(--cream); }
.todo { background: #FFE08A; color: #3A2A00; padding: 1px 6px; border-radius: 5px; font-weight: 800; font-size: .92em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.faqgroup { margin-bottom: clamp(44px, 6vw, 80px); }
.faqgroup > h2 { font-size: clamp(32px, 4vw, 52px); display: flex; gap: 16px; align-items: center; }
.faqgroup > h2::after { content: ""; flex: 1; height: 0; border-top: 3px dashed rgba(51, 38, 58, .3); }
details.q { background: var(--paper); border-radius: 18px; margin-bottom: 12px; box-shadow: 0 2px 0 #E6D3AE, 0 14px 20px -14px rgba(18, 8, 4, .4); }
details.q summary { list-style: none; cursor: pointer; padding: 20px 64px 20px 24px; position: relative; font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.1vw, 25px); line-height: 1.2; min-height: 64px; display: flex; align-items: center; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--forest); color: #fff; font-family: var(--label); font-size: 24px; line-height: 1; display: grid; place-items: center; }
details.q[open] summary::after { content: "\2013"; background: var(--tomato); }
details.q .a { padding: 0 24px 22px; max-width: 46em; } details.q .a p:last-child { margin-bottom: 0; }
.timeline { list-style: none; padding: 0; margin: 40px 0; display: grid; gap: 0; border-left: 4px dashed rgba(51, 38, 58, .35); margin-left: 14px; }
.timeline li { position: relative; padding: 0 0 34px 34px; }
.timeline li::before { content: ""; position: absolute; left: -15px; top: 4px; width: 26px; height: 26px; border-radius: 50%; background: var(--c, var(--tomato)); border: 4px solid var(--cream); box-shadow: 0 0 0 2px var(--ink); }
.timeline b { font-family: var(--display); font-weight: 800; font-size: 26px; display: block; line-height: 1.15; margin-bottom: 4px; }
.pledges { display: grid; gap: 14px; padding: 0; list-style: none; margin: 26px 0 0; }
.pledges li { background: var(--paper); border-radius: 16px; padding: 18px 22px; font-weight: 700; box-shadow: 0 2px 0 #E6D3AE, 0 12px 18px -12px rgba(18, 8, 4, .4); }
.pledges li b { font-family: var(--display); font-weight: 800; font-size: 22px; display: block; }

.err { text-align: center; padding-top: clamp(60px, 9vw, 120px); }
.err h1 { font-size: clamp(80px, 18vw, 240px); }
.err .piece { --w: 220px; margin-bottom: 20px; }

/* ---------- motion & preference safety ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .piece:hover .main, .piece:hover .faces, .flip:hover .faces { transform: none; }
}
@media (hover: none) { .piece:hover .main, .piece:hover .faces { transform: none; } }
@media print { .head, .topbar, .ribbon, .foot { display: none; } .sheet::after, .sheet::before { display: none; } }

/* ---------- extra craft details ---------- */
.sparkles { background-image: var(--grain),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23F2B230' fill-opacity='.85' d='M12 0c.8 6.4 5.6 11.2 12 12-6.4.8-11.2 5.6-12 12-.8-6.4-5.6-11.2-12-12C6.4 11.2 11.2 6.4 12 0z'/%3E%3C/svg%3E"),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFE7A6' fill-opacity='.7' d='M12 0c.8 6.4 5.6 11.2 12 12-6.4.8-11.2 5.6-12 12-.8-6.4-5.6-11.2-12-12C6.4 11.2 11.2 6.4 12 0z'/%3E%3C/svg%3E"),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23F2B230' fill-opacity='.6' d='M12 0c.8 6.4 5.6 11.2 12 12-6.4.8-11.2 5.6-12 12-.8-6.4-5.6-11.2-12-12C6.4 11.2 11.2 6.4 12 0z'/%3E%3C/svg%3E");
  background-repeat: repeat, no-repeat, no-repeat, no-repeat; background-size: auto, 0, 0, 0; background-position: 0 0, 96% 8%, 4% 92%, 93% 62%; }
@media (min-width: 900px) { .sparkles { background-size: auto, 34px, 22px, 26px; } }
.stamp-round { position: absolute; z-index: 4; width: 150px; height: 150px; color: var(--marigold); transform: rotate(-14deg); }
.stamp-round svg { width: 100%; height: 100%; overflow: visible; }
.stamp-round text { font-family: var(--label); font-weight: 600; font-size: 12.4px; letter-spacing: .2em; fill: currentColor; text-transform: uppercase; }
.hero .stamp-round { left: 2%; bottom: -150px; }
.hero .copy { position: relative; }
.hole { position: absolute; border-radius: 50%; background: rgba(0, 0, 0, .2); box-shadow: inset 0 4px 7px rgba(0, 0, 0, .38), 0 1.5px 0 rgba(255, 255, 255, .22); pointer-events: none; z-index: 1; }
@media (max-width: 899px) { .hero .stamp-round { display: none; } }

@media (max-width: 899px) { .board .out { right: -2%; } .step .num { font-size: 110px; } }

/* ---------- the Minis teaser ---------- */
.minis { display: grid; gap: 26px; align-items: center; margin-top: clamp(50px, 6vw, 90px); padding: clamp(24px, 3.4vw, 44px); border-radius: 28px;
  background: var(--paper) var(--grain); border: 3px dashed rgba(51, 38, 58, .3); outline: 10px solid var(--paper); outline-offset: -1px; margin-inline: 10px;
  box-shadow: 0 1px 0 #fff inset, 0 6px 0 #E6D3AE, 0 28px 36px -20px rgba(18, 8, 4, .5); }
.minis h3 { margin-bottom: .3em; } .minis p { margin: 0; max-width: 36em; }
.minis a { color: var(--tomato-deep); font-weight: 800; }
.minis .folder { position: relative; height: 150px; width: 210px; background: linear-gradient(180deg, #F2D7A0, #E9C47E); border-radius: 12px; transform: rotate(-3deg);
  box-shadow: 0 1px 0 #fff inset, 0 4px 0 #CFA25A, 0 16px 22px -12px rgba(18, 8, 4, .5); }
.minis .folder::before { content: ""; position: absolute; left: 0; right: 0; top: 56%; border-top: 3px dashed rgba(90, 52, 36, .45); }
.minis .folder .piece { position: absolute; bottom: 52%; }
.minis .folder .m1 { left: 8%; } .minis .folder .m2 { left: 38%; } .minis .folder .m3 { left: 68%; }
@media (min-width: 800px) { .minis { grid-template-columns: 230px 1fr; gap: 44px; } }
.love .aside { --pw: 150px; } @media (min-width: 900px) { .love .aside { --pw: 210px; } }
@media (max-width: 899px) { .collage .note { right: 6%; bottom: -50%; } .minis .folder { width: 190px; } }

.mission h3, .mission p { padding-right: clamp(64px, 9vw, 112px); }
@media (min-width: 900px) { .lidhero .stage { margin-right: -1vw; } .lidhero .stage .price { right: -2%; } }
