/* El Pueblo #2 — cinematic restaurant site (static, no build). v02: film hero, Anton + Manrope, warm gradient fields, scroll choreography. */
@property --a1 { syntax: '<color>'; inherits: true; initial-value: #f3dfb4; }
@property --a2 { syntax: '<color>'; inherits: true; initial-value: #cfe1f6; }
@property --a3 { syntax: '<color>'; inherits: true; initial-value: #f4d3d0; }
@property --amp { syntax: '<number>'; inherits: true; initial-value: 1; }

:root {
  --ivory: #f8f4ec; --cloud: #fdfbf7; --ink: #171419; --ink-soft: #46414a; --ink-mute: #6b6670; --ink-warm: #1a1512;
  --burgundy: #8a1f2b; --burgundy-deep: #6e1722; --blue: #2b5fb3; --blue-deep: #1f4588; --yellow: #f0b429; --gold: #d9a441; --champagne: #e8cf9c; --red: #c0392b;
  --line: rgba(23, 20, 25, .12);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-inout: cubic-bezier(.65, 0, .25, 1);
  --ease-settle: cubic-bezier(.16, 1, .3, 1);
  --d-ctl: 220ms; --d-enter: 900ms; --d-scene: 1200ms;
  --amp: 1;
  --a1: #f3dfb4; --a2: #cfe1f6; --a3: #f4d3d0;
  --pad: clamp(20px, 5vw, 80px);
  --wide: 1440px; --content: 1280px;
  --nav-h: 68px;
  --font-display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  transition: --a1 1.4s var(--ease-inout), --a2 1.4s var(--ease-inout), --a3 1.4s var(--ease-inout), --amp 2.4s var(--ease-inout);
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
html.reduce-motion { scroll-behavior: auto; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--font-body); font-size: 1.02rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; transform: translateY(-200%); transition: transform var(--d-ctl); text-decoration: none; }
.skip-link:focus { transform: none; }
.no-js .js-only { display: none; }

/* ---------- Atmosphere: aurora layers, static grain, gradient fields, cursor glow ---------- */
.atmosphere { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora { position: absolute; width: 74vmax; height: 74vmax; border-radius: 50%; opacity: .55; will-change: transform;
  background: radial-gradient(circle at 50% 50%, var(--c) 0%, color-mix(in srgb, var(--c) 45%, transparent) 32%, transparent 66%); }
.aurora-1 { --c: var(--a1); top: -30vmax; left: -24vmax; animation: drift-1 24s var(--ease-inout) infinite alternate; }
.aurora-2 { --c: var(--a2); top: 16vh; right: -32vmax; animation: drift-2 28s var(--ease-inout) infinite alternate; }
.aurora-3 { --c: var(--a3); bottom: -40vmax; left: 16vw; animation: drift-3 20s var(--ease-inout) infinite alternate; }
@keyframes drift-1 { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(calc(14vw * var(--amp)), calc(10vh * var(--amp)), 0) scale(1.12); } }
@keyframes drift-2 { from { transform: translate3d(0, 0, 0) scale(1.05); } to { transform: translate3d(calc(-12vw * var(--amp)), calc(16vh * var(--amp)), 0) scale(.95); } }
@keyframes drift-3 { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(calc(10vw * var(--amp)), calc(-12vh * var(--amp)), 0) scale(1.1); } }
.grain { position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
html.is-hidden .aurora, html.reduce-motion .aurora { animation-play-state: paused; }
html.reduce-motion .aurora { animation: none; }
.cursor-glow { position: fixed; left: 0; top: 0; z-index: 1; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, color-mix(in srgb, var(--champagne) 40%, transparent) 0%, color-mix(in srgb, var(--blue) 8%, transparent) 40%, transparent 68%);
  transition: opacity .6s; will-change: transform; }
html.has-pointer:not(.reduce-motion) .cursor-glow.is-on { opacity: 1; }
/* Gradient fields: large, soft, pre-blurred radial gradients (no filter animation); they drift slowly with scrolling through data-depth */
.fields { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.field { position: absolute; display: block; width: 70vmax; height: 70vmax; border-radius: 50%; will-change: transform; }
.field-a { left: -28vmax; top: -10vmax; background: radial-gradient(circle, color-mix(in srgb, var(--champagne) 70%, transparent) 0%, color-mix(in srgb, var(--gold) 26%, transparent) 30%, transparent 64%); }
.field-b { right: -30vmax; top: 10%; background: radial-gradient(circle, color-mix(in srgb, var(--burgundy) 22%, transparent) 0%, color-mix(in srgb, var(--champagne) 40%, transparent) 34%, transparent 66%); }
.field-c { right: -22vmax; bottom: -30vmax; background: radial-gradient(circle, color-mix(in srgb, var(--blue) 18%, transparent) 0%, color-mix(in srgb, #cfe1f6 50%, transparent) 32%, transparent 64%); }
@media (max-width: 899px) { .aurora-3 { display: none; } .aurora { opacity: .45; } .field { width: 90vmax; height: 90vmax; } }

/* ---------- Navigation ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 28px; min-height: var(--nav-h); padding: 14px var(--pad);
  background: color-mix(in srgb, var(--ivory) 55%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent; transition: padding var(--d-ctl) var(--ease-out), background .5s, border-color .5s; }
.nav.is-compact { padding: 8px var(--pad); min-height: 54px; background: color-mix(in srgb, var(--ivory) 84%, transparent); border-bottom-color: var(--line); }
.nav-progress { position: absolute; top: 0; left: 0; right: 0; height: 2px; }
.nav-progress span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--burgundy), var(--gold) 60%, var(--blue)); }
.nav-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; transition: font-size var(--d-ctl); }
.nav.is-compact .nav-brand { font-size: 1.15rem; }
.nav-mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--burgundy); color: var(--ivory); font-size: .85rem; letter-spacing: 0; }
.nav-links { position: relative; display: flex; gap: 22px; margin-left: auto; }
.nav-links a { position: relative; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); padding: 8px 2px; text-decoration: none; transition: color .3s; }
.nav-links a.is-active { color: var(--ink); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--burgundy); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }
.nav-marker { position: absolute; bottom: 2px; left: 0; height: 2px; width: 0; border-radius: 2px; background: linear-gradient(90deg, var(--burgundy), var(--gold)); transition: transform .5s var(--ease-settle), width .5s var(--ease-settle), opacity .3s; opacity: 0; }
.nav-marker.is-on { opacity: 1; }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.nav-order { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--burgundy); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; transition: background var(--d-ctl), transform var(--d-ctl) var(--ease-out); }
.nav-order:hover { background: var(--burgundy-deep); transform: translateY(-1px); }
.motion-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--cloud) 70%, transparent); font-size: .78rem; font-weight: 700; letter-spacing: .04em; cursor: pointer; transition: background var(--d-ctl), border-color var(--d-ctl); }
.motion-toggle:hover { border-color: var(--ink-mute); }
.motion-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 25%, transparent); transition: background .3s, box-shadow .3s; }
.motion-toggle[aria-pressed="false"] .motion-dot { background: var(--ink-mute); box-shadow: none; }
.nav-menu { display: none; padding: 9px 14px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--cloud) 70%, transparent); font-size: .78rem; font-weight: 700; letter-spacing: .04em; cursor: pointer; }
.nav-panel { position: absolute; top: 100%; left: 0; right: 0; display: grid; gap: 2px; padding: 8px var(--pad) 18px; background: color-mix(in srgb, var(--ivory) 95%, transparent); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.nav-panel a { padding: 13px 4px; font-weight: 700; text-decoration: none; border-top: 1px solid var(--line); }
.nav-panel[hidden] { display: none; }
@media (max-width: 1099px) { .nav-order-ext { display: none; } }
@media (max-width: 899px) {
  .nav { gap: 14px; }
  .nav-links { display: none; }
  .nav-menu { display: inline-flex; align-items: center; }
  .motion-label { display: none; }
  .motion-toggle { padding: 0; width: 44px; height: 44px; justify-content: center; }
  .nav-order { min-height: 44px; }
}

/* ---------- Type system ---------- */
main { position: relative; z-index: 1; }
.eyebrow { font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--burgundy); margin: 0 0 16px; }
.section-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.7rem, 7.4vw, 7.6rem); line-height: .94; letter-spacing: .005em; text-transform: uppercase; margin: 0 0 22px; text-wrap: balance; max-width: 14ch; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.32rem); line-height: 1.55; margin: 0 0 24px; max-width: 38ch; text-wrap: pretty; }
p { max-width: 62ch; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; font-weight: 700; font-size: .94rem; cursor: pointer; transition: transform var(--d-ctl) var(--ease-out), background var(--d-ctl), border-color var(--d-ctl), box-shadow var(--d-ctl); }
.button-inner { display: inline-flex; align-items: center; gap: 10px; transition: transform .25s var(--ease-out); will-change: transform; pointer-events: none; }
.button-primary { background: var(--burgundy); color: #fff; }
.button-primary:hover { background: var(--burgundy-deep); transform: translateY(-1px); box-shadow: 0 12px 26px -14px rgba(138, 31, 43, .75); }
.button-ghost { background: color-mix(in srgb, var(--cloud) 70%, transparent); border-color: var(--line); color: var(--ink); }
.button-ghost:hover { border-color: var(--ink-mute); transform: translateY(-1px); }
.button-glass { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .45); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.button-glass:hover { background: rgba(255, 255, 255, .26); transform: translateY(-1px); }
.button .ext { font-size: .9em; opacity: .8; }
.link-btn { padding: 0; border: 0; background: none; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 600; }
.link-btn:hover { color: var(--burgundy); }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: color-mix(in srgb, var(--cloud) 85%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: inline-grid; place-items: center; cursor: pointer; transition: background var(--d-ctl), transform var(--d-ctl) var(--ease-out), border-color var(--d-ctl); }
.round-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.round-btn:hover { background: var(--cloud); border-color: var(--ink-mute); transform: translateY(-1px); }
.round-btn:disabled { opacity: .35; cursor: default; transform: none; }
.footer a, .visit-note a, .hero-facts a { position: relative; text-decoration: none; }
.footer a::after, .visit-note a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.footer a:hover::after, .visit-note a:hover::after, .footer a:focus-visible::after, .visit-note a:focus-visible::after { transform: scaleX(1); }

/* Reveal families */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform 1.05s var(--ease-settle); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal[data-reveal="fade"] { transform: none; }
.reveal[data-reveal="scale"] { transform: scale(.96) translateY(14px); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal, html.reduce-motion .reveal { opacity: 1; transform: none; transition: none; }
/* Masked lines: hero/brand heading lines and the measured [data-lines] headlines */
.line { display: block; overflow: hidden; padding: .06em .1em .12em 0; margin: -.06em -.1em -.12em 0; }
.line-inner { display: block; transform: translateY(112%); transition: transform 1.15s var(--ease-settle); }
.line:nth-child(2) .line-inner { transition-delay: .13s; }
.is-in .line-inner { transform: none; }
html.reduce-motion .line-inner, .no-js .line-inner { transform: none; transition: none; }
[data-lines] .ln { display: block; overflow: hidden; padding: .04em .06em .1em 0; margin: -.04em -.06em -.1em 0; }
[data-lines] .ln-in { display: block; transform: translateY(108%); opacity: 0; transition: transform 1s var(--ease-settle), opacity .5s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
[data-lines].is-in .ln-in { transform: none; opacity: 1; }
[data-lines].is-out .ln-in { transform: translateY(-14%); opacity: .35; transition-duration: .7s, .7s; transition-delay: 0s; }
html.reduce-motion [data-lines] .ln-in, .no-js [data-lines] .ln-in { transform: none !important; opacity: 1 !important; transition: none; }
/* Clip reveals for image-led figures */
[data-clip] .atmo-media { clip-path: inset(12% 6% 12% 6% round 18px); transition: clip-path 1.4s var(--ease-inout); }
[data-clip].is-in .atmo-media { clip-path: inset(0 0 0 0 round 0); }
html.reduce-motion [data-clip] .atmo-media, .no-js [data-clip] .atmo-media { clip-path: none; transition: none; }
/* Image zoom inside cards (transform on the image only; hit areas fixed) */
.zoomable img { transition: transform .9s var(--ease-settle); will-change: transform; }
.zoomable:hover img, .zoomable:focus-visible img { transform: scale(1.04); }
html.reduce-motion .zoomable img { transition: none; transform: none !important; }

/* ---------- 01 Entrance: the approved film ---------- */
.entrance { position: relative; padding-top: var(--nav-h); background: var(--ink-warm); color: #fff; }
.hero-media { position: relative; width: 100%; height: min(calc(100svh - var(--nav-h)), 56.25vw); min-height: 440px; overflow: hidden; background: var(--ink-warm); }
.hero-video, .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }
.hero-poster { z-index: 1; transition: opacity .7s var(--ease-out); }
.entrance.is-playing .hero-poster { opacity: 0; }
.entrance.is-poster .hero-poster { opacity: 1; }
.entrance.is-poster .hero-video { visibility: hidden; }
.hero-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: 2; pointer-events: none; background: linear-gradient(to top, rgba(26, 21, 18, .62), rgba(26, 21, 18, .18) 55%, transparent); }
.hero-play { position: absolute; right: max(18px, env(safe-area-inset-right)); bottom: 18px; z-index: 4; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(26, 21, 18, .45); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .04em; cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background var(--d-ctl), border-color var(--d-ctl); }
.hero-play:hover { background: rgba(26, 21, 18, .7); border-color: rgba(255,255,255,.6); }
.hero-play:focus-visible { outline-color: #fff; }
.hero-play svg { width: 16px; height: 16px; fill: currentColor; }
.hero-play .i-play { display: none; }
.hero-play[aria-pressed="true"] .i-play { display: block; }
.hero-play[aria-pressed="true"] .i-pause { display: none; }
.hero-play[hidden] { display: none; }
.hero-band { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.hero-title { margin: 0 0 8px; display: grid; gap: 6px; }
.hero-title-name { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.4rem); letter-spacing: .03em; text-transform: uppercase; line-height: 1; }
.hero-title-sub { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.hero-lead { margin: 0; font-size: 1rem; opacity: .9; max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-text [data-track] { opacity: 1; }
@media (min-width: 900px) {
  .hero-band { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 calc(var(--pad) + 120px) 30px var(--pad); }
  .hero-band .hero-text { text-shadow: 0 1px 2px rgba(0,0,0,.35); }
}
@media (max-width: 899px) {
  /* Premium fitted layout: the full 16:9 frame, never cropped, on a warm ground; the name in the footage stays whole */
  .entrance { padding: calc(var(--nav-h) + 10px) 12px 26px; background: linear-gradient(180deg, #2a1d19 0%, #3a1f22 55%, #4b2a24 100%); }
  .hero-media { height: auto; min-height: 0; aspect-ratio: 16 / 9; border-radius: 16px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7); }
  .hero-video, .hero-poster { object-fit: cover; object-position: 50% 50%; }
  .hero-shade { display: none; }
  .hero-play { bottom: 10px; right: 10px; }
  .hero-band { display: grid; gap: 18px; padding: 22px 8px 0; }
  .hero-actions .button { flex: 1 1 auto; }
}

/* ---------- 02 Brand scene ---------- */
.brand { position: relative; padding: calc(var(--nav-h) + 4vh) var(--pad) 16vh; overflow: hidden; min-height: 100svh; }
.brand-inner { position: relative; max-width: var(--wide); margin: 0 auto; z-index: 1; }
.brand-title { position: relative; z-index: 1; margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(4.2rem, 15.5vw, 15rem); line-height: .88; letter-spacing: .005em; text-transform: uppercase; will-change: transform; }
.brand-title .line:nth-child(2) .line-inner { color: var(--burgundy); }
.brand-photo { margin: 0; will-change: transform; }
.brand-photo img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 40px 90px -40px rgba(23, 20, 25, .55); }
.brand-photo-primary { position: relative; z-index: 2; opacity: 0; transform: translateY(40px) scale(.98); transition: opacity 1s var(--ease-out), transform 1.3s var(--ease-settle); }
.brand.is-in .brand-photo-primary { opacity: 1; transform: none; }
.brand-photo-support { position: relative; z-index: 3; opacity: 0; transition: opacity 1s var(--ease-out) .35s, transform 1.4s var(--ease-settle) .3s; }
.brand-photo-support[data-path="drift-left"] { transform: translate(60px, 30px); }
.brand-photo-support[data-path="drift-up"] { transform: translate(-20px, 70px); }
.brand.is-in .brand-photo-support { opacity: 1; transform: none; }
html.reduce-motion .brand-photo-primary, html.reduce-motion .brand-photo-support, .no-js .brand-photo-primary, .no-js .brand-photo-support { opacity: 1; transform: none; transition: none; }
.brand-copy { position: relative; z-index: 4; max-width: 44ch; }
.cloud-boundary { position: absolute; left: -12%; right: -12%; bottom: -40px; height: 220px; pointer-events: none; z-index: 5;
  background: radial-gradient(42% 70% at 12% 100%, var(--cloud) 42%, transparent 72%), radial-gradient(38% 80% at 40% 100%, var(--cloud) 46%, transparent 74%), radial-gradient(44% 72% at 68% 100%, var(--cloud) 40%, transparent 72%), radial-gradient(40% 80% at 94% 100%, var(--cloud) 44%, transparent 72%);
  filter: blur(16px); opacity: .95; }
@media (min-width: 1100px) {
  .brand-inner { height: max(84svh, 820px); }
  .brand .eyebrow { position: absolute; left: 0; top: 0; }
  .brand-title { position: absolute; left: -.02em; top: 4vh; }
  .brand-photo-primary { position: absolute; right: 0; top: 44%; width: 54%; }
  .brand-photo-support.brand-photo-a { position: absolute; left: 30%; bottom: -4%; width: 25%; }
  .brand-photo-support.brand-photo-b { position: absolute; right: 7%; top: 8%; width: 15%; z-index: 0; }
  .brand-copy { position: absolute; left: 0; bottom: 8%; width: 30%; min-width: 320px; }
}
@media (max-width: 1099px) {
  .brand { min-height: 0; padding-top: 8vh; }
  .brand-inner { display: grid; gap: 22px; }
  .brand-title { margin: 0 0 8px; }
  .brand-photo-a { width: 70%; justify-self: end; margin-top: -14%; }
  .brand-photo-b { width: 44%; margin-top: -6%; }
}

/* ---------- 02B Pinned story ---------- */
.story { position: relative; background: var(--ink-warm); color: #fff; }
.story-pin { position: relative; height: 100svh; min-height: 520px; overflow: hidden; }
.story.is-pinned { height: 200svh; }
.story.is-pinned .story-pin { position: sticky; top: 0; }
.story-media { position: absolute; inset: 0; margin: 0; }
.story-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform-origin: 50% 50%; will-change: transform; }
.story-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26, 21, 18, .7), rgba(26, 21, 18, .15) 45%, rgba(26, 21, 18, .25)); pointer-events: none; }
.story-title { position: absolute; left: 0; right: 0; top: 50%; margin: 0; transform: translateY(-50%); font-family: var(--font-display); font-weight: 400; font-size: clamp(3.4rem, 11vw, 12rem); line-height: .9; letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; pointer-events: none; }
.story-track { display: inline-block; padding-left: var(--pad); will-change: transform; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.story:not(.is-pinned) .story-title { white-space: normal; padding: 0 var(--pad); max-width: 12ch; }
.story-caption { position: absolute; left: var(--pad); right: var(--pad); bottom: max(28px, env(safe-area-inset-bottom)); margin: 0; max-width: 44ch; font-size: 1rem; opacity: .92; }
@media (max-width: 899px) { .story-pin { height: 78svh; min-height: 440px; } .story-title { font-size: clamp(2.6rem, 12vw, 4.2rem); } }

/* ---------- Ribbon ---------- */
.ribbon { display: block; width: 100%; height: 90px; margin-top: -30px; position: relative; z-index: 2; pointer-events: none; }
.ribbon-base { fill: none; stroke: color-mix(in srgb, var(--ink) 12%, transparent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ribbon-light { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 160 1500; stroke-dashoffset: 1660; opacity: .95; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--gold) 70%, transparent)); }
.ribbon.is-in .ribbon-light { animation: ribbon 7s linear infinite; }
@keyframes ribbon { to { stroke-dashoffset: 0; } }
html.reduce-motion .ribbon-light, html.is-hidden .ribbon-light { animation: none; }
html.reduce-motion .ribbon-light { stroke-dasharray: none; stroke-dashoffset: 0; opacity: .5; }

/* ---------- 03 Spiral ---------- */
.spiral { position: relative; padding-top: calc(var(--pad) * 1.5); background: color-mix(in srgb, var(--cloud) 55%, transparent); }
.spiral-head { max-width: var(--wide); margin: 0 auto; padding: 0 var(--pad); }
.spiral-track { position: relative; height: 280vh; }
.spiral-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; perspective: 1500px; perspective-origin: 50% 46%; outline-offset: -6px; }
.spiral-items { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; transform-style: preserve-3d; pointer-events: none; }
.spiral-item { position: absolute; left: 50%; top: 46%; width: min(46vw, 820px); margin: 0; transform: translate(-50%, -50%); will-change: transform, opacity; }
.spiral-item[data-ratio="4/3"] { width: min(34vw, 600px); }
.spiral-item.is-front { pointer-events: auto; }
.spiral-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--cloud); cursor: pointer; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 100px -40px rgba(23, 20, 25, .5); }
.spiral-open img { display: block; width: 100%; height: auto; }
.haze { position: absolute; inset: 0; background: var(--ivory); opacity: 0; pointer-events: none; }
.spiral-ui { position: absolute; left: var(--pad); right: var(--pad); bottom: max(26px, env(safe-area-inset-bottom)); z-index: 10; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.spiral-caption { font-weight: 600; font-size: clamp(1rem, 1.5vw, 1.25rem); max-width: 34ch; min-height: 1.5em; margin: 0; text-wrap: balance; }
.spiral-controls { display: flex; align-items: center; gap: 14px; }
.spiral-progress { display: flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.spiral-bar { position: relative; width: 120px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.spiral-bar i { position: absolute; left: 0; top: 0; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--burgundy), var(--gold)); }
.spiral-hint { font-size: .84rem; color: var(--ink-mute); margin: 0 0 8px; }
.spiral.is-flat .spiral-track { height: auto; }
.spiral.is-flat .spiral-stage { position: static; height: auto; overflow: visible; perspective: none; }
.spiral.is-flat .spiral-items { position: relative; inset: auto; display: flex; align-items: center; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 18px var(--pad) 16px; scrollbar-width: none; transform-style: flat; pointer-events: auto; }
.spiral.is-flat .spiral-items::-webkit-scrollbar { display: none; }
.spiral.is-flat .spiral-item { position: static; flex: 0 0 min(84%, 640px); width: auto; transform: none !important; opacity: 1 !important; scroll-snap-align: center; pointer-events: auto; }
.spiral.is-flat .spiral-item[data-ratio="4/3"] { flex-basis: min(70%, 480px); }
.spiral.is-flat .haze { display: none; }
.spiral.is-flat .spiral-ui { position: static; padding: 6px var(--pad) 26px; flex-wrap: wrap; }
.spiral.is-flat .spiral-open { box-shadow: 0 20px 50px -26px rgba(23, 20, 25, .45); }

/* ---------- 03A Plates track ---------- */
.plates { position: relative; padding-top: calc(var(--pad) * 1.6); background: var(--ivory); }
.plates-head { max-width: var(--wide); margin: 0 auto; padding: 0 var(--pad) 28px; }
.plates-note { color: var(--ink-soft); max-width: 52ch; margin: 0; }
.plates-pin { position: relative; overflow: hidden; }
.plates.is-pinned { height: calc(var(--travel, 0px) + 100svh); }
.plates.is-pinned .plates-pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; }
.plates-track { display: flex; gap: 22px; margin: 0; padding: 10px var(--pad) 30px; list-style: none; will-change: transform; }
.plates:not(.is-pinned) .plates-track { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.plates:not(.is-pinned) .plates-track::-webkit-scrollbar { display: none; }
.plate { flex: 0 0 auto; width: min(30vw, 420px); scroll-snap-align: center; }
.plate:nth-child(even) { margin-top: 56px; }
.plate-open { display: grid; gap: 14px; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; }
.plate-img { display: block; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; background: #ece6da; box-shadow: 0 30px 70px -36px rgba(23, 20, 25, .5); }
.plate-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-settle); }
.plate-open:hover .plate-img img, .plate-open:focus-visible .plate-img img { transform: scale(1.05); }
.plate-text { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: baseline; }
.plate-n { font-family: var(--font-display); font-size: 1.4rem; color: var(--burgundy); letter-spacing: .02em; grid-row: 1 / 3; }
.plate-name { font-family: var(--font-display); font-size: clamp(1.3rem, 1.8vw, 1.7rem); text-transform: uppercase; letter-spacing: .01em; line-height: 1.05; }
.plate-cat { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
@media (max-width: 899px) { .plate { width: 72vw; } .plate:nth-child(even) { margin-top: 0; } .plates-track { gap: 14px; } }
html.reduce-motion .plate-img img { transition: none; transform: none !important; }

/* ---------- 03B Food spotlight ---------- */
.food { position: relative; padding: calc(var(--pad) * 2) var(--pad) calc(var(--pad) * 1.6); overflow: hidden; }
.food-inner { position: relative; max-width: var(--wide); margin: 0 auto; z-index: 1; }
.food-note, .menu-note, .editorial-note, .rooms-note { color: var(--ink-soft); max-width: 52ch; margin: 0; text-wrap: pretty; }
.spot { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: center; margin-top: 40px; }
.spot-stage { grid-column: 1 / 8; }
.spot-frame { position: relative; aspect-ratio: 1 / 1; max-width: 680px; border-radius: 18px; overflow: hidden; background: #ece6da; box-shadow: 0 40px 90px -40px rgba(23, 20, 25, .5); }
.spot-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease-out), transform 1s var(--ease-settle); }
.spot-img.is-active { opacity: 1; transform: none; }
.spot-img.is-leaving { opacity: 0; transform: translateX(-3%) scale(1); }
html.reduce-motion .spot-img { transition: none; transform: none; }
.spot-light { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; mix-blend-mode: soft-light;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 60%); }
.spot-frame.is-hover .spot-light { opacity: 1; }
.spot-text { grid-column: 8 / -1; }
.spot-cat { margin: 0 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--burgundy); transition: opacity .4s; }
.spot-name { margin: 0 0 22px; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 4.4vw, 4.6rem); line-height: .98; letter-spacing: .005em; text-transform: uppercase; text-wrap: balance; transition: opacity .4s, transform .6s var(--ease-settle); }
.spot.is-switching .spot-name, .spot.is-switching .spot-cat { opacity: 0; transform: translateY(8px); }
.spot-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.spot-index { margin: 20px 0 10px; font-size: .78rem; letter-spacing: .1em; font-variant-numeric: tabular-nums; color: var(--ink-mute); }
.spot-nav { display: flex; gap: 12px; }
.spot-thumbs { display: flex; gap: 10px; margin: 36px 0 0; padding: 6px 2px 10px; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.spot-thumb { display: block; width: 92px; height: 92px; flex: 0 0 auto; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: #ece6da; cursor: pointer; scroll-snap-align: center; transition: transform .3s var(--ease-settle), border-color .3s, opacity .3s; opacity: .8; }
.spot-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.spot-thumb:hover, .spot-thumb:focus-visible { opacity: 1; transform: translateY(-3px); }
.spot-thumb.is-active { border-color: var(--burgundy); opacity: 1; }
@media (max-width: 899px) {
  .spot { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
  .spot-stage, .spot-text { grid-column: auto; }
  .spot-frame { max-width: none; }
  .spot-thumb { width: 72px; height: 72px; }
}

/* ---------- 03B Full menu ---------- */
.menu { position: relative; padding: calc(var(--pad) * 1.4) var(--pad) calc(var(--pad) * 2); background: color-mix(in srgb, var(--cloud) 60%, transparent); }
.menu-inner { max-width: var(--content); margin: 0 auto; }
.menu-tools { position: sticky; top: 54px; z-index: 20; margin: 28px calc(var(--pad) * -1) 8px; padding: 10px var(--pad) 8px; background: color-mix(in srgb, var(--ivory) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.menu-search { position: relative; display: flex; align-items: center; max-width: 520px; }
.menu-search-icon { position: absolute; left: 14px; width: 18px; height: 18px; fill: none; stroke: var(--ink-mute); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.menu-search input { width: 100%; min-height: 48px; padding: 10px 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--cloud); font: inherit; color: var(--ink); }
.menu-search input::-webkit-search-cancel-button { display: none; }
.menu-search input:focus { outline: 3px solid var(--blue); outline-offset: 2px; }
.menu-clear { position: absolute; right: 6px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; font-size: 1.3rem; cursor: pointer; color: var(--ink-mute); }
.menu-clear[hidden] { display: none; }
.cat-rail { position: relative; display: flex; gap: 6px; margin-top: 10px; padding: 4px 0 6px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.cat-rail::-webkit-scrollbar { display: none; }
.cat { position: relative; z-index: 1; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink-soft); font-size: .86rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: color .3s, border-color .3s; }
.cat:hover { border-color: var(--ink-mute); color: var(--ink); }
.cat.is-active { color: #fff; border-color: transparent; }
.cat-n { font-size: .74rem; opacity: .7; font-variant-numeric: tabular-nums; }
.cat-pill { position: absolute; top: 0; left: 0; height: 44px; width: 0; border-radius: 999px; background: var(--ink); opacity: 0; transition: transform .45s var(--ease-settle), width .45s var(--ease-settle), opacity .2s; z-index: 0; }
.cat-pill.is-on { opacity: 1; }
html.reduce-motion .cat-pill { transition: none; }
.no-js .cat-pill { display: none; }
.no-js .cat.is-active { background: var(--ink); }
.menu-status { margin: 6px 0 0; font-size: .82rem; color: var(--ink-mute); min-height: 1.3em; }
.menu-cats { margin-top: 18px; }
.menu-cat { padding: 26px 0 14px; border-top: 1px solid var(--line); scroll-margin-top: 150px; transition: opacity .35s var(--ease-out); }
.menu-cat[hidden] { display: none; }
.menu-cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.menu-cat h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: .01em; text-transform: uppercase; }
.menu-cat-en { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-left: 10px; }
.menu-cat-count { margin: 0; font-size: .8rem; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.menu-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin: 0; padding: 0; list-style: none; }
.menu-item { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; min-height: 56px; padding: 10px 0; border-bottom: 1px solid var(--line); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
.menu-item[hidden] { display: none; }
.menu-item.has-photo { grid-template-columns: 56px 1fr auto; }
.menu-item-name { font-size: 1.04rem; line-height: 1.35; font-weight: 600; }
.menu-item-meta { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.menu-item-photo { width: 56px; height: 56px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #ece6da; cursor: pointer; transition: transform .3s var(--ease-settle); }
.menu-item-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.menu-item-photo:hover { transform: scale(1.06); }
.menu-item mark { background: color-mix(in srgb, var(--yellow) 45%, transparent); color: inherit; border-radius: 3px; }
.menu-empty { padding: 36px 0; text-align: center; color: var(--ink-soft); }
.menu-empty[hidden] { display: none; }
.menu-empty-title { font-family: var(--font-display); font-size: 1.7rem; text-transform: uppercase; margin: 0 0 8px; color: var(--ink); }
.menu-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; margin-top: 36px; }
.menu-foot-note { margin: 0; font-size: .84rem; color: var(--ink-mute); max-width: 48ch; }
@media (min-width: 900px) { .cat-rail { flex-wrap: wrap; overflow: visible; } }
@media (max-width: 899px) {
  .menu-tools { top: 54px; }
  .menu-list { grid-template-columns: 1fr; }
  .menu-cat { scroll-margin-top: 170px; }
}

/* ---------- 04 Rooms ---------- */
.rooms { position: relative; padding: calc(var(--pad) * 2.2) var(--pad) calc(var(--pad) * 2.6); overflow: hidden; }
.rooms-word { position: absolute; left: -1vw; top: 4%; margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(7rem, 29vw, 32rem); line-height: 1; letter-spacing: .01em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--ink) 18%, transparent); pointer-events: none; user-select: none; will-change: transform; z-index: 0; }
.rooms-inner { position: relative; max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; z-index: 1; }
.rooms-text { grid-column: 1 / 5; grid-row: 1; align-self: center; padding-top: 6%; }
.rooms-caption { color: var(--ink-soft); max-width: 36ch; margin: 0 0 20px; min-height: 4.6em; text-wrap: pretty; transition: opacity .4s; }
.rooms.is-switching .rooms-caption { opacity: 0; }
.rooms-note { font-size: .84rem; margin-top: 16px; }
.viewpoint-index { margin: 0 0 10px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-variant-numeric: tabular-nums; color: var(--burgundy); font-weight: 700; }
.viewpoint-list { display: flex; flex-wrap: wrap; gap: 8px; }
.viewpoint { min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--cloud) 70%, transparent); font-size: .86rem; font-weight: 700; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.viewpoint:hover { border-color: var(--ink-mute); }
.viewpoint.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.viewpoint-arrows { display: flex; gap: 10px; margin-top: 14px; }
.rooms-photo { margin: 0; will-change: transform; }
.rooms-photo-main { grid-column: 5 / -1; grid-row: 1; }
.rooms-photo-detail-a { grid-column: 1 / 4; grid-row: 2; margin-top: -8%; z-index: 3; }
.rooms-photo-detail-b { grid-column: 9 / 12; grid-row: 2; margin-top: -22%; z-index: 3; }
.rooms-figcap { display: flex; justify-content: flex-end; padding: 10px 4px 0; font-size: .84rem; }
.overscan { overflow: hidden; border-radius: 14px; box-shadow: 0 40px 90px -45px rgba(23, 20, 25, .5); }
.overscan img { display: block; width: 100%; height: auto; transform: scale(1.1); will-change: transform; }
.rooms-stack { position: relative; aspect-ratio: 16 / 9; background: #d9cdb8; }
.rooms-view { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease-inout); }
.rooms-view.is-active { opacity: 1; }
html.reduce-motion .rooms-view { transition: none; }
@media (max-width: 899px) {
  .rooms-inner { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .rooms-text { grid-column: 1 / -1; grid-row: 1; padding-top: 0; }
  .rooms-caption { min-height: 0; }
  .rooms-photo-main { grid-column: 1 / -1; grid-row: 2; margin: 0 calc(var(--pad) * -1); }
  .rooms-photo-main .overscan { border-radius: 0; }
  .rooms-photo-detail-a { grid-column: 1 / 4; grid-row: 3; margin-top: -6%; }
  .rooms-photo-detail-b { grid-column: 4 / -1; grid-row: 3; margin-top: 8%; }
  .rooms-word { top: 1%; }
}

/* ---------- 05 Typography ---------- */
.type { position: relative; padding: calc(var(--pad) * 2.6) var(--pad) calc(var(--pad) * 2); text-align: center; background: color-mix(in srgb, var(--cloud) 40%, transparent); overflow: hidden; }
.statement { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 5.6vw, 5.8rem); line-height: .98; letter-spacing: .005em; text-transform: uppercase; max-width: 22ch; margin: 0 auto; text-wrap: balance; }
.statement .w { display: inline-block; color: color-mix(in srgb, var(--ink) 30%, transparent); transition: color .55s var(--ease-out); }
.statement .w.is-on { color: var(--ink); }
.statement em { font-style: normal; color: inherit; }
.statement .w.is-on em { color: var(--burgundy); }
html.reduce-motion .statement .w, .no-js .statement .w { color: var(--ink); }
.textloop { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin: 48px auto 0; font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 100%; }
.textloop-label { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }
.textloop-window { position: relative; display: block; height: 1.5em; line-height: 1.5em; overflow: hidden; width: min(24ch, 100%); text-align: left; }
.textloop-item { position: absolute; left: 0; top: 0; white-space: nowrap; transform: translateY(120%); opacity: 0; transition: transform .75s var(--ease-settle), opacity .5s var(--ease-out); font-weight: 600; }
.textloop-item.is-active { transform: none; opacity: 1; }
.textloop-item.is-leaving { transform: translateY(-120%); opacity: 0; }
.particle-wrap { position: relative; z-index: 1; margin: 64px auto 0; max-width: var(--wide); height: clamp(120px, 22vw, 340px); touch-action: pan-y; overflow: hidden; }
.particle-text { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 11vw, 13rem); line-height: 1; letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; color: color-mix(in srgb, var(--ink) 9%, transparent); }
.particle-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.particle-hint { position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); margin: 0; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); white-space: nowrap; }
html.reduce-motion .particle-canvas, html.reduce-motion .particle-hint, .no-js .particle-canvas, .no-js .particle-hint { display: none; }
html.reduce-motion .particle-text, .no-js .particle-text { color: var(--ink); }

/* ---------- 06 Editorial composition ---------- */
.editorial { position: relative; padding: calc(var(--pad) * 2) var(--pad) calc(var(--pad) * 2.4); background: color-mix(in srgb, var(--cloud) 55%, transparent); overflow: hidden; }
.editorial-head { max-width: var(--wide); margin: 0 auto; position: relative; z-index: 6; }
.editorial-grid { position: relative; max-width: var(--wide); margin: 48px auto 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; z-index: 1; }
.tile { margin: 0; position: relative; }
.tile-wide { grid-column: 1 / 9; }
.tile-small-a { grid-column: 9 / -1; margin-top: 18%; }
.tile-small-b { grid-column: 2 / 6; margin-top: -8%; }
.fan { grid-column: 7 / 12; position: relative; aspect-ratio: 1 / 1; margin-top: -2%; }
.fan-card { position: absolute; inset: 12% 16%; margin: 0; transition: transform .7s var(--ease-settle); will-change: transform; }
.fan-card-1 { transform: rotate(-9deg) translateX(-7%); z-index: 1; }
.fan-card-2 { transform: rotate(1deg); z-index: 2; }
.fan-card-3 { transform: rotate(10deg) translateX(7%); z-index: 3; }
.fan:hover .fan-card-1, .fan.is-open .fan-card-1, .fan:focus-within .fan-card-1 { transform: rotate(-17deg) translate(-30%, -4%); }
.fan:hover .fan-card-2, .fan.is-open .fan-card-2, .fan:focus-within .fan-card-2 { transform: rotate(0) translateY(-8%); }
.fan:hover .fan-card-3, .fan.is-open .fan-card-3, .fan:focus-within .fan-card-3 { transform: rotate(17deg) translate(30%, -4%); }
.fan-caption { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); margin: 0; white-space: nowrap; font-size: .82rem; color: var(--ink-mute); }
.tile-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #fff; cursor: pointer; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px -36px rgba(23, 20, 25, .5); }
.tile-open img { display: block; width: 100%; height: auto; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 1)); transition: transform .5s var(--ease-settle); will-change: transform; }
.tile-open.is-hover img { transition: transform .15s linear; }
.tile-light { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; mix-blend-mode: soft-light;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 62%); }
.tile-open.is-hover .tile-light { opacity: 1; }
.tile figcaption { font-size: .86rem; color: var(--ink-mute); margin-top: 12px; }
.trail-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 5; }
.trail-img { position: absolute; left: 0; top: 0; width: 150px; height: 112px; object-fit: cover; border-radius: 12px; opacity: 0; transform: translate(-50%, -50%) scale(.5); will-change: transform, opacity; box-shadow: 0 20px 50px -22px rgba(23, 20, 25, .5); }
.trail-img.is-live { animation: trail .8s var(--ease-out) forwards; }
@keyframes trail { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.5) rotate(var(--r, 0deg)); } 18% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -72%) scale(1) rotate(var(--r, 0deg)); } }
@media (max-width: 899px) {
  .editorial-grid { grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 28px; }
  .tile-wide { grid-column: 1 / -1; }
  .tile-small-a { grid-column: 1 / 4; margin-top: 0; }
  .tile-small-b { grid-column: 4 / -1; margin-top: 14%; }
  .fan { grid-column: 1 / -1; aspect-ratio: 4 / 3; margin-top: 4%; }
  .fan-card { inset: 6% 24%; }
}

/* ---------- 07B Atmosphere band ---------- */
.atmo { position: relative; padding: calc(var(--pad) * 1.2) 0 0; }
.atmo-figure { position: relative; margin: 0; overflow: hidden; }
.atmo-media { position: relative; height: min(88svh, 820px); min-height: 420px; will-change: transform, clip-path; }
.atmo-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform: scale(1.08); }
.atmo-caption { position: absolute; left: var(--pad); right: var(--pad); bottom: 40px; color: #fff; max-width: 40ch; will-change: transform; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.atmo-caption .eyebrow { color: var(--champagne); }
.atmo-caption p { margin: 0; }
.atmo-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 5.2vw, 5.2rem); line-height: .96; letter-spacing: .005em; text-transform: uppercase; margin: 0 0 14px; }
.atmo-figure::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(to top, rgba(26, 21, 18, .7), transparent); pointer-events: none; }
@media (max-width: 899px) { .atmo-media { height: 64svh; min-height: 360px; } .atmo-caption { bottom: 24px; } }

/* ---------- 08 Visit + closing ---------- */
.visit { position: relative; padding: calc(var(--pad) * 2.6) var(--pad) 0; overflow: hidden; }
.visit-backdrop { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--champagne) 38%, transparent) 40%, color-mix(in srgb, var(--burgundy) 10%, var(--ivory)) 100%); }
.visit-backdrop .field { position: absolute; }
.visit-big { position: relative; z-index: 1; margin: 0 auto 10px; max-width: var(--wide); font-family: var(--font-display); font-weight: 400; font-size: clamp(3.2rem, 12.5vw, 12.5rem); line-height: .9; letter-spacing: .005em; text-transform: uppercase; color: color-mix(in srgb, var(--burgundy) 88%, var(--ink)); }
.visit-inner { position: relative; z-index: 1; max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: center; }
.visit-photo { grid-column: 1 / 8; margin: 0; will-change: transform; }
.visit-text { grid-column: 8 / -1; }
.visit-text .section-title { font-size: clamp(2.4rem, 5vw, 5rem); }
.facts { display: grid; margin: 26px 0 0; padding: 0; }
.facts div { display: grid; grid-template-columns: 86px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts dt { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); padding-top: 4px; }
.facts dd { margin: 0; font-size: 1.04rem; }
.facts-note { font-size: .84rem; color: var(--ink-mute); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.visit-note { margin: 18px 0 0; font-size: .84rem; color: var(--ink-mute); max-width: 44ch; }
.visit-note a { color: var(--ink); font-weight: 600; }
.closing { position: relative; overflow: hidden; padding: calc(var(--pad) * 2.4) 0 0; text-align: center; background: linear-gradient(180deg, color-mix(in srgb, var(--burgundy) 10%, var(--ivory)) 0%, var(--ivory) 60%); }
.closing-word { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 13vw, 16rem); line-height: .86; letter-spacing: .005em; text-transform: uppercase; white-space: nowrap; clip-path: inset(0 100% -0.2em 0); transition: clip-path 1.8s var(--ease-inout); }
.closing.is-in .closing-word { clip-path: inset(0 0 -0.2em 0); }
html.reduce-motion .closing-word, .no-js .closing-word { clip-path: none; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; max-width: var(--wide); margin: 48px auto 0; padding: 28px var(--pad) calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: .86rem; color: var(--ink-mute); text-align: left; }
.footer p { margin: 0; max-width: none; }
.footer a { color: var(--ink); font-weight: 600; }
@media (max-width: 899px) {
  .visit-inner { grid-template-columns: 1fr; gap: 24px; }
  .visit-photo, .visit-text { grid-column: auto; }
  .visit-photo { margin: 0 calc(var(--pad) * -1); }
  .visit-photo .overscan { border-radius: 0; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 899px) {
  .action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--ivory) 90%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .45s var(--ease-settle); }
  .action-bar .button { padding-left: 10px; padding-right: 10px; font-size: .86rem; }
  html.is-past-hero:not(.has-dialog):not(.has-panel) .action-bar { transform: none; }
  @media (max-height: 520px) { .action-bar { display: none; } }
  .no-js .action-bar { transform: none; }
  html.reduce-motion .action-bar { transition: none; }
}

/* ---------- Photo viewer ---------- */
.lightbox { position: fixed; inset: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; }
.lightbox::backdrop { background: rgba(14, 12, 16, .84); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox-figure { margin: 0; display: grid; gap: 14px; justify-items: center; max-width: 100vw; padding: 0 16px; }
.lightbox-scroller { max-width: min(92vw, 1500px); max-height: 76vh; overflow: auto; border-radius: 12px; overscroll-behavior: contain; }
.lightbox-figure img { display: block; max-width: min(92vw, 1500px); max-height: 76vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .8); transform-origin: 0 0; will-change: transform; background: #0e0c10; }
.lightbox-figure img.is-flipping { transition: transform .6s var(--ease-inout), border-radius .6s; }
.lightbox.is-zoomed .lightbox-figure img { max-width: none; max-height: none; cursor: grab; }
.lightbox-figure figcaption { font-size: .95rem; color: rgba(255, 255, 255, .88); text-align: center; max-width: 60ch; }
.lightbox-tools { position: fixed; top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); display: flex; gap: 10px; align-items: center; }
.lightbox-zoom { min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(16,14,18,.5); color: #fff; font-size: .82rem; font-weight: 700; cursor: pointer; }
.lightbox-zoom[hidden] { display: none; }
.lightbox-close { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(16,14,18,.5); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lightbox-close:focus-visible, .lightbox-zoom:focus-visible { outline-color: #fff; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .no-js .aurora, .no-js .ribbon-light { animation: none; }
  .no-js .ribbon-light { stroke-dasharray: none; }
}
html.reduce-motion .brand-photo-support, html.reduce-motion .fan-card, html.reduce-motion .tile-open img, html.reduce-motion .textloop-item, html.reduce-motion .nav-marker, html.reduce-motion .spot-thumb, html.reduce-motion .menu-item, html.reduce-motion .button-inner { transition: none; }
html.reduce-motion .trail-layer { display: none; }
html.reduce-motion .story .story-pin, html.reduce-motion .plates .plates-pin { position: static; height: auto; }

/* ---------- 03B Explore our menu (home preview) ---------- */
.featured { position: relative; padding: calc(var(--pad) * 2) var(--pad) calc(var(--pad) * 1.8); overflow: hidden; }
.featured-inner { position: relative; z-index: 1; max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: 4fr 8fr; gap: 40px; align-items: start; }
.featured-head { position: sticky; top: 90px; }
.featured-note { color: var(--ink-soft); max-width: 36ch; margin: 0 0 22px; }
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; }
.fcard { margin: 0; }
.fcard:nth-child(3n+2) { margin-top: 40px; }
.fcard-link { display: grid; gap: 12px; text-decoration: none; color: inherit; }
.fcard-img { display: block; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; background: #ece6da; box-shadow: 0 30px 70px -36px rgba(23, 20, 25, .5); }
.fcard-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fcard-text { display: grid; gap: 2px; }
.fcard-name { font-family: var(--font-display); font-size: clamp(1.2rem, 1.7vw, 1.6rem); text-transform: uppercase; letter-spacing: .01em; line-height: 1.05; }
.fcard-cat { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.fcard-link:hover .fcard-name, .fcard-link:focus-visible .fcard-name { color: var(--burgundy); }
@media (max-width: 1099px) { .featured-inner { grid-template-columns: 1fr; } .featured-head { position: static; } }
@media (max-width: 899px) { .featured-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .fcard:nth-child(3n+2) { margin-top: 0; } .fcard:nth-child(even) { margin-top: 28px; } }

/* ---------- Menu page ---------- */
.page-menu .nav { background: color-mix(in srgb, var(--ivory) 84%, transparent); border-bottom-color: var(--line); }
.menu-hero { position: relative; padding: calc(var(--nav-h) + 10vh) var(--pad) calc(var(--pad) * 1.2); overflow: hidden; }
.menu-hero-inner { position: relative; z-index: 1; max-width: var(--wide); margin: 0 auto; }
.menu-hero-title { font-size: clamp(3.4rem, 11vw, 11rem); }
.menu-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.food-on-menu { padding-top: calc(var(--pad) * 1.2); }
.menu-cat h3:focus { outline: none; }
.menu-cat h3:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.footer-menu { margin-top: 0; }

/* ---------- Order chooser (header + phone action bar): DoorDash or Grubhub ---------- */
.order-chooser { position: relative; }
.nav-order { border: 0; cursor: pointer; font-family: var(--font-body); }
.nav-order-caret { font-size: .7em; margin-left: 2px; }
.order-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: min(300px, calc(100vw - 32px)); padding: 10px; border-radius: 16px; background: color-mix(in srgb, var(--cloud) 96%, transparent); border: 1px solid var(--line); box-shadow: 0 30px 70px -30px rgba(23, 20, 25, .5); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transform-origin: top right; animation: order-pop .22s var(--ease-settle); }
.order-menu[hidden] { display: none; }
@keyframes order-pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
html.reduce-motion .order-menu { animation: none; }
.order-menu-title { margin: 4px 10px 8px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.order-option { display: grid; gap: 2px; padding: 12px 12px; min-height: 48px; border-radius: 12px; text-decoration: none; color: var(--ink); transition: background var(--d-ctl); }
.order-option:hover, .order-option:focus-visible { background: color-mix(in srgb, var(--champagne) 40%, transparent); }
.order-option-name { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .02em; text-transform: uppercase; }
.order-option-name::after { content: " ↗"; font-family: var(--font-body); font-size: .8em; opacity: .7; }
.order-option-note { font-size: .78rem; color: var(--ink-mute); }
.order-backdrop { position: fixed; inset: 0; z-index: 55; background: transparent; }
.order-backdrop[hidden] { display: none; }
@media (max-width: 899px) {
  /* the header has a backdrop-filter, so a fixed child would be positioned against it; anchor the sheet to the header instead */
  .order-chooser { position: static; }
  .order-menu { position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); width: auto; transform-origin: top center; }
  html.has-panel .order-menu, html.has-dialog .order-menu { display: none; }
}

/* ---------- 02 Brand scene: food-image trail ---------- */
.brand-trail { min-height: min(92svh, 900px); padding-bottom: 12vh; }
.brand-trail .brand-inner { z-index: 2; pointer-events: none; }
.brand-trail .brand-inner a, .brand-trail .brand-inner button { pointer-events: auto; }
.trail-stage { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; contain: strict; }
.ftrail-img { position: absolute; left: 0; top: 0; display: block; width: auto; height: auto; max-width: clamp(240px, 22vw, 320px); max-height: 260px; border-radius: 14px; box-shadow: 0 28px 60px -24px rgba(23, 20, 25, .55), 0 0 0 1px rgba(255,255,255,.35) inset; opacity: 0; transform: translate(-50%, -50%) scale(.6); will-change: transform, opacity; background: #ece6da; }
.brand-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trail-hint { margin: -6px 0 18px; font-size: .82rem; color: var(--ink-mute); }
.trail-hint-touch { display: none; }
html:not(.has-pointer) .trail-hint-mouse { display: none; }
html:not(.has-pointer) .trail-hint-touch { display: inline; }
html.reduce-motion .trail-hint, .no-js .trail-hint { display: none; }
/* Idle preview: a compact static arrangement shown while nobody is interacting; always on for reduced motion and without JavaScript */
.trail-preview { position: absolute; right: 0; top: 46%; width: 54%; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: end; transition: opacity .6s var(--ease-out); pointer-events: none; }
.trail-preview-item { margin: 0; transform: translateY(calc(var(--k) * -14px)) rotate(calc((var(--k) - 1.5) * 2deg)); }
.trail-preview-item img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 28px 60px -28px rgba(23, 20, 25, .5); }
.brand-trail.is-active .trail-preview { opacity: 0; }
html.reduce-motion .brand-trail .trail-preview, .no-js .brand-trail .trail-preview { opacity: 1 !important; }
@media (min-width: 1100px) {
  .brand-trail .brand-inner { height: max(78svh, 700px); }
  .brand-trail .brand-copy { width: 34%; min-width: 340px; bottom: 4%; }
}
@media (max-width: 1099px) {
  .brand-trail { min-height: 0; padding-bottom: 8vh; }
  .brand-trail .brand-inner { display: grid; gap: 20px; }
  .trail-preview { position: static; width: auto; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: end; }
  .trail-preview-item:nth-child(4) { display: none; }
  .trail-preview-item { transform: translateY(calc(var(--k) * -8px)) rotate(calc((var(--k) - 1) * 2deg)); }
  .ftrail-img { max-width: clamp(160px, 46vw, 210px); max-height: 190px; border-radius: 12px; }
}
/* copy stays readable when a plate lands behind it: a soft ivory scrim on the text block only (the title is meant to sit over the images) */
.brand-trail .brand-copy { padding: 18px 20px 20px; margin-left: -20px; border-radius: 18px; background: radial-gradient(120% 120% at 30% 50%, color-mix(in srgb, var(--ivory) 92%, transparent) 55%, color-mix(in srgb, var(--ivory) 60%, transparent) 80%, transparent 100%); }
@media (max-width: 1099px) { .brand-trail .brand-copy { margin-left: 0; padding: 14px 16px 16px; } }
