/* Keep the hero photo at its original proportions on every screen. */
.hero-portrait-frame {
  width: min(90%, 660px);
  aspect-ratio: 4 / 3;
  height: auto;
  left: 50%;
  bottom: 8%;
  clip-path: none;
  border: 4px solid var(--white);
}
.hero-portrait-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
}

/* Four consistent pathways, with aligned titles and descriptions. */
.ecosystem {
  background: var(--white);
  color: var(--black);
  padding: clamp(64px, 7vw, 112px) 5vw;
  border-top: 1px solid #d0ccc2;
}
.ecosystem-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 5vw;
  align-items: end;
  margin-bottom: 40px;
}
.ecosystem-intro .eyebrow { grid-column: 1 / -1; margin: 0; }
.ecosystem-intro h2 {
  margin: 0;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(56px, 7vw, 112px);
  font-weight: 400;
  line-height: 1;
}
.ecosystem-intro > p:last-child {
  max-width: 620px;
  margin: 0;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.65;
}
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.ecosystem-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 18px;
  min-width: 0;
  padding: clamp(20px, 2vw, 32px);
  border: 1px solid #b7b4ac;
  background: #ebe8e0;
  color: var(--black);
  transition: background .2s ease, color .2s ease;
}
.ecosystem-card span { font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.ecosystem-card strong {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(36px, 3vw, 48px);
  font-weight: 400;
  line-height: 1;
}
.ecosystem-card small { font-size: 14px; line-height: 1.6; }
.ecosystem-card:hover, .ecosystem-card:focus-visible { background: var(--black); color: var(--white); }
.ecosystem-card:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

@media (max-width: 980px) {
  .ecosystem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-art { height: auto; min-height: 0; padding: 96px 24px 40px; }
  .hero-portrait-frame {
    position: relative;
    width: 100%;
    max-width: 660px;
    margin: 0 auto;
    left: auto;
    bottom: auto;
    transform: none;
  }
}
@media (max-width: 640px) {
  .hero-art { padding: 88px 20px 28px; }
  .ecosystem { padding: 64px 24px; }
  .ecosystem-intro { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  .ecosystem-intro h2 { font-size: clamp(52px, 14vw, 76px); }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .ecosystem-card { gap: 14px; padding: 24px; }
}
