:root {
  --bg: #fffaf5;
  --surface: #ffffff;
  --text: #281817;
  --muted: #6b4e49;
  --primary: #8a1f35;
  --accent: #f2b84b;
  --border: #ead9cf;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fffdfb 0%, var(--bg) 100%);
}

body.age-gate-open {
  overflow: hidden;
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(255, 253, 251, 0.86);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  min-height: 116px;
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow: visible;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.brand img {
  width: 168px;
  height: 168px;
  object-fit: contain;
  margin-block: -26px;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.hero {
  padding: 80px 0 48px;
  display: block;
}

.kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  margin-bottom: 14px;
}

h1 span {
  color: var(--primary);
}

p {
  color: var(--muted);
  line-height: 1.6;
}

.btn {
  display: inline-block;
  margin-top: 16px;
  border-radius: 999px;
  padding: 12px 24px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease;
}

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

.btn-secondary {
  background: var(--accent);
  color: #2a1a00;
}

.hero-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 9, 9, 0.78) 0%, rgba(18, 9, 9, 0.58) 35%, rgba(18, 9, 9, 0.12) 58%, rgba(18, 9, 9, 0) 100%);
  z-index: 1;
}

.hero-visual img {
  margin: 0;
  max-height: none;
  width: 100%;
  object-fit: cover;
  object-position: right center;
  border-radius: 24px;
  border: 1px solid var(--border);
}

.hero-overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 5vw, 56px);
  max-width: min(560px, 48%);
}

.hero-overlay .kicker,
.hero-overlay h1,
.hero-overlay p {
  color: #fff;
}

.hero-overlay h1 span {
  color: #ffd8a3;
}

.hero-overlay p {
  max-width: 48ch;
}

.hero-overlay .btn {
  width: fit-content;
}

.section-head {
  margin-bottom: 26px;
}

.wines {
  padding: 42px 0;
}

.wine-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.wine-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 20px;
  padding: 18px;
}

.wine-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.wine-card img {
  height: 300px;
  width: 100%;
  object-fit: contain;
  background: transparent;
  transition: transform 0.28s ease;
  transform-origin: center bottom;
}

.wine-card:hover img {
  transform: scale(1.06);
}

.wine-page {
  padding: 52px 0 70px;
}

.wine-back {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.wine-detail {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  align-items: start;
}

.wine-photo {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  padding: 14px;
}

.wine-photo img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  transition: transform 0.32s ease;
  transform-origin: center bottom;
}

.wine-photo:hover img {
  transform: scale(1.05);
}

.wine-info h1 {
  margin-bottom: 10px;
}

.wine-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 20px;
}

.wine-specs div {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
}

.wine-specs strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.wine-specs span {
  color: var(--muted);
}

.wine-notes {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: 14px 16px;
}

.wine-notes h2 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.story,
.moments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 56px 0;
}

.story img,
.moments img {
  border-radius: 22px;
  border: 1px solid var(--border);
}

.site-footer {
  margin-top: 56px;
  background: #190f10;
  color: #f5e9dd;
  padding: 40px 0;
}

.site-footer p,
.site-footer h3,
.site-footer h4 {
  color: inherit;
  margin: 0 0 8px;
}

.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(18, 8, 8, 0.78);
  display: grid;
  place-items: center;
  padding: 20px;
}

.age-gate.is-hidden {
  display: none;
}

.age-gate-card {
  width: min(520px, 100%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
}

.age-gate-card img {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.age-gate-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .story,
  .moments {
    grid-template-columns: 1fr;
  }

  .wine-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-nav {
    gap: 12px;
    justify-content: flex-end;
  }

  .hero-overlay {
    max-width: min(640px, 78%);
  }

  .wine-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wine-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-overlay {
    max-width: 100%;
  }

  .wine-specs {
    grid-template-columns: 1fr;
  }
}
