/* ==========================================================================
   Turkoman Bar & Grill
   --------------------------------------------------------------------------
   1.  Tokens
   2.  Reset & base
   3.  Typography & section furniture
   4.  Buttons & tags
   5.  Top bar, header & navigation
   6.  Hero
   7.  Cards & panels
   8.  Menu pages
   9.  PDF viewer
   10. Gallery & reels
   11. Reservations
   12. Contact
   13. Footer & sticky bar
   14. Utilities, motion & print
   ========================================================================== */

/* 1. Tokens ============================================================== */

:root {
  /* Charcoal drawn from the menu artwork; brass from the logo badge. */
  --ink:        #100c0a;
  --ink-2:      #17120f;
  --ink-3:      #1f1815;
  --ink-4:      #2a211c;
  --gold:       #c9a24b;
  --gold-lite:  #e7ce93;
  --gold-deep:  #8f6f2c;
  --cream:      #f4ede3;
  --cream-dim:  #cabfb1;
  --muted:      #968a7c;
  --ember:      #a8231f;

  --line:       rgba(201, 162, 75, 0.22);
  --line-soft:  rgba(244, 237, 227, 0.10);
  --shadow-lg:  0 32px 80px -32px rgba(0, 0, 0, 0.85);
  --shadow-md:  0 18px 44px -22px rgba(0, 0, 0, 0.7);

  --font-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --font-body:    'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Fluid type scale */
  --fs-hero:  clamp(3rem, 9vw, 6.5rem);
  --fs-h1:    clamp(2.4rem, 5.2vw, 4.25rem);
  --fs-h2:    clamp(1.95rem, 3.6vw, 3rem);
  --fs-h3:    clamp(1.35rem, 2.1vw, 1.75rem);
  --fs-lead:  clamp(1.05rem, 1.35vw, 1.25rem);
  --fs-body:  1rem;
  --fs-sm:    0.875rem;
  --fs-xs:    0.78rem;

  --wrap:       78rem;
  --wrap-tight: 58rem;
  --gutter:     clamp(1.15rem, 4vw, 3rem);
  --section-y:  clamp(4rem, 9vw, 8.5rem);
  --radius:     2px;
  --radius-lg:  4px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2. Reset & base ======================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, picture, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }

a { color: inherit; text-decoration: none; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.005em;
}

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

table { border-collapse: collapse; width: 100%; }

::selection { background: var(--gold); color: var(--ink); }

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 500;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--tight { max-width: var(--wrap-tight); }

.section { padding-block: var(--section-y); }
.section--flush-top { padding-top: 0; }
.section--tint { background: var(--ink-2); }
.section--panel {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(201, 162, 75, 0.08), transparent 60%),
    var(--ink-2);
}

/* 3. Typography & section furniture ===================================== */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.15rem;
  color: var(--gold);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  width: clamp(1.5rem, 4vw, 3rem);
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow--centred { justify-content: center; }
.eyebrow--centred::after {
  content: '';
  width: clamp(1.5rem, 4vw, 3rem);
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.display  { font-size: var(--fs-h1); }
.display--lg { font-size: var(--fs-hero); }
.display--sm { font-size: var(--fs-h2); }
.display em { font-style: italic; color: var(--gold-lite); }

.lead {
  max-width: 46ch;
  color: var(--cream-dim);
  font-size: var(--fs-lead);
  line-height: 1.75;
}
.lead--wide { max-width: 62ch; }

.sectionhead { margin-bottom: clamp(2.25rem, 5vw, 3.75rem); }
.sectionhead--centred { text-align: center; }
.sectionhead--centred .lead { margin-inline: auto; }
.sectionhead__title { margin-bottom: 0.75rem; font-size: var(--fs-h2); }

.rule {
  width: 100%;
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent);
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--gold);
}
.ornament::before, .ornament::after {
  content: '';
  flex: 1 1 auto;
  max-width: 7rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line));
}
.ornament::after { background: linear-gradient(90deg, var(--line), transparent); }
.ornament__glyph { font-size: 0.7rem; letter-spacing: 0.4em; }

/* 4. Buttons & tags ===================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  color: var(--gold-lite);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn:hover, .btn:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: translateY(-1px);
}

.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover, .btn--gold:focus-visible {
  background: var(--gold-lite);
  border-color: var(--gold-lite);
  color: var(--ink);
}

.btn--ghost { border-color: var(--line-soft); color: var(--cream); }
.btn--ghost:hover, .btn--ghost:focus-visible {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold-lite);
}

.btn--sm { padding: 0.7rem 1.25rem; font-size: var(--fs-xs); letter-spacing: 0.14em; }
.btn--lg { padding: 1.1rem 2.5rem; }
.btn--block { width: 100%; }

.btnrow { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.btnrow--centred { justify-content: center; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  color: var(--gold-lite);
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), gap 0.3s var(--ease);
}
.textlink::after { content: '→'; font-size: 1em; }
.textlink:hover, .textlink:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  gap: 0.85rem;
}

.tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 1px;
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  vertical-align: 0.12em;
}
.tag--v { color: #9dc08b; border-color: rgba(157, 192, 139, 0.35); }
.tag--flag {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 auto;
}
.dot--open { background: #7bbf6a; box-shadow: 0 0 0 3px rgba(123, 191, 106, 0.18); }
.dot--shut { background: #b8564f; box-shadow: 0 0 0 3px rgba(184, 86, 79, 0.16); }

/* 5. Top bar, header & navigation ======================================= */

.topbar {
  position: relative;
  z-index: 60;
  background: #0b0806;
  border-bottom: 1px solid rgba(244, 237, 227, 0.06);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.5rem;
}
.topbar__status,
.topbar__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
}
.topbar__status strong { color: var(--cream); font-weight: 500; }
.topbar__sep { opacity: 0.4; }
.topbar__meta { gap: 1.25rem; }
.topbar__tel { color: var(--gold); }
.topbar__tel:hover { color: var(--gold-lite); }

/* The top bar carries three pieces of information; shed them from least to
   most useful as the viewport narrows, so the phone number always survives. */
@media (max-width: 860px) {
  .topbar__addr { display: none; }
}
@media (max-width: 520px) {
  .topbar { letter-spacing: 0.06em; }
  .topbar__inner { gap: 0.75rem; }
  .topbar__detail { display: none; }
  .topbar__status, .topbar__meta { font-size: 0.72rem; }
}

.siteheader {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(16, 12, 10, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.siteheader.is-stuck {
  background: rgba(11, 8, 6, 0.95);
  border-bottom-color: var(--line);
}

.siteheader__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5rem;
}

.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand__mark {
  width: clamp(46px, 6vw, 60px);
  height: auto;
  transition: transform 0.5s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-4deg) scale(1.04); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.brand__sub {
  margin-top: 0.32rem;
  color: var(--gold);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.nav__list { display: flex; align-items: center; gap: clamp(0.9rem, 2.2vw, 2rem); }
.nav__item { position: relative; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0;
  color: var(--cream-dim);
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover, .nav__link:focus-visible, .nav__link.is-active { color: var(--cream); }
.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link.is-active::after { transform: scaleX(1); }

.nav__caret {
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.7;
  transition: transform 0.35s var(--ease);
}
.nav__subtoggle { display: none; }

/* Desktop dropdown */
.subnav {
  position: absolute;
  top: calc(100% + 1.15rem);
  left: 50%;
  z-index: 20;
  width: min(28rem, calc(100vw - 2rem));
  padding: 0.6rem;
  background: rgba(15, 11, 9, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -0.55rem);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.subnav::before {
  /* Bridges the gap so the pointer can travel from link to panel. */
  content: '';
  position: absolute;
  top: -1.15rem;
  left: 0;
  right: 0;
  height: 1.15rem;
}
.nav__item--has-sub.is-open > .subnav,
.nav__item--has-sub:hover > .subnav,
.nav__item--has-sub:focus-within > .subnav {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav__item--has-sub.is-open > .nav__link .nav__caret,
.nav__item--has-sub:hover > .nav__link .nav__caret { transform: rotate(-135deg) translateY(-1px); }

.subnav__link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.6rem;
  border-radius: var(--radius);
  transition: background-color 0.25s var(--ease);
}
.subnav__link:hover, .subnav__link:focus-visible, .subnav__link.is-active {
  background: rgba(201, 162, 75, 0.1);
}
.subnav__thumb {
  flex: 0 0 auto;
  width: 3rem;
  height: 3.6rem;
  overflow: hidden;
  border-radius: 1px;
  filter: saturate(0.85);
}
.subnav__thumb img { width: 100%; height: 100%; object-fit: cover; }
.subnav__link:hover .subnav__thumb { filter: saturate(1.05); }
.subnav__body { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.subnav__label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: 0.02em;
}
.subnav__meta {
  color: var(--gold);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
/* Flags a submenu entry that opens the PDF rather than a page. */
.subnav__pdf {
  display: inline-block;
  padding: 0.05rem 0.32rem;
  border: 1px solid var(--line);
  border-radius: 1px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  vertical-align: 0.18em;
}
.subnav__all { margin-top: 0.35rem; padding-top: 0.5rem; border-top: 1px solid var(--line-soft); }
/* No thumbnail on this row, so pad it out to line up with the ones above. */
.subnav__link--all { padding-left: calc(0.6rem + 3rem + 0.9rem); }

.nav__actions { display: flex; align-items: center; gap: 0.65rem; }

.navtoggle { display: none; }
.navscrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(6, 4, 3, 0.65);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.navscrim.is-visible { opacity: 1; }

/* Mobile navigation */
@media (max-width: 1040px) {
  .navtoggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.3rem;
    color: var(--cream);
    font-size: var(--fs-xs);
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }
  .navtoggle__bars {
    display: grid;
    gap: 4px;
    width: 1.4rem;
  }
  .navtoggle__bars span {
    display: block;
    height: 1px;
    background: var(--gold);
    transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
  }
  .navtoggle[aria-expanded="true"] .navtoggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .navtoggle[aria-expanded="true"] .navtoggle__bars span:nth-child(2) { opacity: 0; }
  .navtoggle[aria-expanded="true"] .navtoggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 95;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: min(24rem, 88vw);
    height: 100dvh;
    padding: 6.5rem var(--gutter) 2.5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--ink-2);
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    /* Parked by clipping, not by translating off-screen. A fixed element
       sitting beyond the right edge still counts towards the document's scroll
       width in Chrome, which gave every page a phantom horizontal scroll on a
       phone (390px viewport, 737px document). Clipping keeps the drawer inside
       the viewport, and `visibility` keeps it out of the tab order while shut. */
    clip-path: inset(0 0 0 100%);
    visibility: hidden;
    transition: clip-path 0.45s var(--ease), visibility 0.45s;
  }
  .nav.is-open {
    clip-path: inset(0);
    visibility: visible;
  }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line-soft); }
  .nav__item--has-sub {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .nav__link {
    padding: 1.05rem 0;
    font-size: 1rem;
    letter-spacing: 0.18em;
  }
  .nav__link::after { display: none; }
  .nav__link .nav__caret { display: none; }

  .nav__subtoggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    color: var(--gold);
  }
  .nav__subtoggle[aria-expanded="true"] .nav__caret { transform: rotate(-135deg) translateY(-1px); }

  .subnav {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 0.45s var(--ease), padding 0.45s var(--ease);
  }
  .subnav::before { display: none; }
  /* The desktop panel is centred with translate(-50%); that must not follow the
     submenu into the drawer, where it is an in-flow block. */
  .nav__item--has-sub.is-open > .subnav,
  .nav__item--has-sub:hover > .subnav,
  .nav__item--has-sub:focus-within > .subnav {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  /* Only the explicit accordion toggle expands it — hover must not. */
  .nav__item--has-sub.is-open > .subnav {
    max-height: 40rem;
    padding-bottom: 1rem;
  }
  .subnav__link { padding: 0.55rem 0 0.55rem 0.9rem; border-left: 1px solid var(--line); border-radius: 0; }
  .subnav__link:hover, .subnav__link.is-active { background: none; border-left-color: var(--gold); }
  .subnav__thumb { width: 2.4rem; height: 2.9rem; }

  .nav__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 2rem;
  }
  .nav__actions .btn { width: 100%; }
}

/* 6. Hero =============================================================== */

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(92vh, 54rem);
  padding-block: clamp(6rem, 16vw, 10rem) clamp(3rem, 8vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.hero--page { min-height: min(64vh, 40rem); }

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
/* One hero film per orientation: the wide cut on desktop, the vertical cut on
   phones. Only the displayed element is ever fetched. */
.hero__video { background: var(--ink); }
.hero__video--tall { display: none; }
@media (max-width: 760px) {
  .hero__video--wide { display: none; }
  .hero__video--tall { display: block; }
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 8, 6, 0.72) 0%, rgba(11, 8, 6, 0.28) 32%, rgba(11, 8, 6, 0.86) 82%, var(--ink) 100%),
    radial-gradient(90% 60% at 50% 100%, rgba(11, 8, 6, 0.7), transparent);
}

.hero__inner { position: relative; }
.hero__badge {
  width: clamp(74px, 11vw, 118px);
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6));
}
.hero__title {
  margin-bottom: 0.35em;
  font-size: var(--fs-hero);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.hero__title span { display: block; }
.hero__title .hero__script {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-lite);
}
.hero__lead {
  max-width: 40ch;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  color: rgba(244, 237, 227, 0.86);
  font-size: var(--fs-lead);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  color: var(--cream-dim);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero__meta li { display: flex; align-items: center; gap: 0.6rem; }
.hero__meta li + li::before {
  content: '';
  width: 4px;
  height: 4px;
  margin-right: 0.9rem;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(2rem, 6vw, 3.5rem);
  display: none;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream-dim);
  font-size: var(--fs-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
@media (min-width: 900px) { .hero__scroll { display: flex; } }
.hero__scroll::after {
  content: '';
  width: 1px;
  height: 3.5rem;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollHint 2.4s var(--ease) infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.5; }
  50%      { transform: scaleY(1);   transform-origin: top; opacity: 1; }
}

/* Compact page hero */
.pagehero {
  position: relative;
  padding-block: clamp(4rem, 11vw, 7.5rem) clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.pagehero__media { position: absolute; inset: 0; z-index: -2; }
.pagehero__media img { width: 100%; height: 100%; object-fit: cover; }
.pagehero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 8, 6, 0.86), rgba(11, 8, 6, 0.72) 45%, var(--ink));
}
.pagehero__title { margin-bottom: 0.5em; font-size: var(--fs-h1); }
.pagehero .lead { margin-inline: auto; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.breadcrumbs li + li::before { content: '/'; margin-right: 0.5rem; opacity: 0.5; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs [aria-current] { color: var(--cream-dim); }

/* 7. Cards & panels ===================================================== */

.grid { display: grid; gap: clamp(1.15rem, 2.4vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(13.5rem, 100%), 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card:hover {
  border-color: var(--line);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink-3);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__media--wide { aspect-ratio: 3 / 2; }
.card__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: clamp(1.35rem, 2.6vw, 1.9rem); }
.card__eyebrow {
  margin-bottom: 0.55rem;
  color: var(--gold);
  font-size: var(--fs-xs);
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.card__title { margin-bottom: 0.5rem; font-size: var(--fs-h3); }
.card__text { margin-bottom: 1.35rem; color: var(--cream-dim); font-size: 0.95rem; }
.card__foot { margin-top: auto; }

/* Whole-card link */
.card--link .card__link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Menu index card */
.menucard__count {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
  color: var(--muted);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Feature split (image + copy) */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-media { grid-template-columns: 1.15fr 1fr; }
  .split--flip .split__media { order: 2; }
}
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); }
.split__media--stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.75rem, 1.6vw, 1.15rem);
}
.split__media--stack > *:first-child { grid-row: span 2; }
.split__media--stack img { height: 100%; object-fit: cover; }

/* Two photographs side by side, matched in height. */
.split__media--pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.75rem, 1.6vw, 1.15rem);
  align-items: stretch;
}
.split__media--pair picture { display: block; height: 100%; }
.split__media--pair img { width: 100%; height: 100%; object-fit: cover; }

.framed {
  position: relative;
  padding: clamp(0.6rem, 1.5vw, 1rem);
}
.framed::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.framed > img, .framed > picture { border-radius: 1px; }

/* Numbered stat / feature list */
.facts { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.fact__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1;
  color: var(--gold-lite);
}
.fact__label {
  display: block;
  margin-top: 0.6rem;
  color: var(--cream-dim);
  font-size: var(--fs-sm);
}

.quote {
  max-width: 44ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--cream);
}
.quote__cite {
  display: block;
  margin-top: 1.25rem;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-style: normal;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* Question and answer list (home page FAQ) */
.qa { display: grid; gap: 1.5rem; }
.qa__q {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.3;
}
.qa__a {
  max-width: 70ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* 8. Menu pages ========================================================= */
/*
 * NOTE: the menu pages currently show the printed menu as page images — the
 * restaurant keeps prices in the PDFs only. The dish-list styles below
 * (.menunav, .menubody, .menusection, .dish*, .setbox*) are therefore not used
 * by any template at the moment. They are kept because app/data/menus/ still
 * holds the full structured menu, so switching back to an HTML menu is a
 * template change rather than a rebuild. Delete both together if that is ruled
 * out for good.
 */

/* Sticky in-page section navigation */
.menunav {
  position: sticky;
  top: 5rem;
  z-index: 55;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  background: rgba(11, 8, 6, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-block: 1px solid var(--line);
}
.menunav__scroll {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 0.6rem;
  scroll-snap-type: x proximity;
}
.menunav__scroll::-webkit-scrollbar { display: none; }
.menunav__link {
  flex: 0 0 auto;
  padding: 0.55rem 0.95rem;
  border-radius: 1px;
  color: var(--cream-dim);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.menunav__link:hover, .menunav__link.is-active { background: rgba(201, 162, 75, 0.12); color: var(--gold-lite); }

/* Menu columns */
.menubody { columns: 1; }
@media (min-width: 1040px) {
  .menubody--two { columns: 2; column-gap: clamp(2.5rem, 5vw, 4.5rem); }
  .menubody--two .menusection { break-inside: avoid; }
}

.menusection { margin-bottom: clamp(2.75rem, 5vw, 4rem); }
.menusection:last-child { margin-bottom: 0; }

.menusection__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.menusection__title {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.menusection__note {
  margin: -0.75rem 0 1.5rem;
  color: var(--muted);
  font-size: var(--fs-sm);
  font-style: italic;
}

/* Price column headings for spirits and wine */
.menusection__cols {
  display: flex;
  gap: 1rem;
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--gold);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: right;
}
.menusection__cols span { width: 4.25rem; }
@media (max-width: 560px) { .menusection__cols { display: none; } }

.dishlist { display: grid; gap: 1.35rem; }

.dish { display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 1.25rem; }
.dish__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.dish__name .tag { margin-left: 0.4rem; }
.dish__origin {
  display: block;
  margin-top: 0.1rem;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.dish__desc {
  grid-column: 1 / -1;
  max-width: 54ch;
  margin: 0.1rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}
/* These are <p> elements, so the global paragraph margin has to go — it would
   otherwise stretch the grid row and float the description away from its dish. */
.dish__price,
.dish__prices,
.dish__variants { margin: 0; }

.dish__price {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--gold-lite);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.dish__price::before { content: '£'; margin-right: 0.06em; font-size: 0.78em; opacity: 0.7; }

/* Multi-measure prices (spirits, wine) */
.dish__prices {
  display: flex;
  gap: 1rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.dish__prices .dish__price { width: 4.25rem; text-align: right; }
.dish__prices .dish__price--empty::before { content: none; }
@media (max-width: 560px) {
  .dish { grid-template-columns: 1fr; }
  .dish__prices { justify-content: flex-start; gap: 1.25rem; margin-top: 0.2rem; }
  .dish__prices .dish__price { width: auto; }
  .dish__price[data-measure]::after {
    content: ' ' attr(data-measure);
    font-family: var(--font-body);
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
  }
}

/* Variant pricing (halves and pints, bottle sizes) */
.dish__variants {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  justify-content: flex-end;
  text-align: right;
}
.dish__variant { display: inline-flex; align-items: baseline; gap: 0.4rem; }
.dish__variant-label {
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@media (max-width: 560px) {
  .dish__variants { justify-content: flex-start; }
}

/* Highlighted set boxes — echoes the framed boxes on the printed menu */
.setbox {
  position: relative;
  margin-top: 1.75rem;
  padding: clamp(1.15rem, 2.4vw, 1.6rem);
  background: linear-gradient(180deg, rgba(201, 162, 75, 0.07), rgba(201, 162, 75, 0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  break-inside: avoid;
}
.setbox + .setbox { margin-top: 0.9rem; }
.setbox--accent { background: linear-gradient(180deg, rgba(168, 35, 31, 0.14), rgba(168, 35, 31, 0.04)); }
.setbox__flag {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.18rem 0.7rem;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.setbox__name {
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.setbox__serves {
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.setbox__desc {
  max-width: 46ch;
  margin: 0 auto 0.9rem;
  color: var(--cream-dim);
  font-size: 0.875rem;
  line-height: 1.6;
}
.setbox__price {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  line-height: 1;
  color: var(--gold-lite);
}
.setbox__price::before { content: '£'; font-size: 0.62em; opacity: 0.7; }

.setgrid { display: grid; gap: 1rem; }
@media (min-width: 800px) { .setgrid { grid-template-columns: repeat(3, 1fr); } }
.setgrid .setbox { margin-top: 0; display: flex; flex-direction: column; justify-content: center; }

.footnotes {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--fs-sm);
}
.footnotes li + li { margin-top: 0.5rem; }

/* Menu switcher at the foot of each menu page */
.menuswitch { display: grid; gap: 0.75rem; }
@media (min-width: 760px) { .menuswitch { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); } }
.menuswitch__item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.15rem 1.25rem;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}
.menuswitch__item:hover { border-color: var(--gold); background: var(--ink-3); }
.menuswitch__item.is-current { border-color: var(--gold); background: rgba(201, 162, 75, 0.08); }
.menuswitch__label { font-family: var(--font-display); font-size: 1.15rem; }
.menuswitch__meta { color: var(--gold); font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; }

/* 9. PDF viewer ========================================================= */

.pdfview {
  padding: clamp(1rem, 2.5vw, 1.75rem);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.pdfview__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.pdfview__title { margin: 0; font-size: var(--fs-h3); }
.pdfview__hint { margin: 0.25rem 0 0; color: var(--muted); font-size: var(--fs-sm); }
.pdfpages { display: grid; gap: clamp(0.75rem, 2vw, 1.25rem); }

/* The menu pages are the main content of a menu page, so they get room to
   breathe and go nearly edge to edge on a phone. */
.menupages { padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.menupages__hint {
  margin: 0 0 clamp(1rem, 2.5vw, 1.75rem);
  color: var(--muted);
  font-size: var(--fs-sm);
  text-align: center;
}
.pdfpages--feature { gap: clamp(1rem, 2.5vw, 1.75rem); }
.pdfpages--feature .pdfpage {
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}
@media (max-width: 700px) {
  .pdfpages--feature {
    margin-inline: calc(var(--gutter) * -0.6);
  }
}

.footnotes--centred { text-align: center; }
.footnotes--centred li { margin-inline: auto; max-width: 62ch; }
.pdfpage {
  display: block;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  cursor: zoom-in;
}
.pdfpage img { width: 100%; }
.pdfpage__zoom {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.4rem 0.8rem;
  background: rgba(16, 12, 10, 0.85);
  color: var(--gold-lite);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.pdfpage:hover .pdfpage__zoom, .pdfpage:focus-visible .pdfpage__zoom { opacity: 1; }

/* 10. Gallery & reels =================================================== */

.mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.5rem, 1.5vw, 1rem);
  /* Dense packing backfills the slot a double-width tile would otherwise
     leave empty at the end of a row. */
  grid-auto-flow: dense;
}
@media (min-width: 760px)  { .mosaic { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .mosaic { grid-template-columns: repeat(4, 1fr); } }

.mosaic__item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink-3);
  border-radius: var(--radius);
  cursor: zoom-in;
}
.mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.6s var(--ease);
}
.mosaic__item:hover img { transform: scale(1.06); }
/* Double-width tiles only: a row span would fight the aspect ratio and leave
   holes that dense packing cannot fill. The wide tile's height works out
   within a few pixels of a standard 4:5 tile, so rows stay level. */
.mosaic__item--wide { grid-column: span 2; aspect-ratio: 8 / 5; }
.mosaic__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1rem 0.9rem;
  background: linear-gradient(180deg, transparent, rgba(9, 6, 5, 0.85));
  color: var(--cream);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mosaic__item:hover .mosaic__caption,
.mosaic__item:focus-visible .mosaic__caption { opacity: 1; transform: translateY(0); }

/* Vertical video strip */
.reels {
  display: grid;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
}
.reel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: var(--ink-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
}
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel__label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 3rem 1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(9, 6, 5, 0.9));
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.reel__sound {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  background: rgba(16, 12, 10, 0.75);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--cream);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.reel__sound:hover { border-color: var(--gold); color: var(--gold-lite); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-rows: auto 1fr;
  background: rgba(6, 4, 3, 0.96);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--gutter);
  border-bottom: 1px solid var(--line-soft);
}
.lightbox__count { color: var(--muted); font-size: var(--fs-xs); letter-spacing: 0.2em; }
.lightbox__close {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cream);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.lightbox__close:hover { color: var(--gold); }
.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  overflow: auto;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox__stage img.is-zoomed { max-height: none; cursor: zoom-out; }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  background: rgba(16, 12, 10, 0.7);
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  color: var(--cream);
  font-size: 1.1rem;
}
.lightbox__nav:hover { border-color: var(--gold); color: var(--gold-lite); }
.lightbox__nav--prev { left: clamp(0.5rem, 2vw, 1.5rem); }
.lightbox__nav--next { right: clamp(0.5rem, 2vw, 1.5rem); }

/* 11. Reservations ====================================================== */

.booking {
  display: grid;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: start;
}
@media (min-width: 1000px) { .booking { grid-template-columns: 1.25fr 0.85fr; } }

.panel {
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.panel--aside { background: var(--ink-3); }
.panel__head { margin-bottom: 1.75rem; }
.panel__title { margin-bottom: 0.4rem; font-size: var(--fs-h3); }
.panel__text { color: var(--cream-dim); font-size: 0.95rem; }

/* Booking mode switch */
.switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  margin-bottom: 2rem;
  padding: 0.25rem;
  background: var(--ink);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.switch__btn {
  padding: 0.8rem 0.75rem;
  border-radius: 1px;
  color: var(--cream-dim);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.switch__btn[aria-selected="true"] { background: var(--gold); color: var(--ink); }
.switch__btn:not([aria-selected="true"]):hover { color: var(--cream); }

/* Form */
.form { display: grid; gap: 1.35rem; }
.formrow { display: grid; gap: 1.35rem; }
@media (min-width: 620px) {
  .formrow--2 { grid-template-columns: repeat(2, 1fr); }
  .formrow--3 { grid-template-columns: repeat(3, 1fr); }
}
.field { display: grid; gap: 0.5rem; }
.field__label {
  color: var(--cream-dim);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.field__label .req { color: var(--gold); }
.field__hint { color: var(--muted); font-size: 0.78rem; }
.field__error {
  display: none;
  color: #e2867f;
  font-size: 0.78rem;
}
.field.has-error .field__error { display: block; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #b8564f; }

input[type="text"], input[type="email"], input[type="tel"],
input[type="date"], select, textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--ink);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
  appearance: none;
}
input::placeholder, textarea::placeholder { color: #6c6157; }
input:hover, select:hover, textarea:hover { border-color: rgba(201, 162, 75, 0.3); }
input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  background: var(--ink-3);
  outline: none;
}
textarea { min-height: 6.5rem; resize: vertical; line-height: 1.6; }

select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
                    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 1.25rem, calc(100% - 0.85rem) 1.25rem;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
select option { background: var(--ink-2); color: var(--cream); }

/* Time slot chips */
.slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.slots__input { position: absolute; opacity: 0; pointer-events: none; }
.slots__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.15rem;
  padding: 0.55rem 0.5rem;
  background: var(--ink);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--cream-dim);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.slots__label:hover { border-color: rgba(201, 162, 75, 0.4); color: var(--cream); }
.slots__input:checked + .slots__label {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  font-weight: 500;
}
.slots__input:focus-visible + .slots__label { outline: 2px solid var(--gold-lite); outline-offset: 2px; }

.checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  color: var(--cream-dim);
  font-size: 0.85rem;
  line-height: 1.55;
  cursor: pointer;
}
.checkbox input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.2rem 0 0;
  accent-color: var(--gold);
}

.formfoot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding-top: 0.5rem;
}
.formfoot__note { flex: 1 1 14rem; color: var(--muted); font-size: 0.78rem; }

.btn[data-loading="true"] { pointer-events: none; opacity: 0.65; }
.btn__spinner {
  width: 0.95rem;
  height: 0.95rem;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Form result messages */
.notice {
  display: grid;
  gap: 0.4rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--line);
  border-left-width: 3px;
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.notice--ok { border-left-color: #7bbf6a; background: rgba(123, 191, 106, 0.08); }
.notice--bad { border-left-color: #b8564f; background: rgba(184, 86, 79, 0.08); }
.notice__title { margin: 0; font-family: var(--font-display); font-size: 1.25rem; }
.notice p { margin: 0; color: var(--cream-dim); }
.notice__ref {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.25rem 0.6rem;
  background: var(--ink);
  border: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--gold-lite);
}

/* Dojo diary panel — framed to read as part of the page, not a bare iframe.
   Dojo's own interface scrolls internally, so the frame needs real height or the
   booking steps get clipped. Height is driven by the viewport rather than a
   fixed pixel value, and svh is used so mobile browser chrome does not steal
   the bottom of the panel. */
.diary {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink);
  overflow: hidden;
}
.diary__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.15rem;
  background: var(--ink-3);
  border-bottom: 1px solid var(--line);
}
.diary__label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.diary__newtab {
  color: var(--gold-lite);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}
.diary__newtab:hover { color: var(--gold); border-color: var(--gold); }

.diary__stage { position: relative; }

.diary__frame {
  display: block;
  width: 100%;
  height: clamp(38rem, 76svh, 58rem);
  border: 0;
  background: var(--ink);
  /* Let a touch drag scroll inside the frame rather than the page. */
  -webkit-overflow-scrolling: touch;
}

.diary__fallback { padding: clamp(1.5rem, 4vw, 2.5rem); text-align: center; }
.diary__spinner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 1rem;
  background: var(--ink);
  color: var(--muted);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: opacity 0.4s var(--ease);
}
.diary__spinner[hidden] { display: none; }

.diary__note {
  max-width: 60ch;
  margin: 1.25rem auto 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}
.diary__note a { color: var(--gold-lite); }

/* The booking page gives the diary the whole column. */
.bookingsection { padding-top: clamp(1.5rem, 4vw, 2.5rem); }

/* On a phone, go edge to edge: every pixel of width matters to Dojo's layout,
   and the rounded panel inset was squeezing it. */
@media (max-width: 760px) {
  .diary--full {
    margin-inline: calc(var(--gutter) * -1);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }
  .diary--full .diary__frame {
    /* Full height minus the sticky header and the mobile action bar. */
    height: calc(100svh - 9rem);
    min-height: 32rem;
  }
  .diary__chrome { padding-inline: var(--gutter); }
}

/* Short landscape phones: do not let the frame collapse to nothing. */
@media (max-height: 560px) {
  .diary__frame { height: 34rem; }
}

/* Aside detail list */
.detaillist { display: grid; gap: 1.15rem; }
.detaillist__row { display: grid; gap: 0.2rem; padding-bottom: 1.15rem; border-bottom: 1px solid var(--line-soft); }
.detaillist__row:last-child { border-bottom: 0; padding-bottom: 0; }
.detaillist__key { color: var(--gold); font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; }
.detaillist__val { color: var(--cream); font-size: 0.95rem; }
.detaillist__val a:hover { color: var(--gold-lite); }

/* 12. Contact =========================================================== */

.map {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink-3);
}
.map__frame { display: block; width: 100%; height: clamp(20rem, 42vh, 30rem); border: 0; filter: grayscale(0.35) contrast(1.05) brightness(0.9); }
.map__pin {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(11, 8, 6, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.map__addr { margin: 0; font-size: 0.9rem; line-height: 1.5; }
.map__addr strong { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; }

.hours { font-size: 0.9rem; }
.hours th, .hours td { padding: 0.4rem 0; text-align: left; font-weight: 300; vertical-align: baseline; }
.hours th { color: var(--cream-dim); padding-right: 1.5rem; white-space: nowrap; }
.hours td { color: var(--gold-lite); font-variant-numeric: tabular-nums; }
.hours tr.is-today th { color: var(--cream); font-weight: 500; }
.hours tr.is-today td { color: var(--gold); }

/* 13. Footer & sticky bar =============================================== */

.sitefooter {
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
  background: #0b0806;
  border-top: 1px solid var(--line);
}
.sitefooter__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 720px)  { .sitefooter__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .sitefooter__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.sitefooter__brand img { margin-bottom: 1.35rem; width: 84px; height: auto; }
.sitefooter__blurb { max-width: 34ch; color: var(--muted); font-size: 0.9rem; }
.sitefooter__head {
  margin-bottom: 1.15rem;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.sitefooter__head--spaced { margin-top: 2rem; }
.sitefooter__address, .sitefooter__links { font-size: 0.92rem; font-style: normal; line-height: 1.85; color: var(--cream-dim); }
.sitefooter__address { margin-bottom: 1rem; }
.sitefooter__links a:hover { color: var(--gold-lite); }
.sitefooter__nav { font-size: 0.92rem; line-height: 2; }
.sitefooter__nav a { color: var(--cream-dim); }
.sitefooter__nav a:hover { color: var(--gold-lite); }
.sitefooter__note { margin-top: 0.85rem; color: var(--muted); font-size: 0.8rem; font-style: italic; }
.sitefooter__status { display: flex; align-items: center; gap: 0.55rem; margin-top: 0.85rem; font-size: 0.82rem; color: var(--cream-dim); }

.social { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.5rem; }
.social a {
  position: relative;
  color: var(--cream-dim);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.social a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.social a:hover { color: var(--gold-lite); }
.social a:hover::after { transform: scaleX(1); }

.sitefooter__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.78rem;
}
.sitefooter__fineprint { max-width: 48ch; }

/* Mobile action bar */
.stickybar { display: none; }
@media (max-width: 760px) {
  .stickybar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 70;
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 1px;
    background: var(--line-soft);
    border-top: 1px solid var(--line);
    transform: translateY(101%);
    transition: transform 0.4s var(--ease);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .stickybar.is-visible { transform: translateY(0); }
  .stickybar__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 1rem 1.15rem;
    background: rgba(11, 8, 6, 0.97);
    backdrop-filter: blur(10px);
    color: var(--cream);
    font-size: var(--fs-xs);
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .stickybar__item--gold { background: var(--gold); color: var(--ink); font-weight: 500; }
  body { padding-bottom: 0; }
  .sitefooter { padding-bottom: 5rem; }
}

/* 14. Utilities, motion & print ========================================= */

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

.text-centre { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: clamp(2rem, 4vw, 3rem); }
.mb-0 { margin-bottom: 0; }
.gold { color: var(--gold-lite); }
.muted { color: var(--muted); }

/* Scroll reveal — content is visible by default and only animates when the
   script marks the document as capable, so nothing is hidden without JS. */
.js .reveal {
  opacity: 0;
  transform: translateY(1.75rem);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.1s; }
.js .reveal[data-delay="2"] { transition-delay: 0.2s; }
.js .reveal[data-delay="3"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .siteheader, .stickybar, .menunav, .sitefooter__grid,
  .hero__scroll, .btn, .navscrim { display: none !important; }
  body { background: #fff; color: #111; }
  .menusection__title, .dish__name, .dish__price { color: #111; }
  .dish__desc, .muted { color: #444; }
  a { color: #111; }
  .setbox { border-color: #999; background: none; }
  .pdfview, .panel { border-color: #ccc; }
}
