/* ---------- Tokens ---------- */

:root {
  --ink: oklch(0.14 0.012 50);
  --surface: oklch(0.19 0.016 50);
  --surface-2: oklch(0.105 0.01 50);
  --line: oklch(0.32 0.02 60 / 35%);
  --line-strong: oklch(0.4 0.03 65 / 50%);
  --text: oklch(0.94 0.008 70);
  --muted: oklch(0.7 0.02 60);
  --muted-2: oklch(0.61 0.018 55);
  --gold: oklch(0.72 0.13 78);
  --gold-bright: oklch(0.84 0.14 85);
  --gold-deep: oklch(0.5 0.1 70);
  --gold-ink: oklch(0.18 0.03 70);

  --display: "Bodoni Moda", "Times New Roman", serif;
  --body: "Public Sans", -apple-system, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.wrap-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

section { position: relative; }

.eyebrow {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo), background 0.3s, color 0.3s, border-color 0.3s;
}

.btn-gold {
  background: var(--gold);
  color: var(--gold-ink);
}

.btn-gold:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px oklch(0.72 0.13 78 / 45%);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.4s var(--ease-out-quart), background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  padding: 14px 0;
  background: oklch(0.1 0.01 50 / 88%);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}

.nav-logo em { color: var(--gold); font-style: normal; }

.nav-links {
  display: flex;
  gap: clamp(20px, 2.4vw, 36px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 0;
  transition: color 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-quart);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }
.nav-links a.is-active { color: var(--gold-bright); }

.nav-cta { display: none; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 0.35s var(--ease-out-quart), opacity 0.35s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(320px, 82vw);
  background: var(--surface-2);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out-expo);
  z-index: 99;
}

.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav a {
  font-family: var(--display);
  font-size: 22px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

@media (min-width: 900px) {
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}

@media (max-width: 899px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 42%;
  animation: hero-zoom 26s var(--ease-out-quart) forwards;
}

@keyframes hero-zoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, oklch(0.08 0.01 50 / 92%) 0%, oklch(0.08 0.01 50 / 35%) 48%, oklch(0.08 0.01 50 / 55%) 100%),
    linear-gradient(90deg, oklch(0.08 0.01 50 / 65%) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: clamp(56px, 8vw, 100px);
}

.hero-eyebrow {
  opacity: 0;
  animation: rise 0.9s var(--ease-out-expo) 0.3s forwards;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 5.4rem);
  line-height: 1.04;
  max-width: 14ch;
  margin: 18px 0 26px;
  color: var(--text);
}

.hero h1 .reveal-line {
  display: block;
  overflow: hidden;
}

.hero h1 .reveal-line span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise-line 1s var(--ease-out-expo) forwards;
}

.hero h1 .reveal-line:nth-child(1) span { animation-delay: 0.45s; }
.hero h1 .reveal-line:nth-child(2) span { animation-delay: 0.58s; color: var(--gold); }

@keyframes rise-line {
  to { transform: translateY(0); }
}

.hero-sub {
  max-width: 46ch;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
  opacity: 0;
  animation: rise 0.9s var(--ease-out-expo) 0.85s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
  opacity: 0;
  animation: rise 0.9s var(--ease-out-expo) 1.05s forwards;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
  position: absolute;
  right: clamp(20px, 4vw, 48px);
  bottom: 28px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  opacity: 0;
  animation: rise 0.9s var(--ease-out-expo) 1.3s forwards;
}

.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scroll-drip 2.2s ease-in-out infinite;
}

@keyframes scroll-drip {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

@media (max-width: 640px) {
  .hero-scroll { display: none; }
}

/* ---------- Reveal system ---------- */

.reveal {
  opacity: 1;
}

.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-image {
  clip-path: inset(0 0 0 0);
}

.reveal-image .img-mask {
  overflow: hidden;
}

.reveal-image .img-mask img {
  transform: scale(1.12);
  transition: transform 1.3s var(--ease-out-expo);
}

.reveal-image.is-revealed .img-mask img {
  transform: scale(1);
}

.reveal-image .img-mask::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.9s var(--ease-out-expo) 0.08s;
}

.reveal-image.is-revealed .img-mask::after {
  transform: scaleX(0);
}

.img-mask { position: relative; }

/* ---------- Section rhythm ---------- */

.section {
  padding: clamp(80px, 11vw, 150px) 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  margin-top: 14px;
  color: var(--text);
}

.rule {
  height: 1px;
  background: var(--line);
  border: none;
  margin: 0;
}

/* ---------- Signature dishes ---------- */

.dish-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding: clamp(48px, 7vw, 84px) 0;
  border-bottom: 1px solid var(--line);
}

.dish-row:first-of-type { padding-top: 0; }
.dish-row:last-of-type { border-bottom: none; padding-bottom: 0; }

@media (min-width: 860px) {
  .dish-row {
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(48px, 6vw, 96px);
  }
  .dish-row.is-reversed { grid-template-columns: 1.1fr 0.9fr; }
  .dish-row.is-reversed .dish-media { order: 2; }
}

.dish-media .img-mask {
  aspect-ratio: 4 / 5;
  border-radius: 2px;
}

.dish-media img { width: 100%; height: 100%; object-fit: cover; }

.dish-index {
  font-family: var(--display);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.dish-copy h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  margin: 14px 0 18px;
}

.dish-copy p {
  color: var(--muted);
  max-width: 48ch;
  font-size: 16px;
}

.dish-meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.dish-price {
  font-family: var(--display);
  font-size: 22px;
  color: var(--gold-bright);
}

.dish-tag {
  font-size: 13px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}

/* ---------- Process band ---------- */

.process {
  background: var(--surface-2);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .process-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}

.process-media .img-mask {
  aspect-ratio: 3 / 4;
  border-radius: 2px;
}

.process-media img { width: 100%; height: 100%; object-fit: cover; }

.process-stats {
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat-num {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  color: var(--gold-bright);
}

.stat-label {
  font-size: 13px;
  color: var(--muted-2);
  letter-spacing: 0.03em;
  max-width: 16ch;
  display: block;
  margin-top: 6px;
}

.process-copy p {
  color: var(--muted);
  max-width: 50ch;
  margin-top: 18px;
  font-size: 16px;
}

/* ---------- Bar / wine split ---------- */

.split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

@media (min-width: 760px) {
  .split-grid { grid-template-columns: 1fr 1fr; }
}

.split-panel {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.split-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out-quart);
}

.split-panel:hover img { transform: scale(1.06); }

.split-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, oklch(0.08 0.01 50 / 90%) 0%, transparent 55%);
}

.split-content {
  position: relative;
  z-index: 1;
  padding: clamp(32px, 4vw, 52px);
}

.split-content h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  color: var(--text);
}

.split-content p {
  color: var(--muted);
  margin-top: 10px;
  max-width: 38ch;
  font-size: 15px;
}

.split-content a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-bright);
  font-weight: 600;
}

/* ---------- Reservation band ---------- */

.reserve-band {
  background: var(--gold);
  color: var(--gold-ink);
  text-align: center;
}

.reserve-band h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  color: var(--gold-ink);
}

.reserve-band p {
  margin-top: 16px;
  color: oklch(0.3 0.04 70 / 85%);
  font-size: 17px;
}

.reserve-band .btn-ghost {
  border-color: oklch(0.3 0.04 70 / 40%);
  color: var(--gold-ink);
}

.reserve-band .btn-ghost:hover {
  border-color: var(--gold-ink);
  color: var(--gold-ink);
  background: oklch(0.3 0.04 70 / 10%);
}

.reserve-band .btn-gold {
  background: var(--gold-ink);
  color: var(--gold-bright);
}

.reserve-band .btn-gold:hover {
  background: oklch(0.24 0.03 70);
  box-shadow: 0 14px 30px -10px oklch(0.18 0.03 70 / 55%);
}

.reserve-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  padding: clamp(56px, 7vw, 88px) 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

.footer-brand .nav-logo { font-size: 26px; }

.footer-brand p {
  color: var(--muted);
  margin-top: 16px;
  max-width: 34ch;
  font-size: 14.5px;
}

.footer-col h4 {
  font-family: var(--body);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.footer-col div, .footer-col a {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14.5px;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted-2);
}

.footer-bottom a { color: var(--muted-2); }
.footer-bottom a:hover { color: var(--gold-bright); }

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  padding: clamp(150px, 20vw, 220px) 0 clamp(60px, 8vw, 90px);
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.page-hero .eyebrow { display: block; margin-bottom: 16px; }

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  max-width: 16ch;
}

.page-hero p {
  margin-top: 18px;
  max-width: 54ch;
  color: var(--muted);
  font-size: 17px;
}

/* ---------- Focus ---------- */

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}
