:root {
  --ink: #1a1446;
  --ink-soft: #36317a;
  --cream: #f7ecdf;
  --rose: #d48aa8;
  --accent: #ae3838;

  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;

  --cta-h: 84px;
}

* { box-sizing: border-box; }

html {
  background: #b9b3d6;
}
html, body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body { background: transparent; }

a { color: inherit; }

/* ----- sky background ----- */
.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.sky__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #b9b3d6;
  display: block;
}
/* White wash — sits above the video, below the page content */
.wash {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(255, 255, 255, 0.42);
  pointer-events: none;
}

main {
  position: relative;
  z-index: 1;
  padding-bottom: calc(var(--cta-h) + 40px);
}

/* ----- hero ----- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}
.hero__inner {
  max-width: 720px;
  width: 100%;
}
.hero__title {
  margin: 18px 0 14px;
}
.hero__title img {
  width: min(76vw, 560px);
  height: auto;
  filter: drop-shadow(0 2px 12px rgba(26, 20, 70, 0.2));
}
.hero__kicker {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 26px);
  color: var(--ink);
  margin: 0;
  letter-spacing: 0.01em;
}
.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink);
  margin: 0 0 8px;
  opacity: 0.72;
}

.hero__scroll {
  position: absolute;
  bottom: calc(var(--cta-h) + 20px);
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--ink) 40%, transparent);
  opacity: 0.5;
}

/* ----- panels ----- */
.panel {
  padding: 18svh 24px;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.panel--center {
  padding-top: 22svh;
  padding-bottom: 22svh;
}
.panel__lead {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 28px;
}
.panel__lead em {
  font-style: italic;
  color: var(--ink-soft);
}
.panel__body {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.75;
  color: var(--ink);
  max-width: 620px;
  margin: 0 auto;
}
.panel__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 42px);
  color: var(--ink);
  margin: 0 0 24px;
  letter-spacing: 0.01em;
}

/* ----- facts grid ----- */
.panel--facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
  padding-top: 16svh;
  padding-bottom: 16svh;
  max-width: 760px;
}
.fact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 8px;
  border-top: 1px solid rgba(26, 20, 70, 0.25);
}
.fact__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink);
  opacity: 0.7;
}
.fact__value {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--ink);
}
.fact__value em {
  font-style: italic;
}

/* ----- gallery ----- */
.gallery {
  padding: 12svh 24px 8svh;
  max-width: 1440px;
  margin: 0 auto;
}
.gallery__title {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--ink);
  margin: 0 0 36px;
}

/* Bottle-shot grid: 2 large columns on desktop, 1 on mobile */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 24px 60px -24px rgba(10, 10, 26, 0.55);
  background: rgba(255, 255, 255, 0.04);
}
.gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  transition: transform 1.2s ease;
}
.gallery__item:hover img {
  transform: scale(1.03);
}

/* Night-harvest stack: full-width landscape shots */
.gallery__stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.vendange {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 28px 70px -26px rgba(10, 10, 26, 0.6);
  background: #000;
}
.vendange img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 1.4s ease;
}
.vendange:hover img {
  transform: scale(1.02);
}

/* ----- footer ----- */
.footer {
  text-align: center;
  padding: 48px 24px 28px;
  font-size: 13px;
  color: var(--ink);
  opacity: 0.75;
}
.footer p { margin: 4px 0; }
.footer a { text-decoration: underline; text-underline-offset: 3px; }

/* ----- CTAs ----- */
.cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(26, 20, 70, 0.15);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-top: 1px solid rgba(247, 236, 223, 0.2);
  padding-bottom: env(safe-area-inset-bottom);
}
.cta__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 16px 12px;
  min-height: var(--cta-h);
  text-decoration: none;
  color: var(--cream);
  transition: background-color 180ms ease, color 180ms ease;
}
.cta__btn--pros {
  background: rgba(26, 20, 70, 0.78);
}
.cta__btn--retail {
  background: rgba(174, 56, 56, 0.82);
}
.cta__btn:hover,
.cta__btn:focus-visible {
  background: var(--ink);
  outline: none;
}
.cta__btn--retail:hover,
.cta__btn--retail:focus-visible {
  background: var(--accent);
}
.cta__label {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(17px, 2vw, 22px);
  letter-spacing: 0.02em;
}
.cta__sub {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.82;
}

/* ----- reveal animations ----- */
[data-reveal-child] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
[data-reveal].is-visible [data-reveal-child] {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal].is-visible [data-reveal-child]:nth-child(2) { transition-delay: 120ms; }
[data-reveal].is-visible [data-reveal-child]:nth-child(3) { transition-delay: 240ms; }
[data-reveal].is-visible [data-reveal-child]:nth-child(4) { transition-delay: 360ms; }
[data-reveal].is-visible [data-reveal-child]:nth-child(5) { transition-delay: 480ms; }
[data-reveal].is-visible [data-reveal-child]:nth-child(6) { transition-delay: 600ms; }

/* Hero children always visible on load (after a beat) */
.hero[data-reveal]:not(.is-visible) [data-reveal-child] {
  opacity: 0;
}

/* ----- responsive ----- */
@media (max-width: 720px) {
  .panel { padding: 14svh 22px; }
  .panel--facts { grid-template-columns: 1fr; gap: 6px; max-width: 440px; }
  .fact { border-top: 1px solid rgba(26, 20, 70, 0.2); padding: 16px 8px; }
  .gallery__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .gallery__stack { gap: 14px; }
  .hero__scroll { bottom: calc(var(--cta-h) + 10px); height: 40px; }
  .cta__sub { display: none; }
  .cta__btn { padding: 14px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal-child] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
