@font-face {
  font-family: "Bodega Script";
  src: url("assets/fonts/BodegaScript.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Prestige";
  src: url("assets/fonts/Prestige12Pitch-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Prestige";
  src: url("assets/fonts/Prestige12Pitch-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #f5f4ed; /* Morning Snow */
  --cream-deep: #ececdc; /* Amazon Mist */
  --orange: #ff6037; /* Toxic Orange */
  --orange-deep: #e54f2a;
  --garnet: #733635; /* Garnet */
  --garnet-deep: #351e1c; /* Black Kite */
  --garnet-soft: #8a4f4c;
  --mint: #a0c9cb; /* Aqua Mist */
  --mint-deep: #8fb8ba;
  --ink: #351e1c;
  --ink-soft: rgba(53, 30, 28, 0.72);
  --line: rgba(115, 54, 53, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--garnet);
  background: var(--cream);
  font-family: "Prestige", "Courier New", monospace;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--orange);
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.script {
  font-family: "Bodega Script", "Brush Script MT", cursive;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--garnet);
}

.menu .script {
  -webkit-text-stroke: 0.55px currentColor;
  text-shadow: 0.35px 0 0 currentColor;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.lede {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  color: var(--cream);
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(245, 244, 237, 0.9);
  color: var(--garnet);
  backdrop-filter: blur(10px);
}

.mark {
  position: relative;
  display: block;
  width: 42px;
  height: 34px;
}

.mark img {
  position: absolute;
  inset: 0;
  width: 42px;
  height: auto;
  transition: opacity 0.3s var(--ease);
}

.mark-garnet {
  opacity: 0;
}

.site-header.is-scrolled .mark-cream {
  opacity: 0;
}

.site-header.is-scrolled .mark-garnet {
  opacity: 1;
}

.nav {
  display: flex;
  gap: 1.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  text-decoration: none;
  opacity: 0.9;
  color: inherit;
}

.nav a:hover {
  opacity: 1;
  color: inherit;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 6.5rem 1.5rem 3.5rem;
  overflow: hidden;
  background: #120c0b;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: hero-drift 18s var(--ease) both;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 12, 11, 0.35) 0%, rgba(18, 12, 11, 0.15) 35%, rgba(18, 12, 11, 0.72) 100%),
    linear-gradient(90deg, rgba(18, 12, 11, 0.55) 0%, transparent 55%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  animation: rise 1.1s var(--ease) both;
}

.hero-wordmark {
  width: min(100%, 560px);
  margin-bottom: 1.35rem;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
}

.hero-line {
  margin: 0 0 1.75rem;
  max-width: 24rem;
  font-size: 1.05rem;
  color: rgba(245, 244, 237, 0.88);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--garnet);
  font-family: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--orange-deep);
  border-color: var(--orange-deep);
  color: var(--cream);
}

.hero .btn-ghost {
  background: transparent;
  border-color: rgba(245, 244, 237, 0.55);
  color: var(--cream);
}

.hero .btn-ghost:hover {
  background: rgba(245, 244, 237, 0.1);
  border-color: var(--cream);
  color: var(--cream);
}

.btn-ghost {
  background: transparent;
  color: var(--garnet);
}

.btn-ghost:hover {
  background: rgba(255, 96, 55, 0.08);
  border-color: var(--orange);
  color: var(--orange);
}

.menu.is-in,
.gallery.is-in,
.visit.is-in {
  opacity: 1;
  transform: none;
}

/* Menu */
.menu {
  padding: 5.5rem 1.5rem 6.5rem;
  background: linear-gradient(180deg, #c5dfe0 0%, var(--mint) 100%);
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.menu-head {
  text-align: center;
  margin-bottom: 2rem;
}

.menu-head .script {
  margin: 0;
  font-size: clamp(3.5rem, 10vw, 6.5rem);
}

.menu-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 auto 2.75rem;
}

.menu-tab {
  appearance: none;
  min-height: 2.4rem;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--garnet);
  background: transparent;
  color: var(--garnet);
  font-family: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.menu-tab:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.menu-tab.is-active {
  background: var(--garnet);
  border-color: var(--garnet);
  color: var(--cream);
}

.menu-panel[hidden] {
  display: none;
}

.menu-panel.is-active {
  display: block;
  animation: rise 0.45s var(--ease) both;
}

.menu-note {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3.5rem;
  max-width: 980px;
  margin: 0 auto;
}

.menu-grid-more {
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem 3rem;
}

.menu-col {
  min-width: 0;
}

.menu-title {
  margin: 0 0 0.35rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-align: center;
}

.menu-sub {
  margin: 0 0 1.75rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.wine-note {
  margin-top: 0.15rem;
  margin-bottom: 1.1rem;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.item-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.item-name {
  font-family: "Prestige", monospace;
  font-weight: 700;
  font-size: 0.98rem;
}

.item-desc {
  margin: 0.28rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.menu-aside {
  margin: 2rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-align: center;
}

/* Gallery */
.gallery {
  padding: 4.5rem 1.5rem 5rem;
  background: var(--cream);
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.gallery-head {
  text-align: center;
  margin-bottom: 2rem;
}

.gallery-head .script {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 4.5rem);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  max-width: 860px;
  margin: 0 auto;
}

.gallery-item {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #1a1210;
  cursor: zoom-in;
  overflow: hidden;
  display: block;
  width: 100%;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: outline-color 0.25s var(--ease), transform 0.35s var(--ease);
  outline: 1px solid transparent;
  outline-offset: -1px;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  outline-color: var(--orange);
  transform: scale(1.015);
}

.gallery-item:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(18, 12, 11, 0.88);
  backdrop-filter: blur(6px);
}

.lightbox[hidden] {
  display: none;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox-img {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
}

.lightbox-close:hover {
  opacity: 1;
  color: var(--orange);
}

/* Visit */
.visit {
  padding: 6.5rem 1.5rem;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(212, 228, 227, 0.45), transparent 60%),
    var(--cream);
  border-top: 1px solid var(--line);
  text-align: center;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.visit-inner {
  max-width: 820px;
  margin: 0 auto;
}

.visit .script {
  margin: 0;
  font-size: clamp(3.5rem, 10vw, 6.5rem);
}

.visit-lede {
  margin-left: auto;
  margin-right: auto;
}

.visit-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0 2.5rem;
  text-align: left;
}

.visit-details h3 {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.visit-details p {
  margin: 0;
  color: var(--ink-soft);
}

.visit-details a {
  text-decoration: none;
}

.visit-details a:hover {
  text-decoration: underline;
}

.visit-cta {
  min-width: 12rem;
}

/* Footer */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 2.5rem 1.5rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--garnet-soft);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.footer-mark {
  width: 56px;
  opacity: 0.85;
}

/* Motion */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-photo,
  .hero-copy,
  .menu-panel.is-active {
    animation: none !important;
  }

  .menu,
  .gallery,
  .visit {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .hero {
    align-items: flex-end;
    min-height: 92svh;
    padding: 5.5rem 1.25rem 2.5rem;
    text-align: center;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-wordmark {
    margin-left: auto;
    margin-right: auto;
    width: min(100%, 420px);
  }

  .hero-line {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-veil {
    background:
      linear-gradient(180deg, rgba(18, 12, 11, 0.4) 0%, rgba(18, 12, 11, 0.2) 40%, rgba(18, 12, 11, 0.78) 100%);
  }

  .lede {
    margin-left: auto;
    margin-right: auto;
  }

  .menu-grid,
  .menu-grid-more {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 520px;
  }

  .visit-details {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.75rem;
  }
}

@media (max-width: 520px) {
  .nav {
    gap: 0.75rem;
    font-size: 0.68rem;
  }

  .btn {
    width: 100%;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}
