/* Old Timber Outdoors. Concept: a cabin in the hardwoods in daylight.
   Real photographs carry the mood; warm cream paper, forest green for action, wood tones in small doses. */
@font-face { font-family: 'Bitter'; src: url('assets/fonts/bitter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('assets/fonts/source-sans-3-latin-wght-normal.woff2') format('woff2'); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('assets/fonts/source-sans-3-latin-wght-italic.woff2') format('woff2'); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  --cream: #F5F0E6;
  --paper: #FBF8F1;
  --ivory: #E9DFCA;
  --walnut: #433729;
  --ink: #3A3025;
  --muted: #6B6254;
  --forest: #29392B;
  --forest-2: #3B5240;
  --wood: #8A6A48;
  --oat: #B7AC96;
  --rule: #DDD3C0;
  --on-forest: #F5F0E6;
  --warn-bg: #F3E6C8;
  --warn-ink: #5C3D0E;
  --block-bg: #F2DCD2;
  --block-ink: #6A2414;
  --focus: #29392B;
  --display: 'Bitter', 'Rockwell', 'Roboto Slab', Georgia, serif;
  --body: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --r: 8px;
}
:root { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--walnut); line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 650; }
h3 { font-size: 1.22rem; font-weight: 650; }
h4 { font-size: 1.05rem; font-weight: 650; }
p { margin: 0; max-width: 66ch; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.stack-lg { display: flex; flex-direction: column; gap: 2rem; }
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wood); }
.lede { font-size: 1.2rem; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Private preview strip: small, honest, out of the way */
.private-bar { background: var(--warn-bg); color: var(--warn-ink); font-size: 0.82rem; }
.private-bar .wrap { padding-block: 5px; }

/* Header: the supplied badge on cream, always light so the ink artwork reads */
.site-head { background: #F5F0E6; color: #3A3025; border-bottom: 1px solid #DDD3C0; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: #F5F0E6; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1.25rem; padding-block: 8px; flex-wrap: wrap; }
.brand { display: block; line-height: 0; }
.brand img { width: 118px; height: auto; }
.nav { display: flex; gap: 0.25rem 1.4rem; flex-wrap: wrap; font-weight: 600; font-size: 1rem; }
.nav a { color: #3A3025; text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: #29392B; }
@media (max-width: 640px) { .brand img { width: 92px; } .nav { gap: 0 1rem; font-size: 0.95rem; } }

/* Buttons and fields */
.btn { appearance: none; font: 650 1rem/1.2 var(--body); padding: 13px 20px; border-radius: 999px; border: 2px solid var(--forest); background: var(--forest); color: var(--on-forest); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 46px; }
.btn:hover { filter: brightness(1.1); }
.btn.ghost { background: transparent; color: var(--forest); }
.btn.light { background: #F5F0E6; border-color: #F5F0E6; color: #29392B; }
.btn.light-ghost { background: transparent; border-color: #F5F0E6; color: #F5F0E6; }
.btn.small { padding: 7px 14px; font-size: 0.92rem; min-height: 38px; }
.btn-row { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
label, .label { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hint { font-size: 0.85rem; color: var(--muted); font-weight: 400; }
input[type="text"], input[type="search"], input[type="number"], input[type="date"], select {
  font: 400 1rem/1.3 var(--body); color: var(--ink); background: var(--paper); border: 1.5px solid var(--oat); border-radius: var(--r);
  padding: 10px 12px; min-height: 46px; width: 100%; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 700; font-family: var(--display); color: var(--walnut); font-size: 1.05rem; padding: 0; margin-bottom: 8px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1rem 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 1rem 1.25rem; }

/* Choice chips */
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { font-weight: 600; font-size: 0.95rem; padding: 9px 14px; border: 1.5px solid var(--oat); border-radius: 999px; cursor: pointer; background: var(--paper); min-height: 40px; display: inline-flex; align-items: center; }
.seg input:checked + label { background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
.seg input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
.checks { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.checks label { font-weight: 500; display: inline-flex; gap: 8px; align-items: center; min-height: 36px; }
.checks input { width: 18px; height: 18px; accent-color: var(--forest); }
.pick { font: 650 0.98rem var(--body); padding: 10px 16px; border: 1.5px solid var(--oat); background: var(--paper); color: var(--ink); border-radius: 999px; cursor: pointer; min-height: 44px; }
.pick:hover { border-color: var(--forest); }
.pick[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
.pick.big { font-size: 1.05rem; padding: 12px 20px; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }

/* Panels and notices */
.panel { background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; padding: clamp(16px, 3vw, 28px); }
.notice { border-radius: var(--r); padding: 12px 14px; font-size: 0.95rem; }
.notice.warn { background: var(--warn-bg); color: var(--warn-ink); }
.notice.block { background: var(--block-bg); color: var(--block-ink); }
.notice.info { background: var(--ivory); color: var(--ink); }
.notice strong { display: block; margin-bottom: 2px; }

/* Photo hero */
.hero { position: relative; color: #F5F0E6; min-height: clamp(460px, 74vh, 720px); display: grid; align-items: end; overflow: hidden; background: #2b2a20; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,12,0) 30%, rgba(20,18,12,0.72) 100%), linear-gradient(90deg, rgba(20,18,12,0.55) 0%, rgba(20,18,12,0) 60%); }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(32px, 7vw, 72px); }
.hero h1 { color: #F5F0E6; max-width: 15ch; }
.hero p { color: #F5F0E6; opacity: 0.92; font-size: 1.2rem; max-width: 44ch; }
.hero .stack { gap: 1.1rem; }
.photo-credit { position: absolute; right: max(12px, env(safe-area-inset-right, 0px)); bottom: 8px; z-index: 2; font-size: 0.72rem; color: rgba(245,240,230,0.75); }
.photo-credit a { color: inherit; }

.page-head { position: relative; min-height: 260px; display: grid; align-items: end; color: #F5F0E6; overflow: hidden; background: #2b2a20; }
.page-head > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,12,0.1) 20%, rgba(20,18,12,0.7) 100%); }
.page-head .wrap { position: relative; z-index: 1; padding-block: 28px; }
.page-head h1 { color: #F5F0E6; }
.page-head p { color: #F5F0E6; opacity: 0.92; }

.section { padding-block: clamp(40px, 6vw, 80px); }
.section.alt { background: var(--paper); border-block: 1px solid var(--rule); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }

/* Cooler band on the home page */
.cooler { background: var(--forest); color: #F5F0E6; }
.cooler .wrap { padding-block: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 1rem; }
.cooler h2 { color: #F5F0E6; }
.cooler .pick { background: transparent; color: #F5F0E6; border-color: rgba(245,240,230,0.55); text-decoration: none; display: inline-flex; align-items: center; }
.cooler .pick:hover { background: rgba(245,240,230,0.12); }

/* Outdoors tiles */
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; border-radius: 14px; overflow: hidden; min-height: 300px; display: grid; align-items: end; color: #F5F0E6; text-decoration: none; background: #2b2a20; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,12,0) 35%, rgba(20,18,12,0.78) 100%); }
.tile .t { position: relative; z-index: 1; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.tile h3 { color: #F5F0E6; font-size: 1.35rem; }
.tile p { font-size: 0.95rem; opacity: 0.92; }
.tile:nth-child(1), .tile:nth-child(2) { grid-column: span 3; min-height: 360px; }
.tile:nth-child(n+3) { grid-column: span 2; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr 1fr; } .tile:nth-child(n) { grid-column: span 1; min-height: 240px; } .tile:nth-child(1) { grid-column: span 2; } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } .tile:nth-child(n) { grid-column: span 1; } }
@media (prefers-reduced-motion: no-preference) { .tile:hover img { transform: scale(1.03); } }

/* Recipe cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 1.4rem; }
.card { background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.card-media { display: block; }
.rimg { margin: 0; position: relative; }
.rimg img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--ivory); }
.rimg figcaption { position: absolute; left: 8px; bottom: 8px; font-size: 0.7rem; letter-spacing: 0.04em; padding: 2px 7px; border-radius: 999px; background: rgba(20,18,12,0.55); color: #F5F0E6; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cut { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wood); }
.card h3 a { color: var(--walnut); text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card-meta { font-size: 0.92rem; color: var(--muted); }
.why { margin: 4px 0 0; padding-left: 1.1rem; font-size: 0.9rem; color: var(--muted); }
.card-note { font-size: 0.88rem; color: var(--warn-ink); background: var(--warn-bg); padding: 6px 10px; border-radius: 6px; }
.draft-chip { margin-top: auto; align-self: flex-start; font-size: 0.75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--warn-bg); color: var(--warn-ink); }

/* Plan band */
.band { position: relative; overflow: hidden; border-radius: 18px; color: #F5F0E6; display: grid; min-height: 340px; align-items: center; background: #2b2a20; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,18,12,0.72) 0%, rgba(20,18,12,0.15) 75%); }
.band .t { position: relative; z-index: 1; padding: clamp(22px, 4vw, 48px); display: flex; flex-direction: column; gap: 1rem; max-width: 560px; }
.band h2 { color: #F5F0E6; }
.band p { color: #F5F0E6; opacity: 0.92; }

/* Recipe finder */
.wt-layout { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 920px) { .wt-layout { grid-template-columns: 1fr; } }
.finder { display: flex; flex-direction: column; gap: 1.25rem; }
.ing-list { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; }
.ing { border: 1px solid var(--rule); border-radius: 10px; padding: 10px 12px; background: var(--cream); display: flex; flex-direction: column; gap: 8px; }
.ing-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.ing-name { font-weight: 700; }
.role label { font-size: 0.82rem; padding: 5px 10px; min-height: 32px; }
.form-q { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); gap: 8px; }
.form-q select { min-height: 38px; padding: 6px 8px; font-size: 0.92rem; }
.remove { background: none; border: 0; color: var(--muted); font: 600 0.85rem var(--body); cursor: pointer; padding: 4px; text-decoration: underline; }
.add-row { display: flex; gap: 8px; }
.add-row input { flex: 1; }
.ask { border: 2px solid var(--forest); border-radius: 10px; padding: 12px; background: var(--ivory); display: flex; flex-direction: column; gap: 8px; }
.ask .opts { display: flex; flex-wrap: wrap; gap: 8px; }
details.more { border-top: 1px solid var(--rule); padding-top: 12px; }
details.more summary { cursor: pointer; font-weight: 700; color: var(--walnut); font-family: var(--display); }
details.more[open] summary { margin-bottom: 12px; }
.results-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.gaps { display: flex; flex-direction: column; gap: 8px; }
.gap { display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; align-items: center; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); }
.empty { padding: 28px; text-align: left; }

/* Ledger tables */
.ledger-wrap { overflow-x: auto; }
table.ledger { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.ledger th { text-align: left; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 2px solid var(--walnut); }
.ledger td { padding: 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ledger td.amt, .ledger th.amt { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger tfoot td { font-weight: 700; border-bottom: 0; border-top: 2px solid var(--walnut); }
.act { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; white-space: nowrap; display: inline-block; }
.act.buy { background: var(--forest); color: var(--on-forest); }
.act.repair { background: var(--warn-bg); color: var(--warn-ink); }
.act.borrow, .act.keep { background: var(--ivory); color: var(--ink); }
.act.defer { background: transparent; color: var(--muted); border: 1px solid var(--oat); }
.src { font-size: 0.78rem; color: var(--muted); display: block; }

/* Plan page */
.steps-nav { display: flex; gap: 6px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.steps-nav a { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--oat); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.92rem; background: var(--paper); }
.steps-nav a span { font-family: var(--display); font-weight: 700; color: var(--wood); }
.steps-nav a[aria-current="step"] { background: var(--forest); color: var(--on-forest); border-color: var(--forest); }
.steps-nav a[aria-current="step"] span { color: var(--on-forest); }
.plan-section { scroll-margin-top: 120px; }
.gear-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 10px; }
.gear-row { border: 1px solid var(--rule); border-radius: 10px; padding: 10px 12px; background: var(--cream); display: flex; flex-direction: column; gap: 6px; }
.gear-row .top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.gear-row .pr { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.gear-row .pr.p1 { color: var(--block-ink); }
.gear-row .ctrl { display: grid; grid-template-columns: 1fr 120px; gap: 8px; }
.gear-row select, .gear-row input { min-height: 38px; padding: 6px 8px; font-size: 0.92rem; }
.summary-big { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: baseline; }
.summary-big .fig { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; color: var(--walnut); font-variant-numeric: tabular-nums; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.checklist li::before { content: ""; width: 16px; height: 16px; border: 2px solid var(--walnut); border-radius: 3px; margin-top: 5px; }
.sources { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.sources li { padding: 10px 12px; border-left: 3px solid var(--forest); background: var(--cream); }
.verdict { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--walnut); }
.planb { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1rem; }

/* Recipe page */
.recipe-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding-block: clamp(24px, 4vw, 48px); }
@media (max-width: 860px) { .recipe-top { grid-template-columns: 1fr; } }
.recipe-top .rimg img { border-radius: 16px; }
.recipe-top .rimg figcaption { left: 12px; bottom: 12px; font-size: 0.75rem; }
.facts-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.95rem; }
.facts-row b { font-family: var(--display); color: var(--walnut); font-size: 1.1rem; }
.recipe-body { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .recipe-body { grid-template-columns: 1fr; } }
.ingredients { list-style: none; padding: 0; margin: 0; }
.ingredients li { padding: 8px 0; border-bottom: 1px dotted var(--oat); display: grid; grid-template-columns: 5.5rem 1fr; gap: 10px; }
.ingredients .q { font-variant-numeric: tabular-nums; font-weight: 700; }
.method { margin: 0; padding: 0; list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 1.1rem; }
.method li { counter-increment: step; display: grid; grid-template-columns: 2.4rem 1fr; gap: 12px; }
.method li::before { content: counter(step); font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--wood); line-height: 1.2; }
.method li.locked { background: var(--warn-bg); color: var(--warn-ink); padding: 10px; border-radius: var(--r); }
.method li.locked::before { color: var(--warn-ink); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; font-size: 0.92rem; }
.facts dt { font-weight: 700; color: var(--muted); }
.facts dd { margin: 0; }

/* Private review area */
details.review { border: 1px dashed var(--oat); border-radius: 12px; padding: 14px 16px; background: var(--paper); font-size: 0.92rem; }
details.review summary { cursor: pointer; font-weight: 700; color: var(--muted); }
details.review[open] summary { margin-bottom: 10px; }
details.review ul { margin: 6px 0 0; padding-left: 1.2rem; }

.site-foot { background: var(--paper); border-top: 1px solid var(--rule); margin-top: 3rem; }
.site-foot .wrap { padding-block: 32px; display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 2rem; align-items: center; font-size: 0.9rem; color: var(--muted); }
.site-foot .foot-badge { background: #F5F0E6; border-radius: 10px; padding: 8px; }
.site-foot .foot-badge img { width: 150px; }
@media (max-width: 560px) { .site-foot .wrap { grid-template-columns: 1fr; } }

@media print {
  .private-bar, .site-head, .site-foot, .no-print, .steps-nav, .plan-inputs, .page-head { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .panel, .card { border-color: #999; background: #fff; }
  .print-only { display: block !important; }
  a { color: #000; }
  .plan-section { break-inside: avoid; }
}
.print-only { display: none; }

/* Homepage hero with five activity choices */
.hx { position: relative; min-height: clamp(560px, 86vh, 820px); display: grid; overflow: hidden; background: #1f231c; color: #F7F2E8; isolation: isolate; }
.hx-media, .hx-shade { position: absolute; inset: 0; }
.hx-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 420ms ease; }
.hx-img.is-on { opacity: 1; }
.hx-shade { background:
  linear-gradient(90deg, rgba(16,18,13,0.78) 0%, rgba(16,18,13,0.55) 38%, rgba(16,18,13,0.12) 70%, rgba(16,18,13,0) 100%),
  linear-gradient(0deg, rgba(16,18,13,0.62) 0%, rgba(16,18,13,0) 42%); }
.hx-inner { position: relative; z-index: 1; display: grid; align-content: end; gap: clamp(28px, 4vw, 44px); padding-block: clamp(96px, 14vh, 150px) clamp(36px, 6vh, 64px); }
.hx-copy { display: grid; gap: 14px; max-width: 34rem; }
.hx-eyebrow { color: #E7D9BC; }
.hx-title { color: #FBF7EE; font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.05; letter-spacing: -0.01em; max-width: 14ch; text-shadow: 0 1px 18px rgba(0,0,0,0.25); }
.hx-body { color: #F3EDE1; font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 40ch; margin: 0; }
.hx-copy .btn-row { margin-top: 6px; }
.hx-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.hx-choice { appearance: none; font: 650 1rem/1.1 var(--body); color: #FBF7EE; background: rgba(20,22,16,0.42); border: 1.5px solid rgba(247,242,232,0.7); border-radius: 999px; padding: 12px 20px; min-height: 48px; cursor: pointer; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); transition: background 160ms ease, color 160ms ease, border-color 160ms ease; }
.hx-choice:hover { background: rgba(20,22,16,0.62); border-color: #FBF7EE; }
.hx-choice[aria-pressed="true"] { background: #F5F0E6; color: #29392B; border-color: #F5F0E6; }
.hx-choice:focus-visible, .hx .btn:focus-visible, .hx-credit a:focus-visible { outline: 3px solid #E7D9BC; outline-offset: 3px; }
.hx-credit { position: absolute; right: 14px; bottom: 10px; z-index: 1; }
@media (max-width: 640px) {
  .hx { min-height: 0; background: #1c2018; }
  .hx-media, .hx-shade { bottom: auto; height: 330px; }
  .hx-shade { background: linear-gradient(180deg, rgba(28,32,24,0) 45%, rgba(28,32,24,0.75) 78%, #1c2018 100%); }
  .hx-inner { padding-block: 250px 48px; gap: 26px; }
  .hx-title { font-size: 2.15rem; }
  .hx-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-choice { background: rgba(247,242,232,0.06); }
  .hx-choice:last-child { grid-column: 1 / -1; }
  .hx-credit { right: 10px; left: auto; top: 8px; bottom: auto; }
}
@media (prefers-reduced-motion: reduce) { .hx-img, .hx-choice { transition: none; } }

/* Recipe browser steps */
.wt-step { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.wt-step legend { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 4px; }
.wt-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--forest); color: var(--on-forest); font: 700 0.85rem/1 var(--body); }
.pick-sub { font-weight: 500; opacity: 0.7; font-size: 0.85em; margin-left: 2px; }
.pick.is-empty { opacity: 0.55; border-style: dashed; }
.pick.is-empty[aria-pressed="true"] { opacity: 1; }

/* What are we cooking? One question at a time, on a wide warm page. */
.cook { padding-block: clamp(28px, 5vw, 56px) clamp(16px, 3vw, 28px); }
.cook-top { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-bottom: clamp(18px, 3vw, 28px); min-height: 44px; }
.cook-trail { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trail-chip { appearance: none; font: 600 0.95rem/1.2 var(--body); color: var(--forest); background: var(--paper); border: 1.5px solid var(--forest); border-radius: 999px; padding: 8px 14px; cursor: pointer; display: inline-flex; gap: 8px; align-items: baseline; }
.trail-edit { font-weight: 500; font-size: 0.8rem; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.trail-reset { appearance: none; background: none; border: 0; font: 600 0.92rem/1.2 var(--body); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 8px 4px; }
.cook-search { display: flex; gap: 8px; flex: 1 1 280px; max-width: 420px; margin-left: auto; }
.cook-search input { flex: 1; min-width: 0; font: 400 1rem var(--body); padding: 10px 14px; border: 1.5px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--ink); }
.cook-step { display: grid; gap: 18px; }
.cook-q { font-size: clamp(1.7rem, 3.4vw, 2.4rem); outline: none; }
.cook-note { color: var(--muted); margin: -6px 0 0; }
.cook-back { justify-self: start; appearance: none; background: none; border: 0; padding: 4px 0; font: 600 0.95rem/1.2 var(--body); color: var(--forest); cursor: pointer; }
.cook-back::before { content: "\2190\00a0"; }
.cook-back-inline { grid-column: 1 / -1; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.sp-card { appearance: none; position: relative; display: grid; grid-template-rows: auto auto; text-align: left; padding: 0; border: 1.5px solid var(--rule); border-radius: 14px; background: var(--paper); overflow: hidden; cursor: pointer; color: var(--ink); transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease; }
.sp-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.sp-name { font: 700 1.2rem/1.2 var(--display); color: var(--walnut); padding: 12px 14px 2px; }
.sp-meta { font-size: 0.88rem; color: var(--muted); padding: 0 14px 12px; min-height: 1.6em; }
.sp-card:hover:not(:disabled) { border-color: var(--forest); box-shadow: 0 6px 20px rgba(41,57,43,0.12); }
.sp-card[aria-pressed="true"] { border-color: var(--forest); box-shadow: 0 0 0 2px var(--forest) inset; }
.sp-card.is-off { cursor: default; }
.sp-card.is-off img { filter: grayscale(0.85) opacity(0.55); }
.sp-card.is-off .sp-name { color: var(--muted); }
.cut-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cut-card { appearance: none; text-align: left; display: grid; gap: 4px; padding: 16px 18px; border: 1.5px solid var(--rule); border-radius: 12px; background: var(--paper); color: var(--ink); cursor: pointer; font: inherit; }
.cut-card:hover:not(:disabled) { border-color: var(--forest); }
.cut-card[aria-pressed="true"] { border-color: var(--forest); box-shadow: 0 0 0 2px var(--forest) inset; }
.cut-name { font: 700 1.1rem/1.2 var(--display); color: var(--walnut); }
.cut-meta { font-size: 0.9rem; color: var(--forest-2); font-weight: 600; }
.cut-hint { font-size: 0.88rem; color: var(--muted); }
.cut-card.is-off { cursor: default; border-style: dashed; }
.cut-card.is-off .cut-name, .cut-card.is-off .cut-meta { color: var(--muted); }
.pref-grid { display: grid; gap: 18px; max-width: 860px; }
.sp-card:focus-visible, .cut-card:focus-visible, .trail-chip:focus-visible, .cook-back:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; }
.results-sec { border-top: 1px solid var(--rule); }
.card-skill { font-size: 0.85rem; color: var(--forest-2); font-weight: 600; margin: 0; }
@media (max-width: 560px) {
  .sp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sp-name { font-size: 1.05rem; padding: 10px 12px 0; }
  .sp-meta { padding: 0 12px 10px; font-size: 0.8rem; }
  .cut-grid { grid-template-columns: 1fr; }
  .cook-search { max-width: none; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .sp-card { transition: none; } }
.cook-step[hidden], .sp-card[hidden], [hidden] { display: none !important; }
