/* =========================================================
   RADIANCE HOUSE / ABOUT PAGE
   ========================================================= */

.about-hero {
  position: relative;
  overflow: hidden;
  min-height: 580px;
  padding: 165px 0 90px;
  background:
    radial-gradient(circle at 77% 24%, rgba(70, 174, 216, .22), transparent 30%),
    linear-gradient(120deg, #fff 0 32%, #eff8fc 60%, #d8edf6 100%);
}

.about-hero::after {
  content: "";
  position: absolute;
  width: 660px;
  height: 220px;
  right: -140px;
  bottom: -135px;
  border: 3px solid rgba(41, 145, 186, .11);
  border-radius: 50%;
  transform: rotate(-10deg);
  box-shadow:
    0 -30px 0 rgba(75, 174, 214, .04),
    0 -60px 0 rgba(75, 174, 214, .025);
}

.about-hero__flow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.about-hero__flow svg {
  width: 100%;
  height: 100%;
}

.about-hero__flow path {
  fill: none;
  stroke-linecap: round;
}

.about-hero__flow path:nth-child(1) {
  stroke: rgba(35, 55, 65, .30);
  stroke-width: 5;
}

.about-hero__flow path:nth-child(2) {
  stroke: rgba(61, 163, 207, .48);
  stroke-width: 3;
}

.about-hero__flow path:nth-child(3) {
  stroke: rgba(168, 11, 11, .26);
  stroke-width: 3;
}

.about-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) .8fr;
  gap: 60px;
  align-items: center;
}

.about-hero__copy {
  max-width: 800px;
}

.about-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  line-height: .98;
  letter-spacing: -.04em;
  font-weight: 500;
}

.about-hero__copy > p:not(.eyebrow) {
  color: #405058;
  font-size: 1.08rem;
}

.about-hero__actions,
.person-actions,
.learn-with-dario__actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-hero__mark {
  position: relative;
  width: min(390px, 34vw);
  aspect-ratio: 1;
  justify-self: center;
}

.about-orbit {
  position: absolute;
  border: 1px solid rgba(39, 127, 166, .24);
  border-radius: 50%;
}

.about-orbit--outer {
  inset: 3%;
}

.about-orbit--inner {
  inset: 23%;
}

.about-glow {
  position: absolute;
  width: 115px;
  height: 115px;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 13%, #d7f3ff 17%, #5dbde2 42%, rgba(55,161,204,.16) 66%, transparent 70%);
  box-shadow: 0 0 46px rgba(62, 174, 220, .44);
}

.about-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--rh-blue-deep);
  box-shadow: 0 0 0 7px rgba(77,173,211,.11);
}

.about-dot--1 {
  top: 18%;
  left: 28%;
}

.about-dot--2 {
  right: 9%;
  top: 47%;
  background: var(--rh-red);
}

.about-dot--3 {
  left: 47%;
  bottom: 5%;
}


/* People */

.dario-section,
.linda-section {
  padding: 105px 0;
  scroll-margin-top: 120px;
}

.person-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: clamp(45px, 7vw, 95px);
  align-items: start;
}

.person-layout--primary {
  padding-bottom: 15px;
}

.portrait-column {
  position: sticky;
  top: 115px;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 30px 30px 30px 8px;
  background:
    radial-gradient(circle at 50% 35%, rgba(255,255,255,.8), transparent 19%),
    linear-gradient(145deg, #dff2fa, #65b4d5 60%, #216c8d);
  box-shadow: 0 24px 50px rgba(20, 62, 82, .16);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 22px 22px 22px 5px;
  pointer-events: none;
}

.portrait-frame img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-frame.is-missing img {
  display: none;
}

.portrait-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.92);
  font-size: 5rem;
  font-weight: 300;
  letter-spacing: -.08em;
}

.portrait-frame:not(.is-missing) .portrait-fallback {
  display: none;
}

.portrait-frame--linda {
  background:
    radial-gradient(circle at 50% 35%, rgba(255,255,255,.78), transparent 20%),
    linear-gradient(145deg, #fff1cc, #dfa63a 58%, #8c5511);
}

.portrait-links {
  margin-top: 20px;
  display: grid;
  gap: 8px;
}

.mentor-site {
  width: 100%;
  margin-top: 18px;
}

.person-copy h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.4vw, 4rem);
}

.person-subtitle {
  margin: 8px 0 26px;
  color: #62717a;
  font-weight: 800;
}

.bio-copy {
  max-width: 820px;
}

.bio-copy p {
  color: #414d53;
  font-size: 1.02rem;
  line-height: 1.75;
}


/* Deep-dive accordion */

.bio-deep-dive {
  padding: 100px 0 110px;
  background:
    radial-gradient(circle at 100% 0, rgba(71, 174, 216, .09), transparent 30%),
    var(--rh-blue-faint);
  border-top: 1px solid #e0edf3;
  border-bottom: 1px solid #e0edf3;
}

.bio-accordion {
  max-width: 980px;
  margin: 42px auto 0;
  display: grid;
  gap: 12px;
}

.bio-detail {
  overflow: hidden;
  border: 1px solid #d7e7ee;
  border-radius: 19px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 9px 25px rgba(20, 67, 87, .05);
}

.bio-detail summary {
  position: relative;
  padding: 21px 60px 21px 22px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.bio-detail summary::-webkit-details-marker {
  display: none;
}

.bio-detail summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rh-blue-deep);
  font-size: 1.75rem;
  font-weight: 400;
}

.bio-detail[open] summary::after {
  content: "−";
}

.bio-detail[open] summary {
  border-bottom: 1px solid #e2edf2;
}

.bio-detail__number {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--rh-blue), var(--rh-blue-deep));
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.bio-detail summary strong {
  display: block;
  font-size: 1.08rem;
}

.bio-detail summary small {
  display: block;
  margin-top: 3px;
  color: #69777e;
  font-size: .87rem;
  line-height: 1.45;
}

.bio-detail__content {
  padding: 24px 30px 29px 86px;
}

.bio-detail__content p {
  color: #455159;
  line-height: 1.75;
}

.bio-detail__content p:first-child {
  margin-top: 0;
}


/* Linda */

.linda-section {
  padding-top: 110px;
}

.person-layout--secondary {
  padding-bottom: 75px;
}

.mentor-books {
  padding-top: 52px;
  border-top: 1px solid #dfebf0;
}

.mentor-books__heading {
  margin-bottom: 27px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.mentor-books__heading h3 {
  margin: 0;
  font-size: 2rem;
}

.mentor-book-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.mentor-book-card {
  overflow: hidden;
  border: 1px solid #dce9ef;
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 9px 25px rgba(19, 65, 86, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.mentor-book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(19, 65, 86, .11);
}

.mentor-book-card__image {
  height: 210px;
  padding: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #fbfeff, #eef8fb);
}

.mentor-book-card img {
  max-width: 100%;
  max-height: 175px;
  object-fit: contain;
  box-shadow: 0 10px 20px rgba(15,46,60,.16);
}

.mentor-book-card__fallback {
  width: 110px;
  aspect-ratio: 8.5 / 11;
  padding: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  background: linear-gradient(145deg, #69b9d8, #126d94);
  font-size: .72rem;
  font-weight: 800;
}

.mentor-book-card__copy {
  padding: 15px 15px 18px;
}

.mentor-book-card__copy strong {
  display: block;
  font-size: .87rem;
  line-height: 1.35;
}

.mentor-book-card__copy span {
  display: block;
  margin-top: 7px;
  color: var(--rh-blue-deep);
  font-size: .75rem;
  font-weight: 900;
}


/* Learn with Dario */

.learn-with-dario {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(115deg, #0b1b23, #153743 60%, #176480);
}

.learn-with-dario::after {
  content: "";
  position: absolute;
  width: 760px;
  height: 210px;
  right: -210px;
  bottom: -160px;
  border: 3px solid rgba(92, 201, 240, .18);
  border-radius: 50%;
  box-shadow:
    0 -28px 0 rgba(92, 201, 240, .05),
    0 -56px 0 rgba(92, 201, 240, .025);
}

.learn-with-dario__inner {
  position: relative;
  z-index: 2;
  min-height: 360px;
  padding-block: 70px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 55px;
  align-items: center;
}

.learn-with-dario__graphic {
  position: relative;
  width: 225px;
  aspect-ratio: 1;
}

.learn-ring {
  position: absolute;
  border: 1px solid rgba(135, 219, 251, .28);
  border-radius: 50%;
}

.learn-ring--1 {
  inset: 2%;
}

.learn-ring--2 {
  inset: 24%;
}

.learn-core {
  position: absolute;
  width: 78px;
  height: 78px;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 12%, #9ce2fb 18%, #4ab4dd 40%, transparent 69%);
  box-shadow: 0 0 36px rgba(67, 187, 231, .45);
}

.learn-with-dario__copy h2 {
  max-width: 790px;
  margin: 0;
}

.learn-with-dario__copy > p:last-of-type {
  max-width: 820px;
  color: #d3e4eb;
}

.button--outline-light {
  color: #fff;
  border-color: rgba(255,255,255,.55);
  background: transparent;
}

.button--outline-light:hover {
  background: rgba(255,255,255,.09);
}


/* Responsive */

@media (max-width: 1050px) {
  .mentor-book-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .about-hero__mark {
    position: absolute;
    width: 310px;
    right: -70px;
    bottom: 15px;
    opacity: .38;
  }

  .person-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 40px;
  }

  .portrait-column {
    position: static;
  }

  .learn-with-dario__inner {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .learn-with-dario__graphic {
    width: 160px;
  }
}

@media (max-width: 720px) {
  .about-hero {
    min-height: 620px;
    padding-top: 145px;
  }

  .dario-section,
  .linda-section {
    padding-block: 78px;
  }

  .person-layout {
    grid-template-columns: 1fr;
  }

  .portrait-column {
    width: min(300px, 85vw);
  }

  .bio-deep-dive {
    padding-block: 75px;
  }

  .bio-detail summary {
    grid-template-columns: 42px 1fr;
    padding: 18px 52px 18px 16px;
  }

  .bio-detail__number {
    width: 40px;
    height: 40px;
  }

  .bio-detail__content {
    padding: 20px 20px 25px;
  }

  .mentor-books__heading {
    align-items: start;
    flex-direction: column;
  }

  .mentor-book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .learn-with-dario__inner {
    min-height: 430px;
    grid-template-columns: 1fr;
  }

  .learn-with-dario__graphic {
    display: none;
  }
}

@media (max-width: 480px) {
  .mentor-book-grid {
    grid-template-columns: 1fr;
  }

  .mentor-book-card {
    display: grid;
    grid-template-columns: 120px 1fr;
  }

  .mentor-book-card__image {
    height: 170px;
  }
}
