/* Server-rendered guides and public recipes. Same type and tokens as the app; no client script. */
@font-face { font-family: 'Bricolage'; src: url(/fonts/web/bricolage.woff2) format('woff2-variations'); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: 'Onest'; src: url(/fonts/web/onest.woff2) format('woff2-variations'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Martian Mono'; src: url(/fonts/web/martian-mono.woff2) format('woff2-variations'); font-weight: 100 800; font-display: swap; }
:root { --bg: #f2f2ef; --surface: #fff; --raised: #e7e7e2; --line: #d8d8d1; --text: #111214; --text-2: #575c66; --accent: #ffb61e; --accent-ink: #8f5400; --on-accent: #1d1300; --done: #12804d;
  --display: 'Bricolage', 'Arial Narrow', sans-serif; --body: 'Onest', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; --mono: 'Martian Mono', ui-monospace, monospace;
  color-scheme: light dark; }
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; --bg: #0b0b0d; --surface: #151619; --raised: #202227; --line: #2c2f36; --text: #f3f2ee; --text-2: #9ca1ad; --accent-ink: #ffc24d; --done: #3ccf86; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #0b0b0d; --surface: #151619; --raised: #202227; --line: #2c2f36; --text: #f3f2ee; --text-2: #9ca1ad; --accent-ink: #ffc24d; --done: #3ccf86; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3 { font-family: var(--display); font-weight: 760; letter-spacing: -.035em; line-height: 1.02; margin: 0; text-wrap: balance; }
p { margin: 0; }
img { max-width: 100%; }
main { width: min(1120px, 100%); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.s-nav { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(16px, 4vw, 40px); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.s-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.s-brand span { display: grid; line-height: 1; } .s-brand b { font-family: var(--display); font-size: 22px; font-weight: 760; letter-spacing: -.045em; }
.s-brand small { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-top: 3px; }
.s-nav nav { display: flex; align-items: center; gap: 4px; }
.s-nav nav a { padding: 8px 12px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--text-2); }
.s-nav nav a[aria-current="page"], .s-nav nav a:hover { color: var(--text); background: var(--raised); }
.s-nav nav a.s-cta { background: var(--text); color: var(--bg); }
@media (max-width: 520px) { .s-nav nav a:not(.s-cta):not([aria-current]) { display: none; } }

.s-kicker, .s-tag, .s-meta { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.s-meta { color: var(--text-2); }
.s-hero { display: grid; gap: 16px; padding: clamp(48px, 9vw, 110px) 0 clamp(32px, 5vw, 56px); max-width: 860px; }
.s-hero h1 { font-size: clamp(44px, 7vw, 92px); letter-spacing: -.055em; line-height: .95; }
.s-lede { font-size: clamp(18px, 1.8vw, 21px); color: var(--text-2); max-width: 60ch; }
.s-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.s-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 15.5px; text-decoration: none; }
.s-btn.ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }

.s-posts { list-style: none; margin: 0 0 80px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 16px; }
.s-posts a { display: grid; align-content: start; gap: 12px; height: 100%; padding: 26px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .25s cubic-bezier(.3, 1.4, .5, 1), border-color .2s; }
.s-posts a:hover { transform: translateY(-4px); border-color: var(--text-2); }
.s-posts h2, .s-posts h3 { font-size: 26px; } .s-posts.small h3 { font-size: 21px; }
.s-posts p { color: var(--text-2); font-size: 15.5px; line-height: 1.55; }

.s-article { max-width: 720px; margin: 0 auto; padding: clamp(36px, 7vw, 80px) 0 40px; display: grid; gap: 18px; }
.s-article h1 { font-size: clamp(38px, 5.6vw, 64px); letter-spacing: -.05em; }
.s-crumbs { display: flex; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.s-crumbs a { color: var(--accent-ink); text-decoration: none; }
.s-prose { display: grid; gap: 18px; margin-top: 18px; }
.s-prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 22px; }
.s-prose ul, .s-prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.s-prose li::marker { color: var(--accent-ink); font-weight: 700; }
.s-prose a { color: var(--accent-ink); font-weight: 600; }
.s-tip { padding: 18px 20px; border-radius: 18px; background: color-mix(in srgb, var(--accent) 14%, transparent); }
.s-tip b { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; color: var(--accent-ink); }
.s-ctabox { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin: 30px 0; padding: 24px; border-radius: 26px; background: var(--text); color: var(--bg); }
.s-ctabox div { flex: 1 1 260px; display: grid; gap: 2px; } .s-ctabox b { font-family: var(--display); font-size: 24px; font-weight: 760; letter-spacing: -.035em; line-height: 1.1; }
.s-ctabox span { opacity: .7; font-size: 15px; }
.s-more { padding: 40px 0 70px; border-top: 1px solid var(--line); display: grid; gap: 24px; } .s-more > h2 { font-size: 30px; }

.s-recipe { padding: clamp(32px, 6vw, 72px) 0 30px; display: grid; gap: 26px; }
.s-rhead { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.s-rhead > div { display: grid; gap: 16px; }
.s-rhead h1 { font-size: clamp(40px, 6vw, 80px); letter-spacing: -.055em; line-height: .96; }
.s-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; background: var(--raised); }
.s-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.s-facts li { padding: 6px 14px; border-radius: 999px; background: var(--raised); font-size: 14px; font-weight: 650; }
.s-source { font-size: 15px; color: var(--text-2); } .s-source a { color: var(--text); font-weight: 650; }
.s-warn { padding: 14px 18px; border-radius: 16px; border: 1px solid var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); font-size: 15px; }
.s-rbody { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.s-ing, .s-method { display: grid; gap: 14px; } .s-ing h2, .s-method h2 { font-size: 32px; }
.s-ing { position: sticky; top: 84px; padding: 24px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); }
.s-ing ul { list-style: none; margin: 0; padding: 0; display: grid; }
.s-ing li { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.s-ing li b { font-family: var(--mono); font-size: 14px; }
.s-nutri { display: grid; gap: 10px; margin-top: 8px; } .s-nutri h3 { font-size: 20px; } .s-nutri small { font-family: var(--body); font-size: 13px; font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.s-nutri dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0; }
.s-nutri dl div { padding: 10px; border-radius: 14px; background: var(--raised); } .s-nutri dt { font-size: 12px; color: var(--text-2); }
.s-nutri dd { margin: 0; font-family: var(--display); font-size: 22px; font-weight: 760; letter-spacing: -.04em; }
.s-nutri p { font-size: 13px; color: var(--text-2); }
.s-method ol { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 4px; }
.s-method li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 0 10px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.s-method li::before { content: counter(s); grid-row: span 2; font-family: var(--display); font-size: 32px; font-weight: 760; line-height: 1; color: var(--accent-ink); letter-spacing: -.04em; }
.s-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.s-chips span { padding: 4px 11px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 18%, transparent); font-size: 13px; font-weight: 650; }
.s-notes { padding: 20px; border-radius: 20px; background: var(--raised); display: grid; gap: 6px; margin-top: 10px; } .s-notes h3 { font-size: 20px; }
@media (max-width: 820px) { .s-rhead, .s-rbody { grid-template-columns: 1fr; } .s-photo { order: -1; aspect-ratio: 4 / 3; } .s-ing { position: static; } .s-nutri dl { grid-template-columns: repeat(2, 1fr); } }

.s-cards { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.s-cards a { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: #111; text-decoration: none; color: #fff; }
.s-cards img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.s-cards a:hover img { transform: scale(1.05); }
.s-cards a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0, 0, 0, .8)); }
.s-cards span { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 4px; }
.s-cards b { font-family: var(--display); font-size: 22px; font-weight: 760; letter-spacing: -.035em; line-height: 1.02; }
.s-cards small { font-size: 13px; opacity: .8; }
.s-pager { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; font-size: 15px; color: var(--text-2); }
.s-pager a { font-weight: 700; color: var(--text); }
.s-empty { padding: 40px; border-radius: 24px; border: 1.5px dashed var(--line); color: var(--text-2); margin-bottom: 60px; }

.s-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding: 40px clamp(16px, 4vw, 40px); border-top: 1px solid var(--line); color: var(--text-2); font-size: 14.5px; }
.s-foot > div { display: grid; gap: 10px; }
.s-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-content: start; } .s-foot nav a { color: var(--text); font-weight: 600; text-decoration: none; }

/* Theme toggle */
.s-theme { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.s-theme[hidden] { display: none; }
.s-theme .s-moon { display: none; }
:root[data-theme="dark"] .s-theme .s-sun { display: none; } :root[data-theme="dark"] .s-theme .s-moon { display: grid; }
.s-theme span { display: grid; }
/* Posts as cover cards */
.s-posts { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.s-posts > li > .gc { padding: 0; }
.s-posts > li > .gc:hover { transform: translateY(-6px); }
.s-hero-cover { display: block; margin: 10px 0 6px; border-radius: 26px; } .s-hero-cover .gc-cover { aspect-ratio: 16 / 8; } .s-hero-cover:hover { transform: none; }
.s-ctabox { gap: 12px 20px; }
/* Footer with the source strip */
.s-foot { display: grid; gap: 36px; padding: 44px clamp(16px, 4vw, 40px) 32px; }
.s-foot > div { display: grid; }
.s-strip { display: grid; gap: 12px; }
.s-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.s-strip li { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 650; color: var(--text); }
.pl-tile { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: #fff; background: var(--pl-bg); font-weight: 800; }
.pl-tile-any { background: var(--raised); color: var(--text); }
.pl-tile-tiktok svg, .gc-badge.pl-tile-tiktok svg { filter: drop-shadow(-1.2px -1px 0 #25F4EE) drop-shadow(1.2px 1px 0 #FE2C55); }
.s-foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
.s-foot-lead { display: grid; gap: 12px; justify-items: start; max-width: 360px; } .s-foot-lead p { font-size: 15px; }
.s-claim { font-family: var(--display); font-weight: 780; font-size: 40px; line-height: .95; letter-spacing: -.05em; color: var(--text); } .s-claim span { color: var(--accent-ink); white-space: nowrap; }
.s-foot nav { display: grid; align-content: start; gap: 9px; }
.s-foot nav h3 { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.s-legal { padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
@media (max-width: 820px) { .s-foot-grid { grid-template-columns: 1fr 1fr; } .s-foot-lead { grid-column: 1 / -1; } }

/* Guide cards: a food photo, the source's real mark (or a topic glyph) and a mini recipe slip. Shared with /blog via public/seo.css. */
.gc { position: relative; display: grid; grid-template-rows: auto 1fr; height: 100%; border-radius: 26px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; isolation: isolate; transition: transform .45s cubic-bezier(.2, 1.4, .4, 1), box-shadow .3s, border-color .3s; }
.gc:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--tint) 55%, var(--line)); box-shadow: 0 28px 50px -30px color-mix(in srgb, var(--tint) 70%, transparent); }
.gc-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #111; }
.gc-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1), filter .4s; filter: saturate(1.05); }
.gc:hover .gc-cover > img { transform: scale(1.08); filter: saturate(1.2); }
.gc-scrim { position: absolute; inset: 0; background: linear-gradient(160deg, color-mix(in srgb, var(--tint) 38%, transparent) 0%, transparent 45%), linear-gradient(transparent 40%, rgba(0, 0, 0, .55)); mix-blend-mode: normal; }
.gc-badge { position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: #fff; background: var(--badge, #111); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .14); transition: transform .5s cubic-bezier(.2, 1.6, .4, 1); }
.gc-badge svg { width: 24px; height: 24px; }
.gc-badge.glyph { background: var(--tint); color: #111; }
.gc:hover .gc-badge { transform: translateY(-3px) rotate(-8deg) scale(1.06); }
.gc-slip { position: absolute; right: 14px; bottom: -14px; width: 46%; padding: 12px 12px 22px; border-radius: 12px 12px 0 0; background: #fffefa; color: #161512; box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .55); transform: translateY(14px) rotate(2deg); transition: transform .55s cubic-bezier(.2, 1.4, .4, 1); }
.gc:hover .gc-slip { transform: translateY(0) rotate(-1deg); }
.gc-slip i { display: flex; align-items: center; gap: 6px; height: 12px; margin-top: 6px; }
.gc-slip i::before { content: ''; flex: none; width: 9px; height: 9px; border-radius: 3px; border: 1.5px solid var(--tint); }
.gc-slip i::after { content: ''; height: 5px; border-radius: 5px; background: rgba(22, 21, 18, .16); width: var(--w, 70%); }
.gc-slip b { display: block; height: 7px; width: 60%; border-radius: 7px; background: #161512; }
.gc-body { display: grid; align-content: start; gap: 10px; padding: 22px 22px 24px; }
.gc-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.gc-title { margin: 0; font-family: var(--display); font-weight: 760; font-size: 23px; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.gc-desc { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.5; }
.gc-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; margin-top: 4px; }
.gc-more svg { transition: transform .3s cubic-bezier(.2, 1.4, .4, 1); }
.gc:hover .gc-more svg { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .gc, .gc *, .gc-cover > img { transition: none !important; } }
