/* Luyiz: one motif, the fluted edge of a tart tin, in six flavor colours. */

:root {
  --ground: #ffffff;
  --surface: #f7f2ef;
  --ink: #1c1410;
  --soft-ink: #4a3d36;
  --raspberry: #ff3d7f;
  --lemon: #ffd23f;
  --pistachio: #9ad94b;
  --blueberry: #5b86ff;
  --tangerine: #ff8a3d;
  --mint: #2fd3a4;
  --tone: var(--raspberry);
  --scallop: url("../img/scallop.svg");
  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --step-head: clamp(2rem, 1.3rem + 3vw, 3.75rem);
  --step-display: clamp(3.25rem, 1.6rem + 6.6vw, 8rem);
  --gutter: clamp(16px, 3vw, 40px);
  --gap: clamp(20px, 2.4vw, 36px);
  --section: clamp(88px, 9vw, 168px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

.tone-raspberry { --tone: var(--raspberry); }
.tone-lemon { --tone: var(--lemon); }
.tone-pistachio { --tone: var(--pistachio); }
.tone-blueberry { --tone: var(--blueberry); }
.tone-tangerine { --tone: var(--tangerine); }
.tone-mint { --tone: var(--mint); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 var(--step-body)/1.55 "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0 0 1em; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--lemon); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lead { font-size: var(--step-lead); line-height: 1.4; max-width: 34ch; }

/* The motif: every photograph sits in the fluted shape. */
.scallop {
  display: block;
  -webkit-mask: var(--scallop) center / 100% 100% no-repeat;
  mask: var(--scallop) center / 100% 100% no-repeat;
  aspect-ratio: 1;
  overflow: hidden;
}
.scallop img { width: 100%; height: 100%; object-fit: cover; }

/* Skip link: off-screen until focused, then it sits in the page flow above the header instead of over it. */
.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus, .skip-link:focus-visible {
  position: static;
  display: block;
  width: auto;
  height: auto;
  padding: 12px var(--gutter);
  background: var(--ink);
  color: var(--ground);
  font-weight: 500;
  text-decoration: none;
  outline: none;
}
main:focus { outline: none; }

/* Header */
.flavor-bar { display: flex; height: 10px; }
.flavor-bar i { flex: 1; }
.flavor-bar i:nth-child(1) { background: var(--raspberry); }
.flavor-bar i:nth-child(2) { background: var(--tangerine); }
.flavor-bar i:nth-child(3) { background: var(--lemon); }
.flavor-bar i:nth-child(4) { background: var(--pistachio); }
.flavor-bar i:nth-child(5) { background: var(--mint); }
.flavor-bar i:nth-child(6) { background: var(--blueberry); }

.masthead { background: var(--ground); position: relative; z-index: 20; }
.masthead-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
}
.wordmark-dot {
  width: 30px;
  height: 30px;
  background: var(--raspberry);
  -webkit-mask: var(--scallop) center / 100% 100% no-repeat;
  mask: var(--scallop) center / 100% 100% no-repeat;
  transition: transform .6s var(--ease);
}
.wordmark:hover .wordmark-dot { transform: rotate(60deg); }
.site-menu ul { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.menu-link {
  display: block;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.menu-link:hover, .menu-link:focus-visible { background: var(--tone); }
.menu-link:active { transform: scale(.96); }
.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--ground);
  font-weight: 500;
  cursor: pointer;
}
.menu-toggle-dot { width: 14px; height: 14px; background: var(--lemon); -webkit-mask: var(--scallop) center / 100% 100% no-repeat; mask: var(--scallop) center / 100% 100% no-repeat; transition: transform .4s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-toggle-dot { transform: rotate(90deg) scale(1.2); }

/* Buttons and chips */
.btn, .hero-action a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--ground);
  font-weight: 500;
  font-size: var(--step-body);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover, .hero-action a:hover { transform: translateY(-2px); background: var(--ground); color: var(--ink); }
.btn:active, .hero-action a:active { transform: scale(.97); }
.btn-small { min-height: 44px; padding: 10px 22px; }
.btn-ink { background: var(--ink); color: var(--ground); }
.btn-ink:hover { background: var(--ground); color: var(--ink); }

.flavor-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--tone);
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.chip:hover { transform: translateY(-3px) rotate(-2deg); }
.chip:active { transform: scale(.95); }
.hero .chip { background: var(--ground); }
.hero .chip:hover { background: var(--ink); color: var(--ground); }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; font-size: var(--step-small); font-weight: 500; }
.crumb { text-decoration: none; padding: 4px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); }
.crumb:hover { background-size: 100% 2px; }

/* Hero: a big flat field, the motif enormous and cropped by the edge of the screen */
.hero { position: relative; overflow: hidden; background: var(--tone); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--gap); align-items: center; min-height: min(86svh, 860px); padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(48px, 6vw, 96px); }
.hero h1 { font-size: var(--step-display); line-height: .9; letter-spacing: -0.035em; text-transform: uppercase; margin-bottom: 32px; max-width: 9ch; }
.hero .lead { margin-bottom: 32px; }
.hero-action { margin-bottom: 36px; }
.hero-plate { position: relative; margin: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.hero-plate > a { position: relative; display: block; text-decoration: none; }
.hero-disc {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 136%;
  aspect-ratio: 1;
  translate: -38% -50%;
  background: var(--ground);
  -webkit-mask: var(--scallop) center / 100% 100% no-repeat;
  mask: var(--scallop) center / 100% 100% no-repeat;
  animation: turn 90s linear infinite;
}
.hero-photo { position: relative; z-index: 1; width: min(100%, 560px); margin: 0 auto; transition: transform .8s var(--ease); }
.hero-plate > a:hover .hero-photo { transform: rotate(10deg) scale(1.02); }
.hero-plate figcaption { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 20px; text-align: center; }
.hero-cat { font-size: var(--step-small); font-weight: 500; }
.hero-title { font-size: var(--step-lead); font-weight: 700; line-height: 1.15; max-width: 24ch; }
@keyframes turn { to { rotate: 360deg; } }

/* Card shelves */
.shelf, .archive { padding-top: var(--section); }
.shelf-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.shelf-head h1, .shelf-head h2 { font-size: var(--step-head); }
.shelf-head p { margin: 0; max-width: 46ch; justify-self: end; font-size: var(--step-body); }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) var(--gap); }
.card > a { display: flex; flex-direction: column; gap: 16px; text-decoration: none; }
.card-plate { display: block; padding: 9%; background: var(--tone); transition: background-color .3s var(--ease); }
.card-plate .scallop { transition: transform .7s var(--ease); }
.card > a:hover .card-plate .scallop { transform: rotate(14deg) scale(1.04); }
.card > a:active .card-plate .scallop { transform: rotate(14deg) scale(.98); }
.card-text { display: flex; flex-direction: column; gap: 6px; }
.card-cat { font-size: var(--step-small); font-weight: 500; color: var(--soft-ink); }
.card-title { font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.card > a:hover .card-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Statement with thumbnails inside the sentence */
.statement { margin-top: var(--section); padding: clamp(96px, 12vw, 200px) 0; background: var(--tone); }
.statement-line { max-width: 30ch; margin: 0 auto; font-size: clamp(1.5rem, 1rem + 1.9vw, 2.25rem); font-weight: 500; line-height: 1.3; text-align: center; letter-spacing: -0.01em; }
.thumb { display: inline-block; width: 1.4em; height: 1.4em; vertical-align: -0.38em; margin: 0 .08em; }

/* Section menus: two columns, photo bullets */
.menu-board { padding-top: var(--section); }
.menu-board-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.menu-board-head h2 { font-size: var(--step-head); }
.menu-more { flex: none; padding: 10px 20px; border-radius: 999px; background: var(--tone); font-weight: 500; text-decoration: none; transition: transform .25s var(--ease); }
.menu-more:hover { transform: translateX(4px); }
.menu-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 64px; margin: 0; padding: 0; list-style: none; }
.menu-item a { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; align-items: start; text-decoration: none; }
.menu-item .bullet { width: 88px; padding: 7px; background: var(--tone); transition: transform .6s var(--ease); }
.menu-item .bullet img { -webkit-mask: var(--scallop) center / 100% 100% no-repeat; mask: var(--scallop) center / 100% 100% no-repeat; }
.menu-item a:hover .bullet { transform: rotate(-20deg); }
.menu-item-text { display: flex; flex-direction: column; gap: 6px; }
.menu-item-name { font-size: 1.1875rem; font-weight: 700; line-height: 1.25; }
.menu-item a:hover .menu-item-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.menu-item-note { font-size: 1rem; line-height: 1.5; color: var(--soft-ink); max-width: 46ch; }

/* One frame, the bakes change inside it */
.reel { margin-top: var(--section); background: var(--tone); }
.reel-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: center; padding-top: clamp(80px, 9vw, 160px); padding-bottom: clamp(80px, 9vw, 160px); }
.reel h2 { font-size: var(--step-head); margin-bottom: 24px; max-width: 14ch; }
.reel-stage { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.reel-frame { position: relative; width: min(100%, 520px); padding: 0; border: 0; background: var(--ground); cursor: pointer; }
.reel-frame img { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.reel-frame img.is-on { opacity: 1; }
.reel-caption { margin: 0; font-size: var(--step-lead); font-weight: 700; text-align: center; }
.reel-caption a { text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Pager */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: clamp(56px, 6vw, 88px); }
.pager-num, .pager-step, .pager-gap { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; min-height: 52px; padding: 0 18px; border-radius: 999px; font-weight: 500; text-decoration: none; }
.pager-num, .pager-step { background: var(--surface); transition: background-color .25s var(--ease), transform .25s var(--ease); }
.pager-num:hover, .pager-step:hover { background: var(--lemon); transform: translateY(-2px); }
.pager-num.is-current { background: var(--ink); color: var(--ground); }

/* Recipe page */
.recipe-head, .section-head { position: relative; overflow: hidden; background: var(--tone); }
.recipe-head-grid, .section-head-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--gap); align-items: center; padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(56px, 6vw, 104px); }
.recipe-head h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); line-height: 1; letter-spacing: -0.03em; margin-bottom: 24px; max-width: 22ch; }
.section-head h1 { font-size: var(--step-display); line-height: .9; letter-spacing: -0.035em; text-transform: uppercase; margin-bottom: 24px; }
.section-count { font-weight: 700; margin: 0; }
.recipe-head-plate, .section-plate { position: relative; }
.facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; }
.facts div { padding: 10px 18px; border-radius: 999px; background: var(--ground); }
.facts dt { display: inline; font-size: var(--step-small); font-weight: 500; }
.facts dt::after { content: " "; }
.facts dd { display: inline; margin: 0; font-weight: 700; }

.recipe-body { display: flex; flex-direction: column; align-items: center; padding-top: clamp(56px, 6vw, 96px); }
.prose { width: 100%; max-width: 740px; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose li { font-size: var(--step-body); line-height: 1.65; }
.prose h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); margin-top: 2em; }
.prose h3 { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); margin-top: 1.6em; }
.prose h4 { font-size: 1.25rem; margin-top: 1.4em; }
.prose figure { margin: 2em 0; }
.prose img { width: 100%; }
.prose figcaption { margin-top: 10px; font-size: var(--step-small); color: var(--soft-ink); }
.prose ul { padding: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 32px; }
.prose ul li + li { margin-top: .6em; }
.prose ul li::before, .ingredients li::before, .contact-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 16px;
  height: 16px;
  background: var(--raspberry);
  -webkit-mask: var(--scallop) center / 100% 100% no-repeat;
  mask: var(--scallop) center / 100% 100% no-repeat;
}
.prose ol { padding-left: 1.4em; }
.prose ol li + li { margin-top: .6em; }
.prose blockquote { margin: 1.6em 0; padding: 24px 28px; background: var(--surface); font-size: var(--step-lead); }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid #e3d9d3; text-align: left; }
.prose a { text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--raspberry); font-weight: 500; }
.prose a:hover { background: var(--lemon); }

.recipe-card { width: 100%; max-width: 1080px; margin-top: clamp(64px, 7vw, 112px); padding: clamp(28px, 4vw, 64px); background: var(--tone); scroll-margin-top: 24px; }
.recipe-card-top { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; margin-bottom: 32px; }
.recipe-card-photo { width: 180px; }
.recipe-card h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); margin-bottom: 14px; }
.recipe-card .facts { margin-bottom: 36px; }
.recipe-card-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(24px, 3vw, 48px); }
.ingredients, .method { padding: clamp(24px, 3vw, 40px); background: var(--ground); }
.recipe-card h3 { font-size: 1.75rem; margin-bottom: 20px; }
.recipe-card h4 { font-size: 1.125rem; margin: 24px 0 12px; }
.ingredients ul, .notes { margin: 0; padding: 0; list-style: none; }
.ingredients li { position: relative; padding-left: 28px; line-height: 1.5; }
.ingredients li::before { background: var(--tone); }
.ingredients li + li { margin-top: 12px; }
.method ol { margin: 0 0 32px; padding: 0; list-style: none; counter-reset: step; }
.method ol li { position: relative; padding-left: 56px; line-height: 1.6; counter-increment: step; }
.method ol li + li { margin-top: 20px; }
.method ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--tone);
  font-weight: 700;
  -webkit-mask: var(--scallop) center / 100% 100% no-repeat;
  mask: var(--scallop) center / 100% 100% no-repeat;
}
.notes li { padding: 14px 18px; background: var(--surface); line-height: 1.55; }
.notes li + li { margin-top: 10px; }
.shelf-after { padding-bottom: 0; }

/* Category page */
.section-head .lead { margin-bottom: 20px; }
.other-sections { padding-top: var(--section); }
.other-sections h2 { font-size: var(--step-head); margin-bottom: 32px; }

/* Plain pages */
.plain-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--gap); padding-top: clamp(48px, 6vw, 104px); }
.plain-head { position: relative; }
.plain-head h1 { font-size: var(--step-head); margin-bottom: 24px; }
.plain-head::after { content: ""; display: block; width: min(70%, 260px); aspect-ratio: 1; margin-top: 40px; background: var(--lemon); -webkit-mask: var(--scallop) center / 100% 100% no-repeat; mask: var(--scallop) center / 100% 100% no-repeat; animation: turn 80s linear infinite; }
.plain-page .prose { max-width: 720px; }
.plain-page .prose > h2:first-child { margin-top: 0; }

/* Contact */
.contact { background: var(--tone); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--gap); align-items: start; padding-top: clamp(40px, 5vw, 88px); padding-bottom: clamp(64px, 7vw, 120px); }
.contact h1 { font-size: clamp(2.5rem, 1.4rem + 4.4vw, 5.5rem); line-height: .92; letter-spacing: -0.035em; text-transform: uppercase; margin-bottom: 28px; max-width: 11ch; }
.contact-points { margin: 32px 0 0; padding: 0; list-style: none; }
.contact-points li { position: relative; padding-left: 30px; font-weight: 500; }
.contact-points li + li { margin-top: 12px; }
.contact-points li::before { background: var(--ground); }
.contact-card { padding: clamp(24px, 3.4vw, 48px); background: var(--ground); }
.field { margin: 0 0 22px; padding: 0; border: 0; }
.field label, .field legend { display: block; margin-bottom: 8px; font-weight: 500; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--ground);
  font-size: 1.0625rem;
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; background: #fff9e6; box-shadow: 6px 6px 0 var(--lemon); }
.field.has-error input, .field.has-error textarea { border-color: #c4003c; }
.field-error { margin: 8px 0 0; color: #b0003a; font-weight: 500; font-size: var(--step-small); }
.topics { display: flex; flex-wrap: wrap; gap: 10px; }
.topics legend { width: 100%; }
.topic { position: relative; margin: 0 !important; }
.topic input { position: absolute; opacity: 0; }
.topic span { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--surface); font-weight: 500; cursor: pointer; transition: background-color .2s var(--ease), transform .2s var(--ease); }
.topic span:hover { transform: translateY(-2px); }
.topic input:checked + span { background: var(--ink); color: var(--ground); }
.topic input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.field-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-bottom: 24px; padding: 18px 22px; }
.form-note h2 { font-size: 1.5rem; margin-bottom: 8px; }
.form-note p { margin: 0; }
.form-note.is-ok { background: var(--pistachio); }
.form-note.is-bad { background: #ffd6e2; }

/* 404 */
.lost { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: center; padding-top: clamp(56px, 7vw, 120px); }
.lost h1 { font-size: var(--step-head); margin-bottom: 24px; max-width: 14ch; }
.lost-disc { display: grid; place-items: center; width: min(100%, 460px); aspect-ratio: 1; justify-self: center; background: var(--tone); -webkit-mask: var(--scallop) center / 100% 100% no-repeat; mask: var(--scallop) center / 100% 100% no-repeat; animation: turn 60s linear infinite; }
.lost-disc span { font-size: var(--step-display); font-weight: 700; letter-spacing: -0.04em; }

/* Footer: the name, built from flavor blocks */
.colophon { margin-top: var(--section); padding: clamp(48px, 5vw, 80px) 0 32px; background: var(--ink); color: var(--ground); }
.block-mark { display: flex; align-items: flex-end; gap: 6px; height: clamp(150px, 30svh, 300px); }
.block-mark span {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: .02em;
  background: var(--tone);
  color: var(--ink);
  font-size: clamp(4rem, 13vw, 13rem);
  font-weight: 700;
  line-height: .8;
  letter-spacing: -0.05em;
  transition: transform .5s var(--ease);
}
.block-mark span:nth-child(1) { height: 78%; }
.block-mark span:nth-child(2) { height: 100%; }
.block-mark span:nth-child(3) { height: 66%; }
.block-mark span:nth-child(4) { height: 88%; }
.block-mark span:nth-child(5) { height: 72%; }
.block-mark:hover span:nth-child(odd) { transform: translateY(-8px); }
.colophon-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: 56px; }
.colophon-note { grid-column: span 2; }
.colophon-head { font-size: 1.25rem; margin-bottom: 16px; color: var(--lemon); letter-spacing: 0; }
.colophon ul { margin: 0; padding: 0; list-style: none; }
.colophon li + li { margin-top: 8px; }
.foot-link { text-decoration: none; transition: color .2s var(--ease); }
.foot-link:hover { color: var(--lemon); text-decoration: underline; text-underline-offset: 4px; }
.colophon-note p { max-width: 44ch; }
.colophon .btn { background: var(--lemon); color: var(--ink); }
.colophon .btn:hover { background: var(--ground); }
.colophon-last { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 56px; font-size: var(--step-small); }
.colophon-last p { margin: 0; }
.to-top { padding: 10px 20px; border-radius: 999px; background: var(--raspberry); color: var(--ink); font-weight: 500; text-decoration: none; transition: transform .25s var(--ease); }
.to-top:hover { transform: translateY(-3px); }

/* Entrances: content is visible without script; with script it rises in once. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Tablet */
@media (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .colophon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recipe-card-cols { grid-template-columns: minmax(0, 1fr); }
}

/* Phone and small tablet */
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .site-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 12px var(--gutter) 24px; background: var(--ground); box-shadow: 0 18px 30px rgba(28, 20, 16, .14); }
  .site-menu.is-open { display: block; }
  .site-menu ul { flex-direction: column; gap: 4px; }
  .menu-link { padding: 14px 18px; background: var(--surface); }
  .masthead-row { min-height: 72px; }
  .hero-grid, .recipe-head-grid, .section-head-grid, .reel-grid, .contact-grid, .plain-page, .lost { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { min-height: 0; }
  .hero-plate { order: -1; padding: 20px 0 0; }
  .hero-disc { width: 84%; top: calc(50% - 40px); translate: -50% -50%; }
  .hero-photo { width: 56%; }
  .hero-plate figcaption { margin-top: 36px; }
  .hero-title { font-size: 1.125rem; }
  .hero h1 { margin-bottom: 20px; }
  .hero-grid { padding-top: 8px; gap: 8px; }
  .hero h1 { max-width: none; }
  .recipe-head-plate, .section-plate { order: -1; width: 100%; padding: 12px 0 20px; }
  .recipe-head-plate .hero-disc, .section-plate .hero-disc { width: 82%; translate: -50% -50%; }
  .recipe-head-plate .hero-photo, .section-plate .hero-photo { width: 58%; }
  .shelf-head { grid-template-columns: minmax(0, 1fr); }
  .shelf-head p { justify-self: start; }
  .menu-list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .menu-item a { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
  .menu-item .bullet { width: 64px; padding: 5px; }
  .menu-board-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .statement-line { text-align: left; }
  .reel-frame { width: 78vw; }
  .plain-head::after { display: none; }
  .recipe-card-top { grid-template-columns: 96px minmax(0, 1fr); }
  .recipe-card-photo { width: 96px; }
  .colophon-note { grid-column: span 2; }
}

@media (max-width: 460px) {
  .card-grid { gap: 28px 14px; }
  .card-title { font-size: 1rem; }
  .card-cat { font-size: .8125rem; }
  .block-mark { height: 22svh; gap: 4px; }
  .colophon-last { flex-direction: column; align-items: flex-start; }
  .facts div { padding: 8px 14px; }
  .method ol li { padding-left: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .flavor-bar, .masthead, .colophon, .shelf, .recipe-head-plate, .btn, .crumbs, .skip-link { display: none !important; }
  .recipe-head, .recipe-card { background: none !important; }
  body.print-card .prose { display: none; }
  .ingredients, .method { padding: 0; }
}
