:root {
  --ink: #111510;
  --ink-soft: #1a211a;
  --cream: #f4f0e7;
  --paper: #fbf8f1;
  --sage: #647663;
  --sage-dark: #3f5542;
  --copper: #b96c3d;
  --gold: #c8a66a;
  --muted: #737b72;
  --line: rgba(17, 21, 16, .16);
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; max-width: 100%; overflow-x: clip; scroll-behavior: smooth; overscroll-behavior-y: none; background: #090c09; }
body { display: flex; flex-direction: column; width: 100%; max-width: 100%; min-height: 100svh; margin: 0; overflow-x: clip; color: var(--ink); background: #090c09; font-family: var(--sans); font-size: 16px; line-height: 1.65; }
body > main { flex: 1 0 auto; width: 100%; background: var(--cream); }
body > footer { flex: 0 0 auto; width: 100%; }
.detail-page > main { background: var(--ink); }
img, svg { display: block; max-width: 100%; height: auto; }
main, header, footer, section, article, nav, div { min-width: 0; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 99; background: white; padding: .7rem 1rem; border-radius: .4rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: absolute; z-index: 10; top: 0; left: 0; width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.35rem clamp(1.2rem, 4vw, 4.5rem); color: white; border-bottom: 1px solid rgba(255,255,255,.18); }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; line-height: 1.1; }
.brand-mark { display: grid; place-items: center; width: 2.35rem; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; font-family: var(--display); font-weight: 600; }
.brand strong { display: block; font-family: var(--display); font-size: 1.05rem; }
.brand small { display: block; margin-top: .22rem; color: rgba(255,255,255,.65); font-size: .67rem; text-transform: uppercase; letter-spacing: .12em; }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.3rem); }
nav a { color: rgba(255,255,255,.8); text-decoration: none; font-size: .9rem; }
nav a:hover, nav a:focus-visible { color: white; }
nav .instagram { padding: .5rem .8rem; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: white; background: #0b0f0b; overflow: hidden; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 54%; transform: scale(1.01); }
.hero-shade { background: linear-gradient(90deg, rgba(8,11,8,.94) 0%, rgba(8,11,8,.68) 44%, rgba(8,11,8,.16) 78%), linear-gradient(0deg, rgba(8,11,8,.8), transparent 42%); }
.hero-content { position: relative; z-index: 1; width: min(760px, 88vw); padding: 9rem clamp(1.2rem, 7vw, 7.5rem) 9rem; }
.eyebrow { margin: 0 0 1rem; color: var(--gold); font-size: .73rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow.dark { color: var(--copper); }
.eyebrow.light { color: #d8bc85; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -.025em; }
h1 { margin: 0; font-size: clamp(3rem, 8vw, 7.5rem); font-weight: 600; }
h1 em { color: #d8bc85; font-weight: 500; }
.hero-copy { max-width: 610px; margin: 1.5rem 0 2rem; color: rgba(255,255,255,.78); font-size: clamp(1rem, 1.5vw, 1.15rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.2rem; padding: .85rem 1.25rem; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .88rem; cursor: pointer; }
.button.primary { border: 0; background: var(--copper); color: white; }
.button.ghost { border: 1px solid rgba(255,255,255,.35); color: white; backdrop-filter: blur(12px); }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.hero-meta { position: absolute; z-index: 2; right: clamp(1.2rem, 4vw, 4.5rem); bottom: 2rem; display: flex; gap: 2rem; }
.hero-meta div { padding-left: 1rem; border-left: 1px solid rgba(255,255,255,.35); }
.hero-meta span, .hero-meta strong { display: block; }
.hero-meta span { color: rgba(255,255,255,.6); font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; }
.hero-meta strong { font-family: var(--display); font-size: 1rem; }

.manifesto { padding: clamp(5rem, 9vw, 9rem) clamp(1.2rem, 8vw, 9rem); border-top: 1px solid var(--line); }
.manifesto-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 8vw, 8rem); align-items: start; }
.manifesto h2, .section-head h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 5rem); }
.manifesto p { margin-top: .35rem; color: #495049; font-size: 1.1rem; }
.manifesto .signature { margin-top: 2rem; color: var(--copper); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

.recipe-index { padding: clamp(4rem, 7vw, 6.5rem) clamp(1.2rem, 8vw, 9rem) clamp(5rem, 8vw, 7rem); }
.section-head { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.section-head p:last-child { max-width: 420px; color: var(--muted); }
.recipe-search { margin: 0 0 clamp(3.5rem, 7vw, 6rem); padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); box-shadow: 0 16px 50px rgba(17,21,16,.08); }
.recipe-search label { display: block; margin-bottom: .7rem; font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; }
.search-field { display: flex; align-items: center; gap: .65rem; width: 100%; min-height: 3.65rem; padding: .35rem .45rem .35rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: white; }
.search-field > span { color: var(--copper); font-size: 1.55rem; line-height: 1; }
.search-field input { flex: 1; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; }
.search-field button { border: 0; border-radius: 999px; padding: .65rem .9rem; color: white; background: var(--ink); cursor: pointer; }
.recipe-search > p { margin: .55rem 0 0 1rem; color: var(--muted); font-size: .85rem; }
.carousel-shell { position: relative; }
.recipe-carousel { display: flex; gap: 1.25rem; overflow-x: auto; padding: .25rem .15rem 1.25rem; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--copper) transparent; }
.recipe-card { flex: 0 0 calc(50% - .625rem); display: grid; grid-template-columns: 138px 1fr; min-height: 205px; padding: 0; color: white; background: var(--ink); text-align: left; text-decoration: none; border: 0; overflow: hidden; border-radius: 1rem; cursor: pointer; scroll-snap-align: start; }
.recipe-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.recipe-card:hover img { transform: scale(1.025); }
.recipe-card:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; }
.carousel-control { position: absolute; z-index: 3; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: white; background: rgba(9,12,9,.82); box-shadow: 0 8px 24px rgba(0,0,0,.24); cursor: pointer; }
.carousel-control.previous { left: -1.5rem; }
.carousel-control.next { right: -1.5rem; }
.carousel-control:hover, .carousel-control:focus-visible { background: var(--copper); }
.no-results { padding: 2rem; border: 1px dashed var(--line); border-radius: 1rem; color: var(--muted); text-align: center; }
.card-content { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 1.35rem 1.5rem; }
.card-content h3 { margin: 0 0 .45rem; overflow-wrap: anywhere; font-size: clamp(1.55rem, 2.4vw, 2.35rem); }
.card-content p { margin: .25rem 0 0; color: rgba(255,255,255,.68); font-size: .9rem; line-height: 1.45; }
.card-link { margin-top: .75rem; color: white; font-size: .88rem; font-weight: 700; }

.recipe { background: var(--ink); color: white; }
.detail-page .hero, .detail-page .manifesto, .detail-page .recipe-index { display: none; }
.detail-page .site-header { position: relative; background: #090c09; }
.detail-page .recipe[hidden] { display: none !important; }
.detail-page .recipe:not([hidden]) { display: block; }
.recipe-close-row { display: flex; justify-content: flex-end; padding: 1.25rem clamp(1.2rem, 8vw, 9rem) 0; }
.close-recipe { border: 1px solid rgba(255,255,255,.24); border-radius: 999px; padding: .65rem 1rem; color: white; background: transparent; text-decoration: none; cursor: pointer; }
.close-recipe span { margin-left: .35rem; font-size: 1.2rem; line-height: 0; }
.close-recipe:hover, .close-recipe:focus-visible { background: rgba(255,255,255,.08); }
.recipe-header { display: grid; grid-template-columns: 1fr 270px; gap: 4rem; padding: clamp(5rem, 9vw, 8rem) clamp(1.2rem, 8vw, 9rem) 4rem; align-items: end; }
.recipe-header h1 { margin: 0 0 1rem; font-size: clamp(3.5rem, 7vw, 7rem); }
.recipe-udon .recipe-header h1 { font-size: clamp(2.8rem, 5.8vw, 6rem); }
.recipe-header p:not(.eyebrow) { max-width: 780px; color: rgba(255,255,255,.65); font-size: 1.05rem; }
.recipe-facts { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; margin-top: 2rem; }
.recipe-facts div { padding-left: .8rem; border-left: 1px solid rgba(255,255,255,.2); }
.recipe-facts span, .recipe-facts strong { display: block; }
.recipe-facts span { color: rgba(255,255,255,.45); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.recipe-facts strong { margin-top: .1rem; font-size: .9rem; }
.chef-tip { margin: 0 clamp(1.2rem, 8vw, 9rem) 3rem; padding: 1.25rem 1.5rem; border-left: 3px solid var(--gold); background: rgba(216,188,133,.08); }
.chef-tip strong { color: #d8bc85; font-family: var(--display); font-size: 1.15rem; }
.chef-tip p { margin: .35rem 0 0; max-width: 900px; color: rgba(255,255,255,.72); }
.temperature-card { padding: 1.5rem; border: 1px solid rgba(255,255,255,.18); border-radius: .75rem; background: rgba(255,255,255,.04); }
.temperature-card span, .temperature-card small { display: block; color: rgba(255,255,255,.55); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.temperature-card strong { display: block; margin: .2rem 0; color: #d8bc85; font-family: var(--display); font-size: 2.2rem; }
.temperature-card .small-temp { font-size: 1.5rem; }
.temperature-card hr { border: 0; border-top: 1px solid rgba(255,255,255,.15); margin: 1rem 0; }
.recipe-jumps { display: flex; flex-wrap: wrap; gap: .65rem; padding: 0 clamp(1.2rem, 8vw, 9rem) 2rem; }
.recipe-jumps a { padding: .55rem .9rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: rgba(255,255,255,.78); font-size: .85rem; text-decoration: none; }
.recipe-jumps a:hover, .recipe-jumps a:focus-visible { color: var(--ink); background: #d8bc85; border-color: #d8bc85; }
.recipe-toolbar { position: sticky; top: 0; z-index: 8; display: flex; align-items: center; justify-content: space-between; padding: .9rem clamp(1.2rem, 8vw, 9rem); background: rgba(17,21,16,.92); border-block: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(14px); }
.servings { display: flex; align-items: center; gap: .45rem; }
.servings > span { margin-right: .5rem; color: rgba(255,255,255,.58); font-size: .8rem; }
.serving, .print-button, .copy-list, .pdf-download { border: 1px solid rgba(255,255,255,.22); color: white; background: transparent; cursor: pointer; }
.serving { width: 2.2rem; height: 2.2rem; border-radius: 50%; }
.serving.active { color: var(--ink); background: #d8bc85; border-color: #d8bc85; }
.toolbar-actions { display: flex; gap: .55rem; }
.print-button, .copy-list, .pdf-download { padding: .55rem .85rem; border-radius: 999px; text-decoration: none; }
.pdf-download:hover, .pdf-download:focus-visible { color: var(--ink); background: #d8bc85; border-color: #d8bc85; }
.copy-list.copied { color: var(--ink); background: #d8bc85; border-color: #d8bc85; }
.recipe-layout { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: clamp(3rem, 8vw, 9rem); padding: 5rem clamp(1.2rem, 8vw, 9rem) 7rem; }
.recipe-layout h3 { margin: 0 0 2rem; font-size: 2.4rem; }
.ingredients h3, .method h3, .plating h3 { scroll-margin-top: 7rem; }
.ingredient-group { padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.16); }
.ingredient-group h4 { margin: 0 0 1rem; color: #d8bc85; font-family: var(--display); font-size: 1.2rem; }
.ingredient-group label { display: flex; gap: .7rem; align-items: flex-start; margin: .72rem 0; color: rgba(255,255,255,.75); cursor: pointer; }
.ingredient-group input { width: 1.05rem; height: 1.05rem; margin-top: .25rem; accent-color: var(--copper); }
.ingredient-group label:has(input:checked) span { color: rgba(255,255,255,.35); text-decoration: line-through; }
.ingredient-group b { color: white; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1.1rem; padding: 0 0 2rem; margin-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.step-number { color: #d8bc85; font-family: var(--display); font-size: 1.4rem; }
.steps h4 { margin: 0 0 .5rem; font-family: var(--display); font-size: 1.45rem; }
.steps p { margin: 0; color: rgba(255,255,255,.66); }
.plating { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); color: var(--ink); }
.plating > div { padding: clamp(4rem, 8vw, 8rem); }
.plating h3 { margin: 0 0 1.5rem; font-size: clamp(2.3rem, 5vw, 4.8rem); }
.plating ol { padding-left: 1.2rem; }
.plating li { margin: 1rem 0; padding-left: .5rem; }
.plating img { width: 100%; height: 100%; min-height: 600px; object-fit: cover; }

footer { display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 2rem; padding: 3rem clamp(1.2rem, 8vw, 9rem); background: #090c09; color: white; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { font-family: var(--display); font-size: 1.35rem; }
.footer-brand span, footer p, footer a { color: rgba(255,255,255,.55); font-size: .8rem; text-decoration: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: .65rem 1.25rem; }
.footer-links a:hover, .footer-links a:focus-visible { color: white; text-decoration: underline; text-underline-offset: .25rem; }

.legal-page { min-height: 100svh; overflow-x: hidden; background: #090c09; }
.legal-page .site-header { position: relative; background: #090c09; }
.legal-main { flex: 1 0 auto; width: 100%; margin: 0; padding: clamp(4rem, 8vw, 7rem) max(1.2rem, calc(50% - 450px)) clamp(2.75rem, 5vw, 4rem); background: var(--paper); }
.legal-main > header { margin-bottom: 3.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.legal-main h1 { color: var(--ink); font-size: clamp(3.2rem, 8vw, 6.5rem); }
.legal-main h2 { margin: 2.7rem 0 .8rem; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.legal-main h3 { margin: 1.8rem 0 .45rem; font-size: 1.2rem; }
.legal-main p, .legal-main li { color: #414941; }
.legal-main address { color: #414941; font-style: normal; }
.legal-main a { color: var(--sage-dark); text-decoration-thickness: .08em; text-underline-offset: .18em; }
.legal-main .legal-note { padding: 1.25rem 1.4rem; border-left: 3px solid var(--copper); background: #f0eadf; }
.legal-main .updated { margin-top: .6rem; color: var(--muted); font-size: .85rem; }

@media (max-width: 760px) {
  .site-header { align-items: center; padding: .9rem 1rem; }
  .brand { gap: .55rem; }
  .brand-mark { width: 2.15rem; }
  .brand strong { font-size: 1rem; }
  .brand small { display: none; }
  nav a:not(.instagram) { display: none; }
  nav .instagram { padding: .42rem .72rem; font-size: .82rem; }
  .hero { min-height: 100svh; }
  .hero-shade { background: linear-gradient(0deg, rgba(8,11,8,.96) 0%, rgba(8,11,8,.68) 52%, rgba(8,11,8,.1) 100%); }
  .hero-image { object-position: 55% center; }
  .hero-content { align-self: stretch; display: flex; flex-direction: column; justify-content: center; width: 100%; padding: 5.6rem 1.2rem 5.8rem; }
  .hero-content .eyebrow { margin-bottom: .5rem; font-size: .66rem; }
  .hero-content h1 { font-size: clamp(1.95rem, 9.6vw, 2.55rem); line-height: 1; }
  .hero-content h1 br { display: none; }
  .hero-title-main, .hero-content h1 em { display: block; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  .hero-copy { margin: .8rem 0 1rem; font-size: .94rem; line-height: 1.45; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .hero-actions .button { min-height: 2.85rem; padding: .65rem .65rem; font-size: .79rem; white-space: nowrap; }
  .hero-meta { bottom: .8rem; left: 1.2rem; right: 1.2rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
  .hero-meta div { padding-left: .6rem; }
  .hero-meta span { font-size: .55rem; letter-spacing: .07em; }
  .hero-meta strong { font-size: clamp(.72rem, 3.3vw, .9rem); white-space: normal; overflow-wrap: anywhere; }
  .manifesto-grid, .recipe-header, .recipe-layout, .plating { grid-template-columns: 1fr; }
  .manifesto-grid { gap: 2rem; }
  .section-head { display: block; }
  .recipe-carousel { width: 100%; max-width: 100%; overscroll-behavior-inline: contain; }
  .recipe-card { flex: 0 0 min(90%, 34rem); max-width: 100%; grid-template-columns: minmax(82px, 100px) minmax(0, 1fr); min-height: 185px; }
  .recipe-card img { height: 100%; }
  .carousel-control { display: none; }
  .card-content { padding: 1.1rem; }
  .card-content h3 { font-size: clamp(1.35rem, 6.5vw, 1.8rem); }
  .recipe-search { margin-bottom: 1.25rem; }
  .search-field { border-radius: .8rem; }
  .recipe-header { gap: 2rem; }
  .temperature-card { width: 100%; }
  .recipe-toolbar { flex-wrap: wrap; gap: .65rem; padding: .8rem 1rem; }
  .toolbar-actions { width: 100%; flex-wrap: wrap; gap: .35rem; }
  .print-button, .copy-list, .pdf-download { flex: 1 1 auto; padding-inline: .55rem; font-size: .72rem; text-align: center; }
  .servings > span { display: none; }
  .recipe-jumps { padding-bottom: 1.25rem; }
  .recipe-layout { padding-top: 3rem; }
  .ingredients { order: 1; }
  .method { order: 2; }
  .plating img { min-height: 460px; }
  footer { grid-template-columns: 1fr; align-items: start; }
  .footer-links { gap: .8rem 1.2rem; }
  .legal-main { padding-top: 2.75rem; padding-bottom: 2rem; }
  .legal-main > header { margin-bottom: 2.25rem; padding-bottom: 1.5rem; }
  .legal-main h2 { margin-top: 2.1rem; }
  .recipe-header h1, .recipe-layout, .steps p, .ingredient-group span, .legal-main { overflow-wrap: anywhere; }
  .legal-page footer { padding-top: 2.25rem; padding-bottom: max(2.25rem, calc(1.25rem + env(safe-area-inset-bottom))); }
}

@media print {
  .site-header, .hero, .manifesto, .recipe-index, .recipe-toolbar, .recipe-jumps, footer { display: none !important; }
  body { display: block; min-height: 0; }
  body, body > main, .recipe { background: white; color: black; }
  .recipe-header, .recipe-layout { padding: 1.5rem; }
  .recipe-header { grid-template-columns: 1fr 220px; }
  .recipe-header p:not(.eyebrow), .steps p, .ingredient-group label { color: #333; }
  .ingredient-group { border-color: #bbb; }
  .plating { display: none; }
  .temperature-card { border-color: #888; }
}
