@charset "UTF-8";
@font-face {
  font-family: "Clash Display";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("../fonts/clash-display-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-variable.ttf") format("truetype");
}
:root, :root[data-theme=dark] {
  --bg-main:#000;
  --bg-surface:#080808;
  --bg-elevated:#111;
  --primary-100:#FFCE2D;
  --neutral-100:#fff;
  --neutral-60:#aaa;
  --neutral-40:#888;
  --line:#ffffff24;
  --font-xs:12px;
  --font-body:14px;
  --font-lead:20px;
  --ease:cubic-bezier(.22,1,.36,1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--bg-main);
  color: var(--neutral-100);
  font-family: "Manrope", sans-serif;
  font-size: var(--font-body);
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, p, ul {
  margin: 0;
}

h1, h2, h3, h4, h5, h6, .principles strong, .footer-invitation button {
  font-family: "Clash Display", sans-serif;
  font-weight: 600;
}

.mentor-summary h5, .teacher-detail h5, .goal-detail h4 strong, #footer .left h5, #footer .menu h5 {
  font-family: "Manrope", sans-serif;
}

ul {
  list-style: none;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--primary-100);
}

button, input, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: var(--primary-100);
  color: #000;
}

:focus-visible {
  outline: 2px solid var(--primary-100);
  outline-offset: 5px;
}

.container {
  width: calc(100% - 112px);
  max-width: 1320px;
  padding: 0;
  margin-inline: auto;
}

[data-section] {
  scroll-margin-top: 110px;
}

.cta-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 24px;
  border: 0;
  border-radius: 100px;
  color: #000;
  background: var(--primary-100);
  font-weight: 600;
  font-size: 14px;
  transition: box-shadow 0.35s, translate 0.35s var(--ease);
}

.cta-primary:hover {
  color: #000;
  box-shadow: 0 0 0 5px rgba(255, 206, 45, 0.1254901961);
  translate: 0 -2px;
}

.cta-primary:disabled {
  opacity: 0.6;
  cursor: wait;
}

#top-menu {
  --nav-item-width:177px;
  position: fixed;
  z-index: 1030;
  top: 8px;
  left: 50%;
  translate: -50% 0;
  width: min(1320px, 100% - 80px);
  border: 0;
  border-radius: 100px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: width 0.6s var(--ease), top 0.6s var(--ease), border-radius 0.6s var(--ease), background 0.35s, box-shadow 0.35s, backdrop-filter 0.6s;
}

#top-menu.is-scrolled {
  --nav-item-width:152px;
  top: 0;
  width: 100%;
  border-radius: 0;
  background: rgba(8, 8, 8, 0.9294117647);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

#top-menu .top-menu-wrapper {
  width: 100%;
  max-width: 1432px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px;
  transition: padding 0.6s var(--ease);
}

#top-menu.is-scrolled .top-menu-wrapper {
  padding: 8px 56px;
}

#top-menu .logo {
  flex-shrink: 0;
}

#top-menu .logo img {
  display: block;
  width: var(--nav-item-width);
  transition: width 0.6s var(--ease);
}

#top-menu .cta-primary {
  width: var(--nav-item-width);
  transition: width 0.6s var(--ease), min-height 0.6s var(--ease), padding 0.6s var(--ease), font-size 0.6s var(--ease), box-shadow 0.35s, translate 0.35s var(--ease);
}

#top-menu.is-scrolled .cta-primary {
  min-height: 38px;
  padding: 6px 20px;
  font-size: 12px;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: var(--font-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.main-menu a {
  position: relative;
  display: block;
  padding: 10px 0;
  color: #bbb;
  transition: color 0.25s, padding 0.6s var(--ease);
}

#top-menu.is-scrolled .main-menu a {
  padding-block: 6px;
}

.main-menu .active a, .main-menu a:hover {
  color: var(--primary-100);
}

/* A typographic opening: the portrait interrupts the poster, not the reading. */
#hero-banner {
  position: relative;
  isolation: isolate;
  padding-top: 124px;
  padding-bottom: 0;
}

.hero-intro {
  position: relative;
  z-index: 2;
}

.hero-headline {
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.hero-lead {
  display: block;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 22px;
}

.hero-own {
  display: block;
  font-size: clamp(92px, 14vw, 212px);
  white-space: nowrap;
  translate: var(--own-shift, 0px) 0;
}

.hero-goal {
  position: relative;
  display: table;
  margin-top: 6px;
  padding-right: 0.02em;
  font-size: clamp(140px, 21vw, 310px);
  line-height: 0.96;
}

/* Outline the rendered glyph silhouette, so overlapping font paths stay invisible. */
.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.goal-outline {
  position: absolute;
  inset: 0;
  color: var(--primary-100);
  filter: url(#goal-outline-filter);
}

.goal-fill {
  position: relative;
  display: block;
  color: var(--primary-100);
  clip-path: inset(0 calc(100% - var(--goal-fill, 100%)) 0 0);
}

.hero-portrait {
  position: absolute;
  z-index: 1;
  top: 32%;
  right: 22px;
  width: 35%;
  transform: translateY(var(--portrait-shift, 0px)) rotate(var(--portrait-turn, 4deg));
}

.portrait-window {
  overflow: hidden;
  border-radius: 6px;
  background: var(--primary-100);
}

.portrait-window img {
  width: 100%;
  display: block;
  height: auto;
  aspect-ratio: 0.97;
  object-fit: cover;
  object-position: 50% 34%;
}

.hero-portrait::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(255, 206, 45, 0.4);
  z-index: -1;
  rotate: -7deg;
}

.portrait-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  top: -18px;
  left: -18px;
  background: var(--primary-100);
}

.hero-language {
  position: absolute;
  right: -24px;
  top: -28px;
  width: 100px;
  color: var(--primary-100);
  z-index: 4;
  rotate: var(--language-turn, -6deg);
}

.hero-language svg {
  display: block;
  width: 100%;
  height: auto;
}

.certificate-listing {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 58px;
  border: 1px solid var(--line);
  background: var(--bg-surface);
}

.certificate-listing li {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 172px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.certificate-listing li:last-child {
  border: 0;
}

.certificate-listing li:nth-child(2) {
  color: #000;
  background: var(--primary-100);
}

.credential-icon {
  position: absolute;
  top: 22px;
  left: 28px;
  width: 22px;
  height: 22px;
  color: var(--primary-100);
}

.certificate-listing li:nth-child(2) .credential-icon {
  color: #000;
}

.metric-copy {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 8px;
}

.metric-value {
  order: 0;
  font-family: "Clash Display", sans-serif;
  font-weight: 600;
  font-size: clamp(42px, 4.7vw, 68px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.metric-label {
  order: 1;
  font-size: var(--font-body);
  line-height: 1.4;
  color: var(--neutral-60);
}

.certificate-listing li:nth-child(2) .metric-label {
  color: rgba(0, 0, 0, 0.7333333333);
}

/* Chapter one. */
.section-title {
  position: relative;
  padding-bottom: 42px;
}

.section-title h3 {
  color: var(--primary-100);
  font-size: var(--font-xs);
  letter-spacing: 0.02em;
  font-weight: 400;
  margin-bottom: 18px;
}

.section-title h2 {
  font-size: clamp(58px, 8.4vw, 120px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

#why-learn {
  padding-top: 92px;
}

#why-learn > .section-title {
  border-bottom: 1px solid var(--line);
}

.approach-statement {
  margin: 0;
  padding: 40px 0 44px;
  border-bottom: 1px solid var(--line);
}

.statement-copy {
  font-family: "Clash Display", sans-serif;
  font-size: clamp(32px, 4.65vw, 68px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.statement-line {
  display: block;
}

.statement-line:last-child {
  --reading-ink:var(--primary-100);
}

.statement-ink {
  color: transparent;
  background: linear-gradient(90deg, var(--reading-ink, #fff) var(--read-progress, 100%), #686868 var(--read-progress, 100%));
  background-clip: text;
  -webkit-background-clip: text;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: start;
  padding-top: 36px;
}

.mentor-summary {
  position: sticky;
  top: 116px;
  padding-right: 40px;
}

.mentor-summary h4 {
  font-size: 34px;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.mentor-summary h5 {
  font-size: var(--font-body);
  font-weight: 400;
  color: var(--primary-100);
  line-height: 1.4;
  margin: 14px 0 24px;
}

.mentor-summary > p {
  color: var(--neutral-60);
  font-size: var(--font-body);
  line-height: 1.5;
}

.mentor-summary > p strong {
  font-weight: 400;
  color: #fff;
}

.principles {
  counter-reset: principle;
}

.principles li {
  position: relative;
  font-size: var(--font-body);
  color: var(--neutral-60);
  padding: 8px 24px 30px 100px;
  margin-bottom: 26px;
}

.principles li:last-child {
  margin-bottom: 0;
}

.principles li::before {
  counter-increment: principle;
  content: "0" counter(principle);
  position: absolute;
  top: 2px;
  left: 24px;
  font-family: "Clash Display", sans-serif;
  font-weight: 600;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--primary-100);
}

.principles li::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--primary-100) var(--row-fill, 0%), var(--line) var(--row-fill, 0%));
}

.principles strong {
  display: block;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}

.my-team {
  margin-top: 66px;
}

.title-my-team {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.045em;
  padding-bottom: 26px;
}

.wrapper-teacher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.teacher-detail {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.teacher-heading {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 256px;
  background: #111;
  border-bottom: 1px solid var(--line);
}

.teacher-portrait {
  overflow: hidden;
  min-height: 100%;
  background: #1a1a1a;
}

.teacher-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 0.79;
  object-fit: cover;
  object-position: 50% 20%;
  filter: grayscale(0.5);
  transition: filter 0.8s, transform 1.2s var(--ease);
}

.teacher-detail:hover .teacher-portrait img {
  filter: grayscale(0);
  transform: scale(1.035);
}

.teacher-identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 28px;
}

.profile-index {
  margin-bottom: auto;
  padding-bottom: 24px;
  color: var(--primary-100);
  font-size: var(--font-xs);
}

.teacher-detail::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--primary-100);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.teacher-detail:hover::after {
  transform: scaleX(1);
}

.teacher-detail h4 {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.035em;
  margin: 0 0 14px;
}

.teacher-detail h5 {
  min-height: 3em;
  font-size: var(--font-xs);
  color: var(--neutral-60);
  line-height: 1.5;
  font-weight: 400;
}

.teacher-detail > .info {
  padding: 24px 28px 28px;
}

.teacher-detail ul {
  font-size: var(--font-body);
  color: var(--neutral-60);
}

.teacher-detail ul + ul {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 20px;
}

.teacher-detail ul b {
  display: block;
  color: #fff;
  font-size: var(--font-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.teacher-detail li {
  padding: 4px 0 4px 14px;
  position: relative;
  line-height: 1.45;
}

.teacher-detail li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--primary-100);
}

/* Real stories, with enough space for every word. */
#testimonials {
  margin-top: 92px;
  padding: 80px 0;
  background: var(--bg-surface);
}

#testimonials .section-content {
  max-width: 1320px;
  width: calc(100% - 112px);
  padding: 0;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.testi {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: span 3;
  padding: 28px;
  background: #111;
  border: 1px solid var(--line);
}

.testi .content {
  flex: 1;
}

.testi::before {
  content: "“";
  display: block;
  font-family: Georgia, serif;
  font-size: 80px;
  line-height: 0.7;
  color: var(--primary-100);
  margin-bottom: 20px;
}

.testi .content > p:first-child {
  font-size: var(--font-body);
  line-height: 1.5;
}

.testi .sub {
  margin-top: 20px;
  font-size: var(--font-xs);
  line-height: 1.5;
  color: var(--neutral-60);
}

.testi .devider {
  height: 1px;
  flex-shrink: 0;
  background: var(--line);
  margin: 24px 0 20px;
}

.testi .info {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 14px;
}

.testi .info img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
}

.testi .info h5 {
  font-size: var(--font-body);
  font-weight: 600;
  line-height: 1.2;
}

.testi .info p {
  font-size: var(--font-xs);
  color: var(--neutral-60);
  margin-top: 5px;
}

.testi:first-child {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1fr 190px;
  column-gap: 70px;
  padding: 42px;
  color: #000;
  background: var(--primary-100);
  border-color: var(--primary-100);
}

.testi:first-child::before {
  grid-column: 1;
  margin-bottom: 10px;
  font-size: 108px;
  color: #000;
}

.testi:first-child .content {
  grid-column: 1;
}

.testi:first-child .content > p:first-child {
  font-size: var(--font-lead);
  line-height: 1.5;
  letter-spacing: 0;
}

.testi:first-child .info {
  grid-column: 2;
  grid-row: 1/4;
  align-self: center;
  flex-direction: column;
  text-align: center;
  gap: 18px;
}

.testi:first-child .info img {
  width: 104px;
  height: 104px;
  border: 1px solid rgba(0, 0, 0, 0.1333333333);
}

.testi:first-child .info h5 {
  font-size: var(--font-lead);
}

.testi:first-child .sub, .testi:first-child .info p {
  color: rgba(0, 0, 0, 0.7333333333);
}

.testi:first-child .devider {
  display: none;
}

.testi:nth-child(n+4) {
  grid-column: span 2;
  padding: 28px 8px 0;
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
}

.testi:nth-child(n+4) .content > p:first-child {
  font-size: var(--font-body);
}

/* Each pathway reads like a progression, with a persistent chapter heading. */
#learning-goals {
  padding-top: 92px;
}

.goal-listing {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  padding: 0 0 44px;
  border-top: 1px solid var(--line);
  counter-increment: pathway;
}

#learning-goals .section-content {
  counter-reset: pathway;
}

.left-title {
  position: sticky;
  align-self: start;
  top: 112px;
  padding: 32px 40px 32px 0;
}

.left-title::before {
  content: "0" counter(pathway);
  display: block;
  font-family: "Clash Display", sans-serif;
  font-weight: 600;
  color: #505050;
  font-size: 90px;
  line-height: 1;
  letter-spacing: -0.065em;
  margin-bottom: 22px;
  transition: color 0.4s;
}

.goal-listing.is-active .left-title::before {
  color: var(--primary-100);
}

.left-title h3 {
  font-size: clamp(30px, 3.1vw, 44px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 400px;
}

.left-title > p {
  max-width: 360px;
  margin-top: 22px;
  color: var(--neutral-60);
  font-size: var(--font-body);
  line-height: 1.45;
}

.right-content {
  counter-reset: level;
  border-left: 1px solid var(--line);
}

.goal-detail {
  position: relative;
  padding: 32px 28px 32px 78px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s;
}

.goal-detail::before {
  counter-increment: level;
  content: "0" counter(level) " /";
  position: absolute;
  left: 28px;
  top: 38px;
  color: var(--neutral-40);
  font-size: 12px;
  transition: color 0.4s;
}

.goal-detail::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 2px;
  background: var(--primary-100);
  scale: 1 0;
  transform-origin: top;
  transition: scale 0.6s var(--ease);
}

.goal-detail h4 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.goal-detail h4 strong {
  display: table;
  margin: 12px 0 18px;
  padding: 5px 10px;
  border-radius: 2px;
  font-size: var(--font-xs);
  font-weight: 400;
  line-height: 1.2;
  color: var(--primary-100);
  background: rgba(255, 206, 45, 0.0470588235);
  border: 1px solid rgba(255, 206, 45, 0.2196078431);
  letter-spacing: 0.02em;
}

.goal-detail p {
  font-size: var(--font-body);
  line-height: 1.5;
  color: var(--neutral-60);
}

.goal-detail .des {
  margin-top: 12px;
  color: #eee;
}

.goal-detail.is-current {
  background: #111;
}

.goal-detail.is-current::before {
  color: var(--primary-100);
}

.goal-detail.is-current::after {
  scale: 1 1;
}

.goal-detail.is-current h4 strong {
  background: var(--primary-100);
  color: #000;
  border-color: var(--primary-100);
}

/* A closing invitation, followed by the actual contact details. */
#footer {
  margin-top: 24px;
  background: #080808;
  padding-top: 40px;
}

.footer-invitation {
  padding: 0 0 36px;
}

.footer-invitation button {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary-100);
  font-size: clamp(66px, 14vw, 200px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.07em;
  transition: color 0.3s;
}

.footer-invitation button::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-100);
  scale: 0.16 1;
  transform-origin: left;
  transition: scale 0.8s var(--ease);
}

.footer-invitation button:hover::after {
  scale: 1 1;
}

#footer .section-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 44px 0;
}

#footer .left h5 {
  color: var(--primary-100);
  font-size: calc(var(--font-body) + 4px);
  font-weight: 700;
  margin-bottom: 14px;
}

#footer .left h3 {
  font-size: clamp(22px, 3.1vw, 44px);
  letter-spacing: -0.04em;
  line-height: 1.15;
  font-weight: 600;
}

#footer .menu h5 {
  font-size: var(--font-xs);
  font-weight: 400;
  color: var(--neutral-40);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

#footer .menu li {
  font-size: var(--font-body);
  margin-top: 7px;
}

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 22px 0;
  color: var(--neutral-40);
  font-size: var(--font-xs);
}

.back-to-top {
  color: #ddd;
}

.book-class-modal {
  --bs-modal-color:#fff;
  --bs-modal-bg:#111;
  --bs-modal-border-color:#ffffff24;
  --bs-modal-border-radius:8px;
}

.book-class-modal .modal-header {
  border: 0;
  padding: 24px 24px 12px;
}

.book-class-modal .modal-title {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--primary-100);
}

.book-class-modal .btn-close {
  filter: invert(1);
}

.book-class-modal .modal-body {
  padding: 16px 24px 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  margin-bottom: 7px;
  font-size: var(--font-xs);
  color: #aaa;
}

.book-class-modal .form-control {
  padding: 12px;
  font-size: var(--font-body);
  border-radius: 3px;
  border-color: var(--line);
  background: #080808;
  color: #fff;
}

.book-class-modal .form-control::placeholder {
  color: #777;
}

.book-class-modal .form-control:focus {
  border-color: var(--primary-100);
  box-shadow: 0 0 0 3px rgba(255, 206, 45, 0.0705882353);
}

.book-class-modal textarea {
  min-height: 100px;
}

.btn-submit {
  width: 100%;
}

#formStatus {
  font-size: var(--font-xs);
}

/* Motion enhances a complete, visible document. */
.reveal-pending {
  opacity: 0;
  translate: 0 28px;
}

.reveal-in {
  animation: reveal 0.9s var(--ease) both;
  animation-delay: var(--reveal-delay, 0ms);
}

.section-title h2.reveal-in {
  animation: chapter-reveal 1s var(--ease) both;
}

.teacher-detail.reveal-in .teacher-portrait {
  animation: portrait-uncover 1.2s var(--ease) both;
}

@keyframes chapter-reveal {
  from {
    opacity: 0;
    clip-path: inset(0 0 100%);
    translate: 0 30px;
  }
  to {
    opacity: 1;
    clip-path: inset(0);
    translate: 0 0;
  }
}
@keyframes portrait-uncover {
  from {
    clip-path: inset(12% 0 0);
  }
  to {
    clip-path: inset(0);
  }
}
@keyframes reveal {
  from {
    opacity: 0;
    translate: 0 28px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes hero-intro {
  from {
    opacity: 0;
    transform: translateY(55px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes portrait-intro {
  from {
    opacity: 0;
    scale: 0.94;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}
.motion-ready .hero-own {
  animation: hero-intro 1.1s var(--ease) 0.05s both;
}

.motion-ready .hero-goal {
  animation: hero-intro 1.1s var(--ease) 0.15s both;
}

.motion-ready .hero-portrait {
  animation: portrait-intro 1.3s var(--ease) 0.22s both;
}

@media (max-width: 1100px) {
  .container, #testimonials .section-content {
    width: calc(100% - 64px);
  }
  .main-menu {
    gap: 20px;
    font-size: var(--font-xs);
  }
  #top-menu.is-scrolled .top-menu-wrapper {
    padding-inline: 32px;
  }
  .hero-language {
    width: 84px;
    right: -16px;
  }
  .hero-portrait {
    right: 12px;
    top: 32%;
  }
  .certificate-listing li {
    padding: 24px;
    min-height: 160px;
  }
  .credential-icon {
    top: 18px;
    left: 24px;
  }
  .mentor-summary {
    padding-right: 28px;
  }
  .principles strong {
    font-size: 28px;
  }
  .teacher-heading {
    min-height: 220px;
  }
  .teacher-identity {
    padding: 22px;
  }
  .teacher-detail h4 {
    font-size: 32px;
  }
  .teacher-detail > .info {
    padding: 24px;
  }
  .testi:first-child {
    gap: 40px;
    grid-template-columns: 1fr 150px;
    padding: 32px;
  }
  .testi {
    padding: 24px;
  }
}
@media (max-width: 800px) {
  html {
    scroll-padding-top: 80px;
  }
  [data-section] {
    scroll-margin-top: 80px;
  }
  #top-menu {
    width: calc(100% - 24px);
    border-radius: 24px;
  }
  #top-menu .top-menu-wrapper {
    flex-wrap: wrap;
    gap: 0;
    padding: 12px;
  }
  #top-menu.is-scrolled .top-menu-wrapper {
    padding-inline: 24px;
  }
  #top-menu {
    --nav-item-width:150px;
  }
  #top-menu.is-scrolled {
    --nav-item-width:128px;
  }
  #top-menu.is-scrolled .top-menu-wrapper {
    padding-block: 6px;
  }
  #top-menu.is-scrolled .cta-primary {
    min-height: 32px;
    padding: 5px 14px;
  }
  #top-menu .cta {
    margin-left: auto;
  }
  #top-menu .cta-primary {
    min-height: 38px;
    padding: 8px 18px;
    font-size: 12px;
  }
  .main-menu {
    display: none;
  }
  #hero-banner {
    padding-top: 112px;
  }
  .hero-own {
    font-size: 13.5vw;
  }
  .hero-goal {
    font-size: 21vw;
  }
  .hero-portrait {
    width: 36%;
    top: 37%;
  }
  .hero-language {
    width: 70px;
    top: -24px;
  }
  .certificate-listing {
    margin-top: 40px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .certificate-listing li {
    min-height: 156px;
  }
  .certificate-listing li:nth-child(2) {
    border-right: 0;
  }
  .certificate-listing li:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
  .metric-value {
    font-size: 52px;
  }
  .section-title h2 {
    font-size: clamp(52px, 8.5vw, 76px);
    font-weight: 600;
  }
  #why-learn, #learning-goals {
    padding-top: 64px;
  }
  .approach-statement {
    padding: 32px 0;
  }
  .statement-copy {
    font-size: clamp(32px, 4.65vw, 40px);
  }
  .intro {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 32px;
  }
  .mentor-summary {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    column-gap: 32px;
    padding: 0;
  }
  .mentor-summary h4 {
    font-size: 30px;
  }
  .mentor-summary h5 {
    grid-column: 1;
    margin-bottom: 0;
  }
  .mentor-summary > p {
    grid-column: 2;
    grid-row: 1/3;
  }
  .principles li {
    padding-left: 78px;
  }
  .principles li::before {
    left: 0;
    font-size: 40px;
  }
  .principles li::after {
    left: 0;
  }
  .principles strong {
    font-size: 28px;
  }
  .wrapper-teacher {
    gap: 16px;
  }
  .teacher-heading {
    min-height: 216px;
  }
  .teacher-identity {
    padding: 18px;
  }
  .teacher-detail h4 {
    font-size: 28px;
  }
  .teacher-detail h5 {
    min-height: 4.5em;
  }
  .teacher-detail > .info {
    padding: 22px;
  }
  #testimonials {
    margin-top: 64px;
    padding: 64px 0;
  }
  .testi:first-child {
    grid-template-columns: 1fr 100px;
    gap: 24px;
    padding: 28px;
  }
  .testi:first-child .info img {
    width: 80px;
    height: 80px;
  }
  .testi:first-child .info h5 {
    font-size: var(--font-body);
  }
  .testi-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .testi, .testi:nth-child(n+4) {
    grid-column: span 1;
  }
  .testi:first-child, .testi:last-child {
    grid-column: 1/-1;
  }
  .goal-listing {
    grid-template-columns: 0.95fr 1.65fr;
    padding-bottom: 36px;
  }
  .left-title {
    padding: 28px 24px 28px 0;
  }
  .left-title h3 {
    font-size: 29px;
  }
  .left-title::before {
    font-size: 72px;
  }
  .goal-detail {
    padding: 24px 20px 24px 56px;
  }
  .goal-detail::before {
    left: 18px;
    top: 29px;
  }
  .goal-detail h4 {
    font-size: 24px;
  }
}
@media (max-width: 540px) {
  .container, #testimonials .section-content {
    width: calc(100% - 40px);
  }
  #top-menu {
    --nav-item-width:136px;
  }
  #top-menu.is-scrolled {
    --nav-item-width:120px;
  }
  #top-menu.is-scrolled .top-menu-wrapper {
    padding-inline: 20px;
  }
  #hero-banner {
    display: grid;
    grid-template-columns: 1fr;
    padding-top: 104px;
    overflow: clip;
    overflow-clip-margin: 12px;
  }
  .hero-intro {
    grid-column: 1/-1;
  }
  .hero-lead {
    font-size: 18px;
    margin-bottom: 18px;
    font-weight: 600;
  }
  .hero-own {
    font-size: 13.5vw;
  }
  .hero-goal {
    font-size: 28vw;
    margin-top: 6px;
  }
  .hero-portrait {
    position: relative;
    top: auto;
    right: auto;
    grid-column: 1/-1;
    grid-row: 2;
    justify-self: center;
    width: 60%;
    max-width: 240px;
    margin: 28px 0 8px;
    transform: rotate(4deg);
  }
  .portrait-window img {
    aspect-ratio: 0.83;
  }
  .hero-portrait::before {
    inset: -6px;
    rotate: -5deg;
  }
  .portrait-corner {
    width: 8px;
    height: 8px;
    top: -10px;
    left: -10px;
  }
  .hero-language {
    width: 60px;
    top: -26px;
    right: -6px;
  }
  .certificate-listing {
    grid-column: 1/-1;
    margin-top: 26px;
  }
  .certificate-listing li {
    padding: 18px;
    min-height: 148px;
  }
  .credential-icon {
    width: 18px;
    height: 18px;
    top: 16px;
    left: 18px;
  }
  .metric-value {
    font-size: clamp(34px, 10vw, 48px);
  }
  .metric-label {
    font-size: var(--font-xs);
  }
  .section-title {
    padding-bottom: 28px;
  }
  .section-title h3 {
    font-size: var(--font-xs);
    margin-bottom: 14px;
  }
  .section-title h2 {
    font-size: clamp(43px, 11vw, 58px);
    font-weight: 600;
  }
  .statement-copy {
    font-size: 32px;
    line-height: 1.15;
  }
  .statement-line + .statement-line {
    margin-top: 8px;
  }
  .approach-statement {
    padding: 26px 0 30px;
  }
  .intro {
    gap: 30px;
    padding-top: 28px;
  }
  .mentor-summary {
    display: block;
  }
  .mentor-summary h4 {
    font-size: 28px;
    font-weight: 600;
  }
  .mentor-summary h5 {
    margin: 12px 0 18px;
    max-width: 290px;
  }
  .mentor-summary > p {
    font-size: var(--font-body);
  }
  .principles li {
    margin-bottom: 24px;
    padding: 4px 0 26px 56px;
  }
  .principles li::before {
    font-size: 34px;
  }
  .principles strong {
    font-size: 25px;
  }
  .principles li:last-child {
    margin: 0;
  }
  .my-team {
    margin-top: 44px;
  }
  .title-my-team {
    font-size: 40px;
    padding-bottom: 22px;
  }
  .wrapper-teacher {
    grid-template-columns: 1fr;
  }
  .teacher-heading {
    min-height: 216px;
    grid-template-columns: 42% 58%;
  }
  .teacher-detail h4 {
    font-size: 30px;
  }
  .testi-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .testi, .testi:nth-child(n+4), .testi:first-child, .testi:last-child {
    grid-column: 1;
  }
  .testi:first-child {
    display: block;
    padding: 26px;
  }
  .testi::before, .testi:first-child::before {
    content: "";
    width: 30px;
    height: 24px;
    flex: none;
    margin: 0 0 8px;
    background: var(--primary-100);
    mask: url("../images/quote-mark.svg") center/contain no-repeat;
    -webkit-mask: url("../images/quote-mark.svg") center/contain no-repeat;
  }
  .testi:first-child::before {
    background: #000;
  }
  .testi:first-child .content > p:first-child {
    font-size: var(--font-lead);
    line-height: 1.5;
  }
  .testi:first-child .info {
    flex-direction: row;
    text-align: left;
    margin-top: 26px;
    gap: 14px;
  }
  .testi:first-child .info img {
    width: 56px;
    height: 56px;
  }
  .testi:first-child .info h5 {
    font-size: var(--font-body);
  }
  .testi .content > p:first-child {
    font-size: var(--font-body);
  }
  .testi:nth-child(n+4) {
    padding: 28px 4px 6px;
  }
  .goal-listing {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 0 32px;
  }
  .left-title {
    position: static;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px;
    padding: 28px 0;
  }
  .left-title::before {
    font-size: 64px;
    margin: 0;
  }
  .left-title h3 {
    font-size: 29px;
    font-weight: 600;
  }
  .left-title > p {
    grid-column: 1/-1;
    margin: 0;
  }
  .right-content {
    border-left: 0;
  }
  .goal-detail {
    padding: 24px 18px 24px 48px;
  }
  .goal-detail::before {
    left: 12px;
  }
  .goal-detail p {
    font-size: var(--font-body);
  }
  #footer {
    margin-top: 12px;
    padding-top: 28px;
  }
  .footer-invitation {
    padding-bottom: 24px;
  }
  .footer-invitation button {
    font-size: 15.5vw;
    font-weight: 600;
  }
  #footer .section-content {
    flex-direction: column;
    padding: 30px 0;
    gap: 26px;
  }
  #footer .left h3 {
    font-size: clamp(19px, 5.8vw, 28px);
    overflow-wrap: anywhere;
    font-weight: 600;
  }
  #footer .menu ul {
    display: flex;
    gap: 24px;
  }
  .copyright {
    flex-direction: column;
    gap: 12px;
    font-size: var(--font-xs);
    padding: 20px 0;
  }
}
@media (max-width: 360px) {
  #top-menu {
    --nav-item-width:120px;
  }
  #top-menu.is-scrolled {
    --nav-item-width:112px;
  }
  .certificate-listing li:nth-child(2) .metric-value {
    font-size: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal-pending, .reveal-in {
    opacity: 1;
    translate: none;
  }
  .hero-own {
    translate: none;
  }
  .hero-language {
    rotate: none;
  }
  .hero-portrait {
    transform: none;
  }
  .goal-fill {
    clip-path: none;
  }
  .statement-ink {
    color: var(--reading-ink, #fff);
    background: none;
  }
  .section-title h2.reveal-pending {
    clip-path: none;
  }
}
