/* =====================================================================
   Brewing Tree — design system  ("Riverside Craft")
   Evolve-current refresh: birch paper · forest green · river slate ·
   copper accent. Display serif (Fraunces) + humanist sans (Hanken Grotesk).
   ===================================================================== */

/* Fraunces' optical-size axis is capped at 24 (full range is 9..144) so that
   font-optical-sizing:auto doesn't snap large headings to the display cut, whose
   lowercase "f" has a swashy descender below the baseline. Capping = a clean,
   conventional "f" at every heading size while keeping Fraunces' warmth. */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..24,400;9..24,500;9..24,600&family=Hanken+Grotesk:wght@400;500;600;700&display=swap");

:root {
  /* palette */
  --paper:      #f5efe1;   /* birch */
  --paper-2:    #efe7d4;
  --ink:        #221f1a;   /* warm near-black */
  --ink-soft:   #4a4438;
  --forest:     #20402c;   /* deep brand green */
  --forest-2:   #2f5d3a;
  --river:      #3c6e6a;   /* slate teal — water */
  --copper:     #bf6a2c;   /* beer / CTA accent */
  --copper-dk:  #9c531f;
  --sand:       #d8ccb2;   /* borders / rules */
  --line: color-mix(in srgb, var(--ink) 14%, transparent);

  /* type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --step--1: clamp(.82rem, .79rem + .15vw, .92rem);
  --step-0:  clamp(1rem, .96rem + .25vw, 1.15rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-4:  clamp(2.4rem, 1.9rem + 2.6vw, 4rem);
  --step-6:  clamp(3.4rem, 2.4rem + 5vw, 6.5rem);

  --maxw: 72rem;
  --radius: 4px;
  --shadow: 0 1px 0 rgba(0,0,0,.04), 0 18px 40px -24px rgba(34,31,26,.45);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  /* atmosphere: soft light wash + paper grain */
  background-image:
    radial-gradient(120% 80% at 80% -10%, color-mix(in srgb, var(--river) 16%, transparent), transparent 60%),
    radial-gradient(90% 60% at -10% 0%, color-mix(in srgb, var(--copper) 10%, transparent), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.04; letter-spacing: -.01em; color: var(--forest); margin: 0 0 .5em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-2); }
p { margin: 0 0 1rem; max-width: 62ch; }
a { color: var(--copper-dk); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }

:focus-visible { outline: 2px solid var(--river); outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--forest); color: var(--paper); padding: .5rem .9rem; border-radius: var(--radius); z-index: 50; }

main { max-width: var(--maxw); margin: 0 auto; padding: clamp(2rem, 5vw, 4.5rem) clamp(1.1rem, 4vw, 2rem); }
section + section { margin-top: clamp(2.5rem, 6vw, 5rem); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem clamp(1.1rem, 4vw, 2rem);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--display); font-weight: 600; font-size: 1.3rem;
  color: var(--forest); text-decoration: none; letter-spacing: -.02em;
  display: inline-flex; align-items: baseline; gap: .45rem;
}
.brand::before { content: "❦"; color: var(--copper); font-size: .9em; }
.nav { display: flex; gap: clamp(.6rem, 1.4vw, 1.4rem); align-items: center; flex-wrap: wrap; }
.nav a {
  color: var(--ink-soft); text-decoration: none; font-weight: 500;
  font-size: var(--step--1); letter-spacing: .02em; text-transform: uppercase;
  padding: .25rem 0; position: relative;
}
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--copper); transition: width .25s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

/* CSS-only responsive nav: inline on desktop, checkbox-hack hamburger on
   mobile. (A <details> kept the links hidden on desktop — this is robust.) */
.nav-toggle { position: absolute; left: -9999px; }       /* a11y-hidden checkbox */
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: .55rem .4rem; cursor: pointer; }
.nav-burger span { display: block; width: 26px; height: 2px; background: var(--forest); border-radius: 2px; }

@media (max-width: 820px) {
  .site-header { position: relative; }
  .nav-burger { display: flex; }
  .nav {
    display: none; position: absolute; right: clamp(1.1rem, 4vw, 2rem); top: 100%;
    flex-direction: column; align-items: flex-start; gap: .9rem; background: var(--paper);
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1rem 1.2rem; min-width: 13rem; box-shadow: var(--shadow); z-index: 45;
  }
  .nav-toggle:checked ~ .nav { display: flex; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
}
.hero::before { /* Blue Ridge topographic ridgelines */
  content: ""; position: absolute; inset: auto 0 0 0; height: 60%; z-index: -1; opacity: .5;
  background:
    radial-gradient(140% 90% at 50% 140%, transparent 48%, color-mix(in srgb, var(--river) 35%, transparent) 49%, transparent 51%),
    radial-gradient(160% 100% at 30% 150%, transparent 54%, color-mix(in srgb, var(--forest) 28%, transparent) 55%, transparent 57%),
    radial-gradient(180% 110% at 70% 160%, transparent 60%, color-mix(in srgb, var(--copper) 22%, transparent) 61%, transparent 63%);
}
.hero h1 { font-size: var(--step-6); font-weight: 400; max-width: 16ch; font-optical-sizing: auto; }
.hero .lede { font-size: var(--step-2); font-family: var(--display); color: var(--ink-soft); max-width: 30ch; }
.hero p { font-size: 1.1rem; }
.eyebrow { font-family: var(--body); text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 700; color: var(--copper-dk); margin: 0 0 1rem; max-width: none; }

/* ---------- buttons ---------- */
.btn, button[type="submit"] {
  display: inline-block; font-family: var(--body); font-weight: 600;
  font-size: var(--step--1); text-transform: uppercase; letter-spacing: .06em;
  background: var(--copper); color: #fff; border: 0; border-radius: var(--radius);
  padding: .8rem 1.4rem; text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 22px -12px var(--copper-dk); transition: transform .15s ease, background .2s ease;
}
.btn:hover, button[type="submit"]:hover { background: var(--copper-dk); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--forest); border: 1.5px solid var(--forest); box-shadow: none; }
.btn--ghost:hover { background: var(--forest); color: var(--paper); }

/* ---------- cards / hours / menu ---------- */
.card, .hours, .menu, .booking, .product, .shop, .events {
  background: color-mix(in srgb, var(--paper-2) 70%, #fff);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 2.2rem); box-shadow: var(--shadow);
}
.hours ul, .menu-items, .products, .events ul { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dashed var(--sand); }
.hours li:last-child { border-bottom: 0; }

.menu h2 { color: var(--copper-dk); margin-top: 1.6rem; padding-bottom: .3rem; border-bottom: 2px solid var(--sand); }
.menu-items li { padding: .7rem 0; border-bottom: 1px dashed var(--sand); }
.menu-items strong { font-family: var(--display); font-size: 1.15rem; color: var(--forest); }
.menu-items em { color: var(--river); font-style: italic; }
.menu-items .desc { color: var(--ink-soft); font-size: var(--step--1); margin-top: .15rem; }
.updated { color: var(--ink-soft); font-size: var(--step--1); font-style: italic; }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 1.2rem; }
.products li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }

/* ---------- forms ---------- */
form p { display: flex; flex-direction: column; gap: .35rem; max-width: 34rem; }
label { font-weight: 600; font-size: var(--step--1); color: var(--ink-soft); }
input, textarea, select {
  font: inherit; font-size: var(--step-0); padding: .6rem .75rem;
  background: #fff; border: 1px solid var(--sand); border-radius: var(--radius); color: var(--ink);
}
input:focus, textarea:focus, select:focus { border-color: var(--river); }

/* ---------- age gate ---------- */
.age-gate {
  min-height: 78vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 1.2rem;
}
.age-gate h1 { font-size: var(--step-6); font-weight: 400; }
.age-gate form { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.age-gate button[value="no"] { background: transparent; color: var(--ink-soft); box-shadow: none; text-decoration: underline; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--forest); color: color-mix(in srgb, var(--paper) 88%, transparent);
  margin-top: clamp(3rem, 8vw, 6rem); padding: clamp(2rem, 5vw, 3.5rem) clamp(1.1rem, 4vw, 2rem);
  font-size: var(--step--1);
}
.site-footer a { color: var(--paper); }
.footer-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.6fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.footer-brand .footer-logo { height: 52px; width: auto; margin: 0 0 .7rem; }
.footer-tagline { font-family: var(--display); font-size: 1.15rem; color: var(--paper); margin: 0 0 .7rem; }
.footer-meta { margin: .2rem 0; color: color-mix(in srgb, var(--paper) 70%, transparent); }
.footer-col h3 { font-family: var(--display); font-weight: 500; font-size: 1.05rem; color: var(--paper); margin: 0 0 .75rem; }
.footer-col a { display: block; color: color-mix(in srgb, var(--paper) 82%, transparent); text-decoration: none; padding: .25rem 0; }
.footer-col a:hover { color: var(--paper); text-decoration: underline; }
.footer-connect .footer-subscribe { margin: 0 0 1rem; max-width: none; }
.footer-connect .subscribe-row { justify-content: flex-start; }
.footer-connect .subscribe-row input { max-width: 16rem; }
.footer-social { margin: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; }
.footer-social a { color: color-mix(in srgb, var(--paper) 82%, transparent); text-decoration: none; }
.footer-social a:hover { color: var(--paper); text-decoration: underline; }
.footer-bottom { max-width: var(--maxw); margin: clamp(1.8rem, 4vw, 2.6rem) auto 0; padding-top: 1.2rem; border-top: 1px solid color-mix(in srgb, var(--paper) 18%, transparent); display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; justify-content: space-between; align-items: center; font-size: var(--step--2); color: color-mix(in srgb, var(--paper) 60%, transparent); }
.footer-bottom p { margin: 0; }
.footer-sublinks { display: flex; gap: 1.2rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- motion: staggered page-load reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  main > section { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  main > section:nth-child(2) { animation-delay: .08s; }
  main > section:nth-child(3) { animation-delay: .16s; }
  main > section:nth-child(4) { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* ---------- cart / messages (Phase 2 shop) ---------- */
.messages { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .5rem; }
.msg { padding: .6rem .9rem; border-radius: var(--radius); border: 1px solid var(--line); font-size: var(--step--1); }
.msg--success { background: color-mix(in srgb, var(--forest-2) 12%, var(--paper)); border-color: var(--forest-2); }
.msg--error { background: color-mix(in srgb, var(--copper) 14%, var(--paper)); border-color: var(--copper-dk); }
.cart-link { font-weight: 700 !important; color: var(--forest) !important; }
.cart-rows { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.cart-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .9rem 0; border-bottom: 1px dashed var(--sand); }
.cart-name { font-family: var(--display); font-size: 1.1rem; color: var(--forest); flex: 1 1 12rem; }
.cart-qty { display: flex; align-items: center; gap: .6rem; margin: 0; }
.cart-qty input { width: 4.5rem; }
.cart-qty .link, .cart-qty button[value="remove"] { background: none; box-shadow: none; color: var(--copper-dk); text-transform: none; letter-spacing: 0; padding: .4rem; text-decoration: underline; }
.cart-total { font-size: 1.3rem; font-family: var(--display); }
.add-to-cart { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; }
.add-to-cart input { width: 5rem; }
.notice { color: var(--ink-soft); font-style: italic; }
.product .price { font-family: var(--display); font-size: 1.6rem; color: var(--copper-dk); }

/* ---------- real assets (logo / hero photo / menu image) ---------- */
.brand { gap: .55rem; }
.brand::before { content: none; }  /* replaced by the real logo mark */
.brand-mark { height: 30px; width: auto; }
.hero-photo {
  width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius);
  margin-top: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow);
}
.menu-photo {
  width: 100%; max-width: 640px; border-radius: var(--radius);
  border: 1px solid var(--line); margin: 1rem 0 1.5rem;
}
.footer-logo { height: 56px; width: auto; margin-bottom: 1rem; opacity: .95; }

/* ---------- beer thumbnails + product imagery ---------- */
.menu-items li.has-thumb { display: flex; gap: 1rem; align-items: center; }
.beer-thumb {
  width: 72px; height: 72px; flex: 0 0 72px; object-fit: cover;
  border-radius: 50%; border: 2px solid var(--sand);
}
.item-body { flex: 1; }

.products { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.product-card { text-align: center; padding: 0; overflow: hidden; }
.product-card > a { display: block; text-decoration: none; color: var(--forest); }
.product-thumb {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block;
  background: #fff; border-bottom: 1px solid var(--line);
}
.product-thumb--empty {
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--sand); font-family: var(--display);
}
.product-name { display: block; font-family: var(--display); font-size: 1.1rem; padding: .9rem 1rem .2rem; }
.product-price { display: block; padding: 0 1rem 1rem; color: var(--copper-dk); font-weight: 600; }
.product-hero {
  width: 100%; max-width: 420px; aspect-ratio: 1/1; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 1.2rem;
}

/* ---------- menu hero banner ---------- */
.menu-hero {
  width: 100%; max-height: 340px; object-fit: cover; border-radius: var(--radius);
  margin-bottom: 1.5rem; box-shadow: var(--shadow);
}

/* ---------- home amenities grid ---------- */
.amenities { padding: 0; }
.amenity-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.amenity-grid li {
  background: color-mix(in srgb, var(--paper-2) 70%, #fff); border: 1px solid var(--line);
  border-left: 3px solid var(--copper); border-radius: var(--radius); padding: 1.1rem 1.2rem;
}
.amenity-grid strong { display: block; font-family: var(--display); font-size: 1.2rem; color: var(--forest); }
.amenity-grid span { color: var(--ink-soft); font-size: var(--step--1); }

/* ---------- image + text band ---------- */
.band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2.5rem); align-items: center; }
.band img { width: 100%; height: 100%; max-height: 380px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.band-body h2 { margin-top: 0; }
@media (max-width: 720px) { .band { grid-template-columns: 1fr; } }

/* ---------- video hero (carried over from the original site) ---------- */
.video-hero {
  position: relative; overflow: hidden;
  width: 100vw; margin-left: calc(50% - 50vw);
  margin-top: calc(-1 * clamp(2rem, 5vw, 4.5rem));   /* flush under the header */
  min-height: min(80vh, 680px);
  display: grid; place-items: center;
  background-size: cover; background-position: center;   /* poster fallback */
}
.video-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.video-hero::after {  /* legibility scrim */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,28,22,.45), rgba(20,28,22,.30) 40%, rgba(20,28,22,.6));
}
.video-hero-overlay {
  position: relative; z-index: 2; text-align: center; color: #fff;
  padding: 2rem 1.2rem; display: grid; justify-items: center; gap: 1.1rem;
}
.video-hero-logo { width: min(380px, 72vw); height: auto; filter: drop-shadow(0 2px 12px rgba(0,0,0,.4)); }
.video-hero-tag {
  font-family: var(--display); font-size: clamp(1.4rem, 1rem + 2vw, 2.4rem);
  margin: 0; text-shadow: 0 2px 16px rgba(0,0,0,.5);
}
.video-hero-cta { margin: 0; display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; }
.btn--ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.8); box-shadow: none; }
.btn--ghost-light:hover { background: #fff; color: var(--forest); }

.intro { text-align: center; }
.intro h1 { max-width: 18ch; margin-inline: auto; }
.intro p { max-width: 60ch; margin-inline: auto; }

@media (prefers-reduced-motion: reduce) {
  .video-hero-bg { display: none; }   /* show the poster background instead */
}

/* ---------- events / live music ---------- */
.event-card {
  display: grid; grid-template-columns: 220px 1fr; gap: clamp(1rem, 3vw, 2rem);
  align-items: start; background: color-mix(in srgb, var(--paper-2) 70%, #fff);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 2rem); box-shadow: var(--shadow);
}
.event-card + .event-card { margin-top: 1.5rem; }
.event-card:not(:has(.event-photo)) { grid-template-columns: 1fr; }  /* no band photo → full-width body, not the 220px photo column */
.event-photo { width: 220px; height: 220px; object-fit: cover; border-radius: var(--radius); }
.event-when { font-size: var(--step--1); text-transform: uppercase; letter-spacing: .08em; color: var(--copper-dk); font-weight: 700; margin: 0 0 .3rem; }
.event-where { color: var(--ink-soft); font-weight: 500; text-transform: none; letter-spacing: 0; margin-left: .5rem; }
.event-body h2 { margin: 0 0 .4rem; }
.event-performer { font-family: var(--display); font-size: 1.2rem; color: var(--forest); margin: 0 0 .4rem; }
.event-performer .muted { color: var(--ink-soft); font-family: var(--body); font-size: var(--step--1); }
.event-bio { color: var(--ink-soft); margin: 0 0 .9rem; }

.socials { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.social-pill {
  display: inline-block; font-size: var(--step--1); font-weight: 600; text-decoration: none;
  color: var(--forest); background: var(--paper); border: 1px solid var(--sand);
  border-radius: 999px; padding: .3rem .8rem;
}
.social-pill:hover { background: var(--forest); color: var(--paper); border-color: var(--forest); }

.player { border-top: 1px dashed var(--sand); padding-top: .9rem; }
.player-label { font-size: var(--step--1); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin: 0 0 .6rem; }
.track { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: .6rem; }
.track-title { font-family: var(--display); color: var(--forest); min-width: 9rem; }
.track audio { height: 38px; flex: 1; min-width: 220px; }
.track audio::-webkit-media-controls-panel { background: var(--paper); }

@media (max-width: 640px) {
  .event-card { grid-template-columns: 1fr; }
  .event-photo { width: 100%; height: 220px; }
}

/* ---------- events month calendar ---------- */
.calendar { padding: clamp(1rem,3vw,1.6rem); background: color-mix(in srgb, var(--paper-2) 70%, #fff); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.calendar h2 { margin-top: 0; }
table.cal { width: 100%; border-collapse: collapse; table-layout: fixed; }
table.cal th { font-size: var(--step--1); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); padding: .4rem; text-align: center; }
table.cal td { border: 1px solid var(--line); height: 88px; vertical-align: top; padding: .3rem; }
.cal-empty { background: color-mix(in srgb, var(--sand) 18%, transparent); border: 0; }
.cal-has { background: color-mix(in srgb, var(--copper) 8%, var(--paper)); }
.cal-day { display: block; font-size: var(--step--1); color: var(--ink-soft); font-weight: 600; }
.cal-event { display: block; font-size: .72rem; line-height: 1.2; margin-top: .2rem; padding: .15rem .3rem; background: var(--forest); color: var(--paper); border-radius: 3px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-event:hover { background: var(--copper); }
@media (max-width: 640px) { table.cal td { height: 56px; } .cal-event { font-size: .6rem; } }

/* ---------- performer detail ---------- */
.performer-head { display: grid; grid-template-columns: 240px 1fr; gap: clamp(1rem,3vw,2rem); align-items: start; }
.performer-photo { width: 240px; height: 240px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.performer-head:not(:has(.performer-photo)) { grid-template-columns: 1fr; }  /* no band photo → full-width text, not the 240px photo column */
.performer .muted { color: var(--ink-soft); }
.show-row { margin: .3rem 0; }
@media (max-width: 640px) { .performer-head { grid-template-columns: 1fr; } .performer-photo { width: 100%; height: 260px; } }

/* ---------- instagram feed ---------- */
.instagram { text-align: center; }
.ig-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .5rem; margin: 1rem 0 1.5rem; }
.ig-grid a { display: block; overflow: hidden; border-radius: var(--radius); }
.ig-grid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform .3s ease; }
.ig-grid a:hover img { transform: scale(1.06); }

/* ---------- about: pull-quote ---------- */
.pullquote { text-align: center; padding: clamp(1.5rem,5vw,3.5rem) 1rem; }
.pullquote blockquote { margin: 0 auto; max-width: 24ch; font-family: var(--display); font-weight: 500; font-size: var(--step-4); line-height: 1.08; color: var(--forest); letter-spacing: -.01em; }
.pullquote blockquote::before { content: "“"; color: var(--copper); }
.pullquote blockquote::after { content: "”"; color: var(--copper); }
.pullquote-cite { margin-top: 1rem; font-family: var(--body); text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; font-weight: 700; color: var(--copper-dk); }

/* ---------- about: band reverse + founders ---------- */
.band--reverse img { order: 2; }
.founders { text-align: center; }
.founders-title { margin-bottom: 1.5rem; }
.founder-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); text-align: left; }
.founder { background: color-mix(in srgb, var(--paper-2) 70%, #fff); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.2rem,3vw,1.8rem); }
.founder h3 { margin: .15rem 0 .6rem; color: var(--forest); font-size: 1.55rem; }
.founder-role { margin: 0; font-family: var(--body); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; color: var(--copper-dk); }
.founder p:last-child { margin-bottom: 0; color: var(--ink-soft); }
@media (max-width: 720px) { .band--reverse img { order: 0; } }

/* ===================================================================
   v2 revenue features (issue #2)
   =================================================================== */

/* demo ribbon */
.demo-ribbon { background: var(--copper); color: #fff; text-align: center; font-family: var(--body); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: .35rem; }

/* small/ghost button variants */
.btn--sm { padding: .45rem .85rem; font-size: var(--step--1); }

/* footer subscribe + links */
.footer-subscribe { margin: 1rem auto; max-width: 32rem; }
.footer-subscribe label { display: block; font-family: var(--display); font-size: 1.15rem; margin-bottom: .5rem; color: var(--paper); }
.subscribe-row { display: flex; gap: .5rem; justify-content: center; }
.subscribe-row input { flex: 1; max-width: 22rem; padding: .55rem .7rem; border: 1px solid color-mix(in srgb, #fff 30%, transparent); border-radius: var(--radius); background: color-mix(in srgb, #fff 12%, transparent); color: #fff; }
.subscribe-row input::placeholder { color: color-mix(in srgb, #fff 60%, transparent); }
.footer-links { margin: 1rem 0; font-size: var(--step--1); opacity: .9; }
.footer-links a { color: var(--paper); }

/* mug club tiers (reuse .founder card) */
.tier { text-align: center; }
.tier h3 { font-size: 2.4rem; }
.tier .per { font-size: 1rem; color: var(--ink-soft); font-family: var(--body); }
.tier--featured { outline: 2px solid var(--copper); }
.perks { list-style: none; margin: 1rem 0 0; padding: 0; text-align: left; }
.perks li { padding: .35rem 0 .35rem 1.4rem; position: relative; color: var(--ink-soft); border-top: 1px solid var(--line); }
.perks li::before { content: "❦"; color: var(--copper); position: absolute; left: 0; }

/* shared form card */
.form-card { max-width: 38rem; }
.stack-form p { margin: 0 0 .9rem; }
.stack-form label { display: block; font-weight: 600; font-size: var(--step--1); margin-bottom: .25rem; }
.stack-form input:not([type=checkbox]), .stack-form select, .stack-form textarea { width: 100%; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); font: inherit; }

/* reviews */
.reviews-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.review { margin: 0; background: color-mix(in srgb, var(--paper-2) 70%, #fff); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.2rem,3vw,1.6rem); }
.review-stars { color: var(--copper); letter-spacing: .1em; margin: 0 0 .5rem; }
.review blockquote { margin: 0 0 .8rem; font-size: 1.1rem; line-height: 1.5; }
.review figcaption { font-weight: 600; color: var(--forest); }

/* gift cards */
.giftcards { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.giftcard { text-align: center; }
.giftcard-face { aspect-ratio: 16/10; border-radius: 10px; background: linear-gradient(135deg, var(--forest), var(--forest-2)); color: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; box-shadow: var(--shadow); margin-bottom: .8rem; }
.giftcard-mark { color: var(--copper); font-size: 1.6rem; }
.giftcard-amount { font-family: var(--display); font-size: 2.6rem; line-height: 1; }
.giftcard-brand { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }

/* on-tap list */
.tap-live { color: #2f8f4e; font-weight: 700; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; vertical-align: middle; }
.tap-section h2 { border-bottom: 2px solid var(--copper); padding-bottom: .3rem; }
.taplist { list-style: none; margin: 0 0 2rem; padding: 0; }
.tap-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.tap-name { font-family: var(--display); font-size: 1.2rem; color: var(--forest); }
.tap-style { color: var(--ink-soft); margin-left: .5rem; font-size: var(--step--1); }
.tap-meta { white-space: nowrap; color: var(--ink-soft); font-size: var(--step--1); }
.tap-abv { font-weight: 600; }
.tap-ibu { margin-left: .6rem; }

/* event card actions */
.event-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 1rem; }
.event-actions .remind { display: flex; gap: .4rem; }
.event-actions .remind input { padding: .4rem .6rem; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; }

/* ---------- grounds / property terrain ---------- */
.grounds { text-align: center; }
.grounds-lede { max-width: 64ch; margin-inline: auto; color: var(--ink-soft); }
.grounds-grid { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(208px, 1fr); gap: clamp(1.2rem,3vw,2rem); align-items: stretch; margin-top: 1.5rem; text-align: left; }
.grounds-terrain { margin: 0; display: flex; flex-direction: column; }
.grounds-terrain img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--sand); display: block; }
.grounds-terrain figcaption { margin-top: .5rem; font-size: var(--step--1); color: var(--ink-soft); font-style: italic; }
.grounds-list { align-self: start; }
.grounds-list h3 { margin-top: 0; color: var(--forest); }
.grounds-amenities { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.grounds-amenities li { display: flex; gap: .6rem; align-items: flex-start; padding: .55rem 0; border-top: 1px solid var(--line); }
.grounds-amenities li:first-child { border-top: 0; }
.grounds-amenities .gi { display: block; }
.grounds-amenities strong { display: block; font-family: var(--display); font-size: 1.1rem; color: var(--forest); }
.grounds-amenities .gi > span { color: var(--ink-soft); font-size: var(--step--1); }
/* number badge — mirrors the numbered pins on the map */
.grounds-amenities .ln { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-top: .1rem; border-radius: 50%; background: var(--copper); color: #fff; font-family: var(--body); font-weight: 700; font-size: .72rem; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.grounds-amenities .ln--paw { background: transparent; color: var(--copper); box-shadow: none; font-size: 1rem; }
@media (max-width: 880px) { .grounds-grid { grid-template-columns: 1fr; } }

/* ---------- grounds 3D terrain viewer + area linking ---------- */
.grounds-3d { width: 100%; height: clamp(460px, 72vh, 780px); background: var(--paper-2); border: 1px solid var(--sand); border-radius: var(--radius); box-shadow: var(--shadow); --poster-color: var(--paper-2); }
@media (max-width: 880px) { .grounds-3d { height: 56vh; } }

.map-hotspot { background: none; border: 0; padding: 0; cursor: pointer; }
/* numbered marker — keyed to the list beside the map */
.hs-dot { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--copper); color: #fff; font-family: var(--body); font-weight: 700; font-size: .78rem; line-height: 1; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.45); transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.hs-label { position: absolute; left: 50%; bottom: 165%; transform: translateX(-50%); background: color-mix(in srgb, var(--paper) 92%, transparent); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); color: var(--forest); font-family: var(--body); font-weight: 600; font-size: .74rem; letter-spacing: .01em; padding: .25rem .6rem; border: 1px solid color-mix(in srgb, var(--forest) 22%, transparent); border-radius: 14px; white-space: nowrap; box-shadow: 0 3px 10px rgba(0,0,0,.22); opacity: 0; transition: opacity .15s ease; pointer-events: none; }
.hs-label::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: color-mix(in srgb, var(--paper) 92%, transparent); }
/* dim the rest once one area is active */
.grounds-3d.has-active .map-hotspot:not(.is-active) .hs-dot { opacity: .45; }
.map-hotspot.is-active .hs-dot { background: var(--forest); transform: scale(1.28); box-shadow: 0 0 0 7px color-mix(in srgb, var(--copper) 30%, transparent); }
.map-hotspot.is-active .hs-label { opacity: 1; }

.grounds-amenities li[data-zone] { cursor: pointer; padding-inline: .5rem; margin-inline: -.5rem; border-radius: var(--radius); transition: background .12s ease; }
.grounds-amenities li[data-zone]:hover,
.grounds-amenities li.is-active { background: color-mix(in srgb, var(--copper) 14%, transparent); }
.grounds-amenities li.is-active strong { color: var(--copper-dk); }

/* ---------- grounds calibration tool (?calibrate=1) ---------- */
.calib { margin-top: 1.5rem; padding: 1rem 1.2rem; border: 2px dashed var(--copper); border-radius: var(--radius); background: color-mix(in srgb, var(--copper) 6%, var(--paper)); text-align: left; }
.calib p { max-width: none; }
.calib-areas { display: flex; flex-wrap: wrap; gap: .5rem; margin: .6rem 0; }
.calib-areas button { padding: .35rem .7rem; border: 1px solid var(--sand); border-radius: 16px; background: var(--paper); font: inherit; font-size: var(--step--1); cursor: pointer; }
.calib-areas button.on { background: var(--copper); color: #fff; border-color: var(--copper); }
.calib-status { font-size: var(--step--1); }
.calib textarea { width: 100%; font-family: ui-monospace, Menlo, monospace; font-size: .8rem; border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem; background: #fff; }

/* calibration drag mode — labels always shown, dots grabbable */
.grounds-3d.calibrating .hs-label { opacity: 1; }
.grounds-3d.calibrating .map-hotspot { cursor: grab; touch-action: none; }
.grounds-3d.calibrating .map-hotspot:active { cursor: grabbing; }
.grounds-3d.calibrating .hs-dot { width: 28px; height: 28px; opacity: 1; }
.grounds-3d.calibrating.has-active .map-hotspot:not(.is-active) .hs-dot { opacity: .85; }

/* ---------- location photo modal ---------- */
.grounds-hint { font-size: var(--step--1); color: var(--ink-soft); font-style: italic; margin: -.3rem 0 1rem; }
.loc-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem); }
.loc-modal[hidden] { display: none; }
.loc-backdrop { position: absolute; inset: 0; background: rgba(20,18,14,.72); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.loc-dialog { position: relative; margin: 0; max-width: 880px; width: 100%; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); animation: locpop .18s ease; }
.loc-dialog img:not([hidden]), .loc-dialog video:not([hidden]) { width: 100%; max-height: 68vh; object-fit: cover; display: block; background:#000; }
.loc-dialog figcaption { padding: 1rem 1.2rem; }
.loc-dialog figcaption strong { display: block; font-family: var(--display); font-size: 1.4rem; color: var(--forest); margin-bottom: .15rem; }
.loc-dialog figcaption span { color: var(--ink-soft); }
.loc-close { position: absolute; top: .6rem; right: .6rem; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; box-shadow: none; }
.loc-close:hover { background: rgba(0,0,0,.82); transform: none; }
@keyframes locpop { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* on-tap live strip on the beer page */
.tap-now { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem .8rem; background: color-mix(in srgb, var(--forest) 7%, var(--paper)); border: 1px solid var(--line); border-left: 3px solid #2f8f4e; border-radius: var(--radius); padding: .6rem .9rem; max-width: none; margin-bottom: 1.4rem; }
.tap-now-list { color: var(--ink-soft); font-size: var(--step--1); }

.spotify-embed { margin-top: .85rem; max-width: 540px; }
.spotify-embed iframe { display: block; width: 100%; border: 0; }

/* ---------- checkout (Square Web Payments SDK) ---------- */
.checkout { max-width: 980px; margin: 0 auto; padding: clamp(1.4rem, 4vw, 2.6rem) var(--gutter, 1.2rem); }
.checkout > h1 { font-family: var(--display); color: var(--forest); margin-bottom: 1.4rem; }
.checkout-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; align-items: start; }
@media (min-width: 760px) { .checkout-grid { grid-template-columns: 1fr 1.1fr; } }
.checkout .card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.1rem, 3vw, 1.6rem); }
.checkout-summary h2, .checkout-pay h2 { font-family: var(--display); font-size: 1.25rem; color: var(--forest); margin: 0 0 .9rem; }
.checkout-rows { list-style: none; margin: 0 0 .6rem; padding: 0; }
.checkout-rows li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.checkout-rows .ck-item { color: var(--ink, #23201b); }
.checkout-rows .ck-line { color: var(--ink-soft); white-space: nowrap; }
.checkout-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: .8rem; }
.checkout-total strong { font-family: var(--display); font-size: 1.5rem; color: var(--forest); }
.checkout-note { font-size: var(--step--1); color: var(--ink-soft); margin-top: 1rem; }
.checkout-pay .field { display: block; font-size: var(--step--1); color: var(--ink-soft); margin-bottom: 1rem; }
.checkout-pay .field input { display: block; width: 100%; margin-top: .35rem; padding: .7rem .8rem; font-size: 1rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-sizing: border-box; }
.card-field { margin: .4rem 0 1.1rem; min-height: 52px; }
.wallets { margin-bottom: .4rem; }
.wallet-btn { margin-bottom: .6rem; min-height: 44px; }
#apple-pay-button { -apple-pay-button-style: black; -webkit-appearance: -apple-pay-button; appearance: -apple-pay-button; height: 48px; border-radius: 10px; cursor: pointer; }
.wallets-or { position: relative; text-align: center; color: var(--ink-soft); font-size: var(--step--1); margin: 1rem 0; }
.wallets-or::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--line); }
.wallets-or span { position: relative; background: var(--paper); padding: 0 .7rem; }
.btn--pay { width: 100%; margin-top: .2rem; font-size: 1.05rem; padding: .85rem 1rem; }
.btn--pay:disabled { opacity: .6; cursor: progress; }
.ck-status { min-height: 1.2em; margin: .7rem 0 0; font-size: var(--step--1); }
.ck-status--error { color: #b3261e; }
.ck-status--ok { color: #2f8f4e; }
.ck-secure { margin-top: 1rem; font-size: .8rem; color: var(--ink-soft); text-align: center; }

/* ---------- footer newsletter confirmation ---------- */
.footer-subscribed { color: var(--paper); font-weight: 600; line-height: 1.45; }
.footer-suberr { color: #f3c0a8; font-size: var(--step--1); margin: .4rem 0 0; }
