/* Post & Row Brewing Co. — home page mockup
   Mobile-first. Brand values from "Post & Row Brand Guidelines 2025".
   Swap fonts/colours/logos by editing the variables below. */

/* ---------- Fonts (self-hosted Google Fonts, OFL) ----------
   Guide fonts: Refrigerator Deluxe (headings) + Vista Slab (body), both Adobe Fonts.
   Guide-named web substitutes: Rajdhani + Glegoo. If an Adobe Fonts kit is added,
   the real names below are listed first and will take over automatically. */
@font-face { font-family: "Rajdhani"; src: url(../assets/fonts/rajdhani-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url(../assets/fonts/rajdhani-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Glegoo"; src: url(../assets/fonts/glegoo-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Glegoo"; src: url(../assets/fonts/glegoo-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* Brand colours (guide p.7): PMS 44-16 C and PMS 41-14 C */
  --brown: #483735;
  --rust: #B4502F;
  /* Tints of the two brand colours (guide shows 5–100% tint wheels) */
  --rust-5: #FBF6F5;
  --rust-10: #F8EEEA;
  --rust-20: #F0DCD5;
  --brown-10: #EDEBEB;
  --brown-20: #DAD7D7;
  --brown-60: #918786;
  --brown-80: #6D5F5D;       /* 80% brown tint: secondary text (AA on light backgrounds) */
  --cream: #FAF1EE;          /* ~7% rust tint, used for reversed logos */
  --white: #FFFFFF;

  --bg: var(--rust-5);
  --text: var(--brown);

  --font-head: "refrigerator-deluxe", "Refrigerator Deluxe", "Rajdhani", "Arial Narrow", sans-serif;
  --font-body: "vista-slab", "Vista Slab", "Glegoo", "Courier New", Courier, serif;

  /* Logo + pattern files (all from the approved set in brand/logos/) */
  --logo-header: url(../assets/logos/logo-header.svg);
  --row-pattern: url(../assets/logos/row-pattern.svg);

  --radius: 6px;
  --wrap: 1180px;
  --gutter: 20px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 1rem; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.02; letter-spacing: .01em; margin: 0 0 .4em; text-transform: uppercase; }
h1 { font-size: clamp(2.5rem, 9vw, 4.75rem); }
h2 { font-size: clamp(2rem, 6vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brown); color: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; }

.eyebrow { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; margin-bottom: .6em; }
.eyebrow-rust { color: var(--rust); }
.eyebrow-light { color: var(--rust-20); }
.note { font-size: .88rem; color: var(--brown-80); }
.text-link { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--rust); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.text-link:hover { color: var(--brown); }

/* Placeholder markers: anything Clay still needs to confirm */
.ph-tag { display: inline-block; font-family: "Courier New", Courier, monospace; font-size: .74rem; line-height: 1.3; letter-spacing: 0; text-transform: none; font-weight: 700;
  color: var(--rust); background: var(--white); border: 1.5px dashed var(--rust); border-radius: 4px; padding: 2px 6px; vertical-align: middle; }
.ph-light { color: var(--white); background: rgba(72,55,53,.35); border-color: var(--cream); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 44px; padding: 8px 18px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; line-height: 1;
  text-decoration: none; border: 2px solid transparent; border-radius: var(--radius); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-lg { min-height: 52px; padding: 10px 24px; font-size: 1.15rem; }
.btn-rust { background: var(--rust); color: var(--white); border-color: var(--rust); }
.btn-rust:hover { background: var(--brown); border-color: var(--brown); }
.btn-brown { background: var(--brown); color: var(--white); border-color: var(--brown); }
.btn-brown:hover { background: var(--rust); border-color: var(--rust); }
.btn-line, .btn-line-dark { background: transparent; color: var(--brown); border-color: var(--brown); }
.btn-line:hover, .btn-line-dark:hover { background: var(--brown); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--brown); }
.btn[disabled] { opacity: .65; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--brown-10); }
.header-inner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px 12px; padding-block: 10px; }
.brand { display: block; line-height: 0; }
.brand img { height: 40px; width: auto; }
.status-pill { justify-self: end; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--rust-5); border: 1px solid var(--brown-20); font-size: .8rem; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.status-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brown-60); flex: none; }
.status-pill[data-state="open"] .dot { background: var(--rust); box-shadow: 0 0 0 0 rgba(180,80,47,.5); animation: pulse 2.4s infinite; }
.status-pill[data-state="soon"] .dot { background: transparent; border: 2px solid var(--rust); }
.status-pill[data-state="open"] .status-text strong, .status-pill[data-state="soon"] .status-text strong { color: var(--rust); }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(180,80,47,0); } 100% { box-shadow: 0 0 0 0 rgba(180,80,47,0); } }
@media (prefers-reduced-motion: reduce) { .status-pill .dot { animation: none !important; } html { scroll-behavior: auto; } }
.header-actions { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.header-actions .btn { min-height: 42px; padding-inline: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: 560px; height: 78svh; max-height: 820px; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--brown); }
.hero picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-img { object-fit: cover; object-position: 50% 60%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(72,55,53,.15) 0%, rgba(72,55,53,.10) 35%, rgba(72,55,53,.80) 72%, rgba(72,55,53,.94) 100%); }
.hero-copy { padding-block: 32px 36px; }
.hero-copy .eyebrow { color: var(--rust-20); font-size: .82rem; }
.hero h1 { max-width: 13ch; }
.hero h1 .nw { white-space: nowrap; }
.lede { font-size: 1.05rem; max-width: 34em; color: var(--cream); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-ctas .btn { flex: 1 1 auto; padding-inline: 14px; font-size: 1.05rem; }
.hero-photo-note { position: absolute; left: var(--gutter); top: 14px; margin: 0; max-width: min(60%, 420px); }
.hero-badge { position: absolute; top: 18px; right: 18px; width: 84px; height: auto; opacity: .95; }

/* ---------- Task tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding-block: 28px 8px; }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--brown); color: var(--white); text-decoration: none; }
.tile picture, .tile picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile picture img { object-fit: cover; transition: transform .4s ease; }
.tile:hover picture img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(72,55,53,0) 40%, rgba(72,55,53,.9) 100%); }
.tile-label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 12px; display: flex; flex-direction: column; }
.tile-title { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: 1.45rem; line-height: 1; }
.tile-title::after { content: " \2192"; color: var(--rust-20); }
.tile-sub { font-size: .78rem; line-height: 1.35; margin-top: 4px; color: var(--cream); }
.tile-pattern { background-color: var(--brown); }
.tile-pattern::before { content: ""; position: absolute; inset: 0; background: var(--row-pattern) center / 39px 56px; opacity: .35; }
.tile-pattern::after { background: linear-gradient(180deg, rgba(72,55,53,.2) 30%, rgba(72,55,53,.95) 100%); }
.tile-icon { position: absolute; z-index: 1; left: 50%; top: 40%; transform: translate(-50%, -50%); width: 52px; height: auto; }

/* ---------- On tap ---------- */
.ontap { padding-block: 36px 40px; }
.section-head h2 { margin-bottom: .2em; }
.tap-list { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 0 32px; }
.tap-list li { display: flex; flex-direction: column; padding: 12px 0; border-top: 1px solid var(--brown-20); }
.tap-name { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; line-height: 1.15; }
.tap-meta { font-size: .88rem; color: var(--brown-80); }

/* ---------- Story ---------- */
.story { background: var(--white); padding-block: 44px; }
.story-inner { display: grid; gap: 28px; align-items: center; }
.story-photo { margin: 0; }
.story-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 12 / 7; object-fit: cover; }
.story-photo figcaption { font-size: .82rem; color: var(--brown-80); margin-top: 8px; }
.story-icons { width: 200px; height: auto; margin-bottom: 18px; }

/* ---------- Book the brewery ---------- */
.book { position: relative; isolation: isolate; background: var(--brown); color: var(--white); padding-block: 48px; overflow: hidden; }
.book::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--row-pattern) 0 0 / 39px 56px; opacity: .12; }
.book-inner { display: grid; gap: 28px; }
.book-copy p { color: var(--cream); max-width: 36em; }
.book-copy p a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.book-copy p a:hover { color: var(--white); }
.book-points { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.book-points li { position: relative; padding-left: 26px; font-size: 1.02rem; }
.book-points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; background: var(--rust); border-radius: 2px; }
.fineprint { font-size: .82rem; margin-top: 14px; color: var(--rust-20) !important; }
.price-card { background: var(--cream); color: var(--brown); border-radius: var(--radius); padding: 18px 16px; text-align: center; border-top: 6px solid var(--rust); }
.price-days { display: block; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .95rem; }
.price { display: block; font-family: var(--font-head); font-weight: 700; font-size: 3.6rem; line-height: 1; margin-top: 6px; color: var(--rust); }
.price sup { font-size: .45em; vertical-align: top; position: relative; top: .35em; margin-right: 2px; }
.per { font-size: .32em; color: var(--brown); margin-left: 2px; }

/* ---------- Visit ---------- */
.visit { display: grid; gap: 28px; padding-block: 48px; }
.visit h2 { font-size: clamp(1.9rem, 5.5vw, 2.6rem); }
.addr { font-size: 1.05rem; margin-bottom: .6em; }
.contact-lines a { color: var(--rust); font-weight: 700; text-decoration: none; }
.visit-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 12px; }
.hours-title { margin-bottom: .5em; }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th, .hours td { text-align: left; padding: 11px 12px; border-top: 1px solid var(--brown-20); }
.hours td { text-align: right; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 1px solid var(--brown-20); }
.hours th { font-weight: 700; }
.hours tr.is-today { background: var(--rust-10); }
.hours tr.is-today th { color: var(--brown); }
.hours tr.is-today th::after { content: "Today"; margin-left: 8px; font-family: var(--font-head); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; background: var(--rust); color: var(--white); padding: 2px 6px; border-radius: 3px; vertical-align: 2px; }
.visit-col .note { margin-top: 12px; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--rust); color: var(--white); padding-block: 40px; }
.news-inner { display: grid; gap: 18px; align-items: center; }
.newsletter h2 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: .25em; }
.newsletter p { margin: 0; color: var(--cream); }
.news-form { display: flex; gap: 8px; }
.news-form input { flex: 1; min-width: 0; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--brown); background: var(--white); border: 2px solid var(--white); border-radius: var(--radius); }
.news-form .btn { background: var(--brown); border-color: var(--brown); min-height: 48px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown); color: var(--cream); padding-top: 44px; }
.footer-inner { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; }
.footer-brand img { width: 104px; flex: none; }
.footer-brand p { margin: 0; font-size: .92rem; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { text-decoration: none; font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 1.02rem; }
.footer-nav a:hover { color: var(--rust-20); text-decoration: underline; }
.footer-base { margin-top: 36px; padding-block: 18px 26px; border-top: 1px solid rgba(250,241,238,.18); font-size: .82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; }
.footer-base p { margin: 0; }
.site-footer .note { color: var(--rust-20); }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .tap-list { grid-template-columns: repeat(2, 1fr); }
  .tile-title { font-size: 1.7rem; }
  .tile-title::after { white-space: nowrap; }
  .tile-label { padding: 16px; }
  .tile-sub { font-size: .85rem; }
}

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
  html { scroll-padding-top: 90px; }
  .header-inner { grid-template-columns: auto auto 1fr; gap: 20px; padding-block: 12px; }
  .brand img { height: 50px; }
  .status-pill { justify-self: start; font-size: .85rem; }
  .header-actions { grid-column: auto; justify-self: end; display: flex; }
  .header-actions .btn { padding-inline: 20px; }
  .hero { height: 76vh; min-height: 600px; }
  .hero-copy { padding-block: 56px 132px; }
  .hero h1 { max-width: 20ch; font-size: clamp(3rem, 5.2vw, 4.5rem); }
  .hero-copy .eyebrow { font-size: .95rem; }
  .lede { font-size: 1.2rem; }
  .hero-ctas .btn { flex: 0 0 auto; padding-inline: 24px; font-size: 1.15rem; }
  .hero-photo-note { left: max(28px, calc((100vw - var(--wrap)) / 2 + 28px)); top: 18px; }
  .hero-badge { width: 132px; top: 40px; right: max(32px, calc((100vw - var(--wrap)) / 2 + 28px)); }
  .tiles { grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -72px; position: relative; z-index: 2; padding-top: 0; }
  .ontap { padding-block: 56px; }
  .section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
  .tap-list { grid-template-columns: repeat(3, 1fr); }
  .story { padding-block: 72px; }
  .story-inner { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .book { padding-block: 72px; }
  .book-inner { grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
  .price-card { padding: 28px 20px; }
  .price { font-size: 4.6rem; }
  .visit { grid-template-columns: 1fr 1fr; gap: 56px; padding-block: 72px; }
  .news-inner { grid-template-columns: 1.2fr 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: auto; align-items: flex-start; }
  .footer-brand img { width: 120px; }
  .tile-title { font-size: 1.55rem; }
}

/* =========================================================
   v2: interactivity (vanilla JS in js/main.js)
   ========================================================= */

/* ---------- Scroll reveal (only when JS is on and motion is OK) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--d, 0) * 70ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- Header shrinks on scroll ---------- */
.site-header { transition: box-shadow .2s ease; }
.header-inner { transition: padding .2s ease; }
.brand img { transition: height .2s ease; }
.site-header.is-scrolled { box-shadow: 0 2px 14px rgba(72,55,53,.12); }
.site-header.is-scrolled .header-inner { padding-block: 6px; }
.site-header.is-scrolled .brand img { height: 32px; }
.site-header.is-scrolled .header-actions .btn { min-height: 38px; }

/* ---------- Tile hover lift ---------- */
.tile { transition: transform .25s ease, box-shadow .25s ease; }
.tile:hover, .tile:focus-visible { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(72,55,53,.25); }
@media (prefers-reduced-motion: reduce) { .tile:hover, .tile:focus-visible { transform: none; } .tile:hover picture img { transform: none; } }

/* ---------- Tap list filters + expandable beers ---------- */
.tap-filters { display: none; gap: 8px; flex-wrap: wrap; margin: 18px 0 4px; }
.js .tap-filters { display: flex; }
.chip { font-family: var(--font-head); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; min-height: 40px; padding: 6px 16px;
  border-radius: 999px; border: 2px solid var(--brown-20); background: var(--white); color: var(--brown); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.chip:hover { border-color: var(--brown); }
.chip[aria-pressed="true"] { background: var(--brown); border-color: var(--brown); color: var(--white); }
.tap-list { align-items: start; }
.tap-list li { padding: 0; display: block; }
.tap-list li[hidden] { display: none; }
.tap-list details { padding: 0; }
.tap-list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 12px 0; }
.tap-list summary::-webkit-details-marker { display: none; }
.tap-list summary .tap-name { grid-column: 1; }
.tap-list summary .tap-meta { grid-column: 1; }
.tap-toggle { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--brown-20); position: relative; transition: transform .2s ease, background .2s, border-color .2s; }
.tap-toggle::before, .tap-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: var(--rust); transform: translate(-50%, -50%); }
.tap-toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .2s; }
.tap-list summary:hover .tap-toggle { border-color: var(--rust); }
.tap-list details[open] .tap-toggle { background: var(--rust); border-color: var(--rust); }
.tap-list details[open] .tap-toggle::before { background: var(--white); }
.tap-list details[open] .tap-toggle::after { opacity: 0; }
.tap-detail { padding: 0 0 14px; font-size: .95rem; }
.tap-detail p { margin: 0 0 .4em; }
.tap-price { font-family: var(--font-head); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--rust); }
@media (prefers-reduced-motion: no-preference) { .tap-list details[open] .tap-detail { animation: tapIn .25s ease; } }
@keyframes tapIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Reviews ---------- */
.reviews { background: var(--rust-10); padding-block: 48px; overflow: hidden; }
.reviews-head { display: grid; gap: 18px; margin-bottom: 22px; }
.rating-line { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin: 0; font-size: 1.05rem; }
.rating-line strong { font-family: var(--font-head); font-size: 1.6rem; line-height: 1; }
.stars-meter { --size: 1.35rem; position: relative; display: inline-block; font-size: var(--size); line-height: 1; letter-spacing: 2px; color: var(--brown-20); font-family: Arial, sans-serif; }
.stars-meter::before { content: "\2605\2605\2605\2605\2605"; }
.stars-meter::after { content: "\2605\2605\2605\2605\2605"; position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--rust); width: calc(var(--rating) / 5 * 100%); }
.reviews-links { display: flex; flex-wrap: wrap; gap: 10px; }
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain; scrollbar-width: none; padding: 4px 2px 8px; margin-inline: -2px; }
.carousel-track::-webkit-scrollbar { display: none; }
.review-card { scroll-snap-align: start; margin: 0; background: var(--white); border-radius: var(--radius); padding: 22px 20px 18px; display: flex; flex-direction: column; gap: 10px;
  border-top: 5px solid var(--rust); box-shadow: 0 2px 10px rgba(72,55,53,.06); }
.review-card .stars { color: var(--rust); font-family: Arial, sans-serif; letter-spacing: 2px; font-size: 1.1rem; line-height: 1; }
.review-card blockquote { margin: 0; flex: 1; }
.review-card blockquote p { margin: 0; font-size: 1rem; line-height: 1.6; }
.review-card .rev-by { margin: 0;  display: flex; flex-direction: column; border-top: 1px solid var(--brown-10); padding-top: 10px; }
.rev-name { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1.05rem; }
.rev-meta { font-size: .8rem; color: var(--brown-80); }
.carousel-ui { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.car-btn, .car-pause { min-width: 44px; min-height: 44px; border-radius: 999px; border: 2px solid var(--brown); background: transparent; color: var(--brown); font-size: 1.1rem; cursor: pointer; }
.car-btn:hover, .car-pause:hover { background: var(--brown); color: var(--white); }
.car-pause { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; padding: 0 14px; margin-left: auto; }
.car-dots { display: flex; gap: 6px; }
.car-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--brown-20); transition: background .2s, width .2s; }
.car-dots span.on { background: var(--rust); width: 22px; border-radius: 4px; }
.reviews .note { margin-top: 16px; }
.no-js-hide { display: none; }

/* ---------- Rental calculator ---------- */
.calc { background: rgba(250,241,238,.06); border: 1px solid rgba(250,241,238,.18); border-radius: var(--radius); padding: 20px; }
.calc h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 14px; }
.calc-days { border: 0; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc .price-card { position: relative; cursor: pointer; border: 3px solid transparent; border-top: 6px solid var(--rust-20); transition: transform .15s ease, border-color .15s ease, box-shadow .15s; padding: 16px 12px; }
.calc .price-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.calc .price-card:hover { transform: translateY(-2px); }
.calc .price-card:has(input:checked) { border-color: var(--rust); border-top-color: var(--rust); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.calc .price-card:has(input:focus-visible) { outline: 3px solid var(--white); outline-offset: 2px; }
.calc .price-card .price { font-size: 3rem; }
.calc-hours { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.calc-hours label { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 1.05rem; color: var(--white); }
.stepper { display: inline-flex; align-items: stretch; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--cream); }
.stepper button { width: 48px; min-height: 48px; border: 0; background: var(--cream); color: var(--brown); font-size: 1.5rem; font-weight: 700; cursor: pointer; }
.stepper button:hover { background: var(--white); color: var(--rust); }
.stepper button:disabled { opacity: .45; cursor: not-allowed; }
.stepper input { width: 64px; text-align: center; border: 0; background: var(--brown); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; -moz-appearance: textfield; }
.stepper input:focus-visible { outline: 3px solid var(--cream); outline-offset: -3px; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-result { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: var(--rust); border-radius: var(--radius); }
.calc-total { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--white); }
.calc-total.bump { animation: bump .3s ease; }
@keyframes bump { 50% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .calc-total.bump { animation: none; } }
.calc-break { font-size: .9rem; color: var(--cream); }
.calc-fine { font-size: .82rem; margin: 12px 0 0; color: var(--rust-20) !important; }

/* ---------- Instagram ---------- */
.insta { padding-block: 44px 48px; border-top: 1px solid var(--brown-20); }
.insta .section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 18px; }
.insta .section-head h2 { margin: 0; text-transform: none; }
.insta-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.insta-grid a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--brown-10); }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.insta-cap { position: absolute; inset: auto 0 0 0; padding: 10px 12px; font-size: .8rem; line-height: 1.35; color: var(--white);
  background: rgba(72,55,53,.94); opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
.insta-grid a:hover img, .insta-grid a:focus-visible img { transform: scale(1.05); }
.insta-grid a:hover .insta-cap, .insta-grid a:focus-visible .insta-cap { opacity: 1; transform: none; }
.insta .note { margin-top: 12px; }
.insta-grid a.insta-more { background: var(--brown) var(--row-pattern) 0 0 / 39px 56px; display: grid; place-items: center; text-decoration: none; }
.insta-more-inner { display: grid; justify-items: center; gap: 12px; padding: 16px; text-align: center; }
.insta-grid .insta-more img { width: 34px; height: auto; transition: none; }
.insta-more-text { color: var(--cream); font-weight: 700; font-size: .95rem; line-height: 1.3; background: rgba(72,55,53,.94); padding: 6px 10px; border-radius: 4px; }
.insta-more:hover .insta-more-text, .insta-more:focus-visible .insta-more-text { text-decoration: underline; }

@media (min-width: 640px) {
  .carousel-track { grid-auto-columns: calc((100% - 14px) / 2); }
}
@media (min-width: 960px) {
  .site-header.is-scrolled .brand img { height: 38px; }
  .reviews { padding-block: 72px; }
  .reviews-head { grid-template-columns: 1fr auto; align-items: end; }
  .carousel-track { grid-auto-columns: calc((100% - 28px) / 3); }
  .insta { padding-block: 56px 72px; }
  .visit { padding-bottom: 56px; }
  .section-head h2 { flex: none; }
  .insta-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .calc { padding: 26px; }
  .tap-filters { margin-top: 8px; }
}

.nowrap { white-space: nowrap; }

/* =========================================================
   v3: multi-page site (shared header with nav, inner pages)
   ========================================================= */

/* ---------- Top bar ---------- */
.topbar { background: var(--brown); color: var(--cream); font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 6px; }
.topbar .status-pill { justify-self: auto; background: var(--rust-5); color: var(--brown); border-color: transparent; }
.topbar-addr { display: none; }
.topbar-tel { color: var(--cream); text-decoration: none; font-weight: 700; }
.topbar-tel:hover { text-decoration: underline; }

/* ---------- Header + nav (mobile first) ---------- */
.header-inner { grid-template-columns: 1fr auto; grid-template-areas: "brand toggle" "actions actions" "nav nav"; }
.brand { grid-area: brand; }
.header-actions { grid-area: actions; }
.nav-toggle { grid-area: toggle; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 14px; border: 2px solid var(--brown-20); border-radius: var(--radius);
  background: var(--white); color: var(--brown); font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s ease, background .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.main-nav { grid-area: nav; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.main-nav a { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1.02rem; color: var(--brown); text-decoration: none; padding: 6px 0; border-bottom: 3px solid transparent; }
.main-nav a:hover { color: var(--rust); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--rust); }
.no-js .nav-toggle { display: none; }
.js .main-nav { display: none; }
.js .site-header.nav-open .main-nav { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--brown-10); padding-top: 4px; }
.js .site-header.nav-open .main-nav a { padding: 12px 2px; font-size: 1.25rem; border-bottom: 1px solid var(--brown-10); }
.js .site-header.nav-open .main-nav a[aria-current="page"] { color: var(--rust); }
html:not(.js) .nav-toggle { display: none; }

@media (min-width: 640px) {
  .topbar-addr { display: inline; opacity: .85; margin-left: auto; }
  .topbar-tel { margin-left: 16px; }
}
@media (min-width: 1100px) {
  .header-inner { grid-template-columns: auto 1fr auto; grid-template-areas: "brand nav actions"; gap: 24px; }
  .nav-toggle { display: none; }
  .js .main-nav, .main-nav { display: flex; justify-content: center; gap: 4px 22px; flex-wrap: nowrap; }
  .main-nav a { white-space: nowrap; font-size: 1rem; }
}
@media (min-width: 960px) and (max-width: 1099px) {
  .header-inner { grid-template-columns: auto 1fr auto; grid-template-areas: "brand actions toggle" "nav nav nav"; }
  .header-actions { justify-self: end; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; background: var(--brown); color: var(--white); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--row-pattern) 0 0 / 39px 56px; opacity: .1; }
.page-hero-inner { display: grid; gap: 24px; align-items: center; padding-block: 40px 44px; }
.page-hero h1 { color: var(--white); font-size: clamp(2.5rem, 9vw, 4.25rem); max-width: 16ch; }
.page-hero .lede { color: var(--cream); max-width: 40em; }
.page-hero-symbol, .page-hero-crest, .page-hero-photo { display: none; }
@media (min-width: 960px) {
  .page-hero-inner { grid-template-columns: 1fr auto; padding-block: 64px 68px; gap: 48px; }
  .page-hero-symbol { display: block; width: 110px; opacity: .9; margin-right: 40px; }
  .page-hero-crest { display: block; width: 170px; margin-right: 24px; }
  .page-hero-photo { display: block; }
  .page-hero-photo img { width: 340px; height: 300px; object-fit: cover; border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0,0,0,.3); }
}

/* ---------- Shared bits ---------- */
.callout { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border-radius: var(--radius); border-left: 5px solid var(--rust); padding: 18px 20px; margin: 8px 0 28px; }
.callout img { flex: none; width: 28px; height: auto; margin-top: 4px; }
.callout h3 { font-size: 1.3rem; margin-bottom: .3em; }
.callout p { margin: 0 0 .4em; }
.cta-band { background: var(--rust); color: var(--white); padding-block: 40px; }
.cta-band-inner { display: grid; gap: 16px; align-items: center; }
.cta-band h2 { margin-bottom: .2em; font-size: clamp(1.8rem, 5vw, 2.4rem); }
.cta-band p { margin: 0; color: var(--cream); }
.source { font-size: .78rem; color: var(--brown-80); }
.sub-h { font-size: 1.25rem; margin: 22px 0 6px; }
@media (min-width: 960px) { .cta-band-inner { grid-template-columns: 1fr auto; } .cta-band { padding-block: 52px; } }

/* FAQ (details) */
.faq { padding-block: 48px; }
.faq-list { max-width: 820px; border-bottom: 1px solid var(--brown-20); }
.faq-list details { border-top: 1px solid var(--brown-20); }
.faq-list summary { list-style: none; cursor: pointer; position: relative; padding: 16px 44px 16px 0; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--brown-20); color: var(--rust); display: grid; place-items: center; font-size: 1.1rem; line-height: 1; }
.faq-list details[open] summary::after { content: "\2212"; background: var(--rust); border-color: var(--rust); color: var(--white); }
.faq-list summary:hover { color: var(--rust); }
.faq-list details p { margin: 0 0 16px; max-width: 64ch; }
@media (prefers-reduced-motion: no-preference) { .faq-list details[open] p { animation: tapIn .25s ease; } }

/* ---------- Tap list page ---------- */
.tap-list-page summary { grid-template-columns: 1fr auto auto; }
.tap-sumprice { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--rust); }
.tap-sumprice { white-space: nowrap; }
.tap-sumsep { font-weight: 400; color: var(--brown-80); }
.tap-list-page .tap-toggle { grid-column: 3; }
.drinks-more { background: var(--white); padding-block: 48px; }

/* ---------- Food menu ---------- */
.jump { padding-block: 22px 6px; }
.jump-label { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--rust); margin: 0 0 8px; }
.jump-links { display: flex; flex-wrap: wrap; gap: 8px; }
.jump-links .chip { text-decoration: none; display: inline-flex; align-items: center; }
.jump-links .chip.is-active { background: var(--brown); color: var(--white); border-color: var(--brown); }
.menu-wrap { padding-bottom: 40px; }
.menu-meta { padding-block: 10px 6px; }
.menu-meta .note { margin-bottom: .4em; }
.menu-section { padding-block: 26px 10px; scroll-margin-top: 150px; }
.menu-section-head h2 { margin-bottom: .2em; }
.menu-note { font-size: .9rem; color: var(--brown-80); margin: 0 0 .3em; max-width: 70ch; }
.menu-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 0 40px; }
.menu-item { border-top: 1px solid var(--brown-20); padding: 12px 0 10px; }
.menu-item-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.menu-item h3 { font-size: 1.22rem; margin: 0; text-transform: uppercase; }
.menu-size { font-family: var(--font-body); font-weight: 400; text-transform: none; font-size: .8rem; color: var(--brown-80); }
.menu-price { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--rust); white-space: nowrap; }
.menu-item p { margin: 4px 0 0; font-size: .92rem; color: var(--brown-80); line-height: 1.5; }
.menu-item .menu-addon { color: var(--brown); font-style: italic; }
.menu-specials { margin-top: 30px; background: var(--white); border-radius: var(--radius); border-top: 5px solid var(--rust); padding: 22px 20px; }
.specials-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.specials-list li { font-size: .95rem; }
.specials-list strong { font-family: var(--font-head); text-transform: uppercase; font-size: 1.15rem; letter-spacing: .02em; }
@media (min-width: 760px) { .menu-list { grid-template-columns: 1fr 1fr; } .specials-list { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 960px) { .menu-section { scroll-margin-top: 110px; padding-top: 36px; } }

/* ---------- Book the brewery page ---------- */
.book-facts { padding-block: 28px 4px; }
.fact-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fact-row li { background: var(--white); border-radius: var(--radius); padding: 16px; text-align: center; border-top: 5px solid var(--rust); display: flex; flex-direction: column; gap: 4px; }
.fact-big { font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--rust); }
.fact-big small { font-size: .45em; color: var(--brown); }
.fact-label { font-size: .85rem; line-height: 1.3; }
.uses { padding-block: 36px 40px; }
.use-grid { list-style: none; margin: 16px 0 12px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.use-grid li { background: var(--white); border-radius: var(--radius); padding: 16px; border-left: 4px solid var(--rust); }
.use-grid h3 { font-size: 1.25rem; margin-bottom: .2em; }
.use-grid p { margin: 0; font-size: .88rem; color: var(--brown-80); line-height: 1.45; }
.space { padding-block: 48px; }
.space-grid { display: grid; gap: 28px; }
.space-list { margin: 16px 0 0; display: grid; gap: 0; }
.space-list div { border-top: 1px solid var(--brown-20); padding: 12px 0; display: grid; gap: 4px; }
.space-list dt { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.space-list dd { margin: 0; font-size: .95rem; }
.photo-ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.photo-ph { aspect-ratio: 4 / 3; border: 2px dashed var(--brown-20); border-radius: var(--radius); background: var(--white) var(--row-pattern) center / 39px 56px; display: grid; place-items: center; padding: 10px; position: relative; }
.photo-ph::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.95); border-radius: inherit; }
.photo-ph .ph-tag { position: relative; }
.photo-ph:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.catering { position: relative; isolation: isolate; background: var(--brown); color: var(--white); padding-block: 48px; overflow: hidden; }
.catering::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--row-pattern) 0 0 / 39px 56px; opacity: .1; }
.catering-inner { display: grid; gap: 24px; align-items: center; }
.catering-icons { width: 240px; height: auto; opacity: .95; }
.catering p { color: var(--cream); max-width: 40em; }
.catering-menus { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.catering-menu-card { display: block; background: var(--cream); color: var(--brown); border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: 0 2px 0 rgba(0, 0, 0, .18); transition: transform .15s ease, box-shadow .15s ease; }
.catering-menu-card:hover, .catering-menu-card:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .28); }
.catering-menu-card:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.catering-menu-card picture, .catering-menu-card img { display: block; width: 100%; height: auto; }
.catering-menu-label { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; line-height: 1.2; }
.catering-menu-hint { font-family: var(--font-body); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: .82rem; color: var(--brown-80); }
@media (min-width: 640px) {
  .catering-menus { grid-template-columns: 1fr 1fr; gap: 18px; }
}
@media (min-width: 960px) {
  .fact-row { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .fact-big { font-size: 3rem; }
  .use-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .space-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .space { padding-block: 72px; }
  .catering { padding-block: 72px; }
  .catering-inner { grid-template-columns: 300px 1fr; gap: 56px; }
  .catering-icons { width: 300px; }
  .catering-menus { margin-top: 36px; gap: 24px; max-width: 920px; }
  .faq { padding-block: 72px; }
}

/* ---------- Events ---------- */
.weekly { padding-block: 40px 48px; }
.weekly-grid { display: grid; gap: 16px; margin-top: 18px; }
.weekly-card { display: grid; grid-template-columns: 96px 1fr; gap: 16px; background: var(--white); border-radius: var(--radius); padding: 14px; align-items: start; }
.weekly-img { width: 96px; height: 120px; object-fit: cover; border-radius: 4px; }
.weekly-img-pattern { background: var(--brown) var(--row-pattern) 0 0 / 39px 56px; display: grid; place-items: center; }
.weekly-img-pattern img { width: 34px; height: auto; }
.weekly-when { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--rust); margin: 0 0 2px; }
.weekly-card h3 { font-size: 1.5rem; margin-bottom: .2em; }
.weekly-card p { font-size: .92rem; margin-bottom: .5em; }
.weekly-card .source { margin: 6px 0 0; }
.addcal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 6px 0 2px; }
.addcal-label { font-size: .78rem; color: var(--brown-80); width: 100%; }
.addcal-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 12px; border: 2px solid var(--brown-20); border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--brown); background: var(--white); }
.addcal-btn:hover { border-color: var(--rust); color: var(--rust); }
.upcoming { background: var(--rust-10); padding-block: 44px; }
.upcoming-inner { display: grid; gap: 28px; }
.cal { background: var(--white); border-radius: var(--radius); padding: 16px; }
.cal-title { font-size: 1.3rem; margin-bottom: 10px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: .72rem; letter-spacing: .06em; text-align: center; color: var(--brown-80); padding-bottom: 4px; }
.cal-day { aspect-ratio: 1; border-radius: 4px; background: var(--rust-5); font-size: .85rem; position: relative; }
.cal-day > a, .cal-day > span[aria-hidden] { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: inherit; }
.cal-day.is-empty { background: transparent; }
.cal-day.is-past { opacity: .45; }
.cal-day.is-today { box-shadow: inset 0 0 0 2px var(--brown); font-weight: 700; }
.cal-day.has-event { background: var(--rust-20); }
.cal-day.has-event a:hover { background: var(--rust); color: var(--white); border-radius: 4px; }
.cal-dots { display: flex; gap: 2px; min-height: 7px; }
.cal-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }
.cal-t { background: var(--rust); } .cal-q { background: var(--brown); } .cal-b { background: var(--brown-20); box-shadow: inset 0 0 0 1px var(--brown-60); }
.cal-x { background: var(--white); box-shadow: inset 0 0 0 2px var(--rust); width: 9px; height: 9px; }
.cal-legend { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; }
.cal-legend li { display: inline-flex; align-items: center; gap: 6px; }
.month-title { font-size: 1.3rem; margin: 18px 0 8px; color: var(--rust); }
.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.event-row { display: grid; grid-template-columns: 64px 1fr; gap: 14px; background: var(--white); border-radius: var(--radius); padding: 14px; scroll-margin-top: 150px; }
.event-row:target { box-shadow: 0 0 0 3px var(--rust); }
.event-date { background: var(--brown); color: var(--white); border-radius: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 4px; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; line-height: 1; height: 76px; }
.event-dow { font-size: .75rem; letter-spacing: .08em; color: var(--rust-20); }
.event-day { font-size: 1.9rem; }
.event-mon { font-size: .8rem; letter-spacing: .08em; }
.event-kind { font-size: .8rem; color: var(--brown-80); margin: 0 0 2px; }
.event-row h3 { font-size: 1.35rem; margin-bottom: .25em; }
.event-row p { font-size: .92rem; margin-bottom: .4em; }
.past { padding-block: 48px; }
.past-grid { display: grid; gap: 28px; }
.past-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.past-list li { border-top: 1px solid var(--brown-20); padding-top: 12px; font-size: .95rem; }
.past-list time { display: block; font-family: var(--font-head); font-weight: 700; color: var(--rust); text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.follow-card { background: var(--white); border-radius: var(--radius); padding: 22px; border-top: 5px solid var(--rust); align-self: start; }
.follow-card h3 { font-size: 1.5rem; }
@media (min-width: 760px) { .weekly-grid { grid-template-columns: 1fr 1fr; } .weekly-card { grid-template-columns: 120px 1fr; } .weekly-img { width: 120px; height: 150px; } .addcal-label { width: auto; } }
@media (min-width: 960px) {
  .weekly { padding-block: 56px 64px; }
  .upcoming { padding-block: 64px; }
  .upcoming-inner { grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
  .upcoming-cal { position: sticky; top: 110px; }
  .past-grid { grid-template-columns: 1.4fr 1fr; gap: 56px; }
  .past { padding-block: 64px; }
}

/* ---------- Visit & contact ---------- */
.visit-main { padding-block: 32px 44px; }
.visit-grid { display: grid; gap: 18px; }
.visit-card { background: var(--white); border-radius: var(--radius); padding: 22px 20px; scroll-margin-top: 150px; }
.visit-card h2 { font-size: 2rem; }
.map-facade { position: relative; margin-top: 18px; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--brown-10) var(--row-pattern) 0 0 / 39px 56px; }
.map-facade::before { content: ""; position: absolute; inset: 0; background: rgba(250,241,238,.9); }
.map-facade-inner { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 16px; }
.map-facade-inner p { font-size: .9rem; margin: 0; }
.map-facade-inner .hero-ctas { justify-content: center; margin-top: 8px; }
.map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reserve-band { background: var(--brown); color: var(--white); padding-block: 40px; }
.reserve-inner { display: grid; gap: 16px; align-items: center; }
.reserve-band p { color: var(--cream); margin: 0; max-width: 46em; }
.reserve-band a:not(.btn) { color: var(--white); }
.contact { background: var(--white); padding-block: 48px; }
.contact-inner { display: grid; gap: 28px; }
.contact-form { display: grid; gap: 14px; background: var(--rust-5); border-radius: var(--radius); padding: 20px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 14px; }
.field label { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; color: var(--brown); background: var(--white); border: 2px solid var(--brown-20); border-radius: var(--radius); padding: 10px 12px; min-height: 46px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--rust); outline: none; box-shadow: 0 0 0 3px var(--rust-20); }
.contact-form p { margin: 0; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .visit-main { padding-block: 48px 64px; }
  .visit-grid { grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
  .visit-card { padding: 30px; }
  .reserve-inner { grid-template-columns: 1fr auto; }
  .reserve-band { padding-block: 52px; }
  .contact { padding-block: 72px; }
  .contact-inner { grid-template-columns: 1fr 1.1fr; gap: 56px; }
  .contact-form { padding: 28px; }
}

/* ---------- About ---------- */
.name-story { padding-block: 44px; }
.name-grid { display: grid; gap: 28px; align-items: center; }
.name-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.name-card { background: var(--white); border-radius: var(--radius); padding: 16px; border-top: 5px solid var(--rust); }
.name-word { display: block; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: 2.6rem; line-height: 1; color: var(--rust); margin-bottom: 6px; }
.name-card p { margin: 0; font-size: .9rem; line-height: 1.5; }
.name-photos { margin: 0; }
.name-photos img { border-radius: var(--radius); width: 100%; aspect-ratio: 12 / 7; object-fit: cover; }
.name-photos figcaption { font-size: .82rem; color: var(--brown-80); margin-top: 8px; }
.timeline-sec { background: var(--white); padding-block: 48px; }
.timeline { list-style: none; margin: 20px 0 0; padding: 0 0 0 22px; position: relative; display: grid; gap: 22px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 3px; background: var(--rust-20); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -22px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--rust); box-shadow: 0 0 0 4px var(--white); }
.tl-when { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--rust); font-size: .95rem; }
.timeline h3 { font-size: 1.45rem; margin: 2px 0 .25em; }
.timeline p { margin: 0; font-size: .95rem; }
.offer { padding-block: 48px; }
.offer-grid { display: grid; gap: 24px; }
.offer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.offer-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--white); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 1.1rem; border-left: 4px solid var(--rust); transition: transform .15s ease; }
.offer-list a::after { content: "\2192"; color: var(--rust); }
.offer-list a:hover { transform: translateX(3px); color: var(--rust); }
.icon-band { display: flex; justify-content: center; padding-top: 36px; grid-column: 1 / -1; }
.icon-band picture { display: flex; justify-content: center; width: 100%; }
.icon-band img { width: min(420px, 90%); height: auto; }
.team { background: var(--rust-10); padding-block: 48px; }
.team-grid { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.team-grid li { background: var(--white); border-radius: var(--radius); padding: 12px; }
.team-photo { aspect-ratio: 1; border: 2px dashed var(--brown-20); border-radius: 4px; display: grid; place-items: center; margin-bottom: 10px; background: var(--rust-5); }
.team-grid h3 { font-size: 1.2rem; margin-bottom: .2em; }
.team-grid p { margin: 0; font-size: .85rem; line-height: 1.45; }
.land-ack { margin-top: 20px; }
.land-ack-block { padding-block: 8px 32px; }
@media (min-width: 960px) {
  .name-story { padding-block: 72px; }
  .name-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .timeline-sec { padding-block: 72px; }
  .timeline { grid-template-columns: repeat(4, 1fr); padding: 34px 0 0; gap: 28px; }
  .timeline::before { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 3px; }
  .timeline li::before { left: 0; top: -34px; }
  .offer { padding-block: 72px; }
  .offer-grid { grid-template-columns: 1.3fr 1fr; gap: 56px; }
  .team { padding-block: 72px; }
  .team-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}

/* ---------- Gift cards ---------- */
.gift-grid { display: grid; gap: 18px; padding-block: 36px 12px; }
.gift-card-panel { background: var(--white); border-radius: var(--radius); padding: 24px 22px; border-top: 6px solid var(--rust); }
.gift-card-panel h2 { font-size: 2.2rem; }
.gift-note { padding-bottom: 48px; }
@media (min-width: 960px) { .gift-grid { grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 56px 16px; } .gift-card-panel { padding: 34px; } }

/* Visible focus for links inside dark bands */
.page-hero a:focus-visible, .cta-band a:focus-visible, .reserve-band a:focus-visible, .catering a:focus-visible, .book a:focus-visible { outline-color: var(--white); }

/* v3.1: FAQ beside its heading on wide screens */
@media (min-width: 960px) {
  .faq { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 24px 64px; align-items: start; }
  .faq > h2 { margin-top: 0; }
  .faq .faq-list { max-width: none; }
}
/* v3.1: events on small phones */
@media (max-width: 559px) {
  .weekly-card { grid-template-columns: 1fr; gap: 12px; }
  .weekly-img { width: 100%; height: 150px; }
  .weekly-img-pattern { height: 96px; }
  .addcal-ext { display: none; }
  .addcal-btn { font-size: .85rem; padding: 4px 11px; }
}
/* v3.2: events from Clay's calendar. All events use one colour: brand copper (#B4502F) */
.cal-ev { background: var(--rust); }
.upcoming-cal .cal + .cal { margin-top: 18px; }
.cal-day.has-event { background: var(--rust-20); }
.cal-day.has-oneoff { background: var(--rust); color: var(--white); }
.cal-day.has-oneoff .cal-ev { background: var(--white); }
.cal-day.has-oneoff a:hover { background: var(--brown); }
.cal-day.has-event:not(.has-oneoff) a:hover { background: var(--rust); color: var(--white); border-radius: 4px; }
.cal-day.has-event:not(.has-oneoff) a:hover .cal-ev { background: var(--white); }
.cal-legend { margin: 0 0 14px; }
.cal-note { font-size: .82rem; color: var(--brown-80); margin: 10px 0 0; }
.event-date { background: var(--rust); }
.event-dow { color: var(--white); opacity: .85; }
.event-type { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--rust); }
.more-note { margin-top: 18px; }
.skip-note { background: var(--rust-10); border-left: 3px solid var(--rust); padding: 6px 10px; border-radius: 0 4px 4px 0; font-size: .9rem; }
.fundraisers { background: var(--rust) var(--row-pattern) 0 0 / 39px 56px; color: var(--white); position: relative; }
.fundraisers::before { content: ""; position: absolute; inset: 0; background: rgba(180, 80, 47, .93); }
.fund-inner { position: relative; display: grid; gap: 20px; padding-block: 40px; align-items: center; }
.fundraisers h2 { color: var(--white); margin-bottom: .3em; }
.fundraisers p { max-width: 60ch; margin: 0; }
.fund-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.fund-q { width: 100%; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .03em; }
@media (min-width: 960px) { .fund-inner { grid-template-columns: 1.4fr 1fr; gap: 48px; padding-block: 52px; } }
.fundraisers .eyebrow { color: var(--white); }
.fundraisers .btn-brown:hover { background: var(--white); color: var(--brown); border-color: var(--white); }
.cal-key { width: 14px; height: 14px; border-radius: 3px; display: inline-block; flex: none; }
.cal-key-event { background: var(--rust); }
.cal-key-trivia { background: var(--rust-20); box-shadow: inset 0 0 0 1px rgba(180, 80, 47, .35); }
@media (max-width: 759px) { .upcoming-cal .cal + .cal { display: none; } }

/* ---------- v4: real Post & Row photos (Drive shoots; see BRAND_NOTES.md §6) ---------- */
/* Inner page heroes: a banner under the heading on phones, a framed photo beside it from 960px */
.page-hero-photo { display: block; }
.page-hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: var(--pos, 50% 50%); border-radius: var(--radius); box-shadow: 0 10px 26px rgba(0,0,0,.28); }
@media (min-width: 640px) and (max-width: 959px) { .page-hero-photo img { aspect-ratio: 21 / 9; } }
@media (min-width: 960px) { .page-hero-photo img { width: 340px; height: 300px; aspect-ratio: auto; } }
/* Home hero: phones get their own portrait crop; keep the pint and the food in frame */
.hero-img { object-position: 50% 50%; }
@media (min-width: 640px) and (max-width: 959px) { .hero-img { object-position: 55% 50%; } }
@media (min-width: 960px) { .hero-img { object-position: 50% 50%; } }
/* Events: the Wing Night <picture> is the grid item; the img keeps .weekly-img sizing */
.weekly-pic { display: block; }
.weekly-pic img { display: block; }
/* Book the Brewery: photos of the space */
.space-photos { display: grid; gap: 14px; align-content: start; margin: 0; }
.space-photo { margin: 0; }
.space-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.space-photo figcaption { margin-top: 6px; }
.space-photo-43 img { aspect-ratio: 4 / 3; }
/* Food menu: dish photos under each section heading */
.menu-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 4px 0 22px; }
.menu-photos-1 { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
.menu-photo { margin: 0; }
.menu-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--brown-20); }
.menu-photo figcaption { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .85rem; color: var(--brown-80); margin-top: 6px; }
/* Oct 4 2026: a 3-photo row (Handhelds) on phones: the odd third photo spans both columns as a 16:9 banner instead of sitting alone */
@media (max-width: 759px) { .menu-photos-3 .menu-photo:last-child { grid-column: 1 / -1; } .menu-photos-3 .menu-photo:last-child img { aspect-ratio: 16 / 9; } }
@media (min-width: 760px) {
  .menu-photos { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .menu-photos-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
  .menu-photos-1 { grid-template-columns: minmax(0, 1fr); max-width: 360px; }
}
/* v4.1: Tap List seasonal callout with the Festbier photo (Instagram @postandrow) */
.callout:has(.callout-photo) { flex-direction: column; gap: 18px; padding: 20px; }
.callout .callout-photo { display: block; flex: none; width: min(280px, 100%); }
.callout .callout-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; margin: 0; border-radius: var(--radius); }
.callout-now { font-size: 1.02rem; }
.callout-now .eyebrow { display: block; margin-bottom: 2px; }
@media (min-width: 760px) {
  .callout:has(.callout-photo) { flex-direction: row; align-items: center; gap: 28px; padding: 22px 28px 22px 22px; }
  .callout .callout-photo { width: 220px; }
}

/* ---------- Pintail Pilsner x Ducks Unlimited Canada (/pintail-pilsner/) ---------- */
.pt-beer { padding-block: 44px; }
.pt-beer-grid { display: grid; gap: 28px; align-items: center; }
.pt-photo { margin: 0; }
.pt-photo img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); background: var(--brown-20); }
.pt-photo-tall img { aspect-ratio: 3 / 4; max-height: 560px; }
.pt-photo-23 img { aspect-ratio: 2 / 3; }
.pt-photo-32 img { aspect-ratio: 3 / 2; }
.pt-photo figcaption { font-size: .82rem; color: var(--brown-80); margin-top: 6px; }
.pt-specs dd { font-size: 1rem; }
.pt-flyway { background: var(--white); padding-block: 44px; }
.pt-cards { display: grid; gap: 16px; margin-bottom: 24px; }
.pt-card { background: var(--rust-5); border-radius: var(--radius); border-top: 5px solid var(--rust); padding: 20px; }
.pt-card h2 { font-size: clamp(1.6rem, 4.5vw, 2rem); }
.pt-card p { margin: 0 0 .6em; }
.pt-latin { color: var(--brown-80); }
.pt-traits { margin: 0; padding-left: 1.2em; }
.pt-photos { display: grid; gap: 16px; align-items: start; }
.pt-support { padding-block: 44px 20px; }
.pt-support-box { background: var(--white); border-left: 5px solid var(--rust); border-radius: var(--radius); padding: 24px 22px; }
.pt-quote { margin: 18px 0 20px; padding: 0 0 0 16px; border-left: 3px solid var(--rust-20); }
.pt-quote p { font-style: italic; font-size: 1.05rem; margin-bottom: .5em; }
.pt-quote footer { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--rust); }
.pt-where { padding-block: 24px 44px; }
.pt-where-list { margin: 14px 0 20px; max-width: 760px; }
.pt-where-list li { background: var(--white); border-radius: var(--radius); padding: 14px 16px; border-left: 4px solid var(--rust); }
.pt-duc { border-top: 1px solid var(--brown-20); padding-block: 32px 40px; text-align: center; }
.pt-duc-inner { display: grid; justify-items: center; gap: 4px; }
.pt-duc img { width: 240px; max-width: 100%; height: auto; margin-bottom: 10px; }
.pt-duc p { margin: 0; font-size: .92rem; }
.pt-duc .pt-responsibly { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1.2rem; margin-top: 8px; }
@media (min-width: 640px) {
  .pt-cards { grid-template-columns: 1fr 1fr; }
  .pt-photos { grid-template-columns: 2fr 3fr; }
}
@media (min-width: 960px) {
  .pt-beer-grid { grid-template-columns: 440px 1fr; gap: 48px; }
  .pt-beer, .pt-flyway { padding-block: 60px; }
}
/* Tap List: Pintail Pilsner feature (links to /pintail-pilsner/) */
.callout-pintail { border-left-color: var(--brown); }

/* ---- prod-only overrides (src/prod.css) ---- */
/* Prod-only rules, appended to dist/css/styles.css by `python3 tools/build.py --prod`.
   They cover layout gaps left where dev-only placeholder blocks were removed. */

/* Visit: contact options replace the unconnected contact form */
.contact-options { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.contact-opt { display: grid; gap: 2px; background: var(--rust-5); border-radius: var(--radius); padding: 16px 18px; text-decoration: none;
  border-left: 4px solid var(--rust); transition: transform .15s ease; }
.contact-opt:hover, .contact-opt:focus-visible { transform: translateX(3px); }
.contact-opt-label { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 1.1rem; color: var(--brown); }
.contact-opt-value { color: var(--rust); overflow-wrap: anywhere; }
@media (min-width: 640px) { .contact-options { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .contact-opt { transition: none; } .contact-opt:hover { transform: none; } }

/* Gift cards: the trailing note block is gone, keep breathing room above the footer */
main > .gift-grid:last-child { padding-bottom: 64px; }

/* 404 page */
.notfound { padding-block: 40px 56px; }
.notfound h2 { margin-bottom: .6em; }
.notfound-list { max-width: 36rem; margin-bottom: 18px; }
