/* ==========================================================================
   THE COACH & HORSES — Clapham SW4
   "THE PUB, LIVE" — the site behaves like the pub's front window today.
   Ground: near-black green. Accent: warm amber. Type: Fraunces + Inter.
   No frameworks, no build step.
   ========================================================================== */

:root {
  --ink: #0E1512;             /* page ground */
  --ink-2: #131B17;           /* raised surface */
  --ink-3: #1A241F;           /* raised surface, hover */
  --board-ink: #1B1B18;       /* chalkboard slate — matte near-black */
  --chalk: #F2EFE6;           /* chalk off-white — 14.8:1 on the slate */
  --cell: #141D18;            /* flap cell (404 page) */
  --line: rgba(237, 231, 218, 0.12);
  --text: #EDE7DC;            /* warm off-white */
  --text-dim: #B4AC9E;        /* secondary — 7.4:1 on ink */
  --amber: #E4A93C;           /* the one accent */
  --amber-soft: #EFC169;
  --on-amber: #171208;
  --green: #45C486;           /* "open now" dot only */
  --error: #F2A29B;
  --wrap: 1200px;

  --s-1: 0.5rem;
  --s0: 1rem;
  --s1: 1.5rem;
  --s2: 2.5rem;
  --s3: 4rem;
  --s4: 6rem;
  --section-y: clamp(4rem, 9vw, 7rem);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --step--1: clamp(0.8125rem, 0.78rem + 0.15vw, 0.875rem);
  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --step-1: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.125rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.25rem);
  --step-4: clamp(2.625rem, 1.8rem + 4.2vw, 5.25rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--amber-soft); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px; top: 0;
  z-index: 300;
  background: var(--amber);
  color: var(--on-amber);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Cross-document view transitions (menus ⇄ home) where supported */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }

/* ---------- type ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2.section-head { font-size: var(--step-3); max-width: 24ch; }
h3 { font-size: var(--step-2); line-height: 1.15; }

.kicker {
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--s0);
}

.lede {
  font-size: var(--step-1);
  color: var(--text-dim);
  max-width: 58ch;
  margin-top: var(--s1);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn--amber { background: var(--amber); color: var(--on-amber); }
.btn--amber:hover { background: var(--amber-soft); color: var(--on-amber); }
.btn--ghost { background: transparent; color: var(--text); border-color: rgba(237,231,218,0.4); }
.btn--ghost:hover { border-color: var(--amber); color: var(--amber-soft); }
.btn--block { display: block; width: 100%; text-align: center; }
.btn[disabled] { opacity: .6; cursor: wait; }

.text-link {
  font-weight: 600;
  color: var(--amber-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(228,169,60,0.4);
  padding-bottom: 2px;
  transition: border-color .2s ease, color .2s ease;
}
.text-link:hover { color: var(--text); border-color: var(--text); }

/* ---------- header / nav (never wraps: burger below 840px) ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid,
.site-header.is-static {
  background: rgba(14, 21, 18, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  height: 4.5rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.375rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.wordmark-mark {
  height: 40px;
  width: auto;
  flex: none;
  opacity: 0.95;
}
/* instagram section header row + coming-soon card accent */
.insta-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: var(--s2);
}
.gallery a { display: block; }
.gallery a:hover img, .gallery a:focus-visible img { opacity: 0.88; }
.kicker--soon,
.card .kicker--soon {
  display: inline-block;
  background: var(--amber);
  color: #1C1508;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}
.card--soon { border: 1px solid rgba(228, 169, 60, 0.45);
}
.wordmark .amp { color: var(--amber); font-style: italic; font-weight: 400; }

.nav-right { display: flex; align-items: center; gap: clamp(0.5rem, 1.5vw, 1.25rem); min-width: 0; }
.desktop-links { display: none; align-items: center; gap: clamp(0.9rem, 2vw, 1.75rem); }
.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.02em;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.nav-link:hover { color: var(--amber-soft); border-bottom-color: var(--amber); }
/* greyed-out coming-soon nav entry (Pool Room) */
.nav-link--soon {
  color: rgba(237, 231, 218, 0.35);
  cursor: default;
  pointer-events: none;
}
/* One size everywhere. This was 0.62em, which inherited the mobile panel's
   35px link size and rendered "soon" at ~22px — bigger than the nav item it
   was tagging. Matched to .chalk-offer so every small amber flag on the site
   (soon tags, the £5 board flag) is the same 0.68rem. */
.soon-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0.75;
  margin-left: 0.5rem;
  vertical-align: middle;
}
.panel-soon {
  color: rgba(237, 231, 218, 0.35);
  cursor: default;
  pointer-events: none;
}
.nav-book { display: none; }

/* live status pill — filled in by script.js, hidden until then */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  /* near-opaque + blur so the 0.78rem text keeps contrast even over the
     bright hero photograph before scroll */
  background: rgba(14, 21, 18, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.status-pill:hover { border-color: var(--amber); color: var(--text); }
.status-pill[hidden] { display: none; }
.pill-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--text-dim); flex: none; }
.status-pill.is-open .pill-dot {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(69, 196, 134, 0.18);
  animation: pill-pulse 2.6s ease-in-out infinite;
}
.status-pill.is-closed .pill-dot {
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(228, 169, 60, 0.18);
}
@keyframes pill-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(69, 196, 134, 0.18); }
  50% { box-shadow: 0 0 0 5px rgba(69, 196, 134, 0.07); }
}

.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: 6px;
  flex: none;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(14, 21, 18, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 6vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.mobile-panel.is-open { opacity: 1; visibility: visible; }
.mobile-panel[hidden] { display: none; }
.mobile-panel a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  color: var(--text);
  text-decoration: none;
  padding: 0.6rem 0;
  line-height: 1.2;
}
.mobile-panel a:hover { color: var(--amber-soft); }
.mobile-panel .panel-book { color: var(--amber); }
.mobile-panel .panel-soon {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  padding: 0.6rem 0;
  line-height: 1.2;
}

@media (max-width: 419.9px) {
  .site-header .wrap { gap: 0.3rem; }
  .wordmark { font-size: 0.95rem; letter-spacing: 0; gap: 0.45rem; }
  .wordmark-mark { height: 30px; }
  .status-pill { font-size: 0.63rem; padding: 0.28rem 0.5rem; gap: 0.32rem; letter-spacing: 0.01em; }
  .pill-dot { width: 0.4rem; height: 0.4rem; }
  .hamburger { width: 38px; padding: 0 7px; }
}
@media (min-width: 840px) {
  .desktop-links { display: flex; }
  .nav-book { display: inline-block; padding: 0.7rem 1.3rem; font-size: var(--step--1); }
  .hamburger, .mobile-panel { display: none; }
}

/* ==========================================================================
   1. HERO — INSIDE THE PUB
   bar-1.jpg: the horseshoe bar and copper taps. Desktop: name + status
   top-left, chalkboard left column, booking card right column. Mobile
   (<=800px): the photo is a full first viewport with name, status and two
   anchor CTAs; the chalkboard and booking card stack directly beneath.
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%; /* taps + back bar centred, lamps kept above */
}
.hero-media::after {
  /* legibility scrims: left + right thirds and bottom, plus a slim top band
     for the header — straight gradients only, the bar itself stays bright */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(10, 15, 12, 0.78) 0%,
      rgba(10, 15, 12, 0.30) 20%,
      rgba(10, 15, 12, 0) 38%),
    linear-gradient(to left,
      rgba(10, 15, 12, 0.82) 0%,
      rgba(10, 15, 12, 0.34) 20%,
      rgba(10, 15, 12, 0) 38%),
    linear-gradient(to top,
      rgba(10, 15, 12, 0.90) 0%,
      rgba(10, 15, 12, 0.46) 24%,
      rgba(10, 15, 12, 0) 52%),
    linear-gradient(to bottom,
      rgba(10, 15, 12, 0.58) 0%,
      rgba(10, 15, 12, 0) 20%);
}
.hero-inner {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: 5.5rem;
  padding-bottom: clamp(1.75rem, 4vh, 3rem);
}
.hero-inner > .wrap {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hero-top {
  max-width: 62ch;
  position: relative;
}
/* soft dark pool behind the headline block so it reads over the bottles */
.hero-top::before {
  content: "";
  position: absolute;
  inset: -3rem -5rem -2rem -6rem;
  background: radial-gradient(70% 75% at 35% 45%, rgba(10, 15, 12, 0.62), rgba(10, 15, 12, 0) 72%);
  pointer-events: none;
}
.hero-top > * { position: relative; }
.hero h1 {
  margin-top: var(--s-1);
  max-width: 12ch;
  font-size: clamp(2.5rem, 1.9rem + 3.2vw, 4.25rem);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75), 0 2px 28px rgba(0, 0, 0, 0.55);
}
.hero h1 .amp { color: var(--amber); font-style: italic; font-weight: 400; }
.hero .sub {
  margin-top: var(--s0);
  font-size: var(--step-1);
  max-width: 42ch;
  color: rgba(242, 238, 228, 0.98);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8), 0 1px 18px rgba(0, 0, 0, 0.6);
}
.hero-ctas { display: none; } /* mobile-only anchor buttons */
.hero-grid {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s1);
  align-items: end;
  padding-top: var(--s1);
}
@media (min-width: 801px) {
  .hero-grid {
    grid-template-columns: minmax(280px, 1fr) clamp(330px, 34vw, 430px);
    justify-content: space-between;
    gap: clamp(2rem, 4vw, 4.5rem);
  }
  .chalkboard { max-width: 460px; }
  .hero .board-note { max-width: 46ch; }
}
@media (max-width: 800px) {
  .hero-media { inset: 0 0 auto 0; height: 100svh; }
  .hero-media img { object-position: 55% 50%; } /* centre band of the bar + taps */
  .hero-media::after {
    /* phones: text always beats the photo — flat dim + deep bottom fade
       into the page ground so the stacked cards continue seamlessly */
    background:
      linear-gradient(to top,
        var(--ink) 0%,
        rgba(10, 15, 12, 0.9) 18%,
        rgba(10, 15, 12, 0.45) 42%,
        rgba(10, 15, 12, 0.16) 62%,
        rgba(10, 15, 12, 0.14) 100%),
      linear-gradient(to bottom,
        rgba(10, 15, 12, 0.55) 0%,
        rgba(10, 15, 12, 0) 20%);
  }
  .hero-inner { min-height: 0; padding-top: 0; padding-bottom: var(--s2); }
  .hero-top {
    min-height: 100svh;
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 5.5rem;
    padding-bottom: clamp(2.25rem, 7vh, 3.5rem);
  }
  .hero .sub { display: block; font-size: 0.95rem; max-width: 34ch; margin-top: 0.5rem; }
  .hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--s1); }
  .hero-ctas .btn { flex: 1 1 10rem; text-align: center; white-space: nowrap; }
  .hero-ctas .btn--ghost {
    background: rgba(14, 21, 18, 0.35);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-color: rgba(237, 231, 218, 0.55);
  }
  .hero-grid { margin-top: 0; padding-top: var(--s1); align-items: stretch; }
}

/* live status line — the pub speaking in station-clock voice */
.hero-status {
  display: inline-block;
  margin-top: var(--s1);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-soft);
  border-left: 2px solid var(--amber);
  padding: 0.35rem 0.8rem 0.35rem 0.7rem;
  background: rgba(10, 12, 10, 0.62);
  border-radius: 0 6px 6px 0;
}

/* the booking card — frosted glass, solid fallback */
.book-card {
  background: rgba(12, 17, 14, 0.93);           /* fallback: solid */
  border: 1px solid rgba(237, 231, 218, 0.16);
  border-radius: 18px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  scroll-margin-top: 5.5rem;
  max-width: 100%;
}
@supports ((backdrop-filter: blur(1em)) or (-webkit-backdrop-filter: blur(1em))) {
  .book-card {
    background: rgba(14, 21, 18, 0.62);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    backdrop-filter: blur(18px) saturate(1.3);
  }
}
.book-title { font-size: 1.5rem; }
.book-sub { color: var(--text-dim); font-size: var(--step--1); margin-top: 0.25rem; }
#booking-form { margin-top: var(--s1); display: grid; gap: var(--s0); }
#booking-form[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.field input,
.field select {
  width: 100%;
  background: rgba(10, 15, 12, 0.65);
  border: 1px solid rgba(237, 231, 218, 0.45);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  padding: 0.7rem 0.85rem;
  color-scheme: dark;
  transition: border-color .2s ease;
  min-width: 0;
}
.field input:focus-visible,
.field select:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 0;
  border-color: var(--amber);
}
.field-note { font-size: 0.8rem; color: var(--text-dim); margin-top: 0.1rem; }
.field-note a { color: var(--amber-soft); }

.opt-in {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-dim);
  cursor: pointer;
}
.opt-in input {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.1rem;
  accent-color: var(--amber);
  cursor: pointer;
}
.opt-in input:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.stepper { display: flex; gap: 0.5rem; }
.stepper input {
  text-align: center;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.step-btn {
  flex: none;
  width: 2.9rem;
  border: 1px solid rgba(237, 231, 218, 0.18);
  border-radius: 10px;
  background: rgba(237, 231, 218, 0.08);
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.step-btn:hover { background: rgba(237, 231, 218, 0.16); border-color: rgba(237, 231, 218, 0.35); }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.bk-done {
  margin-top: var(--s1);
  border: 1px solid rgba(69, 196, 134, 0.4);
  background: rgba(69, 196, 134, 0.08);
  border-radius: 12px;
  padding: var(--s0) 1.25rem;
}
.bk-done[hidden] { display: none; }
.bk-done .bk-done-head { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.25rem; }
.bk-done p + p { color: var(--text-dim); font-size: var(--step--1); }
.bk-done a { color: var(--amber-soft); }
.bk-status { min-height: 1.4em; margin-top: 0.6rem; font-size: 0.85rem; font-weight: 600; color: var(--amber-soft); }
.bk-status.is-error { color: var(--error); }
.bk-status a { color: inherit; }
.bk-alt { margin-top: 0.6rem; font-size: 0.8rem; color: var(--text-dim); }
.bk-alt a { color: var(--amber-soft); }

/* ==========================================================================
   4. WHAT'S-ON TICKER
   ========================================================================== */
.ticker-wrap {
  border-block: 1px solid var(--line);
  background: var(--ink-2);
  /* rides in place below the hero, then docks under the fixed header
     (4.5rem tall, z 100) and stays for the rest of the page */
  position: sticky;
  top: 4.5rem;
  z-index: 80;
}
.ticker { overflow: hidden; }
/* fade the marquee out before it reaches the pause toggle */
.ticker-wrap:has(.ticker-toggle:not([hidden])) .ticker {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 4.5rem), transparent calc(100% - 1rem));
  mask-image: linear-gradient(90deg, #000 calc(100% - 4.5rem), transparent calc(100% - 1rem));
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 36s linear infinite;
}
/* cycles forever — no hover-pause; keyboard focus and the toggle still pause it */
.ticker-wrap:focus-within .ticker-track,
.ticker-track.is-paused { animation-play-state: paused; }
/* user-operable pause/play (WCAG 2.2.2) — revealed by script.js */
.ticker-toggle {
  position: absolute;
  top: 50%;
  right: 0.6rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ink-2);
  color: var(--text);
  font-size: 0.6rem;
  line-height: 1;
  cursor: pointer;
}
.ticker-toggle:hover, .ticker-toggle:focus-visible { border-color: var(--amber); color: var(--amber-soft); }
.ticker-toggle[hidden] { display: none; }
.ticker-run {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  padding-right: 2.75rem; /* trailing gap = loop seam */
  padding-block: 0.85rem;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text);
}
.ticker .dot, .ticker-static .dot { color: var(--amber); font-size: 0.55rem; }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }
.ticker-static {
  display: none;
  padding: 0.85rem clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text);
  line-height: 2;
}

/* ---------- bands & cards ---------- */
.band { padding-block: var(--section-y); }
.band[id] { scroll-margin-top: 8rem; }
.band--raised { background: var(--ink-2); }

.cards {
  margin-top: var(--s3);
  display: grid;
  gap: var(--s1);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--ink-2);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: var(--s2) var(--s1) var(--s1);
  display: flex;
  flex-direction: column;
  gap: var(--s0);
  transition: background-color .2s ease, border-color .2s ease;
}
.band--raised .card { background: var(--ink-3); }
.card:hover { border-color: var(--line); }
.card .kicker { margin-bottom: 0; }
.card h3 { font-size: 1.5rem; }
.card p { color: var(--text-dim); flex-grow: 1; }

/* ---------- food ---------- */
.food-grid {
  margin-top: var(--s3);
  display: grid;
  gap: var(--s2);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) { .food-grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--s3); } }
.food-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}
/* the printed BSB menu — portrait, uncropped, click-through to the PDF */
.menu-card {
  position: relative;
  display: block;
  max-width: 26rem;
  justify-self: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}
.menu-card:hover, .menu-card:focus-visible { transform: translateY(-3px); }
.menu-card img {
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  display: block;
}
.menu-card-label {
  position: absolute;
  left: 50%;
  bottom: 0.9rem;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--amber-soft);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(242, 239, 230, 0.18);
  white-space: nowrap;
}
.kitchen-line {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: var(--s1);
}
.menu-highlights { list-style: none; margin-top: var(--s1); }
.menu-highlights li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding-block: 0.8rem;
}
.menu-highlights li + li { border-top: 1px solid var(--line); }
.menu-highlights .name { font-family: var(--font-display); font-weight: 400; font-size: var(--step-1); }
.menu-highlights .dots { flex: 1; border-bottom: 1px dotted rgba(237, 231, 218, 0.25); transform: translateY(-4px); }
.menu-highlights .price {
  font-family: var(--font-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--amber-soft);
}
.food-cta { margin-top: var(--s2); }

/* ==========================================================================
   2. "POURING NOW" — THE TAP BOARD
   A quiet dark panel in the site's own type — no props.
   ========================================================================== */
.hero-board { min-width: 0; scroll-margin-top: 5.5rem; }
.chalkboard {
  background: var(--board-ink);
  border: 1px solid rgba(242, 239, 230, 0.12);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  padding: clamp(1.1rem, 3vw, 1.6rem) clamp(1rem, 3vw, 1.5rem) clamp(1rem, 3vw, 1.4rem);
  color: var(--chalk);
}
.chalk-head {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 1.7rem);
  line-height: 1.1;
  color: var(--chalk);
  margin-bottom: 0.9rem;
}
.chalk-list { list-style: none; }
.chalk-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding-block: 0.52rem;
  font-size: 1.0625rem;
  line-height: 1.35;
}
.chalk-list li + li { border-top: 1px solid rgba(242, 239, 230, 0.09); }
.chalk-name { font-weight: 600; color: var(--chalk); min-width: 0; }
.chalk-style {
  display: inline-block;
  font-style: normal;
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 1;
  color: rgba(242, 239, 230, 0.55);
  margin-left: 0.35rem;
  white-space: nowrap;
}
.chalk-price {
  margin-left: auto;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--chalk);
  white-space: nowrap;
}
.board-note {
  margin-top: var(--s0);
  font-size: var(--step--1);
  color: rgba(237, 231, 218, 0.85);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
.board-note a { color: var(--amber-soft); }

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  gap: var(--s0);
  grid-template-columns: 1fr 1fr;
  padding-inline: clamp(1.25rem, 3vw, 2rem);
  max-width: 1400px;
  margin-inline: auto;
}
@media (min-width: 880px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
/* Live Instagram grid: square crops, 3 across like Instagram's own grid, so
   six posts read as two proper rows. Six-across was tried first and rendered
   as a thin 209px strip on a wide screen — legible, but nobody registered it
   as the feed. */
.gallery.is-live img { aspect-ratio: 1 / 1; }
@media (min-width: 880px) { .gallery.is-live { grid-template-columns: repeat(3, 1fr); } }
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
}

/* ---------- find us ---------- */
.findus-grid {
  margin-top: var(--s3);
  display: grid;
  gap: var(--s2);
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .findus-grid { grid-template-columns: 1fr 1fr; gap: var(--s2) var(--s4); align-items: start; }
}
@media (min-width: 1100px) {
  .findus-grid { grid-template-columns: 1.15fr 0.95fr 0.9fr; gap: var(--s3); }
}
/* live Google Map — keyless share-embed, lazy-loaded */
.findus-map { max-width: 34rem; }
.findus-map iframe {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 12px;
  display: block;
  background: var(--ink-2);
}
.findus-photo figcaption {
  margin-top: 0.6rem;
  font-size: var(--step--1);
  color: var(--text-dim);
}
.hours-table { border-collapse: collapse; width: 100%; max-width: 26rem; }
.hours-table caption {
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-1);
  padding-bottom: var(--s0);
}
.hours-table th, .hours-table td { padding: 0.6rem 0; text-align: left; font-weight: 600; }
.hours-table th { color: var(--text); }
.hours-table td {
  text-align: right;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.hours-table tr + tr { border-top: 1px solid var(--line); }
.hours-table tr[aria-current] th, .hours-table tr[aria-current] td { color: var(--amber-soft); }
.hours-table tr[aria-current] th::after {
  content: " · today";
  color: var(--amber);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.kitchen-hours { margin-top: var(--s1); color: var(--text-dim); font-size: var(--step--1); max-width: 26rem; }
.contact-block p { margin-bottom: var(--s0); color: var(--text-dim); }
.contact-block .addr {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-1);
  color: var(--text);
  line-height: 1.45;
}

/* ---------- repeat booking CTA ---------- */
.cta-band { text-align: center; }
.cta-band .section-head { margin-inline: auto; }
.cta-band .lede { margin-inline: auto; }
.cta-band .btn { margin-top: var(--s2); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: var(--s3);
  text-align: center;
}
.site-footer p { margin-bottom: var(--s-1); color: var(--text-dim); font-size: var(--step--1); }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--amber-soft); }
.site-footer .sign {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: var(--step-1);
  color: var(--text);
  margin-top: var(--s1);
  margin-bottom: 0;
}
.site-footer .cameo {
  width: 72px;
  height: auto;
  margin: 0 auto var(--s1);
  opacity: 0.5;
  filter: invert(1);
}

/* ==========================================================================
   MENUS PAGE
   ========================================================================== */
.page-head { padding-top: calc(4.5rem + clamp(2.5rem, 7vw, 4.5rem)); padding-bottom: var(--s1); }
.page-head .page-note { color: var(--text-dim); margin-top: var(--s1); max-width: 60ch; }

/* sticky chip rail — one thumb-height row, scrolls sideways, no scrollbar */
.chip-nav {
  position: sticky;
  top: 4.5rem;               /* directly under the fixed header */
  z-index: 80;
  background: rgba(14, 21, 18, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-block: 1px solid var(--line);
}
.chip-track {
  display: flex;
  gap: 0.5rem;
  max-width: 46rem;          /* aligns with .menu-col */
  margin-inline: auto;
  padding: 0.6rem clamp(1.25rem, 4vw, 2.5rem);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.chip-track::-webkit-scrollbar { display: none; }
.chip-track a {
  flex: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.chip-track a:hover { border-color: var(--amber); color: var(--amber-soft); }
.chip-track a.is-active { background: var(--amber); border-color: var(--amber); color: var(--on-amber); }

.menu-col { max-width: 46rem; margin-inline: auto; }
.menu-section { padding-block: var(--s3) 0; scroll-margin-top: 8.5rem; }
.menu-section:last-of-type { padding-bottom: var(--s3); }
.menu-section > h2 { font-size: var(--step-3); }
.menu-note { color: var(--text-dim); font-size: var(--step--1); margin-top: 0.6rem; max-width: 60ch; }
.menu-note a { color: var(--amber-soft); }
.menu-section h3 {
  margin-top: var(--s2);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 8.5rem; /* clear the fixed header + sticky chips */
}
.dish-list { list-style: none; }
.dish { display: flex; gap: 0.75rem; align-items: baseline; padding-block: 0.8rem; }
.dish + .dish { border-top: 1px solid var(--line); }
.dish .body { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.dish .name { font-family: var(--font-display); font-size: 1.125rem; }   /* 18px */
.dish .desc { color: var(--text-dim); font-size: 0.95rem; line-height: 1.5; } /* ~15px, wraps under name */
.dish .dots { flex: 1 0 1.5rem; border-bottom: 1px dotted rgba(237, 231, 218, 0.25); transform: translateY(-4px); }
.dish .price {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--amber-soft);
  white-space: nowrap;       /* a price never wraps to its own line */
  font-variant-numeric: tabular-nums;
}
.tag {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(228, 169, 60, 0.5);
  color: var(--amber-soft);
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  margin-left: 0.4rem;
  vertical-align: middle;
}
.menu-cta { text-align: center; padding-block: var(--s1) var(--s3); }

/* ==========================================================================
   404
   ========================================================================== */
.lost {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--s3) clamp(1.25rem, 4vw, 2.5rem);
}
.lost-board { display: flex; gap: 6px; justify-content: center; margin-bottom: var(--s2); }
.lost-board span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6ch;
  height: 1.5em;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(3rem, 12vw, 5rem);
  background: var(--cell);
  border-radius: 10px;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.5);
  position: relative;
  color: var(--amber-soft);
}
.lost-board span::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  background: rgba(0, 0, 0, 0.55);
}
.lost h1 { font-size: var(--step-3); }
.lost .lede { margin-inline: auto; }
.lost-links { margin-top: var(--s2); display: flex; gap: var(--s0); justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   5. DAY-TO-NIGHT SCROLL GRADE — scroll-driven, guarded, subtle
   ========================================================================== */
.grade { display: none; }
@supports (animation-timeline: scroll(root)) {
  .grade {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 55;              /* under header (100) and mobile panel (90) */
    pointer-events: none;
    background-color: #E8B24A;
    opacity: 0;
    animation: duskgrade linear both;
    animation-timeline: scroll(root);
  }
  @keyframes duskgrade {
    0%   { opacity: 0;    background-color: #E8B24A; } /* afternoon */
    40%  { opacity: 0.05; background-color: #E29A44; } /* golden hour */
    100% { opacity: 0.12; background-color: #8F4A5E; } /* dusk */
  }
  .hero-media img {
    animation: herowarm linear both;
    animation-timeline: scroll(root);
  }
  @keyframes herowarm {
    from { filter: sepia(0) saturate(1) brightness(1); }
    to   { filter: sepia(0.3) saturate(1.12) brightness(0.92); }
  }
}

/* ==========================================================================
   REDUCED MOTION — static ticker, no grade, no transitions
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .ticker { display: none; }
  .ticker-toggle { display: none; }
  .ticker-static { display: block; }
  .grade { display: none; }
  @view-transition { navigation: none; }
}

/* coming-soon card: amber edge (kept at end of file so it wins the cascade) */
.cards .card--soon { border: 1px solid rgba(228, 169, 60, 0.45); }

/* ==========================================================================
   THE STANDING OFFER — £5 Pillars Pilsner, Mon–Fri open till 7pm
   Carried in four places so it can't be missed: hero flash, ticker, its own
   What's On card, and a flag on the tap board. Change the price or the window
   in ALL of them (index.html: .hero-flash, .ticker-hot ×3, .card--hot,
   .chalk-offer + the sr-only board and ticker lists).
   ========================================================================== */
.hero-flash {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.15rem 0.55rem;
  padding: 0.4rem 0.9rem 0.45rem;
  border: 1px solid rgba(228, 169, 60, 0.5);
  border-radius: 999px;
  background: rgba(18, 14, 6, 0.55);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
}
@supports ((backdrop-filter: blur(1em)) or (-webkit-backdrop-filter: blur(1em))) {
  .hero-flash { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}
.flash-price {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--amber);
}
.flash-what { font-weight: 600; color: var(--text); }
.flash-when { color: var(--text-dim); }

.ticker-hot { color: var(--amber); }

.cards .card--hot {
  border: 1px solid rgba(228, 169, 60, 0.55);
  background:
    linear-gradient(180deg, rgba(228, 169, 60, 0.10), rgba(228, 169, 60, 0) 60%),
    var(--ink-2);
}
.kicker--hot,
.card .kicker--hot {
  display: inline-block;
  background: var(--amber);
  color: var(--on-amber);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}
/* The cards are flex columns, so these inline-block badges were stretched to
   the full card width — a solid amber bar rather than a label. Hug the text
   and left-align, so the "Coming Soon" and "Mon–Fri" badges match each other. */
.card .kicker--hot,
.card .kicker--soon,
.card .text-link { align-self: flex-start; }
/* ...and the kickers are <p>, so `.card p { flex-grow: 1 }` was also stretching
   them DOWN into the card's spare vertical space. On the short Pool Table card
   that turned the badge into a 146x122 amber slab. A label never grows. */
.card .kicker { flex-grow: 0; }

/* Five cards. repeat(5) inside the 1200px wrap gave 205px columns and body copy
   that broke every three words. Three columns with the promo spanning two fills
   both rows exactly — 5 cards, no stranded card, no half-empty row. */
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards .card--hot { grid-column: span 2; }
}

.tag--offer {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--on-amber);
}

.chalk-offer {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--amber);
  margin-top: 0.15rem;
}
