/* ─── GOLDEN VALLEY VINEGAR — SHARED STYLES ─── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

:root {
  --gold: #C09A30;
  --gold-light: #D4B050;
  --gold-pale: #EDD88A;
  --dark: #080502;
  --dark-2: #130C04;
  --dark-3: #1E1408;
  --dark-4: #2A1C0C;
  --cream: #F0E8D4;
  --cream-2: #D8CCB0;
  --muted: #807060;
  --muted-2: #A09070;
  --white: #FAF6EE;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--dark);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* ─── CUSTOM CURSOR ─── */
#cursor-dot {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: normal;
}
#cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(184,134,11,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease, width 0.3s, height 0.3s, border-color 0.3s;
}
body.cursor-hover #cursor-dot { width: 14px; height: 14px; background: var(--gold-light); }
body.cursor-hover #cursor-ring { width: 56px; height: 56px; border-color: rgba(184,134,11,0.8); }

/* ─── PAGE TRANSITION ─── */
#page-transition {
  position: fixed; inset: 0;
  background: var(--dark);
  z-index: 9990;
  pointer-events: none;
  opacity: 0;
}
body.page-entering #page-transition { opacity: 1; transition: none; }
body.page-loaded #page-transition { opacity: 0; transition: opacity 0.7s ease 0.1s; }

/* ─── NAV ─── */
#site-nav {
  position: fixed; top: 0; width: 100%; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem 3rem;
  transition: padding 0.4s, background 0.5s, border-color 0.5s;
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(8,5,2,0.96) 0%, rgba(8,5,2,0.75) 55%, transparent 100%);
}
#site-nav.scrolled {
  background: rgba(8,5,2,0.95);
  backdrop-filter: blur(20px);
  padding: 1rem 3rem;
  border-bottom-color: rgba(184,134,11,0.15);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-pale); text-decoration: none;
  line-height: 1.2;
}
.nav-logo span { display: block; font-size: 0.55rem; letter-spacing: 0.3em; color: var(--gold); font-family: 'DM Sans', sans-serif; font-weight: 400; margin-top: 0.15rem; }
.nav-links { display: flex; gap: 2.8rem; list-style: none; }
.nav-links a {
  color: var(--cream-2); text-decoration: none;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--cream); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: transparent; border: 1px solid var(--gold);
  color: var(--gold-pale); padding: 0.55rem 1.4rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.7rem;
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  transition: background 0.3s, color 0.3s;
  display: inline-block;
}
.nav-cta:hover { background: var(--gold); color: var(--dark); }

/* ─── FOOTER ─── */
#site-footer {
  background: #030201;
  padding: 4rem 3rem 2.5rem;
  border-top: 1px solid rgba(184,134,11,0.1);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; align-items: start;
}
.footer-brand-name { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 600; color: var(--gold-pale); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.7rem; }
.footer-legal { font-size: 0.68rem; color: var(--muted); line-height: 1.85; }
.footer-col-title { font-size: 0.6rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a { font-size: 0.8rem; color: var(--muted); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--cream); }
.footer-bottom {
  max-width: 1200px; margin: 2.5rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid rgba(184,134,11,0.07);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 0.68rem; color: rgba(128,112,96,0.4); }
.footer-entities { font-size: 0.64rem; color: rgba(128,112,96,0.32); text-align: right; line-height: 1.7; }

/* ─── SHARED SECTION STYLES ─── */
.s-label { font-size: 0.64rem; letter-spacing: 0.44em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 1.1rem; }
.s-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 300; line-height: 1.12; color: var(--cream); }
.s-title em { font-style: italic; color: var(--gold-pale); }
.s-body { font-size: 0.95rem; color: var(--muted-2); line-height: 1.92; max-width: 580px; }

/* ─── BUTTONS ─── */
.btn-gold {
  background: var(--gold); color: var(--dark);
  padding: 0.95rem 2.4rem; border: none; cursor: none;
  font-family: 'DM Sans', sans-serif; font-size: 0.75rem;
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  transition: background 0.3s, transform 0.2s; text-decoration: none; display: inline-block;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--cream);
  padding: 0.95rem 2.4rem; border: 1px solid rgba(240,232,212,0.25);
  font-family: 'DM Sans', sans-serif; font-size: 0.75rem;
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 300;
  transition: border-color 0.3s; text-decoration: none; display: inline-block; cursor: none;
}
.btn-ghost:hover { border-color: var(--cream); }

/* ─── REVEAL ANIMATION ─── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal-right.visible { opacity: 1; transform: none; }

/* ─── MARQUEE ─── */
.marquee-wrap { overflow: hidden; border-top: 1px solid rgba(184,134,11,0.15); border-bottom: 1px solid rgba(184,134,11,0.15); padding: 1rem 0; background: var(--dark-2); }
.marquee-track { display: flex; white-space: nowrap; animation: marqueeScroll 28s linear infinite; }
.marquee-item { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-style: italic; color: var(--muted); padding: 0 2.5rem; }
.marquee-dot { color: var(--gold); font-style: normal; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── PHOTO LABEL LEGIBILITY ─── */
.hero-eyebrow,
.ph-label {
  color: rgba(255,248,228,0.92) !important;
  text-shadow: 0 1px 10px rgba(0,0,0,0.8), 0 0 30px rgba(0,0,0,0.5);
}
#bottling-feature .s-label,
#tanks-feature .s-label,
#aerial-feature .s-label {
  color: rgba(255,248,228,0.85) !important;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}
.hero-title, .ph-title {
  text-shadow: 0 2px 20px rgba(0,0,0,0.45);
}

/* ─── PERFORMANCE ─── */
section:not(:first-of-type) { content-visibility: auto; contain-intrinsic-size: 0 600px; }

.gold-rule { width: 48px; height: 1px; background: linear-gradient(to right, transparent, var(--gold), transparent); }

/* ─── HERO PHOTO ─── */
.hero-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  will-change: transform;
}
.hero-overlay-dark {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,5,2,0.82) 0%, rgba(8,5,2,0.45) 30%, rgba(8,5,2,0.3) 55%, rgba(8,5,2,0.7) 85%, var(--dark) 100%);
}
.hero-overlay-side {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,5,2,0.75) 0%, rgba(8,5,2,0.3) 55%, transparent 100%);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  #site-nav { padding: 1.2rem 1.5rem; }
  #site-nav.scrolled { padding: 0.9rem 1.5rem; }
  .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-entities { text-align: center; }
}
