/* ==========================================================================
   Casablanca — Moroccan & Mediterranean Kitchen, Cardiff
   --------------------------------------------------------------------------
   Design notes
   - Ground is a warm oat paper, never white. Ink is soft charcoal, never black.
   - Section titles are SMALL, uppercase and widely tracked. Display type is
     used sparingly and set tight. This is what separates an editorial
     restaurant site from a template.
   - Buttons are hairline outlines. One solid button per page, maximum.
   - Corners are square. No shadows except where a card genuinely lifts.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Ground */
  --paper:    #f2ebdd;
  --paper-2:  #eae0cd;
  --paper-3:  #e2d5bd;

  /* Ink */
  --ink:      #2e3338;
  --ink-2:    #6a6a62;
  --ink-3:    #8d8b81;

  /* Brand — from the logo */
  --clay:     #b3552f;
  --clay-dk:  #8f4224;
  --gold:     #c1913f;
  --gold-lt:  #ddb877;
  --night:    #17272f;
  --night-2:  #1f333d;
  --ember:    #4e2417;

  /* Christmas — seasonal, see section 21 */
  --pine:     #1c3a2e;
  --pine-2:   #24493a;
  --pine-dk:  #132a20;

  /* Lines */
  --hair:      rgba(46, 51, 56, 0.16);
  --hair-soft: rgba(46, 51, 56, 0.09);
  --hair-lt:   rgba(242, 235, 221, 0.22);

  /* Type */
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --sans:    "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --gutter:  clamp(1.25rem, 4.5vw, 4.5rem);
  --maxw:    1440px;
  --measure: 62ch;
  --sy:      clamp(4.5rem, 8vw, 8.5rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --slow: 0.95s;

  /* Measured from the real top bar at runtime, so the header still clears it
     if the contact line wraps to two lines on a narrow screen. */
  --topbar-h: 38px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Offsets are per-target via scroll-margin-top. A scroll-padding here would
     be ADDED to those, landing every anchor a header's height too low. */
  scroll-padding-top: 0;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 0.969rem;
  font-weight: 300;
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }

img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; margin: 0; color: var(--ink); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--clay); color: var(--paper); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--night); color: var(--paper); padding: 0.9rem 1.4rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: 1080px; }

.section { padding-block: var(--sy); position: relative; }
.section--tight { padding-block: clamp(3rem, 5.5vw, 5.5rem); }
/* For split sections whose media column already carries plenty of height. */
.section--snug { padding-block: clamp(2.75rem, 4.5vw, 4.75rem); }
.section--paper2 { background: var(--paper-2); }
.section--night  { background: var(--night); color: rgba(242, 235, 221, 0.74); }
.section--ember  { background: var(--ember); color: rgba(242, 235, 221, 0.74); }
.section--night h1, .section--night h2, .section--night h3,
.section--ember h1, .section--ember h2, .section--ember h3 { color: var(--paper); }

.rule { height: 1px; background: var(--hair); border: 0; margin: 0; }

/* Anchor landing. The header is 68px + a 1px hairline once it sticks. */
.section[id], .locale[id], .hero[id] { scroll-margin-top: 76px; }
@media (max-width: 900px) { .section[id], .locale[id] { scroll-margin-top: 72px; } }

/* --------------------------------------------------------------------------
   4. Type system
   -------------------------------------------------------------------------- */

/* Small tracked label. The workhorse. */
.kicker {
  display: block;
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 1.4rem;
}
.section--night .kicker, .section--ember .kicker { color: var(--gold-lt); }

/* Section title — small, uppercase, widely tracked (the Dishoom move). */
.title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--ink);
}

/* Display statement — used sparingly, set tight. */
.statement {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.9rem, 4.2vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 18ch;
}
.statement em { font-style: italic; color: var(--clay); }
.section--night .statement em, .section--ember .statement em { color: var(--gold-lt); }
.statement--wide { max-width: 24ch; }

.lede {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--ink-2);
  max-width: var(--measure);
}
.section--night .lede, .section--ember .lede { color: rgba(242, 235, 221, 0.72); }

.note {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-3);
}

/* Editorial section head: statement left, supporting copy right. */
.head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: end;
  padding-bottom: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--hair);
}
.section--night .head, .section--ember .head { border-color: var(--hair-lt); }
.head--plain { border-bottom: 0; padding-bottom: 0; }
.head__aside { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }

/* Moroccan star motif */
.motif { display: block; width: 34px; height: 34px; color: var(--gold); opacity: 0.9; }
.motif--center { margin-inline: auto; }

/* --------------------------------------------------------------------------
   4b. Zellige pattern work
   --------------------------------------------------------------------------
   Tiled eight-point khatim stars and a mashrabiya lattice, as inline SVG data
   URIs. Applied through a ::before at z-index -1, so the pattern sits above a
   section's background colour but below its content.
   -------------------------------------------------------------------------- */
.pattern { position: relative; isolation: isolate; }
.pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23d9a552' stroke-width='1'%3E%3Cpath d='M66 40L58.4 47.6L58.4 58.4L47.6 58.4L40 66L32.4 58.4L21.6 58.4L21.6 47.6L14 40L21.6 32.4L21.6 21.6L32.4 21.6L40 14L47.6 21.6L58.4 21.6L58.4 32.4Z'/%3E%3Ccircle cx='40' cy='40' r='6.5'/%3E%3Cpath d='M0 -8L8 0L0 8L-8 0Z'/%3E%3Cpath d='M80 -8L88 0L80 8L72 0Z'/%3E%3Cpath d='M0 72L8 80L0 88L-8 80Z'/%3E%3Cpath d='M80 72L88 80L80 88L72 80Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
  opacity: 0.09;
}
/* On the pale ground the gold needs to be much quieter. */
.section--paper2.pattern::before,
.section.pattern:not(.section--night):not(.section--ember)::before { opacity: 0.055; }

/* Lattice, for panels behind imagery */
.lattice {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cg fill='none' stroke='%23b3552f' stroke-width='1'%3E%3Cpath d='M22 0L44 22L22 44L0 22Z'/%3E%3Cpath d='M0 0L44 44M44 0L0 44'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 44px 44px;
}

/* Ornamental rule: hairline with a centred star */
.orn {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--gold);
}
.orn::before, .orn::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
}
.orn svg { width: 22px; height: 22px; flex-shrink: 0; }

/* Horseshoe-arch top, used on cards and panels */
.arch { border-radius: 50% 50% 4px 4px / 26% 26% 4px 4px; }

/* --------------------------------------------------------------------------
   5. Buttons — hairline by default
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.05rem 2.4rem;
  font-family: var(--sans);
  font-size: 0.688rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--hair);
  background: transparent;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: translateY(100%);
  transition: transform 0.55s var(--ease);
}
.btn:hover { color: var(--paper); border-color: var(--ink); }
.btn:hover::after { transform: translateY(0); }

.btn--solid { background: var(--clay); border-color: var(--clay); color: var(--paper); }
.btn--solid::after { background: var(--clay-dk); }
.btn--solid:hover { border-color: var(--clay-dk); color: var(--paper); }

.btn--light { color: var(--paper); border-color: rgba(242, 235, 221, 0.34); }
.btn--light::after { background: var(--paper); }
.btn--light:hover { color: var(--night); border-color: var(--paper); }

.btn--sm { padding: 0.8rem 1.65rem; font-size: 0.625rem; letter-spacing: 0.2em; }

/* Understated text link with a rule */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.688rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--hair);
  transition: gap 0.45s var(--ease), border-color 0.45s var(--ease), color 0.35s;
}
.tlink:hover { gap: 1.15rem; border-color: var(--clay); color: var(--clay); }
.tlink svg { width: 13px; height: 13px; }
.section--night .tlink, .section--ember .tlink { color: var(--paper); border-color: var(--hair-lt); }
.section--night .tlink:hover, .section--ember .tlink:hover { color: var(--gold-lt); border-color: var(--gold-lt); }

.btn-row { display: flex; gap: 0.85rem; flex-wrap: wrap; align-items: center; }

/* --------------------------------------------------------------------------
   6. Top bar + header
   -------------------------------------------------------------------------- */
.topbar {
  position: relative;
  /* Below the header: the header sits under it while unstuck and slides over
     it once stuck. If the top bar wins this, it covers the logo and buttons. */
  z-index: 40;
  background: var(--night);
  color: rgba(242, 235, 221, 0.66);
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; min-height: 38px; flex-wrap: wrap; text-align: center;
  padding-block: 0.35rem;
}
.topbar a { transition: color 0.3s; }
.topbar a:hover { color: var(--gold-lt); }
.topbar__sep { color: rgba(193, 145, 63, 0.6); letter-spacing: 0; }

.site-header {
  position: fixed;
  top: var(--topbar-h); left: 0; right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.55s var(--ease), border-color 0.55s var(--ease), top 0.4s var(--ease);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; min-height: 82px;
}

/* Over-hero state */
.site-header .nav__link,
.site-header .site-header__phone { color: rgba(255, 255, 255, 0.9); }
.site-header .burger span { background: #fff; }
.site-header .brand__name { color: #fff; }
.site-header .btn { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.site-header .btn::after { background: #fff; }
.site-header .btn:hover { color: var(--night); border-color: #fff; }

/* Solid state */
.site-header.is-stuck {
  top: 0;
  background: rgba(242, 235, 221, 0.97);
  backdrop-filter: blur(12px);
  border-color: var(--hair-soft);
}
.site-header.is-stuck .site-header__inner { min-height: 68px; }
.site-header.is-stuck .nav__link,
.site-header.is-stuck .site-header__phone,
.site-header.is-stuck .brand__name { color: var(--ink); }
.site-header.is-stuck .burger span { background: var(--ink); }
.site-header.is-stuck .brand__mark { height: 40px; }
.site-header.is-stuck .btn { color: var(--ink); border-color: var(--hair); }
.site-header.is-stuck .btn::after { background: var(--ink); }
.site-header.is-stuck .btn:hover { color: var(--paper); border-color: var(--ink); }

.brand { display: inline-flex; align-items: center; gap: 0.8rem; flex-shrink: 0; }
.brand__mark { height: 48px; width: auto; transition: height 0.5s var(--ease); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  transition: color 0.5s var(--ease);
}
.brand__sub {
  font-size: 0.5rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 7px;
}

.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2.1rem); }
.nav__link {
  position: relative;
  font-size: 0.688rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-block: 0.4rem;
  transition: color 0.35s var(--ease), opacity 0.35s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.5s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }

.site-header__actions { display: flex; align-items: center; gap: 1.15rem; }
.site-header__phone {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.688rem; letter-spacing: 0.16em;
  transition: color 0.35s;
}
.site-header__phone:hover { color: var(--gold-lt); }
.site-header__phone svg { width: 14px; height: 14px; }

.burger {
  display: none; width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px;
}
.burger span {
  display: block; height: 1.5px; background: var(--ink);
  transition: transform 0.45s var(--ease), opacity 0.3s, width 0.45s var(--ease);
}
.burger span:nth-child(1) { width: 24px; }
.burger span:nth-child(2) { width: 16px; }
.burger span:nth-child(3) { width: 24px; }
.burger.is-open span { background: var(--paper) !important; }
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { width: 24px; transform: translateY(-7.5px) rotate(-45deg); }

/* Drawer */
.drawer {
  position: fixed; inset: 0; z-index: 45;
  background: var(--night); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem var(--gutter) 3rem;
  clip-path: circle(0% at 100% 0);
  transition: clip-path 0.8s var(--ease);
  pointer-events: none;
}
.drawer.is-open { clip-path: circle(150% at 100% 0); pointer-events: auto; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__link {
  font-family: var(--display);
  font-size: clamp(1.6rem, 6.5vw, 2.4rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-block: 0.42rem;
  border-bottom: 1px solid var(--hair-lt);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
}
.drawer.is-open .drawer__link { opacity: 1; transform: none; }
.drawer__link:hover { color: var(--gold-lt); }
.drawer__foot {
  margin-top: 2.5rem;
  display: flex; flex-direction: column; gap: 0.7rem;
  font-size: 0.75rem; letter-spacing: 0.14em;
  color: rgba(242, 235, 221, 0.62);
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; place-items: center;
  overflow: hidden;
  background: var(--night);
  isolation: isolate;
  /* Reserve the header's strip so the centred content is centred in what's
     left, not behind it. On a short, wide viewport the title would otherwise
     ride up under the nav. */
  padding-top: calc(var(--topbar-h) + 84px);
  padding-bottom: 4.5rem;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 2.4s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero__slide.is-active img { animation: kenburns 13s linear forwards; }
@keyframes kenburns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(0, -1.2%, 0); }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 18, 22, 0.66) 0%, rgba(10, 18, 22, 0.24) 38%, rgba(10, 18, 22, 0.8) 100%),
    radial-gradient(ellipse at 50% 52%, rgba(0,0,0,0) 28%, rgba(8, 15, 19, 0.6) 100%);
}

.hero__inner {
  position: relative; z-index: 2;
  width: 100%;
  text-align: center; color: #fff;
  padding: clamp(1rem, 4vh, 3rem) var(--gutter);
  max-width: 940px;
}
.hero__mark { width: 62px; height: auto; margin: 0 auto 2rem; opacity: 0.95; }
.hero__kicker {
  font-size: 0.625rem;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 1.6rem;
}
.hero__title {
  font-family: var(--display);
  /* "CASABLANCA" is ten wide-tracked characters and cannot wrap, so the
     lower bound has to stay small enough to fit a 320px screen. */
  font-size: clamp(1.85rem, 8.2vw, 6.6rem);
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  color: #fff;
  margin: 0 0 1.6rem;
  text-indent: 0.16em;
}
.hero__hr {
  width: 54px; height: 1px; margin: 0 auto 1.6rem;
  background: rgba(255, 255, 255, 0.45);
}
.hero__tagline {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 30ch;
  margin: 0 auto 2.9rem;
  line-height: 1.45;
}
.hero__cta { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

.hero__mark, .hero__kicker, .hero__title, .hero__hr, .hero__tagline, .hero__cta {
  opacity: 0; transform: translateY(24px);
  animation: heroIn 1.25s var(--ease) forwards;
}
.hero__kicker  { animation-delay: 0.1s; }
.hero__title   { animation-delay: 0.2s; }
.hero__hr      { animation-delay: 0.32s; }
.hero__tagline { animation-delay: 0.4s; }
.hero__cta     { animation-delay: 0.5s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero__foot {
  position: absolute; left: 0; right: 0; bottom: clamp(1.4rem, 3.5vh, 2.4rem);
  z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-inline: var(--gutter);
}
.hero__dots { display: flex; gap: 0.55rem; }
.hero__dot {
  width: 30px; height: 2px;
  background: rgba(255, 255, 255, 0.3);
  transition: background 0.5s var(--ease);
}
.hero__dot.is-active { background: var(--gold-lt); }
.hero__scroll {
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-size: 0.563rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.hero__scroll i {
  display: block; width: 1px; height: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.35); transform-origin: top; opacity: 0.35; }
  50%      { transform: scaleY(1);    transform-origin: top; opacity: 1; }
}

/* Interior page hero */
.pagehero {
  position: relative; min-height: 62vh;
  display: grid; place-items: center; text-align: center;
  color: #fff; overflow: hidden; background: var(--night);
}
.pagehero > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; animation: kenburns 26s linear infinite alternate;
}
.pagehero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,18,22,0.74), rgba(10,18,22,0.6));
}
.pagehero__inner { position: relative; z-index: 2; width: 100%; padding: 10rem var(--gutter) 5rem; }
.pagehero__title {
  font-family: var(--display);
  font-size: clamp(1.7rem, 5.6vw, 3.9rem);
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  text-indent: 0.16em;
}
.pagehero .kicker { color: var(--gold-lt); }

/* --------------------------------------------------------------------------
   8. Story / split
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: center;
}
.split__body { max-width: 54ch; }

.frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-3); }
.frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 1.5s var(--ease); }
.frame:hover img { transform: scale(1); }
.frame--wide { aspect-ratio: 3 / 2; }
.frame--sq { aspect-ratio: 1 / 1; }

/* --------------------------------------------------------------------------
   Media stack — a composed pair of images over a zellige panel.
   Deliberately does NOT use a clip-path reveal: this column carries the
   section's whole visual weight, so it must never be able to end up blank.
   -------------------------------------------------------------------------- */
.media-stack {
  position: relative;
  padding: 1.75rem 1.75rem 2.5rem 0;
}
.media-stack__panel {
  position: absolute;
  top: 0; right: 0;
  width: 68%;
  height: 62%;
  border: 1px solid rgba(179, 85, 47, 0.32);
  opacity: 0.5;
}
.media-stack__panel::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(179, 85, 47, 0.22);
}
.section--ember .media-stack__panel,
.section--night .media-stack__panel {
  border-color: rgba(217, 165, 82, 0.4);
  opacity: 0.42;
}
.media-stack .frame { position: relative; z-index: 1; }
.media-stack__sub {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 46%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 9px solid var(--paper);
  background: var(--paper-3);
}
.section--paper2 .media-stack__sub { border-color: var(--paper-2); }
.section--ember  .media-stack__sub { border-color: var(--ember); }
.section--night  .media-stack__sub { border-color: var(--night); }
.media-stack__sub img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.media-stack:hover .media-stack__sub img { transform: scale(1.06); }

/* Caption tag on the stack */
.media-stack__tag {
  position: absolute;
  left: 0; bottom: 0.75rem;
  z-index: 3;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.563rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--clay);
}
.section--ember .media-stack__tag, .section--night .media-stack__tag { color: var(--gold-lt); }

.facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.75rem; padding-top: 2.25rem;
  border-top: 1px solid var(--hair);
}
.fact b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 400;
  color: var(--clay);
  line-height: 1;
}
.fact span {
  display: block; margin-top: 0.6rem;
  font-size: 0.625rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
}

/* Pull quote */
.pullquote { text-align: center; max-width: 46ch; margin-inline: auto; }
.pullquote blockquote {
  margin: 0 0 1.5rem;
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.35rem, 2.9vw, 2.1rem);
  line-height: 1.35;
  color: var(--paper);
}
.pullquote cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.625rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-lt);
}

/* --------------------------------------------------------------------------
   9. Rails
   -------------------------------------------------------------------------- */
.rail-nav { display: flex; gap: 0.5rem; flex-shrink: 0; }
.rail-btn {
  width: 46px; height: 46px;
  border: 1px solid var(--hair);
  display: grid; place-items: center;
  color: var(--ink);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), opacity 0.3s;
}
.rail-btn svg { width: 15px; height: 15px; }
.rail-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.rail-btn[disabled] { opacity: 0.25; pointer-events: none; }
.section--night .rail-btn, .section--ember .rail-btn { border-color: var(--hair-lt); color: var(--paper); }
.section--night .rail-btn:hover, .section--ember .rail-btn:hover { background: var(--paper); border-color: var(--paper); color: var(--night); }

.rail {
  display: flex;
  gap: clamp(0.85rem, 1.4vw, 1.35rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* Horizontal overflow also clips vertically, so leave headroom for cards
     that lift on hover — otherwise their top edge is shaved off. */
  padding-block: 0.9rem 0.6rem;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   10. Experience cards
   -------------------------------------------------------------------------- */
.xp { width: clamp(255px, 25vw, 330px); display: block; }
.xp__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper-3); }
.xp__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.xp:hover .xp__media img { transform: scale(1.06); }
.xp__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(10,18,22,0.62) 100%);
}
.xp__overlay {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 1.4rem;
  color: #fff;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.xp__body { padding-top: 1.1rem; border-top: 1px solid var(--hair); margin-top: 1.1rem; }
.section--night .xp__body, .section--ember .xp__body { border-color: var(--hair-lt); }
.xp__desc {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}
.section--night .xp__desc, .section--ember .xp__desc { color: rgba(242,235,221,0.7); }
.xp__more {
  display: inline-block; margin-top: 0.85rem;
  font-family: var(--sans); font-size: 0.563rem;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--clay);
  opacity: 0; transform: translateY(-3px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.xp:hover .xp__more { opacity: 1; transform: none; }
.section--night .xp__more, .section--ember .xp__more { color: var(--gold-lt); }

/* --------------------------------------------------------------------------
   11. Menu cards
   -------------------------------------------------------------------------- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(0.85rem, 1.6vw, 1.4rem);
}
.menu-card {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--night); color: #fff;
}
.menu-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scale(1.03);
  transition: transform 1.4s var(--ease);
}
.menu-card:hover img { transform: scale(1.11); }
.menu-card__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,18,22,0.1) 0%, rgba(10,18,22,0.82) 100%);
  transition: background 0.6s var(--ease);
}
.menu-card:hover .menu-card__scrim { background: linear-gradient(180deg, rgba(10,18,22,0.32) 0%, rgba(10,18,22,0.9) 100%); }
.menu-card__body { position: absolute; inset: auto 0 0 0; padding: clamp(1.4rem, 2.2vw, 2rem); z-index: 2; }
.menu-card__kicker {
  font-size: 0.563rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-lt); margin-bottom: 0.7rem;
}
.menu-card__title {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.65rem;
}
.menu-card__desc {
  font-size: 0.813rem; line-height: 1.6;
  color: rgba(255,255,255,0.74);
  max-width: 30ch; margin-bottom: 1rem;
}
.menu-card__cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.563rem; letter-spacing: 0.26em; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.35); padding-bottom: 5px;
  transition: gap 0.4s var(--ease);
}
.menu-card:hover .menu-card__cta { gap: 1rem; }
.menu-card__cta svg { width: 12px; height: 12px; }

/* --------------------------------------------------------------------------
   12. Gallery + lightbox
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(130px, 14vw, 210px);
  gap: clamp(0.5rem, 0.8vw, 0.85rem);
}
.gallery__item {
  position: relative; overflow: hidden; background: var(--paper-3);
  cursor: zoom-in; padding: 0; display: block; width: 100%;
}
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.3s var(--ease), filter 0.6s var(--ease);
}
.gallery__item:hover img { transform: scale(1.07); filter: brightness(0.78); }
.gallery__item::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 26px; height: 26px; margin: -13px 0 0 -13px;
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  opacity: 0; transform: scale(0.7);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}
.gallery__item:hover::after { opacity: 1; transform: scale(1); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

.lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(10, 18, 22, 0.95);
  display: grid; place-items: center;
  padding: clamp(1rem, 5vw, 4rem);
  opacity: 0; visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(1100px, 92vw); max-height: 84vh; object-fit: contain;
  transform: scale(0.97); transition: transform 0.5s var(--ease);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute; color: #fff;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.25);
  transition: background 0.3s;
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,0.12); }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__prev { left: clamp(0.6rem, 3vw, 2.5rem); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(0.6rem, 3vw, 2.5rem); top: 50%; transform: translateY(-50%); }
.lightbox svg { width: 17px; height: 17px; }

/* --------------------------------------------------------------------------
   13. Reviews
   -------------------------------------------------------------------------- */
.reviews__summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--hair-lt);
  margin-bottom: 0.5rem;
}
.reviews__score { display: flex; align-items: baseline; gap: 0.9rem; flex-wrap: wrap; }
.reviews__word {
  font-family: var(--display); font-size: 1.35rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper);
}
.reviews__num { font-size: 1rem; letter-spacing: 0.08em; color: var(--paper); }
.reviews__count { font-size: 0.688rem; letter-spacing: 0.14em; color: rgba(242,235,221,0.55); }
.stars { display: inline-flex; gap: 2px; color: var(--gold-lt); align-self: center; }
.stars svg { width: 15px; height: 15px; }
.stars--sm svg { width: 12px; height: 12px; }

.tabs { display: flex; gap: 0.25rem; flex-wrap: wrap; border-bottom: 1px solid var(--hair-lt); margin-bottom: 2rem; }
.tab {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(242,235,221,0.55);
  transition: color 0.35s var(--ease);
}
.tab::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 0; height: 1px; background: var(--gold-lt);
  transition: width 0.45s var(--ease);
}
.tab[aria-selected="true"] { color: var(--paper); }
.tab[aria-selected="true"]::after { width: 100%; }
.tab svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Arch-topped review card — a mihrab niche holding the reviewer */
.review {
  position: relative;
  width: clamp(268px, 26vw, 330px);
  background: linear-gradient(180deg, rgba(242,235,221,0.075) 0%, rgba(242,235,221,0.035) 100%);
  border: 1px solid rgba(217,165,82,0.28);
  border-radius: 50% 50% 3px 3px / 22% 22% 3px 3px;
  padding: 3.25rem 1.6rem 1.75rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  min-height: 330px;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.review:hover {
  border-color: rgba(217,165,82,0.6);
  transform: translateY(-4px);
}
/* Inner hairline echoing the arch */
.review::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(217,165,82,0.16);
  border-radius: 50% 50% 2px 2px / 22% 22% 2px 2px;
  pointer-events: none;
}

.review__avatar {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-size: 1.35rem;
  color: var(--paper);
  background: var(--clay);
  box-shadow: 0 0 0 1px rgba(217,165,82,0.55), 0 0 0 6px rgba(217,165,82,0.1);
  flex-shrink: 0;
  overflow: hidden;
}
.review__avatar img { width: 100%; height: 100%; object-fit: cover; }
/* Anonymous reviews wear the platform mark instead of a monogram. */
.review--anon .review__avatar { background: var(--paper); }
.review__avatar-mark { display: grid; place-items: center; width: 26px; height: 26px; }
.review__avatar-mark svg { width: 100%; height: 100%; }
.review--anon .review__name { font-size: 0.9rem; letter-spacing: 0.2em; color: rgba(242,235,221,0.8); }

.review__name {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
}
.review__meta {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.625rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(242,235,221,0.5);
}
.review__meta svg { width: 13px; height: 13px; }

.review__text {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(242,235,221,0.86);
  margin: 0;
}
.review__text.is-clamped {
  display: -webkit-box; -webkit-line-clamp: 5; line-clamp: 5;
  -webkit-box-orient: vertical; overflow: hidden;
}

.review__photos { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; }
.review__photos button {
  width: 46px; height: 46px;
  overflow: hidden;
  border: 1px solid rgba(217,165,82,0.3);
  padding: 0;
  cursor: zoom-in;
}
.review__photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.review__photos button:hover img { transform: scale(1.12); }

.review__more {
  margin-top: auto;
  font-size: 0.563rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-lt);
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}

/* Empty-platform notice */
.reviews__empty {
  width: 100%;
  padding: 2.5rem 1.5rem;
  text-align: center;
  border: 1px dashed rgba(217,165,82,0.35);
  color: rgba(242,235,221,0.6);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   14. TikTok cards
   -------------------------------------------------------------------------- */
.tik { width: clamp(216px, 20vw, 276px); }
.tik__media {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden;
  background: var(--night);
  cursor: pointer;
}
.tik__media video,
.tik__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: filter 0.5s var(--ease);
}
.tik__media video { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s var(--ease); }
.tik.is-playing .tik__media video { opacity: 1; }
.tik.is-playing .tik__media img { opacity: 0; }
.tik__media img { filter: brightness(0.92); transition: opacity 0.4s var(--ease), filter 0.5s var(--ease), transform 1.3s var(--ease); }
.tik:hover .tik__media img { filter: brightness(0.74); transform: scale(1.04); }

.tik__play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.75);
  background: rgba(10,18,22,0.32);
  backdrop-filter: blur(3px);
  display: grid; place-items: center; color: #fff; z-index: 3;
  transition: transform 0.5s var(--ease), background 0.4s, opacity 0.35s;
}
.tik__play svg { width: 15px; height: 15px; margin-left: 3px; }
.tik:hover .tik__play { transform: translate(-50%, -50%) scale(1); background: rgba(179,85,47,0.9); }
.tik.is-playing .tik__play { opacity: 0; pointer-events: none; }
.tik.is-playing:hover .tik__play { opacity: 1; pointer-events: auto; }
.tik.is-playing .tik__play svg { margin-left: 0; }

/* Loading shimmer while the file buffers */
.tik__spin {
  position: absolute; top: 50%; left: 50%;
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1px solid rgba(255,255,255,0.25);
  border-top-color: var(--gold-lt);
  border-radius: 50%;
  z-index: 4;
  display: none;
  animation: spin 0.9s linear infinite;
}
.tik.is-loading .tik__spin { display: block; }
.tik.is-loading .tik__play { opacity: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

.tik__badge {
  position: absolute; top: 0.8rem; left: 0.8rem; z-index: 5;
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.32rem 0.62rem;
  background: rgba(10,18,22,0.55);
  backdrop-filter: blur(6px);
  color: #fff; font-size: 0.563rem; letter-spacing: 0.18em; text-transform: uppercase;
  transition: background 0.35s;
}
.tik__badge:hover { background: rgba(179,85,47,0.95); }
.tik__badge svg { width: 11px; height: 11px; }

.tik__sound {
  position: absolute; top: 0.8rem; right: 0.8rem; z-index: 5;
  width: 30px; height: 30px;
  display: none; place-items: center;
  background: rgba(10,18,22,0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  transition: background 0.35s;
}
.tik__sound svg { width: 14px; height: 14px; }
.tik__sound:hover { background: rgba(179,85,47,0.95); }
.tik.is-playing .tik__sound { display: grid; }

.tik__body { padding-top: 0.95rem; }
.tik__handle {
  display: block;
  font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 0.4rem;
}
.section--night .tik__handle, .section--ember .tik__handle { color: var(--gold-lt); }
.tik__caption {
  font-family: var(--display); font-style: italic;
  font-size: 0.975rem; line-height: 1.5;
  color: var(--ink-2); margin: 0;
}
.section--night .tik__caption, .section--ember .tik__caption { color: rgba(242,235,221,0.72); }

/* --------------------------------------------------------------------------
   15. Reservations panel
   -------------------------------------------------------------------------- */
.reserve { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.reserve__phone {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.9rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--paper);
  margin-bottom: 1.75rem;
  transition: color 0.35s;
}
.reserve__phone:hover { color: var(--gold-lt); }

.hours { border-top: 1px solid var(--hair-lt); }
.hours__row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--hair-lt);
  font-size: 0.813rem;
}
.hours__row span:first-child { letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.688rem; }
.hours__row span:last-child { color: var(--gold-lt); letter-spacing: 0.04em; }
.hours__row.is-closed span:last-child { color: rgba(242,235,221,0.4); }
.hours__row.is-today { color: var(--paper); }
.hours__row.is-today span:first-child::before { content: "› "; color: var(--gold-lt); }

/* --------------------------------------------------------------------------
   16. Map
   -------------------------------------------------------------------------- */
.locale { position: relative; background: var(--night); }
.locale__map {
  position: absolute; inset: 0;
  z-index: 0;
  background: var(--night-2);
}
.locale__map .leaflet-container { width: 100%; height: 100%; background: var(--night-2); }
.locale__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.86) sepia(0.2); }

/* Fade the map into the section edges so the card sits comfortably */
.locale__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(23,39,47,0.96) 0%, rgba(23,39,47,0.75) 38%, rgba(23,39,47,0.1) 62%, rgba(23,39,47,0) 100%);
}
.locale__inner {
  position: relative; z-index: 2;
  padding-block: clamp(4rem, 7vw, 7rem);
  pointer-events: none;
}
.locale__card {
  pointer-events: auto;
  max-width: 460px;
  background: rgba(14, 24, 30, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid var(--hair-lt);
  padding: clamp(1.75rem, 3vw, 2.6rem);
}
.locale__card .statement { color: var(--paper); max-width: none; }

.contact-list { display: grid; gap: 1.35rem; margin: 1.9rem 0; }
.contact-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-item > span[data-icon] { color: var(--gold-lt); flex-shrink: 0; margin-top: 3px; }
.contact-item svg { width: 17px; height: 17px; }
.contact-item h4 {
  font-family: var(--sans); font-size: 0.563rem;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(242,235,221,0.5);
  margin: 0 0 0.3rem; font-weight: 400;
}
.contact-item p { font-size: 0.938rem; line-height: 1.55; color: var(--paper); margin: 0; }
.contact-item a:hover { color: var(--gold-lt); }

/* Custom map pin */
.pin { position: relative; width: 44px; height: 44px; }
.pin__dot {
  position: absolute; inset: 0; margin: auto;
  width: 16px; height: 16px;
  background: var(--clay);
  border: 2px solid var(--paper);
  border-radius: 50%;
  z-index: 2;
}
.pin__ring {
  position: absolute; inset: 0;
  border: 1px solid rgba(193, 145, 63, 0.85);
  border-radius: 50%;
  animation: pinPulse 2.6s ease-out infinite;
}
@keyframes pinPulse {
  0%   { transform: scale(0.35); opacity: 1; }
  100% { transform: scale(1);    opacity: 0; }
}
.leaflet-control-attribution {
  background: rgba(14,24,30,0.7) !important;
  color: rgba(242,235,221,0.45) !important;
  font-size: 9px !important;
}
.leaflet-control-attribution a { color: rgba(242,235,221,0.65) !important; }

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--night);
  color: rgba(242,235,221,0.66);
  padding-block: clamp(3.5rem, 6vw, 5.5rem) 1.75rem;
  font-size: 0.875rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.15fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--hair-lt);
}
.footer-brand__mark { height: 54px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 32ch; line-height: 1.7; font-size: 0.875rem; }
.footer-col h5 {
  font-family: var(--sans); font-size: 0.563rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1.3rem; font-weight: 400;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; font-size: 0.875rem; }
.footer-col a { transition: color 0.3s; }
.footer-col a:hover { color: var(--gold-lt); }
.footer-col .hours__row { font-size: 0.75rem; padding: 0.5rem 0; }
.footer-col .hours__row span:first-child { font-size: 0.625rem; }

.socials { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.social-btn {
  width: 40px; height: 40px;
  border: 1px solid var(--hair-lt);
  display: grid; place-items: center;
  color: rgba(242,235,221,0.8);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.social-btn:hover { background: var(--clay); border-color: var(--clay); color: #fff; }
.social-btn svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  padding-top: 1.6rem;
  font-size: 0.688rem; letter-spacing: 0.1em;
  color: rgba(242,235,221,0.42);
}
.footer-bottom a:hover { color: var(--gold-lt); }

/* --------------------------------------------------------------------------
   18. Menu page
   -------------------------------------------------------------------------- */
.menu-nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(242, 235, 221, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair-soft);
  transition: top 0.4s var(--ease);
}
.menu-nav.is-below-header { top: 69px; }
.menu-nav__inner { display: flex; gap: 0.2rem; overflow-x: auto; scrollbar-width: none; padding-block: 0.75rem; }
.menu-nav__inner::-webkit-scrollbar { display: none; }
.menu-nav a {
  flex-shrink: 0; padding: 0.5rem 0.95rem;
  font-size: 0.625rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid transparent;
  transition: color 0.35s, border-color 0.35s;
}
.menu-nav a:hover { color: var(--ink); }
.menu-nav a.is-active { color: var(--clay); border-color: rgba(179,85,47,0.4); }

/* Each course is its own full-bleed band with an inner .shell, so a
   highlighted course's ground runs edge to edge while its text stays on the
   same measure as everything else. */
.course {
  position: relative;
  padding-block: clamp(2.75rem, 4.5vw, 4.25rem);
  border-bottom: 1px solid var(--hair-soft);
}
.course:last-of-type { border-bottom: 0; }
.course--highlight { background: var(--paper-2); border-bottom-color: transparent; }
.course--highlight + .course { border-top: 0; }

.course__head { text-align: center; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }

/* Zellige rosette above every course title */
.course__head::before {
  content: "";
  display: block;
  width: 24px; height: 24px;
  margin: 0 auto 1.1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23c1913f' stroke-width='5'%3E%3Cpath d='M50 6l11 22 24 4-17 17 4 24-22-11-22 11 4-24-17-17 24-4z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.85;
}

.course__title {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
}
/* Hairline flanking the title */
.course__title::after {
  content: "";
  display: block;
  width: 44px; height: 1px;
  margin: 1rem auto 0;
  background: var(--gold);
  opacity: 0.5;
}
.course__note {
  font-family: var(--display); font-style: italic;
  font-size: clamp(0.975rem, 1.4vw, 1.1rem);
  color: var(--ink-3);
  margin-top: 0.85rem; max-width: 60ch; margin-inline: auto;
}
/* The two courses that open a whole menu get a larger marker */
.course--opener .course__head::before { width: 38px; height: 38px; margin-bottom: 1.35rem; }
.course--opener .kicker { display: block; margin-bottom: 0.85rem; }

.dishes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: clamp(1.4rem, 2.6vw, 2.35rem) clamp(2rem, 4vw, 3.5rem);
}
.dish__row { display: flex; align-items: baseline; gap: 0.7rem; margin-bottom: 0.3rem; }
.dish__name {
  font-family: var(--display);
  font-size: 1.075rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.dish__dots { flex: 1; min-width: 12px; border-bottom: 1px dotted rgba(46,51,56,0.3); transform: translateY(-4px); }
.dish__price { font-family: var(--display); font-size: 1.05rem; color: var(--clay); flex-shrink: 0; white-space: nowrap; }
.dish__desc { font-size: 0.844rem; line-height: 1.62; color: var(--ink-2); margin: 0; }
.dish__extra { display: block; margin-top: 0.4rem; font-size: 0.781rem; color: var(--clay); }

.dish--feature {
  grid-column: 1 / -1;
  background: var(--paper-2);
  border-left: 2px solid var(--gold);
  padding: 1.4rem 1.65rem;
}
.course--highlight .dish--feature { background: rgba(255,255,255,0.5); }
.course--highlight .dish__dots { border-color: rgba(46,51,56,0.24); }

.allergen {
  margin-top: 2.75rem; text-align: center;
  font-size: 0.688rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--clay);
  border-top: 1px solid var(--hair); padding-top: 1.85rem;
}

/* --------------------------------------------------------------------------
   19. Reveal
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="mask"] {
  transform: none; opacity: 1;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.2s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal="mask"].is-in { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero__slide.is-active img { animation: none; transform: scale(1.05); }
}

/* --------------------------------------------------------------------------
   20. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .head { grid-template-columns: 1fr; align-items: start; gap: 1.5rem; }
  .head__aside { align-items: flex-start; }

  /* Keep carousels aligned to the page gutter on compact screens. Bleed only
     on the trailing edge so snapped cards and their copy never touch the
     viewport's left side, while the next card still peeks into view. */
  .rail {
    margin-inline: 0 calc(var(--gutter) * -1);
    padding-inline: 0 var(--gutter);
    scroll-padding-inline: 0 var(--gutter);
  }

  /* 13 tiles + 2 wide = 15 cells = 3 x 5, no holes. */
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery__item--tall { grid-row: auto; }
}

@media (max-width: 900px) {
  .nav, .site-header__phone { display: none; }
  .burger { display: flex; }
  .split, .reserve { grid-template-columns: 1fr; }
  .frame { aspect-ratio: 3 / 2; }
  .media-stack { padding: 1.25rem 1.25rem 1.75rem 0; }
  .media-stack__sub { width: 36%; border-width: 6px; }
  .site-header__inner { min-height: 68px; }
  .menu-nav.is-below-header { top: 69px; }
  .topbar__inner { font-size: 0.563rem; gap: 0.9rem; letter-spacing: 0.16em; }
  .locale__veil {
    background: linear-gradient(180deg, rgba(23,39,47,0.55) 0%, rgba(23,39,47,0.92) 45%, rgba(23,39,47,0.96) 100%);
  }
  .locale__card { max-width: none; }
  .locale__map { height: 46vh; inset: 0 0 auto 0; }
  .locale__inner { padding-top: calc(46vh - 3rem); }
}

@media (max-width: 640px) {
  /* 12 uniform tiles = 2 x 6, no holes. The 13th is dropped. */
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 40vw; }
  .gallery__item--wide { grid-column: auto; }
  .gallery__item--tall { grid-row: auto; }
  .gallery__item:nth-child(13) { display: none; }
  .facts { grid-template-columns: 1fr; gap: 1.1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .reviews__summary { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero__foot { justify-content: center; }
  .hero__scroll { display: none; }
  .brand__text { display: none; }
  .topbar__hide-sm { display: none; }
  .btn { padding: 0.95rem 1.8rem; }

  /* Ten tracked characters on a narrow screen: ease off the tracking so
     "CASABLANCA" still clears a 320px viewport. */
  .hero__title { font-size: clamp(1.5rem, 7.4vw, 2.6rem); letter-spacing: 0.1em; text-indent: 0.1em; }
  .pagehero__title { letter-spacing: 0.1em; text-indent: 0.1em; }
}

/* --------------------------------------------------------------------------
   21. Christmas — seasonal
   --------------------------------------------------------------------------
   Deep pine green with the logo's gold, a speckle of snow over the zellige
   pattern, and the popup's falling snow (drawn in main.js). Delete this
   whole section when the season ends; see "Christmas menu" in the README.
   -------------------------------------------------------------------------- */

/* Scattered flakes, tiled. Used over pine grounds. */
.course--xmas::after,
.menu-card--xmas::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='18' cy='24' r='1.6'/%3E%3Ccircle cx='72' cy='12' r='1'/%3E%3Ccircle cx='130' cy='40' r='2'/%3E%3Ccircle cx='196' cy='18' r='1.2'/%3E%3Ccircle cx='48' cy='78' r='1.1'/%3E%3Ccircle cx='104' cy='96' r='1.5'/%3E%3Ccircle cx='170' cy='84' r='1'/%3E%3Ccircle cx='8' cy='130' r='1.2'/%3E%3Ccircle cx='66' cy='150' r='2'/%3E%3Ccircle cx='140' cy='142' r='1'/%3E%3Ccircle cx='206' cy='126' r='1.7'/%3E%3Ccircle cx='32' cy='196' r='1'/%3E%3Ccircle cx='96' cy='206' r='1.3'/%3E%3Ccircle cx='160' cy='192' r='1.6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 220px 220px;
  opacity: 0.32;
}

/* Top strip */
.topbar--xmas { background: var(--pine-dk); color: rgba(242, 235, 221, 0.78); }
.topbar .topbar__xmas { color: var(--gold-lt); }
.topbar .topbar__xmas:hover { color: var(--paper); }
.topbar__flake { letter-spacing: 0; margin-right: 0.3em; }
.topbar__group { display: contents; }
.topbar__inner[hidden] { display: none; }

/* Section nav chip */
.menu-nav a.menu-nav__xmas { color: var(--pine-2); }
.menu-nav a.menu-nav__xmas.is-active { color: var(--pine); border-color: rgba(28, 58, 46, 0.45); }

/* Gold button, for pine grounds */
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--pine-dk); }
.btn--gold::after { background: var(--paper); }
.btn--gold:hover { color: var(--pine-dk); border-color: var(--paper); }

.tlink--light { color: var(--paper); border-color: var(--hair-lt); }
.tlink--light:hover { color: var(--gold-lt); border-color: var(--gold-lt); }

/* Menu page course */
.course--xmas {
  background: var(--pine);
  color: rgba(242, 235, 221, 0.74);
  border-bottom-color: transparent;
}
.course--xmas .kicker { color: var(--gold-lt); }
.course--xmas .course__title { color: var(--paper); font-size: clamp(1.45rem, 2.8vw, 2.2rem); }
.course--xmas .course__note { color: var(--gold-lt); }
.course--xmas .dish__name { color: var(--paper); }
.course--xmas .dish__desc { color: rgba(242, 235, 221, 0.7); }
.course--xmas .dish__price { color: var(--gold-lt); }
.course--xmas .dish__dots { border-color: rgba(242, 235, 221, 0.26); }

/* Prices: two columns split by a gold hairline */
.xmas-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.xmas-price { padding: 0.2rem clamp(0.75rem, 3vw, 2rem); }
.xmas-price + .xmas-price { border-left: 1px solid rgba(193, 145, 63, 0.45); }
.xmas-price p { margin: 0; }
.xmas-price__title {
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(242, 235, 221, 0.8);
}
.xmas-price .xmas-price__num {
  font-family: var(--display);
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--gold-lt);
  margin-top: 0.3rem;
}
.xmas-price .xmas-price__detail { font-size: 0.813rem; line-height: 1.55; color: rgba(242, 235, 221, 0.7); margin-top: 0.3rem; }
.xmas-price .xmas-price__early {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-lt);
  margin-top: 0.45rem;
}
.xmas-early-note {
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  color: rgba(242, 235, 221, 0.66);
  margin: 1.35rem auto 0;
  max-width: 46ch;
}

/* Starters / mains / desserts / drinks */
.xmas-courses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 4.5vw, 3.5rem) clamp(2rem, 5vw, 4.5rem);
  max-width: 1080px;
  margin: clamp(2.75rem, 5vw, 3.75rem) auto 0;
}
.xmas-course { display: flex; flex-direction: column; gap: 1.3rem; }
.xmas-course--wide { grid-column: 1 / -1; }
.xmas-course__title {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  text-align: center;
  color: var(--gold-lt);
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(193, 145, 63, 0.45);
}
.xmas-desserts, .xmas-drinks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem clamp(1.5rem, 3.5vw, 3rem);
}
.xmas-desserts { text-align: center; }
.xmas-desserts .dish__row { justify-content: center; }
.xmas-small {
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 0.975rem;
  color: rgba(242, 235, 221, 0.6);
  margin: 0;
}

.xmas-book {
  text-align: center;
  margin: clamp(2.75rem, 5vw, 3.75rem) auto 0;
  padding-top: clamp(2rem, 3.5vw, 2.75rem);
  border-top: 1px solid var(--hair-lt);
  max-width: 1080px;
}
.xmas-book__terms {
  font-size: 0.688rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin: 0 0 0.6rem;
}
.xmas-book__cta { justify-content: center; margin-top: 1.9rem; gap: 1.25rem 2rem; }

/* Homepage card — sits first in the Menus grid */
.menu-grid--four { grid-template-columns: repeat(4, 1fr); }
.menu-card--xmas { background: var(--pine); }
.menu-card--xmas.pattern::before { opacity: 0.1; }
.menu-card__frame {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(221, 184, 119, 0.32);
  pointer-events: none;
}
.menu-card__mark {
  position: absolute;
  left: 50%; top: 27%;
  width: clamp(64px, 6vw, 84px);
  color: var(--gold-lt);
  transform: translate(-50%, -50%);
  transition: transform 1.4s var(--ease);
}
.menu-card__mark svg { width: 100%; height: auto; display: block; }
.menu-card--xmas:hover .menu-card__mark { transform: translate(-50%, -50%) rotate(45deg); }
.menu-card__prices {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--gold-lt);
  margin: -0.35rem 0 0.9rem;
}

/* Popup */
.xmas-pop {
  position: fixed; inset: 0; z-index: 95;
  display: grid; place-items: center;
  padding: clamp(0.85rem, 4vw, 2.5rem);
  background: rgba(8, 20, 15, 0.74);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.55s var(--ease), visibility 0.55s;
}
.xmas-pop.is-open { opacity: 1; visibility: visible; }
.xmas-pop__snow {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%;
  pointer-events: none;
}
.xmas-pop__panel {
  position: relative; z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100vh - 1.7rem);
  max-height: calc(100dvh - 1.7rem);
  overflow-y: auto;
  background: var(--pine);
  color: rgba(242, 235, 221, 0.78);
  text-align: center;
  padding: clamp(2.4rem, 5vw, 3.25rem) clamp(1.25rem, 5vw, 3rem) clamp(2rem, 4.5vw, 2.85rem);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  transform: translateY(22px) scale(0.98);
  transition: transform 0.7s var(--ease);
}
.xmas-pop.is-open .xmas-pop__panel { transform: none; }
.xmas-pop__panel.pattern::before { opacity: 0.1; }
/* Gold hairline frame inside the panel edge */
.xmas-pop__frame {
  position: absolute; inset: 10px; z-index: -1;
  border: 1px solid rgba(221, 184, 119, 0.38);
  pointer-events: none;
}
.xmas-pop__close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: var(--paper);
  transition: color 0.3s, transform 0.4s var(--ease);
}
.xmas-pop__close:hover { color: var(--gold-lt); transform: rotate(90deg); }
.xmas-pop__close svg { width: 18px; height: 18px; }
.xmas-pop__logo { height: 54px; width: auto; margin: 0 auto 1.1rem; }
.xmas-pop .kicker { color: var(--gold-lt); margin-bottom: 0.9rem; }
.xmas-pop__title {
  font-family: var(--display);
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
}
.xmas-pop__tagline {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-lt);
  margin: 0.55rem 0 0;
}
.xmas-pop .orn { margin: 1.4rem auto 1.5rem; max-width: 260px; }
.xmas-pop .orn svg { width: 18px; height: 18px; }
.xmas-pop .xmas-early-note { font-size: 0.95rem; margin-top: 1.1rem; }
.xmas-pop__terms {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 235, 221, 0.62);
  margin: 1.1rem 0 0;
}
.xmas-pop__cta { justify-content: center; margin-top: 1.75rem; }

@media (max-width: 1080px) {
  .menu-grid--four { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .xmas-courses { grid-template-columns: 1fr; }
  .xmas-desserts, .xmas-drinks { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .topbar__group.topbar__hide-sm { display: none; }
  .menu-grid--four { grid-template-columns: 1fr; }
  .xmas-price__title { letter-spacing: 0.2em; }
  /* Phones: keep the popup well short of full screen. */
  .xmas-pop__panel { width: min(400px, 100%); padding: 2.1rem 1.1rem 1.6rem; }
  .xmas-pop__logo { display: none; }
  .xmas-pop .kicker { margin-bottom: 0.6rem; }
  .xmas-pop__title { font-size: 1.6rem; }
  .xmas-pop__tagline { font-size: 1.05rem; }
  .xmas-pop .orn { margin-block: 0.85rem 0.95rem; }
  .xmas-pop .xmas-price .xmas-price__num { font-size: 1.9rem; }
  .xmas-pop .xmas-price .xmas-price__detail { font-size: 0.75rem; }
  .xmas-pop .xmas-price .xmas-price__early { font-size: 0.975rem; }
  .xmas-pop .xmas-early-note { font-size: 0.875rem; margin-top: 0.75rem; }
  .xmas-pop__terms { margin-top: 0.75rem; letter-spacing: 0.14em; }
  .xmas-pop__cta { flex-direction: column; align-items: stretch; gap: 0.6rem; margin-top: 1.15rem; }
  .xmas-pop__cta .btn { width: 100%; padding-block: 0.85rem; }
}
