/* Aaron in the Kitchen - static website, light design polish
   Shared styles for the homepage, recipe directory and all recipe pages.
   Change the colors and typography below to adjust the entire site. */
:root {
  --paper: #fffefd;
  --ink: #332f2a;
  --muted: #70685e;
  --brand: #977752;
  --brand-dark: #755b40;
  --tan: #d5b892;
  --line: #dfcfb9;
  --border: #e8e0d5;
  --soft: #f7f4ef;
  --serif: "Gentium Book Plus", "Gentium Basic", Georgia, "Times New Roman", serif;
  --script: "Dancing Script", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", Arial, sans-serif;
  --content-width: 1160px;
  --radius: 8px;
  --shadow-soft: 0 4px 16px #5d44330a;
  --shadow-hover: 0 10px 24px #5d443312;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--serif); font-size: 18px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body, h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { font-weight: 400; line-height: 1.2; text-wrap: balance; }
::selection { background: #eadbc7; color: var(--ink); }
a { color: var(--brand-dark); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--ink); }
a { transition: color .18s ease; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .6; }
button, input, textarea, select { border-radius: 0; }
button { color: inherit; }
a, button, input, textarea, select { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--brand-dark); outline-offset: 5px; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: middle; }
.container { width: min(var(--content-width), calc(100% - 64px)); margin-inline: auto; }
.section { padding: 72px 0; }
.line-title { display: flex; gap: 24px; align-items: center; justify-content: center; color: var(--brand); font: 500 42px/1.25 var(--script); text-align: center; margin: 0 0 46px; }
.line-title::before, .line-title::after { content: ""; flex: 1 1 80px; min-width: 32px; height: 1px; background: linear-gradient(to right, transparent, var(--line) 65%); }
.line-title::after { transform: scaleX(-1); }
.line-title span { flex: 0 1 auto; min-width: 0; max-width: 82%; overflow-wrap: break-word; }
.section-intro { text-align: center; color: var(--muted); margin: -24px auto 36px; max-width: 650px; font-size: 18px; }
.eyebrow { font: 500 10px/1.5 var(--sans); text-transform: uppercase; letter-spacing: 1.8px; color: var(--brand-dark); }
.skip-link { position: fixed; top: 8px; left: 12px; padding: 10px 20px; background: #fff; border: 1px solid var(--brand); z-index: 100; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
/* The original site's centered wordmark, tan headings, and fine section rules. */
.site-header { position: relative; z-index: 20; background: var(--paper); padding: 40px 24px 36px; border-bottom: 1px solid #e8e0d566; }
.brand-row { position: relative; display: flex; justify-content: center; align-items: center; }
.brand { font: 500 56px/1.05 var(--script); color: var(--brand); text-decoration: none; text-align: center; display: inline-block; padding: 0 16px; }
.brand:hover { color: var(--brand-dark); }
.site-nav { margin-top: 26px; }
.nav-list, .nav-dropdown ul { list-style: none; padding: 0; margin: 0; }
.nav-list { display: flex; align-items: center; justify-content: center; gap: 28px; }
.nav-item { position: relative; }
.nav-list > li > a, .nav-category > a { display: inline-block; font: 500 11px/1.5 var(--sans); text-transform: uppercase; letter-spacing: .9px; padding: 10px 0; text-decoration: none; color: var(--ink); white-space: nowrap; }
.nav-list a[aria-current="page"], .nav-list > li > a:hover, .nav-category > a:hover { color: var(--brand-dark); }
.nav-list a[aria-current="page"] { box-shadow: inset 0 -1px var(--brand); }
.nav-category { display: flex; align-items: center; gap: 4px; }
.dropdown-toggle { background: none; border: none; padding: 5px; display: grid; place-items: center; min-width: 28px; min-height: 34px; }
.dropdown-toggle .icon { width: 13px; height: 13px; transition: transform .2s; }
.dropdown-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-search a { padding: 8px; display: grid; place-items: center; color: var(--ink); }
.nav-search .icon { width: 18px; height: 18px; }
.nav-dropdown { position: absolute; left: 50%; top: calc(100% + 4px); transform: translateX(-50%); width: 590px; max-width: calc(100vw - 40px); max-height: min(65vh, 620px); overflow-y: auto; padding: 24px; background: white; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 12px 35px #312a2014; z-index: 25; }
.nav-dropdown ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 22px; }
.nav-dropdown li { margin: 0; }
.nav-dropdown li a { display: block; text-decoration: none; border-radius: 4px; padding: 8px 5px; color: var(--ink); font-size: 16px; line-height: 1.35; }
.nav-dropdown li a:hover { color: var(--brand-dark); background: var(--soft); }
.dropdown-overview { display: flex; justify-content: space-between; font: 500 11px/1.5 var(--sans); text-transform: uppercase; letter-spacing: 1px; padding: 0 5px 15px; margin-bottom: 8px; border-bottom: 1px solid var(--border); text-decoration: none; }
.dropdown-overview span { color: var(--muted); }
#nav-breakfast, #nav-sides { width: 340px; }
#nav-breakfast ul, #nav-sides ul { grid-template-columns: 1fr; }
.mobile-toggle { display: none; }
/* Shared buttons. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--tan); border-radius: 30px; background: var(--tan); color: #30271b; text-decoration: none; padding: 16px 28px; font: 500 11px/1.45 var(--sans); letter-spacing: 1px; text-transform: uppercase; min-height: 48px; box-shadow: 0 2px 5px #5d443307; transition: background .2s, border-color .2s, box-shadow .2s, transform .2s; }
.button:hover { background: #cbb087; border-color: #cbb087; color: #30271b; }
.button .icon { width: 17px; height: 17px; }
.button-outline { background: transparent; border-color: var(--line); box-shadow: none; }
.button-outline:hover { background: var(--soft); border-color: var(--brand); }
.button-small { min-height: 44px; padding: 11px 20px; font-size: 10px; }
.text-button { background: none; border: 0; display: inline-flex; justify-content: center; align-items: center; gap: 6px; padding: 4px 0; color: var(--brand-dark); font: inherit; text-decoration: none; }
.text-button:hover { color: var(--ink); }
.text-button .icon { width: 16px; height: 16px; }
.center-action { display: flex; justify-content: center; margin-top: 40px; }
.standalone-action { margin: 0 0 72px; }
/* Neutral, local placeholders. Replace image sources without changing layout. */
.media-placeholder { position: relative; margin: 0; width: 100%; overflow: hidden; background: #ebe6dc; }
.media-placeholder > img { width: 100%; height: 100%; object-fit: cover; }
.media-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: #8c7c64; background: linear-gradient(120deg,#f0ede580,#e4ddcf80); }
.media-label > .icon { width: 45px; height: 45px; border: 1px solid #b8aa92; border-radius: 50%; padding: 12px; }
.media-label span { font: 500 9px/1.5 var(--sans); text-transform: uppercase; letter-spacing: 2.5px; }
.home-hero { height: clamp(320px, 41.7vw, 600px); border-bottom: 1px solid var(--border); }
.home-hero .media-label > .icon { width: 56px; height: 56px; padding: 17px; }
.home-hero .media-label { background: none; }
.about-content { display: flex; flex-direction: column; align-items: center; }
.profile-photo { width: 310px; height: 310px; border-radius: 50%; margin: 0 auto 28px; object-fit: cover; border: 6px solid var(--paper); box-shadow: 0 0 0 1px var(--border), var(--shadow-soft); }
.script-heading { color: var(--brand); font: 500 38px/1.3 var(--script); margin: 0 0 22px; text-align: center; }
.bio-copy { max-width: 570px; text-align: center; color: var(--muted); line-height: 1.85; }
.bio-copy p { margin: 0 0 20px; }
.bio-copy strong { font-weight: 700; }
.bio-copy .bio-toggle { font-size: 16px; }
.bio-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.browse-section { background: linear-gradient(180deg, var(--paper), var(--soft) 48px, var(--soft) calc(100% - 48px), var(--paper)); }
.category-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
.category-card { display: block; text-decoration: none; text-align: center; color: var(--ink); border-radius: var(--radius); }
.category-image { aspect-ratio: 4/3; position: relative; overflow: hidden; background: #ede8de; border-radius: var(--radius); box-shadow: var(--shadow-soft); transition: box-shadow .2s; }
.category-image img { width: 100%; height: 100%; object-fit: cover; }
.category-image > span, .card-image > span { position: absolute; top: 58%; left: 10px; right: 10px; font: 500 8px/1.4 var(--sans); color: #8a7b65; letter-spacing: 1.8px; text-transform: uppercase; text-align: center; }
.category-card h3 { margin: 20px 0 5px; font: 500 30px/1.25 var(--script); color: var(--brand-dark); }
.category-card p { display: flex; justify-content: center; gap: 10px; align-items: center; font: 500 10px/1.5 var(--sans); letter-spacing: 1px; color: var(--muted); text-transform: uppercase; margin: 0; }
.category-card p .icon { width: 15px; height: 15px; }
.category-card img, .card-image img { transition: transform .3s ease; }
.category-card p .icon, .card-cta .icon { transition: transform .2s ease; }
.social-section { text-align: center; padding-bottom: 46px; }
.youtube-link { display: inline-flex; flex-direction: column; align-items: center; gap: 16px; text-decoration: none; color: var(--muted); font-size: 16px; }
.youtube-mark { background: #e82520; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: white; }
.youtube-mark .icon { width: 23px; height: 23px; fill: currentColor; stroke-width: 0; padding-right: 3px; }
.youtube-link > span:last-child .icon { width: 14px; height: 14px; margin-left: 6px; }
/* Contact forms never pretend to send. See config.js before deployment. */
.contact-wrap { max-width: 720px; margin: 0 auto; text-align: center; }
.contact-subtitle { font: 400 23px/1.4 var(--serif); margin-bottom: 13px; }
.form-note { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0 0 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { text-align: left; margin-bottom: 22px; }
.field label { display: block; font: 500 10px/1.5 var(--sans); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.field input, .field textarea { background: #fff; border: 1px solid var(--border); width: 100%; padding: 13px 15px; color: var(--ink); font-size: 17px; line-height: 1.5; border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 150px; }
.field input::placeholder, .field textarea::placeholder { color: #8a8175; opacity: 1; }
.field input:focus, .field textarea:focus, .search-field input:focus, .sort-field select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px #d5b89226; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.form-status { font-size: 15px; line-height: 1.5; margin: 18px 0 0; }
.form-status.is-error { color: #8b3129; }
/* Recipe directory: actual links, progressive-enhancement search and sorting. */
.catalog-section { padding-top: 40px; }
.category-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 34px; }
.category-tab { display: inline-flex; gap: 10px; align-items: center; min-height: 42px; border: 1px solid var(--border); border-radius: 30px; padding: 9px 16px; text-decoration: none; font: 500 11px/1.5 var(--sans); color: var(--ink); transition: background .2s, border-color .2s, box-shadow .2s; }
.category-tab span { color: var(--muted); font-size: 10px; }
.category-tab.is-active { background: var(--tan); border-color: var(--tan); }
.category-tab.is-active span { color: var(--brand-dark); }
.category-tab:hover { border-color: var(--brand); }
.category-tab:not(.is-active):hover { background: var(--soft); }
.catalog-tools { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 22px 0; border-block: 1px solid var(--border); }
.search-field { position: relative; display: flex; align-items: center; flex: 1; min-width: 0; max-width: 590px; }
.search-field > .icon { position: absolute; left: 16px; width: 19px; height: 19px; color: var(--brand-dark); pointer-events: none; }
.search-field input { width: 100%; min-width: 0; padding: 13px 48px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 16px; line-height: 1.5; background: var(--soft); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.search-field input::-webkit-search-cancel-button { display: none; }
.clear-search { position: absolute; right: 5px; background: transparent; border: none; display: grid; place-items: center; width: 36px; height: 36px; }
.clear-search .icon { width: 16px; height: 16px; }
.sort-field { display: flex; align-items: center; gap: 12px; }
.sort-field label { white-space: nowrap; font: 500 10px/1.5 var(--sans); text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.sort-field select { width: 165px; min-height: 46px; padding: 12px 10px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--paper); font-size: 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.catalog-meta { display: flex; justify-content: space-between; align-items: center; padding: 23px 0; font: 400 11px/1.5 var(--sans); color: var(--muted); }
.catalog-meta p { margin: 0; }
.recipe-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px 28px; }
.recipe-card { min-width: 0; background: var(--paper); }
.card-link { text-decoration: none; color: var(--ink); display: flex; height: 100%; flex-direction: column; border-radius: var(--radius); transition: transform .2s ease; }
.card-image { aspect-ratio: 4/3; position: relative; overflow: hidden; background: #ede8de; border-radius: var(--radius); box-shadow: var(--shadow-soft); transition: box-shadow .2s ease; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-content { display: flex; flex: 1; flex-direction: column; padding: 20px 3px 3px; }
.card-content h3 { font: 400 25px/1.35 var(--serif); letter-spacing: -.2px; text-wrap: pretty; margin: 8px 0 16px; color: var(--ink); overflow-wrap: break-word; }
.card-cta { display: flex; align-items: center; gap: 10px; font: 500 10px/1.5 var(--sans); text-transform: uppercase; letter-spacing: 1px; color: var(--brand-dark); margin-top: auto; }
.card-cta .icon { width: 17px; height: 17px; }
.card-link:hover h3 { color: var(--brand-dark); }
.empty-state { padding: 60px 20px; text-align: center; }
.empty-state > .icon { width: 35px; height: 35px; color: var(--brand); margin-bottom: 22px; }
.empty-state h2 { font-size: 30px; margin-bottom: 18px; }
.empty-state p { color: var(--muted); }
/* Recipe pages retain the original single-column, grouped ingredient/method layout. */
.recipe-intro { padding-top: 10px; }
.breadcrumbs { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 34px; font: 400 10px/1.7 var(--sans); color: var(--muted); }
.breadcrumbs a { text-decoration: none; color: var(--muted); }
.breadcrumbs [aria-current] { color: var(--brand-dark); }
.recipe-title { margin-bottom: 24px; }
.recipe-toolbar { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 36px; }
.recipe-video { aspect-ratio: 16/8.5; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.video-caption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 20px; margin-top: 13px; color: var(--muted); font-size: 13px; }
.video-caption .video-source { font-size: 14px; }
.video-caption > span { font: 400 10px/1.5 var(--sans); }
.recipe-body { width: min(800px, calc(100% - 64px)); margin: 68px auto 48px; }
.recipe-section-title { font-size: 39px; margin: 0 0 16px; scroll-margin-top: 24px; }
#instructions { margin-top: 65px; margin-bottom: 42px; }
.ingredient-help { font-size: 14px; color: var(--muted); text-align: center; margin-bottom: 6px; }
.checklist-tools { display: flex; align-items: center; justify-content: center; gap: 22px; margin-bottom: 32px; font: 400 10px/1.5 var(--sans); color: var(--muted); }
.checklist-tools .text-button { font: 400 10px/1.5 var(--sans); text-decoration: underline; text-underline-offset: 3px; }
.recipe-block { margin: 34px 0; }
.recipe-subheading { font: 500 30px/1.35 var(--script); color: var(--brand); text-align: center; margin: 0 0 20px; overflow-wrap: break-word; }
.recipe-prose { font-size: 17px; line-height: 1.85; }
.recipe-prose p { margin: 0 0 17px; }
.recipe-prose ul, .recipe-prose ol { padding-left: 24px; margin: 0 0 18px; }
.recipe-prose li { margin-bottom: 9px; padding-left: 3px; }
.recipe-prose li::marker { color: var(--brand-dark); }
.recipe-prose strong { font-weight: 700; }
.recipe-prose a { color: var(--brand-dark); text-decoration-color: var(--line); }
.recipe-prose a:hover { text-decoration-color: var(--brand-dark); }
.recipe-prose .ingredient-list { list-style: none; padding: 0; margin: 0; }
.recipe-prose .ingredient-item { display: flex; align-items: flex-start; gap: 13px; margin: 0; padding: 10px 4px; border-bottom: 1px solid #eee8df; border-radius: 3px; transition: background .18s; }
.ingredient-checkbox { flex: 0 0 18px; width: 18px; height: 18px; margin: 6px 0 0; accent-color: var(--brand-dark); cursor: pointer; }
.ingredient-copy { flex: 1; min-width: 0; cursor: pointer; }
.ingredient-item.is-checked { background: var(--soft); }
.ingredient-item.is-checked .ingredient-copy { color: var(--muted); text-decoration: line-through; text-decoration-color: #bdb29f; }
.ingredient-item.is-checked .ingredient-copy a { color: var(--muted); }
.method-block { margin-top: 42px; }
.recipe-source-note { font-size: 13px; color: var(--muted); width: min(800px, calc(100% - 64px)); margin: 0 auto 64px; border-top: 1px solid var(--border); padding-top: 24px; text-align: center; }
.related-section { background: var(--soft); border-top: 1px solid var(--border); }
.related-section .recipe-card { background: transparent; }
/* Secondary pages and footer. */
.site-map-pages { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 30px; margin: 35px 0 50px; }
.site-map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px 70px; }
.site-map-grid h2 { color: var(--brand); font: 500 32px/1.3 var(--script); padding-bottom: 15px; border-bottom: 1px solid var(--border); }
.site-map-grid h2 a { text-decoration: none; color: inherit; }
.site-map-grid h2 span { display: block; font: 400 10px/1.5 var(--sans); margin-top: 8px; color: var(--muted); }
.site-map-grid ul { list-style: none; padding: 0; margin: 0; }
.site-map-grid li { padding: 6px 0; }
.site-map-grid li a { text-decoration: none; color: var(--ink); }
.site-map-grid li a:hover { color: var(--brand-dark); text-decoration: underline; }
.site-footer { background: #f6f3ee; border-top: 1px solid var(--border); padding: 48px 0; }
.footer-inner { text-align: center; }
.footer-brand { display: inline-block; font: 500 30px/1.3 var(--script); color: var(--brand); text-decoration: none; margin-bottom: 20px; }
.footer-inner nav { display: flex; justify-content: center; gap: 14px 28px; flex-wrap: wrap; margin-bottom: 25px; }
.footer-inner nav a { text-decoration: none; font: 500 10px/1.5 var(--sans); text-transform: uppercase; letter-spacing: .8px; color: var(--muted); }
.footer-inner nav a:hover { color: var(--brand-dark); text-decoration: underline; }
.footer-inner p { font: 400 10px/1.7 var(--sans); color: var(--muted); margin: 0; }
.back-to-top { position: fixed; bottom: 22px; right: 22px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fffefdf5; box-shadow: var(--shadow-soft); z-index: 15; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
/* Small pointer-only details; touch layouts stay still. */
@media (hover: hover) and (pointer: fine) {
  .button:not(:disabled):hover { transform: translateY(-1px); box-shadow: var(--shadow-soft); }
  .button:not(:disabled):active { transform: none; }
  .card-link:hover { transform: translateY(-2px); }
  .category-card:hover .category-image, .card-link:hover .card-image { box-shadow: var(--shadow-hover); }
  .category-card:hover img, .card-link:hover img { transform: scale(1.02); }
  .category-card:hover p .icon, .card-link:hover .card-cta .icon { transform: translateX(3px); }
  .ingredient-item:hover { background: var(--soft); }
}
@media (min-width: 960px) {
  .nav-list > li > a, .nav-category > a { position: relative; }
  .nav-list > li > a::after, .nav-category > a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: var(--brand); transform: scaleX(0); transform-origin: center;
    transition: transform .2s ease;
  }
  .nav-list > li > a:hover::after, .nav-category > a:hover::after,
  .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-list a[aria-current="page"] { box-shadow: none; }
}
/* Responsive layouts, including narrow phones. */
@media (min-width: 1536px) {
  :root { --content-width: 1280px; }
}
@media (max-width: 1100px) {
  .nav-list { gap: 18px; }
  .nav-list > li > a, .nav-category > a { font-size: 10px; letter-spacing: .5px; }
  .category-grid { gap: 18px; }
}
@media (max-width: 959px) {
  .container { width: calc(100% - 48px); }
  .site-header { padding: 26px 0; }
  .brand { font-size: 43px; }
  .brand-row { min-height: 88px; }
  .js .mobile-toggle { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 44px; min-height: 44px; background: none; border: 0; padding: 5px; color: var(--brand-dark); }
  .mobile-toggle span { font: 500 8px/1.4 var(--sans); text-transform: uppercase; letter-spacing: 1px; }
  .mobile-toggle .icon { width: 24px; height: 24px; }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav { margin-top: 22px; padding: 8px 24px 0; border-top: 1px solid var(--border); }
  .nav-list { display: block; max-width: 650px; margin: auto; }
  .nav-item { border-bottom: 1px solid var(--border); }
  .nav-list > li > a, .nav-category > a { font-size: 11px; padding: 17px 0; display: block; flex: 1; }
  .nav-category { justify-content: space-between; }
  .dropdown-toggle { width: 48px; min-height: 48px; }
  .dropdown-toggle .icon { width: 18px; height: 18px; }
  .nav-dropdown, #nav-breakfast, #nav-sides { position: static; transform: none; width: 100%; max-width: none; border: 0; box-shadow: none; padding: 12px 14px 20px; margin: 0 0 14px; background: var(--soft); max-height: 52vh; }
  .nav-dropdown ul { column-gap: 20px; }
  .dropdown-overview { padding: 6px 5px 13px; }
  .nav-search a { justify-content: start; padding: 17px 0 7px; }
  .nav-search a::after { content: "Search recipes"; font: 500 11px/1.5 var(--sans); text-transform: uppercase; letter-spacing: .7px; margin-left: 12px; }
  .nav-search a { display: flex; }
  .nav-list a[aria-current="page"] { box-shadow: none; }
  .section { padding: 58px 0; }
  .line-title { font-size: 36px; gap: 18px; }
  .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; }
  .recipe-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .related-grid .recipe-card:last-child { display: none; }
  .catalog-section { padding-top: 36px; }
  .catalog-tools { gap: 18px; }
  .sort-field { gap: 8px; }
  .sort-field select { width: 145px; font-size: 14px; }
  .recipe-title { font-size: 38px; }
  .recipe-body { width: min(760px, calc(100% - 48px)); }
  .recipe-intro { padding-top: 26px; }
}
@media (max-width: 599px) {
  .container { width: calc(100% - 36px); }
  body { font-size: 17px; }
  .site-header { padding: 23px 0; }
  .brand { font-size: 37px; max-width: calc(100% - 118px); padding: 0; }
  .brand-row { min-height: 79px; }
  .js .mobile-toggle { right: 16px; }
  .site-nav { padding-inline: 18px; }
  .nav-dropdown ul { grid-template-columns: 1fr; }
  .home-hero { height: 295px; }
  .section { padding: 46px 0; }
  .line-title { font-size: 31px; gap: 12px; margin-bottom: 30px; }
  .line-title::before, .line-title::after { min-width: 16px; flex-basis: 22px; }
  .line-title span { max-width: 85%; }
  .section-intro { font-size: 16px; margin-top: -12px; margin-bottom: 28px; }
  .profile-photo { width: 230px; height: 230px; margin-bottom: 23px; }
  .script-heading { font-size: 32px; margin-bottom: 18px; }
  .bio-copy { padding-inline: 9px; font-size: 16px; line-height: 1.8; }
  .category-grid { gap: 26px 16px; }
  .category-card h3 { font-size: 26px; margin-top: 16px; }
  .category-card p { font-size: 9px; letter-spacing: .6px; }
  .category-image { aspect-ratio: 1/1; }
  .category-image > span { font-size: 6px; letter-spacing: 1px; top: 61%; }
  .category-image img { object-fit: cover; }
  .center-action { margin-top: 30px; }
  .social-section { padding-bottom: 28px; }
  .youtube-link { font-size: 14px; }
  .button { padding: 14px 24px; font-size: 10px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .field { margin-bottom: 18px; }
  .field input, .field textarea { font-size: 16px; }
  .contact-subtitle { font-size: 21px; }
  .form-note { font-size: 13px; margin-bottom: 24px; }
  .category-tabs { gap: 8px; margin-bottom: 24px; }
  .category-tab { padding: 9px 12px; min-height: 44px; font-size: 10px; gap: 7px; }
  .category-tab span { font-size: 9px; }
  .catalog-tools { flex-wrap: wrap; gap: 15px; padding-block: 18px; }
  .search-field { flex-basis: 100%; }
  .search-field input { padding-block: 11px; }
  .sort-field { width: 100%; justify-content: space-between; }
  .sort-field select { width: 172px; padding: 8px 10px; }
  .catalog-meta { padding-block: 18px; }
  .catalog-meta > span { display: none; }
  .recipe-grid { grid-template-columns: 1fr; gap: 30px; }
  .card-image { aspect-ratio: 4/3; }
  .card-content { padding-top: 18px; }
  .card-content h3 { font-size: 25px; margin-bottom: 15px; }
  .related-grid .recipe-card:last-child { display: block; }
  .recipe-intro { padding-top: 20px; }
  .breadcrumbs { font-size: 9px; line-height: 1.6; margin-bottom: 28px; }
  .breadcrumbs [aria-current] { flex-basis: 100%; text-align: center; }
  .breadcrumbs > span:nth-last-child(2) { display: none; }
  .recipe-title { font-size: 33px; margin-bottom: 24px; }
  .recipe-toolbar { gap: 8px; margin-bottom: 26px; }
  .button-small { padding: 10px; min-height: 44px; font-size: 9px; gap: 5px; letter-spacing: .4px; }
  .button-small .icon { width: 14px; height: 14px; }
  .recipe-video { aspect-ratio: 4/3; }
  .media-label span { font-size: 8px; letter-spacing: 1.5px; }
  .video-caption { justify-content: center; text-align: center; gap: 4px; margin-top: 10px; }
  .video-caption > span { width: 100%; font-size: 9px; }
  .video-caption .video-source { font-size: 12px; }
  .recipe-body { width: calc(100% - 40px); margin-top: 46px; margin-bottom: 30px; }
  .recipe-section-title { font-size: 31px; margin-bottom: 14px; }
  .recipe-subheading { font-size: 28px; margin-bottom: 18px; }
  .recipe-block { margin-block: 30px; }
  .recipe-prose { font-size: 16px; line-height: 1.85; overflow-wrap: break-word; }
  .ingredient-help { font-size: 12px; }
  .checklist-tools { font-size: 9px; margin-bottom: 26px; }
  .checklist-tools .text-button { font-size: 9px; }
  .ingredient-checkbox { margin-top: 5px; }
  .recipe-prose .ingredient-item { gap: 11px; }
  #instructions { margin-top: 44px; margin-bottom: 30px; }
  .recipe-source-note { width: calc(100% - 40px); font-size: 12px; margin-bottom: 46px; padding-top: 22px; }
  .site-map-grid { grid-template-columns: 1fr; gap: 36px; }
  .site-map-grid h2 { font-size: 29px; }
  .site-map-pages { gap: 12px 22px; margin: 24px 0 36px; font-size: 16px; }
  .site-footer { padding-block: 38px; }
  .footer-brand { font-size: 27px; }
  .footer-inner nav { gap: 13px 20px; }
  .footer-inner nav a { font-size: 9px; }
  .footer-inner p { font-size: 9px; }
  .back-to-top { width: 44px; height: 44px; bottom: 15px; right: 15px; }
}
@media (max-width: 360px) {
  .brand { font-size: 32px; }
  .line-title { font-size: 29px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-image { aspect-ratio: 4/3; }
  .category-image > span { font-size: 8px; top: 58%; }
  .recipe-toolbar { gap: 6px; }
  .button-small { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .button:hover, .card-link:hover, .category-card:hover img, .card-link:hover img,
  .category-card:hover p .icon, .card-link:hover .card-cta .icon { transform: none !important; }
}
@media print {
  @page { margin: 16mm; }
  html { scroll-behavior: auto; }
  body { font-family: Georgia, serif; font-size: 11pt; color: #000; line-height: 1.5; background: #fff; }
  .site-header, .site-footer, .skip-link, .back-to-top, .breadcrumbs, .recipe-toolbar, .recipe-video, .video-caption, .related-section, .ingredient-help, .checklist-tools, .ingredient-checkbox, .recipe-source-note { display: none !important; }
  .recipe-intro, .recipe-body { width: 100%; padding: 0; margin: 0; }
  .recipe-title { font: 400 24pt/1.2 Georgia,serif; margin: 0 0 20pt; color: #000; }
  .line-title::before, .line-title::after { display: none; }
  .line-title span { max-width: 100%; }
  .recipe-section-title { display: block; text-align: left; font: 700 16pt/1.3 Georgia,serif; color: #000; margin: 20pt 0 12pt; }
  .recipe-subheading { font: 700 13pt/1.35 Georgia,serif; text-align: left; color: #000; margin-bottom: 8pt; }
  .recipe-block { margin: 15pt 0; }
  .recipe-prose { font: 400 11pt/1.5 Georgia,serif; }
  .recipe-prose .ingredient-item { padding: 4pt 0; border: 0; background: transparent; }
  .recipe-prose a, .ingredient-item.is-checked .ingredient-copy a { color: #000; text-decoration: none; }
  .ingredient-item.is-checked .ingredient-copy { color: #000; text-decoration: none; }
  h1, h2, h3 { break-after: avoid; }
  li, p { orphans: 3; widows: 3; }
  #instructions { margin-top: 22pt; }
}

/* 2026-09: modest readability update, metric/US selector, native recipe video.
   Original white/tan palette, script headings and page structure are retained. */
body { font-size: 19px; }
.recipe-prose { font-size: 20px; line-height: 1.8; }
.recipe-body { width: min(850px, calc(100% - 64px)); }
.recipe-prose li + li { margin-top: .42em; }
.ingredient-help { font-size: 15px; line-height: 1.6; }
.checklist-tools { font-size: 12px; }
.recipe-toolbar .button-small { font-size: 11px; min-height: 40px; }
.breadcrumbs { font-size: 11px; line-height: 1.6; }
.video-caption { font-size: 13px; line-height: 1.65; }
.video-caption > span { font: 400 12px/1.65 var(--sans); }
.checklist-tools .text-button { font-size: 12px; min-height: 32px; }
.measure { font-variant-numeric: tabular-nums; }
.measurement-bar { margin: 22px 0 12px; display: flex; align-items: center; justify-content: center; }
.measurement-control { display: flex; align-items: center; gap: 13px; }
.measurement-label { color: var(--muted); font: 500 11px/1.4 var(--sans); letter-spacing: .07em; text-transform: uppercase; }
.unit-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 100px; background: var(--soft); gap: 3px; }
.unit-switch button { appearance: none; display: flex; gap: 6px; align-items: center; justify-content: center; min-height: 40px; padding: 8px 16px; border: 1px solid transparent; border-radius: 100px; background: transparent; color: var(--muted); cursor: pointer; font: 600 12px/1.35 var(--sans); transition: background .16s ease, color .16s ease, box-shadow .16s ease; }
.unit-switch button span { font-size: 10px; font-weight: 400; }
.unit-switch button[aria-pressed="true"] { color: var(--brand-dark); background: var(--paper); border-color: var(--border); box-shadow: 0 1px 4px #49351f0b; }
.unit-switch button:hover { color: var(--brand-dark); }
.unit-switch button:focus-visible { outline: 2px solid var(--brand-dark); outline-offset: 3px; }
.print-measurement { display: none; }
.quantity-notice { margin: 13px auto 14px; padding: 10px 14px; border-left: 2px solid var(--tan); background: var(--soft); color: var(--muted); font: 15px/1.6 var(--serif); }
.quantity-notice a { color: var(--brand-dark); text-underline-offset: 3px; }
.measurement-notes { margin: 15px 0 29px; border-bottom: 1px solid var(--border); font: 15px/1.65 var(--serif); color: var(--muted); }
.measurement-notes summary { padding: 11px 0; cursor: pointer; width: fit-content; color: var(--brand-dark); font: 500 11px/1.6 var(--sans); letter-spacing: .025em; }
.measurement-notes > div { padding: 0 0 15px; }
.measurement-notes p { margin: .65em 0; }
.measurement-notes h4 { margin: 1.15em 0 .45em; color: var(--ink); font-size: 16px; }
.measurement-notes ul { padding-left: 1.35em; }
.measurement-notes li + li { margin-top: .55em; }
.measurement-notes a { color: var(--brand-dark); text-underline-offset: 3px; }
.recipe-video.video-shell { position: relative; width: 100%; max-width: 960px; margin: 26px auto 0; aspect-ratio: 16 / 9; min-height: 230px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(125deg, #f7f3ed, #ede4d6); box-shadow: 0 5px 20px #5a45280a; scroll-margin-top: 26px; }
.video-cover { position: absolute; inset: 0; display: grid; place-items: center; padding: 25px; text-align: center; }
.video-cover::before, .video-cover::after { content: ""; position: absolute; inset: 20px; border: 1px solid #b59c7338; border-radius: 3px; pointer-events: none; }
.video-cover::after { inset: 26px; border-color: #b59c7319; }
.video-cover-inner { position: relative; z-index: 1; max-width: 80%; }
.video-eyebrow { font: 500 10px/1.5 var(--sans); text-transform: uppercase; letter-spacing: .2em; color: var(--brand-dark); }
.video-cover-title { margin: 16px 0 22px; font: 500 clamp(29px, 3.4vw, 45px)/1.2 var(--script); color: var(--brand-dark); }
.video-play { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 18px; min-height: 45px; border: 1px solid var(--brand-dark); border-radius: 5px; background: var(--brand-dark); color: white; font: 500 11px/1.4 var(--sans); cursor: pointer; transition: background .15s ease; }
.video-play svg { width: 19px; height: 19px; flex-shrink: 0; }
.video-play:hover { background: #60472e; }
.video-original { display: block; width: fit-content; margin: 14px auto 0; font: 500 11px/1.6 var(--sans); color: var(--brand-dark); text-decoration: underline; text-underline-offset: 4px; }
.video-missing { max-width: 350px; margin: 0 auto; font: 16px/1.55 var(--serif); color: var(--muted); }
.video-noscript { position: absolute; inset: auto 20px 0; font-size: 12px; }
.recipe-video-frame { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border: 0; }
.video-caption a { color: var(--brand-dark); text-underline-offset: 3px; }
.video-local-notice { display: block; max-width: 650px; margin: 7px auto 0; font-size: 12px; }
@media (max-width: 959px) {
  .recipe-prose { font-size: 19px; }
  .recipe-body { width: min(810px, calc(100% - 48px)); }
}
@media (max-width: 599px) {
  body { font-size: 18px; }
  .recipe-prose { font-size: 18px; line-height: 1.8; }
  .recipe-body { width: calc(100% - 40px); }
  .ingredient-help { font-size: 14px; }
  .checklist-tools { font-size: 11px; gap: 14px; }
  .breadcrumbs { font-size: 10px; }
  .recipe-toolbar { gap: 8px; }
  .recipe-toolbar .button-small { font-size: 10px; padding: 9px 12px; min-height: 40px; }
  .measurement-control { flex-wrap: wrap; justify-content: center; gap: 9px; }
  .measurement-label { font-size: 10px; }
  .unit-switch button { min-height: 40px; padding: 8px 12px; }
  .unit-switch button span { font-size: 9px; }
  .quantity-notice, .measurement-notes { font-size: 14px; }
  .recipe-video.video-shell { min-height: 240px; }
  .video-cover { padding: 20px; }
  .video-cover::before { inset: 11px; }
  .video-cover::after { inset: 16px; }
  .video-cover-inner { max-width: 100%; }
  .video-cover-title { margin: 10px 0 16px; font-size: 29px; }
  .video-eyebrow { font-size: 9px; }
  .video-play { font-size: 10px; padding: 10px 14px; }
  .video-missing { font-size: 15px; }
  .video-original { font-size: 10px; margin-top: 12px; }
}
@media print {
  body, .recipe-prose { font-size: 11pt !important; line-height: 1.45 !important; }
  .recipe-body { width: 100% !important; }
  .measurement-control, .measurement-notes, .video-shell, .video-caption { display: none !important; }
  .measurement-bar { margin: 8pt 0; justify-content: flex-start; }
  .print-measurement { display: block; font: 600 10pt/1.4 var(--sans); }
  .quantity-notice { border-left: 1pt solid #888; font-size: 9pt; padding: 5pt 8pt; margin: 8pt 0; }
  .quantity-notice a::after { content: " (see online measurement notes)"; }
}
