/* Keep the Foods You Love - site styles (landing page + policy pages)
   Direction: a warm editorial cookbook laid on a paper table.
   Palette is pulled from the cover: cream paper, strawberry red, crust brown,
   mint-leaf green, charcoal. Fonts are self-hosted (SIL OFL, see assets/fonts). */

@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("assets/fonts/fraunces-latin-wght-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Caveat"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("assets/fonts/caveat-latin-wght-normal.woff2") format("woff2");
}

:root {
  --cream: #FBF6EC;
  --paper: #F3EADA;
  --blush: #F8E7DD;
  --sage-bg: #E8EBDD;
  --white: #FFFDF8;
  --rule: #E2D5BF;
  --ink: #2A2622;
  --brown: #5A4034;
  --muted: #655C52;
  --berry: #B3312B;
  --berry-dark: #8F2420;
  --berry-soft: #F1C9C0;
  --olive: #55603F;
  --olive-dark: #3C4630;
  --leaf: #7C8D55;
  --butter: #F6E2A8;
  --crust: #B98248;
  --forest: #232B1D;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hand: "Caveat", "Segoe Script", "Bradley Hand", cursive;
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow-1: 0 1px 2px rgba(60,38,20,.06), 0 6px 16px -8px rgba(60,38,20,.18);
  --shadow-2: 0 2px 4px rgba(60,38,20,.06), 0 22px 44px -22px rgba(60,38,20,.38);
  --shadow-3: 0 4px 8px rgba(60,38,20,.08), 0 40px 70px -30px rgba(60,38,20,.5);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .18 0 0 0 0 .1 0 0 0 .085 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  interpolate-size: allow-keywords;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* Paper grain: one small SVG noise tile, rasterised once and repeated as a background. */
body, .band, .footer { background-image: var(--grain); background-size: 220px 220px; }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
h1, h2, h3, h4, p, ul, ol, blockquote { margin: 0; }
h1, h2, h3, h4 { overflow-wrap: break-word; text-wrap: balance; }
a { color: var(--berry-dark); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px;
}
.tone-dark a:focus-visible, .footer a:focus-visible { outline-color: var(--white); }
.sprite { position: absolute; }
.doodle, .ch-art, .card-ico, .page-art, .ico, .seal svg, .mini-art svg, .scribble svg {
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--white); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; position: relative; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }

/* ---------- Type ---------- */
h1, h2, h3, h4, .brand, .recipe-title, .plan-h, .v-q, .pull, .test, .hero-sub, .offer-sub, .price {
  font-family: var(--serif);
}
h1 { font-size: clamp(2.05rem, 8.6vw, 4.5rem); line-height: 1.02; font-weight: 600; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.8rem, 5.6vw, 2.9rem); line-height: 1.08; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 18px; }
h3 { font-size: 1.25rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
p + p { margin-top: 14px; }
.eyebrow, .label, .chapter-no, .running {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive);
}
.eyebrow { margin-bottom: 14px; }
.label { margin-bottom: 6px; }
.center .eyebrow::before, .center .eyebrow::after {
  content: ""; display: inline-block; width: 22px; height: 1px; background: currentColor; vertical-align: middle; margin: 0 10px; opacity: .6;
}
.pill {
  display: inline-block; background: var(--white); border: 1px solid var(--rule); border-radius: 999px;
  padding: 7px 14px; box-shadow: var(--shadow-1);
}
.sign { font-family: var(--hand); font-size: 2.3rem; line-height: 1; color: var(--berry-dark); font-weight: 600; }

/* ---------- Top bar ---------- */
.topbar { position: relative; z-index: 5; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
a.brand { padding: 12px 0; }
.topbar-link {
  font-size: 0.88rem; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap;
  border: 1.5px solid var(--ink); border-radius: 999px; padding: 11px 16px; transition: background-color .2s, color .2s;
}
.topbar-link:hover { background: var(--ink); color: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 58px; padding: 15px 32px; width: 100%;
  border-radius: 999px; border: 0;
  font-family: var(--sans); font-size: 1.08rem; font-weight: 700; line-height: 1.2; letter-spacing: 0.005em;
  text-decoration: none; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn .ico { width: 20px; height: 20px; stroke-width: 2.4; transition: transform .2s ease; flex: 0 0 auto; }
.btn:hover .ico { transform: translateX(4px); }
.btn-primary {
  background: var(--berry); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -2px 0 rgba(0,0,0,.14), 0 14px 26px -12px rgba(143,36,32,.75);
}
.btn-primary:hover { background: var(--berry-dark); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 -2px 0 rgba(0,0,0,.14), 0 20px 30px -14px rgba(143,36,32,.8); }
.btn-light { background: var(--cream); color: var(--ink); box-shadow: 0 14px 30px -14px rgba(0,0,0,.8); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 46px; padding: 10px 20px; font-size: 0.98rem; width: auto; white-space: nowrap; }
.assure { font-size: 0.88rem; color: var(--muted); margin-top: 14px; }
.cta-block { max-width: 440px; margin: 44px auto 0; text-align: center; }

/* ---------- Bands, tones, waves ---------- */
.band { padding: 72px 0; position: relative; background-color: var(--bg); }
.tone-cream { --bg: var(--cream); }
.tone-paper { --bg: var(--paper); }
.tone-blush { --bg: var(--blush); }
.tone-sage { --bg: var(--sage-bg); }
.tone-dark { --bg: var(--forest); color: var(--cream); }
.has-wave { padding-top: 56px; }
.has-wave::before { content: ""; position: absolute; left: 0; right: 0; top: -39px; height: 40px; z-index: 1; pointer-events: none;
  background-color: var(--bg); background-image: var(--grain); background-size: 220px 220px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 34c150-34 290-30 430-6s250 36 380 14 250-46 370-34 170 30 260 22v31H0z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 34c150-34 290-30 430-6s250 36 380 14 250-46 370-34 170 30 260 22v31H0z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.has-wave:nth-of-type(even)::before { transform: scaleX(-1); }
.band:has(+ .has-wave) { padding-bottom: 104px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 8px 0 52px; margin-top: -60px; padding-top: 68px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(246,226,168,.55), transparent 70%),
    radial-gradient(50% 40% at 10% 0%, rgba(241,201,192,.5), transparent 70%); }
.blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; }
.blob-a { width: 300px; height: 300px; background: #F3B9AC; right: -90px; top: 60px; }
.blob-b { width: 260px; height: 260px; background: #CBD6AE; left: -110px; top: 300px; }
.blob-c { width: 220px; height: 220px; background: #F6E2A8; right: 20%; bottom: -100px; }
.hero-grid { display: grid; gap: 26px; }
.hero-art { display: flex; justify-content: center; padding-top: 18px; }
.hero-copy { text-align: center; }
.hero h1 span { display: block; }
.hero-sub { font-style: italic; font-weight: 400; font-size: clamp(1.45rem, 5.4vw, 2.2rem); line-height: 1.15; color: var(--brown); margin-top: 12px; }
.scribble { position: relative; display: inline-block; color: var(--berry); }
.scribble svg { position: absolute; left: -4%; bottom: -0.2em; width: 108%; height: 0.36em; stroke: var(--berry); stroke-width: 2.4; overflow: visible; }
.scribble path { stroke-dasharray: 230; stroke-dashoffset: 0; }
.lede { margin: 18px auto 0; max-width: 34em; font-size: 1.06rem; }
.stat-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: var(--brown); }
.stat-line span { display: inline-block; white-space: nowrap; border: 1px solid var(--rule); border-radius: 999px; padding: 6px 14px; background: rgba(255,253,248,.85); }
.stat-line b { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--berry-dark); font-variant-numeric: tabular-nums; }
.buy-row { margin-top: 24px; display: grid; gap: 12px; justify-items: center; }
.price-row { display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.price-row .price { font-size: 2.6rem; font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.price-note { font-size: 0.92rem; color: var(--muted); }

/* 3D book */
.book-stage { position: relative; perspective: 1400px; padding: 6px 30px 34px; }
.book-stage::before { /* warm glow lifted from the cover photo */
  content: ""; position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: url("assets/wash-320.webp") center / cover; border-radius: 50%; filter: blur(34px); opacity: .5; z-index: 0;
  -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent 100%); mask-image: radial-gradient(closest-side, #000 35%, transparent 100%);
}
.book-stage::after { /* ground shadow */
  content: ""; position: absolute; left: 12%; right: 8%; bottom: 8px; height: 26px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(60,30,18,.42), transparent); filter: blur(6px); z-index: 0;
}
.book-float { position: relative; z-index: 1; }
.book {
  --w: 190px; --t: 20px;
  position: relative; width: var(--w); aspect-ratio: 760 / 983;
  transform-style: preserve-3d;
  transform: rotateY(calc(-24deg + var(--ry, 0deg))) rotateX(calc(4deg + var(--rx, 0deg))) rotateZ(-1.5deg);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.book picture { position: absolute; inset: 0; transform: translateZ(calc(var(--t) / 2)); }
.book-cover { width: 100%; height: 100%; object-fit: cover; border-radius: 2px 5px 5px 2px; box-shadow: inset 4px 0 6px -3px rgba(0,0,0,.35); }
.book picture::after { /* sheen + spine crease */
  content: ""; position: absolute; inset: 0; border-radius: 2px 5px 5px 2px; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.28) 0, rgba(255,255,255,.22) 2.2%, rgba(0,0,0,.1) 4%, transparent 7%, transparent 60%, rgba(255,255,255,.14) 100%);
}
.book::before { /* page block */
  content: ""; position: absolute; top: 1%; height: 98%; left: 0; width: var(--t);
  transform: translateX(calc(var(--w) - var(--t) / 2 - 2px)) rotateY(90deg);
  background: repeating-linear-gradient(90deg, #FFFDF6 0 1px, #E6DCC8 1px 2px, #F7F0E0 2px 3px);
}
.book::after { /* back cover + cast shadow */
  content: ""; position: absolute; inset: 0; transform: translateZ(calc(var(--t) / -2));
  background: #4a2f25; border-radius: 2px 5px 5px 2px;
  box-shadow: -18px 30px 46px -8px rgba(60,30,18,.45), -4px 8px 14px rgba(60,30,18,.2);
}
.doodle { position: absolute; z-index: 2; }
.doodle-1 { width: 46px; height: 46px; color: var(--berry); right: 0; top: 0; transform: rotate(14deg); }
.doodle-2 { width: 52px; height: 52px; color: var(--olive); left: -4px; bottom: 40px; transform: rotate(-18deg); }
.doodle-3 { width: 44px; height: 44px; color: var(--leaf); right: 4px; bottom: 26px; transform: rotate(8deg); }

/* ---------- Recipe photo reel ---------- */
.reel-clip { overflow: hidden; padding: 6px 0 34px; position: relative; z-index: 2; }
.reel { overflow: hidden; }
.reel + .reel { margin-top: 12px; }
.reel-track { display: flex; width: max-content; gap: 12px; padding-right: 12px; }
.tile { margin: 0; width: 148px; flex: 0 0 auto; }
.tile picture { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-1); aspect-ratio: 264 / 184; background: var(--paper); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile figcaption { font-family: var(--serif); font-style: italic; font-size: 0.82rem; line-height: 1.2; color: var(--brown); margin-top: 7px; padding: 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Problem ---------- */
.problem-grid { display: grid; gap: 30px; max-width: 760px; }
.quote-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.quote-list li {
  font-family: var(--serif); font-style: italic; font-size: 1.12rem; color: var(--brown);
  background: var(--white); padding: 14px 14px; border-radius: 4px; box-shadow: var(--shadow-1);
  position: relative;
}
.quote-list li::before { /* tape */
  content: ""; position: absolute; top: -8px; left: 50%; width: 46px; height: 16px; margin-left: -23px;
  background: rgba(246,226,168,.85); transform: rotate(-3deg); box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.quote-list li:nth-child(1) { transform: rotate(-2deg); }
.quote-list li:nth-child(2) { transform: rotate(1.5deg); }
.quote-list li:nth-child(3) { transform: rotate(1deg); }
.quote-list li:nth-child(4) { transform: rotate(-1.5deg); }
.quote-list span {
  background-image: linear-gradient(var(--berry), var(--berry)); background-repeat: no-repeat;
  background-position: 0 58%; background-size: 100% 2px;
}
.pull { font-size: clamp(1.45rem, 4.6vw, 1.9rem); line-height: 1.2; color: var(--brown); margin-top: 26px; font-weight: 400; }
.pull em { color: var(--berry-dark); }

/* ---------- Sample spread ---------- */
.spread {
  position: relative; margin: 36px auto 0; max-width: 980px; display: grid;
  background: var(--white); border-radius: 6px;
  box-shadow: var(--shadow-3), 0 0 0 1px rgba(90,64,52,.08), 6px 6px 0 -1px #F4ECDD, 6px 6px 0 0 rgba(90,64,52,.1), 12px 12px 0 -1px #EFE5D3, 12px 12px 0 0 rgba(90,64,52,.1);
}
.page { position: relative; padding: 28px 22px 44px; }
.page-left { background: linear-gradient(160deg, #FFF8E6, #FBEFD3); border-radius: 6px 6px 0 0; padding: 0 0 44px; overflow: hidden; }
.page-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.page-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.page-left-text { padding: 22px 22px 0; }
.meta-2 { margin-top: 4px; color: var(--olive); }
.nutri { font-size: 0.86rem; line-height: 1.5; color: var(--muted); margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--rule); }
.nutri .label { display: block; }
.recipe-title { font-size: clamp(2rem, 6vw, 2.9rem); line-height: 1; font-weight: 600; letter-spacing: -0.02em; margin-top: 8px; }
.recipe-sub { font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.3; color: var(--brown); margin: 10px 0 18px; }
.better { font-size: 0.95rem; color: var(--brown); }
.meta { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brown); margin-top: 12px; }
.folio { position: absolute; bottom: 14px; font-family: var(--serif); font-size: 0.85rem; color: var(--muted); }
.page-left .folio { left: 22px; }
.page-right .folio { right: 22px; }
.recipe-grid { display: grid; gap: 24px; }
.ingredients, .steps { padding-left: 20px; font-size: 0.97rem; line-height: 1.45; }
.ingredients { list-style: none; padding-left: 0; }
.ingredients li { padding: 7px 0; border-bottom: 1px dashed var(--rule); }
.steps li { margin-bottom: 9px; padding-left: 4px; }
.steps li::marker { font-family: var(--serif); font-weight: 600; color: var(--berry-dark); }
.callout { background: #F6EEDD; border-left: 4px solid var(--olive); padding: 16px 18px; margin-top: 20px; font-size: 0.97rem; border-radius: 0 var(--r-sm) var(--r-sm) 0; }

/* ---------- Mark ---------- */
.mark-grid { display: grid; gap: 40px; }
.mark-photo { position: relative; width: min(100%, 420px); margin: 0 auto; padding-right: 12px; }
.portrait { position: relative; }
.portrait::before { content: ""; position: absolute; inset: 0; border: 2px solid var(--berry); border-radius: var(--r-lg); transform: translate(12px, 12px); }
.portrait img { position: relative; width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-2); }
.doodle-mark { width: 54px; height: 54px; color: var(--leaf); left: 6px; top: -40px; transform: rotate(-30deg); }
.mark-copy h2 { max-width: 16em; }
.test {
  font-size: clamp(1.5rem, 4.8vw, 2rem); line-height: 1.18; font-style: italic; font-weight: 400; color: var(--berry-dark);
  background: var(--white); border-radius: var(--r); padding: 22px 22px 22px 26px; margin: 20px 0; position: relative; box-shadow: var(--shadow-1);
}
.test::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 5px; border-radius: 3px; background: var(--berry); }

/* ---------- Method ---------- */
.method { list-style: none; padding: 0; margin: 36px auto 0; max-width: 780px; position: relative; }
.method::before { content: ""; position: absolute; left: 30px; top: 30px; bottom: 30px; border-left: 2px dashed var(--berry-soft); }
.method li { display: flex; gap: 18px; align-items: flex-start; padding: 12px 0; position: relative; }
.num { font-family: var(--serif); font-weight: 600; line-height: 1; flex: 0 0 auto; }
.method .num {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem;
  background: var(--white); color: var(--berry-dark); border: 2px solid var(--berry-soft); box-shadow: var(--shadow-1);
}
.method li > div { background: var(--white); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow-1); flex: 1; transition: transform .25s ease, box-shadow .25s ease; }
.method h3 { font-size: 1.3rem; margin-bottom: 4px; }
.method p { font-size: 1rem; color: var(--muted); }

/* ---------- Photo band (mosaic) ---------- */
.photo-band { position: relative; display: grid; align-items: end; overflow: hidden; background: #3a1d17; min-height: 460px; }
.mosaic { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; }
.mosaic picture { overflow: hidden; min-height: 0; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,14,10,.1) 0%, rgba(30,14,10,.3) 40%, rgba(30,14,10,.88) 100%); }
.photo-band .wrap { z-index: 1; padding-top: 200px; padding-bottom: 40px; }
.photo-band blockquote { font-family: var(--serif); font-size: clamp(1.55rem, 5.2vw, 2.7rem); line-height: 1.12; font-weight: 500; letter-spacing: -0.015em; color: #fff; max-width: 19em; text-wrap: balance; text-shadow: 0 2px 18px rgba(0,0,0,.55); }

/* ---------- Chapters ---------- */
.chapters { display: grid; gap: 16px; margin-top: 34px; }
.chapter { position: relative; border-radius: var(--r-lg); padding: 0 22px 18px; background: var(--c); box-shadow: var(--shadow-1); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.ch-1 { --c: #FAEBC2; --a: #9A6A22; }
.ch-2 { --c: #F8DAD3; --a: #9B2B25; }
.ch-3 { --c: #F4DFC8; --a: #8A4A22; }
.ch-4 { --c: #DCE8D2; --a: #3F5A2C; }
.ch-photo { margin: 0 -22px 20px; aspect-ratio: 16 / 9; overflow: hidden; }
.ch-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.chapter-no { color: var(--a); }
.chapter h3 { font-size: 1.65rem; line-height: 1.05; margin: 8px 0 6px; }
.chapter-sub { font-family: var(--serif); font-style: italic; color: var(--brown); margin-bottom: 14px; }
.chapter ul { list-style: none; padding: 0; }
.chapter li { padding: 9px 0; border-top: 1px solid rgba(42,38,34,.14); font-size: 1rem; }
.sub-h { font-size: 1.6rem; margin-top: 52px; }
.mini-cards { display: grid; gap: 16px; margin-top: 22px; }
.mini { background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); transition: transform .25s ease, box-shadow .25s ease; display: grid; grid-template-rows: auto 1fr; }
.mini-img { overflow: hidden; aspect-ratio: 16 / 10; }
.mini-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mini-body { padding: 18px 18px 20px; }
.mini h4 { font-size: 1.3rem; line-height: 1.12; font-weight: 600; }
.mini-sub { font-family: var(--serif); font-style: italic; color: var(--brown); margin: 4px 0 10px; }
.mini .better { font-size: 0.9rem; }

/* ---------- Kitchen ---------- */
.kitchen-grid { display: grid; gap: 30px; }
.kitchen-cards { display: grid; gap: 16px; align-content: start; }
.kitchen-photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); aspect-ratio: 800 / 520; grid-column: 1 / -1; }
.kitchen-photo img { width: 100%; height: 100%; object-fit: cover; }
.note-card { background: var(--paper); border-radius: var(--r-lg); padding: 24px 22px; font-size: 1rem; position: relative; }
.card-ico { width: 46px; height: 46px; padding: 9px; border-radius: 14px; background: var(--white); color: var(--berry-dark); margin-bottom: 14px; box-shadow: var(--shadow-1); display: block; }
.ticks, .crosses, .checks { list-style: none; padding: 0; }
.ticks li, .crosses li, .checks li { position: relative; padding-left: 34px; margin-top: 13px; }
.ticks li::before, .checks li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--olive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.500l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.crosses li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 22px; height: 22px; border-radius: 50%;
  background: #D9CDB9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A4034' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.kitchen-head .ticks { margin-top: 22px; }

/* ---------- Start ---------- */
.steps3 { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 16px; }
.steps3 li { background: var(--white); border-radius: var(--r-lg); padding: 24px 22px; box-shadow: var(--shadow-1); transition: transform .25s ease, box-shadow .25s ease; }
.steps3 .num { font-size: 2.8rem; color: var(--berry-soft); display: block; }
.steps3 h3 { font-size: 1.4rem; margin: 10px 0 6px; }
.steps3 p { font-size: 1rem; color: var(--muted); }
.plan { background: var(--white); border-radius: var(--r-lg); padding: 26px 22px; margin: 26px auto 0; box-shadow: var(--shadow-2); display: grid; gap: 22px; }
.plan-h { font-size: clamp(1.5rem, 4.6vw, 2rem); line-height: 1.1; margin-bottom: 12px; font-weight: 600; letter-spacing: -0.015em; }
.days { list-style: none; padding: 0; display: grid; gap: 10px; }
.days li { display: flex; align-items: center; gap: 14px; font-size: 1rem; font-weight: 600; line-height: 1.3; background: var(--cream); border-radius: var(--r); padding: 8px 14px 8px 8px; }
.day-thumb { width: 72px; height: 56px; border-radius: 12px; overflow: hidden; flex: 0 0 auto; }
.day-thumb img { width: 100%; height: 100%; object-fit: cover; }
.day-thumb-end { display: grid; place-items: center; background: var(--blush); color: var(--berry-dark); }
.day-thumb-end svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.days b { display: block; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive); }
.days span { display: block; color: var(--muted); font-size: 0.95rem; font-weight: 400; font-family: var(--serif); font-style: italic; }

/* ---------- Versus ---------- */
.versus { display: grid; gap: 18px; margin-top: 18px; }
.v-card { border-radius: var(--r-lg); padding: 26px 22px; position: relative; }
.v-old { background: #EFE8DA; color: var(--muted); transform: rotate(-1deg); }
.v-old .label { color: var(--muted); }
.v-new { background: var(--white); box-shadow: var(--shadow-2), 0 0 0 2px var(--berry); transform: rotate(.6deg); }
.v-new .label { color: var(--berry-dark); }
.v-q { font-size: clamp(1.5rem, 4.8vw, 1.95rem); line-height: 1.1; font-style: italic; color: var(--ink); margin-bottom: 10px; }
.v-old .v-q { color: #7A6E62; text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(179,49,43,.55); }
.v-card ul { padding-left: 20px; font-size: 1rem; }
.v-card li { margin-top: 8px; }
.v-new li::marker { color: var(--berry); }
.after-versus { margin-top: 34px; font-family: var(--serif); font-size: clamp(1.25rem, 3.8vw, 1.5rem); line-height: 1.3; color: var(--brown); }

/* ---------- Offer ---------- */
.tone-dark { overflow: visible; }
.tone-dark .eyebrow { color: #C5D2A0; }
.tone-dark .assure { color: #CFC8BB; }
.offer-glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  background: radial-gradient(60% 60% at 20% 45%, rgba(179,49,43,.34), transparent 72%); }
.offer-grid { display: grid; gap: 40px; }
.offer-art { display: flex; justify-content: center; perspective: 1400px; padding: 10px 0 6px; }
.book-sm::after { box-shadow: -16px 24px 40px rgba(0,0,0,.6); }
.offer-box { background: rgba(255,253,248,.06); border: 1px solid rgba(255,253,248,.16); border-radius: var(--r-lg); padding: 28px 22px; }
.offer-box h2 { margin-bottom: 6px; }
.offer-sub { font-style: italic; font-size: 1.3rem; color: #E7DFCF; }
.tone-dark .checks { margin-top: 20px; }
.tone-dark .checks li::before { background-color: #7C8D55; }
.offer-buy { margin-top: 28px; padding-top: 24px; border-top: 1px dashed rgba(255,253,248,.25); display: grid; gap: 16px; }
.offer-price .price { font-size: 4rem; font-weight: 600; line-height: .9; letter-spacing: -0.03em; }

/* ---------- Guarantee ---------- */
.guarantee { display: grid; gap: 18px; border: 2px dashed var(--olive); border-radius: var(--r-lg); padding: 28px 22px; background: var(--white); box-shadow: var(--shadow-1); }
.seal { color: var(--olive); width: 84px; height: 84px; }
.seal svg { width: 100%; height: 100%; stroke-width: 2.5; }
.guarantee h2 { font-size: clamp(1.6rem, 5vw, 2.3rem); overflow-wrap: anywhere; }
.guarantee p { overflow-wrap: anywhere; }

/* ---------- Features ---------- */
.feature-grid { display: grid; gap: 16px; margin-top: 18px; }
.feature { background: var(--white); border-radius: var(--r-lg); padding: 24px 22px; box-shadow: var(--shadow-1); transition: transform .25s ease, box-shadow .25s ease; }
.feature .card-ico { background: var(--blush); box-shadow: none; }
.feature h3 { font-size: 1.35rem; margin-bottom: 6px; }
.feature p { font-size: 1rem; color: var(--muted); }

/* ---------- Who ---------- */
.two-up { display: grid; gap: 16px; margin-top: 22px; }
.who-yes { background: var(--sage-bg); }
.who-no { background: #EFE8DA; }
.who .ticks li:first-child, .who .crosses li:first-child { margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq { margin-top: 18px; display: grid; gap: 10px; }
.faq details { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-1); padding: 0 20px; }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 44px 20px 0; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 16px; height: 2.5px; margin-top: -1px; border-radius: 2px;
  background: var(--berry); transition: transform .3s ease;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq .a { padding: 0 0 22px; font-size: 1rem; color: var(--muted); overflow-wrap: anywhere; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .35s ease, content-visibility .35s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* ---------- Final ---------- */
.final { overflow: hidden; }
.final .hero-bg { z-index: 0; }
.final .wrap { z-index: 1; }
.final-stage { position: relative; }
.final-art { position: relative; width: min(82%, 460px); margin: 0 auto; z-index: 1; }
.cutout { width: 100%; display: block; }
.final-card { position: relative; z-index: 2; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-3); padding: 34px 22px 30px; margin-top: -4px; }
.doodle-f1 { width: 46px; height: 46px; color: var(--berry); right: -30px; top: 16px; transform: rotate(16deg); }
.doodle-f2 { width: 50px; height: 50px; color: var(--leaf); left: -34px; top: 70px; transform: rotate(-24deg); }
.final .btn { margin-top: 26px; max-width: 440px; }
.final .pull { margin-top: 22px; font-style: italic; }
.final .sign { display: inline-block; margin-top: 8px; }

/* ---------- Footer ---------- */
.footer { background-color: #1D1A17; color: #CFC6B8; padding: 52px 0 130px; font-size: 0.9rem; line-height: 1.6; position: relative; }
.footer-in { max-width: 800px; }
.footer .brand { color: var(--cream); margin-bottom: 16px; font-size: 1.3rem; }
.footer strong { color: var(--cream); }
.disclaimer { overflow-wrap: anywhere; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 24px 0 10px; padding-top: 18px; border-top: 1px solid rgba(255,253,248,.14); }
.foot-links a { color: var(--cream); padding: 12px 0; display: inline-block; font-weight: 600; }
.foot-links a[aria-current="page"] { text-decoration: none; color: #E7A79C; }
.copy { color: #A39A8C; overflow-wrap: anywhere; }
.tm { font-size: 0.58em; font-weight: 600; letter-spacing: 0.03em; line-height: 0; vertical-align: super; margin-left: 1px; }

/* ---------- Sticky bar ----------
   Phones: a bar docked to the bottom edge. From 640px: a floating card. */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(255,253,248,.92);
  -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
  border-top: 1px solid rgba(90,64,52,.14);
  box-shadow: 0 -10px 30px -18px rgba(42,38,34,.45);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  transform: translateY(120%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.sticky.is-on { transform: translateY(0); }
.sticky-in { display: flex; align-items: center; gap: 10px; }
.sticky-thumb {
  width: 38px; height: 49px; object-fit: cover; flex: 0 0 auto; border-radius: 2px 4px 4px 2px;
  box-shadow: 0 1px 2px rgba(60,38,20,.2), 0 8px 14px -8px rgba(60,38,20,.5);
}
.sticky-text { min-width: 0; flex: 1; }
.sticky-text strong {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  font-family: var(--serif); font-weight: 600; font-size: 0.86rem; line-height: 1.15; letter-spacing: -0.01em;
}
.sticky-meta { display: block; margin-top: 4px; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--olive); white-space: nowrap; }
.sticky-meta i { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .55; vertical-align: middle; margin: 0 6px; }
.sticky-by { display: none; }
.sticky-price { flex: 0 0 auto; font-size: 1.3rem; font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.sticky .btn { flex: 0 0 auto; min-height: 44px; padding: 10px 15px; font-size: 0.92rem; }
.sticky .btn .ico { display: none; width: 17px; height: 17px; }
@media (min-width: 640px) {
  .sticky {
    left: 16px; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); max-width: 620px; margin: 0 auto;
    border: 1px solid rgba(90,64,52,.12); border-radius: 20px; padding: 10px 10px 10px 14px;
    box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 2px 6px rgba(60,38,20,.06), 0 28px 50px -22px rgba(42,38,34,.55);
    transform: translateY(170%);
  }
  .sticky-in { gap: 16px; }
  .sticky-thumb { width: 42px; height: 54px; }
  .sticky-text strong { font-size: 1.05rem; -webkit-line-clamp: 1; }
  .sticky-meta { margin-top: 5px; font-size: 0.68rem; }
  .sticky-by { display: inline; }
  .sticky-price { font-size: 1.6rem; padding-left: 18px; border-left: 1px solid var(--rule); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
  .sticky .btn { min-height: 48px; padding: 10px 22px; font-size: 1rem; }
  .sticky .btn .ico { display: block; }
}

/* ---------- Sale (script.js writes the date into .sale-date) ---------- */
.price .was { font-weight: 400; font-size: 0.74em; opacity: .7; letter-spacing: 0; text-decoration-thickness: 1.5px; margin-right: 0.12em; }
.btn .price { white-space: nowrap; }
.offer-price-row { display: flex; align-items: center; gap: 16px; }
.offer-price .price .was { display: block; font-size: 1.5rem; line-height: 1; margin: 0 0 8px; }
.sticky-price .was-row { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-bottom: 3px; }
.sticky-price .was { font-size: 0.78rem; line-height: 1; margin: 0; }
.sticky-price em { display: none; font-family: var(--sans); font-style: normal; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.04em; line-height: 1; color: #fff; background: var(--berry); border-radius: 999px; padding: 3px 6px; }

/* A buy button with its coupon line centred underneath */
.buy-stack { display: inline-grid; justify-items: center; gap: 12px; max-width: 100%; }

/* The offer box button: the one bright thing on the dark band */
.btn-offer {
  width: 100%; min-height: 68px; padding: 16px 26px; font-size: 1.16rem; color: #fff;
  background: linear-gradient(180deg, #D0473E 0%, var(--berry) 55%, #A32A25 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -3px 0 rgba(0,0,0,.18), 0 0 0 5px rgba(208,71,62,.18), 0 20px 40px -14px rgba(208,71,62,.75);
}
.btn-offer:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -3px 0 rgba(0,0,0,.18), 0 0 0 7px rgba(208,71,62,.22), 0 26px 44px -14px rgba(208,71,62,.85); }
.btn-offer .price { background: rgba(0,0,0,.2); border-radius: 999px; padding: 5px 13px; font-size: 1.02em; margin-left: 4px; }
.btn-offer .ico { width: 22px; height: 22px; }
.trust { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.86rem; color: #E7DFCF; }
.trust li { position: relative; padding-left: 24px; }
.trust li::before { content: ""; position: absolute; left: 0; top: 0.22em; width: 17px; height: 17px; border-radius: 50%; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.500l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.btn-offer .was { display: none; }
.btn-offer-label { white-space: nowrap; }
.tone-dark .offer-buy { grid-template-columns: 1fr; gap: 22px; }
@media (max-width: 420px) { .final .btn { font-size: 0.94rem; padding-left: 12px; padding-right: 12px; }
  .btn-offer { font-size: 1.08rem; padding: 14px 16px; } .btn-offer .price { display: none; } }

/* The coupon line under a buy button */
.sale-note {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%; text-align: left;
  background: #FFF6DC; border: 1.5px dashed rgba(179,49,43,.55); border-radius: 12px; padding: 7px 14px 7px 7px;
  font-size: 0.84rem; line-height: 1.3; color: var(--brown);
}
.sale-note b { flex: 0 0 auto; background: var(--berry); color: #fff; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; border-radius: 7px; padding: 7px 10px; }
.sale-note strong { color: var(--berry-dark); font-weight: 700; white-space: nowrap; }
.sale-note time:empty { display: none; }
.sale-note time { display: block; font-size: 0.78rem; color: var(--muted); }
.sale-was { display: none; opacity: .75; margin-right: 2px; }
.tone-dark .sale-note { background: rgba(246,226,168,.1); border-color: rgba(246,226,168,.5); color: var(--cream); margin-bottom: 18px; }
.tone-dark .sale-note strong { color: var(--butter); }
.tone-dark .sale-note time { color: #CFC8BB; }
.final .sale-note { margin-top: 16px; }

/* The percent-off stamp */
.stamp {
  --s: 84px; position: relative; flex: 0 0 auto; width: var(--s); height: var(--s); display: grid; place-content: center; justify-items: center;
  color: #fff; transform: rotate(-12deg); filter: drop-shadow(0 8px 10px rgba(90,20,16,.35));
}
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--berry); stroke: none; }
.stamp::before { content: ""; position: absolute; inset: 15%; border: 1.5px dashed rgba(255,255,255,.6); border-radius: 50%; }
.stamp b, .stamp i { position: relative; }
.stamp b { font-family: var(--serif); font-weight: 600; font-size: calc(var(--s) * .33); line-height: .9; letter-spacing: -0.03em; }
.stamp sup { font-size: .55em; vertical-align: .55em; line-height: 0; margin-left: 1px; }
.stamp i { font-style: normal; font-size: calc(var(--s) * .13); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 3px; padding-left: 0.2em; }
.stamp-hero { position: absolute; z-index: 3; left: -10px; top: -12px; --s: 72px; }
.stamp-final { position: absolute; z-index: 3; right: 8px; top: -44px; --s: 82px; transform: rotate(10deg); }
.tone-dark .stamp { filter: drop-shadow(0 8px 12px rgba(0,0,0,.5)); }
@media (prefers-reduced-motion: no-preference) {
  .stamp-hero { animation: stamp-in .6s .9s cubic-bezier(.2,1.4,.4,1) both; }
}
@keyframes stamp-in { from { opacity: 0; transform: rotate(8deg) scale(1.7); } to { opacity: 1; transform: rotate(-12deg) scale(1); } }

/* Phones: a button has no room for two prices, so the crossed one moves to the coupon line. */
@media (max-width: 479px) {
  .btn .was { display: none; }
  .sale-was { display: inline; }
  .offer-price .sale-was { display: none; }
  .offer-price .price { font-size: 3.4rem; }
  .offer-price .stamp { --s: 76px; }
}
@media (min-width: 640px) {
  .sticky-price em { display: inline-block; }
  .stamp-final { right: 18px; top: -48px; --s: 96px; }
}
@media (min-width: 900px) {
  .stamp-hero { --s: 118px; left: 14px; top: 2px; }
  .offer-price .stamp { --s: 96px; }
}

/* ---------- Copy-pass additions ---------- */
.buy-row .assure { margin-top: 0; overflow-wrap: anywhere; max-width: 36em; text-wrap: balance; }
.final .assure { max-width: 30em; margin-left: auto; margin-right: auto; }
.sample-note { max-width: 620px; margin: 40px auto 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 3.6vw, 1.4rem); line-height: 1.35; color: var(--brown); }
.sample-note + .cta-block { margin-top: 26px; }
.price-line { font-size: 0.95rem; color: #E7DFCF; margin-top: 10px; max-width: 17em; }
.offer-buy-cta .assure { overflow-wrap: anywhere; }
.final-line { font-weight: 600; margin-top: 24px; }
.final .final-line + .btn { margin-top: 16px; }
.final .assure { overflow-wrap: anywhere; }
.assure-2 { margin-top: 4px; }
@media (max-width: 420px) { .btn { padding-left: 18px; padding-right: 18px; font-size: 1.02rem; } }

/* ---------- Policy pages ---------- */
.legal-hero { position: relative; padding: 68px 0 44px; margin-top: -60px; overflow: hidden; }
.legal-hero h1 { font-size: clamp(2.2rem, 8vw, 3.6rem); margin-top: 6px; }
.legal-hero .lede { margin-left: 0; }
.back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.92rem; color: var(--ink); text-decoration: none; padding: 12px 0; }
.back-ico { width: 18px; height: 18px; transform: rotate(180deg); flex: 0 0 auto; }
.legal { padding: 8px 0 80px; }
.legal-card { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 28px 22px; max-width: 800px; overflow-wrap: anywhere; }
.legal-card h2 { font-size: 1.5rem; margin: 34px 0 10px; padding-top: 26px; border-top: 1px dashed var(--rule); }
.legal-card h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-card ul { padding-left: 22px; margin-top: 10px; }
.legal-card li { margin-top: 6px; }
.legal-card ul + p { margin-top: 14px; }
.legal-meta { font-size: 0.9rem; color: var(--muted); margin-bottom: 26px; }
.legal .wrap, .legal-hero .wrap { max-width: 864px; }
.draft-note { background: var(--butter); border-radius: var(--r-sm); padding: 12px 16px; font-size: 0.9rem; margin-bottom: 24px; }
.mail-box { background: var(--blush); border-radius: var(--r); padding: 22px; margin: 6px 0 4px; }
.mail-box .btn { margin-top: 14px; overflow-wrap: anywhere; }
.topbar-sub .topbar-link { border: 0; padding: 12px 0; display: inline-flex; align-items: center; gap: 6px; }
.topbar-sub .topbar-link:hover { background: none; color: var(--berry-dark); }

/* ---------- Motion ---------- */
@media (hover: hover) {
  .chapter:hover, .mini:hover, .feature:hover, .steps3 li:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
  .method li:hover > div { transform: translateX(4px); box-shadow: var(--shadow-2); }
  .mini:hover .mini-img img, .chapter:hover .ch-photo img { transform: scale(1.06); }
}
@media (prefers-reduced-motion: no-preference) {
  .book-float { animation: float 7s ease-in-out infinite; }
  .doodle-1, .doodle-f1 { animation: bob 6s ease-in-out infinite; }
  .doodle-3, .doodle-f2 { animation: bob 7.5s ease-in-out -2s infinite; }
  .blob-a { animation: drift 16s ease-in-out infinite alternate; }
  .blob-b { animation: drift 20s ease-in-out -6s infinite alternate-reverse; }
  .reel-track { animation: ticker 90s linear infinite; }
  .reel-b .reel-track { animation-direction: reverse; animation-duration: 105s; }
  .reel-clip:hover .reel-track { animation-play-state: paused; }
  .scribble path { animation: draw 1.1s .5s ease-out both; }

  /* Reveal states exist only on elements that script.js has tagged. */
  .reveal { opacity: 0; translate: 0 26px; transition: opacity .7s ease, translate .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 80ms); }
  .reveal.is-in { opacity: 1; translate: 0 0; }
  .reveal.reveal-left { translate: -30px 0; }
  .reveal.reveal-right { translate: 30px 0; }
  .reveal.reveal-left.is-in, .reveal.reveal-right.is-in { translate: 0 0; }
  .quote-list li.reveal span { background-size: 0 2px; transition: background-size .6s ease; transition-delay: calc(var(--i, 0) * 80ms + 500ms); }
  .quote-list li.reveal.is-in span { background-size: 100% 2px; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(30px, 40px) scale(1.12); } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes draw { from { stroke-dashoffset: 230; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Phones: keep the first button on the first screen ---------- */
@media (max-width: 639px) {
  .hero { padding-top: 62px; }
  .hero-grid { gap: 14px; }
  .hero-art { padding-top: 4px; }
  .book { --w: 150px; --t: 16px; }
  .book-stage { padding-bottom: 26px; }
  .hero .eyebrow { margin-bottom: 10px; }
  .hero-sub { margin-top: 8px; }
  .lede { margin-top: 12px; font-size: 1rem; }
  .stat-line { margin-top: 14px; gap: 6px; font-size: 0.76rem; flex-wrap: nowrap; }
  .stat-line span { padding: 5px 10px; }
  .stat-line b { font-size: 1.05rem; }
  .buy-row { margin-top: 16px; }
  .offer-art .book { --w: 190px; --t: 20px; }
}

/* ---------- Small phones ---------- */
@media (max-width: 420px) {
  .brand { font-size: 0.98rem; white-space: nowrap; }
  .topbar-link { font-size: 0.82rem; padding: 11px 13px; }
  .pill { font-size: 0.62rem; letter-spacing: 0.1em; padding: 7px 11px; }
  .footer .brand { font-size: 1.2rem; }
}
@media (max-width: 379px) { .sticky-thumb { display: none; } }
@media (max-width: 359px) {
  body { font-size: 17px; }
  .quote-list { grid-template-columns: 1fr; }
}

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .wrap { padding: 0 32px; }
  .band { padding: 96px 0; }
  .has-wave { padding-top: 80px; }
  .has-wave::before { top: -59px; height: 60px; }
  .band:has(+ .has-wave) { padding-bottom: 140px; }
  .book { --w: 240px; --t: 26px; }
  .btn { width: auto; min-width: 280px; }
  .btn-sm { min-width: 0; }
  .page { padding: 40px 36px 52px; }
  .page-left { padding: 0 0 52px; }
  .page-left-text { padding: 26px 36px 0; }
  .page-left .folio { left: 36px; } .page-right .folio { right: 36px; }
  .recipe-grid { grid-template-columns: 5fr 6fr; gap: 30px; }
  .chapters, .two-up, .versus, .feature-grid, .kitchen-cards { grid-template-columns: 1fr 1fr; }
  .steps3 { grid-template-columns: repeat(3, 1fr); }
  .guarantee { grid-template-columns: auto 1fr; gap: 26px; padding: 36px; align-items: start; }
  .plan, .offer-box, .legal-card { padding: 40px; }
  .final-card { padding: 48px 48px 40px; }
  .offer-buy { grid-template-columns: auto 1fr; align-items: center; gap: 28px; }
  .tile { width: 190px; }
  .tile figcaption { font-size: 0.92rem; }
  .reel-track { gap: 16px; padding-right: 16px; }
  .reel + .reel { margin-top: 16px; }
  .photo-band { min-height: 500px; }
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr; }
}

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  body { font-size: 19px; }
  .band { padding: 120px 0; }
  .has-wave { padding-top: 110px; }
  .band:has(+ .has-wave) { padding-bottom: 170px; }
  .hero { padding-bottom: 90px; padding-top: 96px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; }
  .hero h1 { font-size: clamp(3rem, 4.6vw, 3.7rem); }
  .hero-copy { text-align: left; order: 1; }
  .hero-art { order: 2; padding-top: 0; }
  .lede { margin-left: 0; font-size: 1.15rem; }
  .stat-line, .price-row { justify-content: flex-start; }
  .buy-row { justify-items: start; margin-top: 30px; }
  .book { --w: 360px; --t: 38px; }
  .book-stage { padding: 20px 70px 60px; }
  .doodle-1 { width: 70px; height: 70px; right: 6px; top: -6px; }
  .doodle-2 { width: 76px; height: 76px; left: 0; bottom: 70px; }
  .doodle-3 { width: 64px; height: 64px; right: 10px; bottom: 50px; }
  .blob-a { width: 480px; height: 480px; right: 4%; top: 80px; }
  .blob-b { width: 380px; height: 380px; }
  .problem-grid { grid-template-columns: 1fr 1fr; gap: 72px; max-width: none; align-items: center; }
  .spread { grid-template-columns: 5fr 7fr; transform: rotate(-.8deg); margin-top: 52px; }
  .page-right::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 46px; background: linear-gradient(90deg, rgba(90,64,52,.2), rgba(90,64,52,.05) 30%, transparent); pointer-events: none; }
  .page-left::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 30px; background: linear-gradient(270deg, rgba(90,64,52,.14), transparent); pointer-events: none; }
  .page-right { padding-left: 52px; }
  .page-left { padding: 0 0 52px; border-radius: 6px 0 0 6px; display: flex; flex-direction: column; }
  .page-photo { aspect-ratio: auto; flex: 1 1 260px; min-height: 260px; }
  .page-left-text { padding: 28px 36px 0; }
  .recipe-grid { grid-template-columns: 1fr; gap: 22px; }
  .ingredients { columns: 2; column-gap: 28px; }
  .ingredients li { break-inside: avoid; }
  .mark-grid { grid-template-columns: 472px 1fr; gap: 64px; align-items: center; }
  .mark-photo { width: 472px; }
  .chapters { grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
  .chapter h3 { font-size: 1.45rem; }
  .mini-cards { grid-template-columns: repeat(3, 1fr); }
  .kitchen-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .kitchen-cards { grid-template-columns: 1fr 1fr; }
  .kitchen-cards .note-card { padding: 22px 20px; }
  .plan { grid-template-columns: 1fr 1fr; gap: 56px; padding: 52px; align-items: center; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .offer-grid { grid-template-columns: 400px 1fr; gap: 56px; align-items: center; }
  .book-sm { --w: 300px; --t: 32px; }
  .footer { padding-bottom: 120px; }
  .photo-band { min-height: 600px; }
  .photo-band .wrap { padding-bottom: 64px; }
}
