.pronto-header--instructor .pronto-header__user {
  gap: 12px;
}

.pronto-header--instructor .pronto-header__user-item:not(:last-child) {
  margin-right: 0;
}

.pronto-header--instructor .pronto-header__mobile-app-button {
  display: inline-block;
}

.instructor-profile {
  --profile-ink: #16120d;
  --profile-copy: #4e443b;
  --profile-muted: #7d7063;
  --profile-paper: #f5f3f1;
  --profile-card: #fffaf4;
  --profile-surface: rgba(255, 255, 255, 0.82);
  --profile-accent: #ff7324;
  --profile-accent-dark: #e25e14;
  --profile-success: #48b525;
  --profile-yellow: #ffd23f;
  --profile-line: rgba(31, 31, 31, 0.08);
  --profile-shadow: 0 20px 48px rgba(18, 14, 9, 0.05);
  background: var(--profile-paper);
  color: var(--profile-ink);
  font-family: "Inter", Helvetica, Arial, sans-serif;
  overflow: hidden;
  padding-top: 80px;
}

.instructor-profile *,
.instructor-profile *::before,
.instructor-profile *::after {
  box-sizing: border-box;
}

.instructor-profile__shell {
  width: min(1345px, calc(100% - 40px));
  margin: 0 auto;
}

.instructor-profile__hero {
  position: relative;
  padding: 32px 0 0;
  background:
    radial-gradient(820px 420px at 86% 0%, rgba(255, 232, 222, 0.92) 0%, transparent 60%),
    radial-gradient(720px 360px at 10% 100%, rgba(255, 241, 224, 0.86) 0%, transparent 58%),
    var(--profile-paper);
}

.instructor-profile__hero-glow {
  position: absolute;
  top: -190px;
  right: -120px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 115, 36, 0.11), rgba(255, 115, 36, 0) 68%);
  pointer-events: none;
}

.instructor-profile__hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.76fr);
  align-items: center;
  gap: 54px;
}

.instructor-profile__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--profile-muted);
  font-size: 14px;
}

.instructor-profile__breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.instructor-profile__breadcrumbs a:hover {
  color: var(--profile-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.instructor-profile__eyebrow,
.instructor-profile__kicker {
  margin: 0 0 20px;
  color: #8b5a2b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.instructor-profile__eyebrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--profile-line);
  border-radius: 999px;
  box-shadow: 0 2px 0 rgba(20, 18, 27, 0.06);
  display: inline-flex;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
}

.instructor-profile__eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--profile-success);
  box-shadow: 0 0 0 3px rgba(72, 181, 37, 0.14);
}

.instructor-profile h1,
.instructor-profile h2,
.instructor-profile h3 {
  font-family: "Alice", Georgia, serif;
}

.instructor-profile h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(46px, 5.4vw, 72px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.03;
}

.instructor-profile__role {
  margin: 24px 0 0;
  color: var(--profile-accent);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
}

.instructor-profile__lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--profile-copy);
  font-size: 18px;
  line-height: 1.65;
}

.instructor-profile__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.instructor-profile__button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.instructor-profile__button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.instructor-profile__button:hover {
  transform: translateY(-2px);
}

.instructor-profile__button--primary,
.instructor-profile__button--primary:visited {
  background: var(--profile-ink);
  color: #fff;
  box-shadow: 0 4px 0 var(--profile-accent-dark);
}

.instructor-profile__button--primary:hover {
  background: var(--profile-ink);
  color: #fff;
  box-shadow: 0 6px 0 var(--profile-accent-dark);
}

.instructor-profile__button--secondary,
.instructor-profile__button--secondary:visited {
  border-color: var(--profile-line);
  background: #fff;
  color: var(--profile-ink);
}

.instructor-profile__button--secondary:hover {
  background: #fff;
  color: var(--profile-ink);
}

.instructor-profile__portrait-card {
  position: relative;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--profile-line);
  border-radius: 28px;
  background: var(--profile-surface);
  box-shadow: var(--profile-shadow);
}

.instructor-profile__portrait-card::before {
  position: absolute;
  z-index: -1;
  right: -24px;
  bottom: -22px;
  width: 76%;
  height: 54%;
  border-radius: 28px;
  background: var(--profile-yellow);
  border: 2px solid var(--profile-ink);
  content: "";
  transform: rotate(4deg);
}

.instructor-profile__portrait-frame {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  background: #d9d4ca;
}

.instructor-profile__portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.instructor-profile__portrait-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 4px 3px;
  color: var(--profile-muted);
  font-size: 13px;
}

.instructor-profile__portrait-name {
  color: var(--profile-ink);
  font-weight: 700;
}

.instructor-profile__proof {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 44px 0 0;
  border-top: 1px solid var(--profile-line);
}

.instructor-profile__proof > div {
  padding: 28px 24px 32px 0;
}

.instructor-profile__proof > div:not(:first-child) {
  padding-left: 32px;
  border-left: 1px solid var(--profile-line);
}

.instructor-profile__proof dt {
  margin-bottom: 7px;
  font-family: "Alice", Georgia, serif;
  font-size: clamp(23px, 2.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.instructor-profile__proof dd {
  margin: 0;
  color: var(--profile-muted);
  font-size: 14px;
}

.instructor-profile__section {
  padding: 80px 0;
}

.instructor-profile__section--paper {
  background: var(--profile-card);
}

.instructor-profile__review-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.instructor-profile__section-heading h2,
.instructor-profile__video-copy h2,
.instructor-profile__about-copy h2,
.instructor-profile__closing-card h2 {
  margin: 0;
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.instructor-profile__review-copy {
  color: var(--profile-copy);
  font-size: 18px;
  line-height: 1.72;
}

.instructor-profile__review-copy p {
  margin: 0;
}

.instructor-profile__review-copy p + p {
  margin-top: 22px;
}

.instructor-profile__review-intro {
  color: var(--profile-ink);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.instructor-profile__review-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 54px;
}

.instructor-profile__review-cards article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--profile-line);
  border-radius: 24px;
  background: var(--profile-surface);
  box-shadow: var(--profile-shadow);
}

.instructor-profile__review-cards article:nth-child(2) {
  background: linear-gradient(160deg, #fff3e8 0%, rgba(255, 255, 255, 0.92) 100%);
}

.instructor-profile__review-cards article:nth-child(3) {
  background: linear-gradient(160deg, #fff9dc 0%, rgba(255, 255, 255, 0.92) 100%);
}

.instructor-profile__card-number {
  display: block;
  margin-bottom: 52px;
  color: var(--profile-accent);
  font-family: "Alice", Georgia, serif;
  font-size: 13px;
  font-weight: 700;
}

.instructor-profile__review-cards h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.instructor-profile__review-cards p {
  margin: 14px 0 0;
  color: var(--profile-copy);
  font-size: 15px;
  line-height: 1.6;
}

.instructor-profile__section--video {
  background:
    radial-gradient(720px 340px at 90% 12%, rgba(255, 232, 222, 0.82) 0%, transparent 62%),
    var(--profile-paper);
}

.instructor-profile__video-grid {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
}

.instructor-profile__video-copy > p:not(.instructor-profile__kicker) {
  color: var(--profile-copy);
  font-size: 18px;
  line-height: 1.65;
  margin: 22px 0 0;
  max-width: 540px;
}

.instructor-profile__video-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.instructor-profile__video-facts li {
  background: #fff;
  border: 1px solid var(--profile-line);
  border-radius: 999px;
  color: var(--profile-copy);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
}

.instructor-profile__video-link {
  align-items: center;
  color: var(--profile-ink);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 9px;
  margin-top: 25px;
  text-decoration: none;
}

.instructor-profile__video-link:hover {
  color: var(--profile-accent-dark);
}

.instructor-profile__video-link svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 18px;
}

.instructor-profile__video-player,
.instructor-profile__video-grid iframe {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--profile-line);
  border-radius: 28px;
  box-shadow: var(--profile-shadow);
  display: block;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.instructor-profile__video-grid iframe {
  background: #000;
}

.instructor-profile__video-player::after {
  background: linear-gradient(180deg, transparent 56%, rgba(0, 0, 0, 0.65));
  content: "";
  inset: 0;
  position: absolute;
}

.instructor-profile__video-player img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
  width: 100%;
}

.instructor-profile__video-player:hover img {
  transform: scale(1.018);
}

.instructor-profile__video-play {
  align-items: center;
  background: var(--profile-accent);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(18, 14, 9, 0.24);
  color: #fff;
  display: flex;
  height: 74px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, background-color 180ms ease;
  width: 74px;
  z-index: 1;
}

.instructor-profile__video-player:hover .instructor-profile__video-play {
  background: var(--profile-accent-dark);
  transform: translate(-50%, -50%) scale(1.06);
}

.instructor-profile__video-play svg {
  fill: currentColor;
  height: 31px;
  width: 31px;
}

.instructor-profile__video-label {
  bottom: 22px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  left: 24px;
  position: absolute;
  z-index: 1;
}

.instructor-profile__section--ink {
  position: relative;
  background: var(--profile-ink);
  color: #fff;
}

.instructor-profile__section--ink::after {
  position: absolute;
  right: -120px;
  bottom: -170px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255, 115, 36, 0.28);
  border-radius: 50%;
  content: "";
}

.instructor-profile__about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.instructor-profile__about-mark {
  display: grid;
  min-height: 430px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 210, 63, 0.15), transparent 52%),
    rgba(255, 255, 255, 0.035);
}

.instructor-profile__about-mark img {
  width: min(62%, 240px);
  height: auto;
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.35));
}

.instructor-profile__kicker--light {
  color: var(--profile-yellow);
}

.instructor-profile__about-copy h2 {
  max-width: 760px;
}

.instructor-profile__about-copy > p:not(.instructor-profile__kicker) {
  max-width: 770px;
  margin: 25px 0 0;
  color: #cbc4bc;
  font-size: 18px;
  line-height: 1.72;
}

.instructor-profile__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 42px;
}

.instructor-profile__links a {
  min-height: 94px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.instructor-profile__links a:hover {
  border-color: rgba(255, 115, 36, 0.72);
  background: rgba(255, 115, 36, 0.1);
}

.instructor-profile__links span {
  display: block;
  margin-bottom: 9px;
  color: #9f9890;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.instructor-profile__section--closing {
  background: var(--profile-card);
}

.instructor-profile__closing-card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(36px, 6vw, 72px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 0, rgba(255, 210, 63, 0.68), transparent 28%),
    linear-gradient(135deg, #ffffff, #fff3e8);
  border: 1px solid var(--profile-line);
  box-shadow: var(--profile-shadow);
}

.instructor-profile__closing-card > div {
  max-width: 720px;
}

.instructor-profile__closing-card p:last-child {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--profile-copy);
  font-size: 17px;
  line-height: 1.65;
}

.instructor-profile a:focus-visible {
  outline: 3px solid var(--profile-accent);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .pronto-header--instructor .pronto-header__user-item {
    display: block;
  }

  .pronto-header--instructor .pronto-header__mobile-app-button {
    align-items: center;
    display: inline-flex;
    font-size: 13px;
    height: 36px;
    line-height: 36px;
    padding: 0 16px;
  }

  .instructor-profile__hero {
    padding-top: 40px;
  }

  .instructor-profile__hero-grid,
  .instructor-profile__review-grid,
  .instructor-profile__video-grid,
  .instructor-profile__about-grid {
    grid-template-columns: 1fr;
  }

  .instructor-profile__hero-grid {
    gap: 54px;
  }

  .instructor-profile__portrait-card {
    width: min(100%, 470px);
    justify-self: center;
  }

  .instructor-profile__review-grid,
  .instructor-profile__video-grid,
  .instructor-profile__about-grid {
    gap: 48px;
  }

  .instructor-profile__review-cards {
    grid-template-columns: 1fr;
  }

  .instructor-profile__review-cards article {
    min-height: 0;
  }

  .instructor-profile__card-number {
    margin-bottom: 32px;
  }

  .instructor-profile__about-mark {
    min-height: 330px;
  }

  .instructor-profile__closing-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .instructor-profile {
    padding-top: 72px;
  }

  .instructor-profile__shell {
    width: min(100% - 30px, 1345px);
  }

  .instructor-profile__hero {
    padding-top: 32px;
  }

  .instructor-profile__breadcrumbs {
    margin-bottom: 30px;
  }

  .instructor-profile h1 {
    font-size: clamp(48px, 16vw, 68px);
  }

  .instructor-profile__role {
    margin-top: 18px;
  }

  .instructor-profile__actions {
    flex-direction: column;
  }

  .instructor-profile__button {
    width: 100%;
  }

  .instructor-profile__portrait-card {
    padding: 10px;
    border-radius: 24px;
    transform: none;
  }

  .instructor-profile__portrait-frame {
    border-radius: 16px;
  }

  .instructor-profile__proof {
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .instructor-profile__proof > div,
  .instructor-profile__proof > div:not(:first-child) {
    padding: 20px 0;
    border-left: 0;
    border-bottom: 1px solid var(--profile-line);
  }

  .instructor-profile__section {
    padding: 76px 0;
  }

  .instructor-profile__review-cards {
    margin-top: 46px;
  }

  .instructor-profile__review-cards article {
    padding: 23px;
  }

  .instructor-profile__video-player,
  .instructor-profile__video-grid iframe {
    border-radius: 20px;
  }

  .instructor-profile__video-play {
    height: 60px;
    width: 60px;
  }

  .instructor-profile__video-label {
    bottom: 16px;
    left: 18px;
  }

  .instructor-profile__links {
    grid-template-columns: 1fr;
  }

  .instructor-profile__about-mark {
    min-height: 260px;
  }

  .instructor-profile__closing-card {
    padding: 29px 23px;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .instructor-profile__button,
  .instructor-profile__video-player img,
  .instructor-profile__video-play,
  .instructor-profile__links a {
    transition: none;
  }
}
