/* don't be… · web. Tokens mirror design-system/tokens.json; frames (cards) never change with the page theme. */
:root {
  --cream: #fffbf0; --ink: #1a1a1a; --tomato: #f05a4a; --cobalt: #3267e3; --mustard: #f2c94c; --pink: #e8508c; --cap-green: #2e9e5b; --mint: #62c6a3;
  --paper: #f6f0e6; --surface: #fffbf0; --rule: #d8cfc0; --page-ink: #1a1a1a; --page-muted: #6b655c;
  --title: "Fredoka", "Arial Rounded MT Bold", sans-serif; --headline: "Anton", Impact, "Arial Narrow", sans-serif;
  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif; --wide: "Archivo Black", "Arial Black", Arial, sans-serif; --mono: "DM Mono", Menlo, Consolas, monospace;
  --s1: 12px; --s2: 24px; --s3: 48px; --s4: 72px; --s5: 96px;
  --bar: 36px; --gap: 9px; --pitch: 90px; --skew: 28deg;
  --measure: 680px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --paper: #161513; --surface: #201f1b; --rule: #3a3731; --page-ink: #f1eadf; --page-muted: #a79f91; } }
:root[data-theme="dark"] { --paper: #161513; --surface: #201f1b; --rule: #3a3731; --page-ink: #f1eadf; --page-muted: #a79f91; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--page-ink); font-family: var(--sans); font-size: 18px; line-height: 1.5; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
img, video { max-width: 100%; display: block; }
.wrap { width: min(100% - 32px, 1040px); margin-inline: auto; }
.measure { max-width: var(--measure); }

/* Mark */
.stamp { display: inline-flex; align-items: baseline; gap: 0.08em; padding: 0.22em 0.55em 0.26em; border: 3px solid var(--ink); border-radius: 999px; background: var(--cream); color: var(--ink); font-weight: 900; letter-spacing: -0.025em; line-height: 1; text-decoration: none; white-space: nowrap; }
.stamp i { display: inline-block; width: 0.22em; height: 0.22em; border-radius: 50%; background: var(--tomato); margin-left: 0.06em; transform: translateY(-0.02em); }
.stamp i + i { margin-left: 0.1em; }
.topbar { display: none; }
.topbar .stamp { font-size: 22px; }
.batch { font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--page-muted); }

/* The cover frame: the video's cover, in CSS, scaled with container units (1 cqw = 1/1080 of the frame). */
.cover { container-type: inline-size; position: relative; aspect-ratio: 9 / 16; width: 100%; background: var(--tomato); color: var(--cream); overflow: hidden; border: 6px solid var(--ink); }
.cover__stamp { position: absolute; left: 6.7cqw; top: 9.4%; display: flex; flex-direction: column; align-items: center; gap: 1.4cqw; }
.cover__stamp .stamp { font-size: 7cqw; border-width: 0.45cqw; }
.cover__date { font-family: var(--mono); font-size: 2.4cqw; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream); opacity: .9; white-space: nowrap; }
.cover__word { position: absolute; left: 6.7cqw; top: 25%; margin: 0; white-space: nowrap; font-family: var(--title); font-weight: 700; letter-spacing: -0.02em; line-height: 0.92; font-size: 29cqw; color: var(--cream); }
.cover__word--long { font-size: 19.5cqw; top: 29%; }
.cover__field { position: absolute; left: -40%; width: 320%; top: 41.5%; bottom: -40%; transform: skewX(calc(-1 * var(--skew))); transform-origin: 0 0;
  background: repeating-linear-gradient(90deg, var(--cream) 0 3.33cqw, transparent 3.33cqw 4.17cqw, var(--cobalt) 4.17cqw 7.5cqw, transparent 7.5cqw 8.33cqw); }
.cover__sticker { position: absolute; left: 6.7cqw; top: 52%; margin: 0; font-family: var(--headline); text-transform: uppercase; letter-spacing: 0.01em; line-height: 1; font-size: 11cqw; transform: rotate(-3deg); transform-origin: 0 50%; }
.cover__sticker span { display: inline-block; background: var(--cream); color: var(--ink); padding: 0.15em 0.3em; box-shadow: 1.6cqw 1.6cqw 0 var(--ink); margin-bottom: 0.12em; }
.cover__play { position: absolute; right: 6.7cqw; bottom: 6.7cqw; font-family: var(--mono); font-size: 3cqw; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream); border: 0.3cqw solid var(--cream); padding: 1.4cqw 2.2cqw; text-decoration: none; background: rgba(26,26,26,.35); }
.cover--end { background: var(--cream); color: var(--ink); }
.cover--end .cover__word { color: var(--ink); }
.cover--end .cover__field { background: repeating-linear-gradient(90deg, var(--ink) 0 3.33cqw, transparent 3.33cqw 4.17cqw, var(--tomato) 4.17cqw 7.5cqw, transparent 7.5cqw 8.33cqw); }
.cover--soon { background: var(--surface); color: var(--page-muted); border-color: var(--rule); }
.cover--soon .cover__word { color: var(--page-muted); }
.cover--soon .cover__field { opacity: .25; }

/* The stripes as a rule between sections: the wipe, in miniature */
.rule { position: relative; height: 28px; overflow: hidden; margin: var(--s5) 0 var(--s3); }
.rule::before { content: ""; position: absolute; inset: -200% -40%; transform: skewX(calc(-1 * var(--skew))); transform-origin: 0 0;
  background: repeating-linear-gradient(90deg, var(--tomato) 0 14px, transparent 14px 18px, var(--cobalt) 18px 32px, transparent 32px 40px); }

/* Hero: the cover beside the standfirst */
.hero { display: grid; gap: var(--s3); grid-template-columns: 1fr; align-items: center; margin-top: var(--s2); }
.hero .cover { max-width: 420px; margin-inline: auto; }
@media (min-width: 900px) { .hero { grid-template-columns: 400px 1fr; gap: var(--s4); } .hero .cover { margin: 0; } }
.hero .lede { font-size: clamp(24px, 3vw, 36px); line-height: 1.25; font-weight: 500; margin: 0 0 var(--s2); }
.hero .lede strong { font-weight: 800; }

/* Stickers and claims */
.sticker { display: inline-block; font-family: var(--headline); text-transform: uppercase; letter-spacing: 0.01em; line-height: 1; font-size: clamp(30px, 5vw, 56px); transform: rotate(-3deg); transform-origin: 0 50%; }
.sticker span { display: inline-block; background: var(--cream); color: var(--ink); padding: 0.15em 0.32em; box-shadow: 10px 10px 0 var(--ink); margin: 0.1em 0; }
.claim { font-family: var(--headline); text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.05; font-size: clamp(28px, 4.2vw, 44px); margin: 0; }
.claim span { display: inline-block; background: var(--cream); color: var(--ink); padding: 0.12em 0.25em; margin: 0.08em 0; }

/* Copy */
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--page-muted); margin: 0 0 var(--s1); }
h1, h2, h3 { font-family: var(--wide); line-height: 1.05; margin: 0 0 var(--s1); letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 4.4vw, 48px); margin-top: 0; }
.sechead { display: grid; grid-template-columns: 1fr; margin: 0 0 var(--s2); }
.sechead .num { font-family: var(--title); font-weight: 700; font-size: 44px; line-height: 1; color: var(--tomato); padding-top: 4px; }
.sechead .sub { margin: 6px 0 0; color: var(--page-muted); max-width: var(--measure); }
h3 { font-size: 22px; margin-top: var(--s2); }
p { margin: 0 0 1em; }
.lede { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.35; font-weight: 500; }
.muted { color: var(--page-muted); }
.small { font-size: 15px; }
hr { border: 0; border-top: 2px solid var(--rule); margin: var(--s3) 0; }

/* The fact label */
.label { background: var(--cream); color: var(--ink); border: 6px solid var(--ink); padding: 20px 24px; font-family: var(--sans); font-variant-numeric: tabular-nums; max-width: 560px; }
.label__title { font-family: var(--wide); font-size: 34px; line-height: 1; border-bottom: 16px solid var(--ink); padding-bottom: 10px; }
.label__scope { font-size: 15px; font-weight: 600; border-bottom: 3px solid var(--ink); padding: 10px 0; line-height: 1.3; }
.label__row { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 2px solid var(--ink); font-size: 17px; font-weight: 500; }
.label__row b { font-weight: 800; white-space: nowrap; }
.label__row--total { font-size: 21px; font-weight: 900; border-bottom: 12px solid var(--ink); }
.label__row--total b { font-weight: 900; }
.label__foot { font-size: 13px; line-height: 1.35; padding-top: 10px; }
.label__row .up::after { content: " ▲"; } .label__row .down::after { content: " ▼"; }

/* Builder */
.builder { display: grid; gap: var(--s2); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 820px) { .builder { grid-template-columns: 1fr 1fr; } }
.panel { background: var(--tomato); color: var(--cream); border: 6px solid var(--ink); padding: var(--s2); }
.panel .muted { color: var(--cream); opacity: .85; }
.field { margin-bottom: var(--s2); }
.field label, .field legend { display: block; font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.field input[type=range] { width: 100%; accent-color: var(--cream); height: 36px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--ink); background: var(--cream); color: var(--ink); padding: 8px 12px; cursor: pointer; font-weight: 600; font-family: var(--sans); font-size: 15px; margin: 0; }
.choices input { accent-color: var(--tomato); margin: 0; }
.choices label:has(input:checked) { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.choices input { accent-color: var(--tomato); }
.share-readout { font-family: var(--title); font-weight: 700; font-size: clamp(72px, 10vw, 120px); line-height: 1; letter-spacing: -0.02em; }
.share-readout small { font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: 0; display: block; margin-top: 6px; }

/* Recipes */
.recipes { display: grid; gap: var(--s2); grid-template-columns: 1fr; }
@media (min-width: 820px) { .recipes { grid-template-columns: 1fr 1fr; } }
.recipe { background: var(--cream); color: var(--ink); border: 6px solid var(--ink); padding: 22px 24px; position: relative; }
.recipe h3 { font-family: var(--headline); text-transform: uppercase; font-size: 34px; font-weight: 400; letter-spacing: 0.01em; margin: 0 0 8px; }
.recipe .pick { position: absolute; top: -18px; right: 16px; transform: rotate(4deg); background: var(--mustard); color: var(--ink); font-family: var(--headline); text-transform: uppercase; padding: 6px 12px; font-size: 18px; box-shadow: 6px 6px 0 var(--ink); }
.recipe .heads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); padding: 10px 0; margin: 12px 0; font-size: 14px; }
.recipe .heads b { display: block; font-family: var(--wide); font-size: 18px; }
.recipe .nut { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 16px; font-size: 14px; font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.recipe .nut span { display: flex; justify-content: space-between; border-bottom: 1px solid var(--ink); padding: 4px 0; }
.recipe ul, .recipe ol { padding-left: 1.2em; margin: 0 0 12px; font-size: 15px; }
.recipe li { margin-bottom: 4px; }
.recipe .nutnote { font-size: 12px; line-height: 1.3; }

/* Video slot */


/* Sources */
.sources li { margin-bottom: 8px; font-size: 15px; }
footer { margin: var(--s5) 0 var(--s3); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2); }
footer .stamp { font-size: 28px; }
.episodes { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.episodes a { text-decoration: none; color: inherit; display: block; }
.episodes .cover { transition: transform .2s ease; }
.episodes a:hover .cover { transform: translate(-4px, -4px); box-shadow: 10px 10px 0 var(--ink); }
.episodes .ep-title { margin: 12px 0 0; font-family: var(--wide); font-size: 18px; }
.episodes .ep-title small { display: block; font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--page-muted); margin-top: 4px; }

/* Promo layer: the four stickers, drawn flat. Satire of the shelf, never a number. */
.promo { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); align-items: center; justify-content: center; margin: var(--s3) 0 0; }
.burst { width: 180px; aspect-ratio: 1; display: grid; place-items: center; text-align: center; background: var(--tomato); color: var(--cream); font-family: var(--headline); text-transform: uppercase; font-size: 24px; line-height: 1; padding: 30px; transform: rotate(-8deg); clip-path: polygon(50.0% 0.0%, 59.8% 13.3%, 75.0% 6.7%, 76.9% 23.1%, 93.3% 25.0%, 86.7% 40.2%, 100.0% 50.0%, 86.7% 59.8%, 93.3% 75.0%, 76.9% 76.9%, 75.0% 93.3%, 59.8% 86.7%, 50.0% 100.0%, 40.2% 86.7%, 25.0% 93.3%, 23.1% 76.9%, 6.7% 75.0%, 13.3% 59.8%, 0.0% 50.0%, 13.3% 40.2%, 6.7% 25.0%, 23.1% 23.1%, 25.0% 6.7%, 40.2% 13.3%); }
.flash { background: var(--mustard); color: var(--ink); border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); padding: 10px 16px; transform: rotate(3deg); font-family: var(--headline); text-transform: uppercase; line-height: 1; }
.flash .was { font-size: 16px; text-decoration: line-through; text-decoration-color: var(--tomato); text-decoration-thickness: 4px; display: block; margin-bottom: 4px; }
.flash .now { font-size: 36px; display: block; }
.ribbon { background: var(--cobalt); color: var(--cream); font-family: var(--headline); text-transform: uppercase; font-size: 22px; padding: 8px 40px; transform: rotate(-6deg); letter-spacing: .04em; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%, 14px 50%); }
.tab { background: var(--cream); color: var(--ink); border: 3px dashed var(--ink); border-left: 10px solid var(--cap-green); padding: 10px 16px; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; transform: rotate(2deg); }

/* Marquee of episode words: the brand's sentence, finishing itself over and over */
.marquee { overflow: hidden; border-top: 6px solid var(--ink); border-bottom: 6px solid var(--ink); margin: var(--s3) 0 0; background: var(--cream); color: var(--ink); }
.marquee__track { display: flex; gap: 0; width: max-content; animation: marquee 28s linear infinite; }
.marquee__track span { font-family: var(--title); font-weight: 700; font-size: clamp(44px, 7vw, 88px); line-height: 1.1; padding: 6px 28px 10px; white-space: nowrap; letter-spacing: -0.02em; }
.marquee__track span:nth-child(odd) { color: var(--tomato); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* The stripes drift on the live cover: the only ambient motion the brand allows */
.cover--live .cover__field { animation: drift 3s linear infinite; }
@keyframes drift { to { background-position: 8.33cqw 0; } }
@media (prefers-reduced-motion: reduce) { .marquee__track, .cover--live .cover__field { animation: none; } }

/* How-it-works cards */
.hows { display: grid; gap: var(--s2); grid-template-columns: 1fr; }
@media (min-width: 820px) { .hows { grid-template-columns: repeat(3, 1fr); } }
.how { background: var(--cream); color: var(--ink); border: 6px solid var(--ink); padding: 22px 24px; }
.how h3 { font-family: var(--headline); text-transform: uppercase; font-weight: 400; font-size: 30px; margin: 0 0 8px; letter-spacing: .01em; }
.how p { margin: 0; font-size: 16px; }

/* Recipe credit line */
.recipe .credit { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px; }
.recipe .credit a { color: inherit; }
.recipe .heads { grid-template-columns: repeat(4, 1fr); }
.recipe .nut { grid-template-columns: repeat(2, 1fr); }

/* Portions control */
.portions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 var(--s2); }
.portions__label { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--page-muted); margin: 0 6px; }
.portions button { font-family: var(--title); font-weight: 700; font-size: 26px; line-height: 1; padding: 8px 18px 11px; border: 3px solid var(--ink); background: var(--cream); color: var(--ink); cursor: pointer; }
.portions button[aria-pressed="true"] { background: var(--tomato); color: var(--cream); box-shadow: 5px 5px 0 var(--ink); }
.recipe .credit { white-space: normal; }

/* The hook: the brand's sentence finishing itself, full width, on the tomato ground; the stripes start under the word like the cover */
.hook { position: relative; background: var(--tomato); color: var(--cream); overflow: hidden; }
.hook__top { padding: var(--s3) 0 var(--s2); }
.hook__stamp { display: flex; flex-direction: column; align-items: center; gap: 10px; width: max-content; }
.hook__stamp .stamp { font-size: clamp(34px, 5vw, 56px); }
.hook__stamp .cover__date { font-size: 12px; }
.hook__line { font-family: var(--title); font-weight: 700; letter-spacing: -0.02em; line-height: 0.9; margin: var(--s1) 0 0; display: grid; }
.hook__lead { font-size: clamp(64px, 11vw, 150px); }
.hook__word { font-size: clamp(110px, 22vw, 320px); display: inline-block; transform-origin: 0 70%; margin-bottom: 0.2em; }
.hook__word.is-landing { animation: land .6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes land { from { transform: scale(1.1); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.hook__bottom { position: relative; min-height: 320px; overflow: hidden; }
.hook__field { position: absolute; left: -40%; width: 320%; top: 0; bottom: -60%; transform: skewX(calc(-1 * var(--skew))); transform-origin: 0 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--cream) 0 var(--bar), transparent var(--bar) calc(var(--bar) + var(--gap)), var(--cobalt) calc(var(--bar) + var(--gap)) calc(2 * var(--bar) + var(--gap)), transparent calc(2 * var(--bar) + var(--gap)) var(--pitch));
  animation: hookdrift 3s linear infinite; }
@keyframes hookdrift { to { background-position: var(--pitch) 0; } }
.hook__bar { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s2); padding: var(--s3) 0 var(--s4); min-height: 320px; box-sizing: border-box; }
.hook__sticker { margin: 0; font-family: var(--headline); text-transform: uppercase; letter-spacing: .01em; line-height: 1; font-size: clamp(28px, 4.6vw, 60px); transform: rotate(-3deg); transform-origin: 0 50%; }
.hook__sticker span { display: inline-block; background: var(--cream); color: var(--ink); padding: .15em .32em; box-shadow: 10px 10px 0 var(--ink); margin-bottom: .12em; }
.hook__cta { background: var(--cream); color: var(--ink); border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); padding: 14px 22px; font-family: var(--wide); font-size: 20px; text-decoration: none; display: inline-flex; align-items: baseline; gap: 12px; }
.hook__cta small { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 400; }
.hook__cta:hover { transform: translate(-2px, -2px); box-shadow: 10px 10px 0 var(--ink); }
.hook__cta--stack { flex-direction: column; align-items: flex-start; gap: 2px; }
.hook__cta-main { display: inline-flex; align-items: baseline; gap: 12px; }
.hook__cta-sub { font-family: var(--title); font-weight: 700; font-size: 22px; color: var(--tomato); line-height: 1.2; }
@media (prefers-reduced-motion: reduce) { .hook__field { animation: none; } }
.marquee { margin: 0; }

/* The bar: hidden until the hero has gone, then the mark and a burger */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 20; background: var(--paper); border-bottom: 2px solid var(--rule); transform: translateY(-110%); transition: transform .25s ease; }
.bar.is-on { transform: none; }
html { scroll-padding-top: calc(var(--bar-h, 70px) + 16px); }
.bar__inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.bar .stamp { font-size: 22px; }
.bar__title { flex: 1; min-width: 0; margin: 0 10px 0 2px; overflow: hidden; white-space: nowrap; font-size: 22px; line-height: 1.4; font-weight: 700; letter-spacing: 0; color: var(--page-ink); mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 10px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 10px), transparent); }
.bar__title span { display: inline-block; padding: 0 6px; }
.bar__title b { font-family: var(--title); font-weight: 700; color: var(--tomato); letter-spacing: 0; }
.bar__title.is-scrolling { mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); }
.bar__title.is-scrolling .bar__track { display: flex; width: max-content; animation: marquee var(--bar-speed, 16s) linear infinite; }
.bar__title.is-scrolling span { padding-right: 36px; }
@media (prefers-reduced-motion: reduce) { .bar__title.is-scrolling .bar__track { animation: none; } .bar__title.is-scrolling { text-overflow: ellipsis; } }
.burger { width: 44px; height: 44px; border: 3px solid var(--page-ink); background: transparent; display: grid; place-content: center; gap: 5px; cursor: pointer; padding: 0; }
.burger span { display: block; width: 20px; height: 3px; background: var(--page-ink); transition: transform .2s ease, opacity .2s ease; }
.bar.is-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.bar.is-open .burger span:nth-child(2) { opacity: 0; }
.bar.is-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.menu { display: none; border-top: 2px solid var(--rule); background: var(--paper); }
.bar.is-open .menu { display: grid; }
.menu a { display: block; padding: 16px; text-decoration: none; font-family: var(--wide); font-size: 18px; border-bottom: 1px solid var(--rule); width: min(100% - 32px, 1040px); margin-inline: auto; }
.menu a:hover { color: var(--tomato); }
.menu__head { margin: 0; padding: 18px 16px 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--page-muted); width: min(100% - 32px, 1040px); margin-inline: auto; }
.menu__head + a { border-top: 1px solid var(--rule); }
.menu a.menu__away::after { content: "↗"; margin-left: .4em; font-family: var(--body); font-size: .8em; color: var(--page-muted); }
.menu a:last-child { margin-bottom: 8px; }
.hook { padding-top: 0; }
.hook__top { padding-top: var(--s3); padding-bottom: var(--s1); }
.hero { margin-top: var(--s3); }

/* The stripe rules scroll left, forever */
.rule::before { animation: ruledrift 1.2s linear infinite; }
@keyframes ruledrift { to { background-position: -40px 0; } }
@media (prefers-reduced-motion: reduce) { .rule::before { animation: none; } }

/* Recipe cards: closed shows the headline, open shows the scaled ingredients */
.recipe__toggle { all: unset; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; width: 100%; cursor: pointer; }
.recipe__toggle h3 { margin: 0 0 6px; }
.recipe__chev { font-family: var(--title); font-weight: 700; font-size: 34px; line-height: 1; border: 3px solid var(--ink); width: 40px; height: 40px; display: grid; place-items: center; flex: none; }
.recipe__toggle:hover .recipe__chev { background: var(--ink); color: var(--cream); }
.recipe .nut { grid-template-columns: repeat(2, 1fr); }
.recipe__body { border-top: 3px solid var(--ink); margin-top: 12px; padding-top: 12px; }
.recipe__body .heads { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 600px) { .recipe__body .heads { grid-template-columns: repeat(4, 1fr); } }
.recipe__body .portions { margin: 0 0 12px; }
.recipe__body .portions button { font-size: 20px; padding: 6px 12px 8px; }
.recipe .small { font-size: 13px; line-height: 1.35; }
/* Citations */
sup.cite { font-size: 0.6em; line-height: 0; vertical-align: super; }
sup.cite a { text-decoration: none; font-family: var(--mono); color: var(--tomato); }
.sources li:target { background: var(--cream); color: var(--ink); outline: 3px solid var(--tomato); padding: 6px; }
.sources li { scroll-margin-top: 90px; }
.sources .n { font-family: var(--mono); color: var(--tomato); margin-right: 6px; }
.big { font-family: var(--title); font-weight: 700; letter-spacing: -0.02em; line-height: 0.95; font-size: clamp(64px, 12vw, 180px); color: var(--tomato); margin: 0 0 8px; }
.big small { display: block; font-family: var(--sans); font-weight: 600; font-size: clamp(16px, 2vw, 22px); letter-spacing: 0; color: var(--page-ink); line-height: 1.3; margin-top: 10px; }

/* Episode page: the cover as the hook, full width from the top, no cycling word */
.hook--episode .hook__stamp { gap: 8px; }
.hook--episode .hook__stamp .cover__date { font-size: 12px; letter-spacing: .12em; }
.hook--episode .hook__word { font-size: clamp(110px, 22vw, 320px); }
.lede-block { margin: var(--s3) 0 0; max-width: var(--measure); }
.lede-block .lede { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; }

/* The shelf: anchor, pick, far end. The pick sits in the middle and is the one you reach for. */
.shelf { display: grid; gap: var(--s2); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .shelf { grid-template-columns: 1fr 1.15fr 1fr; align-items: stretch; } }
.recipe--pick { border-color: var(--tomato); box-shadow: 10px 10px 0 var(--tomato); }
.recipe--anchor .nut b, .recipe--anchor .pitch { color: var(--ink); }
.recipe .pitch { font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 1.35; margin: 4px 0 8px; }
.recipe .nut .up::after { content: " ▲"; } .recipe .nut .down::after { content: " ▼"; }
.recipe .nut { grid-template-columns: repeat(2, 1fr); }
.others { margin-top: var(--s2); }
.shelf-note { font-size: 14px; color: var(--page-muted); max-width: var(--measure); margin: var(--s2) 0 0; }
@media (min-width: 900px) { .shelf .recipe .nut { grid-template-columns: 1fr; } .shelf .recipe .nut b { white-space: nowrap; } }

/* Tiles: five squares, one panel below */
.tiles { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(5, 1fr); gap: 18px; } }
.tile { all: unset; box-sizing: border-box; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; padding: 18px 16px 14px; background: var(--cream); color: var(--ink); border: 5px solid var(--ink); cursor: pointer; position: relative; transition: transform .18s ease, box-shadow .18s ease; }
.tile:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.tile:focus-visible { outline: 3px solid var(--tomato); outline-offset: 3px; }
.tile.is-selected { background: var(--tomato); color: var(--cream); border-color: var(--ink); transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.tile.is-selected .tile__badge { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.tile__badge { position: absolute; top: -14px; left: 12px; transform: rotate(-3deg); background: var(--mustard); color: var(--ink); font-family: var(--headline); text-transform: uppercase; padding: 4px 10px; font-size: 15px; box-shadow: 4px 4px 0 var(--ink); letter-spacing: .02em; }
.tile--anchor .tile__badge { background: var(--cream); border: 2px solid var(--ink); }
.tile--pick .tile__badge { background: var(--tomato); color: var(--cream); }
.tile__title { font-family: var(--headline); text-transform: uppercase; font-size: clamp(22px, 2.2vw, 28px); line-height: 1; margin-top: 10px; letter-spacing: .01em; }
.tile__stats { display: grid; gap: 4px; font-size: 12px; font-variant-numeric: tabular-nums; }
.tile__stats span { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid currentColor; padding-top: 4px; }
.tile__stats b { white-space: nowrap; }
.tile__stats .up::after { content: " ▲"; } .tile__stats .down::after { content: " ▼"; }
.tile__open { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }

/* The panel: grows open, swaps with a short fade when another tile is picked */
.panel-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.2,.7,.2,1); margin-top: 18px; }
.panel-detail.is-open { grid-template-rows: 1fr; }
.panel-detail > .panel__inner { overflow: hidden; min-height: 0; opacity: 1; transform: none; transition: opacity .18s ease, transform .18s ease; }
.panel-detail:not(.is-open) > .panel__inner { opacity: 0; transform: translateY(8px); }
.panel-detail.is-swapping > .panel__inner { opacity: 0; transform: translateY(8px); }
.panel__inner { background: var(--cream); color: var(--ink); border: 6px solid var(--ink); }
.panel__inner > * { padding-inline: 24px; }
.panel__head { padding-top: 26px; position: relative; }
.panel__head .tile__badge { position: static; display: inline-block; margin-bottom: 10px; }
.panel__head h3 { font-family: var(--headline); text-transform: uppercase; font-weight: 400; font-size: 34px; margin: 0 0 6px; letter-spacing: .01em; }
.panel__head .credit { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.panel__grid { display: grid; gap: 24px; grid-template-columns: 1fr; padding-bottom: 24px; border-top: 3px solid var(--ink); padding-top: 18px; }
@media (min-width: 900px) { .panel__grid { grid-template-columns: 1.2fr 1fr; } }
.panel__grid ul { padding-left: 1.2em; margin: 0 0 12px; font-size: 15px; } .panel__grid li { margin-bottom: 4px; }
.panel__grid .heads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); padding: 10px 0; margin: 12px 0; font-size: 14px; }
@media (min-width: 600px) { .panel__grid .heads { grid-template-columns: repeat(4, 1fr); } }
.panel__grid .heads b { display: block; font-family: var(--wide); font-size: 18px; }
.panel__grid .label { max-width: none; }
.panel__grid .small { font-size: 13px; line-height: 1.35; }
@media (prefers-reduced-motion: reduce) { .panel-detail, .panel-detail > .panel__inner, .tile { transition: none; } }
.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.tile { min-width: 0; }
.tile__title { overflow-wrap: anywhere; }
.tile__stats span { min-width: 0; } .tile__stats b { white-space: normal; text-align: right; }
@media (max-width: 699px) { .tile__stats { font-size: 11px; } .tile__stats b { white-space: nowrap; } .tile { padding: 16px 12px 12px; } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* The fact label inside the recipe panel: no second frame, smaller title */
.panel__grid .label { border: 0; padding: 0; border-top: 3px solid var(--ink); padding-top: 14px; }
@media (min-width: 900px) { .panel__grid .label { border: 6px solid var(--ink); padding: 18px 22px; } }
.panel__grid .label__title { font-size: 26px; border-bottom-width: 12px; padding-bottom: 8px; }
.panel__grid .label__scope { font-size: 14px; }
.panel__grid .label__row { font-size: 16px; padding: 9px 0; }
.panel__grid .label__row--total { font-size: 19px; }

/* Receipts: our own red numbers, no list markers, and a highlight that keeps its shape */
.sources { list-style: none; padding: 0; margin: 0; }
.sources li { position: relative; padding: 10px 0 10px 40px; margin: 0; border-top: 1px solid var(--rule); }
.sources li:last-child { border-bottom: 1px solid var(--rule); }
.sources .n { position: absolute; left: 0; top: 10px; margin: 0; font-size: 15px; }
.sources li:target { background: var(--cream); color: var(--ink); outline: 3px solid var(--tomato); outline-offset: 0; padding: 10px 10px 10px 40px; border-color: transparent; }
.sources li:target .n { left: 10px; }

/* 002: cobalt ground, tomato accent (the brand book's cobalt scheme) */
.hook--cobalt, .cover--cobalt { background: var(--cobalt); color: var(--cream); }
.hook--cobalt .hook__word, .cover--cobalt .cover__word { color: var(--cream); }
/* The policing graph on the article: drawn from the facts file by prodes.js */
.figure { background: var(--surface); border: 3px solid var(--rule); padding: var(--s2); margin: var(--s2) 0; }
.figure svg { display: block; width: 100%; height: auto; }
.figure__cap { margin: 10px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--page-muted); }
