/* Micah Cooks: rebuilt from the Claude Design handoff (design/micahcooks-design). */
:root {
  --bg: #0E0D0C; --panel: #16120E; --hair: #2A2420; --line: #3A2E22;
  --tan: #E2B27A; --muted: #9C8A72; --text: #F3EEE6; --body: #CFC4B4; --step: #E6DDCF;
  --orange: #E8622C; --lime: #B6F23A; --wood: #C99160;
  --ink: #1A0A03; --ink2: #4A2410;
  --scorch: 0 0 1px #120601, 0 0 3px rgba(45,16,3,.9), 0 0 7px rgba(110,48,12,.5), 0 0 14px rgba(130,62,20,.28);
  --scorch-sm: 0 0 1px #120601, 0 0 3px rgba(45,16,3,.8);
  --plank-shadow: inset 0 2px 0 rgba(255,255,255,.28), inset 0 -4px 0 rgba(60,30,10,.35), 0 5px 0 #050404, 0 8px 14px rgba(0,0,0,.5);
  --plank-shadow-sm: inset 0 2px 0 rgba(255,255,255,.28), inset 0 -3px 0 rgba(60,30,10,.35), 0 4px 0 #050404, 0 6px 12px rgba(0,0,0,.5);
  --gutter: 48px;
}
* { box-sizing: border-box; }
html { background: var(--bg); scrollbar-width: thin; scrollbar-color: #B8804F #16110C; }
body { margin: 0; font-family: Barlow, system-ui, sans-serif; background: var(--bg); color: var(--text); -webkit-text-size-adjust: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { max-width: 100%; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.page { max-width: 1280px; margin: 0 auto; }
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- planks ---------- */
.plank { position: relative; overflow: hidden; border-radius: 3px; background: var(--wood); box-shadow: var(--plank-shadow); border: 0; padding: 0; }
.plank.sm { box-shadow: var(--plank-shadow-sm); }
.plank > .wood { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.plank > .shade { position: absolute; inset: 0; background: transparent; pointer-events: none; }
.plank > .bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: transparent; pointer-events: none; }
.plank .screw { position: absolute; pointer-events: none; }
.burn { position: relative; font-family: Rye, serif; font-weight: 400; color: var(--ink); mix-blend-mode: multiply; opacity: .97; text-shadow: var(--scorch); }
.burn.soft { text-shadow: var(--scorch-sm); }
.burn2 { position: relative; font-family: Rye, serif; color: var(--ink2); mix-blend-mode: multiply; opacity: .9; }
button.plank { cursor: pointer; }
.toggle { display: flex; align-items: center; justify-content: center; }
.toggle[aria-pressed="true"] > .shade { background: rgba(20,10,4,.55); }
.toggle[aria-pressed="true"] > .bar { background: var(--orange); }
.toggle[aria-pressed="true"] .burn { color: #F6E2C4; mix-blend-mode: normal; text-shadow: 0 1px 3px rgba(0,0,0,.8); opacity: 1; }
a.plank, button.plank { transition: transform .08s ease, filter .15s ease; }
a.plank:hover, button.plank:hover { filter: brightness(1.06); }
a.plank:active, button.plank:active { transform: translateY(2px); }

/* ---------- inner-page header ---------- */
.site-header { border-bottom: 1px solid var(--hair); background: var(--bg); }
.site-header .inner { max-width: 1280px; margin: 0 auto; height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gutter); }
.logo { display: flex; align-items: center; justify-content: center; width: 250px; height: 56px; flex-shrink: 0; }
.logo .burn { font-size: 24px; letter-spacing: 2px; }
.site-nav { display: flex; align-items: center; gap: 32px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: 2px; text-transform: uppercase; }
.site-nav a { color: var(--tan); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #F6D4A6; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.header-search { display: flex; align-items: center; gap: 10px; width: 240px; height: 44px; padding: 0 16px; border-radius: 22px; background: #1C1813; border: 1px solid var(--line); cursor: text; }
.header-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: var(--text); font-family: 'Barlow Condensed', sans-serif; font-size: 17px; letter-spacing: 1px; }
.header-search input::placeholder { color: #8C7A62; }
.menu-btn { display: none; }

.crumb { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.crumb a { color: var(--muted); } .crumb a:hover { color: var(--tan); }
.crumb .here { color: var(--tan); }
.page-title { margin: 0; font-family: Rye, serif; font-weight: 400; font-size: 46px; letter-spacing: 3px; color: var(--tan); }
.count { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; white-space: nowrap; }
.title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.section-h { margin: 0; font-family: Rye, serif; font-weight: 400; font-size: 38px; letter-spacing: 2px; color: var(--tan); }
.empty { padding: 40px 0; font-family: 'Barlow Condensed', sans-serif; font-size: 19px; letter-spacing: 1px; color: #7E6E5A; }
.error-box { margin: 40px var(--gutter); padding: 22px 26px; border-radius: 4px; border: 1px solid var(--line); background: var(--panel); color: var(--body); font-size: 18px; }

/* ---------- home hero ---------- */
.hero { position: relative; height: 680px; overflow: hidden; background: var(--bg); --hs: 1; }
.hero .scene { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-stage { position: absolute; left: 50%; top: 0; width: 1280px; height: 680px; margin-left: -640px; transform: scale(var(--hs)); transform-origin: 640px 0; pointer-events: none; }
.hero-stage > * { pointer-events: auto; }
.hero-stage .hangers { position: absolute; left: 0; top: 0; pointer-events: none; }
.hero-sign { position: absolute; left: 380px; top: 96px; width: 520px; height: 120px; display: flex; align-items: center; justify-content: center; border-radius: 4px; box-shadow: inset 0 3px 0 rgba(255,255,255,.28), inset 0 -5px 0 rgba(60,30,10,.4), 0 6px 0 #050404, 0 12px 24px rgba(0,0,0,.55); }
.hero-sign h1 { margin: 0; font-size: 64px; letter-spacing: 3px; filter: blur(.3px); text-shadow: 0 0 1px #120601, 0 0 4px rgba(45,16,3,.9), 0 0 10px rgba(110,48,12,.5), 0 0 20px rgba(130,62,20,.3); }
.hero-btns { position: absolute; left: 440px; top: 240px; width: 400px; display: flex; justify-content: center; gap: 24px; }
.hero-btns .plank { display: flex; align-items: center; justify-content: center; width: 170px; height: 48px; }
.hero-btns .burn { font-size: 16px; letter-spacing: 1.5px; text-shadow: var(--scorch-sm); }
.hero-nav { position: absolute; right: max(64px, calc(50% - 576px)); top: 104px; display: flex; gap: 26px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: 2px; text-transform: uppercase; text-shadow: 0 1px 3px rgba(0,0,0,.8); z-index: 2; }
.hero-nav a { color: var(--tan); } .hero-nav a:hover { color: #F6D4A6; }

/* ---------- home sections ---------- */
.home-cats { padding: 56px var(--gutter) 24px; display: flex; flex-direction: column; gap: 12px; }
.home-cats .section-h { margin-bottom: 12px; }
.cat-plank { display: flex; align-items: center; justify-content: space-between; height: 80px; padding: 0 34px 0 44px; margin-bottom: 6px; }
.cat-plank .name { font-size: 34px; letter-spacing: 1.5px; filter: blur(.25px); }
.cat-plank .right { position: relative; display: flex; align-items: center; gap: 16px; }
.cat-plank .num { font-family: Rye, serif; font-size: 15px; letter-spacing: 1.5px; color: var(--ink2); mix-blend-mode: multiply; opacity: .85; text-shadow: 0 0 2px rgba(80,32,8,.6), 0 0 6px rgba(120,55,15,.3); }
.arrow-dot { width: 40px; height: 40px; border-radius: 20px; background: var(--bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.home-cooks { padding: 48px var(--gutter) 40px; display: flex; flex-direction: column; gap: 24px; }
.cooks-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.photo-card { display: flex; flex-direction: column; padding: 14px 14px 0; text-align: center; }
.photo-card .ph { position: relative; width: 100%; height: 240px; border-radius: 2px; overflow: hidden; background: #0E0B08; box-shadow: 0 0 0 2px rgba(40,20,6,.55), 0 3px 8px rgba(30,14,4,.55); }
.photo-card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s ease; }
.photo-card .cap { position: relative; display: flex; align-items: center; justify-content: center; min-height: 58px; padding: 6px 30px; }
.photo-card .cap .burn { font-size: 18px; letter-spacing: 1px; text-transform: uppercase; text-shadow: 0 0 1px #120601, 0 0 3px rgba(45,16,3,.85), 0 0 7px rgba(110,48,12,.45); transition: opacity .6s ease; }
.no-photo { position: relative; height: 100%; min-height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; background: repeating-linear-gradient(135deg, #1F1A14 0 12px, #1A1510 12px 24px); color: var(--muted); font-family: 'Barlow Condensed', sans-serif; font-size: 16px; letter-spacing: 1px; }

.home-garden { padding: 40px var(--gutter) 72px; display: flex; flex-direction: column; gap: 8px; }
.home-garden .section-h { margin-bottom: 16px; }
.garden-row { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 24px; padding: 0 30px; }
.pot { display: flex; justify-content: center; align-items: flex-end; height: 214px; }
.pot svg { width: 200px; height: 214px; max-width: 100%; transition: transform .2s ease; }
.pot:hover svg { transform: translateY(-3px); }
.shelf { height: 36px; box-shadow: inset 0 2px 0 rgba(255,255,255,.28), inset 0 -4px 0 rgba(60,30,10,.35), 0 5px 0 #050404, 0 10px 18px rgba(0,0,0,.55); }
.tag-col { display: flex; flex-direction: column; align-items: center; }
.tag-strings { display: flex; gap: 70px; }
.tag-strings span { width: 2px; height: 30px; background: #8C7A62; }
.plant-tag { width: 210px; max-width: 100%; height: 64px; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 2px 0 rgba(255,255,255,.28), inset 0 -3px 0 rgba(60,30,10,.35), 0 4px 0 #050404, 0 6px 12px rgba(0,0,0,.5); }
.plant-tag .burn { font-size: 20px; letter-spacing: .5px; text-align: center; padding: 0 6px; white-space: nowrap; text-shadow: 0 0 1px #120601, 0 0 3px rgba(45,16,3,.85), 0 0 7px rgba(110,48,12,.45); }
.m-garden { display: none; }

/* ---------- All recipes ---------- */
.intro { padding-top: 40px; display: flex; flex-direction: column; gap: 22px; }
.filters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 10px; }
.filters .plank { height: 50px; padding: 0 10px; }
.filters .burn { font-size: 15px; letter-spacing: 1.2px; white-space: nowrap; }
.az { padding-top: 30px; padding-bottom: 64px; display: flex; flex-direction: column; }
.az-group { display: flex; gap: 28px; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.letter { flex-shrink: 0; width: 56px; height: 56px; border-radius: 28px; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 2px 0 rgba(255,255,255,.28), inset 0 -3px 0 rgba(60,30,10,.35), 0 3px 0 #050404; }
.letter .burn { font-size: 26px; text-shadow: none; }
.az-items { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.az-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 8px; border-radius: 3px; }
.az-row:hover { background: #17130F; }
.az-row .n { font-family: Rye, serif; font-size: 20px; letter-spacing: 1px; color: var(--tan); }
.az-row .c { display: flex; align-items: center; gap: 18px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 2px; color: var(--muted); white-space: nowrap; }

/* ---------- category ---------- */
.cat-banner { display: flex; align-items: center; justify-content: center; min-height: 116px; padding: 12px 48px; border-radius: 4px; box-shadow: inset 0 3px 0 rgba(255,255,255,.28), inset 0 -5px 0 rgba(60,30,10,.4), 0 6px 0 #050404, 0 12px 24px rgba(0,0,0,.55); }
.cat-banner h1 { margin: 0; font-size: 64px; letter-spacing: 4px; text-align: center; filter: blur(.3px); text-shadow: 0 0 1px #120601, 0 0 4px rgba(45,16,3,.9), 0 0 10px rgba(110,48,12,.5), 0 0 20px rgba(130,62,20,.3); }
.subs { padding-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.subs .plank { width: 170px; height: 52px; }
.subs .burn { font-size: 18px; letter-spacing: 1.5px; text-shadow: var(--scorch-sm); }
.card-grid { padding-top: 36px; padding-bottom: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.recipe-card { display: flex; flex-direction: column; padding: 12px 12px 0; }
.recipe-card .ph { position: relative; height: 220px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 2px rgba(40,20,6,.55); background: #0E0B08; }
.recipe-card .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recipe-card .cap { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 70px; padding: 8px 20px; text-align: center; }
.recipe-card .cap .burn { font-size: 18px; letter-spacing: 1px; text-transform: uppercase; text-shadow: 0 0 1px #120601, 0 0 3px rgba(45,16,3,.85), 0 0 7px rgba(110,48,12,.45); }
.recipe-card .cap .burn2 { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }

/* ---------- recipe ---------- */
.cook-banner { display: none; align-items: center; justify-content: center; min-height: 44px; padding: 6px 16px; text-align: center; background: var(--orange); color: var(--ink); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: 2px; text-transform: uppercase; }
body.cook .cook-banner { display: flex; position: sticky; top: 0; z-index: 20; }
.r-top { padding-top: 36px; display: flex; gap: 44px; }
.r-photo { flex-shrink: 0; width: 560px; padding: 14px; box-shadow: inset 0 2px 0 rgba(255,255,255,.28), inset 0 -4px 0 rgba(60,30,10,.35), 0 5px 0 #050404, 0 10px 18px rgba(0,0,0,.55); }
.r-photo .ph { position: relative; height: 400px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 2px rgba(40,20,6,.55); background: #0E0B08; }
.r-photo .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.r-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding-top: 4px; }
.r-info h1 { margin: 0; font-family: Rye, serif; font-weight: 400; font-size: 50px; line-height: 1.05; letter-spacing: 2px; color: var(--tan); text-transform: uppercase; overflow-wrap: anywhere; }
.r-desc { margin: 0; font-size: 19px; line-height: 1.55; color: var(--body); }
.r-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.r-tags span { padding: 4px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.time { min-height: 74px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 8px 6px; text-align: center; }
.time .burn2 { font-size: 12px; letter-spacing: 1.5px; opacity: 1; }
.time .burn { font-size: 18px; letter-spacing: 1px; text-shadow: var(--scorch-sm); overflow-wrap: anywhere; }
.r-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.r-tools .lbl { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.scale-group { display: flex; gap: 6px; }
.scale-group .plank { width: 56px; height: 46px; box-shadow: inset 0 2px 0 rgba(255,255,255,.28), inset 0 -3px 0 rgba(60,30,10,.35), 0 4px 0 #050404; }
.scale-group .burn { font-size: 17px; text-shadow: none; }
.r-tools .spacer { flex: 1; }
.tool-btn { height: 46px; padding: 0 14px; box-shadow: inset 0 2px 0 rgba(255,255,255,.28), inset 0 -3px 0 rgba(60,30,10,.35), 0 4px 0 #050404; }
.tool-btn .burn { font-size: 16px; letter-spacing: 1px; text-shadow: none; }
.r-body { padding-top: 48px; padding-bottom: 72px; display: flex; gap: 44px; align-items: flex-start; }
.ing-panel { flex-shrink: 0; width: 480px; padding: 28px 30px 30px; box-shadow: inset 0 2px 0 rgba(255,255,255,.28), inset 0 -4px 0 rgba(60,30,10,.35), 0 5px 0 #050404, 0 10px 18px rgba(0,0,0,.55); }
.ing-head { position: relative; display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.ing-head h2 { margin: 0; font-size: 28px; letter-spacing: 2px; text-shadow: 0 0 1px #120601, 0 0 4px rgba(45,16,3,.8); }
.ing-head .burn2 { font-size: 13px; letter-spacing: 1px; }
.ing-sec { position: relative; margin: 18px 0 2px; font-family: Rye, serif; font-size: 15px; letter-spacing: 1.5px; color: var(--ink2); mix-blend-mode: multiply; text-transform: uppercase; }
.ing { position: relative; display: flex; align-items: center; gap: 14px; min-height: 50px; padding: 6px 0; border-bottom: 1px solid rgba(60,30,10,.35); cursor: pointer; }
.ing input { width: 22px; height: 22px; margin: 0; flex-shrink: 0; accent-color: #5A2E12; cursor: pointer; }
.ing .amt { width: 110px; flex-shrink: 0; font-family: Rye, serif; font-size: 18px; color: #2A1206; mix-blend-mode: multiply; }
.ing .what { flex: 1; min-width: 0; font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--ink); }
.ing .what .note { font-weight: 500; color: #4A2A14; }
.ing .hand { margin-left: 6px; padding: 0 6px; border-radius: 8px; background: rgba(60,30,10,.25); font-size: 13px; font-weight: 700; color: #3A1A08; white-space: nowrap; }
.ing.done .what, .ing.done .amt { text-decoration: line-through; text-decoration-color: rgba(26,10,3,.6); opacity: .6; }
.steps-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.steps-col h2 { margin: 0; font-family: Rye, serif; font-weight: 400; font-size: 28px; letter-spacing: 2px; color: var(--tan); }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step .num { flex-shrink: 0; width: 52px; height: 52px; border-radius: 26px; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 2px 0 rgba(255,255,255,.28), inset 0 -3px 0 rgba(60,30,10,.35), 0 3px 0 #050404; }
.step .num .burn { font-size: 24px; text-shadow: none; }
.step .txt { min-width: 0; padding-top: 10px; font-size: 18px; line-height: 1.6; color: var(--step); }
.step .txt h3 { margin: 0 0 4px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: 2px; text-transform: uppercase; color: var(--tan); }
.md p { margin: 0 0 .6em; } .md p:last-child { margin-bottom: 0; }
.md ul, .md ol { margin: .3em 0 .6em; padding-left: 1.4em; }
.md li { margin: .15em 0; }
.md a { color: var(--tan); text-decoration: underline; }
.notes-box { margin-top: 10px; padding: 22px 26px; border-radius: 4px; border: 1px solid var(--line); background: var(--panel); }
.notes-box h3 { margin: 0 0 8px; font-family: Rye, serif; font-weight: 400; font-size: 20px; letter-spacing: 2px; color: var(--tan); }
.notes-box .n { font-size: 17px; line-height: 1.55; color: var(--body); margin-bottom: 12px; }
.notes-box .n:last-child { margin-bottom: 0; }
.notes-box .n b { color: var(--tan); font-weight: 600; }
body.cook .ing .amt, body.cook .ing .what, body.cook .step .txt { font-size: 22px; }
body.cook .step .txt h3 { font-size: 20px; }

/* ---------- gallery ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 12px; }
.tabs .plank { width: 200px; height: 50px; }
.tabs .burn { font-size: 16px; letter-spacing: 1.5px; text-shadow: none; }
.shot { display: flex; flex-direction: column; padding: 10px 10px 0; text-align: center; cursor: pointer; }
.shot .ph { position: relative; height: 250px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 2px rgba(40,20,6,.55); background: #0E0B08; }
.shot .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot .cap { position: relative; display: flex; align-items: center; justify-content: center; min-height: 50px; width: 100%; padding: 6px 12px; }
.shot .cap .burn { font-size: 16px; letter-spacing: 1px; text-shadow: var(--scorch-sm); overflow-wrap: anywhere; }
.lightbox, .search-layer { position: fixed; inset: 0; z-index: 50; display: none; }
.lightbox.open, .search-layer.open { display: flex; }
.lightbox { background: rgba(8,6,4,.92); align-items: center; justify-content: center; padding: 24px; }
.lb-inner { position: relative; display: flex; align-items: center; gap: 28px; max-width: 100%; }
.lb-frame { position: relative; width: min(900px, calc(100vw - 220px)); padding: 16px 16px 0; box-shadow: inset 0 2px 0 rgba(255,255,255,.28), inset 0 -4px 0 rgba(60,30,10,.35), 0 8px 0 #050404, 0 20px 50px rgba(0,0,0,.8); }
.lb-frame .ph { position: relative; height: min(600px, calc(100vh - 200px)); background: #0E0B08; border-radius: 2px; }
.lb-frame .ph img { width: 100%; height: 100%; object-fit: contain; display: block; }
.lb-frame .cap { position: relative; display: flex; align-items: center; justify-content: center; min-height: 66px; padding: 6px 12px; }
.lb-frame .cap .burn { font-size: 24px; letter-spacing: 1.5px; text-shadow: 0 0 1px #120601, 0 0 4px rgba(45,16,3,.85); }
.round-btn { flex-shrink: 0; width: 56px; height: 56px; border-radius: 28px; border: 1px solid #5A4634; background: #16120E; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.round-btn.sm { width: 48px; height: 48px; border-radius: 24px; }
.round-btn:hover { background: #221B14; }
.lb-close { position: absolute; right: 70px; top: -64px; }

/* ---------- search overlay ---------- */
.search-layer { background: rgba(8,6,4,.88); justify-content: center; align-items: flex-start; padding: 110px 16px 16px; overflow-y: auto; }
.search-box { position: relative; width: 720px; max-width: 100%; display: flex; flex-direction: column; gap: 14px; }
.search-close { position: absolute; right: -64px; top: 6px; }
.search-plank { padding: 12px; border-radius: 4px; box-shadow: inset 0 2px 0 rgba(255,255,255,.28), inset 0 -4px 0 rgba(60,30,10,.4), 0 6px 0 #050404, 0 14px 30px rgba(0,0,0,.7); }
.search-plank label { position: relative; display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 20px; border-radius: 3px; background: #F4EBDD; box-shadow: inset 0 2px 4px rgba(60,30,10,.35); }
.search-plank input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 24px; letter-spacing: .5px; color: #2A1A0E; }
.search-plank input::placeholder { color: #8A7560; }
.results { display: flex; flex-direction: column; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); background: #14110D; }
.results:empty { display: none; }
.result { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 8px 22px; border-bottom: 1px solid var(--hair); }
.result:last-child { border-bottom: 0; }
.result:hover, .result.active { background: #1E1812; }
.result .n { font-family: Rye, serif; font-size: 19px; letter-spacing: 1px; color: var(--tan); }
.result .c { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 2px; color: var(--muted); white-space: nowrap; }
.result.none { color: var(--muted); font-family: 'Barlow Condensed', sans-serif; font-size: 18px; letter-spacing: 1px; }
body.locked { overflow: hidden; }

.foot { padding: 28px var(--gutter) 40px; border-top: 1px solid var(--hair); font-family: 'Barlow Condensed', sans-serif; font-size: 15px; letter-spacing: 1.5px; color: #6E604E; text-transform: uppercase; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .cooks-grid, .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r-top { flex-direction: column; }
  .r-photo { width: 100%; }
  .r-body { flex-direction: column; }
  .ing-panel { width: 100%; }
  .site-nav { gap: 20px; }
  .header-search { width: 190px; }
  .garden-row { padding: 0; gap: 16px; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .site-header .inner { height: 72px; gap: 12px; }
  .logo { width: 176px; height: 46px; }
  .logo .burn { font-size: 17px; letter-spacing: 1.5px; }
  .menu-btn { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 23px; border: 1px solid var(--line); background: #1C1813; cursor: pointer; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 72px; z-index: 30; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--hair); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--hair); }
  .header-search { width: 100%; margin-top: 14px; }
  .site-header { position: relative; }
  .hero { height: 480px; }
  .hero-nav { top: auto; bottom: 18px; right: 50%; transform: translateX(50%); gap: 28px; }
  .home-cats { padding-top: 36px; }
  .section-h { font-size: 28px; }
  .cat-plank { height: 64px; padding: 0 44px 0 42px; }
  .cat-plank .screw { width: 18px; height: 18px; margin-top: -9px !important; }
  .cat-plank .name { font-size: 21px; letter-spacing: 1px; }
  .cat-plank .num { display: none; }
  .arrow-dot { width: 34px; height: 34px; }
  .cooks-grid, .card-grid { grid-template-columns: minmax(0, 1fr); }
  .photo-card .ph { height: 220px; }
  .home-cooks { padding-top: 32px; }
  .d-garden { display: none; }
  .m-garden { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .m-garden .tag-col { gap: 0; }
  .m-garden .pot { height: 150px; }
  .m-garden .pot svg { width: 140px; height: 150px; }
  .m-garden .plant-tag { width: 100%; height: 54px; }
  .m-garden .plant-tag .burn { font-size: 16px; }
  .m-garden .tag-strings { gap: 50px; }
  .m-garden .tag-strings span { height: 16px; }
  .page-title { font-size: 32px; letter-spacing: 2px; }
  .title-row { flex-wrap: wrap; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters .burn { font-size: 14px; letter-spacing: .8px; }
  .az-group { gap: 14px; }
  .letter { width: 44px; height: 44px; }
  .letter .burn { font-size: 21px; }
  .az-row .n { font-size: 17px; }
  .az-row .c span.cn { display: none; }
  .cat-banner { min-height: 84px; padding: 10px 36px; }
  .cat-banner h1 { font-size: 34px; letter-spacing: 2px; }
  .subs .plank { width: calc(50% - 7px); }
  .r-top { padding-top: 20px; gap: 24px; }
  .r-photo { padding: 10px; }
  .r-photo .ph { height: 260px; }
  .r-info h1 { font-size: 32px; }
  .r-desc { font-size: 17px; }
  .times { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r-tools .spacer { display: none; }
  .r-tools .lbl { width: 100%; }
  .scale-group { width: 100%; } .scale-group .plank { flex: 1; width: auto; }
  .tool-btn { flex: 1; }
  .r-body { padding-top: 32px; gap: 32px; }
  .ing-panel { padding: 20px 16px 22px; }
  .ing .amt { width: 84px; font-size: 16px; }
  .ing .what { font-size: 17px; }
  .step { gap: 14px; }
  .step .num { width: 44px; height: 44px; }
  .step .txt { font-size: 17px; padding-top: 7px; }
  .tabs .plank { width: calc(50% - 6px); }
  .tabs .burn { font-size: 14px; }
  .shot .ph { height: 240px; }
  .lb-inner { gap: 0; flex-direction: column; }
  .lb-frame { width: calc(100vw - 24px); padding: 10px 10px 0; }
  .lb-frame .ph { height: min(62vh, 520px); }
  .lb-frame .cap .burn { font-size: 18px; }
  .lb-nav { display: flex; gap: 24px; margin-top: 18px; }
  .lb-inner > .round-btn:not(.lb-close) { display: none; }
  .lb-close { position: static; margin-bottom: 14px; align-self: flex-end; }
  .search-layer { padding-top: 70px; }
  .search-close { position: static; align-self: flex-end; }
  .search-plank label { height: 52px; padding: 0 14px; }
  .search-plank input { font-size: 20px; }
  .result .n { font-size: 16px; }
  .result { padding: 8px 14px; }
}
@media (min-width: 761px) { .lb-nav { display: none; } }

/* ---------- print ---------- */
@media print {
  @page { margin: 14mm; }
  html, body { background: #fff !important; color: #000 !important; }
  .site-header, .cook-banner, .r-tools, .search-layer, .lightbox, .foot, .r-tags, .skip { display: none !important; }
  .plank, .r-photo, .ing-panel, .time, .step .num, .notes-box { background: none !important; box-shadow: none !important; border: 0 !important; }
  .plank > .wood, .wood, .screw { display: none !important; }
  .burn, .burn2, .ing .amt, .ing-sec { color: #000 !important; mix-blend-mode: normal !important; text-shadow: none !important; filter: none !important; opacity: 1 !important; }
  .page, .wrap { max-width: none; padding: 0 !important; }
  .r-top { display: block; padding: 0; }
  .r-photo { width: 100%; padding: 0; margin-bottom: 10px; }
  .r-photo .ph { height: 220px; box-shadow: none; }
  .r-photo.none { display: none; }
  .r-info { gap: 8px; }
  .r-info h1 { color: #000; font-size: 26pt; }
  .r-desc, .step .txt, .notes-box .n, .notes-box h3, .steps-col h2, .crumb, .crumb a, .crumb .here { color: #000 !important; }
  .times { grid-template-columns: repeat(4, auto); justify-content: start; gap: 18px; }
  .time { min-height: 0; align-items: flex-start; padding: 0; }
  .r-body { display: block; padding: 14px 0 0; }
  .ing-panel { width: 100%; padding: 0; margin-bottom: 16px; }
  .ing { min-height: 0; padding: 3px 0; border-color: #ccc; break-inside: avoid; }
  .ing input { display: none; }
  .ing .what, .ing .what .note { color: #000; font-size: 11pt; }
  .ing .amt { font-family: Barlow, sans-serif; font-weight: 700; font-size: 11pt; }
  .step { break-inside: avoid; gap: 10px; }
  .step .num { width: auto; height: auto; }
  .step .num .burn { font-size: 13pt; }
  .step .txt { font-size: 11pt; padding-top: 0; }
  .step .txt h3 { color: #000; }
  .notes-box { padding: 0; margin-top: 8px; }
}
