/* =============================================================
   MOSSBACK CELLARS — style.css
   Asymmetric elegant layout · Cormorant Garamond + Figtree
   ============================================================= */

/* ── Variables ── */
:root {
  --burgundy: #5C1A2E;
  --burgundy-dark: #471323;
  --burgundy-hover: #6e2037;
  --parchment: #F5EFE0;
  --parchment-warm: #EDE4CE;
  --ink: #1A1208;
  --ink-mid: #2e2010;
  --gold: #B8963E;
  --gold-light: rgba(184, 150, 62, 0.18);
  --text: #2a1c0c;
  --text-muted: #6b5840;
  --border: rgba(26, 18, 8, 0.12);
  --border-gold: rgba(184, 150, 62, 0.35);
  --rule: rgba(26, 18, 8, 0.15);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: 'Figtree', sans-serif; color: var(--text); background: var(--parchment); line-height: 1.75; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* ── Typography ── */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}
h4 { font-family: 'Figtree', sans-serif; font-weight: 600; }
h1 { font-size: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.75rem; }
p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-family: 'Figtree', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 1px solid transparent;
  text-align: center;
}
.btn--gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn--gold:hover { background: #9e7d30; border-color: #9e7d30; }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.85); }
.btn--burgundy { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }
.btn--burgundy:hover { background: var(--burgundy-hover); border-color: var(--burgundy-hover); }
.btn--full { width: 100%; display: block; }

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(245, 239, 224, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.3s;
}
.nav__checkbox { display: none; }

.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 2.5rem;
  height: 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.nav__brand {
  grid-column: 2;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-align: center;
}

.nav__links {
  grid-column: 3;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2.25rem;
}
.nav__links a {
  font-family: 'Figtree', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--ink); }

.nav__toggle-label {
  grid-column: 1;
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  justify-self: start;
}
.nav__toggle-label span { display: block; width: 22px; height: 1px; background: var(--ink); transition: all 0.25s; }

/* JS hamburger button */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  grid-column: 1;
  justify-self: start;
}
.nav__burger span { display: block; width: 22px; height: 1px; background: var(--ink); transition: all 0.25s; transform-origin: center; }
.nav--open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav--open .nav__burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav--open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Scrolled state */
.js .nav--scrolled { box-shadow: 0 1px 20px rgba(26,18,8,0.1); }

/* ── Hero ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: url('images/hero-winery.webp') center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26,18,8,0.65) 0%,
    rgba(26,18,8,0.2) 50%,
    rgba(26,18,8,0.05) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 4rem 4.5rem;
  max-width: 700px;
}
.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  color: #fff;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.hero__tagline {
  font-family: 'Figtree', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
  display: block;
}
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Sections ── */
.section { padding: 6.5rem 2.5rem; }
.section--ruled {
  border-top: 1px solid var(--rule);
}
.container { max-width: 1100px; margin: 0 auto; }
.container--narrow { max-width: 640px; margin: 0 auto; }

.section__heading { color: var(--ink); margin-bottom: 1.5rem; }
.section__heading--left { text-align: left; }
.section__sub { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 3rem; }
.section__sub--center { text-align: center; }

/* ── Our Story ── */
.story__layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 6rem;
  align-items: start;
}
.story__stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 1rem;
  border-right: 1px solid var(--border-gold);
  padding-right: 2.5rem;
}
.story__stat {
  padding: 1.5rem 0;
  text-align: right;
}
.story__stat-value {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--burgundy);
  line-height: 1;
}
.story__stat-unit {
  display: block;
  font-family: 'Figtree', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.35rem;
}
.story__stat-rule {
  height: 1px;
  background: var(--border-gold);
  margin: 0;
}
.story__text .section__heading { margin-bottom: 1.75rem; }
.story__text p { color: var(--text); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.35rem; }

/* ── Current Releases ── */
.wines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.wine-card {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.wine-card:hover { background: var(--parchment-warm); }
.wine-card__badge {
  font-family: 'Figtree', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
  display: block;
}
.wine-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.3rem;
  line-height: 1.2;
}
.wine-card__vintage {
  font-family: 'Figtree', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
  display: block;
}
.wine-card__notes {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.1rem;
}
.wine-card__price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--burgundy);
  margin: 0;
}

/* ── Visit ── */
.visit__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.visit__image-block {
  height: 480px;
  background: linear-gradient(145deg, var(--parchment-warm) 0%, var(--burgundy) 100%);
  position: relative;
  overflow: hidden;
}
.visit__image-block::after {
  content: 'Dundee Hills Estate';
  position: absolute;
  bottom: 2rem; left: 2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255,255,255,0.65);
}
.visit__text-col .section__heading { margin-bottom: 1.25rem; }
.visit__text-col > p { color: var(--text); margin-bottom: 2rem; font-size: 1rem; line-height: 1.8; }
.visit__details { margin-bottom: 1.5rem; border-top: 1px solid var(--border); }
.visit__detail-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.visit__detail-label {
  font-family: 'Figtree', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.visit__detail-value { font-size: 0.925rem; color: var(--text); line-height: 1.6; }
.visit__note { font-size: 0.875rem; color: var(--text-muted); margin-top: 1rem; }
.visit__note a { color: var(--burgundy); border-bottom: 1px solid var(--border-gold); transition: color 0.2s; }
.visit__note a:hover { color: var(--burgundy-hover); }

/* ── Wine Club ── */
.club__tiers {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
  margin-top: 3rem;
  align-items: start;
}
.club__divider { background: var(--border-gold); align-self: stretch; }
.club__tier { padding: 0 3rem; }
.club__tier:first-child { padding-left: 0; }
.club__tier:last-child { padding-right: 0; }
.club__tier-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.club__tier-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--burgundy);
  margin-bottom: 0.75rem;
  line-height: 1;
}
.club__tier-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-family: 'Figtree', sans-serif;
  font-weight: 400;
}
.club__tier-desc { font-size: 0.925rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.club__benefits { margin-bottom: 2rem; }
.club__benefits li {
  font-size: 0.875rem;
  color: var(--text);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.club__benefits li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── Contact ── */
.contact-form { margin-top: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.35rem; }
.form-group label {
  display: block;
  font-family: 'Figtree', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.form-optional { font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 0.78rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 0;
  font-family: 'Figtree', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  transition: border-color 0.2s;
  appearance: auto;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-bottom-color: var(--burgundy);
}
.form-group textarea { resize: vertical; border: 1px solid var(--border); padding: 0.75rem 0.875rem; }
.form-group textarea:focus { border-color: var(--burgundy); }
.form-message {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

/* ── Footer ── */
.site-footer {
  background: var(--parchment);
  border-top: 1px solid var(--rule);
  padding: 2.5rem 2.5rem;
  text-align: center;
}
.footer__inner { max-width: 900px; margin: 0 auto; }
.footer__inner p {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.footer__inner p:last-child { margin-bottom: 0; }
.footer__copy { color: rgba(26,18,8,0.38) !important; }

/* ── Scroll Reveal ── */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ── Mobile ── */
@media (max-width: 900px) {
  .story__layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .story__stats {
    flex-direction: row;
    border-right: none;
    border-bottom: 1px solid var(--border-gold);
    padding-right: 0;
    padding-bottom: 2rem;
    justify-content: space-around;
  }
  .story__stat { text-align: center; }
  .story__stat-rule { display: none; }
  .wines-grid { grid-template-columns: 1fr 1fr; }
  .visit__layout { grid-template-columns: 1fr; gap: 3rem; }
  .visit__image-block { height: 300px; }
  .club__tiers { grid-template-columns: 1fr; }
  .club__divider { width: 100%; height: 1px; margin: 2rem 0; }
  .club__tier { padding: 0; }
}

@media (max-width: 767px) {
  .nav__inner { grid-template-columns: auto 1fr auto; }
  .nav__brand { text-align: center; }
  .nav__links {
    display: none;
    position: absolute;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--parchment);
    border-top: 1px solid var(--rule);
    padding: 0.75rem 2rem 1.5rem;
    box-shadow: 0 8px 20px rgba(26,18,8,0.08);
    z-index: 99;
  }
  .nav__links a { padding: 0.75rem 0; border-bottom: 1px solid var(--border); width: 100%; }
  .nav__toggle-label { display: flex; }
  .nav__checkbox:checked ~ .nav__inner .nav__links { display: flex; }
  .js .nav--open .nav__links { display: flex; }
  .nav__burger { display: none; }
  .js .nav__burger { display: flex; }

  .hero__content { padding: 0 1.75rem 3rem; }
  .section { padding: 4rem 1.25rem; }
  .wines-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .visit__detail-row { grid-template-columns: 1fr; gap: 0.2rem; }
}

@media (min-width: 768px) {
  .nav__toggle-label { display: none !important; }
  .nav__burger { display: none !important; }
  .nav__links { display: flex !important; }
}

/* ── Active nav link ── */
.nav__links a.active {
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

/* ── Page Banner (inner pages) ── */
.page-banner {
  min-height: 38vh;
  background: url('../images/portfolio-winery.webp') center 40% / cover no-repeat;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-top: 60px;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,18,8,0.72) 0%, rgba(26,18,8,0.22) 100%);
}
.page-banner__content {
  position: relative;
  z-index: 1;
  padding: 0 4rem 3.5rem;
  max-width: 760px;
}
.page-banner__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.page-banner__desc {
  font-family: 'Figtree', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.68);
  margin: 0;
}

/* ── CTA Strip (inner pages) ── */
.section--cta {
  border-top: 1px solid var(--rule);
  padding: 5rem 2.5rem;
  text-align: center;
}
.section--cta .section__heading { margin-bottom: 1rem; }
.section--cta .section__sub { margin-bottom: 2rem; color: var(--text-muted); }

/* ── Winemaker bio ── */
.winemaker-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}
.winemaker-photo {
  background: linear-gradient(160deg, var(--parchment-warm) 0%, var(--burgundy) 100%);
  height: 250px;
  position: relative;
}
.winemaker-photo::after {
  content: 'Nora Farrow';
  position: absolute;
  bottom: 1rem; left: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(255,255,255,0.7);
}
.winemaker-text h3 { color: var(--ink); margin-bottom: 0.25rem; }
.winemaker-title {
  font-family: 'Figtree', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.winemaker-text p { font-size: 1rem; color: var(--text); line-height: 1.8; margin-bottom: 1.25rem; }
.pull-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 300;
  color: var(--burgundy);
  border-left: 2px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 1.5rem 0;
  line-height: 1.5;
}

/* ── Farming section ── */
.farming-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3rem;
}
.farming-list h3 { font-size: 1.35rem; color: var(--ink); margin-bottom: 1.25rem; }
.farming-list li {
  font-size: 0.9rem;
  color: var(--text);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.farming-list li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.farming-text p { font-size: 1rem; color: var(--text); line-height: 1.8; margin-bottom: 1.25rem; }

/* ── Vintage intro ── */
.vintage-intro {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.85;
  border-left: 2px solid var(--gold);
  padding-left: 1.75rem;
  margin-bottom: 3rem;
}

/* ── Expanded wine card additions ── */
.wine-card__pairing {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0.4rem;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}
.wine-card__production {
  font-family: 'Figtree', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26,18,8,0.35);
  margin: 0;
}

/* ── Tasting room reservation form ── */
.reservation-form { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.reservation-form h3 { color: var(--ink); margin-bottom: 1.5rem; font-size: 1.35rem; }

/* ── Contact details winery ── */
.contact-details-winery { margin-top: 3rem; border-top: 1px solid var(--border); }
.contact-detail-winery {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail-winery__label {
  font-family: 'Figtree', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-detail-winery__value { font-size: 0.9rem; color: var(--text); }
.contact-detail-winery__value a { color: var(--burgundy); border-bottom: 1px solid var(--border-gold); }
.trade-note { margin-top: 3rem; padding: 2rem; border: 1px solid var(--border-gold); }
.trade-note h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 400; color: var(--ink); margin-bottom: 0.75rem; }
.trade-note p { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

@media (max-width: 767px) {
  .winemaker-layout { grid-template-columns: 1fr; gap: 2rem; }
  .farming-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .page-banner__content { padding: 0 1.5rem 2.5rem; }
  .contact-detail-winery { grid-template-columns: 1fr; gap: 0.2rem; }
}
