@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --ink: #241a17;
  --muted: #76645c;
  --soft: #9a877c;
  --paper: #f7f1e8;
  --paper-deep: #eee3d4;
  --stone: #d9c8b6;
  --wine: #4a1420;
  --wine-deep: #2b0d12;
  --olive: #59663e;
  --gold: #c18c45;
  --white: #fffaf2;
  --line: rgba(36, 26, 23, 0.16);
  --line-light: rgba(255, 250, 242, 0.22);
  --shadow: 0 8px 24px rgba(36, 26, 23, 0.16);
  --max: 1180px;
  --header-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", "Avenir Next", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  color: inherit;
  font: inherit;
}

.site-header {
  align-items: center;
  color: var(--white);
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto 1fr;
  height: var(--header-h);
  left: 0;
  padding: 0 clamp(20px, 4vw, 54px);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
  z-index: 20;
}

.site-header.scrolled {
  background: rgba(36, 26, 23, 0.88);
  border-bottom: 1px solid rgba(255, 250, 242, 0.16);
  color: var(--white);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  gap: 12px;
  justify-self: start;
  line-height: 1;
}

.brand-mark {
  border: 1px solid currentColor;
  display: inline-block;
  height: 28px;
  position: relative;
  transform: rotate(45deg);
  width: 28px;
}

.brand-mark::after {
  background: currentColor;
  content: "";
  height: 1px;
  left: 6px;
  position: absolute;
  top: 13px;
  width: 14px;
}

.nav {
  align-items: center;
  display: flex;
  gap: 34px;
  justify-self: center;
}

.nav a,
.language-button,
.language span {
  font-size: 13px;
  font-weight: 700;
}

.nav a {
  border-bottom: 1px solid transparent;
  padding: 8px 0;
  transition: border-color 150ms ease, opacity 150ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  border-color: currentColor;
}

.language {
  align-items: center;
  border: 1px solid rgba(255, 250, 242, 0.28);
  display: inline-flex;
  gap: 7px;
  justify-self: end;
  padding: 7px 10px;
}

.language-button {
  background: none;
  border: 0;
  cursor: pointer;
  opacity: 0.5;
  padding: 0;
  transition: opacity 150ms ease;
}

.language-button.active,
.language-button:hover,
.language-button:focus-visible {
  opacity: 1;
}

.hero {
  min-height: 82svh;
  overflow: hidden;
  position: relative;
}

.hero-image,
.hero-shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(rgba(25, 16, 13, 0.28), rgba(25, 16, 13, 0.42)),
    linear-gradient(90deg, rgba(25, 16, 13, 0.54), rgba(25, 16, 13, 0.08) 50%, rgba(25, 16, 13, 0.42));
}

.hero-content {
  color: var(--white);
  left: 50%;
  max-width: 760px;
  padding: calc(var(--header-h) + 48px) 24px 88px;
  position: relative;
  text-align: center;
  top: 50%;
  transform: translate(-50%, 8vh);
  z-index: 2;
}

.place,
.section-label,
.wine-row span,
.wine-meta {
  color: inherit;
  font-size: 13px;
  font-weight: 700;
}

.place {
  margin: 0 0 16px;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.98;
  margin: 0;
}

h1 {
  font-size: clamp(78px, 11vw, 162px);
}

h2 {
  font-size: clamp(42px, 5vw, 74px);
}

.hero-subtitle {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(22px, 2vw, 32px);
  margin: 22px auto 0;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 38px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.button-primary {
  background: var(--white);
  color: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--gold);
  color: var(--wine-deep);
}

.button-secondary {
  border-color: rgba(255, 250, 242, 0.56);
  color: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--white);
  background: rgba(255, 250, 242, 0.12);
}

.section {
  padding: clamp(58px, 7vw, 96px) clamp(20px, 5vw, 60px);
}

.section-inner {
  margin: 0 auto;
  max-width: var(--max);
}

.story {
  background:
    linear-gradient(rgba(255, 250, 242, 0.72), rgba(255, 250, 242, 0.72)),
    repeating-linear-gradient(0deg, rgba(74, 20, 32, 0.025), rgba(74, 20, 32, 0.025) 1px, transparent 1px, transparent 7px);
}

.story-grid {
  display: grid;
  gap: clamp(44px, 8vw, 110px);
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
}

.section-label {
  color: var(--wine);
  margin: 0 0 18px;
}

.story-copy p:not(.section-label),
.visit-copy p:not(.section-label) {
  color: var(--muted);
  max-width: 660px;
}

.story-copy h2 {
  margin-bottom: 32px;
}

.estate-notes {
  align-self: end;
  border-left: 1px solid var(--line);
  display: grid;
  gap: 0;
}

.estate-notes article {
  border-bottom: 1px solid var(--line);
  padding: 26px 0 26px 30px;
}

.estate-notes article:first-child {
  border-top: 1px solid var(--line);
}

.estate-notes span {
  color: var(--wine);
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.estate-notes p {
  color: var(--muted);
  margin: 0;
}

.wines {
  background: var(--wine-deep);
  color: var(--white);
  padding-bottom: clamp(64px, 8vw, 112px);
  padding-top: clamp(64px, 8vw, 112px);
}

.wines-grid {
  align-items: center;
  display: grid;
  gap: clamp(34px, 6vw, 82px);
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
}

.bottle-frame {
  border: 1px solid var(--line-light);
  overflow: hidden;
}

.bottle-frame img {
  aspect-ratio: 1 / 1;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.wine-panel .section-label {
  color: var(--gold);
}

.wine-panel h2 {
  max-width: 670px;
}

.wine-list {
  border-top: 1px solid var(--line-light);
  margin-top: 40px;
}

.wine-row {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  cursor: pointer;
  display: grid;
  gap: 6px;
  padding: 24px 0;
  text-align: left;
  width: 100%;
}

.wine-row span {
  color: var(--gold);
}

.wine-row strong {
  color: var(--white);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 600;
  line-height: 1;
}

.wine-row em {
  color: rgba(255, 250, 242, 0.68);
  font-style: normal;
}

.wine-row.active strong,
.wine-row:hover strong,
.wine-row:focus-visible strong {
  color: #f6d7a7;
}

.wine-detail {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto;
  margin-top: 30px;
}

.wine-detail p {
  color: rgba(255, 250, 242, 0.74);
  margin: 0;
  max-width: 600px;
}

.wine-meta {
  color: #f6d7a7;
  margin-bottom: 10px;
}

.text-link {
  border-bottom: 1px solid currentColor;
  color: #f6d7a7;
  font-size: 14px;
  font-weight: 700;
  padding-bottom: 4px;
  white-space: nowrap;
}

.visit {
  background: var(--paper-deep);
}

.visit-grid {
  align-items: end;
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr minmax(260px, 0.72fr) minmax(260px, 0.72fr);
}

.visit-copy h2 {
  margin-bottom: 22px;
}

.contact-card {
  border-left: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  font-style: normal;
  gap: 8px;
  padding-left: 26px;
}

.contact-card p {
  margin: 0;
}

.contact-card a {
  border-bottom: 1px solid transparent;
  color: var(--wine);
  width: fit-content;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  border-color: currentColor;
}

.map-card {
  align-items: center;
  aspect-ratio: 1.6 / 1;
  background:
    linear-gradient(90deg, transparent 49%, rgba(74, 20, 32, 0.12) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(74, 20, 32, 0.12) 50%, transparent 51%),
    var(--paper);
  background-size: 78px 78px;
  border: 1px solid var(--line);
  color: var(--wine);
  display: grid;
  font-weight: 700;
  justify-items: center;
  min-height: 180px;
  padding: 26px;
  position: relative;
}

.map-pin {
  background: var(--wine);
  height: 30px;
  position: relative;
  transform: rotate(45deg);
  width: 30px;
}

.map-pin::after {
  background: var(--paper);
  border-radius: 50%;
  content: "";
  height: 10px;
  left: 10px;
  position: absolute;
  top: 10px;
  width: 10px;
}

.footer {
  align-items: center;
  background: #1f1714;
  color: rgba(255, 250, 242, 0.72);
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  padding: 26px clamp(20px, 5vw, 60px);
}

.footer p {
  margin: 0;
}

.footer a {
  border-bottom: 1px solid transparent;
}

.footer a:hover,
.footer a:focus-visible {
  border-color: currentColor;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .story-grid,
  .wines-grid,
  .visit-grid {
    grid-template-columns: 1fr;
  }

  .estate-notes,
  .contact-card {
    border-left: 0;
  }

  .estate-notes article,
  .contact-card {
    padding-left: 0;
  }

  .wine-detail {
    align-items: start;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --header-h: 64px;
  }

  body {
    font-size: 15px;
  }

  .site-header {
    padding: 0 16px;
  }

  .brand {
    font-size: 22px;
  }

  .brand-mark {
    height: 24px;
    width: 24px;
  }

  .hero {
    min-height: 80svh;
  }

  .hero-content {
    padding-left: 16px;
    padding-right: 16px;
    transform: translate(-50%, 7vh);
    width: 100%;
  }

  h1 {
    font-size: clamp(62px, 19vw, 92px);
  }

  h2 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    max-width: 280px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
