/* ============================================================
   BENNE DOSA · bennedosa.com.au
   Stylesheet built to the approved design comps
   ============================================================ */

/* ── Tokens ───────────────────────────────────────────────── */
:root {
  --cream:        #F8F5EA;
  --cream-2:      #F3EFE0;
  --cream-3:      #EFEBD9;
  --band:         #E8E7D0;
  --paper:        #FDFBF4;

  --green:        #2E4B28;
  --green-dark:   #22391D;
  --green-mid:    #3B5D33;
  --green-soft:   #4E7040;

  --gold:         #C2A055;
  --gold-dark:    #A98940;
  --gold-pale:    #DFCB96;

  /* sampled from the logo — the dosa orange */
  --saffron:      #DB691C;
  --saffron-dark: #B95415;

  --ink:          #2F2A22;
  --body:         #5C5449;
  --rule:         #DDD6BE;

  /* wireframe photo slots — placeholder only, retires with real photography */
  --wire-bg:      #EDE9DB;
  --wire-line:    #C6BEA6;
  --wire-ink:     #8A8168;

  --shell:        1300px;
  --pad:          48px;
  --sec:          92px;

  --r-btn:        6px;
  --r-card:       10px;
  --r-pill:       999px;

  --ease:         cubic-bezier(.22,.61,.36,1);
  --dur:          400ms;

  /* Headlines are a tight, heavy grotesque; the italic serif is kept purely
     as an accent voice for the second line of a heading. */
  --f-display:    "Inter", "Manrope", system-ui, -apple-system, sans-serif;
  --f-accent:     "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --f-body:       "Inter", "Manrope", system-ui, -apple-system, sans-serif;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--gold); color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 999;
  background: var(--green); color: #fff; padding: 12px 22px; border-radius: var(--r-btn);
}
.skip-link:focus { left: 16px; }
.vh { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }

/* ── Type ─────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; color: var(--green); line-height: 1.07; letter-spacing: -.032em; }
h3, h4 { font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
h1 { font-size: clamp(38px, 4.1vw, 58px); }
h2 { font-size: clamp(28px, 2.7vw, 40px); }
h3 { font-size: clamp(19px, 1.5vw, 23px); }
h4 { font-size: 17px; }
/* The accent voice. Block form drops the closing phrase to its own line;
   inline form shifts just a trailing noun without breaking the line. */
.italic-line, .italic-word {
  font-family: var(--f-accent); font-style: italic;
  font-weight: 500; letter-spacing: -.012em;
  color: var(--green-soft);
}
.italic-line { display: block; line-height: 1.16; }
.italic-word { display: inline; }
/* On dark surfaces the soft green disappears — lift to pale gold. */
.bg-green .italic-line, .bg-green .italic-word,
.panel--green .italic-line, .panel--green .italic-word,
.ftr .italic-line, .ftr .italic-word { color: var(--gold-pale); }

p { max-width: 62ch; }
.lede { font-size: 17.5px; line-height: 1.9; }
.small { font-size: 13.5px; line-height: 1.75; }
.tiny { font-size: 14.5px; line-height: 1.7; }

/* Eyebrow with flourishes */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--green); margin-bottom: 16px;
}
.eyebrow svg { width: 22px; height: 12px; color: var(--gold); flex: none; }
.eyebrow--plain svg { display: none; }
.eyebrow--plain::before { content: ""; width: 34px; height: 1px; background: var(--gold); }

/* Ornamental rule */
.orn { display: block; width: 160px; height: 16px; color: var(--gold); margin: 22px 0; }
.orn--c { margin-inline: auto; }

/* ── Layout ───────────────────────────────────────────────── */
.shell { width: min(var(--shell), calc(100% - 2 * var(--pad))); margin-inline: auto; }
.shell--wide { width: min(1420px, calc(100% - 2 * var(--pad))); margin-inline: auto; }
.sec { padding-block: var(--sec); position: relative; }
.sec--tight { padding-block: 66px; }
.bg-cream2 { background: var(--cream-2); }
/* One step darker than bg-cream2 — lets a band sit against the menu listing
   (which is cream-2) and still read as a separate section. */
.bg-cream3 { background: var(--cream-3); }
.bg-band   { background: var(--band); }
.bg-paper  { background: var(--paper); }
/* Every green surface, in one place. .panel--green used to set only its
   background, so it inherited the default green heading colour and rendered
   green-on-green — the headings were invisible. Keep these grouped so a new
   green surface can't drift out of sync again. */
.bg-green, .panel--green { background: var(--green); color: rgba(255,255,255,.84); }
.bg-green h1, .bg-green h2, .bg-green h3, .bg-green h4,
.panel--green h1, .panel--green h2, .panel--green h3, .panel--green h4 { color: #fff; }
.bg-green .eyebrow, .panel--green .eyebrow { color: var(--gold-pale); }
.bg-green .eyebrow svg, .panel--green .eyebrow svg { color: var(--gold); }

.head-c { text-align: center; max-width: 780px; margin: 0 auto 52px; }
.head-c .orn { margin: 18px auto 0; }
.head-c p { margin-inline: auto; }

.grid { display: grid; gap: 26px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
.g6 { grid-template-columns: repeat(6, 1fr); }

/* ── Decorative sketch layer ──────────────────────────────── */
.sketch { position: absolute; color: var(--green); opacity: .11; pointer-events: none; z-index: 0; }
.sketch--gopuram { width: 190px; left: -18px; bottom: -10px; }
.sketch--palm  { width: 96px; }
/* The two palms used to carry inline left/bottom values tuned to the temple's
   old bleeding anchor. The temple has since moved 38px right, so these moved
   with it — the grove keeps the same gap from the gopuram it always had.
   In CSS rather than inline so the mobile rule can actually override them. */
.sketch--palm-a { left: 188px; bottom: 24px; }
.sketch--palm-b { left: 274px; bottom: 60px; width: 74px; }
/* Temple line art. It's an <img> of an external SVG, so `color` can't reach
   it — the gold is baked into the file and opacity does the softening.
   Kept faint: it sits behind headings and buttons as a watermark.
   It used to be anchored at left:-26px/bottom:-14px so it bled off the
   section edge, but every host here is overflow:hidden, so the bleed just
   read as a broken drawing — the gopuram lost its left tier and its plinth.
   Now inset on both axes: the whole mark is always drawn, at every width. */
.sketch--temple {
  width: 300px; height: auto; display: block;
  max-width: calc(100% - 24px);
  left: 12px; bottom: 12px;
  opacity: .3; z-index: 0;
}
.sketch--house { width: 250px; }
.sketch--leaf  { color: var(--green-soft); opacity: .22; width: 210px; }
.sketch-flip { transform: scaleX(-1); }

/* Zigzag ribbon at the very top of the page */
.ribbon {
  height: 9px;
  background:
    repeating-linear-gradient(135deg, var(--gold-pale) 0 6px, transparent 6px 12px),
    var(--cream-2);
  opacity: .85;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 24px;
  border-radius: var(--r-btn);
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid transparent; white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(46,75,40,.2); }
.btn--fill  { background: var(--green); color: #fff; }
.btn--fill:hover { background: var(--green-dark); }
.btn--line  { border-color: var(--green); color: var(--green); background: transparent; }
.btn--line:hover { background: var(--green); color: #fff; }
.btn--paper { background: var(--paper); color: var(--green); border-color: var(--rule); }
.btn--paper:hover { background: var(--green); color: #fff; border-color: var(--green); }
.btn--gold  { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-dark); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--green); }
.btn--lg { height: 52px; padding: 0 30px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green);
}
.link-arrow svg { width: 17px; height: 17px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover { color: var(--gold-dark); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ── Header ───────────────────────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 90;
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
/* The blur lives on a pseudo-element, NOT on .hdr itself. backdrop-filter
   makes an element a containing block for its position:fixed descendants,
   which collapsed the full-screen mobile nav to header height the moment the
   header went sticky. Keep .hdr free of filter/transform/perspective. */
.hdr::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--cream);
  transition: background var(--dur) var(--ease);
}
.hdr.is-stuck::before {
  background: rgba(248,245,234,.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hdr.is-stuck { box-shadow: 0 2px 24px rgba(46,40,25,.10); border-color: var(--rule); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: 98px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__logo {
  display: block; height: 72px; width: auto; flex: none;
  transition: height var(--dur) var(--ease);
}
.hdr.is-stuck .brand__logo { height: 60px; }
/* stacked lockup (wordmark + tagline) — used in the footer */
.brand__logo--stack { height: 96px; }

.mainnav { display: flex; align-items: center; gap: 30px; }
.mainnav__x { display: none; }
.mainnav a {
  position: relative; padding: 6px 0;
  font-size: 12px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--ink);
}
.mainnav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease);
}
.mainnav a:hover { color: var(--green); }
.mainnav a:hover::after, .mainnav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.mainnav a[aria-current="page"] { color: var(--green); }

.hdr__cta { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--green); color: var(--green);
  transition: all var(--dur) var(--ease);
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
.burger {
  display: none; width: 48px; height: 48px; place-items: center;
  color: var(--green); border-radius: 8px; flex: none;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.burger svg { width: 27px; height: 27px; pointer-events: none; }
.burger:active { background: rgba(46,75,40,.08); }
/* Once the panel is open the burger sits on green and must invert */
body.nav-open .burger { color: #fff; }
body.nav-open .burger:active { background: rgba(255,255,255,.14); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,46%) minmax(0,54%); align-items: center; min-height: 560px; }
.hero__copy { padding: 74px 56px 74px 0; }
.hero__copy p { max-width: 46ch; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__photo {
  position: absolute; z-index: 1; inset: 0 0 0 27%;
  /* The copy column overlaps this panel's left edge, so the mask stays fully
     transparent past the text before ramping. Many stops rather than three:
     a 3-stop ramp reads as a visible band, an eased curve reads as haze. */
  /* The photo never fades to nothing: it holds a faint presence right across
     the copy column so the banner reads as one image behind the text, then
     climbs to full strength on the open side. */
  --hero-fade:
    linear-gradient(93deg,
      rgba(0,0,0,.17) 0%,
      rgba(0,0,0,.19) 18%,
      rgba(0,0,0,.26) 28%,
      rgba(0,0,0,.40) 37%,
      rgba(0,0,0,.58) 45%,
      rgba(0,0,0,.74) 53%,
      rgba(0,0,0,.87) 61%,
      rgba(0,0,0,.95) 70%,
      #000 80%);
  -webkit-mask-image: var(--hero-fade);
          mask-image: var(--hero-fade);
}
/* Soften where the panel meets the section below so it doesn't butt hard
   against the badge strip. Sits above the video, below the copy. */
.hero__video::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 90px;
  z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--cream) 92%);
}
/* A photo hero, unlike the video, shows a single composed dish: bring the
   panel closer to the copy and shorten the fade so the gap reads as a narrow
   seam rather than a wide haze. */
.hero--photo .hero__photo {
  inset: 0 0 0 38%;
  --hero-fade: linear-gradient(93deg,
    transparent 0%, transparent 5%,
    rgba(0,0,0,.30) 13%, rgba(0,0,0,.72) 21%, #000 30%);
}
.hero--photo .hero__in { min-height: 700px; }
.hero__photo > * { width: 100%; height: 100%; }
.hero__photo .ph, .hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero--art .hero__photo { -webkit-mask-image: none; mask-image: none; opacity: .45; display: grid; place-items: center; padding: 40px; }
.hero--art .hero__photo svg { width: 100%; height: auto; color: var(--green); }
.hero__copy { position: relative; }
.hero__dots { display: flex; gap: 8px; margin-top: 34px; }
.hero__dots button { width: 26px; height: 3px; background: var(--gold-pale); border-radius: 2px; transition: background-color var(--dur) var(--ease); }
.hero__dots button.is-on { background: var(--green); }

/* Hero contact chips (Contact page) */
/* One row of four. The values are long, so the columns are equal-width and
   the text wraps inside its own column rather than orphaning words. */
.chips {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 14px; margin-top: 34px; max-width: none;
}
.chip { display: block; text-align: center; width: auto; min-width: 0; }
.chip span:not(.chip__ring) { hyphens: auto; overflow-wrap: anywhere; }
.chip__ring {
  width: 46px; height: 46px; margin: 0 auto 10px;
  border-radius: 50%; border: 1px solid var(--green);
  display: grid; place-items: center; line-height: 0;
  color: var(--green);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.chip__ring svg { width: 21px; height: 21px; display: block; }
.chip strong { display: block; font-family: var(--f-display); font-size: 13.5px; letter-spacing: -.01em; color: var(--green); margin-bottom: 2px; }
/* Must exclude .chip__ring — a bare `.chip span` rule outranks `.chip__ring`
   (0,1,1 vs 0,1,0), so `display: block` was killing the ring's grid centring
   and dropping the icon onto the top of the circle. */
.chip span:not(.chip__ring) { font-size: 10.5px; line-height: 1.5; display: block; }
/* Hover in the logo's dosa orange. Scoped to a.chip — the Opening Hours chip
   is a plain div and shouldn't look clickable. */
a.chip:hover .chip__ring,
a.chip:focus-visible .chip__ring {
  background: var(--saffron); border-color: var(--saffron); color: #fff;
}
a.chip:hover strong,
a.chip:focus-visible strong { color: var(--saffron-dark); }
a.chip:focus-visible { outline: 2px solid var(--saffron); outline-offset: 6px; border-radius: 4px; }

/* ── Photo placeholders ───────────────────────────────────── */
/* ── Photo slots (wireframe) ──────────────────────────────────
   Every .ph is an empty box waiting on real photography. The frame,
   the cross and the caption are drawn in CSS from the element's own
   aria-label, so nothing needs writing twice. To go live, drop an
   <img> inside — .ph > img covers the box and hides the wireframe.  */
.ph {
  position: relative; overflow: hidden;
  container-type: inline-size;
  display: grid; place-items: center;
  background: var(--wire-bg);
  box-shadow: inset 0 0 0 1px var(--wire-line);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0L100 100M100 0L0 100' stroke='%23C6BEA6' stroke-width='.5' fill='none'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}
.ph::after {
  content: attr(aria-label);
  position: relative; z-index: 1;
  max-width: 80%; text-align: center; text-wrap: balance;
  font-family: var(--f-body); font-size: 11px; font-weight: 500;
  line-height: 1.5; letter-spacing: .01em; color: var(--wire-ink);
  background: var(--wire-bg); border: 1px solid var(--wire-line);
  border-radius: 3px; padding: 9px 13px;
}
/* Small slots can't carry the caption legibly */
@container (max-width: 220px) { .ph::after { font-size: 9.5px; padding: 6px 8px; max-width: 90%; } }
@container (max-width: 120px) { .ph::after { content: "photo"; text-transform: uppercase; letter-spacing: .12em; font-size: 8px; } }
@container (max-width: 64px)  { .ph::after { display: none; } }
/* A filled slot drops the wireframe entirely — no cross, no caption showing
   through a transparent PNG, and no pointless background paint. */
.ph--filled { background-image: none; background-color: transparent; box-shadow: none; }
.ph--filled::after { content: none; }
/* .ph is a centring grid for the wireframe caption, and `align-items: center`
   stops a grid item from stretching — so the row sized itself to the photo's
   natural height, `height: 100%` resolved against that instead of the slot,
   and a photo whose ratio differed from its slot overflowed and got clipped
   by overflow:hidden. object-fit never got to do anything. Once the slot is
   filled the caption is gone, so the media can own the box outright. */
.ph--filled { grid-template-rows: minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); }
.ph--filled > img, .ph--filled > picture, .ph--filled > video, .ph--filled > svg {
  align-self: stretch; justify-self: stretch; min-width: 0; min-height: 0;
}

/* Real media, once it lands, sits on top of everything above */
.ph > img, .ph > picture, .ph > video, .ph > svg {
  position: relative; z-index: 2;
  width: 100%; height: 100%; display: block; object-fit: cover;
}
.ph--4x3 { aspect-ratio: 4 / 3; }
.ph--1x1 { aspect-ratio: 1 / 1; }
.ph--3x4 { aspect-ratio: 3 / 4; }
.ph--16x9 { aspect-ratio: 16 / 9; }
/* Social posts are shot vertically, so their slot is phone-shaped rather than
   the landscape frame the rest of the site uses. */
.ph--9x16 { aspect-ratio: 9 / 16; }

/* ── Per-slot focal points ──
   A square photo in a 4:3 card loses 12.5% off the top and 12.5% off the
   bottom. Both of these shots are composed with the chutney bowls high and
   the dish itself low, so an even crop trimmed the food off the bottom edge
   while leaving empty banana leaf across the top. The percentages below put
   the middle of the plate in the middle of the card — measured from the
   images, not guessed. Keyed on data-slot so apply_photos.py can rewrite the
   <img> without losing them. */
[data-slot="menu-03"] > img, [data-slot="menu-03"] > picture > img { object-position: 50% 70%; }
[data-slot="home-10"] > img, [data-slot="home-10"] > picture > img { object-position: 50% 62%; }
/* Benne dosa set: square and portrait sources in 4:3 cards. Each percentage
   is the source's own subject centre, measured, so the dosa sits in the
   middle of the card instead of drifting to an edge. */
[data-slot="home-08"] > img, [data-slot="home-08"] > picture > img { object-position: 50% 36%; }
[data-slot="menu-65"] > img, [data-slot="menu-65"] > picture > img { object-position: 50% 36%; }
[data-slot="home-09"] > img, [data-slot="home-09"] > picture > img { object-position: 50% 45%; }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-card);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(46,40,25,.13); border-color: var(--gold-pale); }
.card__media { position: relative; overflow: hidden; }
.card__media .ph, .card__media img { transition: transform 700ms var(--ease); }
.card:hover .card__media .ph, .card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 18px 20px 22px; text-align: center; }
.card__body h3 { font-size: 18px; margin-bottom: 7px; }
.card__body p { margin-inline: auto; }
.veg { width: 14px; height: 14px; color: var(--green-soft); display: inline-block; vertical-align: -1px; margin-left: 5px; }

.tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 9.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 3px; color: #fff; background: var(--green);
}
.tag--gold { background: var(--gold-dark); }
.veg-flag { position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 18px; height: 18px; color: #6E9C4F; background: rgba(255,255,255,.92); border-radius: 3px; padding: 1px; }
.price { display: block; font-family: var(--f-display); font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--green); margin-top: 10px; }
.card__orn { width: 90px; height: 12px; color: var(--gold-pale); margin: 12px auto 0; }

/* ── Icon columns with dashed dividers ────────────────────── */
/* Equal columns — auto-sizing let each card's text set its own width, so the
   photos came out at six different sizes in the same row. */
.cols { display: grid; grid-auto-columns: 1fr; }
.cols.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols.g6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.col-item { padding: 6px 22px; text-align: center; position: relative; }
.col-item + .col-item::before {
  content: ""; position: absolute; left: 0; top: 6%; bottom: 6%;
  border-left: 1px dashed var(--rule);
}
.col-item__icon { width: 44px; height: 44px; margin: 0 auto 14px; color: var(--green); transition: transform var(--dur) var(--ease); }
.col-item:hover .col-item__icon { transform: translateY(-4px); }
.col-item h3 { font-size: 17.5px; margin-bottom: 8px; }
.col-item p { font-size: 14.4px; line-height: 1.7; margin-inline: auto; max-width: 24ch; }
/* one shared 4:3 box so every photo in the row matches exactly */
.col-item .ph {
  border-radius: 6px; margin: 14px 0 12px;
  width: 100%; height: auto; aspect-ratio: 4 / 3;
}
.col-item .ph > img { width: 100%; height: 100%; object-fit: cover; }

/* ── Story block (Home) ───────────────────────────────────── */
.story { display: grid; grid-template-columns: minmax(0,250px) minmax(0,1fr); gap: 40px; align-items: center; }
.story__lead .col-item__icon { margin: 0 0 14px; }
.story__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.story-card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-card); overflow: hidden; text-align: center; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.story-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(46,40,25,.12); }
.story-card .ph { aspect-ratio: 4/3; }
.story-card__body { padding: 16px 16px 18px; }
.story-card__icon { width: 34px; height: 34px; margin: 0 auto 10px; color: var(--green); }
.story-card h4 { font-size: 16px; margin-bottom: 6px; }
.story-card p { font-size: 12.5px; line-height: 1.65; margin-inline: auto; }
.story-card__orn { width: 70px; height: 10px; color: var(--gold-pale); margin: 10px auto 0; }

/* ── Filter pill bar ──────────────────────────────────────── */
.pillbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 4px; padding: 7px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-pill);
  margin: 0 auto 44px; width: fit-content; max-width: 100%;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 18px; border-radius: var(--r-pill);
  font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); position: relative;
}
.pill svg { width: 15px; height: 15px; color: var(--gold-dark); }
.pill + .pill::before { content: ""; position: absolute; left: -2px; top: 22%; bottom: 22%; border-left: 1px solid var(--rule); }
.pill:hover { color: var(--green); }
.pill.is-on { background: var(--green); color: #fff; }
.pill.is-on svg { color: var(--gold-pale); }
.pill.is-on::before, .pill.is-on + .pill::before { opacity: 0; }

/* ── Split feature (image bleeding to one edge) ───────────── */
.bleed { position: relative; overflow: hidden; }
.bleed__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,44%) minmax(0,56%); align-items: center; min-height: 420px; }
.bleed__copy { padding: 70px 50px 70px 0; }
.bleed__photo { position: absolute; z-index: 1; inset: 0 0 0 40%;
  -webkit-mask-image: linear-gradient(95deg, transparent 0%, rgba(0,0,0,.4) 12%, #000 34%);
          mask-image: linear-gradient(95deg, transparent 0%, rgba(0,0,0,.4) 12%, #000 34%); }
.bleed__photo .ph, .bleed__photo img { width: 100%; height: 100%; object-fit: cover; }

.ticks { display: grid; gap: 12px; margin-top: 26px; }
.ticks li { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; color: var(--ink); }
.ticks svg { width: 19px; height: 19px; color: var(--green-soft); flex: none; margin-top: 2px; }

/* ── Heritage split (About) ───────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0,42%) minmax(0,58%); gap: 46px; align-items: center; }
.split__photo { border-radius: var(--r-card); overflow: hidden; }
.split--flip .split__photo { order: 2; }

/* ── Package cards ────────────────────────────────────────── */
.pack { text-align: center; padding: 30px 24px 28px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-card); transition: all var(--dur) var(--ease); }
.pack:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 18px 40px rgba(46,40,25,.12); }
.pack__icon { width: 34px; height: 34px; margin: 0 auto 14px; color: var(--gold-dark); }
.pack h3 { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-family: var(--f-body); color: var(--ink); margin-bottom: 12px; }
.pack p { font-size: 14.4px; line-height: 1.7; margin: 0 auto 20px; max-width: 26ch; }

/* ── Testimonials ─────────────────────────────────────────── */
.quotes { position: relative; }
.quotes__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: rgba(255,255,255,.055); border: 1px solid rgba(223,203,150,.28); border-radius: var(--r-card); padding: 24px 20px; display: flex; gap: 15px; align-items: flex-start; }
.quote__avatar { width: 50px; height: 50px; border-radius: 50%; flex: none; overflow: hidden; border: 2px solid var(--gold-pale); background: #6B5836; display: grid; place-items: center; font-family: var(--f-accent); font-size: 19px; color: #fff; }
.quote p { font-size: 14.4px; line-height: 1.72; color: rgba(255,255,255,.86); }
.quote__meta { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.stars { color: var(--gold); font-size: 11px; letter-spacing: 2px; }
.quote cite { font-style: normal; font-size: 13.5px; color: var(--gold-pale); }
.quotes__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); color: #fff; display: grid; place-items: center; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.quotes__nav:hover { background: #fff; color: var(--green); }
.quotes__nav svg { width: 17px; height: 17px; }
.quotes__nav--prev { left: -50px; }
.quotes__nav--next { right: -50px; }

/* ── Info strip ───────────────────────────────────────────── */
.strip { display: grid; grid-template-columns: minmax(0,1.25fr) repeat(3, minmax(0,1fr)); gap: 30px; align-items: center; }
.strip--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.strip__item { display: flex; gap: 14px; align-items: flex-start; position: relative; padding-left: 30px; }
.strip__item::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; border-left: 1px solid var(--rule); }
.strip__item > svg { width: 24px; height: 24px; color: var(--green); flex: none; margin-top: 2px; }
.strip__item h4 { font-family: var(--f-body); font-size: 15px; font-weight: 700; color: var(--green); margin-bottom: 3px; }
.strip__item p { font-size: 14.4px; line-height: 1.6; }
.strip__lead h3 { font-size: 24px; line-height: 1.28; margin-bottom: 16px; }

.socials { display: flex; gap: 9px; }
.socials a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--green); color: var(--green); display: grid; place-items: center; transition: all var(--dur) var(--ease); }
.socials a svg { width: 16px; height: 16px; }
.socials a:hover { background: var(--green); color: #fff; transform: translateY(-3px); }
.socials--light a { border-color: rgba(255,255,255,.4); color: rgba(255,255,255,.9); }
.socials--light a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ── Gallery ──────────────────────────────────────────────── */
.gal { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.gal__item { position: relative; overflow: hidden; border-radius: 6px; padding: 0; display: block; width: 100%; }
.gal__item .ph { width: 100%; height: 100%; aspect-ratio: auto; transition: transform 700ms var(--ease); }
.gal__item:hover .ph { transform: scale(1.07); }
.gal__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(34,57,29,.8));
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.gal__cap {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2;
  font-family: var(--f-display); font-size: 15px; color: #fff; text-align: left;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.gal__item:hover::after, .gal__item:focus-visible::after { opacity: 1; }
.gal__item:hover .gal__cap, .gal__item:focus-visible .gal__cap { opacity: 1; transform: none; }
.gal__item.is-out { display: none; }

.lb {
  position: fixed; inset: 0; z-index: 200; display: none; place-items: center;
  --lb-pad: 40px;    /* backdrop gutter, dropped on narrow screens */
  --lb-imgh: 56vh;   /* height budget for the photo itself */
  --lb-max: 620px;   /* ceiling for wide ratios */
  padding: var(--lb-pad); background: rgba(20,32,17,.94);
}
.lb.is-on { display: grid; }
/* The panel takes its width from the photo rather than a fixed 920px. The
   photo was sized from viewport height, so a square shot came out ~700px in
   a 920px panel and left a band of paper down both sides. Now the same ratio
   drives both: --lb-ar is set on the panel by app.js when the box opens, and
   the panel is only ever as wide as the picture inside it. */
.lb > div {
  display: grid; justify-items: stretch;
  width: min(var(--lb-max),
             calc(100vw - var(--lb-pad) * 2),
             calc(var(--lb-imgh) * var(--lb-ar, 1.3333)));
}
.lb__stage { width: 100%; border-radius: 8px; overflow: hidden; }
/* Ratio comes from the slot's own class; the panel above has already
   constrained the width, so the cell just fills it. */
.lb__stage > .ph {
  --ar: 1.3333;
  width: 100%;
  margin-inline: auto;
}
.lb__stage > .ph--1x1  { --ar: 1; }
.lb__stage > .ph--3x4  { --ar: .75; }
.lb__stage > .ph--16x9 { --ar: 1.7778; }
.lb__stage > .ph::after { font-size: 14px; padding: 12px 18px; }
.lb__cap { margin-top: 16px; text-align: center; color: #fff; font-family: var(--f-accent); font-style: italic; font-size: 19px; }
.lb__x { position: absolute; top: 24px; right: 28px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); color: #fff; display: grid; place-items: center; }
.lb__x svg { width: 20px; height: 20px; }
.lb__x:hover { background: rgba(255,255,255,.15); }

/* ── Forms ────────────────────────────────────────────────── */
.field { width: 100%; height: 46px; padding: 0 16px; font-family: var(--f-body); font-size: 13.5px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-btn);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
textarea.field { height: auto; min-height: 108px; padding: 14px 16px; resize: vertical; line-height: 1.6; }
select.field { appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--body) 50%), linear-gradient(135deg, var(--body) 50%, transparent 50%);
  background-position: calc(100% - 19px) 20px, calc(100% - 14px) 20px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.field::placeholder { color: #A79E8E; }
.field:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194,160,85,.2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.form-grid .full { grid-column: 1 / -1; }
.status { font-size: 13px; font-weight: 600; color: var(--green); min-height: 1.4em; }

/* ── Panels (Contact) ─────────────────────────────────────── */
.panel { border-radius: var(--r-card); overflow: hidden; }
.panel--cream { background: var(--cream-2); border: 1px solid var(--rule); padding: 34px; }
.panel--green .panel__pad { padding: 34px 34px 28px; }
.panel__note { background: var(--band); border-radius: var(--r-btn); padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; }
.panel__note svg { width: 26px; height: 26px; color: var(--gold-dark); flex: none; }

.mapwrap { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--rule); position: relative; }
.mapwrap iframe { width: 100%; height: 420px; border: 0; }
.mapcard { position: absolute; left: 22px; top: 22px; background: var(--paper); border-radius: var(--r-btn); padding: 16px 20px; box-shadow: 0 10px 30px rgba(0,0,0,.14); display: flex; gap: 12px; max-width: 268px; }
.mapcard svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 2px; }

/* ── Newsletter band ──────────────────────────────────────── */
.newsband { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 34px; align-items: center; }
.newsform { display: flex; max-width: 430px; }
.newsform .field { border-radius: var(--r-btn) 0 0 var(--r-btn); border-right: 0; }
.newsform .btn { border-radius: 0 var(--r-btn) var(--r-btn) 0; }
.newsform .btn:hover { transform: none; box-shadow: none; }

/* ── CTA band ─────────────────────────────────────────────── */
.ctaband { display: grid; grid-template-columns: 1fr auto 1fr; gap: 34px; align-items: center; }
.ctaband__or { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; font-size: 12px; letter-spacing: .1em; color: rgba(255,255,255,.8); }
.ctaband__side { display: flex; align-items: center; gap: 22px; justify-content: space-between; }
.ctaband h3 { font-size: 24px; margin-bottom: 6px; }
.ctaband p { font-size: 13px; }

/* ── Footer ───────────────────────────────────────────────── */
/* ── Footer scene ─────────────────────────────────────────────
   The Karnataka landscape sits at the bottom edge and dissolves
   upward into --green-dark, so there's no visible seam where the
   image starts. Two layers, painted back to front:
     ::before  the photograph, anchored bottom
     ::after   a green wash that fades the top away and keeps the
               sunset from fighting the text sitting over it        */
.ftr {
  background: var(--green-dark);
  color: rgba(255,255,255,.72);
  position: relative; overflow: hidden;
  isolation: isolate;
}
.ftr::before,
.ftr::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.ftr::before {
  z-index: 0;
  background-image: image-set(
    url("../assets/images/footer-scene-1600.webp") type("image/webp"),
    url("../assets/images/footer-scene-1600.webp") type("image/jpeg"));
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}
.ftr::after {
  z-index: 1;
  background:
    linear-gradient(180deg,
      var(--green-dark) 0%,
      rgba(34,57,29,.97) 18%,
      rgba(34,57,29,.80) 42%,
      rgba(34,57,29,.62) 70%,
      rgba(34,57,29,.58) 100%);
}
/* The line-art gopurams were standing in for exactly this scene */
.ftr .sketch { display: none; }
.ftr__top { display: grid; grid-template-columns: minmax(0,1.5fr) repeat(3, minmax(0,1fr)) minmax(0,1.5fr); gap: 34px; padding-block: 54px 42px; position: relative; z-index: 2; }
.ftr h4 { font-family: var(--f-body); font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; color: var(--gold-pale); }
.ftr p, .ftr li { font-size: 14.4px; line-height: 1.85; }
.ftr ul { display: grid; gap: 5px; }
.ftr a:hover { color: var(--gold-pale); }
.ftr__contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.ftr__contact svg { width: 16px; height: 16px; color: var(--gold-pale); flex: none; margin-top: 4px; }
.ftr__bot { border-top: 1px solid rgba(255,255,255,.13); padding-block: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12px; position: relative; z-index: 2; }
.ftr__bot .orn { width: 120px; margin: 0; color: rgba(223,203,150,.5); }

/* ── Floating widgets (Home) ──────────────────────────────── */
.rail { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 80; display: grid; background: var(--green); border-radius: 8px 0 0 8px; overflow: hidden; }
.rail a { width: 42px; height: 44px; display: grid; place-items: center; color: rgba(255,255,255,.9); transition: background-color var(--dur) var(--ease); }
.rail a svg { width: 18px; height: 18px; }
.rail a:hover { background: var(--green-soft); }

.fabs { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: grid; gap: 12px; justify-items: center; }
.fab { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.24); transition: transform var(--dur) var(--ease); text-align: center; }
.fab:hover { transform: translateY(-4px); }
.fab svg { width: 24px; height: 24px; }
.fab--wa { background: #25A34A; }
.fab--order { background: var(--green); font-size: 8px; font-weight: 700; letter-spacing: .04em; line-height: 1.15; text-transform: uppercase; }
.fab--order svg { width: 15px; height: 15px; margin-bottom: 2px; }
.fab--top { background: var(--green-dark); opacity: 0; visibility: hidden; }
.fab--top.is-on { opacity: 1; visibility: visible; }

/* ── Reveal ───────────────────────────────────────────────── */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 750ms var(--ease), transform 750ms var(--ease); transition-delay: var(--d, 0ms); }
.rv.on { opacity: 1; transform: none; }

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

/* ── Utilities ────────────────────────────────────────────── */
.tc { text-align: center; }
.mt-6 { margin-top: 6px; } .mt-10 { margin-top: 10px; } .mt-14 { margin-top: 14px; }
.mt-18 { margin-top: 18px; } .mt-24 { margin-top: 24px; } .mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; } .mt-52 { margin-top: 52px; }
.mx-auto { margin-inline: auto; }


/* ── Menu board ───────────────────────────────────────────────
   Category rail + dish grid, after the ordering-platform layout
   in the client references. Rail is a sticky sidebar on desktop
   and a horizontal tab strip on mobile.                         */
.menuboard {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

/* Rail */
/* The whole side column sticks; the rail itself stays static so the
   legend beneath it rides along instead of scrolling away. */
.menuboard__side { position: sticky; top: 118px; }
.menurail {
  background: var(--paper);
  border: 1px solid var(--rule); border-radius: var(--r-card);
  padding: 6px; overflow: hidden;
}
.menurail__hd {
  padding: 14px 14px 12px; margin: 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--f-body); font-size: 10.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--green);
}
.menurail__hd span {
  display: block; margin-top: 5px;
  font-size: 11px; font-weight: 500; letter-spacing: .02em;
  text-transform: none; color: var(--body);
}
.menurail__list { list-style: none; margin: 6px 0 0; padding: 0; }
.menurail__list a {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 13px; border-radius: 6px;
  font-size: 15px; font-weight: 500; color: var(--body);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.menurail__list svg { width: 16px; height: 16px; flex: none; color: var(--gold-dark); }
.menurail__name { flex: 1 1 auto; }
.menurail__n {
  font-size: 10.5px; font-weight: 700; color: var(--gold-dark);
  font-variant-numeric: tabular-nums;
}
.menurail__list a:hover { background: var(--cream-2); color: var(--green); }
.menurail__list a[aria-current="true"] {
  background: var(--green); color: #fff; font-weight: 600;
}
.menurail__list a[aria-current="true"] svg,
.menurail__list a[aria-current="true"] .menurail__n { color: var(--gold-pale); }

/* Sections */
.menu-legend {
  display: flex; align-items: flex-start; gap: 9px;
  margin: 14px 0 0; padding: 14px 16px;
  font-size: 11.8px; line-height: 1.65; color: var(--body);
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--r-card);
}
.menu-legend svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: #6E9C4F; }

.menu-sec { margin-bottom: 52px; scroll-margin-top: 132px; }
.menu-sec:last-child { margin-bottom: 0; }
.menu-sec__head { margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.menu-sec__head h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 6px; }
.menu-sec__blurb { font-size: 15px; line-height: 1.75; color: var(--body); max-width: 62ch; }
.menu-sec__note { margin-top: 7px; font-size: 12px; font-style: italic; color: var(--gold-dark); }

.dishgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.menu-sub {
  grid-column: 1 / -1; margin: 12px 0 2px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold-dark);
}

/* Dish card */
.dish {
  position: relative; display: flex; align-items: stretch; gap: 0;
  background: var(--paper);
  border: 1px solid var(--rule); border-radius: var(--r-card);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.dish:hover { border-color: var(--gold-pale); box-shadow: 0 10px 26px rgba(46,40,25,.09); }
.dish__txt { flex: 1 1 auto; min-width: 0; padding: 17px 16px 17px 19px; }
.dish__name {
  font-family: var(--f-display); font-size: 18px; font-weight: 700; letter-spacing: -.018em;
  color: var(--green); line-height: 1.3; margin-bottom: 4px;
}
.dish__price {
  font-size: 15px; font-weight: 600; color: var(--ink);
  font-variant-numeric: tabular-nums; margin-bottom: 7px;
}
.dish__desc {
  font-size: 14px; line-height: 1.65; color: var(--body); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  line-clamp: 3; overflow: hidden;
}
.dish__badge {
  display: inline-block; margin: 9px 0 0; padding: 3px 9px;
  font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: var(--green-mid); border-radius: var(--r-pill);
}

.dish__media { position: relative; flex: none; width: 132px; align-self: stretch; }
.dish__media .ph { width: 100%; height: 100%; aspect-ratio: auto; }
.dish__add {
  position: absolute; right: 9px; bottom: 9px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); color: var(--green);
  border: 1px solid var(--rule); box-shadow: 0 3px 10px rgba(46,40,25,.22);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.dish__add svg { width: 17px; height: 17px; }
.dish__add:hover { background: var(--green); color: #fff; border-color: var(--green); }
.dish__add:active { transform: scale(.9); }
.dish__add[data-n]::after {
  content: attr(data-n);
  position: absolute; top: -6px; right: -6px;
  min-width: 19px; height: 19px; padding: 0 5px;
  display: grid; place-items: center;
  font-size: 10.5px; font-weight: 700; line-height: 1;
  color: #fff; background: var(--saffron); border-radius: var(--r-pill);
  font-variant-numeric: tabular-nums;
}

/* Order tray */
.tray {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 88;
  background: var(--green-dark); color: #fff;
  border-top: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 -6px 30px rgba(20,32,17,.28);
  transform: translateY(100%);
  transition: transform var(--dur) var(--ease);
}
.tray.is-on { transform: none; }
.tray__in { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 14px; }
.tray__sum { margin: 0; font-size: 13.5px; color: rgba(255,255,255,.78); }
.tray__sum strong { color: #fff; font-variant-numeric: tabular-nums; }
.tray__acts { display: flex; align-items: center; gap: 14px; }
.tray__clear {
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-pale); padding: 8px 4px;
}
.tray__clear:hover { color: #fff; }
body.has-tray .fabs { bottom: 86px; }

/* ── Catering enquiry block ───────────────────────────────────
   Was three inline-styled panels; the inline grid-template-columns
   outranked every media query, so the block never collapsed and the
   form overflowed on narrow screens. Classes here so it can respond. */
.enquiry {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr) minmax(0, .7fr);
  align-items: stretch;
}
.enquiry__aside,
.enquiry__note {
  display: flex; flex-direction: column; justify-content: center; text-align: center;
}
.enquiry__aside { border-radius: var(--r-card) 0 0 var(--r-card); }
.enquiry__form {
  border-radius: 0; border-left: 0; border-right: 0;
  background: var(--paper);
}
.enquiry__note { border-radius: 0 var(--r-card) var(--r-card) 0; }
.enquiry__note .tiny { max-width: 26ch; margin-inline: auto; }

/* The note column carried a 44px line icon in a panel with a lot of empty
   vertical room. The brass lamp is a full-colour object, so it sits at full
   opacity and actually fills the box. Width is a percentage of the column
   with a hard ceiling — the column is the narrowest of the three and shrinks
   before the others do, and `height:auto` on a 520x434 source keeps it from
   ever squashing. */
.enquiry__lamp {
  display: block;
  width: clamp(130px, 68%, 200px);
  height: auto;
  max-width: 100%;
  margin: 0 auto 20px;
}

/* Fields that can't carry a placeholder need a visible label */
.fieldset__lb {
  display: block; margin-bottom: 6px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-dark);
}
.field--select, select.field {
  appearance: none; -webkit-appearance: none;
  padding-right: 42px; cursor: pointer;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23A98940' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px 17px;
}
input[type="date"].field { padding-right: 12px; }
input[type="date"].field::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .55; }
input[type="date"].field::-webkit-calendar-picker-indicator:hover { opacity: 1; }
textarea.field { height: auto; min-height: 118px; padding: 14px 16px; line-height: 1.65; resize: vertical; }
.form-grid .btn { width: 100%; justify-content: center; }

/* ── Wooden spatula cursor ────────────────────────────────────
   The tawa spatula the dosas are made with. Natural wood for the
   default, saffron-tinted over anything interactive. Both carry a
   cream halo so they stay visible on the dark green bands.

   Scoped to fine pointers only: touch devices have no cursor,
   and forcing one there just costs bytes. Text inputs keep the
   native I-beam — a spatula over a text field hides the caret and
   makes it hard to judge where a click will land.               */
@media (hover: hover) and (pointer: fine) and (prefers-contrast: no-preference) {
  :root {
    --cur-spatula: url("../assets/images/cursor-spatula.png") 6 0, auto;
    --cur-spatula-link: url("../assets/images/cursor-spatula-link.png") 6 0, pointer;
  }
  /* 2x for retina, where supported — falls back to the rules above */
  @supports (cursor: image-set(url("../assets/images/cursor-spatula.png") 1x) 6 0, auto) {
    :root {
      --cur-spatula: image-set(
        url("../assets/images/cursor-spatula.png") 1x,
        url("../assets/images/cursor-spatula@2x.png") 2x) 6 0, auto;
      --cur-spatula-link: image-set(
        url("../assets/images/cursor-spatula-link.png") 1x,
        url("../assets/images/cursor-spatula-link@2x.png") 2x) 6 0, pointer;
    }
  }

  html:not(.cursor-native), html:not(.cursor-native) body { cursor: var(--cur-spatula); }

  html.cursor-native, html.cursor-native body { cursor: auto; }

  html:not(.cursor-native) :is(
  a[href], button, summary, label[for],
  select, input[type="checkbox"], input[type="radio"],
  input[type="submit"], input[type="button"], input[type="date"],
  [role="button"], [tabindex]:not([tabindex="-1"]),
  .btn, .pill, a.chip, .gal__item, .dish__add, .fab,
  .burger, .hero__dots button, .quotes__nav) {
    cursor: var(--cur-spatula-link);
  }

  /* Anything that needs its native affordance keeps it */
  input:not([type]), input[type="text"], input[type="email"],
  input[type="tel"], input[type="url"], input[type="search"],
  input[type="number"], input[type="password"], textarea {
    cursor: text;
  }
  [disabled], .btn[disabled], button[disabled] { cursor: not-allowed; }
}

/* Opt-out control in the footer. Custom cursors are smaller and lower
   contrast than the pointer a person has configured at OS level, so the
   leaf is always escapable. High-contrast users never get it at all —
   see the prefers-contrast guard on the cursor block above. */
.ftr__bot-end { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.cursor-toggle {
  display: none; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: var(--r-pill);
  border: 1px solid rgba(223,203,150,.34);
  font-size: 11.5px; letter-spacing: .04em; color: rgba(255,255,255,.66);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.cursor-toggle svg { width: 13px; height: 13px; color: var(--gold-pale); }
.cursor-toggle:hover { color: #fff; border-color: var(--gold-pale); }
.cursor-toggle[aria-pressed="false"] svg { opacity: .4; }
.cursor-toggle:focus-visible { outline: 2px solid var(--gold-pale); outline-offset: 3px; }

/* Toggle appears only where the leaf cursor actually applies — hidden on
   touch, and hidden for high-contrast users who never get it anyway.
   Must come after the base .cursor-toggle rule to win on source order. */
@media (hover: hover) and (pointer: fine) and (prefers-contrast: no-preference) {
  .cursor-toggle { display: inline-flex; }
}

/* ── Header live clock ────────────────────────────────────────
   Shows the restaurant's local time (Perth), not the visitor's, so
   someone browsing from interstate sees whether the kitchen is open
   right now rather than what their own clock says. */
/* ── Trust badges ─────────────────────────────────────────── */
.sec--slim { padding-block: 42px; }
.badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  list-style: none; margin: 0; padding: 0;
}
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 21px; border-radius: 8px;
  border: 1px solid var(--rule); background: var(--paper);
  font-size: 14px; font-weight: 600; letter-spacing: -.005em; color: var(--green);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.badge:hover { border-color: var(--gold-pale); box-shadow: 0 6px 18px rgba(46,40,25,.07); }
.badge svg { width: 17px; height: 17px; flex: none; color: var(--gold-dark); }
.badge--veg svg { color: #5E9440; }

/* ── Running menu ticker ──────────────────────────────────── */
.ticker {
  background: var(--green-dark); overflow: hidden;
  border-block: 1px solid rgba(223,203,150,.16);
  padding-block: 17px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ticker__track { display: flex; width: max-content; animation: tickerRun 46s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__run { display: flex; align-items: center; flex: none; }
.ticker__item {
  display: inline-flex; align-items: center; gap: 10px; padding: 0 22px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase;
  color: var(--gold-pale); white-space: nowrap;
  transition: color var(--dur) var(--ease);
}
.ticker__item svg { width: 19px; height: 19px; flex: none; color: var(--gold); }
.ticker__item:hover { color: #fff; }
.ticker__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex: none; opacity: .65; }
@keyframes tickerRun { to { transform: translateX(-50%); } }

/* A marquee is motion for its own sake — stop it for anyone who asked. */
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .ticker { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
  .ticker__run:last-child { display: none; }
}

/* ── Dish photo, clickable ────────────────────────────────── */
.dish__shot {
  display: block; width: 100%; height: 100%; padding: 0;
  background: none; border: 0; text-align: left;
}
.dish__shot .ph { transition: opacity var(--dur) var(--ease); }
.dish__shot:hover .ph { opacity: .84; }
.dish__shot:focus-visible { outline: 2px solid var(--saffron); outline-offset: -3px; }
.card__media[data-lightbox] { cursor: var(--cur-spatula-link, pointer); }
.card__media[data-lightbox]:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; }

/* Ornament headings are inline-flex rows; the two-voice text needs a wrapper
   so the accent line stacks inside the flex item rather than breaking the row. */
.head-stack { display: block; text-align: center; }

@media (min-width: 1500px) {
  .ftr::before {
    background-image: image-set(
      url("../assets/images/footer-scene-2400.webp") type("image/webp"),
      url("../assets/images/footer-scene-2400.webp") type("image/jpeg"));
  }
}

/* Short bands don't have the height for the full motif — it climbs into the
   heading. Scale it back so it stays a corner watermark. */
.sec--tight .sketch--temple { width: 210px; }

/* Gallery hero scene: the traced temple flanked by palms.
   .hero--art .hero__photo is a centred grid whose children are forced to
   100% w/h and green — these overrides need the same specificity to win. */
.hero--art .hero__photo.hero__scene {
  display: flex; flex-direction: row;
  align-items: flex-end; justify-content: center;
  gap: 3%; padding: 40px 40px 6px;
  color: var(--gold); opacity: .6;
}
.hero__scene > * { width: auto; height: auto; }
.hero--art .hero__scene .hero__scene-temple {
  width: 46%; max-width: 360px; height: auto;
}
.hero--art .hero__scene svg.hero__scene-palm {
  width: 15%; max-width: 112px; height: auto;
  aspect-ratio: 120 / 200; color: inherit;
}
.hero--art .hero__scene svg.hero__scene-palm--sm { width: 11%; max-width: 84px; }

/* ── Spice burst ──────────────────────────────────────────────
   Decorative click effect. The layer never takes pointer events,
   so nothing underneath becomes unclickable. */
.spice-layer {
  position: fixed; inset: 0; z-index: 250;
  pointer-events: none; overflow: hidden;
}
.spice {
  position: absolute; display: block;
  margin: 0; transform: translate(-50%, -50%);
  will-change: transform, opacity;
  animation: spiceThrow var(--dur, 900ms) cubic-bezier(.2, .55, .35, 1) forwards;
}
@keyframes spiceThrow {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg) scale(.35);
  }
  14% {
    opacity: 1;
    transform: translate(calc(-50% + var(--px) * .55), calc(-50% + var(--py) * .55))
               rotate(calc(var(--rot) * .2)) scale(1);
  }
  /* apex, then gravity takes it down past the start point */
  45% {
    opacity: 1;
    transform: translate(calc(-50% + var(--px)), calc(-50% + var(--py)))
               rotate(calc(var(--rot) * .6)) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--ex)), calc(-50% + var(--ey)))
               rotate(var(--rot)) scale(.9);
  }
}
@media (prefers-reduced-motion: reduce) {
  .spice-layer { display: none; }
}

/* ── Hero video ───────────────────────────────────────────── */
/* .hero__photo is already absolutely positioned and is its own containing
   block — do NOT set position here or the hero layout collapses to stacked. */
.hero__video { overflow: hidden; }
/* `display: block` here beats the UA rule for [hidden], so BOTH clips paint
   and the second covers the first. Must be re-hidden explicitly. */
.hero__vid[hidden] { display: none; }
.hero__vid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  /* The hero column is far taller than 16:9, so the crop is severe.
     Bias right so the idli and the pouring spoon stay in frame. */
  object-position: 76% 50%;
  background: var(--wire-bg);
}
/* Sits above .hero__in (z-index 2), which spans the full hero and would
   otherwise swallow every pointer event aimed at the video. */
.hero__vid-btn {
  /* Bottom-LEFT of the video panel: the right edge belongs to the social
     rail and the floating order/WhatsApp buttons. */
  position: absolute; left: calc(50% + 20px); right: auto; bottom: 20px; z-index: 6;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--green); background: rgba(248,245,234,.86);
  border: 1px solid rgba(46,75,40,.16);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: .55;
  transition: opacity var(--dur) var(--ease), background var(--dur) var(--ease);
}
.hero__vid-btn svg { width: 15px; height: 15px; }
.hero:hover .hero__vid-btn,
.hero__vid-btn:hover,
.hero__vid-btn:focus-visible { opacity: 1; background: var(--paper); }


/* ── Spinning dosa in the logo ────────────────────────────────
   The wordmark ships with the swirl erased; the swirl rides on top
   as its own layer so it can rotate without dragging the letters.
   Geometry is measured from the source art — centre 45.66% across,
   diameter 30.63% of the lockup width. */
/* inline-block so the wrapper shrinks to the base image. A fixed
   aspect-ratio here stretches the stacked footer lockup and drags the
   swirl off the "o" — the percentages are relative to this box. */
.brand__logo--split { position: relative; display: inline-block; width: auto; }
.brand__logo-base { display: block; width: auto; height: 100%; }
.brand__dosa {
  position: absolute;
  width: 30.63%; height: auto;
  left: 45.66%; top: 75.57%;
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
  animation: dosaSpin 14s linear infinite;
}
.brand__logo--stack .brand__dosa { top: 67.65%; }
@keyframes dosaSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
/* A logo that never stops turning is exactly the kind of motion
   people disable at OS level. */
@media (prefers-reduced-motion: reduce) {
  .brand__dosa { animation: none; }
}

/* ── Section decoration ───────────────────────────────────────
   Supplied artwork anchored to the section edges. Always behind
   the content, never interactive, and clipped by the section so a
   piece hanging off the edge can't create a horizontal scrollbar. */
.sec--decor { overflow: hidden; }
.decor {
  position: absolute; z-index: 0; pointer-events: none;
  /* clamp, not a bare percentage: short bands were shrinking an element to a
     150px speck while its partner in a tall section rendered at 550px, so a
     pair read as mismatched rather than mirrored. */
  height: clamp(200px, 86%, 620px); width: auto; max-height: 100%;
  opacity: .5;
}
/* Sit fully inside the section — overhanging the edge just reads as a
   cropped illustration, not as intentional bleed. */
.decor--left  { left: 0;  top: 50%; transform: translate(0, -50%); }
.decor--right { right: 0; top: 50%; transform: translate(0, -50%) scaleX(-1); }
/* Content sits above the artwork */
.sec--decor > .shell { position: relative; z-index: 2; }

/* Gold botanical: tall and narrow, hugs the edge full-bleed */

/* Mandala sits on green — it needs to read as a watermark, not a graphic */
.decor--mandala { opacity: .16; height: clamp(260px, 96%, 620px); }
.decor--mandala.decor--left  { transform: translate(0, -50%); }
.decor--mandala.decor--right { transform: translate(0, -50%) scaleX(-1); }
/* Photographic banana leaf is the only full-colour element here — it needs a
   soft inner edge or it sits on the page as a cut-out rather than blending. */
.decor--banana {
  /* CTA bands are short; a percentage height leaves only a sliver showing,
     so this one is sized absolutely and lets the section clip it. */
  height: 100%; max-height: 100%; opacity: .32;
  -webkit-mask-image: linear-gradient(100deg, #000 24%, rgba(0,0,0,.55) 58%, transparent 88%);
          mask-image: linear-gradient(100deg, #000 24%, rgba(0,0,0,.55) 58%, transparent 88%);
}
/* on green the leaf can carry more weight */
.bg-green .decor--banana { opacity: .38; }
.decor--banana.decor--left  { transform: translate(0, -50%); }
.decor--banana.decor--right { transform: translate(0, -50%) scaleX(-1); }
/* Sage line art is already pale */
.decor--sage { opacity: .55; height: clamp(220px, 86%, 560px); }
/* the sage corner is a complete spray, so keep it whole rather than letting
   it run past the right edge. Unmirrored: its fronds should open away from
   the content, not back into it. */
.decor--sage.decor--right {
  right: max(var(--pad), calc((100% - var(--shell)) / 2));
  transform: translate(0, -50%);
}

/* Decoration is the first thing to go when space is tight */
@media (max-width: 1180px) { .decor { height: clamp(170px, 80%, 420px); opacity: .38; } }
@media (max-width: 860px)  { .decor { display: none; } }


/* ── Hero panel: whole-product variant ────────────────────────
   The photograph is padded with its own ground so `cover` needs no crop —
   the subject stays whole while the panel still fills edge to edge. Keeping
   cover (not contain) is what makes it read as one banner instead of a
   picture in a box; the inherited horizontal fade dissolves the inner edge,
   and the bottom fade is off. */
.hero__photo--whole { inset: 0 0 0 27%; }
.hero__photo--whole::after { display: none; }
.hero__photo--whole .ph { position: relative; }
.hero__photo--whole .ph > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right center;
}

/* ── Stay Updated: brass lamp ─────────────────────────────────
   Full-colour object, so it sits at full opacity and anchors the
   band's left edge rather than washing out like the line art. */
.decor--lamp {
  opacity: 1;
  /* must clear the band's left gutter without reaching the mail icon, and
     stay short enough that the lamp isn't clipped top or bottom */
  height: clamp(112px, 74%, 156px);
  top: 50%;
  /* left edge lines up with the shell, i.e. with the header logo above it —
     same calc .shell uses for its own margin */
  left: max(var(--pad), calc((100% - var(--shell)) / 2));
  transform: translate(0, -50%);
}

/* ── Form note strip: leaf corner ─────────────────────────────
   The note is the only part of the form panel with a tint, so the
   leaf sits inside it, clipped to the corner. */
.panel__note { position: relative; overflow: hidden; }
.panel__note > *:not(.note__leaf) { position: relative; z-index: 2; }
.note__leaf {
  position: absolute; right: 0; bottom: 0;
  height: 100%; max-height: 100%; width: auto; z-index: 0;
  opacity: .5; pointer-events: none;
}

/* The lamp sits in the page gutter, which narrows as the viewport does — at
   1440 it reached the mail icon. Reserve room for it in the band itself. */
@media (min-width: 861px) {
  .decor--lamp ~ .shell .newsband { padding-left: 210px; }
}

/* Headings that keep the two-voice treatment but stay on one line. The accent
   span is display:block by default, so it also needs a space restored before
   it — the markup has none, since it butts straight onto the preceding word. */
.is-oneline .italic-line { display: inline; }
.is-oneline .italic-line::before { content: " "; }


/* ── Clock pill ───────────────────────────────────────────────
   Yesterday / today / tomorrow stacked at the left with today picked out,
   then the live time, the open state and the year, divided by hairlines.
   All restaurant-local. Defined ONCE — earlier drafts left competing
   .clock blocks fighting over flex-direction. */
.clock {
  display: flex; flex-direction: row; align-items: stretch; gap: 0;
  height: 52px; padding: 0; overflow: hidden;
  border: 1px solid var(--rule); border-radius: var(--r-pill);
  background: var(--paper); font-variant-numeric: tabular-nums;
}
.clock > * { display: flex; align-items: center; padding: 0 12px; }
.clock > * + * { border-left: 1px solid var(--rule); }
.clock__days {
  flex-direction: column; justify-content: center; gap: 0;
  font-size: 8.5px; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: var(--body); line-height: 1.35; opacity: .5;
}
.clock__days b {
  font-size: 12.5px; font-weight: 800; color: var(--green);
  letter-spacing: .05em; opacity: 1;
}
.clock__now { gap: 8px; }
.clock__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--rule); }
.clock.is-open .clock__dot { background: #5E9440; box-shadow: 0 0 0 3px rgba(94,148,64,.16); }
.clock.is-shut .clock__dot { background: var(--saffron); box-shadow: 0 0 0 3px rgba(219,105,28,.15); }
.clock__time { font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: var(--green); }
.clock__state {
  font-size: 10px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--gold-dark);
}
.clock.is-shut .clock__state { color: var(--saffron-dark); }
.clock__yr { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--gold-dark); }

/* Promise-strip titles read as one line — "Handcrafted Chutneys" and
   "Slow-Cooked Sambar" were breaking across two and unbalancing the row. */
/* equal columns are tighter than the old auto-sized ones — trim the title
   so the longest ("Handcrafted Chutneys") clears its divider */
.col-item h3 { white-space: nowrap; font-size: 15.5px; }
.cols.g6 .col-item { padding-inline: 12px; }

/* Openable card media — the whole shot is a target, the caption comes
   from the card's own heading. */
.cardshot { cursor: var(--cur-spatula-link, pointer); display: block; }
.cardshot .ph { transition: opacity var(--dur) var(--ease); }
.cardshot:hover .ph, .card__media[data-lightbox]:hover .ph { opacity: .86; }
.cardshot:focus-visible,
.card__media[data-lightbox]:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; }

/* ── Lightbox card ────────────────────────────────────────────
   Photo on top, then name + price on one row and the description
   beneath — the panel reads as a card, not a caption under an image. */
.lb > div { background: var(--paper); border-radius: 12px; overflow: hidden; }
.lb__stage { border-radius: 0; }
.lb__cap {
  margin: 0; padding: 15px 18px 18px; text-align: left;
  font-family: var(--f-body); font-style: normal; font-size: inherit;
}
.lb__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 14px; margin: 0 0 6px;
}
.lb__name {
  font-family: var(--f-display); font-size: 19px; font-weight: 700;
  letter-spacing: -.02em; color: var(--green);
}
.lb__price {
  font-family: var(--f-display); font-size: 17px; font-weight: 700;
  color: var(--gold-dark); white-space: nowrap; font-variant-numeric: tabular-nums;
}
.lb__desc { margin: 0; font-size: 14px; line-height: 1.6; color: var(--body); max-width: 60ch; }

/* Supplied section icons ship as green PNGs, so they can't inherit `color`
   like the sprite symbols did — size them the same and let opacity do any
   softening the old currentColor rules were doing. */
/* Icons are normalised by ink AREA in the source PNGs, so a single square
   box here renders them at a consistent visual weight. */
img.col-item__icon, img.story-card__icon {
  display: block; width: 78px; height: 78px;
  object-fit: contain; margin: 0 auto 14px;
}
img.story-card__icon { width: 64px; height: 64px; margin-bottom: 10px; }

/* ── Catering hero ───────────────────────────────────────────
   Banner runs full width at its own 1636x855 ratio — never masked,
   cropped or faded. The artwork has no built-in text panel, so the
   copy sits BELOW it on the section's green ground rather than being
   laid over a busy photograph. */
.hero--banner { position: relative; height: auto; min-height: 0; background: #2A4423; }
.hero--banner .hero__photo {
  position: relative; inset: auto; z-index: 0; height: auto;
  width: 100vw; margin-left: calc(50% - 50vw);
  -webkit-mask-image: none; mask-image: none;
}
.hero--banner .hero__photo::after { display: none; }
.hero--banner .hero__photo .ph {
  position: relative; height: auto; aspect-ratio: 1636 / 855;
}
.hero--banner .hero__photo .ph > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: center center;
}
.hero--banner .hero__in { grid-template-columns: 1fr; min-height: 0; }
.hero--banner .hero__copy { padding: 44px 0 46px; max-width: 70ch; }
.hero--banner .hero__copy h1 { color: #fff; }
.hero--banner .hero__copy .italic-line { color: var(--gold-pale); }
.hero--banner .hero__copy .eyebrow { color: var(--gold-pale); }
.hero--banner .hero__copy .lede { color: rgba(255,255,255,.88); }
.hero--banner .hero__copy .orn { color: var(--gold); }
.hero--banner .hero__btns .link-arrow { color: #fff; }
.hero--banner .hero__btns .link-arrow:hover { color: var(--gold-pale); }
.hero--banner .hero__btns .btn--fill {
  background: var(--paper); color: var(--green); border-color: var(--paper);
}

/* The service photo is square now, so this section goes back to the
   standard bleed: copy left on cream, photo filling the right panel. */
/* The photo is square; a short wide panel would crop it to a letterbox and
   lose the banana-leaf service entirely. Give the band height so the panel
   sits closer to the source ratio.
   Dissolves into the copy with the same gradient the heroes use, so the two
   treatments read as one system rather than two. */
.bleed--banner { min-height: 520px; }
/* No fade on this one: the photograph sits in its own panel with a clean
   edge, and the panel is sized close to the source's square ratio so the
   server and the whole banana-leaf spread stay in frame. */
.bleed--banner .bleed__photo {
  /* panel takes the photo's own 908x915 ratio and hugs the right edge, so
     `cover` fills it exactly — nothing cropped, no letterbox, no fade */
  /* Right edge lines up with the shell — i.e. with the header's Order button
     above it — rather than bleeding to the viewport. Panel takes the photo's
     own 1536x1024 ratio so `cover` fills it with nothing cropped. */
  position: absolute; top: 0; bottom: 0; left: auto;
  right: max(var(--pad), calc((100% - var(--shell)) / 2));
  height: 100%; width: auto; aspect-ratio: 1536 / 1024;
  -webkit-mask-image: none; mask-image: none;
}
.bleed--banner .bleed__photo .ph { position: absolute; inset: 0; height: 100%; }
.bleed--banner .bleed__photo .ph > img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
}
/* keep the copy clear of the photo panel — it was running 52px under it */
/* .bleed__in is the shell, not a grid — the copy fills its whole width and
   was running under the photo panel. Cap it to the space left of the panel. */
.bleed--banner .bleed__in { display: block; }
.bleed--banner .bleed__copy {
  padding: 56px 40px 56px 0;
  max-width: calc(100% - 800px);
  min-width: 280px;
}
/* With no fade, any overlap of copy and video is unreadable — so the video
   starts where the copy ends rather than sliding under it. */
.hero--video .hero__in { grid-template-columns: minmax(0, 50%) minmax(0, 50%); }
.hero--video .hero__copy { padding-right: 48px; }
.hero__photo--nofade { inset: 0 0 0 50%; }
.hero__photo--nofade {
  -webkit-mask-image: none; mask-image: none;
}
.hero__photo--nofade::after { display: none; }

/* Catering hero type matches Home exactly — same h1 scale, same lede. */
.hero--banner { height: auto; min-height: calc(100vw / 3.657); }
.hero--banner .hero__copy h1 { font-size: clamp(38px, 4.1vw, 58px); }
.hero--banner .hero__copy .lede { font-size: 16.5px; line-height: 1.9; }
.hero--banner .hero__in { grid-template-columns: minmax(0, 46%) minmax(0, 54%); }
.hero--banner .hero__copy { max-width: none; padding: 40px 40px 40px 0; }

/* Hero video slide dots — sit beside the pause control, above the panel. */
.hero__vdots {
  position: absolute; left: calc(50% + 70px); bottom: 26px; z-index: 6;
  display: flex; align-items: center; gap: 8px;
}
.hero__vdots button {
  width: 26px; height: 4px; border-radius: 2px;
  background: rgba(248,245,234,.5);
  transition: background var(--dur) var(--ease), width var(--dur) var(--ease);
}
.hero__vdots button.is-on { background: var(--paper); width: 38px; }
.hero__vdots button:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; }

/* The banner's ground is forest green, so a filled green button disappears
   into it — invert to cream with green type. */
.hero--banner .hero__btns .btn--fill {
  background: var(--paper); color: var(--green); border-color: var(--paper);
}
.hero--banner .hero__btns .btn--fill:hover { background: #fff; }

/* ── Dark hero ────────────────────────────────────────────────
   For heroes whose photograph is dark: the copy side takes the
   photo's own near-black (sampled at #11100C) so the fade dissolves
   into it instead of stopping against cream. */
.hero--dark { background: #11100C; }
.hero--dark .hero__copy h1 { color: #fff; }
.hero--dark .hero__copy .italic-line { color: var(--gold-pale); }
.hero--dark .hero__copy .eyebrow { color: var(--gold-pale); }
.hero--dark .hero__copy .lede,
.hero--dark .hero__copy p { color: rgba(255,255,255,.82); }
.hero--dark .hero__copy .orn { color: var(--gold); }
.hero--dark .hero__btns .btn--fill {
  background: var(--paper); color: #17200F; border-color: var(--paper);
}
.hero--dark .hero__btns .btn--fill:hover { background: #fff; }
.hero--dark .hero__btns .btn--paper,
.hero--dark .hero__btns .btn--ghost {
  background: rgba(255,255,255,.07); color: #fff; border-color: rgba(255,255,255,.42);
}
.hero--dark .hero__btns .link-arrow { color: #fff; }
.hero--dark .sketch, .hero--dark .decor { opacity: .1; }

/* ── Wide banner hero ─────────────────────────────────────────
   The artwork is a full 3.19:1 banner carrying its own parchment
   panel for the copy. Nothing is masked, cropped, faded or boxed:
   it runs the full width of the viewport at its own ratio and the
   copy sits over the parchment. Section ground is sampled from the
   artwork's own left edge so any overflow matches. */
/* Ground behind a wide banner. Cream, same as every other hero — the copy
   band that shows below the artwork when the copy stacks has to read as
   the same surface across all five pages. These used to be sampled per
   artwork (tan here, a paler parchment on menu), which left the two wide
   banners visibly different from home, contact and catering on mobile. */
.hero--wide { position: relative; height: auto; min-height: 0; background: var(--cream); }
.hero--wide .hero__photo--wide {
  position: relative; inset: auto; z-index: 0; height: auto;
  width: 100vw; margin-left: calc(50% - 50vw);
  -webkit-mask-image: none; mask-image: none;
}
.hero--wide .hero__photo--wide::after { display: none; }
.hero--wide .hero__photo--wide .ph {
  position: relative; height: auto;
  /* Each banner is a different piece of artwork, so the ratio comes from the
     hero itself — the .ph must match the file exactly or object-fit:fill
     below will stretch it. Default is the about banner's 2241x702. */
  aspect-ratio: var(--banner-ratio, 2241 / 702);
}
/* The banner is wrapped in <picture> so the portrait crop can be swapped in
   below 1180 — that pushes the <img> one level deeper, so both the direct
   child and the wrapped case are matched here. The wrapper itself is made
   a positioning context so `inset:0` still resolves against the .ph box. */
.hero--wide .hero__photo--wide .ph > picture { position: absolute; inset: 0; display: block; }
.hero--wide .hero__photo--wide .ph > img,
.hero--wide .hero__photo--wide .ph > picture > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: fill;            /* exact ratio match — no crop, no letterbox */
}
/* copy overlays the parchment third */
.hero--wide .hero__in {
  position: absolute; inset: 0; z-index: 2;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  align-items: center; min-height: 0;
}
/* About's copy sits on the artwork's parchment where there's room for it, and
   drops below the banner where there isn't — see the min-width rule in
   responsive.css. Ratio is declared here rather than inline on the section:
   an inline custom property outranks the media query that swaps in the
   narrow crop, which would leave the portrait file stretched to the wide box. */
.hero--wide-about { --banner-ratio: 2000 / 627; }
.hero--wide-about .hero__in {
  position: relative; inset: auto;
  grid-template-columns: 1fr; min-height: 0;
}
.hero--wide-about .hero__copy { padding: 28px 0 34px; max-width: 650px; }
/* Line art stays off the wide banners. On the other heroes it sits low in an
   empty corner; here the stacked copy occupies exactly that band, so the
   gopuram ended up running straight through the ornament and lede. */
.hero--wide .sketch, .hero--wide .decor { display: none; }

/* ── Menu banner ──
   Artwork carries its own panel and line art on the left, sized for the copy to
   sit in. The panel is dark in this artwork (mean luminance 36), so the copy is
   set light — see the overlay rules in responsive.css. Sizes and spacing are
   untouched; green ink here would fail contrast outright. */
/* Ratio lives here, not inline on the section: an inline custom property
   outranks the media query that swaps in the narrow crop, which would
   leave the portrait file stretched to the wide box. */
.hero--wide-menu { --banner-ratio: 2000 / 627; }
.hero--wide-menu .hero__in { grid-template-columns: minmax(0, 46%) minmax(0, 54%); }
.hero--wide-menu .hero__copy { padding: 0 30px 0 0; max-width: 650px; }

/* Packages band: leaves sit low in the corners as a light accent, not as a
   full-height backdrop the way they do on the wide CTA bands. */
#packages .decor--banana {
  /* whole leaf, full strength — the section grows to fit it rather than
     the leaf being cropped or faded to sit inside */
  /* whole leaf, full strength, sized so its ink clears the package cards
     instead of washing across them */
  height: 66%; max-height: 100%; top: auto; bottom: 0;
  opacity: 1;
}
#packages .decor--banana.decor--left  { transform: none; }
#packages .decor--banana.decor--right { transform: scaleX(-1); }

/* ── Legal pages (privacy, terms) ─────────────────────────────
   Long-form running text, so it's set for reading rather than for scanning
   like the rest of the site: a single narrow measure, generous leading, and
   numbered headings that stay clearly subordinate to the hero. */
.hero--legal { background: var(--cream); }
.hero--legal .hero__in { position: relative; inset: auto; grid-template-columns: 1fr; }
.hero--legal .hero__copy { padding: 64px 0 44px; max-width: 720px; }

.legal { max-width: 74ch; }
.legal__updated {
  margin: 0 0 30px; padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
  font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--gold-dark);
}
.legal__h {
  margin: 38px 0 12px;
  font-family: var(--f-display); font-size: 21px; font-weight: 700;
  letter-spacing: -.01em; color: var(--green);
}
.legal__h:first-of-type { margin-top: 8px; }
.legal p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.75; color: var(--body); }
.legal__list { margin: 0 0 16px; padding-left: 20px; }
.legal__list li {
  margin-bottom: 7px; font-size: 15.5px; line-height: 1.7; color: var(--body);
}
.legal__list li::marker { color: var(--gold-dark); }
.legal a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--gold-dark); }

/* ── Offscreen work the browser can skip ──────────────────────
   The menu is one ~9,900px page holding every section at once. Without this
   the browser lays out and paints all of it up front. content-visibility lets
   it skip anything not near the viewport; contain-intrinsic-size supplies a
   placeholder height so the scrollbar doesn't jump as sections are realised.
   Deliberately not applied to .hero or the first section — those are the ones
   the visitor sees immediately, and deferring them would delay first paint. */
.sec--defer {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

/* ── Connect with us (social cards) ───────────────────────────
   Three cards, each fronted by a vertical media slot because the posts these
   show are shot for phones — 9:16, not the landscape frames used elsewhere.
   The cards are capped and centred rather than filling a third of the shell:
   at 420px wide a 9:16 frame stands 747px tall, which would tower over every
   other section. The round badge straddles the seam between media and text,
   so it needs the media to clip and the card not to. */
.social { --badge: 74px; }
.social__grid {
  display: grid; gap: 26px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
}
.social__card {
  display: flex; flex-direction: column;
  width: 100%; max-width: 340px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  overflow: visible;                 /* the badge hangs past the media edge */
}
.social__media {
  position: relative;
  border-radius: var(--r-card) var(--r-card) 0 0;
  /* No overflow:hidden here — .ph already clips its own image, and clipping at
     this level cut the badge in half where it straddles the media edge. */
}
.social__media .ph { border-radius: inherit; }
.social__media video {
  display: block; width: 100%; height: 100%; object-fit: cover;
}
.social__badge {
  position: absolute; left: 50%; bottom: calc(var(--badge) / -2);
  transform: translateX(-50%);
  width: var(--badge); height: var(--badge); border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: var(--paper);
  border: 4px solid var(--paper);
  box-shadow: 0 6px 18px rgba(20, 32, 17, .18);
  z-index: 2;
}
.social__badge svg { width: 30px; height: 30px; fill: currentColor; }
.social__body {
  padding: calc(var(--badge) / 2 + 18px) 22px 26px;
  text-align: center;
}
.social__body h3 {
  margin: 0 0 8px;
  font-family: var(--f-display); font-size: 23px; font-weight: 600;
  color: var(--green);
}
.social__body p {
  margin: 0 0 16px; font-size: 15px; line-height: 1.65;
  color: var(--body); max-width: 30ch; margin-inline: auto;
}
.social__cta {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--green);
}
.social__cta svg { width: 18px; height: 18px; transition: transform .25s ease; }
.social__card:hover .social__cta svg,
.social__cta:hover svg { transform: translateX(5px); }

/* ── Social channel pills (mobile only) ───────────────────────
   Three tall phone-shaped cards stacked vertically make for a long scroll on
   a handset, so below the single-column breakpoint they collapse to one card
   with a pill switcher above it. The row scrolls horizontally rather than
   wrapping — with three channels it rarely needs to, but a fourth would
   otherwise push the layout around. Hidden on desktop, where all three fit
   side by side and a switcher would just add a click. */
.social__tabs { display: none; }
.social__tab {
  flex: 0 0 auto;
  padding: 12px 26px;
  font-family: var(--f-body); font-size: 15px; font-weight: 600;
  color: var(--green);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.social__tab.is-on {
  background: var(--green); color: var(--paper); border-color: var(--green);
}

/* ── Gallery banner ───────────────────────────────────────────
   The copy sits on the artwork like every other hero. This one differs in one
   respect only: the photograph is dark edge to edge (mean luminance 41, no
   light panel anywhere), so the copy is set light instead of green. Sizes,
   weights and spacing are untouched — green here would fail contrast outright.
   Below 1180 there's no narrow crop yet, and a 3.19:1 banner is a 135px strip
   on a phone, so the copy drops beneath it and returns to page ink. */
.hero--wide-gallery { --banner-ratio: 2000 / 626; background: var(--cream); }
.hero--wide-gallery .hero__in {
  position: relative; inset: auto;
  grid-template-columns: 1fr; min-height: 0;
}
.hero--wide-gallery .hero__copy { padding: 28px 0 34px; max-width: 650px; }

/* ── Form fallback ────────────────────────────────────────────
   Shown after a mailto submission. A mailto silently does nothing when the
   visitor has no mail client configured — common on desktop webmail — so the
   composed message is offered here with the address and a copy button rather
   than the enquiry vanishing without trace. */
.status__note { margin: 0 0 10px; font-size: 14px; line-height: 1.6; color: var(--body); }
.status__note a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.status__copy {
  margin: 0 0 12px; padding: 14px 16px;
  max-height: 190px; overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px; line-height: 1.65; white-space: pre-wrap; word-break: break-word;
  color: var(--body); background: var(--cream-2);
  border: 1px solid var(--rule); border-radius: 10px;
}
.status__btn { font-size: 13px; padding: 10px 18px; }

/* success / failure states for form submissions */
.status--ok {
  padding: 14px 16px; border-radius: 10px;
  background: rgba(46,75,40,.07); border: 1px solid rgba(46,75,40,.28);
  color: var(--green); font-weight: 600;
}
.status--err {
  padding: 14px 16px; border-radius: 10px;
  background: rgba(219,105,28,.08); border: 1px solid rgba(219,105,28,.35);
  color: #8A3D0B;
}
.status--err a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ── Gallery filter section ───────────────────────────────────
   The section carried an inline padding-top:0, which pinned the filter bar
   hard against the bottom edge of the banner with no breathing room at all.
   It now sits in its own space, with the gap above it matching the gap it
   already had below. */
.sec--gallery { padding-top: 52px; }
.sec--gallery .pillbar { margin-bottom: 52px; }

/* ── Contact and Catering banners ─────────────────────────────
   Both replaced the old split layout (copy on cream beside a photo band) with
   a full-width banner carrying its own dark panel on the left. Same treatment
   as About, Menu and Gallery: copy overlays the panel where there's room, and
   drops beneath it on narrow screens where a 3.19:1 image is only a thin
   strip. Light type on the overlay — those panels measure 29 and 15 mean
   luminance, far too dark for the green. */
.hero--wide-contact,
.hero--wide-catering { --banner-ratio: 2000 / 626; background: var(--cream); }
.hero--wide-contact .hero__in,
.hero--wide-catering .hero__in {
  position: relative; inset: auto;
  grid-template-columns: 1fr; min-height: 0;
}
.hero--wide-contact .hero__copy,
.hero--wide-catering .hero__copy { padding: 28px 0 34px; max-width: 650px; }

/* ── Touch target minimums ────────────────────────────────────
   WCAG 2.5.5 and Apple's HIG both put the minimum touch target at 44px.
   Several controls were drawn smaller than that: the dish "add" buttons at
   30x30 and the floating social rail at 34x34. Rather than enlarge the
   visible art, a pseudo-element extends the *hittable* area around each one,
   so the design is unchanged but the target is thumb-sized. */
.dish__add, .rail a, .lb__x, .hero__vid-btn, .socials a,
.cursor-toggle, .link-arrow, .social__cta, .pill, .hero__dots button,
.ftr__bot-end a, .tray__clear, .hero__vdots button {
  position: relative;
}
.dish__add::after, .rail a::after, .lb__x::after, .hero__vid-btn::after,
.socials a::after, .cursor-toggle::after, .link-arrow::after,
.social__cta::after, .pill::after, .hero__dots button::after,
.ftr__bot-end a::after, .tray__clear::after, .hero__vdots button::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  min-width: 44px; min-height: 44px;
  width: 100%; height: 100%;
  transform: translate(-50%, -50%);
}
/* Inline links inside body copy are exempt — WCAG allows targets in a
   sentence to follow the text, and padding them out would break the line. */

/* ── Logo pin on the map ──────────────────────────────────────
   Sits the brand mark over the embedded map at the venue position. The iframe
   embed has no custom-marker support (that needs the Maps JavaScript API and a
   billed key), so this is an overlay rather than a real marker — it can't move
   with panning, so it's anchored where the embed centres the address and made
   click-through so it never blocks the map underneath. */
.mapwrap { position: relative; }
.mappin {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -100%);
  width: 62px; height: 62px; pointer-events: none; z-index: 2;
  display: grid; place-items: center;
  background: var(--paper); border-radius: 50%;
  border: 3px solid var(--green);
  box-shadow: 0 8px 20px rgba(20,32,17,.28);
}
.mappin img { width: 40px; height: 40px; object-fit: contain; }
/* the little stem that makes it read as a pin rather than a badge */
.mappin::after {
  content: ""; position: absolute; bottom: -9px; left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent; border-right: 8px solid transparent;
  border-top: 11px solid var(--green);
}
@media (max-width: 600px) {
  .mappin { width: 50px; height: 50px; }
  .mappin img { width: 32px; height: 32px; }
}

/* ── Live social feed panels ──────────────────────────────────
   Applied only when social-feed.js has mounted a feed into a card, so the
   static version is untouched until a platform is actually configured. */
.social__feed {
  position: relative; width: 100%; aspect-ratio: 9 / 16;
  border-radius: var(--r-card) var(--r-card) 0 0; overflow: hidden;
  background: var(--paper);
}
/* The feed keeps the same 9:16 frame as the still cards so the three sit level
   in the row. The reserved strip at the bottom is the badge's half-overlap —
   without it the round badge covers the embed's own caption line. */
.social__card.has-feed .social__feed {
  padding-bottom: calc(var(--badge) / 2);
  background: var(--paper);
}
.social__feed iframe,
.social__feed > div { width: 100% !important; height: 100% !important; border: 0; }
.social__card.has-feed .social__media { min-height: 0; }

/* ── Festival calendar ────────────────────────────────────────
   The cards reuse .dish from the menu. Where a dish shows a photo, a festival
   shows its date — there's no photograph for a festival, and the date is what
   people scan for. Past entries fade rather than disappear; people check what
   they missed as often as what's coming. */
.fest__caveat {
  max-width: 62ch; margin: 0 0 40px; padding: 14px 18px;
  font-size: 14px; line-height: 1.6; color: var(--body);
  background: var(--cream-2); border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
}
.fest__next {
  padding: 24px 26px; margin: 0 0 40px;
  background: var(--green); color: var(--paper); border-radius: var(--r-card);
}
.fest__next .eyebrow { color: var(--gold-pale); margin-bottom: 6px; }
.fest__next h2 {
  font-family: var(--f-display); font-size: 30px; color: #fff; margin: 0 0 4px;
}
.fest__next .fest__note { color: rgba(255,255,255,.86); margin-bottom: 14px; }
.fest__next .link-arrow { color: var(--gold-pale); }

.fest__month { margin-bottom: 42px; }
.fest__mh {
  font-family: var(--f-display); font-size: 24px; color: var(--green);
  margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--rule);
}
.fest__mh span { color: var(--gold-dark); font-style: italic; font-weight: 400; }

/* the whole text side is the button, so it needs the card's own padding */
.fest__open {
  display: block; width: 100%; text-align: left;
  background: none; border: 0; cursor: pointer; font: inherit;
  padding: 17px 16px 17px 19px;
}
.fest__open .dish__name,
.fest__open .dish__price,
.fest__open .dish__desc { display: block; }
.dish.fest:hover { border-color: var(--gold-pale); box-shadow: 0 10px 26px rgba(46,40,25,.09); }

/* date block in place of the photo */
.fest__media {
  display: grid; place-items: center; align-content: center;
  width: 92px; background: var(--cream-2);
}
.fest__day {
  font-family: var(--f-display); font-size: 28px; line-height: 1; color: var(--green);
}
.fest__dow {
  margin-top: 4px; font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold-dark);
}
.fest.is-past { opacity: .5; }
.fest.is-next .fest__media { background: var(--green); }
.fest.is-next .fest__day { color: #fff; }
.fest.is-next .fest__dow { color: var(--gold-pale); }

@media (max-width: 560px) {
  .fest__next h2 { font-size: 25px; }
  .fest__media { width: 74px; }
  .fest__day { font-size: 24px; }
}

/* ── Festival dialog ──────────────────────────────────────────
   The overlay and panel. These were lost when the calendar styles above were
   rewritten — the dialog kept opening, but with no styling it had no backdrop
   and no panel, so nothing appeared. */
.festlb {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  padding: 24px; background: rgba(20,32,17,.94);
}
.festlb[hidden] { display: none; }
.festlb__panel {
  position: relative; width: min(560px, 100%);
  max-height: calc(100vh - 48px); overflow: auto;
  padding: 38px 40px 32px; text-align: center;
  background: var(--paper); border-radius: var(--r-card);
}
.festlb__x {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; display: grid; place-items: center;
  background: none; border: 1px solid var(--rule); border-radius: 50%;
  color: var(--green); cursor: pointer;
}
.festlb__x:hover { background: var(--green); color: #fff; border-color: var(--green); }
.festlb__x svg { width: 17px; height: 17px; }
.festlb__name {
  margin: 0 0 6px; font-family: var(--f-display); font-size: 30px;
  font-weight: 700; color: var(--green); line-height: 1.15;
}
.festlb__type {
  margin: 0; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--body);
}
.festlb__orn { display: block; margin: 16px auto; color: var(--gold); }
.festlb__about {
  margin: 0 0 24px; font-size: 15.5px; line-height: 1.75;
  color: var(--body); text-align: left;
}
.festlb__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 18px; padding-top: 20px; border-top: 1px solid var(--rule);
}
@media (max-width: 560px) {
  .festlb { padding: 14px; }
  .festlb__panel { padding: 34px 22px 26px; }
  .festlb__name { font-size: 25px; }
}

/* ── Festival dialog: date card and facts ── */
.festlb__head {
  display: grid; grid-template-columns: 96px 1fr; gap: 20px;
  align-items: center; text-align: left; padding-right: 34px;
}
.festlb__date {
  display: grid; place-items: center; align-content: center;
  padding: 12px 6px; border-radius: 12px;
  background: var(--green); color: var(--paper);
}
.festlb__d { font-family: var(--f-display); font-size: 40px; line-height: 1; }
.festlb__m {
  margin-top: 4px; font-size: 11.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold-pale); text-align: center;
}
.festlb__w {
  margin-top: 2px; font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(255,255,255,.72);
}
.festlb__title .festlb__name { margin: 0 0 4px; }
.festlb__also {
  margin: 0 0 4px; font-size: 13px; font-style: italic; color: var(--body);
}
.festlb__title .festlb__type { margin: 0; }
.festlb__body { text-align: left; }
.festlb__facts { margin: 0 0 18px; }
.festlb__fact { padding: 12px 0; border-top: 1px solid var(--rule); }
.festlb__fact[hidden] { display: none; }
.festlb__fact dt {
  font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 4px;
}
.festlb__fact dd { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--body); }
.festlb__timing {
  margin: 0; padding: 12px 14px; border-radius: 8px;
  font-size: 12.5px; line-height: 1.6; color: var(--body);
  background: var(--cream-2); border-left: 3px solid var(--gold);
}
@media (max-width: 560px) {
  .festlb__head { grid-template-columns: 74px 1fr; gap: 14px; padding-right: 30px; }
  .festlb__d { font-size: 32px; }
}

/* ── Festivals banner ─────────────────────────────────────────
   Same treatment as the other wide banners: full-bleed artwork at its own
   ratio, copy overlaid on the dark left side. That side measures 20 mean
   luminance, so the type is light — green would be unreadable on it. */
.hero--wide-festivals { --banner-ratio: 2240 / 702; background: var(--cream); }
.hero--wide-festivals .hero__in {
  position: relative; inset: auto;
  grid-template-columns: 1fr; min-height: 0;
}
.hero--wide-festivals .hero__copy { padding: 28px 0 34px; max-width: 650px; }

/* ── Next-festival floating button ────────────────────────────
   Replaces the old Order Online pill. It carries a live count, so it needs a
   little more room than a plain icon button, and the day chip sits over the
   corner the way a notification badge does. */
/* The mark is a detailed circular badge, so it fills the button rather than
   sitting inside it with a label — at 50px there is no room for both, and the
   artwork already reads as "festival". The name and countdown are carried by
   the tooltip and the accessible label. */
.fab--fest {
  position: relative; padding: 0; overflow: visible;
  background: var(--paper); border: 2px solid var(--paper);
}
.fab--fest .fab__mark {
  width: 100%; height: 100%; border-radius: 50%;
  object-fit: cover; display: block;
}
/* Day count as a notification badge on the corner. Sized to sit on a 50px
   circle without covering it — "15 days" is as long as it gets. */
.fab--fest .fab__days {
  position: absolute; top: -8px; right: -8px;
  min-width: 20px; height: 20px; padding: 0 4px;
  display: grid; place-items: center;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0; line-height: 1;
  text-transform: none; color: #17200F; background: var(--gold);
  border: 2px solid var(--paper); border-radius: 999px;
  box-shadow: 0 3px 8px rgba(20,32,17,.22);
}
.fab--fest .fab__days[hidden] { display: none; }
