:root {
  --ink: #151714;
  --forest: #101810;
  --forest-2: #0b100c;
  --cream: #f2ede2;
  --paper: #fbfaf6;
  --gold: #d3a13a;
  --gold-light: #f0cc70;
  --yellow: #e5b800;
  --purple: #7b4b8d;
  --muted: #777b72;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .27);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
strong { font-weight: 750; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 76px;
  padding: .85rem clamp(1.2rem, 4vw, 4rem);
  color: white;
  background: rgba(10, 13, 10, .91);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(211, 161, 58, .24);
}
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.15; }
.brand-title { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 1.28rem; }
.brand-subtitle { margin-top: .2rem; color: #bcbfb8; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
nav { display: flex; gap: clamp(.8rem, 2.4vw, 2rem); }
nav a { color: #e8e9e5; font-size: .92rem; text-decoration: none; }
nav a:hover { color: var(--gold-light); }

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  color: white;
  background: #10150e url("assets/hero-cave.webp") center / cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,10,7,.82) 0%, rgba(7,10,7,.48) 48%, rgba(7,10,7,.15) 72%, rgba(7,10,7,.28) 100%),
    linear-gradient(0deg, rgba(7,10,7,.32), transparent 35%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 2.4rem));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 5rem 0;
}
.hero-copy { max-width: 670px; }
.eyebrow {
  margin: 0 0 .8rem;
  color: var(--gold-light);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; }
h1 { margin: 0; font-size: clamp(3.5rem, 8vw, 7.6rem); font-weight: 500; letter-spacing: -.04em; }
h1 span { color: var(--gold-light); font-size: .53em; letter-spacing: -.02em; }
.lead { max-width: 620px; margin: 1.7rem 0 0; color: #e4e5e0; font-size: clamp(1.05rem, 1.5vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.2rem; border-radius: 999px; font-weight: 750; text-decoration: none; }
.button-primary { color: #17130a; background: var(--gold-light); }
.button-ghost { border: 1px solid rgba(255,255,255,.48); color: white; background: rgba(0,0,0,.12); }

.section { padding: clamp(4.5rem, 9vw, 8rem) clamp(1.2rem, 5vw, 5rem); }
.section > * { width: min(1180px, 100%); margin-left: auto; margin-right: auto; }
.section-heading { margin-bottom: 2.8rem; }
.section-heading.center { text-align: center; }
h2 { margin: 0; font-size: clamp(2.8rem, 5vw, 5rem); font-weight: 500; letter-spacing: -.035em; }
.section-subtitle { margin: .8rem 0 0; color: #73766e; font-size: 1.2rem; }

.intro-section { background: linear-gradient(180deg, #fbfaf6, #f2ede2); }
.intro-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.intro-grid p { margin: 0; font-size: 1.1rem; }
.intro-lead { font-family: Georgia, serif; font-size: clamp(1.65rem, 3vw, 2.5rem) !important; line-height: 1.35; }
.signature { margin-top: 1.25rem !important; color: #8f6a22; font-weight: 700; }

.visual-break {
  position: relative;
  min-height: min(72vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: white;
  background-position: center;
  background-size: cover;
}
.visual-break::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8,11,8,.75), rgba(8,11,8,.02) 70%);
}
.cider-visual { background-image: url("assets/cidres-verger.webp"); }
.wine-visual { background-image: url("assets/galotta-cave.webp"); }
.visual-caption {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 0 0 clamp(2.5rem, 7vw, 5rem);
}
.visual-caption h2 { max-width: 700px; }
.visual-caption p:last-child { margin: .5rem 0 0; color: #dedfd9; font-size: 1.2rem; }
.visual-caption-right { text-align: right; }
.visual-caption-right h2 { margin-left: auto; }

.section-dark { color: white; background: var(--forest); }
.section-dark .section-subtitle { color: #bdc2b7; }
.origin-story {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(211, 161, 58, .25);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #172019, #0b100c);
}
.origin-story h3 { margin: 0 0 .8rem; font-size: 1.9rem; }
.origin-story p { margin: 0; color: #d1d5cd; }
.facts { display: flex; flex-direction: column; justify-content: center; gap: .8rem; }
.facts span { padding: .75rem 1rem; border-left: 2px solid var(--gold); background: rgba(255,255,255,.045); }

.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.product-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  min-height: 620px;
  border-radius: var(--radius);
  background: #f3f0e7;
  color: var(--ink);
  box-shadow: 0 18px 60px rgba(0,0,0,.26);
}
.product-photo-wrap { position: relative; min-height: 100%; overflow: hidden; background: #efe7d9; }
.product-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.product-copy { position: relative; padding: clamp(1.5rem, 3vw, 2.7rem); }
.product-copy::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--yellow); }
.berangere .product-copy::before { background: var(--purple); }
.product-kicker { margin: 0 0 .25rem; color: #6b6e66; font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.product-card h3, .wine-copy h3 { margin: .2rem 0 .6rem; font-size: clamp(2.4rem, 4vw, 4.2rem); font-weight: 500; }
.product-tagline { margin: 0 0 1.2rem; color: #494c46; font-family: Georgia, serif; font-size: 1.24rem; }
.specs { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.specs span { padding: .6rem .8rem; border: 1px solid #d7d2c7; border-radius: 999px; background: white; }

.wine-section { background: #ece6dc; }
.wine-feature {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  overflow: hidden;
  border-radius: var(--radius);
  background: #242127;
  color: white;
  box-shadow: var(--shadow);
}
.wine-photo { min-height: 680px; overflow: hidden; background: #d9d2c8; }
.wine-photo img { width: 100%; height: 100%; object-fit: cover; }
.wine-copy { padding: clamp(2rem, 5vw, 5rem); align-self: center; }
.wine-copy .product-kicker { color: #d4b9dc; }
.wine-copy .product-tagline { color: #dabce2; font-size: 1.45rem; }
.wine-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 2rem; }
.wine-meta div { padding: 1rem; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.04); }
.wine-meta span { display: block; color: #aaaab0; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.wine-meta strong { display: block; margin-top: .3rem; font-size: .95rem; }
.note { margin-top: 1.6rem; color: #b9b9bd; font-size: .9rem; }

.contact-section { background: #101510; color: white; }
.contact-card { padding: clamp(2rem, 5vw, 4rem); border: 1px solid rgba(211,161,58,.3); border-radius: var(--radius); background: linear-gradient(135deg, #172118, #0e120f); }
.contact-card h2 { font-size: clamp(2.5rem, 5vw, 4.6rem); }
.contact-name { color: var(--gold-light); font-family: Georgia, serif; font-size: 1.4rem; }
.contact-help { max-width: 680px; color: #b7bbb2; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem clamp(1.2rem, 5vw, 5rem);
  color: #d7d8d4;
  background: #090b09;
  border-top: 1px solid #282b25;
}
footer div { display: flex; flex-direction: column; }
footer strong { color: var(--gold-light); font-family: Georgia, serif; font-size: 1.1rem; }
footer span { color: #858981; font-size: .85rem; }
footer a { align-self: center; color: #c9cbc5; text-decoration: none; }

@media (max-width: 900px) {
  .site-header { align-items: flex-start; }
  nav { flex-wrap: wrap; justify-content: flex-end; }
  .hero { background-position: 65% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(7,10,7,.87), rgba(7,10,7,.46) 72%, rgba(7,10,7,.3)); }
  .intro-grid, .origin-story, .wine-feature { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: .85fr 1.15fr; min-height: 560px; }
  .wine-photo { max-height: 650px; min-height: 560px; }
  .wine-meta { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { position: relative; flex-direction: column; gap: .7rem; }
  nav { width: 100%; justify-content: space-between; gap: .6rem; }
  nav a { font-size: .82rem; }
  .hero { min-height: 690px; background-position: 68% center; }
  .hero-content { min-height: 690px; align-items: flex-end; padding-bottom: 4rem; }
  h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .visual-break { min-height: 500px; background-position: 68% center; }
  .wine-visual { background-position: 64% center; }
  .visual-caption-right { text-align: left; }
  .product-card { grid-template-columns: 1fr; }
  .product-photo-wrap { height: 510px; }
  .wine-photo { height: 560px; min-height: 0; }
  footer { flex-direction: column; }
  footer a { align-self: flex-start; }
}

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