/* ============================================================
   THE CHRISTCHURCH V4 — CSS Design System
   ============================================================

   Palette
   --bg          #0c1a13   deep forest  (hero, dark sections)
   --bg-mid      #17291f   mid forest   (cards, hover)
   --cream       #f0e4cc   warm cream   (light sections)
   --chalk       #faf4e8   near-white   (text on dark)
   --ink         #0d0a06   near-black   (text on light)
   --amber       #c47818   amber        (primary accent)
   --amber-lt    #e09a38   light amber  (hover state)
   --rust        #9c3d1e   rust/red     (Third Barrel brand)
   --gold        #d4a843   gold         (decorative)
   --muted       #6a8070   muted green  (secondary text on dark)

   Typography
   Playfair Display — display headings (serif, editorial)
   DM Sans         — body, UI, labels (clean sans)
   Space Mono      — numbers, details (monospaced)
   ============================================================ */


/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-sans);
  background: var(--bg);
  color: var(--chalk);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: none; font: inherit; border: none; background: none; }
ul { list-style: none; }


/* ── Custom Properties ── */
:root {
  --bg:         #0c1a13;
  --bg-mid:     #172a1e;
  --bg-light:   #1e3629;
  --cream:      #f0e4cc;
  --parchment:  #e8d8ba;
  --chalk:      #faf4e8;
  --ink:        #0d0a06;
  --ink-mid:    #2a2018;
  --amber:      #c47818;
  --amber-lt:   #e09a38;
  --rust:       #9c3d1e;
  --rust-lt:    #c0521e;
  --gold:       #d4a843;
  --muted:      #6a8a78;
  --muted-lt:   #8aaa98;

  --ff-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-sans:  'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --ff-mono:  'Space Mono', 'Courier New', monospace;

  --nav-h: 72px;
  --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);

  --max-w: 1280px;
  --pad:   clamp(1.25rem, 5vw, 4rem);
}


/* ── Custom Cursor ── */
.cursor {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  top: 0; left: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--amber);
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease), height 0.2s var(--ease),
              background 0.2s var(--ease), opacity 0.2s var(--ease);
  mix-blend-mode: normal;
}
.cursor-ring {
  position: fixed;
  z-index: 9998;
  pointer-events: none;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(196, 120, 24, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out),
              border-color 0.3s var(--ease), opacity 0.2s var(--ease);
}
.cursor-ring.is-hovering {
  width: 60px; height: 60px;
  border-color: var(--amber-lt);
}
.cursor.is-hovering {
  width: 6px; height: 6px;
}
@media (hover: none) {
  .cursor, .cursor-ring { display: none; }
}


/* ── Scroll Progress Bar ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: var(--amber);
  z-index: 9000;
  transition: width 0.05s linear;
}


/* ── Grain Overlay ── */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%; height: 200%;
  z-index: 1001;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  animation: grain 0.5s steps(2) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10%  { transform: translate(-2%, -3%); }
  20%  { transform: translate(3%, 2%); }
  30%  { transform: translate(-1%, 4%); }
  40%  { transform: translate(4%, -2%); }
  50%  { transform: translate(-3%, 1%); }
  60%  { transform: translate(1%, -4%); }
  70%  { transform: translate(3%, 3%); }
  80%  { transform: translate(-4%, 2%); }
  90%  { transform: translate(2%, -1%); }
}


/* ── NAVIGATION ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 var(--pad);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
              border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(12, 26, 19, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(196, 120, 24, 0.15);
}
.nav-logo {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--chalk);
  margin-right: auto;
  transition: color 0.2s var(--ease);
}
.nav-logo:hover { color: var(--amber-lt); }
.nav-logo span {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  margin-left: 2px;
  vertical-align: middle;
  position: relative;
  top: -2px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.main-nav a {
  font-family: var(--ff-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(250, 244, 232, 0.75);
  transition: color 0.2s var(--ease);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--amber);
  transition: width 0.3s var(--ease);
}
.main-nav a:hover { color: var(--chalk); }
.main-nav a:hover::after { width: 100%; }
.main-nav a.active { color: var(--chalk); }
.main-nav a.active::after { width: 100%; }
.nav-cta {
  padding: 0.6rem 1.4rem !important;
  border: 1px solid var(--amber) !important;
  border-radius: 2px;
  color: var(--amber) !important;
  transition: background 0.2s var(--ease), color 0.2s var(--ease) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--amber) !important;
  color: var(--ink) !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: 1rem;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--chalk);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  transform-origin: center;
}

/* Mobile Nav Drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 490;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-1rem);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav-drawer.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.nav-drawer a {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 700;
  font-style: italic;
  color: var(--chalk);
  transition: color 0.2s var(--ease);
}
.nav-drawer a:hover { color: var(--amber); }
.nav-drawer .drawer-cta {
  margin-top: 1rem;
  padding: 1rem 2.5rem;
  border: 1px solid var(--amber);
  color: var(--amber);
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-drawer .drawer-cta:hover {
  background: var(--amber);
  color: var(--ink);
}


/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: var(--nav-h) var(--pad) clamp(4rem, 8vw, 6rem);
  overflow: hidden;
  background: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 65% 55%, rgba(196, 120, 24, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(26, 50, 40, 0.8) 0%, transparent 60%);
  z-index: 0;
}
.hero-glow {
  position: absolute;
  bottom: -10%; right: 5%;
  width: clamp(300px, 50vw, 700px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(196, 120, 24, 0.12) 0%, transparent 70%);
  z-index: 0;
  animation: pulse-glow 6s ease-in-out infinite alternate;
}
@keyframes pulse-glow {
  from { opacity: 0.6; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.1); }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 0;
}
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-lt);
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3dc47a;
  box-shadow: 0 0 0 0 rgba(61, 196, 122, 0.4);
  animation: ping 2s ease-in-out infinite;
}
.status-dot.closed {
  background: var(--muted);
  box-shadow: none;
  animation: none;
}
@keyframes ping {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61, 196, 122, 0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(61, 196, 122, 0); }
}
.hero-title {
  font-family: var(--ff-serif);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(4.5rem, 13vw, 11rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--chalk);
  margin-bottom: 2.5rem;
}
.hero-title .line { display: block; }
.hero-title .accent { color: var(--amber); }
.hero-title .indent { padding-left: clamp(2rem, 8vw, 8rem); }
.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.hero-details {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.hero-address {
  font-family: var(--ff-mono);
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-lt);
}
.hero-tagline {
  font-family: var(--ff-sans);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 300;
  color: rgba(250, 244, 232, 0.6);
  max-width: 36ch;
  line-height: 1.5;
  margin-top: 0.5rem;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 2;
  animation: fade-in 1.5s var(--ease) 1.5s both;
}
.hero-scroll-hint::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}

/* Number decorative (top right) */
.hero-num {
  position: absolute;
  top: calc(var(--nav-h) + 3rem);
  right: var(--pad);
  font-family: var(--ff-mono);
  font-size: clamp(6rem, 18vw, 16rem);
  font-weight: 700;
  color: rgba(250, 244, 232, 0.025);
  line-height: 1;
  z-index: 1;
  letter-spacing: -0.05em;
  user-select: none;
}


/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn--fill {
  background: var(--amber);
  color: var(--ink);
  border: 1px solid var(--amber);
}
.btn--fill:hover {
  background: var(--amber-lt);
  border-color: var(--amber-lt);
}
.btn--outline {
  background: transparent;
  color: var(--chalk);
  border: 1px solid rgba(250, 244, 232, 0.35);
}
.btn--outline:hover {
  border-color: var(--chalk);
  background: rgba(250, 244, 232, 0.06);
}
.btn--dark {
  background: var(--ink-mid);
  color: var(--chalk);
  border: 1px solid rgba(250, 244, 232, 0.1);
}
.btn--dark:hover {
  background: var(--bg-light);
  border-color: rgba(250, 244, 232, 0.2);
}
.btn-magnetic {
  transition: transform 0.3s var(--ease-out), all 0.25s var(--ease);
}


/* ── MARQUEE BAND ── */
.marquee-band {
  overflow: hidden;
  background: var(--amber);
  padding: 0.9rem 0;
  position: relative;
  z-index: 3;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0 1.5rem;
}
.marquee-track span.sep {
  color: rgba(13, 10, 6, 0.4);
  padding: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ── CONTAINERS ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}


/* ── SECTION SHARED STYLES ── */
.section-tag {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 1.25rem;
}
.section-title {
  font-family: var(--ff-serif);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.section-body {
  font-family: var(--ff-sans);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 300;
  line-height: 1.75;
  max-width: 52ch;
}
/* On light backgrounds */
.section-title.on-light { color: var(--ink); }
.section-body.on-light  { color: var(--ink-mid); }
.section-tag.on-light   { color: var(--rust); }


/* ── ABOUT / INTRO SECTION ── */
.about {
  background: var(--cream);
  padding: clamp(4rem, 10vw, 8rem) var(--pad);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: 'TC';
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--ff-serif);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(12rem, 30vw, 28rem);
  line-height: 1;
  color: rgba(13, 10, 6, 0.04);
  user-select: none;
  pointer-events: none;
}
.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.about-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.about-left .section-title { font-size: clamp(2.5rem, 5vw, 4rem); }
.about-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.about-right p {
  font-family: var(--ff-sans);
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-mid);
}
.about-right p strong {
  font-weight: 600;
  color: var(--ink);
}
.about-rule {
  width: 40px;
  height: 2px;
  background: var(--rust);
}
.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(13, 10, 6, 0.1);
}
.stat-num {
  font-family: var(--ff-serif);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
}
.stat-label {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(13, 10, 6, 0.5);
  margin-top: 0.3rem;
}


/* ── FLOORS SECTION ── */
.floors {
  background: var(--bg);
  padding: clamp(4rem, 10vw, 8rem) 0;
}
.floors-header {
  padding: 0 var(--pad);
  max-width: var(--max-w);
  margin: 0 auto 4rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.floors-header .section-title { max-width: 16ch; }
.floors-intro-text {
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted-lt);
  max-width: 36ch;
}

.floor-card {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  margin-bottom: clamp(4rem, 8vw, 6rem);
  position: relative;
}
.floor-card:last-child { margin-bottom: 0; }
.floor-card.flip { direction: rtl; }
.floor-card.flip > * { direction: ltr; }

.floor-num-wrap {
  writing-mode: vertical-lr;
  text-orientation: mixed;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.floor-number {
  font-family: var(--ff-serif);
  font-weight: 900;
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: 1;
  color: rgba(250, 244, 232, 0.06);
  user-select: none;
  transform: rotate(180deg);
}

.floor-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 1rem;
}
.floor-label {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.floor-name {
  font-family: var(--ff-serif);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  color: var(--chalk);
}
.floor-desc {
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted-lt);
  max-width: 40ch;
}
.floor-note {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(250, 244, 232, 0.08);
}

.floor-img-wrap {
  aspect-ratio: 4/3;
  background: var(--bg-mid);
  border: 1px solid rgba(250, 244, 232, 0.06);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.floor-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196, 120, 24, 0.08) 0%, transparent 60%);
}
.floor-img-ph {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}


/* ── WHAT'S POURING ── */
.pours {
  background: var(--cream);
  padding: clamp(4rem, 10vw, 8rem) var(--pad);
  position: relative;
}
.pours-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.pours-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.pours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5px;
  border: 1px solid rgba(13, 10, 6, 0.12);
}
.beer-card {
  background: var(--parchment);
  padding: 2rem 1.75rem;
  border: 1px solid rgba(13, 10, 6, 0.0);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.beer-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.beer-card:hover { background: var(--cream); transform: translateY(-2px); }
.beer-card:hover::before { transform: scaleX(1); }
.beer-card.is-featured::before { transform: scaleX(1); background: var(--amber); }
.beer-card.is-featured { background: var(--cream); }

.beer-tag {
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.75rem;
}
.beer-name {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.beer-style {
  font-family: var(--ff-sans);
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(13, 10, 6, 0.5);
  margin-bottom: 0.75rem;
}
.beer-desc {
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-mid);
  margin-bottom: 1.25rem;
}
.beer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(13, 10, 6, 0.1);
}
.beer-abv {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgba(13, 10, 6, 0.45);
}
.beer-badge {
  font-family: var(--ff-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  background: rgba(156, 61, 30, 0.1);
  color: var(--rust);
}
.beer-badge.draft { background: rgba(196, 120, 24, 0.12); color: var(--amber); }


/* ── EVENTS BAND ── */
.events-band {
  background: var(--bg);
  padding: clamp(4rem, 10vw, 8rem) var(--pad);
}
.events-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.events-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: rgba(250, 244, 232, 0.06);
}
.event-card {
  background: var(--bg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background 0.25s var(--ease);
  border: 1px solid transparent;
}
.event-card:hover {
  background: var(--bg-mid);
  border-color: rgba(196, 120, 24, 0.2);
}
.event-when {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
}
.event-name {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--chalk);
  line-height: 1.1;
  margin-top: 0.25rem;
}
.event-info {
  font-family: var(--ff-sans);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted-lt);
  line-height: 1.5;
}
.event-free {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3dc47a;
  margin-top: auto;
  padding-top: 0.75rem;
}

.events-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 244, 232, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.private-hire-note {
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted-lt);
  max-width: 40ch;
}
.private-hire-note strong { font-weight: 500; color: var(--chalk); }


/* ── FIND US SECTION ── */
.find-us {
  background: var(--cream);
  padding: clamp(4rem, 10vw, 8rem) var(--pad);
}
.find-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.find-left {}
.find-cta-title {
  font-family: var(--ff-serif);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}
.find-cta-title em { color: var(--rust); }
.find-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.find-ctas .btn--fill {
  background: var(--rust);
  border-color: var(--rust);
  color: var(--chalk);
}
.find-ctas .btn--fill:hover {
  background: var(--rust-lt);
  border-color: var(--rust-lt);
}
.find-ctas .btn--outline {
  color: var(--ink);
  border-color: rgba(13, 10, 6, 0.3);
}
.find-ctas .btn--outline:hover {
  border-color: var(--ink);
  background: rgba(13, 10, 6, 0.04);
}

.find-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-top: 1rem;
}
.find-block {}
.find-block-label {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(13, 10, 6, 0.4);
  margin-bottom: 0.6rem;
}
.find-block p {
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-mid);
}
.find-block a { color: var(--rust); }
.find-block a:hover { text-decoration: underline; }

.find-map {
  grid-column: 1 / -1;
  height: 160px;
  background: var(--parchment);
  border: 1px solid rgba(13, 10, 6, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(13, 10, 6, 0.3);
}


/* ── FOOTER ── */
.footer {
  background: var(--ink);
  color: rgba(250, 244, 232, 0.45);
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--pad);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-style: italic;
  font-size: 1rem;
  color: var(--chalk);
}
.footer-nav-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-nav-links a {
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(250, 244, 232, 0.4);
  transition: color 0.2s var(--ease);
}
.footer-nav-links a:hover { color: var(--chalk); }
.footer-copy {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
}
.footer-credit {
  width: 100%;
  text-align: center;
  padding-top: 1.5rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(250, 244, 232, 0.06);
}
.footer-credit a {
  font-family: var(--ff-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: rgba(250, 244, 232, 0.2);
  text-decoration: none;
  transition: color 0.4s var(--ease), letter-spacing 0.4s var(--ease);
}
.footer-credit a:hover {
  color: var(--amber);
  letter-spacing: 0.18em;
}
.footer-credit .credit-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber);
  vertical-align: middle;
  margin: 0 0.5em;
  opacity: 0.4;
  transition: opacity 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.footer-credit a:hover .credit-dot {
  opacity: 1;
  box-shadow: 0 0 6px var(--amber);
}


/* ── ANIMATIONS & REVEALS ── */
.fade-up {
  opacity: 0;
  transform: translateY(2.5rem);
  transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-in {
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}
.fade-in.visible { opacity: 1; }
.slide-left {
  opacity: 0;
  transform: translateX(-3rem);
  transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
}
.slide-left.visible { opacity: 1; transform: translateX(0); }
.slide-right {
  opacity: 0;
  transform: translateX(3rem);
  transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
}
.slide-right.visible { opacity: 1; transform: translateX(0); }

@keyframes fade-in {
  from { opacity: 0; transform: translateY(1rem); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }


/* ── VIEW TRANSITIONS ── */
@keyframes fade-out { to { opacity: 0; } }
@keyframes fade-in-anim { from { opacity: 0; } }
@keyframes slide-from-right {
  from { transform: translateX(2rem); opacity: 0; }
}
@keyframes slide-to-left {
  to { transform: translateX(-2rem); opacity: 0; }
}
::view-transition-old(root) {
  animation: 0.3s var(--ease) both fade-out;
}
::view-transition-new(root) {
  animation: 0.4s var(--ease-out) both fade-in-anim;
}


/* ── ACCESSIBILITY ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  /* The blanket rule above lands the marquee on its END frame (translateX(-50%)),
     which cuts off the start phrase. Stop its animation entirely instead so it
     freezes at the clean start position — readable, nothing cut off. */
  .marquee-track { animation: none !important; }
}


/* ══════════════════════════════════════
   MENU PAGE STYLES
   ══════════════════════════════════════ */

.page-hero {
  background: var(--bg);
  padding: calc(var(--nav-h) + clamp(3rem, 6vw, 5rem)) var(--pad) clamp(3rem, 6vw, 5rem);
}
.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.page-title {
  font-family: var(--ff-serif);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  color: var(--chalk);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.page-subtitle {
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted-lt);
  max-width: 40ch;
  line-height: 1.6;
}

.menu-section {
  padding: clamp(3rem, 7vw, 5rem) var(--pad);
}
.menu-section:nth-child(odd) { background: var(--cream); }
.menu-section:nth-child(even) { background: var(--parchment); }

.menu-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.menu-heading {
  font-family: var(--ff-serif);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.menu-subheading {
  font-family: var(--ff-sans);
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(13, 10, 6, 0.45);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(13, 10, 6, 0.1);
}
.menu-list {
  display: grid;
  gap: 0;
}
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(13, 10, 6, 0.08);
  align-items: baseline;
}
.menu-item-left {}
.menu-item-name {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.menu-item-desc {
  font-family: var(--ff-sans);
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(13, 10, 6, 0.5);
  line-height: 1.5;
}
.menu-item-tags {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.35rem;
  flex-wrap: wrap;
}
.menu-tag {
  font-family: var(--ff-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 100px;
  background: rgba(156, 61, 30, 0.08);
  color: var(--rust);
}
.menu-tag.abv { background: rgba(196, 120, 24, 0.1); color: var(--amber); }
.menu-tag.new { background: rgba(61, 196, 122, 0.1); color: #2a9960; }
.menu-tag.seasonal { background: rgba(212, 168, 67, 0.12); color: #9a7a1a; }
.menu-item-price {
  font-family: var(--ff-mono);
  font-size: 0.85rem;
  color: rgba(13, 10, 6, 0.6);
  white-space: nowrap;
}


/* ══════════════════════════════════════
   EVENTS PAGE STYLES
   ══════════════════════════════════════ */

.events-page-section {
  background: var(--bg);
  padding: clamp(4rem, 8vw, 6rem) var(--pad);
}
.events-page-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.recurring-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: rgba(250, 244, 232, 0.05);
  margin-top: 3rem;
}
.recurring-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.recurring-card:hover {
  background: var(--bg-mid);
  border-color: rgba(196, 120, 24, 0.15);
}
.recurring-day {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}
.recurring-name {
  font-family: var(--ff-serif);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--chalk);
  line-height: 1.05;
}
.recurring-time {
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--muted-lt);
}
.recurring-free {
  font-family: var(--ff-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3dc47a;
  margin-top: 0.5rem;
}

/* Private Hire */
.hire-section {
  background: var(--cream);
  padding: clamp(4rem, 8vw, 6rem) var(--pad);
}
.hire-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.hire-text { display: flex; flex-direction: column; gap: 1.25rem; }
.hire-desc {
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-mid);
}
.hire-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hire-detail-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.hire-detail-label {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(13, 10, 6, 0.4);
  white-space: nowrap;
  padding-top: 0.15rem;
  min-width: 6rem;
}
.hire-detail-val {
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.5;
}


/* ══════════════════════════════════════
   BOOK PAGE STYLES
   ══════════════════════════════════════ */

.book-section {
  background: var(--cream);
  padding: clamp(3rem, 7vw, 5rem) var(--pad);
}
.book-inner {
  max-width: 760px;
  margin: 0 auto;
}
.book-intro {
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-mid);
  margin-bottom: 2.5rem;
}
.book-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-label {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(13, 10, 6, 0.5);
}
.form-input,
.form-select,
.form-textarea {
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--parchment);
  border: 1px solid rgba(13, 10, 6, 0.18);
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  border-radius: 0;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--rust);
  background: #fff;
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-note {
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(13, 10, 6, 0.45);
  line-height: 1.5;
}
.form-submit {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}
.book-form .btn--fill {
  background: var(--rust);
  border-color: var(--rust);
  color: var(--chalk);
  padding: 1rem 2.5rem;
}
.book-form .btn--fill:hover {
  background: var(--rust-lt);
  border-color: var(--rust-lt);
}

.book-walkin {
  background: var(--bg);
  padding: clamp(3rem, 7vw, 5rem) var(--pad);
}
.book-walkin-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.book-walkin-text { max-width: 50ch; }
.book-walkin-text h2 {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--chalk);
  margin-bottom: 0.75rem;
}
.book-walkin-text p {
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted-lt);
}


/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */

@media (max-width: 1024px) {
  .floor-card {
    grid-template-columns: auto 1fr;
  }
  .floor-img-wrap { display: none; }
  .about-inner { grid-template-columns: 1fr; }
  .about::before { font-size: 40vw; }
  .find-inner { grid-template-columns: 1fr; }
  .hire-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .hero-foot { flex-direction: column; align-items: flex-start; }
  .hero-title { font-size: clamp(3.5rem, 14vw, 7rem); }
  .hero-num { display: none; }

  .floor-card {
    grid-template-columns: 1fr;
  }
  .floor-num-wrap { writing-mode: horizontal-tb; }
  .floor-number { font-size: clamp(4rem, 15vw, 7rem); transform: none; }

  .about-stats { flex-wrap: wrap; gap: 1.5rem; }

  .floors-header { flex-direction: column; align-items: flex-start; }
  .pours-header { flex-direction: column; align-items: flex-start; }
  .events-header { flex-direction: column; align-items: flex-start; }

  .find-right { grid-template-columns: 1fr 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }

  .book-walkin-inner { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { justify-content: center; }
  .events-grid { grid-template-columns: 1fr; }
  .pours-grid { grid-template-columns: 1fr; }
  .recurring-grid { grid-template-columns: 1fr; }
  .find-right { grid-template-columns: 1fr; }
}


/* ── Database-driven content (events / menu rendered from Supabase) ── */

/* Event card description — was an inline style on the static cards;
   moved to a class now that the cards are built from data. */
.recurring-desc {
  font-family: var(--ff-sans);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted-lt);
  line-height: 1.65;
  margin-top: 0.5rem;
}

/* Loading / empty / error states for data-driven sections. */
.data-state {
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--muted-lt);
  padding: 2rem 0;
  grid-column: 1 / -1;       /* span the whole grid */
}
.data-state--error { color: var(--rust); }

/* Menu tabs (Beer / Whiskey / Wine & More / Food) — dark-on-light to
   match the cream/parchment menu background. */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2.25rem;
  border-bottom: 1px solid rgba(13, 10, 6, 0.12);
  margin-bottom: 2.5rem;
}
.menu-tab {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(13, 10, 6, 0.45);
  padding: 0.85rem 0;
  position: relative;
  background: none;
  cursor: none;
  transition: color 0.25s ease;
}
.menu-tab::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.menu-tab:hover { color: var(--ink); }
.menu-tab.active { color: var(--rust); }
.menu-tab.active::after { transform: scaleX(1); }

/* Category headings stack within a tab panel; space them apart. */
.menu-panel .menu-heading { margin-top: 2.5rem; }
.menu-panel .menu-heading:first-child { margin-top: 0; }

/* "Draft" badge — was an inline amber style on the static menu. */
.menu-tag.draft { background: rgba(196, 120, 24, 0.1); color: var(--amber); }


/* "Download menu (PDF)" action above the menu tabs. */
.menu-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.25rem;
}
.menu-pdf-link { font-size: 0.7rem; }


/* ══════════════════════════════════════
   PRINTABLE MENU  (menu-pdf.html)
   ──────────────────────────────────────
   A single-document menu sheet rendered from the same Supabase data
   as the interactive menu. Designed dark-ink-on-light so it survives
   print-to-PDF (browsers drop background fills by default). The on-screen
   view shows the sheet as a "page" on a dark backdrop; @media print maps
   it to A4. To produce a dense LANDSCAPE variant later, the two marked
   knobs below (@page size + .pdf-content column-count) are all that change.
   ══════════════════════════════════════ */

.pdf-body-page { background: var(--bg); }

/* Screen-only toolbar */
.pdf-toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2rem);
  background: rgba(12, 26, 19, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(240, 228, 204, 0.12);
}
.pdf-tool-link {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-lt);
  text-decoration: none;
}
.pdf-tool-link:hover { color: var(--chalk); }
.pdf-print-btn { font-size: 0.75rem; }

.pdf-stage {
  padding: clamp(1.5rem, 5vw, 3.5rem) 1rem;
  display: flex;
  justify-content: center;
}

/* The "paper". A4 portrait aspect on screen, real A4 in print. */
.pdf-doc {
  width: 100%;
  max-width: 820px;
  background: var(--chalk);
  color: var(--ink);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

/* ---- Header ---- */
.pdf-head {
  text-align: center;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--ink);
}
.pdf-eyebrow {
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.75rem;
}
.pdf-brand {
  font-family: var(--ff-serif);
  font-weight: 900;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  line-height: 1;
  color: var(--ink);
}
.pdf-address {
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(13, 10, 6, 0.55);
  margin-top: 0.75rem;
}

/* ---- Body: two columns that flow ---- */
.pdf-content {
  column-count: 2;          /* KNOB: 1 reads taller; landscape variant uses 3 */
  column-gap: 2.5rem;
}
.pdf-section { break-inside: avoid-column; margin-bottom: 1.4rem; }
.pdf-section-title {
  font-family: var(--ff-serif);
  font-weight: 900;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--rust);
  margin-bottom: 0.6rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(156, 61, 30, 0.3);
}
.pdf-cat { break-inside: avoid; margin-bottom: 1rem; }
.pdf-cat-title {
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.45rem;
}
.pdf-item { break-inside: avoid; margin-bottom: 0.55rem; }
.pdf-item-head {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.pdf-item-name {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  white-space: nowrap;
}
.pdf-leader {
  flex: 1 1 auto;
  border-bottom: 1px dotted rgba(13, 10, 6, 0.3);
  transform: translateY(-0.18rem);
}
.pdf-item-price {
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  color: var(--ink);
  white-space: nowrap;
}
.pdf-item-desc {
  font-family: var(--ff-sans);
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(13, 10, 6, 0.62);
  line-height: 1.45;
  margin-top: 0.1rem;
}
.pdf-item-meta {
  font-family: var(--ff-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: rgba(156, 61, 30, 0.85);
  margin-top: 0.15rem;
}

/* ---- Footer ---- */
.pdf-foot {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(13, 10, 6, 0.15);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--ff-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(13, 10, 6, 0.5);
}

/* ══════════════════════════════════════
   PRINT  — applies to every page, but the printable menu is the
   one designed for it. Backgrounds are intentionally avoided so
   nothing relies on print-color-adjust; ink-on-white throughout.
   ══════════════════════════════════════ */
@media print {
  @page { size: A4 portrait; margin: 14mm; }   /* KNOB: "A4 landscape" for the dense variant */

  /* Hide all site chrome that isn't the menu sheet. */
  .grain, .cursor, .cursor-ring, .scroll-progress,
  .site-header, .nav-drawer, .marquee-band,
  #theme-decor,
  .pdf-toolbar, .footer { display: none !important; }

  html, body { background: #fff !important; }
  .pdf-body-page { background: #fff !important; }
  .pdf-stage { padding: 0; display: block; }
  .pdf-doc {
    max-width: none;
    width: 100%;
    padding: 0;
    box-shadow: none;
    color: #000;
  }
  .pdf-section { break-inside: avoid; }
}


/* ══════════════════════════════════════
   EVENT THEMES  (re-skin via :root[data-theme])
   ──────────────────────────────────────
   Each theme only remaps the ACCENT palette variables — never layout, type,
   spacing, or the base bg/text — so the approved design's structure and
   contrast stay intact and only the accent hues change. Default (no
   data-theme) is the approved look. The active theme is set only from an
   approved value (js/data.js applyTheme + the DB check in migration 005);
   arbitrary values are never applied. ?theme=<name> previews one.
   ══════════════════════════════════════ */

:root[data-theme="paddys"] {        /* St Patrick's — green & gold */
  --amber: #2f9e44;  --amber-lt: #51cf66;
  --rust:  #2b8a3e;  --rust-lt:  #40a85a;
  --gold:  #f0c419;
}
:root[data-theme="valentines"] {    /* romantic pinks & deep red */
  --amber: #e0457b;  --amber-lt: #ff7aa8;
  --rust:  #b3215c;  --rust-lt:  #d94e82;
  --gold:  #f4c2d2;
}
:root[data-theme="christmas"] {     /* red, holly green & gold */
  --amber: #c0392b;  --amber-lt: #e74c3c;
  --rust:  #1e6b3a;  --rust-lt:  #2e8b4f;
  --gold:  #e8c33c;
}
:root[data-theme="halloween"] {     /* pumpkin orange & purple */
  --amber: #e8730c;  --amber-lt: #ff8c1a;
  --rust:  #7b2d9c;  --rust-lt:  #9b4fc0;
  --gold:  #f0a020;
}
:root[data-theme="ireland"] {       /* tricolour — green & orange */
  --amber: #169b62;  --amber-lt: #2dbd7e;
  --rust:  #ff7a2e;  --rust-lt:  #ff9457;
  --gold:  #e0a83a;
}
:root[data-theme="rugby"] {         /* Ireland rugby — green & gold */
  --amber: #0a7d3c;  --amber-lt: #1aa653;
  --rust:  #075c2c;  --rust-lt:  #0f7d3e;
  --gold:  #e9c84a;
}
:root[data-theme="gaa"] {           /* GAA — green & gold */
  --amber: #0b6e34;  --amber-lt: #129a49;
  --rust:  #9c7a12;  --rust-lt:  #c99a1e;
  --gold:  #f4cd3a;
}
:root[data-theme="football"] {      /* Ireland soccer — green & white */
  --amber: #138a3e;  --amber-lt: #2bb35f;
  --rust:  #0c5e2b;  --rust-lt:  #147a39;
  --gold:  #e8e2d0;
}

/* ══════════════════════════════════════
   THEME WORDMARKS  (play on "Christ·church")
   ──────────────────────────────────────
   For the bolder themes, the hero headline's "Christ" (the .accent span) is
   struck through and a spray-painted word is laid over it — Lovechurch,
   Paddy'schurch, Hauntedchurch … The real H1 text stays "The Christchurch" in
   the DOM (SEO + screen readers); the swap is decorative CSS only, chosen by
   the theme — no live text generation. Hero headline only; the header logo is
   left as the plain wordmark. Scoped per data-theme so default is untouched.
   ══════════════════════════════════════ */

/* Make .accent a positioning context for the strike + spray (all prefix themes). */
:root[data-theme="valentines"] .hero-title .accent,
:root[data-theme="paddys"]     .hero-title .accent,
:root[data-theme="christmas"]  .hero-title .accent,
:root[data-theme="halloween"]  .hero-title .accent {
  position: relative;
}
/* Plain strike bar for the prefix themes (Valentine's overrides it with a Cupid's
   arrow; Christmas opts out entirely — it uses the Christ·mas·church build). */
:root[data-theme="paddys"]    .hero-title .accent::before,
:root[data-theme="halloween"] .hero-title .accent::before {
  content: "";
  position: absolute;
  left: -3%;
  right: -3%;
  top: 50%;
  height: 0.07em;
  border-radius: 0.04em;
  transform: rotate(-4deg);
  z-index: 1;
}
/* Cupid's arrow through "Christ" (Valentine's only). */
:root[data-theme="valentines"] .hero-title .accent::before {
  content: "";
  position: absolute;
  left: -7%;
  right: -7%;
  top: 50%;
  height: 0.36em;
  transform: translateY(-50%) rotate(-5deg);
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20200%2040'%3E%3Cg%20stroke='%23ff5d8f'%20stroke-width='4'%20fill='none'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cline%20x1='16'%20y1='20'%20x2='176'%20y2='20'/%3E%3Cpolyline%20points='158,8%20184,20%20158,32'/%3E%3Cline%20x1='16'%20y1='20'%20x2='2'%20y2='9'/%3E%3Cline%20x1='16'%20y1='20'%20x2='2'%20y2='31'/%3E%3Cline%20x1='28'%20y1='20'%20x2='14'%20y2='9'/%3E%3Cline%20x1='28'%20y1='20'%20x2='14'%20y2='31'/%3E%3C/g%3E%3C/svg%3E") center/100% 100% no-repeat;
  z-index: 1;
}
/* The sprayed-over replacement word (shared base; Christmas is handled apart). */
:root[data-theme="valentines"] .hero-title .accent::after,
:root[data-theme="paddys"]     .hero-title .accent::after,
:root[data-theme="halloween"]  .hero-title .accent::after {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%) rotate(-7deg);
  font-family: "Permanent Marker", "Space Mono", cursive;
  font-weight: 400;
  font-style: normal;
  white-space: nowrap;
  z-index: 2;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

/* Valentine's — dim "Christ", spray "Love" in hot pink. */
:root[data-theme="valentines"] .hero-title .accent {
  color: rgba(224, 69, 123, 0.40);
}
:root[data-theme="valentines"] .hero-title .accent::after {
  content: "Love";
  color: #ff5d8f;
  font-size: 1.08em;
  -webkit-text-stroke: 0.9px #ff5d8f;   /* Permanent Marker is single-weight; stroke adds heft */
}

/* St Paddy's — dim "Christ" green, spray "Paddy's" in gold. */
:root[data-theme="paddys"] .hero-title .accent { color: rgba(47, 158, 68, 0.42); }
:root[data-theme="paddys"] .hero-title .accent::before { background: #ffd43b; }
:root[data-theme="paddys"] .hero-title .accent::after { content: "Paddy's"; color: #ffd43b; font-size: 0.9em; }

/* Christmas — keep "Christ" (green), drop "mas" in inline red spray, then
   "church": Christ·mas·church. No strike/overlay — the word is built, not struck. */
:root[data-theme="christmas"] .hero-title .accent { color: #2f9e44; }
:root[data-theme="christmas"] .hero-title .accent::after {
  content: "mas";
  display: inline-block;
  font-family: "Permanent Marker", "Space Mono", cursive;
  font-weight: 400;
  font-style: normal;
  color: #e23b30;
  -webkit-text-stroke: 0.5px #e23b30;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.32);
  transform: rotate(-3deg) translateY(0.01em);
  margin: 0 0.03em;
}

/* Halloween — dim "Christ", spray "Haunted" in pumpkin orange. */
:root[data-theme="halloween"] .hero-title .accent { color: rgba(232, 115, 12, 0.42); }
:root[data-theme="halloween"] .hero-title .accent::before { background: #ff8c1a; }
:root[data-theme="halloween"] .hero-title .accent::after { content: "Haunted"; color: #ff8c1a; font-size: 0.9em; }

/* ---- Sports wordmark: strike "Christ" through in red, keep "church", then a
        red spray-painted "of <Sport>" line beneath (added in the title flow by
        applySportSpray(), so it never overlaps other text). ---- */
:root[data-theme="rugby"]    .hero-title .accent,
:root[data-theme="gaa"]      .hero-title .accent,
:root[data-theme="football"] .hero-title .accent {
  position: relative;
  color: rgba(245, 240, 232, 0.22);          /* "Christ" knocked back to a ghost */
}
:root[data-theme="rugby"]    .hero-title .accent::before,
:root[data-theme="gaa"]      .hero-title .accent::before,
:root[data-theme="football"] .hero-title .accent::before {
  content: "";
  position: absolute;
  left: -3%;
  right: -3%;
  top: 49%;
  height: 0.075em;
  border-radius: 0.04em;
  transform: rotate(-3deg);
  background: #e02a23;                        /* red strike-through */
  z-index: 1;
}

/* The sprayed "of <Sport>" line (per-letter spans from applySportSpray). */
.hero-title .sport-spray {
  font-family: "Permanent Marker", "Rubik Spray Paint", cursive;   /* legible, with sprayed texture from the filter/mist */
  font-size: 0.5em;                           /* a sub-line under the wordmark */
  line-height: 1.05;
  margin-top: 0.06em;
  color: #e8332a;                             /* red spray paint */
  white-space: nowrap;
  transform: rotate(-2.5deg);
  filter: url(#spray-rough);                  /* roughened, painted-in */
  text-shadow:                                /* red overspray mist */
    0 0 3px rgba(232, 51, 42, 0.5),
    0 0 11px rgba(232, 51, 42, 0.28),
    0 3px 10px rgba(0, 0, 0, 0.4);
}
:root[data-theme="rugby"] .hero-title .sport-spray { font-size: 0.34em; }   /* longer text */
@media (max-width: 600px) {
  :root[data-theme="rugby"] .hero-title .sport-spray { font-size: 0.24em; }  /* "of the Six Nations" fits narrow screens */
}
.hero-title .sport-spray .g-letter {
  display: inline-block;
  position: relative;
}
.hero-title .sport-spray .g-letter.drip::after {   /* a running paint drip with a drop at the end */
  content: "";
  position: absolute;
  left: 46%;
  top: 72%;
  width: 0.09em;
  height: 0.82em;
  border-radius: 0 0 50% 50% / 0 0 26% 26%;
  background: currentColor;
  box-shadow: 0 0.78em 0 -0.012em currentColor;   /* the bulging drop at the bottom */
  opacity: 0.78;
  filter: blur(0.25px);
}

:root[data-theme="easter"] {        /* spring pastels — yellow & lilac */
  --amber: #d99a2b;  --amber-lt: #f0c060;
  --rust:  #a86fb0;  --rust-lt:  #c08fc8;
  --gold:  #f0d060;
}

/* ══════════════════════════════════════
   THEME DECORATIONS  (the "obvious" overlay)
   ──────────────────────────────────────
   An additive, full-viewport layer that floats decorative motifs OVER the
   page for the bolder themes (Christmas snow, later Valentine's hearts, …).
   It is built/torn down by js/data.js (applyDecor) and only exists when an
   approved bold theme is active — `default` and the restrained themes have
   no #theme-decor element at all, so the signed-off design is untouched.
   pointer-events:none means it never blocks a click; it sits above content
   but below the header and custom cursor. Motion is fully suppressed under
   prefers-reduced-motion (see the media query below).
   ══════════════════════════════════════ */
#theme-decor {
  position: fixed;
  inset: 0;
  z-index: 9500;           /* above the grain (9000) so motifs read clearly; below the cursor (9998+) */
  overflow: hidden;
  pointer-events: none;
}

/* Falling motifs — snowflakes, hearts (tinted text glyphs) or SVG sport balls.
   They share the fall animation; per-theme rules below set colour/glow. */
#theme-decor .decor-fall {
  position: absolute;
  top: -3rem;
  line-height: 1;
  user-select: none;
  will-change: transform;
  animation-name: decor-fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
#theme-decor .decor-fall svg {
  width: auto;            /* keep each motif's own aspect (flags 3:2, shields tall) */
  height: 1em;
  display: block;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4));   /* lift the motifs off the page */
}

/* Snow / hearts / shamrocks are monochrome glyphs we tint + glow (hearts' colour
   is set per-element in js/data.js; here we just give them a soft halo). */
:root[data-theme="christmas"]  #theme-decor .decor-fall { color: #fff; text-shadow: 0 0 6px rgba(180, 220, 255, 0.75); }
:root[data-theme="valentines"] #theme-decor .decor-fall { text-shadow: 0 0 7px rgba(255, 120, 160, 0.55); }
:root[data-theme="paddys"]     #theme-decor .decor-fall { color: #3ad27a; text-shadow: 0 0 6px rgba(40, 180, 90, 0.5); }
:root[data-theme="halloween"]  #theme-decor .decor-fall { text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45); }

/* Match-day fixture strip — a slim, premium "what's on" board placed below the
   nav inside the hero (built by applyStrip() in js/data.js). Clean Space Mono,
   small colour accents only — a polished pub sports promo, not a decoration.
   It's a hero child (scrolls with the hero) and sits clear of all other text. */
.hero .fixture-strip {
  position: absolute;
  top: 70px;                     /* just below the nav, above the status line */
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;                    /* above hero bg/glow; the nav (header) stays on top */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.9rem;
  max-width: min(94vw, 720px);
  padding: 0.42rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(8, 16, 12, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  font-family: "Space Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #e8e4d8;
  pointer-events: none;
}
.hero .fixture-strip .fs-live {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;       /* never stack "SIX NATIONS LIVE" */
}
.hero .fixture-strip .fs-live::before {   /* the LIVE pulse dot */
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4136;
  box-shadow: 0 0 7px #ff4136;
}
.hero .fixture-strip .fs-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.8rem;
}
.hero .fixture-strip .fs-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  opacity: 0.92;
}
.hero .fixture-strip .fs-dot {   /* small country/competition colour accent */
  width: 9px;
  height: 9px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.hero .fixture-strip .fs-note {
  text-transform: none;
  letter-spacing: 0.02em;
  font-style: italic;
  opacity: 0.7;
  white-space: nowrap;
}
.hero .fixture-strip .fs-abbr { display: none; }   /* desktop shows full country names */

/* Tablet: swap full country names for IRE/ENG/… abbreviations to stay slim. */
@media (max-width: 900px) {
  .hero .fixture-strip .fs-full { display: none; }
  .hero .fixture-strip .fs-abbr { display: inline; }
}

/* Mobile: the hero top is tight, so drop the strip into the gap below the
   status line and keep it to ONE row — the live label + small colour dots
   only (chip text hidden). Premium and clear of all other text. */
@media (max-width: 600px) {
  .hero .fixture-strip {
    top: 96px;
    flex-wrap: nowrap;
    font-size: 0.56rem;
    gap: 0.5rem;
    padding: 0.32rem 0.8rem;
    max-width: 94vw;
  }
  .hero .fixture-strip .fs-items { flex-wrap: nowrap; gap: 0.34rem; }
  .hero .fixture-strip .fs-full,
  .hero .fixture-strip .fs-abbr,
  .hero .fixture-strip .fs-label { display: none; }   /* dots only on mobile */
  .hero .fixture-strip .fs-item { gap: 0; }
  .hero .fixture-strip .fs-dot { width: 9px; height: 9px; }
}

@keyframes decor-fall {
  0%   { transform: translateY(-3rem) translateX(0) rotate(0deg); }
  100% { transform: translateY(104vh) translateX(2.5rem) rotate(240deg); }
}

/* Accessibility: no drifting motion for people who ask to reduce it. The
   motifs still show (js/data.js scatters them statically) — only the falling
   animation is stopped. */
@media (prefers-reduced-motion: reduce) {
  #theme-decor .decor-fall { animation: none !important; }
}


/* ── ON TAP (on-tap.html) — live Untappd tap list, glass cards ── */
.tap-section {
  background: var(--bg);
  padding: clamp(3rem, 8vw, 6rem) var(--pad) clamp(4rem, 10vw, 8rem);
  position: relative;
  overflow: hidden;               /* clip the blurred blobs to this band */
}
/* Soft colour blobs behind the cards — this is what the glass cards blur
   and tint. Fixed per-theme via --amber/--rust so seasonal themes recolour
   this too, same as everywhere else on the site. Decorative, inert. */
.tap-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}
.tap-blob--1 { width: 32rem; height: 32rem; top: -8rem; left: -6rem; background: var(--amber); }
.tap-blob--2 { width: 26rem; height: 26rem; bottom: -6rem; right: -4rem; background: var(--rust); }
.tap-blob--3 { width: 20rem; height: 20rem; top: 40%; left: 55%; background: var(--amber-lt, var(--amber)); opacity: 0.16; }

.tap-section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.tap-group + .tap-group { margin-top: clamp(2.5rem, 5vw, 4rem); }
.tap-group-heading {
  font-family: var(--ff-serif);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: var(--chalk);
  margin-bottom: 1.5rem;
}
.tap-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

/* The glass card itself: translucent, blurred, soft-shadowed, faint
   top highlight — reads as a pane of glass over the blobs above. */
.tap-card {
  background: linear-gradient(160deg, rgba(250, 244, 232, 0.10), rgba(250, 244, 232, 0.02));
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(250, 244, 232, 0.14);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(250, 244, 232, 0.10);
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease-out);
}
.tap-card:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 120, 24, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(250, 244, 232, 0.12);
}
.tap-card-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
  background: rgba(250, 244, 232, 0.08);
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(250, 244, 232, 0.1);
}
.tap-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}
.tap-number {
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
}

/* Untappd Community Award medal — real, external recognition (top 3 rated
   in style/country that year), distinct from the World Beer Awards credits
   already noted on beers.html. Label precisely so the two never get mixed
   up. */
.tap-award {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  font-family: var(--ff-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  margin-bottom: 0.15rem;
}
.tap-award--gold   { background: rgba(212, 175, 55, 0.16); color: #d4af37; }
.tap-award--silver { background: rgba(192, 192, 192, 0.16); color: #c8c8c8; }
.tap-award--bronze { background: rgba(205, 127, 50, 0.16); color: #cd7f32; }
.tap-name {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--chalk);
  line-height: 1.15;
}
.tap-sub {
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted-lt);
}

/* Description: clamped to 3 lines by default. JS only reveals the "More
   info" toggle when the text actually overflows that clamp, so short
   descriptions never show a pointless button. */
.tap-desc {
  font-family: var(--ff-sans);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(250, 244, 232, 0.65);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.tap-card.is-expanded .tap-desc {
  -webkit-line-clamp: unset;
  overflow: visible;
}
.tap-more-btn {
  align-self: flex-start;
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  background: none;
  border: none;
  padding: 0.1rem 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tap-more-btn:hover { color: var(--chalk); }

.tap-origin {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  color: var(--muted-lt);
  margin-top: 0.15rem;
}

.tap-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.tap-chip {
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  color: var(--muted-lt);
}
.tap-chip--serve {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  background: rgba(196, 120, 24, 0.12);
  color: var(--amber);
}
.tap-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  color: var(--muted-lt);
  text-decoration: none;
  margin-left: auto;
}
a.tap-rating:hover { color: var(--amber); }
.tap-rating-star { color: var(--amber); }

/* Announcement banner — only rendered when Niall has actually set one on
   the Untappd dashboard (see the function README). Sits above the grid. */
.tap-announcement {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(120deg, rgba(196, 120, 24, 0.16), rgba(156, 61, 30, 0.10));
  border: 1px solid rgba(196, 120, 24, 0.25);
  border-radius: 14px;
  padding: 0.9rem 1.25rem;
  margin-bottom: 2rem;
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  color: var(--chalk);
}
.tap-announcement-icon { flex-shrink: 0; }

/* Untappd events for this venue — only rendered when at least one exists. */
.tap-events {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.tap-events-heading {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
}
.tap-event-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(250, 244, 232, 0.08);
  font-family: var(--ff-sans);
  color: var(--chalk);
}
.tap-event-when {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--muted-lt);
}

.tap-attribution {
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--muted-lt);
  margin-top: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.tap-attribution a { color: var(--muted-lt); text-decoration: underline; }

/* Recent check-ins — Legitimate Interests basis, see DECISIONS.md D-11
   update and the comment above renderCheckins() in js/data.js. */
.tap-checkins {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.tap-checkins-heading {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
}
.tap-checkin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.tap-checkin-card {
  background: linear-gradient(160deg, rgba(250, 244, 232, 0.08), rgba(250, 244, 232, 0.02));
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(250, 244, 232, 0.12);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.tap-checkin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.tap-checkin-user {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--chalk);
  text-decoration: none;
}
a.tap-checkin-user:hover { color: var(--amber); }
.tap-checkin-rating {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--amber);
}
.tap-checkin-beer {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--chalk);
}
.tap-checkin-comment {
  font-family: var(--ff-sans);
  font-size: 0.85rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(250, 244, 232, 0.75);
  line-height: 1.5;
}
.tap-checkin-date {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  color: var(--muted-lt);
  margin-top: auto;
}

/* Browsers without backdrop-filter support (rare) fall back to a plain
   translucent card — still readable, just not frosted. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .tap-card { background: var(--bg-mid); }
}

@media (max-width: 480px) {
  .tap-cards { grid-template-columns: 1fr; }
  .tap-card { padding: 1.25rem; }
  .tap-blob { filter: blur(50px); }
  .tap-checkin-grid { grid-template-columns: 1fr; }
}
