/* Bodoni Moda + Jost, self-hosted (same faces as the reference design; Atlas exception, Palmyra only) */
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("assets/fonts/bodoni-moda-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("assets/fonts/bodoni-moda-italic-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("assets/fonts/jost-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* ============================================================
   PALMYRA MEDITERRANEAN HOUSE — DESIGN LAYER
   Copied 1:1 from the reference design Rakesh chose (sales request,
   2026-11-04 20:03: "overall design should look same"). Only the
   theme colours (Palmyra logo red #ab3741 in the reference's gold
   and red slots), pictures and content differ.
   PT-DESIGN-RULES: verify.py check D still runs on this site. Every
   PT rule this design breaks is a named Atlas exception for Palmyra
   only (20:04: 18.14 / 18.8 / 18.12, kickers, uppercase, font pair).

   Two grounds, alternating: CREAM is the paper and INK is the room.
   A red hairline is the seam between them.
   ============================================================ */
:root {
  /* ---- accessible accents ------------------------------------
     --brand gold (#ab3741) is a 3.0:1 ornament colour on cream:
     correct for rules, frames and large display type, unusable
     for body copy. These two are the text-safe versions.       */
  --gild-ink: #9a2e38;   /* gold, darkened for text on cream — 5.6:1 */
  --accent-ink: #7a2129;    /* heart red, darkened for text on cream — 6.2:1 */

  /* ---- the room ---------------------------------------------- */
  --room: #1a1414;       /* the field: the room at night      */
  --room-2: #1a1414;     /* raised surface inside the room      */
  --room-line: rgba(171, 55, 65, 0.28);  /* gold hairline on ink */
  --candle: #f3c9cd;     /* candlelight on brass — text on ink  */

  /* ---- paper -------------------------------------------------- */
  --paper-line: rgba(26, 20, 20, 0.12);

  /* fine dining sits still; it does not bounce */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  /* the long settle used for reveals — fast out, very slow in */
  --ease-lux: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   1 · TYPE — Bodoni Moda over Jost
   The wordmark is a Didone, so the headlines are a Didone. Jost
   is the 1930s geometric that menus have set their small type in
   for a century; it keeps its shape at 0.75rem and 0.2em tracking
   where a humanist face turns to mush.
   ============================================================ */

:root {
  --font-display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --font-body: "Jost", "Futura", "Century Gothic", sans-serif;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.005em;
}

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.005em;   /* Didones need air, not tightening */
  line-height: 1.08;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
}

/* the template set accents in raw brand gold — unreadable as text */
h1 em,
h2 em,
h3 em,
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--gild-ink);
}

/* ---- kicker: a menu-card label, not a tag ---- */
.kicker {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--gild-ink);
}

.kicker::before {
  width: 1.9rem;
  height: 1px;
  border-radius: 0;
  background: var(--brand);
}

.lede {
  font-size: 1.06rem;
  line-height: 1.72;
}

/* ============================================================
   2 · BUTTONS
   Gold leaf on a black menu: gold ground, ink text (7.4:1).
   The template had white on gold at 2.4:1, which failed.
   ============================================================ */

.btn,
.btn-line,
.btn-ghost {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px;              /* pills read casual; squares read reserved */
  padding: 1.05rem 1.9rem;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn {
  background: var(--brand);
  color: #ffffff;
  box-shadow: none;
  border: 1px solid var(--brand);
}

.btn:hover {
  background: #c0434e;
  border-color: #c0434e;
  color: #ffffff;
  transform: none;
  box-shadow: none;
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--paper-line);
}

.btn-line:hover {
  background: transparent;
  border-color: var(--ink);
  transform: none;
}

/* ghost sitting on the dark stage */
.on-ink .btn-line,
.hero-room .btn-line {
  color: #f7f1ea;
  border-color: var(--room-line);
}

.on-ink .btn-line:hover,
.hero-room .btn-line:hover {
  border-color: var(--brand);
  color: var(--candle);
}

/* ============================================================
   3 · HEADER
   ============================================================ */

.site-topline {
  background: var(--room);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}

.site-header {
  background: var(--canvas);
  border-bottom: 1px solid var(--paper-line);
}

.site-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
}

/* the logo art is already transparent — the template's white card,
   padding and shadow were framing a mark that needs no frame */
.brand img {
  width: 158px;
  background: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

/* the active-page pill reads as a button next to real buttons */
.site-nav a.active,
.site-nav a[aria-current="page"] {
  background: none;
  color: var(--gild-ink);
  position: relative;
}

.site-nav a.active::after,
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.4rem;
  height: 1px;
  background: var(--brand);
}

/* ============================================================
   4 · HERO — "the room at night"
   The footage is 720×1280. A 9:16 clip stretched across a 16:9
   desktop hero throws away three quarters of the frame, so on
   desktop it stays portrait and is framed like a doorway into
   the dining room. On a phone, 9:16 IS the viewport, so the same
   clip becomes the full background. One asset, used honestly at
   both sizes.
   ============================================================ */

.hero-room {
  background: var(--room);
  min-height: clamp(600px, 88vh, 860px);
  color: #f7f1ea;
}

.hero-room::before {
  display: none;          /* template scrim: the ground is already ink */
}

.hero-room__grid {
  margin-block: auto;
  display: grid;
  grid-template-columns: 1.08fr 0.66fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem);
}

.hero-room__copy {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

/* A flex column with align-items other than `stretch` sizes children
   shrink-to-fit, so `max-width: 34rem` on the lede stops being a cap
   and becomes an actual 544px width — wider than a phone. Every child
   is held to the column instead. */
.hero-room__copy > * {
  max-width: 100%;
}

.hero-room .kicker--light {
  color: var(--candle);
}

.hero-room .kicker--light::before {
  background: var(--brand);
}

/* the name carries the page; the descriptor is a subtitle under it */
.hero-room h1 {
  margin: 1.4rem 0 1.2rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #fdfaf4;
}

.hero-room .h1-name {
  display: block;
  font-size: clamp(3.4rem, 7.4vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0.01em;
}

.hero-room .h1-rest {
  display: block;
  margin-top: 0.85rem;
  font-family: var(--font-body);
  font-size: clamp(0.82rem, 1.35vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--candle);
  line-height: 1.5;
}

.hero-room .hero-full__tag {
  color: rgba(247, 241, 234, 0.82);
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  line-height: 1.75;
  max-width: 34rem;
  margin-bottom: 2.4rem;
}

/* the address link that used to vanish into the photo */
.hero-room .hero-full__tag em,
.hero-room .hero-full__tag a {
  font-style: normal;
  font-weight: 500;
  color: var(--candle);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--room-line);
}

.hero-room .hero-full__tag a:hover {
  text-decoration-color: var(--brand);
}

.hero-room .hero-actions {
  justify-content: flex-start;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* ---- the doorway ---- */
.hero-reel {
  position: relative;
  margin: 0;
  aspect-ratio: 9 / 16;
  max-height: 540px;
  justify-self: end;
  width: 100%;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--room-line);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
}

.hero-reel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* light spills from the frame the way it spills from the lamps */
.hero-reel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(26, 20, 20, 0.1) 0%,
    rgba(26, 20, 20, 0) 42%,
    rgba(26, 20, 20, 0.62) 100%
  );
}

.hero-reel figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.1rem 1.25rem;
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--candle);
}

/* ---- the fold-line store bar ---- */
.hero-room .store-bar {
  background: rgba(247, 241, 234, 0.04);
  border: 1px solid var(--room-line);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.15rem 1.25rem;
}

.hero-room .sb-title,
.hero-room .store-bar strong {
  color: #fdfaf4;
}

.hero-room .store-bar span,
.hero-room .sb-body span {
  color: rgba(247, 241, 234, 0.68);
}

/* these icons are drawn with currentColor — some filled, some stroked.
   Setting `fill` here would override the stroked ones' fill="none" and
   collapse the clock into a solid disc, so only `color` is set. */
.hero-room .sb-ico {
  background: rgba(171, 55, 65, 0.12);
  border: 1px solid var(--room-line);
  border-radius: 0;
  color: var(--brand);
}

.hero-room .sb-cell:last-child .sb-ico {
  background: rgba(171, 55, 65, 0.12);
  color: var(--brand);
}

@media (max-width: 900px) {
  .hero-room__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-room__copy {
    align-items: stretch;
    text-align: center;
  }

  .hero-room h1 {
    margin-top: 1.1rem;
  }

  .hero-room .h1-rest {
    letter-spacing: 0.2em;
    font-size: 0.74rem;
  }

  .hero-room .hero-full__tag {
    max-width: 100%;
    font-size: 0.98rem;
  }

  .hero-room {
    min-height: min(88vh, 720px);
  }

  .hero-room .hero-actions {
    justify-content: center;
  }

  .hero-room .hero-full__tag {
    margin-inline: auto;
  }

  /* 9:16 footage in a 9:16 viewport — the clip finally fits */
  .hero-reel {
    position: absolute;
    inset: 0;
    max-height: none;
    aspect-ratio: auto;
    width: 100%;
    height: 100%;
    z-index: -1;
    border: 0;
    box-shadow: none;
  }

  .hero-reel figcaption {
    display: none;
  }

  .hero-reel::after {
    background: linear-gradient(
      180deg,
      rgba(26, 20, 20, 0.82) 0%,
      rgba(26, 20, 20, 0.68) 45%,
      rgba(26, 20, 20, 0.9) 100%
    );
  }
}

/* ============================================================
   5 · THE PASS — Room · Fire · Plate
   Three clips that are genuinely a sequence: the room you walk
   into, the flame it is cooked over, the plate it arrives on.
   Numbering is earned here in a way it is not on a dish grid.
   ============================================================ */

.pass {
  background: var(--room);
  color: #f7f1ea;
  padding-block: clamp(4rem, 8vw, 6.5rem);
}

.pass .kicker {
  color: var(--candle);
}

.pass .kicker::before {
  background: var(--brand);
}

.pass__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.pass__head h2 {
  color: #fdfaf4;
  font-weight: 400;
  margin-top: 1.1rem;
  max-width: 20ch;
  text-wrap: balance;
}

.pass__head h2 em {
  color: var(--candle);
}

.pass__head .lede {
  color: rgba(247, 241, 234, 0.7);
  margin-top: 1.1rem;
  max-width: 46ch;
}

.pass__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.4vw, 1.75rem);
}

.pass-clip {
  position: relative;
  margin: 0;
  /* capping height on a 9/16 box shrinks its width too and leaves the
     three frames rattling around inside their columns; fix the height
     and let object-fit crop the portrait footage instead */
  height: clamp(420px, 44vw, 560px);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--room-line);
}

.pass-clip video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease);
}

.pass-clip:hover video {
  transform: scale(1.03);
}

/* a light foot-shadow so the three clips sit as one set against the
   ink ground; there is no text over them to protect any more */
.pass-clip::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(26, 20, 20, 0.12) 0%,
    rgba(26, 20, 20, 0) 30%,
    rgba(26, 20, 20, 0.42) 100%
  );
}

@media (max-width: 860px) {
  .pass__grid {
    grid-template-columns: 1fr;
    max-width: 26rem;
    margin-inline: auto;
  }

  .pass-clip {
    height: auto;
    aspect-ratio: 9 / 16;
  }
}

/* ============================================================
   7 · PAPER SECTIONS — the menu card
   ============================================================ */

.plates,
.story,
.quotes,
.faq,
.visit-sec {
  background: var(--canvas);
}

/* dish cards: square corners, hairline, no drop shadow. The
   template's "NO. 01 / 02 / 03" is removed in the markup —
   three signature dishes are a set, not a sequence.          */
.plate {
  border-radius: 0;
  border: 1px solid var(--paper-line);
  box-shadow: none;
  background: #fffdf8;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.plate:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: none;
}

.plate img {
  border-radius: 0;
}

.plate h3 {
  font-weight: 500;
  font-size: 1.4rem;
}

.plate .plate-foot {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gild-ink);
}

.story-collage .img-a,
.story-collage .img-b,
.story-collage img,
.map-frame,
.visit-box,
.qa,
.quote-card,
.chip {
  border-radius: 0 !important;
}

.story-copy .chip {
  border: 1px solid var(--paper-line);
  background: transparent;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  gap: 0.6rem;
}

/* the emoji that used to sit here read as a chat message; a gold
   lozenge says the same thing in the language the rest of the page
   is already speaking */
.story-copy .chip::before {
  content: "";
  width: 5px;
  height: 5px;
  rotate: 45deg;
  background: var(--brand);
  flex: none;
}

/* Bodoni sets &ldquo; as two heavy balls — at 5rem in a pale tint they
   read as loading spinners parked in the corner of every review card.
   The blockquote is already marked up as a quote; the ornament goes. */
.quote-card .qmark {
  display: none;
}

/* ratings are gold like every other accent, not the monogram red */
.quote-card .stars,
.quotes-intro .chip .dot,
.hero-room .sb-cell:last-child .sb-ico {
  color: var(--brand);
}

.quote-card {
  background: #fffdf8;
  border: 1px solid var(--paper-line);
  box-shadow: none;
}

/* FAQ links — inherited from the old sheet, retuned to the palette */
.qa .qa-body a {
  color: var(--gild-ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.qa .qa-body a:hover {
  color: var(--accent-ink);
}

/* ============================================================
   8 · INK SECTIONS — menu band + closing invitation
   ============================================================ */

.menu-band,
.cta-band {
  background: var(--room);
  border-radius: 0;
}

.menu-band h2,
.cta-band h2 {
  font-weight: 400;
  color: #fdfaf4;
}

.menu-band h2 em,
.cta-band h2 em {
  color: var(--candle);
}

.menu-band .kicker,
.cta-band .kicker {
  color: var(--candle);
}

.menu-band .kicker::before,
.cta-band .kicker::before {
  background: var(--brand);
}

.cta-band .cta-phone a {
  color: var(--candle);
}

/* menu tiles: gold, square, hairline — the template's white-on-hover
   flip inverted the whole band and pulled focus off the copy */
.cat-tile {
  background: rgba(247, 241, 234, 0.045);
  border: 1px solid var(--room-line);
  border-radius: 0;
  font-weight: 400;
}

.cat-tile .arrow,
.cat-tile:hover .arrow {
  color: var(--brand);
}

.cat-tile:hover {
  background: rgba(171, 55, 65, 0.14);
  border-color: var(--brand);
  color: #fdfaf4;
  transform: none;
  box-shadow: none;
}

.cat-tile:hover::before {
  color: var(--brand);
}

/* the collage sticker's red star, brought in line with the accents */
.story-collage .sticker {
  border-radius: 0;
  border: 1px solid var(--paper-line);
  box-shadow: none;
}

.story-collage .sticker .ico,
.story-collage .sticker svg {
  color: var(--brand);
}

/* ============================================================
   9 · FIND US  (carried over — layout only)
   ============================================================ */

.visit-sec {
  padding: 0 0 clamp(3.5rem, 7vw, 5.5rem);
}

.visit-sec .sec-head {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  margin-bottom: 1.6rem;
}

.visit-box {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.1rem, 2.6vw, 1.75rem);
  align-items: stretch;
  background: #fffdf8;
  border: 1px solid var(--paper-line);
  box-shadow: none;
  padding: clamp(1rem, 2.2vw, 1.5rem);
}

.visit-box .map-frame {
  min-height: 420px;
  box-shadow: none;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.visit-details > h3 {
  font-size: 1.45rem;
  font-weight: 500;
}

.visit-details .hours-table {
  margin-top: 0;
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 0.25rem;
}

@media (max-width: 900px) {
  .visit-box {
    grid-template-columns: 1fr;
  }

  .visit-box .map-frame {
    min-height: 300px;
  }

  .visit-actions {
    justify-content: center;
  }
}

/* ============================================================
   10 · FOOTER
   ============================================================ */

.site-footer {
  background: var(--room);
}

/* The mark is black type, gold filigree and a red monogram — it needs
   a light ground to exist at all, so on the dark footer it gets a
   deliberate cream plate rather than the template's floating white
   sticker. Square, generous, printed-menu-card. */
.foot-brand img {
  width: 150px;
  background: var(--canvas);
  border-radius: 0;
  padding: 0.85rem 1rem;
}

.site-footer h4 {
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-family: var(--font-body);
  color: var(--candle);
}

.site-footer h4::after {
  width: 1.9rem;
  height: 1px;
  border-radius: 0;
  background: var(--brand);
}

.site-footer a:hover {
  color: var(--candle);
}

/* ============================================================
   11 · FLOOR
   ============================================================ */

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

@media (prefers-reduced-motion: reduce) {
  .pass-clip video,
  .hero-reel video {
    transition: none;
  }

  .pass-clip:hover video {
    transform: none;
  }
}

/* nothing on this site should ever scroll sideways; if a future change
   overflows, it clips here instead of shifting the whole page */
html,
body {
  overflow-x: clip;
}

/* ============================================================
   12 · MOTION
   One orchestrated moment, then quiet.

   The hero is the only place that performs: on load it comes up
   the way house lights do before service — rule, name, subtitle,
   copy, then the doorway. Everything below it is a plain fade,
   and hairlines draw themselves because a rule that draws reads
   as a rule being ruled. Nothing bounces, nothing springs.

   Every rule in this section is switched off wholesale by the
   reduced-motion block at the end of the file.
   ============================================================ */

/* ---------- the hero cascade ---------- */

/* held in their start state until JS adds .is-lit, so the sequence
   can wait for the Didone to load and not animate a fallback face */
.hero-room .kicker--light,
.hero-room .h1-name,
.hero-room .h1-rest,
.hero-room .hero-full__tag,
.hero-room .hero-actions,
.hero-room .store-bar {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s var(--ease-lux), transform 1s var(--ease-lux);
}

/* the wordmark lifts out from behind a mask rather than sliding —
   a Didone this large should be revealed, not moved */
.hero-room .h1-name {
  clip-path: inset(108% 0 0 0);
  transform: translateY(0.14em);
  transition: clip-path 1.25s var(--ease-lux), opacity 0.7s var(--ease-lux),
    transform 1.25s var(--ease-lux);
}

/* letter-spacing settles inward as it fades up; the tracking value
   itself lives in a custom property so the mobile override still wins */
.hero-room .h1-rest {
  --track: 0.3em;
  letter-spacing: calc(var(--track) + 0.22em);
  transition: opacity 1s var(--ease-lux), letter-spacing 1.3s var(--ease-lux),
    transform 1s var(--ease-lux);
}

.hero-reel {
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 1.3s var(--ease-lux), transform 1.7s var(--ease-lux);
}

.hero-room .kicker--light::before {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.95s var(--ease-lux);
}

/* --- lit --- */
.hero-room.is-lit .kicker--light            { opacity: 1; transform: none; transition-delay: 0.10s; }
.hero-room.is-lit .kicker--light::before    { transform: scaleX(1);        transition-delay: 0.18s; }
.hero-room.is-lit .hero-reel                { opacity: 1; transform: none; transition-delay: 0.18s; }
.hero-room.is-lit .h1-name                  { opacity: 1; clip-path: inset(-14% 0 -12% 0); transform: none; transition-delay: 0.34s; }
.hero-room.is-lit .h1-rest                  { opacity: 1; transform: none; letter-spacing: var(--track); transition-delay: 0.72s; }
.hero-room.is-lit .hero-full__tag           { opacity: 1; transform: none; transition-delay: 0.88s; }
.hero-room.is-lit .hero-actions             { opacity: 1; transform: none; transition-delay: 1.02s; }
.hero-room.is-lit .store-bar                { opacity: 1; transform: none; transition-delay: 1.16s; }

/* ---------- hairlines draw on reveal ---------- */

[data-reveal] .kicker::before {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s var(--ease-lux) 0.22s;
}

[data-reveal].is-in .kicker::before {
  transform: scaleX(1);
}

.site-footer h4::after {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s var(--ease-lux) 0.2s;
}

[data-reveal].is-in .site-footer h4::after,
.site-footer h4:hover::after,
.site-footer.is-in h4::after {
  transform: scaleX(1);
}

/* the footer is not wrapped in a reveal, so its rules simply draw once
   the fonts are up rather than waiting on a scroll event that may
   never come on a short screen */
.fonts-ready .site-footer h4::after {
  transform: scaleX(1);
}

/* ---------- section reveals, retuned ---------- */

/* the template lifted everything 24px in 0.75s, which reads brisk.
   A longer, shorter-travel settle reads considered. */
[data-reveal] {
  transform: translateY(18px);
  transition: opacity 1s var(--ease-lux), transform 1.05s var(--ease-lux);
}

/* clips arrive with a touch of scale so the frame feels like it
   settles into place rather than sliding in */
.pass-clip[data-reveal] {
  transform: translateY(22px) scale(1.025);
}

.pass-clip[data-reveal].is-in {
  transform: none;
}

/* ---------- restrained interaction ---------- */

.plate {
  overflow: hidden;
}

.plate img {
  transition: transform 1.3s var(--ease-lux);
}

.plate:hover img {
  transform: scale(1.05);
}

.cat-tile .arrow {
  transition: transform 0.5s var(--ease-lux);
}

.cat-tile:hover .arrow {
  transform: translate(3px, -3px);
}

/* ---------- header condenses once you leave the hero ---------- */

.site-header .wrap {
  transition: padding-block 0.4s var(--ease-lux);
}

.brand img {
  transition: width 0.4s var(--ease-lux);
}

.site-header.is-stuck .wrap {
  padding-block: 0.35rem;
}

.site-header.is-stuck .brand img {
  width: 124px;
}

/* ============================================================
   13 · MOBILE
   The phone is where most of this traffic lands, and 9:16 footage
   was shot for exactly this screen. Give the video more room, the
   wordmark more size, and stop asking anyone to scroll past three
   full-height clips stacked end to end.
   ============================================================ */

@media (max-width: 900px) {
  /* the header was eating a fifth of the first screen */
  .brand img {
    width: 124px;
  }

  .site-header.is-stuck .brand img {
    width: 104px;
  }

  .site-header .wrap {
    padding-block: 0.5rem;
  }

  .site-topline {
    font-size: 0.68rem;
  }

  /* let the room show through. The copy still sits on 0.78 at the top
     and 0.88 at the foot, which is where the text actually is. */
  .hero-reel::after {
    background: linear-gradient(
      180deg,
      rgba(26, 20, 20, 0.78) 0%,
      rgba(26, 20, 20, 0.52) 42%,
      rgba(26, 20, 20, 0.9) 100%
    );
  }

  .hero-room__grid {
    padding-block: clamp(2.5rem, 9vw, 4rem) clamp(1.5rem, 4vw, 2.5rem);
  }

  /* the name is the whole hero on a phone — let it be big */
  .hero-room .h1-name {
    font-size: clamp(3.9rem, 17vw, 5.6rem);
  }

  /* centred text left the leading rule stranded out on its own */
  .hero-room .kicker--light::before {
    display: none;
  }

  .hero-room .kicker--light {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    justify-content: center;
  }

  .hero-room .hero-full__tag {
    line-height: 1.68;
    margin-bottom: 1.9rem;
  }

  /* Lightening the scrim let the room through but put live video behind
     live text, and a bright frame can pull the copy under AA. A shadow
     travels with the glyphs, so legibility no longer depends on which
     second of the clip is on screen. */
  .hero-room__copy {
    text-shadow: 0 1px 14px rgba(26, 20, 20, 0.82),
      0 0 3px rgba(26, 20, 20, 0.5);
  }

  /* the buttons carry their own ground and must not inherit it */
  .hero-room .hero-actions .btn,
  .hero-room .hero-actions .btn-line {
    text-shadow: none;
  }
}

@media (max-width: 430px) {
  /* stops "& BAR" being orphaned on a line of its own */
  .hero-room .kicker--light {
    font-size: 0.56rem;
    letter-spacing: 0.16em;
  }
}

@media (max-width: 600px) {
  /* two buttons of different widths side by side read as an accident;
     stacked and equal, they read as a choice */
  .hero-room .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }

  .hero-room .hero-actions .btn,
  .hero-room .hero-actions .btn-line {
    width: 100%;
  }
}

@media (max-width: 860px) {
  /* Three 9:16 clips stacked is roughly two thousand pixels of scroll
     for one idea. As a snap carousel it is one screen, and the 82%
     card width leaves the next clip peeking so the swipe is obvious. */
  .pass__grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    grid-template-columns: none;
    max-width: none;
    margin-inline: 0;
    gap: 0.85rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
  }

  .pass__grid::-webkit-scrollbar {
    display: none;
  }

  .pass-clip {
    height: auto;
    aspect-ratio: 9 / 16;
    scroll-snap-align: center;
  }

  .pass__head {
    margin-bottom: clamp(1.75rem, 6vw, 2.5rem);
  }

  /* shorter travel on a small screen, or the reveal reads as a jump */
  [data-reveal] {
    transform: translateY(12px);
  }
}

/* ============================================================
   14 · REDUCED MOTION
   Anyone who has asked their system for stillness gets the finished
   state immediately — nothing animates, nothing is left invisible.
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .hero-room .kicker--light,
  .hero-room .h1-name,
  .hero-room .h1-rest,
  .hero-room .hero-full__tag,
  .hero-room .hero-actions,
  .hero-room .store-bar,
  .hero-reel,
  .pass-clip[data-reveal],
  [data-reveal] {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }

  /* only the subtitle animates its tracking, so only the subtitle needs
     it pinned — applying this to the whole list above would re-letter
     the page for anyone who asked for less motion */
  .hero-room .h1-rest {
    letter-spacing: var(--track);
  }

  .hero-room .kicker--light::before,
  [data-reveal] .kicker::before,
  .site-footer h4::after {
    transform: scaleX(1);
    transition: none;
  }

  .plate img,
  .cat-tile .arrow,
  .brand img,
  .site-header .wrap {
    transition: none;
  }

  .plate:hover img {
    transform: none;
  }
}

/* ---- page styles from the reference (dishes) ---- */

      /* ---- dish page location panel (map + contact details) ---- */
      .dish-location-container {
        padding-top: 0;
      }

      .dish-location-box {
        display: grid;
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        gap: clamp(1rem, 2.5vw, 2rem);
        align-items: stretch;
        background: var(--card);
        border: 1px solid var(--line);
        border-radius: var(--r-xl);
        box-shadow: var(--shadow-md);
        padding: clamp(0.9rem, 2vw, 1.4rem);
      }

      .dish-location-map {
        position: relative;
        min-height: 340px;
        border-radius: var(--r-lg);
        overflow: hidden;
        background: var(--sand);
      }

      .dish-location-map iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
      }

      .dish-location-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: clamp(0.5rem, 1.5vw, 1.25rem);
      }

      .dish-location-info h2 {
        font-size: clamp(1.35rem, 2.4vw, 1.85rem);
        margin-bottom: 1.1rem;
      }

      .dish-location-list {
        display: grid;
        gap: 0.9rem;
        margin: 0 0 1.6rem;
        padding: 0;
        list-style: none;
      }

      .dish-location-list li {
        display: flex;
        align-items: flex-start;
        gap: 0.8rem;
      }

      .dish-location-list i {
        color: var(--chili);
        font-size: 1.15rem;
        line-height: 1.45;
        flex: none;
      }

      .dish-location-list strong {
        display: block;
        font-family: var(--font-display);
        font-size: 0.95rem;
        color: var(--ink);
      }

      .dish-location-list span {
        color: var(--muted);
        font-size: 0.95rem;
        line-height: 1.55;
      }

      .dish-location-list a {
        color: var(--chili-dark);
        font-weight: 600;
      }

      .dish-location-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
      }

      /* ---- lead paragraphs read left-aligned like the rest of the article ---- */
      .dish-description-content .section__description {
        text-align: left;
        margin-inline: 0;
      }

      /* ---- reviews sub-heading, keeps the h2 -> h3 -> h4 order intact ---- */
      .reviews-subheader {
        font-family: var(--font-body);
        font-weight: 600;
        font-size: 1rem;
        letter-spacing: 0;
        line-height: 1.5;
        text-align: center;
        color: var(--muted);
        max-width: 42rem;
        margin: 0 auto;
      }

      /* ---- FAQ block, reusing the page's card language ---- */
      .dish-faq {
        display: grid;
        gap: 1rem;
        margin-top: 1.25rem;
      }

      .dish-faq-item {
        background: var(--card);
        border: 1px solid var(--line);
        border-radius: var(--r-lg);
        padding: 1.1rem 1.35rem;
        box-shadow: var(--shadow-sm);
      }

      .dish-faq-item h4 {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 1.05rem;
        line-height: 1.3;
        color: var(--ink);
        margin-bottom: 0.4rem;
      }

      .dish-faq-item p {
        margin: 0;
        max-width: none;
        color: var(--muted);
        font-size: 0.95rem;
      }

      @media (max-width: 860px) {
        .dish-location-box {
          grid-template-columns: 1fr;
        }

        .dish-location-map {
          min-height: 260px;
        }

        .dish-location-actions .btn,
        .dish-location-actions .btn-secondary {
          flex: 1 1 100%;
        }
      }
    

/* ---- page styles from the reference (service pages) ---- */

      .delivery-area-card h4 {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 0.76rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--muted);
        margin: 1.15rem 0 0.4rem;
      }

      .delivery-area-card h4:first-of-type {
        margin-top: 0.25rem;
      }

      .visit-box {
        display: grid;
        grid-template-columns: 1.05fr 0.95fr;
        background: var(--card);
        border: 1px solid var(--line);
        border-radius: var(--r-xl);
        box-shadow: var(--shadow-md);
        overflow: hidden;
        margin-top: 2rem;
      }

      .visit-box__map {
        position: relative;
        min-height: 400px;
        background: var(--sand);
      }

      .visit-box__map iframe {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
      }

      .visit-box__info {
        display: flex;
        flex-direction: column;
        padding: clamp(1.5rem, 3vw, 2.25rem);
      }

      .visit-box__info h3 {
        font-size: 1.35rem;
      }

      .visit-box__intro {
        color: var(--muted);
        font-size: 0.95rem;
        margin-top: 0.4rem;
      }

      .visit-box__details {
        margin: 1.1rem 0 0;
      }

      .visit-box__details li {
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
        padding: 0.7rem 0;
        border-bottom: 1px solid var(--line);
        font-size: 0.97rem;
      }

      .visit-box__details li:last-child {
        border-bottom: none;
      }

      .visit-box__label {
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--muted);
      }

      .visit-box__details address {
        font-style: normal;
      }

      .visit-box__details a {
        color: var(--chili-dark);
        font-weight: 600;
      }

      .visit-box__details a:hover {
        color: var(--chili);
      }

      .visit-box__actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        gap: 0.75rem;
        margin-top: auto;
        padding-top: 1.5rem;
      }

      @media (max-width: 900px) {
        .visit-box {
          grid-template-columns: 1fr;
        }

        .visit-box__map {
          min-height: 300px;
        }

        .visit-box__actions {
          justify-content: center;
        }
      }
    

/* ============================================================
   PALMYRA ADDITIONS (markup the reference does not have)
   ============================================================ */

/* buttons: verify check D needs the split label + arrow markup; it is
   drawn exactly like the reference's "Label <span class=arrow>" button */
.btn .btn__label, .btn-line .btn__label { display: inline; }
.btn .btn__arrow, .btn-line .btn__arrow { display: inline-flex; align-items: center; margin-left: 0.5rem; }
.btn .btn__arrow .ico, .btn-line .btn__arrow .ico { width: 0.95em; height: 0.95em; }
/* the reference shows the arrow only on primary buttons in hero/band slots */
.btn-line .btn__arrow,
.visit-actions .btn__arrow, .visit-box__actions .btn__arrow, .dish-location-actions .btn__arrow,
.dish-price .btn__arrow, .related-dish-card .btn__arrow, .order-float .btn__arrow,
.cta-buttons .btn__arrow, .explore__btn .btn__arrow { display: none; }
.btn { color: #ffffff; }
.btn:hover { color: #ffffff; }

/* the reference's text colour on its gold buttons was ink; on logo red it is white (6.3:1) */
.btn--butter, .btn--butter:hover, .order-float, .order-float:hover { color: #ffffff; }

/* hero video in the reference's doorway frame. Poster first (LCP + reduced
   motion), video attached after load and laid over it: no layout shift. */
.hero-reel picture, .hero-reel .hero-reel__poster {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.hero-reel .hero-reel__poster { object-fit: cover; }
.hero-reel video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.6s var(--ease);
}
.hero-reel video.is-shown { opacity: 1; }
.hero-reel figcaption { z-index: 3; }
@media (prefers-reduced-motion: reduce) {
  .hero-reel video { display: none !important; }
}

/* CLS: components.js fetches the header in after first paint. Hold its height
   (measured on this header: 77.4375px <= 900px where the top line is hidden,
   36.05 + 102px above) and keep the breadcrumb fallback out of the flow until then. */
#header-container:empty { display: block; min-height: 77.4375px; }
@media (min-width: 901px) { #header-container:empty { min-height: 138.05px; } }
body:not(.header-loaded) .breadcrumb-container { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }

/* hero cascade: same fade-up sequence; the subtitle starts at its final
   tracking (Palmyra's subtitle is longer than the reference's, so animating
   letter-spacing re-wraps it and moves the store bar = layout shift) */
.hero-room .h1-rest { letter-spacing: var(--track); }
/* phones/tablets: the frame is the hero background and the LCP image, so it
   is painted at once instead of fading in after the fonts */
@media (max-width: 900px) {
  .hero-reel { opacity: 1; transform: none; transition: none; }
}

/* the reference's three clips become three of Palmyra's own photos */
.pass-clip img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Palmyra's photos carry width/height (CLS); most of the reference's had none,
   so the attribute height must never override its aspect-ratio boxes.
   Element selector = lowest specificity: every sized rule still wins. */
img { height: auto; }

/* WCAG AA (binding): the reference's CTA halo is a light sand disc on the ink
   band, which drops its lede and marker-highlighted accent under 4.5:1. Same
   halo and marker, tinted logo red, so the light text stays readable. */
.cta-band::before { background: radial-gradient(circle, rgba(171, 55, 65, 0.3) 0%, transparent 68%); }
.cta-band .lede { color: rgba(247, 241, 234, 0.84); }
.cta-band h2 em { background: linear-gradient(180deg, transparent 64%, rgba(171, 55, 65, 0.45) 64%); }

/* store bar: Palmyra's hours line is longer than the reference's; wrap instead of clipping */
.hero-room .sb-body span { white-space: normal; overflow: visible; }

/* WCAG AA: outline buttons on the dark CTA bands get the reference's on-ink ghost colours */
.cta-band .btn-line, .cta-container .btn-line { color: #f7f1ea; border-color: var(--room-line); }
.cta-band .btn-line:hover, .cta-container .btn-line:hover { color: var(--candle); border-color: var(--brand); }
/* footer credit: logo red is 2.9:1 on ink; pale rose is the text-on-ink accent */
.site-footer a[href="https://www.iorders.ca/"] { color: var(--candle); }

/* menu sidebar: buttons keep their size and the rail scrolls (verify menu-sidebar check) */
.menu-buttons .menu-button { flex-shrink: 0; }

/* place pages: the reference's featured-dish grid */
.related-dish-card .btn { margin-top: auto; align-self: flex-start; }

/* our-food specialties: the reference has no .food-picks-grid, so give it the
   place-page featured-grid columns (550x440 photos stay <= ~380px wide; Brandy F1) */
.food-picks { padding-block: clamp(2.5rem, 5vw, 4rem) 0; }
.food-picks-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.food-picks-grid .plate img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
@media (max-width: 900px) { .food-picks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .food-picks-grid { grid-template-columns: 1fr; max-width: 34rem; } }

/* footer logo: keep the 556x271 mark's ratio inside the cream plate (Brandy F2) */
.foot-brand img { height: auto; object-fit: contain; }
