:root {
  color-scheme: dark;
}
.academy-page {
  overflow: hidden;
}
.academy-wrap {
  width: min(1152px, calc(100% - 48px));
  margin-inline: auto;
}
.academy-hero {
  position: relative;
  display: flex;
  min-height: 720px;
  align-items: center;
  overflow: hidden;
  padding: 145px 0 100px;
  isolation: isolate;
}
.academy-hero::before {
  position: absolute;
  z-index: -2;
  background:
    radial-gradient(ellipse at 76% 48%, #564c723b, transparent 34%),
    radial-gradient(ellipse at 15% 90%, #4233541c, transparent 45%);
  content: "";
  inset: 0;
}
.academy-hero::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 170px;
  background: linear-gradient(transparent, #000);
  content: "";
}
.academy-hero-art {
  position: absolute;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  inset: 0;
}
.academy-hero-content {
  position: relative;
  z-index: 2;
}
.academy-eyebrow {
  color: #a9a2b8;
  font-size: 10px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}
.academy-hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(58px, 9vw, 104px);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.academy-hero h1 em {
  color: #aaa0c3;
  font-weight: 300;
}
.academy-hero h2 {
  margin-bottom: 15px;
  color: #e9e6ef;
  font-size: clamp(20px, 3vw, 27px);
  font-weight: 300;
  letter-spacing: 0.015em;
}
.academy-lede {
  max-width: 570px;
  color: #bcb8c4;
  font-size: 16px;
  line-height: 1.85;
}
.academy-actions,
.discover-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-top: 31px;
}
.academy-button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  gap: 13px;
  padding: 0 20px;
  border: 1px solid #ffffff40;
  border-radius: 999px;
  color: #f3f0f6;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s,
    transform 0.25s;
}
.academy-button:hover,
.academy-button:focus-visible {
  transform: translateY(-2px);
  border-color: #fff;
  background: #ffffff0d;
}
.academy-button-light {
  border-color: #fff;
  background: #fff;
  color: #08080a;
}
.academy-button-light:hover,
.academy-button-light:focus-visible {
  border-color: #ded9e7;
  background: #ded9e7;
  color: #08080a;
}
.academy-hero-note {
  margin-top: 48px;
  color: #77727e;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.academy-section {
  padding: 102px 0 120px;
}
.academy-section-head {
  margin-bottom: 42px;
}
.academy-section-head h2,
.discover-copy h2 {
  margin: 13px 0;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.academy-intro {
  max-width: 650px;
  margin-top: 13px;
  color: #aaa6b1;
  line-height: 1.8;
}
.lesson-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.lesson-card {
  overflow: hidden;
  border: 1px solid #ffffff18;
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff0a, #ffffff02);
  transition:
    transform 0.3s,
    border-color 0.3s,
    background 0.3s;
}
.lesson-card:hover,
.lesson-card:focus-within {
  transform: translateY(-4px);
  border-color: #c9bbdf66;
  background: linear-gradient(145deg, #ffffff10, #ffffff04);
}
.lesson-link {
  display: block;
  height: 100%;
}
.lesson-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(ellipse at 70% 20%, #695b79, transparent 52%),
    linear-gradient(140deg, #25212d, #0d0c10 76%);
}
.lesson-thumb::after {
  position: absolute;
  background: linear-gradient(0deg, #050507a8, transparent 55%);
  content: "";
  inset: 0;
  pointer-events: none;
}
.lesson-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.55s,
    filter 0.35s;
}
.lesson-card:hover .lesson-thumb img,
.lesson-link:focus-visible .lesson-thumb img {
  transform: scale(1.035);
  filter: brightness(0.82);
}
.lesson-play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid #ffffffb0;
  border-radius: 50%;
  background: #06060991;
  color: #fff;
  transition:
    transform 0.25s,
    background 0.25s;
}
.lesson-play svg {
  width: 21px;
  height: 21px;
}
.lesson-card:hover .lesson-play,
.lesson-link:focus-visible .lesson-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #ffffff;
  color: #09090b;
}
.lesson-thumb-note {
  position: absolute;
  z-index: 1;
  bottom: 12px;
  left: 15px;
  color: #ffffffc9;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.lesson-info {
  display: flex;
  min-height: 156px;
  flex-direction: column;
  align-items: flex-start;
  padding: 19px 19px 17px;
}
.lesson-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #b8aacd;
  font-size: 9px;
  letter-spacing: 0.2em;
}
.lesson-title {
  color: #eeebf2;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
}
.lesson-watch {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 17px;
  color: #e9e5ee;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lesson-platform {
  margin-left: auto;
  color: #85818d;
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: none;
}
.academy-page a:focus-visible {
  outline: 2px solid #d4c6f1;
  outline-offset: 4px;
}
.academy-discover {
  position: relative;
  overflow: hidden;
  padding: 76px 0 88px;
  border-block: 1px solid #ffffff12;
  background: linear-gradient(110deg, #1d1926, #252034 50%, #13141b);
}
.academy-discover-glow {
  position: absolute;
  top: -110%;
  right: -10%;
  width: 75vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #9582b21d, transparent 65%);
  pointer-events: none;
}
.academy-discover-inner {
  position: relative;
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: clamp(35px, 8vw, 100px);
}
.discover-mark {
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  border: 1px solid #ffffff2b;
  border-radius: 50%;
  color: #ddd4e9;
  font-size: 42px;
}
.discover-mark span {
  transform: rotate(-12deg);
}
.discover-copy h2 {
  max-width: 740px;
  font-size: clamp(38px, 6vw, 62px);
}
.discover-copy > p:not(.academy-eyebrow) {
  max-width: 650px;
  color: #bdb8c6;
  line-height: 1.8;
}
.academy-inline-link {
  padding: 12px 4px;
  color: #d0cad8;
  font-size: 12px;
}
.academy-inline-link:hover {
  color: #fff;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}
#lessons {
  scroll-margin-top: 80px;
}
@media (max-width: 900px) {
  .lesson-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .academy-wrap {
    width: calc(100% - 38px);
  }
  .academy-hero {
    min-height: 700px;
    padding: 130px 0 75px;
  }
  .academy-hero h1 {
    font-size: clamp(55px, 14vw, 78px);
  }
  .academy-hero h2 {
    max-width: 390px;
    font-size: 20px;
    line-height: 1.5;
  }
  .academy-lede {
    font-size: 15px;
  }
  .academy-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .academy-hero-note {
    margin-top: 34px;
  }
  .academy-section {
    padding: 76px 0 86px;
  }
  .academy-section-head {
    margin-bottom: 30px;
  }
  .lesson-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .lesson-card {
    border-radius: 15px;
  }
  .lesson-info {
    min-height: 140px;
    padding: 16px;
  }
  .academy-discover {
    padding: 62px 0 70px;
  }
  .academy-discover-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .discover-mark {
    width: 76px;
    height: 76px;
    font-size: 30px;
  }
  .discover-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .academy-page * {
    transition: none !important;
  }
}
