/* Royal Hotel Port Elliot
   One stylesheet for every page. Warm ivory and charcoal support the
   crown's red, orange and gold, with Georgia for the page typography. */

:root {
  --paper: #fff8ee;
  --paper-deep: #f6eadb;
  --ink: #221f1f;
  --ink-soft: #64534a;
  --rule: #d9b895;
  --cream: #fffcf6;
  --night: #1e1b1a;
  --brand-red: #a9213c;
  --accent-warm: #f37327;
  --accent: #fbad18;      /* gold from the crown: Bookings */
  --accent-hover: #ffbe42;

  --serif: Georgia, "Noto Serif", "DejaVu Serif", "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --topbar-h: 2.25rem;    /* deep red bar: phone and hours */
  --bar-h: 4.5rem;        /* menu bar, allowing for the stacked logo */
  --header-h: calc(var(--topbar-h) + var(--bar-h)); /* the whole pinned header */
  --gutter: clamp(1rem, 4vw, 3rem);
  --measure: 36rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 56em) {
  :root { --bar-h: 5.25rem; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 clamp(1.0625rem, 0.35vw + 1rem, 1.1875rem) / 1.7 var(--serif);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
/* <picture> wrappers take no space of their own, so the <img> inside is styled
   as if it stood alone (the slideshow's pictures are the exception). */
picture:not(.slide) { display: contents; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.1; text-wrap: balance; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed; top: 0.75rem; left: 0.75rem; z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink); color: var(--cream);
  font: 0.8rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* Small uppercase labels, as on the coming-soon page */
.eyebrow {
  margin: 0 0 1.25rem;
  font: 400 0.72rem/1.5 var(--sans);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-red);
}


/* ------------------------------------------------------------------
   Header: pinned to the top of every page. Clear over the photo at the
   top of the page, cream once the page content scrolls underneath.
   ------------------------------------------------------------------ */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--ink);
  background: rgba(255, 248, 238, 0.97);
  border-bottom: 1px solid var(--rule);
  transition: color 0.4s, background-color 0.4s, border-color 0.4s;
}

/* Frosted glass on wide screens only: backdrop-filter would trap the
   full-screen phone menu inside the header bar. */
@media (min-width: 56em) {
  .site-header {
    background: rgba(255, 248, 238, 0.92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}

.site-header__bar {
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 var(--gutter);
}

.js .has-hero .site-header:not(.is-solid) {
  color: var(--cream);
  background-color: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* Deep red bar at the very top: Facebook, phone and hours, on the right.
   It stays above the full-screen phone menu. */
.topbar {
  position: relative;
  z-index: 3;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  padding: 0 var(--gutter);
  background: var(--brand-red);
  color: var(--paper);
  font: 400 0.72rem/1 var(--sans);
  letter-spacing: 0.06em;
}
.topbar a { text-decoration: none; }
.topbar__facebook,
.topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding-block: 0.6rem;
  white-space: nowrap;
}
.topbar__facebook { min-width: 1.8rem; min-height: var(--topbar-h); }
.topbar__facebook:hover { color: var(--accent); }
.topbar__phone:hover { text-decoration: underline; text-underline-offset: 0.25em; }
/* Dividers between top-bar links, like the one before "All hours". */
.topbar__facebook::after,
.topbar__phone::after {
  content: "";
  width: 1px;
  height: 1em;
  margin-left: 0.1rem;
  background: rgba(255, 248, 238, 0.35);
}
.topbar__icon { width: 0.85rem; height: 0.85rem; fill: currentColor; }

.mobile-specials { display: none; }

.hours-menu summary {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-block: 0.6rem;
  list-style: none;
  white-space: nowrap;
  cursor: pointer;
}
.hours-menu summary::-webkit-details-marker { display: none; }
.hours-menu summary:hover span { text-decoration: underline; text-underline-offset: 0.25em; }
.hours-menu__more {
  padding-left: 0.55rem;
  border-left: 1px solid rgba(255, 248, 238, 0.35);
}
.hours-menu__chevron {
  width: 0.7rem;
  height: 0.7rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 0.25s;
}
.hours-menu[open] .hours-menu__chevron { transform: rotate(180deg); }
@media (max-width: 30em) {
  .hours-menu__more { display: none; }
  .brand__name { font-size: 1.2rem; white-space: nowrap; }
  .site-header__bar { gap: 0.75rem; }
  .site-nav { gap: 0.5rem; }
}
@media (max-width: 22.5em) {
  .topbar { padding-inline: 0.5rem; gap: 0.35rem; letter-spacing: 0; }
  .topbar__facebook { min-width: 1.5rem; }
}

/* The full list drops down from the bar's right-hand end. */
.hours-menu__panel {
  position: absolute;
  top: 100%;
  right: var(--gutter);
  width: min(23rem, calc(100vw - 2 * var(--gutter)));
  padding: 1.25rem 1.5rem 1.4rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-top: 0;
  box-shadow: 0 1.25rem 2.5rem rgba(30, 27, 26, 0.2);
  letter-spacing: normal;
  max-height: calc(100vh - var(--topbar-h));
  max-height: calc(100dvh - var(--topbar-h));
  overflow-y: auto;
  overscroll-behavior: contain;
}
/* Phones held sideways: a tighter list */
@media (max-height: 30em) {
  .hours-menu__panel { padding-block: 0.8rem 0.9rem; }
  .hours-menu__panel .hours { gap: 0.5rem; }
  .hours-menu__panel .hours__times div { padding-block: 0.15rem; }
}
.hours-menu__panel .hours { font: 400 0.95rem/1.4 var(--serif); }

.bookings-button,
.whats-on-button {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 0.85rem calc(1.2rem - 0.2em) 0.85rem 1.2rem;
  background: var(--accent);
  color: var(--night);
  font: 700 0.72rem/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s;
}
.bookings-button:hover { background: var(--accent-hover); }
.bookings-button:focus-visible,
.whats-on-button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.whats-on-button { background: var(--brand-red); color: var(--cream); }
.whats-on-button:hover,
.whats-on-button[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.3em; }
.header-actions { display: flex; align-items: center; gap: 0.65rem; }
@media (max-width: 30em) {
  .header-actions { gap: 0.4rem; }
  .bookings-button, .whats-on-button { padding: 0.85rem 0.65rem; font-size: 0.65rem; letter-spacing: 0.08em; }
  .site-nav { gap: 0.4rem; }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.75rem);
}

.brand {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  line-height: 1;
  transition: opacity 0.4s;
}
.brand__name {
  font: 400 1.4rem/1 var(--serif);
  letter-spacing: -0.02em;
}
.brand__place {
  margin-top: 0.35rem;
  font: 400 0.58rem/1 var(--sans);
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

/* The stacked crown logo in the menu bar, in place of the text. */
.brand__logo { display: block; height: 3.5rem; letter-spacing: normal; }
.brand__logo svg,
.brand__logo img { display: block; width: auto; height: 100%; }
@media (min-width: 56em) {
  .brand__logo { height: 4.25rem; }
}

/* Only the charcoal artwork reverses over photos; the crown keeps its colours. */
.brand__logo .cls-6,
.wordmark--logo .cls-6 { fill: currentColor; }

/* On the home page the big title is already over the slideshow */
.js .home .site-header:not(.is-solid) .brand { opacity: 0; pointer-events: none; }
.js .home .site-header.is-gig-slide .brand,
.js.menu-open .home .site-header .brand,
.js .home .site-header .brand:focus-visible { opacity: 1; pointer-events: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-menu a {
  position: relative;
  display: block;
  padding: 0.5rem 0;
  font: 400 0.74rem/1 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 0.22em; bottom: 0.1rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-menu a:hover::after,
.nav-menu a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle { display: none; }

@media (max-width: 55.99em) {
  :root:has(.mobile-specials) {
    --header-h: calc(var(--topbar-h) + var(--mobile-specials-h, 2.75rem) + var(--bar-h));
  }
  .mobile-specials {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 0.5rem;
    min-height: 2.75rem;
    padding-inline: 0.4rem;
    background: var(--paper-deep);
    color: var(--brand-red);
    box-shadow: inset 0 -1px var(--rule);
    font: 0.8rem/1.25 var(--sans);
    text-align: center;
  }
  .mobile-specials__heading {
    padding-block: 0.45rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
  }
  .mobile-specials__today {
    min-width: 0;
    max-width: 100%;
    max-height: min(7rem, 24svh);
    overflow-y: auto;
    overscroll-behavior: contain;
    overflow-wrap: anywhere;
  }
  .mobile-specials__today:empty { display: none; }
  .mobile-specials__today a {
    display: block;
    padding-block: 0.45rem;
    text-decoration: none;
  }
  .mobile-specials a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
  .mobile-specials a:focus-visible { outline-offset: -3px; }
  .menu-open .mobile-specials { visibility: hidden; }

  .site-nav { gap: 0.75rem; }
  .js .nav-toggle { order: 2; }
  .js .nav-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-right: -0.6rem;
    padding: 0;
    border: 0;
    background: var(--brand-red);
    color: var(--cream);
    cursor: pointer;
  }
  .nav-toggle__bars,
  .nav-toggle__bars::before {
    display: block;
    width: 1.6rem;
    height: 3px;
    background: currentColor;
    transition: transform 0.35s var(--ease);
  }
  .nav-toggle__bars { position: relative; transform: translateY(-0.2rem); }
  .nav-toggle__bars::before {
    content: "";
    position: absolute;
    top: 0.4rem;
  }
  .menu-open .nav-toggle__bars { transform: rotate(45deg); }
  .menu-open .nav-toggle__bars::before { transform: translateY(-0.4rem) rotate(-90deg); }

  .js .nav-menu {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    padding: var(--header-h) var(--gutter) 3rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--paper);
    color: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0s 0.35s;
  }
  .js .nav-menu > li:first-child { margin-top: auto; }
  .js .nav-menu > li:last-child { margin-bottom: auto; }
  .js.menu-open .nav-menu {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s;
  }
  .js .nav-menu a {
    padding: 0.6rem 0;
    font: 400 clamp(2rem, 9vw, 2.75rem)/1.1 var(--serif);
    letter-spacing: -0.02em;
    text-transform: none;
  }
  .js .nav-menu a::after { bottom: 0.25rem; right: 0; }
  /* Phones held sideways: smaller links so all of them fit */
  @media (max-height: 30em) {
    .js .nav-menu { gap: 0.15rem; padding-bottom: 1rem; }
    .js .nav-menu a { padding: 0.3rem 0; font-size: 1.6rem; }
  }
  .js.menu-open,
  .js.menu-open body { overflow: hidden; }
  .js.menu-open .site-header,
  .js.menu-open .has-hero .site-header:not(.is-solid) {
    color: var(--ink);
    background-color: var(--paper);
    border-bottom-color: transparent;
  }

  /* Without JavaScript the menu simply wraps under the name */
  .no-js .site-header__bar { flex-wrap: wrap; height: auto; padding-block: 0.9rem; row-gap: 0.4rem; }
  .no-js .site-nav { flex-wrap: wrap; row-gap: 0.75rem; }
  .no-js .nav-menu { flex-wrap: wrap; gap: 0.25rem 1.25rem; }
}

@media (min-width: 56em) and (max-width: 70em) {
  .site-header__bar { gap: 1rem; padding-inline: 1.25rem; }
  .site-nav, .nav-menu { gap: 0.85rem; }
  .nav-menu a { letter-spacing: 0.12em; }
}

.nav-menu a.nav-menu__specials {
  color: var(--brand-red);
  font-weight: 700;
}
.js:not(.menu-open) .has-hero .site-header:not(.is-solid) .nav-menu__specials {
  --specials-letter-1: #ff9aaf;
  --specials-letter-2: #ffc38d;
  --specials-letter-3: #ffe297;
  --specials-letter-4: #ffb4e3;
  --specials-letter-5: #ffac91;
  --specials-letter-6: #ffa6ca;
  --specials-letter-7: #ffd197;
  --specials-letter-8: #ffb0b1;
  text-shadow: 0 1px 3px var(--night), 0 0 6px var(--night);
}


/* ------------------------------------------------------------------
   Home page slideshow
   ------------------------------------------------------------------ */

.hero {
  --hero-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  height: 100vh;
  height: var(--hero-height);
  min-height: 30rem;
  overflow: hidden;
  isolation: isolate;
  background: var(--night);
  color: var(--cream);
  text-align: center;
}

.slides { position: absolute; inset: 0; z-index: 0; }

.slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}
.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide:nth-child(3n + 2) { transform-origin: 30% 40%; }
.slide:nth-child(3n + 3) { transform-origin: 70% 60%; }
.slide.is-leaving { z-index: 1; opacity: 1; transition: none; }
.slide.is-active  { z-index: 2; opacity: 1; transition: opacity 1.8s ease-in-out; }
.slide--gig {
  --frame-size: clamp(1.25rem, 3vw, 2.5rem);
  --controls-space: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 1rem) var(--gutter) var(--controls-space);
  background: radial-gradient(ellipse at center, #460d1c, #20050b 80%);
  text-decoration: none;
}
.slide--gig::before { content: ""; position: absolute; inset: 0; background: url('/art/royal-crown.svg') left -18vw center / 48vw auto no-repeat, url('/art/royal-crown.svg') right -18vw center / 48vw auto no-repeat; opacity: 0.14; pointer-events: none; }
.gig-slide__poster { --poster-height: calc(max(var(--hero-height), 30rem) - var(--header-h) - 1rem - var(--controls-space) - 2 * var(--frame-size) - var(--caption-space, 0em)); position: relative; display: block; width: min(100%, calc(var(--poster-height) * 0.75 + 2 * var(--frame-size))); max-width: 100%; min-width: 0; border: var(--frame-size) solid transparent; border-image: url('/art/royal-gig-frame.webp') 23% / 2 stretch; background: var(--brand-red); background-clip: padding-box; font: 700 clamp(1.125rem, min(4vw, 4svh), 1.75rem)/1.25 var(--sans); }
/* The frame reserves room for whatever staff show under the poster: 1.3em vertical padding, then the
   chosen lines (name, date and time, up to two lines of details, Free Entry) plus 0.15em gaps. */
.slide--gig img { width: 100%; height: auto; aspect-ratio: 3 / 4; margin-inline: auto; padding: max(0.5rem, calc(var(--frame-size) * 0.5)); object-fit: contain; background: var(--brand-red); }
.gig-slide__poster--caption { --caption-space: calc(1.3em + var(--title-space, 0em) + var(--datetime-space, 0em) + var(--description-space, 0em) + var(--entry-space, 0em)); }
.gig-slide__poster--title { --title-space: 1.4em; }
.gig-slide__poster--datetime { --datetime-space: 2.65em; }
.gig-slide__poster--description { --description-space: 2.05em; }
.gig-slide__poster--entry { --entry-space: 1em; }
/* The name and details stay within the poster frame. */
.gig-slide__caption { display: grid; padding: 0.65em 0.75em; color: #fff; text-align: left; white-space: nowrap; }
.gig-slide__text { display: grid; gap: 0.15em; min-width: 0; max-width: 13em; }
.gig-slide__text > * { overflow: hidden; text-overflow: ellipsis; }
.gig-slide__description { font: 400 0.7em/1.35 var(--sans); white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.gig-slide__entry { font: 700 0.65em/1.3 var(--sans); text-transform: uppercase; letter-spacing: 0.05em; }
.hero.is-gig-slide::before, .hero.is-gig-slide .hero__content { opacity: 0; pointer-events: none; transition: none; }

@media (max-width: 44em) {
  .hero { --hero-height: min(100svh, calc(var(--header-h) + 100vw + 7rem)); }
  .slide--gig { --frame-size: 0.5rem; padding-inline: 0.5rem; }
}
@media (max-width: 22em) {
  .slide--gig { --controls-space: 7rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .slide:not(.slide--gig).is-active,
  .slide:not(.slide--gig).is-leaving { animation: drift 11s linear both; }
  .is-paused .slide { animation-play-state: paused; }
}

@keyframes drift {
  from { transform: scale(1.001); }
  to   { transform: scale(1.09); }
}

/* Shade over the photos so the header and title stay readable */
.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(30, 27, 26, 0.55), rgba(30, 27, 26, 0) 11rem),
    radial-gradient(ellipse 70% 55% at 50% 52%, rgba(30, 27, 26, 0.42), rgba(30, 27, 26, 0.1) 75%, rgba(30, 27, 26, 0.08)),
    linear-gradient(to top, rgba(30, 27, 26, 0.45), rgba(30, 27, 26, 0) 9rem);
}
.page-hero::before {
  background:
    linear-gradient(to bottom, rgba(30, 27, 26, 0.55), rgba(30, 27, 26, 0) 11rem),
    linear-gradient(to top, rgba(30, 27, 26, 0.62), rgba(30, 27, 26, 0.18) 55%, rgba(30, 27, 26, 0) 80%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: var(--header-h) var(--gutter) 4rem;
  /* Reveal the logo only after the incoming photo's 1.8s crossfade. */
  transition: opacity 0.4s ease 1.8s;
  text-shadow: 0 1px 2px rgba(30, 27, 26, 0.35), 0 2px 32px rgba(30, 27, 26, 0.35);
}

.wordmark {
  margin: 0;
  font: 400 clamp(3.4rem, 13vw, 9.5rem)/0.95 var(--serif);
  letter-spacing: -0.045em;
}
/* Logo over the slideshow, in place of the text title */
.wordmark--logo { line-height: 0; letter-spacing: normal; text-shadow: none; }
.wordmark--logo svg,
.wordmark--logo img {
  display: block;
  width: min(24rem, 66vw);
  height: auto;
  max-height: 54svh;
  margin: 0 auto;
  filter: drop-shadow(0 1px 2px rgba(30, 27, 26, 0.4)) drop-shadow(0 2px 24px rgba(30, 27, 26, 0.35));
}

.wordmark > span:not(.visually-hidden),
.hero__note {
  text-shadow: 0 1px 2px rgba(30, 27, 26, 0.6), 0 0 14px rgba(30, 27, 26, 0.55);
}
.wordmark > span:not(.visually-hidden) {
  display: block;
  margin-top: 1.4rem;
  font: 400 clamp(0.78rem, 1.5vw, 1rem)/1.5 var(--sans);
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.hero__note {
  display: inline-block;
  margin: 2.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 252, 246, 0.6);
  font: 400 0.74rem/1.5 var(--sans);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__content > * { animation: rise 1.6s var(--ease) both; }
  .hero__content > :nth-child(2) { animation-delay: 0.25s; }
  .hero__content > :nth-child(3) { animation-delay: 0.5s; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(0.9rem); }
  to   { opacity: 1; transform: none; }
}

/* Slide markers and pause button (added by site.js) */
.slides-controls {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: clamp(1rem, 3vh, 2rem);
  width: max-content;
  max-width: calc(100% - 2 * var(--gutter));
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateX(-50%);
}

.slides-dots { display: flex; flex-wrap: wrap; justify-content: center; }

.slides-dot {
  display: block;
  width: 2.25rem;
  height: 1.75rem;
  padding: 0 0.3rem;
  border: 0;
  background: none;
  cursor: pointer;
}
.slides-dot span {
  display: block;
  height: 2px;
  background: rgba(255, 252, 246, 0.35);
  overflow: hidden;
}
.slides-dot span::after {
  content: "";
  display: block;
  height: 100%;
  background: var(--cream);
  transform: scaleX(0);
  transform-origin: left;
}
.slides-dot:hover span { background: rgba(255, 252, 246, 0.6); }
.slides-dot.is-active span::after { animation: fill var(--interval, 6.5s) linear both; }
.is-paused .slides-dot.is-active span::after { animation-play-state: paused; }

@keyframes fill { to { transform: scaleX(1); } }

.slides-toggle {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 1px solid rgba(255, 252, 246, 0.5);
  border-radius: 50%;
  background: none;
  color: var(--cream);
  cursor: pointer;
}
.slides-toggle:hover { border-color: var(--cream); }
.slides-toggle svg { width: 0.6rem; height: 0.6rem; fill: currentColor; }

@media (max-width: 30em) {
  .slides-dot { width: 1.6rem; padding: 0 0.2rem; }
}


/* ------------------------------------------------------------------
   Photo header on the inner pages
   ------------------------------------------------------------------ */

.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  height: 64vh;
  height: 64svh;
  min-height: 22rem;
  max-height: 46rem;
  overflow: hidden;
  isolation: isolate;
  background: var(--night);
  color: var(--cream);
}

.page-hero__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: no-preference) {
  .page-hero__img { animation: settle 2.6s var(--ease) both; }
}

@keyframes settle {
  from { transform: scale(1.06); }
  to   { transform: none; }
}

/* Old photographs and drawings: tinted in the house burgundy */
.page-hero--tinted { background: #9a4b48; }
.page-hero--tinted .page-hero__img {
  filter: grayscale(1) contrast(1.15) brightness(1.08);
  mix-blend-mode: multiply;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(2rem, 6vh, 3.5rem);
  text-shadow: 0 1px 2px rgba(30, 27, 26, 0.3), 0 2px 28px rgba(30, 27, 26, 0.35);
}
.page-hero__content .eyebrow {
  margin-bottom: 1rem;
  color: inherit;
  text-shadow: 0 1px 2px rgba(30, 27, 26, 0.6), 0 0 14px rgba(30, 27, 26, 0.55);
}
.page-hero h1 {
  font-size: clamp(2.75rem, 8vw, 5.75rem);
  letter-spacing: -0.035em;
}

.photo-credit {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 0.75rem;
  margin: 0;
  font: 0.62rem/1 var(--sans);
  letter-spacing: 0.12em;
  opacity: 0.75;
}

@media (max-width: 44em) {
  .page-hero {
    height: auto;
    min-height: 32vh;
    min-height: 32svh;
    padding-top: calc(var(--header-h) + 0.75rem);
  }
  .page-hero__content { padding-bottom: 1.75rem; }
  .page-hero__content .eyebrow { margin-bottom: 0.5rem; }
}


/* ------------------------------------------------------------------
   Page content
   ------------------------------------------------------------------ */

.section {
  padding: clamp(4rem, 10vw, 7.5rem) var(--gutter);
}
.section--deep { background: var(--paper-deep); }

.wrap { max-width: 76rem; margin: 0 auto; }
.narrow { max-width: var(--measure); margin: 0 auto; }

.lede {
  margin: 0;
  font-size: clamp(1.4rem, 2.6vw, 2.05rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.intro { text-align: center; }
.intro .lede { max-width: 44rem; margin: 0 auto; }
.intro__copy { max-width: var(--measure); margin: 1.25rem auto 0; }
.intro .button { margin-top: 2rem; }

.rule {
  width: 3rem;
  height: 1px;
  margin: 2.5rem auto;
  border: 0;
  background: var(--accent-warm);
}

.prose h2 {
  margin: 2.5em 0 0.6em;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}
.prose h2:first-child { margin-top: 0; }
.prose a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

/* The complete weekly specials schedule. */
.specials__heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0.8rem 1.5rem; margin-bottom: 1.5rem; }
.specials__heading h2 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.specials__word { white-space: nowrap; }
/* Darker shades of the crown colours for legibility on the cream section. */
.specials__word span:nth-child(1) { color: var(--specials-letter-1, var(--brand-red)); }
.specials__word span:nth-child(2) { color: var(--specials-letter-2, #a6440c); }
.specials__word span:nth-child(3) { color: var(--specials-letter-3, #875b08); }
.specials__word span:nth-child(4) { color: var(--specials-letter-4, #823052); }
.specials__word span:nth-child(5) { color: var(--specials-letter-5, #a33d22); }
.specials__word span:nth-child(6) { color: var(--specials-letter-6, #9a2056); }
.specials__word span:nth-child(7) { color: var(--specials-letter-7, #965115); }
.specials__word span:nth-child(8) { color: var(--specials-letter-8, #8b2637); }
.specials__heading a { color: var(--brand-red); font: 0.95rem/1.5 var(--sans); text-underline-offset: 0.25em; }
.specials__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.special-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--rule); background: var(--paper); overflow-wrap: anywhere; }
.special-card--today { border-color: var(--brand-red); box-shadow: 0 0 0 1px var(--brand-red); }
.special-card__poster { width: 100%; aspect-ratio: 656 / 927; margin-top: auto; border-top: 1px solid var(--rule); object-fit: contain; background: var(--paper-deep); }
.special-card__body { padding: clamp(0.9rem, 2vw, 1.4rem); }
.special-card__day { margin: 0 0 0.6rem; display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem 0.7rem; color: var(--brand-red); font: 700 0.72rem/1.4 var(--sans); letter-spacing: 0.11em; text-transform: uppercase; }
.special-card__badge { padding: 0.25rem 0.5rem; background: var(--brand-red); color: var(--cream); letter-spacing: 0.05em; }
.special-card h3 { font-size: clamp(1.55rem, 3vw, 2rem); text-wrap: initial; }
.special-card__offer, .special-card__terms { margin: 0.55rem 0 0; font: 0.92rem/1.5 var(--sans); }
.special-card__terms { color: var(--ink-soft); }
.specials__empty { margin-bottom: 0; }

/* Readable food menu, with prices kept beside their dishes. */
.dining-menu__heading { text-align: center; }
.dining-menu__heading h2 { margin-bottom: 1rem; }
.dining-menu__heading h2 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.dining-menu__hours { width: fit-content; max-width: 100%; margin: 1.25rem auto; padding: 1rem 1.25rem; border: 1px solid var(--rule); font: 0.95rem/1.6 var(--sans); }
.dining-menu__hours .hours__times { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.35rem 1.5rem; }
.dining-menu__hours .hours__times div { gap: 0.4rem; padding: 0; border: 0; }
.dining-menu__hours dd { font-weight: 600; }
/* The regular and seniors menus share one spot. Without JavaScript both show, each under its own heading. */
.menu-tabs { display: none; justify-content: center; gap: 0.5rem; margin: 2.5rem 0 0; border-bottom: 1px solid var(--rule); }
.js-menu-tabs .menu-tabs { display: flex; }
.menu-tabs button { margin-bottom: -1px; border: 0; border-bottom: 3px solid transparent; background: transparent; padding: 0.9rem 1.5rem; font: 500 0.9rem/1.2 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.menu-tabs button:hover { color: var(--brand-red); }
.menu-tabs button[aria-selected="true"] { border-color: var(--brand-red); color: var(--brand-red); }
.menu-tabs button:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
@media (max-width: 30em) { .menu-tabs button { padding: 0.8rem 0.75rem; font-size: 0.8rem; letter-spacing: 0.06em; } }
.menu-panel + .menu-panel { margin-top: 4rem; border-top: 1px solid var(--rule); }
.js-menu-tabs .menu-panel + .menu-panel { margin-top: 0; border-top: 0; }
.menu-panel__title { margin: 2.5rem 0 0; text-align: center; font-size: clamp(1.75rem, 4vw, 2.5rem); }
.js-menu-tabs .menu-panel__title { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.menu-note { max-width: 42rem; margin: 1.5rem auto 0; text-align: center; color: var(--ink-soft); }
.menu-sections {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin: 2rem 0 3.5rem;
  font: 400 0.9rem/1.5 var(--sans);
}
.menu-sections a { padding-block: 0.4rem; text-underline-offset: 0.25em; }
.menu-sections__pdf { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--brand-red); }
.menu-sections__pdf svg { flex: 0 0 auto; }
.dining-menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
  align-items: start;
  gap: 3rem clamp(2rem, 6vw, 5rem);
}
.menu-category { border-top: 1px solid var(--rule); padding-top: 1.5rem; }
.menu-category h3 { font-size: clamp(1.65rem, 3vw, 2rem); margin-bottom: 1.25rem; color: var(--brand-red); }
.menu-category > p { color: var(--ink-soft); }
.menu-items { margin: 0; padding: 0; list-style: none; }
.menu-items > li + li { margin-top: 1.15rem; }
.menu-items h4 { margin: 0; font: inherit; display: flex; justify-content: space-between; gap: 1rem; line-height: 1.4; }
.menu-items h4 span:last-child { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.menu-items p { margin: 0.25rem 3rem 0 0; color: var(--ink-soft); font-size: 0.95em; line-height: 1.5; }
.menu-key { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.4rem 1.2rem; list-style: none; padding: 0; margin: 1.5rem auto 2rem; max-width: 65rem; font: 0.78rem/1.6 var(--sans); color: var(--ink-soft); }
.menu-key strong { color: var(--brand-red); }
.menu-items .menu-markings { display: flex; flex-wrap: wrap; gap: 0.35rem 0.75rem; margin: 0.4rem 0 0; color: var(--brand-red); font: 600 0.72rem/1.5 var(--sans); }
.dining-menu__notes { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); font-size: 0.9em; }
.dining-menu__notes p:last-child { margin-bottom: 0; }

/* Link cards on the home page */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
}

.card { display: block; text-decoration: none; }
.card__img {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin-bottom: 1.4rem;
  background: var(--paper-deep);
}
.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.card:hover .card__img img { transform: scale(1.04); }
.card .eyebrow { margin-bottom: 0.6rem; }
.card h2 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
}
.card p { margin: 0; color: var(--ink-soft); }
.card__more {
  display: inline-block;
  margin-top: 1rem;
  font: 400 0.72rem/1 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.4rem;
  transition: border-color 0.3s;
}
.card:hover .card__more { border-color: currentColor; }

.photo-mono img { filter: grayscale(1) sepia(0.25); }
.card__img--trim img { height: 112%; } /* hides a caption printed along the photo's bottom edge */

/* Photo beside text, alternating sides */
.feature {
  display: grid;
  gap: clamp(1.75rem, 4vw, 4.5rem);
  align-items: center;
}
.feature + .feature { margin-top: clamp(4rem, 9vw, 7rem); }
.feature__img { overflow: hidden; background: var(--paper-deep); }
.feature__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature__text h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -0.025em;
}
.feature__text p { color: var(--ink-soft); }

@media (min-width: 48em) {
  .feature { grid-template-columns: 7fr 5fr; }
  .feature:nth-of-type(even) .feature__img { order: 2; }
  .feature:nth-of-type(even) { grid-template-columns: 5fr 7fr; }
  .feature__img img { aspect-ratio: 5 / 4; }
}

/* History timeline */
.timeline {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.timeline > li {
  display: grid;
  gap: 0.35rem 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
}
.timeline > li:last-child { border-bottom: 1px solid var(--rule); }
.timeline__year {
  font: 400 clamp(1.6rem, 3.2vw, 2.2rem)/1.1 var(--serif);
  letter-spacing: -0.02em;
  font-variant-numeric: oldstyle-nums;
}
.timeline p { margin: 0; }
.timeline p + p { margin-top: 0.8em; }

@media (min-width: 40em) {
  .timeline > li { grid-template-columns: 9rem 1fr; }
}

.figure { margin: clamp(3rem, 7vw, 5rem) auto; max-width: 48rem; }
.figure--wide { max-width: 64rem; }
.figure img { width: 100%; }
.figure figcaption {
  margin-top: 0.9rem;
  font: 400 0.82rem/1.5 var(--sans);
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.figure-pair {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 64rem;
  margin: clamp(3rem, 7vw, 5rem) auto;
}
.figure-pair .figure { margin: 0; }
.section > .figure-pair:only-child { margin-block: 0; }
.figure-pair img { aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 40em) {
  .figure-pair { grid-template-columns: 1fr 1fr; }
}

/* Find Us */
.visit {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 48em) {
  .visit { grid-template-columns: 1fr 1fr; align-items: start; }
}
.address {
  margin: 0 0 1.75rem;
  font-style: normal;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.button {
  display: inline-block;
  padding: 1rem 1.6rem;
  border: 1px solid var(--ink);
  font: 400 0.74rem/1 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}
.button:hover { background: var(--ink); color: var(--paper); }

.button--sipnsave {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  max-width: 100%;
  border-color: #0054a6;
  background: #ffde00;
  color: #0054a6;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.button--sipnsave img { width: 11.5rem; height: auto; }
.button--sipnsave:hover { background: #ffe84d; color: #0054a6; }

.enquiry-intro h2 { margin-bottom: 1.5rem; font-size: clamp(2rem, 4vw, 3rem); }
.enquiry-intro a { overflow-wrap: anywhere; }
.contact-form { display: grid; gap: 1.25rem; min-width: 0; position: relative; }
.contact-form__field { display: grid; gap: 0.4rem; }
.contact-form label { font: 0.9rem/1.5 var(--sans); }
.contact-form input,
.contact-form textarea {
  width: 100%; min-width: 0; padding: 0.8rem 0.9rem;
  border: 1px solid var(--rule); border-radius: 0;
  background: var(--cream); color: var(--ink);
  font: 1rem/1.5 var(--sans);
}
.contact-form textarea { resize: vertical; }
.contact-form .button {
  justify-self: start; background: var(--ink); color: var(--paper); cursor: pointer;
}
.contact-form .button:hover { background: var(--night); }
.contact-form .button:disabled { opacity: 0.6; cursor: wait; }
.contact-form__note { margin: 0; color: var(--ink-soft); font: 0.85rem/1.5 var(--sans); }
.contact-form__status { margin: 0; font: 1rem/1.5 var(--sans); }
.contact-form__status:empty { display: none; }
.contact-form__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.hours { display: grid; gap: 1.1rem; }
.hours__name {
  margin: 0 0 0.3rem;
  font: 400 0.66rem/1.5 var(--sans);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hours__times { margin: 0; }
.hours__times div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--rule);
}
.hours__times div:last-child { border-bottom: 0; }
.hours__times dt,
.hours__times dd { margin: 0; }
.hours__times dd { white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.hours__times .is-today { color: var(--brand-red); font-weight: 600; }
.visit__phone { margin: -0.75rem 0 1.75rem; font-size: 1.2rem; }

.facts { margin: 0; }
.facts > dt {
  margin-top: 1.6rem;
  font: 400 0.72rem/1.5 var(--sans);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.facts > dt:first-child { margin-top: 0; }
.facts > dd { margin: 0.35rem 0 0; }


/* Facebook links in the footer and below the gig listings. */
.facebook-link { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; font: 0.95rem/1.5 var(--sans); text-decoration: none; }
.facebook-link svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; fill: currentColor; }
.facebook-link:hover { text-decoration: underline; text-underline-offset: 0.25em; }

/* ------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */

.site-footer {
  padding: clamp(3.5rem, 8vw, 5.5rem) var(--gutter);
  background: var(--ink);
  color: var(--paper);
  border-top: 3px solid var(--accent-warm);
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 0.25em; }

.footer__grid {
  display: grid;
  gap: 2.5rem;
  max-width: 76rem;
  margin: 0 auto;
}
@media (min-width: 48em) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; }
}

.footer__brand {
  font: 400 clamp(2rem, 4vw, 2.75rem)/1 var(--serif);
  letter-spacing: -0.035em;
}
.footer__brand span {
  display: block;
  margin-top: 0.8rem;
  font: 400 0.64rem/1 var(--sans);
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.footer__label {
  margin: 0 0 0.6rem;
  font: 400 0.66rem/1.5 var(--sans);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.7;
}
.site-footer address { font-style: normal; line-height: 1.6; }
.footer__hours { margin: 1rem 0 0; font-size: 0.95rem; opacity: 0.85; }

.footer__nav { margin: 0; padding: 0; list-style: none; line-height: 1.9; }


/* ------------------------------------------------------------------
   Page without a photo header (404)
   ------------------------------------------------------------------ */

.page-title {
  padding: calc(var(--header-h) + clamp(3rem, 8vw, 5.5rem)) var(--gutter) clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}
.page-title h1 { font-size: clamp(2.75rem, 8vw, 5.75rem); letter-spacing: -0.035em; }
.section--flush { padding-top: 0; }

.plain-page {
  display: grid;
  place-items: center;
  min-height: 80vh;
  padding: calc(var(--header-h) + 3rem) var(--gutter) 4rem;
  text-align: center;
}
.plain-page h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); letter-spacing: -0.035em; margin-bottom: 1.25rem; }

/* What's On: a date-led gig guide in the Royal's existing palette. */
.gig-heading, .gig-guide { padding-inline: var(--gutter); }
.gig-heading { padding-top: calc(var(--header-h) + 4.5rem); padding-bottom: 3rem; display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.gig-heading h1 { font-size: clamp(3.5rem, 8vw, 7rem); letter-spacing: -0.045em; }
.gig-heading > p { color: var(--ink-soft); margin: 0 0 0.4rem; }
.gig-guide { padding-bottom: 5rem; }
.gig-guide__social { margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--rule); color: var(--brand-red); }
.gig-guide__intro { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 1rem 0; font: 0.75rem/1.5 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.gig-guide__intro span:last-child { color: var(--brand-red); }
.gig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 2rem; }
.gig-card { min-width: 0; overflow: hidden; color: var(--cream); }
.gig-card__artwork { position: relative; }
/* Keep the backing inside the frame; its transparent outer edges define the silhouette. */
.gig-card__image { --frame-size: clamp(0.5rem, 2vw, 1rem); width: 100%; height: auto; aspect-ratio: 3 / 4; padding: max(0.5rem, calc(var(--frame-size) * 0.5)); object-fit: contain; border: var(--frame-size) solid transparent; border-image: url('/art/royal-gig-frame.webp') 23% / 2 stretch; background: var(--brand-red); background-clip: padding-box; }
.gig-card__placeholder { width: 100%; aspect-ratio: 1; }
.gig-card__placeholder { background: var(--brand-red); color: var(--paper); display: grid; place-items: center; text-align: center; font-size: clamp(2.5rem, 3vw, 3.5rem); line-height: 1.1; }
.gig-card__placeholder em { color: var(--accent); }
.gig-card__body { padding: 1rem; background: #fff; color: var(--ink); }
/* A poster that carries everything stands alone; its hidden text still describes it. */
.gig-card--poster-only { align-self: start; }
.gig-card--poster-only .gig-card__body { padding: 0; }
.gig-card__date { margin: 0; font: 1rem/1.5 var(--sans); color: var(--brand-red); }
.gig-card__time { margin: 0; font: 0.85rem/1.6 var(--sans); color: var(--ink-soft); }
.gig-card__location { font: 0.85rem/1.4 var(--sans); color: var(--ink-soft); margin: 0.5rem 0 0; }
.gig-card .visually-hidden + .gig-card__location, .gig-card .visually-hidden + .gig-card__description { margin-top: 0; }
.gig-card h2 { font-size: 1.35rem; overflow-wrap: anywhere; }
.gig-card__description { font-size: 1rem; line-height: 1.6; color: var(--ink-soft); margin: 0.8rem 0; white-space: pre-line; overflow-wrap: anywhere; }
.gig-card__entry { margin: 0; font: 700 0.75rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: 0.05em; }
/* The date, time and Free Entry stack on their own lines; each can be hidden on its own. */
.gig-card__caption, .gig-dialog__meta, .gig-card__when { display: grid; gap: 0.35rem; align-items: start; }
.gig-card__caption { padding: 1rem; background: var(--brand-red); color: #fff; }
.gig-card__caption .gig-card__date, .gig-card__caption .gig-card__time { color: inherit; font: 700 clamp(1.25rem, 6vw, 1.75rem)/1.2 var(--sans); }
.gig-card .gig-card__description { font-size: 0.9rem; line-height: 1.45; margin: 0.5rem 0 0; }
.gig-card__poster { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; color: var(--cream); cursor: zoom-in; }
.gig-card__zoom { position: absolute; z-index: 1; right: 0.65rem; bottom: 0.65rem; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border: 1px solid currentColor; background: var(--night); font: 1.25rem/1 var(--sans); }
.gig-card__poster:hover .gig-card__zoom { background: var(--brand-red); }
.gig-dialog-open { overflow: hidden; }
.gig-dialog { width: min(88rem, calc(100vw - 4rem)); max-width: none; max-height: calc(100dvh - 4rem); padding: 0; border: 1px solid var(--rule); background: #fff; color: var(--ink); }
.gig-dialog::backdrop { background: rgba(30, 27, 26, 0.85); }
.gig-dialog__content { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(18rem, 1fr); height: min(50rem, calc(100dvh - 4rem - 2px)); }
.gig-dialog__content--poster-only { grid-template-columns: minmax(0, 1fr); }
.gig-dialog__poster { display: grid; place-items: center; min-height: 0; padding: 1rem; background: radial-gradient(ellipse at center, #460d1c, #20050b 80%); }
.gig-dialog__poster img { --frame-size: clamp(1rem, 3vw, 2.5rem); width: min(100%, calc((min(50rem, 100dvh - 4rem - 2px) - 2rem) * 0.75)); height: auto; min-height: 0; aspect-ratio: 3 / 4; object-fit: contain; }
.gig-dialog .gig-card__body { align-self: center; max-height: 100%; overflow-y: auto; padding: 4rem 2rem 2rem; }
.gig-dialog h2 { font-size: clamp(1.8rem, 3vw, 3rem); overflow-wrap: anywhere; }
.gig-dialog__close { position: absolute; top: 1rem; right: 1rem; padding: 0.45rem 0.75rem; border: 1px solid var(--rule); color: var(--ink); background: var(--paper); font: 0.9rem/1.5 var(--sans); cursor: pointer; }
.gig-dialog__close span { margin-left: 0.6rem; font-size: 1.2rem; }
@media (max-width: 55.99em) {
  .gig-dialog { width: calc(100% - 1.5rem); max-height: calc(100dvh - 1.5rem); }
  .gig-dialog__content { grid-template-columns: minmax(0, 1fr); height: auto; }
  .gig-dialog .gig-card__body { grid-row: 1; max-height: none; overflow: visible; padding: 0 1rem 1rem; }
  .gig-dialog__close { position: sticky; top: 0.5rem; z-index: 1; display: block; margin: 0.5rem 0.5rem 0.5rem auto; }
}
.content-empty { text-align: center; padding: 5rem 1rem; }
.content-empty h2 { font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: 1rem; }

/* Staff editing stays in the same site, with plain labelled forms. */
[hidden] { display: none !important; }
.admin { padding: calc(var(--header-h) + 3rem) var(--gutter) 5rem; }
.admin-heading, .admin-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.admin-heading { margin-bottom: 1.5rem; }
.admin h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.admin h2 { font-size: 1.8rem; }
.admin h3 { font-size: 1.2rem; }
.admin-heading > a { font: 0.9rem var(--sans); white-space: nowrap; }
#admin-environment, #admin-status { font: 0.9rem/1.5 var(--sans); }
#admin-environment { padding: 0.8rem 1rem; border-left: 3px solid var(--brand-red); background: var(--paper-deep); }
#admin-status { min-height: 1.5em; }
.is-error, .form-error { color: #9d1430; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 0 0.5rem; border-bottom: 1px solid var(--rule); margin: 1.5rem 0 2rem; }
.admin-tabs button { border: 0; border-bottom: 3px solid transparent; background: transparent; padding: 1rem clamp(0.55rem, 2vw, 1.5rem); font: 1rem var(--sans); cursor: pointer; color: var(--ink); }
.admin-tabs button[aria-pressed="true"] { border-color: var(--brand-red); color: var(--brand-red); }
.admin-toolbar { margin-bottom: 1.5rem; }
.admin-toolbar p { margin: 0.6rem 0 0; font-size: 1rem; color: var(--ink-soft); }
.admin-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.admin-actions > a { font: 0.85rem var(--sans); }
.admin button { cursor: pointer; }
.admin button:disabled { cursor: wait; opacity: 0.6; }
.admin-row { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 1.25rem 0; border-top: 1px solid var(--rule); }
.admin-row > div:first-child { min-width: 0; overflow-wrap: anywhere; }
.admin-row p { margin: 0.4rem 0 0; font: 0.9rem/1.5 var(--sans); color: var(--ink-soft); }
.admin-row .admin-actions { flex-shrink: 0; }
.admin-row button { background: none; border: 1px solid var(--rule); color: var(--ink); padding: 0.6rem 0.8rem; font: 0.85rem var(--sans); }
.admin-row button:hover { border-color: var(--ink); }
.admin-price { white-space: nowrap; margin-left: 0.5rem; color: var(--ink-soft); }
.admin-empty { padding: 2.5rem 0; color: var(--ink-soft); }
.admin-past-gigs { margin-top: 2rem; border-top: 1px solid var(--rule); }
.admin-past-gigs summary { padding: 1.25rem 0; cursor: pointer; font: 1.1rem/1.5 var(--sans); }
.admin-filter { max-width: 25rem; }
.admin label { display: block; margin: 1rem 0; font: 0.9rem/1.5 var(--sans); }
.admin input:not([type="checkbox"]), .admin select, .admin textarea { display: block; width: 100%; min-width: 0; padding: 0.75rem; margin-top: 0.4rem; border: 1px solid var(--rule); border-radius: 0; color: var(--ink); background: var(--cream); font: 1rem/1.4 var(--sans); }
.admin input[type="file"] { padding: 0.6rem; }
.admin .admin-check { display: flex; align-items: center; gap: 0.6rem; }
.admin-dietary { margin: 1.5rem 0; padding: 0.75rem 1rem; border: 1px solid var(--rule); font: 0.9rem/1.5 var(--sans); }
.admin-dietary legend { padding-inline: 0.4rem; }
.admin-dietary .admin-check { margin: 0.5rem 0; }
.admin input[type="checkbox"] { width: 1.15rem; height: 1.15rem; accent-color: var(--brand-red); }
.admin-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.admin-show { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0 0 1.25rem; padding: 0; border: 0; min-width: 0; }
.admin-show legend { padding: 0; margin-bottom: 0.5rem; font: 0.9rem/1.4 var(--sans); color: var(--ink-soft); }
.admin-show .admin-check { margin: 0; }
.admin-dialog { width: min(38rem, calc(100% - 2rem)); max-height: calc(100dvh - 3rem); padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid var(--rule); color: var(--ink); background: var(--paper); overflow-y: auto; }
.admin-dialog::backdrop { background: rgba(30, 27, 26, 0.65); }
.admin-dialog h2 { margin-bottom: 1.5rem; }
.admin-dialog .form-error { font: 0.9rem/1.5 var(--sans); }
#gig-title-help { font: 0.85rem/1.5 var(--sans); margin: -0.5rem 0 1.25rem; }
.admin-dialog .button, .admin-toolbar .button, .admin-pdf .button { background: var(--brand-red); border-color: var(--brand-red); color: var(--cream); }
.admin .button--quiet { color: var(--ink); background: transparent; border-color: var(--rule); }
#gig-image-preview { width: 8rem; max-height: 8rem; object-fit: cover; }
#special-image-preview { width: auto; max-height: 9rem; }
.admin-pdf { border-top: 1px solid var(--rule); margin-top: 2rem; padding-top: 1.5rem; }
.admin-pdf summary { cursor: pointer; }
.admin-pdf p { margin-top: 1rem; font-size: 1rem; }
@media (min-width: 56em) and (max-width: 72em) { .nav-menu { gap: 1rem; } .nav-menu a { letter-spacing: 0.1em; font-size: 0.68rem; } }
@media (max-width: 65em) { .gig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 44em) {
  .page-title { padding-block: calc(var(--header-h) + 1.25rem) 1.25rem; }
  .page-title .eyebrow { margin-bottom: 0.5rem; }
  .gig-heading { align-items: start; flex-direction: column; gap: 0.5rem; padding-top: calc(var(--header-h) + 0.75rem); padding-bottom: 1rem; }
  .gig-heading .eyebrow { margin-bottom: 0.5rem; }
  .gig-heading h1 { font-size: 2.75rem; }
  .gig-heading > p { margin: 0; font-size: 1rem; line-height: 1.5; }
  .gig-guide .gig-grid { grid-template-columns: minmax(0, 1fr); margin-top: 1.25rem; }
  .gig-card__placeholder { font-size: 3.5rem; }
  .admin-toolbar { align-items: start; flex-direction: column; }
  .admin-row { gap: 1rem; flex-direction: column; align-items: start; }
  .admin-heading { align-items: start; }
}
@media (max-width: 30em) {
  .admin-fields { grid-template-columns: minmax(0, 1fr); }
}
