/* ==========================================================================
   pages.css — shared page sections, inner-page heroes and motion layer
   Loaded after style.css / responsive.css / animations.css on every page.
   ========================================================================== */

[id] {
  scroll-margin-top: calc(var(--ticker-h) + var(--header-h) + 16px);
}

/* ---------- Section heading ---------- */
.sec-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.sec-head.center {
  margin-inline: auto;
  text-align: center;
}

.sec-head h2 {
  margin: 10px 0 16px;
}

.sec-head p {
  color: var(--muted);
  margin: 0;
}

.section-dark .sec-head p,
.page-hero .sec-head p {
  color: rgba(255, 255, 255, 0.72);
}

.title-line {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.title-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 64px;
  border-radius: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease) 0.25s;
}

.sec-head.center .title-line::after {
  left: 50%;
  margin-left: -32px;
  transform-origin: center;
}

.is-visible .title-line::after,
.title-line.is-visible::after {
  transform: scaleX(1);
}

.text-gold {
  color: var(--gold);
}

/* ---------- Reveal variants (work with .scroll-reveal and animations.css) ---------- */
.scroll-reveal.reveal-left,
.reveal.reveal-left,
.reveal-left {
  transform: translate3d(-65px, 0, 0) scale(0.965);
  filter: blur(8px);
}

.scroll-reveal.reveal-right,
.reveal.reveal-right,
.reveal-right {
  transform: translate3d(65px, 0, 0) scale(0.965);
  filter: blur(8px);
}

.scroll-reveal.reveal-zoom,
.reveal.reveal-zoom,
.reveal-zoom {
  transform: translate3d(0, 20px, 0) scale(0.90);
  filter: blur(8px);
}

.scroll-reveal.reveal-left.is-visible,
.scroll-reveal.reveal-right.is-visible,
.scroll-reveal.reveal-zoom.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-zoom.is-visible {
  transform: translate3d(0, 0, 0) scale(1) !important;
  filter: blur(0px) !important;
}

.img-reveal {
  clip-path: inset(0 100% 0 0 round 22px);
  transition: clip-path 1.2s var(--ease);
}

.img-reveal.is-visible {
  clip-path: inset(0 0 0 0 round 22px);
}

/* ---------- Button shine ---------- */
.btn-gold::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: btnShine 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btnShine {

  0%,
  70% {
    left: -80%;
  }

  100% {
    left: 140%;
  }
}

/* ---------- Inner page hero ---------- */
.page-hero {
  padding: 96px 0 88px;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(252, 201, 5, 0.16), transparent 60%),
    radial-gradient(700px 380px at 0% 110%, rgba(64, 86, 200, 0.22), transparent 60%),
    linear-gradient(160deg, #0d1336 0%, var(--navy) 45%, var(--navy-dark) 100%);
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  z-index: -1;
  animation: gridDrift 24s linear infinite;
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 56px 56px, 56px 56px;
  }
}

.page-hero .ph-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  z-index: -1;
}

.page-hero .ph-orb-1 {
  width: 340px;
  height: 340px;
  right: -90px;
  top: -120px;
  border: 1.5px solid rgba(252, 201, 5, 0.35);
  animation: orbSpin 30s linear infinite;
  border-left-color: transparent;
  border-bottom-color: transparent;
}

.page-hero .ph-orb-2 {
  width: 160px;
  height: 160px;
  right: 18%;
  bottom: -60px;
  background: radial-gradient(circle, rgba(252, 201, 5, 0.25), transparent 70%);
  animation: orbFloat 7s ease-in-out infinite;
}

@keyframes orbSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-22px);
  }
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(40px, 5.4vw, 72px);
  margin: 14px 0 18px;
  max-width: 900px;
}

.page-hero .ph-lead {
  color: rgba(255, 255, 255, 0.75);
  max-width: 720px;
  font-size: 18px;
  margin: 0;
}

.crumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
}

.crumbs a:hover {
  color: var(--gold);
}

.crumbs i {
  font-size: 10px;
}

.page-hero>.container-ms>* {
  opacity: 0;
  animation: fadeUp 0.85s var(--ease-luxury, cubic-bezier(0.16, 1, 0.3, 1)) forwards;
}

.page-hero>.container-ms>*:nth-child(1) {
  animation-delay: 0.05s;
}

.page-hero>.container-ms>*:nth-child(2) {
  animation-delay: 0.15s;
}

.page-hero>.container-ms>*:nth-child(3) {
  animation-delay: 0.25s;
}

.page-hero>.container-ms>*:nth-child(4) {
  animation-delay: 0.35s;
}

.page-hero>.container-ms>*:nth-child(5) {
  animation-delay: 0.45s;
}

.ph-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px !important;
}

/* ---------- Bio / about ---------- */
.bio-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.bio-photo {
  position: relative;
}

.bio-photo::before {
  content: "";
  position: absolute;
  inset: 28px -22px -22px 28px;
  border: 2px solid var(--gold);
  border-radius: 26px;
  z-index: 0;
}

.bio-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.bio-badge {
  position: absolute;
  left: -26px;
  bottom: 36px;
  z-index: 2;
  background: var(--navy);
  color: var(--white);
  border: 1px solid rgba(252, 201, 5, 0.4);
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 18px 40px rgba(7, 11, 33, 0.35);
  animation: orbFloat 6s ease-in-out infinite;
}

.bio-badge strong {
  display: block;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 22px;
  line-height: 1.1;
}

.bio-badge span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.bio-text h2 {
  margin: 10px 0 20px;
}

.bio-text p {
  color: #475467;
  font-size: 16.5px;
}

.bio-text .bio-lead {
  color: var(--navy);
  font-weight: 600;
  font-size: 18px;
}

.bio-more {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.7s var(--ease);
}

.bio-more.open {
  max-height: 800px;
}

.bio-toggle {
  margin-right: 10px;
}

/* ---------- Journey ---------- */
.journey {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.journey-steps {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.journey-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  transition: border-color 0.35s, transform 0.35s var(--ease), background 0.35s;
}

.journey-step:hover {
  transform: translateX(6px);
  border-color: rgba(252, 201, 5, 0.45);
  background: rgba(252, 201, 5, 0.06);
}

.journey-step i {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--gold-muted);
  color: var(--gold);
  font-size: 20px;
}

.journey-step h3 {
  font-size: 18px;
  color: var(--white);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.journey-step p {
  margin: 0;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.68);
}

.journey-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.journey-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.journey-photo:hover img {
  transform: scale(1.05);
}

.journey-photo figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(7, 11, 33, 0.78);
  backdrop-filter: blur(12px);
  color: var(--white);
  font-size: 14px;
}

.journey-photo figcaption strong {
  color: var(--gold);
}

/* ---------- Awards ---------- */
.award-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.award-tile {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
  cursor: pointer;
}

.award-tile:hover {
  transform: translateY(-8px);
  border-color: rgba(252, 201, 5, 0.6);
  box-shadow: 0 26px 60px rgba(11, 16, 45, 0.16);
}

.award-tile-img {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--navy);
}

.award-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.award-tile:hover .award-tile-img img {
  transform: scale(1.07);
}

.award-tile-img .zoom {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(7, 11, 33, 0.7);
  color: var(--gold);
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.35s var(--ease);
}

.award-tile:hover .zoom {
  opacity: 1;
  transform: scale(1);
}

.award-tile-noimg {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(252, 201, 5, 0.22), transparent 55%),
    linear-gradient(160deg, var(--navy-soft), var(--navy-dark));
  color: var(--gold);
  font-size: 54px;
}

.award-tile-body {
  padding: 22px 24px 26px;
}

.award-org {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a6d00;
  background: rgba(252, 201, 5, 0.16);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.award-tile h3 {
  font-size: 19px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  line-height: 1.25;
}

.award-tile p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.award-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: -16px 0 44px;
}

.award-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  box-shadow: var(--shadow-soft);
}

.award-highlights i {
  color: var(--gold);
}

/* ---------- Mission & vision ---------- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.mv-card {
  position: relative;
  padding: 48px 44px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.mv-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 201, 5, 0.22), transparent 70%);
  transition: transform 0.6s var(--ease);
}

.mv-card:hover::after {
  transform: scale(1.4);
}

.mv-card.dark {
  background: linear-gradient(160deg, var(--navy-soft), var(--navy-dark));
  color: rgba(255, 255, 255, 0.78);
  border-color: rgba(252, 201, 5, 0.25);
}

.mv-card.dark h3 {
  color: var(--white);
}

.mv-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 26px;
  background: var(--gold);
  color: var(--navy);
  margin-bottom: 22px;
  box-shadow: 0 12px 26px rgba(252, 201, 5, 0.3);
}

.mv-card h3 {
  font-size: 30px;
  margin: 0 0 14px;
}

.mv-card p {
  margin: 0;
  font-size: 16px;
}

/* ---------- Courses ---------- */
.course-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 56px;
}

.course-block.flip> :first-child {
  order: 2;
}

.mode-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--gold);
}

.course-block h2 {
  margin: 16px 0 14px;
}

.course-block .lead {
  color: #475467;
  font-size: 17px;
}

.img-collage {
  position: relative;
  padding: 0 0 70px 70px;
}

.img-collage img {
  border-radius: 22px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.img-collage .ic-main {
  width: 100%;
  aspect-ratio: 4 / 3.4;
}

.img-collage .ic-sub {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48%;
  aspect-ratio: 1;
  border: 6px solid var(--white);
  animation: orbFloat 7s ease-in-out infinite;
}

.section-off .img-collage .ic-sub {
  border-color: var(--off-white);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.course-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px 28px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
}

.course-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--gold), #ffe680);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(252, 201, 5, 0.45);
}

.course-card:hover::before {
  transform: scaleX(1);
}

.course-num {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(11, 16, 45, 0.18);
  transition: -webkit-text-stroke-color 0.4s, color 0.4s;
}

.course-card:hover .course-num {
  color: var(--gold);
  -webkit-text-stroke-color: var(--gold);
}

.course-card h3 {
  font-size: 22px;
  margin: 14px 0 10px;
  letter-spacing: -0.015em;
}

.course-card p {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 16px;
}

.module-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.module-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.45;
}

.module-list li span {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 700;
  color: #8a6d00;
  background: rgba(252, 201, 5, 0.18);
  border-radius: 6px;
  padding: 2px 7px;
  height: fit-content;
}

.block-cta {
  margin-top: 36px;
  text-align: center;
}

/* ---------- Feature cards (workshop / women / corporate) ---------- */
.feature-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--navy);
}

.section-dark .check-list li {
  color: var(--white);
}

.check-list li i {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  background: var(--gold);
  color: var(--navy);
}

.feature-photo {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.feature-photo img {
  width: 100%;
  aspect-ratio: 4 / 3.6;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.feature-photo:hover img {
  transform: scale(1.05);
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.offer-card {
  border-radius: 24px;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  display: flex;
  flex-direction: column;
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.offer-card .mv-icon {
  margin-bottom: 18px;
}

.offer-card h3 {
  font-size: 26px;
  margin: 6px 0 12px;
}

.offer-card p {
  color: var(--muted);
}

.offer-card .check-list {
  margin-top: 6px;
}

.offer-card .btn-ms {
  margin-top: auto;
  align-self: flex-start;
}

.offer-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a6d00;
}

/* ---------- Certification levels ---------- */
.level-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.level-card {
  position: relative;
  border-radius: 24px;
  padding: 36px 30px 32px;
  background: linear-gradient(165deg, var(--navy-soft), var(--navy-dark));
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(252, 201, 5, 0.2);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}

.level-card:hover {
  transform: translateY(-10px);
  border-color: rgba(252, 201, 5, 0.6);
  box-shadow: 0 30px 60px rgba(7, 11, 33, 0.4);
}

.level-card::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 201, 5, 0.18), transparent 70%);
}

.level-no {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 12px;
  text-transform: uppercase;
}

.level-no strong {
  font-family: var(--font-display);
  font-size: 64px;
  letter-spacing: -0.04em;
  line-height: 1;
}

.level-card h3 {
  color: var(--white);
  font-size: 23px;
  margin: 18px 0 12px;
  line-height: 1.2;
}

.level-card p {
  margin: 0;
  font-size: 15px;
}

.level-meter {
  display: flex;
  gap: 6px;
  margin-top: 24px;
}

.level-meter i {
  height: 6px;
  flex: 1;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
}

.level-meter i.on {
  background: var(--gold);
}

/* ---------- SIP mini calculator ---------- */
.sip-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 44px;
  border-radius: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.sip-field {
  margin-bottom: 26px;
}

.sip-field label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 10px;
}

.sip-field output {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  background: rgba(252, 201, 5, 0.2);
  padding: 2px 12px;
  border-radius: 8px;
}

.sip-field input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
}

.sip-result {
  border-radius: 22px;
  padding: 32px;
  background: linear-gradient(160deg, var(--navy-soft), var(--navy-dark));
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sip-result .row-r {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
}

.sip-result .row-r strong {
  color: var(--white);
  font-family: var(--font-display);
}

.sip-result .total {
  margin-top: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.sip-result .total strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 42px);
  color: var(--gold);
  letter-spacing: -0.02em;
}

.sip-bar {
  display: flex;
  height: 10px;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.sip-bar span {
  display: block;
  height: 100%;
  transition: width 0.5s var(--ease);
}

.sip-bar .inv {
  background: #8fa2ff;
}

.sip-bar .ret {
  background: var(--gold);
}

.sip-legend {
  display: flex;
  gap: 18px;
  font-size: 12.5px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.sip-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 6px;
}

.calc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 32px;
}

.calc-chips a {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: all 0.3s var(--ease);
}

.calc-chips a:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.disclaimer {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 18px;
}

/* ---------- Testimonial grid ---------- */
.t-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1040px;
  margin: 0 auto;
}

.t-grid .testimonial-card {
  height: 100%;
}

.t-grid .card-text {
  color: rgba(255, 255, 255, 0.85);
}

.t-more {
  text-align: center;
  margin-top: 40px;
}

/* ---------- FAQ ---------- */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.faq-wrap .faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 24px;
  margin-bottom: 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-wrap .faq-item.open {
  border-color: rgba(252, 201, 5, 0.6);
  box-shadow: var(--shadow-soft);
}

.faq-wrap .faq-item button {
  cursor: pointer;
}

.faq-wrap .faq-item .faq-body {
  max-height: 0;
  overflow: hidden;
  color: #475467;
  font-size: 16px;
  line-height: 1.65;
  transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.35s ease;
  opacity: 0;
}

.faq-wrap .faq-item.open .faq-body {
  max-height: 300px;
  padding-bottom: 24px;
  opacity: 1;
}

.faq-wrap .faq-item button span {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  background: var(--off-white);
  color: var(--brand-navy);
  transition: transform 0.35s var(--ease), background 0.35s, color 0.35s;
}

.faq-wrap .faq-item.open button span {
  transform: rotate(45deg);
  background: var(--gold);
  color: var(--brand-navy);
}

/* ---------- Video reviews (cleaner treatment) ---------- */
.video-section {
  background:
    radial-gradient(800px 360px at 50% 0%, rgba(252, 201, 5, 0.08), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
}

.video-section .video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(7, 11, 33, 0) 40%, rgba(7, 11, 33, 0.55) 100%);
  pointer-events: none;
}

.video-section .play-btn {
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 0 rgba(252, 201, 5, 0.55);
  animation: playPulse 2.4s ease-out infinite;
}

@keyframes playPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(252, 201, 5, 0.5);
  }

  80%,
  100% {
    box-shadow: 0 0 0 16px rgba(252, 201, 5, 0);
  }
}

/* ---------- Certificate photo gallery ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.photo-grid .ph-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--navy);
}

.photo-grid .ph-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.5s;
}

.photo-grid .ph-item::after {
  content: "\F52A";
  font-family: "bootstrap-icons";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--gold);
  background: rgba(7, 11, 33, 0.45);
  opacity: 0;
  transition: opacity 0.4s;
}

.photo-grid .ph-item:hover img {
  transform: scale(1.08);
}

.photo-grid .ph-item:hover::after {
  opacity: 1;
}

.photo-grid .ph-item.wide {
  grid-column: span 2;
  aspect-ratio: auto;
}

/* Masonry gallery */
.masonry {
  columns: 3 280px;
  column-gap: 18px;
}

.masonry .m-item {
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--navy);
}

.masonry .m-item img {
  width: 100%;
  transition: transform 0.9s var(--ease);
}

.masonry .m-item:hover img {
  transform: scale(1.06);
}

.masonry .m-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 18px 16px;
  color: var(--white);
  font-weight: 600;
  font-size: 14.5px;
  background: linear-gradient(180deg, transparent, rgba(7, 11, 33, 0.85));
  transform: translateY(100%);
  transition: transform 0.45s var(--ease);
}

.masonry .m-item:hover figcaption {
  transform: none;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.filter-bar button {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 9px 20px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  transition: all 0.3s var(--ease);
}

.filter-bar button.active,
.filter-bar button:hover {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

.masonry .m-item.is-hidden {
  display: none;
}

/* ---------- Blog categories ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.cat-card {
  position: relative;
  border-radius: 24px;
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.cat-card .mv-icon {
  transition: transform 0.5s var(--ease);
}

.cat-card:hover .mv-icon {
  transform: rotate(-8deg) scale(1.08);
}

.cat-card h3 {
  font-size: 24px;
  margin: 0 0 10px;
}

.cat-card p {
  color: var(--muted);
  margin: 0 0 20px;
}

.soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.soon-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: playPulse 2s ease-out infinite;
}

.share-strip {
  margin-top: 56px;
  border-radius: 24px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, var(--navy), var(--navy-soft));
  color: rgba(255, 255, 255, 0.8);
}

.share-strip h3 {
  color: var(--white);
  font-size: 24px;
  margin: 0 0 6px;
}

.share-strip p {
  margin: 0;
}

.share-strip .socials a {
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- Contact ---------- */
.contact-pro {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 16px;
}

.c-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

.c-card:hover {
  transform: translateX(6px);
  border-color: rgba(252, 201, 5, 0.6);
}

.c-card i {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: var(--navy);
  color: var(--gold);
}

.c-card h3 {
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 4px;
  color: var(--muted);
}

.c-card p,
.c-card a {
  margin: 0;
  font-weight: 600;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.5;
}

.form-card {
  border-radius: 26px;
  padding: 44px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-card h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin: 0 0 8px;
}

.form-card>p {
  color: var(--muted);
  margin-bottom: 26px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-card .field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-card .field input,
.form-card .field select,
.form-card .field textarea {
  width: 100%;
  border: 1px solid rgba(11, 16, 45, 0.14);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 15px;
  background: var(--off-white);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.form-card .field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-card .field input:focus,
.form-card .field select:focus,
.form-card .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(252, 201, 5, 0.18);
}

.map-embed {
  margin-top: 56px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  line-height: 0;
}

.map-embed iframe {
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(0.2);
}

/* ---------- Legal ---------- */
.legal-pro {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: calc(var(--ticker-h) + var(--header-h) + 24px);
  padding: 24px;
  border-radius: 18px;
  background: var(--off-white);
  border: 1px solid var(--line);
}

.legal-toc strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  margin-bottom: 10px;
}

.legal-toc a {
  display: block;
  font-size: 14px;
  padding: 5px 0;
  color: var(--muted);
  transition: color 0.25s, transform 0.25s;
}

.legal-toc a:hover {
  color: var(--navy);
  transform: translateX(4px);
}

.legal-body h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  margin: 40px 0 14px;
  padding-top: 8px;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body h3 {
  font-size: 18px;
  margin: 22px 0 10px;
}

.legal-body p,
.legal-body li {
  color: #475467;
  font-size: 16px;
}

.legal-body ul {
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  margin: 0 0 16px;
}

.legal-body li {
  position: relative;
  padding-left: 22px;
}

.legal-body li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.legal-note {
  padding: 18px 22px;
  border-left: 4px solid var(--gold);
  background: rgba(252, 201, 5, 0.1);
  border-radius: 0 12px 12px 0;
  color: var(--navy) !important;
  font-weight: 500;
}

/* ---------- Tilt ---------- */
[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ---------- Responsive ---------- */
@media (max-width: 1050px) {

  .bio-grid,
  .journey,
  .course-block,
  .feature-split,
  .contact-pro,
  .sip-mini {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .course-block.flip> :first-child {
    order: 0;
  }

  .award-grid,
  .course-grid,
  .level-grid,
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-pro {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

  .bio-photo {
    max-width: 520px;
  }
}

@media (max-width: 767px) {

  .award-grid,
  .course-grid,
  .level-grid,
  .cat-grid,
  .mv-grid,
  .offer-grid,
  .t-grid,
  .form-row,
  .check-list {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-grid .ph-item.wide {
    grid-column: span 2;
  }

  .page-hero {
    padding: 64px 0 60px;
  }

  .mv-card,
  .offer-card,
  .form-card,
  .sip-mini {
    padding: 28px 22px;
  }

  .bio-badge {
    left: 10px;
  }

  .bio-photo::before {
    inset: 18px -10px -12px 18px;
  }

  .img-collage {
    padding: 0 0 48px 40px;
  }

  .share-strip {
    padding: 28px 24px;
  }

  .map-embed iframe {
    height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-reveal,
  .img-reveal,
  .page-hero>.container-ms>* {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}

/* Headings stack under their eyebrow (block-level, shrink-wrapped so the underline fits the text) */
.title-line {
  display: table;
}

.sec-head.center .title-line {
  margin-inline: auto;
}

#about .bio-text h2 {
  display: table;
}

#awards .award-highlights span {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(252, 201, 5, 0.3);
  color: var(--white);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

#awards .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Photo grid: images fill their cell so the wide tile matches the row height */
.photo-grid .ph-item img {
  position: absolute;
  inset: 0;
}

.photo-grid .ph-item.wide {
  min-height: 100%;
}

/* Social icons on light backgrounds */
.contact-cards .socials a {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

.contact-cards .socials a:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ==========================================================================
   Navbar v2 — one premium charcoal bar on every page
   ========================================================================== */
:root {
  --header-h: 92px;
}

.site-header,
.site-header.is-hero,
.site-header.solid,
.site-header.is-scrolled {
  background: rgba(11, 12, 16, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(252, 201, 5, 0.14);
  box-shadow: none;
  transition: height 0.35s var(--ease), box-shadow 0.35s ease, background 0.35s ease;
}

.site-header.is-scrolled {
  height: 76px;
  background: rgba(11, 12, 16, 0.97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.header-inner {
  width: min(calc(100% - 48px), 1440px);
  gap: 24px;
}

/* Logo */
.brand-logo img,
.site-header.is-scrolled .brand-logo img {
  height: 76px;
  max-height: none;
  filter: drop-shadow(0 4px 14px rgba(252, 201, 5, 0.18));
}

.site-header.is-scrolled .brand-logo img {
  height: 62px;
}

/* Links */
.nav-desktop {
  gap: 30px;
}

.nav-link,
.site-header.is-scrolled .nav-link,
.site-header.solid .nav-link {
  font-family: var(--font-nav);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 0;
}

.nav-link:hover,
.nav-link.active,
.site-header.is-scrolled .nav-link:hover,
.site-header.solid .nav-link:hover,
.site-header.is-scrolled .nav-link.active,
.site-header.solid .nav-link.active {
  color: var(--white);
}

.nav-link::after {
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.35s var(--ease);
}

.nav-link:hover::after {
  width: 60%;
}

.nav-link.active::after {
  width: 100%;
}

/* Right side: call block + enroll */
.header-actions {
  gap: 22px;
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}

.header-call-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(252, 201, 5, 0.45);
  color: var(--gold);
  font-size: 16px;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}

.header-call:hover .header-call-icon {
  background: var(--gold);
  color: var(--navy);
  transform: rotate(-12deg);
}

.header-call-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.header-call-text small {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.header-call-text strong {
  font-family: var(--font-nav);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.header-actions .btn-ms.btn-enroll {
  min-height: 48px;
  padding: 0 26px;
  font-size: 13.5px;
  letter-spacing: 0.1em;
}

/* Hamburger on dark bar */
.menu-toggle,
.site-header.is-scrolled .menu-toggle,
.site-header.solid .menu-toggle {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle span,
.site-header.is-scrolled .menu-toggle span,
.site-header.solid .menu-toggle span {
  background: var(--white);
}

/* ---------- Responsive ---------- */
@media (max-width: 1440px) {
  .nav-desktop {
    gap: 22px;
  }

  .nav-link,
  .site-header.is-scrolled .nav-link,
  .site-header.solid .nav-link {
    font-size: 15px;
  }
}

@media (max-width: 1320px) {
  .header-call-text {
    display: none;
  }

  .nav-desktop {
    gap: 18px;
  }

  .nav-link,
  .site-header.is-scrolled .nav-link,
  .site-header.solid .nav-link {
    font-size: 14.5px;
  }

  .brand-logo img {
    height: 68px;
  }
}

@media (max-width: 1180px) {
  .nav-desktop {
    gap: 14px;
  }

  .nav-link,
  .site-header.is-scrolled .nav-link,
  .site-header.solid .nav-link {
    font-size: 14px;
  }
}

@media (max-width: 1050px) {
  .header-call {
    display: none;
  }
}

@media (max-width: 767px) {
  :root {
    --header-h: 76px;
  }

  .header-inner {
    width: min(calc(100% - 24px), 1440px);
  }

  .brand-logo img,
  .site-header.is-scrolled .brand-logo img {
    height: 58px;
  }

  .site-header.is-scrolled {
    height: 68px;
  }
}

/* Ticker matches the charcoal navbar */
.market-ticker {
  background: #08090c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Brand palette pass — logo navy (#131a3e) + gold, silver accents
   ========================================================================== */
:root {
  --brand-navy: #131a3e;
  --brand-navy-deep: #0d1330;
  --brand-silver: #a7abb1;
}

.site-header,
.site-header.is-hero,
.site-header.solid,
.site-header.is-scrolled {
  background: rgba(13, 19, 48, 0.96);
  border-bottom: 1px solid rgba(252, 201, 5, 0.18);
}

.site-header.is-scrolled {
  background: rgba(13, 19, 48, 0.98);
}

.market-ticker {
  background: #0a0f28;
}

/* Solid navbar so it never turns grey over light sections */
.site-header,
.site-header.is-hero,
.site-header.solid,
.site-header.is-scrolled {
  background: #0d1330;
}

/* ==========================================================================
   Journey banner — full-width photo with overlay text + glass milestone cards
   ========================================================================== */
.journey-banner {
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
  color: rgba(255, 255, 255, 0.8);
  background: var(--brand-navy-deep);
  isolation: isolate;
}

.jb-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.jb-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 20% 30%;
  display: block;
  transform: none !important;
}

.jb-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 19, 48, 0.15) 0%, rgba(13, 19, 48, 0.55) 38%, rgba(13, 19, 48, 0.94) 58%, #0d1330 100%),
    linear-gradient(0deg, #0d1330 0%, rgba(13, 19, 48, 0.85) 22%, rgba(13, 19, 48, 0) 50%);
}

.jb-inner {
  position: relative;
}

/* Text block sits on the right, over the dark side of the overlay */
.jb-content {
  max-width: 560px;
  margin-left: auto;
}

.jb-content .eyebrow {
  color: var(--gold);
  font-size: 14px;
}

.jb-content h2 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
}

.jb-content h2 span {
  color: var(--gold);
}

.jb-text {
  font-size: 16.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

.jb-mission {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  padding: 14px 22px 14px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--brand-navy);
  box-shadow: 0 16px 40px rgba(252, 201, 5, 0.25);
}

.jb-mission i {
  font-size: 30px;
}

.jb-mission span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
}

.jb-mission strong {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.1;
}

/* Glass milestone cards */
.jb-cards {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.jb-cards li {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.jb-cards li:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(252, 201, 5, 0.45);
}

.jb-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 20px;
  color: var(--brand-navy);
  background: var(--gold);
}

.jb-tag {
  display: block;
  margin-bottom: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.jb-cards h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--white);
}

.jb-cards p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 991px) {
  .journey-banner {
    padding: 0 0 56px;
  }

  /* Photo becomes a top banner, content flows below it */
  .jb-bg {
    position: relative;
    height: 380px;
  }

  .jb-bg::after {
    background: linear-gradient(0deg, #0d1330 0%, rgba(13, 19, 48, 0) 60%);
  }

  .jb-content {
    max-width: none;
    margin: -60px 0 0;
  }

  .jb-cards {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 48px;
  }
}

@media (max-width: 575px) {
  .jb-bg {
    height: 280px;
  }

  .jb-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ==========================================================================
   Awards — 3D coverflow showcase
   ========================================================================== */
#awards.awards-flow {
  position: relative;
  overflow: hidden;
  padding: 110px 0 100px;
  border: 0;
  background: #faf8f2 url("../assets/images/backgrounds/awards-prestige-bg.svg") center center / cover no-repeat;
}

#awards.awards-flow::before {
  display: none;
}

.af-head {
  text-align: center;
  margin-bottom: 40px;
}

.af-head .eyebrow {
  color: #b38600;
  font-size: 14px;
}

.af-head h2 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--brand-navy);
}

.af-head h2 span {
  font-style: italic;
  color: #b38600;
}

.as-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
}

.as-tags li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #475467;
}

.as-tags i {
  color: #b38600;
}

/* Coverflow track */
.af-swiper {
  padding: 30px 0 40px;
}

.af-slide {
  width: min(620px, 78vw);
  aspect-ratio: 3 / 2;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: var(--brand-navy-deep);
  cursor: grab;
  box-shadow: 0 30px 60px rgba(19, 26, 62, 0.25);
  transition: filter 0.5s var(--ease);
}

.af-slide:not(.swiper-slide-active) {
  filter: saturate(0.6) brightness(0.85);
}

.af-slide.swiper-slide-active {
  cursor: zoom-in;
  box-shadow: 0 28px 56px rgba(19, 26, 62, 0.22);
}

.af-slide img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* Portrait / square photos: whole photo over a blurred copy of itself */
.af-slide.is-fit::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: var(--slide-bg) center / cover no-repeat;
  filter: blur(30px) brightness(0.5);
}

.af-slide.is-fit img {
  object-fit: contain;
}

/* Caption + controls */
.af-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.af-caption {
  min-width: 0;
  width: 420px;
  max-width: 100%;
  text-align: center;
}

.af-org {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b38600;
}

.af-caption h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--brand-navy);
}

.af-count {
  font-size: 13px;
  font-weight: 600;
  color: #98a2b3;
}

.af-count b {
  color: var(--brand-navy);
}

.af-caption.is-changing>* {
  animation: afCaption 0.5s var(--ease);
}

@keyframes afCaption {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.af-nav {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--brand-navy);
  background: var(--white);
  border: 1px solid rgba(19, 26, 62, 0.12);
  box-shadow: 0 10px 24px rgba(19, 26, 62, 0.08);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.af-nav:hover {
  color: var(--white);
  background: var(--brand-navy);
  transform: scale(1.06);
}

.as-foot {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.as-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--brand-navy);
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(19, 26, 62, 0.22);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.as-link:hover {
  color: var(--brand-navy);
  background: var(--gold);
  transform: translateY(-2px);
}

.as-link i {
  transition: transform 0.3s var(--ease);
}

.as-link:hover i {
  transform: translateX(4px);
}

@media (max-width: 575px) {
  #awards.awards-flow {
    padding: 80px 0;
  }

  .af-bar {
    gap: 12px;
  }

  .af-nav {
    width: 44px;
    height: 44px;
    font-size: 17px;
  }
}

/* ==========================================================================
   TEDx — cinema layout: centred headline, wide video over a navy band
   ========================================================================== */
.tedx-cinema {
  background: var(--white);
  padding: 110px 0;
}

.tc-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.tc-eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #667085;
}

.tc-eyebrow b {
  color: #e62b1e;
}

.tc-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--brand-navy);
}

.tc-head h2 span {
  color: #b38600;
}

/* Navy band sits behind the lower half of the video */
.tc-frame {
  position: relative;
  padding: 0 40px;
}

.tc-band {
  position: absolute;
  left: 0;
  right: 0;
  top: 38%;
  bottom: 0;
  border-radius: 32px;
  background:
    radial-gradient(600px 260px at 50% 0%, rgba(252, 201, 5, 0.12), transparent 70%),
    var(--brand-navy-deep);
}

.tc-video {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  box-shadow: 0 40px 80px rgba(13, 19, 48, 0.35);
}

.tc-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.tc-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 19, 48, 0.18);
  transition: background 0.4s var(--ease);
}

.tc-video:hover img {
  transform: scale(1.04);
}

.tc-video:hover::after {
  background: rgba(13, 19, 48, 0.32);
}

.tc-foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 940px;
  margin: 0 auto;
  padding: 36px 0 44px;
}

.tc-foot p {
  margin: 0;
  max-width: 460px;
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

/* Play badge: gold button inside slowly rotating text */
.ts-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 132px;
  height: 132px;
  padding: 0;
  border: 0;
  background: none;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.ts-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: tsSpin 14s linear infinite;
}

.ts-ring text {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  fill: var(--white);
}

.ts-play-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--brand-navy);
  background: var(--gold);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.ts-play-core i {
  margin-left: 3px;
}

.tc-video:hover .ts-play-core {
  background: var(--white);
  transform: translate(-50%, -50%) scale(1.1);
}

@keyframes tsSpin {
  to {
    transform: rotate(360deg);
  }
}

.ts-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-navy);
  background: var(--gold);
  text-decoration: none;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.ts-btn i {
  font-size: 18px;
}

.ts-btn:hover {
  color: var(--brand-navy);
  background: var(--white);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .ts-ring {
    animation: none;
  }
}

@media (max-width: 767px) {
  .tedx-cinema {
    padding: 80px 0;
  }

  .tc-frame {
    padding: 0 16px;
  }

  .tc-band {
    top: 22%;
    border-radius: 24px;
  }

  .tc-video {
    border-radius: 18px;
  }

  .tc-foot {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 8px 32px;
  }

  .ts-play {
    width: 104px;
    height: 104px;
  }

  .ts-play-core {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }
}

/* ==========================================================================
   Video testimonials — featured video + stacked list, all visible at once
   ========================================================================== */
.vg-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.vg-head .eyebrow {
  color: var(--gold);
  font-size: 14px;
}

.vg-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
}

.vg-head>p {
  margin: 0;
  max-width: 320px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.vg-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 24px;
}

.vg-feature,
.vg-item {
  cursor: pointer;
}

/* Large featured video */
.vg-feature {
  position: relative;
  min-height: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.vg-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.vg-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 33, 0) 45%, rgba(7, 11, 33, 0.9) 100%);
}

.vg-feature:hover img {
  transform: scale(1.04);
}

.vg-feature-body {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 1;
}

.vg-feature-body h3 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
}

.vg-tag {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Play buttons */
.vg-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--brand-navy);
  background: var(--gold);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.vg-play i {
  margin-left: 2px;
}

.vg-play-lg {
  width: 84px;
  height: 84px;
  font-size: 36px;
}

.vg-feature:hover .vg-play,
.vg-item:hover .vg-play {
  background: var(--white);
  transform: translate(-50%, -50%) scale(1.1);
}

/* Stacked list */
.vg-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vg-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.vg-item:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(252, 201, 5, 0.4);
  transform: translateX(4px);
}

.vg-thumb {
  position: relative;
  flex: 0 0 46%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.vg-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.vg-item:hover .vg-thumb img {
  transform: scale(1.06);
}

.vg-info {
  min-width: 0;
}

.vg-info h3 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--white);
}

.vg-feature:focus-visible,
.vg-item:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 991px) {
  .vg-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .vg-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .vg-item {
    gap: 14px;
    padding: 10px;
  }

  .vg-info h3 {
    font-size: 16px;
  }

  .vg-play-lg {
    width: 64px;
    height: 64px;
    font-size: 28px;
  }

  .vg-feature-body {
    left: 18px;
    right: 18px;
    bottom: 16px;
  }
}

/* List cards: title first, course as a quiet second line */
.vg-info h3 {
  margin: 0 0 8px;
}

.vg-course {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
}

.vg-course i {
  color: var(--gold);
}

/* Stronger fade so the featured title always reads cleanly */
.vg-feature::after {
  background: linear-gradient(180deg, rgba(7, 11, 33, 0) 50%, rgba(7, 11, 33, 0.75) 75%, rgba(7, 11, 33, 0.95) 100%);
}

.vg-feature-body h3 {
  font-size: clamp(24px, 2.4vw, 32px);
}

/* Footer row */
.vg-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.vg-foot p {
  margin: 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

.vg-foot strong {
  color: var(--white);
}

.vg-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-navy);
  background: var(--gold);
  text-decoration: none;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.vg-more i {
  transition: transform 0.3s var(--ease);
}

.vg-more:hover {
  color: var(--brand-navy);
  background: var(--white);
  transform: translateY(-2px);
}

.vg-more:hover i {
  transform: translateX(4px);
}

@media (max-width: 575px) {
  .vg-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Certifications — level path + fanned certificate deck
   ========================================================================== */
/* Warm ivory background: smooth, plain, lets the certificates stand out */
.cert-showcase {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fbf8f1 0%, #f6f1e4 100%);
}

.cs-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: center;
}

.cs-text .eyebrow {
  color: #b38600;
  font-size: 14px;
}

.cs-text h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--brand-navy);
}

.cs-text h2 span {
  color: #b38600;
}

.cs-sub {
  margin: 0 0 32px;
  font-size: 16.5px;
  color: #475467;
}

/* Level path */
.cs-levels {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cs-levels button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  text-align: left;
  font: inherit;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: #667085;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.cs-num {
  flex: 0 0 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #98a2b3;
  background: var(--off-white);
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

.cs-levels button:hover {
  color: var(--brand-navy);
}

.cs-levels li.is-active button {
  color: var(--brand-navy);
  background: var(--white);
  border-color: rgba(19, 26, 62, 0.08);
  box-shadow: 0 14px 34px rgba(19, 26, 62, 0.1);
}

.cs-levels li.is-active .cs-num {
  color: var(--brand-navy);
  background: var(--gold);
}

.cs-levels button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Fanned deck */
.cs-deck {
  position: relative;
  aspect-ratio: 2000 / 1414;
  margin: 40px 30px;
}

.cs-card {
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 30px 60px rgba(19, 26, 62, 0.18), 0 2px 6px rgba(19, 26, 62, 0.08);
  transform-origin: 50% 80%;
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
  cursor: pointer;
}

.cs-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cs-card[data-pos="0"] {
  z-index: 5;
  transform: none;
  cursor: zoom-in;
}

.cs-card[data-pos="1"] {
  z-index: 4;
  transform: translate(-5%, 4%) rotate(-5deg) scale(0.96);
  filter: brightness(0.96);
}

.cs-card[data-pos="2"] {
  z-index: 3;
  transform: translate(5%, 6%) rotate(5deg) scale(0.93);
  filter: brightness(0.93);
}

.cs-card[data-pos="3"] {
  z-index: 2;
  transform: translate(-8%, 8%) rotate(-9deg) scale(0.9);
  filter: brightness(0.9);
}

.cs-card[data-pos="4"] {
  z-index: 1;
  transform: translate(8%, 10%) rotate(9deg) scale(0.87);
  filter: brightness(0.87);
}

.cs-deck:hover .cs-card[data-pos="0"] {
  transform: translateY(-8px);
}

/* Learner photo strip */
.lw-wrap {
  margin-top: 80px;
}

.cs-marquee-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.cs-marquee-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 36px);
  letter-spacing: -0.02em;
  color: var(--brand-navy);
  line-height: 1.25;
}

.cs-marquee-head h3 span {
  color: #b38600;
}

.cs-marquee-head p {
  margin: 0;
  font-size: 15px;
  color: #667085;
}

/* Staggered portrait wall: every other photo sits lower, like frames on a wall */
.lw-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  gap: 20px;
  padding-bottom: 24px;
}

.lw-photo {
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--off-white);
  box-shadow: 0 20px 44px rgba(19, 26, 62, 0.14);
  transition: box-shadow 0.45s var(--ease);
}

.lw-photo:nth-child(even) {
  margin-top: 48px;
  margin-bottom: -48px;
}

.lw-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.8s var(--ease);
}

.lw-photo:hover {
  box-shadow: 0 30px 60px rgba(19, 26, 62, 0.24);
}

.lw-photo:hover img {
  transform: scale(1.06);
}

.lw-photo:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 991px) {

  /* Swipeable row on smaller screens */
  .lw-wall {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .lw-wall::-webkit-scrollbar {
    display: none;
  }

  .lw-photo {
    flex: 0 0 56%;
    scroll-snap-align: start;
  }

  .lw-photo:nth-child(even) {
    margin: 0;
  }
}

@media (min-width: 576px) and (max-width: 991px) {
  .lw-photo {
    flex-basis: 34%;
  }
}

@media (max-width: 991px) {
  .cs-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  /* Fanned cards stick out a little, so keep a safe gutter around the stack */
  .cs-deck {
    order: -1;
    width: 86%;
    max-width: 480px;
    margin: 16px auto 48px;
  }

  .cs-text h2 {
    font-size: clamp(28px, 7.5vw, 40px);
  }

  .cs-sub {
    margin-bottom: 20px;
  }

  /* Levels become a swipeable row; bleed to the screen edge so it reads as scrollable */
  .cs-levels {
    flex-direction: row;
    gap: 8px;
    margin: 0 -20px;
    padding: 4px 20px 12px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .cs-levels li {
    scroll-snap-align: start;
  }

  .cs-levels li:not(.is-active) button {
    border-color: rgba(19, 26, 62, 0.08);
  }

  .cs-levels::-webkit-scrollbar {
    display: none;
  }

  .cs-levels li {
    flex: 0 0 auto;
  }

  .cs-levels button {
    white-space: nowrap;
    font-size: 15px;
    padding: 10px 14px;
  }

  .cs-marquee-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 991px) {
  .lw-wrap {
    margin-top: 56px;
  }

  .cs-marquee-head {
    gap: 8px;
    margin-bottom: 28px;
  }

  /* Photo row runs to the screen edges so it's obvious it can be swiped */
  .lw-wall {
    margin: 0 -20px;
    padding: 0 20px 8px;
    scroll-padding: 0 20px;
  }
}

/* ==========================================================================
   Voices background — navy with gold flowing lines (videos-bg.jpg)
   ========================================================================== */
#videos.video-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #0a1530 url("../assets/images/videos-bg.jpg") center / cover no-repeat;
}

#videos.video-section::before {
  content: none;
}

/* Light overlay only — keeps the gold lines visible, darkens the edges for contrast */
#videos.video-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 85% 75% at 50% 50%, rgba(7, 14, 34, 0.15), rgba(7, 14, 34, 0.6) 100%),
    linear-gradient(180deg, rgba(7, 14, 34, 0.2) 0%, rgba(7, 14, 34, 0.5) 100%);
}

/* Glass cards over the photo */
#videos .vg-item {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#videos .vg-item:hover {
  background: rgba(255, 255, 255, 0.12);
}

#videos .vg-foot {
  border-top-color: rgba(255, 255, 255, 0.14);
}

/* ==========================================================================
   Testimonials — two rows of cards gliding in opposite directions
   ========================================================================== */
.tm-section {
  overflow: hidden;
  background:
    radial-gradient(700px 400px at 10% 0%, rgba(252, 201, 5, 0.12), transparent 70%),
    #faf7ef;
}

.tm-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.tm-head .eyebrow {
  color: #b38600;
  font-size: 14px;
}

.tm-head h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--brand-navy);
}

.tm-head h2 span {
  color: #b38600;
}

.tm-head>p {
  margin: 0;
  font-size: 16px;
  color: #667085;
}

.tq-rows {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tq-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.tq-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 22px 24px 34px 0;
  /* trailing gap so both halves are exactly equal */
  animation: tqScroll var(--tq-duration, 60s) linear infinite;
}

.tq-reverse .tq-track {
  animation-direction: reverse;
}

.tq-row:hover .tq-track {
  animation-play-state: paused;
}

@keyframes tqScroll {
  to {
    transform: translateX(-50%);
  }
}

/* Cards in the site's own language: white, navy type, gold accents, Manrope */
.tq-track {
  align-items: stretch;
}

.tq-card {
  flex: 0 0 auto;
  width: 380px;
  margin: 0;
  display: flex;
  flex-direction: column;
  padding: 28px 30px 26px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid rgba(19, 26, 62, 0.08);
  box-shadow: 0 14px 34px rgba(19, 26, 62, 0.07);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.tq-card:hover {
  transform: translateY(-6px);
  border-color: rgba(252, 201, 5, 0.6);
  box-shadow: 0 24px 50px rgba(19, 26, 62, 0.14);
}

.tq-card blockquote {
  flex: 1;
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  color: #3a4256;
}

.tq-card blockquote::before {
  content: "\201C";
  display: block;
  height: 34px;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
}

.tq-card blockquote.is-short {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--brand-navy);
}

.tq-card figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-navy);
}

.tq-card figcaption span {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b38600;
}

.tm-more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

@media (max-width: 575px) {
  .tq-card {
    max-width: 280px;
    padding: 22px 22px 20px;
  }

  .tq-card blockquote {
    font-size: 14.5px;
  }

  .tq-row {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tq-track {
    animation: none;
  }

  .tq-row {
    overflow-x: auto;
  }
}

/* Google rating badge (real figures from the M S FINANCIAL Google listing) */
.g-rating {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
  padding: 16px 26px 16px 22px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid rgba(19, 26, 62, 0.08);
  box-shadow: 0 14px 34px rgba(19, 26, 62, 0.08);
  text-decoration: none;
  text-align: left;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.g-rating:hover {
  transform: translateY(-3px);
  border-color: rgba(252, 201, 5, 0.6);
  box-shadow: 0 22px 44px rgba(19, 26, 62, 0.14);
}

.g-score {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand-navy);
}

.g-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.g-stars {
  display: flex;
  gap: 4px;
  font-size: 20px;
  color: #fbbc04;
}

.g-count {
  font-size: 14px;
  font-weight: 500;
  color: #475467;
}

.g-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 22px;
  border-left: 1px solid rgba(19, 26, 62, 0.1);
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-navy);
}

.g-brand .bi {
  font-size: 12px;
  color: #98a2b3;
}

/* Card source line: honest origin of each quote */
.tq-card figcaption .tq-src {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #667085;
}

@media (max-width: 575px) {
  .g-rating {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 16px;
    padding: 16px 18px;
  }

  .g-score {
    font-size: 44px;
  }

  .g-brand {
    width: 100%;
    justify-content: center;
    padding: 10px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(19, 26, 62, 0.1);
  }
}

/* Real Google reviews in the marquee: Google's star colour + G mark */
.tq-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  font-size: 17px;
  color: #fbbc04;
}

.tq-card blockquote::before {
  content: none;
}

.tq-src .g-icon {
  flex: 0 0 auto;
}

/* Testimonial card v2 — name header, divider, quote, stars at the foot */
.tq-card {
  padding: 0;
  border-radius: 8px;
  border: 1px solid #dfe3ea;
  box-shadow: 0 6px 18px rgba(19, 26, 62, 0.06);
}

.tq-card:hover {
  border-color: rgba(252, 201, 5, 0.7);
}

.tq-card figcaption {
  order: -1;
  padding: 22px 26px 16px;
  border-bottom: 1px solid #e6e9ef;
}

.tq-card figcaption strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tq-card figcaption .tq-role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #b38600;
}

.tq-card blockquote {
  margin: 0;
  padding: 20px 26px 0;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.7;
  color: #344054;
}

.tq-card blockquote.is-short {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}

.tq-stars {
  order: 1;
  margin: 0;
  padding: 18px 26px 24px;
  font-size: 18px;
  color: var(--gold);
}

@media (max-width: 575px) {
  .tq-card figcaption {
    padding: 18px 20px 14px;
  }

  .tq-card blockquote {
    padding: 16px 20px 0;
  }

  .tq-stars {
    padding: 14px 20px 20px;
  }
}

/* ==========================================================================
   Impact panel — mission + four stats in one navy block
   ========================================================================== */
.impact {
  padding: 72px 0 24px;
  background: var(--white);
}

.impact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 56px;
  padding: 56px 64px;
  border-radius: 32px;
  color: var(--white);
  background:
    radial-gradient(520px 320px at 0% 0%, rgba(252, 201, 5, 0.14), transparent 70%),
    var(--brand-navy-deep);
  box-shadow: 0 40px 80px rgba(13, 19, 48, 0.22);
}

.impact-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.impact-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--white);
}

.impact-title span {
  display: block;
  color: var(--gold);
}

.impact-text {
  margin: 0;
  max-width: 360px;
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.impact-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.impact-stat {
  padding: 26px 28px;
}

.impact-stat:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.impact-stat:nth-child(-n + 2) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.impact-num {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
}

.impact-cap {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 991px) {
  .impact-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 40px 32px;
  }
}

@media (max-width: 575px) {
  .impact {
    padding: 48px 0 8px;
  }

  .impact-panel {
    padding: 32px 22px;
    border-radius: 24px;
  }

  .impact-stat {
    padding: 20px 14px;
  }

  .impact-cap {
    font-size: 11px;
  }
}

/* Impact panel background: navy with gold bokeh (awards-bg.jpg), darkened toward the stats for legibility */
.impact-panel {
  background:
    linear-gradient(90deg, rgba(13, 19, 48, 0.35) 0%, rgba(13, 19, 48, 0.7) 55%, rgba(13, 19, 48, 0.85) 100%),
    url("../assets/images/awards/awards-bg.jpg") center 30% / cover no-repeat,
    var(--brand-navy-deep);
}

/* ==========================================================================
   Why learn — hub: arch photo of Maya in the centre, benefits facing her
   ========================================================================== */
.why-hub {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(520px 480px at 50% 62%, rgba(252, 201, 5, 0.16), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #fbf8f1 100%);
}

.wh-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.wh-head .eyebrow {
  color: #b38600;
  font-size: 14px;
}

.wh-head h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--brand-navy);
}

.wh-head h2 span {
  color: #b38600;
}

.wh-head>p {
  margin: 0 auto;
  max-width: 600px;
  font-size: 16.5px;
  line-height: 1.7;
  color: #475467;
}

.wh-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

/* Benefit lists */
.wh-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.wh-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

/* Left column reads like the right one (icon first, left-aligned text),
   but each block hugs the photo side of its column */
.wh-left li {
  width: 100%;
  max-width: 340px;
  margin-left: auto;
}

/* Gentle curve: middle items sit closer to the photo */
.wh-left li:nth-child(2) {
  transform: translateX(-28px);
}

.wh-right li:nth-child(2) {
  transform: translateX(28px);
}

.wh-left li:nth-child(2).scroll-reveal:not(.is-visible) {
  transform: translateX(-60px);
}

.wh-right li:nth-child(2).scroll-reveal:not(.is-visible) {
  transform: translateX(60px);
}

.wh-icon {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: #b38600;
  background: var(--white);
  border: 1px solid rgba(19, 26, 62, 0.06);
  box-shadow: 0 12px 28px rgba(19, 26, 62, 0.1);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}

.wh-list li:hover .wh-icon {
  color: var(--brand-navy);
  background: var(--gold);
  transform: scale(1.08);
}

.wh-list h3 {
  margin: 4px 0 6px;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--brand-navy);
}

.wh-list p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #667085;
}

/* Arch photo */
.wh-photo {
  position: relative;
  margin: 0;
  padding: 0 0 28px;
}

/* Thin gold arch outline, offset behind the photo like a frame */
.wh-photo::before {
  content: "";
  position: absolute;
  inset: -16px -16px 12px 16px;
  border: 1.5px solid rgba(179, 134, 0, 0.55);
  border-radius: 999px 999px 32px 32px;
}

.wh-arch {
  position: relative;
  aspect-ratio: 3 / 4.2;
  border-radius: 999px 999px 32px 32px;
  overflow: hidden;
  background: var(--brand-navy-deep);
  box-shadow: 0 40px 80px rgba(19, 26, 62, 0.25);
}

.wh-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 1.2s var(--ease);
}

.wh-photo:hover .wh-arch img {
  transform: scale(1.05);
}

.wh-photo figcaption {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
  background: var(--brand-navy-deep);
  box-shadow: 0 16px 34px rgba(13, 19, 48, 0.35);
  max-width: calc(100% + 20px);
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .wh-photo figcaption {
    padding: 10px 16px;
    font-size: 12px;
  }

  .wh-photo figcaption strong {
    font-size: 14px;
    margin-right: 4px;
  }
}

.wh-photo figcaption strong {
  margin-right: 6px;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--gold);
}

@media (max-width: 1199px) {
  .wh-grid {
    gap: 32px;
  }

  .wh-left li:nth-child(2),
  .wh-right li:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 991px) {
  .wh-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 28px;
  }

  .wh-photo {
    grid-column: 1 / -1;
    grid-row: 1;
    width: min(320px, 80%);
    margin: 0 auto 16px;
  }

  .wh-left li {
    max-width: none;
    margin-left: 0;
  }

  .wh-list {
    gap: 28px;
  }
}

@media (max-width: 575px) {
  .wh-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .wh-head {
    margin-bottom: 40px;
  }

  .wh-icon {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
    font-size: 21px;
  }
}

/* Keep benefit text on tidy lines (no single orphan word) */
.wh-list h3,
.wh-list p {
  text-wrap: balance;
}

/* Mirror both columns: same block width, both hug the photo with equal gaps */
.wh-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px) minmax(0, 1fr);
  gap: 56px;
}

.wh-list li {
  width: 100%;
  max-width: 400px;
}

.wh-left li {
  margin-left: auto;
}

.wh-right li {
  margin-right: auto;
}

@media (max-width: 1199px) {
  .wh-grid {
    gap: 32px;
  }
}

@media (max-width: 991px) {

  .wh-list li,
  .wh-left li {
    max-width: none;
    margin: 0;
  }
}

@media (max-width: 991px) {
  .wh-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 28px;
  }
}

@media (max-width: 575px) {
  .wh-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   Programs — editorial listing: real photo per program, plain text below
   ========================================================================== */
.lp-section {
  background: var(--white);
}

.lp-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.lp-head .eyebrow {
  color: #b38600;
  font-size: 14px;
}

.lp-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--brand-navy);
}

.lp-head h2 span {
  color: #b38600;
}

.pg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.pg-item {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.pg-photo {
  position: relative;
  margin: 0 0 22px;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  background: var(--off-white);
}

.pg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.9s var(--ease);
}

.pg-item:hover .pg-photo img {
  transform: scale(1.05);
}

.pg-level {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-navy);
  background: rgba(255, 255, 255, 0.92);
}

.pg-item h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--brand-navy);
  transition: color 0.3s var(--ease);
}

.pg-item:hover h3 {
  color: #b38600;
}

.pg-item p {
  margin: 0 0 12px;
  font-size: 15.5px;
  line-height: 1.65;
  color: #667085;
}

.pg-item .pg-ideal {
  margin-bottom: 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--brand-navy);
}

.pg-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  align-self: flex-start;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--gold);
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
}

.pg-more i {
  transition: transform 0.3s var(--ease);
}

.pg-item:hover .pg-more i {
  transform: translateX(4px);
}

.pg-item:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 6px;
  border-radius: 20px;
}

@media (max-width: 991px) {
  .lp-head {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 575px) {
  .pg-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Wide photos with Maya on the right: keep her in frame */
.pg-photo img.pos-right {
  object-position: 72% 30%;
}

/* ==========================================================================
   Mobile polish (home page) — gutters, rhythm, overflow, floating UI
   ========================================================================== */
@media (max-width: 767px) {

  /* 16px side gutters instead of 10px */
  .container-ms,
  .header-inner {
    width: min(calc(100% - 32px), var(--container));
  }

  /* Edge-to-edge swipe rows follow the 16px gutter */
  .cs-levels {
    margin: 0 -16px;
    padding: 4px 16px 12px;
  }

  .lw-wall {
    margin: 0 -16px;
    padding: 0 16px 8px;
    scroll-padding: 0 16px;
  }

  /* Calmer vertical rhythm between sections */
  .section,
  #awards.awards-flow,
  .tedx-cinema,
  .why-hub,
  .lp-section,
  .cert-showcase,
  .tm-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .journey-banner {
    padding-bottom: 56px;
  }

  .impact {
    padding: 40px 0 0;
  }

  /* Floating social rail overlaps content on phones; the footer already has these links */
  .floating-socials {
    display: none !important;
  }

  /* Founder: let the credential chips and columns shrink instead of overflowing */
  .bio-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .role-chip {
    white-space: normal;
    line-height: 1.3;
    font-size: 12px;
  }

  .role-chip span {
    white-space: normal;
    overflow: visible;
  }

  .hero-actions .btn-ms {
    max-width: 100%;
  }

  /* Bottom CTA bar: reserve exactly its height, and keep that strip dark under the footer */
  body {
    padding-bottom: 0;
  }

  .site-footer {
    padding-bottom: calc(var(--mobile-bar-h, 48px) + 16px);
  }
}

@media (max-width: 575px) {

  /* Section headings a touch smaller so they don't break into 4-5 lines */
  .wh-head h2,
  .lp-head h2,
  .cs-text h2,
  .af-head h2,
  .tc-head h2,
  .tm-head h2,
  .vg-head h2,
  .jb-content h2 {
    font-size: clamp(28px, 8vw, 34px);
  }

  .wh-head,
  .lp-head,
  .tm-head,
  .af-head,
  .tc-head {
    margin-bottom: 32px;
  }
}


/* ==========================================================================
   Footer — enquiry form as the 4th column, contact details under the brand
   ========================================================================== */
.ft-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.25fr);
  gap: 40px;
}

.ft-contact {
  list-style: none;
  margin: 18px 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ft-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.ft-contact i {
  margin-top: 2px;
  color: var(--gold);
}

.ft-contact a {
  color: inherit;
}

.ft-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ft-form input,
.ft-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  font: inherit;
  font-size: 14.5px;
  color: var(--white);
  resize: vertical;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.ft-form input::placeholder,
.ft-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.ft-form input:focus,
.ft-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
}

.ft-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  border: 0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-navy);
  background: var(--gold);
  cursor: pointer;
  transition: background 0.3s var(--ease);
}

.ft-form button:hover {
  background: var(--white);
}

.ft-form button:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

@media (max-width: 991px) {
  .ft-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .ft-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

/* Footer form: phone + email side by side, styled select */
.ft-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ft-form select {
  width: 100%;
  padding: 12px 36px 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23FCC905' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-size: 14.5px;
  color: var(--white);
  cursor: pointer;
}

.ft-form select:invalid,
.ft-form select:has(option[value=""]:checked) {
  color: rgba(255, 255, 255, 0.4);
}

.ft-form select option {
  color: var(--brand-navy);
}

.ft-form select:focus {
  outline: none;
  border-color: var(--gold);
}

@media (max-width: 360px) {
  .ft-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   Footer polish — cleaner background, quieter type, card form, refined details
   ========================================================================== */
.site-footer {
  background:
    radial-gradient(700px 380px at 100% 0%, rgba(252, 201, 5, 0.08), transparent 70%),
    radial-gradient(600px 400px at 0% 100%, rgba(76, 86, 200, 0.12), transparent 70%),
    #0a0f28;
  border-top: 0;
  padding-top: 88px;
}

.ft-grid {
  align-items: start;
  margin-bottom: 64px;
}

/* Brand column */
.site-footer .footer-logo-img {
  height: 72px;
}

.site-footer .footer-brand strong {
  margin-bottom: 8px;
  font-size: 20px;
}

.site-footer .footer-brand>p {
  max-width: 320px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.ft-contact {
  gap: 12px;
  margin: 24px 0 26px;
}

.ft-contact li {
  align-items: center;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.75);
}

.ft-contact li:last-child {
  align-items: flex-start;
}

.ft-contact i {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 15px;
  background: rgba(252, 201, 5, 0.1);
}

.ft-contact a:hover {
  color: var(--gold);
}

/* Column headings: small, spaced, like the site's eyebrows */
.site-footer h3 {
  margin: 8px 0 22px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Link lists */
.site-footer .ft-grid>div:not(.footer-brand):not(.ft-form-col) p {
  margin: 0 0 14px;
}

.site-footer .ft-grid>div:not(.footer-brand):not(.ft-form-col) a {
  display: inline-block;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.site-footer .ft-grid>div:not(.footer-brand):not(.ft-form-col) a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

/* Social buttons fill gold on hover */
.site-footer .socials a {
  width: 40px;
  height: 40px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-footer .socials a:hover {
  color: var(--brand-navy) !important;
  border-color: var(--gold) !important;
  background: var(--gold) !important;
}

/* Form column sits in a soft card */
.ft-form-col {
  padding: 26px 24px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ft-form-col h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--white);
}

.ft-form-sub {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

/* Bottom bar */
.site-footer .footer-bottom {
  padding-top: 24px;
  border-top-color: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer .footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

.site-footer .footer-bottom a:hover {
  color: var(--gold);
}

@media (max-width: 991px) {
  .ft-form-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding-top: 56px;
  }

  .ft-grid {
    margin-bottom: 40px;
  }

  .site-footer .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 575px) {

  /* Explore + Resources side by side on phones to save height */
  .ft-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 20px;
  }

  .ft-grid .footer-brand,
  .ft-grid .ft-form-col {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   Success Stories — YouTube testimonial shorts grid
   ========================================================================== */
.yt-section {
  background: var(--white);
}

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

.yt-card {
  cursor: pointer;
}

.yt-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-bottom: 14px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--brand-navy-deep);
  box-shadow: 0 14px 30px rgba(19, 26, 62, 0.12);
}

.yt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.yt-card:hover .yt-thumb img {
  transform: scale(1.06);
}

.yt-card:hover .vg-play {
  background: var(--white);
  transform: translate(-50%, -50%) scale(1.1);
}

.yt-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16.5px;
  line-height: 1.35;
  color: var(--brand-navy);
  transition: color 0.3s var(--ease);
}

.yt-card:hover h3 {
  color: #b38600;
}

.yt-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 6px;
  border-radius: 18px;
}

@media (max-width: 991px) {
  .yt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .yt-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Inner pages: gold section labels like the home page */
.sec-head .eyebrow,
.section>.container-ms>.eyebrow {
  color: #b38600;
}

.section-dark .sec-head .eyebrow,
.testimonials-section .sec-head .eyebrow {
  color: var(--gold);
}

/* Contact form select matches the site's custom dropdowns */
.form-card select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23131a3e' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* Blog: upcoming articles list */
.bl-upcoming {
  margin: 72px 0 56px;
}

.bl-upcoming .lp-head {
  margin-bottom: 28px;
}

.bl-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.bl-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid rgba(19, 26, 62, 0.08);
  box-shadow: 0 10px 26px rgba(19, 26, 62, 0.05);
}

.bl-cat {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b38600;
}

.bl-item h3 {
  flex: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.3;
  color: var(--brand-navy);
}

.bl-item .soon-pill {
  align-self: flex-start;
}

@media (max-width: 991px) {
  .bl-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .bl-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

.yt-card h3 {
  margin-bottom: 4px;
}

.yt-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #667085;
}

/* Video reviews: three larger videos per row */
.yt-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 28px;
}

.yt-thumb {
  border-radius: 22px;
}

.yt-thumb .vg-play {
  width: 64px;
  height: 64px;
  font-size: 28px;
}

.yt-card h3 {
  font-size: 19px;
}

.yt-card p {
  font-size: 15px;
}

@media (max-width: 991px) {
  .yt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .yt-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   Lightbox — always fits the screen, close button pinned top-right
   ========================================================================== */
.lightbox {
  padding: 64px 16px 24px;
}

.lightbox-inner {
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-frame {
  min-height: 0;
  max-width: 100%;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
}

.lightbox-frame img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 220px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
}

.lightbox-frame video,
.lightbox-frame iframe {
  max-height: calc(100vh - 220px) !important;
}

.lightbox h3 {
  margin: 0 0 4px;
  font-size: 18px;
  color: var(--white);
}

.lightbox p {
  margin: 0 0 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.lightbox [data-lb="close"] {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 48px;
  height: 48px;
  font-size: 28px;
  line-height: 1;
  color: var(--brand-navy);
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.lightbox [data-lb="close"]:hover {
  background: var(--white);
}

.lightbox [data-lb="prev"],
.lightbox [data-lb="next"] {
  font-size: 24px;
  cursor: pointer;
}

.lightbox [data-lb="prev"]:hover,
.lightbox [data-lb="next"]:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Certification ceremony photos: all portrait, shown whole in equal tiles */
.photo-grid.cert-photos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 18px;
}

.cert-photos .ph-item,
.cert-photos .ph-item.wide {
  grid-column: auto;
  grid-row: auto;
  position: relative;
  aspect-ratio: 3 / 4;
  height: auto;
  border-radius: 18px;
  overflow: hidden;
}

.cert-photos .ph-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 991px) {
  .photo-grid.cert-photos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .photo-grid.cert-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

/* Certificate deck with 11 certificates: only the front five fan out */
.cs-card:not([data-pos="0"]):not([data-pos="1"]):not([data-pos="2"]):not([data-pos="3"]):not([data-pos="4"]) {
  z-index: 0;
  opacity: 0;
  transform: translate(0, 12%) scale(0.84);
  pointer-events: none;
}

.cs-card {
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease), opacity 0.6s var(--ease);
}

/* Compact module list */
.cs-levels {
  gap: 2px;
}

.cs-levels button {
  padding: 9px 14px;
  font-size: 15.5px;
}

.cs-num {
  flex-basis: 40px;
  height: 32px;
  border-radius: 10px;
  font-size: 12.5px;
}

.cert-slide-label span {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-navy);
  background: rgba(252, 201, 5, 0.25);
}

/* Journey banner: trading-desk photo, keep Maya (left third) in frame */
.jb-bg img.jb-pos-desk {
  object-position: 26% 35%;
}

@media (max-width: 991px) {
  .jb-bg img.jb-pos-desk {
    object-position: 22% 30%;
  }
}

/* Credentials list: grouped by course, cleaner rows */
.cs-levels {
  gap: 0;
}

.cs-levels li[data-group]::before {
  content: attr(data-group);
  display: block;
  margin: 22px 0 8px 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b38600;
}

.cs-levels li[data-group]:first-child::before {
  margin-top: 0;
}

.cs-levels button {
  position: relative;
  padding: 8px 40px 8px 12px;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 600;
  color: #5b6478;
}

.cs-levels button::after {
  content: "\F138";
  font-family: "bootstrap-icons";
  position: absolute;
  right: 14px;
  top: 50%;
  font-size: 16px;
  color: var(--gold);
  opacity: 0;
  transform: translate(-6px, -50%);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.cs-levels button:hover {
  background: rgba(255, 255, 255, 0.6);
}

.cs-levels li.is-active button {
  color: var(--brand-navy);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(19, 26, 62, 0.09);
}

.cs-levels li.is-active button::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.cs-num {
  flex: 0 0 40px;
  height: 28px;
  border-radius: 8px;
  font-size: 12px;
  color: #8a90a0;
  background: rgba(19, 26, 62, 0.05);
}

@media (max-width: 991px) {
  .cs-levels li[data-group]::before {
    display: none;
  }

  .cs-levels button::after {
    display: none;
  }

  .cs-levels button {
    padding: 10px 14px;
  }
}

/* ==========================================================================
   Inner page banners — real photo on the right, fading into the navy
   ========================================================================== */
.page-hero {
  min-height: 490px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--brand-navy-deep);
  padding: 40px 0;
}

.page-hero > .container-ms {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--container));
}

.page-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 56%;
  z-index: 0;
  pointer-events: none;
  background: var(--ph-img) var(--ph-pos, center 15%) / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.4) 15%, #000 36%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.4) 15%, #000 36%);
  opacity: 0.95;
}

/* Bottom fade so the banner sits cleanly on the page */
.page-hero .ph-orb-2 {
  display: none;
}

.page-hero .ph-orb-1 {
  display: none;
}

.page-hero h1,
.page-hero .ph-lead {
  max-width: 580px;
}

@media (min-width: 992px) and (max-width: 1200px) {
  .page-hero {
    min-height: 460px;
  }

  .page-hero::after {
    width: 52%;
  }

  .page-hero h1,
  .page-hero .ph-lead {
    max-width: 500px;
  }
}

/* Individual page banner images and desktop focal positions */
body[data-page="programs"] .page-hero {
  --ph-img: url("../assets/images/maya-pro/maya-a-sharma-share-market-training.jpg");
  --ph-pos: 48% 20%;
}

body[data-page="stories"] .page-hero {
  --ph-img: url("../assets/images/maya-pro/ms-financials-students-with-certificates.jpg");
  --ph-pos: 58% 20%;
}

body[data-page="blog"] .page-hero {
  --ph-img: url("../assets/images/maya-pro/maya-a-sharma-blog-banner.jpg");
  --ph-pos: 70% 18%;
}

body[data-page="contact"] .page-hero {
  --ph-img: url("../assets/images/maya-pro/maya-a-sharma-at-office-desk.jpg");
  --ph-pos: 60% 32%;
}

body[data-page="gallery"] .page-hero {
  --ph-img: url("../assets/images/maya-pro/maya-a-sharma-awards-and-certificates-wall.jpg");
  --ph-pos: 20% 28%;
}

body[data-page="calculators"] .page-hero {
  --ph-img: url("../assets/images/maya-pro/maya-a-sharma-rooftop-with-tablet.jpg");
  --ph-pos: 78% 10%;
}

body[data-page="privacy"] .page-hero {
  --ph-img: url("../assets/images/maya-pro/maya-a-sharma-financial-educator-desk.jpg");
  --ph-pos: 58% 22%;
}

body[data-page="terms"] .page-hero {
  --ph-img: url("../assets/images/maya-pro/maya-a-sharma-ms-financials-trading-room.jpg");
  --ph-pos: 68% 22%;
}

@media (max-width: 991px) {
  .page-hero {
    min-height: auto;
    padding: 64px 0 54px;
    position: relative;
    overflow: hidden;
  }

  .page-hero > .container-ms {
    position: relative;
    z-index: 2;
  }

  .page-hero::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image:
      linear-gradient(180deg,
        rgba(7, 11, 33, 0.32) 0%,
        rgba(7, 11, 33, 0.58) 36%,
        rgba(7, 11, 33, 0.82) 72%,
        var(--navy-dark) 100%),
      var(--ph-img);
    background-position: center center, var(--ph-pos-mob, var(--ph-pos, center 18%));
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
    opacity: 0.96;
    filter: brightness(0.96) saturate(1.1) contrast(1.05);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 75%, rgba(0, 0, 0, 0.35) 90%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 75%, rgba(0, 0, 0, 0.35) 90%, transparent 100%);
  }

  .page-hero h1 {
    text-shadow: 0 2px 14px rgba(4, 7, 24, 0.95), 0 4px 30px rgba(4, 7, 24, 0.75);
  }

  .page-hero .eyebrow {
    text-shadow: 0 1px 8px rgba(4, 7, 24, 0.95);
  }

  .page-hero .ph-lead {
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 1px 12px rgba(4, 7, 24, 0.95), 0 3px 20px rgba(4, 7, 24, 0.7);
  }

  body[data-page="programs"] .page-hero {
    --ph-pos-mob: 48% 18%;
  }

  body[data-page="stories"] .page-hero {
    --ph-pos-mob: 55% 18%;
  }

  body[data-page="blog"] .page-hero {
    --ph-pos-mob: 68% 16%;
  }

  body[data-page="contact"] .page-hero {
    --ph-pos-mob: 58% 28%;
  }

  body[data-page="gallery"] .page-hero {
    --ph-pos-mob: 18% 22%;
  }

  body[data-page="calculators"] .page-hero {
    --ph-pos-mob: 74% 12%;
  }

  body[data-page="privacy"] .page-hero {
    --ph-pos-mob: 52% 20%;
  }

  body[data-page="terms"] .page-hero {
    --ph-pos-mob: 62% 22%;
  }
}

/* ==========================================================================
   Trading backdrop behind photo collages (Programs) and the Women photo
   ========================================================================== */
.img-collage,
.feature-photo {
  isolation: isolate;
}

.img-collage::before,
.feature-photo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -36px -36px 20px 30px;
  border-radius: 32px;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='220' viewBox='0 0 360 220'%3E%3Cg fill='none' stroke-width='2'%3E%3Cg stroke='%2316a34a'%3E%3Cline x1='20' y1='120' x2='20' y2='190'/%3E%3Cline x1='80' y1='90' x2='80' y2='160'/%3E%3Cline x1='170' y1='70' x2='170' y2='140'/%3E%3Cline x1='230' y1='40' x2='230' y2='110'/%3E%3Cline x1='320' y1='20' x2='320' y2='95'/%3E%3C/g%3E%3Cg stroke='%23dc2626'%3E%3Cline x1='50' y1='110' x2='50' y2='175'/%3E%3Cline x1='110' y1='95' x2='110' y2='165'/%3E%3Cline x1='140' y1='100' x2='140' y2='160'/%3E%3Cline x1='200' y1='60' x2='200' y2='125'/%3E%3Cline x1='260' y1='45' x2='260' y2='115'/%3E%3Cline x1='290' y1='50' x2='290' y2='105'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg fill='%2316a34a'%3E%3Crect x='13' y='135' width='14' height='40' rx='2'/%3E%3Crect x='73' y='105' width='14' height='40' rx='2'/%3E%3Crect x='163' y='85' width='14' height='40' rx='2'/%3E%3Crect x='223' y='55' width='14' height='40' rx='2'/%3E%3Crect x='313' y='32' width='14' height='45' rx='2'/%3E%3C/g%3E%3Cg fill='%23dc2626'%3E%3Crect x='43' y='125' width='14' height='35' rx='2'/%3E%3Crect x='103' y='110' width='14' height='38' rx='2'/%3E%3Crect x='133' y='112' width='14' height='32' rx='2'/%3E%3Crect x='193' y='75' width='14' height='35' rx='2'/%3E%3Crect x='253' y='60' width='14' height='38' rx='2'/%3E%3Crect x='283' y='62' width='14' height='30' rx='2'/%3E%3C/g%3E%3C/g%3E%3Cpolyline points='20,160 50,140 80,125 110,128 140,125 170,105 200,92 230,75 260,78 290,72 320,55' fill='none' stroke='%23FCC905' stroke-width='2.5'/%3E%3C/svg%3E") right 24px bottom 24px / 320px auto no-repeat,
    linear-gradient(rgba(19, 26, 62, 0.06) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(19, 26, 62, 0.06) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(135deg, #f7f8fc 0%, #fbf6e8 100%);
  opacity: 0.9;
}

.section-dark .feature-photo::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(circle at 70% 30%, rgba(252, 201, 5, 0.14), transparent 60%);
}

.feature-photo {
  position: relative;
}

@media (max-width: 767px) {

  .img-collage::before,
  .feature-photo::before {
    inset: -16px -10px 10px 14px;
    border-radius: 24px;
  }
}

/* Let the candlestick chart peek out below the main photo */
.img-collage::before {
  inset: -36px -36px -64px 30px;
  background-position: right 24px bottom 8px, 0 0, 0 0, 0 0;
  background-size: 270px auto, 32px 32px, 32px 32px, auto;
}

.img-collage {
  margin-bottom: 64px;
}

/* Photo backdrop v2: offset navy block with fine gold dots (replaces chart paper) */
.img-collage {
  margin-bottom: 0;
}

.img-collage::before {
  inset: 48px -28px 28px 140px;
  border-radius: 28px;
  opacity: 1;
  background:
    radial-gradient(rgba(252, 201, 5, 0.28) 1.2px, transparent 1.4px) 0 0 / 18px 18px,
    radial-gradient(420px 300px at 85% 15%, rgba(252, 201, 5, 0.18), transparent 70%),
    linear-gradient(150deg, #16204f 0%, #0d1330 100%);
  box-shadow: 0 30px 60px rgba(13, 19, 48, 0.25);
}

.course-block.flip .img-collage::before {
  inset: 48px 140px 28px -28px;
}

.feature-photo::before {
  inset: 40px -24px -24px 60px;
  border-radius: 28px;
  background:
    radial-gradient(rgba(252, 201, 5, 0.3) 1.2px, transparent 1.4px) 0 0 / 18px 18px,
    linear-gradient(150deg, rgba(252, 201, 5, 0.16), rgba(252, 201, 5, 0.04));
  box-shadow: none;
}

.section-dark .feature-photo::before {
  background:
    radial-gradient(rgba(252, 201, 5, 0.3) 1.2px, transparent 1.4px) 0 0 / 18px 18px,
    linear-gradient(150deg, rgba(252, 201, 5, 0.16), rgba(252, 201, 5, 0.04));
}

@media (max-width: 767px) {

  .img-collage::before,
  .course-block.flip .img-collage::before {
    inset: 30px -10px 20px 60px;
  }

  .feature-photo::before {
    inset: 24px -10px -14px 30px;
  }
}

/* ==========================================================================
   Programs photos v3 — no backdrop; clean photos + one floating stat card
   ========================================================================== */
.img-collage::before,
.course-block.flip .img-collage::before,
.feature-photo::before,
.section-dark .feature-photo::before {
  content: none;
}

.img-collage img {
  box-shadow: 0 24px 50px rgba(19, 26, 62, 0.16);
}

.feature-photo {
  position: relative;
}

.ic-badge {
  position: absolute;
  right: -18px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 14px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(19, 26, 62, 0.18);
  animation: orbFloat 6s ease-in-out infinite;
}

.ic-badge i {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--brand-navy);
  background: var(--gold);
}

.ic-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.15;
  color: var(--brand-navy);
}

.ic-badge span {
  font-size: 13px;
  color: #667085;
}

.course-block.flip .ic-badge {
  right: auto;
  left: auto;
  right: -18px;
}

.feature-photo .ic-badge {
  left: -24px;
  right: auto;
  bottom: 32px;
}

@media (max-width: 767px) {

  .ic-badge,
  .course-block.flip .ic-badge,
  .feature-photo .ic-badge {
    right: 10px;
    left: auto;
    bottom: 12px;
    padding: 10px 14px 10px 10px;
  }

  .ic-badge i {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    font-size: 17px;
  }

  .ic-badge strong {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ic-badge {
    animation: none;
  }
}

/* Programs: certification levels (white cards, home-page style) */
.cl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 88px;
}

.cl-card {
  display: flex;
  flex-direction: column;
  padding: 30px 30px 26px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid rgba(19, 26, 62, 0.08);
  box-shadow: 0 14px 34px rgba(19, 26, 62, 0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.cl-card:hover {
  transform: translateY(-6px);
  border-color: rgba(252, 201, 5, 0.6);
  box-shadow: 0 26px 52px rgba(19, 26, 62, 0.12);
}

.cl-level {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-navy);
  background: rgba(252, 201, 5, 0.25);
}

.cl-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--brand-navy);
}

.cl-card p {
  flex: 1;
  margin: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.65;
  color: #667085;
}

.cl-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(19, 26, 62, 0.08);
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-navy);
}

.cl-foot i {
  color: #b38600;
}

.cl-card.is-top {
  background: var(--brand-navy-deep);
  border-color: transparent;
}

.cl-card.is-top .cl-level {
  background: var(--gold);
}

.cl-card.is-top h3,
.cl-card.is-top .cl-foot {
  color: var(--white);
}

.cl-card.is-top p {
  color: rgba(255, 255, 255, 0.7);
}

.cl-card.is-top .cl-foot {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.cl-card.is-top .cl-foot i {
  color: var(--gold);
}

@media (max-width: 991px) {
  .cl-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 56px;
  }
}

/* Header keeps one height while scrolling, so no gap opens above the banner */
.site-header.is-scrolled {
  height: var(--header-h);
}

@media (max-width: 991px) {
  .site-header.is-scrolled {
    height: var(--header-h);
  }
}

/* Spacer behind the fixed ticker + header is navy, so no light line can show under the header */
#ticker-root,
#header-root {
  background: #0d1330;
}

/* ==========================================================================
   Footer v3 — CTA band, refined columns, legal bar, brand watermark
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
}

.ft-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 64px 0 56px;
  margin-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ft-cta-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.ft-cta h2 {
  margin: 0;
  max-width: 620px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}

.ft-cta h2 span {
  color: rgba(255, 255, 255, 0.55);
}

.ft-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 0 0 auto;
}

.ft-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.ft-btn:hover {
  transform: translateY(-2px);
}

.ft-btn-gold {
  color: var(--brand-navy);
  background: var(--gold);
}

.ft-btn-gold:hover {
  color: var(--brand-navy);
  background: var(--white);
}

.ft-btn-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.ft-btn-ghost i {
  color: #25d366;
  font-size: 17px;
}

.ft-btn-ghost:hover {
  color: var(--white);
  border-color: var(--gold);
}

/* Columns */
.ft-grid {
  margin-bottom: 56px;
}

.site-footer .footer-logo-img {
  height: 64px;
}

/* Bottom bar */
.site-footer .footer-bottom {
  align-items: center;
  padding: 22px 0;
}

.ft-legal {
  display: flex;
  gap: 24px;
}

.ft-disclaimer {
  padding-bottom: 28px;
}

.ft-disclaimer p {
  margin: 0;
  max-width: 900px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.38);
}

/* Large faint brand line at the very bottom */
.ft-watermark {
  margin-top: -10px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(56px, 11.5vw, 190px);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  user-select: none;
  pointer-events: none;
  transform: translateY(18%);
}

@media (max-width: 991px) {
  .ft-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 48px 0 40px;
    margin-bottom: 44px;
  }
}

@media (max-width: 575px) {
  .ft-cta-actions {
    width: 100%;
  }

  .ft-btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .ft-legal {
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding-bottom: calc(var(--mobile-bar-h, 48px) + 8px);
  }
}

.ft-watermark {
  font-size: clamp(44px, 9.6vw, 170px);
}

/* Calculator links: tidy 2-column grid on phones */
@media (max-width: 575px) {
  .calc-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
  }

  .calc-chips a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 8px 10px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.3;
    text-align: center;
  }

  .sip-mini {
    padding: 20px;
  }
}

/* Footer bottom: disclaimer then a full, compact watermark that ends the page */
.ft-disclaimer {
  padding-bottom: 18px;
}

.ft-watermark {
  height: auto;
  margin: 0;
  padding: 0 16px;
  overflow: visible;
  font-size: clamp(34px, 7.6vw, 128px);
  line-height: 0.86;
  transform: none;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.09);
}

@media (max-width: 991px) {
  .ft-disclaimer {
    padding-bottom: 14px;
  }
}

@media (max-width: 767px) {

  /* leave room only for the fixed bottom action bar */
  .site-footer {
    padding-bottom: 0;
  }

  .ft-watermark {
    padding-bottom: calc(var(--mobile-bar-h, 48px) + 6px);
  }
}

/* The bottom action bar shows up to 991px: reserve its space inside the dark footer, not as white space below it */
@media (max-width: 991px) {
  body {
    padding-bottom: 0;
  }

  .site-footer {
    padding-bottom: 0;
  }

  .ft-watermark {
    padding-bottom: calc(var(--mobile-bar-h, 48px) + 6px);
  }
}

/* Floating social rail overlaps content on tablets too (bottom bar + footer already carry these links) */
@media (max-width: 991px) {
  .floating-socials {
    display: none !important;
  }
}

/* Desktop: show the watermark letters in full, then end */
@media (min-width: 992px) {
  .ft-watermark {
    line-height: 1;
    padding-bottom: 0.08em;
  }
}

/* ==========================================================================
   Calculators page — spacing and layout polish
   ========================================================================== */
#calculators .calc-layout {
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: 0;
}

/* Calculator menu as a sticky card */
#calculators .calc-nav {
  position: sticky;
  top: calc(var(--ticker-h) + var(--header-h) + 24px);
  padding: 14px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid rgba(19, 26, 62, 0.08);
  box-shadow: 0 14px 34px rgba(19, 26, 62, 0.06);
}

#calculators .calc-nav button {
  padding: 10px 14px;
  font-size: 15px;
  color: #5b6478;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

#calculators .calc-nav button:hover {
  color: var(--brand-navy);
  background: var(--off-white);
}

#calculators .calc-nav button.active {
  color: var(--white);
  background: var(--brand-navy);
}

#calculators .calc-cat {
  margin: 16px 0 6px;
  font-weight: 700;
  color: #b38600;
}

#calculators .calc-cat:first-child {
  margin-top: 4px;
}

/* Panel */
#calculators .calc-panel {
  padding: 36px;
  border-radius: 24px;
  border-color: rgba(19, 26, 62, 0.08);
  box-shadow: 0 14px 34px rgba(19, 26, 62, 0.06);
}

#calculators .calc-panel h3 {
  margin: 0 0 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(19, 26, 62, 0.08);
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  color: var(--brand-navy);
}

#calculators .calc-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

/* Panels without a chart: inputs in a row, results in a row */
#calculators .calc-panel>form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}

#calculators .calc-panel>form .field {
  margin: 0;
}

#calculators .calc-panel>.calc-stats {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

#calculators .field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--brand-navy);
}

#calculators .range-val {
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-navy);
  background: rgba(252, 201, 5, 0.25);
}

#calculators .field input:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

#calculators input[type="range"] {
  min-height: 0;
  padding: 0;
  margin: 10px 0 6px;
  border: 0;
  background: transparent;
  accent-color: #e0a800;
}

#calculators .stat-box {
  padding: 18px 20px;
  border-radius: 16px;
}

#calculators .stat-box strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  word-break: break-word;
}

#calculators .stat-box.primary {
  background: var(--brand-navy-deep);
}

#calculators .stat-box.primary strong {
  color: var(--gold);
}

/* Chart: sized to sit neatly under the results */
.calc-chart {
  max-width: 260px;
  margin: 24px auto 0;
}

#calculators .calc-note {
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(19, 26, 62, 0.08);
}

@media (max-width: 1199px) {
  #calculators .calc-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  /* Menu becomes a swipeable chip row */
  #calculators .calc-nav {
    position: static;
    display: flex;
    gap: 8px;
    padding: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  #calculators .calc-nav::-webkit-scrollbar {
    display: none;
  }

  #calculators .calc-nav button {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
    font-size: 14px;
  }

  #calculators .calc-cat {
    display: none;
  }
}

@media (max-width: 767px) {
  #calculators .calc-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  #calculators .calc-panel {
    padding: 22px 18px;
    border-radius: 20px;
  }

  #calculators .calc-panel h3 {
    margin-bottom: 18px;
    padding-bottom: 14px;
  }

  .calc-chart {
    max-width: 220px;
  }
}

/* Calculator menu: normal flow (sticky was being offset by the page's scroll container) */
#calculators .calc-nav {
  position: static;
}

/* Disclaimer removed: give the bottom bar the spacing before the watermark */
.site-footer .footer-bottom {
  padding-bottom: 20px;
}

/* Inner banners: clean typography spacing */
.page-hero h1 {
  max-width: 620px;
}

.page-hero .ph-lead {
  max-width: 560px;
}

/* Awards slider: every photo shown whole (no cropping), blurred copy fills the frame */
.af-slide::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: var(--slide-bg) center / cover no-repeat;
  filter: blur(30px) brightness(0.5);
}

.af-slide img {
  object-fit: contain;
}

/* Awards caption: breathing room below the slider, fixed height so arrows never jump */
.af-bar {
  margin-top: 28px;
  align-items: center;
}

.af-caption {
  width: 560px;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.af-caption h3 {
  text-wrap: balance;
}

@media (max-width: 575px) {
  .af-bar {
    margin-top: 16px;
  }

  .af-caption {
    min-height: 104px;
  }
}

/* TEDx stage photo: keep Maya and the TEDx GPCET letters in the 16:9 frame */
.tc-video img {
  object-position: center 44%;
}

/* TEDx photo is near-square: show it whole, blurred copy fills the wide frame */
.tc-video {
  background: #000 url("../assets/images/tedx/maya-a-sharma-tedx-gpcet-stage.jpg") center / cover no-repeat;
}

.tc-video::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(24px) brightness(0.5);
  -webkit-backdrop-filter: blur(24px) brightness(0.5);
}

.tc-video img {
  position: relative;
  object-fit: contain;
  object-position: center;
}

/* TEDx photo (tall): fill the frame, framed on Maya and the TEDx GPCET letters */
.tc-video::before {
  content: none;
}

.tc-video img {
  object-fit: cover;
  object-position: center 72%;
}

/* Home credentials teaser: link to the full certificate list */
.cs-all {
  margin-top: 28px;
}

/* ==========================================================================
   Success Stories — alternating backgrounds + even section rhythm
   cream (testimonials) → white (videos) → ivory (ceremonies) → white (FAQ)
   ========================================================================== */
body[data-page="stories"] main>.section {
  padding: 96px 0;
}

body[data-page="stories"] .yt-section {
  background: var(--white);
}

body[data-page="stories"] #cert-gallery {
  background: linear-gradient(180deg, #fbf8f1 0%, #f6f1e4 100%);
}

body[data-page="stories"] #faq {
  background: var(--white);
}

body[data-page="stories"] #cert-gallery .sec-head,
body[data-page="stories"] #faq .sec-head {
  margin-bottom: 44px;
}

body[data-page="stories"] .cert-photos .ph-item {
  box-shadow: 0 16px 36px rgba(19, 26, 62, 0.12);
}

@media (max-width: 767px) {
  body[data-page="stories"] main>.section {
    padding: 64px 0;
  }
}


/* Footer background: Maya on the city skyline, deep navy overlay keeps text crisp */
.site-footer {
  background:
    linear-gradient(180deg, rgba(10, 15, 40, 0.86) 0%, rgba(10, 15, 40, 0.93) 45%, #0a0f28 100%),
    url("../assets/images/maya-pro/maya-a-sharma-open-arms-skyline.jpg") center 30% / cover no-repeat,
    #0a0f28;
}

/* Footer background v2: navy with fine gold flowing lines (no faces behind text) */
.site-footer {
  background:
    linear-gradient(180deg, rgba(10, 15, 40, 0.94) 0%, rgba(10, 15, 40, 0.72) 55%, rgba(10, 15, 40, 0.88) 100%),
    url("../assets/images/videos-bg.jpg") center bottom / cover no-repeat,
    #0a0f28;
}

/* Footer background v3: clean deep navy, soft brand lighting, gold hairline on top */
.site-footer {
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(252, 201, 5, 0.09), transparent 70%),
    radial-gradient(800px 500px at 100% 100%, rgba(70, 90, 210, 0.16), transparent 70%),
    linear-gradient(180deg, #0d1330 0%, #090d24 100%);
  border-top: 1px solid rgba(252, 201, 5, 0.25);
}

/* Hero: highlighted mission line under the intro */
.hs-mission {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 26px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(252, 201, 5, 0.45);
  background: rgba(252, 201, 5, 0.12);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.hs-mission i {
  font-size: 18px;
  color: var(--gold);
}

.hs-mission strong {
  color: var(--gold);
}

/* Voices: smaller play buttons */
.vg-play-lg {
  width: 60px;
  height: 60px;
  font-size: 26px;
}

.vg-play {
  width: 38px;
  height: 38px;
  font-size: 17px;
}

@media (max-width: 575px) {
  .hs-mission {
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .vg-play-lg {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }
}

/* Course cards: no top strip, no tilt — a calm lift and a filled number on hover */
.course-card::before {
  content: none;
}

.course-card:hover {
  transform: translateY(-4px);
  border-color: rgba(19, 26, 62, 0.12);
  box-shadow: 0 22px 44px rgba(19, 26, 62, 0.1);
}

.course-card:hover .course-num {
  color: var(--brand-navy);
  -webkit-text-stroke-color: var(--brand-navy);
}

/* Women Investor photo (portrait): keep Maya's face and the laptop in frame */
#women .feature-photo img {
  object-position: center 30%;
}

/* ==========================================================================
   Programs: Workshops & Training — photo-led cards
   ========================================================================== */
.wt-section {
  background: var(--white);
}

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

.wt-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(19, 26, 62, 0.08);
  box-shadow: 0 14px 34px rgba(19, 26, 62, 0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.wt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(19, 26, 62, 0.12);
}

.wt-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--brand-navy-deep);
}

.wt-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.9s var(--ease);
}

.wt-card:hover .wt-photo img {
  transform: scale(1.04);
}

.wt-tag {
  position: absolute;
  left: 18px;
  top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-navy);
  background: rgba(255, 255, 255, 0.94);
}

.wt-tag i {
  color: #b38600;
}

.wt-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 30px 32px 32px;
}

.wt-body h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(21px, 1.9vw, 25px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--brand-navy);
}

.wt-body>p {
  margin: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.7;
  color: #667085;
}

.wt-body .wt-label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b38600;
}

.wt-chips {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wt-chips li {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-navy);
  background: var(--off-white);
  border: 1px solid rgba(19, 26, 62, 0.08);
}

.wt-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--brand-navy);
  text-decoration: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.wt-link:hover {
  color: var(--brand-navy);
  background: var(--gold);
}

.wt-link i {
  transition: transform 0.3s var(--ease);
}

.wt-link:hover i {
  transform: translateX(4px);
}

@media (max-width: 991px) {
  .wt-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
  }
}

@media (max-width: 575px) {
  .wt-body {
    padding: 24px 22px 26px;
  }
}

/* Workshops cards: more compact */
.wt-grid {
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.wt-photo {
  aspect-ratio: 16 / 7.5;
}

.wt-body {
  padding: 22px 26px 24px;
}

.wt-body h3 {
  margin-bottom: 8px;
  font-size: clamp(19px, 1.6vw, 21px);
}

.wt-body>p {
  margin-bottom: 16px;
  font-size: 14.5px;
  line-height: 1.6;
}

.wt-body .wt-label {
  margin-bottom: 8px;
  font-size: 11px;
}

.wt-chips {
  gap: 6px;
  margin-bottom: 20px;
}

.wt-chips li {
  padding: 5px 12px;
  font-size: 13px;
}

.wt-link {
  padding: 11px 20px;
  font-size: 13px;
}

.wt-tag {
  left: 14px;
  top: 14px;
  padding: 6px 12px;
  font-size: 11.5px;
}

/* ==========================================================================
   Home programs v2 — premium cards: photo with overlay number, body panel
   ========================================================================== */
.lp-section .pg-grid {
  gap: 28px;
}

.lp-section .pg-item {
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(19, 26, 62, 0.08);
  box-shadow: 0 16px 40px rgba(19, 26, 62, 0.07);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.lp-section .pg-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(19, 26, 62, 0.14);
}

.lp-section .pg-photo {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

.lp-section .pg-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 19, 48, 0) 50%, rgba(13, 19, 48, 0.65) 100%);
  pointer-events: none;
}

.lp-section .pg-level {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 1;
  padding: 7px 14px;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.lp-section .pg-level i {
  color: #b38600;
}

.pg-num {
  position: absolute;
  right: 20px;
  bottom: 12px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85);
  transition: color 0.4s var(--ease), -webkit-text-stroke-color 0.4s var(--ease);
}

.lp-section .pg-item:hover .pg-num {
  color: var(--gold);
  -webkit-text-stroke-color: var(--gold);
}

.pg-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 28px 28px;
}

.lp-section .pg-item h3 {
  font-size: 22px;
}

.lp-section .pg-item:hover h3 {
  color: var(--brand-navy);
}

.lp-section .pg-item p {
  font-size: 15px;
}

.lp-section .pg-item .pg-ideal {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 2px 0 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(19, 26, 62, 0.08);
  font-size: 14px;
}

.pg-ideal i {
  color: #b38600;
}

.lp-section .pg-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-self: stretch;
  padding: 0;
  border: 0;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lp-section .pg-more i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--brand-navy);
  background: var(--off-white);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.lp-section .pg-item:hover .pg-more i {
  background: var(--gold);
  transform: translateX(4px);
}

/* Program cards v3: number moves off the faces into a small corner badge */
.pg-num {
  top: 16px;
  right: 16px;
  bottom: auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  letter-spacing: 0;
  color: var(--brand-navy);
  -webkit-text-stroke: 0;
  background: var(--gold);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.lp-section .pg-item:hover .pg-num {
  color: var(--brand-navy);
  -webkit-text-stroke: 0;
  background: var(--white);
}

.lp-section .pg-photo::after {
  background: linear-gradient(180deg, rgba(13, 19, 48, 0.25) 0%, rgba(13, 19, 48, 0) 30%);
}

.lp-section .pg-photo {
  aspect-ratio: 4 / 3.2;
}

/* Programs: course card opened from the home page gets a brief highlight */
.course-card.is-target {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(252, 201, 5, 0.3), 0 22px 44px rgba(19, 26, 62, 0.12);
  scroll-margin-top: calc(var(--ticker-h) + var(--header-h) + 40px);
}

.course-card {
  transition: transform 0.45s var(--ease), box-shadow 0.6s var(--ease), border-color 0.6s var(--ease), opacity 0.7s, filter 0.7s;
}

/* Voices background v4: soft, clean navy with gentle light, no texture */
#videos.video-section {
  background:
    radial-gradient(900px 520px at 85% 0%, rgba(252, 201, 5, 0.1), transparent 70%),
    radial-gradient(900px 600px at 0% 100%, rgba(90, 110, 230, 0.18), transparent 70%),
    linear-gradient(180deg, #111a45 0%, #0b1030 100%);
}

#videos.video-section::before,
#videos.video-section::after {
  content: none;
}

/* Voices v5: light cream section, navy text, white video cards */
#videos.video-section {
  background: #faf7ef;
}

#videos .vg-head .eyebrow {
  color: #b38600;
}

#videos .vg-head h2 {
  color: var(--brand-navy);
}

#videos .vg-head>p {
  color: #667085;
}

#videos .vg-feature {
  box-shadow: 0 24px 50px rgba(19, 26, 62, 0.16);
}

#videos .vg-item {
  background: var(--white);
  border: 1px solid rgba(19, 26, 62, 0.08);
  box-shadow: 0 12px 30px rgba(19, 26, 62, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#videos .vg-item:hover {
  background: var(--white);
  border-color: rgba(252, 201, 5, 0.6);
  box-shadow: 0 20px 40px rgba(19, 26, 62, 0.12);
}

#videos .vg-info h3 {
  color: var(--brand-navy);
}

#videos .vg-course {
  color: #667085;
}

#videos .vg-course i {
  color: #b38600;
}

#videos .vg-foot {
  border-top-color: rgba(19, 26, 62, 0.1);
}

#videos .vg-foot p {
  color: #475467;
}

#videos .vg-foot strong {
  color: var(--brand-navy);
}

#videos .vg-more:hover {
  color: var(--white);
  background: var(--brand-navy);
}

/* Voices: 50% White & 50% Luxury Cream dual-tone designer background */
#videos.video-section {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(900px 450px at 85% 100%, rgba(252, 201, 5, 0.08), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 38%, #faf5ea 55%, #f6efe1 100%);
  overflow: hidden;
}

#videos.video-section::before,
#videos.video-section::after {
  content: none;
}

/* Women Investor Program: Executive dark navy with financial upward growth curves */
#women.section-dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #070d24 url("../assets/images/backgrounds/women-program-bg.jpg") center right / cover no-repeat;
  border-top: 1px solid rgba(252, 201, 5, 0.15);
  border-bottom: 1px solid rgba(252, 201, 5, 0.15);
}

#women.section-dark .gold-arc {
  display: none;
}

#women.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,
      rgba(7, 13, 36, 0.95) 0%,
      rgba(7, 13, 36, 0.85) 45%,
      rgba(7, 13, 36, 0.38) 82%,
      rgba(7, 13, 36, 0.55) 100%);
  pointer-events: none;
}

@media (max-width: 991px) {
  #women.section-dark::before {
    background: linear-gradient(180deg,
        rgba(7, 13, 36, 0.95) 0%,
        rgba(7, 13, 36, 0.88) 55%,
        rgba(7, 13, 36, 0.65) 100%);
  }
}

/* ==========================================================================
   Typography — Fraunces (headings) + Inter (body, UI)
   ========================================================================== */
:root {
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-nav: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Serif headings: optical sizing on, gentler tracking than the old sans */
h1,
h2,
h3,
h4,
.hs-title,
.impact-title,
.impact-num,
.g-score {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: -0.015em;
}

h1,
h2 {
  line-height: 1.12;
}

/* Small UI headings and card titles stay crisp at small sizes */
h3,
.wh-list h3,
.tq-card figcaption strong,
.af-caption h3 {
  font-weight: 600;
  letter-spacing: -0.005em;
}

/* Gold highlight words in headings: a touch of italic elegance */
.lp-head h2 span,
.wh-head h2 span,
.cs-text h2 span,
.af-head h2 span,
.tm-head h2 span,
.tc-head h2 span,
.aw-head h2 span {
  font-style: italic;
  font-weight: 500;
}

/* Navigation, buttons, labels, quotes and numbers in UI: Inter */
.nav-link,
.mobile-nav-link,
.btn-ms,
.as-link,
.ft-btn,
.lp-link,
.pg-more,
.wt-link,
.vg-more,
.tl-btn,
.ts-btn,
.eyebrow,
.cs-num,
.pg-num,
.af-count,
.tq-card blockquote,
.tq-card blockquote.is-short,
.stat-box strong,
.ic-badge strong {
  font-family: var(--font-body);
}

.tq-card blockquote.is-short {
  font-weight: 600;
}

/* Hero headline: keep it bold and confident in the serif */
.hs-title {
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Body / UI font: Plus Jakarta Sans */
:root {
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-nav: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  letter-spacing: 0.002em;
}
/* ==========================================================================
   Video gallery — featured clip + grid (gallery page)
   ========================================================================== */
.vx-section {
  background:
    radial-gradient(700px 320px at 8% 0%, rgba(252, 201, 5, 0.12), transparent 70%),
    radial-gradient(800px 360px at 100% 100%, rgba(26, 33, 72, 0.07), transparent 70%),
    #faf8f2;
  border-bottom: 1px solid var(--line);
}

.vx-head {
  margin-bottom: 40px;
}

.vx-head .eyebrow {
  color: #9a7b0a;
}

.vx-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.vx-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.vx-card {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(11, 16, 45, 0.16);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.vx-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 48px rgba(11, 16, 45, 0.26);
}

.vx-feature {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.vx-wide {
  grid-column: span 2;
  aspect-ratio: 16 / 7;
}

.vx-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.vx-card:hover .vx-media {
  transform: scale(1.04);
}

.vx-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 33, 0) 45%, rgba(7, 11, 33, 0.88) 100%);
  pointer-events: none;
}

.vx-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease);
}

.vx-feature .vx-play {
  width: 72px;
  height: 72px;
  font-size: 32px;
}

.vx-card:hover .vx-play {
  transform: translate(-50%, -50%) scale(1.1);
}

.vx-body {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  z-index: 1;
}

.vx-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.25;
  color: var(--white);
}

.vx-body span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.vx-feature .vx-body {
  left: 28px;
  bottom: 24px;
}

.vx-feature .vx-body h3 {
  font-size: clamp(22px, 2.2vw, 30px);
}

.vx-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 991px) {
  .vx-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vx-wide {
    grid-column: auto;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 575px) {
  .vx-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .vx-feature {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }

  .vx-feature,
  .vx-card {
    grid-column: auto;
  }
}

.vx-head h2 span {
  font-style: italic;
  color: #b38600;
}

/* ==========================================================================
   Scroll-open video — frame grows to full screen while the section is pinned
   ========================================================================== */
.rv {
  position: relative;
  height: 230vh;
  background: var(--navy-dark);
}

.rv-pin {
  position: sticky;
  top: 128px;
  height: calc(100vh - 128px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 60% at 50% 52%, rgba(252, 201, 5, 0.16), transparent 70%),
    radial-gradient(ellipse 90% 70% at 50% 50%, #1a2148 0%, transparent 80%),
    linear-gradient(180deg, #0b102d 0%, #070b21 100%);
}

.rv-pin::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(7, 11, 33, 0.7) 100%);
  pointer-events: none;
}

.rv-frame {
  z-index: 1;
}

.rv-frame {
  position: relative;
  width: 58vw;
  height: 56vh;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  will-change: width, height;
}

.rv-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rv-sound {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 1;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.3s var(--ease);
}

.rv-sound:hover {
  transform: scale(1.1);
}

@media (prefers-reduced-motion: reduce) {
  .rv {
    height: auto;
  }

  .rv-pin {
    position: relative;
    height: auto;
    padding: 60px 0;
  }

  .rv-frame {
    width: 92vw !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
  }
}
