:root {
  --forest: #174832;
  --forest-dark: #0f3324;
  --forest-soft: #eaf0e7;
  --olive: #6f7f58;
  --gold: #b99048;
  --cream: #f6f0e6;
  --paper: #fffdf8;
  --ink: #1f201d;
  --muted: #6f6a60;
  --line: rgba(31, 32, 29, .12);
  --shadow: 0 24px 72px rgba(20, 34, 25, .12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--forest); }
button { font: inherit; }
.container { width: min(calc(100% - 44px), var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 12px; z-index: 1000; padding: 10px 14px; background: #fff; color: var(--forest); border-radius: 10px; }
.skip-link:focus { left: 12px; }

.top-ribbon { background: var(--forest-dark); color: rgba(255,255,255,.86); text-align: center; font-size: .82rem; letter-spacing: .04em; padding: 7px 14px; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,253,248,.92); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(31,32,29,.07); transition: box-shadow .2s ease, background .2s ease; }
.site-header.is-scrolled { background: rgba(255,253,248,.98); box-shadow: 0 14px 38px rgba(21, 32, 23, .08); }
.navbar__inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; min-width: 198px; }
.brand__logo { width: 198px; height: auto; }
.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { display: block; padding: 10px 13px; border-radius: 999px; color: #302f2a; font-weight: 650; font-size: .93rem; letter-spacing: .01em; }
.nav-menu a:hover, .nav-menu a.is-active { color: var(--forest); background: rgba(23,72,50,.08); }
.nav-menu .nav-cta { margin-left: 6px; color: #fff; background: var(--forest); padding-inline: 17px; }
.nav-menu .nav-cta:hover { color: #fff; background: var(--forest-dark); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--forest); margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.section { padding: 104px 0; }
.section--warm { background: var(--cream); }
.section--green { background: var(--forest-soft); }
.section-dark { color: #fff; background: var(--forest-dark); }
.eyebrow { margin: 0 0 12px; color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; font-weight: 850; }
.section-dark .eyebrow { color: #e8cb91; }
h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: -.035em; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 600; }
h1 { font-size: clamp(2.8rem, 5.4vw, 4.9rem); max-width: 830px; }
h2 { font-size: clamp(2.05rem, 4vw, 3.75rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.section-heading { max-width: 790px; margin-bottom: 44px; }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; margin-top: 17px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 21px; border-radius: 999px; font-weight: 820; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--forest-dark); box-shadow: 0 16px 36px rgba(0,0,0,.18); }
.btn--light:hover { color: var(--forest); background: #fff8ea; }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); }
.btn--ghost:hover { color: #fff; background: rgba(255,255,255,.16); }
.btn--dark { color: #fff; background: var(--forest); box-shadow: 0 16px 32px rgba(23,72,50,.18); }
.btn--dark:hover { color: #fff; background: var(--forest-dark); }
.btn--outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn--outline:hover { color: #fff; background: var(--forest); }

.hero { min-height: 690px; position: relative; display: grid; align-items: center; overflow: hidden; }
.hero__media, .hero__overlay { position: absolute; inset: 0; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.035); transition: opacity 1s ease, transform 6s ease; }
.hero__media img.is-active { opacity: 1; transform: scale(1); }
.hero__overlay { background: radial-gradient(circle at 76% 18%, rgba(205,151,58,.23), transparent 35%), linear-gradient(90deg, rgba(9, 30, 20, .86), rgba(9,30,20,.58) 48%, rgba(9,30,20,.22)); }
.hero__content { position: relative; z-index: 1; padding: 120px 0 95px; }
.hero__lead { max-width: 610px; color: rgba(255,255,255,.86); font-size: clamp(1.04rem, 1.7vw, 1.22rem); margin: 22px 0 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.intro { padding: 78px 0; }
.intro__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(420px, .85fr); gap: 42px; align-items: center; }
.intro__copy { max-width: 680px; }
.intro__copy p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.intro__cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.intro__cards div { background: #fff; padding: 28px 24px; min-height: 142px; }
.intro__cards strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.95rem, 3vw, 3rem); line-height: 1; color: var(--forest); letter-spacing: -.045em; }
.intro__cards span { display: block; margin-top: 8px; color: var(--muted); font-weight: 720; }

.story-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(360px, 1fr); gap: 66px; align-items: center; }
.story-copy p:not(.eyebrow), .design-note__copy p, .winemaker-copy p { color: var(--muted); font-size: 1.055rem; }
.story-images { min-height: 530px; position: relative; }
.story-images img { object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.story-images__main { width: 74%; height: 460px; }
.story-images__float { position: absolute; right: 0; bottom: 0; width: 56%; height: 340px; border: 12px solid var(--cream); }
.story-stamp { position: absolute; right: 24px; top: 32px; width: 128px; height: 128px; border-radius: 999px; background: var(--forest); color: #fff; display: grid; place-items: center; text-align: center; font-family: Georgia, "Times New Roman", serif; font-size: 1.04rem; line-height: 1.2; box-shadow: 0 18px 45px rgba(23,72,50,.22); }

.design-note { padding: 78px 0; }
.design-note__grid { display: grid; grid-template-columns: .72fr 1fr; gap: 54px; align-items: center; }
.design-note__image { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); padding: 40px; box-shadow: var(--shadow); }
.design-note__image img { width: 100%; height: auto; }
.design-note__copy { max-width: 680px; }

.winemaking { position: relative; overflow: hidden; }
.winemaking::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -120px; top: -170px; background: rgba(185,144,72,.14); }
.facility-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.facility-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 18px 55px rgba(17,17,17,.08); }
.facility-card img { width: 100%; aspect-ratio: 1.24 / 1; object-fit: cover; }
.facility-card div { padding: 26px; }
.facility-card span { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; font-weight: 900; }
.facility-card h3 { margin-top: 10px; }
.facility-card p { color: var(--muted); margin: 10px 0 0; }

.sustainability { position: relative; overflow: hidden; }
.sustainability__media { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,45,31,.92), rgba(13,45,31,.72), rgba(13,45,31,.36)), url('../images/vineyard-walk.jpg') center/cover; }
.sustainability__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 60px; align-items: center; min-height: 600px; padding: 80px 0; }
.sustainability__content { max-width: 690px; }
.sustainability h2 { font-size: clamp(2.25rem, 4.5vw, 4.2rem); }
.sustainability p { color: rgba(255,255,255,.84); font-size: 1.08rem; margin: 24px 0 28px; }
.sustainability__card { border: 12px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.sustainability__card img { width: 100%; height: auto; }

.winemaker-grid { display: grid; grid-template-columns: minmax(360px, .86fr) minmax(0, 1fr); gap: 62px; align-items: center; }
.winemaker-image img { width: 100%; aspect-ratio: 1 / .9; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.winemaker-copy { max-width: 680px; }

.range-intro { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: -12px 0 36px; }
.range-intro article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: 0 16px 45px rgba(23,72,50,.06); }
.range-intro span { display: inline-flex; color: var(--gold); font-weight: 900; letter-spacing: .16em; font-size: .74rem; margin-bottom: 12px; }
.range-intro p { color: var(--muted); margin: 10px 0 0; }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.filter-btn { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 11px 17px; border-radius: 999px; cursor: pointer; font-weight: 820; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.filter-btn:hover, .filter-btn.is-active { background: var(--forest); color: #fff; border-color: var(--forest); }
.wine-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.wine-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: 0 18px 55px rgba(17,17,17,.06); transition: transform .2s ease, border-color .2s ease, opacity .2s ease; }
.wine-card:hover { transform: translateY(-5px); border-color: rgba(23,72,50,.28); }
.wine-card.is-hidden { display: none; }
.wine-card img { width: 100%; aspect-ratio: 1 / 1.04; object-fit: contain; background: #f8f5ef; border-radius: 22px; margin-bottom: 18px; }
.wine-card__range { margin: 0 0 6px; color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; font-weight: 900; }
.wine-card h3 { font-size: 1.12rem; letter-spacing: -.02em; }
.wine-card p:not(.wine-card__range) { color: var(--muted); margin: 10px 0 14px; font-size: .93rem; }
.wine-card dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(31,32,29,.08); border-radius: 14px; overflow: hidden; margin: 14px 0; }
.wine-card dl div { background: #fbfaf6; padding: 8px; }
.wine-card dt { color: var(--muted); font-size: .67rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 850; }
.wine-card dd { margin: 2px 0 0; color: var(--ink); font-size: .78rem; font-weight: 800; }
.wine-card a { display: inline-flex; font-weight: 850; border-bottom: 1px solid currentColor; color: var(--forest); }
.wine-card a:hover { color: var(--gold); }

.awards__grid { display: grid; grid-template-columns: .9fr 1fr; gap: 60px; align-items: center; }
.awards__image img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: #fff; }
.awards__copy p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.award-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.award-pills span { display: inline-flex; padding: 9px 13px; border-radius: 999px; background: var(--forest-soft); border: 1px solid rgba(23,72,50,.16); color: var(--forest-dark); font-weight: 800; }

.showcase { display: grid; grid-template-columns: repeat(3, 1fr); }
.showcase__item { position: relative; min-height: 440px; overflow: hidden; }
.showcase__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: transform .45s ease, opacity .45s ease; }
.showcase__item:hover img { transform: scale(1.04); opacity: .88; }
.showcase__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,28,19,.72), rgba(12,28,19,.12)); }
.showcase__item div { position: absolute; z-index: 1; left: 32px; right: 32px; bottom: 32px; }
.showcase__item span { display: block; color: #e7c884; text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 900; margin-bottom: 10px; }
.showcase__item strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.55rem, 2.6vw, 2.25rem); line-height: 1.08; font-weight: 600; letter-spacing: -.035em; }

.visit-section { position: relative; padding-top: 0; }
.visit-map { min-height: 320px; background: linear-gradient(rgba(235,222,202,.82), rgba(235,222,202,.82)), url('../images/map.jpg') center/cover; }
.visit__inner { margin-top: -112px; position: relative; display: grid; grid-template-columns: .76fr 1fr; gap: 24px; align-items: stretch; }
.visit-card, .contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.visit-card p, .contact-card p { color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.site-footer { background: var(--forest-dark); color: rgba(255,255,255,.76); padding: 58px 0 24px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr .6fr .8fr; gap: 42px; }
.footer-brand { display: inline-flex; color: #fff; margin-bottom: 18px; }
.footer-brand:hover { color: #fff; }
.footer-brand__logo { width: 170px; height: auto; }
.site-footer p { max-width: 450px; margin: 0; }
.site-footer h3 { color: #fff; font-size: .94rem; text-transform: uppercase; letter-spacing: .18em; margin: 0 0 18px; }
.site-footer a, .site-footer span { display: block; margin: 9px 0; }
.site-footer a:hover { color: #e8c17f; }
.footer__bottom { margin-top: 42px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.13); font-size: .9rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav-menu { position: fixed; inset: 132px 20px auto 20px; display: grid; gap: 4px; padding: 14px; border-radius: 22px; background: rgba(255,253,248,.98); box-shadow: var(--shadow); border: 1px solid var(--line); transform: translateY(-10px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
  .nav-menu.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-menu a { padding: 13px 14px; }
  .nav-menu .nav-cta { margin-left: 0; text-align: center; }
  .intro__grid, .story-grid, .design-note__grid, .winemaker-grid, .awards__grid, .visit__inner { grid-template-columns: 1fr; }
  .intro__cards, .facility-grid, .showcase { grid-template-columns: repeat(2,1fr); }
  .sustainability__grid { grid-template-columns: 1fr; }
  .sustainability__card { max-width: 360px; }
  .wine-grid { grid-template-columns: repeat(3,1fr); }
  .story-images { min-height: 480px; }
  .visit__inner { margin-top: -72px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .top-ribbon { font-size: .75rem; }
  .navbar__inner { min-height: 76px; }
  .brand { min-width: 150px; }
  .brand__logo { width: 150px; }
  .nav-menu { inset: 112px 14px auto 14px; }
  .section { padding: 76px 0; }
  .hero { min-height: 610px; }
  .hero__content { padding-top: 88px; }
  h1 { font-size: clamp(2.28rem, 12vw, 3.35rem); }
  h2 { font-size: clamp(2rem, 10.5vw, 3rem); }
  .intro__cards, .facility-grid, .range-intro, .wine-grid, .showcase, .footer__grid { grid-template-columns: 1fr; }
  .story-grid { gap: 36px; }
  .story-images { min-height: auto; display: grid; gap: 14px; }
  .story-images__main, .story-images__float { width: 100%; height: auto; min-height: 280px; position: static; border: 0; }
  .story-stamp { right: 16px; top: 16px; width: 108px; height: 108px; font-size: .94rem; }
  .design-note__image { padding: 28px; }
  .sustainability__grid { min-height: auto; padding: 76px 0; gap: 32px; }
  .winemaker-grid { gap: 36px; }
  .showcase__item { min-height: 360px; }
  .visit-map { min-height: 240px; }
  .visit-card, .contact-card { padding: 26px; }
  .wine-card dl { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* V4 refinements */
body.age-gate-active { overflow: hidden; }
.age-gate[hidden] { display: none !important; }
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(rgba(13,45,31,.86), rgba(13,45,31,.92)), url('../images/hero-deer.jpg') center/cover;
}
.age-gate__panel {
  width: min(100%, 520px);
  background: rgba(255,253,248,.97);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 30px;
  box-shadow: 0 32px 90px rgba(0,0,0,.35);
  padding: 34px;
  color: var(--ink);
}
.age-gate__logo { width: 178px; height: auto; margin-bottom: 22px; }
.age-gate h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 14px; }
.age-gate p { color: var(--muted); }
.age-gate__form { margin-top: 22px; }
.age-gate__form label { display: block; margin-bottom: 8px; color: var(--forest-dark); font-weight: 850; }
.age-gate__row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.age-gate input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(23,72,50,.22);
  border-radius: 999px;
  padding: 12px 16px;
  background: #fff;
  color: var(--ink);
  outline: none;
  font: inherit;
}
.age-gate input:focus { border-color: var(--forest); box-shadow: 0 0 0 4px rgba(23,72,50,.1); }
.age-gate__message { min-height: 1.45em; margin: 10px 0 0; font-weight: 800; color: #9f2d23 !important; }
.age-gate__fineprint { margin-top: 14px; font-size: .88rem; }
.showcase__item div { display: grid; justify-items: start; gap: 10px; }
.showcase__item span { margin-bottom: 0; }
.showcase__item strong { margin-bottom: 4px; }
.showcase-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 999px;
  color: #fff;
  font-weight: 850;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}
.showcase-link:hover { color: var(--forest-dark); background: #fff; }
.site-footer { padding: 36px 0 18px; }
.footer__grid { grid-template-columns: 1.1fr .62fr .82fr .82fr; gap: 30px; align-items: start; }
.footer-brand { margin-bottom: 12px; }
.footer-brand__logo { width: 148px; }
.site-footer h3 { margin-bottom: 12px; font-size: .82rem; }
.site-footer a { display: block; margin: 6px 0; }
.site-footer .footer-note { display: block; margin: 6px 0; }
.footer__bottom { margin-top: 24px; padding-top: 14px; }
.footer__bottom p { max-width: none; white-space: nowrap; }
.footer__bottom span { display: inline; margin: 0; }
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .age-gate__panel { padding: 26px; border-radius: 24px; }
  .age-gate__row { grid-template-columns: 1fr; }
  .age-gate__logo { width: 150px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom p { white-space: normal; }
}
