/* nothingwasted.cc — The Nothing Wasted Handbook
   A kitchen wall: paper, masking tape, a receipt, jars on a shelf, a fridge door.
   Large, high-contrast type for readers 55+. One page, read top to bottom. */

:root {
  --cream: #f4ede1;
  --paper: #fbf7f0;
  --kraft: #eadfcb;
  --ink: #1d1914;
  --ink-2: #3a332b;
  --soft: #62584d;
  --line: #d9cdb9;
  --persimmon: #c24e22;
  --persimmon-hi: #d8622f;
  --persimmon-dark: #983b17;
  --soy: #211a14;
  --soy-2: #2d241c;
  --glass: #6f8c78;
  --tape: rgba(236, 224, 186, 0.92);
  --gold: #e3b15a;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --wrap: 72rem;
  --radius: 14px;
  --shadow-1: 0 1px 2px rgba(29, 25, 20, .06), 0 6px 18px rgba(29, 25, 20, .07);
  --shadow-2: 0 2px 6px rgba(29, 25, 20, .08), 0 22px 50px rgba(29, 25, 20, .16);
  --shadow-3: 0 10px 20px rgba(29, 25, 20, .14), 0 40px 90px rgba(29, 25, 20, .28);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.35  0 0 0 0 0.28  0 0 0 0 0.2  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  color-scheme: light;
}

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

html {
  font-size: 19px;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}
@media (min-width: 48em) { html { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream) var(--grain);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture { max-width: 100%; display: block; }
img { height: auto; }
figure { margin: 0; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 60;
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: -0.015em;
}
h2 { font-size: clamp(2.05rem, 1.35rem + 2.6vw, 3.4rem); }
h2 em, h1 em { font-style: italic; color: var(--persimmon); font-weight: 400; }
h3 { font-size: 1.35rem; }
strong { font-weight: 700; }
ul, ol { padding-left: 1.2em; }
button { font: inherit; color: inherit; }
s { text-decoration-thickness: 2px; opacity: .6; }
s:empty { display: none; }
[hidden] { display: none !important; }

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

.skip {
  position: absolute; left: 1rem; top: -5rem; z-index: 100;
  background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 8px;
}
.skip:focus { top: 1rem; }

.wrap { width: min(var(--wrap), 100% - 2rem); margin-inline: auto; }
@media (min-width: 48em) { .wrap { width: min(var(--wrap), 100% - 4rem); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--persimmon-dark);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 1.6em; height: 2px; background: currentColor; border-radius: 2px; }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); }

.hand { font-family: var(--hand); font-size: 1.45em; line-height: 1; color: var(--persimmon-dark); font-weight: 700; }

/* ---------- masking tape ---------- */
.tape {
  display: inline-block;
  background: var(--tape);
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.1;
  color: #4a3f30;
  padding: .3rem 1rem .35rem;
  transform: rotate(-2deg);
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
  clip-path: polygon(2% 0, 98% 4%, 100% 50%, 98% 96%, 3% 100%, 0 55%);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 3.1rem;
  padding: .7rem 1.4rem;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn svg { width: 1.2em; height: 1.2em; }
.btn-primary {
  background: linear-gradient(180deg, var(--persimmon-hi), var(--persimmon));
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 22px rgba(194, 78, 34, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 14px 30px rgba(194, 78, 34, .42); }
.btn-primary:active { transform: translateY(0); }
.btn-xl { min-height: 4rem; padding: .9rem 1.9rem; font-size: 1.15rem; }
.btn-block { width: 100%; }
.btn > span { white-space: nowrap; }
@media (max-width: 26em) { .btn-xl { font-size: 1.02rem; padding: .85rem 1.3rem; gap: .6rem; } .btn-price { padding-left: .6rem; } }
.btn-price {
  display: inline-flex; gap: .4em; align-items: baseline;
  padding-left: .85rem; border-left: 1px solid rgba(255,255,255,.4);
  font-weight: 400;
}
.btn-price s { opacity: .75; }
.btn-link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 700; color: var(--ink); text-decoration: none;
  padding: .6rem .2rem; border-bottom: 2px solid var(--line);
}
.btn-link svg { width: 1.1em; height: 1.1em; transition: transform .2s; }
.btn-link:hover svg { transform: translateY(3px); }

/* ---------- launch bar (optional) ---------- */
.launch { background: var(--soy); color: #f6ead6; text-align: center; font-size: .92rem; padding: .55rem 0; }
.launch strong { color: #fff; }
.launch-dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: var(--persimmon-hi); margin-right: .5rem; vertical-align: middle; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 237, 225, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(217, 205, 185, .7);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.3rem; }
.brand { white-space: nowrap; display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--display); font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }
.brand-mark { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--persimmon); color: #fff; }
.brand-mark svg { width: 1.25rem; height: 1.25rem; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: .35rem; }
.nav-links a { display: block; padding: .5rem .85rem; border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--ink-2); font-size: .95rem; }
.nav-links a:hover { background: rgba(29,25,20,.06); color: var(--ink); }
.btn-nav { min-height: 2.8rem; padding: .5rem 1.2rem; font-size: .95rem; white-space: nowrap; }
@media (max-width: 26em) { .brand { font-size: 1rem; gap: .4rem; } .brand-mark { width: 1.8rem; height: 1.8rem; } .btn-nav { padding: .45rem .9rem; font-size: .88rem; } }
@media (min-width: 60em) { .nav-links { display: flex; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 3rem 0 3.5rem; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(216, 98, 47, .20), rgba(227, 177, 90, .12) 55%, transparent);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 60em) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 2rem; } .hero { padding: 4rem 0 4rem; } }

.tape-hero { margin-bottom: 1.4rem; }
.hero h1 {
  font-size: clamp(2.8rem, 1.6rem + 5.2vw, 5.4rem);
  line-height: .98;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin-bottom: 1.6rem;
  font-variation-settings: "SOFT" 80, "opsz" 144;
}
.h1-line { display: block; }
.h1-accent { color: var(--persimmon); font-weight: 400; margin-top: .12em; font-size: .78em; letter-spacing: -0.02em; }
.hero .lede { max-width: 34rem; font-size: 1.22rem; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin: 2rem 0 1.6rem; }
.hero-ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .95rem; color: var(--ink-2); }
.hero-ticks li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-ticks svg { width: 1.15rem; height: 1.15rem; color: var(--persimmon); flex: none; }

/* hero art */
.hero-art { position: relative; display: grid; place-items: center; min-height: 30rem; }
.book-stage { position: relative; perspective: 1600px; z-index: 2; }
.book {
  --rx: 4deg; --ry: -24deg;
  position: relative;
  width: min(19.5rem, 68vw);
  aspect-ratio: 2 / 3;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  container-type: inline-size;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
  animation: bookIn 1.2s cubic-bezier(.2,.7,.2,1) backwards;
}
@keyframes bookIn { from { opacity: 0; transform: translateY(30px) rotateX(10deg) rotateY(-40deg); } }
.book-cover {
  position: absolute; inset: 0;
  border-radius: 3px 8px 8px 3px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,0) 5%, rgba(255,255,255,.08) 7%, rgba(0,0,0,0) 10%),
    linear-gradient(160deg, #f8f1e4, #efe4d0);
  box-shadow: var(--shadow-3);
  transform: translateZ(14px);
  display: flex; flex-direction: column;
  padding: 7cqw 6cqw 0 8cqw;
  overflow: hidden;
}
.bc-top { font-family: var(--body); font-weight: 700; font-size: 3.6cqw; letter-spacing: .3em; text-transform: uppercase; color: var(--persimmon-dark); }
.bc-title { position: relative; z-index: 2; font-family: var(--display); font-size: 11.6cqw; line-height: .98; letter-spacing: -.02em; margin-top: 3cqw; font-weight: 500; color: var(--ink); font-variation-settings: "SOFT" 90, "opsz" 72; }
.bc-rule { width: 14cqw; height: 1cqw; background: var(--persimmon); margin: 4cqw 0 3cqw; border-radius: 2px; }
.bc-sub { position: relative; z-index: 2; font-family: var(--display); font-style: italic; font-size: 5cqw; color: var(--soft); }
.bc-photo {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-34%);
  width: 70%;
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 22%);
          mask-image: linear-gradient(to top, transparent 0, #000 22%);
}
.bc-photo img { width: 100%; mix-blend-mode: multiply; }
.bc-author {
  position: absolute; left: 8cqw; bottom: 6cqw; z-index: 2;
  font-family: var(--body); font-weight: 700; font-size: 3.8cqw; letter-spacing: .28em; text-transform: uppercase;
  background: var(--persimmon); color: #fff; padding: .35rem .6rem;
}
.book-pages {
  position: absolute; top: 5px; bottom: 5px; right: 0; width: 28px;
  transform-origin: right center;
  transform: translateZ(-14px) rotateY(90deg);
  background: repeating-linear-gradient(90deg, #fffdf8 0 2px, #e6dccb 2px 3px);
  box-shadow: inset 0 0 12px rgba(0,0,0,.18);
}
.book-spine {
  position: absolute; top: 0; bottom: 0; left: 0; width: 28px;
  transform-origin: left center;
  transform: translateZ(14px) rotateY(90deg);
  background: linear-gradient(90deg, #a8401b, #c9582a 50%, #a8401b);
}
.book-shadow {
  position: absolute; left: 8%; right: -4%; bottom: -1.8rem; height: 2.2rem;
  background: radial-gradient(closest-side, rgba(29,25,20,.35), transparent);
  filter: blur(6px);
  z-index: -1;
}
.receipt-peek {
  position: absolute; z-index: 1;
  top: 1rem; right: max(0rem, 50% - 17rem);
  width: 12.5rem;
  background: #fffdf7;
  font-family: var(--mono); font-size: .58rem; color: #3b352d;
  padding: 1rem .9rem 1.4rem;
  transform: rotate(9deg);
  box-shadow: var(--shadow-2);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%;
}
.rp-line, .rp-total { display: flex; justify-content: space-between; gap: .5rem; padding: .18rem 0; }
.rp-total { border-top: 1px dashed #a79d8c; margin-top: .4rem; padding-top: .45rem; font-weight: 500; color: var(--persimmon-dark); }
.note {
  position: absolute; z-index: 3;
  font-family: var(--hand); font-weight: 700; font-size: 1.5rem; color: #3f352a;
  background: #fff6b8;
  padding: .7rem 1rem .8rem;
  box-shadow: var(--shadow-2);
  transform: rotate(-5deg);
}
.note-hero { left: max(0rem, 50% - 18rem); bottom: 5.5rem; }
.note-hero::before {
  content: ""; position: absolute; top: -.7rem; left: 50%; width: 3.6rem; height: 1.2rem; transform: translateX(-50%) rotate(3deg);
  background: var(--tape);
}
@media (max-width: 30em) {
  .hero-art { min-height: 26rem; }
  .receipt-peek { right: 0; width: 10.5rem; top: .5rem; }
  .note-hero { left: 0; bottom: 1.5rem; font-size: 1.25rem; }
}

/* stats row */
.stats {
  list-style: none; padding: 0; margin: 3.5rem 0 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 2px solid var(--ink);
}
.stats li { padding: 1.1rem .5rem 0 0; display: flex; align-items: baseline; gap: .7rem; }
.stats b { font-family: var(--display); font-weight: 500; font-size: 2.6rem; line-height: 1; color: var(--persimmon); font-variation-settings: "SOFT" 100; }
.stats span { font-size: .92rem; color: var(--ink-2); line-height: 1.3; }
@media (min-width: 48em) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- sections ---------- */
.section { padding: 5rem 0; position: relative; }
@media (min-width: 60em) { .section { padding: 7rem 0; } }
.section-paper { background: var(--paper) var(--grain); }
.section-kraft { background: var(--kraft) var(--grain); }
.section-ink { background: var(--soy) var(--grain); color: #f3e9d8; }
.section-ink .eyebrow { color: var(--gold); }
.section-ink .section-head p:not(.eyebrow) { color: #d8ccb8; }
.section-dark { background: radial-gradient(120% 80% at 80% 0%, #3a2a1d, var(--soy) 60%); color: #f3e9d8; }
.section-dark .eyebrow { color: var(--gold); }
.section-head { max-width: 44rem; margin-bottom: 3rem; }
.section-head p:not(.eyebrow) { font-size: 1.1rem; color: var(--ink-2); }

.split { display: grid; gap: 3.5rem; align-items: start; }
@media (min-width: 60em) { .split { grid-template-columns: 1.15fr .85fr; gap: 5rem; } }

.h2-quote { font-style: italic; font-weight: 400; }
.pull {
  margin: 2rem 0;
  padding: 1.5rem 0 1.5rem 1.6rem;
  border-left: 4px solid var(--persimmon);
}
.pull p { font-family: var(--display); font-size: 1.45rem; line-height: 1.35; margin-bottom: .6rem; font-variation-settings: "SOFT" 50; }
.pull cite { font-style: normal; font-size: .88rem; color: var(--soft); font-weight: 700; }
.pull-dark { border-color: var(--gold); }
.pull-dark p { color: #fbf3e5; }
.pull-dark cite { color: #cbbda6; }
.fact-note {
  margin-top: 1.8rem; padding: 1rem 1.2rem; border-radius: var(--radius);
  background: rgba(194, 78, 34, .08); font-size: .98rem; color: var(--ink-2);
}
.fact-note span { font-weight: 700; color: var(--persimmon-dark); display: block; }

/* ---------- receipt ---------- */
.receipt-wrap { position: relative; max-width: 25rem; margin-inline: auto; width: 100%; padding-top: 1.1rem; }
@media (min-width: 60em) { .receipt-wrap { position: sticky; top: 6rem; } }
.printer {
  position: absolute; top: 0; left: -4%; right: -4%; height: 1.6rem; z-index: 2;
  background: linear-gradient(180deg, #3b332b, #211a14);
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0,0,0,.25);
}
.printer::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 5px; height: 4px; background: #0d0a08; border-radius: 3px; }
.receipt {
  position: relative;
  margin: 0 3%;
  background: #fffdf8;
  font-family: var(--mono);
  font-size: .8rem;
  color: #2f2a23;
  padding: 1.6rem 1.3rem 2.4rem;
  box-shadow: var(--shadow-2);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
  transform-origin: top;
}
.r-head { text-align: center; border-bottom: 1px dashed #aaa08f; padding-bottom: .9rem; margin-bottom: .8rem; }
.r-store { font-weight: 500; font-size: 1.05rem; letter-spacing: .12em; }
.r-sub { font-size: .7rem; color: #7c7264; letter-spacing: .08em; margin-top: .2rem; }
.r-items { list-style: none; padding: 0; margin: 0; }
.r-items li, .r-total, .r-year { display: flex; justify-content: space-between; gap: 1rem; padding: .28rem 0; }
.r-items li span:first-child { overflow-wrap: anywhere; }
.r-total { border-top: 1px dashed #aaa08f; margin-top: .6rem; padding-top: .7rem; font-weight: 500; font-size: 1rem; }
.r-year { font-weight: 500; font-size: 1.2rem; color: #fff; background: var(--persimmon); margin: .6rem -.5rem 0; padding: .55rem .5rem; }
.r-foot { text-align: center; margin-top: 1.2rem; font-size: .72rem; color: #7c7264; letter-spacing: .06em; line-height: 1.6; }
.r-barcode { height: 2.4rem; margin: 1rem auto 0; width: 70%; background: repeating-linear-gradient(90deg, #2f2a23 0 2px, transparent 2px 4px, #2f2a23 4px 5px, transparent 5px 8px, #2f2a23 8px 11px, transparent 11px 12px); opacity: .85; }

/* print-in animation */
.js .receipt-wrap:not(.in) .receipt { clip-path: inset(0 0 100% 0); }
.js .receipt-wrap .receipt { transition: clip-path 2.2s steps(22, end); }
.js .receipt-wrap.in .receipt { clip-path: inset(0 0 -40px 0); }

/* ---------- calculator ---------- */
.calc {
  background: var(--paper);
  border-radius: 28px;
  padding: 2.2rem 1.3rem;
  box-shadow: var(--shadow-2);
  text-align: center;
  position: relative;
}
@media (min-width: 48em) { .calc { padding: 3.5rem 3rem; } }
.calc-head { max-width: 38rem; margin: 0 auto 1.6rem; }
.calc-head .eyebrow::after { content: ""; width: 1.6em; height: 2px; background: currentColor; border-radius: 2px; }
.calc-pick { border: 0; margin: 0 0 2rem; padding: 0; }
.calc-pick legend { font-weight: 700; margin: 0 auto 1rem; font-size: 1.05rem; padding: 0; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pills span {
  display: inline-flex; align-items: center; min-height: 3.3rem; padding: .5rem 1.4rem;
  border-radius: 999px; border: 2px solid var(--line); background: #fff;
  font-weight: 700; font-size: 1.1rem; transition: all .15s ease;
}
.pills label:hover span { border-color: var(--persimmon); }
.pills input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-1); }
.pills input:focus-visible + span { outline: 3px solid var(--persimmon); outline-offset: 3px; }
.calc-out { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-bottom: 1.8rem; }
@media (min-width: 48em) { .calc-out { grid-template-columns: 1fr 1fr 1.4fr 1fr; align-items: stretch; } }
.tile { background: var(--cream); border-radius: 18px; padding: 1.1rem .8rem; display: flex; flex-direction: column; justify-content: center; gap: .2rem; }
.t-label { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--soft); }
.tile b { font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.3rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.tile-big { background: var(--persimmon); color: #fff; grid-column: 1 / -1; order: -1; padding: 1.5rem 1rem; }
.tile-big .t-label { color: rgba(255,255,255,.85); }
.tile-big b { font-size: clamp(2.8rem, 1.8rem + 4vw, 4.4rem); }
@media (min-width: 48em) { .tile-big { grid-column: auto; order: 0; } }
.calc-verdict { max-width: 40rem; margin: 0 auto; font-size: 1.15rem; line-height: 1.55; color: var(--ink-2); }
.calc-verdict strong { color: var(--persimmon-dark); }

/* ---------- about ---------- */
.about { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 60em) { .about { grid-template-columns: .8fr 1.2fr; gap: 5rem; } }
.polaroid {
  position: relative;
  background: #fff;
  padding: .9rem .9rem 0;
  box-shadow: var(--shadow-2);
  transform: rotate(-2.5deg);
  max-width: min(24rem, 80%); margin-inline: auto;
}
.polaroid img { background: #f4f1ec; }
.polaroid figcaption { font-family: var(--hand); font-weight: 700; font-size: 1.7rem; text-align: center; padding: .7rem 0 1rem; color: #3f352a; }
.tape-corner { position: absolute; top: -.9rem; left: 50%; width: 7rem; height: 2rem; transform: translateX(-50%) rotate(-4deg); padding: 0; z-index: 2; }
.facts {
  list-style: none; padding: 0; margin: 4rem 0 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
@media (min-width: 48em) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.1rem; }
.facts b { display: block; font-family: var(--display); font-weight: 500; font-size: 3rem; line-height: 1; color: var(--persimmon); margin-bottom: .4rem; font-variation-settings: "SOFT" 100; }
.facts span { font-size: .95rem; color: var(--ink-2); line-height: 1.35; display: block; }

/* ---------- the shelf of jars ---------- */
.shelf { display: grid; grid-template-columns: 1fr; row-gap: 1.8rem; }
@media (min-width: 64em) { .shelf { row-gap: 2.6rem; } }
@media (min-width: 40em) { .shelf { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .shelf { grid-template-columns: repeat(4, 1fr); } }
.jar { position: relative; padding: 0 .7rem 1.1rem; display: flex; flex-direction: column; }
.jar::after { /* the shelf plank under each jar; they meet up across a row */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.1rem;
  background: linear-gradient(180deg, #b98c5c, #9c7043 60%, #7f5936);
  box-shadow: 0 8px 14px rgba(60, 40, 20, .25);
}
.jar-lid {
  width: 68%; height: 1.5rem; margin: 0 auto -2px; position: relative; z-index: 1;
  background: linear-gradient(180deg, #d8622f, #a8401b);
  border-radius: 6px 6px 3px 3px;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.18), inset 0 2px 0 rgba(255,255,255,.25);
}
.jar:nth-child(2n) .jar-lid { background: linear-gradient(180deg, #d4a24c, #a57a2d); }
.jar:nth-child(3n) .jar-lid { background: linear-gradient(180deg, #6f8c78, #4d6a57); }
.jar-body {
  flex: 1;
  position: relative;
  border: 2px solid rgba(111, 140, 120, .45);
  border-radius: 22px 22px 18px 18px;
  padding: 1.4rem 1.2rem 1.4rem;
  background:
    linear-gradient(90deg, rgba(255,255,255,.75) 0 6%, rgba(255,255,255,0) 14%, rgba(255,255,255,0) 84%, rgba(255,255,255,.55) 92%, rgba(255,255,255,.2)),
    linear-gradient(180deg, rgba(223, 234, 225, .75), rgba(207, 222, 211, .85));
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.25), 0 6px 14px rgba(29,25,20,.07);
  transition: transform .25s ease;
}
.jar:hover .jar-body { transform: translateY(-4px); }
.jar-tape {
  display: inline-block; background: var(--tape); font-family: var(--hand); font-weight: 700; font-size: 1.25rem; line-height: 1.1;
  padding: .2rem .7rem .25rem; transform: rotate(-2deg); margin-bottom: .8rem; color: #4a3f30;
  clip-path: polygon(2% 0, 98% 4%, 100% 50%, 98% 96%, 3% 100%, 0 55%);
}
.jar h3 { font-size: 1.45rem; margin-bottom: .45rem; }
.jar p { font-size: .98rem; line-height: 1.5; margin: 0; color: var(--ink-2); }

.toc-box { margin-top: 3.5rem; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-1); }
.toc-box summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.3rem 1.5rem; font-weight: 700; font-size: 1.1rem; min-height: 4rem;
}
.toc-box summary::-webkit-details-marker { display: none; }
.toc-box summary svg { width: 1.5rem; height: 1.5rem; flex: none; color: var(--persimmon); transition: transform .25s; }
.toc-box[open] summary svg { transform: rotate(180deg); }
.toc { display: grid; gap: 1.6rem 2.5rem; padding: .5rem 1.5rem 2rem; border-top: 1px solid var(--line); padding-top: 1.6rem; }
@media (min-width: 48em) { .toc { grid-template-columns: repeat(3, 1fr); } }
.toc h4 { font-family: var(--body); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--persimmon-dark); margin-bottom: .5rem; font-weight: 700; }
.toc ol { margin: 0; padding-left: 1.6em; font-size: .98rem; }
.toc li { margin: .2rem 0; }

/* ---------- what you'll learn ---------- */
.learn { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: learn; border-top: 2px solid var(--ink); }
@media (min-width: 48em) { .learn { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
.learn li {
  counter-increment: learn;
  display: grid; grid-template-columns: 2.6rem 1fr auto; gap: 1rem; align-items: baseline;
  padding: 1.15rem 0; border-bottom: 1px solid var(--line);
}
.learn li::before { content: counter(learn, decimal-leading-zero); font-family: var(--display); font-size: 1.35rem; color: var(--persimmon); font-weight: 500; }
.learn p { margin: 0; font-size: 1.08rem; line-height: 1.45; }
.learn li > span { font-size: .8rem; font-weight: 700; color: var(--soft); background: var(--kraft); padding: .15rem .55rem; border-radius: 999px; white-space: nowrap; }

/* ---------- page fan ---------- */
.fan { display: flex; justify-content: center; align-items: flex-end; padding: 1rem 0 2rem; }
.fan-page { flex: 0 1 13.5rem; margin-inline: -1.1rem; transition: transform .35s cubic-bezier(.2,.7,.2,1); position: relative; }
.fan-page:nth-child(1) { transform: rotate(-9deg) translateY(2.2rem); }
.fan-page:nth-child(2) { transform: rotate(-4.5deg) translateY(.6rem); }
.fan-page:nth-child(3) { transform: rotate(0deg); z-index: 3; }
.fan-page:nth-child(4) { transform: rotate(4.5deg) translateY(.6rem); z-index: 2; }
.fan-page:nth-child(5) { transform: rotate(9deg) translateY(2.2rem); z-index: 1; }
.fan-page:hover, .fan-page:focus-within { transform: translateY(-1.4rem) rotate(0) scale(1.05); z-index: 10; }
.fan-page button { display: block; width: 100%; padding: 0; border: 0; background: #fff; cursor: zoom-in; box-shadow: var(--shadow-3); border-radius: 4px; overflow: hidden; }
.fan-page figcaption { text-align: center; font-size: .85rem; color: #d8ccb8; margin-top: .8rem; font-weight: 700; opacity: 0; transition: opacity .2s; }
.fan-page:hover figcaption, .fan-page:focus-within figcaption { opacity: 1; }
@media (max-width: 47.99em) {
  .fan { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; padding: 0; }
  .fan-page, .fan-page:nth-child(n) { margin: 0; transform: none; }
  .fan-page:nth-child(5) { display: none; }
  .fan-page figcaption { opacity: 1; }
}

/* ---------- marquee ---------- */
.marquee { background: var(--persimmon); color: #fff; overflow: hidden; padding: 1.1rem 0; border-block: 3px solid var(--soy); }
.marquee-track { display: flex; gap: 1.6rem; width: max-content; animation: marquee 60s linear infinite; font-family: var(--display); font-style: italic; font-size: 1.45rem; white-space: nowrap; align-items: center; }
.marquee i { font-style: normal; color: var(--gold); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- fridge rules ---------- */
.rules-split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 60em) { .rules-split { grid-template-columns: .9fr 1.1fr; gap: 4rem; } }
.fridge {
  position: relative;
  border-radius: 28px;
  padding: 2.4rem 1.4rem 2.4rem 1.4rem;
  background: linear-gradient(115deg, #eef0ee, #d9dcda 45%, #eceeec 60%, #cfd3d1);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.8), inset 0 -3px 6px rgba(0,0,0,.08), var(--shadow-2);
  display: grid; gap: 1.6rem;
}
@media (min-width: 48em) { .fridge { padding: 3rem 4.5rem 3rem 2.5rem; } }
.fridge-handle { display: none; }
@media (min-width: 48em) {
  .fridge-handle { display: block; position: absolute; right: 1.4rem; top: 18%; bottom: 18%; width: .9rem; border-radius: 999px; background: linear-gradient(90deg, #b8bdba, #f5f6f5 40%, #a7aca9); box-shadow: 2px 4px 8px rgba(0,0,0,.2); }
}
.card {
  position: relative;
  background: #fffef9;
  background-image: linear-gradient(transparent 2.1rem, #e46b56 2.1rem, #e46b56 2.2rem, transparent 2.2rem);
  padding: .8rem 1.3rem 1.2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,.1), 0 12px 24px rgba(0,0,0,.12);
  font-family: var(--display);
  font-size: 1.18rem;
  line-height: 1.6rem;
}
.card p { margin: .75rem 0 0; }
.card-k { display: block; font-family: var(--body); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--persimmon-dark); height: 1.4rem; }
.card-1 { transform: rotate(-1.8deg); }
.card-2 { transform: rotate(1.2deg); margin-left: 1rem; }
.card-3 { transform: rotate(-.8deg); }
.magnet { position: absolute; top: -.8rem; left: 50%; width: 1.8rem; height: 1.8rem; border-radius: 50%; transform: translateX(-50%); box-shadow: inset -3px -4px 6px rgba(0,0,0,.25), inset 3px 3px 5px rgba(255,255,255,.45), 0 4px 6px rgba(0,0,0,.25); }
.m-red { background: #c24e22; }
.m-green { background: #5c7a62; left: 20%; }
.m-yellow { background: #e3b15a; left: 78%; }

/* ---------- worksheets ---------- */
.sheets { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 40em) { .sheets { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .sheets { grid-template-columns: repeat(4, 1fr); } }
.sheet {
  position: relative; background: #fffef9; padding: 1.6rem 1.3rem 1.3rem; border-radius: 4px;
  box-shadow: 0 1px 0 #e8e0d0, 0 4px 0 -1px #fffef9, 0 5px 0 -1px #e2d8c6, 0 8px 0 -2px #fffef9, 0 9px 0 -2px #ddd2bf, var(--shadow-1);
  transition: transform .2s ease;
}
.sheet:hover { transform: translateY(-4px) rotate(-.5deg); }
.sheet-tab { position: absolute; top: -.9rem; right: 1.1rem; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; background: var(--persimmon); color: #fff; font-family: var(--display); font-size: 1.3rem; font-weight: 600; border-radius: 8px; box-shadow: var(--shadow-1); }
.sheet h3 { font-size: 1.3rem; margin-bottom: .4rem; padding-right: 2rem; }
.sheet p { font-size: .95rem; margin: 0; color: var(--ink-2); line-height: 1.5; }
.sheet-pack { background: var(--persimmon); color: #fff; display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow-2); }
.sheet-pack svg { width: 2.2rem; height: 2.2rem; margin-bottom: .6rem; }
.sheet-pack p { color: rgba(255,255,255,.9); }

/* ---------- for / not for ---------- */
.fornot { display: grid; gap: 1.6rem; }
@media (min-width: 60em) { .fornot { grid-template-columns: 1.3fr .9fr; gap: 2rem; align-items: start; } }
.fornot h3 { font-size: 1.6rem; margin-bottom: 1.2rem; }
.yes { background: #fff; border-radius: 24px; padding: 2rem 1.3rem; box-shadow: var(--shadow-2); }
@media (min-width: 48em) { .yes { padding: 2.4rem 2.4rem; } }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.checklist label {
  display: flex; gap: 1rem; align-items: flex-start; cursor: pointer;
  padding: .9rem 1rem; border-radius: 14px; border: 2px solid var(--line); position: relative;
  font-size: 1.05rem; line-height: 1.45; transition: background .15s, border-color .15s;
}
.checklist label:hover { border-color: #c7b89f; }
.checklist input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checklist .box { flex: none; width: 2rem; height: 2rem; border-radius: 8px; border: 2px solid #b3a58d; display: grid; place-items: center; background: #fff; margin-top: -.1rem; transition: all .15s; }
.checklist .box svg { width: 1.3rem; height: 1.3rem; color: #fff; opacity: 0; transform: scale(.5); transition: all .18s; }
.checklist input:checked ~ .box { background: var(--persimmon); border-color: var(--persimmon); }
.checklist input:checked ~ .box svg { opacity: 1; transform: scale(1); }
.checklist label:has(input:checked) { background: rgba(194, 78, 34, .07); border-color: rgba(194, 78, 34, .5); }
.checklist input:focus-visible ~ .box { outline: 3px solid var(--persimmon); outline-offset: 3px; }
.check-result { margin: 1.4rem 0 0; font-weight: 700; font-size: 1.1rem; color: var(--soft); min-height: 1.6em; }
.check-result.hit { color: var(--persimmon-dark); }
.check-result a { color: var(--persimmon-dark); }
.no { padding: 2rem 1.3rem; border-radius: 24px; border: 2px dashed #c7b89f; }
@media (min-width: 48em) { .no { padding: 2.4rem 2rem; } }
.nolist { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.nolist li { display: flex; gap: .9rem; align-items: flex-start; font-size: 1.02rem; color: var(--ink-2); }
.nolist svg { flex: none; width: 1.6rem; height: 1.6rem; padding: .25rem; border-radius: 50%; background: var(--kraft); color: var(--soft); margin-top: .05rem; }

/* ---------- video / words (optional) ---------- */
.video-wrap .section-head { text-align: center; margin-inline: auto; }
.video { max-width: 52rem; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-3); background: #000; }
.video iframe, .video-play, .video-play img { width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
.video-play { position: relative; padding: 0; cursor: pointer; background: #000; }
.play-dot { position: absolute; inset: 0; margin: auto; width: 5.5rem; height: 5.5rem; border-radius: 50%; background: var(--persimmon); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .2s; }
.play-dot svg { width: 2.4rem; height: 2.4rem; margin-left: .3rem; }
.video-play:hover .play-dot { transform: scale(1.08); }
.words { display: grid; gap: 1.4rem; }
@media (min-width: 48em) { .words { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); } }
.word { background: #fff; border-radius: 20px; padding: 1.8rem; box-shadow: var(--shadow-1); margin: 0; }
.word p { font-family: var(--display); font-size: 1.25rem; line-height: 1.4; }
.word footer { font-weight: 700; color: var(--soft); font-size: .95rem; }

/* ---------- offer ---------- */
.offer { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 60em) { .offer { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }
.offer-copy h2 em { color: var(--gold); }
.offer-copy > p { color: #d8ccb8; font-size: 1.1rem; }
.compare { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .8rem; margin: 2rem 0; }
.compare > div:not(.vs) { border-radius: 18px; padding: 1.2rem 1rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: .1rem; }
.compare span { font-size: .9rem; color: #cbbda6; }
.compare span strong { color: #fff; }
.compare b { font-family: var(--display); font-weight: 500; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.1; color: #fff; }
.compare small { font-size: .85rem; color: #cbbda6; }
.compare > div:first-child > b { text-decoration: line-through; text-decoration-color: rgba(216, 98, 47, .9); text-decoration-thickness: 3px; }
.compare-book { background: rgba(227, 177, 90, .14) !important; border-color: rgba(227, 177, 90, .4) !important; }
.compare-book b { color: var(--gold) !important; }
.vs { font-family: var(--display); font-style: italic; color: #cbbda6; font-size: 1.1rem; }

.offer-card {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border-radius: 28px;
  padding: 2.4rem 1.4rem 1.8rem;
  box-shadow: 0 40px 90px rgba(0,0,0,.45);
}
@media (min-width: 48em) { .offer-card { padding: 2.8rem 2.6rem 2.2rem; } }
.stamp { position: absolute; top: -2.6rem; right: -.6rem; width: 7.4rem; height: 7.4rem; border-radius: 50%; background: var(--gold); color: var(--soy); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.3); transform: rotate(12deg); }
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 30s linear infinite; }
.stamp text { font-family: var(--body); font-weight: 700; font-size: 10px; letter-spacing: 1.2px; fill: var(--soy); }
.stamp > span { font-family: var(--display); font-size: 2.2rem; font-weight: 600; line-height: .8; text-align: center; }
.stamp small { display: block; font-family: var(--body); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; margin-top: .25rem; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .stamp svg { animation: none; } }
.oc-title { font-family: var(--display); font-size: 1.75rem; line-height: 1.1; margin: 0 0 .3rem; font-weight: 500; padding-right: 4.5rem; }
.oc-by { color: var(--soft); margin-bottom: 1.4rem; }
.includes { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .9rem; }
.includes li { display: flex; gap: .9rem; align-items: flex-start; font-size: 1rem; line-height: 1.4; color: var(--ink-2); }
.includes strong { color: var(--ink); }
.includes svg { flex: none; width: 2.5rem; height: 2.5rem; padding: .5rem; border-radius: 12px; background: var(--kraft); color: var(--persimmon-dark); }
.oc-price { display: flex; align-items: center; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.3rem; margin-bottom: 1.2rem; }
.oc-price s { font-family: var(--display); font-size: 1.6rem; }
.oc-price .big { font-family: var(--display); font-size: 3.6rem; line-height: 1; font-weight: 500; color: var(--ink); letter-spacing: -.02em; }
.once { font-size: .9rem; color: var(--soft); line-height: 1.25; }
.oc-launch { background: rgba(194,78,34,.1); color: var(--persimmon-dark); font-weight: 700; padding: .6rem .9rem; border-radius: 10px; font-size: .95rem; }
.pay-note { display: flex; justify-content: center; align-items: center; gap: .45rem; font-size: .88rem; color: var(--soft); margin: .9rem 0 1.3rem; text-align: center; }
.pay-note svg { width: 1rem; height: 1rem; flex: none; }
.guarantee { background: var(--cream); border-radius: 16px; padding: 1rem 1.2rem; font-size: .95rem; line-height: 1.5; color: var(--ink-2); }
.guarantee b { display: block; color: var(--ink); font-size: 1.02rem; margin-bottom: .15rem; }

/* ---------- faq ---------- */
.faq-wrap { max-width: 50rem; }
.faq { display: grid; gap: .8rem; }
.faq details { background: #fff; border-radius: 18px; border: 1px solid var(--line); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-1); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.2rem 1.4rem; font-weight: 700; font-size: 1.1rem; min-height: 4rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--kraft); display: grid; place-items: center; font-size: 1.5rem; font-weight: 400; color: var(--persimmon-dark); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 1.4rem 1.3rem; color: var(--ink-2); }
.faq .a p { margin: 0; }

/* ---------- final ---------- */
.final { text-align: center; padding: 6rem 0 7rem; }
.final .wrap { max-width: 40rem; }
.final .eyebrow::after { content: ""; width: 1.6em; height: 2px; background: currentColor; border-radius: 2px; }
.final h2 { font-size: clamp(3rem, 2rem + 5vw, 5.4rem); font-style: italic; font-weight: 400; letter-spacing: -.03em; }
.final p { font-size: 1.15rem; color: var(--ink-2); }
.cup { width: 6rem; margin: 0 auto 1.4rem; color: var(--persimmon); display: block; }
.steam { animation: steam 3.5s ease-in-out infinite; }
@keyframes steam { 0%, 100% { opacity: .25; transform: translateY(2px); } 50% { opacity: 1; transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .steam { animation: none; } }
.final-nudge { font-weight: 700; margin: 1.6rem 0 1.6rem; }
.final-nudge strong { color: var(--persimmon-dark); }
.final-small { font-size: .9rem !important; color: var(--soft) !important; margin-top: 1rem; }

/* ---------- footer ---------- */
footer { background: var(--soy); color: #cbbda6; padding: 3rem 0 6.5rem; font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.f-brand { display: flex; align-items: center; gap: .5rem; font-family: var(--display); color: #fff; font-size: 1.3rem; margin-bottom: .5rem; }
.f-brand svg { width: 1.4rem; height: 1.4rem; color: var(--persimmon-hi); }
.voice { font-style: italic; margin-top: .3rem; }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }
footer a { color: #fff; font-weight: 700; text-underline-offset: 4px; }

/* ---------- sticky buy bar ---------- */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(33, 26, 20, .96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff;
  transform: translateY(110%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  padding: .7rem 0 calc(.7rem + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 30px rgba(0,0,0,.2);
}
.buybar.show { transform: none; }
.buybar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bb-t { font-family: var(--display); font-size: 1.1rem; line-height: 1.2; }
.bb-t small { display: block; font-family: var(--body); font-size: .82rem; color: #cbbda6; margin-top: .15rem; }
.buybar .btn { flex: none; }
@media (max-width: 30em) { .bb-t { font-size: .95rem; } .bb-t small { font-size: .75rem; } }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(46rem, 94vw); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 16, 12, .88); }
.lightbox img { max-height: 88vh; width: auto; margin: 0 auto; border-radius: 4px; box-shadow: var(--shadow-3); }
.lightbox form { position: absolute; top: -3.4rem; right: 0; }
.lightbox button { background: #fff; color: var(--ink); border: 0; border-radius: 999px; padding: .6rem 1.2rem; font-weight: 700; font-size: 1rem; cursor: pointer; min-height: 2.8rem; }
@media (max-width: 40em) { .lightbox form { top: auto; bottom: -3.6rem; right: 50%; transform: translateX(50%); } }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .shelf .jar.reveal:nth-child(4n+2), .js .learn li.reveal:nth-child(2n) { transition-delay: .08s; }
.js .shelf .jar.reveal:nth-child(4n+3) { transition-delay: .16s; }
.js .shelf .jar.reveal:nth-child(4n) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .book { animation: none; transition: none; }
  .js .receipt-wrap .receipt { transition: none; clip-path: none; }
}

/* ---------- phone tightening ---------- */
@media (max-width: 47.99em) {
  .section { padding: 3.6rem 0; }
  .section-head { margin-bottom: 2rem; }
  .sheets { grid-template-columns: 1fr 1fr; gap: 1.4rem .8rem; }
  .sheet { padding: 1.5rem 1rem 1rem; }
  .sheet h3 { font-size: 1.08rem; padding-right: 1.4rem; }
  .sheet:not(.sheet-pack) p { display: none; }
  .sheet-tab { width: 2rem; height: 2rem; font-size: 1.1rem; right: .7rem; }
  .sheet-pack { grid-column: 1 / -1; }
  .pull-dark { display: none; }
  .receipt { font-size: .72rem; padding: 1.4rem 1rem 2.2rem; }
  .facts { margin-top: 2.5rem; }
  .facts b { font-size: 2.4rem; }
  .learn li { grid-template-columns: 2.2rem 1fr; }
  .learn li > span { grid-column: 2; justify-self: start; }
  .final { padding: 4rem 0 5rem; }
}
@media (max-width: 30em) {
  .bb-t small { display: none; }
  .bb-t { font-size: 1rem; }
}

.bb-short { display: none; }
@media (max-width: 30em) { .bb-long { display: none; } .bb-short { display: inline; } }
