/* T17 Curator — forest ground, cream ink, coral as the accent only.
   Familjen Grotesk for everything; Homemade Apple ONLY for the notes in the owner's hand.
   Panels are solid colours (never rgba): deeper green, lifted green, or cream paper with dark green
   text. Paper is where somebody writes: the note slips, the order pad, the ticket, the dish sheet. */
:root {
  --bg: #1F4D3A;            /* forest: the page */
  --bg-2: #275C46;          /* lifted green panel (brand-tokens.js measures small brand text against it) */
  --bg-deep: #173B2C;       /* deeper green panel */
  --bg-card: #275C46;
  --ink: #F5EEDC;           /* cream */
  --ink-soft: #E3E6D6;
  --ink-muted: #C3D3C6;     /* 6.2:1 on forest, 5.0:1 on the lifted panel */
  --line: #2F6A52;
  --line-bright: #5E947C;
  --paper: #F5EEDC;
  --paper-ink: #12291F;     /* 13:1 on paper */
  --paper-muted: #3F5A4C;   /* 6.5:1 on paper */
  --paper-line: #D9CFB6;
  --brand: #FF8A70;         /* coral: buttons, rules, marks, the underline of a note */
  --brand-ink: #12291F;     /* 6.7:1 on coral */
  --brand-readable: #FFB9A9; /* coral as small text: 4.7:1 on the lifted panel, 5.8:1 on forest */
  --brand-on-dark: #FF9881;
  --r: 20px;
  --r-sm: 12px;
  --font-display: "Familjen Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Familjen Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-hand: "Homemade Apple", "Segoe Script", "Bradley Hand", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased; padding-bottom: 0; }
body.wsf-locked { overflow: hidden; }
main { overflow-x: clip; }
img, video, iframe { max-width: 100%; display: block; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; overflow-wrap: anywhere; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; clip-path: inset(50%); }
.skip:focus { clip-path: none; inset-inline-start: 12px; top: 12px; z-index: 99; background: var(--paper); color: var(--paper-ink); padding: 12px 18px; border-radius: var(--r-sm); }

/* Urdu and Punjabi: the text runs right to left, the layout stays as designed. */
body.rtl-text :is(h1, h2, h3, h4, p, li, span, b, td, blockquote, small, label, figcaption, dt, dd, input, .nm) { unicode-bidi: plaintext; }
body.rtl-text :is(.closing-line, .maya-lede, .week h3, .rituals .day, .tags, .heat, .dock-review) { direction: rtl; unicode-bidi: isolate; }
/* Blocks whose lines are read from the right start at the right: headings and their rule, a pick's
   words, the questions, the order pad's labels and total, the hours table (day names at the reading edge). */
body.rtl-text :is(.sec-head, .five-head, .pick-body, .answer-body, .t-copy, .ask, .field, .sum, .hours, .strip-body, .v-block, .wsr-field) { direction: rtl; }
body.rtl-text .range { direction: ltr; }
body.rtl-text .per { text-align: start; }
body.rtl-text .hero h1 { line-height: 1.3; }
body.rtl-text { line-height: 1.85; }
body.rtl-text :is(h1, h2, h3, h4, .statement, .closing-line, blockquote) { line-height: 1.5; letter-spacing: 0; }
/* The handwriting face has no Arabic letters: the slip and its tilt stay, the face is the system's. */
body.rtl-text :is(.slip, .wsf-promo-badge) { font-family: var(--font-body); font-size: 1.05rem; line-height: 1.8; }
body.no-wa [data-wa] { display: none !important; }
body.no-wa:not(.has-order) .dock { display: none; }
body.failed main > :not(.hero), body.failed .dock, body.failed .top, body.failed .reel, body.failed .hero-panel > :not(h1) { display: none; }
body.failed .hero-wrap { margin-top: 24px; }

/* ── Buttons and links ─────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 13px 26px; border: 0; border-radius: 99px; background: var(--brand); color: var(--brand-ink); font-weight: 700; font-size: 1.05rem; line-height: 1.2; text-decoration: none; text-align: center; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:hover { filter: brightness(1.06); }
.btn.dark { background: var(--bg); color: var(--ink); }
.btn.add { min-height: 48px; padding: 10px 22px; background: var(--paper); color: var(--paper-ink); font-weight: 600; font-size: 1rem; }
.btn.add.added { background: var(--brand); color: var(--brand-ink); }
.sec-cta { margin-top: 28px; width: 100%; }
.quiet { display: inline-flex; align-items: center; min-height: 44px; color: var(--brand-readable); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.textbtn { min-height: 44px; padding: 0 4px; border: 0; background: none; text-decoration: underline; text-underline-offset: 4px; }
.pr { color: var(--brand-readable); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nm { display: inline-flex; align-items: center; min-height: 40px; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: start; }
.nm:hover { text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 5px; }

/* The note in the owner's hand: a paper slip, a degree or two off straight. */
.slip { justify-self: start; width: fit-content; max-width: 100%; padding: 9px 16px 7px; background: var(--paper); color: var(--paper-ink); border-radius: 3px; font-family: var(--font-hand); font-size: .95rem; line-height: 1.75; transform: rotate(-1.6deg); box-shadow: 0 12px 22px -14px #06140E; }
.slip span { text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 7px; }

/* ── Header ────────────────────────────────────────────────────────────────── */
.top { background: var(--bg); padding: 10px 0; }
.top-in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; margin-inline-end: auto; }
.who img { width: 40px; height: 40px; flex: none; object-fit: contain; border-radius: 10px; background: var(--paper); }
.who span { display: grid; min-width: 0; }
.who b { font-size: 1.1rem; font-weight: 700; line-height: 1.2; }
.who small { font-size: .85rem; color: var(--ink-muted); line-height: 1.3; }
.quick { display: flex; gap: 2px; }
.quick a { display: inline-flex; align-items: center; min-height: 40px; min-width: 44px; padding: 0 8px; font-weight: 600; font-size: .98rem; text-underline-offset: 4px; }
.lang { display: flex; gap: 4px; }
.lang button { min-width: 44px; min-height: 40px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line-bright); background: var(--bg); color: var(--ink); font-size: .92rem; }
.lang button[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--paper-ink); font-weight: 600; }

/* ── Hero: the reel, and one solid panel over part of it ───────────────────── */
.hero { position: relative; padding-bottom: 12px; }
/* On a phone the reel takes well under half the screen, so the panel's button clears the ticket at the foot. */
.reel { position: relative; height: clamp(240px, 38vh, 440px); height: clamp(240px, 38svh, 440px); background: var(--bg-deep); overflow: hidden; }
.reel-stage { position: absolute; inset: 0; }
.reel-stage :is(img, video) { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.reel-stage img { opacity: 0; transition: opacity 1.6s ease; }
.reel-stage img.on { opacity: 1; }
/* The photograph on screen wears its note; the dish it shows is named in the panel, under the marks. */
.reel-slip { position: absolute; z-index: 1; top: 18px; inset-inline-end: 16px; max-width: 78%; transform: rotate(2deg); }
.reel-cap { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0 12px; min-height: 44px; margin: -8px 0 -6px; padding: 0; border: 0; background: var(--bg-deep); color: var(--ink); font-weight: 600; line-height: 1.3; text-align: start; }
.reel-cap .reel-nm { text-decoration: underline; text-decoration-color: var(--line-bright); text-underline-offset: 5px; }
.hero-wrap { position: relative; margin-top: -44px; }
.hero-panel { display: grid; gap: 14px; justify-items: start; padding: 18px 20px 24px; background: var(--bg-deep); border-radius: var(--r); }
.hero.solo .reel { display: none; }
.hero.solo .hero-wrap { margin-top: 12px; }
.reel-ctl { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.marks { display: flex; gap: 6px; }
.marks i { width: 28px; height: 3px; border-radius: 2px; background: var(--line-bright); }
.marks i.on { background: var(--brand); }
.reel-ctl.held .marks i.on { background: var(--ink); }
.reel-pause { display: grid; place-items: center; width: 40px; height: 40px; margin-inline-start: auto; border-radius: 50%; border: 1.5px solid var(--line-bright); background: var(--bg-deep); }
.reel-pause i { width: 10px; height: 12px; border-inline: 3px solid var(--ink); }
.reel-pause[aria-pressed="true"] i { width: 0; height: 0; border-block: 7px solid var(--bg-deep); border-inline-start: 11px solid var(--ink); border-inline-end: 0; margin-inline-start: 3px; }
.hero h1 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 3.4rem); line-height: 1.04; letter-spacing: -.03em; }
.hero .lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 40ch; }
.hero .btn { width: 100%; margin-top: 4px; }

/* ── How it works ──────────────────────────────────────────────────────────── */
.strip { padding: 34px 0 40px; border-bottom: 1px solid var(--line); }
.strip h2 { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; color: var(--ink-muted); margin-bottom: 10px; }
.strip-body { display: grid; gap: 12px; }
.statement { font-size: 1.3rem; line-height: 1.4; font-weight: 500; max-width: 46ch; }
.speaks { color: var(--ink-muted); max-width: 54ch; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.facts li { padding: 5px 13px; border: 1px solid var(--line-bright); border-radius: 99px; font-size: .92rem; color: var(--ink-soft); }
.facts .halal-li { flex-basis: 100%; padding: 2px 0 4px; border: 0; border-radius: 0; color: var(--ink); }

/* ── Sections ──────────────────────────────────────────────────────────────── */
.sec { padding: clamp(56px, 9vw, 108px) 0; }
.sec.deep { background: var(--bg-deep); }
.sec.lift { background: var(--bg-2); }
.sec-head { display: grid; gap: 12px; max-width: 62ch; margin-bottom: 28px; }
.sec-head h2, .five-head h2 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.8rem); }
.sec-head h2::before, .five-head h2::before { content: ""; display: block; width: 44px; height: 3px; margin-bottom: 18px; border-radius: 2px; background: var(--brand); }
.hint { color: var(--ink-muted); font-size: 1.05rem; max-width: 56ch; }

/* ── Tonight's five ────────────────────────────────────────────────────────── */
.five { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 9vw, 108px); }
.five-head { display: grid; gap: 12px; margin-bottom: 32px; }
.picks { display: grid; gap: clamp(48px, 8vw, 104px); }
.pick { display: grid; }
.pick-ph { display: block; width: 100%; aspect-ratio: 5 / 4; padding: 0; border: 0; background: var(--bg-deep); overflow: hidden; }
.pick-ph img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.pick-body { position: relative; z-index: 1; display: grid; gap: 10px; justify-items: start; width: min(1180px, 100% - 32px); margin-inline: auto; }
.pick-body h3 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.6rem); }
.pick-body h3 .nm { min-height: 44px; }
.pick-cat { color: var(--ink-muted); font-size: .95rem; margin-top: -6px; }
.pick-body .d, .answer-body .d { color: var(--ink-soft); font-size: 1.08rem; line-height: 1.6; max-width: 48ch; }
.pick .slip { order: -1; justify-self: end; max-width: 92%; margin: -30px 0 6px; }
.pick:nth-child(even) .slip { justify-self: start; transform: rotate(1.4deg); }
.pick.bare .slip { margin-top: 0; }
.heat { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--ink-soft); }
.heat .lbl { color: var(--ink-muted); }
.pips { display: inline-flex; gap: 3px; }
.pips i { width: 6px; height: 14px; border-radius: 2px; background: var(--line-bright); }
.pips i.on { background: var(--brand); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { padding: 2px 10px; border: 1px solid var(--line-bright); border-radius: 99px; font-size: .84rem; color: var(--ink-muted); }
.pick-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 8px; }
.pick-buy .pr { font-size: 1.6rem; }
.five-foot .sec-cta { margin-top: clamp(40px, 6vw, 72px); }
/* Motion: each pick's photograph and its note fade in once, as the pick arrives. Nothing slides. */
.rv .pick .pick-ph img, .rv .pick .slip { opacity: 0; transition: opacity .9s ease; }
.rv .pick.in .pick-ph img { opacity: 1; }
.rv .pick.in .slip { opacity: 1; transition-delay: .35s; }

/* ── Kitchen tonight ───────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
.stats li { display: grid; gap: 4px; align-content: start; padding-top: 14px; border-top: 1px solid var(--line-bright); }
.stats b { font-size: 1.45rem; font-weight: 600; line-height: 1.15; }
.stats span { font-size: .93rem; color: var(--ink-muted); line-height: 1.35; }
.soldline { margin-top: 26px; padding-inline-start: 14px; border-inline-start: 3px solid var(--brand); color: var(--ink-soft); max-width: 60ch; }
.t-today { display: grid; margin-top: 32px; background: var(--paper); color: var(--paper-ink); border-radius: var(--r); overflow: hidden; }
.t-ph img { width: 100%; height: auto; aspect-ratio: 16 / 10; max-width: none; object-fit: cover; }
.t-copy { display: grid; gap: 10px; justify-items: start; align-content: center; padding: 22px 20px 24px; }
.t-today .slip { background: var(--bg); color: var(--ink); margin-bottom: 4px; }
.t-today .when { font-size: .92rem; color: var(--paper-muted); }
.t-today h3 { font-size: 1.7rem; }
.t-today .d { color: var(--paper-muted); max-width: 46ch; }
.t-today .buy { display: flex; align-items: baseline; gap: 12px; }
.t-today .pr { color: var(--paper-ink); font-size: 1.5rem; }
.t-today .was s { color: var(--paper-muted); }
.t-today .btn { margin-top: 6px; }
.week { margin-top: 44px; }
.week h3 { font-size: 1.4rem; }
.week-note { margin-top: 8px; color: var(--ink-muted); max-width: 54ch; }
.rituals { display: grid; margin-top: 18px; }
.rituals li { display: grid; gap: 6px; padding: 16px 0 16px 14px; border-top: 1px solid var(--line); border-inline-start: 3px solid var(--bg-deep); }
.rituals li.now { border-inline-start-color: var(--brand); }
.rituals .day { font-size: .93rem; color: var(--ink-muted); }
.rituals .day b { margin-inline-start: 6px; padding: 1px 9px; border-radius: 99px; background: var(--paper); color: var(--paper-ink); font-weight: 600; font-size: .82rem; }
.rituals h4 { font-size: 1.15rem; letter-spacing: -.01em; }
.rituals .what p { margin-top: 3px; color: var(--ink-soft); font-size: .98rem; }
.rituals .buy { display: flex; align-items: center; gap: 16px; }
.rituals .pr { font-size: 1.1rem; }

/* ── The curator's story ───────────────────────────────────────────────────── */
.story-cols { display: grid; gap: 28px; }
.portrait img { width: min(320px, 70%); height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.story-body { display: grid; gap: 16px; max-width: 64ch; }
.story-body p { font-size: 1.1rem; line-height: 1.75; color: var(--ink-soft); }
.story-body p:first-child { font-size: 1.3rem; line-height: 1.55; color: var(--ink); }
.story-body h3 { font-size: 1.25rem; margin-top: 10px; }
body.rtl-text .story-body p { line-height: 2; }
.sign { display: inline-block; margin-top: 26px; font-family: var(--font-hand); font-size: 1.55rem; line-height: 1.7; color: var(--ink); transform: rotate(-2deg); transform-origin: 0 50%; text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 12px; }
.film { margin-top: 18px; }

/* ── The door ──────────────────────────────────────────────────────────────── */
.door-sec { padding-bottom: clamp(56px, 9vw, 108px); }
.door-sec > .wrap { padding-top: clamp(48px, 8vw, 88px); }
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.mosaic button { display: block; aspect-ratio: 1; padding: 0; border: 0; background: var(--bg-deep); overflow: hidden; }
.mosaic img { width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .94; transition: opacity .3s ease; }
.mosaic button:hover img, .mosaic button:focus-visible img { opacity: 1; }
.door { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; max-width: 560px; min-height: 68px; padding: 16px 24px 16px 20px; border: 0; border-inline-start: 6px solid var(--brand); border-radius: var(--r); background: var(--paper); color: var(--paper-ink); font-size: 1.2rem; font-weight: 700; text-align: start; }
.door i { flex: none; width: 12px; height: 12px; margin: -6px 6px 0; border-inline-end: 3px solid var(--paper-ink); border-bottom: 3px solid var(--paper-ink); transform: rotate(45deg); }
.door[aria-expanded="true"] i { margin-top: 6px; transform: rotate(-135deg); }
.noresult { margin-top: 18px; color: var(--ink-muted); }
.menu { margin-top: 20px; padding: 0 14px 26px; background: var(--bg-deep); border-radius: var(--r); }
.rv .menu { animation: t17-fade .5s ease; }
@keyframes t17-fade { from { opacity: 0; } to { opacity: 1; } }
.menubar { position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px 0 12px; background: var(--bg-deep); border-bottom: 1px solid var(--line); border-radius: var(--r) var(--r) 0 0; }
.search input { width: 100%; min-height: 48px; padding: 0 18px; border-radius: 99px; border: 1.5px solid var(--line-bright); background: var(--bg); color: var(--ink); }
.search input::placeholder { color: var(--ink-muted); opacity: 1; }
.jumps { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 2px; }
.jumps::-webkit-scrollbar { display: none; }
.jumps a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-bright); border-radius: 99px; color: var(--ink); font-size: .95rem; text-decoration: none; white-space: nowrap; }
.jumps a[aria-current="true"] { background: var(--paper); border-color: var(--paper); color: var(--paper-ink); font-weight: 600; }
.cat { padding-top: 26px; scroll-margin-top: 132px; }
.cat h3 { font-size: 1.4rem; padding-bottom: 10px; }
.row { display: grid; grid-template-columns: 52px minmax(0, 1fr) 44px; grid-template-areas: "th main plus" "th pr plus"; gap: 2px 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.row.bare { grid-template-columns: minmax(0, 1fr) 44px; grid-template-areas: "main plus" "pr plus"; }
.row .th { grid-area: th; align-self: start; width: 52px; height: 52px; border-radius: var(--r-sm); overflow: hidden; background: var(--bg); }
.row .th img { width: 100%; height: 100%; object-fit: cover; }
.row-main { grid-area: main; min-width: 0; }
.row h4 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.row .d { font-size: .93rem; line-height: 1.45; color: var(--ink-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row .tags { margin-top: 6px; }
.row .pr { grid-area: pr; font-size: 1rem; }
.row .plus, .row .out { grid-area: plus; justify-self: end; }
.plus { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper); color: var(--paper-ink); font-size: 1.45rem; font-weight: 500; line-height: 1; }
.plus.added { background: var(--brand); color: var(--brand-ink); }
.row .out { grid-area: pr; justify-self: start; font-size: .9rem; color: var(--ink-muted); }
.row.soldout .pr { display: none; }
.row.soldout :is(h4, .d) { color: var(--ink-muted); }
.menu .sec-cta { margin-top: 28px; }

/* ── Ask the curator ───────────────────────────────────────────────────────── */
.asks { display: grid; gap: 18px; }
.ask { display: grid; gap: 8px; }
.ask .lbl, .field .lbl { font-size: .95rem; color: var(--ink-muted); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts button { min-height: 44px; padding: 8px 18px; border-radius: 99px; border: 1.5px solid var(--line-bright); background: var(--bg-2); color: var(--ink); }
.opts button[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--paper-ink); font-weight: 600; }
.pick-out:not(:empty) { margin-top: 30px; }
.answer { display: grid; background: var(--bg-deep); border-radius: var(--r); overflow: hidden; }
.answer-ph { display: block; padding: 0; border: 0; background: var(--bg); aspect-ratio: 16 / 10; overflow: hidden; }
.answer-ph img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.answer-body { display: grid; gap: 10px; justify-items: start; align-content: center; padding: 22px 20px 24px; }
.answer-body h3 { font-size: 1.6rem; }
.answer .slip { margin-bottom: 4px; }

/* ── Your order: the order pad ─────────────────────────────────────────────── */
.order-body { display: grid; gap: 16px; padding: 22px 18px 24px; background: var(--paper); color: var(--paper-ink); border-radius: var(--r); }
.plan { display: grid; gap: 18px; padding-bottom: 18px; border-bottom: 1px dashed var(--paper-line); }
.field { display: grid; gap: 8px; }
.order-body .lbl { color: var(--paper-muted); }
.party { display: flex; flex-wrap: wrap; gap: 6px; }
.party button { min-width: 46px; min-height: 44px; border-radius: 99px; border: 1.5px solid var(--paper-line); background: var(--paper); color: var(--paper-ink); font-weight: 600; }
.party button[aria-pressed="true"] { background: var(--bg); border-color: var(--bg); color: var(--ink); }
.range { display: flex; align-items: center; gap: 14px; }
.range input { flex: 1; min-width: 0; min-height: 40px; accent-color: #1F4D3A; }
.range b { min-width: 3.2ch; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.order-body .empty { color: var(--paper-muted); }
.lines { display: grid; }
.lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--paper-line); }
.lines .n { font-weight: 600; line-height: 1.3; }
.lines .q { display: inline-flex; align-items: center; gap: 4px; }
.lines .q button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--paper-line); background: var(--paper); color: var(--paper-ink); font-size: 1.2rem; line-height: 1; }
.lines .q b { min-width: 2ch; text-align: center; font-variant-numeric: tabular-nums; }
.lines .p { min-width: 5ch; text-align: end; font-variant-numeric: tabular-nums; }
.sum { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 1.1rem; }
.sum b { font-size: 1.7rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.per { margin-top: -10px; text-align: end; color: var(--paper-muted); font-size: .95rem; }
.order-body .btn { margin-top: 4px; background: var(--bg); color: var(--ink); }
.order-body .quiet { justify-self: center; color: var(--paper-ink); }
.paynote { color: var(--paper-muted); font-size: .93rem; text-align: center; }
.order-body .textbtn { justify-self: center; color: var(--paper-ink); }

/* ── Maya ──────────────────────────────────────────────────────────────────── */
.maya-cols { display: grid; gap: 32px; }
.chat { display: grid; gap: 10px; max-width: 460px; }
.chat p { display: flex; }
.chat p.me { justify-content: flex-end; }
.chat span { max-width: 86%; padding: 10px 15px; line-height: 1.45; }
.chat .me span { background: var(--paper); color: var(--paper-ink); border-radius: 18px 18px 4px 18px; }
.chat .maya span { background: var(--bg-2); color: var(--ink); border-radius: 18px 18px 18px 4px; }
.promises { display: grid; }
.promises li { display: grid; gap: 3px; padding: 14px 0; border-top: 1px solid var(--line); }
.promises b { font-size: 1.08rem; }
.promises span { color: var(--ink-muted); }

/* ── Guests ────────────────────────────────────────────────────────────────── */
.quotes { display: grid; gap: 16px; }
.quote { display: grid; gap: 14px; align-content: space-between; padding: 24px 22px; background: var(--bg-2); border-radius: var(--r); }
.quote blockquote { font-size: 1.15rem; line-height: 1.55; }
.quote figcaption { color: var(--ink-muted); font-size: .96rem; }
.stars { margin-inline-start: 8px; color: var(--brand-readable); letter-spacing: 2px; }

/* ── Reservations: every wsr-* hook ────────────────────────────────────────── */
.wsr { display: grid; gap: 16px; max-width: 720px; }
.wsr-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wsr-field { display: grid; gap: 6px; font-size: .95rem; color: var(--ink-muted); }
.wsr-field :is(select, input) { width: 100%; min-height: 48px; padding: 8px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line-bright); background: var(--bg-deep); color: var(--ink); font-size: 1rem; color-scheme: dark; }
.wsr-field input::placeholder { color: var(--ink-muted); opacity: 1; }
.wsr-slots { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.wsr-slots:has(.wsr-slot) { gap: 8px; }
.wsr-slot { min-height: 46px; padding: 6px 16px; border-radius: 99px; border: 1.5px solid var(--line-bright); background: var(--bg); color: var(--ink); font-variant-numeric: tabular-nums; }
.wsr-slot small { display: block; font-size: .74rem; color: var(--ink-muted); }
.wsr-slot[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--paper-ink); font-weight: 600; }
.wsr-slot[aria-pressed="true"] small { color: var(--paper-muted); }
.wsr-slot.is-out { background: var(--bg-2); border-style: dashed; color: var(--ink-muted); text-decoration: line-through; cursor: not-allowed; }
.wsr-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 6px; }
.wsr-form > :not(.wsr-field), .wsr-wide { grid-column: 1 / -1; }
.wsr-chosen { font-weight: 600; color: var(--ink); }
.wsr-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: .96rem; color: var(--ink-soft); }
.wsr-check input { width: 20px; height: 20px; flex: none; accent-color: #FF8A70; }
.wsr-submit, .wsr-wa, a.wsr-waitlist { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 26px; border: 0; border-radius: 99px; background: var(--brand); color: var(--brand-ink); font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.wsr-wa, a.wsr-waitlist { justify-self: start; background: var(--paper); color: var(--paper-ink); }
.wsr-submit:disabled { opacity: .7; }
.wsr-error { color: #FFD3C9; font-weight: 600; }
.wsr-policy, .wsr-bigparty, .wsr-closed, .wsr-off, .wsr-loading { color: var(--ink-muted); font-size: .95rem; }
.wsr-policy { display: grid; gap: 4px; padding-inline-start: 20px; list-style: disc; }
.wsr-done { display: grid; gap: 8px; padding: 22px; background: var(--paper); color: var(--paper-ink); border-radius: var(--r); }
.wsr-done h3 { font-size: 1.5rem; }

/* ── Catering ──────────────────────────────────────────────────────────────── */
.prose { font-size: 1.15rem; line-height: 1.65; color: var(--ink-soft); max-width: 62ch; }
.points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.points li { padding: 6px 14px; border: 1px solid var(--line-bright); border-radius: 99px; font-size: .95rem; color: var(--ink-soft); }
.packs { display: grid; gap: 16px; margin-top: 28px; }
.pack { display: grid; gap: 8px; align-content: start; padding: 22px; background: var(--bg-2); border-radius: var(--r); }
.pack h3 { font-size: 1.3rem; }
.pack p { color: var(--ink-soft); }
.pack .serves { color: var(--ink-muted); font-size: .95rem; }

/* ── Visit ─────────────────────────────────────────────────────────────────── */
.visit-body { display: grid; gap: 36px; }
.v-block { display: grid; gap: 12px; align-content: start; min-width: 0; }
.v-block h3 { font-size: 1.3rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.hours td:last-child { text-align: end; font-variant-numeric: tabular-nums; }
.hours tr.today td { color: var(--ink); font-weight: 700; }
.addr { font-size: 1.1rem; }
.where-act { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.map { background: var(--bg-2); border-radius: var(--r); overflow: hidden; }
.map iframe { width: 100%; height: 260px; border: 0; border-radius: var(--r); }
.v-block.qr { grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px; background: var(--paper); color: var(--paper-ink); border-radius: var(--r); }
.qr-ph img { width: 124px; height: 124px; }
.v-block.qr p { margin-top: 6px; color: var(--paper-muted); font-size: .96rem; }

/* ── Closing and footer ────────────────────────────────────────────────────── */
.closing { padding: clamp(64px, 10vw, 128px) 0; }
.closing-line { font-family: var(--font-display); font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem); font-weight: 600; line-height: 1.08; letter-spacing: -.03em; max-width: 16ch; }
.closing-note { margin-top: 16px; color: var(--ink-muted); font-size: 1.1rem; max-width: 44ch; }
.foot { padding: 34px 0 calc(116px + env(safe-area-inset-bottom)); background: var(--bg-deep); }
.foot-in { display: grid; gap: 14px; color: var(--ink-muted); font-size: .96rem; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials .social { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-bright); color: var(--ink); }
.socials .social svg { width: 18px; height: 18px; }
.fine a { display: inline-flex; align-items: center; min-height: 40px; min-width: 44px; color: var(--ink); font-weight: 600; text-underline-offset: 4px; }

/* ── The ticket pinned at the foot of the screen ───────────────────────────── */
.dock { position: fixed; z-index: 40; inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); }
.ticket { display: flex; align-items: stretch; gap: 0; background: var(--paper); color: var(--paper-ink); border: 2px solid var(--brand); border-radius: 16px; box-shadow: 0 16px 30px -14px #06140E; overflow: hidden; }
.dock-wa { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 8px 16px; color: var(--paper-ink); font-weight: 700; font-size: 1.02rem; line-height: 1.2; text-align: center; text-decoration: none; }
.dock-wa svg { width: 22px; height: 22px; flex: none; color: var(--bg); }
.dock-review { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 56px; padding: 8px 12px; border-inline-end: 2px dashed var(--paper-line); color: var(--paper-ink); font-size: .93rem; line-height: 1.2; text-decoration: none; }
.dock-review .n { display: grid; place-items: center; flex: none; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 99px; background: var(--bg); color: var(--ink); font-variant-numeric: tabular-nums; }
.dock-review span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dock-review .dsum { margin-inline-start: auto; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
body.has-order .dock-wa { flex: none; margin: 6px; min-height: 44px; padding: 6px 16px; border-radius: 11px; background: var(--bg); color: var(--ink); }
body.has-order .dock-wa svg { color: var(--ink); }
/* On a phone the ticket keeps the count and the total; the words between them are for screen readers. */
@media (max-width: 599px) {
  .dock-review span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

/* ── Dish sheet and promo: paper cards, fixed, on screen ───────────────────── */
.wsf-sheet, .wsf-promo { position: fixed; inset: 0; z-index: 60; display: grid; place-items: end center; }
.wsf-sheet-back, .wsf-promo-back { position: absolute; inset: 0; background: rgba(6, 20, 14, .74); }
.wsf-sheet-card, .wsf-promo-card { position: relative; z-index: 1; width: 100%; max-height: 92svh; overflow: auto; background: var(--paper); color: var(--paper-ink); border-radius: var(--r) var(--r) 0 0; }
.rv :is(.wsf-sheet-card, .wsf-promo-card) { animation: t17-fade .35s ease; }
.wsf-sheet-close, .wsf-promo-close { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg); color: var(--ink); font-size: 1.5rem; line-height: 1; }
.wsf-sheet-media img { width: 100%; aspect-ratio: 4 / 3; max-width: none; object-fit: cover; }
.wsf-promo-media img { width: 100%; max-height: 240px; max-width: none; object-fit: cover; }
.wsf-sheet-body, .wsf-promo-body { display: grid; gap: 12px; padding: 22px 20px 26px; }
/* No photograph above: keep the first lines clear of the close button. */
.wsf-sheet-media[hidden] + .wsf-sheet-body, .wsf-promo-close + .wsf-promo-body { padding-top: 64px; }
.wsf-sh-cat { font-size: .92rem; color: var(--paper-muted); }
.wsf-sh-cat:empty, .wsf-sh-alt:empty, .wsf-sh-story:empty, .wsf-pairs:empty { display: none; }
.wsf-sheet-body h3, .wsf-promo-body h3 { font-size: 1.75rem; }
.wsf-sh-alt { color: var(--paper-muted); }
.wsf-sh-story, .wsf-promo-body p { color: var(--paper-muted); line-height: 1.6; }
.wsf-facts { display: grid; margin: 0; border-top: 1px solid var(--paper-line); }
.wsf-facts > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--paper-line); }
.wsf-facts dt { font-size: .9rem; color: var(--paper-muted); }
.wsf-facts dd { margin: 0; font-size: .98rem; color: var(--paper-ink); }
.wsf-heat { display: inline-flex; align-items: center; gap: 3px; }
.wsf-heat i { width: 6px; height: 14px; border-radius: 2px; background: var(--paper-line); }
.wsf-heat i.on { background: var(--bg); }
.wsf-heat span { margin-inline-start: 8px; }
.wsf-pairs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.wsf-pairs-label, .wsf-sh-sizes-label { width: 100%; font-size: .9rem; color: var(--paper-muted); }
.wsf-pairs button, .wsf-sh-sizes button { min-height: 44px; padding: 6px 14px; border-radius: 99px; border: 1.5px solid var(--paper-line); background: var(--paper); color: var(--paper-ink); font-size: .95rem; }
.wsf-pairs button:hover, .wsf-sh-sizes button:hover { border-color: var(--paper-muted); }
.wsf-sheet-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }
.wsf-sh-sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; width: 100%; }
.wsf-sh-sizes button[aria-pressed="true"] { background: var(--bg); border-color: var(--bg); color: var(--ink); }
.wsf-sh-sizes small { display: block; font-size: .78rem; color: var(--paper-muted); }
.wsf-sh-sizes button[aria-pressed="true"] small { color: var(--ink-muted); }
.wsf-sh-price, .wsf-promo-price { font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--paper-ink); }
.wsf-promo-price s { font-size: .65em; font-weight: 400; color: var(--paper-muted); }
.wsf-sh-add, .wsf-promo-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 26px; border: 0; border-radius: 99px; background: var(--bg); color: var(--ink); font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.wsf-promo-badge { justify-self: start; padding: 8px 14px 6px; background: var(--bg); color: var(--ink); border-radius: 3px; font-family: var(--font-hand); font-size: .9rem; line-height: 1.7; transform: rotate(-1.6deg); }
.wsf-promo-skip { justify-self: center; min-height: 44px; border: 0; background: none; color: var(--paper-ink); text-decoration: underline; text-underline-offset: 4px; }
.wsf-sheet :focus-visible, .wsf-promo :focus-visible, .order-body :focus-visible, .ticket :focus-visible, .t-today :focus-visible { outline-color: #1F4D3A; }
.wsf-sheet .wsf-sh-add:focus-visible, .wsf-promo .wsf-promo-cta:focus-visible, .wsf-sheet-close:focus-visible, .wsf-promo-close:focus-visible { outline-color: #FF8A70; }

/* ── Wider screens ─────────────────────────────────────────────────────────── */
@media (min-width: 600px) {
  .sec-cta, .hero .btn { width: auto; min-width: 300px; }
  .mosaic { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .order-body { padding: 30px 30px 32px; }
  .plan { grid-template-columns: 1fr 1fr; gap: 24px; }
  .wsf-sheet, .wsf-promo { place-items: center; padding: 24px; }
  .wsf-sheet-card, .wsf-promo-card { width: min(520px, 100%); max-height: calc(100svh - 48px); border-radius: var(--r); }
  .dock { inset-inline: auto 24px; bottom: 24px; width: 400px; }
  .foot { padding-bottom: 116px; }
}
@media (min-width: 760px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .t-today { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .t-ph { position: relative; min-height: 340px; }
  .t-ph img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .t-copy { padding: 34px 36px; }
  .rituals li { grid-template-columns: 180px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding-inline-start: 18px; }
  .answer { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
  .answer-ph { aspect-ratio: auto; min-height: 240px; }
  .answer-body { padding: 30px 32px; }
  .menu { padding: 0 28px 34px; }
  .row { grid-template-columns: 64px minmax(0, 1fr) auto 44px; grid-template-areas: "th main pr plus"; gap: 16px; padding: 14px 0; }
  .row.bare { grid-template-columns: minmax(0, 1fr) auto 44px; grid-template-areas: "main pr plus"; }
  .row .th { width: 64px; height: 64px; align-self: center; }
  .row .out { justify-self: end; }
  .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .packs { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (min-width: 900px) {
  .top { padding: 14px 0; }
  .hero { padding-bottom: 0; }
  .reel { height: clamp(560px, 86vh, 860px); }
  .hero-wrap { position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin-top: 0; display: flex; align-items: flex-end; padding-bottom: 56px; pointer-events: none; }
  .hero-panel { pointer-events: auto; width: min(540px, 46vw); padding: 28px 36px 36px; gap: 16px; }
  .hero.solo .hero-wrap { position: relative; padding: 40px 0 24px; }
  .reel-slip { top: 44px; inset-inline-end: max(16px, calc((100vw - 1180px) / 2)); max-width: 40vw; font-size: 1.1rem; }
  .strip { padding: 48px 0 52px; }
  .strip-in { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; }
  .strip h2 { margin: 6px 0 0; }
  .statement { font-size: 1.5rem; }
  /* A pick is half photograph, half words; the photograph runs to the edge of the screen, and the
     side it sits on alternates down the page. */
  .pick { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .pick.bare { grid-template-columns: minmax(0, 1fr); }
  .pick-ph { aspect-ratio: auto; height: min(78vh, 640px); border-radius: 0 var(--r) var(--r) 0; }
  .pick:nth-child(even) .pick-ph { order: 2; border-radius: var(--r) 0 0 var(--r); }
  .pick-body { width: auto; max-width: 620px; margin: 0; padding: 0 clamp(36px, 5vw, 88px); gap: 12px; }
  .pick:nth-child(even) .pick-body { justify-self: end; }
  .pick.bare .pick-body { width: min(1180px, 100% - 32px); max-width: none; margin-inline: auto; padding: 0; justify-self: stretch; }
  .pick .slip { justify-self: start; max-width: none; margin: 0 0 14px -96px; font-size: 1.02rem; }
  .pick:nth-child(even) .slip { justify-self: end; margin: 0 -96px 14px 0; }
  .pick.bare .slip { margin: 0 0 14px; justify-self: start; }
  /* right-to-left: the words start at the right, the slip still reaches across the seam to the photograph */
  body.rtl-text .pick:not(.bare) .slip { justify-self: end; }
  body.rtl-text .pick:nth-child(even):not(.bare) .slip { justify-self: start; }
  .story-cols:has(.portrait:not([hidden])) { grid-template-columns: 320px minmax(0, 1fr); gap: 56px; align-items: start; }
  .portrait img { width: 100%; }
  .maya-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .order-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
  .visit-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px 64px; }
  .v-block.qr { grid-column: 1; }
  #where { grid-row: 1 / span 2; grid-column: 2; }
  .map iframe { height: 320px; }
  .foot-in { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 24px; }
  body.at-order .dock { visibility: hidden; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
