.home-page .teacher-band {
  width: min(1476px, calc(100% - 11vw)) !important;
  min-height: 574px;
  margin-top: 28px;
  padding: 60px 60px;
  grid-template-columns: minmax(320px, 400px) minmax(0, 1fr) !important;
  gap: clamp(56px, 6vw, 90px) !important;
  background:
    radial-gradient(circle at 22% 82%, rgba(0, 160, 233, .12), transparent 34%),
    linear-gradient(112deg, rgba(0, 160, 233, .12), rgba(10, 13, 15, .96) 46%, rgba(9, 10, 11, .96));
  border: 1px solid rgba(0, 160, 233, .42);
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(0, 160, 233, .06), 0 30px 120px rgba(0, 160, 233, .08);
}

.home-page .teacher-band .portrait-shell,
.teacher-profile .teacher-photo {
  width: min(400px, 100%);
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 424 / 453;
  justify-self: center;
  overflow: hidden;
  background: #d2d2d2;
}

.home-page .teacher-band .portrait-shell {
  border-radius: 14px;
}

.teacher-profile .teacher-photo {
  width: min(424px, 100%);
  border-radius: 30px;
}

.home-page .teacher-band .portrait-shell img,
.teacher-profile .teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-page .teacher-band .teacher-copy,
.teacher-profile .teacher-copy {
  max-width: 860px;
}

.home-page .teacher-band .eyebrow,
.teacher-profile .eyebrow {
  color: #00a0e9;
  font-size: 16px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.home-page .teacher-band h2,
.teacher-profile h1 {
  margin: 16px 0 2px;
  color: #fff;
  font-size: clamp(42px, 3.2vw, 54px);
  font-weight: 950;
  line-height: .98;
  letter-spacing: 0;
}

.teacher-meta {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(21px, 1.45vw, 25px);
  font-weight: 800;
  line-height: 1.25;
}

.teacher-copy p:not(.teacher-meta) {
  color: rgba(255, 255, 255, .72);
  font-size: clamp(20px, 1.25vw, 24px);
  font-weight: 650;
  line-height: 1.48;
  margin: 0 0 24px;
}

.teacher-copy blockquote {
  margin: 30px 0 0;
  padding-left: 24px;
  border-left: 4px solid #00a0e9;
  color: #fff;
  font-size: clamp(30px, 2.2vw, 38px);
  font-weight: 950;
  line-height: 1.22;
}

.teacher-skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.teacher-skill-pills span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  padding: 6px 16px;
  color: rgba(255, 255, 255, .74);
  background: rgba(255, 255, 255, .035);
  font-size: 18px;
  font-weight: 900;
}

.inner-page:has(.teacher-profile) {
  width: 100%;
  padding-bottom: 88px;
}

.teacher-profile {
  width: min(1296px, calc(100% - 64px));
  margin: 0 auto;
  padding: clamp(112px, 18vh, 172px) 0 clamp(106px, 18vh, 184px);
  grid-template-columns: minmax(320px, 424px) minmax(0, 1fr) !important;
  gap: clamp(72px, 7.5vw, 142px) !important;
  align-items: center;
}

.open-lessons {
  width: min(1476px, calc(100% - 11vw));
  margin: 0 auto;
}

.open-lessons h2 {
  margin-bottom: 22px;
  color: #fff;
  font-size: 34px;
  font-weight: 950;
}

.open-lessons article {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(12, 12, 12, .82);
}

@media (max-width: 1024px) {
  .home-page .teacher-band,
  .teacher-profile {
    width: min(720px, calc(100% - 40px)) !important;
    grid-template-columns: 1fr !important;
    gap: 34px !important;
    text-align: left;
  }

  .home-page .teacher-band {
    padding: 34px;
  }

  .teacher-profile {
    padding-top: 112px;
  }

  .open-lessons {
    width: min(720px, calc(100% - 40px));
  }
}

@media (max-width: 640px) {
  .home-page .teacher-band,
  .teacher-profile,
  .open-lessons {
    width: calc(100% - 28px) !important;
  }

  .home-page .teacher-band {
    padding: 22px;
  }

  .teacher-profile {
    padding-top: 96px;
    padding-bottom: 62px;
  }

  .teacher-copy p:not(.teacher-meta) {
    font-size: 17px;
  }

  .teacher-copy blockquote {
    font-size: 25px;
  }
}
