@import url("./page.css");

.cellar-hero {
  padding: clamp(64px, 8vw, 104px) 0;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.5), rgba(240, 230, 215, 0)),
    var(--cream);
}

.cellar-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.54fr) minmax(320px, 0.46fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

.cellar-hero-copy h1 {
  max-width: 560px;
  font-size: 35px;
  line-height: 1.14;
}

.cellar-hero-copy .lead {
  max-width: 580px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 15px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 750;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button.light {
  color: var(--wine);
  border-color: var(--line);
  background: rgba(255, 250, 242, 0.48);
}

.button:hover {
  transform: translateY(-1px);
}

.cellar-hero-media {
  margin: 0;
}

.cellar-hero-media img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cellar-story {
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(320px, 0.48fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
}

.cellar-story h2 {
  color: var(--wine);
  font-size: 35px;
  line-height: 1.14;
}

.cellar-text {
  display: grid;
  gap: 18px;
  padding-top: 6px;
}

.cellar-text p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.74;
}

.cellar-gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.cellar-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.cellar-gallery figure:first-child {
  grid-row: span 2;
}

.cellar-gallery img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.cellar-gallery figure:first-child img {
  min-height: 540px;
}

.cellar-experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cellar-experience article {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(26px, 4vw, 44px);
  border-left: 1px solid var(--line);
}

.cellar-experience article:first-child {
  border-left: 0;
}

.cellar-experience span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.cellar-experience h2 {
  color: var(--wine);
  font-size: 26px;
  line-height: 1.18;
}

.cellar-experience p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.dark-cta {
  color: var(--white);
  background: var(--cellar);
}

.cellar-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
}

.cellar-cta h2 {
  max-width: 760px;
  color: var(--white);
  font-size: 35px;
  line-height: 1.14;
}

.cellar-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.button.light-on-dark {
  color: var(--white);
  border-color: rgba(255, 250, 242, 0.22);
  background: transparent;
}

.button.light-on-dark:hover {
  border-color: rgba(176, 138, 76, 0.58);
  background: rgba(255, 250, 242, 0.06);
}

@media (max-width: 980px) {
  .cellar-hero-grid,
  .cellar-story,
  .cellar-cta {
    grid-template-columns: 1fr;
  }

  .cellar-hero-media img {
    min-height: 340px;
  }

  .cellar-experience-grid {
    grid-template-columns: 1fr;
  }

  .cellar-experience article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .cellar-experience article:first-child {
    border-top: 0;
  }

  .cellar-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .cellar-hero {
    padding-top: 48px;
  }

  .cellar-hero-copy h1,
  .cellar-story h2,
  .cellar-cta h2 {
    font-size: 32px;
  }

  .cellar-gallery {
    grid-template-columns: 1fr;
  }

  .cellar-gallery figure:first-child {
    grid-row: auto;
  }

  .cellar-gallery img,
  .cellar-gallery figure:first-child img {
    min-height: 260px;
  }

  .button {
    width: 100%;
  }
}
