/* Genatsvale demo (from the Tamada template). Brick black, sign red, white; Marcellus, Spectral, Alegreya Sans, Noto Serif Georgian. */
:root {
  --bg: #0a0a0b;
  --bg-2: #151517;
  --bone: #f4f2ef;
  --ink: #1a1a1c;
  --muted: #a6a6ab;
  --line: rgb(244 242 239 / 0.14);
  --wine: #c8161d;
  --wine-hi: #ff3b30;
  --ember: #ff6b5e;
  --display: 'Marcellus', 'Noto Serif Georgian', Georgia, serif;
  --serif: 'Spectral', 'Noto Serif Georgian', Georgia, serif;
  --sans: 'Alegreya Sans', 'Noto Serif Georgian', system-ui, sans-serif;
  --ka: 'Noto Serif Georgian', 'Spectral', serif;
  --gutter: clamp(16px, 5vw, 80px);
  --rail: 0px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}
@media (min-width: 1024px) { :root { --rail: 250px; } }
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--bone); font-family: var(--sans); font-size: 17px; line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
::selection { background: var(--wine); color: var(--bone); }
[lang='ka'] { font-family: var(--ka); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 60; padding: 12px 18px; background: var(--bone); color: var(--ink); text-decoration: none; font-weight: 700; transition: top .3s; }
.skip:focus { top: 16px; }

/* ---------- Fixed frame: brand, book link, toast list, pause ---------- */
.brand { position: fixed; top: 16px; left: 16px; z-index: 40; display: flex; flex-direction: column; gap: 2px; padding: 9px 14px 8px; border: 1px solid var(--line); border-radius: 4px; background: rgb(10 10 11 / .66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); text-decoration: none; line-height: 1; transition: opacity .5s var(--ease); }
.brand-en { font-family: var(--display); font-size: 22px; letter-spacing: .14em; text-transform: uppercase; }
.brand-ka { font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.book-link { position: fixed; top: 16px; right: 16px; z-index: 40; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: var(--wine); color: var(--bone); text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 6px 24px rgb(0 0 0 / .35); transition: background .3s, opacity .5s var(--ease); }
.book-link:hover { background: var(--wine-hi); }

.horn { width: 18px; height: 18px; flex: none; fill: currentColor; }
.horn .band { fill: none; stroke: var(--bg); stroke-width: 1.2; }

/* Toast list (desktop): a printed list of the supra's toasts on the right edge. */
.toasts { position: fixed; right: 16px; top: 50%; z-index: 35; transform: translateY(-50%); transition: opacity .5s var(--ease); }
.toast-pill { display: none; }
.toast-sheet { width: 226px; padding: 14px 10px 10px; border: 1px solid var(--line); border-radius: 4px; background: rgb(10 10 11 / .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.toast-title { margin: 0 8px 8px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.toast-sheet ol { list-style: none; margin: 0; padding: 0; }
.toast-sheet a { position: relative; display: grid; grid-template-columns: 16px 36px 1fr; grid-template-rows: auto auto; align-items: baseline; padding: 6px 8px 6px 4px; border-radius: 3px; text-decoration: none; color: rgb(244 242 239 / .62); transition: color .3s, background .3s; }
.toast-sheet a:hover { color: var(--bone); background: rgb(244 242 239 / .05); }
.t-num { grid-column: 2; grid-row: 1 / 3; align-self: start; font-family: var(--display); font-size: 14px; letter-spacing: .06em; text-align: right; padding-right: 10px; }
.t-en { grid-column: 3; font-family: var(--serif); font-size: 16px; line-height: 1.25; }
.t-ka { grid-column: 3; font-size: 12px; line-height: 1.5; color: var(--muted); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s; }
.toast-sheet a[aria-current='true'] { color: var(--bone); }
.toast-sheet a[aria-current='true'] .t-num { color: var(--ember); }
.toast-sheet a[aria-current='true'] .t-ka, .toast-sheet a:hover .t-ka, .toast-sheet a:focus-visible .t-ka { max-height: 20px; opacity: 1; }
/* The small horn that marks the toast being drunk. */
.toast-sheet a::before { content: ''; grid-column: 1; grid-row: 1 / 3; align-self: start; margin-top: 3px; width: 15px; height: 15px; background: var(--ember); -webkit-mask: var(--horn) center / contain no-repeat; mask: var(--horn) center / contain no-repeat; opacity: 0; transform: rotate(-20deg) translateX(-4px); transition: opacity .4s, transform .6s var(--ease); }
.toast-sheet a[aria-current='true']::before { opacity: 1; transform: none; }
:root { --horn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 4.5C9 4 15 7 18.5 12.5c1.3 2.1 2.2 4.5 2.5 7.5-2.4-2-4.4-3.8-6.2-6C11.6 10.4 7.6 8.6 3 8.6Z'/%3E%3C/svg%3E"); }

.pause { position: fixed; left: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 10px 16px 10px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgb(10 10 11 / .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; font-size: 14px; letter-spacing: .06em; transition: border-color .3s, opacity .5s var(--ease); }
.pause:hover { border-color: rgb(244 242 239 / .4); }
.pause:disabled { cursor: default; opacity: .8; }
[tabindex='-1']:focus { outline: none; }
.pause svg { width: 16px; height: 16px; fill: currentColor; }
.pause .i-play { display: none; }
.pause[aria-pressed='true'] .i-play { display: inline; }
.pause[aria-pressed='true'] .i-pause { display: none; }
.pause[aria-pressed='true'] { border-color: var(--ember); color: var(--ember); }
.at-footer .brand, .at-footer .toasts, .at-footer .book-link { opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }

/* ---------- The film ---------- */
.story { position: relative; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; z-index: 0; pointer-events: none; }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s var(--ease); }
.gl-ready #gl { opacity: 1; }
.stage-fallback { position: absolute; inset: 0; display: none; background: radial-gradient(ellipse at 60% 30%, rgb(200 22 29 / .45), transparent 60%), linear-gradient(rgb(10 10 11 / .55), rgb(10 10 11 / .9)), url('assets/img/long-table-1800.webp') center / cover; }
.no-webgl .stage-fallback { display: block; }

.beat { position: relative; z-index: 1; min-height: 115vh; min-height: 115svh; display: flex; align-items: center; padding: 120px var(--gutter); }
.at-left { justify-content: flex-start; }
.at-right { justify-content: flex-end; padding-right: calc(var(--gutter) + var(--rail)); }
.at-close { align-items: flex-end; justify-content: center; padding-bottom: 16vh; padding-right: calc(var(--gutter) + var(--rail)); }
.note { position: relative; max-width: 460px; }
.note::before { content: ''; position: absolute; inset: -18% -30%; z-index: -1; background: radial-gradient(closest-side, rgb(10 10 11 / .8), transparent); pointer-events: none; }
.note.center { max-width: 760px; text-align: center; }
.kicker { margin: 0 0 20px; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ember); }
.kicker .tn { font-family: var(--display); font-weight: 400; letter-spacing: .08em; margin-right: 6px; }
.kicker [lang='ka'] { letter-spacing: .04em; text-transform: none; font-weight: 500; }
h2, h3 { margin: 0; font-weight: 400; }
h2 { font-family: var(--display); font-size: clamp(38px, 5.4vw, 88px); line-height: 1.02; letter-spacing: -.005em; }
h2 .light { display: block; margin-top: .12em; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: .72em; line-height: 1.1; color: var(--muted); }
.body { margin: 24px 0 0; max-width: 46ch; color: rgb(244 242 239 / .78); font-size: clamp(16px, 1.15vw, 18px); }
.note .ka { margin: 20px 0 0; color: var(--ember); font-size: 19px; letter-spacing: .03em; }

/* Hero: the particle word, a letter key under it, the first toast and the toast count. */
.beat-hero { display: block; min-height: 100vh; min-height: 100svh; padding: 0; }
.hero-top { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; margin: 0; white-space: nowrap; font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.hero-top .rule { width: 44px; height: 1px; background: var(--line); }
.hero-word { position: absolute; left: 0; right: 0; top: 43%; transform: translateY(-50%); margin: 0; text-align: center; font-family: var(--ka); font-weight: 600; font-size: clamp(64px, 12.5vw, 200px); line-height: 1; transition: opacity 1.2s var(--ease); }
.gl-ready .hero-word { opacity: 0; }
.letter-key { position: absolute; left: 50%; top: 63%; transform: translateX(-50%); display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 4px clamp(12px, 1.8vw, 24px); width: min(420px, calc(100% - 32px)); margin: 0; padding: 0; list-style: none; }
.letter-key li { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.letter-key b { font-family: var(--ka); font-weight: 500; font-size: 20px; line-height: 1.2; color: var(--bone); }
.letter-key i { font-family: var(--serif); font-size: 15px; color: var(--ember); }
.letter-key .lk-def { flex-basis: 100%; margin-top: 6px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--muted); }
@media (max-aspect-ratio: 9/10) {
  .hero-word { top: 36%; font-size: 19vw; }
  .letter-key { top: 45%; }
}
/* Keep the key clear of the first toast on shorter landscape screens. */
@media (min-aspect-ratio: 9/10) and (max-height: 959px) { .lede { display: none; } }
@media (min-aspect-ratio: 9/10) and (max-width: 1109px) and (max-height: 740px) { .letter-key { top: 62%; } .letter-key .lk-def { display: none; } }
.hero-foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 92px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.first-toast { max-width: 380px; }
.ft-label { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ember); }
.ft-ka { margin: 0; font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; line-height: 1.3; }
.ft-en { margin: 4px 0 0; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(19px, 1.8vw, 26px); line-height: 1.25; }
.lede { margin: 14px 0 0; max-width: 42ch; font-size: 16px; color: rgb(244 242 239 / .72); }
.toast-count { display: flex; align-items: center; gap: 12px; margin: 0 var(--rail) 0 0; font-family: var(--display); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.toast-count b { font-weight: 400; color: var(--ember); }
.toast-count .horn { color: var(--ember); }
.cue { display: inline-flex; align-items: center; gap: 10px; margin-left: 10px; }
.cue-line { width: 1px; height: 46px; background: linear-gradient(var(--bone), transparent); transform-origin: top; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.final-line { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(30px, 3.8vw, 56px); line-height: 1.15; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 26px; border: 0; border-radius: 999px; background: var(--wine); color: var(--bone); text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .3s, transform .5s var(--ease); }
.cta:hover { background: var(--wine-hi); transform: translateY(-2px); }
.cta.ghost { background: transparent; color: var(--bone); box-shadow: inset 0 0 0 1px rgb(244 242 239 / .35); }
.cta.ghost:hover { box-shadow: inset 0 0 0 1px var(--ember); color: var(--ember); }

/* Split-text reveal */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
[data-split] .c { display: inline-block; transform: translate3d(0, 108%, 0); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 22ms); }
[data-split].in .c { transform: none; }

/* ---------- After the film ---------- */
.spread, .planner, .book, .hours { position: relative; z-index: 1; background: var(--bg); padding: 16vh calc(var(--gutter) + var(--rail)) 10vh var(--gutter); }
.sec-head { max-width: 720px; margin-bottom: 8vh; }

/* II. The table: an overlapping photo spread with place-card captions. */
.spread-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.6vw, 24px); align-items: start; }
.ph { position: relative; margin: 0; overflow: hidden; border-radius: 3px; background: var(--bg-2); clip-path: inset(10% 0 10% 0); transition: clip-path 1.6s var(--ease); }
.ph.in { clip-path: inset(0 0 0 0); }
.ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); translate: 0 var(--py, 0px); transition: transform 2s var(--ease); }
.ph.in img { transform: scale(1.06); }
.ph figcaption { position: absolute; left: 12px; bottom: 12px; z-index: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; max-width: calc(100% - 24px); padding: 8px 12px; border-radius: 2px; background: var(--bone); color: var(--ink); font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1.3; box-shadow: 0 8px 22px rgb(0 0 0 / .35); }
.ph figcaption b { font-family: var(--display); font-style: normal; font-weight: 400; color: var(--wine); letter-spacing: .06em; }
.ph figcaption [lang='ka'] { font-style: normal; font-size: 13px; color: var(--wine); }
.ph-1 { grid-column: 1 / 8; aspect-ratio: 3 / 2; }
.ph-2 { grid-column: 9 / 13; aspect-ratio: 4 / 5; margin-top: 14vh; }
.ph-3 { grid-column: 2 / 6; aspect-ratio: 4 / 5; margin-top: -6vh; }
.ph-4 { grid-column: 7 / 12; aspect-ratio: 3 / 2; margin-top: 8vh; }
.ph-5 { grid-column: 1 / 8; aspect-ratio: 16 / 10; margin-top: 6vh; }
.ph-6 { grid-column: 9 / 12; aspect-ratio: 4 / 5; margin-top: 16vh; }
.ph-7 { grid-column: 3 / 10; aspect-ratio: 16 / 9; margin-top: 8vh; }
.ph-8 { grid-column: 1 / 13; aspect-ratio: 21 / 9; margin-top: 10vh; }

/* III. The supra planner. */
.planner { background: linear-gradient(var(--bg), var(--bg-2) 30%, var(--bg)); }
.planner-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.plan-form { display: grid; gap: 34px; }
.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field > label, .field > legend { display: block; margin-bottom: 12px; padding: 0; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.stepper { display: flex; align-items: center; gap: 18px; }
.step { width: 48px; height: 48px; flex: none; border: 1px solid rgb(244 242 239 / .3); border-radius: 50%; background: transparent; font-size: 22px; line-height: 1; cursor: pointer; transition: border-color .3s, color .3s; }
.step:hover { border-color: var(--ember); color: var(--ember); }
.big-num { min-width: 2.2ch; font-family: var(--display); font-size: clamp(56px, 6vw, 84px); line-height: 1; text-align: center; }
.field input[type='range'] { width: 100%; margin-top: 16px; accent-color: var(--ember); height: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border: 1px solid rgb(244 242 239 / .28); border-radius: 999px; font-size: 16px; transition: background .3s, border-color .3s, color .3s; }
.chip input:checked + span { background: var(--wine); border-color: var(--wine); color: var(--bone); }
.chip input:focus-visible + span { outline: 2px solid var(--ember); outline-offset: 3px; }
.chip:hover span { border-color: var(--ember); }
.plan-sheet { position: relative; padding: clamp(22px, 3vw, 40px); border: 1px solid var(--line); border-radius: 4px; background: rgb(20 12 14 / .9); }
.sheet-head { margin: 0 0 18px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--muted); }
.tally { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; margin: 0; }
.tally div { min-width: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.tally dt { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tally dd { margin: 4px 0 0; color: rgb(244 242 239 / .7); font-size: 15px; }
.tally dd b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(34px, 3.2vw, 50px); line-height: 1.05; color: var(--bone); }
.table-map { margin: 28px 0 0; }
.table-map svg { display: block; width: 100%; height: auto; }
.map-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.map-key i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--bone); opacity: .85; }
.map-key .k-t { margin-left: 10px; background: var(--ember); opacity: 1; }
.tamada-line { margin: 22px 0 22px; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.3; }
.tamada-line::before { content: '“'; color: var(--ember); }
.tamada-line::after { content: '”'; color: var(--ember); }

/* IV. The board: printed on bone paper with dotted leaders. */
.menu { position: relative; z-index: 1; background: var(--bone); color: var(--ink); padding: 14vh calc(var(--gutter) + var(--rail)) 12vh var(--gutter); }
.menu .kicker { color: var(--wine); }
.menu-head { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 0 32px; margin-bottom: 7vh; padding-bottom: 22px; border-bottom: 3px double rgb(28 17 19 / .5); }
.menu-head .kicker { grid-column: 1 / -1; }
.menu-head h2 { font-size: clamp(56px, 8vw, 128px); line-height: .9; }
.menu-sub { margin: 0 0 8px; justify-self: end; max-width: 30ch; font-family: var(--serif); font-style: italic; font-size: 19px; color: rgb(28 17 19 / .72); text-align: right; }
.menu-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7vh clamp(28px, 4vw, 72px); }
.menu-col h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-family: var(--display); font-size: clamp(26px, 2.2vw, 34px); }
.menu-col h3 [lang='ka'] { font-size: 16px; color: var(--wine); }
.menu-note { margin: 4px 0 18px; font-family: var(--serif); font-style: italic; font-size: 16px; color: rgb(28 17 19 / .66); }
.menu-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.m-line { display: flex; align-items: baseline; margin: 0; }
.m-ka { font-size: 18px; font-weight: 500; }
.m-dots { flex: 1; min-width: 18px; margin: 0 10px; border-bottom: 2px dotted rgb(28 17 19 / .38); transform: translateY(-5px); }
.m-price { font-family: var(--display); font-size: 18px; white-space: nowrap; color: var(--wine); }
.m-en { margin: 2px 0 0; font-family: var(--serif); font-size: 16px; line-height: 1.4; color: rgb(28 17 19 / .74); }
.menu :focus-visible { outline-color: var(--wine); }

/* V. Booking: a folded place card. */
.book { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.book-fine { margin: 22px 0 0; max-width: 44ch; font-size: 15px; color: var(--muted); }
.book-card { position: relative; }
.book-form, .place-card { position: relative; padding: clamp(26px, 3.4vw, 44px); border-radius: 3px; background: #f3ebde; color: var(--ink); box-shadow: 0 30px 60px rgb(0 0 0 / .45); }
.book-form::before, .place-card::before { content: ''; position: absolute; left: 0; right: 0; top: 18px; border-top: 1px dashed rgb(28 17 19 / .25); }
.book-form { display: grid; gap: 22px; transform: rotate(-.6deg); }
.book-form[hidden], .place-card[hidden] { display: none; }
.bf-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.bf-row { display: grid; gap: 4px; min-width: 0; }
.bf-row label { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgb(28 17 19 / .7); }
.bf-row .opt { font-weight: 400; letter-spacing: .04em; text-transform: none; }
.bf-row input, .bf-row select, .bf-row textarea { width: 100%; min-height: 46px; padding: 8px 2px; border: 0; border-bottom: 1.5px solid rgb(28 17 19 / .45); border-radius: 0; background: transparent; color: var(--ink); font-family: var(--serif); font-size: 19px; color-scheme: light; }
.bf-row textarea { resize: vertical; min-height: 64px; }
.bf-row input:focus, .bf-row select:focus, .bf-row textarea:focus { border-bottom-color: var(--wine); }
.bf-row :focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }
.bf-row [aria-invalid='true'] { border-bottom-color: var(--wine); background: rgb(200 22 29 / .06); }
.err { min-height: 0; margin: 0; font-size: 14px; color: var(--wine); }
.err:empty { display: none; }
.book-form .cta { justify-self: start; }
.book-form .cta:focus-visible, .place-card .cta:focus-visible { outline-color: var(--wine); }
.form-status { margin: 0; font-size: 15px; color: var(--wine); }
.form-status:empty { display: none; }
.place-card { text-align: center; transform: rotate(.5deg); }
.place-card:focus { outline: none; }
.pc-top { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--wine); }
.pc-name { margin: 14px 0 0; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(36px, 4vw, 56px); line-height: 1.1; overflow-wrap: anywhere; }
.pc-when { margin: 10px 0 0; font-family: var(--display); font-size: 19px; letter-spacing: .04em; }
.pc-line { margin: 16px auto 0; max-width: 34ch; font-family: var(--serif); font-size: 18px; color: rgb(28 17 19 / .8); }
.pc-fine { margin: 18px 0 20px; font-size: 14px; color: rgb(28 17 19 / .62); }
.place-card .cta.ghost { color: var(--ink); box-shadow: inset 0 0 0 1px rgb(28 17 19 / .4); }
.place-card .cta.ghost:hover { color: var(--wine); box-shadow: inset 0 0 0 1px var(--wine); }

/* VI. Hours by the visitor's clock. */
.hours { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; border-top: 1px solid var(--line); }
.now-state { display: flex; align-items: center; gap: 16px; margin: 0; font-family: var(--display); font-size: clamp(44px, 5.6vw, 84px); line-height: 1; }
.now-dot { width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--muted); }
.is-open .now-dot { background: var(--ember); animation: glow 2.2s infinite; }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgb(255 107 94 / .6); } 70% { box-shadow: 0 0 0 12px rgb(255 107 94 / 0); } 100% { box-shadow: 0 0 0 0 rgb(255 107 94 / 0); } }
.now-next { margin: 14px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 26px); color: var(--muted); }
.where { display: flex; flex-direction: column; margin: 34px 0 0; font-style: normal; font-family: var(--display); font-size: 20px; letter-spacing: .04em; line-height: 1.5; }
.week { width: 100%; border-collapse: collapse; font-size: 18px; }
.week th, .week td { padding: 14px 4px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.week th { font-family: var(--serif); }
.week td { text-align: right; font-family: var(--display); letter-spacing: .04em; color: rgb(244 242 239 / .8); }
.week tr.today th, .week tr.today td { color: var(--ember); }
.week tr.today th { box-shadow: inset 3px 0 0 var(--ember); padding-left: 14px; }
.today-tag { margin-left: 10px; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

/* VII. To the road: the closing band on Gergeti. */
.road { position: relative; z-index: 1; display: grid; place-items: center; min-height: 92vh; min-height: 92svh; overflow: hidden; background: var(--bg); padding: 14vh calc(var(--gutter) + var(--rail)) 14vh var(--gutter); text-align: center; }
.road-bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; opacity: .6; translate: 0 var(--py, 0px); }
.road::after { content: ''; position: absolute; inset: 0; background: linear-gradient(var(--bg), transparent 28%, transparent 62%, var(--bg)), radial-gradient(closest-side, rgb(10 10 11 / .6), transparent); }
.road-copy { position: relative; z-index: 1; max-width: 900px; }
.road-ka { font-family: var(--ka); font-weight: 500; font-size: clamp(36px, 7vw, 108px); line-height: 1.15; overflow-wrap: anywhere; }
.road-en { margin: 16px auto 0; max-width: 34ch; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(21px, 2vw, 28px); line-height: 1.3; }

/* ---------- Colophon: the particle flag behind the wordmark ---------- */
.cf { position: relative; z-index: 1; overflow: hidden; min-height: 100vh; min-height: 100svh; background: #070405; color: var(--bone); isolation: isolate; }
.cf::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40rem 26rem at 22% 0%, rgb(200 22 29 / .2), transparent 70%), radial-gradient(30rem 22rem at 90% 40%, rgb(255 107 94 / .08), transparent 70%); }
.cf-content { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 100vh; min-height: 100svh; padding: 96px var(--gutter) 24px; }
.cf-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-right: var(--rail); }
.cf-brand-link { display: inline-flex; flex-direction: column; text-decoration: none; }
.cf-brand-link > span { font-family: var(--display); font-size: 30px; letter-spacing: .16em; text-transform: uppercase; line-height: 1; }
.cf-brand-link > small { margin-top: 8px; font-size: 13px; color: var(--muted); }
.cf-brand > p { max-width: 30ch; margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.cf-nav { display: flex; flex-direction: column; align-items: flex-start; }
.cf-nav > h2 { margin: 0 0 10px; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cf-nav > a { display: inline-flex; align-items: center; min-height: 34px; font-size: 16px; text-decoration: none; color: rgb(244 242 239 / .75); transition: color .2s; }
.cf-nav > a:hover { color: var(--ember); }
.cf-hours { justify-self: end; margin: 0; max-width: 20ch; font-family: var(--serif); font-style: italic; font-size: 18px; text-align: right; color: var(--muted); }
.cf-stage { position: relative; display: grid; place-items: center; min-height: clamp(220px, 34vw, 520px); }
.cf-flag { position: absolute; inset: -6% 0; width: 100%; height: 112%; pointer-events: none; opacity: 0; transition: opacity 1.4s var(--ease); }
.cf.in .cf-flag { opacity: 1; }
.cf-wordmark { position: relative; margin: 0; font-family: var(--display); font-size: 11.5vw; line-height: .95; letter-spacing: .02em; white-space: nowrap; text-align: center; opacity: 0; transform: translateY(14%); transition: transform 1.6s var(--ease), opacity 1.6s var(--ease); }
.cf.in .cf-wordmark { opacity: 1; transform: none; }
.cf-wordmark > span { display: block; background: linear-gradient(to bottom, rgb(244 242 239 / .95), rgb(244 242 239 / .6) 55%, rgb(244 242 239 / .2)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.cf-ribbon { overflow: hidden; transform: rotate(-2deg); border-block: 1px solid var(--line); padding-block: 12px; }
.cf-track { display: flex; width: max-content; animation: ribbon 46s linear infinite; }
.cf-ribbon:hover .cf-track { animation-play-state: paused; }
.cf-group { display: flex; align-items: center; }
.cf-group span { display: inline-flex; align-items: center; gap: 22px; padding-left: 22px; white-space: nowrap; font-size: 15px; letter-spacing: .08em; color: rgb(244 242 239 / .55); }
.cf-group span::before { content: ''; width: 9px; height: 9px; background: var(--wine-hi); -webkit-mask: var(--horn) center / contain no-repeat; mask: var(--horn) center / contain no-repeat; }
@keyframes ribbon { to { transform: translateX(-50%); } }
.cf-company { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 22px; font-size: 13px; line-height: 1.6; color: rgb(244 242 239 / .58); }
.cf-company > a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: inherit; }
.cf-company > a:hover { color: var(--bone); }

/* ---------- Tablets and phones: the toast list becomes a bottom pill ---------- */
@media (max-width: 1023px) {
  .toasts { top: auto; left: 0; right: 0; bottom: max(16px, env(safe-area-inset-bottom)); transform: none; display: flex; justify-content: center; pointer-events: none; }
  .toast-pill, .toast-sheet { pointer-events: auto; }
  .toast-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; max-width: calc(100vw - 150px); padding: 10px 18px 10px 14px; border: 1px solid rgb(244 242 239 / .22); border-radius: 999px; background: rgb(10 10 11 / .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); cursor: pointer; white-space: nowrap; }
  .toast-pill .horn { color: var(--ember); }
  .pill-num { font-family: var(--display); color: var(--ember); letter-spacing: .06em; }
  .pill-label { overflow: hidden; text-overflow: ellipsis; font-family: var(--serif); font-size: 17px; }
  .pill-more { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .toast-sheet { position: fixed; left: 12px; right: 12px; bottom: calc(max(16px, env(safe-area-inset-bottom)) + 60px); width: auto; padding: 16px 10px 10px; background: rgb(10 10 11 / .94); visibility: hidden; opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .4s var(--ease), visibility 0s .4s; }
  .toasts:not(.open) .toast-sheet { pointer-events: none; }
  .toasts.open .toast-sheet { visibility: visible; opacity: 1; transform: none; transition: opacity .3s, transform .4s var(--ease); }
  .at-footer .toasts .toast-pill, .at-footer .toasts .toast-sheet { pointer-events: none; visibility: hidden; }
  .toast-sheet a { min-height: 48px; align-content: center; }
  .toast-sheet .t-ka { max-height: 20px; opacity: 1; }
  .at-right { padding-right: var(--gutter); }
  .toast-count { display: none; }
  .hero-top { top: 84px; left: var(--gutter); right: var(--gutter); transform: none; flex-wrap: wrap; gap: 2px 10px; white-space: normal; font-size: 12px; letter-spacing: .18em; }
  .hero-top .rule { width: 20px; }
  .planner-grid, .book, .hours { grid-template-columns: 1fr; }
  .menu-head { grid-template-columns: 1fr; }
  .menu-sub { justify-self: start; text-align: left; margin-top: 12px; }
  .cf-top { grid-template-columns: 1fr 1fr; gap: 26px; }
  .cf-brand { grid-column: 1 / -1; }
  .cf-hours { grid-column: 1 / -1; justify-self: start; text-align: left; }
}
@media (max-width: 1023px) and (min-width: 768px) { .pause .pause-label { display: none; } .pause { padding: 10px 13px; } }

@media (max-width: 767px) {
  body { font-size: 16px; }
  .brand { top: 12px; left: 12px; padding: 8px 12px 7px; }
  .brand-en { font-size: 18px; }
  .book-link { top: 12px; right: 12px; padding: 8px 14px; font-size: 13px; letter-spacing: .06em; }
  .pause { left: 12px; padding: 10px 13px; }
  .pause .pause-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .toast-pill { max-width: calc(100vw - 136px); padding: 10px 16px 10px 12px; }
  .pill-more { display: none; }
  .beat { align-items: flex-end; min-height: 120vh; min-height: 120svh; padding: 0 var(--gutter) 15vh; }
  .at-left, .at-right { justify-content: flex-start; }
  .at-close { justify-content: center; }
  .note::before { inset: -22% -10%; background: radial-gradient(ellipse 80% 70%, rgb(10 10 11 / .86), transparent); }
  .hero-top { top: 72px; }
  .letter-key { gap: 4px 12px; }
  .letter-key b { font-size: 17px; }
  .letter-key i { font-size: 14px; }
  .letter-key .lk-def { font-size: 15px; }
  .hero-foot { bottom: 84px; }
  .first-toast { max-width: none; }
  .spread, .planner, .book, .hours { padding: 12vh var(--gutter) 8vh; }
  .menu { padding: 11vh var(--gutter) 9vh; }
  .spread-grid { grid-template-columns: repeat(6, 1fr); }
  .ph-1, .ph-4, .ph-5, .ph-7, .ph-8 { grid-column: 1 / 7; margin-top: 0; }
  .ph-2 { grid-column: 2 / 7; margin-top: 2vh; }
  .ph-3 { grid-column: 1 / 6; margin-top: 2vh; }
  .ph-6 { grid-column: 2 / 7; margin-top: 2vh; }
  .ph-8 { aspect-ratio: 4 / 3; }
  .ph figcaption { left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 6px 10px; font-size: 14px; }
  .tally { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-cols { grid-template-columns: 1fr; gap: 6vh; }
  .m-ka { font-size: 17px; }
  .bf-split { grid-template-columns: 1fr; }
  .book-form, .place-card { transform: none; }
  .week { font-size: 16px; }
  .cf-content { padding: 84px var(--gutter) 88px; }
  .cf-top { grid-template-columns: 1fr 1fr; }
  .cf-stage { min-height: 60vw; }
  .cf-wordmark { font-size: 11.5vw; }
  .cf-company { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) and (max-height: 700px) { .lede { display: none; } }

/* ---------- Reduced motion and the Pause button: a still, finished page ---------- */
.reduced [data-split] .c, .paused [data-split] .c { transform: none; transition: none; }
.reduced .ph, .paused .ph { clip-path: none; transition: none; }
.reduced .ph img, .paused .ph img { transition: none; }
.reduced .ph img { transform: none; translate: none; }
.paused *, .paused *::before, .paused *::after { animation-play-state: paused !important; }
.paused .cf-wordmark, .paused .cf-flag, .paused #gl, .paused .hero-word { transition: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-split] .c { transform: none; }
  .ph { clip-path: none; }
  .ph img, .road-bg { transform: none; translate: none; }
  .cue-line { transform: scaleY(1); }
  .cf-track { width: 100%; }
  .cf-ribbon { transform: none; }
  .cf-group { flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; }
  .cf-group + .cf-group { display: none; }
  .cf-group span { padding-left: 0; }
  .cf-wordmark, .cf-flag { opacity: 1; transform: none; }
}

/* Live chat (demo). */
.chat { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-family: var(--sans); }
.chat-open { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 0; border-radius: 999px; background: var(--wine); color: #fff; font: 600 15px/1 var(--sans); cursor: pointer; box-shadow: 0 10px 30px rgb(0 0 0 / .45); }
.chat-open:hover { background: var(--wine-hi); }
.chat-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 3px rgb(61 220 132 / .25); }
.chat-panel { order: -1; width: min(360px, calc(100vw - 32px)); max-height: min(520px, 70vh); display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgb(0 0 0 / .55); }
.chat-head { display: flex; align-items: baseline; gap: 10px; padding: 14px 16px; background: var(--wine); color: #fff; }
.chat-head b { font-size: 16px; }
.chat-head span { font-size: 12px; opacity: .85; }
.chat-head button { margin-left: auto; border: 0; background: none; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 140px; }
.msg { margin: 0; max-width: 85%; padding: 9px 12px; border-radius: 12px; font-size: 14px; line-height: 1.45; }
.msg.them { align-self: flex-start; background: rgb(244 242 239 / .08); color: var(--bone); border-bottom-left-radius: 4px; }
.msg.me { align-self: flex-end; background: var(--wine); color: #fff; border-bottom-right-radius: 4px; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.chat-quick button { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--bone); font: 500 13px/1.2 var(--sans); cursor: pointer; }
.chat-quick button:hover { border-color: var(--wine-hi); }
.chat-form { display: flex; gap: 8px; padding: 10px 14px 14px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--bone); font: 15px var(--sans); }
.chat-form button { padding: 0 14px; border: 0; border-radius: 10px; background: var(--wine); color: #fff; font: 600 14px var(--sans); cursor: pointer; }
.hero-word { font-size: clamp(56px, 9vw, 150px); }
@media (max-aspect-ratio: 9/10) { .hero-word { font-size: 13vw; } }
.letter-key { width: min(520px, calc(100% - 32px)); }
.chat-panel[hidden] { display: none; }

/* Clean scroll: no section rail. */
.toasts { display: none !important; }
/* English / Georgian switch, beside the order button. */
.lang-switch { position: fixed; top: 16px; right: 178px; z-index: 40; min-height: 44px; min-width: 56px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgb(10 10 11 / .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--bone); font: 700 14px/1 var(--sans); letter-spacing: .06em; cursor: pointer; }
.lang-switch:hover { border-color: var(--wine-hi); }
html[lang="ka"] .lang-switch { right: 250px; }
html[lang="ka"] .book-link { letter-spacing: .02em; }
@media (max-width: 560px) {
  .brand { padding: 5px 10px 5px 5px; gap: 8px; }
  .brand-badge { width: 38px; height: 38px; }
  .brand .brand-txt { display: none; }
  .brand { padding: 4px; border-radius: 50%; }
  .brand-badge { width: 42px; height: 42px; }
  .brand-en, html[lang="ka"] .brand-en { font-size: 15px; letter-spacing: .1em; }
  .book-link { min-height: 40px; padding: 8px 13px; font-size: 12px; letter-spacing: .05em; }
  .lang-switch, html[lang="ka"] .lang-switch { top: 16px; right: auto; left: 72px; min-width: 52px; min-height: 40px; padding: 8px 10px; font-size: 13px; }
  html[lang="ka"] .lang-switch { --bl: 150px; }
  .hero-top { top: 74px; flex-direction: column; gap: 2px; width: calc(100% - 32px); white-space: normal; text-align: center; font-size: 11px; letter-spacing: .14em; }
  .hero-top .rule { display: none; }
}

/* The round sign, recreated as the header mark. */
.brand { flex-direction: row; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; }
.brand-badge { width: 46px; height: 46px; flex: none; }
.brand-txt { display: flex; flex-direction: column; gap: 3px; }
/* Delivery apps. */
.apps { margin: 22px 0 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; }
.apps-title { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ember); }
.apps-row { display: flex; flex-wrap: wrap; gap: 8px; }
.apps-row a, .apps-row span { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--bone); text-decoration: none; font-size: 14px; }
.apps-row a:hover { border-color: var(--wine-hi); }
.apps-row span { opacity: .55; }
.apps-note { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
/* Georgian words run long: smaller headings so no word breaks across lines. */
html[lang="ka"] main h2 { font-size: clamp(30px, 3.6vw, 58px); line-height: 1.14; font-weight: 500; overflow-wrap: normal; word-break: keep-all; }
html[lang="ka"] main h2 .light { font-weight: 400; }
html[lang="ka"] #menuH { font-size: clamp(40px, 5vw, 76px); }
/* Georgian has no capitals: the wide tracking meant for English caps makes it look spaced out. */
html[lang="ka"] .kicker, html[lang="ka"] .cf-nav h2, html[lang="ka"] .ft-label, html[lang="ka"] .apps-title, html[lang="ka"] .brand-en, html[lang="ka"] .book-link, html[lang="ka"] .hero-top, html[lang="ka"] .toast-count, html[lang="ka"] dt, html[lang="ka"] legend, html[lang="ka"] .field label, html[lang="ka"] .pause-label { letter-spacing: .02em; text-transform: none; }
html[lang="ka"] .brand-en { font-family: var(--ka); font-weight: 600; font-size: 19px; }
html[lang="ka"] .cf-nav h2 { font-family: var(--ka); font-size: 13px; font-weight: 600; color: var(--ember); }
html[lang="ka"] .cf-brand-link > span { font-family: var(--ka); font-weight: 600; letter-spacing: .02em; }
html[lang="ka"] .cf-wordmark { font-family: var(--ka); font-weight: 600; font-size: 10vw; line-height: 1.3; letter-spacing: 0; padding-bottom: .08em; }
html[lang="ka"] .final-line { font-size: clamp(26px, 3.2vw, 48px); }
html[lang="ka"] .hero-top { letter-spacing: .08em; }
