/* Homepage hero: one cinematic surface with a compact office rail. */
.hero {
  position: relative;
  isolation: isolate;
  color: var(--white);
  background: var(--navy-deep);
}
.hero-media { position: absolute; inset: 0; z-index: 0; display: block; pointer-events: none; }
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 64% center; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 9, 23, .88), rgba(3, 15, 34, .7) 35%, rgba(3, 15, 34, .12) 66%, transparent 100%),
    linear-gradient(180deg, rgba(2, 9, 23, .35), transparent 32%, transparent 65%, rgba(2, 9, 23, .85));
}
.hero-shell {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  width: min(1320px, calc(100% - 80px));
  min-height: 820px;
  margin-inline: auto;
  padding: calc(var(--header-height) + 64px) 0 28px;
}
.hero-main { display: flex; align-items: center; flex: 1; min-width: 0; }
.hero-copy { width: min(100%, 760px); }
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--gold-light);
  font-size: .6875rem;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0;
}
.hero .eyebrow::before { content: ""; width: 28px; height: 2px; flex: 0 0 28px; background: linear-gradient(90deg, var(--red), var(--gold)); }
.hero h1 { max-width: 100%; padding-bottom: .08em; color: var(--ivory); font-size: clamp(3.25rem, var(--hero-heading-size, 3.75rem), 4.5rem); line-height: 1.06; letter-spacing: 0; }
.hero h1 span { display: block; text-wrap: balance; }
.hero-intro { max-width: 51ch; margin-top: 24px; color: #f0ede7; font-size: 1.125rem; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-actions .btn { min-height: 50px; }
.hero-actions .btn-light { color: var(--ivory); background: rgba(3, 14, 32, .48); border-color: rgba(229, 199, 119, .7); box-shadow: none; }
.hero-actions .btn-light:hover { background: rgba(3, 14, 32, .8); border-color: var(--gold-light); color: var(--white); }
.hero-presence {
  display: grid;
  grid-template-columns: 140px repeat(2, minmax(0, 1fr));
  align-items: stretch;
  border-top: 1px solid rgba(229, 199, 119, .55);
  border-bottom: 1px solid rgba(229, 199, 119, .22);
  background: rgba(3, 16, 37, .8);
}
.hero-presence-intro { display: flex; align-items: center; padding: 16px 18px; }
.hero-presence-intro > span { color: var(--gold-light); font-size: .6875rem; font-weight: 800; text-transform: uppercase; line-height: 1.5; letter-spacing: 0; }
.hero-location {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  gap: 8px 14px;
  min-width: 0;
  padding: 16px 20px;
  border-inline-start: 1px solid rgba(229, 199, 119, .25);
}
.hero-location-header { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hero-location-flag { display: block; width: 36px; height: auto; flex: 0 0 36px; object-fit: contain; }
.hero-location-header small, .hero-location-header strong { display: block; }
.hero-location-header small { color: var(--gold-light); font-size: .625rem; line-height: 1.3; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.hero-location-header strong { margin-top: 3px; color: var(--ivory); font-family: var(--serif); font-size: 1.125rem; line-height: 1.2; }
.hero-location address { grid-column: 1 / -1; color: #e3e5e9; font-size: .8125rem; font-style: normal; line-height: 1.5; unicode-bidi: isolate; }
.hero-location address span { display: block; }
.hero-location-phone {
  display: inline-flex;
  align-items: center;
  grid-column: 2;
  grid-row: 1;
  min-height: 44px;
  color: var(--ivory);
  font-size: .8125rem;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
  unicode-bidi: isolate;
}
.hero-location-phone:hover { color: var(--gold-light); }
.hero-location-phone:focus-visible, .hero-actions .btn:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }
html[dir="rtl"] .hero-copy { margin-inline-start: auto; }
html[dir="rtl"] .hero::before {
  background:
    linear-gradient(270deg, rgba(2, 9, 23, .9), rgba(3, 15, 34, .75) 35%, rgba(3, 15, 34, .18) 70%, transparent),
    linear-gradient(180deg, rgba(2, 9, 23, .35), transparent 32%, rgba(2, 9, 23, .85));
}
html[dir="rtl"] .hero-location address { text-align: start; }
html[lang="fr"] .hero h1 { --hero-heading-size: 3.25rem; }
@media (min-width: 768px) and (max-width: 1299px) {
  .hero-shell { width: calc(100% - 64px); min-height: 780px; gap: 36px; padding-top: calc(var(--header-height) + 44px); }
  .hero h1 { --hero-heading-size: 3.5rem; }
  .hero-copy { width: min(100%, 760px); }
  .hero-presence { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-presence-intro { grid-column: 1 / -1; padding: 10px 20px; border-bottom: 1px solid rgba(229, 199, 119, .2); }
  .hero-location:first-of-type { border-inline-start: 0; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .hero h1 { --hero-heading-size: 3.25rem; }
  .hero-shell { width: calc(100% - 48px); }
  .hero-location { grid-template-columns: minmax(0, 1fr); }
  .hero-location-phone { grid-column: 1; grid-row: auto; justify-self: start; }
  .hero-intro { max-width: 44ch; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .reveal { opacity: 1; transform: none; transition: none; }
  .hero .btn { transition: none; transform: none; }
}
@media (max-width: 360px) {
  .section { padding: 40px 0; }
}

/* =========================================================
   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-lossless.webp"); 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;
}



















































@media (min-width: 700px) {
  

  
}

@media (min-width: 980px) {
  

  
}

@media (hover: hover) and (pointer: fine) {
  
}

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

/* =========================================================
   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 {
    padding-block: 70px;
  }

  

  .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 {
    min-height: 620px;
  }

  .course-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;
  }
}

/* =========================================================
   AIDT Signature Gateway: homepage program and audience cards.
   Scoped to the two approved homepage sections.
   ========================================================= */
.home-offerings,
.home-audiences {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 92px;
}

.home-offerings {
  padding-block: 92px 112px;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 9%, rgba(183, 138, 45, 0.14), transparent 29rem),
    linear-gradient(145deg, #020812 0%, #061a40 58%, #081f46 100%);
}

.home-offerings::before,
.home-audiences::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-repeat: no-repeat;
}

.home-offerings::before {
  opacity: 0.09;
  background-image: url("../assets/images/about-global-dark-bg.jpg");
  background-position: center top;
  background-size: cover;
}

.home-offerings::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: auto 0 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(229, 199, 119, 0.72), transparent);
}

.home-offerings .container,
.home-audiences .container {
  position: relative;
  z-index: 1;
}

.home-signature-header {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.55fr);
  align-items: end;
  column-gap: clamp(48px, 7vw, 112px);
  max-width: none;
  margin: 0;
  text-align: left;
}

.home-signature-header .section-kicker {
  grid-column: 1 / -1;
  color: var(--gold-light);
}

.home-signature-header h2 {
  grid-column: 1;
  max-width: 760px;
  margin-top: 16px;
  color: var(--white);
  font-size: clamp(2.65rem, 4.2vw, 3.95rem);
  line-height: 0.98;
}

.home-signature-header p {
  grid-column: 2;
  max-width: 580px;
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.72;
}

.home-offering-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 58px;
}

.home-offering-card {
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  min-height: 438px;
  overflow: hidden;
  align-items: flex-end;
  color: var(--white);
  background: var(--navy-deep);
  border: 1px solid rgba(229, 199, 119, 0.56);
  border-radius: 2px;
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.home-offering-card::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 10px;
  pointer-events: none;
  border: 1px solid rgba(229, 199, 119, 0.36);
  transition: border-color 180ms ease, inset 180ms ease;
}

.home-offering-card::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: -1px;
  right: -1px;
  width: 40px;
  height: 40px;
  pointer-events: none;
  background: linear-gradient(135deg, var(--navy-deep) 0 48%, rgba(229, 199, 119, 0.82) 49% 51%, transparent 52%);
}

.home-offering-media,
.home-offering-media picture,
.home-offering-media img,
.home-card-overlay {
  position: absolute;
  inset: 0;
}

.home-offering-media {
  z-index: -2;
  overflow: hidden;
  background: #020812;
}

.home-offering-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--card-position, center);
  transition: transform 320ms ease;
}

.home-card-overlay {
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 8, 18, 0.94) 0%, rgba(6, 26, 64, 0.7) 48%, rgba(6, 26, 64, 0.08) 100%),
    linear-gradient(180deg, rgba(2, 8, 18, 0.02) 18%, rgba(2, 8, 18, 0.88) 100%);
  transition: opacity 180ms ease;
}

.home-offering-index {
  position: absolute;
  z-index: 5;
  top: 28px;
  left: 30px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--gold-light);
  background: rgba(2, 8, 18, 0.72);
  border: 1px solid rgba(229, 199, 119, 0.46);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0;
}

.home-offering-index::after {
  content: "";
  width: 38px;
  height: 1px;
  margin-left: 12px;
  background: rgba(229, 199, 119, 0.72);
}

.home-offering-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 34px 36px 36px;
}

.home-offering-label {
  margin-bottom: 10px;
  color: var(--gold-light);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-offering-title {
  max-width: 21ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(1.88rem, 2.35vw, 2.5rem);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.home-card-accent {
  display: block;
  width: 52px;
  height: 2px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
}

.home-offering-description {
  max-width: 49ch;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.91rem;
  line-height: 1.58;
}

.home-card-cue {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  margin-top: 17px;
  color: var(--gold-light);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.home-card-cue > span {
  display: inline-block;
  font-size: 1rem;
  transition: transform 180ms ease;
}

.home-offering-card--career {
  --card-position: center 44%;
}

.home-offering-card--courses {
  --card-position: 70% center;
}









.home-offering-card--courses .home-offering-content {
  justify-content: flex-end;
  padding-top: 84px;
}

.home-offering-card:focus-visible,
.home-audience-card:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.home-catalog-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  min-height: 150px;
  margin-top: 28px;
  padding: 26px 32px;
  overflow: hidden;
  color: var(--navy);
  background: var(--ivory);
  border: 1px solid rgba(229, 199, 119, 0.76);
  border-left: 5px solid var(--red);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-catalog-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -120px;
  width: 260px;
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.08;
  border: 1px solid var(--gold);
  border-radius: 50%;
  box-shadow: inset 0 0 0 34px rgba(183, 138, 45, 0.2);
}

.home-catalog-count {
  position: relative;
  z-index: 1;
  color: var(--red);
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  font-weight: 800;
  line-height: 0.9;
  white-space: nowrap;
}

.home-catalog-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 5px;
  min-width: 0;
  padding-left: 28px;
  border-left: 1px solid rgba(6, 26, 64, 0.16);
}

.home-catalog-label {
  color: var(--red);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-catalog-copy strong {
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.08;
}

.home-catalog-copy > span:last-child {
  max-width: 72ch;
  color: rgba(6, 26, 64, 0.72);
  font-size: 0.86rem;
  line-height: 1.55;
}

.home-catalog-action {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  color: var(--white);
  background: var(--red);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-catalog-action > span {
  color: var(--gold-light);
  font-size: 1rem;
  transition: transform 180ms ease;
}

.home-catalog-card:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.home-audiences {
  padding-block: 96px 112px;
  background: var(--ivory-2);
}

.home-audiences::before {
  opacity: 0.055;
  background-image: url("../assets/images/audience-pattern-bg.jpg");
  background-position: center 24%;
  background-size: cover;
}

.home-audiences .section-header {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.home-audiences .section-header p {
  max-width: 720px;
  margin-inline: auto;
}

.home-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 22px;
  margin-top: 52px;
  padding-bottom: 16px;
}

.home-audience-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  color: var(--navy);
  transition: transform 220ms ease, filter 220ms ease;
}

.home-audience-card:nth-child(2),
.home-audience-card:nth-child(5) {
  transform: translateY(16px);
}

.home-audience-media {
  position: relative;
  display: block;
  height: 244px;
  flex: 0 0 244px;
  overflow: hidden;
  background: var(--navy-deep);
  border: 1px solid rgba(6, 26, 64, 0.14);
  border-radius: 2px;
}

.home-audience-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 45%, rgba(2, 8, 18, 0.34) 100%),
    linear-gradient(90deg, rgba(6, 26, 64, 0.12), transparent 58%);
}

.home-audience-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--audience-position, center);
  transition: transform 320ms ease;
}

.home-audience-card--students { --audience-position: 62% 40%; }
.home-audience-card--professionals { --audience-position: 68% 38%; }
.home-audience-card--companies { --audience-position: 66% 36%; }
.home-audience-card--government { --audience-position: 64% 40%; }
.home-audience-card--universities { --audience-position: 60% 42%; }
.home-audience-card--partners { --audience-position: 62% 38%; }

.home-audience-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1 1 auto;
  min-height: 184px;
  margin: -26px 18px 0;
  padding: 24px 25px 22px;
  flex-direction: column;
  align-items: flex-start;
  color: var(--navy);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.99), rgba(247, 242, 231, 0.99));
  border: 1px solid rgba(183, 138, 45, 0.3);
  box-shadow: 0 16px 34px rgba(6, 26, 64, 0.12);
}

.home-audience-content::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--red), var(--gold));
}

.home-audience-category {
  color: var(--red);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-audience-title {
  max-width: 25ch;
  margin: 8px 0 0;
  color: var(--navy);
  font-size: clamp(1.25rem, 1.65vw, 1.55rem);
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.home-audience-description {
  display: block;
  margin-top: 9px;
  color: rgba(6, 26, 64, 0.72);
  font-size: 0.88rem;
  line-height: 1.55;
}

.home-audience-content .home-card-cue {
  margin-top: auto;
  padding-top: 14px;
  color: var(--red);
}

@media (hover: hover) and (pointer: fine) {
  .home-offering-card:hover .home-offering-media img,
  .home-audience-card:hover .home-audience-media img {
    transform: scale(1.04);
  }

  .home-offering-card:hover::before {
    inset: 7px;
    border-color: rgba(229, 199, 119, 0.68);
  }

  .home-offering-card:hover .home-card-cue > span,
  .home-audience-card:hover .home-card-cue > span {
    transform: translateX(5px);
  }

  .home-catalog-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold-light);
    box-shadow: 0 26px 54px rgba(0, 0, 0, 0.24);
  }

  .home-catalog-card:hover .home-catalog-action > span {
    transform: translateX(4px);
  }

  .home-audience-card:hover {
    filter: drop-shadow(0 12px 18px rgba(6, 26, 64, 0.1));
  }
}

@media (min-width: 1180px) {
  .home-offering-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .home-offering-card--career,
  .home-offering-card--courses {
    grid-column: auto;
    min-height: 472px;
    margin-top: 0;
  }

  

  
}

@media (min-width: 768px) and (max-width: 1179px) {
  .home-offerings {
    padding-block: 80px 92px;
  }

  .home-signature-header {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    column-gap: 42px;
  }

  .home-signature-header h2 {
    font-size: clamp(2.45rem, 5vw, 3.45rem);
  }

  .home-offering-grid {
    gap: 16px;
    margin-top: 46px;
  }

  .home-offering-card {
    min-height: 420px;
  }

  .home-offering-content {
    padding: 30px;
  }

  .home-offering-title {
    max-width: 100%;
    font-size: clamp(1.68rem, 3vw, 2rem);
  }

  

  .home-audiences {
    padding-block: 80px 92px;
  }

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

  .home-audience-card:nth-child(2),
  .home-audience-card:nth-child(5) {
    transform: none;
  }
}

@media (min-width: 960px) and (max-width: 1179px) {
  .home-audience-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .home-audience-media {
    height: 210px;
    flex-basis: 210px;
  }

  .home-audience-content {
    min-height: 196px;
    margin-inline: 12px;
    padding-inline: 20px;
  }
}

@media (max-width: 767px) {
  .home-offerings {
    padding-block: 60px 72px;
  }

  .home-offerings::before {
    opacity: 0.07;
    background-position: 68% top;
  }

  .home-signature-header {
    display: block;
  }

  .home-signature-header h2 {
    margin-top: 14px;
    font-size: clamp(2.2rem, 10.2vw, 3rem);
    line-height: 1.01;
  }

  .home-signature-header p {
    margin-top: 18px;
    font-size: 0.93rem;
    line-height: 1.62;
  }

  .home-offering-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 38px -15px 0;
  }

  .home-offering-card {
    min-height: clamp(300px, 84vw, 350px);
    border-width: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .home-offering-card:nth-child(n + 2) {
    margin-top: -16px;
  }

  .home-offering-card:nth-child(odd) {
    clip-path: polygon(0 0, 100% 16px, 100% 100%, 0 calc(100% - 16px));
  }

  .home-offering-card:nth-child(even) {
    clip-path: polygon(0 16px, 100% 0, 100% calc(100% - 16px), 0 100%);
  }

  .home-offering-card:nth-child(1) { z-index: 1; }
  .home-offering-card:nth-child(2) { z-index: 2; }
  .home-offering-card:nth-child(3) { z-index: 3; }
  .home-offering-card:nth-child(4) { z-index: 4; }

  .home-offering-card::before {
    inset: 10px 12px;
  }

  .home-offering-card::after {
    display: none;
  }

  .home-offering-index {
    top: 27px;
    left: 22px;
  }

  .home-offering-content {
    padding: 74px 22px 32px;
  }

  .home-offering-card--courses .home-offering-content {
    justify-content: flex-end;
    padding-top: 74px;
  }

  .home-offering-card:nth-child(even) .home-offering-content {
    align-items: flex-end;
    text-align: right;
  }

  .home-offering-card:nth-child(even) .home-offering-index {
    right: 22px;
    left: auto;
    flex-direction: row-reverse;
  }

  .home-offering-card:nth-child(even) .home-offering-index::after {
    margin-right: 12px;
    margin-left: 0;
  }

  .home-offering-card:nth-child(even) .home-card-overlay {
    background:
      linear-gradient(270deg, rgba(2, 8, 18, 0.94) 0%, rgba(6, 26, 64, 0.62) 58%, rgba(6, 26, 64, 0.08) 100%),
      linear-gradient(180deg, rgba(2, 8, 18, 0.04) 14%, rgba(2, 8, 18, 0.86) 100%);
  }

  

  

  

  

  

  .home-offering-label {
    font-size: 0.61rem;
  }

  .home-offering-title {
    max-width: 18ch;
    font-size: clamp(1.65rem, 7.5vw, 2.05rem);
    line-height: 1.06;
  }

  .home-offering-description {
    display: none;
  }

  .home-catalog-card {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 0;
    margin: 22px 0 0;
    padding: 26px 22px 22px;
    border-left-width: 1px;
    border-top: 4px solid var(--red);
  }

  .home-catalog-count {
    font-size: clamp(3rem, 15vw, 4.15rem);
  }

  .home-catalog-copy {
    gap: 7px;
    padding: 0;
    border-left: 0;
  }

  .home-catalog-copy strong {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .home-catalog-copy > span:last-child {
    font-size: 0.88rem;
  }

  .home-catalog-action {
    width: 100%;
    min-height: 50px;
  }

  .home-card-accent {
    margin-top: 13px;
  }

  .home-card-cue {
    min-height: 44px;
    margin-top: 10px;
  }

  .home-audiences {
    padding-block: 72px 82px;
  }

  .home-audiences::before {
    opacity: 0.035;
    background-position: 55% top;
  }

  .home-audiences .section-header h2 {
    font-size: clamp(2.05rem, 9vw, 2.72rem);
  }

  .home-audience-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 38px;
    padding-bottom: 0;
  }

  .home-audience-card,
  .home-audience-card:nth-child(2),
  .home-audience-card:nth-child(5) {
    transform: none;
  }

  .home-audience-media {
    height: clamp(142px, 36vw, 156px);
    flex-basis: clamp(142px, 36vw, 156px);
  }

  .home-audience-content {
    min-height: 140px;
    margin: -22px 14px 0;
    padding: 18px 21px 12px;
  }

  .home-audience-title {
    margin-top: 7px;
    font-size: clamp(1.18rem, 5.5vw, 1.42rem);
  }

  .home-audience-description {
    margin-top: 5px;
    font-size: 0.85rem;
    line-height: 1.48;
  }

  .home-audience-content .home-card-cue {
    padding-top: 4px;
  }

  .home-offering-card:focus-visible {
    outline: 0;
    box-shadow: inset 0 0 0 3px var(--gold-light);
  }
}

@media (max-width: 380px) {
  .home-offering-card {
    min-height: 306px;
  }

  .home-offering-content {
    padding-inline: 20px;
  }

  .home-audience-grid {
    gap: 18px;
  }

  .home-audience-media {
    height: 142px;
    flex-basis: 142px;
  }

  .home-audience-content {
    min-height: 138px;
    margin-inline: 12px;
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-offering-card::before,
  .home-offering-media img,
  .home-card-cue > span,
  .home-audience-card,
  .home-audience-media img {
    transition: none;
  }

  .home-catalog-card,
  .home-catalog-action > span {
    transition: none;
  }
}
