/* Terrasse Nour (a fictional restaurant, a Repliwave demo). The site is the terrace, seen from above.
   Drag the hour: the awning's shade crosses the floor, tables go from sun to shade, the awning rolls back at 18:00, lanterns come on at dusk.
   Honey, brick, saffron, deep green ink, warm paper. Instrument Serif for headings, Geist Mono for hours and prices, Geist for text.
   Logical properties only, so Arabic mirrors by itself (the map itself is a picture and keeps its orientation). Breakpoints: base (375), 768, 1280. */
:root {
  --honey: #e8c98f; --brick: #8a3f2a; --saffron: #d99a2b; --ink: #2c3a35; --paper: #f6ecd8; --card: #fbf5e8;
  --hair: rgba(44, 58, 53, .2); --soft: rgba(44, 58, 53, .72);
  --display: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ar: 'Geeza Pro', 'Noto Naskh Arabic', 'Noto Sans Arabic', 'Segoe UI', Tahoma, 'DejaVu Sans', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gut: clamp(1.1rem, 4vw, 4rem);
  --gold: 0; --dusk: 0; /* how far the light has turned to late gold, and to dusk: set by the hour */
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; } }
body { background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
[dir='rtl'] body, [dir='rtl'] input, [dir='rtl'] textarea, [dir='rtl'] button { font-family: var(--ar); }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--brick); color: var(--paper); }
:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }
.night :focus-visible, .foot :focus-visible { outline-color: var(--honey); }
.skip { position: absolute; inset-inline-start: -999px; top: .5rem; z-index: 60; background: var(--ink); color: var(--paper); padding: .5rem .9rem; }
.skip:focus { inset-inline-start: .5rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mono { font-family: var(--mono); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
[dir='rtl'] h2, [dir='rtl'] h3 { font-family: var(--ar); font-weight: 700; }
.wrap { max-width: 88rem; margin-inline: auto; padding-inline: var(--gut); }

/* header */
.bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 1rem; padding: max(.5rem, env(safe-area-inset-top)) var(--gut) .5rem; background: color-mix(in srgb, var(--paper) 92%, transparent); box-shadow: 0 1px 0 var(--hair); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.brand { font: 400 1.5rem/1 var(--display); text-decoration: none; white-space: nowrap; }
.menu { display: none; gap: 1.5rem; margin-inline-start: auto; }
.menu a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .92rem; text-decoration: none; }
.menu a:hover { text-decoration: underline; text-underline-offset: .4em; text-decoration-thickness: 1px; }
.tools { display: flex; align-items: center; gap: .5rem; margin-inline-start: auto; }
.langs { display: flex; }
.langs button { background: none; border: 0; font: 400 .74rem/1 var(--mono); padding: .5rem .45rem; min-width: 2.3rem; min-height: 2.75rem; cursor: pointer; opacity: .75; border-radius: 99px; }
.langs button[lang='ar'] { font-family: var(--ar); font-size: .95rem; }
.langs button[aria-pressed='true'] { opacity: 1; background: var(--ink); color: var(--paper); }
.badge { display: inline-flex; align-items: center; white-space: nowrap; min-height: 2.75rem; font-size: .78rem; text-decoration: none; border: 1px solid currentColor; border-radius: 99px; padding: .5rem .85rem; }
.badge .full { display: none; }
@media (min-width: 560px) { .badge .full { display: inline; } .badge .short { display: none; } }
@media (min-width: 860px) { .menu { display: flex; } .tools { margin-inline-start: 1.2rem; } }

/* the terrace: the page's light follows the hour */
.terrace { padding-block: clamp(1rem, 2vw, 1.6rem) clamp(2.5rem, 5vw, 4.5rem); background: color-mix(in srgb, color-mix(in srgb, var(--paper), #f0c987 calc(var(--gold) * 55%)), #1f1a33 calc(var(--dusk) * 88%)); color: var(--ink); transition: background-color .9s var(--ease), color .9s var(--ease); }
.terrace.night { color: #f6ecd8; --hair: rgba(246, 236, 216, .25); --soft: rgba(246, 236, 216, .78); }
.intro { display: grid; gap: .8rem 3rem; align-items: end; margin-bottom: clamp(.9rem, 1.6vw, 1.3rem); }
@media (min-width: 900px) { .intro { grid-template-columns: auto 1fr; } .intro > div:last-child { justify-self: end; max-width: 30rem; } }
.kicker { font: 400 .78rem/1.4 var(--mono); color: var(--brick); margin-bottom: .3rem; }
.night .kicker { color: var(--honey); }
[dir='rtl'] .kicker { font-family: var(--ar); font-size: .92rem; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); line-height: .88; letter-spacing: -.03em; }
.intro h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.05; font-style: italic; }
[dir='rtl'] .intro h2 { font-style: normal; line-height: 1.4; font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
.lead { color: var(--soft); max-width: 48ch; margin-top: .6rem; font-size: 1rem; }
[dir='rtl'] .lead { line-height: 1.9; }
.board { display: grid; gap: 1.4rem; }
@media (min-width: 1080px) { .board { grid-template-columns: minmax(0, 1fr) 23.5rem; gap: 2rem; align-items: start; } }

/* the map: on a laptop the map and the hour fit on one screen together */
@media (min-width: 1080px) { .board { grid-template-columns: minmax(0, max(34rem, calc((100svh - 21rem) * 1.667))) 23.5rem !important; justify-content: space-between; } }

.mapbox { position: relative; border-radius: 1.4rem; overflow: hidden; box-shadow: 0 40px 80px -36px rgba(44, 30, 20, .6), 0 0 0 1px var(--hair), inset 0 1px 0 rgba(255, 255, 255, .25);
  background: linear-gradient(180deg, color-mix(in srgb, color-mix(in srgb, #bfe0ee, #f2b56b calc(var(--gold) * 90%)), #171332 calc(var(--dusk) * 92%)), color-mix(in srgb, color-mix(in srgb, #f3e3bd, #f0c58a calc(var(--gold) * 80%)), #3a2c56 calc(var(--dusk) * 85%)) 62%); transition: background .9s var(--ease); }
/* the terrace is a model seen from above and a little to the side: stacked drawings, tilted in real 3D */
#map { position: relative; aspect-ratio: 1200 / 720; perspective: 1700px; perspective-origin: 50% 20%; touch-action: manipulation; }
.far { position: absolute; inset-inline: 0; top: 0; width: 100%; height: 34%; color: color-mix(in srgb, color-mix(in srgb, #d9c7a0, #d99a5a calc(var(--gold) * 80%)), #241c40 calc(var(--dusk) * 90%)); opacity: .7; filter: blur(1.2px); transition: color .9s var(--ease); pointer-events: none; }
.tilt { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateY(8%) rotateX(calc(47deg + var(--ty, 0deg))) rotateZ(calc(-5deg + var(--tz, 0deg))) scale(.9); transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.ly { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; filter: sepia(calc(var(--gold) * .35)) saturate(calc(1 + var(--gold) * .25)) brightness(calc(1 - var(--dusk) * .52)); transition: filter .9s var(--ease); }
.ly.g0 { filter: drop-shadow(0 calc(var(--u, .6) * 60px) calc(var(--u, .6) * 50px) rgba(30, 14, 6, .45)); }
.ly.lit { filter: sepia(calc(var(--gold) * .3)); }
@media (max-width: 700px) { #map { aspect-ratio: 1200 / 840; } .tilt { transform: translateY(5%) rotateX(calc(30deg + var(--ty, 0deg))) rotateZ(calc(-3deg + var(--tz, 0deg))) scale(.97); } } /* a gentler tilt on phones keeps the tables easy to tap */
#map .tbl { pointer-events: auto; }
#map .shade { transition: transform 1s var(--ease), opacity .8s var(--ease); }
#map .tshadow { transition: transform 1s var(--ease), opacity .8s var(--ease); }
#map .cloth { transition: width 1.3s var(--ease), opacity 1s var(--ease); }
#map .pole { transition: opacity .8s var(--ease); }
#map .goldwash, #map .duskwash, #map .glow, #map .star { transition: opacity .9s var(--ease); }
#map .tbl { cursor: pointer; outline: none; transition: opacity .5s var(--ease); }
#map .tbl .top { fill: url(#zincG); stroke: #7f8a86; stroke-width: 1.5; transition: fill .6s var(--ease); }
#map .tbl.shade .top { fill: #aab5b0; }
#map .tbl.lantern .top { fill: #ffe2a6; }
#map .tbl .chair { fill: #5d4636; }
#map .tbl .num { font: 600 17px var(--mono); fill: #2c3a35; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
#map .tbl .ring { fill: none; stroke: #fff; stroke-width: 0; transition: stroke-width .3s var(--ease); }
#map .tbl:hover .ring, #map .tbl:focus-visible .ring { stroke-width: 3; stroke-dasharray: 5 6; }
#map .tbl.sel .ring { stroke: #fff; stroke-width: 5; stroke-dasharray: none; }
#map .tbl.sel .top { fill: var(--saffron); }
#map .tbl.sel .num { fill: #2c1a10; }
#map .tbl.dim { opacity: .28; }
#map .tbl .hit { fill: transparent; }
.legend { z-index: 2; position: absolute; inset-inline-start: .8rem; bottom: .7rem; display: flex; gap: 1rem; list-style: none; padding: .35rem .7rem; border-radius: 99px; background: rgba(251, 245, 232, .9); color: #2c3a35; font-size: .72rem; }
.legend li { display: flex; align-items: center; gap: .4rem; }
.legend i { width: 1rem; height: .7rem; border-radius: 2px; }
.legend .l1 { background: repeating-linear-gradient(90deg, rgba(60, 30, 20, .55) 0 3px, rgba(60, 30, 20, .25) 3px 6px); }
.legend .l2 { background: var(--saffron); border-radius: 50%; width: .8rem; height: .8rem; box-shadow: 0 0 0 2px #fff; }
@media (max-width: 520px) { .legend { display: none; } }

/* the hour */
.dial { display: grid; gap: .2rem 1.6rem; margin-top: .9rem; align-items: center; }
@media (min-width: 700px) { .dial { grid-template-columns: auto 1fr; } .dial .hint { grid-column: 2; } }
.now { display: flex; align-items: baseline; gap: .8rem; }
.now output { font: 400 clamp(3rem, 7vw, 4.6rem)/.9 var(--display); font-variant-numeric: tabular-nums; min-width: 3.2ch; }
.now span { font: 400 .8rem/1.2 var(--mono); color: var(--soft); }
[dir='rtl'] .now span { font-family: var(--ar); font-size: .95rem; }
.track { position: relative; padding-top: 1.7rem; }
.bands { position: absolute; inset-inline: 0; top: 2.55rem; height: .5rem; display: grid; grid-template-columns: 2fr 6fr 7fr 5fr; gap: 3px; pointer-events: none; }
.bands i { border-radius: 99px; background: currentColor; opacity: .22; }
.bands i:nth-child(2) { background: var(--saffron); opacity: .9; } .bands i:nth-child(3) { background: var(--brick); opacity: .55; } .bands i:nth-child(4) { background: #6b5aa8; opacity: .8; }
.track .sun { position: absolute; top: 0; inset-inline-start: calc(var(--pos, .15) * (100% - 1.4rem)); width: 1.4rem; height: 1.4rem; border-radius: 50%; background: color-mix(in srgb, #f2b33d, #f4ead2 calc(var(--dusk) * 100%)); box-shadow: 0 0 0 5px color-mix(in srgb, rgba(242, 179, 61, .3), rgba(244, 234, 210, .14) calc(var(--dusk) * 100%)); transition: inset-inline-start .5s var(--ease), background-color .8s; }
#hour { -webkit-appearance: none; appearance: none; position: relative; width: 100%; height: 2.75rem; background: transparent; cursor: grab; margin: 0; display: block; }
#hour::-webkit-slider-runnable-track { height: .5rem; background: transparent; }
#hour::-moz-range-track { height: .5rem; background: transparent; }
#hour::-webkit-slider-thumb { -webkit-appearance: none; width: 2.1rem; height: 2.1rem; margin-top: -.8rem; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
#hour::-moz-range-thumb { width: 2rem; height: 2rem; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
.ticks { display: grid; grid-template-columns: repeat(5, 1fr); margin-inline: 5% 15%; font-size: .68rem; color: var(--soft); }
.ticks span { transform: translateX(-50%); width: max-content; }
[dir='rtl'] .ticks span { transform: translateX(50%); }
.hint { font: 400 .76rem/1.5 var(--mono); color: var(--soft); min-height: 1.2em; }
[dir='rtl'] .hint { font-family: var(--ar); font-size: .9rem; }

/* the panel: your table */
.panel { background: var(--card); color: #2c3a35; --hair: rgba(44, 58, 53, .2); --soft: rgba(44, 58, 53, .72); border-radius: 1.4rem; padding: 1.3rem; display: grid; gap: 1rem; box-shadow: 0 30px 60px -34px rgba(44, 30, 20, .5), 0 0 0 1px rgba(44, 58, 53, .12); }
@media (min-width: 1080px) { .panel { position: sticky; top: 4.6rem; } }
.filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { border: 1px solid var(--hair); background: transparent; border-radius: 99px; padding: .45rem .9rem; min-height: 2.75rem; cursor: pointer; font-size: .86rem; transition: background-color .25s, color .25s, border-color .25s; }
.chip[aria-pressed='true'] { background: #2c3a35; border-color: #2c3a35; color: var(--paper); }
.empty { display: grid; justify-items: center; text-align: center; gap: .8rem; padding: 2.2rem 1rem; color: var(--soft); border: 1px dashed var(--hair); border-radius: 1rem; }
.empty svg { width: 3.4rem; height: 3.4rem; }
.pick h3 { font-size: 2.6rem; line-height: 1; }
[dir='rtl'] .pick h3 { font-size: 1.9rem; line-height: 1.4; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; margin-top: .6rem; }
.tags li { font-size: .78rem; border-radius: 99px; padding: .3rem .7rem; background: rgba(44, 58, 53, .08); }
.tags li.st { background: var(--brick); color: #fff; }
.tags li.st.sun { background: var(--saffron); color: #2c1a10; } .tags li.st.lantern { background: #3b2f63; } .tags li.st.late { background: #c96f2e; }
.field { display: grid; gap: .35rem; font-size: .8rem; color: var(--soft); }
.rowf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--hair); border-radius: 99px; }
.qty button { width: 2.75rem; height: 2.75rem; border: 0; background: none; cursor: pointer; font-size: 1.2rem; border-radius: 50%; }
.qty button:disabled { opacity: .3; cursor: default; }
.qty output { min-width: 2rem; text-align: center; font: 600 1.05rem/1 var(--mono); color: #2c3a35; }
.days { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .2rem; margin-inline: -.2rem; padding-inline: .2rem; }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; display: grid; justify-items: center; gap: .1rem; min-width: 3.6rem; min-height: 3.4rem; padding: .4rem .6rem; border: 1px solid var(--hair); border-radius: .9rem; background: transparent; cursor: pointer; font-size: .74rem; color: var(--soft); }
.day b { font: 600 1.05rem/1 var(--mono); color: #2c3a35; }
.day[aria-pressed='true'] { background: var(--brick); border-color: var(--brick); color: rgba(255, 255, 255, .85); }
.day[aria-pressed='true'] b { color: #fff; }
.day:disabled { opacity: .3; cursor: default; }
.panel input[type=text], .panel input[type=email], .panel textarea { width: 100%; background: #fff; border: 1px solid rgba(44, 58, 53, .35); border-radius: .7rem; padding: .7rem .9rem; font-size: 1rem; min-height: 2.9rem; color: #2c3a35; }
.panel textarea { resize: vertical; }
.panel [aria-invalid='true'] { border-color: #b3261e; }
.err { font-size: .78rem; color: #b3261e; min-height: 1em; }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-size: .95rem; font-weight: 500; text-decoration: none; text-align: center; border: 1px solid currentColor; border-radius: 99px; padding: .85rem 1.4rem; min-height: 3rem; cursor: pointer; background: transparent; color: inherit; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.cta.primary { background: var(--brick); border-color: var(--brick); color: #fff; width: 100%; }
.cta.primary:hover { background: #2c3a35; border-color: #2c3a35; }
.cta.light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.cta.light:hover { background: var(--saffron); border-color: var(--saffron); }
.textlink { background: none; border: 0; padding: 0; min-height: 2.75rem; cursor: pointer; font-size: .9rem; color: var(--brick); text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; justify-self: start; }
.small { font-size: .8rem; color: var(--soft); }
.done h3 { font-size: 2rem; line-height: 1.05; }
[dir='rtl'] .done h3 { font-size: 1.5rem; line-height: 1.5; }
.ref { display: inline-grid; gap: .15rem; padding: .7rem 1rem; background: rgba(44, 58, 53, .07); border-radius: .8rem; justify-self: start; }
.ref b { font: 600 1.3rem/1.1 var(--mono); }
.ref span { font-size: .74rem; color: var(--soft); }
.done dl { display: grid; gap: .5rem; margin: 0; }
.done dt { font-size: .74rem; color: var(--soft); }
.done dd { margin: 0; font-weight: 500; }
.pop { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } }

/* below the terrace */
.sec { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.honey { background: var(--honey); }
.sec h2 { font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: .95; letter-spacing: -.02em; }
[dir='rtl'] .sec h2 { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.3; letter-spacing: 0; }
.dishes { list-style: none; padding: 0; margin-block: 2.2rem 1.2rem; display: grid; gap: 0 4rem; border-bottom: 1px solid var(--hair); }
@media (min-width: 860px) { .dishes { grid-template-columns: 1fr 1fr; } }
.dishes li { display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; align-items: baseline; padding-block: 1.1rem; border-top: 1px solid var(--hair); }
.dishes h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.1; }
[dir='rtl'] .dishes h3 { font-size: 1.35rem; line-height: 1.5; }
.dishes b { font: 500 1.05rem/1 var(--mono); color: var(--brick); white-space: nowrap; }
[dir='rtl'] .dishes b { font-family: var(--ar); }
.dishes p { grid-column: 1 / -1; font-size: .9rem; color: var(--soft); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.chips button { background: var(--paper); border: 0; border-radius: 99px; padding: .8rem 1.3rem; min-height: 3rem; cursor: pointer; text-align: start; font: 400 clamp(1.15rem, 2vw, 1.5rem)/1.2 var(--display); transition: background-color .25s, color .25s; }
[dir='rtl'] .chips button { font-family: var(--ar); font-size: 1.05rem; line-height: 1.6; }
.chips button:hover { background: var(--brick); color: #fff; }
.foot { background: var(--ink); color: var(--paper); padding-top: clamp(3rem, 7vw, 5rem); overflow: clip; }
.foot .wrap { display: grid; gap: 1.4rem; justify-items: start; }
.foot-note { max-width: 44ch; opacity: .9; }
.wordmark { font: 400 clamp(3.4rem, 17vw, 17rem)/.8 var(--display); letter-spacing: -.04em; white-space: nowrap; text-align: center; color: var(--honey); margin-top: 2.5rem; padding-bottom: 5rem; }

/* finish: weight and light on everything you can press, steadier numerals, cleaner type */
body { text-rendering: optimizeLegibility; font-kerning: normal; }
h1, h2, h3 { text-wrap: balance; }
output, time, .price, .mono, .qtotal b, .priceline b, .ref b, .num { font-variant-numeric: tabular-nums; }
.cta, .chip, .day, .slot, .sw, .quick, .wchip, .qchips button, .chips button, .nudge button, .qty button, .moon, .langs button { transition-property: background-color, color, border-color, transform, box-shadow, opacity; transition-duration: .2s; transition-timing-function: cubic-bezier(.2, .8, .2, 1); }
.cta:active, .chip:active, .day:active, .slot:active, .sw:active, .quick:active, .wchip:active, .qchips button:active, .chips button:active, .nudge button:active { transform: translateY(1px) scale(.985); }
.cta.primary, .cta.terra { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 12px 22px -14px rgba(0, 0, 0, .65); }
.cta.primary:hover, .cta.terra:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 16px 26px -14px rgba(0, 0, 0, .7); transform: translateY(-1px); }
.card, .panel, .summary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 1px 2px rgba(0, 0, 0, .06), 0 22px 44px -26px rgba(0, 0, 0, .5), 0 60px 90px -70px rgba(0, 0, 0, .45); }
input[type=text], input[type=email], input[type=tel], textarea { transition: border-color .2s, box-shadow .2s; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .06); }
input[type=text]:focus-visible, input[type=email]:focus-visible, input[type=tel]:focus-visible, textarea:focus-visible { box-shadow: inset 0 1px 2px rgba(0, 0, 0, .06), 0 0 0 4px color-mix(in srgb, currentColor 14%, transparent); }
.day[aria-pressed='true'], .slot[aria-pressed='true'], .chip[aria-pressed='true'] { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 8px 14px -10px rgba(0, 0, 0, .6); }

/* talk: the assistant shown as a conversation; facts as numbered cards; the footer name fitted to its width */
:root { --t-acc: #8a3f2a; --t-bg: #e8c98f; --t-fg: #2c3a35; }
.talk { background: var(--t-bg) !important; color: var(--t-fg) !important; }
.talk .lead { color: color-mix(in srgb, var(--t-fg) 82%, transparent) !important; }
.talkgrid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .talkgrid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4rem; } }
.chat { background: #fffdf9; color: #1d2422; border-radius: 1.6rem; padding: 1.3rem; display: grid; gap: 1rem; max-width: 34rem; width: 100%; justify-self: end; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 2px 4px rgba(0, 0, 0, .08), 0 30px 60px -30px rgba(0, 0, 0, .55), 0 70px 90px -70px rgba(0, 0, 0, .5); transform: rotate(-.6deg); }
[dir='rtl'] .chat { transform: rotate(.6deg); }
.chat .who { display: flex; align-items: center; gap: .8rem; padding-bottom: .9rem; border-bottom: 1px solid rgba(29, 36, 34, .1); }
.chat .av { width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 34% 28%, color-mix(in srgb, var(--t-acc) 60%, #fff), var(--t-acc) 62%, color-mix(in srgb, var(--t-acc) 70%, #000)); color: #fff; font-weight: 600; font-size: 1.15rem; box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .5); }
.chat .who strong { display: block; font-weight: 600; font-size: 1.05rem; line-height: 1.2; }
.chat .who small { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: rgba(29, 36, 34, .65); }
.chat .who small::before { content: ''; width: .5rem; height: .5rem; border-radius: 50%; background: #3fae6a; box-shadow: 0 0 0 3px rgba(63, 174, 106, .2); }
.chat .bubble { justify-self: start; max-width: 90%; background: color-mix(in srgb, var(--t-acc) 9%, #f4f1ea); border-radius: 1.2rem; border-start-start-radius: .3rem; padding: .85rem 1.05rem; font-size: 1.02rem; line-height: 1.5; }
.chat .qchips { display: flex; flex-wrap: wrap; margin-top: 0 !important; justify-content: flex-end; gap: .45rem; }
.chat .qchips button { background: transparent !important; color: var(--t-acc) !important; border: 1.5px solid color-mix(in srgb, var(--t-acc) 55%, transparent) !important; border-radius: 1.2rem !important; border-end-end-radius: .3rem !important; padding: .6rem 1rem !important; min-height: 2.75rem; font: 500 .95rem/1.3 var(--sans, inherit) !important; text-align: start; }
[dir='rtl'] .chat .qchips button { font-family: var(--ar) !important; }
.chat .qchips button:hover { background: var(--t-acc) !important; color: #fff !important; border-color: var(--t-acc) !important; }
.rules { counter-reset: rule; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); max-width: none !important; gap: .7rem !important; }
.rules li { counter-increment: rule; padding: 1rem 1.1rem 1.1rem !important; border: 1px solid color-mix(in srgb, currentColor 16%, transparent); border-radius: .9rem; background: color-mix(in srgb, currentColor 3%, transparent); line-height: 1.5; }
.rules li::before { content: counter(rule, decimal-leading-zero) !important; position: static !important; display: block; width: auto !important; height: auto !important; background: none !important; border-radius: 0 !important; font: 500 .74rem/1 ui-monospace, 'Geist Mono', Menlo, monospace; letter-spacing: .06em; opacity: .6; margin-bottom: .55rem; }
.wordmark { font-size: min(13rem, calc(150vw / var(--chars, 12))) !important; }

/* on arrival the model starts as a flat plan and rises into three dimensions */
@property --lift { syntax: '<number>'; inherits: true; initial-value: 1; }
.tilt { animation: rise 1.9s cubic-bezier(.2, .8, .2, 1) .25s backwards; }
@keyframes rise { from { --lift: 0; transform: translateY(0) rotateX(0deg) rotateZ(0deg) scale(.82); } }
/* the sky: a sun that crosses with the hour, then a moon and stars */
.sky-sun, .sky-moon { position: absolute; z-index: 0; width: clamp(1.6rem, 4.2vw, 3rem); aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; pointer-events: none; transition: left 1s var(--ease), top 1s var(--ease), opacity .9s var(--ease), background-color .9s; }
.sky-sun { left: var(--sunx, 30%); top: var(--suny, 12%); background: radial-gradient(circle, #fff7d6, color-mix(in srgb, #ffe08a, #ff9d3d calc(var(--gold) * 100%)) 60%); box-shadow: 0 0 40px 14px color-mix(in srgb, rgba(255, 224, 138, .55), rgba(255, 140, 50, .6) calc(var(--gold) * 100%)); opacity: calc(1 - var(--dusk) * 1.6); }
.sky-moon { left: 76%; top: calc(26% - var(--dusk) * 14%); background: radial-gradient(circle at 36% 32%, #fff, #e9e6f5 60%, #c9c4e0); box-shadow: 0 0 30px 6px rgba(220, 215, 255, .35); opacity: calc(var(--dusk) * 1.2 - .2); }
.sky-stars { position: absolute; inset: 0 0 62% 0; pointer-events: none; opacity: calc(var(--dusk) * 1.3 - .3); transition: opacity .9s var(--ease); background-image: radial-gradient(1.2px 1.2px at 8% 30%, #fff, transparent), radial-gradient(1px 1px at 17% 62%, #fff, transparent), radial-gradient(1.4px 1.4px at 26% 18%, #fff, transparent), radial-gradient(1px 1px at 37% 48%, #fff, transparent), radial-gradient(1.3px 1.3px at 46% 12%, #fff, transparent), radial-gradient(1px 1px at 55% 40%, #fff, transparent), radial-gradient(1.5px 1.5px at 63% 22%, #fff, transparent), radial-gradient(1px 1px at 88% 16%, #fff, transparent), radial-gradient(1.2px 1.2px at 94% 46%, #fff, transparent), radial-gradient(1px 1px at 70% 58%, #fff, transparent); }
#map { z-index: 1; }
#map .plate { fill: #fffdf7; stroke: rgba(44, 58, 53, .35); stroke-width: .8; } #map .glass { fill: #9fd0b0; stroke: rgba(44, 58, 53, .3); stroke-width: .6; }
#map .tbl.sel .plate { fill: #fff; }
#map #bulbs { transition: opacity .9s var(--ease); }

/* the menu as a card: a fine inner frame, and dotted leaders from each dish to its price */
.dishes { background: var(--card); border-radius: 1.2rem; padding: clamp(1.4rem, 4vw, 3.2rem); border-bottom: 0 !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 2px 4px rgba(44, 30, 20, .08), 0 34px 60px -40px rgba(44, 30, 20, .55); outline: 1px solid rgba(138, 63, 42, .35); outline-offset: -12px; gap: 0 4.5rem !important; }
.dishes li { display: block !important; border-top: 0 !important; padding-block: 1rem !important; }
.dl { display: flex; align-items: baseline; gap: .7rem; }
.dl i { flex: 1; min-width: 1.5rem; border-bottom: 2px dotted rgba(44, 58, 53, .35); transform: translateY(-.28em); }
.dishes p { margin-top: .2rem; max-width: 46ch; }

/* polish 2: brand mark, the confirmation moment, paper grain, sections that ease in */
.mark { display: none; flex: none; width: 1.75rem; height: 1.75rem; color: inherit; margin-inline-end: -.45rem; }
.mark svg { width: 100%; height: 100%; display: block; }
@media (min-width: 480px) { .mark { display: block; } }
.okmark { width: 3.2rem; height: 3.2rem; color: var(--t-acc); display: block; }
.okmark circle { fill: color-mix(in srgb, var(--t-acc) 10%, transparent); stroke: currentColor; stroke-width: 2.4; stroke-dasharray: 151; stroke-dashoffset: 151; animation: okdraw .65s cubic-bezier(.6, 0, .2, 1) forwards; }
.okmark path { fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: okdraw .4s .5s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes okdraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .okmark circle, .okmark path { stroke-dashoffset: 0; } }
.ref, .ordernum { position: relative; border: 1.5px dashed color-mix(in srgb, currentColor 35%, transparent); background: color-mix(in srgb, var(--t-acc) 6%, transparent) !important; padding-inline: 1.3rem 2.6rem !important; }
.ref::after, .ordernum::after { content: ''; position: absolute; inset-inline-end: .8rem; top: 50%; width: 1.1rem; height: 1.1rem; margin-top: -.55rem; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, currentColor 35%, transparent); }
body::after { content: ''; position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 1.1 -.2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"); }
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) {
  .sec > .wrap, .talk .chat { animation: easein linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  @keyframes easein { from { opacity: 0; transform: translateY(34px); } } } }
.tile { transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s cubic-bezier(.2, .8, .2, 1); }
.card:hover .tile { transform: perspective(800px) rotateX(7deg) translateY(-6px); box-shadow: 0 34px 40px -26px rgba(43, 42, 38, .55); }

/* narrow phones (320-400px): keep the top bar on one line, nothing wider than the screen */
@media (max-width: 400px) {
  .bar { gap: .5rem; }
  .brand { font-size: 1.2rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .tools { gap: .25rem; flex: none; }
  .langs button { min-width: 1.9rem; padding: .5rem .25rem; font-size: .7rem; }
  .badge { padding: .5rem .6rem; font-size: .72rem; }
}
