:root {
  --espresso: #16100b;
  --cream: #f3e9dd;
  --cream-dim: rgba(243, 233, 221, 0.72);
  --caramel: #d09a58;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  background: var(--espresso);
  color: var(--cream);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- video layer ---- */
#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(22, 16, 11, 0.55) 0%, rgba(22, 16, 11, 0.12) 30%, rgba(22, 16, 11, 0.12) 65%, rgba(22, 16, 11, 0.62) 100%),
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(22, 16, 11, 0.45) 100%);
}

/* ---- pour progress (right rail) ---- */
.pour {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  top: 50%;
  translate: 0 -50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 5;
}

.pour-track {
  width: 2px;
  height: 34vh;
  background: rgba(243, 233, 221, 0.18);
  border-radius: 999px;
  overflow: hidden;
}

.pour-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--cream), var(--caramel));
  border-radius: 999px;
  transform-origin: top;
  transform: scaleY(0);
}

.pour-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cream-dim);
  font-variant-numeric: tabular-nums;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.pour-label em {
  font-style: normal;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.22em;
  opacity: 0.6;
}

/* ---- panels ---- */
.panel {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 6vw, 96px);
}

.panel.left  { align-items: flex-start; text-align: left; }
.panel.right { align-items: flex-end;   text-align: right; }
.panel.center, .panel.hero, .panel.final { align-items: center; text-align: center; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--caramel);
  margin-bottom: 18px;
}

h1 {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(64px, 14vw, 180px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h2 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: clamp(38px, 6.5vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.lede {
  margin-top: 22px;
  font-size: clamp(16px, 2.2vw, 21px);
  color: var(--cream-dim);
  text-wrap: balance;
}

.body {
  margin-top: 22px;
  max-width: 42ch;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.65;
  color: var(--cream-dim);
  text-wrap: pretty;
}

.panel.right .body { margin-left: auto; }
.panel.center .body, .panel.final .body { margin-inline: auto; }

/* ---- reveal (staggered) ---- */
.reveal > * {
  opacity: 0;
  translate: 0 26px;
  filter: blur(6px);
  transition-property: opacity, translate, filter;
  transition-duration: 0.9s;
  transition-timing-function: var(--ease);
}

.reveal.in > * { opacity: 1; translate: 0 0; filter: blur(0); }

.reveal.in > *:nth-child(1) { transition-delay: 0s; }
.reveal.in > *:nth-child(2) { transition-delay: 0.1s; }
.reveal.in > *:nth-child(3) { transition-delay: 0.2s; }
.reveal.in > *:nth-child(4) { transition-delay: 0.3s; }
.reveal.in > *:nth-child(5) { transition-delay: 0.4s; }

/* ---- hero hint ---- */
.hint {
  position: absolute;
  bottom: max(28px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--cream-dim);
}

.hint-line {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, transparent, var(--cream));
  overflow: hidden;
  position: relative;
}

.hint-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--espresso);
  animation: drip 2s var(--ease) infinite;
}

@keyframes drip {
  0%   { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

@media (prefers-reduced-motion: reduce) {
  .hint-line::after { animation: none; }
  .reveal > * { transition-duration: 0.01s; filter: none; }
}

/* ---- menu cards ---- */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  max-width: 900px;
}

.card {
  flex: 1 1 220px;
  max-width: 280px;
  padding: 28px 24px;
  border-radius: 20px;
  text-align: left;
  background: rgba(22, 16, 11, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 0 0 1px rgba(243, 233, 221, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.25),
    0 24px 64px rgba(0, 0, 0, 0.25);
}

.card h3 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 22px;
}

.card p {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--cream-dim);
}

.card .price {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--caramel);
  font-variant-numeric: tabular-nums;
}

/* ---- CTA / footer ---- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 30px;
  padding: 0 34px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--espresso);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.3),
    0 12px 32px rgba(0, 0, 0, 0.28);
  transition-property: scale, box-shadow;
  transition-duration: 0.25s;
  transition-timing-function: var(--ease);
}

.cta:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.34), 0 18px 44px rgba(0, 0, 0, 0.3); }
.cta:active { scale: 0.96; }

footer {
  margin-top: 64px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(243, 233, 221, 0.45);
}

footer strong { color: rgba(243, 233, 221, 0.7); font-weight: 600; }

@media (max-width: 640px) {
  .pour-track { height: 22vh; }
  .panel { padding-right: 64px; }
  .panel.left, .panel.right { align-items: flex-start; text-align: left; }
  .panel.right .body { margin-left: 0; }
}
