:root {
  --ink: #090807;
  --ink-2: #110f0d;
  --line: rgba(232, 222, 205, .16);
  --bone: #ece3d3;
  --bone-line: rgba(30, 24, 16, .2);
  --text: #eee6d8;
  --muted: #a89f90;
  --muted-dark: #5d5447;
  --gold: #c9a45f;
  --gold-dark: #7d5f26;
  --serif: "EB Garamond", "Times New Roman", Georgia, serif;
  --sans: "Karla", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(22px, 5.4vw, 88px);
  --header: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
}

/* A trace of film grain, so nothing feels digitally flat. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background: url("assets/grain.png");
}

img, canvas { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.012em; }
h2 { font-size: clamp(2.7rem, 5.6vw, 5rem); text-wrap: balance; }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.skip {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  padding: 10px 16px; background: var(--bone); color: var(--ink);
}
.skip:focus { top: 12px; }

.eyebrow {
  font-size: .72rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
}

.section-lead { color: var(--muted); margin-top: 18px; }

.link-line {
  display: inline-block; padding: 10px 0 8px; min-height: 44px;
  font-size: .76rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid var(--gold);
  transition: color .3s, border-color .3s;
}
.link-line:hover { color: var(--gold); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  background: rgba(9, 8, 7, .96);
}
.brand img { width: 88px; }
.site-nav { display: flex; gap: 40px; margin-inline: auto; }
.site-nav a {
  padding: 12px 0; text-decoration: none; font-size: .72rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: #d5ccbd; transition: color .3s;
}
.site-nav a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 28px; }
.lang { display: flex; align-items: center; gap: 2px; color: #6f675b; font-size: .74rem; letter-spacing: .14em; }
.lang button { min-width: 36px; min-height: 44px; color: #8a8173; letter-spacing: .14em; transition: color .3s; }
.lang button[aria-pressed="true"] { color: var(--text); }
.call { font-size: .82rem; letter-spacing: .08em; text-decoration: none; white-space: nowrap; padding: 12px 0; transition: color .3s; }
.call:hover { color: var(--gold); }
.progress { position: absolute; inset: auto 0 0; height: 1px; pointer-events: none; }
.progress-line { height: 100%; background: var(--gold); opacity: .7; transform-origin: left; transform: scaleX(0); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-photo { position: absolute; inset: 0 0 0 34%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0, rgba(9, 8, 7, .62) 26%, rgba(9, 8, 7, 0) 58%),
    linear-gradient(0deg, var(--ink) 0, rgba(9, 8, 7, 0) 26%),
    linear-gradient(180deg, rgba(9, 8, 7, .55) 0, rgba(9, 8, 7, 0) 22%);
}
.hero-copy { position: relative; padding: calc(var(--header) + 30px) var(--gutter) clamp(44px, 8vh, 88px); max-width: 780px; }
.hero h1 { font-size: clamp(4rem, 9.2vw, 8.6rem); margin-top: 22px; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-lead { max-width: 36ch; margin: 26px 0 30px; color: #cfc6b7; }

/* Scroll scenes */
.scene { position: relative; }
.scene-bowl { height: 640vh; background: var(--ink); }
.scene-burrito { height: 460vh; background: var(--ink); }
.scene-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.scene-bowl .scene-pin { background: var(--ink); }
.scene-bowl .scene-pin::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(44% 60% at 64% 50%, rgba(235, 186, 110, .09), transparent 74%);
}
.stage { position: absolute; inset: 0; }
.scene-bowl .stage { inset: var(--header) 0 0 26%; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-burrito .scene-pin::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(9, 8, 7, .9) 0, transparent 20%),
    linear-gradient(0deg, rgba(9, 8, 7, .92) 0, transparent 30%);
}
.caption { position: absolute; z-index: 2; left: var(--gutter); bottom: clamp(36px, 8vh, 80px); width: min(40vw, 520px); }
.count { margin-top: 12px; color: var(--muted); font-size: .8rem; letter-spacing: .2em; }
.steps { position: relative; height: 1.1em; margin-top: 10px; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1.05; }
.steps li { position: absolute; left: 0; bottom: 0; white-space: nowrap; opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.steps li.active { opacity: 1; transform: none; }

/* Menu */
.menu {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: start; gap: clamp(30px, 5vw, 80px);
  padding: clamp(90px, 13vw, 180px) var(--gutter);
  background: var(--ink-2);
}
.menu h2 { margin-top: 16px; }
.menu-list { margin-top: clamp(36px, 5vw, 64px); }
.menu-list li { padding: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 8px 24px; align-items: baseline; }
.menu-list li:last-child { border-bottom: 1px solid var(--line); }
.menu-list h3 { font-size: clamp(1.9rem, 2.9vw, 2.7rem); }
.menu-list p { color: var(--muted); font-size: .98rem; }
.menu-photo { position: sticky; top: calc(var(--header) + 24px); }
.price-note { margin-top: 28px; color: var(--muted); font-size: .98rem; }

/* Proteins */
.proteins {
  padding: clamp(90px, 12vw, 170px) var(--gutter);
  background: var(--bone); color: #17120c;
}
.proteins .eyebrow { color: var(--gold-dark); }
.proteins h2 { margin-top: 16px; max-width: 15ch; }
.protein-list { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(30px, 6vw, 96px); }
.protein-list li {
  padding: 20px 0; border-top: 1px solid var(--bone-line);
  font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.12;
}
.protein-list small {
  margin-left: 10px; font-family: var(--sans); font-size: .66rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-dark); white-space: nowrap;
}

/* Lemonade */
.lemonade {
  --glow: #d9d45a;
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(72px, 9vw, 120px) var(--gutter);
  background: #0c0b0a;
}
.lemonade::before {
  content: ""; position: absolute; inset: 0; opacity: .28; pointer-events: none;
  background: radial-gradient(38% 58% at 72% 50%, var(--glow), transparent 72%);
  transition: background .5s;
}
.lemonade-copy, .bottle-wrap { position: relative; }
.lemonade h2 { margin-top: 16px; }
.flavours { display: grid; gap: 4px; margin-top: 28px; max-width: 420px; }
.flavours button {
  display: flex; align-items: center; gap: 16px; min-height: 58px; padding: 8px 0; width: 100%;
  border-bottom: 1px solid var(--line); text-align: left;
  font-family: var(--serif); font-size: 1.7rem; color: var(--muted);
  transition: color .2s, border-color .2s;
}
.flavours button:hover { color: var(--text); }
.flavours button[aria-pressed="true"] { color: var(--text); border-color: var(--gold); }
.flavours i { width: 16px; height: 16px; border-radius: 50%; flex: none; }
[data-flavour="classic"] i { background: #e3df6a; }
[data-flavour="blue"] i { background: #3db8dc; }
[data-flavour="mango"] i { background: #f6a623; }
[data-flavour="strawberry"] i { background: #e8476a; }
.bottle-wrap { display: flex; justify-content: center; }
.bottle { height: min(72vh, 620px); width: auto; overflow: visible; }

/* Visit */
.visit {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(32px, 7vw, 120px);
  padding: clamp(90px, 12vw, 170px) var(--gutter);
  background: var(--ink-2);
}
.visit-photo { overflow: hidden; }
.visit-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 100%; }
.visit h2 { margin-top: 16px; }
.details { margin-top: 38px; }
.details > div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.details dt { color: var(--muted); font-size: .94rem; }
.details dd { font-family: var(--serif); font-size: 1.5rem; line-height: 1.25; }
.details a { text-decoration: none; }
.details a:hover { color: var(--gold); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 32px; }

/* Footer */
.site-footer {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding: 44px var(--gutter); background: var(--ink); color: var(--muted); font-size: .9rem;
}
.site-footer img { width: 104px; }

.js .reveal { opacity: 0; }
.motion-off .reveal { opacity: 1; }

/* Static versions for people who prefer reduced motion */
.motion-off .scene { height: auto; }
.motion-off .scene-pin { position: relative; height: 100vh; }

@media (max-width: 1060px) { .site-nav { display: none; } .header-actions { margin-left: auto; } }

@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .hero { min-height: 100svh; }
  .hero-photo { inset: 0 0 34% 0; }
  .hero-photo img { object-position: 50% 58%; }
  .hero-photo::after {
    background: linear-gradient(0deg, var(--ink) 0, rgba(9, 8, 7, 0) 40%), linear-gradient(180deg, rgba(9, 8, 7, .7) 0, rgba(9, 8, 7, 0) 26%);
  }
  .hero h1 { font-size: clamp(3.6rem, 18vw, 6rem); }
  .hero-lead { margin: 16px 0 20px; }

  .scene-bowl .stage { inset: 22% 0 0 0; }
  .scene-burrito .stage { inset: 22% 0 0 0; }
  .scene-bowl .scene-pin::before { background: radial-gradient(70% 34% at 50% 58%, rgba(235, 186, 110, .1), transparent 72%); }
  .scene-burrito canvas { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%); }
  .caption { top: calc(var(--header) + 4px); bottom: auto; width: auto; right: var(--gutter); }
  .steps { font-size: clamp(2.1rem, 9.6vw, 3.2rem); margin-top: 4px; }
  .count { margin-top: 6px; }

  .menu, .visit { grid-template-columns: 1fr; }
  .menu-photo { position: static; }
  .protein-list { grid-template-columns: 1fr; }
  .lemonade { grid-template-columns: 1fr; }
  .bottle { height: 480px; }
  .lemonade::before { background: radial-gradient(60% 34% at 50% 76%, var(--glow), transparent 72%); }
}

@media (max-width: 520px) {
  .call { display: none; }
  .brand img { width: 78px; }
  .menu-list li { grid-template-columns: 1fr; }
  .details > div { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
