/* Mangy Cock Brewing — site styles */
@font-face { font-family: "Oswald"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/oswald-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/oswald-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-800-normal.woff2") format("woff2"); }
:root {
  --ink: #16130f;
  --ink-2: #231d16;
  --ink-3: #3a3127;
  --cream: #f7eed3;
  --paper: #fbf7ef;
  --gold: #f5ad1a;
  --gold-dk: #d99400;
  --red: #d12f27;
  --red-dk: #a8241d;
  --muted: #6d6256;
  --line: #e4d8c2;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 19, 15, .10);
  --head: "Oswald", Impact, "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dk); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: .5rem 1rem; }

.eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; color: var(--red); margin-bottom: .6rem; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow-gold { color: var(--gold); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 40em; }
.lead-sm { font-size: 1.08rem; }
.accent { color: var(--gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; font-weight: 500; font-size: 1rem; padding: .75em 1.35em; border-radius: 999px; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s ease, color .15s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { font-size: 1.1rem; padding: .85em 1.6em; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dk); color: #fff; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-dk); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--ink-3); color: #fff; }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-ghost-light { border-color: rgba(244,233,212,.55); color: var(--cream); }
.btn-ghost-light:hover { border-color: var(--cream); background: rgba(244,233,212,.08); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }
.btn-row-end { justify-content: flex-end; }
.link-arrow { font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--red); font-size: .9rem; }

/* Announcement + header */
.announce { background: var(--red); text-align: center; font-size: .92rem; font-weight: 600; }
.announce a { display: block; color: #fff; text-decoration: none; padding: .55rem 1rem; }
.announce a:hover { text-decoration: underline; }
.site-header { background: var(--ink); color: var(--cream); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #2c251d; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.brand img { height: 52px; width: auto; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--cream); }
.brand:hover { color: #fff; }
.brand-text { font-family: var(--head); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; line-height: 1; letter-spacing: .02em; }
.brand-text small { display: block; font-size: .62em; letter-spacing: .32em; color: var(--gold); margin-top: .2rem; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) { color: var(--cream); text-decoration: none; font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; font-size: 1rem; padding: .35rem 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"]:not(.btn) { color: var(--gold); border-bottom-color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span:not(.sr) { display: block; width: 26px; height: 3px; background: var(--cream); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { background: radial-gradient(1000px 500px at 85% 40%, #3a2a17 0%, var(--ink) 60%); color: var(--cream); padding: clamp(3rem, 8vw, 6.5rem) 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 3rem; }
.hero-art img { width: min(480px, 100%); height: auto; margin-inline: auto; filter: drop-shadow(0 25px 45px rgba(0,0,0,.55)); animation: strut 6s ease-in-out infinite; }
@keyframes strut { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-8px) rotate(1deg); } }
@media (prefers-reduced-motion: reduce) { .hero-art img { animation: none; } html { scroll-behavior: auto; } }

.page-hero { background: var(--ink); color: var(--cream); padding: clamp(3rem, 7vw, 5.5rem) 0; }
.page-hero-sm { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.page-hero .lead { color: #e2d6c0; }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-dark { background: var(--ink-2); color: var(--cream); }
.section-dark .lead-sm, .section-dark li { color: #e2d6c0; }
.section-cream { background: var(--cream); }
.section-red { background: var(--red); color: #fff; }
.section-red .lead-sm { color: #fde9e5; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section-head h2 { margin: 0; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split-center { align-items: center; }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .8rem; }
.check-list li { padding-left: 1.8rem; position: relative; }
.check-list li::before { content: "★"; position: absolute; left: 0; color: var(--gold); }

/* Event card */
.event-card { background: var(--ink); color: var(--cream); border: 2px solid var(--gold); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.event-badge { display: inline-block; background: var(--gold); color: var(--ink); font-family: var(--head); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.event-card h3 { font-size: 1.7rem; }
.event-facts { margin: 1.2rem 0 0; display: grid; gap: .9rem; }
.event-facts div { display: grid; grid-template-columns: 80px 1fr; gap: 1rem; border-top: 1px solid #3a3127; padding-top: .9rem; }
.event-facts dt { font-family: var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--gold); font-size: .9rem; }
.event-facts dd { margin: 0; }
.event-card .muted { color: #b5a891; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: 1.3rem; text-align: center; }
.countdown span { background: var(--ink-2); border-radius: 10px; padding: .6rem 0; font-family: var(--head); font-size: 1.7rem; line-height: 1; }
.countdown small { display: block; font-family: var(--body); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #b5a891; margin-top: .3rem; }

/* Cards */
.merch-grid, .post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.merch-card, .post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.merch-card:hover, .post-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(22,19,15,.16); color: var(--ink); }
.merch-img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.merch-img > img:first-child { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.merch-card:hover .merch-img > img:first-child { transform: scale(1.04); }
.merch-logo { position: absolute; width: 30%; left: 50%; top: 56%; transform: translate(-50%, -50%); filter: drop-shadow(0 2px 3px rgba(0,0,0,.15)); }
.merch-body, .post-card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.merch-body p, .post-card-body p:not(.eyebrow) { color: var(--muted); flex: 1; }
.post-card-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-img-empty { position: relative; background: radial-gradient(circle at 50% 60%, #3a2a17 0%, var(--ink) 75%); }
.post-card-img-empty img { position: absolute; inset: 7% 0; width: 100%; height: 86%; object-fit: contain; }
.post-card .eyebrow { font-size: .75rem; }

.beer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.beer-grid-full { grid-template-columns: repeat(3, 1fr); }
.beer-card { background: #fff; border-radius: var(--radius); padding: 1.4rem; border-top: 5px solid var(--gold); box-shadow: var(--shadow); }
.beer-card-award { border-top-color: var(--red); }
.beer-card p { color: var(--muted); margin: 0; }
.beer-card .award { color: var(--red); font-weight: 600; font-size: .9rem; margin-top: .8rem; }
.beer-style { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dk); margin-bottom: .4rem; }
.beer-card[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.chip { font: inherit; font-weight: 600; font-size: .9rem; border: 2px solid var(--ink); background: transparent; color: var(--ink); border-radius: 999px; padding: .4rem 1rem; cursor: pointer; }
.chip.is-active, .chip:hover { background: var(--ink); color: var(--cream); }

.follow-box { background: var(--ink); color: var(--cream); padding: 2rem; border-radius: var(--radius); }
.follow-box p { color: #e2d6c0; }

/* Invitational */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 2rem; }
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.feature { background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.feature p { color: var(--muted); margin: 0; }
.feature-num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--gold); font-family: var(--head); font-size: 1.2rem; margin-bottom: .9rem; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.steps li { counter-increment: step; position: relative; padding-top: 3.6rem; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; font-family: var(--head); font-size: 2.8rem; line-height: 1; color: var(--red); }
.steps p { color: var(--muted); }
.table-wrap { overflow-x: auto; margin-top: 1.5rem; }
.winners { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.winners th, .winners td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); }
.winners th { background: var(--ink); color: var(--gold); font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.sponsor { background: #fff; border-radius: var(--radius); padding: 1.4rem; display: grid; place-items: center; min-height: 110px; font-weight: 700; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
.sponsor img { max-height: 70px; width: auto; }
.faq { margin: 1.5rem 0 2rem; }
.faq details { background: #fff; border-radius: 10px; margin-bottom: .7rem; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--red); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--muted); }

/* About */
.prose { font-size: 1.08rem; }
.prose blockquote { margin: 1.8rem 0; padding: 1.2rem 1.5rem; border-left: 5px solid var(--gold); background: var(--cream); font-family: var(--head); text-transform: uppercase; font-size: 1.35rem; line-height: 1.3; border-radius: 0 10px 10px 0; }
.charlie-card { background: var(--ink); color: var(--cream); border-radius: var(--radius); padding: 2rem; text-align: center; position: sticky; top: 110px; }
.charlie-card img { width: 85%; height: auto; margin: 0 auto 1.2rem; }
.crew-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.4rem; margin-top: 2rem; }
.crew { background: #fff; border-radius: var(--radius); padding: 1.6rem; text-align: center; box-shadow: var(--shadow); }
.crew-photo { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin: 0 auto 1rem; background: var(--ink); display: grid; place-items: center; }
.crew-photo img { width: 100%; height: 100%; object-fit: cover; }
.crew-photo .crew-mark { width: 82%; height: auto; object-fit: contain; }
.crew-title { color: var(--red); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.crew p:last-child { color: var(--muted); margin: 0; }

/* Posts */
.post-meta { color: #b5a891; margin: 0; }
.post-body { padding: 3rem 0 5rem; font-size: 1.1rem; }
.post-body h2 { font-size: 1.8rem; margin-top: 2rem; }
.post-body ul, .post-body ol { padding-left: 1.3rem; }
.post-body li { margin-bottom: .35rem; }
.post-body img { border-radius: var(--radius); margin: 1.5rem 0; }
.post-cover { width: 100%; }
.post-cta { margin-top: 3rem; padding: 1.6rem; background: var(--cream); border-radius: var(--radius); display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.post-cta p { margin: 0 auto 0 0; }

/* Footer */
.site-footer { background: var(--ink); color: var(--cream); padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; }
.site-footer h4 { color: var(--gold); font-size: 1rem; letter-spacing: .12em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a:not(.btn) { color: var(--cream); text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--gold); }
.site-footer .muted { color: #b5a891; margin-top: 1rem; }
.brand-footer img { width: 190px; height: auto; }
.footer-bottom { border-top: 1px solid #2c251d; margin-top: 3rem; padding-top: 1.3rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .85rem; color: #8f8370; }

/* Responsive */
@media (max-width: 1000px) {
  .beer-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.5rem; border-bottom: 3px solid var(--gold); display: none; }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid #2c251d; }
  .site-nav .nav-shop { margin-top: 1rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { width: 280px; }
  .merch-grid, .post-grid, .beer-grid-full, .feature-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .btn-row-end { justify-content: flex-start; }
  .charlie-card { position: static; }
}
@media (max-width: 560px) {
  .merch-grid, .post-grid, .beer-grid, .beer-grid-full, .feature-grid, .feature-grid-3, .steps, .footer-grid { grid-template-columns: 1fr; }
  .brand-text { font-size: 1.15rem; }
  .brand img { height: 42px; }
  .hero-art img { width: 240px; }
}
