.hero {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(4, 14, 34, 0.6) 0%, rgba(2, 8, 18, 0.88) 30%, rgba(2, 8, 18, 0.9) 66%, rgba(4, 14, 34, 0.56) 100%),
    url("../assets/images/aidt-campus-hero.png");
  background-position: center;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 78px),
    linear-gradient(25deg, rgba(229, 199, 119, 0.06) 0 1px, transparent 1px 94px),
    linear-gradient(90deg, rgba(179, 25, 66, 0.12), transparent 34%),
    radial-gradient(circle at 78% 16%, rgba(229, 199, 119, 0.18), transparent 18rem);
  opacity: 0.9;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 78px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(247, 242, 231, 0), var(--ivory));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  padding-top: 18px;
  padding-bottom: 28px;
}

.hero-grid::before {
  content: "AIDT";
  position: absolute;
  right: -18px;
  bottom: 0;
  z-index: -1;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--serif);
  font-size: clamp(5rem, 28vw, 16rem);
  font-weight: 700;
  line-height: 0.75;
  pointer-events: none;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.hero-visual {
  order: -1;
}

.hero h1 {
  max-width: 690px;
  color: var(--white);
  font-size: 2.08rem;
  line-height: 1.04;
}

.hero-intro {
  max-width: 640px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.94rem;
  line-height: 1.52;
}

.hero .eyebrow {
  color: var(--gold-light);
}

.hero-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.hero-tagline {
  max-width: 560px;
  margin-top: 18px;
  padding-left: 13px;
  color: rgba(255, 255, 255, 0.78);
  border-left: 3px solid var(--gold);
  font-weight: 750;
}

.hero-tagline::after {
  content: "";
  display: block;
  width: 116px;
  height: 2px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--gold), var(--red), transparent);
  animation: accentPulse 4.8s ease-in-out infinite;
}

.globe-card {
  position: relative;
  width: 100%;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(2, 8, 18, 0.72);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(16px);
}

.globe-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 38%, rgba(255, 255, 255, 0.12) 46%, transparent 54% 100%);
  transform: translateX(-120%);
  animation: sealGlint 7.5s ease-in-out infinite;
}

.globe-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-top: 3px solid var(--gold);
}

.globe-card-header {
  display: grid;
  gap: 4px;
  padding: 3px 4px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.globe-card-header span,
.globe-card-header strong {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.globe-card-header strong {
  color: var(--gold-light);
}

.globe-stage {
  position: relative;
  height: 202px;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid rgba(229, 199, 119, 0.24);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 54% 45%, rgba(229, 199, 119, 0.1), transparent 13rem),
    linear-gradient(145deg, #020812, #061a40 56%, #020812);
}

.aidt-globe,
.globe-fallback {
  position: absolute;
  inset: 0;
}

.aidt-globe {
  z-index: 1;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
}

.aidt-globe:active {
  cursor: grabbing;
}

.aidt-globe canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.globe-fallback {
  z-index: 2;
  display: grid;
  place-items: center;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.globe-stage.globe-ready .globe-fallback {
  opacity: 0;
}

.globe-stage.globe-fallback-active .globe-fallback {
  opacity: 1;
}

.fallback-sphere {
  position: relative;
  width: min(76%, 285px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(229, 199, 119, 0.24);
  border-radius: 50%;
  background:
    radial-gradient(circle at 62% 36%, rgba(255, 255, 255, 0.28), transparent 0 16%, rgba(255, 255, 255, 0) 33%),
    radial-gradient(circle at 44% 48%, #0b2d67, #061a40 64%, #020812 100%);
  box-shadow:
    inset -24px -20px 46px rgba(2, 8, 18, 0.55),
    0 0 46px rgba(229, 199, 119, 0.16);
}

.fallback-sphere::before,
.fallback-sphere::after {
  content: "";
  position: absolute;
  opacity: 0.62;
}

.fallback-sphere::before {
  inset: 0;
  background:
    radial-gradient(circle at 31% 43%, rgba(255, 255, 255, 0.95) 0 3px, transparent 4px),
    radial-gradient(circle at 63% 38%, rgba(229, 199, 119, 0.96) 0 4px, transparent 5px),
    radial-gradient(circle at 73% 46%, rgba(179, 25, 66, 0.9) 0 3px, transparent 4px),
    linear-gradient(18deg, transparent 0 45%, rgba(242, 213, 138, 0.28) 46%, transparent 52% 100%);
}

.fallback-sphere::after {
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(229, 199, 119, 0.18) 35px, transparent 36px),
    repeating-linear-gradient(0deg, transparent 0 42px, rgba(229, 199, 119, 0.14) 43px, transparent 44px);
  border-radius: 50%;
}

.fallback-sphere img {
  position: absolute;
  inset: 16% -24%;
  width: 148%;
  max-width: none;
  height: auto;
  opacity: 0.34;
  filter: sepia(1) saturate(1.8) hue-rotate(352deg) contrast(1.35);
  mix-blend-mode: screen;
}

.fallback-route {
  position: absolute;
  width: 44%;
  height: 24%;
  border-top: 2px solid rgba(229, 199, 119, 0.7);
  border-radius: 50%;
  transform: rotate(14deg);
}

.fallback-route-one {
  top: 30%;
  left: 25%;
}

.fallback-route-two {
  top: 37%;
  left: 45%;
  width: 28%;
  transform: rotate(-24deg);
}

.globe-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 8px;
}

.globe-points div {
  min-height: 58px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.065);
}

.globe-points strong,
.globe-points span {
  display: block;
}

.globe-points strong {
  color: var(--white);
  font-family: var(--serif);
  font-size: 0.92rem;
  line-height: 1.1;
}

.globe-points span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.7rem;
  line-height: 1.35;
}

.trust-strip {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border: 1px solid rgba(229, 199, 119, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(179, 25, 66, 0.12), rgba(229, 199, 119, 0.16), rgba(6, 26, 64, 0.12)),
    rgba(6, 26, 64, 0.12);
  box-shadow: 0 18px 52px rgba(2, 8, 18, 0.18);
  padding: 6px;
}

.trust-strip::-webkit-scrollbar {
  display: none;
}

.trust-strip div {
  position: relative;
  min-width: 76%;
  min-height: 86px;
  padding: 18px;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 240, 0.94)),
    var(--ivory-2);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.trust-strip div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0.36);
  transform-origin: left;
  transition: transform 220ms ease;
}

.trust-strip div::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 40%, rgba(255, 255, 255, 0.58) 48%, transparent 56% 100%);
  transform: translateX(-130%);
  transition: transform 520ms ease;
}

.trust-strip div:hover {
  z-index: 1;
  transform: translateY(-3px);
  background: var(--white);
  border-color: rgba(229, 199, 119, 0.7);
  box-shadow: 0 18px 38px rgba(6, 26, 64, 0.16);
}

.trust-strip div:hover::before {
  transform: scaleX(1);
}

.trust-strip div:hover::after {
  transform: translateX(130%);
}

.trust-strip span {
  display: block;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.trust-strip strong {
  display: block;
  margin-top: 7px;
  color: var(--navy);
  line-height: 1.35;
}

@media (min-width: 700px) {
  .hero-grid {
    gap: 32px;
    padding-top: 28px;
    padding-bottom: 42px;
  }

  .hero h1 {
    font-size: 4.1rem;
    line-height: 0.98;
  }

  .globe-card {
    width: min(100%, 620px);
    margin-inline: auto;
    padding: 14px;
  }

  .globe-card-header {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .globe-stage {
    height: 390px;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .trust-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
  }

  .trust-strip div {
    min-width: 0;
  }
}

@media (max-width: 699px) {
  .hero-grid {
    gap: 16px;
    padding-top: 14px;
    padding-bottom: 26px;
  }

  .hero-copy {
    padding-bottom: 8px;
  }

  .hero h1 {
    font-size: 1.92rem;
    line-height: 1.04;
  }

  .hero-intro {
    margin-top: 13px;
    font-size: 0.92rem;
  }

  .hero-tagline {
    margin-top: 12px;
    font-size: 0.9rem;
    line-height: 1.48;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .section {
    padding: 48px 0;
  }

  .globe-card {
    padding: 9px;
    border-radius: 6px;
  }

  .globe-stage {
    height: 252px;
  }

  .globe-card-header span,
  .globe-card-header strong {
    font-size: 0.64rem;
  }

  .globe-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .globe-points div {
    min-height: 54px;
    padding: 8px 7px;
  }

  .trust-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 8px;
    overflow: visible;
    scroll-snap-type: none;
  }

  .trust-strip div {
    min-width: 0;
    padding: 16px 14px;
  }

  .section-header {
    margin-bottom: 20px;
  }
}

@media (min-width: 980px) {
  .hero {
    min-height: 760px;
    background:
      linear-gradient(90deg, rgba(2, 8, 18, 0.96) 0%, rgba(6, 26, 64, 0.91) 48%, rgba(6, 26, 64, 0.62) 100%),
      url("../assets/images/aidt-campus-hero.png");
    background-position: center;
    background-size: cover;
  }

  .hero-grid {
    min-height: 650px;
    grid-template-columns: minmax(0, 0.95fr) minmax(410px, 0.82fr);
    align-items: center;
    gap: 48px;
    padding-top: 34px;
  }

  .hero-visual {
    order: 0;
  }

  .hero-copy {
    padding-top: 16px;
  }

  .hero-intro {
    font-size: 1.08rem;
    line-height: 1.62;
  }

  .hero h1 {
    font-size: 4.75rem;
  }

  .globe-card {
    width: min(100%, 540px);
    margin-left: auto;
  }

  .globe-stage {
    height: 430px;
  }

  .trust-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-strip div {
    min-height: 94px;
  }
}

/* Tablet hero: bridge the phone and full desktop compositions without
   stacking an oversized globe above equally oversized desktop copy. */
@media (min-width: 768px) and (max-width: 1099px) {
  .hero {
    min-height: 760px;
    background:
      linear-gradient(90deg, rgba(2, 8, 18, 0.95) 0%, rgba(6, 26, 64, 0.88) 52%, rgba(6, 26, 64, 0.62) 100%),
      url("../assets/images/aidt-campus-hero.png");
    background-position: center;
    background-size: cover;
  }

  .hero-grid {
    min-height: 650px;
    grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
    align-items: center;
    gap: clamp(24px, 3.5vw, 38px);
    padding-top: 26px;
    padding-bottom: 36px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-visual {
    order: 0;
  }

  .hero h1 {
    max-width: 560px;
    font-size: clamp(3rem, 5.4vw, 3.7rem);
    line-height: 0.98;
  }

  .hero-intro {
    margin-top: 15px;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .hero-actions .btn {
    min-height: 48px;
    padding-inline: 18px;
  }

  .hero-tagline {
    margin-top: 15px;
    font-size: 0.9rem;
  }

  .globe-card {
    width: 100%;
    margin-inline: 0;
    padding: 11px;
  }

  .globe-card-header {
    gap: 8px;
  }

  .globe-card-header span,
  .globe-card-header strong {
    font-size: 0.66rem;
  }

  .globe-stage {
    height: clamp(290px, 34vw, 350px);
  }

  .globe-points div {
    min-height: 58px;
    padding: 9px 8px;
  }

  .globe-points strong {
    font-size: 0.82rem;
  }

  .globe-points span {
    font-size: 0.66rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 44px 0;
  }

  .globe-card {
    padding: 8px;
  }

  .trust-strip div {
    padding: 14px 12px;
  }
}

@media (max-width: 390px) {
  .globe-stage {
    height: 236px;
  }

  .globe-points strong {
    font-size: 0.9rem;
  }

  .globe-points span {
    font-size: 0.66rem;
  }
}

@media (max-width: 360px) {
  .section {
    padding: 40px 0;
  }

  .globe-stage {
    height: 214px;
  }

  .trust-strip div {
    padding: 12px 10px;
  }
}

@keyframes sealGlint {
  0%,
  46% {
    transform: translateX(-120%);
  }

  58% {
    transform: translateX(120%);
  }

  100% {
    transform: translateX(120%);
  }
}

@keyframes accentPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scaleX(0.72);
    transform-origin: left;
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left;
  }
}

/* =========================================================
   AIDT for You (audience mosaic) — replaces What AIDT Does,
   Choose Your AIDT Route, and the pathfinder cards.
   Base rules here are a simple mobile-first fallback; phone
   gets its own UCR-inspired treatment from home-mobile.css.
   ========================================================= */
.audience-mosaic {
  background-color: var(--ivory);
  background-image:
    linear-gradient(180deg, rgba(247, 242, 231, 0.9), rgba(255, 250, 240, 0.86)),
    url("../assets/images/audience-pattern-bg.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.mosaic-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  min-height: 260px;
  background-color: var(--navy-deep);
  background-size: cover;
  background-repeat: no-repeat;
}

.mosaic-tile--students { background-image: url("../assets/images/students-hero.jpg"); background-position: 62% 40%; }
.mosaic-tile--professionals { background-image: url("../assets/images/professionals-hero.jpg"); background-position: 68% 38%; }
.mosaic-tile--companies { background-image: url("../assets/images/companies-hero.jpg"); background-position: 66% 36%; }
.mosaic-tile--government { background-image: url("../assets/images/government-audience-hero.jpg"); background-position: 64% 40%; }
.mosaic-tile--universities { background-image: url("../assets/images/universities-hero.jpg"); background-position: 60% 42%; }
.mosaic-tile--partners { background-image: url("../assets/images/partners-hero.jpg"); background-position: 62% 38%; }

.mosaic-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, rgba(2, 8, 18, 0.05) 0%, rgba(2, 8, 18, 0.64) 60%, rgba(2, 8, 18, 0.9) 100%);
  transition: background 220ms ease;
}

.mosaic-tile-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  padding: 20px 22px 22px;
}

.mosaic-tile-content::before {
  content: "";
  width: 30px;
  height: 3px;
  margin-bottom: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.mosaic-tile--students .mosaic-tile-content::before,
.mosaic-tile--partners .mosaic-tile-content::before {
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.mosaic-tile-title {
  color: var(--white);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.2;
}

.mosaic-tile-desc {
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  line-height: 1.45;
}

.mosaic-tile-arrow {
  align-self: flex-end;
  margin-top: -20px;
  color: var(--gold-light);
  font-size: 1.05rem;
  transition: transform 200ms ease;
}

.mosaic-tile:hover .mosaic-tile-arrow,
.mosaic-tile:focus-visible .mosaic-tile-arrow {
  transform: translateX(4px);
}

.mosaic-tile:hover .mosaic-tile-overlay,
.mosaic-tile:focus-visible .mosaic-tile-overlay {
  background: linear-gradient(190deg, rgba(2, 8, 18, 0.1) 0%, rgba(2, 8, 18, 0.7) 56%, rgba(2, 8, 18, 0.92) 100%);
}

.mosaic-tile:focus-visible {
  outline: 3px solid rgba(229, 199, 119, 0.84);
  outline-offset: -3px;
}

@media (hover: hover) and (pointer: fine) {
  .mosaic-tile {
    transition: background-size 480ms ease;
  }

  .mosaic-tile:hover,
  .mosaic-tile:focus-visible {
    background-size: 103%;
  }
}

/* =========================================================
   Course Portfolio gateway — one full-width image panel.
   ========================================================= */
.course-gateway {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background: var(--navy-deep);
}

.course-gateway-media {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/courses-hero.jpg");
  background-size: cover;
  background-position: 72% 50%;
}

.course-gateway-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(2, 8, 18, 0.94) 0%, rgba(2, 8, 18, 0.8) 34%, rgba(2, 8, 18, 0.32) 66%, rgba(2, 8, 18, 0) 92%);
}

.course-gateway::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(229, 199, 119, 0.5), transparent);
}

.course-gateway .container {
  position: relative;
  z-index: 1;
}

.course-gateway-copy {
  max-width: 560px;
  padding-block: 56px;
  color: var(--white);
}

.course-gateway-copy .section-kicker {
  color: var(--gold-light);
}

.course-gateway-copy h2 {
  color: var(--white);
  max-width: 16ch;
}

.course-gateway-copy p {
  max-width: 48ch;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.course-gateway-copy .btn {
  margin-top: 24px;
}

/* =========================================================
   Islamic Studies gateway — one full-width image panel.
   Emerald stays exclusive to this section.
   ========================================================= */
.islamic-gateway {
  --isl-emerald-deep: #021410;
  --isl-gold: #f0d58a;
  --isl-ink-on-gold: #082f26;
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  background: var(--isl-emerald-deep);
}

.islamic-gateway-media {
  position: absolute;
  inset: 0;
  display: block;
  background:
    radial-gradient(circle at 78% 48%, rgba(240, 213, 138, 0.12), transparent 22rem),
    var(--isl-emerald-deep);
}

.islamic-gateway-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: right center;
}

.islamic-gateway-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(2, 20, 16, 0.98) 0%, rgba(2, 20, 16, 0.9) 35%, rgba(2, 20, 16, 0.44) 62%, rgba(2, 20, 16, 0.02) 94%),
    linear-gradient(180deg, rgba(2, 20, 16, 0.08) 0%, rgba(2, 20, 16, 0.28) 100%);
}

.islamic-gateway::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(240, 213, 138, 0.45), transparent);
}

.islamic-gateway .container {
  position: relative;
  z-index: 1;
}

.islamic-gateway-copy {
  max-width: 560px;
  padding-block: 64px;
  color: #f8f0dc;
}

.islamic-gateway-copy .section-kicker {
  color: var(--isl-gold);
}

.islamic-gateway-copy .section-kicker::before {
  background: linear-gradient(90deg, var(--isl-gold), transparent);
}

.islamic-gateway-copy h2 {
  max-width: 16ch;
  color: #fff7e6;
}

.islamic-gateway-copy p {
  max-width: 46ch;
  margin-top: 14px;
  color: rgba(255, 247, 230, 0.78);
}

.islamic-gateway-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 50px;
  margin-top: 24px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  color: var(--isl-ink-on-gold);
  background: var(--isl-gold);
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.islamic-gateway-btn:hover,
.islamic-gateway-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

/* =========================================================
   China Business School gateway — one full-width image panel,
   inserted between Course Portfolio and Islamic Studies.
   ========================================================= */
.china-gateway {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background: var(--navy-deep);
}

.china-gateway-media {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/china-business-school-hero-desktop.jpg");
  background-size: cover;
  background-position: 78% 20%;
  transition: transform 500ms ease;
}

.china-gateway-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(2, 8, 18, 0.97) 0%, rgba(2, 8, 18, 0.88) 32%, rgba(2, 8, 18, 0.4) 62%, rgba(2, 8, 18, 0.05) 90%);
}

.china-gateway::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(229, 199, 119, 0.5), transparent);
}

.china-gateway .container {
  position: relative;
  z-index: 1;
}

.china-gateway-copy {
  max-width: 560px;
  padding-block: 56px;
  color: var(--white);
}

.china-gateway-copy .section-kicker {
  color: var(--gold-light);
}

.china-gateway-copy h2 {
  color: var(--white);
  max-width: 16ch;
}

.china-gateway-copy p {
  max-width: 48ch;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.china-gateway-line {
  color: rgba(229, 199, 119, 0.92);
  font-weight: 800;
  font-size: 0.9rem;
}

.china-gateway-copy .btn {
  margin-top: 24px;
}

@media (min-width: 700px) {
  .china-gateway {
    min-height: 520px;
  }

  .china-gateway-copy {
    padding-block: 70px;
  }
}

@media (min-width: 980px) {
  .china-gateway {
    min-height: 620px;
  }

  .china-gateway-copy {
    padding-block: 96px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .china-gateway:hover .china-gateway-media {
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .china-gateway-media {
    transition: none;
  }
}

/* =========================================================
   Compact contact CTA
   ========================================================= */
.home-contact-cta {
  position: relative;
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
}

.home-contact-cta-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-block: 44px;
}

.home-contact-cta-copy .section-kicker {
  color: var(--gold-light);
}

.home-contact-cta-copy h2 {
  color: var(--white);
}

.home-contact-cta-copy p {
  max-width: 56ch;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.home-contact-cta-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.home-contact-cta-email {
  color: var(--gold-light);
  font-weight: 800;
  font-size: 0.94rem;
}

.home-contact-cta-email:hover,
.home-contact-cta-email:focus-visible {
  color: var(--white);
}

/* =========================================================
   New-section tablet tier (700px+) — matches this file's
   existing tablet breakpoint for the rest of the homepage.
   ========================================================= */
@media (min-width: 700px) {
  .mosaic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .course-gateway {
    min-height: 520px;
  }

  .course-gateway-copy,
  .islamic-gateway-copy {
    padding-block: 70px;
  }

  .islamic-gateway {
    min-height: 520px;
  }

  .home-contact-cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-block: 52px;
  }

  .home-contact-cta-action {
    flex: 0 0 auto;
    align-items: flex-end;
    padding-left: 32px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    text-align: right;
  }
}

/* =========================================================
   New-section desktop tier (980px+) — full editorial mosaic.
   ========================================================= */
@media (min-width: 980px) {
  .mosaic-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .mosaic-tile--students { grid-column: span 5; min-height: 440px; }
  .mosaic-tile--professionals { grid-column: span 3; min-height: 360px; }
  .mosaic-tile--companies { grid-column: span 4; min-height: 360px; }
  .mosaic-tile--government { grid-column: span 4; min-height: 360px; }
  .mosaic-tile--universities { grid-column: span 3; min-height: 360px; }
  .mosaic-tile--partners { grid-column: span 5; min-height: 440px; }

  .mosaic-tile-content {
    padding: 28px 30px 30px;
  }

  .mosaic-tile-title {
    font-size: 1.3rem;
  }

  .course-gateway,
  .islamic-gateway {
    min-height: 620px;
  }

  .course-gateway-copy,
  .islamic-gateway-copy {
    padding-block: 96px;
  }
}

/* Career Core homepage gateway */
.career-core-gateway {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
  background:
    radial-gradient(circle at 92% 10%, rgba(183, 138, 45, 0.12), transparent 19rem),
    linear-gradient(180deg, var(--ivory-2), var(--ivory));
}

.career-core-gateway::after {
  content: "CORE";
  position: absolute;
  right: -28px;
  bottom: -34px;
  color: rgba(6, 26, 64, 0.026);
  font-family: var(--serif);
  font-size: clamp(8rem, 22vw, 19rem);
  font-weight: 700;
  line-height: 0.72;
  pointer-events: none;
}

.career-core-gateway-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(480px, 1.06fr);
  align-items: center;
  gap: 70px;
}

.career-core-gateway-media {
  position: relative;
}

.career-core-gateway-media::before {
  content: "";
  position: absolute;
  inset: -12px 12px 12px -12px;
  border: 1px solid rgba(183, 138, 45, 0.34);
  pointer-events: none;
}

.career-core-gateway-media img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.career-core-gateway-media figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 310px;
  padding: 13px 16px;
  color: var(--white);
  border-left: 3px solid var(--gold);
  background: rgba(2, 8, 18, 0.88);
  box-shadow: 0 14px 34px rgba(2, 8, 18, 0.24);
}

.career-core-gateway-media figcaption strong,
.career-core-gateway-media figcaption span {
  display: block;
}

.career-core-gateway-media figcaption strong {
  font-family: var(--serif);
}

.career-core-gateway-media figcaption span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  line-height: 1.35;
}

.career-core-gateway-content {
  min-width: 0;
}

.career-core-gateway-content > p {
  margin-top: 18px;
  color: var(--muted);
}

.career-core-gateway-pathways {
  margin-top: 25px;
  border-top: 1px solid var(--gold);
}

.career-core-gateway-pathways a {
  min-height: 76px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, padding-left 180ms ease;
}

.career-core-gateway-pathways a:hover {
  padding-left: 14px;
  background: rgba(183, 138, 45, 0.08);
}

.career-core-gateway-pathways a > span {
  color: var(--red);
  font-size: 0.66rem;
  font-weight: 900;
}

.career-core-gateway-pathways strong,
.career-core-gateway-pathways small {
  display: block;
}

.career-core-gateway-pathways strong {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.25;
}

.career-core-gateway-pathways small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.4;
}

.career-core-gateway-content .career-core-gateway-also {
  max-width: 68ch;
  margin-top: 20px;
  padding-left: 14px;
  color: var(--muted-strong);
  border-left: 2px solid var(--gold);
  font-size: 0.73rem;
  line-height: 1.5;
}

.career-core-gateway-content .btn {
  margin-top: 25px;
}

@media (max-width: 1099px) {
  .career-core-gateway-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
    gap: 42px;
  }
}

@media (max-width: 899px) {
  .career-core-gateway {
    padding: 68px 0;
  }

  .career-core-gateway-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .career-core-gateway-media {
    max-width: 760px;
  }

  .career-core-gateway-content {
    max-width: 720px;
  }
}

@media (max-width: 767px) {
  .career-core-gateway {
    padding: 54px 0;
  }

  .career-core-gateway::after {
    display: none;
  }

  .career-core-gateway-layout {
    gap: 30px;
  }

  .career-core-gateway-media::before {
    inset: -7px 7px 7px -7px;
  }

  .career-core-gateway-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
  }

  .career-core-gateway-media figcaption {
    right: 10px;
    bottom: 10px;
    max-width: 250px;
  }

  .career-core-gateway-content h2 {
    font-size: clamp(2.05rem, 9.5vw, 2.7rem);
  }

  .career-core-gateway-pathways a {
    min-height: 72px;
    padding: 11px 4px;
  }

  .career-core-gateway-content .career-core-gateway-also {
    margin-top: 17px;
    font-size: 0.7rem;
  }

  .career-core-gateway-content .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .career-core-gateway-pathways a {
    transition: none;
  }
}
