/* HOME page: fixed immersive globe, compact proof cards, and three-screen paging. */

body.home::before { display: block; }
body.home { --home-title-max: 3.75rem; }

/* ---- Fixed immersive globe scene ---- */
.home-globe-layer,
.home-hero {
  --globe-size: clamp(680px, max(105svh, 64vw), 2400px);
}
.home-globe-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  color: #f7f3ec;
  background:
    radial-gradient(circle at 20% 50%, rgba(59, 94, 130, 0.3), transparent 38%),
    radial-gradient(circle at 70% 18%, rgba(214, 184, 106, 0.12), transparent 28%),
    linear-gradient(120deg, #02040a 0%, #07111d 44%, #010207 100%);
  transition: background 0.5s ease, color 0.5s ease;
}
:root[data-theme="light"] .home-globe-layer {
  color: #1c1715;
  background:
    radial-gradient(circle at 20% 50%, rgba(120, 165, 205, 0.28), transparent 40%),
    radial-gradient(circle at 72% 16%, rgba(237, 125, 49, 0.14), transparent 30%),
    linear-gradient(120deg, #eef3f9 0%, #dfe8f2 46%, #f4f1ec 100%);
}
.home-hero {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: max(112px, var(--mdj-header-safe-offset)) max(24px, calc((100vw - var(--maxw)) / 2)) 168px;
  overflow: hidden;
  color: #f7f3ec;
  background: transparent;
}
:root[data-theme="light"] .home-hero {
  color: #1c1715;
  background: transparent;
}
.home-globe-layer::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 22%, rgba(255,255,255,0.18) 0 1px, transparent 1.5px),
    radial-gradient(circle at 62% 34%, rgba(255,255,255,0.12) 0 1px, transparent 1.5px),
    radial-gradient(circle at 82% 72%, rgba(255,255,255,0.1) 0 1px, transparent 1.5px);
  background-size: 180px 180px, 260px 260px, 320px 320px;
  opacity: 0.48;
}
.home-globe-layer::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(1, 2, 7, 0.08), rgba(1, 2, 7, 0.26) 48%, rgba(1, 2, 7, 0.76) 100%);
}
:root[data-theme="light"] .home-globe-layer::before { opacity: 0.16; }
:root[data-theme="light"] .home-globe-layer::after {
  background: linear-gradient(90deg, rgba(244, 241, 236, 0.02), rgba(244, 241, 236, 0.25) 48%, rgba(244, 241, 236, 0.78) 100%);
}

.globe-stage {
  position: absolute;
  left: calc(-1 * var(--globe-size) / 12);
  top: 50%;
  z-index: 0;
  width: var(--globe-size);
  height: var(--globe-size);
  transform: translateY(-50%);
  opacity: 0.92;
  filter: none;
  /* MapLibre paints its background layer across the whole square canvas. Fade
     the canvas out before its right edge so the light-theme ocean color cannot
     appear as a rectangular mask over the hero background. */
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 70%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 70%, transparent 100%);
  pointer-events: none;
}
.globe-stage [data-community-globe] {
  display: block;
  width: 100%;
  height: 100%;
  cursor: default;
  touch-action: pan-y;
  user-select: none;
  background: transparent;
}
.globe-stage [data-community-globe] canvas,
.globe-stage .maplibregl-canvas { outline: none; cursor: default; }
.globe-stage .maplibregl-control-container,
.globe-stage .maplibregl-ctrl-attrib,
.globe-stage .maplibregl-ctrl-logo { display: none; }

/* MapLibre destination markers: concentric water-ripple points. */
.mdj-hub-ripple {
  --hub-ripple: #d6b86a;
  width: 44px;
  height: 44px;
  pointer-events: none;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.42));
}
:root[data-theme="light"] .mdj-hub-ripple { --hub-ripple: #9b6412; }
.mdj-hub-ripple__ring {
  position: absolute;
  inset: 17px;
  display: block;
  border: 1.5px solid var(--hub-ripple);
  border-radius: 50%;
  opacity: 0;
  animation: mdj-hub-water-ripple 2.8s cubic-bezier(0.2, 0.62, 0.36, 1) infinite;
  animation-delay: calc(var(--hub-delay, 0s) + var(--ring-delay, 0s));
}
.mdj-hub-ripple__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
  transform: translate(-50%, -50%);
  background: #f2ead8;
  border: 2px solid var(--hub-ripple);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hub-ripple) 24%, transparent);
}
@keyframes mdj-hub-water-ripple {
  0% { opacity: 0.78; transform: scale(0.35); }
  72%, 100% { opacity: 0; transform: scale(3.4); }
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(720px, 54vw);
  margin-left: auto;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.72);
}
.wb-eyebrow {
  margin: 0 0 12px;
  color: #ff5264;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-copy h1 {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(2.35rem, 4.2vw, var(--home-title-max));
  line-height: 1.02;
  color: #fff8ef;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.wb-body {
  margin: 18px 0 0;
  max-width: 48ch;
  color: rgba(238, 244, 249, 0.78);
  font-size: 1.04rem;
  line-height: 1.65;
}
.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.home-actions .button.secondary {
  color: #fff8ef;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}
:root[data-theme="light"] .hero-copy { text-shadow: none; }
:root[data-theme="light"] .hero-copy h1 { color: #16110f; }
:root[data-theme="light"] .wb-body { color: rgba(38, 30, 27, 0.82); }
:root[data-theme="light"] .home-actions .button.secondary {
  color: #1c1715;
  border-color: rgba(28, 23, 21, 0.16);
  background: rgba(28, 23, 21, 0.06);
}
:root[data-theme="light"] .globe-stage { filter: brightness(0.92) contrast(0.82) saturate(0.9); }

/* ---- Compact impact cards anchored beneath the globe scene ---- */
.home-impact-dock {
  position: absolute;
  left: max(24px, calc((100vw - var(--maxw)) / 2));
  right: max(24px, calc((100vw - var(--maxw)) / 2));
  bottom: 14px;
  z-index: 3;
  text-shadow: none;
}
.home-impact-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.home-impact-cards article {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(5, 8, 13, 0.46);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}
.home-impact-cards strong {
  color: #fff8ef;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.025em;
}
.home-impact-cards span {
  color: rgba(238, 244, 249, 0.72);
  font-size: clamp(0.62rem, 0.72vw, 0.72rem);
  font-weight: 760;
  line-height: 1.25;
}
.home-impact-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 20px;
  margin-top: 6px;
  padding: 0;
  list-style: none;
  text-align: left;
}
.home-impact-meta li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px;
  margin: 0;
  color: rgba(224, 232, 239, 0.54);
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.35;
}
.home-impact-meta li::before { content: "*"; }
:root[data-theme="light"] .home-impact-cards article {
  border-color: rgba(28, 23, 21, 0.14);
  background: rgba(247, 249, 252, 0.62);
}
:root[data-theme="light"] .home-impact-cards strong { color: #16110f; }
:root[data-theme="light"] .home-impact-cards span { color: rgba(50, 42, 38, 0.76); }
:root[data-theme="light"] .home-impact-meta li { color: rgba(50, 42, 38, 0.58); }

/* ---- Shared fixed-globe reading treatment for screens two and three ---- */
.services-band,
.home-media-band {
  position: relative;
  z-index: 2;
  color: #f7f3ec;
  background: transparent;
  isolation: isolate;
}
.services-band::before,
.home-media-band::before {
  position: absolute;
  inset: 0 0 0 32%;
  z-index: -1;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 8, 14, 0), rgba(4, 8, 14, 0.68) 22%, rgba(4, 8, 14, 0.86));
  -webkit-backdrop-filter: blur(14px) saturate(112%);
  backdrop-filter: blur(14px) saturate(112%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%);
  mask-image: linear-gradient(90deg, transparent, #000 22%);
}
.home-media-band::before {
  background: linear-gradient(90deg, rgba(8, 6, 9, 0), rgba(8, 6, 9, 0.72) 22%, rgba(8, 6, 9, 0.9));
}
.services-band > .section-inner,
.home-media-band > .section-inner {
  position: relative;
  width: min(790px, 58vw);
  margin-left: auto;
}
.services-band .section-heading,
.home-media-band .section-heading { max-width: 720px; }
.services-band .section-heading h2,
.home-media-band .section-heading h2 {
  max-width: 18ch;
  color: #fff8ef;
  font-size: clamp(2.35rem, 4.2vw, var(--home-title-max));
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.62);
}
.services-band .eyebrow,
.home-media-band .eyebrow { color: #ff5264; }
.home-media-band .section-heading p:not(.eyebrow),
.services-band .services-cta p,
.services-band .students-label { color: rgba(238, 244, 249, 0.74); }
:root[data-theme="light"] .services-band,
:root[data-theme="light"] .home-media-band { color: #1c1715; }
:root[data-theme="light"] .services-band::before {
  background: linear-gradient(90deg, rgba(245, 248, 251, 0), rgba(245, 248, 251, 0.7) 22%, rgba(245, 248, 251, 0.9));
}
:root[data-theme="light"] .home-media-band::before {
  background: linear-gradient(90deg, rgba(248, 244, 241, 0), rgba(248, 244, 241, 0.72) 22%, rgba(248, 244, 241, 0.92));
}
:root[data-theme="light"] .services-band .section-heading h2,
:root[data-theme="light"] .home-media-band .section-heading h2 {
  color: #16110f;
  text-shadow: none;
}
:root[data-theme="light"] .home-media-band .section-heading p:not(.eyebrow),
:root[data-theme="light"] .services-band .services-cta p,
:root[data-theme="light"] .services-band .students-label { color: rgba(38, 30, 27, 0.76); }

/* ---- Compact second-screen journey ---- */
.services-band .section-heading h2 {
  font-size: clamp(2rem, 3.1vw, 3.4rem);
}
.services-steps {
  --step-line: rgba(255, 255, 255, 0.2);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
:root[data-theme="light"] .services-steps { --step-line: rgba(28, 23, 21, 0.2); }
.service-step {
  position: relative;
  min-width: 0;
  min-height: 126px;
  padding: 0 22px 58px 0;
  outline: none;
}
.service-step:not(:last-child)::after {
  position: absolute;
  top: 15px;
  left: 31px;
  right: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(215, 170, 98, 0.82), var(--step-line));
  transition: background-color 180ms ease, transform 180ms ease;
  transform-origin: left center;
}
.service-step__heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  gap: 0;
  align-items: start;
}
.service-index {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215, 170, 98, 0.7);
  border-radius: 50%;
  color: #140d0b;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(215, 170, 98, 0.1);
  font-size: 0.67rem;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.service-step h3 {
  margin: 4px 0 0 10px;
  color: inherit;
  font-size: 0.96rem;
  line-height: 1.3;
}
.service-step p {
  position: absolute;
  top: 49px;
  left: 0;
  right: 22px;
  margin: 0;
  color: rgba(238, 244, 249, 0.78);
  font-size: 0.76rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 180ms ease, transform 180ms ease;
}
:root[data-theme="light"] .service-step p { color: rgba(38, 30, 27, 0.74); }
.service-step:hover .service-index,
.service-step:focus-visible .service-index {
  transform: scale(1.08);
  box-shadow: 0 0 0 7px rgba(215, 170, 98, 0.16);
}
.service-step:hover p,
.service-step:focus-visible p {
  opacity: 1;
  transform: translateY(0);
}
.service-step:focus-visible::before {
  position: absolute;
  inset: -8px 12px 45px -8px;
  border: 2px solid rgba(215, 170, 98, 0.7);
  border-radius: 10px;
  content: "";
}
.services-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.services-cta .button { flex: 0 0 auto; }
.services-cta p {
  flex: 1 1 360px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* Student video strip: two measured groups make one exact, gap-safe loop. */
.students-band { margin-top: 14px; }
.students-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.students-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.students-track {
  --students-loop-distance: 0px;
  display: flex;
  gap: 12px;
  width: max-content;
  will-change: transform;
}
.students-track__group {
  display: flex;
  flex: none;
  gap: 12px;
}
.students-track[data-loop-ready] {
  animation: students-scroll 60s linear infinite;
}
.students-marquee:hover .students-track,
.students-marquee:focus-within .students-track { animation-play-state: paused; }
@keyframes students-scroll { to { transform: translate3d(calc(-1 * var(--students-loop-distance)), 0, 0); } }
.student-clip {
  position: relative;
  flex: 0 0 118px;
  aspect-ratio: 9 / 14;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #111;
  cursor: pointer;
}
.student-clip:focus-visible { outline: 3px solid rgba(215, 170, 98, 0.78); outline-offset: 3px; }
.student-clip video { width: 100%; height: 100%; display: block; object-fit: cover; }
.student-clip__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.72;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.student-clip__play .ui-icon { width: 18px; height: 18px; }
.student-clip:hover .student-clip__play,
.student-clip:focus-visible .student-clip__play { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
.student-clip figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: 7px;
  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  font-size: 0.7rem;
  font-weight: 750;
}

/* Anonymous student reflections, kept in three independent continuous lanes. */
.student-voices {
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
:root[data-theme="light"] .student-voices { border-top-color: rgba(28, 23, 21, 0.12); }
.student-voices__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}
.student-voices__heading h3 {
  min-width: 0;
  margin: 0;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}
.student-voices__heading p {
  min-width: 0;
  margin: 0;
  color: rgba(238, 244, 249, 0.58);
  font-size: 0.62rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
:root[data-theme="light"] .student-voices__heading p { color: rgba(38, 30, 27, 0.58); }
.student-voices__viewport {
  display: grid;
  gap: 6px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.student-voices__lane {
  --voices-loop-distance: 0px;
  display: flex;
  gap: 8px;
  width: max-content;
  will-change: transform;
}
.student-voices__group {
  display: flex;
  flex: none;
  gap: 8px;
}
.student-voices__lane[data-loop-ready] { animation: voices-scroll 46s linear infinite; }
.student-voices__lane:nth-child(2)[data-loop-ready] { animation-direction: reverse; animation-duration: 54s; }
.student-voices__lane:nth-child(3)[data-loop-ready] { animation-duration: 50s; }
.student-voices__viewport:hover .student-voices__lane { animation-play-state: paused; }
@keyframes voices-scroll { to { transform: translate3d(calc(-1 * var(--voices-loop-distance)), 0, 0); } }
.student-voice {
  box-sizing: border-box;
  display: grid;
  align-items: center;
  width: min(340px, 74vw);
  min-height: 3.15em;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  color: rgba(247, 243, 236, 0.86);
  background: rgba(10, 12, 16, 0.44);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  font-size: 0.68rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  white-space: normal;
}
:root[data-theme="light"] .student-voice {
  border-color: rgba(28, 23, 21, 0.12);
  color: rgba(28, 23, 21, 0.82);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 4px 16px rgba(57, 43, 37, 0.08);
}

/* ---- Restored third-screen student-life preview ---- */
.home-media-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(820px, 100%);
  margin-top: 26px;
}
.life-card {
  position: relative;
  aspect-ratio: 9 / 16;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #0b0b0b;
  border: 1px solid var(--line);
  cursor: pointer;
}
.life-card:focus-visible { outline: 3px solid rgba(215, 170, 98, 0.78); outline-offset: 3px; }
.life-card img { width: 100%; height: 100%; display: block; object-fit: cover; }
.life-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, background 0.2s ease;
}
.life-card__play .ui-icon { width: 20px; height: 20px; }
.life-card:hover .life-card__play { transform: translate(-50%, -50%) scale(1.06); background: rgba(143, 9, 21, 0.82); }
.life-card figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 9px;
  border-radius: 8px;
  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  font-size: 0.78rem;
  font-weight: 750;
}
.home-media-actions { display: flex; justify-content: flex-start; margin-top: 24px; }

/* Three full-height Home screens on desktop. The JS pager moves one panel per gesture. */
@media (min-width: 821px) and (pointer: fine) {
  html { scroll-padding-top: 78px; }
  .services-band,
  .home-media-band { min-height: 100dvh; display: flex; align-items: center; }
  .services-band > .section-inner,
  .home-media-band > .section-inner { flex: 0 1 auto; min-width: 0; }
}

@media (max-width: 1100px) {
  .home-globe-layer,
  .home-hero { --globe-size: min(1000px, max(680px, 100vw)); }
  .home-hero {
    padding-top: max(104px, var(--mdj-header-safe-offset));
    padding-bottom: 168px;
  }
  .globe-stage { opacity: 0.62; filter: brightness(0.68) contrast(0.76) saturate(0.8); }
  :root[data-theme="light"] .globe-stage { opacity: 0.48; filter: brightness(0.88) contrast(0.66) saturate(0.76); }
  .hero-copy { width: min(680px, 80vw); }
  .services-band > .section-inner,
  .home-media-band > .section-inner { width: min(760px, 72vw); }
}

@media (max-width: 820px) {
  .home-hero {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: max(92px, var(--mdj-header-safe-offset)) 20px 28px;
  }
  .hero-copy { width: 100%; margin: 0; }
  .home-impact-dock {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 28px;
  }
  .home-impact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-impact-meta { grid-template-columns: 1fr; gap: 4px; }
  .services-band::before,
  .home-media-band::before {
    inset: 0;
    background: rgba(4, 8, 14, 0.78);
    -webkit-mask-image: none;
    mask-image: none;
    -webkit-backdrop-filter: blur(10px) saturate(108%);
    backdrop-filter: blur(10px) saturate(108%);
  }
  :root[data-theme="light"] .services-band::before,
  :root[data-theme="light"] .home-media-band::before { background: rgba(246, 244, 241, 0.8); }
  .services-band > .section-inner,
  .home-media-band > .section-inner { width: 100%; margin-left: 0; }
  .services-steps {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 22px;
  }
  .service-step {
    min-height: 0;
    padding: 0 0 0 46px;
  }
  .service-step__heading {
    grid-template-columns: 34px minmax(0, 1fr);
    margin-left: -46px;
  }
  .service-step:not(:last-child)::after {
    top: 31px;
    bottom: -12px;
    left: 15px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(rgba(215, 170, 98, 0.82), var(--step-line));
  }
  .service-step p {
    position: static;
    margin-top: 4px;
    color: rgba(238, 244, 249, 0.72);
    opacity: 1;
    transform: none;
  }
  .service-step:focus-visible::before { inset: -6px -6px -6px 38px; }
  .student-voices__heading { align-items: flex-start; flex-direction: column; gap: 2px; }
  .services-cta { align-items: stretch; }
  .services-cta .button { flex: 1 1 auto; }
  .home-media-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .home-globe-layer,
  .home-hero { --globe-size: min(720px, 165vw); }
  .globe-stage { opacity: 0.48; filter: brightness(0.56) contrast(0.68) saturate(0.72); }
  :root[data-theme="light"] .globe-stage { opacity: 0.4; filter: brightness(0.84) contrast(0.58) saturate(0.68); }
  .wb-eyebrow { margin-bottom: 8px; font-size: 0.7rem; letter-spacing: 0.08em; }
  .wb-body { margin-top: 12px; font-size: 0.96rem; line-height: 1.55; }
  .home-actions { margin-top: 18px; gap: 8px; }
  .hero-copy h1 { max-width: 14ch; font-size: 2.18rem; line-height: 1.04; }
  .wb-body { max-width: 35ch; }
  .home-actions { display: grid; }
  .home-actions .button { width: 100%; min-height: 46px; }
  .home-impact-cards article { min-height: 70px; padding: 10px 11px; }
  .home-impact-cards strong { font-size: 1.3rem; }
  .home-impact-cards span { font-size: 0.6rem; }
  .home-impact-meta li { font-size: 0.54rem; }
  .home-media-preview { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .mdj-hub-ripple__ring,
  .students-track,
  .student-voices__lane { animation: none; }
  .mdj-hub-ripple__ring { opacity: 0.36; transform: scale(1.8); }
  .students-track,
  .student-voices__lane { flex-wrap: wrap; width: 100%; }
  .student-voices__group { flex-wrap: wrap; }
  .student-voice { max-width: 100%; white-space: normal; }
}

@media (min-width: 821px) and (pointer: fine) and (max-height: 850px) {
  .section.services-band,
  .section.home-media-band { padding-top: 72px; padding-bottom: 44px; }
  .services-steps { margin-top: 16px; }
  .service-step { min-height: 106px; padding-bottom: 50px; }
  .service-step p { font-size: 0.69rem; line-height: 1.38; }
  .students-band { margin-top: 8px; }
  .student-clip { flex-basis: 92px; }
  .student-voices { margin-top: 9px; padding-top: 8px; }
  .student-voice { padding-block: 4px; font-size: 0.62rem; }
  .services-cta { margin-top: 10px; }
  .home-media-preview { width: min(680px, 100%); margin-top: 18px; }
  .home-media-actions { margin-top: 16px; }
}
