.home-hero,
.home-about,
.plan-visit-section,
.leaders-events-section,
.next-steps-home {
  padding: 4.5rem 0;
}

.home-hero {
  position: relative;
  min-height: calc(100vh - 78px);
  padding: 0;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #050505;
}

.home-hero-stage,
.home-hero-slide,
.home-hero-overlay,
.home-hero-spotlight {
  position: absolute;
  inset: 0;
}

.home-hero-stage {
  overflow: hidden;
}

.home-hero-slide {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: translate3d(5rem, 0, 0) scale(1.06);
  transition:
    opacity 1.8s ease,
    transform 9.5s ease;
}

.home-hero-slide.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1.01);
}

.home-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(12, 12, 12, 0.12), rgba(12, 12, 12, 0.06)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 32%);
}

.home-hero-overlay {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.68) 78%, rgba(0, 0, 0, 0.76) 100%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.24) 42%, rgba(0, 0, 0, 0.3) 100%);
}

.home-hero-spotlight {
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle 17rem at var(--spotlight-x, 50%) var(--spotlight-y, 50%), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08) 24%, rgba(99, 179, 237, 0.08) 38%, transparent 68%);
  mix-blend-mode: screen;
  transition: opacity 0.36s ease;
}

.home-hero.is-spotlight-active .home-hero-spotlight {
  opacity: 1;
}

.home-hero-inner {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  padding: 4rem 0 3rem;
}

.home-hero-copy,
.split-copy {
  display: grid;
  align-content: center;
}

.home-hero-copy {
  width: min(100%, 38rem);
  animation: heroContentRise 1.35s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.25s;
}

.home-hero-copy .section-copy {
  max-width: 32rem;
}

.home-hero-copy .eyebrow,
.home-hero-copy .section-heading,
.home-hero-copy .section-copy,
.home-hero-copy .hero-actions,
.home-hero-copy .hero-meta {
  opacity: 0;
  animation: heroTextCascade 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.home-hero-copy .eyebrow {
  animation-delay: 0.32s;
}

.home-hero-copy .section-heading {
  animation-delay: 0.48s;
}

.home-hero-copy .section-copy {
  animation-delay: 0.68s;
}

.home-hero-copy .hero-actions {
  animation-delay: 0.88s;
}

.home-hero-copy .hero-meta {
  animation-delay: 1.02s;
}

.home-hero-copy .eyebrow,
.home-hero-copy .section-heading,
.home-hero-copy .section-copy,
.home-hero-copy .hero-meta strong,
.home-hero-copy .hero-meta span {
  color: #ffffff;
}

.hero-actions,
.split-actions,
.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.split-layout,
.leaders-events-grid {
  display: grid;
  gap: 1.75rem;
}

.split-media,
.leaders-card,
.events-card,
.home-about-panel,
.next-step-card,
.hero-meta {
  overflow: hidden;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-top: 1.75rem;
  border-radius: 24px;
}

.home-hero-pulse {
  position: relative;
  width: min(22vw, 15rem);
  aspect-ratio: 1;
  align-self: center;
  justify-self: end;
  opacity: 0;
  animation: heroPulseAppear 1.2s ease forwards;
  animation-delay: 0.9s;
}

.hero-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 62%);
  backdrop-filter: blur(10px);
  animation: heroRingExpand 5.5s ease-in-out infinite;
}

.hero-pulse-ring:nth-child(2) {
  inset: 12%;
  animation-delay: 0.9s;
}

.hero-pulse-ring:nth-child(3) {
  inset: 24%;
  animation-delay: 1.8s;
}

.home-about {
  background: #ffffff;
}

.home-about-panel {
  padding: 1.75rem;
  display: grid;
  gap: 1rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--color-primary);
  font-weight: 700;
}

.plan-visit-section {
  background: var(--color-surface);
}

.visit-list {
  padding-left: 1.25rem;
  color: var(--color-text);
}

.visit-list li + li {
  margin-top: 0.6rem;
}

.leaders-events-section {
  background: #ffffff;
}

.leaders-card,
.events-card {
  padding: 1.5rem;
}

.leaders-card-grid,
.event-feature {
  display: grid;
  gap: 1.25rem;
}

.leader-image,
.event-image-placeholder,
.split-media .asset-placeholder {
  min-height: 260px;
}

.leader-image,
.event-image-placeholder {
  border-radius: 24px;
  overflow: hidden;
}

.leader-image img,
.event-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.leader-image--prophet {
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: 420px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.28), transparent 34%),
    linear-gradient(180deg, #f9f9f9 0%, #efefef 100%);
}

.leader-image--prophet img {
  width: min(100%, 460px);
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 26px 34px rgba(17, 17, 17, 0.16));
}

.home-hero .button-primary,
.home-hero .button-secondary {
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.14);
}

.home-hero .hero-actions .button-secondary.glass-surface {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.home-hero .hero-actions .button-primary,
.home-hero .hero-actions .button-secondary {
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease;
}

.home-hero .hero-actions .button-primary:hover,
.home-hero .hero-actions .button-primary:focus-visible {
  transform: translateY(-3px) scale(1.07);
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.22);
}

.home-hero .hero-actions .color-shift-button {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.home-hero .hero-actions .color-shift-button::before {
  background:
    radial-gradient(circle at top right, var(--button-hover-accent), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    linear-gradient(135deg, var(--button-hover-start), var(--button-hover-end));
}

.home-hero .hero-actions .color-shift-button:hover,
.home-hero .hero-actions .color-shift-button:focus-visible,
.home-hero .hero-actions .color-shift-button.is-active {
  transform: translateY(-3px) scale(1.06);
  box-shadow:
    0 26px 46px var(--button-hover-shadow),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.home-hero-plan-cta {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.26);
  color: #ffffff;
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.home-hero-plan-cta:hover,
.home-hero-plan-cta:focus-visible {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #ec4899 100%);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 24px 42px rgba(124, 58, 237, 0.24);
}

.home-hero .hero-actions .button-secondary:not(.color-shift-button):hover,
.home-hero .hero-actions .button-secondary:not(.color-shift-button):focus-visible {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08)),
    linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 24px 42px rgba(37, 99, 235, 0.26);
}

.event-feature h3,
.next-step-card h3 {
  margin: 0 0 0.5rem;
  color: var(--color-primary);
}

.next-steps-home {
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
}

.section-intro {
  max-width: 42rem;
  margin-bottom: 1.75rem;
}

.next-steps-grid {
  display: grid;
  gap: 1rem;
}

.next-step-card {
  padding: 1.4rem;
  position: relative;
  isolation: isolate;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.35s ease,
    color 0.28s ease;
  --card-hover-start: #1f6feb;
  --card-hover-end: #7c3aed;
  --card-hover-icon: #f8fafc;
  --card-hover-accent: rgba(255, 255, 255, 0.24);
  --card-hover-shadow: rgba(31, 111, 235, 0.28);
}

.next-step-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at top right, var(--card-hover-accent), transparent 34%),
    linear-gradient(135deg, var(--card-hover-start), var(--card-hover-end));
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}

.next-step-card i {
  font-size: 1.5rem;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
  transition: color 0.28s ease, transform 0.28s ease;
}

.next-step-card p {
  margin: 0;
  color: var(--color-muted);
  transition: color 0.28s ease;
}

.next-step-card:hover,
.next-step-card:focus-visible,
.next-step-card.is-active {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 26px 50px var(--card-hover-shadow);
}

.next-step-card:hover::before,
.next-step-card:focus-visible::before,
.next-step-card.is-active::before {
  opacity: 1;
}

.next-step-card:hover h3,
.next-step-card:focus-visible h3,
.next-step-card.is-active h3,
.next-step-card:hover p,
.next-step-card:focus-visible p,
.next-step-card.is-active p {
  color: #ffffff;
}

.next-step-card:hover i,
.next-step-card:focus-visible i,
.next-step-card.is-active i {
  color: var(--card-hover-icon);
  transform: translateY(-2px) scale(1.06);
}

@media (min-width: 768px) {
  .home-about-panel {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
  }

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

  .leaders-card-grid {
    grid-template-columns: minmax(280px, 340px) 1fr;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .home-hero-inner {
    padding: 6.2rem 0 2.5rem;
    align-items: end;
  }

  .home-hero-pulse {
    display: none;
  }

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

@media (hover: none), (pointer: coarse) {
  .home-hero-spotlight {
    display: none;
  }
}

@media (min-width: 992px) {
  .split-layout,
  .leaders-events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .next-steps-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@keyframes heroContentRise {
  from {
    transform: translate3d(0, 44px, 0) scale(0.98);
  }

  to {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes heroTextCascade {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroPulseAppear {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

  to {
    opacity: 0.9;
    transform: scale(1);
  }
}

@keyframes heroRingExpand {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.56;
  }

  50% {
    transform: scale(1.06);
    opacity: 0.2;
  }
}
.plan-visit-section .asset-placeholder { padding: 0; border: 0; overflow: hidden; }
.plan-visit-section .asset-placeholder img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.campus-gallery-wrap { min-width: 0; }
.campus-gallery { position: relative; width: 100%; aspect-ratio: 4 / 3; max-height: 450px; overflow: hidden; border-radius: 26px; background: #1a2c31; box-shadow: 0 18px 45px #142b3d14; isolation: isolate; }
.campus-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.8s ease-in-out; pointer-events: none; }
.campus-slide.is-active { opacity: 1; z-index: 1; }
.campus-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.035); transition: transform 10s linear; }
.campus-slide.is-active img { transform: scale(1); }
.campus-slide::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #071a25d9); }
.campus-slide figcaption { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 4.2rem; z-index: 1; color: white; font-size: 1.1rem; font-weight: 700; }
.campus-slide figcaption span { display: block; margin-top: .15rem; font-weight: 400; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.campus-gallery-controls { position: absolute; bottom: 1rem; left: 1.25rem; z-index: 2; display: flex; align-items: center; gap: .6rem; color: white; }
.campus-gallery-controls button { width: 36px; height: 36px; border: 1px solid #ffffff70; border-radius: 50%; color: white; background: #ffffff12; cursor: pointer; }
.campus-gallery-controls button:hover, .campus-gallery-controls button:focus-visible { background: #ffffff40; }
.campus-photo-credits { font-size: .68rem; color: #666; margin: .65rem .5rem 0; }
.campus-photo-credits summary { cursor: pointer; }
.campus-photo-credits a { text-decoration: underline; }
@media(max-width: 600px) { .campus-gallery { aspect-ratio: 1.2; max-height: 350px; } }
@media(prefers-reduced-motion: reduce) { .campus-slide, .campus-slide img { transition: none; transform: none; } }
