.valuation-ma-page {
  background: var(--pcg-surface-page);
  color: var(--pcg-text-primary);
}

.valuation-ma-page .valuation-ma-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 6rem;
  background: var(--pcg-surface-page);
  border-bottom: 1px solid var(--pcg-border);
}

.valuation-ma-page .valuation-ma-hero::before,
.valuation-ma-page .valuation-ma-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.valuation-ma-page .valuation-ma-hero::before {
  inset: 0 auto auto 0;
  width: min(64vw, 64rem);
  height: 1px;
  margin-top: clamp(42px, 4.7vw, 72px);
  background: color-mix(in srgb, var(--pcg-pine) 72%, transparent);
}

.valuation-ma-page .valuation-ma-hero::after {
  top: clamp(-190px, -12vw, -96px);
  right: clamp(-180px, -8vw, -72px);
  width: clamp(260px, 30vw, 520px);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--pcg-bronze) 72%, transparent);
  border-radius: 50%;
}

.valuation-ma-page .valuation-ma-hero__copy {
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(18rem, 1fr);
  align-items: end;
  gap: clamp(32px, 5.2vw, 88px);
  width: min(100%, 1440px);
  margin-inline: auto;
  padding: clamp(130px, 12.5vw, 190px) var(--pcg-gutter) clamp(76px, 8vw, 124px) clamp(58px, 6.9vw, 106px);
}

.valuation-ma-page .valuation-ma-hero__copy::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 clamp(32px, 3.9vw, 60px);
  width: 1px;
  background: color-mix(in srgb, var(--pcg-pine) 78%, transparent);
  pointer-events: none;
}

.valuation-ma-page .valuation-ma-hero h1 {
  margin: 0;
  color: var(--pcg-pine);
  font-family: var(--pcg-font-sans);
  font-size: clamp(3.6rem, 8.35vw, 8.4rem);
  font-weight: var(--pcg-weight-semibold);
  letter-spacing: -.065em;
  line-height: .87;
  text-wrap: balance;
}

.valuation-ma-page .valuation-ma-hero h1 span,
.valuation-ma-page .valuation-ma-hero h1 em {
  display: block;
}

.valuation-ma-page .valuation-ma-hero h1 em {
  margin-top: .15em;
  color: var(--pcg-bronze);
  font-family: var(--pcg-font-editorial);
  font-size: .8em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.055em;
  white-space: nowrap;
}

.valuation-ma-page .valuation-ma-hero__copy > p {
  max-width: 31ch;
  margin: 0 0 .45rem;
  padding-left: clamp(22px, 2.1vw, 34px);
  border-left: 2px solid var(--pcg-pine);
  color: var(--pcg-ink);
  font-family: var(--pcg-font-sans);
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  line-height: 1.5;
}

.valuation-ma-page .valuation-ma-hero__image {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: auto;
  aspect-ratio: 1536 / 498;
  margin: 0;
  overflow: hidden;
  background: var(--pcg-pine);
}

.valuation-ma-page .valuation-ma-hero__image::before,
.valuation-ma-page .valuation-ma-hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.valuation-ma-page .valuation-ma-hero__image::before {
  z-index: 1;
  background: rgba(0, 43, 35, .035);
}

.valuation-ma-page .valuation-ma-hero__image::after {
  z-index: 2;
  background:
    radial-gradient(circle at 72% 18%, rgba(216, 173, 67, .08), transparent 28%),
    linear-gradient(90deg, rgba(0, 43, 35, .06), transparent 48%, rgba(0, 43, 35, .035));
}

.valuation-ma-page .valuation-ma-hero__image img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.valuation-ma-page .pcg-inner-content {
  margin-top: 0;
}

@media (max-width: 980px) {
  .valuation-ma-page .valuation-ma-hero__copy {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 34px;
    padding-top: clamp(100px, 15vw, 142px);
  }

  .valuation-ma-page .valuation-ma-hero h1 {
    font-size: clamp(3.4rem, 11.6vw, 6.8rem);
  }

  .valuation-ma-page .valuation-ma-hero h1 em {
    white-space: normal;
  }

  .valuation-ma-page .valuation-ma-hero__copy > p {
    max-width: 44ch;
  }
}

@media (max-width: 600px) {
  .valuation-ma-page .valuation-ma-hero::after {
    opacity: .55;
  }

  .valuation-ma-page .valuation-ma-hero__copy {
    padding-top: 82px;
    padding-bottom: 48px;
    padding-left: calc(var(--pcg-gutter) + 14px);
  }

  .valuation-ma-page .valuation-ma-hero__copy::before {
    left: var(--pcg-gutter);
  }

  .valuation-ma-page .valuation-ma-hero h1 {
    font-size: clamp(3.15rem, 16vw, 5rem);
    line-height: .92;
  }

  .valuation-ma-page .valuation-ma-hero h1 em {
    font-size: .75em;
    line-height: 1;
  }

  .valuation-ma-page .valuation-ma-hero__copy > p {
    padding-left: 18px;
    font-size: 1rem;
  }

  .valuation-ma-page .valuation-ma-hero__image {
    height: 280px;
    aspect-ratio: auto;
  }

  .valuation-ma-page .valuation-ma-hero__image img {
    object-position: 53% center;
  }
}
