:root {
  --home-shell: 1180px;
  --home-rose: #f6e8ef;
  --home-rose-line: #e7c3d3;
  --home-teal: #e8f0ff;
  --home-teal-line: #9bbcf0;
  --home-gold: #fae7e3;
  --home-gold-line: #df8e7e;
  --topbar: var(--site-header-h);
}

html { scroll-padding-top: calc(var(--site-header-h) + 18px); }

body {
  background:
    radial-gradient(circle at 8% 0%, rgba(108,198,208,.18), transparent 28rem),
    radial-gradient(circle at 92% 0%, rgba(145,0,72,.12), transparent 28rem),
    linear-gradient(180deg, #f7fbfc 0%, #fff 35%, #f4f8f9 100%);
}

.dsti-home { overflow: clip; }
.home-shell { max-width: var(--home-shell); margin: 0 auto; padding: 0 clamp(16px, 3vw, 34px); }

.home-eyebrow,
.home-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.12);
  color: #fff;
  border-radius: 999px;
  font-weight: 950;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.home-kicker {
  border-color: rgba(145,0,72,.16);
  background: rgba(145,0,72,.07);
  color: var(--magenta);
  margin-bottom: 10px;
}

.home-hero {
  min-height: calc(100svh - var(--site-header-h));
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.home-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.01);
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(108,198,208,.30), transparent 30rem),
    radial-gradient(circle at 88% 12%, rgba(145,0,72,.28), transparent 28rem),
    linear-gradient(90deg, rgba(6,31,42,.86) 0%, rgba(6,31,42,.72) 42%, rgba(6,31,42,.38) 72%, rgba(6,31,42,.68) 100%),
    linear-gradient(180deg, rgba(6,31,42,.18), rgba(6,31,42,.84));
}

.home-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, .78fr);
  gap: clamp(20px, 4vw, 54px);
  align-items: center;
  padding-top: clamp(26px, 5vw, 76px);
  padding-bottom: clamp(26px, 5vw, 70px);
}

.home-hero-copy {
  max-width: 850px;
}

.home-hero h1,
.home-section h2,
.home-final h2 {
  margin: 0;
  line-height: .96;
  letter-spacing: -.065em;
}

.home-hero h1 {
  margin-top: 14px;
  font-size: clamp(3rem, 6.3vw, 7rem);
  max-width: 940px;
  text-wrap: balance;
}

.home-hero h1 span,
.home-section h2 span,
.home-final h2 span { color: var(--teal); }

.home-lede {
  font-size: clamp(1.05rem, 1.45vw, 1.34rem);
  color: rgba(255,255,255,.86);
  max-width: 790px;
  margin: 16px 0 0;
}

.home-hero-actions,
.home-inline-actions,
.home-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.home-hero-actions .btn-soft,
.home-final-actions .btn-soft {
  background: rgba(255,255,255,.90);
}

.home-hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 9px;
  margin-top: 20px;
}

.home-hero-proof span {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.11);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 12px;
  min-height: 86px;
  display: grid;
  align-content: space-between;
}

.home-hero-proof strong {
  color: #fff;
  font-size: .96rem;
  letter-spacing: -.025em;
  line-height: 1.05;
}

.home-hero-proof small {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,.72);
  font-weight: 760;
  line-height: 1.22;
}

.home-hero-decision {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(22px);
  border-radius: 28px;
  box-shadow: 0 26px 70px rgba(0,0,0,.24);
  padding: 14px;
  display: grid;
  gap: 10px;
  align-self: center;
}

.home-decision-head {
  padding: 10px 12px 6px;
  display: grid;
  gap: 3px;
}

.home-decision-head span {
  color: rgba(255,255,255,.72);
  font-weight: 820;
  font-size: .82rem;
}

.home-decision-head strong {
  color: #fff;
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.home-decision-card {
  display: grid;
  gap: 5px;
  text-decoration: none;
  color: var(--ink);
  border-radius: 20px;
  padding: 14px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.22);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.home-decision-card:hover,
.home-decision-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
  outline: none;
}

.home-decision-card span,
.home-path-label {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: .70rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.home-decision-card strong {
  font-size: 1.05rem;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.home-decision-card small {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 720;
  line-height: 1.22;
}

.home-decision-card.undergraduate span,
.home-path-card.undergraduate .home-path-label {
  background: var(--home-rose);
  color: var(--magenta);
  border: 1px solid var(--home-rose-line);
}

.home-decision-card.postgraduate span,
.home-path-card.postgraduate .home-path-label {
  background: var(--home-teal);
  color: #235aa6;
  border: 1px solid var(--home-teal-line);
}

.home-decision-card.executive span,
.home-path-card.executive .home-path-label {
  background: var(--home-gold);
  color: #a8322c;
  border: 1px solid var(--home-gold-line);
}


.home-section {
  padding: clamp(42px, 6vw, 86px) 0;
  border-top: 1px solid rgba(219,229,232,.86);
}

.home-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .46fr);
  gap: 22px;
  align-items: end;
  margin-bottom: 20px;
}

.home-section-head.compact {
  align-items: center;
}

.home-section h2,
.home-final h2 {
  font-size: clamp(2.1rem, 4vw, 4.5rem);
  max-width: 920px;
  color: var(--ink);
}

.home-section h2 span,
.home-final h2 span { color: var(--magenta); }

.home-section-head p,
.home-section-copy p,
.home-study-layout p,
.home-international-band p,
.home-final p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(.98rem, 1.18vw, 1.12rem);
}

.home-identity-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(18px, 4vw, 46px);
  align-items: center;
}

.home-visual-collage {
  min-height: 430px;
  display: grid;
  grid-template-columns: 1.05fr .72fr;
  grid-template-rows: 1fr auto;
  gap: 12px;
}

.home-visual-collage figure {
  margin: 0;
}

.home-collage-main,
.home-collage-tile,
.home-collage-stat {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-strong, 0 18px 48px rgba(6,31,42,.13));
  border: 1px solid rgba(219,229,232,.86);
  position: relative;
  background: var(--ink);
}

.home-collage-main {
  grid-row: span 2;
  min-height: 430px;
}

.home-collage-main img,
.home-collage-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-collage-main::after,
.home-collage-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(6,31,42,.76));
}

.home-collage-main figcaption,
.home-collage-tile figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  color: #fff;
  font-weight: 900;
  line-height: 1.12;
}

.home-collage-tile {
  min-height: 246px;
}

.home-collage-stat {
  min-height: 170px;
  display: grid;
  align-content: center;
  padding: 18px;
  background: linear-gradient(135deg, var(--ink), #0d4654);
  color: #fff;
}

.home-collage-stat strong {
  display: block;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: .85;
  letter-spacing: -.075em;
  color: var(--teal);
}

.home-collage-stat span {
  margin-top: 8px;
  color: rgba(255,255,255,.78);
  font-weight: 850;
}

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

.home-principle-card,
.home-path-card,
.home-proof-card {
  border: 1px solid rgba(219,229,232,.90);
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow, 0 14px 34px rgba(6,31,42,.10));
  padding: clamp(16px, 1.6vw, 22px);
}

.home-principle-card strong {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(145,0,72,.10);
  color: var(--magenta);
  margin-bottom: 12px;
  font-weight: 950;
}

.home-principle-card h3,
.home-path-card h3,
.home-proof-card strong {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -.045em;
  color: var(--ink);
}

.home-principle-card h3,
.home-path-card h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
}

.home-principle-card p,
.home-path-card p,
.home-proof-card p {
  margin: 9px 0 0;
  color: var(--muted);
}

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

.home-path-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 100%;
}

.home-path-card ul {
  margin: 0;
  padding-left: 1.08rem;
  color: var(--muted);
}

.home-card-link {
  margin-top: 6px;
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 10px 13px;
  font-weight: 900;
}

.home-path-card.undergraduate { background: linear-gradient(180deg, #fff, rgba(246,232,239,.70)); }
.home-path-card.postgraduate { background: linear-gradient(180deg, #fff, rgba(232,246,248,.88)); }
.home-path-card.executive { background: linear-gradient(180deg, #fff, rgba(251,243,223,.88)); }

.home-study {
  background:
    radial-gradient(circle at 10% 14%, rgba(108,198,208,.16), transparent 24rem),
    linear-gradient(180deg, #f7fbfc, #fff);
}

.home-study-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}

.home-study-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}

.home-study-card {
  min-height: 180px;
  border-radius: 26px;
  text-decoration: none;
  color: #fff;
  padding: 18px;
  display: grid;
  align-content: end;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  background: var(--ink);
  border: 1px solid rgba(219,229,232,.70);
}

.home-study-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,31,42,.12), rgba(6,31,42,.84)),
    radial-gradient(circle at 88% 10%, rgba(108,198,208,.22), transparent 16rem);
}

.home-study-card.campus {
  background-image: url("https://media.dsti.school/wp-content/uploads/2024/01/29160855/DSTI-International-students-19012024.avif");
  background-size: cover;
  background-position: center;
}

.home-study-card.paris,
.home-study-card.live,
.home-study-card.online {
  background:
    linear-gradient(135deg, var(--ink), #0d4654);
}

.home-study-card span,
.home-study-card strong {
  position: relative;
  z-index: 1;
}

.home-study-card span {
  color: rgba(255,255,255,.75);
  font-weight: 900;
  font-size: .78rem;
}

.home-study-card strong {
  margin-top: 8px;
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.home-proof-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr .92fr .86fr;
  gap: 14px;
  align-items: stretch;
}

.home-proof-card {
  display: grid;
  align-content: start;
  min-height: 220px;
  overflow: hidden;
}

.home-proof-card span {
  color: var(--magenta);
  font-weight: 950;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}

.home-proof-card strong {
  font-size: clamp(1.3rem, 1.9vw, 1.9rem);
}

.home-proof-card.dark {
  background: linear-gradient(135deg, var(--ink), #0d4654);
  color: #fff;
}

.home-proof-card.dark strong { color: #fff; }
.home-proof-card.dark p { color: rgba(255,255,255,.78); }
.home-proof-card.dark span { color: var(--teal); }

.home-proof-card.visual {
  padding: 0;
  min-height: 220px;
}

.home-proof-card.visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-international-band,
.home-final-card {
  border: 1px solid rgba(219,229,232,.88);
  border-radius: 30px;
  box-shadow: var(--shadow-strong, 0 18px 48px rgba(6,31,42,.13));
  padding: clamp(20px, 3vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(280px, .62fr);
  gap: 20px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.95), rgba(244,248,249,.92)),
    radial-gradient(circle at 98% 12%, rgba(145,0,72,.12), transparent 22rem);
}

.home-international-links {
  display: grid;
  gap: 8px;
}

.home-international-links a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  padding: 12px 14px;
  color: var(--ink);
  font-weight: 900;
}

.home-international-links a::after {
  content: "→";
  color: var(--magenta);
}

.home-final {
  padding: clamp(44px, 6vw, 88px) 0;
}

.home-final-card {
  background: linear-gradient(135deg, var(--ink), #0d4654);
  color: #fff;
}

.home-final h2 { color: #fff; }
.home-final h2 span { color: var(--teal); }
.home-final p { color: rgba(255,255,255,.78); }

.home-final-actions {
  margin-top: 0;
  justify-content: end;
}

@media (hover:hover) and (pointer:fine) {
  .home-card-link:hover,
  .home-international-links a:hover {
    transform: translateY(-1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-video { display: none; }
}

@media (min-width: 1160px) and (max-height: 920px) {
  .home-hero h1 {
    font-size: clamp(2.8rem, 5.4vw, 5.65rem);
  }

  .home-hero-content {
    padding-top: 28px;
    padding-bottom: 34px;
  }

  .home-hero-proof span {
    min-height: 72px;
    padding: 10px;
  }

  .home-decision-card {
    padding: 12px;
  }
}

@media (max-width: 1100px) {
  .home-hero-content,
  .home-identity-layout,
  .home-study-layout,
  .home-section-head,
  .home-international-band,
  .home-final-card {
    grid-template-columns: 1fr;
  }

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

  .home-hero-decision {
    max-width: 760px;
  }

  .home-final-actions {
    justify-content: start;
  }
}

@media (max-width: 760px) {
  .home-hero {
    min-height: auto;
  }

  .home-hero-content {
    padding-top: 32px;
    padding-bottom: 42px;
  }

  .home-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.55rem);
  }

  .home-lede {
    font-size: 1rem;
  }

  .home-hero-proof,
  .home-route-grid,
  .home-principles,
  .home-proof-grid,
  .home-study-cards {
    grid-template-columns: 1fr;
  }

  .home-visual-collage {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .home-collage-main,
  .home-collage-tile {
    min-height: 240px;
  }

  .home-collage-stat {
    min-height: 130px;
  }

  .home-section {
    padding: 34px 0;
  }

  .home-section h2,
  .home-final h2 {
    font-size: clamp(1.9rem, 8vw, 2.75rem);
  }

  .home-hero-actions .btn,
  .home-final-actions .btn,
  .home-inline-actions .btn {
    flex: 1 1 100%;
  }

  .home-scroll-cue {
    display: none;
  }
}

@media (max-width: 420px) {
  .home-shell { padding-left: 15px; padding-right: 15px; }
  .home-hero-decision,
  .home-principle-card,
  .home-path-card,
  .home-proof-card,
  .home-international-band,
  .home-final-card {
    border-radius: 22px;
  }
}


/* V3 homepage refinements: stronger first fold, science + engineering balance, Bachelor-style quick nav */
.home-hero {
  min-height: min(840px, calc(100svh - var(--site-header-h)));
}

.home-hero-overlay {
  background:
    radial-gradient(circle at 12% 20%, rgba(108,198,208,.28), transparent 28rem),
    radial-gradient(circle at 86% 12%, rgba(145,0,72,.26), transparent 28rem),
    linear-gradient(90deg, rgba(6,31,42,.88) 0%, rgba(6,31,42,.73) 43%, rgba(6,31,42,.35) 70%, rgba(6,31,42,.62) 100%),
    linear-gradient(180deg, rgba(6,31,42,.10), rgba(6,31,42,.83));
}

.home-hero-content {
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, .62fr);
  gap: clamp(16px, 3vw, 42px);
  padding-top: clamp(18px, 3.4vw, 42px);
  padding-bottom: clamp(18px, 3.4vw, 42px);
}

.home-hero h1 {
  margin-top: 12px;
  font-size: clamp(2.75rem, 5.35vw, 5.85rem);
  max-width: 900px;
}

.home-lede {
  font-size: clamp(1rem, 1.23vw, 1.18rem);
  line-height: 1.38;
  max-width: 800px;
  margin-top: 13px;
}

.home-hero-actions {
  margin-top: 16px;
}

.home-hero-proof {
  margin-top: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-hero-proof span {
  min-height: 72px;
  padding: 10px 11px;
  border-radius: 16px;
}

.home-hero-proof strong {
  font-size: .92rem;
}

.home-hero-proof small {
  margin-top: 4px;
  font-size: .76rem;
}

.home-hero-decision {
  padding: 12px;
  gap: 8px;
  border-radius: 24px;
}

.home-decision-head {
  padding: 8px 10px 4px;
}

.home-decision-head strong {
  font-size: clamp(1.15rem, 1.55vw, 1.48rem);
}

.home-decision-card {
  padding: 12px;
  border-radius: 18px;
  gap: 4px;
}

.home-decision-card strong {
  font-size: .99rem;
}

.home-decision-card small {
  font-size: .78rem;
  line-height: 1.18;
}

.home-proof-card.dark strong { color: #fff; }

.page-quick-nav svg {
  width: 19px;
  height: 19px;
  display: block;
  margin: 0 auto;
}

@media (min-width: 1160px) and (max-height: 900px) {
  .home-hero-content {
    padding-top: 18px;
    padding-bottom: 24px;
  }

  .home-hero h1 {
    font-size: clamp(2.55rem, 4.85vw, 5.1rem);
  }

  .home-lede {
    font-size: 1rem;
    line-height: 1.32;
  }

  .home-hero-actions {
    margin-top: 13px;
  }

  .home-hero-proof {
    margin-top: 13px;
  }

  .home-hero-proof span {
    min-height: 64px;
    padding: 9px 10px;
  }

  .home-hero-proof strong {
    font-size: .87rem;
  }

  .home-hero-proof small {
    font-size: .72rem;
  }

  .home-hero-decision {
    padding: 10px;
    gap: 7px;
  }

  .home-decision-card {
    padding: 10px;
  }

  .home-decision-card span,
  .home-path-label {
    padding: 4px 7px;
    font-size: .66rem;
  }

  .home-decision-card strong {
    font-size: .92rem;
  }

  .home-decision-card small {
    font-size: .73rem;
  }
}

@media (max-width: 1100px) {
  .home-hero {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .home-hero-proof {
    grid-template-columns: 1fr;
  }
}

/* V4 homepage responsive/visual refinements: viewport fit, cleaner mobile tags, tighter shells */
:root {
  --home-shell: 1280px;
}

.home-shell {
  padding-left: clamp(14px, 2.15vw, 26px);
  padding-right: clamp(14px, 2.15vw, 26px);
}

.home-eyebrow {
  display: inline-block;
  max-width: 100%;
  border-radius: 18px;
  line-height: 1.22;
  text-wrap: balance;
}

.home-section {
  padding: clamp(34px, 4.8vw, 72px) 0;
}

.home-hero {
  min-height: calc(100svh - var(--site-header-h));
}

.home-hero-content {
  grid-template-columns: minmax(0, 1.12fr) minmax(315px, .68fr);
  gap: clamp(16px, 2.6vw, 36px);
  padding-top: clamp(16px, 2.7vw, 34px);
  padding-bottom: clamp(16px, 2.7vw, 34px);
}

.home-hero h1 {
  font-size: clamp(2.65rem, 4.85vw, 5.25rem);
  max-width: 860px;
}

.home-lede {
  font-size: clamp(.98rem, 1.16vw, 1.12rem);
  line-height: 1.34;
  max-width: 760px;
}

.home-hero-actions {
  margin-top: 14px;
}

.home-hero-actions .btn {
  min-height: 36px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.home-hero-proof {
  margin-top: 14px;
  gap: 8px;
}

.home-hero-proof span {
  min-height: 60px;
  padding: 9px 10px;
}

.home-hero-proof strong {
  font-size: .86rem;
}

.home-hero-proof small {
  font-size: .70rem;
  line-height: 1.16;
}

.home-hero-decision {
  padding: 10px;
  gap: 7px;
}

.home-decision-head {
  padding: 6px 9px 3px;
}

.home-decision-card {
  padding: 10px;
}

.home-decision-card span,
.home-path-label {
  border-radius: 16px;
  line-height: 1.05;
  white-space: normal;
}

.home-decision-card strong {
  font-size: .92rem;
}

.home-decision-card small {
  font-size: .72rem;
  line-height: 1.15;
}

.home-section-head {
  margin-bottom: 16px;
}

.home-identity-layout,
.home-study-layout {
  gap: clamp(16px, 3vw, 34px);
}

.home-visual-collage {
  min-height: 360px;
}

.home-collage-main {
  min-height: 360px;
}

.home-collage-tile {
  min-height: 210px;
}

.home-collage-stat {
  min-height: 138px;
}

.home-principles {
  margin-top: 18px;
}

.home-study-card {
  min-height: 158px;
}

.home-proof-card {
  min-height: 190px;
}

.home-proof-card.visual {
  min-height: 190px;
}

/* Keep the homepage quick navigation aligned with the Bachelor page style. */
.page-quick-nav {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: grid;
  gap: 7px;
  transition: opacity .18s ease, transform .18s ease;
}

.page-quick-nav button {
  appearance: none;
  border: 1px solid rgba(219,229,232,.86);
  width: 44px;
  min-height: 40px;
  border-radius: 15px;
  background: rgba(255,255,255,.88);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(6,31,42,.14);
  backdrop-filter: blur(14px);
  font-weight: 950;
  cursor: pointer;
  transition: transform .14s ease, background .14s ease, color .14s ease;
}

.page-quick-nav button:hover,
.page-quick-nav button:focus-visible {
  transform: translateY(-1px);
  background: var(--ink);
  color: #fff;
  outline: none;
}

@media (min-width: 1024px) and (max-height: 900px) {
  .home-hero-content {
    grid-template-columns: minmax(0, 1.18fr) minmax(305px, .58fr);
    padding-top: 14px;
    padding-bottom: 18px;
  }

  .home-eyebrow {
    padding: 5px 9px;
    font-size: .69rem;
  }

  .home-hero h1 {
    margin-top: 9px;
    font-size: clamp(2.35rem, 4.15vw, 4.5rem);
    max-width: 800px;
  }

  .home-lede {
    margin-top: 10px;
    font-size: .94rem;
    line-height: 1.28;
  }

  .home-hero-actions {
    margin-top: 11px;
  }

  .home-hero-proof {
    margin-top: 11px;
  }

  .home-hero-proof span {
    min-height: 56px;
    padding: 8px 9px;
  }

  .home-hero-proof strong {
    font-size: .80rem;
  }

  .home-hero-proof small {
    font-size: .66rem;
  }

  .home-decision-head strong {
    font-size: 1.08rem;
  }

  .home-decision-head span {
    font-size: .74rem;
  }

  .home-decision-card {
    padding: 9px 10px;
    gap: 3px;
  }

  .home-decision-card span,
  .home-path-label {
    font-size: .61rem;
    padding: 4px 7px;
  }

  .home-decision-card strong {
    font-size: .86rem;
  }

  .home-decision-card small {
    font-size: .68rem;
  }
}

@media (max-width: 1100px) {
  .home-shell {
    padding-left: clamp(14px, 2.2vw, 22px);
    padding-right: clamp(14px, 2.2vw, 22px);
  }

  .home-hero-content {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
  }

  .home-hero-decision {
    max-width: none;
    width: 100%;
  }

  .home-decision-head {
    grid-template-columns: auto 1fr;
    align-items: baseline;
    column-gap: 10px;
  }

  .home-decision-head strong {
    font-size: 1.18rem;
  }

  .home-visual-collage {
    min-height: 0;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .home-hero {
    min-height: calc(100svh - var(--site-header-h));
  }

  .home-hero-content {
    padding-top: 18px;
    padding-bottom: 22px;
  }

  .home-hero h1 {
    font-size: clamp(2.55rem, 6vw, 4.35rem);
  }

  .home-hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-hero-decision {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-decision-head {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  html { scroll-padding-top: calc(var(--site-header-h) + 10px); }

  .home-shell {
    padding-left: 14px;
    padding-right: 14px;
  }

  .home-hero {
    min-height: auto;
  }

  .home-hero-overlay {
    background:
      radial-gradient(circle at 12% 12%, rgba(108,198,208,.26), transparent 18rem),
      radial-gradient(circle at 92% 2%, rgba(145,0,72,.22), transparent 18rem),
      linear-gradient(180deg, rgba(6,31,42,.72) 0%, rgba(6,31,42,.84) 56%, rgba(6,31,42,.92) 100%);
  }

  .home-hero-content {
    padding-top: 18px;
    padding-bottom: 26px;
    gap: 14px;
  }

  .home-eyebrow {
    padding: 6px 8px;
    border-radius: 14px;
    font-size: .62rem;
    letter-spacing: .055em;
    line-height: 1.24;
  }

  .home-hero h1 {
    margin-top: 10px;
    font-size: clamp(2.15rem, 9.8vw, 3.05rem);
    line-height: .98;
    letter-spacing: -.06em;
  }

  .home-lede {
    margin-top: 10px;
    font-size: .94rem;
    line-height: 1.32;
  }

  .home-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
    margin-top: 12px;
  }

  .home-hero-actions .btn {
    width: 100%;
    min-height: 38px;
    padding: 9px 11px;
    font-size: .91rem;
    flex: initial;
  }

  .home-hero-actions .btn-soft {
    grid-column: 1 / -1;
  }

  .home-hero-proof {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding-bottom: 2px;
    margin-top: 12px;
    scrollbar-width: none;
  }

  .home-hero-proof::-webkit-scrollbar { display: none; }

  .home-hero-proof span {
    min-width: 155px;
    min-height: 68px;
    scroll-snap-align: start;
  }

  .home-hero-decision {
    border-radius: 20px;
    padding: 9px;
    gap: 7px;
  }

  .home-decision-head {
    padding: 5px 7px 2px;
  }

  .home-decision-head span {
    font-size: .72rem;
  }

  .home-decision-head strong {
    font-size: 1.05rem;
  }

  .home-decision-card {
    padding: 9px;
    border-radius: 16px;
  }

  .home-decision-card span,
  .home-path-label {
    border-radius: 12px;
    font-size: .60rem;
    letter-spacing: .055em;
  }

  .home-decision-card strong {
    font-size: .88rem;
  }

  .home-decision-card small {
    font-size: .70rem;
  }

  .home-section {
    padding: 30px 0;
  }

  .home-section-head,
  .home-identity-layout,
  .home-study-layout,
  .home-international-band,
  .home-final-card {
    gap: 14px;
  }

  .home-kicker {
    border-radius: 14px;
    white-space: normal;
    line-height: 1.18;
  }

  .home-principles,
  .home-route-grid,
  .home-proof-grid,
  .home-study-cards {
    gap: 10px;
  }

  .home-principle-card,
  .home-path-card,
  .home-proof-card,
  .home-international-band,
  .home-final-card {
    padding: 15px;
  }

  .home-study-card {
    min-height: 132px;
    padding: 15px;
  }

  .home-collage-main,
  .home-collage-tile {
    min-height: 200px;
  }

  .home-collage-stat {
    min-height: 112px;
  }

  .page-quick-nav {
    right: 10px;
    bottom: 10px;
    gap: 6px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
  }

  .page-quick-nav.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .page-quick-nav button {
    width: 39px;
    min-height: 37px;
    border-radius: 13px;
  }
}

@media (max-width: 420px) {
  .home-shell {
    padding-left: 12px;
    padding-right: 12px;
  }

  .home-hero-actions {
    grid-template-columns: 1fr;
  }

  .home-hero-proof span {
    min-width: 145px;
  }
}


/* V5 homepage refinements: stronger 13-inch first fold, less empty proof section, visual study-mode cards */
@media (min-width: 1024px) {
  .home-shell {
    padding-left: clamp(18px, 1.85vw, 28px);
    padding-right: clamp(18px, 1.85vw, 28px);
  }

  .home-hero-content {
    grid-template-columns: minmax(0, 1.16fr) minmax(340px, .64fr);
    gap: clamp(22px, 2.8vw, 44px);
  }

  .home-hero h1 {
    font-size: clamp(3.05rem, 5.18vw, 5.65rem);
    max-width: 930px;
  }

  .home-lede {
    font-size: clamp(1.04rem, 1.25vw, 1.20rem);
    max-width: 820px;
  }

  .home-hero-proof span {
    min-height: 70px;
  }

  .home-decision-card {
    min-height: 98px;
  }
}

@media (min-width: 1024px) and (max-height: 900px) {
  .home-hero-content {
    grid-template-columns: minmax(0, 1.20fr) minmax(330px, .60fr);
    padding-top: 20px;
    padding-bottom: 22px;
  }

  .home-hero h1 {
    font-size: clamp(2.75rem, 4.55vw, 4.95rem);
    max-width: 875px;
  }

  .home-lede {
    font-size: 1rem;
    line-height: 1.30;
    max-width: 790px;
  }

  .home-hero-proof span {
    min-height: 62px;
  }

  .home-decision-card {
    min-height: 0;
    padding: 10px 11px;
  }
}

.home-study-card.media {
  background: var(--ink);
}

.home-study-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}

.home-study-card.online .home-study-media {
  object-position: center center;
}

.home-study-card.media::before {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6,31,42,.08) 0%, rgba(6,31,42,.42) 42%, rgba(6,31,42,.88) 100%),
    radial-gradient(circle at 88% 10%, rgba(108,198,208,.22), transparent 16rem);
}

.home-study-card.media span,
.home-study-card.media strong {
  z-index: 2;
}

#proof.home-section {
  padding-top: clamp(30px, 3.8vw, 58px);
  padding-bottom: clamp(30px, 3.8vw, 58px);
}

#proof .home-section-head {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .42fr);
  margin-bottom: 18px;
}

#proof .home-section-head p {
  font-size: clamp(1.02rem, 1.38vw, 1.26rem);
  line-height: 1.35;
}

#proof .home-proof-card {
  min-height: 0;
  padding: clamp(18px, 1.8vw, 24px);
}

#proof .home-proof-card strong {
  font-size: clamp(1.45rem, 2.05vw, 2.05rem);
}

#proof .home-proof-card p {
  font-size: clamp(1rem, 1.12vw, 1.10rem);
  line-height: 1.32;
}

#proof .home-proof-card.visual {
  padding: 0;
  height: clamp(230px, 31vh, 320px);
  min-height: 0;
}

#proof .home-proof-card.visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

@media (min-width: 1160px) and (max-height: 900px) {
  #proof .home-section-head {
    margin-bottom: 14px;
  }

  #proof .home-proof-card.visual {
    height: clamp(210px, 28vh, 270px);
  }

  #proof .home-proof-card {
    padding: 18px;
  }

  #proof .home-proof-card strong {
    font-size: clamp(1.30rem, 1.82vw, 1.82rem);
  }

  #proof .home-proof-card p {
    font-size: .98rem;
  }
}

@media (max-width: 1100px) {
  #proof .home-section-head {
    grid-template-columns: 1fr;
  }

  #proof .home-proof-card.visual {
    height: clamp(210px, 32vw, 280px);
  }
}

@media (max-width: 760px) {
  .home-hero-content {
    padding-top: 20px;
    padding-bottom: 30px;
  }

  .home-hero h1 {
    font-size: clamp(2.25rem, 10.4vw, 3.18rem);
  }

  .home-study-card {
    min-height: 162px;
  }

  #proof.home-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  #proof .home-proof-card.visual {
    height: 205px;
  }
}


/* ================================================================
   V6 refinement — viewport balance, route-card action alignment and
   proof-section visual height consistency.
   Additive overrides only; content structure unchanged.
================================================================ */
@media (min-width: 1024px) {
  :root { --home-shell: 1260px; }

  .home-shell {
    padding-left: clamp(18px, 1.7vw, 28px);
    padding-right: clamp(18px, 1.7vw, 28px);
  }

  .home-hero-content {
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, .62fr);
    gap: clamp(28px, 3.4vw, 56px);
  }

  .home-hero-copy { max-width: 880px; }

  .home-hero h1 {
    font-size: clamp(3.05rem, 5.35vw, 6.25rem);
    max-width: 900px;
  }

  .home-lede {
    max-width: 830px;
    line-height: 1.30;
  }

  .home-hero-decision {
    max-width: 440px;
    justify-self: end;
  }
}

@media (min-width: 1160px) and (max-height: 900px) {
  .home-hero-content {
    grid-template-columns: minmax(0, 1.10fr) minmax(340px, .54fr);
    gap: 34px;
    padding-top: 20px;
    padding-bottom: 22px;
  }

  .home-hero h1 {
    font-size: clamp(2.85rem, 4.35vw, 4.95rem);
    max-width: 835px;
  }

  .home-lede {
    font-size: 1rem;
    line-height: 1.30;
    max-width: 805px;
  }

  .home-hero-actions,
  .home-hero-proof { margin-top: 12px; }

  .home-hero-proof span {
    min-height: 60px;
    padding: 8px 10px;
  }

  .home-hero-proof strong { font-size: .84rem; }
  .home-hero-proof small { font-size: .69rem; }

  .home-hero-decision {
    padding: 12px;
    gap: 8px;
  }

  .home-decision-card {
    padding: 10px 11px;
  }
}

.home-path-card {
  display: flex;
  flex-direction: column;
  align-content: initial;
}

.home-path-card ul { margin-bottom: 12px; }
.home-card-link { margin-top: auto; }

#proof .home-proof-grid { align-items: stretch; }

#proof .home-proof-card {
  min-height: 0;
  height: 100%;
}

#proof .home-proof-card.visual {
  height: auto;
  min-height: 100%;
}

#proof .home-proof-card.visual img {
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

@media (max-width: 1100px) {
  .home-hero-decision { max-width: none; }

  #proof .home-proof-card.visual {
    height: clamp(220px, 33vw, 300px);
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .home-path-card ul { margin-bottom: 10px; }

  #proof .home-proof-card.visual {
    height: 210px;
    min-height: 0;
  }
}

/* ================================================================
   V7 refinement — stronger responsive scaling for desktop/laptop
   and improved homepage first-fold balance.
   Mobile rules intentionally left untouched.
================================================================ */
@media (min-width: 1024px) {
  :root {
    --home-shell: clamp(1260px, 86vw, 1640px);
  }

  .home-shell {
    padding-left: clamp(18px, 1.35vw, 32px);
    padding-right: clamp(18px, 1.35vw, 32px);
  }

  .home-hero-content {
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, .58fr);
    gap: clamp(30px, 3.2vw, 64px);
  }

  .home-hero h1 {
    font-size: clamp(3.25rem, 5.45vw, 7rem);
    max-width: 980px;
  }

  .home-lede {
    font-size: clamp(1.04rem, 1.24vw, 1.34rem);
    max-width: 900px;
  }

  .home-hero-proof span {
    min-height: 78px;
  }
}

@media (min-width: 1160px) and (max-height: 930px) {
  .home-hero-content {
    grid-template-columns: minmax(0, 1.14fr) minmax(340px, .52fr);
    gap: clamp(28px, 3vw, 46px);
    padding-top: 12px;
    padding-bottom: 18px;
  }

  .home-hero-copy {
    max-width: 900px;
  }

  .home-eyebrow {
    font-size: .70rem;
    padding: 5px 9px;
  }

  .home-hero h1 {
    margin-top: 11px;
    font-size: clamp(2.95rem, 4.12vw, 4.85rem);
    line-height: .955;
    max-width: 870px;
  }

  .home-lede {
    margin-top: 12px;
    font-size: .98rem;
    line-height: 1.28;
    max-width: 840px;
  }

  .home-hero-actions {
    margin-top: 12px;
  }

  .home-hero-actions .btn {
    min-height: 36px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .home-hero-proof {
    margin-top: 12px;
    gap: 8px;
  }

  .home-hero-proof span {
    min-height: 58px;
    padding: 8px 10px;
  }

  .home-hero-proof strong {
    font-size: .84rem;
  }

  .home-hero-proof small {
    margin-top: 4px;
    font-size: .69rem;
    line-height: 1.16;
  }

  .home-hero-decision {
    max-width: 410px;
    padding: 11px;
    gap: 8px;
    border-radius: 24px;
  }

  .home-decision-head {
    padding: 7px 10px 3px;
  }

  .home-decision-head strong {
    font-size: 1.32rem;
  }

  .home-decision-card {
    border-radius: 18px;
    padding: 10px 11px;
    gap: 4px;
  }

  .home-decision-card span,
  .home-path-label {
    font-size: .66rem;
    padding: 4px 7px;
  }

  .home-decision-card strong {
    font-size: .96rem;
  }

  .home-decision-card small {
    font-size: .76rem;
    line-height: 1.16;
  }
}

@media (min-width: 1600px) {
  :root {
    --home-shell: min(88vw, 1720px);
  }

  .home-hero-content {
    grid-template-columns: minmax(0, 1.15fr) minmax(430px, .52fr);
    gap: clamp(52px, 4.4vw, 92px);
  }

  .home-hero h1 {
    font-size: clamp(6.8rem, 5.15vw, 8.8rem);
    max-width: 1180px;
  }

  .home-lede {
    font-size: clamp(1.28rem, 1.08vw, 1.58rem);
    max-width: 1060px;
  }

  .home-hero-actions .btn {
    min-height: 44px;
    padding-left: 18px;
    padding-right: 18px;
    font-size: 1.05rem;
  }

  .home-hero-proof span {
    min-height: 94px;
    padding: 15px;
  }

  .home-hero-proof strong {
    font-size: 1.08rem;
  }

  .home-hero-proof small {
    font-size: .82rem;
  }

  .home-hero-decision {
    max-width: 520px;
    padding: 18px;
    gap: 12px;
  }

  .home-decision-card {
    padding: 16px;
  }

  .home-decision-card strong {
    font-size: 1.16rem;
  }

  .home-decision-card small {
    font-size: .88rem;
  }

  .home-section h2,
  .home-final h2 {
    font-size: clamp(4.4rem, 3.6vw, 6.3rem);
    max-width: 1160px;
  }

  .home-section-head p,
  .home-section-copy p,
  .home-study-layout p,
  .home-international-band p,
  .home-final p {
    font-size: clamp(1.15rem, .95vw, 1.42rem);
  }
}

@media (min-width: 1900px) {
  .home-principle-card,
  .home-path-card,
  .home-proof-card,
  .home-study-card,
  .home-campus-card,
  .home-international-band {
    border-radius: 30px;
  }
}


/* ================================================================
   V8 refinement — viewport-framed homepage sections for large
   desktop/monitor displays. Mobile rules are intentionally untouched.
   This prevents short sections from revealing the next section too early
   on large 16:9 displays while allowing content to grow naturally.
================================================================ */
@media (min-width: 1180px) and (min-height: 700px) {
  .dsti-home .viewport-section {
    min-height: calc(100svh - var(--site-header-h));
    display: grid;
    align-items: center;
  }

  .dsti-home .viewport-section > .home-shell {
    width: 100%;
  }
}

@media (min-width: 1600px) and (min-height: 760px) {
  .dsti-home .viewport-section {
    min-height: calc(100svh - var(--site-header-h));
  }

  .home-section.viewport-section {
    padding-top: clamp(58px, 6.2vh, 96px);
    padding-bottom: clamp(58px, 6.2vh, 96px);
  }

  .home-final.viewport-section {
    padding-top: clamp(64px, 7vh, 110px);
    padding-bottom: clamp(64px, 7vh, 110px);
  }
}

@media (min-width: 1600px) and (min-height: 960px) {
  .home-section-head {
    margin-bottom: clamp(24px, 2.2vh, 38px);
  }
}
/* ================================================================
   V9 refinement — homepage hero mobile overflow fix and large-screen
   viewport framing. Content unchanged.
================================================================ */

/* Defensive containment for the homepage hero only. This fixes the
   iPhone 13 Pro overflow caused by earlier desktop hero grid overrides
   and horizontally-scrollable proof chips influencing layout width. */
.dsti-home,
.home-hero,
.home-hero-content,
.home-hero-copy,
.home-hero-decision {
  min-width: 0;
}

.home-hero {
  max-width: 100%;
  overflow: hidden;
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: clip;
  }

  .dsti-home {
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
  }

  .home-hero-content {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr) !important;
    overflow: hidden;
  }

  .home-hero-copy,
  .home-hero-decision {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
  }

  .home-eyebrow,
  .home-hero h1,
  .home-lede {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .home-hero-proof {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .home-hero-proof span {
    flex: 0 0 min(155px, calc(100vw - 36px));
  }

  .home-decision-card {
    min-width: 0;
  }

  .home-decision-card span,
  .home-decision-card strong,
  .home-decision-card small {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

/* Large-monitor sections: increase visual presence and prevent short
   storytelling sections from revealing the next section too early. */
@media (min-width: 1180px) and (min-height: 700px) {
  .dsti-home .viewport-section {
    min-height: calc(100svh - var(--site-header-h));
    display: grid;
    align-items: center;
  }

  .dsti-home .viewport-section > .home-shell {
    width: 100%;
  }
}

@media (min-width: 1600px) and (min-height: 760px) {
  :root {
    --home-shell: min(88vw, 1760px);
  }

  .home-section.viewport-section {
    padding-top: clamp(64px, 6.4vh, 108px);
    padding-bottom: clamp(64px, 6.4vh, 108px);
  }

  .home-final.viewport-section {
    padding-top: clamp(72px, 7.2vh, 122px);
    padding-bottom: clamp(72px, 7.2vh, 122px);
  }
}

@media (min-width: 1900px) and (min-height: 820px) {
  :root {
    --home-shell: min(89vw, 1880px);
  }

  .home-section h2,
  .home-final h2 {
    font-size: clamp(4.8rem, 3.75vw, 7rem);
  }

  .home-principle-card,
  .home-path-card,
  .home-proof-card,
  .home-study-card,
  .home-campus-card,
  .home-international-band {
    padding: clamp(22px, 1.35vw, 32px);
  }
}
/* ================================================================
   V10 surgical fix — iPhone homepage hero horizontal overflow only.
   No content, section or desktop layout changes.
================================================================ */
@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .dsti-home,
  .home-hero {
    inline-size: 100%;
    max-inline-size: 100vw;
    overflow-x: hidden;
  }

  .home-hero .home-shell,
  .home-hero-content,
  .home-hero-copy,
  .home-hero-decision {
    inline-size: 100%;
    max-inline-size: 100%;
    min-inline-size: 0;
  }

  .home-hero .home-shell {
    padding-inline: 12px;
  }

  .home-hero-content {
    display: block !important;
    overflow-x: hidden;
  }

  .home-hero-copy,
  .home-hero-decision,
  .home-decision-card {
    overflow-x: hidden;
  }

  .home-eyebrow {
    display: block;
    width: fit-content;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .home-hero h1 {
    max-width: 100%;
    text-wrap: normal;
    overflow-wrap: normal;
    word-break: normal;
    font-size: clamp(2.05rem, 8.7vw, 2.9rem);
    letter-spacing: -.058em;
  }

  .home-lede {
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
  }

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

  .home-hero-proof {
    inline-size: 100%;
    max-inline-size: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    contain: inline-size;
    -webkit-overflow-scrolling: touch;
  }

  .home-hero-proof span {
    flex: 0 0 min(150px, 44vw);
    max-width: min(150px, 44vw);
  }

  .home-decision-card span,
  .home-decision-card strong,
  .home-decision-card small {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 420px) {
  .home-hero .home-shell {
    padding-inline: 12px;
  }

  .home-hero h1 {
    font-size: clamp(2rem, 8.45vw, 2.72rem);
  }
}
/* ================================================================
   V4 homepage refinements: mobile spacing and international proof.
================================================================ */
.home-proof-card strong {
  text-wrap: balance;
}

@media (max-width: 760px) {
  .home-hero-proof {
    margin-bottom: 20px;
  }

  .home-hero-decision {
    margin-top: 20px;
  }
}
/* ================================================================
   V5 homepage coherence: match Live Streamed mobile hero spacing.
================================================================ */
@media (max-width: 760px) {
  .home-hero-proof {
    margin-bottom: 22px !important;
  }

  .home-hero-decision {
    margin-top: 22px !important;
  }
}
/* ================================================================
   Homepage + DA programme refinement pass.
   - Wide-monitor hero text slightly reduced.
   - "What DSTI is" now uses a balanced four-card grid.
   - Proof cards have richer text, icons and certifier logos.
   - Final CTA is no longer vertically centred too low.
================================================================ */

@media (min-width: 1500px) and (min-height: 820px) {
  .home-hero h1 {
    font-size: clamp(4.2rem, 5.72vw, 6.55rem);
    max-width: 900px;
  }

  .home-hero-proof {
    margin-top: 16px;
  }

  .home-hero-proof span {
    min-height: 80px;
  }
}

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

.home-principle-card {
  min-height: 208px;
}

.home-principle-card strong {
  background: rgba(108,198,208,.14);
  color: #0d6671;
}

.home-principle-card:nth-child(3) strong {
  background: rgba(145,0,72,.10);
  color: var(--magenta);
}

.home-proof-card {
  gap: 0;
}

.home-proof-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), rgba(255,255,255,.08));
  margin-bottom: 14px;
  box-shadow: 0 16px 32px rgba(6,31,42,.18);
}

.home-proof-icon.light {
  color: var(--ink);
  background: linear-gradient(135deg, rgba(108,198,208,.22), rgba(255,255,255,.86));
}

.home-proof-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-proof-card p {
  line-height: 1.32;
}

.home-proof-card.cert-card {
  display: grid;
  align-content: start;
}

.home-cert-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.home-cert-logos img,
.home-cert-logo-text {
  height: 48px;
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(219,229,232,.92);
  background: rgba(255,255,255,.94);
  object-fit: contain;
  padding: 8px 10px;
  box-shadow: 0 8px 18px rgba(6,31,42,.06);
}

.home-cert-logo-text {
  display: grid;
  place-items: center;
  color: #1c5d99;
  font-weight: 950;
  letter-spacing: -.02em;
  font-size: 1.15rem;
}

.home-final.home-final-tight {
  padding-top: clamp(38px, 4.5vw, 68px);
  padding-bottom: clamp(42px, 5vw, 78px);
}

@media (min-width: 1600px) and (min-height: 760px) {
  .home-final.home-final-tight {
    padding-top: clamp(42px, 4.8vh, 74px);
    padding-bottom: clamp(46px, 5vh, 82px);
  }
}

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

@media (max-width: 760px) {
  .home-principles {
    grid-template-columns: 1fr;
  }

  .home-principle-card {
    min-height: 0;
  }

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

  .home-cert-logos img,
  .home-cert-logo-text {
    height: 44px;
  }
}
/* ================================================================
   Homepage refinement pass — self-contained certification badges,
   smaller ultra-wide hero and four-card positioning grid.
================================================================ */

/* Slightly reduce the huge hero title on very wide desktop screens so
   the proof row remains visible without losing the intended impact. */
@media (min-width: 1500px) and (min-height: 820px) {
  .home-hero h1 {
    font-size: clamp(4.2rem, 5.72vw, 6.55rem);
    max-width: 900px;
  }

  .home-hero-proof {
    margin-top: 16px;
  }

  .home-hero-proof span {
    min-height: 80px;
  }
}

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

.home-principle-card {
  min-height: 208px;
}

.home-principle-card strong {
  background: rgba(108,198,208,.14);
  color: #0d6671;
}

.home-principle-card:nth-child(3) strong {
  background: rgba(145,0,72,.10);
  color: var(--magenta);
}

.home-cert-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.home-cert-badge {
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(219,229,232,.92);
  background: rgba(255,255,255,.94);
  padding: 9px 10px;
  box-shadow: 0 8px 18px rgba(6,31,42,.06);
  display: grid;
  align-content: center;
  gap: 2px;
}

.home-cert-badge strong {
  color: var(--ink);
  font-size: .95rem;
  line-height: 1;
  letter-spacing: -.03em;
}

.home-cert-badge small {
  color: var(--muted);
  font-weight: 800;
  font-size: .66rem;
  line-height: 1.05;
}

.home-cert-badge.aws strong { color: #9a5a00; }
.home-cert-badge.microsoft strong { color: #315a9f; }
.home-cert-badge.cisco strong { color: #0a6da8; }
.home-cert-badge.sas strong { color: #2459a8; }

.home-final.home-final-tight {
  padding-top: clamp(38px, 4.5vw, 68px);
  padding-bottom: clamp(42px, 5vw, 78px);
}

@media (min-width: 1600px) and (min-height: 760px) {
  .home-final.home-final-tight {
    padding-top: clamp(42px, 4.8vh, 74px);
    padding-bottom: clamp(46px, 5vh, 82px);
  }
}

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

@media (max-width: 760px) {
  .home-principles {
    grid-template-columns: 1fr;
  }

  .home-principle-card {
    min-height: 0;
  }

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

  .home-cert-badge {
    min-height: 48px;
  }
}
/* ================================================================
   V5 certifier logo fix.
   The certifier visuals are inline SVG logo-style lockups, not img files,
   so they render from dist alone without requiring source templates or
   relying on media URLs.
================================================================ */
.home-cert-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 16px;
}

.home-cert-logo {
  display: block;
  width: 100%;
  min-width: 0;
  border-radius: 16px;
  filter: drop-shadow(0 8px 18px rgba(6,31,42,.07));
}

.home-cert-logo svg {
  display: block;
  width: 100%;
  height: auto;
}

.home-cert-logo rect:first-child {
  fill: rgba(255,255,255,.96);
  stroke: rgba(219,229,232,.96);
  stroke-width: 1.4;
}

.home-cert-logo .brand {
  font-family: inherit;
  font-size: 25px;
  font-weight: 950;
  letter-spacing: -.04em;
}

.home-cert-logo .sub {
  font-family: inherit;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .01em;
  opacity: .86;
}

.home-cert-logo.aws .brand { fill: #232f3e; }
.home-cert-logo.aws .sub { fill: #232f3e; }
.home-cert-logo.aws .smile,
.home-cert-logo.aws .arrow {
  fill: none;
  stroke: #ff9900;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-cert-logo.microsoft .brand { fill: #1f2933; }
.home-cert-logo.microsoft .sub { fill: #46606e; }
.home-cert-logo.microsoft .ms-red { fill: #f25022; }
.home-cert-logo.microsoft .ms-green { fill: #7fba00; }
.home-cert-logo.microsoft .ms-blue { fill: #00a4ef; }
.home-cert-logo.microsoft .ms-yellow { fill: #ffb900; }

.home-cert-logo.cisco .brand { fill: #005073; }
.home-cert-logo.cisco .sub { fill: #46606e; }
.home-cert-logo.cisco .bars path {
  fill: none;
  stroke: #00a0df;
  stroke-width: 4;
  stroke-linecap: round;
}

.home-cert-logo.sas .brand { fill: #2459a8; }
.home-cert-logo.sas .wave { fill: rgba(36,89,168,.18); stroke: #2459a8; stroke-width: 2; }

.home-cert-badge,
.home-cert-logo-text {
  display: none;
}

@media (max-width: 760px) {
  .home-cert-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-cert-logo .brand {
    font-size: 23px;
  }

  .home-cert-logo .sub {
    font-size: 12px;
  }
}
/* ================================================================
   V6 certifier logo fix.
   Use the real external SVG logos requested, constrained to fixed boxes.
   The img elements are forced to fit, never crop, never spill.
================================================================ */
.home-cert-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 16px;
}

.home-cert-logo {
  min-width: 0;
  height: 58px;
  border-radius: 16px;
  border: 1px solid rgba(219,229,232,.92);
  background: rgba(255,255,255,.96);
  padding: 10px 12px;
  box-shadow: 0 8px 18px rgba(6,31,42,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.home-cert-logo:hover,
.home-cert-logo:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(108,198,208,.42);
  box-shadow: 0 12px 24px rgba(6,31,42,.10);
  outline: none;
}

.home-cert-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 154px;
  max-height: 34px;
  object-fit: contain;
  object-position: center;
}

.home-cert-logo.microsoft img {
  max-width: 148px;
  max-height: 32px;
}

.home-cert-logo.cisco img {
  max-width: 118px;
  max-height: 32px;
}

.home-cert-logo.sas img {
  max-width: 118px;
  max-height: 32px;
}

.home-cert-badge,
.home-cert-logo-text {
  display: none;
}

.home-cert-logo svg {
  display: none;
}

@media (max-width: 760px) {
  .home-cert-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .home-cert-logo {
    height: 54px;
    padding: 9px 10px;
  }

  .home-cert-logo img {
    max-width: 136px;
    max-height: 30px;
  }

  .home-cert-logo.cisco img,
  .home-cert-logo.sas img {
    max-width: 106px;
  }
}


/* V21 Choose France homepage block */
.home-france {
  background:
    radial-gradient(circle at 12% 18%, rgba(35,90,166,.12), transparent 26rem),
    radial-gradient(circle at 88% 10%, rgba(168,50,44,.10), transparent 24rem),
    linear-gradient(180deg, #ffffff, #f7fbfc);
}

.home-france-band {
  border: 1px solid rgba(219,229,232,.88);
  border-radius: 30px;
  box-shadow: var(--shadow-strong, 0 18px 48px rgba(6,31,42,.13));
  padding: clamp(20px, 3vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, .65fr);
  gap: 20px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(244,248,249,.92)),
    radial-gradient(circle at 98% 12%, rgba(35,90,166,.13), transparent 22rem);
}

.home-france-proof {
  display: grid;
  gap: 9px;
}

.home-france-proof span {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  padding: 13px 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

.home-france-proof strong {
  color: #235aa6;
  font-size: clamp(1.75rem, 2.75vw, 3rem);
  line-height: .9;
  letter-spacing: -.065em;
  white-space: nowrap;
}

.home-france-proof span:nth-child(2) strong { color: #a8322c; }
.home-france-proof span:nth-child(3) strong { color: #16824a; }

.home-france-proof small {
  color: var(--muted);
  font-weight: 760;
  line-height: 1.22;
}

@media (max-width: 1100px) {
  .home-france-band { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .home-france-proof span { grid-template-columns: 1fr; }
}

/* V31 — homepage final CTA consistency: keep fine label text readable on dark teal gradient. */
.home-final .home-kicker {
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.24);
  color: #fff;
}

/* ================================================================
   V93 homepage experiment — clearer entry hierarchy after the new
   international-student, DoS and student-stories content work.
   This is deliberately appended as an experimental layer.
================================================================ */
.home-hero-overlay {
  background:
    radial-gradient(circle at 11% 15%, rgba(108,198,208,.26), transparent 31rem),
    radial-gradient(circle at 88% 8%, rgba(145,0,72,.24), transparent 29rem),
    linear-gradient(90deg, rgba(6,31,42,.88) 0%, rgba(6,31,42,.72) 38%, rgba(6,31,42,.34) 69%, rgba(6,31,42,.68) 100%),
    linear-gradient(180deg, rgba(6,31,42,.10), rgba(6,31,42,.82));
}

.home-hero-content {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .70fr);
  gap: clamp(24px, 4.2vw, 68px);
  padding-top: clamp(20px, 4vw, 58px);
  padding-bottom: clamp(24px, 4vw, 62px);
}

.home-hero-copy { max-width: 940px; }

.home-hero h1 {
  font-size: clamp(3rem, 5.85vw, 6.75rem);
  max-width: 1050px;
}

.home-lede {
  max-width: 850px;
  font-size: clamp(1.06rem, 1.34vw, 1.34rem);
}

.home-hero-proof {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 930px;
}

.home-hero-proof span {
  min-height: 92px;
  background: rgba(255,255,255,.12);
}

.home-hero-experience {
  max-width: 500px;
  justify-self: end;
  padding: 13px;
  gap: 9px;
}

.home-hero-experience .home-decision-head {
  padding: 10px 12px 8px;
}

.home-hero-experience .home-decision-head strong {
  font-size: clamp(1.18rem, 1.55vw, 1.55rem);
  line-height: 1.05;
}

.home-hero-experience .home-decision-card {
  position: relative;
  overflow: hidden;
  min-height: 100px;
}

.home-hero-experience .home-decision-card::after {
  content: "";
  position: absolute;
  inset: auto -42px -58px auto;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: rgba(145,0,72,.07);
  pointer-events: none;
}

.home-hero-experience .home-decision-card.postgraduate::after,
.home-hero-experience .home-decision-card.student::after {
  background: rgba(108,198,208,.13);
}

.home-hero-experience .home-decision-card.support::after {
  background: rgba(216,165,45,.12);
}

.home-hero-experience .home-decision-card span,
.home-hero-experience .home-decision-card strong,
.home-hero-experience .home-decision-card small {
  position: relative;
  z-index: 1;
}

.home-international-v93 {
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(244,248,249,.94)),
    radial-gradient(circle at 92% 12%, rgba(108,198,208,.16), transparent 22rem),
    radial-gradient(circle at 12% 88%, rgba(145,0,72,.11), transparent 20rem);
}

.home-international-v93 .home-international-links a:nth-child(2),
.home-international-v93 .home-international-links a:nth-child(3) {
  border-color: rgba(108,198,208,.36);
  background: rgba(108,198,208,.10);
}

.home-international-v93 .home-international-links a:nth-child(5) {
  border-color: rgba(145,0,72,.20);
  background: rgba(145,0,72,.08);
}

@media (max-width: 1180px) {
  .home-hero-content {
    grid-template-columns: 1fr;
  }

  .home-hero-experience {
    justify-self: stretch;
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero-experience .home-decision-head {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .home-hero-content {
    padding-top: clamp(22px, 7vw, 38px);
  }

  .home-hero h1 {
    font-size: clamp(2.2rem, 10.2vw, 3.25rem);
  }

  .home-hero-proof {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .home-hero-proof span {
    min-height: auto;
  }

  .home-hero-experience {
    grid-template-columns: 1fr;
  }
}

/* V102: homepage hero-only decision label vertical alignment */
.home-hero-decision .home-decision-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  line-height: 1;
  padding-top: 5px;
  padding-bottom: 5px;
}

/* V181 — homepage mobile hero proof cards.
   Keep the change scoped to the homepage: stacked mobile cards are safer than
   the earlier horizontal peek/scroll pattern and avoid accidental viewport
   jitter without touching other page families. */
@media (max-width: 760px) {
  .home-hero-proof {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }

  .home-hero-proof span {
    min-width: 0;
    width: 100%;
    scroll-snap-align: none;
  }
}


/* V182 — homepage mobile hero proof cards full width.
   V181 stacked the three proof cards on mobile; this pass makes each card
   occupy the full available mobile content width and neutralises older
   horizontal-scroll sizing rules. Scoped to the homepage only. */
@media (max-width: 760px) {
  .dsti-home .home-hero-copy {
    max-width: none !important;
  }

  .dsti-home .home-hero-proof {
    width: 100% !important;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: stretch;
    gap: 9px;
  }

  .dsti-home .home-hero-proof span {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: 0 1 auto !important;
    justify-self: stretch;
    box-sizing: border-box;
  }
}


/* ================================================================
   V187b — homepage first-paint/video stability with nav-isolated route init.
   Keep the visual layout unchanged while making the first hero paint independent
   from video compositing and late Study-at-DSTI navigation state changes.
================================================================ */
.home-hero {
  isolation: isolate;
  transform: translateZ(0);
}

.home-hero-video {
  z-index: 0;
  filter: none;
  transform: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.home-hero-overlay {
  z-index: 1;
  pointer-events: none;
}

.home-hero-content {
  z-index: 2;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.home-hero-copy,
.home-hero-decision,
.home-hero h1,
.home-lede,
.home-hero-actions,
.home-hero-proof {
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 760px) {
  .home-hero-video {
    transform: none !important;
    filter: none !important;
  }
}

/* ================================================================
   V211 — lighter homepage hero entry point.
   Keep the hero message and liquid-glass starting-point card, but reduce
   first-fold choice load and move proof points into a calmer strip below.
================================================================ */
.home-hero-actions.compact {
  max-width: 520px;
}

.home-decision-card.admissions span {
  background: var(--home-teal);
  color: #235aa6;
  border: 1px solid var(--home-teal-line);
}

.home-decision-card.finance span {
  background: var(--home-gold);
  color: #a8322c;
  border: 1px solid var(--home-gold-line);
}

.home-decision-card.international span {
  background: rgba(108,198,208,.16);
  color: #08747d;
  border: 1px solid rgba(108,198,208,.34);
}


@media (min-width: 761px) and (max-width: 1100px) {
  .home-hero-decision {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-decision-head {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .home-hero-actions.compact {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .home-hero-actions.compact .btn-soft {
    grid-column: auto;
  }

}

@media (max-width: 420px) {
  .home-hero-actions.compact {
    grid-template-columns: 1fr;
  }
}


/* V212 homepage proof redistribution.
   Removes the V211 mini at-a-glance strip from HTML and folds those proof points
   back into existing cards without changing the homepage hero structure. */
.home-collage-main figcaption strong,
.home-collage-tile figcaption strong {
  display: block;
  color: #fff;
  font-size: clamp(1rem, 1.2vw, 1.22rem);
  letter-spacing: -.025em;
}

.home-collage-main figcaption span,
.home-collage-tile figcaption span {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.82);
  font-weight: 780;
  font-size: clamp(.78rem, .9vw, .92rem);
  line-height: 1.24;
}

.home-principle-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.home-principle-tags span {
  border-radius: 999px;
  border: 1px solid rgba(108,198,208,.28);
  background: rgba(108,198,208,.12);
  color: #0d6671;
  padding: 6px 9px;
  font-size: .72rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.home-proof-note {
  margin-top: 16px;
  border-radius: 18px;
  border: 1px solid rgba(108,198,208,.28);
  background: linear-gradient(135deg, rgba(108,198,208,.16), rgba(255,255,255,.08));
  padding: 12px 13px;
  display: grid;
  gap: 5px;
}

.home-proof-note .home-proof-note-title {
  color: var(--teal);
  font-weight: 950;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0;
}

.home-proof-note span:last-child {
  color: rgba(255,255,255,.82);
  font-weight: 760;
  font-size: .86rem;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
}

.home-skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
  align-items: center;
}

.home-skill-cloud span {
  color: #0d6671;
  background: rgba(108,198,208,.12);
  border: 1px solid rgba(108,198,208,.28);
  border-radius: 999px;
  padding: 6px 9px;
  font-size: .71rem;
  line-height: 1;
  font-weight: 900;
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
}

.home-skill-cloud span:nth-child(2n) {
  color: var(--magenta);
  background: rgba(145,0,72,.08);
  border-color: rgba(145,0,72,.18);
}

.home-skill-cloud span:nth-child(3n) {
  color: var(--ink);
  background: rgba(255,255,255,.76);
  border-color: rgba(219,229,232,.90);
}

@media (max-width: 760px) {
  .home-principle-tags,
  .home-skill-cloud {
    gap: 6px;
  }

  .home-principle-tags span,
  .home-skill-cloud span {
    font-size: .68rem;
    padding: 6px 8px;
  }
}


/* V216b — French homepage hero CTA containment on large desktop. */
@media (min-width: 980px) {
  html[lang="fr"] .home-hero-actions.compact {
    max-width: 650px;
  }
}

/* V227 — homepage employability logo repair.
   Keep the certification visuals isolated to the homepage proof card and use
   DSTI-hosted provider logos only. The old word cloud is deliberately removed
   from the source pages; the six-logo grid now carries the employability cue. */
.home-proof-card.cert-card .home-cert-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 16px;
  width: 100%;
}

.home-proof-card.cert-card .home-cert-logo {
  min-width: 0;
  height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(219,229,232,.92);
  background: rgba(255,255,255,.97);
  padding: 9px 10px;
  box-shadow: 0 8px 18px rgba(6,31,42,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  filter: none;
}

.home-proof-card.cert-card .home-cert-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 128px;
  max-height: 32px;
  object-fit: contain;
  object-position: center;
}

.home-proof-card.cert-card .home-cert-logo.aws img { max-width: 116px; max-height: 30px; }
.home-proof-card.cert-card .home-cert-logo.cisco img { max-width: 92px; max-height: 30px; }
.home-proof-card.cert-card .home-cert-logo.eccouncil img { max-width: 108px; max-height: 32px; }
.home-proof-card.cert-card .home-cert-logo.neo4j img { max-width: 98px; max-height: 31px; }
.home-proof-card.cert-card .home-cert-logo.microsoft img { max-width: 106px; max-height: 29px; }
.home-proof-card.cert-card .home-cert-logo.sas img { max-width: 82px; max-height: 29px; }

.home-proof-card.cert-card .home-cert-logo svg,
.home-proof-card.cert-card .home-cert-badge,
.home-proof-card.cert-card .home-cert-logo-text {
  display: none;
}

@media (max-width: 1180px) {
  .home-proof-card.cert-card .home-cert-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-proof-card.cert-card .home-cert-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .home-proof-card.cert-card .home-cert-logo {
    height: 52px;
    padding: 8px 9px;
  }

  .home-proof-card.cert-card .home-cert-logo img {
    max-width: 118px;
    max-height: 30px;
  }
}

/* ================================================================
   V228 — homepage employability card containment repair.
   V227 correctly replaced the logo sources, but the six-logo layout
   remained too cramped in the proof card and could visually collide
   with the text on narrow/mobile and translated layouts. Keep the fix
   scoped to the homepage employability proof card only.
================================================================ */
#proof .home-proof-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .92fr) minmax(320px, 1.22fr) minmax(220px, .84fr);
}

#proof .home-proof-card.cert-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}

#proof .home-proof-card.cert-card > span,
#proof .home-proof-card.cert-card > strong,
#proof .home-proof-card.cert-card > p,
#proof .home-proof-card.cert-card > .home-cert-logos {
  width: 100%;
  max-width: none;
  min-width: 0;
  position: static;
  grid-column: auto;
  grid-row: auto;
}

#proof .home-proof-card.cert-card > span {
  margin: 0 0 2px;
}

#proof .home-proof-card.cert-card > strong {
  margin: 0;
  text-align: left;
  text-wrap: balance;
}

#proof .home-proof-card.cert-card > p {
  margin: 0;
  text-align: left;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: auto;
}

#proof .home-proof-card.cert-card .home-cert-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 6px 0 0;
  width: 100%;
  max-width: none;
}

#proof .home-proof-card.cert-card .home-cert-logo {
  min-width: 0;
  width: 100%;
  height: clamp(58px, 4.7vw, 66px);
  padding: 10px 12px;
  border-radius: 17px;
}

#proof .home-proof-card.cert-card .home-cert-logo img {
  width: 100%;
  height: 100%;
  max-width: 148px;
  max-height: 40px;
  object-fit: contain;
  object-position: center;
}

#proof .home-proof-card.cert-card .home-cert-logo.aws img { max-width: 132px; max-height: 37px; }
#proof .home-proof-card.cert-card .home-cert-logo.cisco img { max-width: 112px; max-height: 37px; }
#proof .home-proof-card.cert-card .home-cert-logo.eccouncil img { max-width: 132px; max-height: 38px; }
#proof .home-proof-card.cert-card .home-cert-logo.neo4j img { max-width: 122px; max-height: 38px; }
#proof .home-proof-card.cert-card .home-cert-logo.microsoft img { max-width: 128px; max-height: 36px; }
#proof .home-proof-card.cert-card .home-cert-logo.sas img { max-width: 104px; max-height: 36px; }

@media (max-width: 1180px) {
  #proof .home-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  #proof .home-proof-grid {
    grid-template-columns: 1fr;
  }

  #proof .home-proof-card.cert-card {
    gap: 9px;
  }

  #proof .home-proof-card.cert-card .home-cert-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 8px;
  }

  #proof .home-proof-card.cert-card .home-cert-logo {
    height: 58px;
    padding: 9px 10px;
  }

  #proof .home-proof-card.cert-card .home-cert-logo img {
    max-width: 132px;
    max-height: 35px;
  }
}

@media (max-width: 390px) {
  #proof .home-proof-card.cert-card .home-cert-logo {
    height: 54px;
    padding: 8px 9px;
  }

  #proof .home-proof-card.cert-card .home-cert-logo img {
    max-width: 120px;
    max-height: 32px;
  }
}
