/*
 * A more restrained, editorial portrait treatment.
 * This file intentionally loads after style.css so these rules are easy to tune.
 */
html,
body {
  overflow-x: clip;
}

.hero {
  min-height: 660px;
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, .82fr);
}

.hero-copy {
  padding-top: 82px;
  padding-bottom: 82px;
}

.hero-visual {
  align-items: center;
  justify-content: center;
  padding: 55px 55px 75px;
  overflow: hidden;
}

.portrait-frame {
  width: min(100%, 430px);
  height: auto;
  aspect-ratio: 29 / 34;
  border: 10px solid rgba(255, 255, 255, .08);
  box-shadow: 24px 24px 0 rgba(217, 154, 43, .18);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: none;
}

.degree-note {
  left: 28px;
  bottom: 30px;
}

.story-grid {
  grid-template-columns: minmax(250px, .62fr) minmax(0, 1.38fr);
}

.story-intro {
  align-self: start;
  padding: 30px;
  border-top: 3px solid var(--gold);
  background: var(--cream);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    padding: 55px 18% 75px;
  }

  .portrait-frame {
    width: min(100%, 390px);
  }

  .story-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero-visual {
    min-height: auto;
    padding: 42px 12% 70px;
  }

  .portrait-frame {
    width: min(100%, 320px);
    border-width: 7px;
    box-shadow: 14px 14px 0 rgba(217, 154, 43, .18);
  }

  .degree-note {
    left: 18px;
    bottom: 20px;
    min-width: 250px;
  }
}
