/* Forever Nomday: "their structure, your highlighter" */

/* Self-hosted fonts (SIL Open Font License): Jost, Source Serif 4, Caveat. Downloaded from Google Fonts Nov 16, 2026. */
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("../fonts/caveat-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("../fonts/caveat-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/jost-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/jost-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/sourceserif4-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/sourceserif4-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/sourceserif4-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/sourceserif4-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #1e1d1a;
  --muted: #6f6b63;
  --rule: #d9d5cc;
  --paper: #fdfcf8;
  --strip: #f1efe9;
  --hl: 255, 220, 40;            /* notebook highlighter yellow */
  --pencil: #2f4f8f;              /* review notes (preview builds only) */
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --hand: "Caveat", "Bradley Hand", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--serif); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: 500 14px/1 var(--sans); cursor: pointer; }

/* The highlighter: a slightly uneven marker stroke behind the text. */
.hl, .box, .ing .hl-target { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl, .box {
  background-image: linear-gradient(100deg,
    rgba(var(--hl), 0) .6%, rgba(var(--hl), .9) 2.2%, rgba(var(--hl), .7) 48%,
    rgba(var(--hl), .85) 96%, rgba(var(--hl), 0) 99.4%);
  background-repeat: no-repeat; background-size: 100% 62%; background-position: 0 78%;
  padding: 0 .18em;
}

/* ---------- header ---------- */
.site { display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  max-width: 1240px; margin: 0 auto; padding: 22px 24px 18px; }
.wordmark { font: 700 26px/1 var(--sans); letter-spacing: -.01em; }
.site nav { display: flex; align-items: center; gap: 22px; font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.site nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: rgba(var(--hl), 1); }
.search-link { display: inline-flex; }

main { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- labeled dividers ("INGREDIENTS" in a box on a rule) ---------- */
.divider { display: flex; align-items: center; margin: 64px 0 26px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 2px; background: var(--ink); }
.divider::before { flex: 0 0 28px; }
.divider .box { border: 2px solid var(--ink); padding: 9px 16px 8px; font: 600 15px/1.1 var(--sans);
  letter-spacing: .14em; text-transform: uppercase; background-color: var(--paper); }
.divider.center::before { flex: 1; }
.divider .box.plain { background-image: none; font-size: 12px; padding: 7px 14px 6px; }

/* =================== HOMEPAGE =================== */
.home section { margin-bottom: 8px; }
.mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; height: min(78vh, 720px); min-height: 520px; }
.mosaic .feature { grid-row: 1 / 3; }
.feature, .tile { position: relative; overflow: hidden; background: var(--strip); }
.feature img, .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.feature:hover img, .tile:hover img { transform: scale(1.025); }
.feature-card { position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%); width: min(520px, 84%);
  background: var(--paper); padding: 22px 28px 20px; text-align: center; }
.kicker { margin: 0 0 6px; font: 600 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.feature-card h2 { margin: 0 0 8px; font: 700 clamp(32px, 4vw, 48px)/1.02 var(--sans); letter-spacing: .02em; }
.feature-card .teaser { margin: 0; font: 400 17px/1.5 var(--serif); color: #3a3833; }
.tile-label { position: absolute; left: 0; top: 18px; max-width: 86%; background: var(--paper); padding: 10px 16px 11px 18px; }
.tile-label b { display: block; font: 700 19px/1.2 var(--sans); }
.kicker-sm { display: block; margin-bottom: 4px; font: 600 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; }

.finder { text-align: center; max-width: 860px; margin: 64px auto 16px; }
.finder-title { margin: 0 0 18px; font: 700 clamp(28px, 3.4vw, 38px)/1.1 var(--sans); letter-spacing: .01em; }
.search { display: flex; max-width: 640px; margin: 0 auto 18px; border: 2px solid var(--ink); background: #fff; }
.search input { flex: 1; min-width: 0; border: 0; padding: 14px 16px; font: 400 17px/1.2 var(--serif); background: transparent; color: var(--ink); }
.search input:focus { outline: none; }
.search:focus-within { box-shadow: 0 0 0 4px rgba(var(--hl), .7); }
.search button { border: 0; background: var(--ink); color: var(--paper); padding: 0 22px; font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips a { display: inline-block; border: 1.5px solid var(--ink); padding: 8px 14px 7px; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.chips a:hover { background: rgba(var(--hl), .85); }

.grid.four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 22px; }
.card .photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--strip); margin-bottom: 12px; }
.card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .photo img { transform: scale(1.04); }
.card h3 { margin: 0 0 6px; font: 700 20px/1.2 var(--sans); }
.card:hover h3 { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: rgba(var(--hl), 1); text-underline-offset: 3px; }
.card .blurb { margin: 0; font: 400 16px/1.5 var(--serif); color: var(--muted); }
.meta { margin: 0 0 4px; font: 600 11.5px/1.3 var(--sans); color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }
.scribble { position: absolute; right: 10px; bottom: 10px; transform: rotate(-3deg);
  background: rgba(var(--hl), .95); padding: 2px 10px 3px; font: 700 21px/1.1 var(--hand); color: var(--ink);
  box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.more { text-align: center; margin: 34px 0 0; }
.more-link { display: inline-block; font: 600 14px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  border-bottom: 3px solid rgba(var(--hl), 1); padding-bottom: 4px; }

.travel-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 28px; align-items: stretch; }
.feature.small { min-height: 460px; }
.feature.small .feature-card { width: min(440px, 86%); bottom: 7%; }
.travel-side { display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.card.row { display: grid; grid-template-columns: 200px 1fr; gap: 18px; align-items: start; }
.card.row .photo { margin: 0; }

.about { max-width: 720px; margin: 72px auto 0; }
.notebook { position: relative; padding: 34px 40px 26px 74px; background-color: #fffef9;
  background-image:
    linear-gradient(90deg, transparent 52px, rgba(214, 90, 90, .45) 52px, rgba(214, 90, 90, .45) 54px, transparent 54px),
    repeating-linear-gradient(transparent 0 33px, rgba(47, 79, 143, .16) 33px 34px);
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 8px 24px rgba(0,0,0,.06); transform: rotate(-.6deg); }
.notebook p { margin: 0 0 12px; line-height: 34px; font-size: 18px; }
.notebook .hello { font: 700 40px/34px var(--hand); margin-bottom: 14px; }

/* =================== RECIPES + POSTS =================== */
.page-recipe, .page-post { font-size: 19px; line-height: 1.65; }
.article .divider { margin: 56px 0 10px; }
.article .divider .box { font-size: 14px; padding: 8px 14px 7px; }
.article .divider.center { margin: 40px 0 0; }
.article .divider.posted { margin: 0 auto 40px; max-width: 820px; }

.topbar { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 10px 24px; background: rgba(253, 252, 248, .96); backdrop-filter: blur(6px);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  font: 500 13px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.crumbs a { color: var(--muted); }
.crumbs .sep { color: var(--rule); margin: 0 8px; }
.quick { margin: 0; display: flex; gap: 10px; align-items: center; white-space: nowrap; }
.quick .dot { color: var(--muted); }
.jump { font-weight: 600; border-bottom: 2px solid rgba(var(--hl), 1); }

.title-block { text-align: center; max-width: 820px; margin: 56px auto 36px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 18px; }
.tags a { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; border: 1.5px solid var(--ink); padding: 6px 10px 5px; }
.tags a:hover { background: rgba(var(--hl), .85); }
h1 { font: 700 clamp(40px, 6.4vw, 80px)/1.02 var(--sans); letter-spacing: .03em; margin: 0 0 18px; }
.title-block .teaser { font: 400 22px/1.5 var(--sans); color: #3a3833; margin: 0 auto 14px; max-width: 640px; }

.hero { margin: 0 calc(50% - 50vw) 48px; }
.hero img { width: 100%; max-height: 82vh; object-fit: cover; }

.cols { display: grid; grid-template-columns: minmax(0, 680px) 260px; gap: 72px; justify-content: center; }
.story > p { margin: 0 0 1.2em; }
.page-recipe .story > p:first-child::first-letter { font: 700 3.4em/0.8 var(--sans); float: left; margin: .06em .08em 0 0; }
.story a { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: rgba(var(--hl), 1); text-underline-offset: 3px; }
.story a:hover { background: rgba(var(--hl), .5); }
.story h2 { font: 700 30px/1.15 var(--sans); margin: 1.6em 0 .5em; }
.story h3 { font: 600 23px/1.25 var(--sans); margin: 1.5em 0 .4em; }
.story h2:first-child { margin-top: 0; }
.story ul, .story ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.story li { margin: 0 0 .5em; }
.story li::marker { color: rgba(var(--hl), 1); font-weight: 700; }
.story blockquote { margin: 0 0 1.4em; padding: 14px 20px; background: var(--strip); border-left: 4px solid rgba(var(--hl), 1); font-size: 17px; }
.story blockquote p { margin: 0; }
.story figure { margin: 28px 0 32px; }
.story figcaption { position: relative; background: var(--strip); padding: 12px 18px; font: 400 15px/1.45 var(--sans); color: var(--muted); }
.story figcaption::before { content: ""; position: absolute; left: 22px; top: -8px; border: 8px solid transparent; border-top: 0; border-bottom-color: var(--strip); }

.sidebar { border-top: 3px solid var(--ink); padding-top: 14px; align-self: start; position: sticky; top: 70px; }
.side-title { font: 600 13px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
.related { list-style: none; padding: 0; margin: 0; }
.related li { border-bottom: 1px solid var(--rule); }
.related a { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; padding: 12px 0; }
.related img { width: 84px; height: 84px; object-fit: cover; }
.r-title { display: block; font: 600 17px/1.25 var(--sans); }
.r-meta { font: 500 12px/1 var(--sans); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.related a:hover .r-title { background: rgba(var(--hl), .7); }

/* ---------- recipe card ---------- */
.recipe-card { max-width: 860px; margin: 56px auto 0; }
.card-rule { border: 0; border-top: 2px solid var(--ink); margin: 0; }
.card-title { text-align: center; padding: 34px 0 6px; }
.card-title h2 { font: 700 34px/1.05 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.card-meta { font: 500 13px/1.6 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0; }
.card-meta .sep { margin: 0 8px; color: var(--rule); }
.yield-pick { color: var(--ink); font-weight: 600; }
.yield-pick select { font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
  border: 0; border-bottom: 2px solid rgba(var(--hl), 1); background: transparent; padding: 2px 2px 1px; margin-left: 4px; cursor: pointer; }

.ing-panel { background: var(--strip); padding: 22px 28px 16px; border-bottom: 2px solid var(--ink); margin-top: -1px; }
.panel-tools { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; font: 400 14px/1.3 var(--sans); color: var(--muted); }
.units button { background: none; border: 0; padding: 0 2px; font: 500 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.units button[aria-pressed="true"] { color: var(--ink); font-weight: 700; background: rgba(var(--hl), .8); }
.units .slash, .cook-tools .slash { color: var(--rule); margin: 0 4px; }
.panel-foot { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding-top: 8px; }
.text-btn { background: none; border: 0; padding: 4px 0; font: 600 14px/1.2 var(--sans); color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: rgba(var(--hl), 1); text-underline-offset: 4px; }
.text-btn[aria-pressed="true"] { background: rgba(var(--hl), .8); text-decoration: none; padding: 4px 6px; }
.text-btn:disabled { color: var(--muted); cursor: default; }
.shortcut-line { font: 400 15px/1.3 var(--sans); color: var(--muted); margin: 12px 0 0; }
.shortcut-line input { accent-color: var(--ink); }
.cook-tools { text-align: center; margin: 12px 0 8px; }

.stage { margin-top: 34px; }
.stage-title { font: 600 20px/1.3 var(--sans); margin: 0 0 12px; }
.stage-num { font: 700 30px/1 var(--hand); margin-right: 4px; }
.uses { font-style: italic; color: var(--muted); margin: 0 0 8px; }
.stage-ings { columns: 2; margin-bottom: 18px; }
.stage-ings .ing { padding: 4px 0; border-bottom: 0; }
.stage-ings .ing label { font-size: 16px; }

/* Ingredients: tick one and the highlighter sweeps across it. */
.ings { list-style: none; padding: 0; margin: 0 0 22px; columns: 2; column-gap: 40px; }
.ing { break-inside: avoid; padding: 7px 0; border-bottom: 1px dashed var(--rule); }
.ing label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; cursor: pointer; font: 400 17px/1.4 var(--sans); }
.ing input { accent-color: var(--ink); transform: translateY(2px); }
.ing .qty { font-weight: 600; }
.ing .hl-target {
  background-image: linear-gradient(100deg, rgba(var(--hl), 0) .6%, rgba(var(--hl), .9) 2.5%, rgba(var(--hl), .7) 50%, rgba(var(--hl), .85) 96%, rgba(var(--hl), 0) 99.4%);
  background-repeat: no-repeat; background-size: 0% 62%; background-position: 0 78%;
  transition: background-size .35s ease-out; padding: 0 .15em;
}
.ing.checked .hl-target { background-size: 100% 62%; }
.ing .note { flex-basis: 100%; padding-left: 26px; font: 400 14px/1.3 var(--serif); font-style: italic; color: var(--muted); }

.steps { margin: 0 0 8px; }
.step { display: grid; grid-template-columns: 34px 1fr; gap: 0 10px; margin: 0 0 16px; }
.step p { margin: 0; }
.step-n { font: 700 26px/1.1 var(--hand); color: var(--ink); }
.step .flag { grid-column: 2; }
.amt { font-weight: 600; white-space: nowrap; }
.step-photo { margin: 22px 0 26px; }
.step-photo.portrait img { max-width: 440px; margin: 0 auto; }
.step-photo figcaption { position: relative; background: var(--strip); padding: 12px 18px; font: 400 15px/1.45 var(--sans); color: var(--muted); }
.step-photo figcaption::before { content: ""; position: absolute; left: 22px; top: -8px; border: 8px solid transparent; border-top: 0; border-bottom-color: var(--strip); }
.toast { font: 500 14px/1.3 var(--sans); color: var(--muted); }
.copy-fallback { width: 100%; margin-top: 12px; font: 400 15px/1.5 var(--sans); padding: 10px; border: 1.5px solid var(--ink); }

/* ---------- comments + ratings ---------- */
.comments { max-width: 860px; margin: 40px auto 0; }
.rating-summary { display: flex; gap: 14px; align-items: center; font: 400 15px/1.4 var(--sans); color: var(--muted); }
.rating-summary p { margin: 0; }
.stars.empty { color: var(--rule); font-size: 22px; letter-spacing: 2px; }
.comment-list { list-style: none; padding: 0; margin: 20px 0; }
.comment { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.comment p { margin: 0 0 .4em; font-size: 17px; }
.comment .c-head { font: 400 15px/1.2 var(--sans); margin-bottom: 8px; }
.c-head b { font-weight: 600; font-size: 16px; margin-right: 8px; }
.comment .c-date { text-align: right; font: 400 13px/1 var(--sans); color: var(--muted); margin-top: 8px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 80px 24px 40px; }
.notfound h1 { font-size: clamp(36px, 5vw, 56px); }
.notfound a { text-decoration: underline; text-decoration-color: rgba(var(--hl), 1); text-decoration-thickness: 3px; }

/* ---------- footer ---------- */
.site-foot { margin-top: 80px; border-top: 3px solid var(--ink); padding: 34px 24px 28px; }
.foot-cols { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-cols a { display: block; font: 400 16px/1.9 var(--serif); }
.foot-cols a:hover { text-decoration: underline; text-decoration-color: rgba(var(--hl), 1); text-decoration-thickness: 3px; }
.foot-title { margin: 0 0 8px; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.foot-fine { text-align: center; margin: 30px 0 0; font: 500 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- review notes (preview builds only) ---------- */
.flag { display: block; margin: 14px 0 4px; padding: 6px 12px; border-left: 3px dashed var(--pencil); text-align: left;
  background: #eef2fa; color: var(--pencil); font: 500 19px/1.25 var(--hand); }
.flag b { font-weight: 700; margin-right: 6px; }
.ing .flag { margin-left: 26px; }
.hero + .flag, .hero ~ .flag { max-width: 820px; margin-left: auto; margin-right: auto; }
.hide-flags .flag { display: none; }
.notes-toggle { position: fixed; right: 16px; bottom: 16px; z-index: 20; background: var(--pencil); color: #fff;
  border: 0; padding: 10px 14px; border-radius: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.2); }

/* ---------- tablets ---------- */
@media (max-width: 1000px) {
  .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .travel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .page-recipe, .page-post { font-size: 18px; }
  .crumbs a, .crumbs .sep { display: none; }
  .topbar { font-size: 12px; padding: 9px 14px; }
  .cols { grid-template-columns: 1fr; gap: 32px; }
  .sidebar { position: static; }
  .ings, .stage-ings { columns: 1; }
  .ing-panel { padding: 18px 16px 14px; }
  .card-title h2 { font-size: 26px; }
}

/* ---------- phones ---------- */
@media (max-width: 680px) {
  body { font-size: 17px; }
  .site { flex-direction: column; align-items: center; gap: 12px; padding-bottom: 14px; }
  .site nav { gap: 14px; font-size: 12px; flex-wrap: wrap; justify-content: center; }
  main { padding: 0 14px; }

  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; min-height: 0; gap: 4px; margin: 0 -14px; }
  .mosaic .feature { grid-row: auto; grid-column: 1 / 3; height: auto; aspect-ratio: 4 / 5; max-height: 620px; width: 100%; }
  .tile { aspect-ratio: 1 / 1; }
  .tile-label { top: auto; bottom: 0; max-width: 100%; right: 0; padding: 8px 10px; }
  .tile-label b { font-size: 15px; }
  .feature-card { width: 90%; bottom: 5%; padding: 16px 18px; }
  .feature-card .teaser { font-size: 16px; }

  .finder { margin-top: 44px; }
  .search button { padding: 0 14px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; margin: 0 -14px; padding-left: 14px; padding-right: 14px; }
  .chips li { flex: 0 0 auto; }

  .divider { margin: 48px 0 20px; }
  .divider::before { flex-basis: 12px; }
  .divider::after { min-width: 12px; }
  .divider .box, .article .divider .box { font-size: 13px; letter-spacing: .1em; }

  .grid.four { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .card h3 { font-size: 17px; }
  .card .blurb { display: none; }
  .scribble { font-size: 17px; right: 6px; bottom: 6px; padding: 1px 7px 2px; }
  .feature.small { min-height: 380px; margin: 0 -14px; }
  .card.row { grid-template-columns: 120px 1fr; gap: 12px; }
  .card.row .blurb { display: block; font-size: 15px; }

  .notebook { padding: 26px 20px 18px 50px; background-image:
    linear-gradient(90deg, transparent 34px, rgba(214, 90, 90, .45) 34px, rgba(214, 90, 90, .45) 36px, transparent 36px),
    repeating-linear-gradient(transparent 0 33px, rgba(47, 79, 143, .16) 33px 34px); }
  .notebook .hello { font-size: 34px; }

  .topbar { gap: 8px; }
  .quick { white-space: normal; flex-wrap: wrap; justify-content: flex-end; gap: 4px 8px; min-width: 0; }
  .title-block { margin: 36px auto 28px; }
  .title-block .teaser { font-size: 19px; }
  .story h2 { font-size: 25px; }
  .story h3 { font-size: 20px; }

  .foot-cols { grid-template-columns: 1fr 1fr; }
  .notes-toggle { font-size: 13px; padding: 8px 12px; }
}

/* ---------- print: just the recipe ---------- */
@media print {
  body { background: #fff; font-size: 12pt; }
  .site, .topbar, .title-block, .divider.posted, .hero, .cols, .comments, .site-foot, .notes-toggle, .flag,
  .step-photo, .panel-tools, .panel-foot, .shortcut-line, .cook-tools, .copy-fallback { display: none !important; }
  .recipe-card { margin: 0; }
  .ing-panel { background: none; }
  .yield-pick select { border: 0; -webkit-appearance: none; appearance: none; }
  .divider { margin: 14pt 0 6pt; }
  .ings { columns: 2; }
  .ing input { display: none; }
  .ing .note { padding-left: 0; }
  .ing .hl-target { background: none !important; }
  .stage { break-inside: avoid-page; }
}
.replies { list-style: none; margin: 14px 0 0; padding: 0 0 0 26px; border-left: 3px solid rgba(var(--hl), .8); }
.replies .comment { border-bottom: 0; padding: 10px 0; }
.c-badge { font: 600 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; background: rgba(var(--hl), .9); padding: 3px 6px 2px; margin-right: 8px; }
.good-to-know { background: #fffbe6; border: 2px solid rgba(var(--hl), 1); padding: 16px 22px 8px; margin: 28px 0 0; }
.good-to-know h3 { font: 600 13px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 8px; }
.good-to-know ul { margin: 0 0 8px; padding-left: 1.1em; font-size: 17px; }
.good-to-know li { margin: 0 0 6px; }
.good-to-know a { text-decoration: underline; text-decoration-color: rgba(var(--hl), 1); text-decoration-thickness: 2px; }

/* ---------- star average + comment form ---------- */
.rating-summary .stars { font-size: 22px; letter-spacing: 2px; margin: 0; color: transparent;
  background: linear-gradient(90deg, #e2a224 var(--pct, 0%), var(--rule) var(--pct, 0%)); -webkit-background-clip: text; background-clip: text; }
.rating-summary .stars.empty { color: var(--rule); background: none; }
.comment .c-rating { color: #e2a224; letter-spacing: 1px; font-size: 15px; margin-bottom: 6px; }
#bar-rating a { color: inherit; text-decoration: none; }
.c-form { margin: 36px 0 0; padding: 24px 0 0; border-top: 3px solid var(--ink); font-family: var(--sans); }
.c-form-title { font: 600 22px/1.2 var(--sans); margin: 0 0 18px; }
.c-field { display: block; font: 500 15px/1.3 var(--sans); margin: 0 0 16px; }
.c-field textarea, .c-field input { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 10px 12px;
  font: 400 17px/1.5 var(--serif); color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: 4px; }
.c-field textarea:focus, .c-field input:focus { outline: 2px solid rgba(var(--hl), 1); outline-offset: 1px; border-color: var(--ink); }
.c-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.c-stars { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.c-stars legend { font: 500 15px/1.3 var(--sans); margin-bottom: 4px; float: left; width: 100%; }
.c-stars legend .opt, .c-fine { color: var(--muted); font-weight: 400; }
.c-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.c-stars label { font-size: 30px; line-height: 1; color: var(--rule); cursor: pointer; padding: 0 3px; }
.c-stars label:hover, .c-stars label:hover ~ label, .c-stars input:checked ~ label { color: #e2a224; }
.c-stars input:focus-visible + label { outline: 2px solid rgba(var(--hl), 1); border-radius: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.c-fine { font-size: 14px; margin: 4px 0 14px; }
.c-turnstile { margin: 0 0 8px; }
.c-submit { background: var(--ink); color: #fff; border: 0; padding: 12px 22px; border-radius: 4px; font-size: 15px; }
.c-submit:disabled { opacity: .5; cursor: default; }
.c-status { font: 400 15px/1.4 var(--sans); margin: 12px 0 0; min-height: 1.4em; }
@media print { .c-form { display: none; } }
