.header--immersive {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  border-color: #cbd6ff24;
  color: #f0f3ff;
}
.header--immersive :is(.primary-nav, .language) a { color: #bdc7dd; }
.header--immersive :is(.primary-nav, .language) a:is(:hover, [aria-current]) { color: #fff; }
.header--immersive .language { border-color: #cbd6ff38; }
.header--immersive .language a[aria-current] { background: #bfd3ff24; }
html:not(.site-ready) .header--immersive { position: relative; background: #080c19; }

.home-morph {
  --stage-height: 100vh;
  --stage-height: 100svh;
  --stage-ink: #f1f5ff;
  --stage-edge: clamp(24px, 6.1vw, 116px);
  display: grid;
  position: relative;
  isolation: isolate;
  background: #080b17;
  color: var(--stage-ink);
}
.morph-stage,
.morph-chapters { grid-area: 1 / 1; min-width: 0; }
.morph-stage {
  position: sticky;
  top: 0;
  align-self: start;
  height: var(--stage-height);
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 75% 37%, #192447 0%, transparent 62%),
    radial-gradient(ellipse at 14% 76%, #101729 0%, transparent 65%),
    #080b17;
}
.morph-stage::before {
  position: absolute;
  content: "";
  inset: 0;
  background-image: radial-gradient(circle, #beccff3d .65px, transparent 1px);
  background-position: center;
  background-size: 29px 29px;
  mask-image: radial-gradient(ellipse at 70% 47%, #000, transparent 76%);
  opacity: .48;
}
.morph-render,
.morph-render canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.morph-render canvas { visibility: hidden; }
.morph-render[data-morph-state="running"] canvas { visibility: visible; }
.morph-chapters { pointer-events: none; }
.morph-chapter {
  --chapter-accent: #9cf4f2;
  display: grid;
  position: relative;
  isolation: isolate;
  align-items: center;
  min-height: var(--stage-height);
  padding: 110px var(--stage-edge) 96px;
  scroll-margin-top: 0;
}
.morph-chapter--neuron { --chapter-accent: #d7baff; }
.morph-chapter--ai { --chapter-accent: #b6d4ff; }
.morph-poster {
  position: absolute;
  inset: 0;
  display: grid;
  overflow: hidden;
  place-items: center;
  z-index: -1;
}
.morph-poster img {
  width: min(59vw, 101svh);
  height: auto;
  max-width: none;
  transform: translateX(37%);
}
.morph-chapter--neuron .morph-poster img { transform: translateX(-37%); }
.morph-chapter--ai .morph-poster img { width: min(72vw, 119svh); transform: translateX(30%); }
.home-morph[data-morph-state="running"] .morph-poster { visibility: hidden; }
.morph-copy { max-width: min(51vw, 790px); pointer-events: auto; }
.morph-chapter--neuron .morph-copy { justify-self: end; }
.morph-label {
  margin: 0 0 clamp(16px, 2.8vh, 34px);
  color: var(--chapter-accent);
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.morph-copy :is(h1, h2) {
  margin: 0;
  color: var(--stage-ink);
  font-size: clamp(48px, min(7.4vw, 12.8svh), 138px);
  font-weight: 650;
  letter-spacing: -.079em;
  line-height: .99;
  word-break: keep-all;
}
.morph-copy :is(h1, h2) span { display: block; color: var(--chapter-accent); padding-bottom: .08em; }
html[lang="ko"] .morph-copy :is(h1, h2) { letter-spacing: -.105em; line-height: 1.05; }
.morph-description {
  margin: clamp(13px, 2.8vh, 28px) 0 0;
  max-width: 37ch;
  color: #c2cde2;
  font-size: clamp(15px, 1.3vw, 21px);
  line-height: 1.62;
  word-break: keep-all;
}
.morph-copy .button {
  min-height: 46px;
  margin-top: clamp(16px, 3.2vh, 34px);
  padding-inline: 17px;
  border: 1px solid #c0daff5c;
  border-radius: 5px;
  background: #edf4ff;
  color: #111a2f;
}
.morph-copy .button:hover { background: var(--chapter-accent); color: #0c1425; }
.home-morph :focus-visible,
.header--immersive :focus-visible { outline: 2px solid #a3f5f2; outline-offset: 3px; }
.home-facts { padding-top: clamp(26px, 5vw, 76px); }

@media (max-width: 760px) {
  .site-ready .header--immersive .menu-toggle { color: #edf3ff; }
  .header--immersive .primary-nav { background: #080e1cf5; }
  .morph-stage { background: radial-gradient(ellipse at 53% 25%, #1a294c 0%, #0a1021 57%, #080b17 80%); }
  .morph-stage::before { mask-image: radial-gradient(ellipse at 53% 32%, #000, transparent 75%); }
  .morph-chapter { align-items: end; padding: 76px var(--stage-edge) max(48px, calc(env(safe-area-inset-bottom) + 36px)); }
  .morph-copy { width: 100%; max-width: none; }
  .morph-label { margin-bottom: 10px; }
  .morph-copy :is(h1, h2) { font-size: clamp(42px, min(12vw, 8.3svh), 73px); }
  .morph-description { font-size: 14px; margin-top: 9px; }
  .morph-copy .button { margin-top: 13px; }
  .morph-poster { justify-items: center; align-items: start; }
  .morph-poster img,
  .morph-chapter--neuron .morph-poster img,
  .morph-chapter--ai .morph-poster img { width: min(116vw, 74svh); transform: translateY(max(52px, 7svh)); }
}
@media (max-height: 610px) and (orientation: landscape) {
  .morph-chapter { align-items: center; padding-block: 74px 48px; }
  .morph-copy { width: 53%; }
  .morph-copy :is(h1, h2) { font-size: clamp(32px, 8vh, 56px); }
  .morph-description { margin-top: 5px; }
  .morph-copy .button { margin-top: 8px; }
  .morph-poster { place-items: center; }
  .morph-poster img,
  .morph-chapter--ai .morph-poster img { transform: translateX(40%); }
  .morph-chapter--neuron .morph-poster img { transform: translateX(-40%); }
}
