/* Hallmark · shape: a night at the table · genre: atmospheric · theme: custom · brand: Grove Multicuisine (spec 2026-11-05) · job: book · idea: "the photographs are alive: garden depth, fireflies and steam off the food" · vibe: "hungry, night-lit, olive, cinematic"
 * paper: #f3efe4 · accent: #364028 · display: Federo · body: Poppins · hero: full-bleed night garden with the plate in front, moving in depth · nav: logo, links and Book over the hero · footer: the mark and the page links · imagery: photographs, WebGL depth from gl.js · signature: scroll and five dishes melt into each other on a pinned full-screen stage
 * axes: dark/display-condensed/chromatic-green · posture: drenched · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4 · weakest: P, a food page can argue little; led with Grove's real dishes and prices instead of adjectives */
/* Hallmark · answered F8 · the pinned dishes and the garden opening never share a screen, the garden opening is one image */
/* Hallmark · dismissed 59 · ten sections and the pinned stage sitting flush under the hero are the booking page's proof and FAQ, added at the owner's request to grow the business */
/* Hallmark · waive 39b · the craving list is set in the display face at 44px, and its rows stand 68px · these five buttons are the page's picture index and read as a typeset list */
/* Hallmark · dismissed 58 · the word count is the 107 real dishes, closed inside details until asked for; with the closed text stripped one real overage remains, the FAQ at 210 words, kept on purpose for local search */
/* Hallmark · answered F4 · the beige fill is the same button inverted for the green mat, and the pressed tab is a state, not a second button */
@import url("./tokens.css");
@import url("./base.css");

html { background: var(--color-mat-2); -webkit-tap-highlight-color: transparent; }
body { background: var(--color-mat-2); }
main > section, .unlimited, .faq, .mx-menu, .kd, .pl-sec { background-color: var(--color-paper); }
.hero, .mx-hero, .cravings, .garden, .drinks, .pv { background-color: var(--color-mat-2); }
.drinks, .pv { background-color: var(--color-mat); }
.menu { background-color: var(--color-mat); }
.proof, .visit, .mx-order { background-color: var(--color-paper-2); }
h1, h2 { text-transform: uppercase; font-weight: 400; letter-spacing: var(--tracking-display); line-height: 1.04; }
h2 { font-size: var(--text-section); color: var(--color-olive-ink); }
h3 { font-weight: 400; }
.big { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.2; }
.skip { position: absolute; left: var(--space-md); top: -80px; z-index: var(--z-toast); padding: var(--space-sm) var(--space-md); background: var(--color-paper-3); color: var(--color-ink); }
.skip:focus-visible { top: var(--space-md); }

.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 var(--space-lg); border: 1px solid var(--color-accent); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-mat-2); }
.btn:active { transform: scale(.97); }
.btn--quiet { background: transparent; color: var(--color-ink); border-color: var(--color-ink-2); }
.btn--quiet:hover { background: var(--color-paper-3); }
.btn--on-mat { background: var(--color-on-mat); color: var(--color-mat); border-color: var(--color-on-mat); }
.btn--on-mat:hover { background: var(--color-paper-3); }
.btn--line { background: transparent; color: var(--color-on-mat); border-color: var(--color-on-mat-2); }
.btn--line:hover { background: var(--color-mat-2); }
.btn[aria-disabled="true"], button:disabled { opacity: 0.55; cursor: not-allowed; }
.top-status, .menu-chips, .more, .rail-only, .sec-cover { display: none; }
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } html { scroll-behavior: smooth; } }
.stage-progress { display: none; }
.intro body::before { content: ""; position: fixed; inset: 0; z-index: var(--z-tooltip); background: var(--color-mat-2); pointer-events: none; animation: intro-out 500ms 900ms var(--ease-in-out) forwards; }
.intro body::after { content: ""; position: fixed; left: 50%; top: 50%; z-index: calc(var(--z-tooltip) + 1); width: 66px; height: 96px; translate: -50% -50%; background: var(--color-olive); -webkit-mask: url("assets/logo-mark.png") center / contain no-repeat; mask: url("assets/logo-mark.png") center / contain no-repeat; pointer-events: none; animation: intro-mark 1400ms var(--ease-out) forwards; }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
@keyframes intro-mark { 0% { opacity: 0; transform: scale(.92); } 30%, 62% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(1.06); visibility: hidden; } }
.acts { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

/* top */
.top { position: absolute; inset: 0 0 auto; z-index: var(--z-sticky); color: var(--color-on-mat); }
.top-in { display: flex; align-items: center; gap: var(--space-xl); max-width: var(--container); margin-inline: auto; padding: var(--space-md) var(--gutter); }
.brand img { width: 76px; height: 76px; }
.links { display: flex; gap: var(--space-lg); margin-left: auto; }
.links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: var(--text-sm); }
.links a:hover { text-decoration: underline; }
.top-book { min-height: 44px; font-size: var(--text-sm); }
.top, .hero, .cravings, .garden, .drinks, .foot { --color-focus: var(--color-on-mat); }

/* moving photographs: the img underneath is the fallback */
[data-gl], [data-gl-stage] { position: relative; }
.gl-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 700ms var(--ease-out); pointer-events: none; }
.gl-on > .gl-canvas { opacity: 1; }

/* hero: the night, the plate */
.hero { position: relative; display: grid; height: 100svh; min-height: 620px; max-height: 1000px; background: var(--color-mat-2); color: var(--color-on-mat); overflow: clip; isolation: isolate; }
.hero > .gl-canvas { z-index: -2; }
.hero-img { position: absolute; inset: 0 0 auto auto; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: 62% 100%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, color-mix(in oklab, var(--color-mat-2) 86%, transparent) 0%, color-mix(in oklab, var(--color-mat-2) 52%, transparent) 34%, transparent 58%), linear-gradient(32deg, var(--color-mat-2) 0%, color-mix(in oklab, var(--color-mat-2) 72%, transparent) 26%, transparent 46%); }
.hero-text { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-lg); width: 100%; max-width: var(--container); margin-inline: auto; padding: 124px var(--gutter) var(--space-xl); }
.status { display: inline-flex; font-size: var(--text-sm); font-weight: 500; }
.hero h1 { font-size: clamp(3.25rem, 9.2vw, 8.75rem); line-height: 1; color: var(--color-on-mat); }
.hero h1 span { display: block; animation: rise 1.2s var(--ease-out) both; }
.hero h1 span + span { animation-delay: 140ms; }
.hero-foot { display: grid; gap: var(--space-md); justify-items: start; }
.lede { font-size: var(--text-lead); max-width: 34ch; color: var(--color-on-mat); }
.trust { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--space-md); font-size: var(--text-sm); }
.trust b { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 400; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* cravings: a full-screen stage */
.cravings { background: var(--color-mat-2); color: var(--color-on-mat); }
.stage { display: grid; gap: var(--space-lg); padding: var(--space-2xl) var(--gutter); }
.crave-head { display: grid; gap: var(--space-md); max-width: var(--container); }
.crave-head h2 { font-size: clamp(2rem, 3.4vw, 3rem); color: var(--color-on-mat); }
.crave-tabs { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.crave-tabs button { min-height: 44px; padding: 0 var(--space-md); border: 1px solid color-mix(in oklab, var(--color-on-mat) 55%, transparent); border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-mat-2) 45%, transparent); color: var(--color-on-mat); font-size: var(--text-md); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.crave-tabs button:hover { background: var(--color-mat); }
.crave-tabs button[aria-pressed="true"] { background: var(--color-on-mat); border-color: var(--color-on-mat); color: var(--color-mat-2); }
.crave { display: grid; gap: var(--space-md); margin: 0; }
.crave img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-card); }
.crave figcaption { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-xs) var(--space-lg); align-items: end; animation: rise 600ms var(--ease-out) both; }
.crave h3 { font-size: clamp(2.5rem, 8vw, 7.5rem); line-height: 1; text-transform: uppercase; }
.crave b { font-family: var(--font-display); font-size: clamp(2rem, 4.6vw, 4.25rem); font-weight: 400; line-height: 1; white-space: nowrap; }
.crave p { grid-column: 1; max-width: 40ch; color: var(--color-on-mat); }
.crave .btn { grid-column: 2; grid-row: 2; justify-self: end; }

/* set by app.js; without it the dishes simply stack */
.pin { height: 480svh; }
.pin .stage { position: sticky; top: 0; height: 100svh; min-height: 560px; padding: 0; overflow: clip; display: block; isolation: isolate; }
.pin .stage > .gl-canvas { z-index: 1; }
.pin .stage::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, color-mix(in oklab, var(--color-mat-2) 78%, transparent) 0%, transparent 28%, transparent 46%, color-mix(in oklab, var(--color-mat-2) 72%, transparent) 72%, var(--color-mat-2) 100%); }
.pin .crave { position: absolute; inset: 0; display: block; }
.pin .crave:not([hidden]) { z-index: 3; pointer-events: none; }
.pin .crave img { position: absolute; inset: 0; z-index: -1; height: 100%; aspect-ratio: auto; border-radius: 0; animation: plate 800ms var(--ease-out) both; }
.pin .gl-on .crave img { visibility: hidden; }
.pin .crave figcaption { position: absolute; inset: auto 0 0; z-index: 3; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding: 0 var(--gutter) var(--space-xl); pointer-events: auto; }
.pin .crave-head { position: absolute; inset: 0 0 auto; z-index: 4; margin-inline: auto; max-width: calc(var(--container) + 2 * var(--gutter)); padding: var(--space-xl) var(--gutter) 0; }
@keyframes plate { from { opacity: 0; transform: scale(1.05); } }

/* proof */
.proof { position: relative; padding-block: var(--section-gap-s); background: var(--color-paper-2); overflow: clip; }
.proof::before { content: ""; position: absolute; right: -6%; top: 50%; width: min(52vw, 620px); aspect-ratio: 44 / 64; translate: 0 -50%; background: var(--color-olive); opacity: .16; -webkit-mask: url("assets/logo-mark.png") center / contain no-repeat; mask: url("assets/logo-mark.png") center / contain no-repeat; pointer-events: none; }
.proof > .container { position: relative; }
.proof-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; }
.proof-copy { display: grid; gap: var(--space-lg); justify-items: start; }
.score { display: grid; }
.score b { font-family: var(--font-display); font-size: clamp(7rem, 17vw, 14rem); font-weight: 400; line-height: 0.9; color: var(--color-mat); }
.score span { font-size: var(--text-lead); }
blockquote { margin: 0; font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.25; max-width: 26ch; }
cite { display: block; margin-top: var(--space-sm); font: 400 var(--text-sm)/1.5 var(--font-body); color: var(--color-ink-2); }
.proof-pics { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-md); align-items: center; }
.proof-pics img { width: 100%; object-fit: cover; border-radius: var(--radius-card); }
.proof-pics img:first-child { aspect-ratio: 720 / 563; }
.proof-pics img:nth-child(2) { aspect-ratio: 3 / 4; }

/* reels from Grove's Instagram */
.reels { padding-block: var(--section-gap-s); background-color: var(--color-mat); color: var(--color-on-mat); }
.reels-head { display: flex; align-items: end; justify-content: space-between; gap: var(--space-md); margin-bottom: var(--space-lg); }
.reels h2 { margin: 0; font-size: var(--text-section); color: var(--color-on-mat); }
.reels-ig { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-on-mat); font-size: var(--text-sm); text-underline-offset: 4px; white-space: nowrap; }
.reel-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); }
.reel { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-card); background: var(--color-mat-2) center / cover no-repeat; }
.reel video { -webkit-touch-callout: none; user-select: none; }
.reel video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.reel figcaption { position: absolute; inset: auto 0 0; padding: var(--space-xl) var(--space-md) var(--space-md); background: linear-gradient(transparent, color-mix(in oklab, var(--color-mat-2) 88%, transparent)); font-size: var(--text-sm); font-weight: 500; pointer-events: none; }
.reel-bars { display: none; }
.reel--tap::after { content: ""; position: absolute; top: 50%; left: 50%; width: 68px; height: 68px; translate: -50% -50%; border: 1px solid color-mix(in oklab, var(--color-on-mat) 45%, transparent); border-radius: 50%; background: color-mix(in oklab, var(--color-mat-2) 55%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e6ddcc' d='M9 5.5v13l10-6.5z'/%3E%3C/svg%3E") center / 28px no-repeat; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; }

/* garden */
.garden { background: var(--color-mat-2); color: var(--color-on-mat); }
.garden-photo { position: relative; margin: 0; }
.garden-photo img { width: 100%; height: min(86svh, 780px); object-fit: cover; object-position: 50% 60%; }
.garden h2 { grid-column: 1 / -1; font-size: var(--text-display); color: var(--color-on-mat); }
.garden-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); padding-block: var(--space-2xl) var(--section-gap-s); align-items: center; }
.garden-copy { display: grid; gap: var(--space-xl); }
.garden .big { font-size: clamp(1.75rem, 3.4vw, 3rem); }
.facts { margin: 0; padding: 0; list-style: none; }
.facts li { padding-block: var(--space-md); border-top: 1px solid var(--color-muted); color: var(--color-on-mat); font-size: var(--text-lead); }
.room { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card); }

/* menu: built like Grove's printed page, a double rule around it */
.menu { padding-block: var(--section-gap-s); background: var(--color-mat); }
.menu-page { position: relative; padding: var(--space-2xl) clamp(var(--space-lg), 5vw, var(--space-3xl)); background: var(--color-paper-3); border: 1px solid var(--color-mat); outline: 3px solid var(--color-mat); outline-offset: 5px; }
.menu-head { display: grid; gap: var(--space-xs); justify-items: center; text-align: center; margin-bottom: var(--space-xl); }
.menu-head h2 { font-size: var(--text-display); }
.menu-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-2xl); align-items: start; }
.sec { border-top: 1px solid var(--color-rule); }
.sec summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 64px; font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-olive-ink); text-transform: uppercase; cursor: pointer; list-style: none; }
.sec summary::-webkit-details-marker { display: none; }
.sec summary::after { content: "+"; font-family: var(--font-body); font-size: var(--text-xl); transition: transform var(--dur-short) var(--ease-out); }
.sec[open] summary::after { transform: rotate(45deg); }
.sec summary:hover { color: var(--color-mat); }
.sec ul { margin: 0; padding: 0 0 var(--space-lg); list-style: none; display: grid; gap: var(--space-md); }
.sec li, .dl li { display: grid; grid-template-columns: 1fr auto; gap: 0 var(--space-md); }
.sec li b, .dl li b { font-weight: 500; }
.dl li { align-items: baseline; }
.sec li small, .dl li small { grid-column: 1 / -1; font-size: var(--text-sm); color: var(--color-muted); }
.ink { display: block; width: 260px; margin: var(--space-lg) auto 0; mix-blend-mode: multiply; }
.menu-acts { justify-content: center; margin-top: var(--space-md); }
.menu-note { margin-top: var(--space-lg); text-align: center; font-size: var(--text-sm); color: var(--color-muted); }

/* drinks: the menu's sideways head */
.drinks { padding-block: var(--section-gap-s); background: var(--color-mat); color: var(--color-on-mat); }
.drinks-grid { display: grid; grid-template-columns: auto minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: start; }
.drinks h2 { writing-mode: vertical-rl; rotate: 180deg; white-space: nowrap; justify-self: start; font-size: clamp(3rem, 5.4vw, 4.75rem); color: var(--color-on-mat); line-height: 1.25; }
.drinks-list { display: grid; gap: var(--space-lg); }
.dl { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: var(--space-xl); }
.dl li { break-inside: avoid; padding-block: var(--space-xs); border-bottom: 1px solid var(--color-muted); }
.drinks-photo { width: 100%; border-radius: var(--radius-card); overflow: clip; position: sticky; top: var(--space-xl); }
.drinks-photo img { width: 100%; height: auto; }

/* unlimited */
.unlimited { padding-block: var(--section-gap-s); }
.u-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: end; margin-bottom: var(--space-xl); }
.u-head h2 { font-size: clamp(2.5rem, 5vw, 4.75rem); }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.tier { display: grid; grid-template-rows: auto auto 1fr auto auto; background: var(--color-paper-3); border: 1px solid var(--color-rule); border-radius: var(--radius-card); overflow: clip; }
.tier h3 { padding: var(--space-lg); background: var(--color-mat); color: var(--color-on-mat); font-size: var(--text-2xl); }
.tier dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: var(--space-lg) var(--space-lg) 0; }
.tier dt { font-size: var(--text-sm); color: var(--color-muted); }
.tier dd { margin: 0; font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.1; }
.tier p { padding: var(--space-md) var(--space-lg) var(--space-lg); color: var(--color-ink-2); }
.tier .btn { justify-content: center; margin: 0 var(--space-lg) var(--space-lg); }
.tier--mid { background: var(--color-mat); border-color: var(--color-mat); color: var(--color-on-mat); --color-focus: var(--color-on-mat); }
.tier--mid dt, .tier--mid p { color: var(--color-on-mat-2); }
.tier--mid h3 { background: var(--color-mat-2); }
.tier--mid .btn { background: var(--color-on-mat); color: var(--color-mat); border-color: var(--color-on-mat); }
.tier--mid .btn:hover { background: var(--color-paper-3); }
.u-note { margin-top: var(--space-lg); color: var(--color-ink-2); }

/* visit */
.visit { padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; }
.visit-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card); }
.visit-copy { display: grid; gap: var(--space-lg); }
.visit h2 { font-size: clamp(2.5rem, 5vw, 4.75rem); }
.also { font-size: var(--text-sm); }
.status--ink { color: var(--color-mat); }
address { font-style: normal; font-size: var(--text-lead); max-width: 40ch; }
.hours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md) var(--space-xl); margin: 0; }
.hours dt { font-size: var(--text-sm); color: var(--color-muted); }
.hours dd { margin: 0; font-size: var(--text-lg); font-weight: 500; }

/* faq */
.faq { padding-block: var(--section-gap-s); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); }
.faq-head { display: grid; gap: var(--space-md); align-content: start; }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl); }
.faq-list h3 { margin-bottom: var(--space-2xs); font-size: var(--text-xl); line-height: 1.2; }
.faq-list p { color: var(--color-ink-2); }

/* booking */
dialog { width: min(100% - 32px, 480px); padding: var(--space-xl); border: 1px solid var(--color-mat); outline: 3px solid var(--color-mat); outline-offset: 4px; background: var(--color-paper-3); color: var(--color-ink); }
dialog::backdrop { background: color-mix(in oklab, var(--color-mat-2) 78%, transparent); }
dialog form { position: relative; display: grid; gap: var(--space-md); }
dialog h2 { font-size: var(--text-2xl); }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
dialog label { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); font-size: var(--text-sm); font-weight: 500; }
dialog input:not([type="checkbox"]), dialog select { width: 100%; min-height: 48px; padding: 0 var(--space-sm); border: 1px solid var(--color-ink-2); border-radius: var(--radius-card); background: var(--color-paper-3); color: var(--color-ink); font-size: var(--text-md); }
dialog .check { grid-template-columns: auto minmax(0, 1fr); align-items: center; min-height: 44px; font-weight: 400; }
.check input { width: 20px; height: 20px; accent-color: var(--color-mat); }
dialog .btn { justify-content: center; }
.x { position: absolute; right: -8px; top: -8px; width: 44px; height: 44px; border: 0; background: none; color: var(--color-ink); font-size: var(--text-xl); cursor: pointer; }
.x:hover { color: var(--color-olive-ink); }
.book-note { font-size: var(--text-sm); color: var(--color-ink-2); }

/* foot */
.foot { padding-block: var(--space-2xl); background: var(--color-mat-2); color: var(--color-on-mat); }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-xl); align-items: center; }
.mark { display: block; width: 44px; height: 64px; background: var(--color-olive); -webkit-mask: url("assets/logo-mark.png") center / contain no-repeat; mask: url("assets/logo-mark.png") center / contain no-repeat; }
.foot-line { font-family: var(--font-display); font-size: var(--text-xl); }
.foot-small { font-size: var(--text-sm); color: var(--color-on-mat-2); text-align: right; }

/* the garden opens as you reach it; the finished image is the base state */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 40rem) {
    .garden-photo img { animation: iris linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    @keyframes iris { from { clip-path: inset(10% 14% 0 14% round 8px); } to { clip-path: inset(0 0 0 0 round 0); } }
  }
}

/* Mexican page */
.top:has(+ main .mx-hero) { position: static; background: var(--color-mat-2); }
.mx-hero { display: grid; grid-template-columns: minmax(0, 1fr) min(100svh, 760px, 50vw); min-height: min(calc(100svh - 108px), 760px); background: var(--color-mat-2); color: var(--color-on-mat); --color-focus: var(--color-on-mat); }
.mx-hero-text { display: grid; gap: var(--space-md); justify-items: start; align-content: end; padding: var(--space-xl) var(--space-xl) var(--space-2xl) max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
.mx-hero h1 { font-size: clamp(2.5rem, 4.2vw, 4.5rem); color: var(--color-on-mat); animation: rise 1s var(--ease-out) both; }
.mx-hero picture { position: relative; display: block; overflow: clip; }
.mx-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: settle 1.8s var(--ease-out) both; }
.mx-menu { padding-block: var(--section-gap-s); }
.mx-menu-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: start; }
.mx-menu-list { display: grid; gap: var(--space-md); }
.mx-menu-list h3 { margin-top: var(--space-lg); font-size: var(--text-2xl); color: var(--color-mat); }
.mx-list { margin: 0; padding: 0; list-style: none; }
.mx-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 var(--space-md); padding-block: var(--space-md); border-top: 1px solid var(--color-rule); }
.mx-list span { font-size: var(--text-lg); font-weight: 500; }
.mx-list b { font-size: var(--text-lg); font-weight: 500; }
.mx-list small { grid-column: 1 / -1; font-size: var(--text-sm); color: var(--color-muted); }
.mx-menu .menu-note { text-align: left; }
.mx-tacos { position: sticky; top: var(--space-xl); width: 100%; border-radius: var(--radius-card); }
.mx-order { padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.mx-order-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; }
.mx-order img { width: 100%; max-height: 560px; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-card); }
.mx-order h2 { margin-bottom: var(--space-md); font-size: clamp(2.5rem, 5vw, 4.75rem); }
.mx-night { width: 100%; height: min(70svh, 640px); object-fit: cover; object-position: 50% 60%; }
.mx-night-text { display: grid; gap: var(--space-md); justify-items: start; padding-block: var(--space-2xl); }
.mx-night-text h2 { font-size: var(--text-display); color: var(--color-on-mat); }
.mx-night-text p { font-size: var(--text-lead); }

/* Birthday page */
.calc { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: end; margin: 0; }
.calc > label { display: grid; gap: var(--space-2xs); font-size: var(--text-sm); font-weight: 500; }
.calc input[type="number"] { width: 112px; min-height: 48px; padding: 0 var(--space-sm); border: 1px solid var(--color-ink-2); border-radius: var(--radius-card); background: var(--color-paper-3); color: var(--color-ink); font-size: var(--text-md); }
.calc fieldset { display: flex; margin: 0; padding: 0; border: 0; }
.calc legend { margin-bottom: var(--space-2xs); padding: 0; font-size: var(--text-sm); font-weight: 500; }
.calc input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.calc fieldset label { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-md); border: 1px solid var(--color-ink-2); cursor: pointer; }
.calc fieldset label:first-of-type { border-radius: var(--radius-card) 0 0 var(--radius-card); }
.calc fieldset label:last-of-type { border-left: 0; border-radius: 0 var(--radius-card) var(--radius-card) 0; }
.calc input:checked + label { background: var(--color-mat); color: var(--color-on-mat); }
.calc input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.tier .tier-total { padding-block: 0 var(--space-lg); font-weight: 600; color: var(--color-ink); }
.tier--mid .tier-total { color: var(--color-on-mat); }
.bd-acts { margin-top: var(--space-lg); }
.bd-place { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; padding-block: var(--section-gap-s); }
.bd-place .mx-night-text { padding-block: 0; }
.bd-place .mx-night-text h2 { font-size: clamp(2.5rem, 5vw, 4.75rem); }
.bd-place img { width: 100%; border-radius: var(--radius-card); }

/* Landing pages */
.pl-sec { padding-block: var(--section-gap-s); }
.pl-sec h2 { margin-bottom: var(--space-xl); font-size: clamp(2.5rem, 5vw, 4.75rem); }
.pl-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: var(--gap-columns); align-items: start; }
.pl { margin: 0; }
.pl img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card); }
.pl:first-child img { aspect-ratio: 6 / 5; }
.pl h3 { margin-top: var(--space-md); font-size: var(--text-xl); }
.pl p { color: var(--color-ink-2); }
.kd { padding-block: var(--section-gap-s); }
.kd h2 { margin-bottom: var(--space-xl); font-size: clamp(2.5rem, 5vw, 4.75rem); }
.kd-list { margin: 0; padding: 0; list-style: none; }
.kd-list a { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; gap: var(--space-xs) var(--space-lg); align-items: baseline; min-height: 88px; padding-block: var(--space-md); border-top: 1px solid var(--color-rule); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.kd-list a:hover { color: var(--color-olive-ink); }
.kd-list span { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.25rem); }
.kd-list small { font-size: var(--text-md); color: var(--color-ink-2); }
.kd-list b { font-weight: 500; font-size: var(--text-lg); }
.kd-room { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-card); }
.pv { padding-block: var(--section-gap-s); background: var(--color-mat); color: var(--color-on-mat); }
.pv-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; }
.pv .score b { color: var(--color-on-mat); }
.facts-dark { margin: 0; padding: 0; list-style: none; }
.facts-dark li { padding-block: var(--space-md); border-top: 1px solid var(--color-olive); font-size: var(--text-lead); }
.mx-order .mx-list { margin-top: var(--space-md); }
.mx-order .mx-list li { border-color: var(--color-muted); }
.foot-pages { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-lg); grid-column: 1 / -1; order: 3; font-size: var(--text-sm); }
.foot-pages a { display: inline-flex; align-items: center; min-height: 44px; }

/* sections arrive as you reach them; the finished page is the base state */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .proof-copy, .proof-pics, .menu-page, .drinks-list, .tiers, .faq-grid, .visit-grid, .mx-menu-grid, .mx-order-grid, .kd-list, .pl-grid {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 45%;
    }
  }
}

.io-reveal :is(.proof-copy, .proof-pics, .menu-page, .drinks-list, .tiers, .faq-grid, .visit-grid, .mx-menu-grid, .mx-order-grid, .kd-list, .pl-grid, .garden-copy, .room):not(.in) { opacity: 0; transform: translateY(24px); }
.io-reveal :is(.proof-copy, .proof-pics, .menu-page, .drinks-list, .tiers, .faq-grid, .visit-grid, .mx-menu-grid, .mx-order-grid, .kd-list, .pl-grid, .garden-copy, .room) { transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }

/* phone bar */
.bar { display: none; }

/* call and WhatsApp, always one tap away */
.fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(24px + env(safe-area-inset-bottom)); z-index: var(--z-sticky); display: flex; flex-direction: column; gap: 12px; transition: bottom 560ms cubic-bezier(.34, 1.4, .64, 1); }
.fab a { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; text-decoration: none; box-shadow: 0 8px 24px color-mix(in oklab, var(--color-mat-2) 40%, transparent); transition: transform var(--dur-micro) var(--ease-out); }
.fab a:hover { transform: scale(1.06); }
.fab a:active { transform: scale(.94); }
.fab a:focus-visible { outline: 3px solid var(--color-olive); outline-offset: 3px; }
.fab svg { width: 26px; height: 26px; }
.fab-wa { background: #25d366; color: #fff; }
.fab-call { background: var(--color-mat-2); color: var(--color-on-mat); border: 1px solid color-mix(in oklab, var(--color-on-mat) 28%, transparent); }
.fab-call svg { width: 22px; height: 22px; }
@media (prefers-reduced-motion: no-preference) {
  .fab a { animation: fab-in 600ms var(--ease-out) both; }
  .fab a + a { animation-delay: 90ms; }
  .fab-wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 #25d366; animation: fab-ping 2.4s 1.2s 3 var(--ease-out); pointer-events: none; }
}
@keyframes fab-in { from { opacity: 0; transform: translateY(16px) scale(.8); } }
@keyframes fab-ping { 70%, 100% { box-shadow: 0 0 0 14px transparent; } }
@media print { .fab { display: none; } }
/* mouse screens can't place calls: WhatsApp only, small, in the page margin (fab-desk) */
@media (hover: hover) and (pointer: fine) and (min-width: 40rem) {
  .fab { right: 10px; bottom: calc(16px + env(safe-area-inset-bottom)); }
  .fab-call { display: none !important; }
  .fab a { width: 48px; height: 48px; }
  .fab svg { width: 24px; height: 24px; }
}

@media (max-width: 60rem) {
  .links { display: none; }
  .top-in { padding: var(--space-sm) var(--space-md); justify-content: space-between; }
  .brand img { width: 60px; height: 60px; }
    .hero { height: 100svh; min-height: 600px; max-height: none; }
  .hero > .gl-canvas, .hero-img { height: 76%; }
  .hero::before { background: linear-gradient(180deg, color-mix(in oklab, var(--color-mat-2) 82%, transparent) 0%, color-mix(in oklab, var(--color-mat-2) 36%, transparent) 26%, transparent 38%, transparent 60%, var(--color-mat-2) 76%); }
  .hero-text { padding: 92px var(--gutter) var(--space-lg); }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 6rem); }
  .hero .acts .btn, .mx-hero .acts .btn { flex: 1 1 0; justify-content: center; padding-inline: var(--space-sm); }
  .crave-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .crave-tabs button { flex: none; }
  .crave h3 { font-size: clamp(2.25rem, 11vw, 5rem); }
  .crave p { grid-column: 1 / -1; }
  .crave .btn { grid-column: 1 / -1; grid-row: auto; justify-self: start; }
  .pin .crave figcaption { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .proof::before { opacity: .1; }
  .garden-grid, .u-head, .visit-grid, .drinks-grid, .proof-grid, .faq-grid, .mx-menu-grid, .mx-order-grid, .bd-place, .pv-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .mx-hero { display: flex; flex-direction: column-reverse; min-height: 0; }
  .mx-hero img { position: static; height: 52svh; object-position: 60% 50%; }
  .mx-hero-text { padding: var(--space-lg) var(--gutter) var(--space-xl); }
  .mx-hero h1 { font-size: clamp(2.25rem, 9.5vw, 4.5rem); }
  .mx-tacos { position: static; aspect-ratio: 5 / 4; object-fit: cover; object-position: 80% 50%; }
  .mx-night { height: 46svh; }
  .garden-photo img { height: 62svh; object-position: 50% 100%; }
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .pl-grid { grid-template-columns: minmax(0, 1fr); }
  .pl:first-child img, .pl img { aspect-ratio: 5 / 4; }
  .kd-list a { grid-template-columns: minmax(0, 1fr) auto; }
  .kd-list small { grid-column: 1 / -1; grid-row: 2; }
  .menu-cols { grid-template-columns: minmax(0, 1fr); }
  .ink { display: none; }
  .drinks h2 { writing-mode: horizontal-tb; rotate: none; white-space: normal; font-size: var(--text-section); }
  .drinks-photo { position: static; }
  .room, .visit-photo { aspect-ratio: 5 / 4; }
  .foot-in { grid-template-columns: auto 1fr; }
  .foot-small { grid-column: 1 / -1; text-align: left; }
  .top-book { display: none; }
  .top-status { display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--space-sm); border: 1px solid color-mix(in oklab, var(--color-on-mat) 40%, transparent); border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-mat-2) 55%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: var(--text-xs); font-weight: 500; }
  .trust .status { display: none; }
  .foot { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .bar { position: fixed; inset: auto 12px calc(12px + env(safe-area-inset-bottom)); z-index: var(--z-sticky); display: grid; grid-template-columns: 1fr 1fr 1.25fr; align-items: center; gap: 4px; padding: 6px; border: 1px solid color-mix(in oklab, var(--color-on-mat) 22%, transparent); border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-mat-2) 84%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 10px 30px color-mix(in oklab, var(--color-mat-2) 45%, transparent); transition: transform 560ms cubic-bezier(.34, 1.4, .64, 1), opacity var(--dur-short) var(--ease-out); }
  .bar--wait:not(.bar--on) { transform: translateY(calc(100% + 40px)); opacity: 0; pointer-events: none; }
  .bar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: var(--radius-pill); color: var(--color-on-mat); font-size: var(--text-sm); font-weight: 500; text-decoration: none; transition: transform var(--dur-micro) var(--ease-out); }
  .bar a:active { transform: scale(.96); }
  .bar .bar-call { background: var(--color-on-mat); color: var(--color-mat-2); }
  .bar a:focus-visible { outline-color: var(--color-on-mat); }
  /* the buttons ride above the dock once it slides in */
  .fab { right: 14px; bottom: calc(16px + env(safe-area-inset-bottom)); gap: 10px; }
  .fab a { width: 52px; height: 52px; }
  body:has(.bar--on) .fab, body:has(.bar:not(.bar--wait)) .fab { bottom: calc(88px + env(safe-area-inset-bottom)); }
}
@media (max-width: 40rem) {
  .menu-page { padding: var(--space-xl) var(--space-md); outline-offset: 3px; outline-width: 2px; }
  .dl { columns: 1; }
  .hours, .faq-list { grid-template-columns: minmax(0, 1fr); }
  .acts .btn { flex: 1 1 100%; justify-content: center; }
  dialog { padding: var(--space-lg); }
}

/* Phones are the main audience: this is the designed layout, not a shrunk one. */
@media (max-width: 40rem) {
  :root { --gutter: 20px; --section-gap-s: 72px; }
  h2 { font-size: clamp(2.5rem, 11.5vw, 3.25rem); }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .hero .hero-text { padding-top: 96px; padding-bottom: calc(var(--space-lg) + env(safe-area-inset-bottom)); }
  .hero-foot { gap: var(--space-sm); }
  .mx-hero h1 { font-size: clamp(2.5rem, 11.5vw, 3.25rem); }

  /* dishes: the name gets the full width, and the poster lettering stays out of frame */
  .crave figcaption { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .crave h3, .crave b, .crave p { grid-column: 1; }
  .crave b { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  .crave .btn { grid-column: 1; margin-top: var(--space-sm); }

  /* dish progress */
  .pin .stage-progress { display: block; height: 2px; margin-bottom: var(--space-2xs); background: var(--color-on-mat); transform: scaleX(.2); transform-origin: left; transition: transform var(--dur-long) var(--ease-out); }

  /* real tables, swiped sideways */
  .proof-pics { display: flex; gap: var(--space-sm); overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .proof-pics::-webkit-scrollbar { display: none; }
  .reels-head { flex-direction: column; align-items: start; gap: var(--space-xs); }
  .reel-rail { display: flex; gap: var(--space-sm); overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .reel-rail::-webkit-scrollbar { display: none; }
  .reel { flex: none; width: 72%; scroll-snap-align: start; transition: transform 420ms var(--ease-out), opacity 420ms var(--ease-out); }
  .reel:not(.is-on) { opacity: .5; transform: scale(.94); }
  .reel-bars { display: flex; gap: 4px; margin-block: calc(var(--space-xs) * -1) 0; }
  .foot-small { line-height: 2.4; }
  .reel-bars button { flex: 1; height: 36px; padding: 16px 0; border: 0; background: color-mix(in oklab, var(--color-on-mat) 22%, transparent) content-box; cursor: pointer; }
  .reel-bars i { display: block; height: 100%; background: var(--color-on-mat); transform: scaleX(0); transform-origin: left; }
  .proof-pics img, .proof-pics img:first-child, .proof-pics img:nth-child(2) { display: block; flex: none; width: 80%; height: auto; aspect-ratio: 4 / 5; scroll-snap-align: start; }

  /* a dish at the top of a menu section */
  .has-chips .sec[open] .sec-cover { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-top: var(--space-md); border-radius: 10px; }

  /* garden: the photo carries the head */
  .garden-photo::after { content: ""; position: absolute; inset: 40% 0 0; pointer-events: none; background: linear-gradient(180deg, transparent, var(--color-mat-2)); }
  .garden-photo img { height: 78svh; }
  .garden-grid { padding-top: 0; gap: var(--space-lg); }
  .garden h2 { position: relative; margin-top: -116px; font-size: clamp(2.75rem, 13vw, 3.5rem); }
  .facts li { padding-block: var(--space-sm); font-size: var(--text-md); }

  /* menu: full-width paper, one section at a time */
  .menu { padding-block: 0; background: var(--color-paper-3); }
  .menu .container { padding-inline: 0; }
  .menu-page { padding: var(--space-2xl) 0 var(--space-xl); border: 0; outline: 0; }
  .menu-head { padding-inline: var(--gutter); margin-bottom: var(--space-md); }
  .menu-head p { display: none; }
  .menu-cols { padding-inline: var(--gutter); }
  .has-chips .menu-chips { position: sticky; top: 0; z-index: var(--z-raised); display: flex; gap: var(--space-xs); overflow-x: auto; padding: var(--space-sm) var(--gutter); background: var(--color-paper-3); border-bottom: 1px solid var(--color-rule); scrollbar-width: none; }
  .menu-chips::-webkit-scrollbar, .tiers::-webkit-scrollbar, .crave-tabs::-webkit-scrollbar { display: none; }
  .menu-chips button { flex: none; min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: none; color: var(--color-ink); font-size: var(--text-sm); font-weight: 500; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
  .menu-chips button[aria-pressed="true"] { background: var(--color-mat); border-color: var(--color-mat); color: var(--color-on-mat); }
  .has-chips .sec { border: 0; }
  .has-chips .sec summary { display: none; }
  .has-chips .sec:not([open]) { display: none; }
  .has-chips .sec ul { padding-top: var(--space-md); }
  .sec li { padding-block: var(--space-2xs); }
  .sec li span { font-size: 1.0625rem; font-weight: 500; }
  .sec li small { font-size: var(--text-sm); line-height: 1.45; }
  .menu-note { padding-inline: var(--gutter); }
  .menu-acts { padding-inline: var(--gutter); }

  /* drinks: picture first */
  .drinks-grid { gap: var(--space-lg); }
  .drinks-photo { order: -1; margin-inline: calc(var(--gutter) * -1); border-radius: 0; }
  .drinks h2 { order: -2; }
  .dl.short li:nth-child(n+7) { display: none; }
  .more { display: inline-flex; justify-content: center; }

  /* packages: swipe between them */
  .tiers { grid-template-columns: repeat(3, 84%); gap: var(--space-sm); overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) var(--space-xs); scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .tier { scroll-snap-align: start; }
  .u-head { gap: var(--space-md); }

  /* questions fold */
  .faq-list { gap: 0; }
  .faq-list.fold > div { border-top: 1px solid var(--color-rule); }
  .faq-list.fold h3 { margin: 0; }
  .faq-q { all: unset; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-md); width: 100%; min-height: 64px; padding-block: var(--space-sm); cursor: pointer; }
  .faq-q:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
  .faq-q::after { content: "+"; flex: none; font-family: var(--font-body); transition: transform var(--dur-short) var(--ease-out); }
  .faq-list.fold .open .faq-q::after { content: "−"; }
  .faq-list.fold p { display: none; padding-bottom: var(--space-md); }
  .faq-list.fold .open p { display: block; }

  /* visit: facts side by side, actions side by side */
  .hours { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm) var(--space-md); }
  .hours dd { font-size: var(--text-md); }
  .acts .btn { flex: 1 1 0; justify-content: center; padding-inline: var(--space-sm); }
  .crave .btn, .tier .btn { flex: none; }

  /* footer links as a list */
  .foot-pages { flex-direction: column; gap: 0; }

  /* booking: a sheet from the bottom */
  dialog { position: fixed; inset: auto 0 0; width: 100%; max-width: none; margin: 0; padding: var(--space-xl) var(--gutter) calc(var(--space-lg) + env(safe-area-inset-bottom)); border: 0; outline: 0; border-radius: 20px 20px 0 0; }
  dialog[open] { animation: sheet var(--dur-long) var(--ease-out); }
  dialog::before { content: ""; position: absolute; top: 10px; left: 50%; width: 40px; height: 4px; translate: -50% 0; border-radius: var(--radius-pill); background: var(--color-rule); }
  @keyframes sheet { from { transform: translateY(100%); } }
}
