/* ══════════════════════════════════════════════════════════════════
   Mamre — ממרא · marketing site
   Palette drawn from the physical world of the restaurant — clay, olive,
   ember, brass — not a SaaS-default blue/purple gradient. RTL-first via
   logical properties; en/ pages set dir=ltr and the same rules mirror.
   ══════════════════════════════════════════════════════════════════ */

:root {
  /* — brand — */
  --ink:        #1B1712;   /* bark / roasted coffee, not pure black */
  --ink-soft:   #26201A;
  --clay:       #B5542E;   /* burnt terracotta — the one accent, used sparingly */
  --clay-bright:#D06B3F;
  --gold:       #C9A15A;   /* brass thread — hairlines & small marks on dark */
  --parchment:  #F1EAE0;   /* warm bone paper — NOT Apple system grey */
  --paper:      #FBF8F3;
  --white:      #FFFFFF;
  --ink-text:   #241C15;
  --ink-text-2: #6B5E4F;
  --hairline:   #E4DACB;

  /* — product materials (earthy, hand-mixed — never iOS defaults) — */
  --table:   #4B6650;   /* olive — the garden, the guest's first table   */
  --waiter:  #9C5A2E;   /* umber leather — the hand that carries         */
  --kitchen: #C1461B;   /* ember — the clay oven                        */
  --manage:  #3E4C5E;   /* slate dusk — oversight, the watching eye     */

  --display: "Frank Ruhl Libre", "Times New Roman", serif;
  --body:    "Heebo", -apple-system, "Segoe UI", sans-serif;

  --max: 1120px;
  --radius: 26px;
  --blob: 42% 58% 63% 37% / 45% 38% 62% 55%;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink-text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
svg.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: 24px; }

/* ── skip link — first focusable element on every page, hidden until tabbed to */
.skip-link {
  position: fixed; inset-inline-start: 14px; inset-block-start: -60px;
  z-index: 100; background: var(--clay); color: var(--white);
  padding: 12px 20px; border-radius: 8px; font-weight: 700; font-size: 14.5px;
  transition: top .2s ease;
}
.skip-link:focus { inset-block-start: 14px; }

/* ── nav ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 50;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--ink) 84%, transparent);
  border-block-end: 1px solid rgba(255,255,255,.07);
}
.nav .wrap { display: flex; align-items: center; gap: 30px; height: 60px; }
.nav-logo {
  font-family: var(--display); font-weight: 900; font-size: 23px;
  color: var(--white); letter-spacing: .3px;
}
.nav-logo span { color: var(--clay-bright); }
.nav-links { display: flex; gap: 24px; font-size: 14px; color: rgba(255,255,255,.72); }
.nav-links a { position: relative; padding-block: 4px; transition: color .2s ease; }
.nav-links a:hover { color: var(--white); }
.nav-links a::after {
  content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transition: transform .25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-spacer { flex: 1; }
.nav-lang { font-size: 12.5px; color: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.22); border-radius: 99px; padding: 4px 13px; transition: border-color .2s ease, color .2s ease; }
.nav-lang:hover { color: var(--white); border-color: var(--white); }
.nav-cta {
  background: var(--clay); color: var(--white); font-weight: 600; font-size: 14px;
  padding: 8px 18px; border-radius: 8px; transition: background .2s ease, transform .2s ease;
}
.nav-cta:hover { background: var(--clay-bright); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px 4px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--white); margin-block: 4.5px; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
@media (max-width: 780px) {
  .nav .wrap { gap: 14px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; inset-block-start: 60px; inset-inline: 0;
    flex-direction: column; gap: 0; padding: 6px 24px 14px;
    background: var(--ink); border-block-end: 1px solid rgba(255,255,255,.1);
    font-size: 16px;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding-block: 13px; border-block-end: 1px solid rgba(255,255,255,.06); }
  .nav-links a:last-child { border-block-end: none; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* ── dark hero (home) — asymmetric, not a centered SaaS template ──── */
.hero {
  background: var(--ink);
  color: var(--white);
  padding-block: 168px 96px;
  position: relative; overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-eyebrow {
  font-size: 12.5px; letter-spacing: .24em; color: var(--gold);
  text-transform: uppercase; margin-block-end: 20px; font-weight: 600;
}
.hero h1 {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(40px, 5.6vw, 74px);
  line-height: 1.1; letter-spacing: -0.4px;
}
.hero h1 em { font-style: normal; color: var(--clay-bright); }
.hero-sub {
  margin-block-start: 24px; font-size: clamp(16.5px, 1.7vw, 19px);
  color: rgba(255,255,255,.68); max-width: 46ch; font-weight: 400;
}
.hero-actions { margin-block-start: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 9px; font-weight: 600; font-size: 15.5px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-amber { background: var(--clay); color: var(--white); }
.btn-amber:hover { background: var(--clay-bright); }
.btn-ghost { border: 1px solid rgba(255,255,255,.28); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }

/* brand mark — the Mamre crest: enters once, then floats like a hung medallion */
.hero-mark { position: relative; z-index: 1; }
.hero-mark img {
  width: 100%; max-width: 450px; height: auto;
  opacity: 0; transform: translateY(14px) scale(.97);
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.35));
  animation: crest-in 1s cubic-bezier(.2,.7,.2,1) .2s forwards,
             crest-float 6s ease-in-out 1.4s infinite;
}
@keyframes crest-in { to { opacity: 1; transform: none; } }
@keyframes crest-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
@keyframes fadein { to { opacity: 1; } }

.hero [data-rise] { opacity: 0; transform: translateY(20px); animation: rise .75s cubic-bezier(.2,.7,.2,1) forwards; }
.hero [data-rise="2"] { animation-delay: .12s; }
.hero [data-rise="3"] { animation-delay: .26s; }
.hero [data-rise="4"] { animation-delay: .4s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero-mark { max-width: 275px; margin-inline: auto; } }

/* ── the journey — signature section, verb-labelled stations ───────── */
.journey { background: var(--ink); color: var(--white); padding-block: 100px; }
.journey-head { text-align: center; max-width: 60ch; margin-inline: auto; margin-block-end: 18px; }
.journey h2 { font-family: var(--display); font-weight: 900; font-size: clamp(28px, 4.2vw, 44px); }
.journey-ref { font-size: 13px; color: rgba(255,255,255,.45); letter-spacing: .08em; margin-block-start: 10px; }
.journey-sub { color: rgba(255,255,255,.58); margin-block: 14px 60px; font-size: 16.5px; text-align: center; }

.journey-track { position: relative; display: flex; justify-content: space-between; max-width: 980px; margin-inline: auto; }
.journey-track::before {
  content: ""; position: absolute; inset-inline: 40px; inset-block-start: 34px; height: 1px;
  background-image: repeating-linear-gradient(to right, rgba(255,255,255,.22) 0 6px, transparent 6px 14px);
}
.j-station { position: relative; z-index: 2; flex: 1; text-align: center; padding-inline: 8px; cursor: pointer; }
.j-badge { width: 68px; height: 68px; margin-inline: auto; position: relative; display: grid; place-items: center; }
.j-badge .ring { position: absolute; inset: 0; }
.j-badge .ring circle {
  fill: none; stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 197; stroke-dashoffset: 197; transform: rotate(-90deg); transform-origin: 50% 50%;
  transition: stroke-dashoffset .9s cubic-bezier(.2,.7,.2,1), stroke .4s ease;
  stroke: rgba(255,255,255,.16);
}
.j-station.on .ring circle { stroke-dashoffset: 0; }
.j-station[data-hue="table"].on   .ring circle { stroke: var(--table); }
.j-station[data-hue="waiter"].on  .ring circle { stroke: var(--waiter); }
.j-station[data-hue="kitchen"].on .ring circle { stroke: var(--kitchen); }
.j-station[data-hue="manage"].on  .ring circle { stroke: var(--manage); }
.j-icon {
  width: 44px; height: 44px; border-radius: var(--blob);
  background: rgba(255,255,255,.06); display: grid; place-items: center;
  transition: background .4s ease, border-radius .6s ease;
  color: rgba(255,255,255,.75); font-size: 19px;
}
.j-station.on .j-icon { border-radius: 50%; }
.j-station[data-hue="table"].on   .j-icon { background: var(--table);   color: #fff; }
.j-station[data-hue="waiter"].on  .j-icon { background: var(--waiter);  color: #fff; }
.j-station[data-hue="kitchen"].on .j-icon { background: var(--kitchen); color: #fff; }
.j-station[data-hue="manage"].on  .j-icon { background: var(--manage);  color: #fff; }
.j-title { display: block; font-weight: 700; font-size: 15.5px; margin-block-start: 18px; }
.j-caption { margin-block-start: 46px; text-align: center; font-size: 15px; color: rgba(255,255,255,.6); min-height: 24px; }
.j-caption b { color: rgba(255,255,255,.92); font-weight: 600; }
@media (max-width: 780px) {
  .journey { padding-block: 64px; }
  .journey-sub { margin-block-end: 36px; }
  .journey-track { flex-direction: column; gap: 14px; align-items: stretch; max-width: 420px; }
  .journey-track::before { display: none; }
  .j-station { display: flex; align-items: center; gap: 16px; text-align: start; flex: none; }
  .j-badge { margin-inline: 0; flex-shrink: 0; }
  .j-title { margin-block-start: 0; }
  .j-caption { margin-block-start: 26px; }
}

/* ── light product-cards section ─────────────────────────────────── */
.section { padding-block: 100px; }
.section-head { text-align: center; max-width: 62ch; margin-inline: auto; margin-block-end: 58px; }
.eyebrow { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-text-2); font-weight: 600; }
.section-head h2 { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4.4vw, 46px); margin-block-start: 12px; color: var(--ink-text); }
.section-head p { color: var(--ink-text-2); margin-block-start: 14px; font-size: 16.5px; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 38px 36px; position: relative; overflow: hidden;
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease, border-color .28s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 46px rgba(27,23,18,.08); }
.card .chip {
  width: 50px; height: 50px; border-radius: var(--blob);
  display: grid; place-items: center; font-size: 21px; margin-block-end: 20px; color: #fff;
  transition: border-radius .5s ease; position: relative; overflow: hidden;
}
.card:hover .chip { border-radius: 40%; }
/* a catch of light sweeps the icon on hover — like glass, not a decal */
.card .chip::after {
  content: ""; position: absolute; inset: -40%;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.6) 50%, transparent 65%);
  transform: translateX(-140%); transition: transform .7s ease;
}
.card:hover .chip::after { transform: translateX(60%); }
.card[data-hue="table"]   .chip { background: var(--table); }
.card[data-hue="waiter"]  .chip { background: var(--waiter); }
.card[data-hue="kitchen"] .chip { background: var(--kitchen); }
.card[data-hue="manage"]  .chip { background: var(--manage); }
.card h3 { font-family: var(--display); font-weight: 900; font-size: 25px; }
.card .tag { font-size: 13.5px; color: var(--ink-text-2); margin-block-start: 3px; }
.card p.desc { color: var(--ink-text-2); margin-block-start: 14px; font-size: 15.5px; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-block-start: 20px; font-weight: 700; font-size: 14.5px; }
.card .more svg { width: 15px; height: 15px; transition: transform .2s ease; }
.card:hover .more svg { transform: translateX(3px); }
[dir="rtl"] .card:hover .more svg { transform: translateX(-3px); }
.card[data-hue="table"]   .more { color: var(--table); }
.card[data-hue="waiter"]  .more { color: var(--waiter); }
.card[data-hue="kitchen"] .more { color: var(--kitchen); }
.card[data-hue="manage"]  .more { color: var(--manage); }
@media (max-width: 780px) { .cards { grid-template-columns: 1fr; } }

/* ── trust strip ─────────────────────────────────────────────────── */
.trust { background: var(--white); border-block: 1px solid var(--hairline); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.trust-item { display: flex; gap: 16px; align-items: flex-start; }
.trust-ico {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px;
  background: var(--parchment); display: grid; place-items: center; color: var(--clay); font-size: 20px;
}
.trust-item h3 { font-size: 17px; font-weight: 700; }
.trust-item p { font-size: 14.5px; color: var(--ink-text-2); margin-block-start: 7px; }
@media (max-width: 780px) { .trust-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ── FAQ ─────────────────────────────────────────────────────────── */
.faq { background: var(--parchment); border-block-start: 1px solid var(--hairline); }
.faq-list { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq-list details { background: var(--white); border: 1px solid var(--hairline); border-radius: 16px; padding-inline: 24px; }
.faq-list summary {
  cursor: pointer; list-style: none; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; padding-block: 18px;
  font-weight: 700; font-size: 16px; color: var(--ink-text);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-size: 24px; font-weight: 400; color: var(--clay);
  flex-shrink: 0; line-height: 1; transition: transform .25s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details > p { color: var(--ink-text-2); font-size: 15.5px; padding-block-end: 20px; }

/* ── CTA band ────────────────────────────────────────────────────── */
.cta-band { background: var(--ink); color: var(--white); text-align: center; padding-block: 100px; position: relative; overflow: hidden; }
.cta-band h2 { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4.6vw, 50px); max-width: 20ch; margin-inline: auto; position: relative; z-index: 1; }
.cta-band p { color: rgba(255,255,255,.62); margin-block: 18px 36px; font-size: 16.5px; position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; }

/* ── product page hero (light, asymmetric) ──────────────────────── */
.p-hero { padding-block: 156px 76px; background: var(--parchment); }
.p-hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.p-hero .p-name { font-size: 13.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.p-hero .p-name svg { width: 17px; height: 17px; }
.p-hero h1 { font-family: var(--display); font-weight: 900; font-size: clamp(36px, 5vw, 62px); line-height: 1.14; margin-block-start: 14px; color: var(--ink-text); }
.p-hero .hero-sub { color: var(--ink-text-2); margin-block-start: 20px; max-width: 42ch; }
.p-hero .hero-actions { margin-block-start: 32px; }
.p-hero[data-hue="table"]   .p-name { color: var(--table); }
.p-hero[data-hue="waiter"]  .p-name { color: var(--waiter); }
.p-hero[data-hue="kitchen"] .p-name { color: var(--kitchen); }
.p-hero[data-hue="manage"]  .p-name { color: var(--manage); }
.p-hero { perspective: 900px; }
.p-hero-glyph { display: grid; place-items: center; }
.p-hero-glyph .badge {
  width: min(100%, 220px); aspect-ratio: 1; border-radius: var(--blob);
  display: grid; place-items: center; color: #fff; box-shadow: 0 24px 50px -14px rgba(27,23,18,.35);
  transform: rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform .1s linear;
}
.p-hero-glyph .badge svg { width: 40%; height: 40%; }
.page-table   .p-hero-glyph .badge { background: linear-gradient(150deg, var(--table), color-mix(in srgb, var(--table) 65%, black)); }
.page-waiter  .p-hero-glyph .badge { background: linear-gradient(150deg, var(--waiter), color-mix(in srgb, var(--waiter) 65%, black)); }
.page-kitchen .p-hero-glyph .badge { background: linear-gradient(150deg, var(--kitchen), color-mix(in srgb, var(--kitchen) 65%, black)); }
.page-manage  .p-hero-glyph .badge { background: linear-gradient(150deg, var(--manage), color-mix(in srgb, var(--manage) 65%, black)); }
@media (max-width: 860px) { .p-hero .wrap { grid-template-columns: 1fr; } .p-hero-glyph { display: none; } }

/* product page: alternating feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding-block: 46px; }
.feature:nth-child(even) .f-visual { order: -1; }
.feature .f-eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.feature h3 { font-family: var(--display); font-weight: 900; font-size: clamp(24px, 3vw, 33px); color: var(--ink-text); margin-block-start: 8px; }
.feature p { color: var(--ink-text-2); margin-block-start: 14px; font-size: 16px; }
.feature ul { margin-block-start: 18px; display: grid; gap: 11px; }
.feature li { padding-inline-start: 28px; position: relative; font-size: 15.5px; color: var(--ink-text); }
.feature li svg { position: absolute; inset-inline-start: 0; inset-block-start: 3px; width: 17px; height: 17px; }
.page-table   .f-eyebrow, .page-table   .feature li svg { color: var(--table); }
.page-waiter  .f-eyebrow, .page-waiter  .feature li svg { color: var(--waiter); }
.page-kitchen .f-eyebrow, .page-kitchen .feature li svg { color: var(--kitchen); }
.page-manage  .f-eyebrow, .page-manage  .feature li svg { color: var(--manage); }
@media (max-width: 780px) { .feature { grid-template-columns: 1fr; gap: 28px; } .feature:nth-child(even) .f-visual { order: 0; } }

/* frame that holds every scene illustration */
.f-visual { display: grid; place-items: center; }
.scene-frame {
  width: min(100%, 440px); border-radius: 22px; background: var(--white);
  border: 1px solid var(--hairline); box-shadow: 0 30px 70px -20px rgba(27,23,18,.16);
  padding: 22px; overflow: hidden;
}
.scene-frame .sf-bar { display: flex; gap: 6px; margin-block-end: 18px; }
.scene-frame .sf-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--hairline); }

/* — scene: menu grid (Table) — */
.scene-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.scene-menu .dish { border: 1px solid var(--hairline); border-radius: 14px; padding: 10px; }
.scene-menu .thumb { aspect-ratio: 4/3; border-radius: var(--blob); margin-block-end: 10px; }
.page-table .scene-menu .thumb:nth-child(1), .page-table .scene-menu .thumb { background: color-mix(in srgb, var(--table) 24%, white); }
.scene-menu .dish:nth-child(2) .thumb { background: color-mix(in srgb, var(--clay) 22%, white); }
.scene-menu .dish:nth-child(3) .thumb { background: color-mix(in srgb, var(--gold) 30%, white); }
.scene-menu .line { height: 7px; border-radius: 4px; background: var(--hairline); width: 70%; }
.scene-menu .price { display: inline-block; margin-block-start: 8px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--parchment); color: var(--ink-text); }

/* — scene: order ticket (Table row2 / Waiter approve) — */
.scene-ticket .row { display: flex; justify-content: space-between; align-items: center; padding-block: 9px; border-block-end: 1px dashed var(--hairline); font-size: 13.5px; }
.scene-ticket .row:last-of-type { border-block-end: none; }
.scene-ticket .row b { font-weight: 700; }
.scene-ticket .mod { font-size: 11.5px; color: var(--ink-text-2); display: block; margin-block-start: 2px; }
.scene-ticket .total { display: flex; justify-content: space-between; margin-block-start: 14px; padding-block-start: 14px; border-block-start: 1px solid var(--ink-text); font-weight: 800; font-size: 15px; }

/* — scene: call button (Table row3) — */
.scene-call { display: grid; place-items: center; padding-block: 26px; gap: 16px; }
.scene-call .ring-btn {
  width: 84px; height: 84px; border-radius: 50%; background: var(--table);
  color: #fff; display: grid; place-items: center; position: relative;
}
.scene-call .ring-btn svg { width: 30px; height: 30px; }
.scene-call .ring-btn::before, .scene-call .ring-btn::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid var(--table);
  opacity: .5; animation: pulse-ring 2.2s ease-out infinite;
}
.scene-call .ring-btn::after { animation-delay: .9s; }
@keyframes pulse-ring { from { transform: scale(.85); opacity: .55; } to { transform: scale(1.5); opacity: 0; } }
.scene-call .cap { font-size: 13px; color: var(--ink-text-2); }

/* — scene: floor plan (Waiter row1) — */
.scene-floor { position: relative; height: 190px; }
.scene-floor .t { position: absolute; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 10.5px; font-weight: 700; }
.scene-floor .t.free   { background: var(--hairline); color: var(--ink-text-2); }
.scene-floor .t.seated { background: var(--waiter); }
.scene-floor .t.hot    { background: var(--clay); animation: needs-attention 1.8s ease-in-out infinite; }
/* the table that needs you glows gently — same language as the call-waiter pulse */
@keyframes needs-attention {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--clay) 55%, transparent); }
  50%      { box-shadow: 0 0 0 7px color-mix(in srgb, var(--clay) 0%, transparent); }
}

/* — scene: receipt (Waiter row3) — */
.scene-receipt .row { display: flex; justify-content: space-between; font-size: 13.5px; padding-block: 7px; color: var(--ink-text-2); }
.scene-receipt .row.total { color: var(--ink-text); font-weight: 800; font-size: 16px; border-block-start: 1px solid var(--ink-text); margin-block-start: 8px; padding-block-start: 12px; }
.scene-receipt .tip-row { display: flex; gap: 8px; margin-block-start: 14px; }
.scene-receipt .tip-chip { flex: 1; text-align: center; padding-block: 8px; border-radius: 8px; background: var(--parchment); font-size: 12px; font-weight: 700; }
.scene-receipt .tip-chip.on { background: var(--waiter); color: #fff; }

/* — scene: KDS rail (Kitchen row1) — */
.scene-rail .ticket { border: 1px solid var(--hairline); border-radius: 12px; padding: 12px; margin-block-end: 10px; }
.scene-rail .ticket:last-child { margin-block-end: 0; }
.scene-rail .t-head { display: flex; justify-content: space-between; align-items: center; margin-block-end: 8px; }
.scene-rail .timer { font-size: 11px; font-weight: 800; padding: 2px 9px; border-radius: 99px; color: #fff; }
.scene-rail .ticket.urgent .timer { background: var(--kitchen); }
.scene-rail .ticket.ok .timer { background: var(--table); }
.scene-rail .t-line { height: 6px; border-radius: 3px; background: var(--hairline); margin-block-end: 6px; width: 85%; }

/* — scene: bump detail (Kitchen row2) — */
.scene-bump { text-align: center; padding-block: 8px; }
.scene-bump .big-timer { font-family: var(--display); font-size: 40px; font-weight: 900; color: var(--kitchen); }
.scene-bump .item { font-size: 14px; margin-block: 14px 18px; color: var(--ink-text-2); }
.scene-bump .btns { display: flex; gap: 10px; }
.scene-bump .btns button { flex: 1; padding-block: 10px; border-radius: 10px; font-weight: 700; font-size: 13px; border: none; }
.scene-bump .btns .bump { background: var(--kitchen); color: #fff; }
.scene-bump .btns .recall { background: var(--parchment); color: var(--ink-text); }

/* — scene: station buttons (Kitchen row3) — */
.scene-station { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.scene-station button { aspect-ratio: 1.4; border-radius: 14px; border: none; background: var(--parchment); color: var(--ink-text); font-weight: 700; font-size: 13px; }
.scene-station button.active { background: var(--kitchen); color: #fff; }

/* — scene: sales chart (Manage row1) — */
.scene-chart { position: relative; height: 190px; display: flex; align-items: flex-end; gap: 10px; padding-inline-start: 4px; }
.scene-chart .bar {
  flex: 1; border-radius: 6px 6px 0 0; height: 0;
  transition: height 1.1s cubic-bezier(.2,.7,.2,1);
}
/* bars grow in once the row scrolls into view — reuses the .feature reveal, no extra JS */
.feature.in .scene-chart .bar { height: var(--h); }
.scene-chart .bar:nth-child(1) { transition-delay: .05s; }
.scene-chart .bar:nth-child(2) { transition-delay: .14s; }
.scene-chart .bar:nth-child(3) { transition-delay: .23s; }
.scene-chart .bar:nth-child(4) { transition-delay: .32s; }
.scene-chart .bar:nth-child(5) { transition-delay: .41s; }
.scene-chart .bar:nth-child(6) { transition-delay: .5s; }
.scene-chart svg.trend { position: absolute; inset: 0; }

/* — scene: menu editor (Manage row2) — */
.scene-editor { display: grid; gap: 10px; }
.scene-editor .row { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--hairline); border-radius: 12px; }
.scene-editor .thumb { width: 38px; height: 38px; border-radius: var(--blob); flex-shrink: 0; }
.scene-editor .row:nth-child(1) .thumb { background: color-mix(in srgb, var(--manage) 24%, white); }
.scene-editor .row:nth-child(2) .thumb { background: color-mix(in srgb, var(--clay) 22%, white); }
.scene-editor .row:nth-child(3) .thumb { background: color-mix(in srgb, var(--gold) 30%, white); }
.scene-editor .col { flex: 1; }
.scene-editor .line { height: 6px; border-radius: 3px; background: var(--hairline); width: 60%; margin-block-end: 6px; }
.scene-editor .line.short { width: 30%; }
.scene-editor svg.pencil { width: 15px; height: 15px; color: var(--ink-text-2); }

/* — scene: device list (Manage row3) — */
.scene-devices .row { display: flex; align-items: center; gap: 12px; padding-block: 10px; border-block-end: 1px solid var(--hairline); font-size: 13.5px; }
.scene-devices .row:last-child { border-block-end: none; }
.scene-devices .status { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.scene-devices .status.online { background: var(--table); animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--table) 45%, transparent); }
  50%      { box-shadow: 0 0 0 4px color-mix(in srgb, var(--table) 0%, transparent); }
}
.scene-rail .timer, .scene-bump .big-timer { font-variant-numeric: tabular-nums; }
.scene-devices .status.offline { background: var(--hairline); }
.scene-devices .name { flex: 1; font-weight: 600; }
.scene-devices .meta { color: var(--ink-text-2); font-size: 12px; }

/* spec strip on product pages */
.specs { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 46px 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.specs .spec svg { width: 22px; height: 22px; }
.specs h4 { font-size: 15px; font-weight: 700; margin-block-start: 12px; }
.specs p { font-size: 13.5px; color: var(--ink-text-2); margin-block-start: 6px; }
.page-table .specs svg   { color: var(--table); }
.page-waiter .specs svg  { color: var(--waiter); }
.page-kitchen .specs svg { color: var(--kitchen); }
.page-manage .specs svg  { color: var(--manage); }
@media (max-width: 780px) { .specs { grid-template-columns: 1fr; } }

/* ── scroll reveal ───────────────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }

/* ── footer ──────────────────────────────────────────────────────── */
.footer { background: var(--ink); color: rgba(255,255,255,.5); padding-block: 46px; font-size: 13.5px; border-block-start: 1px solid rgba(255,255,255,.08); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.footer .nav-logo { font-size: 19px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a:hover { color: var(--white); }

/* ── legal / statement pages (accessibility, privacy, terms) ───────────────── */
.legal-hero { padding-block: 156px 54px; background: var(--parchment); }
.legal-hero .eyebrow { display: flex; align-items: center; gap: 8px; }
.legal-hero .eyebrow svg { width: 15px; height: 15px; color: var(--clay); }
.legal-hero h1 { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 5vw, 50px); color: var(--ink-text); margin-block-start: 12px; max-width: 20ch; }
.legal-hero .updated { margin-block-start: 16px; font-size: 14px; color: var(--ink-text-2); }

.legal-body { max-width: 740px; margin-inline: auto; padding-block: 64px 100px; }
.legal-body h2 { font-family: var(--display); font-weight: 800; font-size: 23px; color: var(--ink-text); margin-block: 44px 14px; }
.legal-body h2:first-child { margin-block-start: 0; }
.legal-body p { color: var(--ink-text-2); font-size: 16px; margin-block-end: 14px; }
.legal-body ul { margin-block: 12px 22px; display: grid; gap: 10px; }
.legal-body li { padding-inline-start: 24px; position: relative; font-size: 15.5px; color: var(--ink-text); }
.legal-body li::before { content: ""; position: absolute; inset-inline-start: 2px; inset-block-start: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--clay); }
.legal-contact {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--white), var(--paper));
  border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 30px 32px 32px; margin-block: 34px;
  box-shadow: 0 14px 34px -24px rgba(27, 23, 18, .4);
}
.legal-contact::before {
  content: ""; position: absolute; inset-block: 20px; inset-inline-start: 0;
  width: 3px; border-radius: 0 3px 3px 0;
  background: linear-gradient(var(--clay), var(--gold));
}
.legal-contact h3 { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--ink-text); }
.legal-contact p { margin-block-start: 8px; margin-block-end: 0; color: var(--ink-text-2); }
.legal-contact p strong { color: var(--ink-text); font-size: 16px; }
.legal-contact a[href^="mailto:"] {
  display: inline-flex; align-items: center; gap: 8px; margin-block-start: 4px;
  padding: 9px 16px; border-radius: 999px;
  background: color-mix(in srgb, var(--clay) 8%, var(--white));
  border: 1px solid color-mix(in srgb, var(--clay) 22%, transparent);
  color: var(--clay); font-weight: 600; font-size: 15px; text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.legal-contact a[href^="mailto:"]::before {
  content: ""; width: 16px; height: 16px; flex: 0 0 auto; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.legal-contact a[href^="mailto:"]:hover {
  background: color-mix(in srgb, var(--clay) 14%, var(--white));
  border-color: color-mix(in srgb, var(--clay) 40%, transparent);
  transform: translateY(-1px);
}
.legal-contact .btn { margin-block-start: 18px; }

/* ── cursor glow — a warm light that follows the guest, like a candle at the
   entrance. Only on dark sections; JS sets --gx/--gy on pointermove. ─────── */
.glow-surface { position: relative; }
.glow-surface::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0; transition: opacity .5s ease;
  background: radial-gradient(480px circle at var(--gx, 50%) var(--gy, 0%), rgba(201,161,90,.16), transparent 68%);
}
.glow-surface.glow-on::before { opacity: 1; }
.glow-surface > .wrap { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  [data-reveal], .hero [data-rise] { opacity: 1; transform: none; }
  .hero-mark img { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ── cookie consent bar ─────────────────────────────────────────────── */
.cookiebar {
  position: fixed; inset-block-end: 18px; inset-inline: 18px; z-index: 200;
  max-width: 960px; margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px;
  padding: 18px 22px;
  background: color-mix(in srgb, var(--ink) 96%, transparent);
  color: var(--parchment);
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .34);
  transform: translateY(150%); opacity: 0;
  transition: transform .4s ease, opacity .4s ease;
}
.cookiebar.show { transform: translateY(0); opacity: 1; }
.cookiebar-text { flex: 1 1 320px; margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--parchment); }
.cookiebar-text a { color: var(--gold); text-decoration: underline; }
.cookiebar-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookiebar .btn { padding: 10px 20px; font-size: 14px; }
.cookiebar .btn-ghost {
  background: transparent; color: var(--parchment);
  border: 1px solid color-mix(in srgb, var(--parchment) 45%, transparent);
}
.cookiebar .btn-ghost:hover { border-color: var(--parchment); }
@media (max-width: 560px) {
  .cookiebar { inset-inline: 10px; inset-block-end: 10px; padding: 16px; }
  .cookiebar-actions { width: 100%; }
  .cookiebar-actions .btn { flex: 1; text-align: center; }
}
