/* BourbonRecipes.com: Southern Porch theme */
:root {
  --bg: #efe6d2; --surface: #fbf7ec; --sunk: #e4d9c0; --band: #314a36;
  --primary: #3f5c44; --primary-strong: #314a36; --accent: #a8492a; --accent-ink: #9a4024;
  --butter: #f5dd8c; --text: #241f17; --muted: #534e43; --border: #d8ccb1; --border-strong: #7f7663;
  --ok: #2f5f2e; --ok-tint: #e6eedd; --warn: #8a3d0e; --warn-tint: #f6dfca; --sage-tint: #d9e3cf;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 6px; --r-md: 12px; --r-lg: 18px; --r-xl: 24px;
  --shadow: 0 1px 2px rgba(40, 30, 20, 0.08);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--primary); }
a:hover { color: var(--primary-strong); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.band :focus-visible, .cta :focus-visible { outline-color: var(--butter); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; margin: 0; color: var(--text); letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 1040px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 10px 14px; border-radius: var(--r-sm); z-index: 10; }
.skip:focus { left: 12px; }

/* Header and footer */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 24px; padding-top: 8px; padding-bottom: 8px; }
.logo { font-family: var(--serif); font-weight: 700; font-size: 25px; color: var(--primary); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; letter-spacing: -0.01em; }
.nav { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; font-size: 16px; font-weight: 600; color: var(--text); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--primary); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.site-footer { background: var(--sunk); border-top: 1px solid var(--border); margin-top: 24px; }
.site-footer .wrap { padding-top: 36px; padding-bottom: 40px; display: grid; gap: 14px; }
.site-footer .logo { font-size: 23px; min-height: 0; }
.site-footer .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.mark { font-size: 15px; font-weight: 700; }
.small { font-size: 14px; color: var(--muted); }

/* Buttons */
.btn { font: 600 15px/1.2 var(--sans); min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1.5px solid var(--border-strong); background: var(--surface); color: var(--primary); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.btn:hover { border-color: var(--primary); }
.linkbtn { font: 600 16px/1.2 var(--sans); min-height: 44px; padding: 0; border: 0; background: none; color: var(--primary); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* Tonight tool */
.band { background: var(--band); }
.hero { padding-block: 52px 56px; display: grid; gap: 30px; }
.hero .intro { display: grid; gap: 12px; max-width: 740px; }
.hero .eyebrow { color: var(--butter); }
.hero h1 { color: var(--surface); font-size: clamp(38px, 6.4vw, 64px); line-height: 1.02; letter-spacing: -0.02em; }
.hero .intro p { font-size: 18px; color: var(--sage-tint); }
.tool { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.panel { flex: 1 1 440px; min-width: 0; background: var(--surface); border-radius: 20px; padding: 24px 20px; display: grid; gap: 18px; box-shadow: 0 10px 30px rgba(20, 30, 20, 0.25); }
.panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.panel h2 { font-size: 25px; line-height: 1.2; }
.count { font-size: 14px; font-weight: 600; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; border: 1.5px solid var(--border-strong); background: var(--surface); color: var(--text); font: 600 15px/1.2 var(--sans); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.chip svg { width: 16px; height: 16px; flex: none; }
.chip .on { display: none; }
.chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--surface); }
.chip[aria-pressed="true"] .on { display: block; }
.chip[aria-pressed="true"] .off { display: none; }
.chip.extra { display: none; }
.chips.show-more .chip.extra, .chip.extra[aria-pressed="true"] { display: inline-flex; }
.panel-foot { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; border-top: 1px solid var(--border); padding-top: 14px; }
.panel-foot .spacer { display: none; }
.panel-foot .linkbtn { flex: 1 1 100%; text-align: left; }
.results { flex: 1 1 380px; min-width: 0; display: grid; gap: 10px; }
.summary { background: var(--butter); border-radius: 20px; padding: 18px 20px; display: flex; align-items: center; gap: 16px; }
.summary .num { flex: none; width: 64px; height: 64px; border-radius: 999px; background: var(--band); color: var(--butter); display: flex; align-items: center; justify-content: center; font: 700 32px/1 var(--serif); }
.summary .head { font: 700 22px/1.2 var(--serif); }
.summary .sub { font-size: 14px; }
.row { background: var(--surface); border: 2px solid var(--surface); border-radius: 14px; padding: 13px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; min-height: 72px; text-decoration: none; color: var(--text); }
.row:hover { color: var(--text); border-color: var(--border-strong); }
.row.ready { background: var(--ok-tint); border-color: var(--ok); }
.row .txt { flex: 1 1 170px; min-width: 0; display: grid; gap: 2px; }
.row .name { font: 700 20px/1.25 var(--serif); }
.row .ing { font-size: 14px; line-height: 1.45; color: var(--muted); }
.status { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap; background: var(--warn-tint); color: var(--warn); }
.ready .status { background: var(--ok); color: var(--surface); }
.peek { max-height: 62px; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.45) 45%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.45) 45%, transparent 100%); }
.more-btn { justify-self: start; min-height: 48px; padding: 0 20px; border: 1.5px solid var(--butter); border-radius: 999px; background: transparent; color: var(--butter); font: 600 16px/1 var(--sans); cursor: pointer; }

/* Recipe groups */
.section-intro { padding-block: 60px 16px; display: grid; gap: 22px; }
.section-intro .copy { display: grid; gap: 10px; max-width: 680px; }
.section-intro h2 { font-size: clamp(32px, 4.4vw, 46px); line-height: 1.08; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { min-height: 44px; padding: 0 16px 0 8px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--border); display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--text); text-decoration: none; }
.badge { min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.g-cocktail .badge, .g-cocktail .gicon { background: var(--primary); color: var(--surface); }
.g-food .badge, .g-food .gicon { background: var(--accent); color: var(--surface); }
.g-sauce .badge, .g-sauce .gicon { background: var(--butter); color: var(--text); }
.group { padding-block: 36px 8px; display: grid; gap: 18px; scroll-margin-top: 12px; }
.group-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.gicon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.gicon svg { width: 28px; height: 28px; }
.group-head .copy { flex: 1 1 240px; min-width: 0; display: grid; gap: 2px; }
.group-head h2 { font-size: 32px; line-height: 1.1; }
.ready-note { min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--ok); color: var(--surface); display: inline-flex; align-items: center; font-size: 15px; font-weight: 600; text-decoration: none; }
.ready-note:hover { color: var(--surface); }
.ready-note[hidden] { display: none; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.card { background: var(--surface); border: 2px solid var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--text); min-width: 0; }
.card:hover { color: var(--text); border-color: var(--border-strong); }
.card img { width: 100%; height: 220px; object-fit: cover; background: var(--sunk); }
.card .body { padding: 16px 18px 18px; display: grid; gap: 6px; }
.card .tag { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); }
.g-food .card .tag { color: var(--accent-ink); }
.g-sauce .card .tag { color: #6b5310; }
.card h3 { font-size: 23px; line-height: 1.2; }
.card .desc { font-size: 14px; line-height: 1.5; color: var(--muted); }
.card .foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.card .read { margin-left: auto; font-size: 15px; font-weight: 600; color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
.pill-ready { display: none; padding: 5px 12px; border-radius: 999px; background: var(--ok); color: var(--surface); font-size: 13px; font-weight: 600; }
.card.ready { background: var(--ok-tint); border-color: var(--ok); box-shadow: 0 6px 18px rgba(47, 95, 46, 0.18); }
.card.ready .pill-ready { display: inline-block; }

/* Newsletter */
.cta { background: var(--accent); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 52px); display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; color: var(--surface); text-decoration: none; }
.cta .copy { flex: 1 1 340px; min-width: 0; display: grid; gap: 10px; }
.cta .eyebrow { color: var(--surface); }
.cta h2 { color: var(--surface); font-size: clamp(30px, 4.2vw, 42px); line-height: 1.1; }
.cta p { font-size: 17px; }
.soon { flex: 1 1 280px; min-width: 0; background: var(--surface); color: var(--text); border-radius: 16px; padding: 20px; display: grid; gap: 4px; }
.soon .head { font: 700 23px/1.2 var(--serif); }
.soon .small { color: var(--muted); }
.newsletter { padding-block: 56px 36px; scroll-margin-top: 12px; }

/* Article */
.article-head { padding-block: 40px 28px; display: grid; gap: 16px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; font-weight: 600; }
.crumbs a { min-height: 44px; display: inline-flex; align-items: center; }
.crumbs .eyebrow { font-size: 12px; }
.article-head h1 { max-width: 900px; font-size: clamp(34px, 5.4vw, 58px); line-height: 1.06; letter-spacing: -0.015em; }
.dek { max-width: 760px; font-size: clamp(19px, 2.2vw, 22px); line-height: 1.5; color: var(--muted); }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-top: 6px; font-size: 15px; }
.byline .av { width: 40px; height: 40px; border-radius: 999px; background: var(--primary); color: var(--butter); display: flex; align-items: center; justify-content: center; font: 700 18px/1 var(--serif); }
.byline b { font-weight: 600; }
figure.hero-img { margin: 0 auto; display: grid; gap: 8px; }
figure.hero-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 22px; background: var(--sunk); }
figcaption { display: grid; gap: 2px; font-size: 15px; line-height: 1.5; }
figcaption .credit { font-size: 13px; color: var(--muted); }
figcaption .credit a { color: var(--muted); }
.article-body { padding-block: 36px 8px; display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-start; }
.main-col { flex: 999 1 520px; min-width: 0; max-width: 680px; display: grid; gap: 18px; }
.main-col > p { font-size: 18px; line-height: 1.7; }
.main-col > p.lede { font-size: 19px; }
.main-col h2 { margin-top: 12px; font-size: 30px; line-height: 1.15; }
.glance { background: var(--surface); border-radius: var(--r-lg); padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 14px 24px; }
.glance div { flex: 1 1 140px; min-width: 0; display: grid; gap: 2px; }
.glance .k { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); }
.glance .v { font: 600 19px/1.3 var(--serif); }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps .n { flex: none; width: 40px; height: 40px; border-radius: 999px; background: var(--primary); color: var(--surface); display: flex; align-items: center; justify-content: center; font: 700 18px/1 var(--serif); }
.steps p { margin-top: 6px; font-size: 18px; line-height: 1.65; }
.tip { background: var(--butter); border-radius: var(--r-lg); padding: 20px 22px; display: grid; gap: 6px; }
.tip .k { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.tip p { font-size: 17px; line-height: 1.6; }
.side { flex: 1 1 300px; min-width: 0; display: grid; gap: 16px; }
.ingredients { background: var(--surface); border: 2px solid var(--primary); border-radius: 20px; padding: 22px 20px; }
.ingredients h2 { font-size: 24px; line-height: 1.2; margin: 0 0 6px; }
.ingredients ul { margin: 0; padding: 0; list-style: none; }
.ingredients li { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--border); font-size: 17px; line-height: 1.5; }
.ingredients li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 999px; background: var(--accent); transform: translateY(-2px); }
.side-cta { background: var(--band); border-radius: 20px; padding: 20px; display: grid; gap: 6px; text-decoration: none; }
.side-cta .eyebrow { color: var(--butter); font-size: 12px; }
.side-cta .t { font: 700 21px/1.25 var(--serif); color: var(--surface); }
.more { padding-block: 48px 16px; display: grid; gap: 16px; }
.more h2 { font-size: 30px; line-height: 1.15; }
.more .grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.more .card img { height: 160px; }
.more .card h3 { font-size: 21px; }
.small-cta { padding-block: 40px 56px; }
.small-cta .cta { padding: 28px; justify-content: space-between; }
.small-cta .cta .t { flex: 1 1 320px; font: 700 26px/1.2 var(--serif); }
.small-cta .cta .b { min-height: 52px; padding: 0 26px; border-radius: 12px; background: var(--butter); color: var(--text); font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
