:root {
  --ink: #0d0b09;
  --cream: #f3ece2;
  --muted: rgba(243, 236, 226, .88);
  --copper: #d08a55;
  --line: rgba(243, 236, 226, .16);
  --display: 'Cormorant Garamond', Georgia, serif;
  --text: 'Montserrat', system-ui, sans-serif;
  --gutter: clamp(20px, 6vw, 96px);
}
* { box-sizing: border-box; margin: 0; }
html { background: var(--ink); color: var(--cream); font: 300 16px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
body { background: var(--ink); overflow-x: hidden; }
a { color: inherit; }

#stage { position: fixed; top: 0; left: 0; width: 100vw; height: 100lvh; display: block; }
.scrim { position: fixed; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(8,6,5,.5), rgba(8,6,5,0) 22%),
              linear-gradient(to top, rgba(8,6,5,.68), rgba(8,6,5,0) 50%),
              linear-gradient(to right, rgba(8,6,5,.42), rgba(8,6,5,0) 58%); }

#loader { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; background: var(--ink); transition: opacity .9s ease .2s, visibility 0s 1.1s; }
#loader .mark { animation: breathe 1.6s ease-in-out infinite; }
.ready #loader { opacity: 0; visibility: hidden; }
@keyframes breathe { 50% { opacity: .35; } }

.mark { font: 500 15px/1 var(--text); letter-spacing: .42em; color: var(--cream); }
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: calc(18px + env(safe-area-inset-top)) var(--gutter) 18px; }
#progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--copper); transform-origin: 0 50%; transform: scaleX(0); opacity: .8; }

.btn { display: inline-flex; align-items: center; gap: .5em; padding: 14px 26px; border-radius: 999px; background: var(--cream); color: var(--ink);
  font: 500 13px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: background .2s, color .2s; }
.btn:hover { background: var(--copper); color: var(--ink); }
.btn-small { padding: 11px 18px; font-size: 11px; background: rgba(243,236,226,.12); color: var(--cream); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); }
.btn-ghost { background: transparent; color: var(--cream); border: 1px solid var(--line); }

.ov { position: fixed; z-index: 5; left: var(--gutter); bottom: clamp(36px, 11vh, 130px); max-width: 30rem; opacity: 0; visibility: hidden;
  pointer-events: none; will-change: opacity, transform; text-shadow: 0 1px 2px rgba(0,0,0,.45), 0 2px 28px rgba(0,0,0,.5); }
.eyebrow { font: 500 11px/1.4 var(--text); letter-spacing: .28em; text-transform: uppercase; color: var(--copper); margin-bottom: 14px; }
.ov h1 { font: 500 clamp(64px, 12vw, 168px)/.9 var(--display); letter-spacing: -.01em; }
.ov h2, .after h2 { font: 500 clamp(36px, 5vw, 64px)/1.02 var(--display); margin-bottom: 14px; }
.ov p:not(.eyebrow) { color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); font-weight: 400; max-width: 26rem; }
.ov p.sub { font: italic 500 clamp(24px, 2.6vw, 34px)/1.2 var(--display); color: var(--cream); margin-top: 8px; }
.ov p.meta { margin-top: 22px; font-size: 13px; letter-spacing: .06em; }
.star { color: var(--copper); }
.hint { left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); translate: -50% 0; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.hint span { display: inline-block; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { translate: 0 5px; } }

/* on wide screens dishes sit to the right, so their text goes left-middle */
@media (min-aspect-ratio: 23/20) {
  .ov.dish { bottom: auto; top: 0; height: 100lvh; display: flex; flex-direction: column; justify-content: center; max-width: min(30rem, 36vw); }
}

#track { position: relative; z-index: 1; }
.after { position: relative; z-index: 6; min-height: 100vh; background: var(--ink); box-shadow: 0 -30px 80px rgba(0,0,0,.55); padding: clamp(80px, 14vh, 160px) var(--gutter) calc(48px + env(safe-area-inset-bottom)); }
.after .wrap { max-width: 1100px; margin: 0 auto; }
.after .lead { color: var(--muted); max-width: 34rem; font-size: 17px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 72px; }
.info { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px; border-top: 1px solid var(--line); padding-top: 40px; }
.info h3 { font: 500 11px/1.4 var(--text); letter-spacing: .28em; text-transform: uppercase; color: var(--copper); margin-bottom: 12px; }
.info p { color: var(--muted); margin-bottom: 10px; }
.info a { font-size: 14px; text-decoration: none; border-bottom: 1px solid var(--line); }
.info a:hover { border-color: var(--copper); }
.fine { margin-top: 80px; font-size: 12px; color: rgba(243,236,226,.4); }

.fallback { display: none; }
.nogl #stage, .nogl .ovs, .nogl #track, .nogl #loader { display: none; }
.nogl .fallback { display: grid; gap: 4px; }
.nogl .fallback img { width: 100%; display: block; }

@media (max-width: 640px) {
  .ov { right: var(--gutter); bottom: calc(40px + env(safe-area-inset-bottom)); }
  .ov.hero { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .hint { right: auto; }
  .mark { font-size: 13px; }
}
.hint b { font-weight: inherit; }
.k-touch { display: none; }
@media (pointer: coarse) { .k-touch { display: inline; } .k-mouse { display: none; } }

/* captions arrive line by line: each line rises a little further than the one before (--v is set per frame) */
.ov > * { transform: translate3d(0, calc((1 - var(--v, 1)) * 16px * var(--k, 1)), 0); }
.ov > :nth-child(2) { --k: 1.6; }
.ov > :nth-child(3) { --k: 2.2; }
.ov > :nth-child(4) { --k: 2.8; }

/* slide dots: where you are, and a way to jump */
.dots { position: fixed; z-index: 9; right: max(12px, env(safe-area-inset-right)); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; opacity: 0; transition: opacity .6s ease .4s; }
.ready .dots { opacity: 1; }
.ready .dots.away { opacity: 0; pointer-events: none; transition-delay: 0s; }
.dots button { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dots button::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: rgba(243,236,226,.38);
  transition: transform .35s ease, background-color .35s ease; }
.dots button.on::after { background: var(--copper); transform: scale(1.7); }
.dots button:hover::after { background: var(--cream); }
@media (max-width: 640px) { .dots { right: 2px; } .dots button { width: 18px; height: 18px; } }

/* far jumps fade through this */
.veil { position: fixed; inset: 0; z-index: 8; background: var(--ink); opacity: 0; pointer-events: none; transition: opacity .38s ease; }
.veil.on { opacity: 1; }

/* demo restaurant: the honest note at the end, and the pop-up behind its booking buttons */
button.btn { cursor: pointer; }
button.btn:not(.btn-ghost) { border: 0; }
.info .link { background: none; border: 0; padding: 0; color: inherit; font: inherit; font-size: 14px; cursor: pointer; border-bottom: 1px solid var(--line); }
.info .link:hover { border-color: var(--copper); }
.after .made { margin-top: 64px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 16px;
  display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.after .made p { color: var(--muted); max-width: 40rem; font-size: 15px; margin: 0; }
.after .made b { color: var(--cream); font-weight: 500; }
dialog.demo { max-width: min(30rem, calc(100vw - 32px)); padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: #16120f; color: var(--cream); }
dialog.demo::backdrop { background: rgba(8,6,5,.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
dialog.demo h3 { font: 500 30px/1.1 var(--display); margin-bottom: 12px; }
dialog.demo p:not(.eyebrow) { color: var(--muted); }
dialog.demo .cta { margin: 24px 0 0; }
.ov.hero { max-width: none; }
.ov.hero h1 { font-size: clamp(56px, 9vw, 140px); white-space: nowrap; }

/* top bar links: Menu (PDF) next to Book a table */
.top-links { display: flex; align-items: center; gap: 18px; }
.menu-link { font: 500 11px/1 var(--text); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--cream); opacity: .85; }
.menu-link:hover { color: var(--copper); opacity: 1; }
@media (max-width: 640px) { .top-links { gap: 12px; } .menu-link { font-size: 10px; letter-spacing: .14em; } }
@media (max-width: 640px) { .top .mark { letter-spacing: .26em; font-size: 12px; } .top-links { gap: 16px; } }

html.reel .after .made { display: none; }

/* the top bar never wraps (longer words in Portuguese) */
.top .mark, .top-links a { white-space: nowrap; }
