.immersive-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  min-height: 720px;
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0 40px;
}

.immersive-hero::before {
  position: absolute;
  inset: 4% -8% auto 42%;
  height: 62%;
  pointer-events: none;
  content: "";
  background: linear-gradient(135deg, rgba(10, 111, 99, .22), rgba(192, 138, 44, .16));
  border-radius: 8px;
  transform: skewY(-6deg);
}

.immersive-hero__content,
.immersive-hero__media {
  position: relative;
}

.immersive-hero__content h1 {
  max-width: 860px;
  margin: 0 0 20px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: 0;
}

.immersive-hero__lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 23px);
}

.immersive-hero__media {
  aspect-ratio: 4 / 3;
  min-height: 0;
  width: min(100%, 900px);
  min-height: clamp(520px, 38vw, 680px);
  max-height: 720px;
  justify-self: center;
  overflow: hidden;
  background: #12202b;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.immersive-hero__media.hero-media {
  min-height: 0;
  border-radius: 8px;
}

.immersive-hero__media.hero-media::after {
  display: none;
}

.immersive-hero__media.hero-media img,
.immersive-hero__media.hero-media video,
.immersive-hero__media.hero-media .immersive-hero__video {
  object-fit: contain;
}

.immersive-hero__media img,
.immersive-hero__video {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.immersive-hero__video {
  display: block;
}

.hero-orbit {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .06), transparent),
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, .38) 0 8%, transparent 8.5%),
    radial-gradient(circle at 72% 34%, rgba(255, 255, 255, .24) 0 12%, transparent 12.5%),
    radial-gradient(circle at 45% 78%, rgba(255, 255, 255, .18) 0 18%, transparent 18.5%);
}

.hero-orbit span {
  position: absolute;
  width: 46%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 50%;
}

.hero-orbit span:nth-child(1) { top: 10%; left: 8%; }
.hero-orbit span:nth-child(2) { right: -12%; top: 24%; }
.hero-orbit span:nth-child(3) { left: 34%; bottom: -18%; }

.hero-video-card {
  position: absolute;
  right: auto;
  bottom: 20px;
  left: 20px;
  width: max-content;
  max-width: min(78%, 34rem);
  padding: 14px 16px;
  color: #fff;
  background: rgba(23, 32, 42, .58);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.hero-video-card strong {
  display: block;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.3;
}

.hero-video-card p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.4;
}

.story-scroll,
.bento-section,
.trust-panel,
.international-band {
  margin: clamp(38px, 7vw, 76px) 0;
}

.story-scroll {
  overflow: hidden;
}

.story-scroll__mobile-hint {
  display: none;
}

.story-scroll__track {
  display: grid;
  grid-template-columns: repeat(6, minmax(230px, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  padding: 8px 2px 18px;
  scroll-snap-type: x proximity;
}

.story-scroll__track--pathways {
  grid-template-columns: repeat(3, minmax(280px, 1fr));
}

.story-step {
  min-height: 280px;
  overflow: hidden;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}

.story-step > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 18px;
}

.story-step--image {
  position: relative;
  min-height: clamp(400px, 36vw, 520px);
  padding: 0;
  background: #102720;
}

.story-step__image-link {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  color: #fff;
  border-radius: inherit;
}

.story-step__image-link > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.story-step__image-link::after {
  position: absolute;
  inset: 24% 0 0;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(7, 25, 23, .94));
}

.story-step__number {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #fff;
  font-size: 18px;
  background: rgba(10, 111, 99, .88);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
}

.story-step__overlay {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px;
}

.story-step__overlay h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(25px, 2.3vw, 34px);
}

.story-step__overlay p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, .86);
}

.story-step__overlay strong {
  color: #fff;
}

.story-step__image-link:hover > img {
  transform: scale(1.035);
}

.story-step > span:not(.story-step__number) {
  color: var(--accent);
  font-size: 34px;
  font-weight: 900;
}

.story-step h3,
.bento-card h3 {
  margin: 10px 0 8px;
  font-size: 24px;
}

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

.bento-card {
  display: grid;
  align-content: space-between;
  min-height: 230px;
  padding: 22px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.bento-card--wide,
.bento-card--feature {
  grid-column: span 2;
}

.bento-card--tall,
.bento-card--feature {
  min-height: 360px;
}

.bento-card__icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
  font-weight: 900;
}

.bento-card__number {
  color: var(--brand-deep);
  font-size: 40px;
  line-height: 1;
}

.trust-panel,
.international-band {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, 1fr);
  gap: 22px;
  padding: clamp(24px, 5vw, 48px);
  background: #102720;
  color: #fff;
  border-radius: 8px;
}

.trust-panel p,
.international-band p,
.trust-panel dd {
  color: rgba(255, 255, 255, .78);
}

.trust-panel dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.trust-panel div {
  padding: 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
}

.trust-panel dt {
  font-weight: 900;
}

.trust-panel dd {
  margin: 4px 0 0;
}

.trust-panel dd a {
  color: #fff;
  font-weight: 800;
  text-underline-offset: .2em;
}

.trust-panel h2 a {
  color: inherit;
  text-decoration: none;
}

.visitor-pathways { margin: clamp(36px, 7vw, 72px) 0; }
.visitor-pathways__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.visitor-pathways__grid article { padding: clamp(20px, 3vw, 30px); background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.visitor-pathways__grid h3 { margin-top: 0; }
.visitor-pathways__grid p { color: var(--muted); }
.visitor-pathways__grid a { color: var(--brand-deep); font-weight: 900; }
.trust-panel__statistics dt { font-size: clamp(1.65rem, 4vw, 2.7rem); line-height: 1; }
.trust-panel__about { display: inline-block; margin-top: 12px; color: #fff; font-weight: 900; }

@media (max-width: 720px) {
  .visitor-pathways__grid { grid-template-columns: 1fr; }
  .trust-panel--statistics { grid-template-columns: 1fr; }
  .trust-panel__statistics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.international-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: center;
  align-items: center;
}

.international-band .button {
  border-color: rgba(255, 255, 255, .32);
}

.story-grid-immersive .student-story-card:first-child {
  grid-column: span 2;
}

.main-nav a:focus-visible,
.button:focus-visible,
.bento-card a:focus-visible,
.story-step a:focus-visible {
  outline: 3px solid rgba(192, 138, 44, .7);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  [data-animate] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s ease;
  }

  [data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .bento-card,
  .student-story-card,
  .campus-highlight-card,
  .button {
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  }

  .bento-card:hover,
  .student-story-card:hover,
  .campus-highlight-card:hover {
    transform: translateY(-3px);
  }
}

@media (max-width: 920px) {
  .immersive-hero,
  .trust-panel,
  .international-band {
    grid-template-columns: 1fr;
  }

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

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

  .story-scroll__track--pathways {
    grid-template-columns: repeat(3, minmax(78vw, 1fr));
    gap: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .story-step--image {
    min-height: 340px;
  }

  .story-scroll__mobile-hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin: -4px 0 2px;
    color: var(--brand-deep);
    font-size: 13px;
    font-weight: 800;
  }

  .story-step__overlay {
    padding: 22px;
  }

  .immersive-hero {
    gap: 18px;
    min-height: auto;
    overflow: visible;
    padding: 24px 0 30px;
  }

  .immersive-hero::before {
    inset: 4% -28% auto 44%;
    height: 48%;
    opacity: 0.75;
  }

  .immersive-hero__content h1 {
    max-width: 100%;
    margin-bottom: 14px;
    font-size: clamp(32px, 9.8vw, 42px);
    line-height: 1.05;
    overflow-wrap: break-word;
  }

  .immersive-hero__lead {
    font-size: 16px;
    line-height: 1.72;
  }

  .home-hero__actions {
    gap: 10px;
  }

  .home-hero__actions .button {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 15px;
    line-height: 1.2;
  }

  .immersive-hero__media {
    width: 100%;
    max-height: none;
    aspect-ratio: 16 / 11;
  }

  .hero-video-card {
    right: 12px;
    bottom: 8px;
    left: 12px;
    width: auto;
    max-width: calc(100% - 24px);
    padding: 10px 12px;
    backdrop-filter: blur(8px);
  }

  .hero-video-card strong {
    font-size: 15px;
    line-height: 1.3;
  }

  .hero-video-card p {
    display: none;
  }

  .bento-grid,
  .home-cta-grid {
    grid-template-columns: 1fr;
  }

  .bento-card--wide,
  .bento-card--feature,
  .story-grid-immersive .student-story-card:first-child {
    grid-column: span 1;
  }
}
