:root {
  --ov-ground: #0e110a;
  --ov-raised: #161a10;
  --ov-line: #2a2f21;
  --ov-ink: #ede6d8;
  --ov-muted: #a8a58f;
  --ov-gold: #c8b84e;
  --ov-error: #e3a386;
  --ov-serif: "Cormorant Garamond", Georgia, serif;
  --ov-sans: "Manrope", system-ui, sans-serif;
  --ov-header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ov-ground);
  color: var(--ov-ink);
  font-family: var(--ov-sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
::selection { background: var(--ov-gold); color: var(--ov-ground); }

/* Header */
.ov-header {
  position: fixed; z-index: 40; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--ov-header-h);
  padding: env(safe-area-inset-top) clamp(1.25rem, 4vw, 3.5rem) 0;
  background: linear-gradient(to bottom, rgba(14, 17, 10, 0.9), rgba(14, 17, 10, 0));
}
.ov-wordmark {
  font-family: var(--ov-serif); font-size: 1.35rem; font-weight: 500;
  letter-spacing: 0.42em; color: var(--ov-ink); text-decoration: none;
}
.ov-header__nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.25rem); font-size: 0.86rem; }
.ov-header__nav > a:not(.ov-header-cta) { color: var(--ov-muted); text-decoration: none; transition: color 0.3s ease; }
.ov-header__nav > a:not(.ov-header-cta):hover { color: var(--ov-ink); }
.ov-header-cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; height: 40px; padding: 0 1.3rem;
  border: 1px solid color-mix(in srgb, var(--ov-gold) 70%, transparent);
  color: var(--ov-ink); text-decoration: none; letter-spacing: 0.08em;
}
.ov-header-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ov-gold);
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ov-header-cta:hover { color: var(--ov-ground); }
.ov-header-cta:hover::before { transform: scaleY(1); }

/* Journey */
.journey { position: relative; background: var(--ov-ground); }
.journey__stage { position: sticky; top: 0; height: 100dvh; overflow: hidden; z-index: 0; }
.journey__poster, .journey__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.journey__video { opacity: 0; transition: opacity 0.4s ease; }
.journey__video.is-ready { opacity: 1; }
.journey__progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 5;
  background: color-mix(in srgb, var(--ov-ink) 14%, transparent);
}
.journey__progress span {
  display: block; height: 100%; background: var(--ov-gold);
  transform: scaleX(0); transform-origin: left center;
}
.journey__index {
  position: absolute; z-index: 6; left: clamp(1rem, 4vw, 4rem); bottom: clamp(1rem, 3vw, 2rem);
  display: flex; gap: 0.25rem;
}
.journey__index button {
  min-height: 2.75rem; padding: 0.6rem 0.9rem; border: 0; background: transparent;
  color: var(--ov-muted); font: inherit; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer;
}
.journey__index button:hover, .journey__index button[aria-current="step"] { color: var(--ov-ink); }
.journey__index button[aria-current="step"] {
  text-decoration: underline; text-decoration-color: var(--ov-gold);
  text-decoration-thickness: 0.15em; text-underline-offset: 0.3em;
}
.journey__index button:focus-visible { outline: 2px solid var(--ov-gold); outline-offset: 3px; }

.journey__story { position: relative; z-index: 3; margin-top: -100dvh; pointer-events: none; }
.chapter { position: relative; min-height: 140dvh; }
.chapter--last { min-height: 160dvh; }
.chapter__pin {
  position: sticky; top: 0; min-height: 100dvh; display: flex; align-items: center;
  padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 6vw, 6rem);
}
.chapter--right .chapter__pin { justify-content: flex-end; }
.chapter__copy { position: relative; width: min(40rem, 48vw); pointer-events: auto; }
.chapter__copy::before {
  content: ""; position: absolute; z-index: -1; inset: -3rem -5rem; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(14, 17, 10, 0.88) 0%, rgba(14, 17, 10, 0.55) 52%, transparent 76%);
}
.chapter__title {
  margin: 0; max-width: 12ch; font-family: var(--ov-serif); font-weight: 400;
  font-size: clamp(2.75rem, 5.6vw, 5.75rem); line-height: 1; letter-spacing: -0.01em; text-wrap: balance;
}
.chapter__title--brand { letter-spacing: 0.32em; font-weight: 500; }
.chapter__body { max-width: 42ch; margin: 1.5rem 0 0; color: var(--ov-muted); font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.6; }
.chapter__tags { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.chapter__tags li { padding: 0.45rem 0.7rem; border: 1px solid var(--ov-line); color: var(--ov-muted); font-size: 0.82rem; }
.ov-chapter-cta {
  position: relative; display: inline-block; margin-top: 2rem; padding-bottom: 0.45rem;
  color: var(--ov-ink); font-family: var(--ov-serif); font-size: 1.5rem; font-style: italic; text-decoration: none;
}
.ov-chapter-cta__rule {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--ov-gold);
  transform: scaleX(0.35); transform-origin: left; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ov-chapter-cta:hover .ov-chapter-cta__rule { transform: scaleX(1); }

/* Shared type */
.ov-display {
  margin: 0; font-family: var(--ov-serif); font-weight: 400;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem); line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance;
}
.ov-eyebrow { margin: 0 0 1.4rem; color: var(--ov-gold); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.ov-body { max-width: 44ch; margin: 1.5rem 0 0; color: var(--ov-muted); font-size: 1.04rem; line-height: 1.7; }

/* Grove */
.ov-grove {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: clamp(2rem, 6vw, 7rem); align-items: center;
  padding: clamp(6rem, 12vw, 11rem) clamp(1.25rem, 6vw, 6rem); border-top: 1px solid var(--ov-line);
}
.ov-grove__figure { margin: 0; overflow: hidden; }
.ov-grove__figure img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.ov-grove__figure:hover img { transform: scale(1.03); }

/* Manifesto */
.ov-manifesto { position: relative; min-height: 88dvh; display: flex; align-items: center; overflow: hidden; }
.ov-manifesto__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.ov-manifesto__quote { position: relative; margin: 0; padding: 0 clamp(1.25rem, 6vw, 6rem); max-width: 44rem; }
.ov-manifesto__quote p { margin: 0; font-family: var(--ov-serif); font-style: italic; font-size: clamp(2.6rem, 5.4vw, 5.2rem); line-height: 1.02; }
.ov-manifesto__quote footer { margin-top: 1.8rem; color: var(--ov-muted); font-size: 0.9rem; }

/* Pressing */
.ov-pressing {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(6rem, 12vw, 11rem) clamp(1.25rem, 6vw, 6rem);
}
.ov-ledger { margin: 0; border-top: 1px solid var(--ov-line); }
.ov-ledger__row { display: grid; grid-template-columns: 12rem 1fr; gap: 1.5rem; padding: 1.35rem 0; border-bottom: 1px solid var(--ov-line); transition: background 0.3s ease; }
.ov-ledger__row:hover { background: var(--ov-raised); }
.ov-ledger dt { color: var(--ov-muted); font-size: 0.9rem; letter-spacing: 0.04em; }
.ov-ledger dd { margin: 0; font-family: var(--ov-serif); font-size: 1.45rem; line-height: 1.3; }

/* Reserve */
.ov-reserve {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 7rem);
  padding: clamp(6rem, 12vw, 11rem) clamp(1.25rem, 6vw, 6rem);
  background: var(--ov-raised); border-top: 1px solid var(--ov-line);
}
.ov-reserve__bottle { display: block; width: 100%; height: auto; margin-top: 3rem; aspect-ratio: 16 / 9; object-fit: cover; }
.ov-reserve__panel { align-self: center; }
.ov-form { display: flex; flex-direction: column; gap: 1.6rem; }
.ov-field { display: flex; flex-direction: column; gap: 0.6rem; }
.ov-field > span { color: var(--ov-muted); font-size: 0.85rem; letter-spacing: 0.06em; }
.ov-field input, .ov-field select {
  height: 3.25rem; padding: 0 0.1rem; border: 0; border-bottom: 1px solid var(--ov-line); border-radius: 0;
  background: transparent; color: var(--ov-ink); font: inherit; font-size: 1.05rem; transition: border-color 0.3s ease;
}
.ov-field select option { background: var(--ov-raised); color: var(--ov-ink); }
.ov-field input:focus, .ov-field select:focus { outline: none; border-bottom-color: var(--ov-gold); }
.ov-field input[aria-invalid="true"] { border-bottom-color: var(--ov-error); }
.ov-field__error { margin: 0; color: var(--ov-error); font-size: 0.85rem; font-style: normal; }
.ov-submit {
  height: 3.5rem; margin-top: 0.6rem; border: 0; background: var(--ov-ink); color: var(--ov-ground);
  font: inherit; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; box-shadow: 0 3px 0 var(--ov-gold);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.3s ease;
}
.ov-submit:hover { background: #fff8ea; }
.ov-submit:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ov-gold); }
.ov-submit:disabled { opacity: 0.7; cursor: progress; }
.ov-submit:focus-visible, .ov-header-cta:focus-visible, .ov-chapter-cta:focus-visible { outline: 2px solid var(--ov-gold); outline-offset: 4px; }
.ov-form__note { margin: 0; color: var(--ov-muted); font-size: 0.85rem; }
.ov-reserve__done-title { color: var(--ov-gold); }

/* Footer */
.ov-footer {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 2rem;
  padding: 3rem clamp(1.25rem, 6vw, 6rem) 6rem; border-top: 1px solid var(--ov-line);
  color: var(--ov-muted); font-size: 0.85rem;
}
.ov-footer p { margin: 0; }

/* Phones */
@media (max-width: 860px) {
  .ov-header { background: linear-gradient(to bottom, rgba(14, 17, 10, 0.95), rgba(14, 17, 10, 0.6) 70%, rgba(14, 17, 10, 0)); }
  .ov-header__nav > a:not(.ov-header-cta) { display: none; }

  .journey__index {
    top: calc(var(--ov-header-h) + env(safe-area-inset-top)); bottom: auto; left: 0.75rem; right: 0.75rem;
    justify-content: flex-start; overflow-x: auto; gap: 0;
  }
  .journey__index button { min-height: 2.25rem; padding: 0.5rem 0.7rem; font-size: 0.68rem; letter-spacing: 0.12em; flex: 0 0 auto; }
  .chapter__pin, .chapter--right .chapter__pin {
    align-items: flex-end; justify-content: flex-start;
    padding: 8.5rem 1.25rem calc(5.5rem + env(safe-area-inset-bottom));
  }
  .chapter__copy { width: 100%; }
  .chapter__copy::before {
    inset: -3rem -1.25rem -2.5rem;
    background: linear-gradient(to top, var(--ov-ground) 0%, rgba(14, 17, 10, 0.82) 58%, transparent 100%);
  }
  .chapter__title { font-size: clamp(2.3rem, 10.5vw, 3.4rem); max-width: 13ch; }
  .chapter__body { margin-top: 1rem; font-size: 0.98rem; }
  .chapter__tags { margin-top: 1rem; }
  .ov-chapter-cta { margin-top: 1.25rem; }

  .ov-grove, .ov-pressing, .ov-reserve { grid-template-columns: 1fr; }
  .ov-ledger__row { grid-template-columns: 1fr; gap: 0.35rem; }
  .ov-manifesto { min-height: 70dvh; align-items: flex-end; padding-bottom: 3rem; }
  .ov-manifesto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 17, 10, 0.9), rgba(14, 17, 10, 0) 70%); }
  .ov-manifesto__quote { z-index: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chapter, .chapter--last { min-height: 100dvh; }
  .ov-header-cta::before, .ov-chapter-cta__rule, .ov-grove__figure img, .ov-submit, .ov-ledger__row, .journey__video { transition: none; }
}
