/* arden. — shared styles for every page (moved out of index.html). Paths are relative to this file. */

/* ----------------------------------------------------
   FONTS (Title: Cormorant Garamond, Body: Darker Grotesque)
---------------------------------------------------- */
@font-face {
  font-family: 'EB Garamond';
  src: url('../fonts/EB_Garamond_Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ----------------------------------------------------
   ARDEN DESIGN TOKENS
   (taken from the logo: cream #ECE7E0 + copper #B5762F,
    and the dark aged oak / black wood of the interior)
---------------------------------------------------- */
:root {
  --c-bg: 0 0 0;
  /* page background — pure black, as on firebirdbysuetomi.sg */
  --c-card: 20 20 20;
  /* secondary surface */
  --c-text: 236 231 224;
  /* logo cream */
  --c-cream: 242 220 188;
  /* footer headings on mobile */
  --c-copper: 208 144 68;
  /* logo "r" — lifted for >= 4.5:1 WCAG AA contrast on dark surfaces */
  --c-muted: 192 180 168;
  /* icons, captions — >= 8:1 contrast on dark surfaces */
  --c-surface: 18 18 18;
  /* striped sections (craft + footer): lifted just enough for the dark stripes to show */
}

html {
  scroll-padding-top: 72px;
}

@media (min-width: 768px) {
  html {
    scroll-padding-top: 103px;
  }
}

body {
  background-color: rgb(var(--c-bg));
  color: rgb(var(--c-text));
  font-family: 'Darker Grotesque', system-ui, -apple-system, sans-serif;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* even line lengths in headings, so no single word is left alone on the last line (e.g. "đại," in VI) */
h1,
h2,
h3 {
  text-wrap: balance;
}

/* Optical size boost for Darker Grotesque body copy across all pages */
main p:not(.font-title):not(.font-garamond):not(.eyebrow):not(.pull-quote) {
  font-size: 19px;
  line-height: 1.55;
}

@media (min-width: 768px) {
  main p:not(.font-title):not(.font-garamond):not(.eyebrow):not(.pull-quote) {
    font-size: 22px;
    line-height: 1.55;
  }
}

.editorial-body p {
  font-size: 20px !important;
  line-height: 1.6 !important;
}

@media (min-width: 768px) {
  .editorial-body p {
    font-size: 23px !important;
    line-height: 1.62 !important;
  }
}

/* Pill button — 1px border, radius 90px, lowercase Meursault */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  border-radius: 90px;
  font-family: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  text-transform: lowercase;
  color: #fff;
  background: transparent;
  height: 36px;
  padding: 0 22px;
  font-size: 18px;
  line-height: 1.4;
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
  white-space: nowrap;
}

.btn-pill:hover {
  background: rgb(var(--c-text));
  color: rgb(var(--c-bg));
  border-color: rgb(var(--c-text));
}

@media (min-width: 768px) {
  .btn-pill {
    height: 50px;
    padding: 0 28px;
    font-size: 22px;
  }
}

/* Compact pill for the header (min 44px tap target on mobile) */
.btn-pill.btn-sm {
  height: 44px;
  padding: 0 18px;
  font-size: 16px;
}

@media (min-width: 768px) {
  .btn-pill.btn-sm {
    height: 40px;
    padding: 0 22px;
    font-size: 18px;
  }
}

/* Sticky mobile booking bar (fixed bottom on small screens) */
.mobile-book-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(14, 12, 10, .94);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.mobile-book-bar .btn-book-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 9999px;
  background: rgb(var(--c-text));
  color: #000;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 19px;
  text-transform: lowercase;
  transition: background-color .25s ease;
}

.mobile-book-bar .btn-book-primary:hover {
  background: #fff;
}

.mobile-book-bar .btn-book-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  font-family: 'Darker Grotesque', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: lowercase;
}

@media (min-width: 768px) {
  .mobile-book-bar {
    display: none;
  }
}

@media (max-width: 767px) {
  footer#contact {
    padding-bottom: 92px;
  }
}

/* en | vi switch (lowercase) */
.lang-menu {
  display: flex;
  align-items: center;
  font-family: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  text-transform: lowercase;
  font-size: 15px;
  line-height: 1.4;
}

.lang-menu .lang-btn {
  position: relative;
  color: rgb(194, 194, 194);
  cursor: pointer;
}

/* invisible larger tap area (the letters alone are ~12x21px on phones) */
.lang-menu .lang-btn::after {
  content: '';
  position: absolute;
  inset: -12px -8px;
}

.lang-menu .lang-btn.is-active {
  color: rgb(255, 252, 245);
  cursor: default;
}

.lang-menu .lang-sep {
  width: 1px;
  height: 1em;
  margin: 0 8px;
  background: rgb(146, 154, 151);
}

@media (min-width: 751px) {
  .lang-menu {
    font-size: 20.25px;
  }

  .lang-menu .lang-sep {
    margin: 0 9px;
    background: rgb(194, 194, 194);
  }
}

/* ====================================================
   CUSTOM LUXURY SCROLLBAR (Arden Copper Theme)
==================================================== */
html {
  color-scheme: dark;
  scrollbar-color: #b5762f #120e0b;
  scrollbar-width: thin;
}

/* Global scrollbar for Webkit/Chromium */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0f0b08;
  border-left: 1px solid rgba(255, 255, 255, 0.04);
}

::-webkit-scrollbar-thumb {
  background: #8b5620;
  border-radius: 9999px;
  border: 1px solid #0f0b08;
  transition: background-color .2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #b5762f;
}

/* Booking modal */
#booking {
  transition: opacity .4s ease, visibility .4s ease;
}

#booking.is-open {
  opacity: 1;
  visibility: visible;
}

/* Custom scrollbar specifically for the booking modal panel */
#booking .booking-panel {
  transform: translateY(16px);
  transition: transform .4s ease;
  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: #b5762f rgba(255, 255, 255, 0.08);
  -webkit-overflow-scrolling: touch;
}

#booking .booking-panel::-webkit-scrollbar {
  width: 7px;
  display: block;
}

#booking .booking-panel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
  margin: 14px 4px;
}

#booking .booking-panel::-webkit-scrollbar-thumb {
  background: #b5762f;
  border-radius: 9999px;
  border: 1px solid rgba(18, 13, 10, 0.6);
  box-shadow: 0 0 6px rgba(181, 118, 47, 0.35);
  transition: background .2s ease, box-shadow .2s ease;
}

#booking .booking-panel::-webkit-scrollbar-thumb:hover {
  background: #d99144;
  box-shadow: 0 0 10px rgba(217, 145, 68, 0.6);
}

#booking.is-open .booking-panel {
  transform: none;
}

.field-label {
  display: block;
  font-family: 'Darker Grotesque', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: lowercase;
  color: rgb(var(--c-muted));
}

.field {
  width: 100%;
  margin-top: 6px;
  padding: 8px 0;
  background: transparent;
  color: #fff;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  border-radius: 0;
  font-family: 'Darker Grotesque', system-ui, sans-serif;
  font-size: 17px;
  outline: none;
  color-scheme: dark;
  transition: border-color .3s ease;
}

.field:focus {
  border-bottom-color: rgb(var(--c-copper));
}

.field::placeholder {
  color: rgba(255, 255, 255, .3);
}

select.field option {
  background: rgb(var(--c-bg));
  color: #fff;
}

/* Nav underline */
.nav-link {
  position: relative;
  transition: color .3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: rgb(var(--c-copper));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s ease;
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* Dropdown */
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: all .3s ease;
}

/* Hero slideshow (stands in for the template's background video) */
.hero-slide {
  opacity: 0;
  transition: opacity 1.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide.is-active .hero-img {
  animation: kenburns 9s ease-out forwards;
}

@keyframes kenburns {
  from {
    transform: scale(1.08);
  }

  to {
    transform: scale(1);
  }
}

/* Marquee galleries (template: Pro Gallery sliders with auto-scroll) */
.marquee {
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee var(--speed, 60s) linear infinite;
}

.marquee-track.reverse {
  animation-direction: reverse;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.zoom-item img {
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}

.zoom-item:hover img {
  transform: scale(1.06);
}

/* Vertical stripes — the template's tiled 3×3px overlay
   (1px black line at 35% opacity every 3px) */
.stripes {
  background-image: url('../images/arden/stripe-tile.png');
  background-repeat: repeat;
}

/* Footer / honors textured background */
.grain {
  background-color: rgb(var(--c-surface));
  background-image: url('../images/arden/stripe-tile.png');
  background-repeat: repeat;
}

/* Sticky header: transparent over the hero, solid once scrolled (like the template) */
.site-header {
  transition: background-color .3s ease;
}

.site-header.is-scrolled {
  background-color: rgb(var(--c-surface));
}

/* Glowing horizon arc at the bottom of the band */
[data-band] {
  position: relative;
}

/* Seamless top blend from pure black #000 into .grain so there is no hard horizontal seam */
[data-band]::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 150px;
  background: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .82) 32%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 2;
}

.place-ducale-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 56px 12px 64px;
  pointer-events: none;
  z-index: 1;
}

@media (min-width: 768px) {
  .place-ducale-wrap {
    padding: 72px 24px 76px;
  }
}

.place-ducale-img {
  width: auto;
  max-width: min(1320px, 100%);
  max-height: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  opacity: 0.34;
  /* soft left/right edges, plus a fade at the bottom: the line art sits above .horizon (z 1 vs auto) so the
     glow lights it, and without this fade the plaza ground showed through the dark arc. The arc's crest is
     ~56px (mobile) / ~44px (desktop) above the image's bottom edge, given the wrap's bottom padding. */
  --ducale-fade: linear-gradient(to top, transparent 0, transparent 54px, #000 96px);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%), var(--ducale-fade);
  mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%), var(--ducale-fade);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

@media (min-width: 768px) {
  .place-ducale-img {
    --ducale-fade: linear-gradient(to top, transparent 0, transparent 46px, #000 110px);
  }
}

.horizon {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 0;
  height: 120px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background-color: rgb(var(--c-surface));
  background-image: url('../images/arden/stripe-tile.png');
  box-shadow: 0 -6px 18px rgba(255, 214, 160, .55), 0 -24px 60px rgba(181, 118, 47, .55), 0 -60px 120px rgba(181, 118, 47, .25);
}

.horizon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border-top: 1.5px solid rgba(255, 232, 196, .9);
}

/* Motion (GSAP + ScrollTrigger + ScrollReveal).
   html.motion is set in <head> only when motion is allowed; it is removed
   again if the libraries fail to load, so content is never left hidden. */
html.motion [data-intro] {
  opacity: 0;
}

/* GSAP drives the marquees once it is running */
html.gsap-marquee .marquee-track {
  animation: none;
}

/* Draggable marquees: horizontal drag is ours, vertical swipes still scroll the page */
.marquee.is-draggable {
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.marquee.is-dragging {
  cursor: grabbing;
}

.marquee.is-draggable img {
  -webkit-user-drag: none;
}

/* Hero Ken Burns stops while the hero is off-screen */
#hero.is-offscreen .hero-img {
  animation-play-state: paused;
}

/* Mobile menu */
#mobileMenu {
  transition: opacity .4s ease, visibility .4s ease;
}

#mobileMenu.is-open {
  opacity: 1;
  visibility: visible;
}

/* phones in landscape: the menu links, book button and social icons must fit ~390px of height */
#mobileMenu {
  overflow-y: auto;
}

@media (max-height: 520px) {
  #mobileMenu nav {
    gap: 12px;
    font-size: 22px;
    padding: 8px 0;
  }

  #mobileMenu nav .btn-pill {
    margin-top: 4px;
  }

  #mobileMenu > div:last-child {
    padding-bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .marquee-track,
  .hero-slide.is-active .hero-img {
    animation: none;
  }
}

/* ----------------------------------------------------
   ABOUT PAGE
---------------------------------------------------- */
/* Small copper label above section titles */
.eyebrow {
  font-family: 'Darker Grotesque', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: lowercase;
  color: rgb(var(--c-copper));
}

@media (min-width: 768px) {
  .eyebrow {
    font-size: 18px;
  }
}

/* Current page in the desktop nav */
.nav-link.is-current {
  color: #fff;
}

.nav-link.is-current::after {
  transform: scaleX(1);
}

/* The life of a fire: bright flame (Ignition) cooling to grey ash (Sweet Ashes) */
.fire-line {
  background: linear-gradient(90deg, #ffe2b0 0%, rgb(var(--c-copper)) 30%, #7a4a2c 65%, #6b6b6b 100%);
  box-shadow: 0 0 10px rgba(181, 118, 47, .45);
}

.fire-ember {
  background: radial-gradient(circle, #fff4dc 0%, #ffc977 45%, rgb(var(--c-copper)) 100%);
  box-shadow: 0 0 12px 3px rgba(255, 190, 110, .7), 0 0 30px 8px rgba(181, 118, 47, .35);
}

/* Chef milestones: dim until the reader passes them */
.milestone-dot {
  background: rgb(var(--c-bg));
  border: 1px solid rgba(255, 255, 255, .3);
  transition: background-color .5s ease, border-color .5s ease, box-shadow .5s ease;
}

.milestone-place {
  color: rgba(255, 255, 255, .45);
  transition: color .5s ease;
}

.milestone.is-lit .milestone-dot {
  background: rgb(var(--c-copper));
  border-color: rgb(var(--c-copper));
  box-shadow: 0 0 12px 2px rgba(181, 118, 47, .6);
}

.milestone.is-lit .milestone-place {
  color: #fff;
}

/* Without motion (reduced motion / libraries unavailable) every milestone is shown lit */
html:not(.motion) .milestone .milestone-dot {
  background: rgb(var(--c-copper));
  border-color: rgb(var(--c-copper));
}

html:not(.motion) .milestone .milestone-place {
  color: #fff;
}

/* ----------------------------------------------------
   FOOTER — one type scale for every column
---------------------------------------------------- */
.footer-title {
  font-family: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  font-size: 20px;
  line-height: 26px;
  text-transform: lowercase;
  color: rgb(var(--c-cream));
}

.footer-list {
  margin-top: 16px;
  font-family: 'Darker Grotesque', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  color: #fff;
}

.footer-list > li + li {
  margin-top: 12px;
}

.footer-label {
  display: block;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: .06em;
  text-transform: lowercase;
  color: rgb(var(--c-muted));
}

.footer-link {
  transition: color .3s ease;
}

.footer-link:hover {
  color: rgb(var(--c-copper));
}

@media (min-width: 768px) {
  .footer-title {
    font-size: 24px;
    line-height: 32px;
    color: #fff;
  }

  .footer-list {
    margin-top: 18px;
  }
}

/* ----------------------------------------------------
   GLOBAL LOWERCASE DISPLAY & HEADER LOGO ALIGNMENT
---------------------------------------------------- */
.nav-link {
  text-transform: lowercase;
}

.header-logo-link {
  display: inline-flex;
  align-items: flex-end;
  transform: translateY(-1px);
}

/* ----------------------------------------------------
   SPLIT-SCREEN ENTRY GATE (Pure black backdrop, 2 inset framed cards — no harsh center line)
---------------------------------------------------- */
.entry-gate {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 20px;
  align-content: center;
  justify-items: center;
  background: #000;
  transition: opacity .85s cubic-bezier(.2, .7, .2, 1), visibility .85s ease;
}

@media (min-width: 768px) {
  .entry-gate {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 48px 56px;
    align-items: center;
  }
}

.entry-gate.is-dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.entry-side {
  position: relative;
  width: 100%;
  height: calc(44vh - 16px);
  max-height: 620px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 0;
  border-radius: 18px;
  padding: 2rem;
  background: #0a0908;
  text-align: center;
  transition: transform .65s cubic-bezier(.2, .7, .2, 1), opacity .55s ease;
}

@media (min-width: 768px) {
  .entry-side {
    height: 76vh;
    max-height: 680px;
    border-radius: 22px;
  }
}

.entry-side-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
  transform: scale(1.02);
  transition: transform 1.1s cubic-bezier(.2, .7, .2, 1), filter .7s ease;
}

.entry-side--rooftop .entry-side-bg {
  filter: brightness(0.28);
}

.entry-side--rooftop:hover .entry-side-bg,
.entry-side--rooftop:focus-visible .entry-side-bg {
  filter: brightness(0.48);
}

.entry-side-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .72) 100%);
  transition: opacity .65s ease;
}

.entry-side-content {
  position: relative;
  z-index: 2;
  transition: transform .65s cubic-bezier(.2, .7, .2, 1), opacity .5s ease;
}

.entry-gate:hover .entry-side:not(:hover) {
  opacity: 0.45;
}

.entry-gate:hover .entry-side:not(:hover) .entry-side-bg {
  filter: brightness(0.28);
}

.entry-side:hover .entry-side-bg,
.entry-side:focus-visible .entry-side-bg {
  filter: brightness(0.78);
  transform: scale(1.07);
}

.entry-side:hover .entry-side-scrim,
.entry-side:focus-visible .entry-side-scrim {
  opacity: 0.42;
}

.entry-side:hover .entry-side-content,
.entry-side:focus-visible .entry-side-content {
  transform: translateY(-4px);
}

.entry-side-cue {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: 'Darker Grotesque', system-ui, sans-serif;
  font-size: 15px;
  letter-spacing: .16em;
  text-transform: lowercase;
  color: rgba(236, 231, 224, .75);
  border-bottom: 1px solid rgba(181, 118, 47, 0);
  padding-bottom: 4px;
  transition: color .4s ease, border-color .4s ease;
}

.entry-side:hover .entry-side-cue {
  color: #fff;
  border-bottom-color: rgb(var(--c-copper));
}

/* r. bar overlay inside entry gate */
.rbar-overlay {
  position: fixed;
  inset: 0;
  z-index: 58;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .86);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility .45s ease;
}

.rbar-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* ----------------------------------------------------
   ABOUT PAGE — EDITORIAL EMPHASIS (3 levels)
---------------------------------------------------- */
.pull-quote {
  font-family: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  font-style: italic;
  color: rgb(var(--c-cream));
  line-height: 1.35;
}

.editorial-body strong {
  color: #fff;
  font-weight: 600;
}

.chef-stat {
  border-top: 1px solid rgba(255, 255, 255, .15);
  padding-top: 14px;
}

.sanglier-emblem {
  filter: drop-shadow(0 6px 24px rgba(181, 118, 47, .22));
}

/* ----------------------------------------------------
   EVENTS
---------------------------------------------------- */
.event-card {
  background-color: rgb(var(--c-surface));
}

/* ----------------------------------------------------
   MENU — EMBEDDED IN-PAGE PDF-STYLE BOOKLET VIEWER (2 SEPARATE MENUS)
---------------------------------------------------- */
.menu-switch-card {
  flex: 1 1 260px;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .02);
  transition: border-color .3s ease, background-color .3s ease;
}

.menu-switch-card:hover {
  border-color: rgba(181, 118, 47, .65);
}

.menu-switch-card.is-active {
  border-color: rgb(var(--c-copper));
  background: rgba(181, 118, 47, .12);
}

.menu-switch-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  line-height: 30px;
  color: #fff;
  text-transform: lowercase;
}

.menu-switch-card.is-active .menu-switch-title {
  color: rgb(var(--c-cream));
}

.menu-switch-sub {
  font-family: 'Darker Grotesque', system-ui, sans-serif;
  font-size: 15px;
  line-height: 20px;
  color: rgb(var(--c-muted));
  margin-top: 4px;
  text-transform: lowercase;
}

.pdf-viewer-shell {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  overflow: hidden;
  background: #141210;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .65);
}

.pdf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: #1a1714;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.pdf-toolbar-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pdf-tool-btn {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  transition: background-color .2s ease, opacity .2s ease;
}

.pdf-tool-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, .1);
}

.pdf-tool-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.pdf-tool-label {
  font-family: 'Darker Grotesque', system-ui, sans-serif;
  font-size: 15px;
  color: rgb(var(--c-text));
  min-width: 46px;
  text-align: center;
}

.pdf-tool-pill {
  font-family: 'Darker Grotesque', system-ui, sans-serif;
  font-size: 14px;
  text-transform: lowercase;
  color: rgb(var(--c-cream));
  border: 1px solid rgba(181, 118, 47, .55);
  border-radius: 9999px;
  padding: 3px 13px;
  transition: background-color .2s ease, color .2s ease;
}

.pdf-tool-pill:hover {
  background: rgb(var(--c-copper));
  color: #000;
}

.pdf-viewport {
  max-height: 80vh;
  overflow-y: auto;
  overflow-x: auto;
  padding: 20px 12px 28px;
  background: #110f0d;
  scrollbar-width: thin;
  scrollbar-color: #b5762f #110f0d;
}

@media (min-width: 768px) {
  .pdf-viewport {
    padding: 32px 28px 40px;
  }
}

.pdf-pages {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  --pdf-zoom: 1;
}

.pdf-pages.is-single .pdf-page {
  display: none;
}

.pdf-pages.is-single .pdf-page.is-current {
  display: flex;
}

/* Individual printed PDF paper sheet */
.pdf-page {
  position: relative;
  width: 100%;
  max-width: calc(740px * var(--pdf-zoom));
  min-height: 780px;
  background: #fdfbf7;
  color: #1f1d1b;
  padding: 40px 26px 48px;
  border-radius: 4px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: 'Darker Grotesque', system-ui, sans-serif;
}

@media (min-width: 640px) {
  .pdf-page {
    padding: 56px 56px 56px;
    min-height: 940px;
  }
}

.pdf-page--cover {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pdf-cover-inner {
  margin: auto 0;
}

.pdf-wordmark-dark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 58px;
  letter-spacing: 0.22em;
  color: #1f1d1b;
  line-height: 1;
}

.pdf-wordmark-dark span {
  color: #b5762f;
}

.pdf-cover-tagline {
  margin-top: 22px;
  font-size: 17px;
  line-height: 24px;
  color: #4a4540;
}

.pdf-cover-date {
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: lowercase;
  color: #57514b;
}

/* Subtle corner watermarks */
.pdf-wm {
  position: absolute;
  pointer-events: none;
  opacity: 0.14;
  z-index: 0;
}

.pdf-wm--right {
  width: 180px;
  right: -40px;
  bottom: 36px;
}

.pdf-wm--right-lg {
  width: 240px;
  right: 24px;
  bottom: 42px;
}

.pdf-wm--left {
  width: 180px;
  left: -48px;
  bottom: 36px;
}

.pdf-wm--solid {
  width: 92px;
  left: 44px;
  bottom: 44px;
  opacity: 0.78;
}

.pdf-body,
.pdf-tasting-wrap,
.pdf-page-footer {
  position: relative;
  z-index: 1;
}

.pdf-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: .04em;
  color: #1f1d1b;
  margin-bottom: 24px;
}

.pdf-intro {
  font-size: 16px;
  line-height: 23px;
  color: #4f4a45;
  margin: -12px 0 24px;
}

.pdf-group + .pdf-group {
  margin-top: 24px;
}

.pdf-group-heading {
  font-family: 'Darker Grotesque', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #8c5119;
  margin-bottom: 12px;
}

.pdf-item + .pdf-item {
  margin-top: 14px;
}

.pdf-item-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.pdf-item-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 25px;
  color: #1f1d1b;
}

.pdf-item-price {
  font-size: 18px;
  font-weight: 600;
  color: #3d3935;
  white-space: nowrap;
}

.pdf-item-sub {
  font-size: 17px !important;
  line-height: 23px !important;
  color: #4c4641;
  margin-top: 2px;
}

.pdf-item-sub--copper {
  color: #8c5119;
}

.pdf-item-meta {
  font-size: 15px !important;
  line-height: 20px !important;
  color: #57514b;
  margin-top: 3px;
}

.pdf-item-addon {
  display: flex;
  justify-content: space-between;
  font-size: 17px;
  color: #4c4641;
  margin-top: 3px;
}

/* Warm sand highlight callout band (Oysters, Cacasse À Cul Nu, John Stone) */
.pdf-highlight-band {
  background: #ead9c3;
  margin: 18px -26px;
  padding: 18px 26px;
}

@media (min-width: 640px) {
  .pdf-highlight-band {
    margin: 20px -56px;
    padding: 20px 56px;
  }
}

.pdf-oyster-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}

@media (min-width: 640px) {
  .pdf-oyster-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .pdf-oyster-col + .pdf-oyster-col {
    border-left: 1px solid rgba(31, 29, 27, .22);
    padding-left: 16px;
  }
}

.pdf-oyster-title {
  font-size: 16px;
  font-weight: 700;
  color: #1f1d1b;
}

.pdf-oyster-text {
  font-size: 15px;
  line-height: 20px;
  color: #4a443e;
  margin-top: 2px;
}

/* Spirits 2-column price table (gl. | blt.) */
.pdf-spirits-head,
.pdf-spirits-row {
  display: grid;
  grid-template-columns: 1fr 64px 76px;
  gap: 8px;
  align-items: baseline;
}

.pdf-spirits-head {
  font-size: 16px;
  font-weight: 700;
  color: #8c5119;
  text-align: right;
  margin-bottom: 6px;
}

.pdf-spirits-row {
  padding: 5px 0;
}

.pdf-spirits-row .pdf-item-price {
  text-align: right;
}

.pdf-group-note {
  margin-top: 16px;
  text-align: center;
  font-size: 14px !important;
  color: #57514b;
}

.pdf-sauces {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(31, 29, 27, .12);
}

.pdf-sauces-title {
  font-size: 16px;
  font-weight: 700;
  color: #1f1d1b;
  margin-bottom: 8px;
}

.pdf-sauces-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 20px;
  font-size: 15px;
  color: #4f4a45;
}

@media (min-width: 640px) {
  .pdf-sauces-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tasting menu page (Page 11) */
.pdf-page--tasting {
  text-align: center;
}

.pdf-tasting-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 34px;
  line-height: 1.18;
  color: #8c5119;
  letter-spacing: .05em;
}

.pdf-tasting-sub {
  font-size: 18px;
  font-weight: 600;
  color: #1f1d1b;
  margin-top: 10px;
}

.pdf-tasting-courses {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pdf-course-name {
  font-size: 18px;
  font-weight: 700;
  color: #1f1d1b;
}

.pdf-course-sub {
  font-size: 15px;
  line-height: 21px;
  color: #55504a;
  margin-top: 1px;
}

.pdf-pairing {
  font-size: 16px !important;
  font-weight: 600;
  color: #8c5119;
  margin: 4px auto;
  max-width: 520px;
}

.pdf-tasting-prices {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(140, 81, 25, .28);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pdf-price-primary {
  font-size: 19px !important;
  font-weight: 700;
  color: #8c5119;
}

.pdf-price-secondary {
  font-size: 17px !important;
  font-weight: 600;
  color: #8c5119;
}

.pdf-page-footer {
  margin-top: 32px;
  padding-top: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.pdf-footer-wordmark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  letter-spacing: 0.16em;
  color: #1f1d1b;
}

.pdf-footer-wordmark span {
  color: #b5762f;
}

.pdf-footnotes {
  text-align: right;
  font-size: 14px !important;
  line-height: 18px !important;
  color: #57514b;
}

.pdf-footnotes p {
  font-size: 14px !important;
  line-height: 18px !important;
  margin: 0;
}

.pdf-cover-logo {
  height: 46px;
  width: auto;
  margin: 0 auto;
  display: block;
}

.pdf-footer-logo {
  height: 20px;
  width: auto;
  display: block;
}

.pdf-page-num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 14px;
  font-weight: 600;
  color: #57514b;
}

/* ----------------------------------------------------
   MENU VIEWER ON PHONES & TABLETS (< 1024px)
   No scroll box inside the page (that trapped vertical swipes, so guests could not reach the
   footer): one page at a time, page height follows its content, turned by swipe or buttons.
---------------------------------------------------- */
.pdf-swipe-hint,
.pdf-bottom-nav {
  display: none;
}

@media (max-width: 1023px) {
  #menuScrollViewport {
    max-height: none;
    min-height: 0;
    overflow: visible;
    padding: 12px 10px 16px;
  }

  #menuPages {
    touch-action: pan-y pinch-zoom;
  }

  /* toolbar: only previous · page · next, with finger-sized buttons */
  .pdf-toolbar {
    justify-content: center;
    padding: 10px 12px;
  }

  .pdf-toolbar-group:last-child {
    display: none;
  }

  .pdf-toolbar-group {
    gap: 14px;
  }

  .pdf-tool-btn {
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    font-size: 24px;
  }

  .pdf-tool-label {
    min-width: 64px;
    font-size: 17px;
  }

  .pdf-swipe-hint {
    display: block;
    margin: 0 0 12px;
    text-align: center;
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-style: italic;
    font-size: 15px !important;
    line-height: 20px !important;
    color: rgb(var(--c-muted));
  }

  .pdf-bottom-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    background: #1a1714;
  }

  .pdf-bottom-btn {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 9999px;
    border: 1px solid rgba(181, 118, 47, .6);
    font-family: 'Darker Grotesque', system-ui, sans-serif;
    font-size: 17px;
    color: rgb(var(--c-cream));
    text-transform: lowercase;
    white-space: nowrap;
    transition: background-color .2s ease, opacity .2s ease;
  }

  .pdf-bottom-btn:active:not(:disabled) {
    background: rgba(181, 118, 47, .2);
  }

  .pdf-bottom-btn:disabled {
    opacity: .3;
  }

  .pdf-bottom-label {
    font-family: 'Darker Grotesque', system-ui, sans-serif;
    font-size: 16px;
    color: rgb(var(--c-muted));
    font-variant-numeric: tabular-nums;
  }

  /* a page sheet only as tall as its content (cover keeps some presence) */
  .pdf-page {
    min-height: 0;
  }

  .pdf-page--cover {
    min-height: 480px;
  }

  html.motion .pdf-pages.is-single .pdf-page.is-current {
    animation: pdf-page-in .35s ease both;
  }
}

@keyframes pdf-page-in {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: none; }
}

/* phones: menu type one size smaller, tighter page margins.
   #menuPages out-ranks the site-wide `main p:not(...)` body-copy rule, which otherwise
   forces every paragraph on the page sheet to 19px. */
@media (max-width: 767px) {
  .pdf-page {
    padding: 34px 20px 28px;
  }

  .pdf-highlight-band {
    margin: 16px -20px;
    padding: 16px 20px;
  }

  #menuPages .pdf-title { font-size: 28px; margin-bottom: 18px; }
  #menuPages .pdf-group-heading { font-size: 15px; margin-bottom: 10px; }
  #menuPages .pdf-item + .pdf-item { margin-top: 12px; }
  #menuPages .pdf-item-name { font-size: 17px; line-height: 22px; }
  #menuPages .pdf-item-price { font-size: 16px; }
  #menuPages .pdf-item-sub { font-size: 15px !important; line-height: 20px !important; }
  #menuPages .pdf-item-meta { font-size: 14px !important; line-height: 19px !important; }
  #menuPages .pdf-item-addon { font-size: 15px; }
  #menuPages .pdf-cover-tagline { font-size: 16px; line-height: 24px; }
  #menuPages .pdf-cover-date { font-size: 13px; line-height: 18px; }
  #menuPages .pdf-intro { font-size: 15px; line-height: 21px; }
  #menuPages .pdf-oyster-title { font-size: 15px; line-height: 20px; }
  #menuPages .pdf-oyster-text { font-size: 14px; line-height: 19px; }
  #menuPages .pdf-group-note { font-size: 13px; line-height: 18px; }
  #menuPages .pdf-sauces-title { font-size: 15px; line-height: 20px; }
  #menuPages .pdf-sauces-grid { font-size: 14px; }
  #menuPages .pdf-tasting-title { font-size: 28px; }
  #menuPages .pdf-tasting-sub { font-size: 16px; line-height: 22px; }
  #menuPages .pdf-course-name { font-size: 16px; line-height: 21px; }
  #menuPages .pdf-course-sub { font-size: 14px; line-height: 19px; }
  #menuPages .pdf-pairing { font-size: 14px; line-height: 19px; }
  #menuPages .pdf-price-primary { font-size: 17px; line-height: 24px; }
  #menuPages .pdf-price-secondary { font-size: 15px; line-height: 21px; }
  #menuPages .pdf-spirits-head,
  #menuPages .pdf-spirits-row { grid-template-columns: 1fr 52px 64px; }
  #menuPages .pdf-page-num { font-size: 12px; top: 12px; right: 14px; }

  .pdf-bottom-btn {
    padding: 0 14px;
    font-size: 16px;
  }
}

/* weight on its own line under the dish name (e.g. "- 250g"), never split across lines */
.pdf-item-weight {
  display: block;
  white-space: nowrap;
}

/* home hero: credits line under the subtitle ("concept by … · Executive Chef …").
   Each name stays whole; on phones the line breaks at the "·". */
.hero-credits {
  margin-top: 10px;
  font-style: italic;
  font-size: 16px;
  line-height: 22px;
  color: rgb(var(--c-cream) / .85);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}

.hero-credits span {
  display: inline-block;
}

@media (min-width: 768px) {
  .hero-credits {
    margin-top: 12px;
    font-size: 19px;
    line-height: 26px;
  }
}
