/* ================================================
   RATA ROAD — v3
   ================================================ */

@font-face {
  font-family: 'Neutraface Text';
  src: url('../fonts/NeutrafaceTextBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --dark:    #0E0C0A;
  --dark2:   #191614;
  --cream:   #F2E8D5;
  --cream2:  #E8DAC4;
  --white:   #FAF9F6;
  --sage:    #6B8C4A;
  --lime:    #C5D335;
  --muted:   #7A7268;
  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'DM Sans', system-ui, sans-serif;
  --ease:    cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.rr {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--dark);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.rr img  { display: block; max-width: 100%; }
body.rr a    { color: inherit; text-decoration: none; }
body.rr p    { line-height: 1.75; }

/* ── Reveal animation ──────────────────────────── */
.js-reveal,
.js-reveal-s {
  display: block;
  overflow: hidden;
}
.js-reveal  > .inner,
.js-reveal-s > .inner {
  display: block;
  transform: translateY(110%) skewY(1.5deg);
  opacity: 0;
  transition: transform 0.95s var(--ease), opacity 0.5s ease;
}
.js-reveal.is-in  > .inner,
.js-reveal-s.is-in > .inner {
  transform: translateY(0) skewY(0);
  opacity: 1;
}

/* ── Eyebrow ────────────────────────────────────── */
.rr-eyebrow {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.rr-eyebrow--sage  { color: var(--sage); }
.rr-eyebrow--lime  { color: var(--lime); }
.rr-eyebrow--light { color: rgba(255,255,255,0.5); }

/* ── Buttons ────────────────────────────────────── */
.rr-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 1.8rem;
  border: 1px solid currentColor;
  transition: background 0.3s ease, color 0.3s ease;
}
.rr-btn--light { color: var(--white); }
.rr-btn--light:hover { background: var(--white); color: var(--dark); }
.rr-btn--dark  { color: var(--white); background: var(--dark2); border-color: var(--dark2); }
.rr-btn--dark:hover  { background: transparent; color: var(--dark2); }

/* ── NAV ────────────────────────────────────────── */
.rr-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 70px;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.rr-nav.is-solid {
  background: rgba(14,12,10,0.92);
  backdrop-filter: blur(12px);
}

.rr-nav__logo img {
  height: 19px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.rr-nav__links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.rr-nav__links a {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color 0.3s;
}
.rr-nav__links a:hover { color: var(--white); }

.rr-nav__burger {
  display: none;
  flex-direction: column;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.rr-nav__burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,0.7);
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.rr-nav__burger[aria-expanded="true"] span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.rr-nav__burger[aria-expanded="true"] span:last-child  { transform: rotate(-45deg) translate(5px,-5px); }

/* Drawer */
.rr-drawer {
  position: fixed;
  inset: 0;
  z-index: 310;
  background: var(--dark2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem;
  transform: translateX(100%);
  transition: transform 0.55s var(--ease);
}
.rr-drawer.is-open { transform: translateX(0); }

.rr-drawer__close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.rr-drawer__close:hover { opacity: 1; }

.rr-drawer nav { display: flex; flex-direction: column; gap: 0.25rem; }
.rr-drawer a {
  font-family: var(--serif);
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  padding: 0.4rem 0;
  transition: color 0.2s, padding-left 0.3s;
}
.rr-drawer a:hover { color: var(--white); padding-left: 0.5rem; }

.rr-drawer__overlay {
  position: fixed;
  inset: 0;
  z-index: 280;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.rr-drawer__overlay.is-visible { opacity: 1; pointer-events: all; }

/* ── HERO ───────────────────────────────────────── */
.rr-hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.rr-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.rr-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rr-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(14,12,10,0.45) 0%,
    rgba(14,12,10,0.65) 60%,
    rgba(14,12,10,0.85) 100%
  );
}

.rr-hero__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0 2rem;
}

.rr-hero__origin {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.75rem;
}

.rr-hero__title {
  font-family: 'Neutraface Text', 'Neutraface', 'Futura', 'Century Gothic', sans-serif;
  font-size: clamp(5rem, 15vw, 14rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.rr-hero__title span { display: block; }

.rr-hero__sub {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
}

.rr-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 3px;
  transition: color 0.3s, border-color 0.3s, gap 0.3s;
}
.rr-hero__cta:hover { color: var(--white); border-color: rgba(255,255,255,0.6); gap: 1rem; }

.rr-hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.3);
  animation: rr-bob 2.5s ease-in-out infinite;
  transition: color 0.3s;
}
.rr-hero__scroll:hover { color: rgba(255,255,255,0.8); }

/* ── MARQUEE ─────────────────────────────────────── */
.rr-marquee {
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 1.1rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.rr-marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  animation: rr-marquee 30s linear infinite;
}
.rr-marquee__track span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}
.rr-marquee__dot { color: var(--lime) !important; font-size: 0.5rem !important; }

/* ── PRODUCT SECTIONS ────────────────────────────── */
.rr-product {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Dark (Sauvignon Blanc) */
.rr-product--dark { background: var(--dark); }

.rr-product__bg {
  position: absolute;
  inset: -20% 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  will-change: transform;
}
.rr-product__bg-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,12,10,0.15) 0%, rgba(14,12,10,0.45) 100%);
}

/* Light (Zero) */
.rr-product--light { background: var(--cream); }

/* Background number */
.rr-product__num {
  position: absolute;
  font-family: var(--serif);
  font-size: clamp(14rem, 28vw, 32rem);
  font-weight: 400;
  line-height: 1;
  color: rgba(255,255,255,0.03);
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}
.rr-product__num--dark { color: rgba(0,0,0,0.06); }

/* Layout grid */
.rr-product__layout {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.rr-product__layout--reversed { direction: rtl; }
.rr-product__layout--reversed > * { direction: ltr; }

/* Bottle column */
.rr-product__bottle-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Product info */
.rr-product__title {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.rr-product__title--dark { color: var(--dark2); }

.rr-product__region {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.75rem;
}
.rr-product__region--dark { color: var(--muted); }

.rr-product__notes {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  max-width: 420px;
  margin-bottom: 2.5rem;
}
.rr-product__notes--dark { color: var(--muted); }

/* Specs */
.rr-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.rr-specs--dark {
  border-top-color: rgba(0,0,0,0.1);
  border-bottom-color: rgba(0,0,0,0.1);
}
.rr-spec { display: flex; flex-direction: column; gap: 0.3rem; }
.rr-spec__val {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1;
}
.rr-specs--dark .rr-spec__val { color: var(--dark2); }
.rr-spec__lbl {
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.rr-specs--dark .rr-spec__lbl { color: var(--muted); }

.rr-product__actions { display: flex; gap: 1rem; align-items: center; }

/* ── BOTTLE ──────────────────────────────────────── */
.rr-bottle {
  max-height: 70vh;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.4));
  will-change: transform;
}
.rr-bottle--float {
  animation: rr-float 5.5s ease-in-out infinite;
}
.rr-bottle--slow {
  animation-duration: 7s;
  animation-delay: -2s;
}

/* ── ROAD DIVIDER ────────────────────────────────── */
.rr-divider {
  position: relative;
  height: 70vh;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rr-divider__img {
  position: absolute;
  inset: -20% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.rr-divider__veil {
  position: absolute;
  inset: 0;
  background: rgba(14,12,10,0.6);
}

.rr-divider__quote {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
  max-width: 800px;
}
.rr-divider__quote p {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

/* ── STORY ───────────────────────────────────────── */
.rr-story {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.rr-story__bg {
  position: absolute;
  inset: -20% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.rr-story__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(14,12,10,0.92) 0%,
    rgba(14,12,10,0.7) 60%,
    rgba(14,12,10,0.3) 100%
  );
}

.rr-story__body {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 7rem 4rem;
  max-width: 600px;
}

.rr-story__title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 1.75rem;
}

.rr-story__text {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.6);
}

/* ── CONTACT ─────────────────────────────────────── */
.rr-contact {
  background: var(--dark2);
  padding: 10rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.rr-contact__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.rr-contact__email {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 7vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 2rem;
  transition: opacity 0.3s;
}
.rr-contact__email:hover { opacity: 0.7; }
.rr-contact__email .js-reveal-s { display: inline-block; }

.rr-contact__loc {
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}

/* ── FOOTER ──────────────────────────────────────── */
.rr-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 3.5rem 2rem;
}
.rr-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.rr-footer__logo {
  height: 16px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.25;
  margin-bottom: 0.25rem;
}

.rr-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 2rem; }
.rr-footer__nav a {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  transition: color 0.3s;
}
.rr-footer__nav a:hover { color: rgba(255,255,255,0.7); }

.rr-footer__legal,
.rr-footer__copy { font-size: 0.68rem; color: rgba(255,255,255,0.18); max-width: 500px; line-height: 1.7; }

/* ── Animations ──────────────────────────────────── */
@keyframes rr-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-20px); }
}
@keyframes rr-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}
@keyframes rr-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
  .rr-product__layout { padding: 5rem 2.5rem; gap: 3rem; }
  .rr-story__body { padding: 5rem 2.5rem; }
  .rr-specs { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .rr-nav__links { display: none; }
  .rr-nav__burger { display: flex; }

  .rr-product__layout {
    grid-template-columns: 1fr;
    padding: 5rem 1.75rem 4rem;
    text-align: center;
  }
  .rr-product__layout--reversed { direction: ltr; }
  .rr-product__notes { max-width: 100%; }
  .rr-product__actions { justify-content: center; }
  .rr-specs {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
  .rr-spec { align-items: center; text-align: center; }

  .rr-product__bottle-col { order: -1; }
  .rr-bottle { max-height: 45vh; }

  .rr-product__num { font-size: 40vw; right: -1rem; }

  .rr-story__body { padding: 5rem 1.75rem; max-width: 100%; }
  .rr-story__veil {
    background: linear-gradient(
      to bottom,
      rgba(14,12,10,0.85) 0%,
      rgba(14,12,10,0.75) 100%
    );
  }

  .rr-divider { height: 50vh; }
  .rr-contact { padding: 7rem 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .rr-bottle--float { animation: none; }
  .rr-marquee__track { animation: none; }
  .rr-hero__scroll { animation: none; }
}

/* ── AGE GATE ─────────────────────────────────────────── */
.rr-age-gate {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.rr-age-gate.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.rr-age-gate__logo {
  height: 18px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  margin-bottom: 3.5rem;
}

.rr-age-gate__eyebrow {
  font-size: 0.55rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1.5rem;
}

.rr-age-gate__title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.3;
  max-width: 520px;
  margin-bottom: 0.75rem;
}

.rr-age-gate__sub {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.06em;
  max-width: 380px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.rr-age-gate__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.rr-age-gate__yes {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  background: var(--white);
  color: var(--dark);
  border: 1px solid var(--white);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.rr-age-gate__yes:hover { background: transparent; color: var(--white); }

.rr-age-gate__no {
  display: inline-flex;
  align-items: center;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  background: transparent;
  color: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
  text-decoration: none;
}
.rr-age-gate__no:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }

.rr-age-gate__legal {
  position: absolute;
  bottom: 2rem;
  font-size: 0.58rem;
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.08em;
  text-align: center;
  padding: 0 2rem;
}
