/* Immersive home layer: full-bleed media, editorial grids and restrained motion. */
body.home-immersive {
  --home-content: 1540px;
  --home-navy: #10255a;
  --home-blue: #203c8c;
  --home-orange: #ea7a19;
  --home-ink: #172236;
  --home-soft: #eef2f7;
  background: #fff;
}

body.home-immersive::before { display: none; }

body.home-immersive main {
  padding: 0;
  overflow: hidden;
}

body.home-immersive .site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(5, 13, 31, .7), rgba(5, 13, 31, 0));
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  transition: background .25s ease, box-shadow .25s ease;
}

body.home-immersive .header-inner { min-height: 96px; }

body.home-immersive .site-header .brand img {
  filter: none;
  mix-blend-mode: normal;
  border-radius: 4px;
  transition: filter .25s ease;
}

body.home-immersive .site-header .nav-link {
  color: #fff;
  background: transparent;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .3);
}

body.home-immersive .site-header .nav-link:hover,
body.home-immersive .site-header .nav > li:hover > .nav-link,
body.home-immersive .site-header .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, .14);
}

body.home-immersive .site-header .social {
  color: #fff;
  border-color: rgba(255, 255, 255, .3);
  background: rgba(8, 17, 34, .2);
  box-shadow: none;
}

body.home-immersive .site-header .mobile-toggle {
  border-color: rgba(255, 255, 255, .34);
  background: rgba(8, 17, 34, .22);
}

body.home-immersive .site-header .mobile-toggle span { background: #fff; }

body.home-immersive .site-header.is-scrolled {
  position: fixed;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(16, 37, 90, .1);
  box-shadow: 0 10px 30px rgba(15, 28, 51, .1);
  backdrop-filter: blur(14px);
  animation: homeHeaderIn .28s ease both;
}

body.home-immersive .site-header.is-scrolled .header-inner { min-height: 78px; }
body.home-immersive .site-header.is-scrolled .brand img { filter: none; mix-blend-mode: normal; }
body.home-immersive .site-header.is-scrolled .nav-link { color: var(--home-ink); text-shadow: none; }
body.home-immersive .site-header.is-scrolled .nav-link:hover,
body.home-immersive .site-header.is-scrolled .nav > li:hover > .nav-link,
body.home-immersive .site-header.is-scrolled .nav-link.active { color: var(--home-blue); background: rgba(32, 60, 140, .08); }
body.home-immersive .site-header.is-scrolled .social { color: var(--home-navy); border-color: rgba(16, 37, 90, .14); background: #fff; }
body.home-immersive .site-header.is-scrolled .mobile-toggle { border-color: rgba(16, 37, 90, .16); background: #fff; }
body.home-immersive .site-header.is-scrolled .mobile-toggle span { background: var(--home-navy); }

body.home-immersive .home-hero-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.home-immersive .hero-shell-lower {
  width: 100%;
  height: min(82svh, 860px);
  min-height: 680px !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #08142e;
}

body.home-immersive .hero-slide,
body.home-immersive .hero-slide-fespa,
body.home-immersive .hero-slide-video {
  overflow: hidden;
}

body.home-immersive .hero-slide::before,
body.home-immersive .hero-slide-fespa .fespa-slide-banner,
body.home-immersive .hero-slide-video-media {
  will-change: transform;
  transition: transform 8s cubic-bezier(.2, .7, .2, 1);
}

body.home-immersive .hero-slide::before {
  background-position: center calc(50% + var(--home-parallax-y, 0px));
  transform: scale(1.04);
}

body.home-immersive .hero-slide.is-active::before { transform: scale(1.1); }

body.home-immersive .hero-slide-fespa .fespa-slide-banner {
  object-position: center !important;
  transform: scale(1.04);
}

body.home-immersive .hero-slide-fespa.is-active .fespa-slide-banner { transform: scale(1.1); }

body.home-immersive .hero-slide-video-media {
  transform: translate3d(0, var(--home-parallax-y, 0px), 0) scale(1.035);
}

body.home-immersive .hero-slide::after,
body.home-immersive .hero-slide-fespa::after,
body.home-immersive .hero-slide-video::after {
  background:
    linear-gradient(180deg, rgba(5, 13, 31, .28) 0%, rgba(5, 13, 31, .04) 34%, rgba(5, 13, 31, .76) 100%),
    linear-gradient(90deg, rgba(5, 13, 31, .76) 0%, rgba(5, 13, 31, .2) 68%, rgba(5, 13, 31, .04) 100%) !important;
}

body.home-immersive .hero-shell-lower .hero-content,
body.home-immersive .hero-slide-fespa .fespa-slide-content,
body.home-immersive .hero-slide-video .hero-content {
  position: absolute !important;
  inset: auto auto 112px max(32px, calc((100vw - var(--home-content)) / 2 + 32px)) !important;
  width: min(920px, calc(100% - 64px)) !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.home-immersive .hero-slide-video .hero-content { width: min(1080px, calc(100% - 64px)) !important; }

body.home-immersive .hero-shell-lower h1,
body.home-immersive .hero-shell-lower h2,
body.home-immersive .hero-slide-fespa .fespa-slide-content h2 {
  max-width: 15ch !important;
  color: #fff;
  font-size: 4.8rem !important;
  font-weight: 900;
  letter-spacing: 0 !important;
  line-height: .98 !important;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .32);
  text-wrap: balance;
}

body.home-immersive .hero-slide-video .hero-content h1,
body.home-immersive .hero-slide-video .hero-content h2 {
  max-width: 24ch !important;
  font-size: 4rem !important;
}

body.home-immersive .hero-shell-lower .hero-content p,
body.home-immersive .hero-slide-fespa .fespa-slide-content p {
  max-width: 56ch !important;
  margin-top: 18px !important;
  font-size: 1.12rem !important;
  line-height: 1.6 !important;
}

body.home-immersive .hero-slide.is-active .hero-eyebrow,
body.home-immersive .hero-slide.is-active h1,
body.home-immersive .hero-slide.is-active h2,
body.home-immersive .hero-slide.is-active .hero-content > p,
body.home-immersive .hero-slide.is-active .hero-content > div,
body.home-immersive .hero-slide.is-active .hero-actions {
  animation: homeTextIn .7s cubic-bezier(.2, .7, .2, 1) both;
}

body.home-immersive .hero-slide.is-active h1,
body.home-immersive .hero-slide.is-active h2 { animation-delay: .08s; }
body.home-immersive .hero-slide.is-active .hero-content > p { animation-delay: .15s; }
body.home-immersive .hero-slide.is-active .hero-actions { animation-delay: .22s; }

body.home-immersive .hero-shell-lower .btn,
body.home-immersive .hero-slide-fespa .btn {
  min-height: 52px !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: var(--home-orange) !important;
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .2);
}

body.home-immersive .hero-dots { left: max(32px, calc((100vw - var(--home-content)) / 2 + 32px)) !important; bottom: 40px !important; }
body.home-immersive .hero-counter { left: max(32px, calc((100vw - var(--home-content)) / 2 + 32px)); bottom: 58px; }
body.home-immersive .hero-nav { right: max(32px, calc((100vw - var(--home-content)) / 2 + 32px)) !important; bottom: 30px !important; }

body.home-immersive .hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 6;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  color: #fff;
  transform: translateX(-50%);
}

body.home-immersive .hero-scroll-cue svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }

body.home-immersive .home-quick-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  background: #fff;
}

body.home-immersive .platform-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: min(calc(100% - 48px), var(--home-content));
  margin: 0 auto;
}

body.home-immersive .platform-strip .action-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  min-height: 154px;
  padding: 34px 24px;
  gap: 16px;
  align-items: center;
  border: 0;
  border-right: 1px solid rgba(16, 37, 90, .14);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

body.home-immersive .platform-strip .action-card:first-child { border-left: 1px solid rgba(16, 37, 90, .14); }
body.home-immersive .platform-strip .action-card::before { display: none; }

body.home-immersive .action-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--home-orange);
}

body.home-immersive .action-icon svg { width: 34px; height: 34px; }
body.home-immersive .action-copy { min-width: 0; }
body.home-immersive .platform-strip h3 { color: var(--home-navy); font-size: 1.02rem; letter-spacing: 0; }
body.home-immersive .platform-strip p { margin-top: 4px; font-size: .86rem; line-height: 1.45; }

body.home-immersive .home-news-wrap,
body.home-immersive .home-institutional-wrap,
body.home-immersive .home-logos-wrap,
body.home-immersive .home-contacts-wrap {
  width: min(calc(100% - 48px), var(--home-content));
}

body.home-immersive .home-news-section,
body.home-immersive .home-institutional-section,
body.home-immersive .home-logos-wrap .section,
body.home-immersive .home-contacts-section {
  margin: 0;
  padding: 110px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.home-immersive .section-header { margin-bottom: 42px; }
body.home-immersive .section-header h2 { color: var(--home-navy); font-size: 3.6rem; line-height: 1; letter-spacing: 0; }
body.home-immersive .section-header p { font-size: 1.04rem; }

body.home-immersive .news-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr);
  grid-template-rows: repeat(3, minmax(210px, auto));
  gap: 18px;
}

body.home-immersive .news-preview-card {
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #f3f5f8;
  box-shadow: none;
}

body.home-immersive .news-preview-card:first-child { grid-row: 1 / 4; }
body.home-immersive .news-preview-card:first-child .news-preview-media { min-height: 490px; aspect-ratio: auto; }
body.home-immersive .news-preview-card:first-child .news-preview-media img { object-fit: cover; }
body.home-immersive .news-preview-card:first-child .news-preview-copy { padding: 32px; }
body.home-immersive .news-preview-card:first-child h3 { font-size: 2rem; }

body.home-immersive .news-preview-card:not(:first-child) {
  display: grid;
  grid-template-columns: minmax(180px, .42fr) minmax(0, .58fr);
}

body.home-immersive .news-preview-card:not(:first-child) .news-preview-media { height: 100%; min-height: 210px; aspect-ratio: auto; }
body.home-immersive .news-preview-card:not(:first-child) .news-preview-copy { padding: 22px; }
body.home-immersive .news-preview-card:not(:first-child) h3 { font-size: 1.22rem; }
body.home-immersive .news-preview-card:not(:first-child) .news-preview-copy > p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
body.home-immersive .news-preview-card--brand .news-preview-media img { object-fit: contain !important; padding: 18px; background: #fff; }

body.home-immersive .news-preview-media { overflow: hidden; }
body.home-immersive .news-preview-media img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
body.home-immersive .news-preview-card:hover .news-preview-media img { transform: scale(1.045); }

body.home-immersive .home-directory-wrap { width: min(calc(100% - 48px), var(--home-content)); }

body.home-immersive .directory-gateway {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(220px, .52fr) minmax(360px, .75fr);
  width: 100vw;
  min-height: 680px;
  margin: 0 0 0 calc(50% - 50vw);
  padding: 0 0 0 max(32px, calc((100vw - var(--home-content)) / 2 + 32px));
  gap: 34px;
  border: 0;
  border-radius: 0;
  background: var(--home-navy);
  box-shadow: none;
}

body.home-immersive .directory-copy { align-self: center; padding: 72px 0; }
body.home-immersive .directory-gateway h2 { max-width: 13ch; font-size: 3.7rem; letter-spacing: 0; }
body.home-immersive .directory-gateway p { max-width: 58ch; }

body.home-immersive .directory-stats { align-self: center; gap: 0; }
body.home-immersive .directory-stats div {
  min-height: 118px;
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  border-radius: 0;
  background: transparent;
}

body.home-immersive .directory-media { align-self: stretch; overflow: hidden; min-width: 0; }
body.home-immersive .directory-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
body.home-immersive .directory-gateway:hover .directory-media img { transform: scale(1.035); }

body.home-immersive .home-institutional-section { padding-bottom: 120px; }
body.home-immersive .home-institutional-section .institutional { grid-template-columns: minmax(0, 1.14fr) minmax(360px, .86fr); gap: 0; min-height: 640px; }
body.home-immersive .home-institutional-section .institutional-media { min-height: 640px; border: 0; border-radius: 0; box-shadow: none; }
body.home-immersive .home-institutional-section .institutional-media img { border-radius: 0; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
body.home-immersive .home-institutional-section .institutional:hover .institutional-media img { transform: scale(1.035); }
body.home-immersive .home-institutional-section .institutional-copy { padding: 72px; background: var(--home-soft); }
body.home-immersive .home-institutional-section .institutional-copy h3 { color: var(--home-navy); font-size: 3.1rem; }

body.home-immersive .home-partners-wrap { border-top: 1px solid rgba(16, 37, 90, .12); }
body.home-immersive .home-logos-wrap .section { padding: 80px 0; }
body.home-immersive .logos-grid { gap: 12px; }
body.home-immersive .logo-card { border-radius: 8px; box-shadow: none; }

body.home-immersive .home-members-wrap {
  width: 100%;
  max-width: none;
  background: var(--home-soft);
}

body.home-immersive .home-members-section { width: min(calc(100% - 48px), var(--home-content)); margin: 0 auto !important; }

body.home-immersive .home-contacts-wrap {
  width: 100%;
  max-width: none;
  background: var(--home-navy);
}

body.home-immersive .home-contacts-section { width: min(calc(100% - 48px), var(--home-content)); margin: 0 auto !important; }
body.home-immersive .home-contacts-section .section-kicker { color: #ffb16d; }
body.home-immersive .home-contacts-section .section-header h2,
body.home-immersive .home-contacts-section .section-header p { color: #fff; }
body.home-immersive .home-contacts-section .contact-card { border-color: rgba(255, 255, 255, .16); border-radius: 8px; background: rgba(255, 255, 255, .08); box-shadow: none; color: #fff; }
body.home-immersive .home-contacts-section .contact-card h3,
body.home-immersive .home-contacts-section .contact-item div,
body.home-immersive .home-contacts-section .contact-item a { color: #fff; }
body.home-immersive .home-contacts-section .contact-item small { color: #ffb16d; }

body.home-immersive .site-footer { padding: 0; background: #08142e; }
body.home-immersive .footer-shell { width: min(calc(100% - 48px), var(--home-content)); padding: 34px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }

body.home-immersive.home-motion-ready .home-reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .75s ease var(--home-reveal-delay, 0ms), transform .75s cubic-bezier(.2, .7, .2, 1) var(--home-reveal-delay, 0ms);
}

body.home-immersive.home-motion-ready .home-reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes homeHeaderIn { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: translateY(0); } }
@keyframes homeTextIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1280px) {
  body.home-immersive .hero-shell-lower h1,
  body.home-immersive .hero-shell-lower h2,
  body.home-immersive .hero-slide-fespa .fespa-slide-content h2 { font-size: 3.8rem !important; }
  body.home-immersive .hero-slide-video .hero-content h1,
  body.home-immersive .hero-slide-video .hero-content h2 { font-size: 3.5rem !important; }
  body.home-immersive .site-header .mobile-panel.open { width: min(calc(100% - 32px), 620px); margin: 0 auto; padding: 12px; border-radius: 8px; background: rgba(8, 17, 34, .94); }
  body.home-immersive .site-header.is-scrolled .mobile-panel.open { background: #fff; box-shadow: 0 18px 40px rgba(15, 28, 51, .16); }
  body.home-immersive .site-header .mobile-nav a { color: #fff; background: rgba(255, 255, 255, .08); }
  body.home-immersive .site-header.is-scrolled .mobile-nav a { color: var(--home-navy); background: rgba(32, 60, 140, .06); }
  body.home-immersive .news-preview-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); }
  body.home-immersive .directory-gateway { grid-template-columns: minmax(0, 1fr) minmax(210px, .5fr) minmax(300px, .65fr); }
}

@media (max-width: 1000px) {
  body.home-immersive .hero-shell-lower { height: 78svh; min-height: 650px !important; }
  body.home-immersive .platform-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.home-immersive .platform-strip .action-card:nth-child(2) { border-right: 0; }
  body.home-immersive .platform-strip .action-card:nth-child(-n+2) { border-bottom: 1px solid rgba(16, 37, 90, .14); }
  body.home-immersive .news-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  body.home-immersive .news-preview-card:first-child { grid-row: auto; }
  body.home-immersive .news-preview-card:first-child .news-preview-media { min-height: 0; aspect-ratio: 16 / 10; }
  body.home-immersive .news-preview-card:not(:first-child) { display: flex; }
  body.home-immersive .news-preview-card:not(:first-child) .news-preview-media { min-height: 0; height: auto; aspect-ratio: 16 / 10; }
  body.home-immersive .directory-gateway { grid-template-columns: minmax(0, 1fr) minmax(220px, .7fr); padding-right: max(32px, calc((100vw - var(--home-content)) / 2 + 32px)); }
  body.home-immersive .directory-media { grid-column: 1 / -1; height: 430px; margin: 0 calc(-1 * max(32px, calc((100vw - var(--home-content)) / 2 + 32px))); }
  body.home-immersive .directory-media img { object-position: center 58%; }
  body.home-immersive .home-institutional-section .institutional { grid-template-columns: 1fr; }
  body.home-immersive .home-institutional-section .institutional-media { min-height: 520px; }
  body.home-immersive .home-institutional-section .institutional-copy { padding: 54px; }
}

@media (max-width: 700px) {
  body.home-immersive .header-inner { min-height: 80px; }
  body.home-immersive .site-header .brand img { width: min(230px, 67vw); }
  body.home-immersive .hero-shell-lower { height: 76svh; min-height: 640px !important; }
  body.home-immersive .hero-shell-lower .hero-content,
  body.home-immersive .hero-slide-fespa .fespa-slide-content,
  body.home-immersive .hero-slide-video .hero-content { inset: auto 18px 110px !important; width: auto !important; }
  body.home-immersive .hero-shell-lower h1,
  body.home-immersive .hero-shell-lower h2,
  body.home-immersive .hero-slide-fespa .fespa-slide-content h2,
  body.home-immersive .hero-slide-video .hero-content h1,
  body.home-immersive .hero-slide-video .hero-content h2 { max-width: 100% !important; font-size: 2.35rem !important; line-height: 1.02 !important; }
  body.home-immersive .hero-shell-lower .hero-content p,
  body.home-immersive .hero-slide-fespa .fespa-slide-content p { display: -webkit-box !important; overflow: hidden; font-size: .96rem !important; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  body.home-immersive .hero-dots { left: 18px !important; bottom: 34px !important; }
  body.home-immersive .hero-counter { left: 18px; bottom: 53px; }
  body.home-immersive .hero-nav { right: 18px !important; bottom: 24px !important; }
  body.home-immersive .hero-scroll-cue { display: none; }
  body.home-immersive .home-quick-wrap { overflow: hidden; }
  body.home-immersive .platform-strip { width: 100%; padding: 0 14px 12px; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82vw; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  body.home-immersive .platform-strip::-webkit-scrollbar { display: none; }
  body.home-immersive .platform-strip .action-card,
  body.home-immersive .platform-strip .action-card:first-child,
  body.home-immersive .platform-strip .action-card:nth-child(2),
  body.home-immersive .platform-strip .action-card:nth-child(-n+2) { min-height: 134px; border: 0; border-right: 1px solid rgba(16, 37, 90, .14); border-bottom: 1px solid rgba(16, 37, 90, .14); scroll-snap-align: start; }
  body.home-immersive .home-news-wrap,
  body.home-immersive .home-institutional-wrap,
  body.home-immersive .home-logos-wrap { width: calc(100% - 28px); }
  body.home-immersive .home-news-section,
  body.home-immersive .home-institutional-section { padding: 78px 0; }
  body.home-immersive .section-header { display: block; }
  body.home-immersive .section-header h2 { font-size: 2.6rem; }
  body.home-immersive .section-header .inline-link-dark { margin-top: 22px; }
  body.home-immersive .news-preview-grid { grid-template-columns: 1fr; }
  body.home-immersive .news-preview-card:first-child h3 { font-size: 1.55rem; }
  body.home-immersive .directory-gateway { grid-template-columns: 1fr; min-height: 0; padding: 0 18px; gap: 0; }
  body.home-immersive .directory-copy { padding: 76px 0 36px; }
  body.home-immersive .directory-gateway h2 { font-size: 2.7rem; }
  body.home-immersive .directory-stats { padding-bottom: 42px; }
  body.home-immersive .directory-media { grid-column: auto; height: 430px; margin: 0 -18px; }
  body.home-immersive .home-institutional-section .institutional-media { min-height: 360px; }
  body.home-immersive .home-institutional-section .institutional-copy { padding: 38px 24px; }
  body.home-immersive .home-institutional-section .institutional-copy h3 { font-size: 2.45rem; }
  body.home-immersive .home-logos-wrap .section { padding: 64px 0; }
  body.home-immersive .home-members-section,
  body.home-immersive .home-contacts-section { width: calc(100% - 28px); }
  body.home-immersive .footer-shell { width: calc(100% - 28px); }
}

@media (prefers-reduced-motion: reduce) {
  body.home-immersive *,
  body.home-immersive *::before,
  body.home-immersive *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  body.home-immersive.home-motion-ready .home-reveal { opacity: 1; transform: none; }
}
