/* Casa Christa homepage — estate experiences montage */
.cc-experiences {
  --cc-exp-cream: #f7f2ec;
  --cc-exp-paper: #fdfbf8;
  --cc-exp-ink: #2c2828;
  --cc-exp-muted: #6e6660;
  --cc-exp-taupe: #a8957a;
  position: relative;
  overflow: hidden;
  background: var(--cc-exp-cream);
  color: var(--cc-exp-ink);
}

.cc-experiences *,
.cc-experiences *::before,
.cc-experiences *::after {
  box-sizing: border-box;
}

.cc-experiences__layout {
  display: grid;
  grid-template-columns: minmax(0, 61%) minmax(360px, 39%);
  width: 100%;
  height: clamp(680px, 58vw, 880px);
  min-height: 0;
  border-top: 1px solid rgba(168, 149, 122, 0.2);
  border-bottom: 1px solid rgba(168, 149, 122, 0.24);
}

.cc-experiences__content {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(58px, 7vw, 118px) clamp(34px, 4.8vw, 84px);
  border-left: 1px solid rgba(168, 149, 122, 0.28);
  background: rgba(253, 251, 248, 0.5);
}

.cc-experiences__heading {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: var(--cc-font-heading, 'Cormorant Garamond', serif);
  font-size: clamp(58px, 5.2vw, 86px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.035em;
  color: var(--cc-exp-ink);
}

.cc-experiences__heading span,
.cc-experiences__heading em {
  display: block;
}

.cc-experiences__heading em {
  margin-top: 8px;
  font-weight: 300;
  font-style: italic;
  color: #8a7a66;
}

.cc-experiences__body {
  max-width: 520px;
  margin: 34px 0 0;
  font-family: var(--cc-font-body, 'Jost', sans-serif);
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 300;
  line-height: 1.68;
  color: var(--cc-exp-muted);
}

.cc-experiences__rule {
  display: block;
  width: 54px;
  height: 1px;
  margin-top: 30px;
  background: var(--cc-exp-taupe);
}

.cc-experiences__actions {
  display: grid;
  gap: 10px;
  width: min(100%, 520px);
  margin-top: 34px;
}

.cc-experiences__button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 15px 24px;
  border: 1px solid var(--cc-exp-ink);
  border-radius: 0;
  font-family: var(--cc-font-body, 'Jost', sans-serif);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.cc-experiences__button--primary {
  background: var(--cc-exp-ink);
  color: #fff;
}

.cc-experiences__button--primary:hover,
.cc-experiences__button--primary:focus-visible {
  border-color: #8a7a66;
  background: #8a7a66;
  color: #fff;
}

.cc-experiences__button--secondary {
  background: transparent;
  color: var(--cc-exp-ink);
}

.cc-experiences__button--secondary:hover,
.cc-experiences__button--secondary:focus-visible {
  background: var(--cc-exp-ink);
  color: #fff;
}

.cc-experiences__button:focus-visible {
  outline: 2px solid var(--cc-exp-ink);
  outline-offset: 3px;
}

.cc-experiences__montage {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: 43.5% 56.5%;
  grid-template-rows: 55% 45%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--cc-exp-paper);
}

.cc-experiences__photo {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #ded8cf;
}

.cc-experiences__photo--wine {
  grid-column: 1;
  grid-row: 1 / span 2;
  border-right: 5px solid var(--cc-exp-cream);
}

.cc-experiences__photo--nest {
  grid-column: 2;
  grid-row: 1;
  border-bottom: 5px solid var(--cc-exp-cream);
}

.cc-experiences__photo--house {
  grid-column: 2;
  grid-row: 2;
}

.cc-experiences__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(0.98);
  transform: scale(1.002);
}

.cc-experiences__photo--wine .cc-experiences__image {
  object-position: 48% center;
}

.cc-experiences__photo--nest .cc-experiences__image {
  object-position: center 58%;
}

.cc-experiences__photo--house .cc-experiences__image {
  object-position: center 52%;
}

@media (max-width: 1180px) {
  .cc-experiences__layout {
    grid-template-columns: minmax(0, 58%) minmax(350px, 42%);
  }

  .cc-experiences__content {
    padding-right: 36px;
    padding-left: 36px;
  }

  .cc-experiences__heading {
    font-size: clamp(54px, 6vw, 72px);
  }
}

@media (max-width: 920px) {
  .cc-experiences__layout {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .cc-experiences__content {
    grid-column: 1;
    grid-row: 1;
    padding: 74px 44px 58px;
    border-left: 0;
    border-bottom: 1px solid rgba(168, 149, 122, 0.25);
  }

  .cc-experiences__body {
    max-width: 680px;
  }

  .cc-experiences__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 680px;
  }

  .cc-experiences__montage {
    grid-column: 1;
    grid-row: 2;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 680px) {
  .cc-experiences__content {
    padding: 56px 22px 44px;
  }

  .cc-experiences__heading {
    font-size: clamp(46px, 15vw, 60px);
    line-height: 0.9;
  }

  .cc-experiences__heading em {
    margin-top: 6px;
  }

  .cc-experiences__body {
    margin-top: 28px;
    font-size: 14px;
    line-height: 1.62;
  }

  .cc-experiences__rule {
    margin-top: 25px;
  }

  .cc-experiences__actions {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 28px;
  }

  .cc-experiences__button {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    font-size: 9px;
    letter-spacing: 0.14em;
  }

  .cc-experiences__montage {
    grid-template-columns: 44% 56%;
    grid-template-rows: 54% 46%;
    aspect-ratio: 4 / 5;
  }

  .cc-experiences__photo--wine {
    border-right-width: 3px;
  }

  .cc-experiences__photo--nest {
    border-bottom-width: 3px;
  }

}

@media (max-width: 360px) {
  .cc-experiences__content {
    padding-right: 18px;
    padding-left: 18px;
  }

  .cc-experiences__heading {
    font-size: 44px;
  }

  .cc-experiences__button {
    min-height: 52px;
    font-size: 8.5px;
    letter-spacing: 0.12em;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .cc-experiences__photo .cc-experiences__image {
    transition: transform 0.65s cubic-bezier(0.2, 0.65, 0.3, 1);
  }

  .cc-experiences__photo:hover .cc-experiences__image {
    transform: scale(1.025);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc-experiences__button,
  .cc-experiences__image {
    transition: none !important;
  }
}
