/* San Mai customer landing. The brand blue the logo is drawn for, off-white
   type, and ONE accent: pink (the owner's pick; no yellow, no beige). From
   the Levain reference we keep the craft, not the palette: thin outlines, a
   hard "lifted plate" on button hover, prices and stickers in a mono face,
   the fact ticker. Shape rule: buttons pill, cards 16px, option boxes 8px. */

:root {
    --blue: #004190;
    --blue-deep: #00367a;
    --blue-ink: #002a61;
    --peri: #91a2d1;
    --peri-light: #c6cced;
    --paper: #f5f7fd;
    --paper-dim: rgba(245, 247, 253, 0.8);
    --line: rgba(198, 204, 237, 0.24);
    --pink: #ff8fc0;
    --pink-hover: #ffa6cd;
    --pink-ink: #002a61;
    --radius: 16px;
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
    --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
    --card-ink: #102447;
    --gutter: clamp(16px, 5vw, 56px);
    --maxw: 1240px;
    --font-latin: "Archivo", ui-sans-serif, sans-serif;
    --font-he: "Assistant", "Archivo", ui-sans-serif, sans-serif;
    --font-mono: "DM Mono", ui-monospace, monospace;
    color-scheme: dark;
}
html[dir="rtl"] { --font-mono: "Assistant", sans-serif; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0; background: var(--blue); color: var(--paper);
    font-family: var(--font-latin); font-size: 17px; line-height: 1.55;
    -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow-x: clip;
}
html[dir="rtl"] body { font-family: var(--font-he); font-size: 18px; }
::selection { background: var(--pink); color: var(--pink-ink); }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
html[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
/* `hidden` always wins over a component's own display (sections, buttons, the
   sheet). The review rail is left out on purpose: today its empty, hidden rail
   still takes its padding, and the default page must stay exactly as it is. */
[hidden]:not(#review-rail) { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* User text (ideas, comments) can be Hebrew on the English page: Hebrew face. */
[dir="auto"]:lang(he) { font-family: var(--font-he); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; background: var(--pink); color: var(--pink-ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }

/* Tags on the blue: "New" turns white so it reads on the dark card */
.lbl { --lbl-solid-bg: #ffffff; --lbl-solid-fg: #004190; }
.colour-card .lbl-at { top: 24px; left: 26px; }

/* ---------- Buttons: pink pill that lifts onto a white plate ---------- */
.btn {
    position: relative; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
    min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
    font: inherit; font-weight: 700; font-size: 0.98rem; text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: transform 160ms var(--ease-out);
    user-select: none; -webkit-user-select: none;
}
.btn::after {
    content: ""; position: absolute; inset: -1.5px; z-index: -2; border-radius: inherit;
    background: var(--paper); transition: transform 160ms var(--ease-out);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: inherit; }
.btn-primary { background: var(--pink); color: var(--pink-ink); }
.btn-outline { background: var(--blue); color: var(--paper); border-color: var(--peri-light); }
.btn-outline::after { background: var(--pink); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.92rem; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.04rem; }
@media (hover: hover) {
    .btn:hover { transform: translate(-3px, -3px); }
    .btn:hover::after { transform: translate(6px, 6px); }
    html[dir="rtl"] .btn:hover { transform: translate(3px, -3px); }
    html[dir="rtl"] .btn:hover::after { transform: translate(-6px, 6px); }
}
.btn:active { transform: translate(0, 0) scale(0.98); }
.btn:active::after { transform: none; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) { .btn, .btn::after { transition: none; } }

.arrow-link { display: inline-flex; align-items: center; gap: 6px; color: var(--peri-light); font-weight: 700; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; }
html[dir="rtl"] .arrow-link { letter-spacing: 0; }
.arrow-link:hover { color: var(--paper); }
.arrow-link:hover span { text-decoration: underline; }
.arrow-link i { transition: transform 160ms var(--ease-out); }
.arrow-link:hover i { transform: translateX(3px); }
html[dir="rtl"] .arrow-link:hover i { transform: scaleX(-1) translateX(3px); }

/* ---------- Top bar ---------- */
.topbar {
    position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px;
    height: 72px; padding: env(safe-area-inset-top) max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left)); box-sizing: content-box;
    background: rgba(0, 65, 144, 0.86);
    backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent; transition: border-color 200ms ease;
}
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar-logo img { height: 46px; width: auto; }
.topbar-nav { display: none; gap: 28px; margin-inline: auto; font-weight: 600; font-size: 0.95rem; }
.topbar-nav a { text-decoration: none; color: var(--paper-dim); }
.topbar-nav a:hover { color: var(--paper); }
.topbar-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }

.lang-btn { width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--line); cursor: pointer; background: transparent; color: var(--paper); font: inherit; font-weight: 800; font-size: 0.82rem; }
.lang-btn:hover { border-color: var(--peri-light); }
@media (min-width: 960px) { .topbar-nav { display: flex; } .topbar-nav + .topbar-actions { margin-inline-start: 0; } }

/* ---------- Hero ---------- */
.hero {
    display: grid; gap: 8px; max-width: var(--maxw); margin: 0 auto;
    padding: clamp(20px, 5vw, 64px) var(--gutter) clamp(32px, 5vw, 64px);
    min-height: min(calc(100dvh - 72px - 56px), 820px); align-content: center; overflow-x: clip;
}
.hero-copy { position: relative; z-index: 2; max-width: 600px; }
.status-line { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.86rem; color: var(--peri-light); min-height: 1.6em; }
html[dir="rtl"] .status-line { font-family: var(--font-he); font-weight: 700; font-size: 0.95rem; }
.status-dot { width: 9px; height: 9px; border-radius: 99px; background: var(--peri); }
.status-line[data-open="true"] .status-dot { background: #5fe0a0; box-shadow: 0 0 0 4px rgba(95, 224, 160, 0.18); }
.status-line[data-open="false"] .status-dot { background: #ff9f8a; }
.hero-title { margin-top: 16px; font-weight: 700; font-stretch: 88%; font-size: clamp(2.9rem, 10.5vw, 5.6rem); line-height: 0.96; letter-spacing: -0.035em; }
html[dir="rtl"] .hero-title { font-weight: 800; font-size: clamp(2.8rem, 10vw, 5.2rem); line-height: 1.02; letter-spacing: -0.01em; }
.hero-sub { margin-top: 20px; max-width: 32ch; font-size: clamp(1.08rem, 2vw, 1.25rem); color: var(--paper-dim); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-plates { position: relative; z-index: 1; height: clamp(250px, 70vw, 420px); margin-top: 8px; }
.plate {
    position: absolute; width: var(--s); aspect-ratio: 1; object-fit: contain;
    filter: drop-shadow(0 24px 30px rgba(0, 18, 58, 0.45));
    opacity: 0; transform: translateY(36px) rotate(var(--r0)) scale(0.94);
    transition: opacity 700ms var(--ease-out), transform 1100ms var(--ease-out); transition-delay: var(--d, 0ms);
}
.plate.in { opacity: 1; transform: rotate(var(--r)); }
.plate:nth-child(1) { --s: 62%; inset-inline-end: -2%; top: 0; --r: -8deg; --r0: -22deg; --d: 80ms; }
.plate:nth-child(2) { --s: 44%; inset-inline-start: 2%; top: 30%; --r: 10deg; --r0: 24deg; --d: 220ms; }
.plate:nth-child(3) { --s: 34%; inset-inline-end: 30%; bottom: -6%; --r: -14deg; --r0: 4deg; --d: 360ms; }
@media (min-width: 900px) {
    .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 24px; }
    .hero-plates { height: min(620px, 60vh); margin-top: 0; }
    .plate:nth-child(1) { --s: 70%; inset-inline-end: -4%; top: 2%; }
    .plate:nth-child(2) { --s: 48%; inset-inline-start: -2%; top: 38%; }
    .plate:nth-child(3) { --s: 38%; inset-inline-end: 26%; bottom: -2%; }
}
@media (prefers-reduced-motion: reduce) { .plate { transition: opacity 300ms ease; transform: rotate(var(--r)); } }

/* ---------- Ticker (the one marquee on the page) ---------- */
.ticker { background: var(--pink); color: var(--pink-ink); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
html[dir="rtl"] .ticker-track { animation-name: ticker-rtl; }
.ticker-item { display: inline-flex; align-items: center; gap: 12px; padding: 15px 28px; font-family: var(--font-mono); font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
html[dir="rtl"] .ticker-item { font-family: var(--font-he); font-weight: 700; font-size: 1rem; letter-spacing: 0; text-transform: none; }
.ticker-item i { font-size: 1.1rem; }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes ticker-rtl { to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .ticker-track > :nth-child(n+7) { display: none; } }

/* ---------- Section scaffolding ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px; max-width: var(--maxw); margin: 0 auto 28px; padding: 0 var(--gutter); }
h2 { font-weight: 700; font-stretch: 88%; font-size: clamp(2.1rem, 5.6vw, 3.5rem); line-height: 1.02; letter-spacing: -0.03em; }
html[dir="rtl"] h2 { font-weight: 800; letter-spacing: 0; line-height: 1.08; }

/* ---------- Colour cards ---------- */
.colours { padding: clamp(56px, 8vw, 110px) 0 clamp(56px, 8vw, 100px); }
.colour-rail { list-style: none; margin: 0; padding: 22px var(--gutter) 22px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 64vw); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; scrollbar-width: none; }
.colour-rail::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .colour-rail { grid-auto-columns: 262px; } }
@media (min-width: 1240px) { .colour-rail { padding-inline: calc((100vw - var(--maxw)) / 2 + var(--gutter)); scroll-padding-inline: calc((100vw - var(--maxw)) / 2 + var(--gutter)); } }
.colour-card { scroll-snap-align: start; position: relative; }
.colour-card a { height: 100%; grid-template-rows: auto 1fr auto; display: grid; gap: 8px; text-decoration: none; color: inherit; padding: 14px 16px 18px; border-radius: var(--radius); background: var(--blue-deep); border: 1px solid var(--line); transition: transform 160ms var(--ease-out), border-color 160ms ease; }
.colour-card a:active { transform: scale(0.98); }
@media (hover: hover) { .colour-card a:hover { border-color: var(--peri-light); } .colour-card a:hover img { transform: rotate(-6deg) scale(1.04); } }
.colour-card img { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(0, 18, 58, 0.45)); transition: transform 500ms var(--ease-out); }
.colour-name { font-weight: 700; font-size: 1.12rem; line-height: 1.2; }
.colour-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.9rem; color: var(--peri-light); }
.colour-meta .off { color: #ffb3a6; }
.colour-card[data-off="true"] img { filter: grayscale(1) opacity(0.5); }

/* ---------- Story ---------- */
.story { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 8vw, 120px) var(--gutter); border-top: 1px solid var(--line); }
.story-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.story-cards { position: relative; height: clamp(280px, 60vw, 460px); }
.story-card { position: absolute; width: 58%; aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--blue-deep); border: 1.5px solid var(--peri-light); display: grid; place-items: center; padding: 14px; box-shadow: 8px 8px 0 var(--pink); }
.story-card img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(0, 18, 58, 0.4)); }
.story-card:nth-child(1) { inset-inline-start: 0; top: 6%; transform: rotate(-6deg); background: var(--blue-ink); }
.story-card:nth-child(2) { inset-inline-end: 0; top: 18%; transform: rotate(5deg); }
.story-copy { display: grid; gap: 22px; }
.story-body { display: grid; gap: 1em; max-width: 58ch; font-size: clamp(1.05rem, 1.5vw, 1.18rem); color: var(--paper-dim); }
.story-body p:first-child { color: var(--paper); }
.story-tip { margin: clamp(56px, 7vw, 96px) auto 0; text-align: center; font-weight: 800; font-stretch: 76%; font-size: clamp(2.6rem, 9vw, 5.6rem); line-height: 0.98; letter-spacing: -0.035em; color: var(--pink); max-width: 16ch; }
html[dir="rtl"] .story-tip { letter-spacing: 0; line-height: 1.1; }

/* ---------- Not authentic, on purpose (#not-authentic) ---------- */
.na { padding: clamp(56px, 8vw, 120px) 0 clamp(64px, 8vw, 120px); border-top: 1px solid var(--line); }
.na-head { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 24px; }
.na-title { font-size: clamp(2.5rem, 8.6vw, 4.4rem); line-height: 0.98; letter-spacing: -0.035em; max-width: 12ch; }
html[dir="rtl"] .na-title { line-height: 1.06; letter-spacing: 0; }
.na-copy { display: grid; gap: 1em; align-content: start; justify-items: start; max-width: 56ch; font-size: clamp(1.05rem, 1.5vw, 1.18rem); color: var(--paper-dim); }
.na-body { display: grid; gap: 1em; }
.na-body p:first-child { color: var(--paper); }
.na-copy .btn { margin-top: 10px; }
@media (min-width: 900px) { .na-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: end; } }
/* The strip: real menu cut-outs, each labelled with where the dish comes from. */
.na-plates {
    list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 8px var(--gutter) 20px;
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 40vw); gap: 18px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain; scrollbar-width: none;
}
.na-plates::-webkit-scrollbar { display: none; }
@media (min-width: 900px) {
    .na-plates { max-width: var(--maxw); margin-inline: auto; grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-columns: auto; gap: 28px; overflow: visible; padding-bottom: 48px; }
    .na-plate:nth-child(even) { transform: translateY(44px); }
}
.na-plate { scroll-snap-align: start; display: grid; gap: 4px; justify-items: center; align-content: start; text-align: center; margin: 0; }
.na-dish-wrap { width: 100%; aspect-ratio: 1; filter: drop-shadow(0 20px 22px rgba(0, 18, 58, 0.45)); margin-bottom: 10px; }
.na-dish {
    width: 100%; height: 100%;
    opacity: 0; transform: translateY(28px) rotate(calc(var(--r) - 40deg)) scale(0.94);
    transition: opacity 600ms var(--ease-out), transform 1100ms var(--ease-out);
    transition-delay: calc(var(--i) * 90ms);
}
.na-plates.in .na-dish { opacity: 1; transform: rotate(var(--r)); }
.na-dish img { width: 100%; height: 100%; object-fit: contain; animation: na-turn 120s linear infinite; animation-play-state: paused; }
.na-plates.live .na-dish img { animation-play-state: running; }
/* Fallback only, for an admin-picked dish whose menu photo has a baked corner
   badge: trims the corner outside the plate. The built-in dishes use clean
   copies (/home/img/), which is the real fix. */
.na-dish img.debadge { clip-path: circle(46.2% at 50% 50%); }
@keyframes na-turn { to { transform: rotate(360deg); } }
@media (hover: hover) and (pointer: fine) {
    .na-plates.in .na-plate:hover .na-dish { transform: translateY(-8px) rotate(calc(var(--r) - 8deg)) scale(1.03); transition-delay: 0ms; transition-duration: 200ms, 500ms; }
}
.na-origin, .na-name { opacity: 0; transform: translateY(8px); transition: opacity 400ms var(--ease-out), transform 500ms var(--ease-out); }
.na-origin { transition-delay: calc(var(--i) * 90ms + 380ms); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--peri-light); }
html[dir="rtl"] .na-origin { letter-spacing: 0; text-transform: none; font-size: 0.95rem; }
.na-name { transition-delay: calc(var(--i) * 90ms + 440ms); font-weight: 700; font-size: 1.08rem; line-height: 1.2; text-wrap: balance; }
.na-plates.in .na-origin, .na-plates.in .na-name { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .na-dish { transform: rotate(var(--r)); transition: opacity 300ms ease; transition-delay: 0ms; }
    .na-origin, .na-name { transform: none; transition: opacity 300ms ease; transition-delay: 0ms; }
    .na-dish img { animation: none; }
}

/* ---------- Flavour ideas (#flavour-ideas, module /home/ideas.js) ---------- */
.ideas { background: var(--blue-deep); padding: clamp(56px, 8vw, 110px) var(--gutter); }
.ideas-inner { max-width: var(--maxw); margin: 0 auto; }
.ideas-head { display: grid; gap: 16px; max-width: 60ch; margin-bottom: clamp(28px, 4vw, 44px); }
.ideas-intro { font-size: clamp(1.05rem, 1.5vw, 1.15rem); color: var(--paper-dim); }
/* Phone: the ticket sits between the intro and the list. Desktop: list left, ticket right and sticky. */
.ideas-grid { display: grid; gap: 32px; align-items: start; grid-template-areas: "ticket" "list"; }
.ideas-grid > .ticket-wrap { grid-area: ticket; }
.ideas-grid > .ideas-col { grid-area: list; min-width: 0; }
.ideas:not(.ready) .ideas-grid { visibility: hidden; }
@media (min-width: 960px) {
    .ideas-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); grid-template-areas: "list ticket"; gap: 56px; }
    .ideas-grid > .ticket-wrap { position: sticky; top: calc(104px + env(safe-area-inset-top)); }
}
.ideas-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ideas-more { display: flex; justify-content: center; margin-top: 18px; }
.ideas-more:empty { display: none; }
.offline-note { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(198, 204, 237, 0.12); color: var(--paper); font-weight: 600; font-size: 0.95rem; }
.offline-note i { font-size: 1.3rem; color: var(--peri-light); flex: none; }
:is(.ideas, .fi-sheet) .btn-sm { min-height: 44px; }

/* Idea row */
.idea {
    border-radius: var(--radius); background: var(--blue); border: 1px solid var(--line);
    padding: 18px 18px 14px; display: grid; gap: 8px; min-width: 0;
    box-shadow: 0 10px 24px -14px rgba(0, 18, 58, 0.6);
}
@media (min-width: 600px) { .idea { padding: 22px 24px 16px; } }
.idea.enter { animation: fi-enter 340ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 50ms); }
@keyframes fi-enter { from { opacity: 0; transform: translateY(8px); } }
@keyframes fi-fade { from { opacity: 0; } }
.idea-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.idea-chips:empty { display: none; }
:is(.ideas, .fi-sheet) .chip { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 0 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; line-height: 1; white-space: nowrap; }
html[dir="rtl"] :is(.ideas, .fi-sheet) .chip { font-size: 0.9rem; }
:is(.ideas, .fi-sheet) .chip i { font-size: 0.95rem; }
.chip-top { color: var(--pink); box-shadow: inset 0 0 0 1.5px rgba(255, 143, 192, 0.55); }
.chip-testing { background: var(--pink); color: var(--pink-ink); }
.chip-menu { background: var(--paper); color: var(--blue); }
.chip-cuisine { color: var(--peri-light); box-shadow: inset 0 0 0 1px var(--line); }
.idea h3 { font-weight: 700; font-stretch: 88%; font-size: clamp(1.35rem, 2.4vw, 1.6rem); line-height: 1.12; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.idea h3:lang(he) { font-weight: 800; font-stretch: 100%; letter-spacing: 0; }
.idea-desc { color: var(--paper-dim); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.idea-desc.open { -webkit-line-clamp: unset; display: block; }
.more-btn { justify-self: start; min-height: 32px; margin: -4px 0 0; padding: 0; border: 0; background: none; color: var(--peri-light); font: inherit; font-weight: 700; font-size: 0.9rem; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; position: relative; }
.more-btn::before { content: ""; position: absolute; inset: -6px -10px; }
.more-btn:hover { color: var(--paper); }
.idea-meta { font-size: 0.9rem; color: var(--peri-light); }
.idea-reply { display: grid; gap: 4px; margin-top: 4px; padding: 12px 14px; border-radius: 12px; background: rgba(198, 204, 237, 0.1); }
.idea-reply-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.86rem; color: var(--peri-light); }
.idea-reply-label i { font-size: 1.05rem; color: var(--pink); }
.idea-reply p { font-size: 0.98rem; overflow-wrap: anywhere; }
.idea-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 6px; }

/* Vote: the one playful interaction */
.vote {
    --ox: 24px;
    position: relative; isolation: isolate;
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px;
    border: 1.5px solid var(--peri-light); background: transparent; color: var(--paper);
    font: inherit; font-weight: 700; font-size: 0.95rem; cursor: pointer; white-space: nowrap;
    transition: transform 120ms var(--ease-out), color 160ms ease 60ms, border-color 160ms ease;
    user-select: none; -webkit-user-select: none; touch-action: manipulation;
}
html[dir="rtl"] .vote { padding: 0 12px 0 16px; }
.vote::before {
    content: ""; position: absolute; inset: -1.5px; z-index: -1; border-radius: inherit; background: var(--pink);
    clip-path: circle(0px at var(--ox) 50%);
    transition: clip-path 200ms var(--ease-out);
}
.vote[aria-pressed="true"] { color: var(--pink-ink); border-color: var(--pink); }
.vote[aria-pressed="true"]::before { clip-path: circle(160px at var(--ox) 50%); transition-duration: 380ms; }
.vote:active:not(:disabled) { transform: scale(0.96); }
.vote:disabled { opacity: 0.5; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) { .vote:not(:disabled):hover { border-color: var(--paper); } .vote[aria-pressed="true"]:not(:disabled):hover { border-color: var(--pink-hover); } }
/* Small gyoza glyph, drawn to match Phosphor bold (24 grid, 2px stroke). */
.gz { width: 22px; height: 22px; flex: none; overflow: visible; }
.gz .body { fill: transparent; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; transition: fill 160ms ease 60ms; }
.gz .pleat { stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; transition: stroke 160ms ease 60ms; }
.vote[aria-pressed="true"] .gz .body { fill: currentColor; }
.vote[aria-pressed="true"] .gz .pleat { stroke: var(--pink); stroke-width: 1.6; }
.vote-sep { width: 1px; align-self: stretch; margin: 11px 2px; background: currentColor; opacity: 0.35; }
.vote-num { display: inline-block; }
.vote-count { display: inline-grid; overflow: hidden; height: 1.35em; line-height: 1.35em; min-width: 3ch; font-variant-numeric: tabular-nums; }
.vote-count > span { grid-area: 1 / 1; text-align: start; }
.vote.shake { animation: fi-shake 180ms linear; }
@keyframes fi-shake { 20% { transform: translateX(-4px); } 45% { transform: translateX(4px); } 70% { transform: translateX(-4px); } 90% { transform: translateX(4px); } }
.steam { position: absolute; left: var(--ox); bottom: 64%; width: 0; height: 0; pointer-events: none; z-index: 2; }
.puff { position: absolute; left: 0; bottom: 0; border-radius: 50%; background: rgba(245, 247, 253, 0.92); opacity: 0; }

/* Comments */
.cmt-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--peri-light); font: inherit; font-weight: 700; font-size: 0.95rem; cursor: pointer; }
.cmt-toggle:hover { color: var(--paper); background: rgba(198, 204, 237, 0.1); }
.cmt-toggle .caret { font-size: 0.85rem; transition: transform 200ms var(--ease-out); }
.cmt-toggle[aria-expanded="true"] { color: var(--paper); }
.cmt-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }
.cmt-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 240ms var(--ease-out); }
.cmt-panel.open { grid-template-rows: 1fr; }
.cmt-inner { min-height: 0; overflow: hidden; opacity: 0; transition: opacity 180ms ease; }
.cmt-panel.open .cmt-inner { opacity: 1; transition-delay: 40ms; }
.cmt-body { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; display: grid; gap: 14px; }
.cmt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cmt-list:empty { display: none; }
.cmt-list li { display: grid; gap: 2px; border-radius: 10px; }
.cmt-list li.new { animation: fi-cmt-new 1400ms var(--ease-out) both; }
@keyframes fi-cmt-new { 0% { opacity: 0; transform: translateY(-6px); background: rgba(255, 143, 192, 0.22); } 20% { opacity: 1; transform: none; background: rgba(255, 143, 192, 0.22); } 100% { background: rgba(255, 143, 192, 0); } }
.cmt-meta { font-size: 0.86rem; color: var(--peri-light); }
.cmt-meta b { color: var(--paper); font-weight: 700; }
.cmt-text { font-size: 0.98rem; overflow-wrap: anywhere; }
.cmt-note { font-size: 0.9rem; color: var(--peri-light); }
.cmt-more { justify-self: start; }
.cmt-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.cmt-form .cmt-name { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--peri-light); }
.cmt-form input {
    width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 8px; border: 1.5px solid var(--line);
    background: var(--blue-ink); color: var(--paper); font: inherit; font-size: 16px; transition: border-color 150ms ease;
}
.cmt-form .cmt-name input { width: 11rem; min-height: 44px; padding: 6px 10px; }
.cmt-form ::placeholder { color: var(--peri); }
.cmt-form input:focus { outline: none; border-color: var(--pink); }
.cmt-form input[aria-invalid="true"] { border-color: #ffb3a6; }
.cmt-status { grid-column: 1 / -1; font-size: 0.9rem; font-weight: 700; }
.cmt-status:empty { display: none; }
.cmt-status.bad { color: #ffb3a6; }
.cmt-status.ok { color: var(--paper); }

/* List states */
.sk-card { border-radius: var(--radius); border: 1px solid var(--line); padding: 22px 24px; display: grid; gap: 12px; }
.sk { display: block; border-radius: 8px; background: linear-gradient(90deg, rgba(198, 204, 237, 0.08) 0%, rgba(198, 204, 237, 0.18) 50%, rgba(198, 204, 237, 0.08) 100%); background-size: 200% 100%; animation: fi-sk 1.4s linear infinite; }
@keyframes fi-sk { to { background-position: -200% 0; } }
.state-card { border-radius: var(--radius); border: 1.5px dashed rgba(198, 204, 237, 0.45); padding: clamp(24px, 4vw, 36px); display: grid; gap: 10px; justify-items: start; }
.state-card i.state-icon { font-size: 2.2rem; color: var(--pink); }
.state-card h3 { font-weight: 700; font-stretch: 88%; font-size: 1.6rem; line-height: 1.12; }
html[dir="rtl"] .state-card h3 { font-weight: 800; font-stretch: 100%; }
.state-card p { color: var(--paper-dim); max-width: 44ch; }
.state-card .btn { margin-top: 6px; }

/* Propose: a kitchen order ticket */
.ticket-wrap { filter: drop-shadow(0 16px 22px rgba(0, 18, 58, 0.45)); }
.ticket { transform: rotate(-1.6deg); transition: transform 250ms var(--ease-out); transform-origin: 50% 0; }
html[dir="rtl"] .ticket { transform: rotate(1.6deg); }
.ticket.open, html[dir="rtl"] .ticket.open { transform: none; }
.ticket-card {
    position: relative; color: var(--card-ink); border-radius: 0 0 14px 14px;
    padding: 26px clamp(18px, 3vw, 26px) clamp(18px, 3vw, 24px);
    /* cool thermal paper: faint ruled lines, never beige */
    background: repeating-linear-gradient(180deg, transparent 0 27px, rgba(0, 65, 144, 0.045) 27px 28px), linear-gradient(180deg, #ffffff, #f3f6fd);
    /* perforated top edge */
    -webkit-mask: radial-gradient(circle 6px at 10px 0, #0000 96%, #000) 0 0 / 20px 100% repeat-x;
            mask: radial-gradient(circle 6px at 10px 0, #0000 96%, #000) 0 0 / 20px 100% repeat-x;
}
.ticket :focus-visible { outline-color: var(--blue); }
.ticket ::selection { background: var(--blue); color: #fff; }
.ticket-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 0; border: 0; background: none; color: var(--blue); cursor: pointer; text-align: start; font: inherit; }
.ticket-q { font-weight: 800; font-stretch: 80%; font-size: clamp(1.7rem, 6vw, 2.1rem); line-height: 1.05; letter-spacing: -0.02em; }
html[dir="rtl"] .ticket-q { font-stretch: 100%; letter-spacing: 0; }
.ticket-plus { flex: none; width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 22px; transition: transform 250ms var(--ease-out), background-color 150ms ease; }
.ticket-toggle:hover .ticket-plus { background: var(--blue-ink); }
.ticket.open .ticket-plus { transform: rotate(45deg); }
.ticket-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 250ms var(--ease-out); }
.ticket.open .ticket-body { grid-template-rows: 1fr; }
.ticket-body > div { min-height: 0; overflow: hidden; }
.ticket-line { margin: 14px 0 16px; padding: 12px 0; border-block: 1.5px dashed #b8c4de; font-weight: 700; font-size: 1.25rem; line-height: 1.25; color: var(--card-ink); overflow-wrap: anywhere; }
.ticket-line .qty { color: var(--blue); }
.ticket-line .slot { background: linear-gradient(var(--pink), var(--pink)) 0 100% / 100% 4px no-repeat; padding-bottom: 1px; }
.ticket-line .slot.empty { color: #5b6886; font-weight: 600; }
.pf { display: grid; gap: 14px; padding: 2px; }
.pf-field { display: grid; gap: 6px; }
.pf-lab { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pf label, .pf legend { font-weight: 700; color: var(--blue); padding: 0; }
.pf .opt { font-weight: 600; color: #4d5a78; }
.pf-count { font-size: 0.82rem; font-weight: 700; color: #4d5a78; font-variant-numeric: tabular-nums; }
.pf-count.over { color: #b42318; }
.pf input[type="text"], .pf textarea {
    width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 8px; border: 1.5px solid #cdd7ee; background: #fff; color: var(--card-ink); font: inherit; font-size: 16px; resize: vertical;
    transition: border-color 150ms ease;
}
.pf textarea { min-height: 80px; }
.pf ::placeholder { color: #5b6886; }
.pf input:focus, .pf textarea:focus { outline: none; border-color: var(--blue); }
.pf [aria-invalid="true"] { border-color: #b42318; }
.pf-hint { font-size: 0.88rem; color: #4d5a78; }
.pf-err { font-size: 0.9rem; font-weight: 700; color: #b42318; }
.pf-err:empty { display: none; }
.pf fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.pf legend { margin-bottom: 8px; }
/* 17 cuisines: two scrolling rows instead of a wall of chips */
.cuis { display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: max-content; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; margin: 0 -2px; scrollbar-width: thin; scrollbar-color: #b8c4de transparent; -webkit-mask: linear-gradient(90deg, #000 88%, #0000); mask: linear-gradient(90deg, #000 88%, #0000); }
html[dir="rtl"] .cuis { -webkit-mask: linear-gradient(270deg, #000 88%, #0000); mask: linear-gradient(270deg, #000 88%, #0000); }
.cuis label { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px #cdd7ee; color: var(--card-ink); font-weight: 600; cursor: pointer; white-space: nowrap; transition: background-color 150ms ease, box-shadow 150ms ease, color 150ms ease, transform 120ms var(--ease-out); }
.cuis label:active { transform: scale(0.96); }
.cuis input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cuis label:hover { box-shadow: inset 0 0 0 1.5px var(--blue); }
.cuis label i { display: none; }
.cuis label:has(input:checked) { background: var(--blue); color: #fff; box-shadow: inset 0 0 0 1.5px var(--blue); }
.cuis label:has(input:checked) i { display: inline-block; }
.cuis label:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.pf-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 4px; }
.ticket .btn-primary { background: var(--blue); color: #fff; }
.ticket .btn::after { background: var(--pink); }
.pf-status { font-weight: 700; font-size: 0.95rem; color: #b42318; }
.pf-status:empty { display: none; }
.pf-fine { font-size: 0.88rem; color: #4d5a78; }
.fi-spin { animation: fi-spin 700ms linear infinite; }
@keyframes fi-spin { to { transform: rotate(360deg); } }
.ticket-done { display: grid; gap: 10px; justify-items: start; padding: 6px 0 2px; }
.done-icon { position: relative; width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center; background: var(--pink); color: var(--pink-ink); font-size: 28px; }
.done-icon .steam { left: 50%; bottom: 78%; }
.done-icon .puff { background: rgba(0, 65, 144, 0.28); }
.ticket-done h3 { font-weight: 800; font-stretch: 80%; font-size: 2.2rem; line-height: 1; color: var(--blue); letter-spacing: -0.02em; margin-top: 4px; }
html[dir="rtl"] .ticket-done h3 { font-stretch: 100%; letter-spacing: 0; }
.ticket-done h3:focus { outline: none; }
.ticket-done p { font-size: 1.1rem; }
.again { opacity: 0; transform: translateY(6px); transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out); visibility: hidden; }
.again.show { opacity: 1; transform: none; visibility: visible; }
.btn-quiet { background: #e3ecf9; color: var(--blue); }

/* "See all": bottom sheet (phone), centred dialog (desktop) */
.fi-scrim { position: fixed; inset: 0; z-index: 50; background: rgba(0, 20, 50, 0.6); opacity: 0; transition: opacity 300ms ease; }
.fi-scrim.show { opacity: 1; }
.fi-sheet {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; height: calc(100dvh - 12px - env(safe-area-inset-top));
    display: flex; flex-direction: column; background: var(--blue-deep); color: var(--paper);
    border-radius: 20px 20px 0 0; box-shadow: 0 -12px 40px rgba(0, 18, 58, 0.5);
    transform: translateY(100%); transition: transform 420ms var(--ease-drawer);
}
.fi-sheet.show { transform: translateY(0); }
.fi-sheet.leaving { transition-duration: 260ms; }
.fi-sheet.dragging { transition: none; }
.fi-sheet-grab { flex: none; padding: 8px 16px 0; touch-action: none; cursor: grab; }
.fi-sheet-handle { width: 40px; height: 5px; border-radius: 99px; background: rgba(198, 204, 237, 0.5); margin: 0 auto 8px; }
.fi-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 4px 12px; }
.fi-sheet-head h2 { font-size: 1.7rem; }
.fi-icon-btn { width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--paper); display: grid; place-items: center; cursor: pointer; font-size: 1.1rem; flex: none; }
.fi-icon-btn:hover { border-color: var(--peri-light); }
.fi-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--blue-ink); margin: 0 4px 12px; }
.fi-tab-ind { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--paper); transition: transform 200ms var(--ease-out); }
html[dir="rtl"] .fi-tab-ind { left: auto; right: 4px; }
.fi-tabs[data-sel="new"] .fi-tab-ind { transform: translateX(100%); }
html[dir="rtl"] .fi-tabs[data-sel="new"] .fi-tab-ind { transform: translateX(-100%); }
.fi-tab { position: relative; min-height: 44px; border: 0; background: none; border-radius: 999px; color: var(--paper); font: inherit; font-weight: 700; cursor: pointer; transition: color 200ms ease; }
.fi-tab[aria-selected="true"] { color: var(--blue); }
.fi-sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 16px calc(24px + env(safe-area-inset-bottom)); scrollbar-width: thin; scrollbar-color: var(--peri) transparent; }
.fi-sheet-body:focus-visible { outline-offset: -3px; }
.fi-sheet-foot { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 28px 0 8px; color: var(--paper-dim); }
.fi-sheet-foot:empty { padding: 0; }
.fi-sentinel { height: 1px; }
@media (min-width: 900px) {
    .fi-sheet { left: 50%; right: auto; top: 50%; bottom: auto; width: min(760px, 92vw); height: min(86vh, 920px); border-radius: 20px;
        transform: translate(-50%, -48%) scale(0.96); opacity: 0; transition: transform 240ms var(--ease-out), opacity 240ms var(--ease-out); }
    .fi-sheet.show { transform: translate(-50%, -50%); opacity: 1; }
    .fi-sheet.leaving { transition-duration: 180ms; }
    .fi-sheet-grab { padding: 20px 24px 0; cursor: default; }
    .fi-sheet-handle { display: none; }
    .fi-sheet-body { padding-inline: 24px; }
}

/* Toast */
.fi-toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 60; max-width: min(92vw, 420px); padding: 12px 18px; border-radius: 14px; background: var(--paper); color: var(--card-ink); font-weight: 700; box-shadow: 0 12px 30px rgba(0, 18, 58, 0.45); transform: translate(-50%, 12px); opacity: 0; transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out); pointer-events: none; }
.fi-toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    .idea.enter { animation: fi-fade 200ms ease both; }
    .cmt-list li.new { animation: none; }
    .sk { animation: none; background: rgba(198, 204, 237, 0.12); }
    .vote, .vote::before, .gz .body, .gz .pleat, .cmt-panel, .cmt-inner, .cmt-toggle .caret,
    .ticket, .ticket-plus, .ticket-body, .fi-sheet, .fi-tab-ind, .fi-scrim { transition: none; }
    .again { transform: none; transition: opacity 150ms ease; }
    .fi-toast { transition: opacity 150ms ease; transform: translate(-50%, 0); }
}

/* ---------- They wrote about us ----------
   Outlet names are set in type (a wordmark in our face, never their logo).
   The headline is the hero of each card, in pink quote marks; the translation
   and the quote sit quieter under it. Blue on blue with a hairline, like the
   rest of the page; pink only for the marks, the quote rule and the link. */
.press { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--gutter); border-top: 1px solid var(--line); }
.press-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 760px) { .press-list { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; } }
.press-card { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius); background: var(--blue-deep); border: 1.5px solid var(--line); }
.press-top { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.press-outlet { font-family: var(--font-latin); font-weight: 800; font-stretch: 72%; font-size: 1.3rem; line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; color: var(--paper); overflow-wrap: anywhere; }
.press-outlet:lang(he) { font-family: var(--font-he); font-stretch: 100%; letter-spacing: 0; text-transform: none; font-size: 1.35rem; }
.press-date { font-family: var(--font-mono); font-size: 0.85rem; color: var(--peri-light); white-space: nowrap; }
.press-hl { font-family: var(--font-he); font-weight: 800; font-size: clamp(1.3rem, 2.1vw, 1.5rem); line-height: 1.3; letter-spacing: 0; text-wrap: pretty; overflow-wrap: anywhere; }
.press-hl:lang(en) { font-family: var(--font-latin); font-weight: 700; font-stretch: 88%; letter-spacing: -0.01em; }
.press-mark { color: var(--pink); }
.press-tr { margin-top: -6px; font-size: 0.98rem; line-height: 1.45; color: var(--peri-light); }
.press-q { margin: 0; padding-inline-start: 14px; border-inline-start: 2px solid var(--pink); }
.press-q-text { font-size: 1rem; line-height: 1.5; color: var(--paper-dim); }
.press-q-text:lang(he) { font-family: var(--font-he); }
.press-q-text .press-mark { color: inherit; }
.press-link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 0.4em; min-height: 44px; color: var(--pink); font-weight: 700; text-decoration: none; }
.press-link:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.press-link i { font-size: 1.05em; }

/* ---------- Made from scratch + feedback ---------- */
.scratch { background: var(--blue-deep); padding: clamp(56px, 8vw, 110px) var(--gutter); }
.scratch-grid { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .scratch-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.scratch-body { margin-top: 20px; font-size: 1.12rem; color: var(--paper-dim); max-width: 46ch; }
.fb { display: grid; gap: 14px; background: var(--paper); color: #102447; border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); box-shadow: 8px 8px 0 var(--pink); }
html[dir="rtl"] .fb { box-shadow: -8px 8px 0 var(--pink); }
.fb-rate { border: 0; padding: 0; margin: 0; }
.fb-rate legend { font-weight: 700; color: var(--blue); margin-bottom: 10px; padding: 0; }
.fb-faces { display: flex; gap: 8px; flex-wrap: wrap; }
.fb-face { width: 50px; height: 50px; border-radius: 999px; border: 1.5px solid #d5def3; background: #fff; cursor: pointer; font-size: 26px; color: var(--blue); display: grid; place-items: center; transition: transform 140ms var(--ease-out), background-color 150ms ease, border-color 150ms ease; }
.fb-face:hover { border-color: var(--blue); }
.fb-face:active { transform: scale(0.92); }
.fb-face[aria-pressed="true"] { background: var(--pink); border-color: var(--blue); }
.fb-label { font-weight: 700; color: var(--blue); }
.fb textarea { width: 100%; min-height: 96px; padding: 12px 14px; border-radius: 8px; border: 1.5px solid #d5def3; background: #fff; color: #102447; font: inherit; font-size: 16px; resize: vertical; }
.fb textarea:focus { outline: none; border-color: var(--blue); }
.fb-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.fb .btn-primary { background: var(--blue); color: #fff; }
.fb .btn::after { background: var(--pink); }
.fb-status { font-weight: 700; font-size: 0.95rem; color: var(--blue); }
.fb-status.bad { color: #b42318; }
.fb :focus-visible { outline-color: var(--blue); }

/* ---------- Reviews ---------- */
.reviews { padding: clamp(56px, 8vw, 110px) 0; }
.rating { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); color: var(--paper); font-size: 1.05rem; }
.rating .stars { color: var(--pink); letter-spacing: 2px; font-size: 1.1rem; }
.review-rail { list-style: none; margin: 0; padding: 8px var(--gutter) 24px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 80vw); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.review-rail::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .review-rail { grid-auto-columns: 360px; } }
@media (min-width: 1240px) { .review-rail { padding-inline: calc((100vw - var(--maxw)) / 2 + var(--gutter)); } }
.review { scroll-snap-align: start; display: grid; gap: 14px; align-content: space-between; padding: 22px; border-radius: var(--radius); background: var(--paper); color: #102447; }
.review:nth-child(3n+2) { background: var(--pink); }
.review blockquote { margin: 0; font-size: 1.08rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review cite { font-style: normal; font-family: var(--font-mono); font-size: 0.82rem; color: #3a4a6b; display: inline-flex; align-items: center; gap: 6px; }
html[dir="rtl"] .review cite { font-family: var(--font-he); font-weight: 700; }
.review-cta { max-width: var(--maxw); margin: 16px auto 0; padding: 0 var(--gutter); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.review-cta p { font-size: 1.15rem; color: var(--paper-dim); max-width: 46ch; }

/* ---------- While you wait: the Plancha game (module: /home/game/) ---------- */
.game { padding: clamp(40px, 7vw, 96px) var(--gutter); }
.game-card { --pad: clamp(18px, 3.4vw, 36px); max-width: var(--maxw); margin: 0 auto; display: grid; gap: 20px; padding: var(--pad);
    border-radius: calc(var(--radius) + 8px); background: var(--blue-deep); border: 1px solid var(--line); overflow: hidden; }
.game-head { display: grid; gap: 12px; align-content: start; }
.game-intro { max-width: 40ch; color: var(--paper-dim); font-size: 1.1rem; }
/* The stage (HUD strip + plancha). On phones it runs edge to edge along the card's bottom. */
.game-stage { --pg-hud: 60px; --pg-aspect: 4 / 3; container-type: inline-size; min-width: 0; margin: 0 calc(-1 * var(--pad)) calc(-1 * var(--pad)); background: var(--blue-ink); }
@container (min-width: 520px) { .game-poster, .pg { --pg-aspect: 16 / 9; } }
.game-poster { display: grid; grid-template-rows: var(--pg-hud) auto; }
.game-poster-hud { background: var(--blue-ink); }
.game-poster-field { position: relative; aspect-ratio: var(--pg-aspect, 4 / 3); display: grid; place-items: end center; gap: 10px;
    padding: 14px 14px calc(26px + 1.17rem); background: linear-gradient(180deg, #0c2a5c 0, #153a73 50%, #0d2a5b 100%); }
.game-play { min-width: 148px; }
.game-fail { position: absolute; top: 14px; inset-inline: 14px; text-align: center; color: var(--paper); font-weight: 700; }
@media (min-width: 900px) {
    .game-card { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: 48px; }
    .game-stage { margin: 0; border-radius: var(--radius); overflow: hidden; }
}

/* ---------- Instagram / videos ---------- */
.insta { padding: clamp(56px, 8vw, 110px) 0; background: var(--blue-deep); }
.insta-handle { text-decoration: none; }
.insta-handle:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.video-rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(340px, 84vw); gap: 18px; padding: 4px var(--gutter) 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--peri) transparent; }
@media (min-width: 1240px) { .video-rail { padding-inline: calc((100vw - var(--maxw)) / 2 + var(--gutter)); } }
.video-card { scroll-snap-align: start; display: grid; gap: 10px; align-content: start; margin: 0; }
.video-frame { border-radius: var(--radius); overflow: hidden; background: var(--blue-ink); min-height: 480px; display: grid; }
.video-frame .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; }
.video-placeholder { display: grid; place-items: center; gap: 10px; align-content: center; text-align: center; color: var(--peri-light); font-weight: 700; text-decoration: none; padding: 24px; }
.video-placeholder i { font-size: 44px; color: var(--paper); }
.video-caption { color: var(--paper-dim); font-size: 0.95rem; }
.insta-intro { max-width: var(--maxw); margin: -12px auto 24px; padding: 0 var(--gutter); color: var(--paper-dim); font-size: 1.1rem; }
.insta-intro > span { display: block; max-width: 60ch; }
.insta-empty { max-width: 60ch; margin-inline: var(--gutter); color: var(--paper-dim); font-size: 1.1rem; }
@media (min-width: 1240px) { .insta-empty { margin-inline: calc((100vw - var(--maxw)) / 2 + var(--gutter)); } }

/* ---------- Club ---------- */
.club { padding: clamp(40px, 7vw, 96px) var(--gutter); }
.club-inner { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 24px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: calc(var(--radius) + 8px); background: var(--pink); color: var(--pink-ink); }
.club-inner h2 { color: var(--pink-ink); }
.club-inner :focus-visible { outline-color: var(--blue-ink); }
.club-copy { display: grid; gap: 18px; justify-items: start; }
.club-copy p { font-size: 1.12rem; max-width: 44ch; }
.club .btn-primary { background: var(--blue); color: #fff; }
.club .btn::after { background: var(--paper); }
.club-img { width: min(260px, 60vw); aspect-ratio: 1; object-fit: contain; justify-self: center; transform: rotate(-10deg); filter: drop-shadow(0 18px 18px rgba(120, 20, 60, 0.3)); }
@media (min-width: 800px) { .club-inner { grid-template-columns: 1fr auto; } }

/* ---------- News ---------- */
.news { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--gutter); }
.news-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; }
.news-item { display: grid; gap: 6px 32px; padding: 26px 0; border-top: 1px solid var(--line); }
.news-item:last-child { border-bottom: 1px solid var(--line); }
.news-date { color: var(--peri-light); font-family: var(--font-mono); font-size: 0.88rem; }
.news-title { font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 700; line-height: 1.2; }
.news-body { color: var(--paper-dim); max-width: 62ch; white-space: pre-line; }
.news-link { color: var(--pink); font-weight: 700; margin-top: 4px; justify-self: start; }
@media (min-width: 800px) { .news-item { grid-template-columns: 180px 1fr; } .news-item > :not(.news-date) { grid-column: 2; } .news-date { grid-row: 1 / span 3; padding-top: 6px; } }

/* ---------- Visit ---------- */
.visit { background: var(--blue-ink); padding: clamp(56px, 9vw, 120px) var(--gutter); }
.visit-grid { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 48px; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1.2fr 1fr; } }
.visit-address { margin-top: 20px; font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 600; line-height: 1.3; max-width: 22ch; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.visit .btn-outline { background: var(--blue-ink); }
.hours-title { font-size: 1.05rem; font-weight: 700; color: var(--peri-light); margin-bottom: 14px; }
.hours { display: grid; grid-template-columns: auto 1fr; margin: 0; font-family: var(--font-mono); font-size: 0.95rem; }
html[dir="rtl"] .hours dt { font-family: var(--font-he); font-size: 1.05rem; }
.hours dt, .hours dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); }
.hours dd { text-align: end; color: var(--paper-dim); }
.hours .today { color: var(--paper); font-weight: 700; }

/* ---------- Footer ---------- */
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 40px var(--gutter) calc(40px + env(safe-area-inset-bottom)); background: var(--blue-ink); border-top: 1px solid var(--line); }
.footer img { height: 64px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.92rem; }
.footer-links a { color: var(--paper-dim); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.footer-links a:hover { color: var(--paper); text-decoration: underline; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 380px) { .topbar-logo img { height: 40px; } .btn-sm { padding: 0 14px; } }

/* Landing on a section from a link (#story, #instagram, #club): sections and
   their headings stop 8px under the sticky top bar (72px + 1px border + the
   notch), and the target shows at once instead of fading in. */
main section[id], main section[id] h2 { scroll-margin-top: calc(73px + env(safe-area-inset-top) + 8px); }
.js .reveal.reveal-now { transition: none; }
