/* ==========================================================================
   Testimonials  (Figma: "Testimonials" 193:5260 / 254:6778)
   ========================================================================== */
body[data-page="testimonials"] {
  --t-muted: #576477;
  --t-line: #dce3ee;
  --t-line-dark: rgba(172, 204, 255, 0.33);
  --fs-44: clamp(1.75rem, 1.4375rem + 1.39vw, 2.75rem);
  --fs-40: clamp(1.75rem, 1.516rem + 1.04vw, 2.5rem);
  --fs-26: clamp(1.25rem, 1.133rem + 0.52vw, 1.625rem);
  --fs-21: clamp(1.0625rem, 0.984rem + 0.35vw, 1.3125rem);
  --fs-19: clamp(1rem, 0.94rem + 0.26vw, 1.1875rem);
  --fs-96: clamp(4rem, 3.375rem + 2.78vw, 6rem);
}


/* ------------------------------------------------------------- shared bits */
.t-section { padding-block: clamp(56px, 2.6rem + 2.2vw, 80px); }
.t-eyebrow {
  font-weight: 600;
  font-size: var(--fs-14);
  line-height: 1.5;
  color: var(--tb-400);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.t-eyebrow--light { color: var(--tb-200); }
.t-head { display: flex; flex-direction: column; gap: 12px; }
.t-title {
  font-family: var(--font-nav);
  font-weight: 800;
  font-size: var(--fs-42);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--slate-950);
}
.t-title--light { color: var(--white); font-size: var(--fs-44); }
.t-split-head {
  display: flex; align-items: flex-end;
  gap: var(--space-md) clamp(32px, 1rem + 4.5vw, 100px);
  margin-bottom: clamp(28px, 1.2rem + 1.2vw, 40px);
}
.t-split-head .t-head { flex: 0 1 660px; }
.t-split-head__aside { flex: 1; font-size: var(--fs-16); line-height: 1.7; color: var(--t-muted); }
@media (max-width: 860px) {
  .t-split-head { flex-direction: column; align-items: flex-start; }
  .t-split-head .t-head { flex-basis: auto; }
}
.cite { display: flex; flex-direction: column; gap: 6px; }
.cite strong { font-weight: 600; font-size: var(--fs-16); line-height: 1.5; color: var(--slate-900); }
.cite span { font-size: var(--fs-14); line-height: 1.7; color: var(--t-muted); }
.cite--light strong { color: var(--white); }
.cite--light span { color: var(--tb-100); }

/* ------------------------------------------------------------- MASTHEAD */
.t-mast {
  background: var(--slate-50);
  padding-top: clamp(112px, 5.6rem + 6.2vw, 207px);
  padding-bottom: clamp(36px, 1.8rem + 1.6vw, 56px);
}
.t-mast__inner { display: flex; flex-direction: column; gap: 10px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0 .35em; padding: 0; margin: 0; list-style: none; font-size: var(--fs-16); color: var(--slate-400); }
.crumbs li + li::before { content: "/"; margin-right: .35em; }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--tb-500); }
.crumbs [aria-current] { color: var(--tb-500); }
.t-mast__title { font-family: var(--font-nav); font-weight: 800; font-size: var(--fs-42); line-height: 1.18; color: var(--slate-950); }
.t-mast__lead { font-size: var(--fs-16); line-height: 1.7; color: var(--t-muted); }

/* ------------------------------------------------------------- VIDEO */
.t-video .t-head { max-width: 760px; margin-bottom: clamp(24px, 1rem + 1.2vw, 36px); }
.story {
  display: flex;
  align-items: center;
  border-radius: clamp(16px, .8rem + .7vw, 24px);
  background: var(--tb-700);
  color: var(--white);
  overflow: hidden;
}
.story__media {
  position: relative;
  flex: 0 0 59.76%;          /* 784 / 1312 */
  aspect-ratio: 784 / 588;
  background: #000;
  display: grid; place-items: center;
  overflow: hidden;
}
.story__poster { width: 100%; height: auto; transition: transform 1.2s var(--ease-out), opacity .5s; }
.story__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.story__play {
  position: absolute; left: 50%; top: 50%;
  width: 120px; height: 120px;
  margin: -56px 0 0 -60px;        /* the 80px disc sits 16px from the top of its shadowed 120px box */
  border-radius: 50%;
  transition: transform .5s var(--ease-out);
}
.story__play img { width: 120px; height: 120px; }
.story__play::before {
  content: ""; position: absolute; left: 20px; top: 16px; width: 80px; height: 80px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .7);
  animation: t-pulse 2.4s var(--ease-out) infinite;
  pointer-events: none;
}
@keyframes t-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.story__media:hover .story__poster { transform: scale(1.04); }
.story__play:hover, .story__play:focus-visible { transform: scale(1.1); }
.story__play:focus-visible { outline-offset: -14px; }
.story__media.is-playing .story__play, .story__media.is-playing .story__poster { opacity: 0; pointer-events: none; }

.story__details { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; padding: clamp(24px, 1rem + 1.8vw, 44px); }
.story__name { font-family: var(--font-nav); font-weight: 800; font-size: var(--fs-36); line-height: 1.18; }
.story__prog { display: flex; flex-direction: column; gap: 8px; }
.story__course { font-weight: 600; font-size: var(--fs-18); }
.story__inst { font-size: var(--fs-16); line-height: 1.7; color: var(--tb-100); }
.story__rule { width: 100%; height: 1px; margin: 0; border: 0; background: var(--t-line-dark); }
.story__link {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  min-height: 44px; margin-block: -10px;
  font-weight: 500; font-size: var(--fs-16);
  background: linear-gradient(currentColor, currentColor) left 80% / 0 1px no-repeat;
  transition: background-size .45s var(--ease-out), color .3s;
}
.story__link .i { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.story__link:hover { background-size: 100% 1px; color: var(--tb-200); }
.story__link:hover .i { transform: translate(2px, -2px); }
.story__src { font-size: .8125rem; line-height: 1.7; color: var(--tb-100); }
@media (max-width: 960px) {
  .story { flex-direction: column; align-items: stretch; }
  .story__media { flex-basis: auto; aspect-ratio: 16 / 9; }
  .story__inst br { display: none; }
}
@media (max-width: 520px) {
  .story__play, .story__play img { width: 96px; height: 96px; }
  .story__play { margin: -45px 0 0 -48px; }
  .story__play::before { left: 16px; top: 13px; width: 64px; height: 64px; }
}

/* ------------------------------------------------------------- INSTITUTIONS */
.t-inst { background: var(--slate-50); }
.inst__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.inst-card {
  margin: 0;
  display: flex; flex-direction: column; gap: 24px;
  padding: clamp(24px, 1rem + 1vw, 36px);
  background: var(--white);
  border: 1px solid var(--t-line);
  border-radius: var(--radius);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .5s;
}
.inst-card__org {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--t-line);
  font-family: var(--font-nav); font-weight: 800; font-size: var(--fs-24); line-height: 1.18; color: var(--slate-950);
}
.inst-card__mark {
  display: block; height: 45px;
  font-family: var(--font-nav); font-weight: 800; font-size: 64px; line-height: .9;
  color: var(--tb-500);
  transform-origin: left top;
  transition: transform .6s var(--ease-out), color .4s;
}
.inst-card__quote { flex: 1; font-size: var(--fs-19); line-height: 1.7; color: var(--slate-900); }
@media (hover: hover) {
  .inst-card:hover { transform: translateY(-6px); border-color: var(--tb-200); box-shadow: 0 28px 56px -34px rgba(16, 46, 156, .35); }
  .inst-card:hover .inst-card__mark { transform: scale(1.25) rotate(-6deg); color: var(--tb-400); }
}
@media (max-width: 900px) { .inst__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- STUDENTS */
.t-students { padding-block: clamp(56px, 2.6rem + 3.5vw, 88px); }
.t-students .t-head { margin-bottom: clamp(28px, 1.2rem + 1.6vw, 44px); }
.voices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(32px, 1rem + 3vw, 64px); align-items: start; }
.voice {
  position: relative;
  margin: 0;
  display: flex; flex-direction: column; gap: 28px;
  padding-left: clamp(20px, 1rem + .6vw, 28px);
}
.voice::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--tb-300);
  transform: scaleY(var(--line, 1));
  transform-origin: top;
  transition: background .4s, width .4s var(--ease-out);
}
.voice blockquote { font-size: var(--fs-21); line-height: 1.7; color: var(--slate-900); }
.voice:hover::before { background: var(--tb-500); width: 5px; }
@media (max-width: 860px) { .voices { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- ABU SPOTLIGHT */
.t-spot { padding-top: 24px; padding-bottom: clamp(56px, 2.6rem + 2.2vw, 80px); }
.spot {
  display: flex; flex-direction: column; gap: clamp(32px, 1.4rem + 1.6vw, 48px);
  padding: clamp(24px, .8rem + 3vw, 56px);
  border-radius: clamp(16px, .8rem + .7vw, 24px);
  background: var(--tb-700);
  color: var(--white);
}
.spot h3 { font-family: var(--font-nav); font-weight: 800; line-height: 1.18; }
.spot__intro { display: flex; align-items: flex-end; gap: 24px clamp(32px, 1rem + 3.6vw, 80px); }
.spot__title { flex: 0 1 720px; display: flex; flex-direction: column; gap: 16px; }
.spot__inst { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.spot__inst-name { font-weight: 600; font-size: var(--fs-18); }
.spot__inst-sub { font-size: var(--fs-14); line-height: 1.7; color: var(--tb-100); }
.spot__rule { width: 100%; height: 1px; margin: 0; border: 0; background: var(--t-line-dark); }
.spot__context { display: flex; gap: 32px clamp(32px, 1rem + 2.8vw, 64px); }
.spot__dur { flex: 0 0 min(310px, 30%); display: flex; flex-direction: column; gap: 12px; }
.spot__big { font-family: var(--font-nav); font-weight: 800; font-size: var(--fs-96); line-height: 1; }
.spot__dur-label { font-size: var(--fs-18); }
.spot__fine { font-size: .8125rem; line-height: 1.7; color: var(--tb-100); }
.spot__copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.spot__copy > div { display: flex; flex-direction: column; gap: 12px; }
.spot__copy h3 { font-size: var(--fs-24); }
.spot__copy p:not(.spot__fine) { font-size: var(--fs-16); line-height: 1.7; color: var(--tb-100); }
.spot__outcomes { display: flex; flex-direction: column; gap: 24px; }
.outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 36px; padding: 0; margin: 0; list-style: none; }
.outcomes li {
  position: relative;
  display: flex; flex-direction: column; gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--t-line-dark);
}
.outcomes li::before {
  content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px;
  background: var(--tb-200); transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease-out);
}
.outcomes li:hover::before { transform: scaleX(1); }
.outcomes h3 { font-size: var(--fs-22); }
.outcomes p { font-size: var(--fs-14); line-height: 1.7; color: var(--tb-100); }
.spot__quote {
  margin: 0;
  display: flex; flex-direction: column; gap: 20px;
  padding: clamp(20px, .8rem + 1.2vw, 32px);
  border-radius: var(--radius);
  background: var(--tb-600);
}
.spot__quote blockquote { font-family: var(--font-nav); font-weight: 600; font-size: var(--fs-26); line-height: 1.5; }
.spot__source { font-size: var(--fs-12); line-height: 1.7; color: var(--tb-100); }
@media (max-width: 900px) {
  .spot__intro { flex-direction: column; align-items: flex-start; }
  .spot__title { flex-basis: auto; }
  .spot__context { flex-direction: column; }
  .spot__dur { flex-basis: auto; }
  .outcomes { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------- NETWORK */
.t-net { background: var(--slate-50); padding-block: 48px; }
.t-net .container { display: flex; flex-direction: column; gap: 28px; }
.net { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 40px; margin: 0; }
.net > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; }
.net dd { margin: 0; font-family: var(--font-nav); font-weight: 800; font-size: var(--fs-40); line-height: 1.37; color: var(--slate-950); font-variant-numeric: tabular-nums; }
.net dt { font-size: var(--fs-14); line-height: 1.5; color: var(--t-muted); }
.t-net__note { font-size: var(--fs-12); line-height: 1.7; color: var(--t-muted); }
@media (max-width: 860px) { .net { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------------- CTA */
.t-cta { padding-block: clamp(48px, 2rem + 2vw, 72px); }
.launch {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(32px, 1.2rem + 2.6vw, 60px) clamp(20px, .4rem + 4.2vw, 60px);
  border-radius: var(--radius);
  background: var(--tb-600);
  color: var(--white);
}
.launch__motif { position: absolute; z-index: -1; max-width: none; height: auto; }
.launch__motif--a { width: 785px; right: -243px; bottom: 69px; }
.launch__motif--b { width: 520px; right: -111px; bottom: -6px; }
.launch__copy { max-width: 727px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.launch__title { font-family: var(--font-nav); font-weight: 800; font-size: var(--fs-42); line-height: 1.18; }
.launch__text { font-size: var(--fs-18); line-height: 1.7; color: var(--tb-100); }
.launch__btn { --btn-fg: var(--tb-500); padding-inline: 24px; }
.launch__mail {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: -12px;
  font-size: var(--fs-14);
  background: linear-gradient(currentColor, currentColor) left 75% / 0 1px no-repeat;
  transition: background-size .45s var(--ease-out), color .3s;
  overflow-wrap: anywhere;
}
.launch__mail:hover { background-size: 100% 1px; color: var(--tb-200); }
@media (max-width: 1100px) {
  .launch__motif { opacity: .5; }
  .launch__motif--a { width: 560px; right: -260px; bottom: 60px; }
  .launch__motif--b { width: 380px; right: -140px; bottom: -6px; }
}
@media (max-width: 600px) {
  .launch__motif { opacity: .3; }
  .launch__btn { width: 100%; }
}
