/* ============================================================
   Taste of Hamburg-er Festival — site components
   Implements the approved OTF "Main Street" design system
   (see .claude/skills/design-system). Tokens live in tokens/*.css;
   this file only composes them — no raw hex except where a token
   has no alias.
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
[hidden] { display: none !important; }

img { max-width: 100%; display: block; }
a { color: var(--text-link); text-decoration: none; }
a:hover { color: var(--text-link-hover); }

.container { max-width: 1180px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container-md { max-width: 1080px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--maroon-700); color: var(--cream); padding: 10px 16px; border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus { left: 0; color: var(--cream); }

/* ---- Header ---------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--cream); border-bottom: var(--border-thick) solid var(--orange-500);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding-top: var(--space-2); padding-bottom: var(--space-2);
}
.brand-logo { height: 54px; }
.site-nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-nav a.nav-link {
  font-family: var(--font-heading); font-weight: var(--fw-extra); font-size: var(--text-sm);
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-600);
  padding: 20px 0 17px; border-bottom: var(--border-heavy) solid transparent; transition: color var(--dur-base);
}
.site-nav a.nav-link:hover { color: var(--maroon-700); }
.site-nav a.nav-link[aria-current="page"] { color: var(--maroon-700); border-bottom-color: var(--orange-500); }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0; cursor: pointer; color: var(--maroon-700);
  background: transparent; border: var(--border-thin) solid var(--maroon-600); border-radius: var(--radius-md);
}
.nav-toggle:hover { background: var(--maroon-100); }

/* ---- Mobile nav: collapse the primary nav behind the hamburger toggle ---- */
@media (max-width: 760px) {
  .site-header .bar { flex-wrap: nowrap; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px var(--space-4) 18px; margin: 0;
    background: var(--cream); border-bottom: var(--border-thick) solid var(--orange-500);
    box-shadow: var(--shadow-md);
  }
  .site-nav:not(.open) { display: none; }
  .site-nav a.nav-link {
    padding: 14px 2px; border-top: 0; border-bottom: var(--border-thin) solid var(--maroon-100);
  }
  .site-nav .btn-pill { align-self: flex-start; margin-top: 14px; }
}

/* ---- Buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: var(--text-sm);
  border-radius: var(--radius-md); padding: 13px 22px; cursor: pointer; border: var(--border-thin) solid transparent;
  transition: background var(--dur-base), color var(--dur-base), transform var(--dur-fast), box-shadow var(--dur-base);
  line-height: 1;
}
.btn-lg { font-size: var(--text-md); padding: 16px 26px; }
.btn-pill { border-radius: var(--radius-pill); }
.btn-festival { background: var(--orange-500); color: #fff; }
.btn-festival:hover { background: var(--orange-600); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-festival:active { transform: translateY(1px); }
.btn-secondary { background: transparent; color: var(--maroon-700); border-color: var(--maroon-600); }
.btn-secondary:hover { background: var(--maroon-100); color: var(--maroon-800); }

/* ---- Eyebrow / display headings ------------------------------- */
.eyebrow {
  font-family: var(--font-heading); font-weight: var(--fw-extra); text-transform: uppercase;
  letter-spacing: var(--tracking-caps); font-size: var(--text-xs); color: var(--cardinal-500);
}
.display { font-family: var(--font-display); text-transform: uppercase; line-height: 0.92;
  letter-spacing: var(--tracking-tight); color: var(--maroon-700); margin: 0; }
.script { font-family: var(--font-script); color: var(--maroon-600); }

/* ---- Dotted ribbon -------------------------------------------- */
.ribbon { height: 16px; }
.ribbon-orange { background-color: var(--orange-500);
  background-image: radial-gradient(var(--cream) 26%, transparent 28%); background-size: 24px 24px; background-repeat: repeat-x; background-position: center; }
.ribbon-cream { background-color: var(--maroon-700);
  background-image: radial-gradient(var(--orange-500) 28%, transparent 30%); background-size: 22px 22px; background-repeat: repeat-x; background-position: center; }

/* ---- Hero ------------------------------------------------------ */
.hero { background: var(--cream); position: relative; overflow: hidden; }
.hero .dots { position: absolute; inset: 0; opacity: 0.4;
  background: radial-gradient(var(--marigold-400) 15%, transparent 17%) 0 0 / 26px 26px; pointer-events: none; }
.hero .inner { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center;
  padding-top: var(--space-9); padding-bottom: var(--space-9); }
.hero h1 { font-size: clamp(46px, 6.5vw, 88px); margin: 18px 0 0; }
.hero h1 .hl { color: var(--orange-500); }
.hero .lead { font-size: var(--text-md); line-height: 1.55; color: var(--ink-700); max-width: 480px; margin: 18px 0 0; }
.hero .cta-row { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero .tagline { font-size: 28px; margin: 24px 0 0; }
.hero .medallion { display: flex; justify-content: center; }
.hero .medallion img { width: 100%; max-width: 330px; filter: drop-shadow(0 20px 40px rgba(64,19,22,0.2)); }
.date-pill {
  display: inline-flex; gap: 8px; align-items: center; background: var(--orange-500); color: #fff;
  font-family: var(--font-heading); font-weight: var(--fw-extra); font-size: var(--text-xs);
  letter-spacing: 0.12em; text-transform: uppercase; padding: 7px 14px; border-radius: var(--radius-pill);
}

/* ---- Info band ------------------------------------------------- */
.info-band { background: var(--maroon-700); }
.info-band .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  padding-top: var(--space-7); padding-bottom: var(--space-7); }
.info-stat { display: flex; gap: 14px; align-items: center; }
.info-stat .ic { width: 48px; height: 48px; border-radius: 12px; background: rgba(251,185,73,0.18);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-stat .lbl { font-family: var(--font-heading); font-weight: var(--fw-extra); font-size: var(--text-md); color: var(--cream); }
.info-stat .sub { font-size: var(--text-sm); color: var(--text-on-dark); opacity: 0.82; }

/* ---- Section header ------------------------------------------- */
.section { padding-top: var(--space-10); padding-bottom: var(--space-10); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto; }
.section-header .display { font-size: clamp(30px, 4vw, 52px); }
.section-header p { font-size: var(--text-md); color: var(--text-muted); margin: 12px 0 0; }

/* ---- Category cards (home) ------------------------------------ */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.cat-card {
  display: flex; flex-direction: column; text-align: left; background: var(--surface-card);
  border: var(--border-hairline) solid var(--border-subtle); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--dur-base), box-shadow var(--dur-base);
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cat-card .stripe { height: 8px; }
.cat-card .body { padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; min-height: 158px; }
.cat-card h3 { font-family: var(--font-heading); font-weight: var(--fw-extra); font-size: var(--text-lg); color: var(--text-strong); margin: 0; }
.cat-card p { font-size: var(--text-sm); color: var(--text-muted); margin: 0; line-height: 1.45; flex: 1; }
.cat-card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.cat-card .count { font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: var(--text-xs);
  text-transform: uppercase; letter-spacing: 0.07em; color: var(--maroon-600); }
.cat-card .go { font-family: var(--font-heading); font-weight: var(--fw-extra); font-size: var(--text-sm); color: var(--orange-500); }

/* ---- Album cover cards (gallery index) ------------------------ */
.album-card .cover { aspect-ratio: 4 / 3; background: var(--surface-sunken); overflow: hidden; }
.album-card .cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--dur-base); }
.album-card:hover .cover img { transform: scale(1.04); }
.album-card .body { min-height: 0; padding: 16px 18px 18px; gap: 6px; }
.album-card .foot { margin-top: 4px; }
.page-head .crumb { color: inherit; text-decoration: none; }
.page-head .crumb:hover { text-decoration: underline; }

/* ---- Vendor CTA band ------------------------------------------ */
.cta-band { background: var(--cream); position: relative; overflow: hidden; }
.cta-band .watermark { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); height: 280px; opacity: 0.12; pointer-events: none; }
.cta-band .inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  padding-top: var(--space-9); padding-bottom: var(--space-9); }
.cta-band h2 { font-size: clamp(30px, 4vw, 52px); }
.cta-band p { font-size: var(--text-md); line-height: 1.55; color: var(--ink-700); max-width: 520px; margin: 14px 0 0; }

/* ---- Explore --------------------------------------------------- */
.page-head { background: var(--surface-sunken); border-bottom: var(--border-hairline) solid var(--border-subtle); }
.page-head .inner { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.page-head h1 { font-size: clamp(34px, 5vw, 64px); margin: 10px 0 0; }
.page-head p { font-size: var(--text-md); line-height: 1.55; color: var(--ink-700); max-width: 620px; margin: 12px 0 0; }

.toolbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 26px 0 6px; }
.tabs { display: flex; gap: 12px; flex-wrap: wrap; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--radius-pill);
  border: var(--border-thin) solid var(--border-default); background: var(--surface-card); color: var(--maroon-700);
  font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: var(--text-sm); cursor: pointer;
  transition: all var(--dur-fast);
}
.tab:hover { border-color: var(--maroon-400); }
.tab .n { font-size: var(--text-xs); opacity: 0.7; font-weight: var(--fw-extra); }
.tab[aria-selected="true"] { background: var(--orange-500); color: #fff; border-color: var(--orange-500); }
.search-wrap { margin-left: auto; position: relative; }
.search-wrap input {
  width: 260px; max-width: 100%; padding: 11px 14px 11px 38px; border-radius: var(--radius-pill);
  border: var(--border-thin) solid var(--border-default); background: var(--surface-card);
  font-family: var(--font-body); font-size: var(--text-sm); color: var(--text-body);
}
.search-wrap input:focus { outline: none; box-shadow: var(--focus-ring); border-color: var(--maroon-400); }
.search-wrap svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); }
.result-count { font-family: var(--font-heading); font-weight: var(--fw-bold); color: var(--text-muted);
  font-size: var(--text-sm); margin: 18px 0 22px; }
.roster-note { display: inline-block; background: var(--marigold-100); color: var(--maroon-700);
  border-radius: var(--radius-pill, 999px); padding: 7px 14px; font-size: var(--text-sm);
  font-weight: var(--fw-medium, 500); margin: 0 0 16px; max-width: 60ch; }
/* Badge chip — the pill shape lives here (not card-scoped) so badges render
   right wherever they appear: explore cards AND vendor detail headers. */
.badge {
  display: inline-block; font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: var(--text-2xs);
  text-transform: uppercase; letter-spacing: 0.06em; padding: 5px 9px; border-radius: var(--radius-pill); white-space: nowrap;
}
/* Best Burger Contest accent badge — gold chip that stands apart from the style badge. */
.badge.badge-contest { background: var(--gold-200); color: var(--maroon-700);
  box-shadow: inset 0 0 0 1px var(--gold-500); }
.cat-panel[hidden] { display: none; }
/* Beer & wine gardens — one intro (blurb + collected drink lists) above the vendor cards */
.gardens-intro { background: var(--teal-100); border: 1px solid var(--teal-300);
  border-radius: var(--radius-lg, 14px); padding: 20px 22px; margin: 0 0 26px; }
.garden-blurb { color: var(--text-body); font-size: var(--text-md, 1rem); line-height: 1.6; margin: 0 0 16px; }
.garden-drinks-label { font-family: var(--font-heading); font-weight: var(--fw-bold);
  font-size: var(--text-xs, 0.78rem); text-transform: uppercase; letter-spacing: .04em;
  color: var(--teal-700); margin: 0 0 10px; }
.garden-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 26px; }
.garden-name { font-family: var(--font-heading); font-weight: var(--fw-extra); color: var(--teal-700);
  margin: 0 0 8px; font-size: var(--text-md, 1rem); }
.garden-loc { font-family: var(--font-body); font-weight: var(--fw-medium, 500);
  font-size: var(--text-sm); color: var(--text-muted); }
.garden-drinks { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.garden-drinks li { background: #fff; border: 1px solid var(--teal-300); color: var(--teal-700);
  border-radius: var(--radius-pill, 999px); padding: 4px 11px; font-size: var(--text-sm); }
.garden-row span { color: var(--teal-700); font-weight: var(--fw-medium, 500); }
@media (max-width: 560px) { .garden-groups { grid-template-columns: 1fr; } }
/* Driving directions — one row per approach route */
.route-list { display: grid; gap: 12px; }
.route { display: grid; grid-template-columns: 180px 1fr; gap: 8px 20px; align-items: baseline;
  padding: 12px 0; border-top: 1px solid var(--rule, #e7ded0); }
.route-from { font-family: var(--font-heading); font-weight: var(--fw-bold); color: var(--maroon-700); margin: 0; }
.route-steps { color: var(--text-body); font-size: var(--text-sm); line-height: 1.55; margin: 0; }
@media (max-width: 560px) { .route { grid-template-columns: 1fr; gap: 2px; } }
/* Live-music schedule — chronological agenda (stage chips + day-of "on now") */
.sched-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.sched-chip { font-family: var(--font-heading); font-weight: var(--fw-medium, 500); font-size: var(--text-sm);
  border: 1px solid var(--gold-500); background: var(--surface-card, #fff); color: var(--olive-700);
  border-radius: var(--radius-pill, 999px); padding: 6px 14px; cursor: pointer; }
.sched-chip.is-on { background: var(--gold-200); box-shadow: inset 0 0 0 1px var(--gold-500); }
.sched-nownote { background: var(--gold-200); color: var(--olive-700); border-radius: 10px; padding: 9px 13px;
  font-size: var(--text-sm); margin: 0 0 16px; }
.sched-nownote button { background: none; border: 0; color: var(--maroon-700); text-decoration: underline;
  cursor: pointer; font: inherit; padding: 0; }
.sched-group { margin: 0 0 18px; }
.sched-group[hidden] { display: none; }
.sched-time { position: sticky; top: 0; z-index: 1; background: var(--surface-page, #FFFDF8);
  font-family: var(--font-heading); font-weight: var(--fw-extra); color: var(--maroon-700);
  font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .05em;
  padding: 7px 0 6px; margin: 0 0 8px; border-bottom: 2px solid var(--gold-500); }
.sched-acts { display: grid; gap: 8px; }
.sched-act { display: grid; grid-template-columns: 130px 1fr auto; gap: 4px 16px; align-items: center;
  text-decoration: none; color: inherit; background: var(--surface-card, #fff);
  border: 1px solid var(--rule, #e7ded0); border-radius: 12px; padding: 11px 16px;
  transition: border-color .12s, box-shadow .12s; }
.sched-act[hidden] { display: none; }
.sched-act:hover { border-color: var(--gold-500); box-shadow: 0 2px 8px rgba(0, 0, 0, .05); }
.sched-when { font-family: var(--font-heading); font-weight: var(--fw-bold); color: var(--olive-700);
  font-size: var(--text-sm); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sched-act-main { display: flex; flex-direction: column; gap: 1px; }
.sched-title { font-weight: var(--fw-bold); }
.sched-genre { font-size: var(--text-sm); font-style: italic; color: var(--text-muted); }
.sched-stage { font-family: var(--font-heading); font-size: var(--text-xs, .78rem); font-weight: var(--fw-bold);
  color: var(--olive-700); background: var(--gold-200); border-radius: var(--radius-pill, 999px);
  padding: 3px 10px; white-space: nowrap; }
.sched-act.is-now { border-color: var(--cardinal-500); box-shadow: inset 4px 0 0 var(--cardinal-500), 0 2px 10px rgba(0, 0, 0, .07); }
.sched-act.is-now .sched-when { color: var(--cardinal-600); }
.sched-act.is-past { opacity: .5; }
@media (max-width: 560px) {
  .sched-act { grid-template-columns: 1fr auto; }
  .sched-when { grid-column: 1 / -1; order: -1; }
}
/* all-day / recurring acts (no fixed slot) — info box above the timeline */
.sched-allday { background: var(--gold-200); border: 1px solid var(--gold-500);
  border-radius: 12px; padding: 13px 18px; margin: 0 0 22px; }
.sched-allday-label { font-family: var(--font-heading); font-weight: var(--fw-bold);
  font-size: var(--text-xs, .78rem); text-transform: uppercase; letter-spacing: .05em;
  color: var(--olive-700); margin: 0 0 6px; }
.sched-allday-item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px;
  text-decoration: none; color: inherit; padding: 6px 0; }
.sched-allday-item + .sched-allday-item { border-top: 1px solid var(--gold-400); }
.sched-allday-name { font-weight: var(--fw-bold); }
.sched-allday-note { font-size: var(--text-sm); color: var(--olive-700); }
.sched-allday-item:hover .sched-allday-name { text-decoration: underline; }
/* stage legend — where each stage is */
.sched-stages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px 22px; margin: 0 0 20px;
  padding: 12px 16px; background: var(--surface-card, #fff); border: 1px solid var(--rule, #e7ded0); border-radius: 12px; }
.sched-stageloc { display: flex; align-items: baseline; gap: 6px; font-size: var(--text-sm); padding: 3px 0; }
.sched-stageloc svg { flex: none; align-self: center; }
.sched-stageloc-name { font-family: var(--font-heading); font-weight: var(--fw-bold); color: var(--olive-700); white-space: nowrap; }
.sched-stageloc-loc { color: var(--text-muted); }
@media (max-width: 560px) { .sched-stages { grid-template-columns: 1fr; } }
.empty-note { color: var(--text-muted); font-size: var(--text-md); padding: 40px 0; text-align: center; }

/* ---- Festival map (Leaflet) ----------------------------------- */
.festival-map-wrap { margin: 4px 0 28px; }
.map-head { margin-bottom: 12px; }
.map-sub { font-size: var(--text-sm); color: var(--text-muted); margin: 0; }
.festival-map {
  height: 420px; width: 100%; border-radius: var(--radius-lg);
  border: var(--border-hairline) solid var(--border-subtle); box-shadow: var(--shadow-sm);
  background: var(--surface-sunken); z-index: 0;
}
.leaflet-container { font-family: var(--font-body); }
.leaflet-popup-content-wrapper { border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.leaflet-popup-content { font-size: var(--text-sm); color: var(--text-body); line-height: 1.5; margin: 12px 14px; }
.leaflet-popup-content strong { font-family: var(--font-heading); font-weight: var(--fw-extra); color: var(--text-strong); }
.leaflet-popup-content .pop-where { color: var(--text-muted); }
.leaflet-popup-content a { color: var(--text-link); font-weight: var(--fw-bold); }
.festival-map-wrap.map-full .festival-map { height: 540px; }
@media (max-width: 600px) { .festival-map { height: 320px; } .festival-map-wrap.map-full .festival-map { height: 380px; } }

/* ---- Vendor detail page --------------------------------------- */
.detail-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 36px; align-items: start; }
.detail-blurb { font-size: var(--text-md); line-height: 1.6; color: var(--text-body); margin: 0 0 8px; }
.detail-menu { margin-top: 22px; }
.detail-menu h2 { font-family: var(--font-heading); font-weight: var(--fw-extra); font-size: var(--text-lg); color: var(--text-strong); margin: 0 0 10px; }
.detail-menu ul { list-style: none; padding: 0; margin: 0; }
.detail-menu li { padding: 11px 0; border-bottom: var(--border-hairline) solid var(--border-subtle); }
.detail-menu .mi-name { font-family: var(--font-heading); font-weight: var(--fw-bold); color: var(--text-strong); display: block; }
.detail-menu .mi-desc { font-size: var(--text-sm); color: var(--text-muted); display: block; margin-top: 2px; line-height: 1.45; }
.detail-addr { display: flex; gap: 8px; align-items: center; color: var(--text-muted); font-size: var(--text-sm); margin: 18px 0 0; }
.detail-contact { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.detail-contact .btn { font-size: var(--text-sm); padding: 10px 16px; }
.detail-note { font-size: var(--text-sm); color: var(--text-body); margin: 14px 0 0; line-height: 1.5; }
.detail-map-side { position: sticky; top: 88px; }
.detail-map-side .festival-map { height: 360px; }
.page-head .eyebrow a:hover { color: var(--maroon-700); }
@media (max-width: 820px) { .detail-grid { grid-template-columns: 1fr; } .detail-map-side { position: static; } }

/* ---- Photo gallery grid + lightbox ---------------------------- */
/* brush-script eyebrow shared by the album index cards + album page header */
.gal-script { font-family: var(--font-script); color: var(--maroon-600); font-size: clamp(20px, 3.4vw, 24px); line-height: 1.2; margin: 0 0 4px; }

/* pill-tab album switcher (album pages) */
.gal-tabs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: var(--space-7); }
.gal-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-subtle); background: var(--surface-card); color: var(--maroon-700);
  font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: 15px; text-decoration: none;
  cursor: pointer; transition: border-color var(--dur-base), background var(--dur-base), color var(--dur-base); }
.gal-tab:hover { border-color: var(--tab-accent, var(--maroon-600)); }
.gal-tab[aria-current="page"] { background: var(--tab-accent, var(--orange-500)); color: #fff; border-color: var(--tab-accent, var(--orange-500)); }
.gal-tab .n { font-size: 12px; font-weight: var(--fw-extra); opacity: 0.7; }

/* masonry photo grid */
.gal-masonry { column-count: 3; column-gap: 18px; }
.gal-photo { display: block; width: 100%; break-inside: avoid; margin: 0 0 18px; padding: 0; border: 0; cursor: pointer;
  background: var(--surface-card); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); position: relative;
  transition: transform var(--dur-base), box-shadow var(--dur-base); }
.gal-photo:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.gp-stripe { display: block; height: 6px; background: var(--stripe, var(--orange-500)); }
.gp-img { display: block; position: relative; }
.gp-img img { display: block; width: 100%; height: auto; }
.gp-expand { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 999px;
  background: rgba(64, 19, 22, 0.5); display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--dur-base); }
.gal-photo:hover .gp-expand { opacity: 1; }
.gp-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; text-align: left;
  background: linear-gradient(transparent, rgba(64, 19, 22, 0.78));
  font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: 13.5px; line-height: 1.3; color: #fff; }

/* expand affordance on the index cover cards */
.album-card .cover { position: relative; }
.album-card .cover-expand { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 999px;
  background: rgba(64, 19, 22, 0.5); display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--dur-base); }
.album-card:hover .cover-expand { opacity: 1; }

/* lightbox (maroon-tinted, circular nav, caption line) */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(45, 13, 15, 0.88);
  display: flex; align-items: center; justify-content: center; padding: 32px; }
.lb-figure { margin: 0; max-width: 860px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.lb-img { max-width: 100%; max-height: 72vh; border-radius: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); display: block; }
.lb-cap { margin-top: 18px; text-align: center; max-width: 620px; }
.lb-meta { font-family: var(--font-heading); font-weight: var(--fw-extra); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--marigold-400); }
.lb-caption { font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: 19px; color: #fff; margin-top: 8px; }
.lb-caption:empty { display: none; }
.lb-close, .lb-nav { border: 0; cursor: pointer; color: #fff; border-radius: 999px; background: rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: center; transition: background var(--dur-base); position: absolute; }
.lb-close { top: 20px; right: 24px; width: 46px; height: 46px; }
.lb-close:hover { background: rgba(255, 255, 255, 0.22); }
.lb-nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; z-index: 2; }
.lb-nav:hover { background: var(--orange-500); }
.lb-prev { left: 24px; } .lb-next { right: 24px; }

@media (max-width: 860px) { .gal-masonry { column-count: 2; } }
@media (max-width: 540px) {
  .gal-masonry { column-count: 1; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
  .lb-nav { width: 46px; height: 46px; }
}

/* ---- Listing cards -------------------------------------------- */
a.lc { text-decoration: none; color: inherit; cursor: pointer; }
.lc-cue { font-family: var(--font-heading); font-weight: var(--fw-extra); font-size: var(--text-sm);
  color: var(--orange-500); margin-top: 8px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lc {
  display: flex; flex-direction: column; background: var(--surface-card);
  border: var(--border-hairline) solid var(--border-subtle); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--dur-base), box-shadow var(--dur-base);
}
.lc:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.lc .stripe { height: 8px; }
.lc .body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.lc .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.lc h3 { font-family: var(--font-heading); font-weight: var(--fw-extra); font-size: var(--text-md); color: var(--text-strong); margin: 0; line-height: 1.18; }
.lc .badge { flex-shrink: 0; }
.lc .blurb { font-size: var(--text-sm); color: var(--text-muted); margin: 0; line-height: 1.5; flex: 1; }
.lc .meta { display: flex; flex-direction: column; gap: 7px; margin-top: 4px; padding-top: 12px; border-top: var(--border-hairline) solid var(--border-subtle); }
.lc .meta .row { display: flex; align-items: center; gap: 8px; font-size: var(--text-sm); color: var(--text-muted); }
.lc .meta .row svg { flex-shrink: 0; }
.lc .links { display: flex; gap: 14px; flex-wrap: wrap; font-size: var(--text-sm); }
.lc .links a { font-weight: var(--fw-bold); }

/* ---- Plan Your Visit ------------------------------------------ */
.stack { display: flex; flex-direction: column; gap: 36px; }
.callout {
  border-radius: var(--radius-lg); padding: 18px 22px; display: flex; gap: 14px; align-items: flex-start;
  border: var(--border-hairline) solid var(--border-subtle);
}
.callout.brand { background: var(--maroon-100); border-color: var(--maroon-200); }
.callout.brand .ct { color: var(--maroon-800); }
.callout.info { background: var(--teal-100); border-color: var(--teal-300); }
.callout.info .ct { color: var(--teal-700); }
.callout .ct strong { font-family: var(--font-heading); font-weight: var(--fw-extra); display: block; margin-bottom: 2px; color: inherit; }
.callout .ct { color: var(--text-body); font-size: var(--text-sm); line-height: 1.55; }

.block h2 { font-family: var(--font-heading); font-weight: var(--fw-extra); font-size: var(--text-xl); color: var(--text-strong); margin: 0 0 16px; }
.know-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
.know {
  background: var(--surface-card); border: var(--border-hairline) solid var(--border-subtle);
  border-radius: 14px; padding: 20px; box-shadow: var(--shadow-xs);
}
.know .k { font-family: var(--font-heading); font-weight: var(--fw-extra); font-size: var(--text-2xs);
  letter-spacing: 0.1em; text-transform: uppercase; }
.know p { margin: 8px 0 0; font-size: var(--text-sm); line-height: 1.55; color: var(--text-body); }

.parking-card { background: var(--surface-card); border: var(--border-hairline) solid var(--border-subtle);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 6px 24px 18px; }
.prow { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 14px 0; }
.prow + .prow, .parking-card .prow:not(.head) { border-top: var(--border-hairline) solid var(--border-subtle); }
.prow.head { border-bottom: var(--border-thick) solid var(--maroon-600); }
.prow.head span { font-family: var(--font-heading); font-weight: var(--fw-extra); font-size: var(--text-xs);
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.prow .lot { font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: var(--text-base); color: var(--text-strong); }
.prow .sub { font-size: var(--text-sm); color: var(--text-faint); }
.price-pill { font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: var(--text-xs); padding: 5px 11px; border-radius: var(--radius-pill); white-space: nowrap; }
.price-paid { background: var(--marigold-100); color: #8A5A12; }
.price-free { background: var(--color-success-soft); color: var(--color-success); }
.price-ada { background: var(--teal-100); color: var(--teal-700); }

/* ---- Sponsorship tiers ----------------------------------------- */
.tier-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: start; }
.tier-card { background: var(--surface-card); border: var(--border-hairline) solid var(--border-subtle);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 22px 24px; }
.tier-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tier-name { font-family: var(--font-heading); font-weight: var(--fw-extra); text-transform: uppercase;
  letter-spacing: var(--tracking-caps); font-size: var(--text-xs); color: var(--cardinal-500); margin: 0 0 2px; }
.tier-price { font-family: var(--font-display); text-transform: uppercase; font-size: var(--text-2xl);
  line-height: 1; color: var(--orange-500); margin: 0; }
.tier-card details { margin-top: 14px; border-top: var(--border-hairline) solid var(--border-subtle); padding-top: 12px; }
.tier-card summary { cursor: pointer; font-family: var(--font-heading); font-weight: var(--fw-bold);
  font-size: var(--text-sm); color: var(--maroon-700); list-style-position: inside; }
.tier-card summary:hover { color: var(--maroon-800); }
.tier-benefits { margin: 12px 0 0; padding-left: 18px; }
.tier-benefits li { font-size: var(--text-sm); color: var(--text-body); line-height: 1.5; margin-bottom: 7px; }

/* ---- Forms (contact) ------------------------------------------ */
.form-card { background: var(--surface-card); border: var(--border-hairline) solid var(--border-subtle);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 28px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-field label { font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: var(--text-sm); color: var(--text-strong); }
.form-field input, .form-field textarea {
  font-family: var(--font-body); font-size: var(--text-base); color: var(--text-body);
  padding: 11px 14px; border: var(--border-thin) solid var(--border-default); border-radius: var(--radius-md);
  background: var(--surface-page); width: 100%;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field textarea:focus { outline: none; box-shadow: var(--focus-ring); border-color: var(--maroon-400); }
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 32px; align-items: start; }
.contact-aside h2 { font-family: var(--font-heading); font-weight: var(--fw-extra); font-size: var(--text-lg); color: var(--text-strong); margin: 0 0 12px; }
.contact-aside .row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: var(--text-sm); color: var(--text-body); line-height: 1.5; }
.contact-aside .row svg { flex-shrink: 0; margin-top: 2px; }
.contact-social { display: flex; gap: 12px; margin-top: 6px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---- Gallery -------------------------------------------------- */
.gallery-cta { display: block; position: relative; overflow: hidden; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md); border: var(--border-hairline) solid var(--border-subtle); }
.gallery-cta img.cover { width: 100%; height: 360px; object-fit: cover; display: block; }
.gallery-cta .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(64,19,22,0.15), rgba(64,19,22,0.78));
  display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; gap: 14px; }
.gallery-cta .overlay h2 { font-family: var(--font-display); text-transform: uppercase; color: var(--cream);
  font-size: clamp(28px, 4vw, 44px); line-height: 1; margin: 0; }
.gallery-cta .overlay p { color: var(--text-on-dark); max-width: 540px; margin: 0; font-size: var(--text-md); }
.gallery-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.gallery-cats span { background: var(--surface-card); border: var(--border-hairline) solid var(--border-subtle);
  border-radius: var(--radius-pill); padding: 8px 16px; font-family: var(--font-heading); font-weight: var(--fw-bold);
  font-size: var(--text-sm); color: var(--maroon-700); }

/* ---- Sponsors -------------------------------------------------- */
.sponsors { background: var(--surface-page); }
.sponsor-tier { margin-top: 28px; }
.sponsor-tier h3 { font-family: var(--font-heading); font-weight: var(--fw-extra); font-size: var(--text-sm);
  text-transform: uppercase; letter-spacing: var(--tracking-caps); color: var(--cardinal-500); margin: 0 0 14px; text-align: center; }
.sponsor-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.sponsor-chip {
  background: var(--surface-card); border: var(--border-hairline) solid var(--border-subtle); border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs); padding: 14px 18px; display: flex; align-items: center; justify-content: center;
  min-height: 70px; min-width: 120px; transition: transform var(--dur-base), box-shadow var(--dur-base);
}
.sponsor-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.sponsor-chip img { max-height: 56px; width: auto; }
.sponsor-chip .name { font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: var(--text-sm); color: var(--text-body); text-align: center; }

/* ---- Footer ---------------------------------------------------- */
.site-footer { background: var(--maroon-800); color: var(--text-on-dark); text-align: center; }
.site-footer .inner { padding-top: var(--space-9); padding-bottom: var(--space-9); }
.site-footer img.mark { height: 54px; margin: 0 auto 14px; }
.site-footer .display { color: var(--cream); font-size: clamp(28px, 4vw, 44px); }
.site-footer .benefit { opacity: 0.85; margin: 12px 0 24px; }
.site-footer .fnav { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
.site-footer .fnav a { color: var(--text-on-dark); font-family: var(--font-heading); font-weight: var(--fw-bold);
  font-size: var(--text-sm); letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.85; }
.site-footer .fnav a:hover { opacity: 1; color: var(--text-on-dark); }
.site-footer .meta { opacity: 0.7; font-size: var(--text-xs); margin-top: 22px; }

/* ---- Share button + toast ------------------------------------- */
.btn-share-ghost {
  background: transparent; color: var(--cream); border: var(--border-thin) solid rgba(250, 230, 201, 0.5);
}
.btn-share-ghost:hover { background: rgba(250, 230, 201, 0.12); color: var(--cream); border-color: var(--cream); }
.btn-share-ghost svg { stroke: currentColor; }
.js-share svg { stroke: currentColor; }
.share-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px);
  background: var(--ink-900); color: var(--text-on-dark); font-family: var(--font-heading); font-weight: var(--fw-bold);
  font-size: var(--text-sm); padding: 12px 20px; border-radius: var(--radius-pill); box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: opacity var(--dur-base), transform var(--dur-base); z-index: 200; max-width: 90vw;
}
.share-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---- Responsive ------------------------------------------------ */
@media (max-width: 960px) {
  .hero .inner { grid-template-columns: 1fr; }
  .hero .medallion { order: -1; }
  .hero .medallion img { max-width: 240px; }
  .info-band .grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .know-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band .inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .info-band .grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .know-grid { grid-template-columns: 1fr; }
  .search-wrap { margin-left: 0; width: 100%; }
  .search-wrap input { width: 100%; }
}

/* ---- Motion / print ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .lc:hover, .cat-card:hover, .sponsor-chip:hover { transform: none; }
}
@media print {
  .site-header, .site-footer .fnav, .search-wrap, .btn { display: none; }
  body { background: #fff; color: #000; }
  .lc, .cat-card, .know, .parking-card { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
}

/* ---- Homepage "Where's the beef" — copy + portrait photo carousel ---- */
.about-grid { display: grid; grid-template-columns: 1.25fr 0.9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.about-copy .lead { margin-top: 1rem; }
.beef-carousel { position: relative; width: 100%; max-width: 420px; margin-inline: auto; }
.bc-track { list-style: none; margin: 0; padding: 0; position: relative; aspect-ratio: 3 / 4;
  border-radius: 16px; overflow: hidden; box-shadow: 0 12px 30px rgba(45,13,15,0.18);
  background: var(--maroon-100, #f3e6e0); }
.bc-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.bc-slide.is-active { opacity: 1; }
.bc-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bc-dots { display: flex; gap: .5rem; justify-content: center; margin-top: .9rem; }
.bc-dot { width: 9px; height: 9px; padding: 0; border: none; border-radius: 50%;
  background: var(--maroon-600, #7a2f22); opacity: .3; cursor: pointer; transition: opacity .2s; }
.bc-dot.is-active { opacity: 1; background: var(--orange-500, #e8752b); }
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-copy { text-align: center; }
  .beef-carousel { max-width: 340px; }
}
@media (prefers-reduced-motion: reduce) { .bc-slide { transition: none; } }

/* Things-to-know: 3 short boxes + a full-width Pets box (verbatim policy w/ its list) */
.know-grid.know-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .know-grid.know-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .know-grid.know-grid-3 { grid-template-columns: 1fr; } }
.know.know-full { grid-column: 1 / -1; }
.know .pre { white-space: pre-line; }
