/*
  CLIENT: The Palace Public House
  ─────────────────────────────────────────
  Nav:            custom — sticky translucent navy bar, round badge logo left,
                  Cinzel letterspaced links right (static/stacked on phones)
  Hero:           A — full-frame background video/image, dark veil, centered
                  cream headline + two CTAs, double-line gold Deco frame
  Typography:     10 — Cormorant Garamond display + Jost body (+ Cinzel labels)
  Color Strategy: 2 — dark foundation: navy-black ground, gold as linework
                  only, cream for display type and primary CTA
  Section Rhythm: custom — per approved concept-10 "The Golden Age" landing
  Design Seed:    1930s movie-palace glamour, supper club, small-town warm
  ─────────────────────────────────────────
  Extends the approved concept-10 landing verbatim; inner-page components
  (menu, programme, private-events form, history) added below.
*/

/* self-hosted variable fonts (latin subset, from Google Fonts) */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: block;
  src: url("../fonts/cormorant-garamond-var.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: block;
  src: url("../fonts/cormorant-garamond-italic-var.woff2") format("woff2");
}

@font-face {
  font-family: Cinzel;
  font-style: normal;
  font-weight: 400 900;
  font-display: block;
  src: url("../fonts/cinzel-var.woff2") format("woff2");
}

@font-face {
  font-family: Jost;
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
  src: url("../fonts/jost-var.woff2") format("woff2");
}

@font-face {
  font-family: Jost;
  font-style: italic;
  font-weight: 100 900;
  font-display: block;
  src: url("../fonts/jost-italic-var.woff2") format("woff2");
}

:root {
  --ground: #0d1220;
  --panel: #131a2c;
  --panel-deep: #0a0e1a;
  --gold: #c9a24a;
  --gold-dim: rgba(201, 162, 74, 0.45);
  --gold-faint: rgba(201, 162, 74, 0.18);
  --cream: #f2e8dc;
  --cream-soft: rgba(242, 232, 220, 0.78);
  --bulb-warm: #ffd98a;
  --ink: #10151f;
  --marquee-top: #161d31;
  --bulb-off-hi: #55482c;
  --bulb-off-lo: #2e2818;
  --bulb-lit-hi: #f6e3b4;
  --bulb-lit-mid: #caa54e;
  --bulb-lit-lo: #97722c;
  --display: "Cormorant Garamond", Georgia, serif;
  --label: "Cinzel", Georgia, serif;
  --body: "Jost", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* NOTE: no `scroll-behavior: smooth` here — Lenis drives scrolling, and
   combining the two makes the browser re-smooth every Lenis frame (huge lag). */

body {
  background: var(--ground);
  color: var(--cream-soft);
  font-family: var(--body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--cream); }

a { color: var(--gold); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- shared atoms ---------- */

.eyebrow {
  font-family: var(--label);
  font-size: 16px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.text-link {
  font-family: var(--label);
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.3s ease;
}
.text-link:hover { border-bottom-color: var(--gold); }

.btn {
  display: inline-block;
  font-family: var(--label);
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 34px;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.btn-outline {
  color: var(--gold);

  /* explicit: on a <button> this would otherwise inherit the UA buttonface fill */
  background: transparent;
  border: 1px solid var(--gold);
}
.btn-outline:hover { background: var(--gold-faint); }
.btn-solid {
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--cream);
}
.btn-solid:hover { box-shadow: 0 0 24px rgba(242, 232, 220, 0.25); }

/* double-line Deco frame */
.deco-frame {
  border: 1px solid var(--gold-dim);
  outline: 1px solid var(--gold-faint);
  outline-offset: 5px;
}

/* section heading with flanking rules */
.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-family: var(--label);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--cream);
  text-align: center;
  margin-bottom: 56px;
}
.section-heading .rule {
  height: 1px;
  width: min(160px, 18vw);
  background: linear-gradient(90deg, transparent, var(--gold-dim));
}
.section-heading .rule:last-child {
  background: linear-gradient(90deg, var(--gold-dim), transparent);
}

.section-foot {
  text-align: center;
  margin-top: 40px;
  font-size: 17px;
  color: var(--cream-soft);
}

/* Ken Burns drift inside frames */
.kb { overflow: hidden; }
.kb img { animation: kenburns 34s ease-in-out infinite alternate; }

@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(24px, 5vw, 64px);
  border-bottom: 1px solid var(--gold-faint);
  background: rgba(13, 18, 32, 0.88);
  backdrop-filter: blur(10px);
  /* stylelint-disable-next-line property-no-vendor-prefix */
  -webkit-backdrop-filter: blur(10px);
}

.brand-badge {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  box-shadow: 0 0 0 4px var(--ground), 0 0 0 5px var(--gold-faint);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 44px);
}
.site-nav a {
  font-family: var(--label);
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-soft);
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.site-nav a:hover { color: var(--gold); }
.site-nav a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* mobile menu toggle: three gold hairlines from the site's own linework
   (CSS only — the no-icon-SVG rule holds). Hidden on desktop. */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle .nav-bar {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.nav-toggle[aria-expanded="true"] .nav-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero { padding: clamp(20px, 3.5vw, 44px) clamp(16px, 4vw, 56px) 0; }

.hero-frame {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media,
.hero-media img,
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img { object-fit: cover; object-position: center 65%; }
.hero-media video { object-fit: cover; }

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(13, 18, 32, 0.55) 0%, rgba(13, 18, 32, 0.82) 100%),
    linear-gradient(180deg, rgba(13, 18, 32, 0.35), rgba(13, 18, 32, 0.6));
}

.hero-content {
  position: relative;
  text-align: center;
  padding: clamp(56px, 9vh, 110px) 24px;
  max-width: 940px;
}

.hero-content h1 {
  font-size: clamp(38px, 6.2vw, 82px);
  line-height: 1.04;
  letter-spacing: 0.01em;
  margin: 22px 0 26px;
}

.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--cream-soft);
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- NOW SHOWING marquee ---------- */

.marquee-section { padding: clamp(48px, 7vw, 88px) clamp(16px, 4vw, 56px); }

.marquee {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--marquee-top), var(--panel-deep));
  border: 1px solid var(--gold-dim);
  outline: 1px solid var(--gold-faint);
  outline-offset: 5px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

/* warm light spilling down from the canopy */
.marquee::after {
  content: "";
  position: absolute;
  top: 36px;
  left: 0;
  right: 0;
  height: 130px;
  background: radial-gradient(60% 100% at 50% 0%, rgba(255, 214, 138, 0.07), transparent 70%);
  pointer-events: none;
}

.marquee-inner {
  display: flex;
  align-items: stretch;
  padding-top: 36px; /* clears the canopy strip */
}

/* the still fills the whole left side of the billboard, edge to edge.
   img is absolutely positioned: height:100% can't resolve against an
   auto-height flex item, and the fallback (natural portrait height)
   makes the whole marquee balloon. */
.marquee-still {
  position: relative;
  flex-shrink: 0;
  width: clamp(240px, 42%, 460px);
  min-height: 210px;
  overflow: hidden;
  border-right: 1px solid var(--gold-faint);
}
.marquee-still img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 45%;
}

.marquee-bill {
  flex: 1;
  align-self: center;
  padding: 36px clamp(28px, 5vw, 64px) 44px;
}

.bill-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--label);
  font-size: 16px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-soft);
  margin-bottom: 12px;
}
.meta-divider { width: 1px; height: 14px; background: var(--gold-dim); }

.marquee-bill h2,
.marquee-bill h1 {
  font-size: clamp(30px, 3.4vw, 44px);
  letter-spacing: 0.01em;
  color: var(--cream);
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 10px;
}

.bill-line { font-size: 17px; }

.marquee-link {
  position: absolute;
  right: 20px;
  bottom: 14px;
  font-size: 14px;
}

/* canopy: a single row of small brass bulbs along the top edge */
.marquee-canopy {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  border-bottom: 1px solid var(--gold-faint);
  pointer-events: none;
}

.bulb {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--bulb-off-hi), var(--bulb-off-lo) 70%);
  opacity: 0.8;
  transition: opacity 0.35s ease;
}

/* lit bulbs hold steady — brass, not neon */
.bulb.lit {
  background: radial-gradient(circle at 35% 35%, var(--bulb-lit-hi), var(--bulb-lit-mid) 60%, var(--bulb-lit-lo) 100%);
  box-shadow: 0 0 5px 1px rgba(246, 227, 180, 0.5), 0 0 12px 2px rgba(255, 190, 92, 0.15);
  opacity: 1;
}

/* quiet marquee variant — Events page header: canopy + centered billing, no still */
.marquee-quiet .marquee-inner {
  display: block;
  text-align: center;
  padding: 36px clamp(24px, 5vw, 72px) 8px;
}
.marquee-quiet .marquee-bill { padding: 28px 0 40px; }
.marquee-quiet .bill-meta { justify-content: center; }
.marquee-quiet .marquee-bill h2,
.marquee-quiet .marquee-bill h1 { font-size: clamp(36px, 4.4vw, 58px); }
.marquee-quiet .bill-line { max-width: 68ch; margin: 0 auto; }

/* ---------- pillars ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  /* shared rows: icon / title / text / link — keeps all three columns aligned */
  grid-template-rows: auto auto 1fr auto;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 48px) clamp(16px, 4vw, 56px) clamp(56px, 7vw, 96px);
}

.pillar {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  align-content: start;
  justify-items: center;
  text-align: center;
  padding: 12px clamp(20px, 3vw, 44px);
  border-left: 1px solid var(--gold-faint);
}
.pillar:first-child { border-left: none; }

.pillar-icon {
  width: 42px;
  height: 42px;
  color: var(--gold);
  margin-bottom: 22px;
}

.pillar h3 {
  font-family: var(--label);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.pillar p { font-size: 17px; margin-bottom: 20px; }

/* ---------- events ---------- */

.events { padding: 0 clamp(16px, 4vw, 56px) clamp(64px, 8vw, 110px); }

.event-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  /* shared rows: title / tags / description / time — keeps cards aligned;
     all-auto so cards collapse to content height. row-gap must stay 0:
     the shared rows live INSIDE the cards, so any row-gap here becomes
     empty space between title/tags/text/time. */
  grid-template-rows: auto auto auto auto;
  gap: 0 clamp(20px, 3vw, 36px);
  max-width: 880px;
  margin: 0 auto;
}

.event-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: subgrid;
  grid-row: span 4;
  column-gap: 20px;
  background: var(--panel);
  padding: 22px;
}
.event-card > :not(.event-date) { grid-column: 2; }

.event-date {
  grid-column: 1;
  grid-row: 1 / span 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 92px;
  border: 1px solid var(--gold-dim);
  padding: 14px 8px;
  align-self: start;
}
.event-day {
  font-family: var(--label);
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.event-label {
  font-family: var(--label);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-soft);
  white-space: nowrap;
}

.event-card h3 { font-size: 21px; line-height: 1.15; margin-bottom: 3px; }
.event-tags {
  font-family: var(--label);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 7px;
  white-space: nowrap;
}
.event-desc { font-size: 17px; }
.event-time {
  margin-top: 8px;
  font-family: var(--label);
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--cream);
  place-self: end end;
}

/* ---------- cocktails ---------- */

.cocktails {
  padding: clamp(64px, 8vw, 110px) clamp(16px, 4vw, 56px);
  background:
    linear-gradient(rgba(10, 14, 26, 0.94), rgba(10, 14, 26, 0.94)),
    url("../images/wall.jpg") center / cover;
}

.cocktail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  /* shared rows: photo / name / description — row-gap stays 0, the rows
     live inside the cards (same rule as .event-grid) */
  grid-template-rows: auto auto auto;
  gap: 0 clamp(20px, 3vw, 36px);
  max-width: 1180px;
  margin: 0 auto;
}

.cocktail {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  justify-items: center;
  background: var(--panel);
  text-align: center;
  padding: 0 0 32px;
}

.cocktail-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 24px;
}
.cocktail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cocktail h3 {
  font-family: var(--label);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.cocktail p { font-size: 17px; padding: 0 28px; }

/* ---------- story ---------- */

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 120px) clamp(16px, 4vw, 56px);
}

.story-text h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  margin: 16px 0 24px;
}
.story-text p { margin-bottom: 18px; }
.story-text .text-link { display: inline-block; margin-top: 6px; }

.story-media { position: relative; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-media figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 24px 14px;
  background: linear-gradient(180deg, transparent, rgba(10, 14, 26, 0.88));
  font-family: var(--label);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-soft);
  text-align: center;
}

/* ---------- private events band ---------- */

.private { padding: 0 clamp(16px, 4vw, 56px) clamp(72px, 9vw, 130px); }

.private-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  max-width: 1180px;
  margin: 0 auto;
  background: var(--panel);
  overflow: hidden;
}

.private-text {
  padding: clamp(40px, 6vw, 80px);
  position: relative;
  z-index: 1;
}
.private-text h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.12;
  margin: 14px 0 20px;
}
.private-text p { margin-bottom: 30px; max-width: 46ch; }

.private-media { position: relative; min-height: 320px; }
.private-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.private-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--panel) 0%, rgba(19, 26, 44, 0.25) 40%, rgba(19, 26, 44, 0.15) 100%);
}

/* ============================================================
   Inner-page components
   ============================================================ */

/* ---------- page intro (non-Events inner pages) ---------- */

.page-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 56px) clamp(24px, 4vw, 48px);
}
.page-intro h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.06;
  margin: 18px 0 20px;
}
.page-intro .lead { font-size: clamp(16px, 1.5vw, 18px); }
.page-intro-wide { max-width: 900px; }

/* free-standing paragraphs (client story copy, long-form sections) */
.prose p { margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }

/* generic inner section wrapper */
.page-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 56px);
}
.page-section.narrow { max-width: 880px; }
.page-section.narrow.cameo-wide { max-width: 940px; }

/* limestone-texture band (matches home cocktails treatment) */
.stone-band {
  background:
    linear-gradient(rgba(10, 14, 26, 0.94), rgba(10, 14, 26, 0.94)),
    url("../images/wall.jpg") center / cover;
}
.stone-band .band-copy {
  text-align: center;
  max-width: 66ch;
  margin: 0 auto;
  font-size: 17px;
}
.stone-band .menu-list { margin-top: 40px; }

/* ---------- the double bill (Events page) ---------- */

.double-bill {
  display: grid;
  grid-template-columns: 1fr 1fr;

  /* shared rows: photo space / day plate / title / description — keeps the
     billing lines level across both cards (same subgrid rule as .event-grid) */
  grid-template-rows: minmax(220px, 1fr) auto auto auto;
  gap: 0 clamp(24px, 4vw, 44px);
  max-width: 1080px;
  margin: 0 auto;
}

/* tall lobby card: photograph under the navy veil, billing at the foot */
.bill-card {
  position: relative;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  justify-items: start;
  min-height: clamp(400px, 44vw, 500px);
  overflow: hidden;
  padding: 0 clamp(24px, 3vw, 40px) clamp(28px, 3vw, 40px);
  background: var(--panel);
}
.bill-card > * {
  position: relative;
  z-index: 1;
}
.bill-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 0;
}
.bill-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bill-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 18, 32, 0.2) 0%, rgba(13, 18, 32, 0.5) 45%, rgba(13, 18, 32, 0.92) 80%, rgba(13, 18, 32, 0.97) 100%);
}
.bill-day {
  grid-row: 2;
  display: inline-block;
  font-family: var(--label);
  font-size: 15px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 7px 16px 6px;
  margin-bottom: 16px;
}
.bill-card h3 {
  grid-row: 3;
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.1;
  margin-bottom: 10px;
}
.bill-desc {
  grid-row: 4;
  align-self: start;
  font-size: 17px;
  max-width: 44ch;
}

/* special engagement: the marquee's billing register, no bulbs */
.special-bill {
  background: linear-gradient(180deg, var(--marquee-top), var(--panel-deep));
  padding: clamp(36px, 5vw, 60px);
  text-align: center;
}
.special-bill .bill-meta { justify-content: center; }
.special-bill h2 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(30px, 3.4vw, 42px);
  color: var(--cream);
  margin-bottom: 14px;
}

/* the series blurb — :not() so the trailing .charity-next block can follow it */
.special-bill > p:not(.bill-meta) {
  max-width: 62ch;
  margin: 0 auto;
  font-size: 17px;
}

/* featured non-profit, foot of the Cheers to Charity panel */
.charity-next {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(22px, 3vw, 38px);
  max-width: 620px;
  margin: clamp(30px, 4vw, 44px) auto 0;
  padding-top: clamp(26px, 3.5vw, 38px);
  border-top: 1px solid var(--gold-faint);
  text-align: left;
}

/* cream plate: the PRCAC mark is dark-on-light and needs its own ground */
.partner-logo {
  width: 152px;
  padding: 18px;
  background: var(--cream);
  border: 1px solid var(--gold-dim);
}
.partner-logo img { display: block; width: 100%; height: auto; }

.charity-next .bill-meta { justify-content: flex-start; flex-wrap: wrap; font-size: 15px; }
.charity-next .bill-meta span { white-space: nowrap; }
.charity-next .eyebrow { display: block; font-size: 14px; }
.charity-next h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(21px, 2.2vw, 26px);
  line-height: 1.15;
  color: var(--cream);
  margin: 5px 0 9px;
}
.charity-next p:last-child { font-size: 17px; }

/* ---------- on the bill: a printed poster, shown as printed ---------- */

.poster-bill {
  padding: clamp(56px, 7vw, 96px) clamp(16px, 4vw, 56px);
  background: linear-gradient(180deg, var(--panel-deep), var(--marquee-top));
}
.poster {
  display: grid;
  justify-items: center;
  gap: clamp(26px, 3vw, 36px);
  max-width: 620px;
  margin: 0 auto;
}
.poster-frame {
  width: 100%;
  padding: 10px;
  background: var(--ink); /* narrow mat between poster and gold frame */
}

/* picture is inline by default — the img's 100% needs a block to resolve against */
.poster-frame picture { display: block; }
.poster-frame img { display: block; width: 100%; height: auto; }

.poster-caption {
  max-width: 56ch;
  text-align: center;
}

/* wrap whole values rather than breaking "7:00 – 10:00 PM" across lines */
.poster-caption .bill-meta { justify-content: center; flex-wrap: wrap; }
.poster-caption .bill-meta span { white-space: nowrap; }
.poster-caption h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(27px, 3vw, 35px);
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 0;
}

/* ---------- framed note panel (type-on-navy) ---------- */

.note-panel {
  background: var(--panel);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
}
.note-panel .eyebrow { display: block; margin-bottom: 14px; }
.note-panel h2, .note-panel h3 {
  font-family: var(--label);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.note-panel p { max-width: 62ch; margin: 0 auto 12px; font-size: 17px; }
.note-panel p:last-child { margin-bottom: 0; }

/* ---------- menu (Food & Drink) ---------- */

.menu-list {
  display: grid;
  gap: 22px;
  max-width: 880px;
  margin: 0 auto;
}

.menu-item {
  background: var(--panel);
  padding: 26px clamp(22px, 4vw, 40px);
}
.menu-item h3 {
  font-size: 26px;
  line-height: 1.15;
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.menu-item h3 .menu-style {
  font-family: var(--label);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}
.menu-item p { font-size: 17px; max-width: 68ch; }

/* signature cocktail rows that carry a photo */
.menu-item.with-photo {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
}
.menu-photo {
  width: 150px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  align-self: start;
}
.menu-photo img { width: 100%; height: 100%; object-fit: cover; }

.menu-credit {
  text-align: center;
  max-width: 62ch;
  margin: 40px auto 0;
  font-size: 17px;
}
.menu-credit em { color: var(--cream); font-style: normal; }

/* simple food items (name + description, no photo) */
.food-item h3 { font-size: 23px; }

/* ---------- capacity cards (Private Events) ---------- */

.capacity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 44px);
  max-width: 1000px;
  margin: 0 auto;
}
.capacity-grid.solo { grid-template-columns: 1fr; max-width: 560px; }

.capacity-card {
  background: var(--panel);
  padding: clamp(32px, 4vw, 48px);
  text-align: center;
}
.capacity-card .capacity-number {
  font-family: var(--display);
  font-size: clamp(52px, 6vw, 76px);
  font-weight: 600;
  color: var(--cream);
  line-height: 1;
}
.capacity-card .capacity-unit {
  font-family: var(--label);
  font-size: 15px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin: 10px 0 20px;
}
.capacity-card h3 {
  font-family: var(--label);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.capacity-card p { font-size: 17px; max-width: 40ch; margin: 0 auto 10px; }
.capacity-card p:last-child { margin-bottom: 0; }

/* ---------- contact panel (private events) ---------- */

.contact-panel {
  max-width: 720px;
  margin: 0 auto;
  background: var(--panel);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
}
.contact-panel .eyebrow { display: block; margin-bottom: 14px; }
.contact-lead {
  max-width: 48ch;
  margin: 0 auto 28px;
  font-size: 18px;
}

/* the address is the point of the panel — give it real presence */
.contact-email { margin-bottom: 32px; }
.contact-email a {
  /* body font, not the Cinzel label face: Cinzel has no true lowercase, and an
     address the guest has to read and type should not render in all caps */
  font-family: var(--body);
  font-size: clamp(17px, 2.1vw, 23px);
  letter-spacing: 0.01em;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 5px;
  overflow-wrap: anywhere; /* never let the address overflow a narrow phone */
  transition: color 0.3s ease, border-color 0.3s ease;
}
.contact-email a:hover,
.contact-email a:focus-visible {
  color: var(--cream);
  border-bottom-color: var(--cream);
}

.contact-aside {
  border-top: 1px solid var(--gold-faint);
  padding-top: 28px;
}
.contact-aside-title {
  font-family: var(--label);
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

/* inline-block so the left-aligned list still sits centred in the panel */
.contact-list {
  display: inline-block;
  margin: 0;
  padding: 0;
  text-align: left;
  list-style: none;
}
.contact-list li {
  position: relative;
  margin-bottom: 9px;
  padding-left: 22px;
  font-size: 17px;
  color: var(--cream-soft);
}
.contact-list li::before {
  content: "";
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 9px;
  height: 1px;
  background: var(--gold-dim);
}
.contact-list li:last-child { margin-bottom: 0; }

.contact-foot {
  margin-top: 30px;
  font-size: 17px;
  color: var(--cream-soft);
}

/* ---------- history / visit ---------- */

.history-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 56px);
}
.history-split.reverse .history-media { order: -1; }
.history-split h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.12;
  margin: 14px 0 20px;
}
.history-split p { margin-bottom: 16px; }
.history-media { position: relative; }
.history-media img { width: 100%; height: 100%; object-fit: cover; }

.visit-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 44px);
  max-width: 1000px;
  margin: 0 auto;
}
.visit-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  padding: clamp(30px, 4vw, 44px);
  text-align: center;
}
.visit-card h2 {
  font-family: var(--label);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.visit-card p { font-size: 17px; margin-bottom: 10px; }
.visit-card p.visit-address {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 4px;
}
.visit-card p.visit-sub { color: var(--cream-soft); margin-bottom: 14px; }
.visit-card p.visit-link { margin-bottom: 0; margin-top: auto; }

/* the showtimes board */
.visit-hours .hours-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  list-style: none;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--gold-faint);
}
.hours-list li:last-child { border-bottom: none; }
.hours-list .hours-day {
  font-family: var(--label);
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-soft);
  text-align: left;
  line-height: 1.55;
}
.hours-list .hours-time {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hours-list .meridiem {
  font-family: var(--label);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--cream-soft);
}
.hours-list .hours-closed {
  font-style: italic;
  font-size: 20px;
  color: var(--gold-dim);
}

/* tonight's row: a lit marquee bulb marks the current day (set by JS) */
.hours-list li.today .hours-day { color: var(--gold); }
.hours-list li.today .hours-day::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: 1px;
  background: radial-gradient(circle at 35% 35%, var(--bulb-lit-hi), var(--bulb-lit-mid) 60%, var(--bulb-lit-lo) 100%);
  box-shadow: 0 0 5px 1px rgba(246, 227, 180, 0.5), 0 0 12px 2px rgba(255, 190, 92, 0.15);
}
.visit-card p.hours-note {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--gold-faint);
  font-family: var(--label);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Google Maps embed (inside the Location card) */
.map-embed {
  margin-bottom: 20px;
  border: 1px solid var(--gold-faint);
  padding: 5px;
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
  filter: sepia(0.22) saturate(0.82) contrast(0.97);
  transition: filter 0.4s ease;
}
.map-embed:hover iframe,
.map-embed:focus-within iframe { filter: none; }

/* Glen & Rose cameo */
.cameo {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
  background: var(--panel);
  padding: clamp(24px, 4vw, 40px);
}
.cameo-media { overflow: hidden; }
.cameo-media img { width: 100%; height: 100%; object-fit: cover; }
.cameo h3,
.cameo h2 { font-size: 24px; margin: 10px 0; font-family: var(--display); }
.cameo p { font-size: 17px; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--gold-faint);
  padding: clamp(48px, 6vw, 72px) clamp(24px, 5vw, 64px) 28px;
  background: var(--panel-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto repeat(3, 1fr);
  gap: clamp(32px, 5vw, 72px);
  max-width: 1180px;
  margin: 0 auto 48px;
  align-items: start;
}

.footer-badge {
  width: 108px;
  height: 108px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  box-shadow: 0 0 0 5px var(--panel-deep), 0 0 0 6px var(--gold-faint);
}

.footer-col h3 {
  font-family: var(--label);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col p { font-size: 17px; margin-bottom: 10px; }

.footer-tagline {
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(19px, 2vw, 24px);
  color: var(--cream);
  max-width: 1180px;
  margin: 0 auto 26px;
}

.footer-legal {
  text-align: center;
  font-size: 16px;
  color: rgba(242, 232, 220, 0.62); /* 0.62 alpha clears WCAG AA 4.5:1 on panel-deep; 0.45 fails */
  border-top: 1px solid var(--gold-faint);
  padding-top: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

/* the address reads as an address: no caps, no tracking, wraps in the column */
.footer-email a.text-link {
  font-family: var(--body);
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.footer-credit {
  text-align: center;
  font-size: 15px;
  color: rgba(242, 232, 220, 0.62);
  margin: 10px auto 0;
  max-width: 1180px;
}
.footer-credit a { color: var(--gold); text-decoration: none; }
.footer-credit a:hover { text-decoration: underline; }

/* ---------- fade-up targets (JS sets initial state) ---------- */

/* Elements with [data-fade] are animated by GSAP; no CSS initial
   hiding so the page is fully readable without JS. */

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; grid-template-rows: none; gap: 40px; }
  .pillar { display: block; grid-row: auto; border-left: none; border-top: 1px solid var(--gold-faint); padding-top: 40px; }
  .pillar:first-child { border-top: none; padding-top: 12px; }

  .event-grid, .cocktail-grid { grid-template-columns: 1fr; max-width: 560px; }
  .event-grid { grid-template-rows: none; row-gap: 20px; }
  .event-card { grid-template-rows: auto auto auto auto; grid-row: auto; }
  .cocktail-grid { grid-template-rows: none; row-gap: 20px; }
  .cocktail { grid-template-rows: auto auto auto; grid-row: auto; }

  .story { grid-template-columns: 1fr; }
  .private-panel { grid-template-columns: 1fr; }
  .private-media { min-height: 260px; }
  .private-media::after {
    background: linear-gradient(0deg, var(--panel) 0%, rgba(19, 26, 44, 0.2) 60%);
  }

  .history-split { grid-template-columns: 1fr; }
  .history-split.reverse .history-media { order: 0; }
  .capacity-grid, .visit-info { grid-template-columns: 1fr; max-width: 560px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  /* compact sticky bar: badge left, hamburger right, menu drops below */
  .site-header { padding: 10px 20px; }
  .brand-badge { width: 56px; height: 56px; }
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: rgba(13, 18, 32, 0.97);
    backdrop-filter: blur(10px);
    /* stylelint-disable-next-line property-no-vendor-prefix */
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gold-dim);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45);
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease, visibility 0s linear 0.35s;
  }
  .site-nav.open {
    max-height: 420px;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.35s ease, opacity 0.3s ease;
  }
  .site-nav a {
    width: 100%;
    text-align: center;
    padding: 16px 0 15px;
    border-bottom: 1px solid var(--gold-faint);
  }
  .site-nav a:last-child { border-bottom: none; }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--gold-faint); }

  .marquee-inner { flex-direction: column; text-align: center; }
  .marquee-still { width: 100%; min-height: 0; height: 160px; border-right: none; border-bottom: 1px solid var(--gold-faint); }
  .marquee-bill { padding: 26px 22px 20px; }
  .bill-meta { justify-content: center; }
  .marquee-link { position: static; display: inline-block; margin-bottom: 20px; }
  .marquee { text-align: center; }

  .hero-frame { min-height: 70vh; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { display: flex; justify-content: center; }

  .poster { max-width: none; }
  .charity-next { grid-template-columns: 1fr; justify-items: center; text-align: center; }

  .double-bill { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 20px; max-width: 560px; margin: 0 auto; }
  .bill-card { grid-template-rows: minmax(190px, 1fr) auto auto auto; grid-row: auto; min-height: 380px; }
  .menu-item.with-photo { grid-template-columns: 1fr; }
  .menu-photo { width: 100%; max-width: 320px; margin: 0 auto; }
  .cameo { grid-template-columns: 1fr; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kb img { animation: none; }
  .hero-media video { display: none; } /* still image only */
  * { transition-duration: 0.01ms !important; }
}
