/* ============================================================
   Shemroon Kitchen
   Design tokens carried over from the original build so the
   rebuild matches it exactly.
   ============================================================ */

:root {
  /* Palette */
  --olive:        #7c8561;   /* page background */
  --olive-deep:   #5f6345;
  --black:        #2c2f24;   /* footer, big dark type */
  --ink:          #303328;   /* body text on cream */
  --muted:        #6d705b;
  --cream:        #ddd6c6;   /* contact section */
  --cream-warm:   #e3ddcd;   /* dish cards */
  --paper:        #fff6df;   /* light type on olive */
  --lime:         #c8e69e;   /* primary button */
  --lime-ink:     #11140e;

  /* Gold gradient used on the hero wordmark and ghost headings */
  --gold-top:     #fffdf5;
  --gold-mid:     #f0dfb9;
  --gold-bot:     #d0af72;

  /* Type */
  --font-display: 'Kanit', system-ui, sans-serif;
  --font-script:  'Cormorant Garamond', Georgia, serif;

  /* Layout */
  --shell:        1440px;
  --gutter:       clamp(1.25rem, 4vw, 4.75rem);
  --radius-sect:  62px;
  --radius-card:  40px;
}

/* ------------------------------- reset ------------------------------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--olive);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Anything marked hidden stays hidden, even if a class gives it display:grid/flex
   (the checkout's empty-basket message was showing next to a full basket). */
[hidden] { display: none !important; }

img { max-width: 100%; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 200;
  background: var(--lime); color: var(--lime-ink);
  padding: .75rem 1.25rem; border-radius: 999px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
}
.skip-link:focus { top: 1rem; }

/* The hand-drawn kitchen pattern, tiled behind the whole page. */
.page-pattern {
  position: fixed; inset: 0; z-index: -1;
  background: var(--olive) url('../images/shemroon-pattern-02-light.jpg') repeat;
  background-size: 620px auto;
  opacity: .5;
  pointer-events: none;
}

/* ------------------------------ buttons ------------------------------ */

.btn {
  display: inline-flex; align-items: center; gap: .75rem;
  border-radius: 999px;
  font-family: var(--font-display);
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn svg { width: 1em; height: 1em; stroke-width: 2.2; }

.btn--primary {
  background: var(--lime);
  color: var(--lime-ink);
  font-size: .8125rem; font-weight: 700; letter-spacing: .13em;
  padding: 1.15rem 2.25rem;
  box-shadow: 0 10px 26px rgba(24, 29, 18, .28);
}
.btn--primary:hover { transform: translateY(-2px); background: #d3ecae; }
.btn--primary:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.btn--block { width: 100%; justify-content: center; }

.btn--add {
  border: 1px solid rgba(48, 51, 40, .28);
  color: var(--ink);
  font-size: .75rem; font-weight: 600; letter-spacing: .1em;
  padding: .85rem 1.35rem;
}
.btn--add:hover { background: rgba(48, 51, 40, .07); transform: translateY(-1px); }
.btn--add.is-added { background: var(--lime); border-color: var(--lime); }


/* Gold CTA — Cormorant for the luxury feel, wide tracking so it stays
   readable at small size. Brushed-gold face with a lit top edge. */
.btn--gold {
  position: relative;
  font-family: var(--font-script);
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  font-weight: 700;
  letter-spacing: .22em;
  padding: 1.15rem 2.9rem 1.2rem;
  color: #2a2413;
  background:
    linear-gradient(180deg,
      #fffdf3   0%,
      #f7e7bf  30%,
      #e6cb92  56%,
      #cfa961  82%,
      #b98f4a 100%);
  border: 1px solid rgba(120, 90, 40, .55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 -1px 0 rgba(120, 90, 40, .35),
    0 2px 0 rgba(58, 44, 20, .5),
    0 14px 30px rgba(20, 24, 14, .42);
  text-shadow: 0 1px 0 rgba(255, 253, 240, .55);
  overflow: hidden;
}

/* A slow sheen that travels across the face */
.btn--gold::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg,
    transparent 30%, rgba(255,255,255,.55) 46%, transparent 62%);
  transform: translateX(-120%);
  transition: transform .75s ease;
  pointer-events: none;
}
.btn--gold:hover::after { transform: translateX(120%); }

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 -1px 0 rgba(120, 90, 40, .35),
    0 2px 0 rgba(58, 44, 20, .5),
    0 20px 40px rgba(20, 24, 14, .5);
}
.btn--gold:active { transform: translateY(0); }

.btn--gold span { position: relative; z-index: 1; }
.btn--gold svg { position: relative; z-index: 1; width: .85em; height: .85em; stroke-width: 2.4; }

/* ------------------------------- nav --------------------------------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: .55rem var(--gutter);
  transition: background-color .3s ease, backdrop-filter .3s ease;
}
/* Solid-ish backing once you scroll, so links stay readable over photos */
.nav.is-stuck {
  background: rgba(95, 99, 69, .82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 246, 223, .12);
}

.nav__logo img { width: 48px; height: 48px; border-radius: 50%; }

.nav__links {
  /* Six links now, so the type scales with the window and always leaves
     clear space between the logo and the basket. */
  display: flex; gap: clamp(1.1rem, 2.6vw, 2.75rem); justify-self: center;
  font-family: var(--font-script);
  font-size: clamp(1rem, 1.3vw, 1.25rem); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--paper);
  /* Sits over a busy pattern — a soft shadow keeps it readable. */
  text-shadow: 0 2px 8px rgba(20, 24, 14, .55);
}
.nav__links > a { position: relative; padding-bottom: 3px; }
.nav__links > a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: currentColor; transition: width .25s ease;
}
.nav__links > a:hover::after { width: 100%; }

/* --------------------- menu strip under the header --------------------- */
/* A slim full-width bar rather than a floating box, so it never lands on
   top of the wordmark. Same pattern the delivery apps use. */

.nav__menu { display: inline-flex; }

.nav__menu-trigger {
  display: inline-flex; align-items: center; gap: .4em;
  position: relative;
  padding-bottom: 3px;
}
.nav__menu-trigger::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: currentColor; transition: width .25s ease;
}
.nav__menu:hover .nav__menu-trigger::after { width: 100%; }

.nav__strip {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: rgba(60, 66, 44, .93);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 246, 223, .14);
  box-shadow: 0 14px 30px rgba(20, 24, 14, .3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 90;
}
.nav__menu:hover .nav__strip,
.nav__menu:focus-within .nav__strip,
.nav__strip:hover,
.nav__strip.is-open {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.nav__strip ul {
  display: flex;
  justify-content: center;
  gap: clamp(.75rem, 2.4vw, 2.25rem);
  padding: .5rem var(--gutter);
  margin: 0 auto;
  max-width: var(--shell);
}

.nav__strip a {
  display: block;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255, 246, 223, .88);
  padding: .3rem 0;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.nav__strip a:hover { color: #fff; border-color: rgba(255,255,255,.7); }
.nav__strip a.is-current { color: var(--lime); border-color: var(--lime); }

.nav__cart {
  justify-self: end; position: relative;
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 246, 223, .14);
  border: 1px solid rgba(255, 246, 223, .3);
  color: var(--paper);
  transition: background-color .2s ease;
}
.nav__cart:hover { background: rgba(255, 246, 223, .26); }
.nav__cart svg { width: 21px; height: 21px; }

.nav__cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--lime); color: var(--lime-ink);
  font-size: .6875rem; font-weight: 700; line-height: 1;
}
.nav__cart-count[data-empty="true"] { display: none; }

/* ------------------------------- hero -------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  /* Clears the header AND the menu strip that slides down beneath it. */
  padding: clamp(7.75rem, 13vh, 9rem) var(--gutter) 0;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero__mark {
  position: relative;
  margin: 0;
  display: inline-block;          /* shrink-wraps to the SHEMROON line */
  font-family: var(--font-script);
  font-weight: 700;
  font-size: clamp(3.6rem, 14.6vw, 13.125rem);
  line-height: .74;
  letter-spacing: .01em;
  text-transform: uppercase;
  /* The shadow lives here, on the wrapper. Some engines refuse to paint a
     background-clip:text gradient on an element that also has a filter, so
     the gradient goes on the inner .gold spans instead. Keep them apart. */
  filter: drop-shadow(0 1px 0 rgba(255, 253, 240, .35))
          drop-shadow(0 3px 0 rgba(46, 52, 32, .85))
          drop-shadow(0 14px 24px rgba(20, 24, 14, .45));
}
.hero__line { display: block; position: relative; }

/* Gold leaf: a highlight band across the middle gives it more depth than a
   flat two-stop ramp. */
.gold {
  background: linear-gradient(177deg,
      #fffefa   0%,
      #fff7e4  22%,
      #f6e3ba  46%,
      #e8cf98  62%,
      #cfa965  84%,
      #b98f4c 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
/* If the browser can't clip a background to text, show solid gold instead
   of nothing at all. */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .gold { background: none; color: #f2e0b4; -webkit-text-fill-color: #f2e0b4; }
}

/* Anchor for the skewer — it is the two O's of SHEMROON. */
.hero__oo { position: relative; display: inline-block; }

.hero__skewer {
  position: absolute;
  left: 50%; top: 50%;
  /* The kebab meat sits 3.8% left of this image's centre (the metal handle
     is longer than the point), so -46.2% puts the MEAT — not the file — dead
     between the two O's. */
  width: 148%;
  max-width: none;
  transform: translate(-46.2%, -56%) rotate(-6deg);
  filter: drop-shadow(0 6px 7px rgba(43, 22, 13, .42));
  pointer-events: none;
  z-index: 3;
}

/* Row two: KITCHEN centred, "Persian Cuisine" set on the same baseline and
   flush left, so it lines up under the S of SHEMROON. */
.hero__line--two { display: block; }
.hero__kitchen { display: inline-block; }

.hero__sub {
  position: absolute;
  left: 0;
  bottom: -.16em;          /* clear of the K's baseline */
  font-family: var(--font-script);
  font-size: clamp(.9rem, 1.55vw, 1.6rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: .16em;
  text-transform: none;
  white-space: nowrap;
  color: var(--paper);
  -webkit-text-fill-color: var(--paper);   /* opt out of the gold clip */
  filter: drop-shadow(0 2px 6px rgba(20, 24, 14, .6));
}

/* ------- the lady: body + pointer-tracked head ------- */

.hero__lady-wrap {
  position: relative;
  width: min(40vw, 64vh, 590px);
  margin: clamp(-6rem, -9vw, -9rem) auto 0;
}

/* No backing plate — she sits directly on the pattern. Her ink carries the
   contrast on its own. */

.hero__lady {
  position: relative;
  width: 100%;
  aspect-ratio: 1166 / 1349;
  perspective: 900px;
}

.hero__lady-body,
.hero__lady-head img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  user-select: none;
  filter: drop-shadow(0 18px 24px rgba(40, 43, 32, .16));
}

/* Fades the very bottom so she melts into the pattern */
.hero__lady-body {
  -webkit-mask-image: linear-gradient(#000 0% 84%, transparent 100%);
          mask-image: linear-gradient(#000 0% 84%, transparent 100%);
  z-index: 2;
}

/* Pivot sits at the base of the neck, not the middle of the head — this is
   what makes the turn read as a person rather than a sliding cut-out. */
.hero__lady-head {
  position: absolute; inset: 0;
  z-index: 4;
  transform-origin: 50% 53.5%;
  transform-style: preserve-3d;
  will-change: transform;
}

/* ---------------------------- thought cloud --------------------------- */

/* No box — just the words and the puffs leading back to her mouth. */
.thought {
  position: absolute;
  left: 74%; top: 17%;
  width: max(11rem, 13vw);
  z-index: 20;
  opacity: 0;
  transform: translateY(10px) scale(.94);
  transition: opacity .45s ease, transform .45s cubic-bezier(.34,1.4,.5,1);
}
.thought.is-visible { opacity: 1; transform: none; }

.thought__text {
  text-align: center;
  color: var(--paper);
  /* Carries the type over the busy pattern now the panel is gone */
  text-shadow: 0 2px 10px rgba(20, 24, 14, .8),
               0 1px 3px rgba(20, 24, 14, .7);
}

/* English line, in the site's display serif */
.thought__text--en {
  font-family: var(--font-script);
  font-size: clamp(1.15rem, 1.7vw, 1.75rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.25;
}

/* Persian underneath — Vazirmatn, since the other faces have no such glyphs */
.thought__text--fa {
  font-family: 'Vazirmatn', 'Iranian Sans', Tahoma, 'Geeza Pro', sans-serif;
  font-size: clamp(.9rem, 1.25vw, 1.25rem);
  font-weight: 500;
  line-height: 1.9;
  opacity: .92;
}

/* Puffs are placed against the lady image, stepping up from her lips
   (which sit at 50.8% / 37.2% of this box) toward the words. */
.thought-trail {
  position: absolute; inset: 0;
  z-index: 19;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s ease;
}
.thought-trail.is-visible { opacity: 1; }

.thought__puff {
  position: absolute;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 4px 12px rgba(20, 24, 14, .5);
  transform: translate(-50%, -50%);
}
.thought__puff--1 { left: 56.5%; top: 35.5%; width: .5vw;  height: .5vw;  min-width: 5px;  min-height: 5px;  }
.thought__puff--2 { left: 62%;   top: 31%;   width: .75vw; height: .75vw; min-width: 8px;  min-height: 8px;  }
.thought__puff--3 { left: 68%;   top: 26%;   width: 1.1vw; height: 1.1vw; min-width: 11px; min-height: 11px; }


.hero__glint {
  position: absolute;
  top: 27%; left: 32%;
  width: 35%; height: 7%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.4) 48%, transparent 72%);
  mix-blend-mode: screen;
  opacity: .32;
  transform: rotate(-4deg);
  pointer-events: none;
  z-index: 5;
}

/* Leaves sit either side of her, centred on the illustration */
.hero__leaf {
  position: absolute;
  top: 50%;
  transform-origin: center;
  width: 34%;
  opacity: .95;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 10px 16px rgba(24, 29, 18, .22));
}
.hero__leaf--left  { left: -26%;  transform: translateY(-50%) rotate(-12deg); }
.hero__leaf--right { right: -26%; transform: translateY(-50%) rotate(12deg) scaleX(-1); }

/* Hero links: boxless gold lettering, raised off the pattern.
   Same trick as the wordmark: the gradient sits on the inner span and the
   3D drop-shadows on the link, because some engines won't paint a
   background-clip:text gradient on an element that also has a filter. */
.hero__links {
  position: relative; z-index: 15;
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(1.1rem, 2.8vh, 1.9rem);
  margin: clamp(1.25rem, 3.5vh, 2.5rem) 0 clamp(3rem, 8vh, 6rem);
}

.hero__link {
  position: relative;
  display: inline-flex; align-items: center; gap: .5em;
  padding: .15em .1em .4em;
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 2.7vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  filter: drop-shadow(0 1px 0 rgba(255, 250, 225, .5))
          drop-shadow(0 2px 0 rgba(120, 84, 30, .95))
          drop-shadow(0 2px 0 rgba(52, 40, 18, .9))
          drop-shadow(0 12px 16px rgba(18, 22, 12, .55));
  transition: transform .25s ease;
}
.hero__link:hover { transform: translateY(-3px); }

/* Rich, high-contrast gold so it reads clearly on the olive pattern */
.hero__link-text {
  background: linear-gradient(180deg,
      #fffbef  0%,
      #ffeab4 30%,
      #f5cd6e 58%,
      #d9a441 80%,
      #b07a26 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__link-text { background: none; color: #f5cd6e; -webkit-text-fill-color: #f5cd6e; }
}

.hero__link svg {
  width: .62em; height: .62em;
  fill: none; stroke: #f5cd6e; stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Fine gold rule that draws out from the centre on hover */
.hero__link::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f5cd6e 20%, #ffeab4 50%, #f5cd6e 80%, transparent);
  transition: left .35s ease, right .35s ease;
}
.hero__link:hover::after,
.hero__link:focus-visible::after { left: 0; right: 0; }

/* --------------------------- rice grains ---------------------------- */

.rice-field {
  position: fixed; inset: 0;
  perspective: 900px;
  overflow: hidden;
  pointer-events: none;
  z-index: 60;
}

.rice-anchor {
  position: absolute; top: 0; left: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

.rice-grain {
  position: absolute;
  display: block;
  left: var(--rice-x); top: var(--rice-y);
  width: 23px; height: 7px;
  border-radius: 80% 35%;
  border: 1px solid rgba(98, 72, 40, .42);
  background: linear-gradient(90deg, #b99c67 0%, #f8efd0 18%, #fff9df 52%, #d9c28d 84%, #a98653 100%);
  box-shadow: inset 0 1px rgba(255,255,255,.85), 0 3px 5px rgba(62,45,27,.24), 0 8px 14px rgba(62,45,27,.12);
  transform-style: preserve-3d;
  animation: rice-float 2.6s ease-in-out var(--rice-delay) infinite;
}

@keyframes rice-float {
  0%, 100% { transform: translate3d(0, 0, var(--rice-depth)) rotate(var(--rice-rotate))     scale(var(--rice-scale)); }
  50%      { transform: translate3d(5px, -9px, var(--rice-depth)) rotate(var(--rice-rotate-end)) scale(var(--rice-scale)); }
}

/* ----------------------------- gallery ------------------------------- */

.gallery {
  display: grid; gap: clamp(1rem, 2vw, 1.75rem);
  padding: clamp(2rem, 6vh, 4rem) 0;
}

.marquee { overflow: hidden; }

.marquee__track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.75rem);
  width: max-content;
  will-change: transform;
}
/* Tracks are duplicated by JS, so -50% lands exactly on the seam. */
.marquee__track--left  { animation: marquee-left  64s linear infinite; }
.marquee__track--right { animation: marquee-right 72s linear infinite; }

@keyframes marquee-left  { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.marquee:hover .marquee__track { animation-play-state: paused; }

.dish-photo {
  margin: 0;
  flex: 0 0 auto;
  width: clamp(15rem, 26vw, 25rem);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(12, 12, 12, .18);
}
.dish-photo img { width: 100%; height: clamp(11rem, 18vw, 16.5rem); object-fit: cover; }

/* ------------------------------ shared ------------------------------- */

/* The oversized section headings (ABOUT US / DISHES / COLLECT.) */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.25rem, 11.5vw, 10.3rem);
  line-height: .82;
  letter-spacing: -.06em;
  text-transform: uppercase;
}
/* Embossed watermark — raised off the pattern rather than washed into it */
.display--ghost {
  background: linear-gradient(177deg,
      rgba(255,254,250,.92) 0%, rgba(246,231,200,.72) 46%, rgba(196,163,104,.55) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(46, 52, 32, .55))
          drop-shadow(0 10px 18px rgba(20, 24, 14, .3));
}
.display--light {
  background: linear-gradient(177deg,
      #fffefa 0%, #fff7e4 22%, #f6e3ba 46%, #e8cf98 62%, #cfa965 84%, #b98f4c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 253, 240, .3))
          drop-shadow(0 3px 0 rgba(46, 52, 32, .8))
          drop-shadow(0 16px 26px rgba(20, 24, 14, .42));
}
.display--dark { color: var(--black); }

.eyebrow {
  font-size: .6875rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--paper);
}
.eyebrow--dark { color: var(--muted); letter-spacing: .15em; }

/* Cormorant display lines */
.script-line {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.625rem);
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--paper);
  text-shadow: 0 2px 10px rgba(20, 24, 14, .45);
}
.script-line--lg { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1; }

/* ------------------------------- about ------------------------------- */

.about {
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(3rem, 9vh, 7rem) var(--gutter) clamp(4rem, 10vh, 8rem);
  display: grid; justify-items: center; text-align: center;
  gap: clamp(2rem, 5vh, 4rem);
}

.about__body {
  max-width: 40ch;
  font-size: clamp(1.05rem, 1.55vw, 1.375rem);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .005em;
  color: var(--paper);
  text-shadow: 0 1px 6px rgba(20, 24, 14, .4);
}

.partners { display: flex; gap: clamp(1rem, 2.5vw, 2.5rem); }
.partners a {
  display: grid; place-items: center;
  width: clamp(4.5rem, 8vw, 5.75rem);
  height: clamp(4.5rem, 8vw, 5.75rem);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 12px 26px rgba(12, 12, 12, .18);
  transition: transform .2s ease;
}
.partners a:hover { transform: translateY(-4px); }
.partners__icon { width: 46%; height: 46%; stroke-width: 1.6; }
.partners__icon--deliveroo { fill: #00ccbc; stroke: none; }
.partners__icon--justeat   { stroke: #ff8000; stroke-width: 2; }
.partners__wordmark {
  font-family: var(--font-display);
  font-size: clamp(.9rem, 1.4vw, 1.05rem);
  font-weight: 700; line-height: 1.05;
  color: #06c167; text-align: center;
}

.about__hygiene { width: clamp(12rem, 20vw, 14.25rem); border-radius: 8px; }

/* ------------------------------ dishes ------------------------------- */

.dishes {
  background: rgba(124, 133, 97, .34);
  border-radius: var(--radius-sect) var(--radius-sect) 0 0;
  padding: clamp(3.5rem, 10vh, 7rem) var(--gutter) clamp(3rem, 8vh, 6rem);
  display: grid; justify-items: center;
  gap: clamp(.75rem, 2vh, 1.25rem);
}

.dish-list {
  width: 100%; max-width: var(--shell);
  margin-top: clamp(2rem, 5vh, 4rem);
  display: grid; gap: clamp(1.5rem, 3vh, 2.5rem);
}

.dish {
  background: var(--cream-warm);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 3vw, 2.75rem);
  box-shadow: 0 24px 60px rgba(12, 12, 12, .17);
}

.dish__head {
  display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem);
  flex-wrap: wrap;
}

.dish__num {
  font-size: clamp(3.25rem, 8vw, 7.5rem);
  font-weight: 900; line-height: .8; letter-spacing: -.07em;
  color: var(--ink);
}

.dish__titles { flex: 1 1 12rem; }
.dish__cat {
  font-size: .6875rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .35rem;
}
.dish__name {
  font-size: clamp(1.5rem, 3.2vw, 2.625rem);
  font-weight: 500; line-height: 1; text-transform: uppercase;
  color: var(--ink);
}

.dish__photos {
  margin-top: clamp(1.25rem, 3vh, 2rem);
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(.75rem, 1.5vw, 1.25rem);
}
.dish__photos figure { margin: 0; border-radius: 24px; overflow: hidden; background: #fff; }
.dish__photos img { width: 100%; height: clamp(11rem, 24vw, 20rem); object-fit: cover; }

/* ------------------------------ contact ------------------------------ */

.contact {
  background: rgba(221, 214, 198, .95);
  border-radius: var(--radius-sect) var(--radius-sect) 0 0;
  padding: clamp(3.5rem, 10vh, 8rem) var(--gutter);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact__lead .eyebrow { margin-bottom: clamp(1.5rem, 4vh, 3rem); }

.contact__cards {
  display: grid; gap: clamp(1.5rem, 4vh, 2.5rem);
  border-left: 1px solid rgba(48, 51, 40, .22);
  padding-left: clamp(1.5rem, 4vw, 4rem);
}

.info-card__icon { width: 24px; height: 24px; color: var(--ink); margin-bottom: 1.25rem; }
.info-card h3 {
  font-size: clamp(1.25rem, 2.4vw, 2.25rem);
  font-weight: 500; line-height: 1.3; text-transform: uppercase;
  color: var(--black);
  margin-bottom: .75rem;
}
.info-card p { color: var(--muted); font-weight: 400; margin-bottom: 1.25rem; }

.link-arrow {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; max-width: 15rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid rgba(48, 51, 40, .35);
  font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink);
  transition: border-color .2s ease;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .2s ease; }
.link-arrow:hover { border-color: var(--ink); }
.link-arrow:hover svg { transform: translate(2px, -2px); }

/* ------------------------------ footer ------------------------------- */

.footer {
  background: var(--black);
  color: var(--paper);
  padding: clamp(1.75rem, 4vh, 2.5rem) var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
}
.footer__brand { display: flex; align-items: center; gap: .85rem; }
.footer__brand img { width: 44px; height: 44px; border-radius: 50%; }
.footer__tagline { justify-self: center; text-align: center; }
.footer__legal { justify-self: end; opacity: .85; letter-spacing: .04em; text-transform: none; }

/* ---------------------------- cart drawer ---------------------------- */

.cart-overlay {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(24, 29, 18, .5);
  backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .3s ease;
}
.cart-overlay.is-open { opacity: 1; }

.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 160;
  width: min(26rem, 100vw);
  display: flex; flex-direction: column;
  background: var(--cream-warm);
  box-shadow: -20px 0 60px rgba(12, 12, 12, .3);
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4, 0, .2, 1);
  visibility: hidden;
}
.cart.is-open { transform: translateX(0); visibility: visible; }

.cart__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(48, 51, 40, .18);
}
.cart__head h2 {
  font-size: 1.25rem; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink);
}
.cart__close { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; }
.cart__close:hover { background: rgba(48, 51, 40, .1); }
.cart__close svg { width: 18px; height: 18px; }

.cart__empty {
  padding: 2.5rem 1.5rem;
  color: var(--muted); text-align: center;
}

.cart__items { flex: 1; overflow-y: auto; padding: .5rem 1.5rem; }

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .35rem 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(48, 51, 40, .12);
}
.cart-item__name { font-weight: 500; color: var(--ink); }
.cart-item__price { font-weight: 500; color: var(--ink); white-space: nowrap; }
.cart-item__qty { display: flex; align-items: center; gap: .6rem; }
.cart-item__qty button {
  width: 27px; height: 27px; border-radius: 50%;
  border: 1px solid rgba(48, 51, 40, .3);
  display: grid; place-items: center;
  font-size: 1rem; line-height: 1;
}
.cart-item__qty button:hover { background: rgba(48, 51, 40, .1); }
.cart-item__qty span { min-width: 1.5rem; text-align: center; font-weight: 600; }

.cart__foot {
  padding: 1.5rem;
  border-top: 1px solid rgba(48, 51, 40, .18);
  background: rgba(255, 246, 223, .35);
}
.cart__total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 1.125rem;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .5rem;
}
.cart__total strong { font-size: 1.5rem; font-weight: 700; }
.cart__note { font-size: .8125rem; color: var(--muted); margin-bottom: 1.1rem; }
.cart__pending { font-size: .75rem; color: var(--muted); text-align: center; margin-top: .75rem; }

/* --------------------------- scroll reveal --------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ----------------------------- responsive ---------------------------- */

@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
  .contact__cards { border-left: 0; border-top: 1px solid rgba(48,51,40,.22); padding-left: 0; padding-top: 2rem; }

  .footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__tagline, .footer__legal { justify-self: center; }
}

@media (max-width: 720px) {
  .nav { grid-template-columns: auto 1fr auto; padding: .75rem var(--gutter); }
  .nav__links {
    order: 3; grid-column: 1 / -1; justify-self: center;
    font-size: .8125rem; gap: .8rem; padding-top: .4rem;
    letter-spacing: .07em;
    flex-wrap: nowrap;
  }
  .nav__links a, .nav__menu-trigger { white-space: nowrap; }

  /* The desktop lift would drop her on top of the wordmark here. */
  .hero__lady-wrap { margin-top: -1rem; }
  .nav__logo img { width: 44px; height: 44px; }

  /* No hover on a phone: tapping Menu goes straight to the menu page,
     so the strip would only ever be in the way. */
  .nav__strip { display: none; }

  /* Hero is content-height on phones; 100svh left a dead gap under the CTA. */
  .hero { min-height: 0; padding-top: 7.5rem; }   /* no strip on phones */
  .cat { padding-top: 7.5rem; }
  .hero__links { margin-top: 1rem; margin-bottom: 2.5rem; }
  .hero__link  { font-size: 1.45rem; letter-spacing: .1em; }

  /* No room to set it beside KITCHEN — drop it under, centred. */
  .hero__sub {
    position: static;
    display: block;
    margin-top: .5rem;
    font-size: 1rem;
    letter-spacing: .22em;
  }
  .hero__line--two { display: flex; flex-direction: column-reverse; align-items: center; }

  /* No room beside her head on a phone — centre the cloud above her and
     hang the puffs underneath instead of to the side. */
  .thought {
    left: auto; right: -2%; top: 14%;
    width: min(11rem, 52vw);
    transform: translateY(10px) scale(.94);
  }
  .thought.is-visible { transform: none; }
  .thought__puff--1 { left: 58%; top: 35%;   width: 6px;  height: 6px;  }
  .thought__puff--2 { left: 64%; top: 30.5%; width: 9px;  height: 9px;  }
  .thought__puff--3 { left: 71%; top: 26%;   width: 12px; height: 12px; }

  .hero__lady-wrap { width: min(78vw, 56vh, 410px); }
  .hero__leaf { width: 30%; top: 50%; }
  .hero__leaf--left  { left: -18%; }
  .hero__leaf--right { right: -18%; }

  .dish__photos { grid-template-columns: 1fr; }
  .dish__num { font-size: 3.25rem; }
}

@media (max-width: 520px) {
  /* .22em tracking is too wide for a narrow screen */
  .btn--gold { font-size: 1rem; letter-spacing: .14em; padding: 1rem 1.9rem 1.05rem; }

  /* Four links have to fit 375px without touching the edges. */
  .nav__links {
    font-size: .6875rem;
    gap: .5rem;
    letter-spacing: .03em;
  }
  .page-pattern { background-size: 340px auto; }
  .dish-photo { width: 72vw; }
  .cart { width: 100vw; }
}

/* ---------------------------- accessibility -------------------------- */

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

/* ==================================================================
   MENU CATEGORY PAGES
   ================================================================== */

.page-menu { padding-top: 0; }

.cat {
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(8rem, 13.5vh, 9.5rem) var(--gutter) clamp(3rem, 8vh, 5rem);
}

.cat__head { text-align: center; margin-bottom: clamp(2rem, 6vh, 4rem); }

.cat__back {
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 246, 223, .4);
  padding-bottom: 2px;
}
.cat__back:hover { border-color: var(--paper); }

.cat__head .display { margin: 1.25rem 0 .5rem; }

.cat__subtitle {
  font-family: var(--font-script);
  font-size: clamp(1.15rem, 2vw, 1.75rem);
  font-style: italic;
  color: var(--paper);
  text-shadow: 0 2px 10px rgba(20, 24, 14, .5);
}
.cat__blurb { max-width: 34ch; margin: 1.25rem auto 0; }
.cat__count {
  margin-top: 1rem;
  font-size: .6875rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 246, 223, .72);
}

/* ------------------------------- items ------------------------------- */

.cat__items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.menu-item {
  display: flex; flex-direction: column;
  gap: .7rem;
  background: var(--cream-warm);
  border-radius: 26px;
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
  box-shadow: 0 16px 38px rgba(12, 12, 12, .16);
}

.menu-item__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem;
}
.menu-item__name {
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  font-weight: 500; line-height: 1.2; text-transform: uppercase;
  color: var(--ink);
}
.menu-item__price {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 700; white-space: nowrap;
  color: var(--ink);
}

.menu-item__tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.menu-item__tags li {
  font-size: .625rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .28rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(48, 51, 40, .25);
  color: var(--muted);
}
.menu-item__tags .is-diet { background: rgba(200, 230, 158, .55); border-color: transparent; color: #3d4a26; }
.menu-item__tags .is-star { background: rgba(229, 201, 142, .45); border-color: transparent; color: #5c4720; }

.menu-item__desc {
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--muted);
  flex: 1;
}

.menu-item__add { align-self: flex-start; margin-top: .25rem; }

/* --------------------------- other sections -------------------------- */

.cat__more {
  margin-top: clamp(3rem, 8vh, 5rem);
  padding-top: clamp(1.5rem, 4vh, 2.5rem);
  border-top: 1px solid rgba(255, 246, 223, .22);
  text-align: center;
}
.cat__more ul {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .6rem;
  margin-top: 1.1rem;
}
.cat__more a {
  display: inline-block;
  padding: .6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 246, 223, .32);
  color: var(--paper);
  font-size: .75rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  transition: background-color .2s ease, border-color .2s ease;
}
.cat__more a:hover { background: rgba(255, 246, 223, .14); border-color: var(--paper); }


/* Dish photo on menu cards */
.menu-item { padding-top: 0; overflow: hidden; }
.menu-item__photo {
  margin: 0 calc(-1 * clamp(1.25rem, 2.2vw, 1.75rem));
  margin-bottom: .35rem;
}
.menu-item__photo img {
  width: 100%;
  height: clamp(9rem, 15vw, 12rem);
  object-fit: cover;
  display: block;
}
.menu-item > .menu-item__head { margin-top: .5rem; }

/* --------------------------- booking page ---------------------------- */

.booking-note {
  max-width: 42ch;
  margin: 0 auto;
  text-align: center;
  color: var(--paper);
}
.booking-note p + p { margin-top: 1.25rem; }
.booking-note > p:not(.script-line) {
  font-size: 1.0625rem;
  line-height: 1.7;
  text-shadow: 0 1px 6px rgba(20, 24, 14, .5);
}
.booking-note__actions {
  margin-top: 2.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.75rem;
}
.booking-note__actions .link-arrow { color: var(--paper); border-color: rgba(255,246,223,.4); }
.booking-note__actions .link-arrow:hover { border-color: var(--paper); }

/* ------------------------- menu landing page ------------------------- */

.cat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.cat-card a {
  display: block;
  background: var(--cream-warm);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(12, 12, 12, .16);
  transition: transform .22s ease, box-shadow .22s ease;
}
.cat-card a:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(12, 12, 12, .24);
}

.cat-card figure { margin: 0; overflow: hidden; }
.cat-card img {
  width: 100%;
  height: clamp(9rem, 15vw, 12rem);
  object-fit: cover;
  transition: transform .5s ease;
}
.cat-card a:hover img { transform: scale(1.05); }

.cat-card__body { padding: clamp(1.1rem, 2vw, 1.5rem); }
.cat-card__body h2 {
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  font-weight: 500; text-transform: uppercase; line-height: 1.2;
  color: var(--ink);
}
.cat-card__sub {
  font-family: var(--font-script);
  font-size: 1.0625rem; font-style: italic;
  color: var(--muted);
  margin-top: .3rem;
}
.cat-card__count {
  margin-top: .7rem;
  font-size: .625rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}

/* ------------------------- rice rainfall ------------------------- */
/* Canvas added by js/rice-rain.js for ~2s after a link is clicked. */
.rice-rain {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 9000;
  pointer-events: none;
}

/* The arriving page fades up, so the two halves feel joined */
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .page-menu .cat { animation: page-in .5s ease both; }
}

/* ---------------------- phone header: ☰ + full-screen menu ---------------------- */
/* Phones: one slim row (logo · basket · ☰). Transparent at the top of the
   page, turns solid green once you scroll. The six links open full screen.
   Desktop never sees any of this. */

.nav__toggle { display: none; }

@media (max-width: 720px) {
  .nav,
  .nav.is-stuck {
    /* logo · ☰ · (space) · basket */
    grid-template-columns: auto auto 1fr auto;
    column-gap: .6rem;
    padding: .6rem var(--gutter);
    background: transparent;
    box-shadow: none;
    /* No backdrop-filter here: it would trap the fixed full-screen menu
       inside the header box. A near-solid colour reads just as well. */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background-color .3s ease, box-shadow .3s ease;
  }
  .nav.is-stuck {
    background: rgba(52, 57, 38, .96);
    box-shadow: 0 6px 20px rgba(20, 24, 14, .35);
  }
  .nav.is-open { background: transparent; box-shadow: none; }

  /* grid-row: 1 on all three — the ☰ comes after the basket in the markup,
     so without it auto-placement would push it onto a second row */
  .nav__logo, .nav__cart, .nav__toggle { position: relative; z-index: 2; grid-row: 1; }
  .nav__logo img { width: 46px; height: 46px; }
  .nav__cart { grid-column: 4; width: 44px; height: 44px; }

  /* ☰ button, styled like the basket; becomes ✕ when open */
  .nav__toggle {
    grid-column: 2;
    display: grid; place-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0;
    border-radius: 50%;
    background: rgba(255, 246, 223, .14);
    border: 1px solid rgba(255, 246, 223, .3);
    color: var(--paper);
    cursor: pointer;
  }
  .nav__toggle span {
    display: block; width: 18px; height: 1.5px;
    border-radius: 2px; background: currentColor;
    transition: transform .3s ease, opacity .2s ease;
  }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* The six links: a full-screen menu, gold lettering, one per line */
  .nav__links {
    position: fixed; inset: 0; z-index: 1;
    order: 0; grid-column: auto;
    /* the desktop rule centres this grid item, which would shrink the
       fixed overlay to its content width — stretch it to the full screen */
    justify-self: stretch; align-self: stretch;
    display: flex; flex-direction: column; flex-wrap: nowrap;
    align-items: center; justify-content: center;
    gap: clamp(.9rem, 3vh, 1.6rem);
    max-width: none; margin: 0;
    padding: 5rem var(--gutter) 4rem;
    background: radial-gradient(ellipse at 50% 35%, rgba(88, 94, 62, .985), rgba(38, 42, 27, .99));
    font-size: 1.75rem;
    letter-spacing: .14em;
    color: #f3d58c;
    text-shadow: 0 1px 0 rgba(255, 250, 225, .35),
                 0 2px 0 rgba(120, 84, 30, .9),
                 0 10px 20px rgba(10, 12, 6, .5);
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }

  .nav__links > a,
  .nav__menu-trigger {
    display: inline-flex; align-items: center;
    min-height: 48px; padding: 0 .2rem;
    white-space: nowrap;
  }

  /* links drift up one after another as the menu opens */
  .nav__links > * {
    opacity: 0; transform: translateY(12px);
    transition: opacity .35s ease, transform .35s ease;
  }
  .nav.is-open .nav__links > * { opacity: 1; transform: none; }
  .nav.is-open .nav__links > :nth-child(2) { transition-delay: .04s; }
  .nav.is-open .nav__links > :nth-child(3) { transition-delay: .08s; }
  .nav.is-open .nav__links > :nth-child(4) { transition-delay: .12s; }
  .nav.is-open .nav__links > :nth-child(5) { transition-delay: .16s; }
  .nav.is-open .nav__links > :nth-child(6) { transition-delay: .20s; }

  /* small sign-off at the foot of the menu */
  .nav__links::after {
    content: 'Shemroon Kitchen · Royal Wharf';
    position: absolute; left: 0; right: 0; bottom: 2.25rem;
    text-align: center;
    font-family: var(--font-display); font-size: .6875rem; font-weight: 600;
    letter-spacing: .2em; text-transform: uppercase;
    color: rgba(255, 246, 223, .55); text-shadow: none;
  }

  /* one-row header now, so the page can start higher */
  .hero { padding-top: 5.75rem; }
  .cat  { padding-top: 6.5rem; }
}

/* ------------------------------ our story ----------------------------- */

.story {
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(3rem, 9vh, 7rem) var(--gutter);
  display: grid; justify-items: center; text-align: center;
  gap: clamp(1rem, 3vh, 2rem);
}
/* home teaser: photo beside the opening of the story */
.story__feature {
  width: 100%; max-width: 1080px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(1.75rem, 4.5vw, 4.5rem);
  align-items: center;
  text-align: start;
}
/* Farsi reads right to left, so the photo moves to the right */
[data-story-lang="fa"] .story__feature { direction: rtl; }

.story__photo, .story-photo {
  margin: 0; border-radius: 26px; overflow: hidden;
  box-shadow: 0 22px 48px rgba(12, 12, 12, .3);
}
.story__photo img, .story-photo img { display: block; width: 100%; height: auto; }

.story__teaser { display: grid; gap: clamp(1.25rem, 3vh, 2rem); justify-items: start; }
.story__text {
  max-width: 40ch;
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  font-weight: 500;
  line-height: 1.7;
  color: var(--paper);
  text-shadow: 0 1px 6px rgba(20, 24, 14, .4);
}
.story__text p + p { margin-top: 1em; }
.story__heading {
  font-family: var(--font-script);
  font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700;
  line-height: 1.1;
  margin-bottom: .45em;
  text-shadow: 0 2px 10px rgba(20, 24, 14, .45);
}
.story__text[lang="fa"] .story__heading { font-family: 'Vazirmatn', var(--font-display); font-size: clamp(1.6rem, 2.8vw, 2.25rem); line-height: 1.4; }

@media (max-width: 720px) {
  .story__feature { grid-template-columns: 1fr; text-align: center; }
  .story__photo { max-width: 22rem; margin-inline: auto; }
  .story__teaser { justify-items: center; }
}

/* story page */
.story-photo { max-width: 32rem; margin: 0 auto clamp(2.5rem, 6vh, 4rem); }
.story-article h2 {
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700;
  line-height: 1.15;
  margin: 1.6em 0 .55em;
  text-shadow: 0 2px 10px rgba(20, 24, 14, .45);
}
.story-article[lang="fa"] h2 { font-family: 'Vazirmatn', var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.5; }
.story-article__close {
  margin-top: 2.5em !important;
  text-align: center;
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 700;
  line-height: 1.35;
}
.story-article[lang="fa"] .story-article__close { font-family: 'Vazirmatn', var(--font-display); font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.9; }

/* English / فارسی switch */
.lang-switch {
  display: inline-flex; gap: 2px; padding: 4px;
  border-radius: 999px;
  background: rgba(255, 246, 223, .12);
  border: 1px solid rgba(255, 246, 223, .3);
}
.lang-switch button {
  min-height: 40px; padding: 0 1.15rem;
  border: 0; border-radius: 999px;
  background: transparent; color: var(--paper);
  font-family: var(--font-display); font-size: .8125rem; font-weight: 600;
  letter-spacing: .08em; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.lang-switch button:hover { background: rgba(255, 246, 223, .16); }
.lang-switch button[aria-pressed="true"] { background: var(--paper); color: var(--lime-ink); }

/* Farsi text: Vazirmatn, a little more line height for the script */
[lang="fa"] { font-family: 'Vazirmatn', var(--font-display); letter-spacing: 0; }
.story__text[lang="fa"], .story-article[lang="fa"] { line-height: 2; }
.lang-switch button[lang="fa"] { font-size: .9375rem; }

/* hidden must win even where a rule sets display */
[data-lang][hidden] { display: none !important; }

.story__photos {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(.75rem, 1.6vw, 1.25rem);
}
.story__photos figure {
  margin: 0; border-radius: 26px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(12, 12, 12, .18);
}
.story__photos img { width: 100%; height: clamp(14rem, 24vw, 20rem); object-fit: cover; }

/* full story page */
.story-page__switch { display: flex; justify-content: center; margin-bottom: clamp(2rem, 5vh, 3rem); }
.story-article {
  max-width: 62ch; margin: 0 auto;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.8;
  color: var(--paper);
  text-shadow: 0 1px 6px rgba(20, 24, 14, .45);
}
.story-article p + p { margin-top: 1.25em; }
.story-page__photos { max-width: 1100px; margin: clamp(2.5rem, 6vh, 4rem) auto 0; }
.story-page__foot { text-align: center; margin-top: clamp(2.5rem, 6vh, 4rem); }

/* about page: the section keeps its home-page look, minus the top gap */
.about--page { padding-top: 0; }

/* Tablet widths: six links between logo and basket need smaller type */
@media (min-width: 721px) and (max-width: 1000px) {
  .nav__links { font-size: .8125rem; gap: .9rem; letter-spacing: .1em; }
}

/* In-page links land below the fixed header instead of underneath it */
section[id] { scroll-margin-top: 90px; }
@media (max-width: 720px) {
  section[id] { scroll-margin-top: 80px; }
}

/* ---------------------- account icon next to the basket ---------------------- */
.nav__actions { justify-self: end; display: flex; align-items: center; gap: .55rem; }
.nav__account {
  position: relative; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 246, 223, .14); border: 1px solid rgba(255, 246, 223, .3);
  color: var(--paper); transition: background-color .2s ease;
}
.nav__account:hover { background: rgba(255, 246, 223, .26); }
.nav__account svg { width: 21px; height: 21px; }
.nav__account.is-member::after {
  content: ''; position: absolute; top: 1px; right: 1px; width: 11px; height: 11px;
  border-radius: 50%; background: #e7c77a; box-shadow: 0 0 0 2px rgba(31, 34, 26, .9);
}
.btn.is-disabled, a.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
@media (max-width: 720px) {
  .nav__actions { grid-column: 4; grid-row: 1; position: relative; z-index: 2; gap: .45rem; }
  .nav__account { width: 44px; height: 44px; }
}

/* ------------------------- contact: hours + map ------------------------- */
.info-card__address { font-style: normal; color: var(--muted); line-height: 1.6; margin-bottom: 1.25rem; }
.hours { margin: 0 0 .8rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid rgba(48, 51, 40, .18); }
.hours dt { color: var(--ink); font-weight: 500; }
.hours dd { margin: 0; color: var(--ink); font-weight: 600; white-space: nowrap; }
.info-card__note { color: var(--muted); margin-bottom: 1.25rem; }
.info-card__phone { display: inline-block; font: 600 1.35rem var(--font-display); color: var(--ink); letter-spacing: .02em; margin-bottom: 1.25rem; }
.contact__map {
  grid-column: 1 / -1; position: relative; overflow: hidden;
  border-radius: 26px; background: #d9d3c2;
  box-shadow: 0 18px 40px rgba(12, 12, 12, .18);
  margin-top: clamp(1.5rem, 4vh, 2.5rem);
}
.contact__map iframe { display: block; width: 100%; height: clamp(18rem, 42vh, 26rem); border: 0; }
.contact__map-link {
  position: absolute; right: 14px; bottom: 14px;
  background: #1f221a; color: #f4efe2; border-radius: 999px;
  padding: .65rem 1.05rem; font: 600 .78rem var(--font-display); letter-spacing: .08em;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .28);
}
.contact__map-link:hover { background: #2c3025; }

/* ---------------------- live open / closed light ---------------------- */
.status {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .55rem 1.1rem .55rem .85rem; border-radius: 999px;
  background: rgba(20, 22, 15, .6); border: 1px solid rgba(255, 246, 223, .22);
  backdrop-filter: blur(6px); color: var(--paper);
  font: 500 .85rem var(--font-display); letter-spacing: .03em;
}
.status b { font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; }
.status [data-status-detail] { color: rgba(255, 246, 223, .78); }
.status__dot { position: relative; flex: none; width: 12px; height: 12px; border-radius: 50%; background: #9aa08a; }
.status.is-open .status__dot { background: #37e06a; box-shadow: 0 0 8px rgba(55, 224, 106, .95), 0 0 22px rgba(55, 224, 106, .6); }
.status.is-open .status__dot::after {
  content: ''; position: absolute; inset: -7px; border-radius: 50%;
  border: 2px solid rgba(55, 224, 106, .7); animation: status-ping 1.8s ease-out infinite;
}
.status.is-open b { color: #7ff0a0; }
.status.is-closed .status__dot { background: #ff4b4b; box-shadow: 0 0 8px rgba(255, 75, 75, .95), 0 0 22px rgba(255, 75, 75, .5); }
.status.is-closed b { color: #ff9a9a; }
.status--lg { padding: .75rem 1.5rem .75rem 1.1rem; font-size: .95rem; }
.status--lg .status__dot { width: 14px; height: 14px; }
@keyframes status-ping { from { transform: scale(.55); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .status.is-open .status__dot::after { animation: none; } }

/* --------------------------- home: Visit us strip --------------------------- */
.visit { max-width: var(--shell); margin: 0 auto; padding: clamp(2.5rem, 7vh, 4.5rem) var(--gutter) clamp(3rem, 8vh, 5rem); }
.visit__inner {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.6rem 2.4rem;
  background: radial-gradient(120% 160% at 0% 0%, #2d3126 0%, #1b1d15 65%);
  color: #f4efe2; border: 1px solid rgba(231, 199, 122, .25); border-radius: 32px;
  padding: clamp(1.8rem, 4.5vw, 3.2rem); box-shadow: 0 30px 70px rgba(12, 12, 12, .32);
}
.visit .eyebrow { color: #e7c77a; }
.visit__title { font: 700 clamp(2.6rem, 5.5vw, 4rem)/1 var(--font-script); color: #f6e7c4; margin: .5rem 0 1rem; }
.visit__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.2rem; margin-bottom: .9rem; }
.visit__today { font-weight: 600; color: #f4efe2; }
.visit__addr { color: rgba(244, 239, 226, .72); font-size: .95rem; }
@media (max-width: 720px) {
  .visit__inner { grid-template-columns: 1fr; }
  .visit__btn { justify-self: start; }
}


/* =====================================================================
   Pattern 01 (brand sheet C01): the cream botanical pattern with the
   Shemroon badge. Used inside the menu category boxes, in the home page's
   moving dish slides, and (under the green) behind the phone ☰ menu.
   images/shemroon-pattern-01.jpg is a seamless tile rebuilt from the brand
   drawings (C01 + the C07 badge). Everything else keeps its original look.
   ===================================================================== */

/* --------- menu boxes: whole plates on Pattern 01, words on a cream label ---------
   The menu overview boxes (.cat-card) and every dish box on the category pages
   (.menu-item). Photos are cut-outs with the shadow baked in. */
.cat-card a,
.menu-item {
  background: #e1d3c2 url('../images/shemroon-pattern-01.jpg') repeat;
  background-size: 230px auto;
  border: 1px solid rgba(231, 199, 122, .6);
  box-shadow: 0 16px 38px rgba(12, 12, 12, .2);
}
.cat-card a:hover { box-shadow: 0 24px 50px rgba(12, 12, 12, .28); }

/* the cream label the words sit on */
.cat-card__body,
.menu-item__body {
  background: rgba(251, 247, 239, .95);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 6px 16px rgba(72, 63, 45, .12);
}

/* menu overview */
.cat-card a { display: flex; flex-direction: column; gap: .5rem; padding: .7rem; }
.cat-card figure { display: grid; place-items: center; padding: .15rem .6rem 0; overflow: visible; }
.cat-card img { width: 100%; height: clamp(11.25rem, 16.5vw, 14rem); object-fit: contain; }
.cat-card a:hover img { transform: scale(1.04) rotate(-1.5deg); }

/* dish boxes on the category pages */
.menu-item { padding: .7rem; gap: .5rem; }
.menu-item__photo { margin: 0; padding: .15rem .6rem 0; display: grid; place-items: center; }
.menu-item__photo img { width: 100%; height: clamp(12.75rem, 19.5vw, 15.75rem); object-fit: contain; }
.menu-item__body {
  display: flex; flex-direction: column; gap: .7rem; flex: 1 1 auto;
  padding: clamp(1rem, 2vw, 1.35rem);
}

/* ------------------------- home page moving slides ------------------------- */
.dish-photo {
  padding: clamp(1rem, 1.7vw, 1.35rem);
  background: #e1d3c2 url('../images/shemroon-pattern-01.jpg') repeat;
  background-size: 200px auto;
  box-shadow: none;              /* no halo beside the boxes (it banded where the rows clip it) */
}
/* the plates are cut-outs (background removed): shown whole, centred on the pattern.
   Their soft shadow is baked into the image, so the moving rows stay smooth. */
.dish-photo img {
  height: clamp(12.5rem, 20vw, 18rem);
  object-fit: contain;
  object-position: center;
}

/* ------------- phone ☰ menu: Pattern 01 under the original green ------------- */
@media (max-width: 720px) {
  .nav__links {
    background:
      radial-gradient(ellipse at 50% 35%, rgba(88, 94, 62, .84), rgba(38, 42, 27, .92)),
      #3a3f2b url('../images/shemroon-pattern-01.jpg') repeat;
    background-size: auto, 300px auto;
  }
}

