/* Homepage hero */
.home-hero {
  padding: 56px 0 0;
  background: #f6f8fc;
  color: #0d0d0d;
}

.home-hero .container {
  max-width: 1320px;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: 64px;
  align-items: center;
}

.home-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.home-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c8161c;
}

.home-hero-eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ed2128;
}

.home-hero-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 68px;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -2px;
  color: #061241;
  text-wrap: balance;
}

.home-hero-title span {
  color: #d0191f;
}

.home-hero-lead {
  margin: 0;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.65;
  color: #4a5260;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.home-hero-btn {
  height: 56px;
  padding: 0 28px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.home-hero-btn.is-primary {
  background: #d0191f;
  color: #fff;
  box-shadow: 0 10px 24px rgba(208, 25, 31, 0.25);
}

.home-hero-btn.is-primary:hover {
  background: #a91217;
  color: #fff;
  transform: translateY(-1px);
}

.home-hero-btn.is-outline {
  border: 1.5px solid #061241;
  color: #061241;
}

.home-hero-btn.is-outline:hover {
  background: #061241;
  color: #fff;
}

.home-hero-link {
  height: 56px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #0067da;
  text-decoration: none;
}

.home-hero-link:hover {
  color: #004fa8;
}

.home-hero-btn svg,
.home-hero-link svg,
.home-hero-event-arrow svg {
  transition: transform 0.2s ease;
}

.home-hero-btn:hover svg,
.home-hero-link:hover svg,
.home-hero-event:hover .home-hero-event-arrow svg {
  transform: translateX(3px);
}

.home-hero-stats {
  display: flex;
  gap: 32px;
  margin: 12px 0 0;
}

.home-hero-stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-hero-stats > div + div {
  padding-left: 32px;
  border-left: 1px solid #d9dfe9;
}

.home-hero-stats dt {
  font-size: 36px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #061241;
  font-variant-numeric: tabular-nums;
}

.home-hero-stats dd {
  margin: 0;
  font-size: 13px;
  color: #4a5260;
}

/* Globe card */
.home-hero-visual {
  position: relative;
  aspect-ratio: 560 / 600;
  border-radius: 28px;
  overflow: hidden;
  background: #061241;
  box-shadow: 0 30px 60px rgba(6, 18, 65, 0.25);
}

.home-hero-globe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.home-hero-event {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  color: #0d0d0d;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.home-hero-event:hover {
  color: #0d0d0d;
}

.home-hero-event-date {
  flex-shrink: 0;
  width: 48px;
  height: 52px;
  border-radius: 12px;
  background: #d0191f;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.home-hero-event-date span:first-child {
  font-size: 20px;
  font-weight: 800;
}

.home-hero-event-date span:last-child {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.home-hero-event-body {
  min-width: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.home-hero-event-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #b3141a;
}

.home-hero-event-title {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-hero-event-meta {
  font-size: 12px;
  color: #5a6270;
}

.home-hero-event-arrow {
  flex-shrink: 0;
  color: #0067da;
  display: flex;
}

/* Partner strip */
.home-hero-partners {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 44px 0 48px;
}

.home-hero-partners-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #5a6270;
}

.home-hero-partners-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px 32px;
  align-items: center;
}

.home-hero-partners-logos img {
  display: block;
  width: 100%;
  height: 48px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.home-hero-partners-logos a:hover img {
  filter: none;
  opacity: 1;
}

@media (max-width: 1199px) {
  .home-hero-grid {
    gap: 40px;
  }

  .home-hero-title {
    font-size: 54px;
  }
}

@media (max-width: 991px) {
  .home-hero {
    padding-top: 40px;
  }

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

  .home-hero-visual {
    max-width: 560px;
    width: 100%;
  }

  .home-hero-partners {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .home-hero {
    padding-top: 32px;
  }

  .home-hero-copy {
    gap: 20px;
  }

  .home-hero-eyebrow {
    font-size: 12px;
  }

  .home-hero-title {
    font-size: 38px;
    letter-spacing: -1px;
  }

  .home-hero-lead {
    font-size: 16px;
  }

  .home-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .home-hero-btn {
    height: 54px;
  }

  .home-hero-link {
    justify-content: center;
    height: 44px;
  }

  .home-hero-stats {
    gap: 20px;
    margin-top: 4px;
  }

  .home-hero-stats > div + div {
    padding-left: 20px;
  }

  .home-hero-stats dt {
    font-size: 28px;
  }

  .home-hero-visual {
    aspect-ratio: 350 / 400;
    border-radius: 22px;
  }

  .home-hero-event {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 12px;
  }

  .home-hero-partners {
    padding: 32px 0 36px;
  }

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

  .home-hero-partners-logos img {
    height: 44px;
  }
}

/* Background video under a navy shade: white type, glass globe card */
.home-hero.has-video {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #061241 url("../images/hero-library.jpg") center / cover no-repeat;
}

.home-hero-video,
.home-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.home-hero-video {
  object-fit: cover;
}

.home-hero-shade {
  background: linear-gradient(90deg, rgba(6, 18, 65, 0.94) 0%, rgba(6, 18, 65, 0.82) 50%, rgba(6, 18, 65, 0.6) 100%);
}

.has-video .home-hero-eyebrow {
  color: #ff7a7e;
}

.has-video .home-hero-title {
  color: #fff;
}

.has-video .home-hero-title span {
  color: #ff4d52;
}

.has-video .home-hero-lead {
  color: #c9d4f5;
}

.has-video .home-hero-btn.is-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.has-video .home-hero-btn.is-outline:hover {
  background: #fff;
  border-color: #fff;
  color: #061241;
}

.has-video .home-hero-link {
  color: #8fb4ff;
}

.has-video .home-hero-link:hover {
  color: #b9d0ff;
}

.has-video .home-hero-stats dt {
  color: #fff;
}

.has-video .home-hero-stats dd {
  color: #b7c3ea;
}

.has-video .home-hero-stats > div + div {
  border-left-color: rgba(255, 255, 255, 0.18);
}

.has-video .home-hero-visual {
  background: rgba(6, 18, 65, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.has-video .home-hero-partners-label {
  color: #b7c3ea;
}

.has-video .home-hero-partners-logos img {
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.has-video .home-hero-partners-logos a:hover img {
  filter: brightness(0) invert(1);
  opacity: 1;
}

@media (max-width: 767px) {
  .home-hero-shade {
    background: rgba(6, 18, 65, 0.86);
  }
}

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