:root {
  --bg-olive: #0f1511;
  --bg-stone: #1a1d18;
  --surface: rgba(23, 28, 23, 0.66);
  --surface-strong: rgba(18, 22, 18, 0.84);
  --text: #f3efe6;
  --text-soft: #d0c7b7;
  --accent: #93a46a;
  --accent-warm: #d9a45d;
  --line: rgba(243, 239, 230, 0.18);
  --ok: #9ed892;
  --error: #e6a091;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
  --header-height: 4.2rem;
  --radius: 1.2rem;
  --ease: cubic-bezier(0.2, 0.65, 0.25, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 18%, rgba(119, 138, 93, 0.25), transparent 45%),
    radial-gradient(circle at 87% 10%, rgba(166, 113, 61, 0.16), transparent 46%),
    linear-gradient(165deg, var(--bg-olive), var(--bg-stone) 54%, #10120f);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 3px 3px, 3px 3px;
  mix-blend-mode: soft-light;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 0.8rem;
  top: -120px;
  background: #111;
  color: #fff;
  padding: 0.7rem 0.95rem;
  border-radius: 0.6rem;
  z-index: 1000;
  text-decoration: none;
}

.skip-link:focus-visible {
  top: 0.8rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem clamp(0.9rem, 3vw, 2.2rem);
  background: linear-gradient(to bottom, rgba(8, 11, 9, 0.82), rgba(8, 11, 9, 0.36));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}

.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.4rem, 2.3vw, 1.8rem);
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  flex: 1;
}

.site-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.35rem 0.62rem;
  border-radius: 999px;
  color: var(--text-soft);
  border: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--text);
  border-color: rgba(243, 239, 230, 0.36);
  background: rgba(243, 239, 230, 0.08);
}

.locale-switch {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid rgba(243, 239, 230, 0.35);
  padding: 0.38rem 0.58rem;
  border-radius: 999px;
}

main {
  overflow: clip;
}

.chapter {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-height) + clamp(2rem, 5vw, 4rem)) 0 clamp(3.6rem, 9vw, 6rem);
}

.chapter-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.chapter-media picture,
.chapter-media img {
  width: 100%;
  height: 100%;
}

.chapter-media img {
  object-fit: cover;
  transform: scale(1.07);
  filter: saturate(0.92) contrast(1.08) brightness(0.72);
  will-change: transform;
}

.chapter-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(to bottom, rgba(8, 11, 9, 0.6), rgba(8, 11, 9, 0.1) 34%, rgba(8, 11, 9, 0.75));
}

.chapter-inner {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.panel {
  width: min(640px, 95%);
  background: linear-gradient(145deg, rgba(13, 17, 14, 0.5), rgba(13, 17, 14, 0.77));
  border: 1px solid rgba(239, 236, 228, 0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 3vw, 2.5rem);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: rgba(243, 239, 230, 0.78);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  margin-top: 0.5rem;
  font-size: clamp(2.2rem, 7vw, 5.4rem);
  max-width: 13ch;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  margin-bottom: 0.95rem;
}

.copy {
  max-width: 62ch;
  color: var(--text-soft);
  margin: 0;
  font-size: clamp(1.03rem, 1.5vw, 1.15rem);
}

.hero-panel {
  margin-top: clamp(5vh, 12vh, 16vh);
}

.btn {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  padding: 0.66rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 239, 230, 0.45);
  background: linear-gradient(145deg, rgba(243, 239, 230, 0.17), rgba(243, 239, 230, 0.06));
  font-size: 0.86rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn::after {
  content: "->";
  font-size: 0.95rem;
  transform: translateY(-1px);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(243, 239, 230, 0.85);
  background: linear-gradient(145deg, rgba(243, 239, 230, 0.26), rgba(243, 239, 230, 0.1));
}

.hero-cta {
  animation: ctaPulse 3.2s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%,
  100% { box-shadow: 0 0 0 0 rgba(217, 164, 93, 0.1); }
  50% { box-shadow: 0 0 0 11px rgba(217, 164, 93, 0); }
}

.chapter-surface {
  background:
    linear-gradient(160deg, rgba(12, 17, 13, 0.82), rgba(17, 22, 18, 0.72)),
    radial-gradient(circle at top right, rgba(152, 173, 116, 0.18), transparent 45%);
}

.terroir-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1rem, 2.8vw, 2rem);
  align-items: start;
}

.stats-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.stat-card {
  border: 1px solid rgba(243, 239, 230, 0.2);
  border-radius: 0.95rem;
  padding: 0.8rem 0.9rem;
  background: rgba(14, 18, 14, 0.54);
}

.stat-card strong {
  display: block;
  color: rgba(243, 239, 230, 0.98);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-card span {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-soft);
}

.timeline-shell {
  margin-top: 1.4rem;
  position: relative;
  padding-left: 0.1rem;
}

.timeline-track {
  position: absolute;
  left: 0.62rem;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 2px;
  background: rgba(243, 239, 230, 0.2);
}

.timeline-track::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: calc(var(--timeline-progress, 0) * 100%);
  background: linear-gradient(var(--accent), var(--accent-warm));
  transition: height 0.2s linear;
}

.timeline-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: clamp(1rem, 3vw, 1.8rem);
}

.season-card {
  margin-left: clamp(1.2rem, 3vw, 2.1rem);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(0.9rem, 2vw, 1.3rem);
  background: rgba(12, 16, 13, 0.58);
  border: 1px solid rgba(243, 239, 230, 0.16);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.season-card::before {
  content: "";
  position: absolute;
  margin-left: -1.35rem;
  margin-top: 1.4rem;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  border: 2px solid rgba(243, 239, 230, 0.75);
  background: rgba(15, 20, 16, 0.95);
}

.season-media {
  aspect-ratio: 3 / 4;
  width: 100%;
  height: 100%;
}

.season-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.04);
}

.season-copy {
  padding: 1rem 1rem 1rem 0;
}

.season-copy h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 0.5rem;
}

.season-copy p {
  margin: 0;
  color: var(--text-soft);
}

.chapter--split .chapter-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: center;
}

.chapter--split .panel {
  width: 100%;
}

.product-notes {
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.product-notes li {
  border: 1px solid rgba(243, 239, 230, 0.3);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.42rem 0.72rem;
  color: rgba(243, 239, 230, 0.88);
}

.inquiry-wrap {
  width: min(760px, 100%);
}

form {
  margin-top: 1.15rem;
  display: grid;
  gap: 0.85rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

label {
  display: grid;
  gap: 0.35rem;
  color: rgba(243, 239, 230, 0.92);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(243, 239, 230, 0.28);
  border-radius: 0.8rem;
  color: var(--text);
  background: rgba(10, 14, 11, 0.75);
  padding: 0.68rem 0.72rem;
}

textarea {
  resize: vertical;
  min-height: 8rem;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(147, 164, 106, 0.9);
  outline-offset: 2px;
}

.submit-btn {
  justify-self: start;
  border: 1px solid rgba(243, 239, 230, 0.48);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(147, 164, 106, 0.28), rgba(217, 164, 93, 0.18));
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.82rem;
  padding: 0.68rem 1rem;
  cursor: pointer;
}

.submit-btn[disabled] {
  opacity: 0.58;
  cursor: not-allowed;
}

.form-footnote {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(243, 239, 230, 0.66);
}

.form-status {
  margin: 0;
  min-height: 1.3em;
  font-size: 0.92rem;
}

.form-status.is-success {
  color: var(--ok);
}

.form-status.is-error {
  color: var(--error);
}

.hp-field {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  padding: 1.4rem clamp(0.9rem, 3vw, 2.2rem) 2rem;
  border-top: 1px solid var(--line);
  background: rgba(8, 11, 9, 0.82);
}

.footer-inner {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(243, 239, 230, 0.82);
  text-decoration-color: rgba(243, 239, 230, 0.35);
}

.footer-copy {
  margin: 0;
  color: rgba(243, 239, 230, 0.72);
  font-size: 0.9rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .site-header {
    align-items: flex-start;
    height: auto;
    min-height: var(--header-height);
    flex-wrap: wrap;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

  .site-nav {
    order: 3;
    width: 100%;
  }

  .chapter {
    padding-top: calc(var(--header-height) + 5.8rem);
  }

  .chapter--split .chapter-inner,
  .terroir-grid,
  .season-card {
    grid-template-columns: 1fr;
  }

  .season-copy {
    padding: 0 1rem 1rem;
  }

  .season-card {
    margin-left: 1rem;
  }

  .season-card::before {
    margin-left: -1.14rem;
    margin-top: 1rem;
  }
}

@media (max-width: 760px) {
  .panel {
    width: 100%;
  }

  .hero-panel {
    margin-top: 4.2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .site-nav a {
    font-size: 0.7rem;
    padding: 0.31rem 0.5rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .chapter-media img {
    transform: none !important;
  }
}
