/* EMOLiA homepage preview: Human Potential Unlocked hero + four journeys reveal */

html[data-universe="home"] {
  scroll-behavior: smooth;
  background: #fff;
}

html[data-universe="home"] body {
  background: #fff;
  color: #101A3A;
}

html[data-universe="home"] .page {
  min-height: 100svh;
  overflow: hidden;
  background: #fff;
}

html[data-universe="home"] .page::before,
html[data-universe="home"] .page::after {
  display: none;
}

/* ---------- Hero ---------- */
html[data-universe="home"] .home-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 92%, rgba(109,60,199,.32), transparent 24%),
    radial-gradient(circle at 48% 110%, rgba(30,136,229,.22), transparent 30%),
    #071e3b;
  color: #fff;
}

html[data-universe="home"] .home-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: -8%;
  bottom: -16%;
  width: 58%;
  height: 34%;
  background: linear-gradient(24deg, transparent 8%, rgba(70,138,255,.55) 38%, rgba(120,69,229,.65) 56%, transparent 73%);
  filter: blur(16px);
  transform: rotate(-6deg);
  opacity: .8;
  pointer-events: none;
}

html[data-universe="home"] .home-nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1440px, calc(100% - 64px));
  min-height: 72px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,.16);
}

html[data-universe="home"] .home-brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  color: #fff;
  text-decoration: none;
}

html[data-universe="home"] .home-brand img {
  display: block;
  width: clamp(118px, 10vw, 154px);
  height: auto;
}

html[data-universe="home"] .home-brand span {
  padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,.32);
  color: rgba(255,255,255,.92);
  font: 600 13px/1.2 Manrope, Arial, sans-serif;
  white-space: nowrap;
}

html[data-universe="home"] .home-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 38px);
  margin-left: auto;
}

html[data-universe="home"] .home-nav__links a {
  position: relative;
  color: rgba(255,255,255,.88);
  text-decoration: none;
  font: 700 13px/1 Manrope, Arial, sans-serif;
  transition: color .25s ease;
}

html[data-universe="home"] .home-nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  border-radius: 2px;
  background: #FFB74D;
  transition: right .25s ease;
}

html[data-universe="home"] .home-nav__links a:hover,
html[data-universe="home"] .home-nav__links a:focus-visible {
  color: #fff;
}

html[data-universe="home"] .home-nav__links a:hover::after,
html[data-universe="home"] .home-nav__links a:focus-visible::after {
  right: 0;
}

html[data-universe="home"] .home-nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

html[data-universe="home"] .home-nav .language {
  position: static;
  display: flex;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  box-shadow: none;
}

html[data-universe="home"] .home-nav .language button {
  color: rgba(255,255,255,.78);
  padding: 7px 9px;
}

html[data-universe="home"] .home-nav .language button[aria-pressed="true"] {
  background: #fff;
  color: #101A3A;
}

html[data-universe="home"] .home-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd65d, #FFB74D);
  color: #101A3A;
  text-decoration: none;
  font: 800 12px/1 Manrope, Arial, sans-serif;
  box-shadow: 0 8px 28px rgba(255,183,77,.22);
  transition: transform .25s ease, box-shadow .25s ease;
}

html[data-universe="home"] .home-nav__cta:hover,
html[data-universe="home"] .home-nav__cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(255,183,77,.32);
}

html[data-universe="home"] .home-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(580px,1.1fr);
  align-items: center;
  gap: clamp(28px, 3.5vw, 66px);
  width: min(1490px, calc(100% - 64px));
  min-height: calc(100svh - 72px);
  margin: 0 auto;
  padding: 38px 0 56px;
}

html[data-universe="home"] .home-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

html[data-universe="home"] .home-hero__logo {
  display: block;
  width: clamp(170px, 15vw, 238px);
  height: auto;
  margin-bottom: clamp(24px, 3vh, 34px);
}

html[data-universe="home"] .home-hero__title {
  margin: 0;
  color: #fff;
  font: 800 clamp(52px, 5.25vw, 92px)/.93 Manrope, Arial, sans-serif;
  letter-spacing: -.065em;
  text-transform: uppercase;
  text-wrap: balance;
}

html[data-universe="home"] .home-hero__title span {
  display: block;
  margin-top: 5px;
  background: linear-gradient(105deg, #fff27d 0%, #FFB74D 52%, #f0a927 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[data-universe="home"] .home-hero__rule {
  display: block;
  width: 150px;
  height: 4px;
  margin: 24px 0 22px;
  border-radius: 6px;
  background: #FFB74D;
}

html[data-universe="home"] .home-hero__lead {
  max-width: 650px;
  margin: 0;
  color: rgba(255,255,255,.92);
  font: 400 clamp(20px, 1.85vw, 31px)/1.35 Inter, Arial, sans-serif;
  letter-spacing: -.025em;
  text-wrap: balance;
}

html[data-universe="home"] .home-hero__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
}

html[data-universe="home"] .home-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd65d, #FFB74D);
  color: #101A3A;
  text-decoration: none;
  font: 800 15px/1 Manrope, Arial, sans-serif;
  box-shadow: 0 16px 38px rgba(255,183,77,.2);
  transition: transform .3s ease, box-shadow .3s ease;
}

html[data-universe="home"] .home-hero__button:hover,
html[data-universe="home"] .home-hero__button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 20px 46px rgba(255,183,77,.3);
}

html[data-universe="home"] .home-hero__meta {
  color: rgba(255,255,255,.72);
  font: 600 12px/1.3 Manrope, Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

html[data-universe="home"] .home-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  width: 100%;
  height: min(670px, 70svh);
  min-height: 520px;
  padding: 0;
}

html[data-universe="home"] .home-collage::before,
html[data-universe="home"] .home-collage::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 34px;
  pointer-events: none;
}

html[data-universe="home"] .home-collage::before {
  width: 230px;
  height: 106px;
  right: -6%;
  top: 7%;
  border: 18px solid rgba(187,237,181,.46);
}

html[data-universe="home"] .home-collage::after {
  width: 220px;
  height: 86px;
  left: 28%;
  bottom: -2%;
  background: linear-gradient(90deg, rgba(211,238,255,.86) 48%, transparent 48% 53%, rgba(255,231,159,.88) 53%);
}

html[data-universe="home"] .home-collage__tile {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 7px solid var(--journey-color);
  background: #fff;
  box-shadow: 0 20px 55px rgba(0,18,45,.18);
}

html[data-universe="home"] .home-collage__tile--leaders { --journey-color: #6D3CC7; }
html[data-universe="home"] .home-collage__tile--corporate { --journey-color: #2D8ED1; }
html[data-universe="home"] .home-collage__tile--schools { --journey-color: #2F945C; }
html[data-universe="home"] .home-collage__tile--families { --journey-color: #FFB74D; }

html[data-universe="home"] .home-collage__tile:nth-child(1) { border-radius: 54px 54px 54px 120px; }
html[data-universe="home"] .home-collage__tile:nth-child(2) { border-radius: 54px 110px 54px 54px; }
html[data-universe="home"] .home-collage__tile:nth-child(3) { border-radius: 110px 54px 54px 54px; }
html[data-universe="home"] .home-collage__tile:nth-child(4) { border-radius: 54px 54px 120px 54px; }

html[data-universe="home"] .home-collage__tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(.2,.8,.2,1), filter .6s ease;
}

html[data-universe="home"] .home-collage__tile:nth-child(1) img { object-position: 60% 42%; }
html[data-universe="home"] .home-collage__tile:nth-child(2) img { object-position: 50% 45%; }
html[data-universe="home"] .home-collage__tile:nth-child(3) img { object-position: 52% 45%; }
html[data-universe="home"] .home-collage__tile:nth-child(4) img { object-position: 50% 50%; }

html[data-universe="home"] .home-collage__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: .34;
}

html[data-universe="home"] .home-collage__tile--leaders::after { background: #b88cff; }
html[data-universe="home"] .home-collage__tile--corporate::after { background: #5cb8f4; }
html[data-universe="home"] .home-collage__tile--schools::after { background: #9ee397; }
html[data-universe="home"] .home-collage__tile--families::after { background: #ffc74f; }

html[data-universe="home"] .home-collage__tile:hover img { transform: scale(1.045); }

html[data-universe="home"] .home-scroll-cue {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  transform: translateX(-50%);
  border: 2px solid rgba(255,255,255,.78);
  border-radius: 50%;
  background: rgba(36,58,134,.68);
  color: #fff;
  text-decoration: none;
  font-size: 26px;
  box-shadow: 0 12px 28px rgba(3,20,48,.24);
  animation: home-cue 2s ease-in-out infinite;
}

@keyframes home-cue {
  0%,100% { transform: translate(-50%,0); }
  50% { transform: translate(-50%,7px); }
}

/* ---------- Four journeys section ---------- */
html[data-universe="home"] .intro {
  display: none;
}

html[data-universe="home"] .impact-section {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  padding: clamp(80px, 8vw, 126px) 0 clamp(78px, 8vw, 120px);
  background:
    radial-gradient(circle at 8% 17%, rgba(218,199,255,.42), transparent 24%),
    radial-gradient(circle at 92% 82%, rgba(255,233,168,.48), transparent 27%),
    #fff;
}

html[data-universe="home"] .impact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(145deg, transparent 50%, rgba(109,60,199,.035) 50% 58%, transparent 58%);
}

html[data-universe="home"] .impact-header {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto clamp(40px, 5vw, 66px);
  padding: 0 28px;
  text-align: center;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1);
}

html[data-universe="home"] .impact-header.is-visible {
  opacity: 1;
  transform: none;
}

html[data-universe="home"] .impact-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #6D3CC7;
  font: 800 13px/1.2 Manrope, Arial, sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
}

html[data-universe="home"] .impact-header__eyebrow::before,
html[data-universe="home"] .impact-header__eyebrow::after {
  content: "";
  width: 88px;
  height: 1px;
  background: rgba(109,60,199,.3);
}

html[data-universe="home"] .impact-header h2 {
  margin: 12px 0 7px;
  color: #101A3A;
  font: 800 clamp(37px, 4.1vw, 66px)/1.03 Manrope, Arial, sans-serif;
  letter-spacing: -.055em;
  text-wrap: balance;
}

html[data-universe="home"] .impact-header p {
  margin: 0;
  color: #526175;
  font: 500 clamp(16px, 1.45vw, 22px)/1.5 Inter, Arial, sans-serif;
}

html[data-universe="home"] .stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: minmax(390px, 31vw);
  gap: clamp(14px, 1.5vw, 24px);
  width: min(1480px, calc(100% - 64px));
  height: auto;
  margin: 0 auto;
  padding: 0;
}

html[data-universe="home"] .stage::before { display: none; }
html[data-universe="home"] .center { display: none; }

html[data-universe="home"] .branch {
  min-height: 390px;
  border-radius: 34px !important;
  box-shadow: 0 18px 42px rgba(18,35,63,.13);
  opacity: 0;
  transform: translateY(42px) scale(.985);
  animation: none !important;
  transition: opacity .72s ease var(--reveal-delay,0ms), transform .72s cubic-bezier(.2,.8,.2,1) var(--reveal-delay,0ms), box-shadow .4s ease, filter .4s ease;
}

html[data-universe="home"] .branch.is-visible {
  opacity: 1;
  transform: none;
}

html[data-universe="home"] .branch:hover,
html[data-universe="home"] .branch:focus-visible {
  z-index: 3;
  transform: translateY(-8px) scale(1.005);
  box-shadow: 0 28px 64px rgba(18,35,63,.22);
}

html[data-universe="home"] .branch--leaders { order: 1; --reveal-delay: 60ms; }
html[data-universe="home"] .branch--corporate { order: 2; --reveal-delay: 150ms; }
html[data-universe="home"] .branch--schools { order: 3; --reveal-delay: 240ms; }
html[data-universe="home"] .branch--families { order: 4; --reveal-delay: 330ms; }

html[data-universe="home"] .branch::before {
  z-index: 3;
  border: 0;
  border-radius: inherit;
  opacity: 1;
  background: linear-gradient(180deg, transparent 25%, rgba(3,19,39,.12) 45%, rgba(3,19,39,.86) 100%);
}

html[data-universe="home"] .branch::after {
  z-index: 2;
  background: none;
}

html[data-universe="home"] .branch img,
html[data-universe="home"] .branch__video {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: opacity .25s ease, transform 1.1s cubic-bezier(.2,.8,.2,1), filter .65s ease;
}

html[data-universe="home"] .branch__video {
  pointer-events: none;
  opacity: 0;
}

html[data-universe="home"] .branch.is-previewing .branch__video { opacity: 1; }
html[data-universe="home"] .branch.is-opening .branch__video { opacity: 0; transition: none; }
html[data-universe="home"] .branch:hover img,
html[data-universe="home"] .branch:hover .branch__video,
html[data-universe="home"] .branch:focus-visible img { transform: scale(1.055); }

html[data-universe="home"] .branch__label,
html[data-universe="home"] .branch:nth-child(even) .branch__label {
  left: 28px;
  right: 28px;
  bottom: 28px;
  max-width: none;
  text-align: left;
  text-shadow: 0 3px 18px rgba(0,0,0,.48);
}

html[data-universe="home"] .branch__eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 9px;
  letter-spacing: .13em;
}

html[data-universe="home"] .branch__name {
  display: block;
  margin-top: 0;
  color: #fff;
  font-size: clamp(30px, 2.7vw, 45px);
}

html[data-universe="home"] .branch__description {
  display: block;
  max-width: 96%;
  margin-top: 10px;
  color: rgba(255,255,255,.93);
  font: 500 clamp(12px, .92vw, 15px)/1.45 Inter, Arial, sans-serif;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}

html[data-universe="home"] .branch__arrow,
html[data-universe="home"] .branch:nth-child(odd) .branch__arrow,
html[data-universe="home"] .branch:nth-child(even) .branch__arrow,
html[data-universe="home"] .branch:nth-child(3) .branch__arrow,
html[data-universe="home"] .branch:nth-child(4) .branch__arrow {
  top: 22px;
  right: 22px;
  bottom: auto;
  left: auto;
  width: 44px;
  height: 44px;
  border-color: rgba(255,255,255,.72);
  background: rgba(16,26,58,.56);
  backdrop-filter: blur(12px);
  color: #fff;
}

html[data-universe="home"] .branch:hover .branch__arrow,
html[data-universe="home"] .branch:focus-visible .branch__arrow {
  background: #fff;
  color: #101A3A;
}

html[data-universe="home"] .branch--leaders::before { box-shadow: inset 0 5px 0 #6D3CC7; }
html[data-universe="home"] .branch--corporate::before { box-shadow: inset 0 5px 0 #187cc0; }
html[data-universe="home"] .branch--schools::before { box-shadow: inset 0 5px 0 #49a33d; }
html[data-universe="home"] .branch--families::before { box-shadow: inset 0 5px 0 #FFB74D; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  html[data-universe="home"] .home-nav__links { display: none; }
  html[data-universe="home"] .home-hero__grid {
    grid-template-columns: minmax(0,.84fr) minmax(420px,1.16fr);
    width: min(1160px, calc(100% - 40px));
    gap: 30px;
  }
  html[data-universe="home"] .home-hero__title { font-size: clamp(50px, 5.6vw, 74px); }
  html[data-universe="home"] .home-collage { min-height: 470px; height: 61svh; }
  html[data-universe="home"] .stage {
    grid-template-columns: repeat(2, minmax(0,1fr));
    grid-template-rows: repeat(2, minmax(360px, 43vw));
    width: min(980px, calc(100% - 44px));
  }
}

@media (max-width: 820px) {
  html[data-universe="home"] .home-nav {
    width: calc(100% - 32px);
    min-height: 66px;
  }
  html[data-universe="home"] .home-brand span,
  html[data-universe="home"] .home-nav__cta { display: none; }
  html[data-universe="home"] .home-hero { min-height: auto; }
  html[data-universe="home"] .home-hero__grid {
    grid-template-columns: 1fr;
    width: min(680px, calc(100% - 34px));
    min-height: auto;
    gap: 36px;
    padding: 52px 0 92px;
  }
  html[data-universe="home"] .home-hero__copy { max-width: 620px; }
  html[data-universe="home"] .home-hero__logo { width: 170px; margin-bottom: 20px; }
  html[data-universe="home"] .home-hero__title { font-size: clamp(52px, 10vw, 78px); }
  html[data-universe="home"] .home-hero__lead { max-width: 580px; font-size: clamp(18px, 3.7vw, 25px); }
  html[data-universe="home"] .home-collage { height: 520px; min-height: 0; }
  html[data-universe="home"] .home-collage__tile { border-width: 6px; }
  html[data-universe="home"] .home-scroll-cue { bottom: 16px; width: 46px; height: 46px; }
  html[data-universe="home"] .impact-section { padding-top: 84px; }
  html[data-universe="home"] .impact-header__eyebrow::before,
  html[data-universe="home"] .impact-header__eyebrow::after { width: 48px; }
}

@media (max-width: 600px) {
  html[data-universe="home"] .home-nav { width: calc(100% - 24px); }
  html[data-universe="home"] .home-brand img { width: 112px; }
  html[data-universe="home"] .home-nav .language button { padding: 6px 8px; font-size: 9px; }
  html[data-universe="home"] .home-hero__grid {
    width: calc(100% - 28px);
    padding: 42px 0 82px;
  }
  html[data-universe="home"] .home-hero__logo { width: 145px; margin-bottom: 18px; }
  html[data-universe="home"] .home-hero__title {
    font-size: clamp(44px, 14.5vw, 68px);
    letter-spacing: -.07em;
  }
  html[data-universe="home"] .home-hero__rule { width: 105px; margin: 18px 0 17px; }
  html[data-universe="home"] .home-hero__lead { font-size: 18px; line-height: 1.38; }
  html[data-universe="home"] .home-hero__actions { align-items: flex-start; flex-direction: column; gap: 12px; margin-top: 25px; }
  html[data-universe="home"] .home-hero__button { min-height: 48px; padding: 0 22px; font-size: 13px; }
  html[data-universe="home"] .home-hero__meta { font-size: 10px; }
  html[data-universe="home"] .home-collage {
    height: 420px;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  html[data-universe="home"] .home-collage__tile { border-width: 4px; }
  html[data-universe="home"] .home-collage__tile:nth-child(1) { border-radius: 28px 28px 28px 58px; }
  html[data-universe="home"] .home-collage__tile:nth-child(2) { border-radius: 28px 58px 28px 28px; }
  html[data-universe="home"] .home-collage__tile:nth-child(3) { border-radius: 58px 28px 28px 28px; }
  html[data-universe="home"] .home-collage__tile:nth-child(4) { border-radius: 28px 28px 58px 28px; }
  html[data-universe="home"] .home-collage::before,
  html[data-universe="home"] .home-collage::after { display: none; }
  html[data-universe="home"] .impact-section { min-height: auto; padding: 70px 0 74px; }
  html[data-universe="home"] .impact-header { margin-bottom: 34px; padding: 0 20px; }
  html[data-universe="home"] .impact-header__eyebrow { font-size: 10px; gap: 8px; }
  html[data-universe="home"] .impact-header__eyebrow::before,
  html[data-universe="home"] .impact-header__eyebrow::after { width: 24px; }
  html[data-universe="home"] .impact-header h2 { font-size: clamp(35px, 10.7vw, 48px); }
  html[data-universe="home"] .impact-header p { font-size: 15px; }
  html[data-universe="home"] .stage {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, minmax(350px, 108vw));
    width: calc(100% - 24px);
    gap: 14px;
    margin: 0 auto;
    padding: 0;
  }
  html[data-universe="home"] .branch,
  html[data-universe="home"] .branch:nth-child(n) {
    min-height: 350px;
    border-radius: 28px !important;
  }
  html[data-universe="home"] .branch__label,
  html[data-universe="home"] .branch:nth-child(even) .branch__label {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }
  html[data-universe="home"] .branch__name { font-size: 38px; }
  html[data-universe="home"] .branch__description { max-width: 90%; font-size: 13px; }
  html[data-universe="home"] .branch__arrow,
  html[data-universe="home"] .branch:nth-child(n) .branch__arrow {
    top: 17px;
    right: 17px;
    left: auto;
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-universe="home"] { scroll-behavior: auto; }
  html[data-universe="home"] .home-scroll-cue { animation: none; }
  html[data-universe="home"] .branch__video { display: none; }
  html[data-universe="home"] .impact-header,
  html[data-universe="home"] .branch { opacity: 1; transform: none; transition: none; }
}


/* Journey detail modal, shared by the four hero cards and navigation links. */
html[data-universe="home"] .home-journey-dialog {
  padding: 0;
  border: 0;
  border-radius: 38px;
  background: transparent;
  color: #101A3A;
  box-shadow: 0 35px 95px rgba(0,0,0,.3);
}
html[data-universe="home"] .home-journey-dialog::backdrop {
  background: rgba(16,26,58,.84);
  backdrop-filter: blur(12px);
}
html[data-universe="home"] .home-journey-dialog .detail {
  color: #101A3A;
}
html[data-universe="home"] .home-journey-dialog .detail__photo img {
  object-position: var(--position, center);
}
html[data-universe="home"] .home-journey-dialog .detail__close,
html[data-universe="home"] .home-journey-dialog .detail__back {
  cursor: pointer;
}
html[data-universe="home"] .home-journey-dialog .detail__close:focus-visible,
html[data-universe="home"] .home-journey-dialog .detail__back:focus-visible,
html[data-universe="home"] .home-journey-dialog .detail__enter:focus-visible {
  outline: 3px solid var(--color);
  outline-offset: 3px;
}
@media (max-width: 640px) {
  html[data-universe="home"] .home-journey-dialog {
    border-radius: 24px;
  }
  html[data-universe="home"] .home-journey-dialog .detail {
    width: min(540px, calc(100vw - 22px));
    height: min(730px, calc(100dvh - 24px));
    min-height: 0;
    grid-template-rows: minmax(150px, 34%) minmax(0, 66%);
    border-radius: 24px;
  }
  html[data-universe="home"] .home-journey-dialog .detail__body {
    justify-content: flex-start;
    gap: 9px;
    padding: 18px 22px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  html[data-universe="home"] .home-journey-dialog .detail h2 {
    font-size: clamp(30px, 8vw, 37px);
  }
  html[data-universe="home"] .home-journey-dialog .detail__lead {
    font-size: 13px;
    line-height: 1.45;
  }
  html[data-universe="home"] .home-journey-dialog .detail__meta {
    padding: 10px 13px;
  }
}


/* Fallback navigation for browsers without JavaScript. Hidden by <noscript>
   when the interactive journey experience is available. */
html[data-universe="home"] .home-nojs-journeys {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  max-width: 960px;
  margin: 32px auto 64px;
  padding: 20px 24px;
  text-align: center;
  font: 600 15px/1.5 Inter, Arial, sans-serif;
  color: #101a3a;
}
html[data-universe="home"] .home-nojs-journeys p {
  flex: 1 0 100%;
  margin: 0;
}
html[data-universe="home"] .home-nojs-journeys a {
  color: #101a3a;
  font: 800 15px/1.4 Manrope, Arial, sans-serif;
  text-underline-offset: 4px;
  padding: 8px;
}
html[data-universe="home"] .home-nojs-journeys a:focus-visible {
  outline: 3px solid #6d3cc7;
  outline-offset: 3px;
  border-radius: 4px;
}
@media (max-width: 640px) {
  html[data-universe="home"] .home-nojs-journeys {
    gap: 8px 14px;
    padding: 14px;
  }
}


/* Match the four journey tiles and give the collage more visual space. */
html[data-universe="home"] .home-collage {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}
html[data-universe="home"] .home-collage__tile { min-width: 0; min-height: 0; }
@media (min-width: 1201px) {
  html[data-universe="home"] .home-hero__grid {
    grid-template-columns: minmax(0, .75fr) minmax(590px, 1.25fr);
    width: min(1520px, calc(100% - 52px));
    gap: clamp(24px, 3vw, 48px);
  }
  html[data-universe="home"] .home-collage {
    height: min(760px, 78svh);
    min-height: 600px;
    gap: 18px;
  }
}
@media (min-width: 821px) and (max-width: 1200px) {
  html[data-universe="home"] .home-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: min(690px, 70svh);
    min-height: 510px;
    gap: 15px;
  }
}
@media (max-width: 820px) {
  html[data-universe="home"] .home-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: clamp(465px, 75vw, 600px);
  }
}
@media (max-width: 600px) {
  html[data-universe="home"] .home-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: clamp(390px, 112vw, 490px);
    gap: 10px;
  }
}
