/* Secondary pages for the Kristen Holle site. The homepage files remain untouched. */

body.content-page {
  background: var(--paper);
  color: var(--ink);
}

.content-header {
  position: relative;
  z-index: 20;
  background: var(--black);
  color: var(--white);
}

.content-header .nav-row {
  min-height: 116px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.content-header .main-nav a,
.content-header .brand,
.content-header .menu-toggle {
  color: var(--white);
}

.content-header .mobile-menu {
  top: 116px;
}

.content-header .brand-mark {
  background: var(--ivory);
}

.content-hero {
  position: relative;
  min-height: clamp(430px, 55vw, 700px);
  display: grid;
  place-items: end start;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.content-hero__media,
.content-hero__shade {
  position: absolute;
  inset: 0;
}

.content-hero__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-hero__shade {
  background: linear-gradient(90deg, rgba(6, 7, 7, 0.88) 0%, rgba(6, 7, 7, 0.58) 48%, rgba(6, 7, 7, 0.18) 100%);
}

.content-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 880px;
  padding-block: clamp(90px, 11vw, 160px) clamp(74px, 9vw, 130px);
}

.content-eyebrow,
.section-kicker,
.listing-status,
.fact-label {
  margin: 0 0 18px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.45;
  text-transform: uppercase;
}

.content-hero h1,
.content-heading h2,
.split-copy h2,
.listing-detail__summary h1,
.content-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.content-hero h1 {
  max-width: 850px;
  font-size: clamp(60px, 7.4vw, 116px);
}

.content-hero__intro {
  max-width: 700px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--sans);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.8;
}

.content-section {
  padding-block: clamp(82px, 9vw, 145px);
}

.content-section--ivory {
  background: var(--ivory);
}

.content-section--dark {
  background: var(--black);
  color: var(--white);
}

.content-heading {
  max-width: 880px;
  margin-bottom: clamp(45px, 6vw, 78px);
}

.content-heading--center {
  margin-inline: auto;
  text-align: center;
}

.content-heading h2,
.split-copy h2,
.content-cta h2 {
  font-size: clamp(46px, 5.4vw, 80px);
}

.content-heading > p:last-child,
.split-copy > p,
.content-prose p,
.content-card p,
.listing-card__body p,
.testimonial-card blockquote,
.listing-detail__description,
.legal-note p {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.82;
}

.content-heading > p:last-child {
  max-width: 760px;
  margin: 24px auto 0;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.content-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.content-card {
  position: relative;
  padding: clamp(30px, 3.8vw, 54px);
  border: 1px solid var(--border);
  background: var(--paper);
}

.content-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 70px;
  height: 2px;
  background: var(--gold);
}

.content-card__number {
  display: block;
  margin-bottom: 28px;
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 36px;
}

.content-card h3,
.listing-card h2,
.testimonial-card cite,
.contact-card h2,
.area-card h2 {
  margin: 0 0 15px;
  font-family: var(--serif);
  font-size: clamp(28px, 2.5vw, 38px);
  font-style: normal;
  font-weight: 600;
  line-height: 1.08;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 720px;
}

.split-media {
  min-height: 560px;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(58px, 8vw, 130px);
  background: var(--black);
  color: var(--white);
}

.split-copy > p {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.value-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 48px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.value-list article {
  padding: 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.value-list h3 {
  margin: 0 0 8px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 25px;
}

.value-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.7;
}

.listing-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.listing-count {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
}

.listing-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.listing-filter button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.listing-filter button[aria-pressed="true"] {
  border-color: var(--gold-deep);
  background: var(--gold);
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.listing-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--border);
  background: var(--white);
}

.listing-card[hidden] {
  display: none;
}

.listing-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--charcoal);
}

.listing-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 550ms ease;
}

.listing-card:hover .listing-card__media img {
  transform: scale(1.035);
}

.listing-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: linear-gradient(145deg, #0b0c0c, #20211f);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: 0.06em;
}

.listing-card__placeholder img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.72;
}

.listing-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.listing-card__body h2 {
  font-size: 30px;
}

.listing-price {
  margin: 0 0 12px;
  color: var(--gold-deep);
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 600;
}

.listing-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 20px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link::after {
  content: "\2192";
  color: var(--gold-deep);
  font-size: 18px;
}

.listing-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  min-height: 700px;
  background: var(--ivory);
}

.listing-detail > * {
  min-width: 0;
}

.listing-detail__media {
  min-height: 600px;
  background: var(--charcoal);
}

.listing-detail__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-detail__media .listing-card__placeholder {
  min-height: 100%;
}

.listing-detail__summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 7vw, 110px);
}

.listing-detail__summary h1 {
  font-size: clamp(50px, 5.4vw, 78px);
  overflow-wrap: anywhere;
}

.listing-detail__summary .listing-price {
  margin-top: 28px;
  font-size: 26px;
}

.listing-detail__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.listing-detail__facts div {
  padding: 18px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.listing-detail__facts strong {
  display: block;
  font-family: var(--serif);
  font-size: 23px;
}

.listing-detail__description {
  max-width: 900px;
}

.listing-detail__description p {
  margin: 0 0 22px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.testimonial-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(30px, 3.6vw, 50px);
  border: 1px solid var(--border);
  background: var(--white);
}

.testimonial-card blockquote {
  margin: 0 0 30px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(24px, 2vw, 31px);
  line-height: 1.35;
}

.testimonial-card cite {
  color: var(--gold-deep);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.area-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.area-card,
.contact-card,
.legal-note {
  padding: clamp(36px, 5vw, 70px);
  border: 1px solid var(--border);
  background: var(--white);
}

.area-card h2,
.contact-card h2 {
  font-size: clamp(34px, 3.4vw, 50px);
}

.contact-card a {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(25px, 2.5vw, 36px);
  text-decoration: none;
}

.contact-card address {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 16px;
  font-style: normal;
  line-height: 1.75;
}

.content-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  padding: clamp(54px, 8vw, 110px);
  background: var(--black);
  color: var(--white);
}

.content-cta .btn {
  white-space: nowrap;
}

.legal-note {
  border-left: 4px solid var(--gold);
}

.legal-note strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 28px;
}

.content-page .site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.content-page .socials a {
  width: auto;
  padding-inline: 12px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-page .footer-contact p span {
  display: block;
}

.content-page .footer-bottom span:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 1180px) {
  .content-header .nav-row {
    min-height: 94px;
  }

  .content-header .mobile-menu {
    top: 94px;
  }

  .content-grid,
  .content-grid--four,
  .listing-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .listing-detail {
    grid-template-columns: 1fr;
  }

  .listing-detail__media {
    max-height: 760px;
  }
}

@media (max-width: 720px) {
  .content-header .nav-row {
    min-height: 82px;
  }

  .content-header .mobile-menu {
    top: 82px;
  }

  .content-hero {
    min-height: 560px;
  }

  .content-hero__shade {
    background: linear-gradient(180deg, rgba(6, 7, 7, 0.34), rgba(6, 7, 7, 0.94));
  }

  .content-hero h1 {
    font-size: clamp(52px, 16vw, 72px);
  }

  .content-grid,
  .content-grid--four,
  .listing-grid,
  .testimonial-grid,
  .area-grid,
  .contact-grid,
  .content-cta {
    grid-template-columns: 1fr;
  }

  .split-section {
    min-height: 0;
  }

  .split-media {
    min-height: 500px;
  }

  .split-copy {
    padding: 62px 28px;
  }

  .value-list {
    grid-template-columns: 1fr;
  }

  .listing-detail__media {
    min-height: 430px;
  }

  .listing-detail__summary {
    padding: 50px 24px 65px;
  }

  .listing-detail__facts {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-height: 0;
  }

  .content-cta {
    align-items: start;
    padding: 60px 26px;
  }

  .content-cta .btn {
    width: 100%;
    text-align: center;
  }
}
