/* Editorial orbital hero: left product identity, right 5-pillar wafer orbit, bottom mission & actions. */
#home.hero-immersive {
  --hero-paper: #faf8f3;
  --hero-ink: #0b1520;
  --hero-body: #1f2e3b;
  --hero-navy: #124563;
  --hero-navy-dark: #0a2f46;
  --hero-muted: #496171;
  --hero-line: #8fa3ad;
  --hero-line-soft: #dce3e5;
  --hero-amber: #c87312;
  --hero-amber-ink: #9b5911;
  --hero-serif: Georgia, "Times New Roman", "Songti SC", "STSong", serif;
  --hero-zh-serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  --hero-sans: "SF Pro SC", "SF Pro Display", "PingFang SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;

  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: max(680px, 100svh);
  margin-top: -80px;
  padding: 96px 0 0;
  overflow-x: clip;
  background: var(--hero-paper);
  border: 0;
  border-bottom: 1px solid #e7e2d7;
  color: var(--hero-ink);
  font-family: var(--hero-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#home.hero-immersive .hero-shell {
  width: min(1420px, calc(100% - 64px));
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#home.hero-immersive .hero-composition {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(230px, 30fr) minmax(0, 70fr);
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
  padding: 12px 0 18px;
}

/* Left editorial identity block */
#home.hero-immersive .hero-intro {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 8px;
}

#home.hero-immersive .hero-product-kicker {
  margin: 0 0 16px;
  color: var(--hero-amber-ink);
  font: 600 12.5px/1.6 var(--hero-sans);
  letter-spacing: 1.4px;
}

html[lang^="en"] #home.hero-immersive .hero-product-kicker {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#home.hero-immersive .hero-product-title {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 4.9vw, 76px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -1.8px;
  color: var(--hero-ink);
  white-space: nowrap;
}

#home.hero-immersive .hero-product-pilot {
  color: var(--hero-navy);
}

#home.hero-immersive .hero-product-definition {
  margin: 0;
  font-family: var(--hero-zh-serif);
  font-size: clamp(22px, 2.05vw, 33px);
  font-weight: 500;
  line-height: 1.44;
  letter-spacing: -0.2px;
  color: var(--hero-navy);
}

#home.hero-immersive .hero-definition-line {
  display: block;
}

html[lang^="en"] #home.hero-immersive .hero-product-definition {
  font-family: var(--hero-serif);
  font-size: clamp(19px, 1.8vw, 29px);
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: -0.3px;
}

/* Right concentric orbital diagram */
#home.hero-immersive .hero-orbit-stage {
  container-type: inline-size;
  position: relative;
  width: 100%;
  min-width: 0;
}

#home.hero-immersive .hero-orbit {
  --orbit-h: clamp(470px, min(64cqi, calc(100svh - 210px)), 610px);
  position: relative;
  width: 100%;
  height: var(--orbit-h);
  margin: 0 auto;
}

#home.hero-immersive .hero-orbit-guides {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

#home.hero-immersive .hero-orbit-ring,
#home.hero-immersive .hero-orbit-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
}

#home.hero-immersive .hero-orbit-ring {
  width: min(64cqi, calc(var(--orbit-h) * 0.84));
  border: 1px solid var(--hero-line);
}

#home.hero-immersive .hero-orbit-inner {
  width: min(39cqi, calc(var(--orbit-h) * 0.52));
  border: 1px solid var(--hero-line-soft);
}

#home.hero-immersive .hero-orbit-axis {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

#home.hero-immersive .hero-orbit-axis-x {
  width: min(58cqi, calc(var(--orbit-h) * 0.76));
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hero-line-soft) 14%, var(--hero-line-soft) 86%, transparent);
}

#home.hero-immersive .hero-orbit-axis-y {
  width: 1px;
  height: min(58cqi, calc(var(--orbit-h) * 0.76));
  background: linear-gradient(180deg, transparent, var(--hero-line-soft) 14%, var(--hero-line-soft) 86%, transparent);
}

/* Seamless center wafer focal visual */
#home.hero-immersive .hero-wafer-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: min(41cqi, calc(var(--orbit-h) * 0.6), 355px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--hero-paper) 46%, rgba(250, 248, 243, 0) 76%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

#home.hero-immersive .hero-wafer-center img {
  display: block;
  width: 112%;
  max-width: none;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 46% 44% at 52% 58%, #000 72%, rgba(0, 0, 0, 0.55) 85%, transparent 98%);
  mask-image: radial-gradient(ellipse 46% 44% at 52% 58%, #000 72%, rgba(0, 0, 0, 0.55) 85%, transparent 98%);
}

/* Five orbital pillars */
#home.hero-immersive .hero-orbit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#home.hero-immersive .hero-orbit-item {
  position: absolute;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 4;
  width: max-content;
  max-width: 36cqi;
}

#home.hero-immersive .hero-orbit-item:nth-child(1) { left: 28%; top: 17%; }
#home.hero-immersive .hero-orbit-item:nth-child(2) { left: 72%; top: 17%; }
#home.hero-immersive .hero-orbit-item:nth-child(3) { left: 83.5%; top: 57%; max-width: 33cqi; }
#home.hero-immersive .hero-orbit-item:nth-child(4) { left: 50%; top: 88%; max-width: 44cqi; }
#home.hero-immersive .hero-orbit-item:nth-child(5) { left: 16.5%; top: 57%; max-width: 33cqi; }

#home.hero-immersive .hero-orbit-card {
  display: inline-block;
  padding: 6px 12px 8px;
  border-radius: 8px;
  background: rgba(250, 248, 243, 0.94);
  transition: transform 0.25s ease;
}

#home.hero-immersive .hero-orbit-item:hover .hero-orbit-card {
  transform: translateY(-2px);
}

#home.hero-immersive .hero-orbit-num {
  display: block;
  margin-bottom: 5px;
  font: 400 clamp(14px, 1.8cqi, 17px)/1.2 Georgia, "Times New Roman", serif;
  color: var(--hero-amber-ink);
  font-variant-numeric: tabular-nums;
}

#home.hero-immersive .hero-orbit-heading {
  margin: 0;
  padding-bottom: 6px;
  border-bottom: 1.5px solid rgba(200, 115, 18, 0.55);
  transition: border-color 0.25s ease;
}

#home.hero-immersive .hero-orbit-item:hover .hero-orbit-heading {
  border-bottom-color: var(--hero-amber);
}

#home.hero-immersive .hero-orbit-title {
  display: block;
  font-family: var(--hero-zh-serif);
  font-size: clamp(18px, 2.55cqi, 26px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: 0.4px;
  color: var(--hero-ink);
  white-space: nowrap;
}

#home.hero-immersive .hero-orbit-sub {
  display: block;
  margin-top: 4px;
  font-family: var(--hero-sans);
  font-size: clamp(12px, 1.52cqi, 16px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.2px;
  color: var(--hero-navy);
  white-space: nowrap;
}

html[lang^="en"] #home.hero-immersive .hero-orbit-title {
  font-family: var(--hero-serif);
  font-size: clamp(14px, 1.82cqi, 19.5px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.25px;
  white-space: normal;
  text-wrap: balance;
}

html[lang^="en"] #home.hero-immersive .hero-orbit-sub {
  font-size: clamp(10.5px, 1.18cqi, 13px);
  font-weight: 500;
  line-height: 1.34;
  letter-spacing: 0px;
  white-space: normal;
  text-wrap: balance;
}

/* Bottom mission & actions bar */
#home.hero-immersive .hero-bottom {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  flex-wrap: wrap;
  padding: 16px 0 26px;
  border-top: 1px solid rgba(184, 196, 202, 0.48);
}

#home.hero-immersive .hero-mission {
  margin: 0;
  max-width: 460px;
  text-align: left;
  color: var(--hero-muted);
  line-height: 1.55;
}

#home.hero-immersive .hero-mission-label {
  display: block;
  margin-bottom: 2px;
  color: var(--hero-amber-ink);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.8px;
}

#home.hero-immersive .hero-mission-copy {
  display: block;
  font-size: 13.5px;
  color: var(--hero-body);
}

#home.hero-immersive .hero-actions {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

#home.hero-immersive .hero-book-btn {
  min-height: 41px;
  padding: 9px 20px;
  border: 1px solid var(--hero-navy);
  border-radius: 980px;
  background: var(--hero-navy);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(18, 69, 99, 0.22);
  font-size: 13.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  letter-spacing: 0.01em;
}

#home.hero-immersive .hero-book-btn:hover {
  background: var(--hero-navy-dark);
  border-color: var(--hero-navy-dark);
  box-shadow: 0 6px 18px rgba(10, 47, 70, 0.28);
  transform: translateY(-1px);
}

#home.hero-immersive .hero-demo-link {
  min-height: 41px;
  padding: 9px 18px;
  border: 1px solid #c5cfd4;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--hero-ink);
  box-shadow: 0 2px 8px rgba(11, 21, 32, 0.04);
  font-size: 13.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  letter-spacing: 0.01em;
}

#home.hero-immersive .hero-demo-link:hover {
  background: #ffffff;
  border-color: var(--hero-navy);
  color: var(--hero-navy);
  transform: translateY(-1px);
}

/* Choreographed reveal integration with narrative.js */
.narrative-ready #home.hero-immersive .hero-orbit-stage {
  transform: none;
  transition: opacity 0.85s ease;
}

.narrative-ready #home.hero-immersive .hero-intro {
  transform: translateY(10px);
}

.narrative-ready #home.hero-immersive .revealed {
  transform: none;
}

/* Container-adaptive font tweaks when orbital stage narrows */
@container (max-width: 720px) {
  #home.hero-immersive .hero-orbit-title {
    white-space: normal;
    text-wrap: balance;
  }

  #home.hero-immersive .hero-orbit-sub {
    white-space: normal;
    text-wrap: balance;
  }
}

/* Tablet breakpoint: vertical editorial composition keeping full orbital diagram */
@media (max-width: 980px) {
  #home.hero-immersive {
    min-height: auto;
    padding-top: 96px;
  }

  #home.hero-immersive .hero-shell {
    width: min(860px, calc(100% - 48px));
  }

  #home.hero-immersive .hero-composition {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 0 16px;
  }

  #home.hero-immersive .hero-intro {
    text-align: center;
    align-items: center;
    padding-right: 0;
  }

  #home.hero-immersive .hero-product-kicker {
    margin-bottom: 10px;
  }

  #home.hero-immersive .hero-product-title {
    margin-bottom: 14px;
    font-size: clamp(44px, 7.2vw, 64px);
  }

  #home.hero-immersive .hero-product-definition {
    font-size: clamp(20px, 3vw, 28px);
  }

  #home.hero-immersive .hero-orbit-stage {
    max-width: 760px;
    margin: 0 auto;
  }

  #home.hero-immersive .hero-orbit {
    --orbit-h: clamp(450px, 64cqi, 550px);
  }

  #home.hero-immersive .hero-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 18px 0 26px;
  }

  #home.hero-immersive .hero-mission {
    text-align: center;
    max-width: 520px;
  }

  #home.hero-immersive .hero-actions {
    justify-content: center;
  }
}

/* Mobile breakpoint: clean focal wafer + scannable 5-item editorial list */
@media (max-width: 700px) {
  #home.hero-immersive {
    margin-top: -69px;
    padding: 86px 0 0;
  }

  #home.hero-immersive .hero-shell {
    width: calc(100% - 36px);
  }

  #home.hero-immersive .hero-composition {
    gap: 20px;
    padding: 14px 0 18px;
  }

  #home.hero-immersive .hero-product-title {
    font-size: clamp(40px, 11vw, 52px);
    letter-spacing: -1.4px;
    margin-bottom: 12px;
  }

  #home.hero-immersive .hero-product-definition,
  html[lang^="en"] #home.hero-immersive .hero-product-definition {
    font-size: clamp(18px, 4.8vw, 22px);
    line-height: 1.42;
  }

  #home.hero-immersive .hero-orbit {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  #home.hero-immersive .hero-orbit-guides {
    display: none;
  }

  #home.hero-immersive .hero-wafer-center {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: min(86%, 320px);
    aspect-ratio: 16 / 10;
    border-radius: 0;
    background: none;
  }

  #home.hero-immersive .hero-wafer-center img {
    width: 100%;
  }

  #home.hero-immersive .hero-orbit-list {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #home.hero-immersive .hero-orbit-item,
  #home.hero-immersive .hero-orbit-item:nth-child(n) {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    max-width: none;
    width: 100%;
    text-align: left;
  }

  #home.hero-immersive .hero-orbit-card {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: baseline;
    gap: 2px 10px;
    width: 100%;
    padding: 13px 15px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #e5dfd2;
    border-left: 2.5px solid rgba(200, 115, 18, 0.72);
    border-radius: 10px;
  }

  #home.hero-immersive .hero-orbit-item:hover .hero-orbit-card {
    transform: none;
  }

  #home.hero-immersive .hero-orbit-num {
    margin: 0;
    font-size: 15px;
  }

  #home.hero-immersive .hero-orbit-heading {
    padding-bottom: 0;
    border-bottom: 0;
  }

  #home.hero-immersive .hero-orbit-title,
  html[lang^="en"] #home.hero-immersive .hero-orbit-title {
    font-size: 17px;
    line-height: 1.3;
    white-space: normal;
  }

  #home.hero-immersive .hero-orbit-sub,
  html[lang^="en"] #home.hero-immersive .hero-orbit-sub {
    font-size: 13px;
    line-height: 1.4;
    white-space: normal;
  }

  #home.hero-immersive .hero-bottom {
    padding: 16px 0 24px;
    gap: 14px;
  }

  #home.hero-immersive .hero-mission-copy {
    font-size: 13px;
  }

  #home.hero-immersive .hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  #home.hero-immersive .hero-book-btn,
  #home.hero-immersive .hero-demo-link {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .narrative-ready #home.hero-immersive .reveal-unit,
  #home.hero-immersive .hero-orbit-card,
  #home.hero-immersive .hero-orbit-heading,
  #home.hero-immersive .hero-book-btn,
  #home.hero-immersive .hero-demo-link {
    opacity: 1;
    transform: none;
    transition: none !important;
  }
}
