/* CashIn Food — the menu: warm cream paper, espresso ink, tomato red, butter yellow and basil, with a gingham band.
   Caprasimo carries headlines and the wordmark; Caveat carries handwritten notes; Archivo carries UI, kickers and times;
   Source Serif 4 carries reading text. */

:root {
  --paper: #FBF6EC;
  --paper-2: #F2E8D5;
  --ink: #2B1D16;
  --ink-2: #6B5A4E;
  --note: #2B1D16;      /* buttons and links: espresso */
  --note-2: #4A372C;
  --hot: #D9432B;       /* tomato: accents */
  --hot-ink: #B23421;   /* tomato that reads as text on cream */
  --flash: #F5C04A;     /* butter: highlights */
  --herb: #4D7C0F;      /* basil: eat well */
  --herb-ink: #3F6A0B;
  --red: #C81E1E;       /* breaking, recalls */
  --bar: #2B1D16;       /* section bar */
  --bar-ink: #EADFCC;
  --seal: #B42318;      /* corrections */
  --brass: #8C6B22;     /* sponsored */
  --rule: #E6DAC4;
  --focus: #D9432B;
  --display: "Caprasimo", "Cooper Black", Georgia, serif;
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --mono: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --head: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --read: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #17110E; --paper-2: #221914; --ink: #F3EADB; --ink-2: #BDAC9A;
    --note: #F3EADB; --note-2: #FFFFFF; --hot: #FF7A5C; --hot-ink: #FF9C83; --flash: #F5C04A; --herb: #9BCB55; --herb-ink: #A8D468; --red: #FF5A5A; --bar: #0D0907; --bar-ink: #E3D6C2;
    --seal: #FF8A80; --brass: #D4B566; --rule: #3A2C24; --focus: #FF7A5C;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #17110E; --paper-2: #221914; --ink: #F3EADB; --ink-2: #BDAC9A;
  --note: #F3EADB; --note-2: #FFFFFF; --hot: #FF7A5C; --hot-ink: #FF9C83; --flash: #F5C04A; --herb: #9BCB55; --herb-ink: #A8D468; --red: #FF5A5A; --bar: #0D0907; --bar-ink: #E3D6C2;
  --seal: #FF8A80; --brass: #D4B566; --rule: #3A2C24; --focus: #FF7A5C;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-synthesis: none; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--read);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .18em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--note); color: var(--paper); padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
button, input, textarea, select { font: inherit; color: inherit; }

/* ---------------------------------------------------------------- masthead */
.masthead { background: var(--paper); }
.masthead__band { height: 26px; }
.gingham { background-color: #FFFBF4; background-image: linear-gradient(90deg, rgb(217 67 43 / .55) 50%, transparent 50%), linear-gradient(rgb(217 67 43 / .55) 50%, transparent 50%); background-size: 18px 18px; box-shadow: inset 0 -1px 0 rgb(43 29 22 / .25); }
.masthead__inner { display: grid; grid-template-columns: auto 1fr auto auto; align-items: end; gap: 12px 22px; padding-top: 16px; padding-bottom: 12px; }
.wordmark { text-decoration: none; display: inline-flex; align-items: center; color: var(--ink); font: 400 clamp(2.1rem, 5vw, 3.2rem)/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.wordmark__food { margin-left: .22em; color: var(--hot); }
.wordmark__plate { display: inline-grid; place-items: center; flex: none; width: .72em; height: .72em; margin-left: .14em; border-radius: 50%; background: var(--flash); color: #2B1D16; box-shadow: inset 0 0 0 .06em #FFFBF4, 0 0 0 .05em #2B1D16; transform: rotate(-8deg); }
.wordmark__plate svg { width: 62%; height: 62%; }
.wordmark--small { font-size: 1.45rem; }
.masthead__date { margin: 0; font: 600 .82rem/1.35 var(--head); color: var(--ink-2); }
.masthead__tag { display: block; font-weight: 400; }
.search input { width: 230px; max-width: 100%; padding: 8px 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper-2); font: 500 .9rem var(--head); }
.tipbtn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: var(--hot); color: #fff; font: 700 .82rem/1.1 var(--head); text-decoration: none; white-space: nowrap; box-shadow: 0 3px 0 #8F2A18; }
.tipbtn b { font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.tipbtn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 #8F2A18; }
.search input:focus { background: var(--paper); }
.sections-bar { background: var(--bar); }
.sections { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding-bottom: 0; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.sections a:last-child { margin-right: 40px; }
.sections::-webkit-scrollbar { display: none; }
.sections a { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 11px 11px 9px; text-decoration: none; font: 700 .86rem var(--head); font-stretch: 86%; letter-spacing: .03em; text-transform: uppercase; color: var(--bar-ink); border-bottom: 3px solid transparent; }
.sections a::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sec, var(--hot)); box-shadow: 0 0 0 2px rgb(255 251 244 / .85); }
.sections__sep { flex: none; width: 1px; margin: 10px 6px; background: rgb(255 255 255 / .22); }
.sections a.sections__home::before { display: none; }
.sections a:hover { color: #fff; border-bottom-color: rgb(255 255 255 / .35); }
.sections a[aria-current="page"] { color: #fff; border-bottom-color: var(--flash); }
.sections a:focus-visible { outline-color: #fff; outline-offset: -3px; }
.ticker { background: #C8232F; color: #fff; }
.ticker__in { display: flex; align-items: center; gap: 14px; min-height: 38px; overflow: hidden; }
.ticker__label { flex: none; padding: 3px 8px; background: #fff; color: var(--red); font: 900 .78rem/1.2 var(--head); letter-spacing: .08em; text-transform: uppercase; animation: blink 1.6s steps(2, start) infinite; }
.ticker ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ticker ul::-webkit-scrollbar { display: none; }
.ticker li { flex: none; font: 650 .92rem/1.3 var(--head); white-space: nowrap; }
.ticker li + li::before { content: "•"; margin-right: 26px; opacity: .7; }
.ticker a { color: #fff; text-decoration: none; }
.ticker a:hover { text-decoration: underline; }
.ticker time { font-weight: 500; opacity: .8; margin-left: 6px; font-size: .8rem; }
@keyframes blink { to { opacity: .55; } }
.notice { margin: 12px auto 0; padding: 10px 16px; background: var(--paper-2); border-left: 4px solid var(--seal); font: 600 .95rem var(--head); }

/* ---------------------------------------------------------------- ads (LBM) */
.ad { display: grid; justify-items: center; gap: 4px; margin: 28px auto; }
.ad__label { font: 500 .72rem/1 var(--head); color: var(--ink-2); letter-spacing: .02em; }
.ad .lbm-slot { max-width: 100%; }
.ad-top .ad { margin: 14px auto 6px; }
.ad--leaderboard .lbm-slot { width: 728px; min-height: 90px; }
.ad--sidebar .lbm-slot { width: 300px; min-height: 250px; }
.ad--incontent { padding: 14px 0; border-block: 1px solid var(--rule); }
.ad--incontent .lbm-slot { width: 100%; min-height: 100px; }
.ad--video .lbm-slot { width: 100%; max-width: 640px; aspect-ratio: 16 / 9; }
.ad--mobile { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; margin: 0; padding: 4px 0 calc(4px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--rule); box-shadow: 0 -6px 18px rgb(0 0 0 / .08); }
.ad--mobile .ad__label { display: none; }
.ad--mobile .lbm-slot { width: 320px; height: 50px; }
.ad__close { position: absolute; right: 6px; top: -30px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--rule); background: var(--paper); font: 700 1.1rem/1 var(--head); cursor: pointer; }
.ad--empty, .ad[hidden] { display: none !important; }
@media (max-width: 767px) { body:has(.ad--mobile:not(.ad--empty)) { padding-bottom: 66px; } }

/* ---------------------------------------------------------------- seals & tags */
.seal { --seal: var(--ink); flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff;
  background: radial-gradient(circle, var(--seal) 0 57%, rgb(43 29 22 / .14) 57% 61%, #FFFDF7 61% 100%);
  box-shadow: 0 1px 2px rgb(43 29 22 / .22), 0 0 0 1px rgb(43 29 22 / .08);
  font: 800 .5rem/1 var(--head); letter-spacing: .02em; }
.seal svg { width: 40%; height: 40%; }
.seal--lg { width: 62px; height: 62px; font-size: .7rem; }
.seal--sm { width: 28px; height: 28px; font-size: .4rem; }
.kicker { font: 800 .72rem/1.2 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--sec, var(--ink)); text-decoration: none; }
.kicker:hover { text-decoration: underline; }
.flag { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; font: 800 .64rem/1.6 var(--head); letter-spacing: .06em; text-transform: uppercase; }
.flag--breaking { background: var(--red); color: #fff; }
.flag--excl { background: var(--flash); color: #2B1D16; }
.flag--rumor { border: 1.5px dashed var(--hot-ink); color: var(--hot-ink); padding: 0 6px; }
.flag--video { background: var(--ink); color: var(--paper); }
.flag--video::before { content: ""; width: 0; height: 0; margin-right: 5px; border-left: 6px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.meta { font: 500 .78rem/1.5 var(--head); color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.tag-ai { color: var(--hot-ink); font-family: var(--head); font-weight: 650; }
.tag-sponsored { color: var(--brass); font: 700 .8rem/1.4 var(--head); }

/* ---------------------------------------------------------------- front page */
.lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px; padding: 26px 0 30px; border-bottom: 1px solid var(--rule); }
.lead__story { display: grid; gap: 14px; align-content: start; }
.lead__top { display: flex; gap: 14px; align-items: center; }
.lead h1, .lead h2.lead__title { margin: 0; font: 400 clamp(2.2rem, 5vw, 3.7rem)/1.04 var(--display); letter-spacing: -.005em; text-wrap: balance; }
.lead__title a { text-decoration: none; }
.lead__title a:hover { text-decoration: underline; text-decoration-thickness: 4px; text-decoration-color: var(--hot); }
.lead__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #000; }
.lead__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lead__dek { margin: 0; font: 400 1.28rem/1.45 var(--read); color: var(--ink-2); max-width: 46ch; }
.tape { border-left: 1px solid var(--rule); padding-left: 24px; }
.tape h2, .rail h2, .shelf__head h2, .block h2 { margin: 0 0 12px; font: 800 .86rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .06em; }
.tape h2::before, .rail h2::before, .shelf__head h2::before { content: ""; display: inline-block; width: .62em; height: .62em; margin-right: .45em; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 .14em color-mix(in srgb, var(--hot) 25%, transparent); vertical-align: .02em; }
.tape ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tape li { display: grid; grid-template-columns: 4.6rem 1fr; gap: 10px; }
.tape time { font: 700 .76rem/1.6 var(--head); color: var(--hot-ink); font-variant-numeric: tabular-nums; }
.tape a { font: 620 1rem/1.3 var(--head); font-stretch: 92%; text-decoration: none; }
.tape a:hover { text-decoration: underline; }

.front, .reading { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; padding: 26px 0 44px; }
.rail { display: grid; gap: 30px; align-content: start; }
.rail__sticky { position: sticky; top: 12px; display: grid; gap: 26px; }
.rail .ad { margin: 0; }

.feed { display: grid; gap: 0; }
.row { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.row--thumb { grid-template-columns: 42px minmax(0, 1fr) 168px; }
.row__thumb { position: relative; display: block; align-self: start; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: #000; }
.row__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.row__thumb--play::after { content: ""; position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: rgb(0 0 0 / .62) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6v12l10-6z' fill='white'/%3E%3C/svg%3E") center / 20px no-repeat; }
.row:first-child { padding-top: 0; }
.row h3 { margin: 2px 0 6px; font: 400 1.42rem/1.16 var(--display); letter-spacing: -.012em; text-wrap: balance; }
.row h3 a { text-decoration: none; }
.row h3 a:hover { text-decoration: underline; }
.row p { margin: 0 0 8px; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.feed .ad--incontent { margin: 0; border-top: 0; padding: 18px 0; border-bottom: 1px solid var(--rule); }

.shelf { padding: 30px 0 6px; }
.shelf__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.shelf__head h2 { margin: 0; flex: 1; font-size: 1.55rem; }
.shelf__head a.more { font: 650 .85rem var(--head); color: var(--note); }
.shelf__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.shelf__grid article { border-top: 4px solid var(--sec, var(--note)); padding-top: 10px; }
.shelf__grid h3 { margin: 0 0 6px; font: 400 1.14rem/1.2 var(--display); letter-spacing: -.01em; }
.shelf__grid h3 a { text-decoration: none; }
.shelf__grid p { margin: 0 0 6px; font-size: .95rem; color: var(--ink-2); line-height: 1.45; }

.ranked { list-style: none; counter-reset: r; margin: 0; padding: 0; display: grid; gap: 12px; }
.ranked li { counter-increment: r; display: grid; grid-template-columns: 1.8rem 1fr; gap: 8px; }
.ranked li::before { content: counter(r); font: 400 1.25rem/1.1 var(--display); color: var(--hot); }
.ranked a { font: 600 .98rem/1.28 var(--head); font-stretch: 92%; text-decoration: none; }
.ranked a:hover { text-decoration: underline; }

.box { background: var(--paper-2); padding: 18px; border-radius: 4px; }
.box p { margin: 0 0 10px; font-size: .95rem; }
.box h2 { margin-bottom: 6px; }

/* ---------------------------------------------------------------- story page */
.story { min-width: 0; }
.story__head { display: grid; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.story__head h1 { margin: 0; font: 400 clamp(2.1rem, 4.8vw, 3.4rem)/1.06 var(--display); letter-spacing: -.005em; text-wrap: balance; }
.story__dek { margin: 0; font: 400 1.3rem/1.45 var(--read); color: var(--ink-2); }
.byline { display: flex; align-items: center; gap: 12px; }
.byline strong { font: 700 .9rem var(--head); display: block; }
.disclose { margin: 0; font: 500 .85rem/1.45 var(--head); color: var(--ink-2); }
.disclose a { color: var(--note); }
.sponsor-line { margin: 0; padding: 8px 12px; border-left: 4px solid var(--brass); background: color-mix(in srgb, var(--brass) 10%, var(--paper)); font: 600 .9rem var(--head); }
.correction { margin: 18px 0 0; padding: 12px 14px; border-left: 4px solid var(--seal); background: color-mix(in srgb, var(--seal) 8%, var(--paper)); font-size: .98rem; }
.correction strong { font-family: var(--head); color: var(--seal); }

.body { font-size: 1.16rem; line-height: 1.72; max-width: 68ch; padding-top: 8px; }
.body p { margin: 0 0 1.05em; }
.body h2, .body h3 { font: 400 1.5rem/1.18 var(--display); letter-spacing: -.012em; margin: 1.5em 0 .5em; }
.body h3 { font-size: 1.2rem; }
.body ul, .body ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.body li { margin-bottom: .35em; }
.body blockquote { margin: 1.2em 0; padding: 2px 0 2px 18px; border-left: 3px solid var(--hot); font-style: italic; color: var(--ink-2); }
.body a { color: var(--note); text-decoration-color: var(--hot); text-decoration-thickness: 2px; }
.body ol > li::marker { font: 400 1em var(--display); color: var(--hot-ink); }
.body .ad { max-width: 100%; }

.sources { margin: 28px 0 0; padding: 18px 0 0; border-top: 1px solid var(--rule); max-width: 68ch; }
.sources h2, .made h2, .engage h2, .talk h2 { font: 750 1.1rem/1.2 var(--head); margin: 0 0 10px; }
.sources ol { margin: 0; padding-left: 1.3em; font-size: .98rem; }
.sources li { margin-bottom: 6px; }
.sources small { color: var(--ink-2); font-family: var(--head); }
.made { margin-top: 18px; max-width: 68ch; }
.made summary { cursor: pointer; font: 650 .95rem var(--head); color: var(--note); }
.made dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 12px 0 0; font-size: .95rem; }
.made dt { font: 600 .85rem var(--head); color: var(--ink-2); }
.made dd { margin: 0; }

.engage { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 26px 0 0; padding: 16px 0; border-block: 1px solid var(--rule); }
.engage h2 { margin: 0 8px 0 0; font-size: 1rem; }
.btn, .chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 8px; border: 1px solid var(--note); background: var(--note); color: var(--paper); font: 650 .9rem/1 var(--head); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--note-2); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.chip { background: transparent; color: var(--ink); border-color: var(--rule); }
.chip:hover { border-color: var(--note); }
.chip[aria-pressed="true"] { background: var(--note); color: var(--paper); border-color: var(--note); }
.chip .n { font-variant-numeric: tabular-nums; }

.talk { margin-top: 34px; max-width: 68ch; }
.talk__intro { margin: -4px 0 14px; color: var(--ink-2); font-size: .98rem; }
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 5px; font: 600 .85rem var(--head); }
.form input:not([type="checkbox"]):not([type="radio"]), .form textarea, .form select { width: 100%; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper); font: 400 1rem/1.45 var(--read); }
.form textarea { min-height: 110px; resize: vertical; }
.form .hp { position: absolute; left: -5000px; }
.form .btn { justify-self: start; }
.form__msg { margin: 0; font: 600 .9rem var(--head); color: var(--note); }
.form__msg.bad { color: var(--seal); }
.thread { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 18px; }
.thread li { display: grid; gap: 4px; }
.thread .who { font: 700 .88rem var(--head); }
.thread .who small { font-weight: 500; color: var(--ink-2); margin-left: 8px; }
.thread .who .ai { color: var(--hot-ink); }
.thread p { margin: 0; font-size: 1rem; }
.qa { border-left: 3px solid var(--hot); padding-left: 14px; }
.qa .q { font-weight: 600; }

.related { padding: 8px 0 40px; border-top: 1px solid var(--rule); }

/* ---------------------------------------------------------------- sections, search, static */
.section-head { display: flex; gap: 16px; align-items: center; padding: 26px 0 8px; }
.section-head h1 { margin: 0; font: 400 clamp(2.2rem, 5vw, 3.3rem)/1.02 var(--display); letter-spacing: -.025em; }
.section-head__group { display: block; margin-bottom: 4px; font: 800 .74rem/1.2 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--hot-ink); }
.section-head p { margin: 4px 0 0; color: var(--ink-2); }
.page { max-width: 70ch; padding: 26px 0 50px; }
.page h1 { font: 400 clamp(2.1rem, 4.8vw, 3rem)/1.05 var(--display); letter-spacing: -.025em; margin: 0 0 14px; }
.page h2 { font: 400 1.45rem/1.18 var(--display); letter-spacing: -.012em; margin: 1.6em 0 .5em; }
.page p, .page li { font-size: 1.08rem; }
.empty { padding: 30px; background: var(--paper-2); border-radius: 4px; font-family: var(--head); }
.pager { display: flex; gap: 10px; padding: 20px 0; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 18px 0; }
.tier { border: 1px solid var(--rule); border-radius: 4px; padding: 16px; display: grid; gap: 10px; align-content: start; background: var(--paper); }
.tier h3 { margin: 0; font: 400 1.3rem var(--display); letter-spacing: -.012em; }
.tier p { margin: 0; font-size: .95rem; color: var(--ink-2); }
.refbox { padding: 16px; border: 2px dashed var(--hot); border-radius: 8px; margin: 16px 0; }
.refbox code { font: 800 1.5rem var(--head); letter-spacing: .06em; color: var(--note); }

/* ---------------------------------------------------------------- footer */
.footer { margin-top: 30px; background: var(--paper-2); }
.footer__band { height: 22px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-top: 26px; padding-bottom: 18px; }
.footer h2 { font: 800 .8rem var(--head); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 10px; }
.footer nav a { display: block; font: 500 .9rem/1.9 var(--head); text-decoration: none; color: var(--ink-2); }
.footer nav a:hover { color: var(--ink); text-decoration: underline; }
.footer__about { font-size: .95rem; color: var(--ink-2); max-width: 36ch; }
.footer__legal { font: 500 .78rem var(--head); color: var(--ink-2); padding-bottom: 26px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .lead { grid-template-columns: 1fr; gap: 26px; }
  .tape { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 18px; }
  .front, .reading { grid-template-columns: minmax(0, 1fr); }
  .rail__sticky { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .masthead__inner { grid-template-columns: 1fr; gap: 8px; }
  .masthead__date { display: none; }
  .search input { width: 100%; }
  .shelf__grid { grid-template-columns: 1fr; gap: 18px; }
  .row { grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
  .row .seal { width: 32px; height: 32px; font-size: .42rem; }
  .row h3 { font-size: 1.42rem; }
  .body { font-size: 1.1rem; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print { .ad, .masthead__band, .sections-bar, .search, .rail, .engage, .talk, .footer { display: none !important; } }
@media (min-width: 768px) { .lbm-mobile-only { display: none !important; } }
@media (max-width: 767px) { .lbm-desktop-only { display: none !important; } }

/* ---------------------------------------------------------------- editions (divisions) */
.brand { display: grid; gap: 6px; justify-items: start; }
.edition { position: relative; font-family: var(--head); }
.edition summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 4px 10px 4px 8px; border: 1px solid var(--rule); border-radius: 8px; font: 700 .85rem/1.2 var(--head); color: var(--note); background: var(--paper); }
.edition summary::-webkit-details-marker { display: none; }
.edition summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 2px; }
.edition[open] summary { border-color: var(--note); }
.edition__panel { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: min(340px, calc(100vw - 32px)); max-height: 70vh; overflow: auto; padding: 12px; background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; box-shadow: 0 12px 30px rgb(0 0 0 / .14); }
.edition__panel input { width: 100%; padding: 8px 10px; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper-2); font: 500 .9rem var(--head); margin-bottom: 8px; }
.edition__group { padding: 6px 0; border-top: 1px solid var(--rule); }
.edition__group:first-of-type { border-top: 0; }
.edition__group h3, .edition__group h2 { margin: 2px 0 4px; font: 700 .78rem/1.3 var(--head); color: var(--ink-2); }
.edition__panel a { display: block; padding: 5px 6px; border-radius: 4px; text-decoration: none; font: 550 .92rem/1.3 var(--head); }
.edition__panel a:hover { background: var(--paper-2); }
.edition__panel a[aria-current="true"] { color: var(--note); font-weight: 750; }
.edition__all { margin-top: 6px; color: var(--note); }
[data-hidden] { display: none !important; }

.kickers { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.place { font: 600 .8rem/1.2 var(--head); color: var(--ink-2); text-decoration: none; padding: 1px 7px; border: 1px solid var(--rule); border-radius: 999px; }
.place:hover { color: var(--ink); border-color: var(--ink-2); }
.meta .place { font-size: .74rem; }
.place--lead { display: inline-block; margin-bottom: 6px; color: var(--hot-ink); border-color: color-mix(in srgb, var(--hot) 45%, transparent); }
.shelf--places .shelf__grid article { border-top-color: var(--note); }

.facets { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.facets .chip { padding: 6px 12px; font-size: .85rem; }
.facets .chip .n { color: var(--ink-2); font-weight: 500; }
.facets .chip[aria-current="true"] { background: var(--note); color: var(--paper); border-color: var(--note); }
.facets .chip[aria-current="true"] .n { color: inherit; opacity: .8; }
.facets--sections { margin-top: -6px; }
.searchform { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; align-items: end; max-width: 720px; margin-bottom: 14px; }
.searchform .btn { margin-bottom: 2px; }

.page--wide { max-width: 980px; }
.edition-find { width: 100%; max-width: 420px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper-2); font: 500 1rem var(--head); margin: 6px 0 18px; }
.edition-dir { columns: 3 240px; column-gap: 32px; }
.edition-dir .edition__group { break-inside: avoid; margin-bottom: 16px; border-top: 0; }
.edition-dir ul { list-style: none; margin: 0; padding: 0; }
.edition-dir li { padding: 5px 0; border-bottom: 1px dashed var(--rule); }
.edition-dir li a { font: 400 1.15rem var(--display); letter-spacing: -.01em; text-decoration: none; }
.edition-dir li a:hover { text-decoration: underline; }
.edition-dir li small { display: block; color: var(--ink-2); font: 500 .8rem var(--head); }
.edition-next { columns: 3 180px; padding-left: 1.1em; font-family: var(--head); color: var(--ink-2); }

.footer__grid { grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
  .footer__grid { grid-template-columns: 1fr; }
  .searchform { grid-template-columns: 1fr; }
  .brand { grid-auto-flow: column; justify-content: space-between; align-items: center; width: 100%; }
  .edition__panel { left: auto; right: 0; }
}

/* ---------------------------------------------------------------- video, galleries, tip line */
.player { margin: 6px 0 18px; }
.player__frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 8px; overflow: hidden; }
.player__frame iframe, .player__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player figcaption { margin-top: 6px; font: 600 .78rem var(--head); color: var(--ink-2); }
.player__mark { position: absolute; right: 3%; top: 4%; padding: 3px 8px; font: 500 clamp(.75rem, 2vw, 1rem)/1 var(--mono); letter-spacing: .02em; color: #fff; background: rgb(0 0 0 / .35); border-radius: 3px; pointer-events: none; opacity: .85; }
.player__mark b { font-weight: 400; color: var(--flash); }
.player__mark i { font: 850 .62em/1 var(--head); font-style: normal; letter-spacing: .08em; margin-left: 4px; padding: 2px 4px; background: var(--flash); color: #2B1D16; vertical-align: .15em; }

.vwall { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; padding: 6px 0 24px; }
.vcard { display: grid; gap: 8px; align-content: start; }
.vcard__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: #000; }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.vcard__media:hover img { transform: scale(1.04); }
.vcard__blank { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--sec) 60%, #000), #000); }
.vcard__play { position: absolute; left: 10px; bottom: 10px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--hot); color: #fff; box-shadow: 0 4px 14px rgb(0 0 0 / .35); }
.vcard__excl { position: absolute; left: 10px; top: 10px; padding: 2px 7px; background: var(--flash); color: #2B1D16; font: 850 .66rem/1.5 var(--head); letter-spacing: .07em; text-transform: uppercase; border-radius: 3px; }
.vcard h3 { margin: 2px 0 2px; font: 400 1.06rem/1.22 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.vcard h3 a { text-decoration: none; }
.vcard h3 a:hover { text-decoration: underline; }

.spots { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; padding: 6px 0 24px; }
.spot { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; background: var(--paper); }
.spot__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.spot__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spot__media--type { display: grid; place-items: center; background: repeating-linear-gradient(-45deg, var(--sec, var(--hot)) 0 14px, color-mix(in srgb, var(--sec, var(--hot)) 82%, #000) 14px 28px); text-decoration: none; }
.spot__media--type span { padding: 4px 10px; background: var(--paper); color: var(--ink); font: 400 1.25rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; transform: rotate(-3deg); box-shadow: 3px 3px 0 #2B1D16; }
.spot__body { display: grid; gap: 6px; align-content: start; padding: 12px 14px 14px; }
.spot h3 { margin: 0; font: 800 1.08rem/1.15 var(--head); font-stretch: 80%; }
.spot h3 a { text-decoration: none; }
.spot p { margin: 0; font-size: .93rem; line-height: 1.45; color: var(--ink-2); }

.tipbox { border: 2px solid #2B1D16; background: var(--flash); color: #2B1D16; padding: 18px; border-radius: 14px; box-shadow: 4px 5px 0 #2B1D16; }
.tipbox h2 { margin: 0 0 6px; }
.tipbox h2::before { display: none !important; }
.tipbox p { margin: 0 0 12px; font-size: .95rem; }
.tipbox .btn { background: #2B1D16; border-color: #2B1D16; color: #fff; }
.tipbox h2 { color: #2B1D16; }
.lead-in { font-size: 1.15rem; }
.tipform { margin: 10px 0 26px; }
.tipform small { font: 500 .8rem var(--head); color: var(--ink-2); }
.form .check { display: flex; gap: 8px; align-items: flex-start; font: 500 .92rem/1.4 var(--head); }
.form .check input { margin-top: 3px; }
.rules { border-top: 1px solid var(--rule); padding-top: 4px; }
.rules ul { padding-left: 1.2em; }
.rules li { font-size: 1rem; margin-bottom: 4px; }
.rumor-note { margin: 0; padding: 10px 14px; border: 1.5px dashed var(--hot-ink); border-radius: 6px; font: 600 .92rem/1.45 var(--head); color: var(--hot-ink); }
.excl-note { margin: 0; padding: 10px 14px; background: color-mix(in srgb, var(--flash) 35%, var(--paper)); border-left: 4px solid var(--ink); font: 600 .92rem/1.45 var(--head); }

@media (max-width: 980px) { .masthead__inner { grid-template-columns: auto 1fr auto; } .masthead__date { display: none; } }
@media (max-width: 767px) {
  .masthead__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .brand { grid-column: 1 / -1; }
  .search { grid-column: 1; order: 3; }
  .tipbtn { order: 4; }
  .tipbtn { padding: 6px 10px; font-size: .8rem; }
  .row--thumb { grid-template-columns: 30px minmax(0, 1fr); }
  .row__thumb { grid-column: 2; max-width: 100%; }
  .ticker li { font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) { .ticker__label { animation: none; } }

/* ---------------------------------------------------------------- CashIn Food: glossary, Kitchen School shelf, fine print, recipe card, life stages, recall watch */
.glossary { display: grid; gap: 22px; }
.glossary__group { break-inside: avoid; }
.glossary__group h2 { margin: 0 0 8px; font: 400 1.9rem/1.1 var(--hand); color: var(--hot-ink); }
.glossary dl { margin: 0; display: grid; gap: 0; }
.gterm { padding: 12px 0; border-top: 1px solid var(--rule); scroll-margin-top: 80px; }
.gterm:target { background: color-mix(in srgb, var(--flash) 28%, transparent); }
.gterm dt { font: 400 1.14rem/1.25 var(--display); letter-spacing: -.01em; }
.gterm dd { margin: 4px 0 0; font-size: 1.02rem; line-height: 1.55; color: var(--ink-2); }
.gterm__link { margin-left: 4px; font: 500 .8rem var(--mono); color: var(--ink-2); text-decoration: none; opacity: .5; }
.gterm__more { margin-left: 6px; font: 500 .72rem var(--mono); text-transform: uppercase; color: var(--hot-ink); }
.shelf--learn { border-top: 2px solid var(--ink); margin-top: 20px; }
.shelf--learn .shelf__grid article { border-top-color: var(--hot); }
.lead__dek, .story__dek { font-optical-sizing: auto; }
.tape time, .meta, .ranked li::before { font-variant-numeric: tabular-nums; }

.fine-print { max-width: 68ch; margin: 22px 0 0; padding: 12px 14px; border: 1px solid var(--rule); border-left: 4px solid var(--flash); border-radius: 0 6px 6px 0; background: var(--paper-2); font: 500 .88rem/1.5 var(--head); color: var(--ink-2); }
.fine-print strong { color: var(--ink); }

.fine-print--health { border-left-color: var(--herb); }
.lead h1, .lead h2.lead__title, .story__head h1, .section-head h1, .page h1 { letter-spacing: -.005em; }
.row h3, .shelf__grid h3, .vcard h3, .gterm dt { line-height: 1.18; }
.flag--recipe { background: var(--hot); color: #fff; }
.flag--stage { background: color-mix(in srgb, var(--herb) 14%, var(--paper)); color: var(--herb-ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--herb) 40%, transparent); text-decoration: none; }
.flag--stage:hover { text-decoration: underline; }
.note-hand { font: 400 1.35rem/1.1 var(--hand); color: var(--hot-ink); }

/* recipe card: an index card with a tomato shadow */
.jump { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 6px 14px; border-radius: 999px; background: var(--flash); color: #2B1D16; font: 800 .8rem/1.2 var(--head); text-decoration: none; letter-spacing: .02em; }
.jump:hover { filter: brightness(.95); }
.recipe { max-width: 72ch; margin: 30px 0 8px; padding: 20px 22px 18px; border: 2px solid var(--ink); border-radius: 16px; background: var(--paper);
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, color-mix(in srgb, var(--hot) 13%, transparent) 31px 32px); box-shadow: 7px 8px 0 var(--hot); scroll-margin-top: 16px; }
.recipe__head { padding-bottom: 12px; margin-bottom: 14px; border-bottom: 2px solid color-mix(in srgb, var(--hot) 70%, transparent); }
.recipe__tag { margin: 0; font: 400 1.6rem/1 var(--hand); color: var(--hot-ink); }
.recipe__head h2 { margin: 4px 0 10px; font: 400 1.65rem/1.15 var(--display); }
.recipe__times { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.recipe__times div { padding: 4px 12px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--rule); }
.recipe__times dt { display: inline; font: 800 .7rem var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin-right: 6px; }
.recipe__times dd { display: inline; margin: 0; font: 700 .9rem var(--head); }
.recipe__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 26px; }
.recipe h3 { margin: 0 0 8px; font: 800 .8rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--hot-ink); }
.recipe__ing { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.recipe__ing label { display: flex; gap: 9px; align-items: flex-start; font: 500 1rem/1.4 var(--read); cursor: pointer; }
.recipe__ing input { margin-top: 4px; accent-color: var(--hot); width: 16px; height: 16px; flex: none; }
.recipe__ing label:has(input:checked) span { text-decoration: line-through; opacity: .55; }
.recipe__steps { margin: 0; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 12px; }
.recipe__steps li { counter-increment: st; display: grid; grid-template-columns: 2rem 1fr; gap: 8px; font-size: 1.04rem; line-height: 1.55; }
.recipe__steps li::before { content: counter(st); display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--hot); color: #fff; font: 400 .95rem/1 var(--display); }
.recipe__foot { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--rule); display: grid; gap: 8px; }
.recipe__credit, .recipe__safe { margin: 0; font: 500 .86rem/1.45 var(--head); color: var(--ink-2); }
.recipe__credit a { color: var(--note); font-weight: 700; }
.recipe__foot .chip { justify-self: start; }
@media (max-width: 767px) { .recipe { padding: 16px 14px; box-shadow: 4px 5px 0 var(--hot); } .recipe__cols { grid-template-columns: 1fr; gap: 18px; } }
@media print {
  body.print-recipe * { visibility: hidden !important; }
  body.print-recipe .recipe, body.print-recipe .recipe * { visibility: visible !important; }
  body.print-recipe .recipe { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; border-width: 1px; background: #fff; color: #000; }
  body.print-recipe .recipe .chip { display: none; }
}

/* eat well at every age: a ladder of life stages, rising left to right */
.ladder { list-style: none; margin: 0; padding: 0 0 6px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 8px; align-items: end; }
@media (max-width: 767px) { .ladder { grid-template-columns: repeat(10, minmax(132px, 1fr)); overflow-x: auto; scrollbar-width: thin; } }
.ladder li { --i: 0; --h: 0; display: grid; align-content: start; gap: 4px; min-height: calc(118px + var(--h) * 12px); padding: 10px 10px 12px; border-radius: 12px 12px 4px 4px; background: color-mix(in srgb, var(--herb) calc(8% + var(--i) * 1.6%), var(--paper)); border-top: 4px solid var(--herb); }
.ladder li > b { font: 400 1.02rem/1.1 var(--display); color: var(--ink); }
.ladder li > b a { font: inherit; }
.ladder li > small { font: 700 .72rem/1.2 var(--head); color: var(--herb-ink); text-transform: uppercase; letter-spacing: .04em; }
.ladder li a { font: 600 .84rem/1.3 var(--head); text-decoration: none; color: var(--ink); }
.ladder li a:hover { text-decoration: underline; }
.ladder li .soon { font: 400 1.05rem/1.1 var(--hand); color: var(--ink-2); }
.stages { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 6px 0 16px; padding-bottom: 2px; }
.stages::-webkit-scrollbar { display: none; }
.stages .chip { flex: none; padding: 6px 12px; font-size: .84rem; }
.stages .chip small { font-weight: 500; color: var(--ink-2); }
.stages .chip[aria-current="true"] { background: var(--herb); border-color: var(--herb); color: #fff; }
.stages .chip[aria-current="true"] small { color: rgb(255 255 255 / .85); }
.shelf--eatwell { border-top: 2px solid var(--herb); margin-top: 20px; }
.shelf--eatwell .shelf__head h2::before { background: var(--herb); box-shadow: 0 0 0 .14em color-mix(in srgb, var(--herb) 25%, transparent); }
.shelf--learn { border-top-color: var(--hot); }

/* recall watch in the rail */
.watch { background: #2B1D16; color: #F7EFE3; border-radius: 14px; padding: 16px 16px 14px; border-top: 6px solid #C81E1E; }
.watch h2 { color: #F7EFE3 !important; margin-bottom: 8px !important; }
.watch h2::before { background: #FF5A5A !important; box-shadow: 0 0 0 .14em rgb(255 90 90 / .3) !important; }
.watch ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; }
.watch li { padding: 8px 0; border-top: 1px solid rgb(255 255 255 / .12); display: grid; gap: 2px; }
.watch li a { color: #fff; font: 650 .92rem/1.3 var(--head); text-decoration: none; }
.watch li a:hover { text-decoration: underline; }
.watch time { font: 600 .72rem var(--head); color: #E9B7A9; }
.watch .more { color: #F5C04A; font: 700 .85rem var(--head); }

/* dark mode: section colors lifted so kickers stay readable */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kicker { color: color-mix(in srgb, var(--sec, var(--ink)) 62%, #fff); } }
:root[data-theme="dark"] .kicker { color: color-mix(in srgb, var(--sec, var(--ink)) 62%, #fff); }
