@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');

:root {
  --ink: #18130f;
  --cream: #f3ead7;
  --amber: #d79028;
  --sage: #9ca88a;
  --paper: #fffaf0;
  --display: "Fraunces", Georgia, serif;
  --body: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { min-height: 100vh; margin: 0; color: var(--cream); background: transparent; isolation: isolate; font-family: var(--body); line-height: 1.55; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; background: url("public/images/taproom-background.png") center top / cover no-repeat; }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(24,19,15,.92) 0%, rgba(24,19,15,.74) 48%, rgba(24,19,15,.5) 100%), linear-gradient(0deg, var(--ink) 0%, transparent 55%); }
button, a { font: inherit; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 10; padding: .65rem 1rem; color: var(--ink); background: var(--paper); }
.skip-link:focus { top: 1rem; }
.site-header { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; min-height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(243,234,215,.2); }
.brand { display: flex; align-items: center; gap: .7rem; font-weight: 600; text-decoration: none; letter-spacing: -.02em; }
.brand > span:last-child > span { color: var(--amber); }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--amber); border-radius: 50%; color: var(--amber); font-family: var(--display); }
.header-note, footer p { color: rgba(243,234,215,.7); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.hero { width: min(1180px, calc(100% - 2rem)); min-height: 610px; margin: 0 auto; padding: 7rem 0 5rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.eyebrow, .kicker, .dialog-style { color: var(--amber); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; }
.eyebrow { display: flex; align-items: center; gap: .7rem; }
.eyebrow span { width: 32px; height: 1px; background: var(--amber); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 790px; margin-bottom: 1.5rem; font: 700 clamp(4rem, 10vw, 8.5rem)/.82 var(--display); letter-spacing: -.065em; text-wrap: balance; }
h1 em { color: var(--amber); font-weight: 600; }
.hero-copy { max-width: 530px; color: rgba(243,234,215,.8); font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.6; }
.hero-link { margin-top: 1.5rem; display: flex; align-items: center; gap: 1rem; padding-bottom: .35rem; border-bottom: 1px solid var(--amber); color: var(--cream); font-weight: 600; text-decoration: none; }
.recipe-section { background: var(--cream); color: var(--ink); padding: 6rem max(1rem, calc((100% - 1180px) / 2)) 7rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.section-heading h2 { margin-bottom: 0; font: 700 clamp(2.8rem, 6vw, 5.4rem)/.95 var(--display); letter-spacing: -.05em; }
.kicker { color: #8d5a16; margin-bottom: .8rem; }
.count { padding-left: 1.25rem; border-left: 1px solid rgba(24,19,15,.25); color: rgba(24,19,15,.67); font-size: .82rem; text-align: left; }
.count strong { color: var(--ink); font: 600 1.8rem/1 var(--display); }
.recipe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(24,19,15,.22); border-left: 1px solid rgba(24,19,15,.22); }
.recipe-card { min-height: 340px; display: flex; flex-direction: column; align-items: stretch; padding: 1.65rem; color: var(--ink); background: transparent; border: 0; border-right: 1px solid rgba(24,19,15,.22); border-bottom: 1px solid rgba(24,19,15,.22); text-align: left; cursor: pointer; transition: color .2s, background .2s; }
.recipe-card:hover, .recipe-card:focus-visible { color: var(--paper); background: var(--ink); outline: none; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.card-number { color: #8d5a16; font: 600 .78rem var(--body); }
.card-style { color: #536047; font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; }
.recipe-card:hover .card-number, .recipe-card:focus-visible .card-number, .recipe-card:hover .card-style, .recipe-card:focus-visible .card-style { color: var(--amber); }
.recipe-card h3 { max-width: 300px; margin: auto 0 .8rem; font: 600 clamp(1.65rem, 3vw, 2.3rem)/1.04 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.card-description { color: rgba(24,19,15,.68); font-size: .9rem; }
.recipe-card:hover .card-description, .recipe-card:focus-visible .card-description { color: rgba(255,250,240,.7); }
.card-footer { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid currentColor; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
footer { min-height: 160px; width: min(1180px, calc(100% - 2rem)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.recipe-dialog { width: min(900px, calc(100% - 2rem)); max-height: 90vh; padding: 0; color: var(--ink); background: var(--paper); border: 0; box-shadow: 0 24px 80px rgba(0,0,0,.5); }
.recipe-dialog::backdrop { background: rgba(24,19,15,.82); backdrop-filter: blur(4px); }
.dialog-shell { position: relative; }
.dialog-close { position: sticky; z-index: 2; top: 1rem; float: right; margin: 1rem 1rem -3.8rem 0; width: 42px; height: 42px; border: 1px solid rgba(24,19,15,.25); border-radius: 50%; color: var(--ink); background: var(--paper); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.dialog-close:hover, .dialog-close:focus-visible { background: var(--ink); color: var(--paper); outline: 2px solid var(--amber); outline-offset: 2px; }
.dialog-top { padding: 3.5rem clamp(1.5rem, 6vw, 4.5rem) 2.5rem; background: var(--cream); }
.dialog-top h2 { max-width: 650px; margin-bottom: 1rem; font: 700 clamp(2.6rem, 7vw, 5rem)/.95 var(--display); letter-spacing: -.05em; }
.dialog-summary { max-width: 600px; color: rgba(24,19,15,.7); }
.recipe-facts { display: flex; flex-wrap: wrap; gap: 2rem; margin: 2rem 0 0; padding-top: 1.25rem; border-top: 1px solid rgba(24,19,15,.2); }
.recipe-facts div { display: grid; gap: .15rem; }
.recipe-facts dt { color: rgba(24,19,15,.55); font-size: .65rem; text-transform: uppercase; letter-spacing: .14em; }
.recipe-facts dd { margin: 0; font-weight: 600; }
.dialog-body { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); padding: 3rem clamp(1.5rem, 6vw, 4.5rem) 4rem; }
.dialog-body h3 { padding-bottom: .7rem; border-bottom: 1px solid var(--amber); font: 600 1.35rem var(--display); }
.dialog-body ul, .dialog-body ol { padding-left: 1.2rem; }
.dialog-body li { margin-bottom: .75rem; color: rgba(24,19,15,.78); }
.dialog-body ol li::marker { color: #8d5a16; font-weight: 600; }

@media (max-width: 800px) { .recipe-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .hero { min-height: 570px; padding-top: 5rem; } .dialog-body { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .header-note { display: none; } .site-header { min-height: 72px; } .hero { min-height: 550px; padding: 4rem 0; } h1 { font-size: clamp(3.6rem, 19vw, 5.3rem); } .section-heading { align-items: flex-start; flex-direction: column; } .recipe-section { padding-top: 4rem; padding-bottom: 4rem; } .recipe-grid { grid-template-columns: 1fr; } .recipe-card { min-height: 290px; } footer { flex-direction: column; align-items: flex-start; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition-duration: .01ms !important; } }
