/* Self-hosted fonts (OFL, latin subset) */
@font-face { font-family: "Playfair Display"; src: url("../../assets/fonts/playfair-display-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../../assets/fonts/playfair-display-italic-400.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../../assets/fonts/inter-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
/* Taverna Olea: SAMPLE site by Godelic. Fictional business.
   Palette: Cream #FBF4E8 · Dark brown #2A1A14 · Terracotta #8A2F1D · Aegean blue #1F5A7A · Olive #4F5D2F · Dusk #1A2238 · Lamp #F6C76B
   Fonts: Playfair Display (headings, italic) + Inter (body)
   Concept: "The week at Olea". A dusk terrace hero, a sticky day programme, one chapter per night.
   Motion is slow and calm; every animation has a prefers-reduced-motion fallback. */
:root { --cream: #FBF4E8; --brown: #2A1A14; --terra: #8A2F1D; --blue: #1F5A7A; --olive: #4F5D2F; --sand: #EFE2CC; --paper: #FFFBF3;
  --night: #1A2238; --lamp: #F6C76B; --ink: #F4EDE0; --hdr: 52px;
  --rv-dur: 900ms; --rv-ease: cubic-bezier(.2,.7,.2,1); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; }
html.sheet-open { overflow: hidden; }
body { margin: 0; background: var(--cream); color: var(--brown); font: 17px/1.6 "Inter", system-ui, sans-serif; overflow-x: hidden; }
h1, h2, h3, h4, .brand { font-family: "Playfair Display", Georgia, serif; font-weight: 700; line-height: 1.1; margin: 0 0 .4em; }
h1 { font-size: clamp(46px, 13vw, 104px); }
h2 { font-size: clamp(27px, 5.6vw, 40px); }
h3 { font-size: 22px; color: var(--blue); }
h4 { font-size: 18px; margin: 16px 0 6px; }
p { margin: 0 0 1em; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
svg { display: block; max-width: 100%; }
img { max-width: 100%; height: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.tiny { font-size: 14px; color: var(--olive); margin-top: 12px; }

/* Masthead: a centred printed-menu title, then a sticky nav bar with a tile edge */
.mast { text-align: center; padding: 12px 20px 10px; background: var(--cream); }
.mast .brand { display: inline-block; font-size: clamp(30px, 9vw, 48px); line-height: 1; margin: 0; color: var(--terra); text-decoration: none; }
.mast .est { margin: 4px 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--olive); }
.demo-pill { display: inline-block; margin: 0; background: var(--brown); color: var(--cream); font: 700 12px/1.25 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.navbar { position: sticky; top: 40px; z-index: 60; background: var(--paper); border-top: 3px double var(--terra); border-bottom: 1px solid var(--sand); box-shadow: 0 6px 16px rgba(42,26,20,.08); }
.navbar-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px; border-radius: 10px; border: 2px solid var(--blue); background: #fff; color: var(--blue); font-weight: 700; font-size: 15px; line-height: 1; font-family: inherit; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .x { display: none; }
.menu-btn[aria-expanded="true"] .bars { display: none; }
.menu-btn[aria-expanded="true"] .x { display: block; }
.js .menu-btn { display: inline-flex; }
.nb-book { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 20px; border-radius: 999px; background: var(--terra); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; }
.nb-book:hover { background: #6E2416; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { display: flex; align-items: center; min-height: 48px; padding: 6px 4px; color: var(--brown); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--terra); }
.nav a[aria-current="page"] { color: var(--terra); font-weight: 700; text-decoration: underline; text-decoration-style: dotted; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.nav { display: block; flex-basis: 100%; order: 3; }
.js .nav { display: none; position: absolute; left: -20px; right: -20px; top: 100%; background: var(--paper); border-bottom: 3px double var(--terra); box-shadow: 0 16px 30px rgba(42,26,20,.18); padding: 6px 24px 12px; }
.js .nav.open { display: block; }
.nav li + li { border-top: 1px dotted rgba(42,26,20,.35); }
.nav .nav-cta { display: none; }
@media (max-width: 899px) { .navbar-in { flex-wrap: wrap; } .js .navbar-in { flex-wrap: nowrap; } }
@media (min-width: 900px) {
  .menu-btn, .js .menu-btn { display: none; }
  .nb-book { display: none; }
  .navbar-in, .js .navbar-in { justify-content: center; }
  .js .nav, .nav { display: block; position: static; flex-basis: auto; order: 0; background: none; border: 0; box-shadow: none; padding: 0; }
  .nav ul { display: flex; align-items: center; gap: 4px; }
  .nav li + li { border: 0; }
  .nav li + li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 6px 2px 2px; border-radius: 50%; background: var(--olive); opacity: .55; vertical-align: middle; }
  .nav li { display: flex; align-items: center; }
  .nav a { padding: 6px 12px; font-size: 17px; }
  .nav .nav-cta { display: flex; margin-left: 10px; }
  .nav .nav-cta::before { display: none; }
  .nav .nav-cta a { background: var(--terra); color: #fff; border-radius: 999px; padding: 6px 22px; min-height: 44px; }
  .nav .nav-cta a:hover { background: #6E2416; }
  .nav .nav-cta a[aria-current="page"] { text-decoration: none; box-shadow: 0 0 0 3px var(--lamp); }
}
.toast-host { position: fixed; left: 16px; right: 16px; bottom: 90px; z-index: 1100; pointer-events: none; display: flex; justify-content: center; }
.toast-host .sim-toast { position: static; max-width: 420px; padding: 12px 16px; background: var(--brown); color: #fff; }
@media (min-width: 768px) { .toast-host { bottom: 28px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 22px; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none; border: 2px solid var(--terra); cursor: pointer; transition: background .2s ease, color .2s ease, transform .15s ease; }
.btn:active { transform: translateY(2px); }
.btn[hidden] { display: none; }
.btn-main { background: var(--terra); color: #fff; }
.btn-main:hover { background: #6E2416; color: #fff; }
.btn-qr { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-qr:hover { background: #174761; }
.btn-qr svg { width: 20px; height: 20px; }
.btn-lamp { background: var(--lamp); border-color: var(--lamp); color: var(--night); }
.btn-lamp:hover { background: #FFD98C; border-color: #FFD98C; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: rgba(244,237,224,.16); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* 1 · Terrace hero: dusk scene, string lights that switch on, one big table */
.terrace { position: relative; background: linear-gradient(180deg, #0B1020 0%, var(--night) 50%, #2A2A4C 100%); color: var(--ink); overflow: hidden; text-align: center; }
.terrace::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 70% 55% at 50% 0, rgba(246,199,107,.3), transparent 70%); transition: opacity .6s ease; }
.terrace::after { content: ""; position: absolute; inset: 0; z-index: 0; background: #05070F; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.terrace.dim::before { opacity: 0; }
.terrace.dim::after { opacity: .5; }
.sc-top { position: relative; z-index: 1; display: block; width: 100%; height: auto; overflow: visible; }
.sc-top .bm { fill: #3B2A22; }
.sc-top .vn { fill: none; stroke: #2E4426; stroke-width: 5; stroke-linecap: round; }
.sc-top .lv { fill: #34502A; }
.sc-top .wire { fill: none; stroke: #7C809B; stroke-width: 2; }
.gl { fill: var(--bf, #F6C76B); }
.bulb .glass { --bf: #59607F; }
.bulb.lit .glass { --bf: #F6C76B; }
.bulb .halo { opacity: 0; transition: opacity .35s ease; }
.bulb.lit .halo { opacity: 1; animation: twinkle 4.6s ease-in-out infinite alternate; }
.bulb:nth-child(3n) .halo { animation-duration: 5.8s; }
.bulb:nth-child(4n+1) .halo { animation-delay: -1.4s; }
.bulb.flick .halo { animation: flick .9s steps(1) 2, twinkle 4.6s ease-in-out .9s infinite alternate; }
@keyframes twinkle { from { opacity: 1; } to { opacity: .7; } }
@keyframes flick { 0% { opacity: 1; } 20% { opacity: .15; } 40% { opacity: .95; } 55% { opacity: .3; } 75% { opacity: 1; } }
.terrace-in { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; padding: 14px 20px 34px; }
.kicker { text-transform: uppercase; letter-spacing: .16em; font-size: 13px; font-weight: 600; color: var(--lamp); margin-bottom: 6px; }
.terrace h1 { color: var(--ink); margin: 0 0 .15em; text-shadow: 0 0 36px rgba(246,199,107,.4); transition: text-shadow .6s ease; }
.terrace.dim h1 { text-shadow: none; }
.sub { font-size: 18px; max-width: 30em; margin: 0 auto 18px; }
.terrace .btns { justify-content: center; }
.terrace .tiny { color: #C9C8D6; margin: 10px 0 14px; }
.tl { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 20px; border-radius: 999px; border: 2px solid var(--lamp); background: transparent; color: var(--lamp); font: inherit; font-weight: 700; cursor: pointer; transition: background .2s ease; }
.tl[hidden] { display: none; }
.tl[aria-pressed="true"] { background: rgba(246,199,107,.16); }
.tl:hover { background: rgba(246,199,107,.28); }
.terrace :focus-visible { outline-color: var(--lamp); }
@media (min-width: 800px) { .terrace-in { padding-top: 24px; padding-bottom: 44px; } .sub { font-size: 21px; } }

/* Page sections */
.chapter { position: relative; padding: 44px 0 52px; overflow-x: clip; }
.ch-in { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.ch-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ch-head h2 { margin: 0; }
.day-tile { flex: none; min-width: 64px; height: 64px; padding: 0 10px; display: grid; place-items: center; background: var(--blue); color: #fff; border-radius: 10px; font: 700 20px/1 "Playfair Display", Georgia, serif; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 5px var(--blue); }
.ch-when { margin: 0 0 2px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--terra); }
.ch-intro { font-size: 18px; max-width: 34em; margin-bottom: 22px; }
.small-note { font-size: 14px; color: #5A463C; margin: 12px 0 0; }
.live { min-height: 1.5em; margin: 10px 0 0; font-weight: 600; }

/* Tablecloth (gingham) chapters */
.cloth { background-color: var(--cream); background-image: linear-gradient(rgba(31,90,122,.13) 50%, transparent 50%), linear-gradient(90deg, rgba(31,90,122,.13) 50%, transparent 50%); background-size: 44px 44px; }
.cloth .ch-head { background: var(--paper); border: 2px solid var(--blue); border-radius: 12px; padding: 10px 14px; }
.cloth .ch-intro { background: var(--paper); border-radius: 10px; padding: 12px 14px; }

/* Tile band divider (the only tiled demo) */
.tile-div { height: 14px; background: radial-gradient(circle at 7px 7px, var(--blue) 0 3px, transparent 3.5px) 0 0 / 14px 14px, linear-gradient(45deg, transparent 45%, rgba(31,90,122,.35) 45% 55%, transparent 55%) 0 0 / 14px 14px, var(--sand); animation: tiles 18s linear infinite; }
@keyframes tiles { to { background-position: 140px 0, 140px 0, 0 0; } }

/* 2 · Menu card */
.tabs { display: flex; gap: 0; overflow-x: auto; margin: 0 0 18px; padding: 4px; background: var(--sand); border-radius: 999px; width: max-content; max-width: 100%; box-shadow: 0 4px 14px rgba(42,26,20,.08); scrollbar-width: none; }
.tabs a { flex: none; min-height: 44px; display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; color: var(--brown); text-decoration: none; font-weight: 600; font-size: 15px; transition: background .2s ease, color .2s ease; }
.tabs a:hover { background: var(--paper); color: var(--terra); }
.menu-paper { position: relative; background: var(--paper); border: 3px double var(--terra); outline: 1px solid var(--terra); outline-offset: 5px; border-radius: 6px; margin: 6px; padding: 26px 18px; display: grid; gap: 28px; box-shadow: 0 0 0 7px var(--paper), 0 18px 40px rgba(42,26,20,.12); }
.menu-paper h3 { text-align: center; padding-bottom: 18px; margin-bottom: 6px; color: var(--blue);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M2 6c10-6 18 6 28 0s18-6 28 0 18 6 28 0 18-6 30 0' fill='none' stroke='%238A2F1D' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='60' cy='6' r='2.4' fill='%238A2F1D'/%3E%3C/svg%3E") center bottom / 120px 12px no-repeat; }
.dishes { list-style: none; padding: 0; margin: 0; }
.dishes li { padding: 10px 0; }
.dishes .row { display: flex; gap: 6px; align-items: baseline; }
.dishes .row::after { content: ""; order: 1; flex: 1 1 24px; min-width: 24px; border-bottom: 2px dotted rgba(42,26,20,.45); transform: translateY(-4px); }
.dish { font-weight: 600; order: 0; }
.price { font-weight: 600; color: var(--terra); white-space: nowrap; order: 2; }
.dishes p { margin: 2px 0 0; font-size: 15px; color: #5A463C; }
.tag { text-decoration: none; display: inline-block; font-size: 12px; font-weight: 700; color: var(--olive); border: 1px solid var(--olive); border-radius: 4px; padding: 0 5px; margin-left: 4px; vertical-align: 2px; }
.key { font-size: 14px; color: var(--olive); margin: 0; grid-column: 1 / -1; text-align: center; }
.card-foot { grid-column: 1 / -1; border-top: 2px dotted rgba(42,26,20,.45); padding-top: 18px; }
.card-foot h3 { background: none; padding: 0; margin: 0 0 8px; font-size: 20px; }
.card-foot dl { margin: 0; display: grid; gap: 4px; }
.card-foot dl div { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card-foot dt { font-weight: 600; }
.card-foot dd { margin: 0; color: var(--terra); font-weight: 600; }
@media (min-width: 800px) { .menu-paper { grid-template-columns: 1fr 1fr; padding: 40px 36px; gap: 36px 44px; } .card-foot dl { grid-template-columns: repeat(3, auto); justify-content: space-between; } .card-foot dl div { display: block; } }

/* 3 · Wednesday: meze rounds */
.ch-wed { background: var(--sand); }
.waves { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 640px; }
.wave { background: var(--paper); border: 2px solid var(--blue); border-radius: 14px; padding: 14px 16px; transition: box-shadow .3s ease, background .3s ease; }
.wave h3 { font-size: 19px; margin: 0 0 2px; }
.wave-dishes { margin: 0 0 10px; font-size: 15px; color: #4E3B32; }
.plates { display: flex; gap: 8px; }
.plate { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--blue); background: #fff; }
.plate::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--pc, var(--olive)); transition: transform .45s var(--rv-ease) calc(var(--k, 0) * 70ms); }
.plate:nth-child(2) { --k: 1; } .plate:nth-child(3) { --k: 2; } .plate:nth-child(4) { --k: 3; } .plate:nth-child(5) { --k: 4; }
.wave[data-round="1"] { --pc: #4F5D2F; } .wave[data-round="2"] { --pc: #8A2F1D; } .wave[data-round="3"] { --pc: #6B3A1E; } .wave[data-round="4"] { --pc: #B07A12; }
.js .wave:not(.full) .plate::after { transform: scale(0); }
.js .wave:not(.full) .plate { border-style: dashed; }
.wave.hl { background: #FFF1D6; box-shadow: 0 0 0 4px var(--terra); }
.rounds-ctl { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; }
.rounds-ctl .live { margin: 0; color: var(--terra); }

/* 4 · Friday: night, poster and terrace notes */
.ch-fri { background: linear-gradient(#0F1426, var(--night)); color: var(--ink); }
.ch-fri::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 14px; background: radial-gradient(circle at 14px 7px, var(--lamp) 0 3.5px, rgba(246,199,107,.25) 4px 8px, transparent 9px) 0 0 / 28px 14px repeat-x; animation: twinkle 3s ease-in-out infinite alternate; }
.ch-fri .ch-when { color: var(--lamp); }
.ch-fri .day-tile { background: var(--lamp); color: var(--night); box-shadow: inset 0 0 0 3px var(--night), inset 0 0 0 5px var(--lamp); }
.ch-fri :focus-visible { outline-color: var(--lamp); }
.ch-fri a { color: var(--lamp); }
.fri-grid { display: grid; gap: 22px; }
.poster { rotate: -1.2deg; background: var(--ink); color: var(--brown); padding: 24px 22px 20px; border: 3px double var(--terra); outline: 1px solid var(--terra); outline-offset: 4px; border-radius: 6px; box-shadow: 0 22px 44px rgba(0,0,0,.45); max-width: 440px; margin: 6px; }
.poster h3 { font-size: clamp(28px, 6vw, 38px); color: var(--terra); margin: 8px 0 4px; }
.poster-when { font: 700 22px/1.2 "Playfair Display", Georgia, serif; color: var(--blue); margin-bottom: 8px; }
.poster .ini { display: flex; gap: 8px; margin: 12px 0 10px; }
.poster .ini span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 700; }
.poster-tag { margin: 0; font-size: 13px; color: #5A463C; font-style: italic; }
.eq { width: 60px; height: 36px; fill: var(--terra); }
.eq rect { transform-box: fill-box; transform-origin: 50% 100%; animation: eq 1.1s ease-in-out infinite alternate; }
.eq rect:nth-child(2) { animation-duration: 1.5s; animation-delay: -.4s; } .eq rect:nth-child(3) { animation-duration: .9s; animation-delay: -.7s; } .eq rect:nth-child(4) { animation-duration: 1.3s; animation-delay: -.2s; } .eq rect:nth-child(5) { animation-duration: 1.7s; animation-delay: -.9s; }
@keyframes eq { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
.tnotes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: start; }
.tnotes li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid rgba(246,199,107,.5); border-radius: 12px; background: rgba(244,237,224,.07); }
.tnotes .ic { color: var(--lamp); width: 26px; height: 26px; margin-top: 2px; }
.tnotes p { margin: 0; }
.tnotes strong { color: var(--lamp); }
@media (min-width: 800px) { .fri-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }

/* 5 · Sunday: long table builder + group booking demo */
.ch-sun { background: #F6E3D0; }
.sun-grid { display: grid; gap: 20px; }
.stage { background: var(--paper); border: 2px solid var(--terra); border-radius: 14px; padding: 10px 10px 8px; }
#tb-svg { width: 100%; height: auto; }
.stage-total { margin: 0; text-align: right; font: 700 28px/1.1 "Playfair Display", Georgia, serif; color: var(--terra); padding: 0 8px 4px; }
.stage-total.off { visibility: hidden; }
.stage, .sim-table { min-width: 0; }
.stage { display: none; }
.js .stage { display: block; }
.sim.sim-table { border-radius: 18px; padding: 8px; box-shadow: 0 18px 40px rgba(42,26,20,.25); }
.sim-table .sim-screen { border-radius: 12px; padding: 16px 16px 18px; }
.sim-table .sim-screen h3 { font-size: 22px; }
.steps-bar { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0 2px 8px; font-size: 12px; line-height: 1.25; }
.steps-bar li { flex: 1 1 0; text-align: center; padding: 5px 2px 6px; color: #D8CBB9; border-bottom: 3px solid rgba(255,255,255,.18); }
.steps-bar li[aria-current="step"] { color: #fff; font-weight: 700; border-bottom-color: var(--lamp); }
.helper { font-size: 15px; color: var(--s-soft); }
.field { margin: 12px 0 0; }
.lbl { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.guest-step { display: inline-flex; align-items: center; gap: 10px; }
.gbtn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--s-acc); background: var(--s-acc); color: #fff; font: 700 24px/1 system-ui, sans-serif; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 0 3px; }
.gbtn:disabled { opacity: .35; cursor: not-allowed; }
.g-out { min-width: 44px; text-align: center; font: 700 32px/1 "Playfair Display", Georgia, serif; }
.chips { border: 0; margin: 16px 0 0; padding: 0; min-width: 0; }
.chips legend { font-weight: 700; font-size: 15px; padding: 0; margin-bottom: 6px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.rc { position: relative; display: inline-block; }
.rc input, .mopt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.rc span { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid #8B7662; background: #fff; font-weight: 600; font-size: 15px; transition: background .15s ease, color .15s ease; }
.rc input:checked + span { background: var(--s-acc); border-color: var(--s-acc); color: #fff; }
.rc input:focus-visible + span, .mopt input:focus-visible + span { outline: 3px solid var(--s-focus); outline-offset: 2px; }
.mopt { position: relative; display: block; margin: 0 0 8px; }
.mopt > span { display: block; padding: 12px 14px; border-radius: 14px; border: 2px solid #8B7662; background: #fff; }
.mopt input:checked + span { border-color: var(--s-acc); background: #FBEFE0; box-shadow: inset 0 0 0 1px var(--s-acc); }
.mopt strong { display: block; color: var(--s-acc); }
.mdesc { display: block; font-size: 14px; color: var(--s-soft); margin-top: 2px; }
#to-day:disabled { opacity: .5; }
.tb-actions { margin-top: 10px; }
.nojs-note { background: var(--paper); border: 2px solid var(--terra); border-radius: 14px; padding: 18px; }
.js .nojs-note { display: none; }
/* top-down table drawing */
#tb-svg .tb { transform: translateX(calc(var(--sx, 0px) + 70px)); opacity: 0; transition: transform .3s ease, opacity .3s ease; }
#tb-svg .tb.on { transform: translateX(var(--sx, 0px)); opacity: 1; }
#tb-svg .tt { fill: #fff; stroke: var(--terra); stroke-width: 3; }
#tb-svg .chair { fill: #6B4A38; transform-box: fill-box; transform-origin: 50% 50%; transform: scale(0); transition: transform .2s ease; }
#tb-svg .chair.on { transform: scale(1); }
#tb-svg .pl { stroke: #2A1A14; stroke-width: 1.5; }
#tb-svg .p1 { fill: #4F5D2F; } #tb-svg .p2 { fill: #8A2F1D; } #tb-svg .p3 { fill: #E9B44C; }
#tb-svg.m-fish .p1 { fill: #1F5A7A; } #tb-svg.m-fish .p2 { fill: #C9573D; } #tb-svg.m-fish .p3 { fill: #E9B44C; }
#tb-svg .deco { display: none; transform-box: fill-box; transform-origin: 50% 50%; animation: pop .35s ease; }
#tb-svg.o-birthday .d-candle, #tb-svg.o-nameday .d-flower { display: inline; }
#tb-svg .flame { fill: #F6C76B; animation: twinkle 1.2s ease-in-out infinite alternate; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
/* tent card */
.tent-scene { perspective: 700px; max-width: 320px; margin: 10px auto 4px; padding-top: 6px; }
.tent-face { transform-origin: 50% 100%; transform: rotateX(84deg); transition: transform .9s cubic-bezier(.2,.8,.2,1); background: var(--paper); border: 2px solid var(--terra); border-bottom: 0; border-radius: 8px 8px 0 0; padding-bottom: 14px; box-shadow: 0 -4px 18px rgba(42,26,20,.15); }
.tent.stand .tent-face { transform: none; }
.tent-top { margin: 0; background: var(--terra); color: #fff; text-align: center; padding: 9px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; font-size: 14px; border-radius: 6px 6px 0 0; }
.tent-brand { font: 700 36px/1.1 "Playfair Display", Georgia, serif; color: var(--terra); text-align: center; margin: 8px 0 4px !important; }
.tent dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; margin: 0; padding: 4px 20px 0; font-size: 15px; }
.tent dt { font-weight: 700; color: var(--blue); }
.tent dd { margin: 0; overflow-wrap: anywhere; }
.tent-fold { height: 16px; background: linear-gradient(#E9DAC0, #CDB998); border: 2px solid var(--terra); border-top: 2px dashed #8B7662; border-radius: 0 0 8px 8px; }
.tent-cap { text-align: center; margin-top: 10px !important; }
@media (prefers-reduced-motion: reduce) { .tent-face { transform: none; } }
@media (min-width: 1100px) { .sun-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; } .stage { position: sticky; top: 110px; } }

/* 6 · At the table: the QR phone lies on the cloth, then straightens when you start it */
.qr-grid { display: grid; gap: 22px; }
.qr-text { background: var(--paper); border: 2px solid var(--blue); border-radius: 14px; padding: 20px; align-self: center; }
.qr-text h3 { margin-top: 0; }
.phone-lie { width: 110px; height: auto; margin: 18px auto 0; rotate: -12deg; filter: drop-shadow(0 12px 14px rgba(42,26,20,.3)); }
.qr-text .btn-qr[hidden] + .phone-lie { margin-top: 0; }

/* 7 · Find us */
.ch-find { background: var(--cream); }
.map-ph { background: repeating-linear-gradient(0deg, transparent 0 38px, rgba(31,90,122,.12) 38px 40px), repeating-linear-gradient(90deg, transparent 0 38px, rgba(31,90,122,.12) 38px 40px), #fff; border: 2px solid var(--blue); color: var(--blue); }
.plates-box { margin-top: 26px; padding: 22px 14px; border-radius: 16px; }
.plates-gal { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
.plates-gal li { text-align: center; }
.plates-gal .lb { aspect-ratio: 1; border-radius: 50%; border: 8px solid #fff; box-shadow: 0 0 0 2px var(--terra), 0 14px 26px rgba(42,26,20,.25); background: var(--sand); }
.plates-gal .cap { display: inline-block; margin-top: 10px; background: var(--paper); color: var(--brown); font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; }
.own-photos { color: var(--olive); }
.book-card { margin-top: 32px; background: var(--night); color: var(--ink); border-radius: 16px; padding: 26px 22px; }
.book-card h3 { color: var(--lamp); margin-top: 0; }
.book-card .tiny { color: #C9C8D6; margin-bottom: 0; }
.book-card :focus-visible { outline-color: var(--lamp); }
@media (min-width: 700px) { .plates-gal { grid-template-columns: repeat(4, 1fr); } }

/* Desktop */
@media (min-width: 1000px) {
  html { scroll-padding-top: 110px; }
  .chapter { padding: 64px 0 72px; }
  .qr-grid { grid-template-columns: minmax(0, 1fr) 360px; align-items: center; }
  .phone-lie { display: none; }
  .js .sim-col { display: block; padding: 12px 8px 24px; }
  .sim-col .sim { rotate: -5deg; transition: rotate .7s cubic-bezier(.2,.8,.2,1); }
  .sim-col.live .sim { rotate: 0deg; }
  .sim-col .sim-screen { height: min(600px, calc(100vh - 190px)); overflow-y: auto; overscroll-behavior: contain; }
  .qr-text .btn-qr { margin-top: 4px; }
}

/* Footer */
.foot { background: var(--brown); color: var(--cream); padding: 40px 0 32px; }
.foot .brand { font-size: 26px; color: #fff; }
.foot :focus-visible { outline-color: #F7D9A8; }

/* Mobile action bar */
.m-bar { background: var(--cream); border-top: 1px solid var(--sand); box-shadow: 0 -6px 20px rgba(42,26,20,.08); }
.m-bar a { color: var(--brown); border: 1.5px solid var(--brown); }
.m-bar a.go { background: var(--terra); border-color: var(--terra); color: #fff; }

/* Ambient loops pause when their section is off screen (toggled by table.js) */
.is-off, .is-off *, .is-off::before, .is-off::after { animation-play-state: paused !important; }

/* ---- Shared Godelic sample ribbon, footer note and mobile action bar (same on all five samples) ---- */
body { padding-top: 40px; }
.gd-ribbon {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: #0A0714; color: #EEEAFB; border-bottom: 1px solid #2E2450;
  box-shadow: 0 1px 12px rgba(112, 48, 240, .35);
  font: 600 14px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: 0;
}
.gd-ribbon a {
  display: inline-flex; align-items: center; color: #EEEAFB; padding: 8px 12px; text-decoration: underline;
  text-decoration-color: #9B6BFF; text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.gd-ribbon a:hover { color: #C9B8FF; }
.gd-ribbon a:focus-visible { outline: 3px solid #C9B8FF; outline-offset: -3px; }
.gd-ribbon picture { display: block; flex: none; margin-right: 8px; }
.gd-ribbon .gd-mark { display: block; width: auto; height: 20px; max-width: none; }
@media (max-width: 380px) { .gd-ribbon { font-size: 13px; } .gd-ribbon a { padding: 8px 6px; } .gd-ribbon .gd-mark { height: 16px; } }
.gd-skip { position: absolute; left: 12px; top: -80px; z-index: 1100; background: #0A0714; color: #EEEAFB; padding: 10px 14px; border-radius: 8px; font: 600 15px system-ui, sans-serif; }
.gd-skip:focus { top: 48px; outline: 3px solid #C9B8FF; outline-offset: 2px; }
.gd-sample-note { border-top: 1px dashed currentColor; margin-top: 28px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.gd-sample-note p { margin: 0; }
.gd-cta {
  display: inline-flex; align-items: center; min-height: 48px; padding: 10px 18px; border-radius: 999px;
  background: #6D3FE0; color: #FFFFFF; font: 600 15px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif; text-decoration: none;
  border: 1.5px solid #6D3FE0; box-shadow: 0 0 18px rgba(112, 48, 240, .4);
}
.gd-cta:hover { background: #5A2FC8; border-color: #5A2FC8; color: #FFFFFF; }
.gd-cta:focus-visible { outline: 3px solid #9B6BFF; outline-offset: 3px; }
.m-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); }
.m-bar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; text-align: center; line-height: 1.15; padding: 4px 6px; }
body { padding-bottom: 72px; }
@media (min-width: 768px) { .m-bar { display: none; } body { padding-bottom: 0; } }
.map-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 220px; border-radius: 16px; text-align: center; font-weight: 600; }
.map-ph svg { width: 40px; height: 40px; }
.ph-tile { aspect-ratio: 1; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 600; }
.ph-tile svg { width: 28px; height: 28px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---- Godelic demo kit: reveal, lightbox, credits link, simulation frame (same structure on each sample; colours via --s-* vars) ---- */
.js .rv { opacity: 0; transform: var(--rv-from, translateY(24px)); transition: opacity var(--rv-dur, 600ms) var(--rv-ease, ease) var(--d, 0ms), transform var(--rv-dur, 600ms) var(--rv-ease, ease) var(--d, 0ms), filter var(--rv-dur, 600ms) ease var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; filter: none; }
.gd-credits { margin: 16px 0 0; font-size: 14px; }
.gd-credits a { color: inherit; text-underline-offset: 3px; display: inline-block; padding: 6px 0; }
.own-photos { margin: 14px 0 0; font-size: 15px; font-style: italic; }
.lb { display: block; position: relative; overflow: hidden; border-radius: inherit; }
.lb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.lb:hover img { transform: scale(1.04); }
.lbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; overflow: visible; color: #fff; }
.lbox::backdrop { background: rgba(8, 6, 12, .9); }
.lbox figure { margin: 0; }
.lbox img { display: block; max-width: min(90vw, 1100px); max-height: 78vh; width: auto; height: auto; border-radius: 10px; }
.lbox figcaption { text-align: center; font: 600 14px/1.4 system-ui, sans-serif; padding: 10px 0 0; }
.lb-close, .lb-nav { position: fixed; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 2px solid #fff; background: rgba(0,0,0,.6); color: #fff; font: 400 30px/1 system-ui, sans-serif; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 0 4px; }
.lb-close { top: 52px; right: 12px; }
.lb-nav { top: 50%; margin-top: -24px; }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
.lb-close:focus-visible, .lb-nav:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.sim { position: relative; background: var(--s-frame); color: var(--s-fg); border-radius: 34px; padding: 10px; box-shadow: 0 24px 60px rgba(0,0,0,.25), inset 0 0 0 2px rgba(255,255,255,.08); font-size: 16px; line-height: 1.45; text-align: left; }
.sim[hidden] { display: none; }
.sim-bar { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 4px 6px 10px; }
.sim-pill { margin: 0; background: var(--s-pill-bg, #111); color: var(--s-pill-fg, #fff); font: 700 12px/1.25 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; text-align: center; border: 1.5px solid var(--s-pill-line, transparent); }
.sim-close { display: none; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.sim-screen { position: relative; background: var(--s-bg); border-radius: 26px; padding: 18px 16px 20px; }
.sim-screen h3 { font-size: 22px; margin: 0 0 12px; color: var(--s-head, var(--s-fg)); }
.sim-screen h3:focus { outline: none; }
.sim-screen h3:focus-visible { outline: 2px dashed var(--s-acc); outline-offset: 4px; }
.sim-screen p { margin: 0 0 10px; }
.sim :focus-visible { outline: 3px solid var(--s-focus, var(--s-acc)); outline-offset: 2px; }
.sim-btn { display: flex; width: 100%; align-items: center; justify-content: center; min-height: 48px; margin: 10px 0 0; padding: 10px 16px; border-radius: var(--s-radius, 14px); border: 2px solid var(--s-acc); background: var(--s-acc); color: var(--s-acc-fg); font-weight: 700; font-size: 16px; line-height: 1.2; font-family: inherit; cursor: pointer; transition: transform .15s ease, filter .15s ease; }
.sim-btn:hover { filter: brightness(1.08); }
.sim-btn:active { transform: translateY(2px); }
.sim-btn:disabled { opacity: .45; cursor: not-allowed; filter: none; transform: none; }
.sim-btn[hidden], .sim-link[hidden] { display: none; }
.sim-btn-alt { background: transparent; color: var(--s-fg); border-color: var(--s-line-strong, var(--s-fg)); }
.sim-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sim-row .sim-btn { font-size: 14px; }
.sim-link { display: block; margin: 12px auto 0; min-height: 44px; padding: 8px 12px; background: none; border: 0; color: var(--s-fg); font-weight: 600; font-size: 15px; line-height: 1.2; font-family: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sim-cta { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; margin: 14px 0 0; padding: 10px 14px; border-radius: 999px; background: #6D3FE0; color: #fff; font: 700 15px/1.25 system-ui, -apple-system, "Segoe UI", sans-serif; text-decoration: none; box-shadow: 0 0 18px rgba(112, 48, 240, .35); }
.sim-cta:hover { background: #5A2FC8; color: #fff; }
.sim-disclaimer { font-size: 14px; color: var(--s-soft); border-top: 1px dashed var(--s-line); padding-top: 10px; margin-top: 14px !important; }
.sim-label { display: block; font-weight: 700; font-size: 15px; margin: 14px 0 6px; }
.sim-input { width: 100%; font: inherit; font-size: 16px; color: var(--s-fg); background: var(--s-input, #fff); border: 1.5px solid var(--s-line-strong, var(--s-line)); border-radius: 12px; padding: 10px 12px; resize: vertical; }
.sim-hint { font-size: 13px; color: var(--s-soft); margin-top: 4px !important; }
.sim-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; border-top: 1.5px solid var(--s-line); padding-top: 10px; margin-top: 12px !important; }
.sim-total strong { font-size: 20px; color: var(--s-price, var(--s-acc)); }
.sim-toast { position: absolute; left: 20px; right: 20px; bottom: 22px; z-index: 5; margin: 0; padding: 10px 14px; border-radius: 12px; background: #111; color: #fff; font: 600 14px/1.35 system-ui, sans-serif; text-align: center; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.sim-toast.show { opacity: 1; transform: none; }
.sim-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: none; }
.sim-tab { flex: none; min-height: 44px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--s-line-strong, var(--s-line)); background: transparent; color: var(--s-fg); font-weight: 600; font-size: 14px; line-height: 1.2; font-family: inherit; cursor: pointer; }
.sim-tab[aria-pressed="true"] { background: var(--s-acc); border-color: var(--s-acc); color: var(--s-acc-fg); }
.sim-items, .sim-order { list-style: none; margin: 0; padding: 0; }
.sim-item, .sim-oline { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--s-line); }
.sim-oline, .sim-item.no-thumb { grid-template-columns: 1fr auto; }
.sim-thumb { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; display: block; }
.sim-thumb-ph { background: var(--s-ph, rgba(0,0,0,.06)); }
.sim-txt { min-width: 0; }
.sim-name { font-weight: 700; margin: 0 !important; line-height: 1.25; }
.sim-desc { font-size: 13px; color: var(--s-soft); margin: 2px 0 0 !important; }
.sim-price { font-weight: 700; font-size: 14px; color: var(--s-price, var(--s-acc)); margin: 2px 0 0 !important; }
.stepper { display: flex; align-items: center; gap: 4px; }
.st-add, .st-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--s-acc); background: var(--s-acc); color: var(--s-acc-fg); font: 700 22px/1 system-ui, sans-serif; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 0 2px; }
.st-btn { background: transparent; color: var(--s-fg); border-color: var(--s-line-strong, var(--s-fg)); }
.st-btn:disabled { opacity: .35; cursor: not-allowed; }
.st-qty { min-width: 22px; text-align: center; font-weight: 700; }
.sim-cartbar { position: sticky; bottom: 0; z-index: 3; padding: 12px 0 0; background: linear-gradient(transparent, var(--s-bg) 30%); }
.sim-cartbar[hidden] { display: none; }
.sim-cartbar button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 8px 16px; border-radius: var(--s-radius, 14px); border: 0; background: var(--s-acc); color: var(--s-acc-fg); font-weight: 700; font-size: 15px; line-height: 1.2; font-family: inherit; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.sim-empty { color: var(--s-soft); }
.no-js-hide { display: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; filter: none; } .lb:hover img { transform: none; } }

/* ---- Taverna Olea: QR table menu simulation ---- */
.sim { --s-frame: #2A1A14; --s-bg: #FFFBF3; --s-fg: #2A1A14; --s-head: #1F5A7A; --s-acc: #8A2F1D; --s-acc-fg: #fff; --s-line: #EFE2CC; --s-line-strong: #B9A58E; --s-soft: #5A463C; --s-price: #8A2F1D; --s-pill-bg: #FBF4E8; --s-pill-fg: #2A1A14; --s-focus: #1F5A7A; --s-ph: #EFE2CC; --s-radius: 999px; }
.sim-screen h3 { font-family: "Playfair Display", Georgia, serif; }
/* Phones: the simulation opens as a full-screen sheet below the sample ribbon */
.sim-col { display: none; }
.sim-col.open { display: block; position: fixed; left: 0; right: 0; top: 40px; bottom: 0; z-index: 1200; background: rgba(42,26,20,.55); padding: 8px; }
.sim-col.open .sim { height: 100%; display: flex; flex-direction: column; max-width: 460px; margin: 0 auto; border-radius: 26px; }
.sim-col.open .sim-close { display: flex; align-items: center; justify-content: center; }
.sim-col.open .sim-bar { justify-content: space-between; }
.sim-col.open .sim-screen { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
/* Screen 1: viewfinder */
.viewfinder { position: relative; width: 210px; height: 210px; margin: 6px auto 14px; border-radius: 18px; background: radial-gradient(circle at 50% 40%, #4a3a32, #1b120e); overflow: hidden; }
.vf-qr { position: absolute; inset: 40px; width: 130px; height: 130px; background: #FBF4E8; padding: 8px; border-radius: 6px; }
.vf-c { position: absolute; width: 34px; height: 34px; border: 4px solid #FBF4E8; transition: all .3s ease; }
.vf-tl { left: 22px; top: 22px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.vf-tr { right: 22px; top: 22px; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.vf-bl { left: 22px; bottom: 22px; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.vf-br { right: 22px; bottom: 22px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.vf-line { position: absolute; left: 30px; right: 30px; top: 36px; height: 3px; border-radius: 3px; background: #E9B44C; box-shadow: 0 0 12px 3px rgba(233,180,76,.7); opacity: 0; }
.scanning .vf-line { opacity: 1; animation: scanline 1.6s ease-in-out; }
@keyframes scanline { 0% { top: 36px; } 50% { top: 172px; } 100% { top: 36px; } }
.found .vf-c { border-color: #E9B44C; }
.found .vf-tl { left: 34px; top: 34px; } .found .vf-tr { right: 34px; top: 34px; } .found .vf-bl { left: 34px; bottom: 34px; } .found .vf-br { right: 34px; bottom: 34px; }
.found .viewfinder { animation: buzz .45s ease; }
@keyframes buzz { 0%, 100% { transform: none; } 20% { transform: translateX(-3px) scale(1.02); } 40% { transform: translateX(3px) scale(1.02); } 60% { transform: translateX(-2px); } 80% { transform: translateX(2px); } }
.scan-status { text-align: center; font-weight: 600; min-height: 1.5em; }
.found .scan-status { color: var(--terra); font-family: "Playfair Display", Georgia, serif; font-size: 20px; }
/* Screen 2: sticky tabs inside the phone */
[data-step="menu"] .sim-tabs { position: sticky; top: -18px; z-index: 2; background: var(--s-bg); margin: 0 -4px; padding: 8px 4px 10px; }
/* Screen 4: tick and ETA bar */
.tick { width: 72px; height: 72px; margin: 6px auto 10px; color: var(--olive); }
.tick svg { width: 100%; height: 100%; }
.tick path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.tick circle { stroke-dasharray: 160; stroke-dashoffset: 160; }
.run .tick circle { animation: draw .6s ease forwards; }
.run .tick path { animation: draw .4s .5s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
[data-step="sent"] h3 { text-align: center; }
.sent-sum { text-align: center; font-size: 14px; color: var(--s-soft); overflow-wrap: anywhere; }
.eta { height: 10px; border-radius: 999px; background: var(--sand); overflow: hidden; margin: 14px 0 8px; }
.eta-fill { display: block; height: 100%; width: 4%; border-radius: inherit; background: linear-gradient(90deg, var(--olive), var(--blue)); }
.run .eta-fill { width: 100%; transition: width 6s linear; }
.eta-steps { list-style: none; display: flex; justify-content: space-between; margin: 0 0 8px; padding: 0; font-size: 13px; font-weight: 600; color: #6F5E53; }
.eta-steps li.on { color: var(--olive); }
.eta-steps li.on::before { content: "● "; }
@media (prefers-reduced-motion: reduce) { .tick path, .tick circle { stroke-dashoffset: 0; } }

/* Footer demo disclaimer: small, muted, AA on the dark footer */
.gd-disclaimer { flex: 1 1 100%; max-width: 46em; margin: 0; font-size: 13px; line-height: 1.5; color: #C8C4D0; }

/* ---- Multi-page site: page heads, home blocks, menu, forms, about, footer, 404 ---- */
.btn-line { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn-line:hover { background: #E4F0F6; }
.btn-dark { background: var(--brown); border-color: var(--brown); color: var(--cream); }
.btn-dark:hover { background: #432B20; }
.m-bar button { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 10px; font: inherit; font-weight: 600; font-size: 15px; line-height: 1.15; padding: 4px 6px; background: transparent; cursor: pointer; color: var(--brown); border: 1.5px solid var(--brown); }

.pagehead { padding: 34px 0 40px; border-bottom: 1px solid var(--sand); }
.ph-card { background: var(--paper); border: 3px double var(--terra); outline: 1px solid var(--terra); outline-offset: 4px; border-radius: 6px; padding: 26px 20px 22px; max-width: 760px; margin: 6px auto; text-align: center; }
.ph-card h1 { font-size: clamp(36px, 9vw, 60px); color: var(--terra); margin: 0 0 .25em; }
.ph-card .ch-when { margin-bottom: 8px; }
.ph-card p:last-child { margin-bottom: 0; }
.lead { font-size: 18px; max-width: 34em; margin: 0 auto 1em; }

/* Home */
.intro { display: grid; gap: 28px; align-items: center; }
.intro .plate-photo { width: min(78%, 320px); margin: 0 auto; aspect-ratio: 4 / 5; border-radius: 50% / 40%; overflow: hidden; border: 8px solid #fff; box-shadow: 0 0 0 2px var(--terra), 0 18px 34px rgba(42,26,20,.25); background: var(--sand); }
.plate-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.intro h2 { color: var(--terra); }
.cards3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cards3 a { display: block; height: 100%; text-decoration: none; color: var(--brown); background: var(--paper); border: 2px solid var(--blue); border-radius: 14px; padding: 20px 20px 18px; transition: transform .2s ease, box-shadow .2s ease; }
.cards3 a:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(42,26,20,.15); }
.cards3 .ic { width: 30px; height: 30px; color: var(--terra); margin-bottom: 8px; }
.cards3 h3 { margin: 0 0 4px; }
.cards3 p { margin: 0 0 8px; font-size: 16px; }
.cards3 .more { font-weight: 700; color: var(--terra); text-decoration: underline; text-underline-offset: 4px; }
.sec-head { max-width: 40em; margin: 0 auto 24px; text-align: center; }
.sec-head h2 { color: var(--terra); }
.sec-head p { margin: 0; }
.bg-sand { background: var(--sand); }
.bg-paper { background: var(--paper); }
.week-grid { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.week-grid li { display: flex; gap: 14px; align-items: center; background: var(--paper); border: 2px solid var(--blue); border-radius: 14px; padding: 12px 14px; }
.week-grid h3 { margin: 0; font-size: 19px; }
.week-grid p { margin: 0; font-size: 15px; }
.week-grid .off { border-style: dashed; border-color: #8B7A6E; background: var(--sand); }
.week-grid .off .day-tile { background: #6F5E53; box-shadow: inset 0 0 0 3px var(--sand), inset 0 0 0 5px #6F5E53; }
.hl-grid { display: grid; gap: 22px; }
.hours-card { background: var(--paper); border: 3px double var(--terra); outline: 1px solid var(--terra); outline-offset: 4px; border-radius: 6px; margin: 6px; padding: 22px 20px; }
.hours-card h2, .hours-card h3 { color: var(--terra); margin-top: 0; font-size: 26px; }
.hours-card dl { margin: 0 0 12px; display: grid; gap: 6px; }
.hours-card dl div { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 1px dotted rgba(42,26,20,.4); padding-bottom: 6px; }
.hours-card dt { font-weight: 600; }
.hours-card dd { margin: 0; font-weight: 600; color: var(--terra); }
.hours-card .small-note { margin: 0; }
.loc-card .map-ph { min-height: 200px; margin-bottom: 14px; }
.loc-card p { margin: 0 0 10px; }
.cta-band { background: var(--night); color: var(--ink); text-align: center; padding: 48px 0 52px; }
.cta-band h2 { color: var(--lamp); }
.cta-band .btns { justify-content: center; }
.cta-band .ch-in { max-width: 680px; }
.cta-band :focus-visible { outline-color: var(--lamp); }

/* Menu page */
.menu-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 18px; }
.menu-tools .tabs { margin: 0; }
.fbar { display: none; align-items: center; gap: 8px; }
.js .fbar { display: flex; }
.fbtn { min-height: 44px; padding: 6px 16px; border-radius: 999px; border: 2px solid var(--olive); background: #fff; color: var(--olive); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.fbtn[aria-pressed="true"] { background: var(--olive); color: #fff; }
.fbar-lab { font-weight: 600; font-size: 15px; }
.dishes li[hidden] { display: none; }
.setmenus { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 14px; }
.setmenus li { background: var(--paper); border: 2px solid var(--blue); border-radius: 14px; padding: 18px; }
.setmenus h3 { margin: 0 0 2px; }
.setmenus .sm-price { font: 700 24px/1.2 "Playfair Display", Georgia, serif; color: var(--terra); margin: 0 0 6px; }
.setmenus p { margin: 0 0 8px; font-size: 15px; }
.menu-end { margin-top: 26px; display: grid; gap: 18px; }

/* Forms */
.book-grid { display: grid; gap: 26px; }
.form-card { background: var(--paper); border: 2px solid var(--terra); border-radius: 14px; padding: 22px 18px; }
.form-card h2 { color: var(--terra); }
.f-grid { display: grid; gap: 14px; }
.f-field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 5px; }
.f-in { width: 100%; min-height: 48px; font: inherit; font-size: 16px; color: var(--brown); background: #fff; border: 2px solid #8B7662; border-radius: 10px; padding: 9px 12px; }
textarea.f-in { min-height: 90px; resize: vertical; }
.f-in[aria-invalid="true"] { border-color: #B3261E; background: #FFF5F4; }
.f-err { margin: 5px 0 0; font-size: 14px; font-weight: 600; color: #9C1F18; }
.f-err[hidden] { display: none; }
.f-hint { font-size: 13px; color: #5A463C; margin: 4px 0 0; }
.f-actions { margin-top: 18px; }
.f-actions .btn { width: 100%; }
.confirm { background: var(--paper); border: 3px double var(--terra); outline: 1px solid var(--terra); outline-offset: 4px; border-radius: 6px; padding: 24px 20px; margin: 6px; text-align: center; }
.confirm[hidden], .form-card[hidden] { display: none; }
.confirm h2 { color: var(--terra); }
.confirm h2:focus { outline: none; }
.confirm dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; text-align: left; max-width: 360px; margin: 14px auto; }
.confirm dt { font-weight: 700; color: var(--blue); }
.confirm dd { margin: 0; overflow-wrap: anywhere; }
.confirm .disc { font-size: 14px; border-top: 1px dashed rgba(42,26,20,.4); padding-top: 12px; }
.confirm .cta-purple { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 18px; border-radius: 999px; background: #6D3FE0; color: #fff; font: 600 15px/1.2 system-ui, sans-serif; text-decoration: none; margin-bottom: 8px; }
.confirm .cta-purple:hover { background: #5A2FC8; }
.side-card { background: var(--paper); border: 2px solid var(--blue); border-radius: 14px; padding: 20px; align-self: start; }
.side-card h2, .side-card h3 { margin-top: 0; }
.side-card ul { padding-left: 20px; margin: 0 0 12px; }
.side-card li { margin-bottom: 6px; }
@media (min-width: 700px) { .f-grid { grid-template-columns: 1fr 1fr; } .f-field.wide { grid-column: 1 / -1; } .f-actions .btn { width: auto; } }
@media (min-width: 1000px) { .book-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }

/* Evenings and Order */
.night { display: grid; gap: 20px; }
.sun-teaser { display: grid; gap: 14px; background: var(--paper); border: 2px solid var(--terra); border-radius: 14px; padding: 22px 20px; }
.sun-teaser h3 { margin-top: 0; color: var(--terra); }
.sun-teaser p { margin: 0; }
.how { list-style: none; counter-reset: s; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.how li { counter-increment: s; position: relative; background: var(--paper); border: 2px solid var(--blue); border-radius: 14px; padding: 14px 16px 14px 62px; }
.how li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font: 700 18px/1 "Playfair Display", Georgia, serif; }
.how h3 { margin: 0 0 2px; font-size: 19px; }
.how p { margin: 0; font-size: 15px; }
.menu-data { margin-top: 26px; }
.menu-data summary { cursor: pointer; font-weight: 700; color: var(--blue); min-height: 44px; display: flex; align-items: center; text-decoration: underline; text-underline-offset: 4px; }
.menu-data .menu-paper { margin-top: 14px; }
.qr-text ul { padding-left: 20px; margin: 0 0 14px; }

/* About / Find us */
.about-grid { display: grid; gap: 28px; align-items: start; }
.about-grid h2 { color: var(--terra); }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-photos figure { margin: 0; }
.about-photos .wide { grid-column: 1 / -1; }
.about-photos img { width: 100%; height: auto; display: block; border-radius: 10px; border: 6px solid #fff; box-shadow: 0 0 0 2px var(--terra), 0 12px 22px rgba(42,26,20,.2); }
.about-photos figcaption { font-size: 13px; margin-top: 8px; color: #5A463C; }
.facts { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.facts li { display: flex; gap: 12px; align-items: flex-start; }
.facts .ic { width: 26px; height: 26px; color: var(--terra); margin-top: 2px; }
.facts p { margin: 0; }
.faq details { background: var(--paper); border: 2px solid var(--blue); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 12px 16px; min-height: 48px; font-weight: 700; display: flex; align-items: center; }
.faq details p { margin: 0; padding: 0 16px 14px; }
.find-grid { display: grid; gap: 22px; }
.find-grid .map-ph { min-height: 260px; margin: 0; }
.contact-btns { display: grid; gap: 10px; margin-top: 14px; }
@media (min-width: 800px) {
  .intro { grid-template-columns: 1fr 1fr; gap: 48px; }
  .cards3 { grid-template-columns: repeat(3, 1fr); }
  .week-grid { grid-template-columns: repeat(2, 1fr); }
  .hl-grid, .find-grid, .about-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .night { grid-template-columns: 1fr 1fr; align-items: center; }
  .setmenus { grid-template-columns: 1fr 1fr; }
  .sun-teaser { grid-template-columns: 1fr auto; align-items: center; }
  .contact-btns { grid-template-columns: repeat(3, auto); justify-content: start; }
}

/* Footer */
.foot-grid { display: grid; gap: 28px; }
.foot h2 { font-size: 20px; color: var(--lamp); margin-bottom: 8px; }
.foot p { margin: 0 0 8px; }
.foot a { color: var(--cream); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { display: inline-block; padding: 5px 0; }
.foot-hours { margin: 0; display: grid; gap: 4px; }
.foot-hours div { display: flex; justify-content: space-between; gap: 12px; }
.foot-hours dd { margin: 0; }
.social { display: flex; gap: 10px; margin-top: 10px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--cream); }
.social a:hover { background: rgba(251,244,232,.16); }
.social svg { width: 22px; height: 22px; }
.foot .gd-cta { color: #fff; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1.1fr .8fr; gap: 32px; } }

/* 404 */
.nf { text-align: center; padding: 56px 0 64px; }
.nf .big { font: 700 clamp(96px, 28vw, 190px)/1 "Playfair Display", Georgia, serif; color: var(--terra); margin: 0; }
.nf .btns { justify-content: center; margin-top: 18px; }

/* Tap area: ribbon link is at least 44px tall without changing the 40px bar */
/* Tap area: the ribbon (fixed, 40px) is the containing block; the link's hit area covers it plus 4px, so 44px tall */
.gd-ribbon a { position: static; }
.gd-ribbon a::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 44px; }
