/* Tropical Beach Cafe */

@font-face { font-family: 'Bricolage'; font-weight: 200 800; font-stretch: 75% 100%; src: url('../fonts/bricolage-grotesque-latin-standard-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Yellowtail'; src: url('../fonts/yellowtail-latin-400-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'DM Sans'; font-weight: 100 1000; src: url('../fonts/dm-sans-latin-wght-normal.woff2') format('woff2'); font-display: swap; }

:root {
  --ink: #23120b;        /* espresso */
  --ink-2: #3a2114;
  --cream: #fff3e0;
  --paper: #fffaf1;
  --sand: #f4e2c6;
  --sun: #ff5a1f;
  --red: #e5261f;
  --mango: #ffb703;
  --palm: #178a4c;
  --sea: #0d8fd1;
  --line: rgba(35, 18, 11, .14);
  --line-l: rgba(255, 243, 224, .2);
  --display: 'Bricolage', 'Arial Narrow', Impact, sans-serif;
  --script: 'Yellowtail', 'Brush Script MT', cursive;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(18px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 16.5px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--sun); color: #fff; }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; border-radius: 6px; }

.wrap { padding-inline: var(--pad); max-width: 1500px; margin-inline: auto; }
.display { font-family: var(--display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; line-height: .86; letter-spacing: -.02em; }
.script { font-family: var(--script); font-weight: 400; font-style: normal; text-transform: none; letter-spacing: 0; color: var(--sun); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sun); }
.eyebrow::before { content: ''; width: 30px; height: 2px; background: currentColor; }
.eyebrow.light { color: var(--mango); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .5s var(--ease), background .3s, color .3s, box-shadow .3s; }
.btn:active { transform: scale(.97); }
.btn svg { width: 17px; height: 17px; }
.btn-sun { background: var(--sun); color: #fff; box-shadow: 0 10px 30px rgba(255, 90, 31, .35); }
.btn-sun:hover { background: var(--red); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--sun); }
.btn-glass { color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); background: rgba(35, 18, 11, .28); backdrop-filter: blur(10px); }
.btn-glass:hover { background: #fff; color: var(--ink); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn .arrow { transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }

.chip { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 15px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(35, 18, 11, .5); color: #fff; backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .22); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa; }
.is-open .dot { background: #4be38d; animation: pulse 2s infinite; }
.is-closed .dot { background: var(--mango); }
@keyframes pulse { from { box-shadow: 0 0 0 0 rgba(75, 227, 141, .7); } to { box-shadow: 0 0 0 9px rgba(75, 227, 141, 0); } }

/* reveal motion */
.ln { display: block; overflow: hidden; padding-block: .08em .16em; margin-block: -.08em -.16em; }
.ln > span { display: block; transform: translateY(115%) rotate(2deg); transform-origin: 0 100%; transition: transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.in .ln > span { transform: none; }
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- loader ---------- */
html.loading { overflow: hidden; }
.loader { --p: 0; position: fixed; inset: 0; z-index: 100; color: var(--cream); overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(18px, 3vw, 34px) var(--pad) clamp(28px, 5vh, 54px);
  background: radial-gradient(70% 60% at 50% 56%, rgba(255, 90, 31, calc(var(--p) * .5)), transparent 70%), radial-gradient(40% 34% at 50% 54%, rgba(255, 183, 3, calc(var(--p) * .35)), transparent 70%), var(--ink);
  transition: opacity .7s ease .75s, visibility 0s 1.5s; }
.loader-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 243, 224, .7); }
.loader-top img { width: clamp(64px, 9vh, 92px); height: auto; }
.loader-scene { align-self: center; justify-self: center; width: min(54vmin, 460px); transition: opacity .3s; }
.loader-sky { position: relative; width: 100%; aspect-ratio: 2 / 1; overflow: hidden; border-bottom: 3px solid var(--cream); }
.loader-sun { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(180deg, var(--mango) 0%, #ff8a1f 24%, var(--sun) 38%, var(--red) 50%); transform: translateY(calc((1 - var(--p)) * 52%)); will-change: transform; }
.loader-sea { display: grid; justify-items: center; gap: clamp(7px, 1.4vmin, 12px); padding-top: clamp(9px, 1.8vmin, 16px); }
.loader-sea i { height: clamp(4px, .9vmin, 7px); border-radius: 9px; background: linear-gradient(90deg, var(--red), var(--sun), var(--red)); opacity: calc(.15 + var(--p) * .85); transform-origin: 50% 50%; animation: shimmer 2.4s ease-in-out infinite; }
.loader-sea i:nth-child(1) { width: 96%; }
.loader-sea i:nth-child(2) { width: 70%; animation-delay: -.5s; }
.loader-sea i:nth-child(3) { width: 46%; animation-delay: -1s; }
.loader-sea i:nth-child(4) { width: 24%; animation-delay: -1.5s; }
@keyframes shimmer { 50% { transform: scaleX(.82); } }
.loader-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.loader-count { font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: clamp(88px, 20vmin, 230px); line-height: .78; letter-spacing: -.03em; font-variant-numeric: tabular-nums; display: flex; }
.loader-count sup { font-size: .26em; line-height: 1; margin: .1em 0 0 .12em; color: var(--mango); }
.loader-line { font-family: var(--script); font-size: clamp(28px, 4.6vmin, 50px); line-height: 1; color: var(--mango); text-align: right; transition: opacity .25s, transform .4s var(--ease); }
.loader-line.swap { opacity: 0; transform: translateY(10px); }
.loader-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255, 243, 224, .12); }
.loader-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--mango), var(--sun), var(--red)); transform-origin: 0 50%; transform: scaleX(var(--p)); }
/* exit: the sun swells to fill the screen, then the whole thing lifts off the page */
.loader.out { opacity: 0; visibility: hidden; pointer-events: none; }
.loader.out .loader-sky { overflow: visible; border-color: transparent; }
.loader.out .loader-sun { transform: translateY(0) scale(9); transition: transform 1.05s cubic-bezier(.7, 0, .2, 1); }
.loader.out .loader-top, .loader.out .loader-foot, .loader.out .loader-sea, .loader.out .loader-bar { opacity: 0; transition: opacity .3s; }
/* hold the page's own entrance until the loader lets go */
.loading .cap.on .ln > span { transform: translateY(115%) rotate(2deg); }
.loading .cap.on .chips, .loading .cap.on .cap-lede, .loading .film-hint { opacity: 0; }
.cap .chips, .cap .cap-lede { transition: opacity .8s ease .5s; }
.loading .nav { transform: translate(-50%, -160%); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 12px; left: 50%; z-index: 60; transform: translateX(-50%); width: min(1180px, calc(100% - 24px)); height: 64px; padding: 0 10px 0 104px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 999px; background: rgba(255, 250, 241, .9); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 10px 40px rgba(35, 18, 11, .18); transition: transform .6s var(--ease); }
.nav.hide { transform: translate(-50%, -140%); }
.nav-logo { position: absolute; left: 6px; top: -8px; width: 80px; height: 80px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(35, 18, 11, .16); transition: transform .6s var(--ease); }
.nav-logo:hover { transform: rotate(-6deg) scale(1.05); }
.nav-logo img { width: 68px; height: 68px; }
.nav-links { display: flex; gap: 26px; font-size: 14.5px; font-weight: 600; }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sun); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }

/* ---------- 1 · film ---------- */
.film { position: relative; height: 600vh; background: var(--ink); }
.film-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; color: #fff; }
#filmCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.film-shade { position: absolute; inset: 0; pointer-events: none; background:
    linear-gradient(90deg, rgba(35, 18, 11, .72) 0%, rgba(35, 18, 11, .3) 42%, rgba(35, 18, 11, 0) 68%),
    linear-gradient(180deg, rgba(35, 18, 11, .5) 0%, rgba(35, 18, 11, 0) 24%, rgba(35, 18, 11, 0) 62%, rgba(35, 18, 11, .7) 100%); }
.cap { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(70px, 11vh, 120px); max-width: 780px; opacity: 0; visibility: hidden; transform: translateY(26px); transition: opacity .6s ease, transform .9s var(--ease), visibility 0s .6s; }
.cap.on { opacity: 1; visibility: visible; transform: none; transition: opacity .7s ease .1s, transform 1s var(--ease) .1s; }
.cap.on .ln > span { transform: none; }
.cap p { font-size: clamp(16px, 1.45vw, 20px); max-width: 44ch; margin-top: 16px; text-shadow: 0 1px 20px rgba(0, 0, 0, .5); }
.cap h2 { font-size: clamp(54px, 9.4vw, 150px); text-shadow: 0 4px 40px rgba(0, 0, 0, .35); }
.cap h2 em { font-style: normal; color: var(--mango); }
.kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--mango); margin-bottom: 14px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: clamp(14px, 2.4vh, 26px); }
.cap-title { max-width: none; }
.cap-title h1 { font-size: clamp(70px, min(15.5vw, 19svh), 270px); text-shadow: 0 6px 60px rgba(0, 0, 0, .35); }
.cap-title h1 .script { display: inline-block; font-size: .4em; line-height: 1; color: var(--mango); margin-left: .25em; transform: rotate(-6deg) translateY(-.35em); text-shadow: 0 3px 20px rgba(0, 0, 0, .4); }
.cap-lede { font-size: clamp(17px, 1.6vw, 22px) !important; }
.cap-end h2 { font-size: clamp(60px, 10.5vw, 170px); }
.rail { position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); display: grid; gap: 16px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.rail li { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-direction: row-reverse; opacity: .45; transition: opacity .5s; text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.rail li i { width: 9px; height: 9px; border-radius: 50%; border: 2px solid #fff; transition: background .4s, transform .5s var(--ease); }
.rail li.on { opacity: 1; }
.rail li.on i { background: var(--mango); border-color: var(--mango); transform: scale(1.5); }
.film-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; transition: opacity .5s; }
.film-hint i { width: 2px; height: 30px; background: linear-gradient(#fff, transparent); animation: hint 1.8s var(--ease) infinite; transform-origin: 50% 0; }
.film-hint.off { opacity: 0; }
@keyframes hint { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.film-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .16); }
.film-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--mango), var(--sun), var(--red)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--sun); color: #fff; padding: 16px 0; transform: rotate(-1.2deg) scale(1.02); margin-block: -14px; position: relative; z-index: 3; box-shadow: 0 10px 30px rgba(35, 18, 11, .2); }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(24px, 3.2vw, 46px); line-height: 1; padding-right: 30px; display: flex; align-items: center; gap: 30px; white-space: nowrap; }
.marquee span::after { content: '✺'; font-size: .6em; color: var(--mango); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 2 · value ---------- */
.value { padding: clamp(100px, 17vh, 210px) 0 clamp(80px, 14vh, 170px); background: radial-gradient(60% 50% at 100% 0%, rgba(255, 183, 3, .28), transparent 70%), var(--cream); }
.value-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.manifesto { font-family: var(--display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(40px, 6.6vw, 112px); line-height: .9; letter-spacing: -.02em; margin-top: 26px; }
.manifesto .w { opacity: .13; transition: opacity .45s linear; }
.manifesto .w.on { opacity: 1; }
.manifesto .w.hl.on { color: var(--sun); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(40px, 7vh, 80px); border-top: 2px solid var(--ink); }
.fact { padding: 22px 18px 0 0; }
.fact + .fact { padding-left: 18px; border-left: 1px solid var(--line); }
.fact b { display: block; font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: clamp(50px, 6vw, 100px); line-height: .9; }
.fact b sup { font-size: .38em; vertical-align: top; position: relative; top: .25em; margin-left: .06em; color: var(--sun); }
.fact span { display: block; margin-top: 8px; font-size: 14px; color: #6b5245; max-width: 18ch; }

.receipt { position: sticky; top: 110px; background: #fff; padding: 30px 26px 44px; font-family: var(--mono); font-size: 13.5px; color: #2b2019; transform: rotate(2.2deg); box-shadow: 0 30px 60px rgba(35, 18, 11, .18); -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%; transition: transform .8s var(--ease); }
.receipt:hover { transform: rotate(0deg) scale(1.02); }
.receipt-head { text-align: center; display: grid; justify-items: center; gap: 2px; padding-bottom: 16px; border-bottom: 1.5px dashed #b9aa9c; }
.receipt-head img { width: 84px; height: 84px; margin-bottom: 4px; }
.receipt-head b { letter-spacing: .14em; font-size: 14px; }
.receipt-head span { font-size: 11.5px; color: #7a6a5d; }
.receipt-lines { padding: 14px 0; display: grid; gap: 9px; }
.receipt-lines li { display: flex; align-items: baseline; gap: 8px; opacity: 0; transform: translateX(-10px); transition: opacity .5s, transform .6s var(--ease); transition-delay: calc(var(--i) * 110ms + 200ms); }
.receipt.in .receipt-lines li { opacity: 1; transform: none; }
.receipt-lines i { flex: 1; border-bottom: 1.5px dotted #c9bbae; transform: translateY(-3px); }
.receipt-lines b { font-weight: 700; }
.receipt-total { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-top: 16px; border-top: 1.5px dashed #b9aa9c; font-size: 12.5px; line-height: 1.35; }
.receipt-total b { font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 44px; line-height: .9; color: var(--sun); }
.receipt-foot { text-align: center; margin-top: 18px; font-size: 11px; color: #7a6a5d; line-height: 1.6; }

/* ---------- section heads ---------- */
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 5vh, 60px); }
.head h2 { font-size: clamp(46px, 7.6vw, 132px); margin-top: 16px; }
.head h2 .script { font-size: .78em; padding-inline: .04em .1em; }
.head > p, .menu-tools p { max-width: 340px; font-size: 15.5px; color: #6b5245; }

/* ---------- 3 · dishes ---------- */
.dishes { position: relative; background: var(--ink); color: var(--cream); }
.dishes-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-block: 96px 26px; }
.dishes .head { margin-bottom: clamp(16px, 3vh, 30px); width: 100%; }
.dishes .head h2 { font-size: clamp(40px, 5.6vw, 96px); }
.dishes .head h2 .script { color: var(--mango); }
.dishes .head > p { color: #cdb9a6; }
.dish-track { display: flex; gap: 18px; padding-inline: var(--pad); will-change: transform; }
.dish { position: relative; flex: 0 0 auto; width: min(400px, 76vw); height: min(58vh, 540px); min-height: 360px; border-radius: 26px; overflow: hidden; background: var(--ink-2); isolation: isolate; }
.dish img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.dish:hover img { transform: scale(1.07); }
.dish::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(35, 18, 11, .05) 35%, rgba(35, 18, 11, .88) 100%); }
.dish-n { position: absolute; top: 18px; left: 20px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.dish-price { position: absolute; top: 14px; right: 14px; width: 86px; height: 86px; border-radius: 50%; background: var(--mango); color: var(--ink); display: grid; place-items: center; text-align: center; font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: 25px; line-height: .9; transform: rotate(10deg); box-shadow: 0 10px 24px rgba(0, 0, 0, .35); transition: transform .8s var(--ease); }
.dish-price small { display: block; font-family: var(--body); font-size: 9px; font-weight: 700; letter-spacing: .14em; margin-top: 3px; }
.dish:hover .dish-price { transform: rotate(-8deg) scale(1.1); }
.dish-body { position: absolute; left: 22px; right: 22px; bottom: 22px; }
.dish-body span { font-family: var(--script); font-size: 24px; color: var(--mango); line-height: 1; }
.dish-body h3 { font-family: var(--display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(38px, 3.6vw, 54px); line-height: .88; margin-top: 2px; }
.dish-body p { font-size: 14px; color: #ecd9c6; margin-top: 8px; max-width: 30ch; }
.dish-bar { margin: 24px var(--pad) 0; height: 3px; background: var(--line-l); border-radius: 3px; overflow: hidden; }
.dish-bar i { display: block; height: 100%; background: var(--mango); transform-origin: 0 50%; transform: scaleX(.06); }

/* ---------- 4 · week ---------- */
.week { padding: clamp(90px, 15vh, 180px) 0; background: var(--cream); }
.week-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.day { position: relative; border-radius: 22px; padding: 22px 20px 24px; background: var(--paper); border: 1.5px solid var(--line); min-height: 250px; display: flex; flex-direction: column; transition: transform .7s var(--ease), background .4s, color .4s, border-color .4s; }
.day:hover { transform: translateY(-8px) rotate(-1deg); }
.day-name { font-family: var(--display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(26px, 2.3vw, 36px); line-height: .9; }
.day-es { font-family: var(--script); font-size: 22px; color: var(--sun); line-height: 1; margin-top: 2px; }
.day ul { margin-top: auto; padding-top: 22px; display: grid; gap: 12px; }
.day li b { display: flex; justify-content: space-between; gap: 8px; font-size: 15.5px; line-height: 1.2; }
.day li b i { font-style: normal; font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 19px; }
.day li span { font-size: 12.5px; color: #7a6253; }
.day.today { background: var(--sun); color: #fff; border-color: var(--sun); transform: rotate(-2deg) scale(1.04); box-shadow: 0 24px 50px rgba(255, 90, 31, .35); z-index: 2; }
.day.today .day-es { color: var(--mango); }
.day.today li span { color: #ffe3d2; }
.day.today::before { content: 'Hoy · Today'; position: absolute; top: -13px; right: 14px; height: 26px; padding: 0 12px; border-radius: 999px; background: var(--ink); color: var(--mango); font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; display: flex; align-items: center; }
.week-note { margin-top: 22px; font-size: 14px; color: #6b5245; }
.week-note b { color: var(--sun); }

/* ---------- 5 · menu ---------- */
.menu { padding: clamp(90px, 15vh, 180px) 0 clamp(80px, 12vh, 150px); background: radial-gradient(50% 40% at 0% 0%, rgba(23, 138, 76, .16), transparent 70%), var(--sand); overflow: hidden; }
.menu-tools { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.menu-note { margin-top: 30px; font-size: 12.5px; color: #7a6253; max-width: 80ch; }

/* desktop: a four-panel brochure that unfolds as you scroll into it */
.fold-scene { display: none; perspective: 2800px; perspective-origin: 50% 28%; padding-inline: var(--pad); max-width: 1500px; margin-inline: auto; }
.fold { position: relative; transform-style: preserve-3d; height: var(--h, 600px); }
.panel { transform-style: preserve-3d; }
.fold > .panel { position: absolute; left: 0; top: 0; width: 25%; height: 100%; transform: translateX(var(--shift, 0%)); }
.panel > .panel { position: absolute; left: 100%; top: 0; width: 100%; height: 100%; transform-origin: 0 50%; transform: rotateY(calc(var(--dir) * var(--ang, 0deg))); }
.face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.front { background: var(--paper); border-left: 1px dashed rgba(35, 18, 11, .16); box-shadow: 0 30px 60px rgba(35, 18, 11, .12); }
.fold > .panel > .front { border-left: 0; }
.front::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: var(--shade, 0); background: linear-gradient(90deg, rgba(35, 18, 11, .3), rgba(35, 18, 11, 0) 35%, rgba(35, 18, 11, 0) 65%, rgba(35, 18, 11, .22)); }
.back { transform: rotateY(180deg); background: repeating-linear-gradient(135deg, #f7ead6 0 14px, #f3e3ca 14px 28px); }
.back.cover { background: linear-gradient(180deg, #1c8fd6 0%, #58c1ee 46%, #ffd9a0 46.2%, #fff0d4 100%); display: grid; align-content: center; justify-items: center; text-align: center; padding: 26px; gap: 10px; }
.back.cover img { width: 82%; box-shadow: 0 12px 30px rgba(0, 0, 0, .2); background: rgba(255, 250, 241, .95); border-radius: 26px; padding: 4% 5%; }
.back.cover b { font-family: var(--display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 22px; color: var(--red); line-height: 1; margin-top: 14px; }
.back.cover span { font-size: 13px; font-weight: 600; color: var(--ink); }
.back.cover em { font-style: normal; font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--red); }
.pin { padding: 26px 22px 30px; }
.p-head { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 3px solid var(--tint); }
.p-head small { font-size: 10.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--tint); }
.p-head h3 { font-family: var(--display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(34px, 3vw, 48px); line-height: .88; margin-top: 4px; }
.p-head p { font-size: 12px; color: #7a6253; margin-top: 8px; line-height: 1.4; }
.grp { margin-top: 18px; }
.grp h4 { margin: 0 0 8px; display: flex; align-items: baseline; gap: 8px; font-family: var(--display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 21px; line-height: 1; color: var(--tint); }
.grp h4 i { font-family: var(--script); font-style: normal; text-transform: none; font-size: 18px; color: var(--ink); opacity: .75; }
.it { padding: 5px 0; border-bottom: 1px dotted rgba(35, 18, 11, .2); }
.it b { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.it b i { font-style: normal; font-variant-numeric: tabular-nums; white-space: nowrap; }
.it b i.ask { font-weight: 500; font-size: 11px; color: #9a8474; letter-spacing: .06em; text-transform: uppercase; }
.it span { display: block; font-size: 11.5px; color: #7a6253; line-height: 1.3; }

/* phones and small screens: each fold of the menu opens downward */
.leaves { display: grid; gap: 12px; }
.leaf { border-radius: 22px; background: var(--paper); border: 1.5px solid var(--line); overflow: hidden; box-shadow: 0 12px 30px rgba(35, 18, 11, .06); }
.leaf-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 20px; text-align: left; border-left: 8px solid var(--tint); }
.leaf-btn h3 { font-family: var(--display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(32px, 9vw, 46px); line-height: .88; }
.leaf-btn small { display: block; font-size: 12.5px; color: #7a6253; margin-top: 6px; line-height: 1.35; }
.leaf-btn i { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--tint); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 24px; font-weight: 300; transition: transform .6s var(--ease); }
.leaf.open .leaf-btn i { transform: rotate(45deg); }
.leaf-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease); }
.leaf.open .leaf-body { grid-template-rows: 1fr; }
.leaf-in { overflow: hidden; perspective: 1400px; }
.seg { padding: 4px 20px 16px; border-top: 1px dashed rgba(35, 18, 11, .2); transform-origin: 50% 0; transform: rotateX(-86deg); opacity: 0; transition: transform .8s var(--ease), opacity .5s; transition-delay: calc(var(--s) * 110ms); background: linear-gradient(180deg, rgba(35, 18, 11, .035), transparent 34px); }
.seg:nth-child(even) { background: linear-gradient(180deg, rgba(35, 18, 11, .07), transparent 34px); }
.leaf.open .seg { transform: none; opacity: 1; }
.seg .grp { margin-top: 14px; }
.seg .it b { font-size: 15px; }
.seg .it span { font-size: 12.5px; }
.seg .it { padding: 8px 0; }

/* ---------- 6 · visit ---------- */
.visit { position: relative; padding: clamp(100px, 16vh, 190px) 0; color: #fff; background: linear-gradient(160deg, #ff8a1f 0%, var(--sun) 40%, var(--red) 100%); overflow: hidden; isolation: isolate; }
.visit::before { content: ''; position: absolute; z-index: -1; left: 50%; bottom: -62vw; width: 110vw; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 183, 3, .75), rgba(255, 183, 3, 0)); }
.visit-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 5vw; align-items: end; }
.visit h2 { font-size: clamp(64px, 12.5vw, 230px); margin-top: 16px; }
.visit h2 .script { color: var(--ink); font-size: .7em; }
.visit-meta { font-size: clamp(16px, 1.5vw, 21px); margin-top: 20px; max-width: 34ch; }
.visit .btn-sun { background: var(--ink); box-shadow: none; }
.visit .btn-sun:hover { background: #fff; color: var(--ink); }
.card { background: var(--paper); color: var(--ink); border-radius: 26px; padding: 28px; box-shadow: 0 30px 70px rgba(35, 18, 11, .28); }
.card h3 { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #7a6253; }
.card .chip { background: var(--ink); letter-spacing: 0; text-transform: none; }
.hours-big { font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: clamp(50px, 5.4vw, 84px); line-height: .9; margin-top: 16px; }
.hours-sub { font-size: 14.5px; color: #6b5245; margin-top: 8px; }
.know { margin-top: 20px; display: grid; }
.know li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.know b { font-weight: 800; }
.know span { color: #6b5245; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--cream); padding: 50px 0 110px; overflow: hidden; }
.foot-big { font-family: var(--display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 17.5vw; line-height: .8; text-align: center; white-space: nowrap; letter-spacing: -.02em; background: linear-gradient(180deg, var(--mango), var(--sun) 60%, rgba(229, 38, 31, .15)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line-l); font-size: 13px; color: #cdb9a6; }
.foot-row img { width: 96px; height: 96px; background: var(--paper); border-radius: 20px; padding: 6px; }
.foot-row a:hover { color: var(--mango); }

/* ---------- dock (phones) ---------- */
.dock { display: none; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 55; height: 62px; border-radius: 999px; background: rgba(35, 18, 11, .92); backdrop-filter: blur(14px); color: var(--cream); align-items: center; justify-content: space-between; padding: 6px; box-shadow: 0 16px 40px rgba(35, 18, 11, .45); transform: translateY(130%); transition: transform .7s var(--ease); }
.dock.on { transform: none; }
.dock a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 100%; border-radius: 999px; font-size: 14px; font-weight: 700; }
.dock svg { width: 17px; height: 17px; }
.dock-main { background: var(--sun); color: #fff; }

/* ---------- responsive ---------- */
@media (min-width: 1100px) {
  .fold-scene { display: block; }
  .leaves { display: none; }
}
@media (max-width: 1099px) {
  #foldToggle { display: none; }
}
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .value-grid { grid-template-columns: 1fr; }
  .receipt { position: relative; top: 0; max-width: 380px; margin: 10px auto 0; }
  .week-grid { grid-template-columns: repeat(2, 1fr); }
  .day { min-height: 200px; }
  .day.today { transform: rotate(-1.5deg) scale(1.02); }
  .visit-grid { grid-template-columns: 1fr; gap: 40px; }
  /* favorites become a native swipe row */
  .dishes { height: auto !important; }
  .dishes-sticky { position: static; height: auto; padding-block: 90px 70px; }
  .dish-track { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; scrollbar-width: none; padding-bottom: 6px; }
  .dish-track::-webkit-scrollbar { display: none; }
  .dish { scroll-snap-align: center; height: 460px; }
  .dish-bar { display: none; }
}
@media (max-width: 700px) {
  .film { height: 520vh; }
  .film-shade { background: linear-gradient(180deg, rgba(35, 18, 11, .55) 0%, rgba(35, 18, 11, 0) 22%, rgba(35, 18, 11, .1) 45%, rgba(35, 18, 11, .86) 100%); }
  .cap { bottom: 96px; }
  .rail { display: none; }
  .film-hint { bottom: 30px; }
  .nav { height: 56px; padding-left: 74px; top: 8px; }
  .nav-logo { width: 68px; height: 68px; top: -6px; }
  .nav-logo img { width: 58px; height: 58px; }
  .nav .btn span { display: none; }
  .nav .btn { width: 44px; padding: 0; margin-left: auto; }
  .nav::after { content: 'Tropical Beach Cafe'; font-family: var(--script); font-size: 22px; color: var(--ink); position: absolute; left: 82px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); margin-top: 22px; }
  .dock { display: flex; }
  .cta-row .btn { flex: 1 1 auto; }
  .know li { grid-template-columns: 84px 1fr; }
}
@media (max-width: 420px) {
  .week-grid { grid-template-columns: 1fr; }
  .day { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .ln > span, [data-reveal], .seg, .receipt-lines li { transform: none; opacity: 1; }
  .manifesto .w { opacity: 1; }
}
