body[data-page="home"] {
  --home-shell-width: min(1500px, calc(100vw - 96px));
  --home-header-space: 108px;
  --home-panel: rgba(13, 18, 23, 0.32);
  --home-panel-strong: rgba(10, 14, 18, 0.68);
  --home-panel-soft: rgba(255, 255, 255, 0.04);
  --home-border: rgba(255, 255, 255, 0.09);
  --home-border-strong: rgba(255, 255, 255, 0.18);
  --home-text-soft: rgba(244, 248, 251, 0.72);
  --home-text-faint: rgba(244, 248, 251, 0.5);
  background-color: #06080b;
  background-image:
    linear-gradient(180deg, rgba(4, 7, 10, 0.42) 0%, rgba(7, 10, 14, 0.8) 46%, #0d1318 100%),
    url("./assets/images/scene-british-columbia.jpg"),
    linear-gradient(180deg, #06080b 0%, #0b1015 44%, #0d1318 100%);
  background-position:
    center top,
    center top,
    center;
  background-repeat: no-repeat;
  background-size:
    cover,
    cover,
    auto;
  background-attachment:
    fixed,
    fixed,
    scroll;
  overflow-x: hidden;
}

body[data-page="home"]::before {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 16%);
  opacity: 0.46;
}

body[data-page="home"] .ambient-orb {
  display: none;
}

body[data-page="home"] .ambient-grid {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0.75px, transparent 0.85px);
  background-size: 20px 20px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.48) 64%, transparent 100%);
  opacity: 0.16;
}

body[data-page="home"] .site-header,
body[data-page="home"] .home-main .section,
body[data-page="home"] .site-footer {
  width: var(--home-shell-width);
  max-width: var(--home-shell-width);
}

body[data-page="home"] .site-header {
  position: sticky;
  top: 0;
  z-index: 28;
  margin-top: 0;
  padding: 12px 16px 10px;
  background: rgba(10, 14, 18, 0.72);
  border-color: var(--home-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    padding 220ms ease;
}

body[data-page="home"] .site-header.is-stuck {
  padding-top: 8px;
  padding-bottom: 8px;
  background: rgba(9, 13, 18, 0.84);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

body[data-page="home"] .site-nav {
  position: relative;
  display: inline-flex !important;
  flex: 1 1 auto;
  justify-content: center;
  gap: 22px;
  padding-bottom: 10px;
}

body[data-page="home"] .nav-toggle {
  display: none !important;
}

body[data-page="home"] .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
}

body[data-page="home"] .brand-copy strong {
  font-size: 0.96rem;
}

body[data-page="home"] .brand-copy small {
  color: var(--home-text-faint);
}

body[data-page="home"] .header-actions {
  margin-left: auto;
  gap: 8px;
  position: relative;
}

body[data-page="home"] .locale-toggle {
  padding: 3px;
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.028);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body[data-page="home"] .locale-button {
  min-width: 42px;
  padding: 8px 10px;
  color: rgba(244, 248, 251, 0.58);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

body[data-page="home"] .locale-button.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(244, 248, 251, 0.96);
}

body[data-page="home"] .site-nav a {
  color: rgba(244, 248, 251, 0.58);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

body[data-page="home"] .site-nav a:hover,
body[data-page="home"] .site-nav a:focus-visible,
body[data-page="home"] .site-nav a.is-active {
  color: rgba(244, 248, 251, 0.92);
}

body[data-page="home"] .site-nav a::after {
  display: none;
}

body[data-page="home"] .nav-active-indicator {
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--nav-indicator-width, 0px);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(143, 221, 255, 0.76), rgba(215, 255, 242, 0.98));
  box-shadow: 0 0 16px rgba(143, 221, 255, 0.18);
  opacity: 0;
  transform: translate3d(var(--nav-indicator-x, 0px), 0, 0);
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    width 320ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease;
  pointer-events: none;
}

body[data-page="home"] .nav-active-indicator.is-visible {
  opacity: 1;
}

body[data-page="home"] .button-primary {
  border: 0;
  background: #f5f8fc;
  color: #091118;
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.08);
}

body[data-page="home"] .header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(244, 248, 251, 0.88);
  font-weight: 600;
  box-shadow: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

body[data-page="home"] .header-cta:hover,
body[data-page="home"] .header-cta:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(244, 248, 251, 0.98);
}

body[data-page="home"] .button-secondary {
  border-color: var(--home-border-strong);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

body[data-page="home"] .home-main .section {
  padding: 88px 0;
}

body[data-page="home"] .home-main .section[id] {
  scroll-margin-top: 24px;
}

body[data-page="home"] .hero {
  min-height: auto;
  padding-top: clamp(16px, 3vh, 30px);
  padding-bottom: clamp(8px, 2vh, 18px);
}

body[data-page="home"] .hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: auto;
  gap: 28px;
}

body[data-page="home"] .hero-copy {
  max-width: 1080px;
  gap: 16px;
  text-align: center;
}

body[data-page="home"] .hero .eyebrow {
  display: none;
}

body[data-page="home"] .hero-title {
  max-width: 17ch;
}

body[data-page="home"] .hero-title-line {
  white-space: normal;
}

body[data-page="home"] .hero-title-line-secondary {
  margin-top: 0.02em;
  color: rgba(231, 238, 246, 0.98);
  font-size: 0.86em;
  letter-spacing: 0;
  line-height: 0.94;
}

body[data-page="home"] .hero h1 {
  font-size: clamp(3.9rem, 7vw, 5.85rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
}

body[data-page="home"] .hero-lead {
  max-width: 46rem;
  font-size: clamp(0.98rem, 1.22vw, 1.08rem);
  line-height: 1.66;
  color: var(--home-text-soft);
}

body[data-page="home"] .hero-actions {
  margin-top: 2px;
  gap: 12px;
}

body[data-page="home"] .hero-stats {
  margin-top: 4px;
  gap: 10px;
}

body[data-page="home"] .hero-stat {
  min-height: 38px;
  padding: 0 14px;
  border-color: var(--home-border);
  background: rgba(255, 255, 255, 0.035);
}

body[data-page="home"] .hero-stat dt {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

body[data-page="home"] .hero-media {
  width: 100%;
  margin-top: clamp(16px, 4vh, 48px);
}

body[data-page="home"] .hero-media::before {
  display: none;
}

body[data-page="home"] .hero-preview-column {
  width: min(760px, calc(100vw - 96px));
  display: grid;
  gap: 16px;
  justify-items: center;
}

body[data-page="home"] .hero::before,
body[data-page="home"] .hero::after,
body[data-page="home"] .hero-preview-column::before,
body[data-page="home"] .hero-preview-column::after,
body[data-page="home"] .stage-preview::after {
  content: none !important;
  display: none !important;
}

body[data-page="home"] .hero-stage-meta {
  display: grid;
  width: min(680px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-self: center;
  place-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 22px;
  background: rgba(12, 17, 22, 0.38);
  border-color: var(--home-border);
  box-shadow: none;
  text-align: center;
}

body[data-page="home"] .hero-stage-meta-item {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 0;
  text-align: center;
}

body[data-page="home"] .hero-stage-meta-item span {
  color: var(--home-text-faint);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body[data-page="home"] .hero-stage-meta-item strong {
  color: rgba(244, 248, 251, 0.9);
  font-size: 0.98rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page="home"] .hero-preview-column .device-shell {
  width: min(760px, 100%);
  padding: 8px;
  border-radius: 32px;
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.4);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(11, 15, 20, 0.98), rgba(8, 11, 15, 0.94));
}

body[data-page="home"] .stage-preview {
  min-height: clamp(220px, 30vw, 340px);
  border-radius: 24px;
  background: rgba(8, 12, 16, 0.42);
}

body[data-page="home"] .stage-preview::before {
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -32px 60px rgba(0, 0, 0, 0.14);
}

body[data-page="home"] .stage-backgrounds {
  overflow: clip;
  contain: paint;
}

body[data-page="home"] .stage-background {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.08);
  filter: saturate(0.78) contrast(1.02) brightness(0.88);
}

body[data-page="home"] .stage-aura {
  display: none !important;
}

body[data-page="home"] .stage-vignette {
  background:
    linear-gradient(180deg, rgba(5, 9, 13, 0.08), rgba(5, 9, 13, 0.2)),
    radial-gradient(circle at center, transparent 26%, rgba(5, 9, 13, 0.08) 68%, rgba(5, 9, 13, 0.28) 100%);
}

body[data-page="home"] .preview-sound-toggle-overlay {
  top: 18px;
  right: 18px;
  border-color: rgba(255, 255, 255, 0.07);
  background: rgba(10, 15, 20, 0.22);
}

body[data-page="home"] .stage-center {
  padding: 24px 28px;
}

body[data-page="home"] .digital-time {
  color: rgba(248, 250, 251, 0.95);
  text-shadow: 0 2px 10px rgba(5, 8, 11, 0.18);
  -webkit-text-stroke: 1px rgba(19, 23, 28, 0.18);
}

body[data-page="home"] .stage-indicators {
  bottom: 18px;
  padding: 5px 10px;
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(10, 15, 20, 0.18);
}

body[data-page="home"] .section-shell {
  display: grid;
  gap: 26px;
}

body[data-page="home"] .section-shell-split {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: start;
  column-gap: clamp(28px, 4.6vw, 72px);
}

body[data-page="home"] .section-shell-split .section-heading {
  position: static;
  top: auto;
}

body[data-page="home"] .section-heading {
  max-width: none;
  margin-bottom: 0;
}

body[data-page="home"] .section-heading-principles {
  display: grid;
  align-content: start;
  gap: 14px;
  padding-top: 12px;
}

body[data-page="home"] .section-heading .eyebrow {
  margin-bottom: 12px;
  color: rgba(244, 248, 251, 0.54);
}

body[data-page="home"] .section-heading h2 {
  max-width: 14ch;
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
  line-height: 0.97;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

body[data-page="home"] .section-heading p {
  max-width: 35rem;
  margin-top: 14px;
  color: var(--home-text-soft);
}

body[data-page="home"] .section-heading-principles .eyebrow,
body[data-page="home"] .section-heading-principles h2,
body[data-page="home"] .section-heading-principles p {
  margin: 0;
}

body[data-page="home"] .section-heading-principles h2 {
  max-width: 11ch;
}

body[data-page="home"] .section-heading-note {
  max-width: 24rem;
  color: var(--home-text-faint);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body[data-page="home"] .section-panel,
body[data-page="home"] .section-panel-soft {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body[data-page="home"] .closing-panel {
  padding: 22px;
  border-radius: 30px;
  border: 1px solid var(--home-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.014)),
    linear-gradient(180deg, rgba(14, 19, 24, 0.64), rgba(10, 14, 18, 0.34));
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.024);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body[data-page="home"] .experience-grid,
body[data-page="home"] .principle-grid {
  gap: 16px;
}

body[data-page="home"] .experience .section-shell-split {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: stretch;
}

body[data-page="home"] .experience-card,
body[data-page="home"] .feature-card,
body[data-page="home"] .principle-card,
body[data-page="home"] .scene-card {
  border-color: rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  box-shadow: none;
}

body[data-page="home"] .experience-card,
body[data-page="home"] .feature-card,
body[data-page="home"] .principle-card {
  border-radius: 24px;
  padding: 24px;
}

body[data-page="home"] .experience-card {
  position: relative;
  min-height: 218px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  overflow: hidden;
}

body[data-page="home"] .experience-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  width: 100%;
}

body[data-page="home"] .experience-card::after {
  content: "";
  position: absolute;
  inset: auto 20px 20px auto;
  width: 90px;
  height: 90px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(143, 221, 255, 0.16), transparent 68%);
  opacity: 0.8;
  pointer-events: none;
}

body[data-page="home"] .experience-card:first-child {
  grid-column: 1 / -1;
  min-height: clamp(260px, 27vw, 360px);
  padding: clamp(26px, 3.5vw, 42px);
  background:
    radial-gradient(circle at 72% 24%, rgba(143, 221, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.02));
}

body[data-page="home"] .experience-card:nth-child(2),
body[data-page="home"] .experience-card:nth-child(3) {
  grid-column: span 6;
}

body[data-page="home"] .card-index {
  width: fit-content;
  min-height: 30px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--home-text-faint);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

body[data-page="home"] .experience-card h3,
body[data-page="home"] .feature-card h3,
body[data-page="home"] .principle-card h3,
body[data-page="home"] .scene-card-copy h3 {
  font-size: 1.14rem;
}

body[data-page="home"] .feature-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
  width: 100%;
  align-items: stretch;
}

body[data-page="home"] .feature-section .section-shell,
body[data-page="home"] .feature-section .section-panel {
  width: 100%;
}

body[data-page="home"] .feature-section .section-heading {
  max-width: 58rem;
}

body[data-page="home"] .feature-section .section-heading h2 {
  max-width: 18ch;
}

body[data-page="home"] .feature-card {
  position: relative;
  grid-column: span 4;
  min-height: 220px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  overflow: hidden;
}

body[data-page="home"] .feature-card::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 24px;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: rgba(143, 221, 255, 0.42);
  opacity: 0.7;
}

body[data-page="home"] .feature-card:nth-child(1) {
  grid-column: span 5;
  grid-row: span 2;
  min-height: 456px;
  padding: clamp(28px, 3vw, 38px);
  background:
    radial-gradient(circle at 72% 26%, rgba(143, 221, 255, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.02));
}

body[data-page="home"] .feature-card:nth-child(2),
body[data-page="home"] .feature-card:nth-child(3) {
  grid-column: span 7;
}

body[data-page="home"] .feature-card:nth-child(4),
body[data-page="home"] .feature-card:nth-child(5),
body[data-page="home"] .feature-card:nth-child(6) {
  grid-column: span 4;
}

body[data-page="home"] .feature-card h3 {
  max-width: 19rem;
  margin-top: 22px;
}

body[data-page="home"] .feature-card p:last-child {
  max-width: 38rem;
}

body[data-page="home"] .scene-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="home"] .scene-section .section-shell {
  gap: 28px;
}

body[data-page="home"] .scene-section .section-heading h2 {
  max-width: 13ch;
}

body[data-page="home"] .scene-section .section-heading p {
  max-width: 42rem;
}

body[data-page="home"] .scene-card {
  position: relative;
  grid-column: span 4;
  min-height: 282px;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
}

body[data-page="home"] .scene-card:first-child {
  grid-column: span 7;
  grid-row: span 2;
  min-height: clamp(500px, 44vw, 660px);
  border-radius: 30px;
}

body[data-page="home"] .scene-card:nth-child(2),
body[data-page="home"] .scene-card:nth-child(3) {
  grid-column: span 5;
}

body[data-page="home"] .scene-card:nth-child(4) {
  grid-column: 1 / -1;
  min-height: clamp(260px, 24vw, 340px);
}

body[data-page="home"] .scene-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.96);
  transform: scale(1.02);
}

body[data-page="home"] .scene-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 10, 14, 0.01) 0%, rgba(6, 10, 14, 0.12) 48%, rgba(6, 10, 14, 0.72) 100%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 34%);
  pointer-events: none;
}

body[data-page="home"] .scene-card:first-child::after {
  background:
    linear-gradient(180deg, rgba(6, 10, 14, 0.02) 0%, rgba(6, 10, 14, 0.18) 42%, rgba(6, 10, 14, 0.78) 100%),
    radial-gradient(circle at 16% 16%, rgba(255, 255, 255, 0.13), transparent 30%);
}

body[data-page="home"] .scene-card-copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: grid;
  align-content: end;
  gap: 10px;
  min-height: 42%;
  padding: 24px 22px 20px;
}

body[data-page="home"] .scene-card:first-child .scene-card-copy {
  inset: auto auto 0 0;
  width: min(480px, 72%);
  min-height: auto;
  align-content: end;
  padding: clamp(28px, 4vw, 48px);
}

body[data-page="home"] .scene-card:nth-child(4) .scene-card-copy {
  width: min(580px, 62%);
  min-height: 100%;
  align-content: center;
  padding: clamp(26px, 3.4vw, 44px);
}

body[data-page="home"] .feature-kicker,
body[data-page="home"] .scene-kicker,
body[data-page="home"] .floating-card-kicker {
  color: rgba(244, 248, 251, 0.6);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

body[data-page="home"] .scene-card-copy h3 {
  max-width: 16ch;
  color: rgba(244, 248, 251, 0.96);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.26);
}

body[data-page="home"] .scene-card:first-child .scene-card-copy h3 {
  max-width: 12ch;
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  line-height: 1.02;
}

body[data-page="home"] .scene-card-copy p:last-child {
  max-width: 28rem;
  color: rgba(244, 248, 251, 0.82);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.24);
}

body[data-page="home"] .principle-section .section-shell-split {
  grid-template-columns: 1fr;
  gap: 26px;
}

body[data-page="home"] .section-heading-principles {
  display: grid;
  max-width: 48rem;
  gap: 0;
  padding-top: 0;
}

body[data-page="home"] .section-heading-principles .eyebrow {
  display: inline-flex;
  justify-self: start;
  margin-bottom: 12px;
}

body[data-page="home"] .section-heading-principles h2,
body[data-page="home"] .section-heading-principles p {
  margin: 0;
}

body[data-page="home"] .section-heading-principles h2 {
  max-width: 13ch;
}

body[data-page="home"] .section-heading-principles p:not(.section-heading-note) {
  max-width: 38rem;
  margin-top: 14px;
}

body[data-page="home"] .section-heading-principles .section-heading-note {
  width: fit-content;
  margin-top: 18px;
}

body[data-page="home"] .principle-grid {
  counter-reset: principle-card;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

body[data-page="home"] .principle-card {
  position: relative;
  grid-column: span 4;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.044), rgba(255, 255, 255, 0.018)),
    radial-gradient(circle at 16% 0%, rgba(143, 221, 255, 0.08), transparent 36%);
}

body[data-page="home"] .principle-card::before {
  counter-increment: principle-card;
  content: "0" counter(principle-card);
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--home-text-faint);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

body[data-page="home"] .principle-card::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 70px;
  height: 1px;
  background: linear-gradient(90deg, rgba(143, 221, 255, 0.32), transparent);
  opacity: 0.64;
}

body[data-page="home"] .principle-card h3 {
  max-width: 100%;
  margin-top: 8px;
  font-size: clamp(1.18rem, 1.6vw, 1.42rem);
  line-height: 1.12;
}

body[data-page="home"] .principle-card p {
  max-width: 22rem;
}

body[data-page="home"] .closing-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

body[data-page="home"] .closing-copy {
  max-width: 34rem;
  display: grid;
  align-content: start;
  gap: 10px;
}

body[data-page="home"] .closing-kicker,
body[data-page="home"] .closing-copy h2,
body[data-page="home"] .closing-copy p {
  margin: 0;
}

body[data-page="home"] .closing-kicker {
  color: rgba(244, 248, 251, 0.52);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body[data-page="home"] .closing-copy h2 {
  max-width: 11ch;
  font-size: clamp(2.2rem, 4.1vw, 3.3rem);
  line-height: 0.98;
}

body[data-page="home"] .closing-copy p {
  max-width: 30rem;
}

body[data-page="home"] .home-main .closing-section {
  padding-bottom: clamp(34px, 4vw, 54px);
}

body[data-page="home"] .site-footer {
  width: 100%;
  max-width: none;
  padding: 0 0 clamp(38px, 5vw, 62px);
}

body[data-page="home"] .home-footer {
  display: block;
  margin-top: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 12, 0), rgba(5, 8, 12, 0.82) 26%, rgba(5, 8, 12, 0.96));
}

body[data-page="home"] .home-footer-inner {
  width: var(--home-shell-width);
  max-width: var(--home-shell-width);
  margin: 0 auto;
  padding-top: clamp(18px, 3vw, 36px);
}

body[data-page="home"] .home-footer-primary {
  display: grid;
  grid-template-columns: minmax(240px, 0.68fr) minmax(0, 1.55fr);
  align-items: start;
  gap: clamp(32px, 5vw, 82px);
  padding: clamp(26px, 3.2vw, 42px);
  border-radius: 30px;
  border: 1px solid rgba(244, 248, 251, 0.085);
  background:
    radial-gradient(circle at 0% 0%, rgba(143, 221, 255, 0.09), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)),
    rgba(7, 11, 15, 0.36);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body[data-page="home"] .home-footer-brand-block {
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
}

body[data-page="home"] .home-footer-directory {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: clamp(22px, 3vw, 46px);
  min-width: 0;
}

body[data-page="home"] .home-footer-brand {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: rgba(244, 248, 251, 0.94);
  font-weight: 800;
  line-height: 1;
}

body[data-page="home"] .home-footer-brand img {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 12px;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

body[data-page="home"] .home-footer-brand span {
  display: block;
  min-width: 0;
  font-size: 1.08rem;
}

body[data-page="home"] .home-footer-brand-block p {
  max-width: 22rem;
  margin: 0;
  color: rgba(244, 248, 251, 0.56);
  font-size: 0.95rem;
  line-height: 1.62;
}

body[data-page="home"] .home-footer-support-link {
  width: fit-content;
  max-width: 100%;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(215, 255, 242, 0.16);
  background: rgba(215, 255, 242, 0.055);
  color: rgba(215, 255, 242, 0.88);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

body[data-page="home"] .home-footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}

body[data-page="home"] .home-footer-column h2 {
  margin: 0 0 6px;
  color: rgba(244, 248, 251, 0.88);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

body[data-page="home"] .home-footer-column a {
  width: fit-content;
  max-width: 100%;
  color: var(--home-text-faint);
  font-size: 0.9rem;
  line-height: 1.4;
  word-break: break-word;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

body[data-page="home"] .home-footer-column a:hover,
body[data-page="home"] .home-footer-column a:focus-visible,
body[data-page="home"] .home-footer-support-link:hover,
body[data-page="home"] .home-footer-support-link:focus-visible {
  color: rgba(244, 248, 251, 0.96);
  transform: translateX(2px);
}

body[data-page="home"] .home-footer-support-link:hover,
body[data-page="home"] .home-footer-support-link:focus-visible {
  border-color: rgba(215, 255, 242, 0.28);
  background: rgba(215, 255, 242, 0.085);
}

body[data-page="home"] .home-footer-legal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 4px 0;
  color: rgba(244, 248, 251, 0.42);
  font-size: 0.82rem;
  line-height: 1.5;
}

body[data-page="home"] .home-footer-legal-row small,
body[data-page="home"] .home-footer-legal-row span {
  margin: 0;
  color: inherit;
}

body[data-page="home"] .home-footer-legal-row span {
  text-align: right;
}

@media (max-width: 1120px) {
  body[data-page="home"] .site-nav {
    display: inline-flex !important;
  }

  body[data-page="home"] .nav-toggle {
    display: flex !important;
  }

  body[data-page="home"] .nav-active-indicator {
    display: none;
  }

  body[data-page="home"] .home-footer-primary {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .home-footer-brand-block {
    max-width: 36rem;
  }
}

@media (max-width: 920px) {
  body[data-page="home"] .home-footer-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 42px;
  }
}

body[data-page="home"][data-locale="zh"] .hero h1 {
  font-size: clamp(3.2rem, 5.8vw, 4.8rem);
  letter-spacing: 0;
}

body[data-page="home"][data-locale="zh"] .hero-title {
  max-width: none;
  white-space: nowrap;
}

body[data-page="home"][data-locale="zh"] .hero-title-line {
  white-space: normal;
}

body[data-page="home"][data-locale="zh"] .hero-title-line-secondary {
  font-size: 0.9em;
}

body[data-page="home"][data-locale="zh"] .hero-stat dt,
body[data-page="home"][data-locale="zh"] .hero-stage-meta-item span {
  letter-spacing: 0.05em;
}

body[data-page="home"][data-locale="zh"] .section-heading h2 {
  max-width: 15em;
  word-break: normal;
  line-break: loose;
  overflow-wrap: normal;
}

body[data-page="home"][data-locale="zh"] .section-shell-split .section-heading h2 {
  max-width: 8em;
}

body[data-page="home"][data-locale="zh"] .experience .section-heading h2 {
  max-width: 7.5em;
}

body[data-page="home"][data-locale="zh"] .section-heading-note,
body[data-page="home"][data-locale="zh"] .closing-kicker {
  letter-spacing: 0.08em;
}

@media (max-width: 1100px) {
  body[data-page="home"] .section-shell-split {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .experience .section-shell-split {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .section-heading h2 {
    max-width: 16ch;
  }

  body[data-page="home"] .feature-card,
  body[data-page="home"] .feature-card:nth-child(1),
  body[data-page="home"] .feature-card:nth-child(2),
  body[data-page="home"] .feature-card:nth-child(3),
  body[data-page="home"] .feature-card:nth-child(4),
  body[data-page="home"] .feature-card:nth-child(5),
  body[data-page="home"] .feature-card:nth-child(6),
  body[data-page="home"] .feature-card:nth-child(7),
  body[data-page="home"] .feature-card:nth-child(8) {
    grid-column: span 6;
    grid-row: auto;
  }

  body[data-page="home"] .feature-card:nth-child(1) {
    min-height: 260px;
  }

  body[data-page="home"] .scene-section .section-heading,
  body[data-page="home"] .section-heading-principles {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .scene-section .section-heading p,
  body[data-page="home"] .section-heading-principles p:not(.section-heading-note) {
    grid-column: auto;
    grid-row: auto;
  }

  body[data-page="home"] .scene-card:not(:first-child) {
    grid-column: span 6;
  }

  body[data-page="home"] .scene-card:nth-child(4) {
    grid-column: 1 / -1;
  }

  body[data-page="home"] .principle-card {
    grid-column: span 4;
  }
}

@media (max-width: 780px) {
  body[data-page="home"] {
    --home-shell-width: calc(100vw - 28px);
    --home-header-space: 92px;
  }

  body[data-page="home"] .site-header {
    width: var(--home-shell-width);
    max-width: var(--home-shell-width);
    margin-top: 0;
    padding: 10px 10px 8px 12px;
    flex-wrap: nowrap;
    gap: 10px;
  }

  body[data-page="home"] .site-header.is-stuck {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  body[data-page="home"] .site-nav,
  body[data-page="home"] .nav-toggle {
    display: none !important;
  }

  body[data-page="home"] .brand-copy small {
    display: none;
  }

  body[data-page="home"] .brand {
    flex: 0 1 auto;
    gap: 10px;
    min-width: 0;
  }

  body[data-page="home"] .brand-copy strong {
    white-space: nowrap;
  }

  body[data-page="home"] .header-actions {
    gap: 8px;
    flex: 0 0 auto;
    margin-left: auto;
    min-width: 0;
  }

  body[data-page="home"] .locale-toggle {
    flex: 0 0 auto;
  }

  body[data-page="home"] .locale-button {
    min-width: 52px;
    padding: 8px 10px;
    white-space: nowrap;
  }

  body[data-page="home"] .header-cta {
    min-height: 44px;
    padding: 0 14px;
    font-size: 0.84rem;
  }

  body[data-page="home"] .home-main .section {
    padding: 64px 0;
  }

  body[data-page="home"] .experience .section-shell-split {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .hero {
    min-height: auto;
    padding-top: 18px;
    padding-bottom: 8px;
  }

  body[data-page="home"] .hero-grid {
    min-height: auto;
    gap: 20px;
  }

  body[data-page="home"] .hero-copy {
    width: 100%;
    max-width: 100%;
    gap: 14px;
    min-width: 0;
  }

  body[data-page="home"] .hero-title,
  body[data-page="home"][data-locale="zh"] .hero-title {
    width: 100%;
    max-width: none;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  body[data-page="home"] .hero-title-line {
    white-space: normal;
    max-width: 100%;
  }

  body[data-page="home"][data-locale="zh"] .hero-title-line {
    white-space: normal;
    word-break: normal;
    line-break: loose;
    overflow-wrap: anywhere;
  }

  body[data-page="home"] .hero h1 {
    font-size: clamp(2.85rem, 11vw, 4.2rem);
    line-height: 0.94;
  }

  body[data-page="home"] .scene-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .scene-card {
    min-height: 300px;
  }

  body[data-page="home"][data-locale="zh"] .hero h1 {
    font-size: clamp(2.4rem, 9vw, 3.35rem);
  }

  body[data-page="home"] .hero-lead {
    max-width: min(24rem, 100%);
    font-size: 0.94rem;
    overflow-wrap: anywhere;
  }

  body[data-page="home"] .hero-preview-column {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 12px;
  }

  body[data-page="home"] .hero-media {
    margin-top: 12px;
  }

  body[data-page="home"] .hero-stage-meta {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 14px;
  }

  body[data-page="home"] .hero-stage-meta-item strong {
    font-size: 0.92rem;
  }

  body[data-page="home"] .hero-preview-column .device-shell {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 7px;
    border-radius: 22px;
  }

  body[data-page="home"] .stage-preview {
    min-height: 0;
    border-radius: 16px;
  }

  body[data-page="home"] .preview-sound-toggle-overlay {
    top: 12px;
    right: 12px;
  }

  body[data-page="home"] .stage-center {
    padding: 16px 10px;
  }

  body[data-page="home"] .digital-time {
    max-inline-size: 100%;
    font-size: var(--time-font-size, clamp(2rem, 12vw, 3.6rem));
  }

  body[data-page="home"] .stage-indicators {
    bottom: 12px;
  }

  body[data-page="home"] .feature-grid,
  body[data-page="home"] .scene-grid,
  body[data-page="home"] .principle-grid,
  body[data-page="home"] .experience-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .feature-card,
  body[data-page="home"] .feature-card:nth-child(1),
  body[data-page="home"] .feature-card:nth-child(2),
  body[data-page="home"] .feature-card:nth-child(3),
  body[data-page="home"] .feature-card:nth-child(4),
  body[data-page="home"] .feature-card:nth-child(5),
  body[data-page="home"] .feature-card:nth-child(6),
  body[data-page="home"] .feature-card:nth-child(7),
  body[data-page="home"] .feature-card:nth-child(8),
  body[data-page="home"] .experience-card,
  body[data-page="home"] .experience-card:first-child,
  body[data-page="home"] .experience-card:nth-child(2),
  body[data-page="home"] .experience-card:nth-child(3),
  body[data-page="home"] .scene-card,
  body[data-page="home"] .scene-card:first-child,
  body[data-page="home"] .scene-card:nth-child(2),
  body[data-page="home"] .scene-card:nth-child(3),
  body[data-page="home"] .scene-card:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .experience-card:first-child,
  body[data-page="home"] .feature-card:nth-child(1) {
    min-height: 0;
  }

  body[data-page="home"] .experience-card,
  body[data-page="home"] .feature-card,
  body[data-page="home"] .principle-card {
    padding: 22px;
  }

  body[data-page="home"] .scene-section .section-heading,
  body[data-page="home"] .section-heading-principles {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .scene-card:first-child {
    min-height: 320px;
  }

  body[data-page="home"] .scene-card:first-child .scene-card-copy {
    inset: auto 0 0 0;
    width: auto;
    min-height: 48%;
    padding: 24px 22px 20px;
  }

  body[data-page="home"] .scene-card:nth-child(4) .scene-card-copy {
    width: auto;
    min-height: 48%;
    align-content: end;
    padding: 24px 22px 20px;
  }

  body[data-page="home"] .scene-card:first-child .scene-card-copy h3 {
    font-size: 1.36rem;
  }

  body[data-page="home"] .principle-card {
    min-height: 0;
  }

  body[data-page="home"] .scene-card img,
  body[data-page="home"] .scene-card:first-child img,
  body[data-page="home"] .scene-card:nth-child(4) img {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  body[data-page="home"] .section-panel,
  body[data-page="home"] .section-panel-soft,
  body[data-page="home"] .closing-panel {
    padding: 18px;
    border-radius: 24px;
  }

  body[data-page="home"] .closing-panel {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 520px) {
  body[data-page="home"] .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(calc(100vw - 28px), 100%);
    max-width: min(calc(100vw - 28px), 100%);
    padding: 8px;
  }

  body[data-page="home"] .brand-copy {
    display: none;
  }

  body[data-page="home"] .header-actions {
    display: inline-flex;
    width: auto;
    justify-self: end;
  }

  body[data-page="home"] .locale-toggle {
    width: auto;
    min-width: 0;
  }

  body[data-page="home"] .locale-button {
    flex: 0 0 auto;
    min-width: 38px;
    padding: 7px 8px;
    font-size: 0.72rem;
  }
}

@media (max-width: 420px) {
  body[data-page="home"] .site-header {
    gap: 8px;
    padding-inline: 10px;
  }

  body[data-page="home"] .brand {
    gap: 8px;
  }

  body[data-page="home"] .brand-copy strong {
    font-size: 0.9rem;
  }

  body[data-page="home"] .header-actions {
    gap: 6px;
  }

  body[data-page="home"] .header-cta {
    min-height: 40px;
    padding: 0 11px;
    font-size: 0.78rem;
  }

  body[data-page="home"] .locale-button {
    min-width: 38px;
    padding: 7px 8px;
    font-size: 0.74rem;
  }
}

@media (max-width: 360px) {
  body[data-page="home"] .brand-copy {
    display: none;
  }
}

/* Unified middle-page grammar: one heading rhythm, one card family. */
body[data-page="home"] .experience .section-shell-split,
body[data-page="home"] .principle-section .section-shell-split {
  grid-template-columns: 1fr;
  align-items: start;
  column-gap: 0;
}

body[data-page="home"] .experience,
body[data-page="home"] .feature-section,
body[data-page="home"] .scene-section,
body[data-page="home"] .principle-section {
  --middle-card-min: clamp(220px, 20vw, 270px);
}

body[data-page="home"] .home-main .section.experience,
body[data-page="home"] .home-main .section.feature-section,
body[data-page="home"] .home-main .section.scene-section,
body[data-page="home"] .home-main .section.principle-section {
  padding: clamp(54px, 5vw, 72px) 0;
}

body[data-page="home"] .experience .section-shell,
body[data-page="home"] .feature-section .section-shell,
body[data-page="home"] .scene-section .section-shell,
body[data-page="home"] .principle-section .section-shell {
  gap: clamp(20px, 2.4vw, 28px);
}

body[data-page="home"] .experience .section-heading,
body[data-page="home"] .feature-section .section-heading,
body[data-page="home"] .scene-section .section-heading,
body[data-page="home"] .principle-section .section-heading {
  display: grid;
  justify-items: start;
  gap: 0;
  max-width: min(48rem, 100%);
}

body[data-page="home"] .experience .section-heading .eyebrow,
body[data-page="home"] .feature-section .section-heading .eyebrow,
body[data-page="home"] .scene-section .section-heading .eyebrow,
body[data-page="home"] .principle-section .section-heading .eyebrow {
  justify-self: start;
  margin: 0 0 12px;
}

body[data-page="home"] .experience .section-heading h2,
body[data-page="home"] .feature-section .section-heading h2,
body[data-page="home"] .scene-section .section-heading h2,
body[data-page="home"] .principle-section .section-heading h2 {
  max-width: 15ch;
  font-size: clamp(2.35rem, 4.1vw, 4rem);
  line-height: 1;
  text-wrap: balance;
}

body[data-page="home"] .experience .section-heading p,
body[data-page="home"] .feature-section .section-heading p,
body[data-page="home"] .scene-section .section-heading p,
body[data-page="home"] .principle-section .section-heading p {
  max-width: 44rem;
  margin: 14px 0 0;
  text-wrap: pretty;
}

body[data-page="home"] .section-heading-principles .section-heading-note {
  margin-top: 16px;
}

body[data-page="home"] .experience-grid,
body[data-page="home"] .feature-grid,
body[data-page="home"] .principle-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

body[data-page="home"] .experience-card,
body[data-page="home"] .experience-card:first-child,
body[data-page="home"] .experience-card:nth-child(2),
body[data-page="home"] .experience-card:nth-child(3),
body[data-page="home"] .feature-card,
body[data-page="home"] .feature-card:nth-child(1),
body[data-page="home"] .feature-card:nth-child(2),
body[data-page="home"] .feature-card:nth-child(3),
body[data-page="home"] .feature-card:nth-child(4),
body[data-page="home"] .feature-card:nth-child(5),
body[data-page="home"] .feature-card:nth-child(6),
body[data-page="home"] .principle-card {
  grid-column: auto;
  grid-row: auto;
  min-height: var(--middle-card-min);
  padding: clamp(22px, 2.2vw, 30px);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(143, 221, 255, 0.06), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.046), rgba(255, 255, 255, 0.018));
  display: flex;
  flex-direction: column;
  align-content: start;
  gap: 20px;
}

body[data-page="home"] .experience-card::after,
body[data-page="home"] .feature-card::before,
body[data-page="home"] .principle-card::after {
  display: none;
}

body[data-page="home"] .card-index,
body[data-page="home"] .feature-kicker,
body[data-page="home"] .principle-card::before {
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--home-text-faint);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
}

body[data-page="home"] .experience-card h3,
body[data-page="home"] .feature-card h3,
body[data-page="home"] .principle-card h3 {
  max-width: 20rem;
  margin: 0;
  font-size: clamp(1.15rem, 1.55vw, 1.38rem);
  line-height: 1.14;
}

body[data-page="home"] .experience-card p,
body[data-page="home"] .feature-card p,
body[data-page="home"] .principle-card p {
  max-width: 28rem;
  margin: 0;
}

body[data-page="home"] .scene-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="home"] .home-main .section[id] {
  scroll-margin-top: 96px;
}

body[data-page="home"] [data-reveal] {
  opacity: 1;
  transform: none;
}

body[data-page="home"] .scene-card,
body[data-page="home"] .scene-card:first-child,
body[data-page="home"] .scene-card:nth-child(2),
body[data-page="home"] .scene-card:nth-child(3),
body[data-page="home"] .scene-card:nth-child(4) {
  grid-column: auto;
  grid-row: auto;
  min-height: clamp(330px, 30vw, 430px);
  border-radius: 24px;
}

body[data-page="home"] .scene-card::after,
body[data-page="home"] .scene-card:first-child::after {
  background:
    linear-gradient(180deg, rgba(5, 8, 12, 0.02) 0%, rgba(5, 8, 12, 0.16) 42%, rgba(5, 8, 12, 0.84) 100%),
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.12), transparent 28%);
}

body[data-page="home"] .scene-card-copy {
  gap: 11px;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 12, 0.18));
}

body[data-page="home"] .scene-card:first-child .scene-card-copy,
body[data-page="home"] .scene-card:nth-child(4) .scene-card-copy {
  inset: auto 0 0 0;
  width: auto;
  min-height: 44%;
  align-content: end;
  padding: 24px 22px 20px;
}

body[data-page="home"] .scene-kicker {
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(6, 10, 14, 0.42);
  color: rgba(244, 248, 251, 0.86);
  letter-spacing: 0.12em;
}

body[data-page="home"] .scene-card-copy h3,
body[data-page="home"] .scene-card:first-child .scene-card-copy h3 {
  max-width: 18ch;
  font-size: clamp(1.28rem, 2vw, 1.68rem);
  line-height: 1.08;
}

body[data-page="home"] .scene-card-copy p:last-child {
  max-width: 30rem;
  color: rgba(244, 248, 251, 0.88);
}

/* Natural section copy flow: keep title/subtitle on one line when space allows. */
body[data-page="home"] .experience .section-heading,
body[data-page="home"] .feature-section .section-heading,
body[data-page="home"] .scene-section .section-heading,
body[data-page="home"] .principle-section .section-heading {
  max-width: min(86rem, 100%);
}

body[data-page="home"] .experience .section-heading h2,
body[data-page="home"] .feature-section .section-heading h2,
body[data-page="home"] .scene-section .section-heading h2,
body[data-page="home"] .principle-section .section-heading h2,
body[data-page="home"][data-locale="zh"] .section-heading h2,
body[data-page="home"][data-locale="zh"] .section-shell-split .section-heading h2,
body[data-page="home"][data-locale="zh"] .experience .section-heading h2 {
  max-width: 100%;
  text-wrap: wrap;
  overflow-wrap: normal;
}

body[data-page="home"] .experience .section-heading p,
body[data-page="home"] .feature-section .section-heading p,
body[data-page="home"] .scene-section .section-heading p,
body[data-page="home"] .principle-section .section-heading p {
  max-width: min(78rem, 100%);
  text-wrap: wrap;
}

@media (max-width: 1100px) {
  body[data-page="home"] .experience-grid,
  body[data-page="home"] .feature-grid,
  body[data-page="home"] .principle-grid,
  body[data-page="home"] .scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="home"] .scene-card,
  body[data-page="home"] .scene-card:first-child,
  body[data-page="home"] .scene-card:nth-child(2),
  body[data-page="home"] .scene-card:nth-child(3),
  body[data-page="home"] .scene-card:nth-child(4) {
    grid-column: auto;
  }
}

@media (max-width: 780px) {
  body[data-page="home"] .experience-grid,
  body[data-page="home"] .feature-grid,
  body[data-page="home"] .principle-grid,
  body[data-page="home"] .scene-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .experience-card,
  body[data-page="home"] .feature-card,
  body[data-page="home"] .principle-card {
    min-height: 0;
  }

  body[data-page="home"] .scene-card,
  body[data-page="home"] .scene-card:first-child,
  body[data-page="home"] .scene-card:nth-child(2),
  body[data-page="home"] .scene-card:nth-child(3),
  body[data-page="home"] .scene-card:nth-child(4) {
    min-height: 320px;
  }
}

/* Unified section rhythm after the hero: title and subtitle stay stacked above the content. */
body[data-page="home"] .experience .section-shell-split,
body[data-page="home"] .principle-section .section-shell-split {
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 36px);
}

body[data-page="home"] .experience .section-heading,
body[data-page="home"] .feature-section .section-heading,
body[data-page="home"] .scene-section .section-heading,
body[data-page="home"] .principle-section .section-heading {
  max-width: min(88rem, 100%);
}

body[data-page="home"] .experience .section-heading h2,
body[data-page="home"] .feature-section .section-heading h2,
body[data-page="home"] .scene-section .section-heading h2,
body[data-page="home"] .principle-section .section-heading h2,
body[data-page="home"][data-locale="zh"] .section-heading h2,
body[data-page="home"][data-locale="zh"] .section-shell-split .section-heading h2,
body[data-page="home"][data-locale="zh"] .experience .section-heading h2 {
  max-width: 100%;
}

body[data-page="home"] .experience .section-heading p,
body[data-page="home"] .feature-section .section-heading p,
body[data-page="home"] .scene-section .section-heading p,
body[data-page="home"] .principle-section .section-heading p {
  max-width: min(62rem, 100%);
}

@media (max-width: 780px) {
  body[data-page="home"] .section-heading h2,
  body[data-page="home"][data-locale="zh"] .section-heading h2,
  body[data-page="home"][data-locale="zh"] .section-shell-split .section-heading h2,
  body[data-page="home"][data-locale="zh"] .experience .section-heading h2 {
    max-width: 100%;
    font-size: clamp(2.15rem, 9vw, 3rem);
    line-height: 1.02;
  }

  body[data-page="home"] .section-heading p {
    max-width: 100%;
  }
}

body[data-page="home"][data-locale="zh"] .hero-lead,
body[data-page="home"][data-locale="zh"] .section-heading h2,
body[data-page="home"][data-locale="zh"] .section-heading p,
body[data-page="home"][data-locale="zh"] .experience-card h3,
body[data-page="home"][data-locale="zh"] .experience-card p,
body[data-page="home"][data-locale="zh"] .feature-card h3,
body[data-page="home"][data-locale="zh"] .feature-card p,
body[data-page="home"][data-locale="zh"] .scene-card-copy h3,
body[data-page="home"][data-locale="zh"] .scene-card-copy p,
body[data-page="home"][data-locale="zh"] .principle-card h3,
body[data-page="home"][data-locale="zh"] .principle-card p,
body[data-page="home"][data-locale="zh"] .closing-copy h2,
body[data-page="home"][data-locale="zh"] .closing-copy p {
  word-break: normal;
  line-break: loose;
  overflow-wrap: break-word;
}

/* Closing download section: direct download surface, no duplicated popover CTA. */
body[data-page="home"] .closing-panel {
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr);
  grid-template-areas:
    "copy downloads";
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
  min-height: 340px;
  padding: clamp(32px, 4.2vw, 56px);
}

body[data-page="home"] .closing-copy {
  grid-area: copy;
  width: 100%;
  min-width: 0;
  max-width: min(58rem, 100%);
}

body[data-page="home"] .closing-copy h2 {
  max-width: min(64rem, 100%);
  line-height: 1.02;
  text-wrap: wrap;
  word-break: normal;
  line-break: loose;
  overflow-wrap: anywhere;
}

body[data-page="home"] .closing-copy p {
  max-width: min(42rem, 100%);
  word-break: normal;
  line-break: loose;
  overflow-wrap: anywhere;
}

body[data-page="home"] .closing-download-grid {
  grid-area: downloads;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
  gap: clamp(16px, 1.8vw, 24px);
  align-items: stretch;
}

body[data-page="home"] .closing-download-card {
  display: grid;
  align-content: start;
  grid-template-rows: auto 1fr;
  gap: 18px;
  min-width: 0;
  padding: clamp(18px, 1.9vw, 24px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 50% 0%, rgba(143, 221, 255, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

body[data-page="home"] .closing-download-card .store-badge {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  justify-content: flex-start;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .closing-download-card .store-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  background:
    radial-gradient(circle at 44% 34%, rgba(255, 255, 255, 0.16), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.18);
}

body[data-page="home"] .closing-download-card .store-badge--apple .store-badge-svg {
  width: 16px;
  height: 19px;
  transform: translateY(-1px);
}

body[data-page="home"] .closing-download-card .store-badge--google .store-badge-svg {
  width: 19px;
  height: 19px;
  transform: translateX(1px);
}

body[data-page="home"] .closing-download-card .store-badge-title {
  color: rgba(244, 248, 251, 0.95);
  font-size: clamp(0.92rem, 1vw, 1.02rem);
  letter-spacing: 0;
  min-width: 0;
  line-height: 1;
}

body[data-page="home"] .closing-download-qr {
  display: grid;
  place-items: center;
  min-height: clamp(172px, 13.4vw, 204px);
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 46%),
    rgba(255, 255, 255, 0.042);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    inset 0 -18px 42px rgba(0, 0, 0, 0.12);
}

body[data-page="home"] .closing-download-qr-image {
  width: min(100%, 156px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 12px;
  padding: 10px;
  background: #f7f9fb;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(8, 14, 20, 0.08);
}

@media (max-width: 1100px) {
  body[data-page="home"] .closing-panel {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "downloads";
    min-height: 0;
  }

  body[data-page="home"] .closing-download-grid {
    max-width: 620px;
  }
}

@media (max-width: 780px) {
  body[data-page="home"] .closing-panel {
    padding: 18px;
    border-radius: 24px;
  }

  body[data-page="home"] .closing-copy h2 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  body[data-page="home"] .closing-download-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  body[data-page="home"] .closing-download-card {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .closing-download-qr {
    width: 100%;
    min-height: 168px;
  }

  body[data-page="home"] .closing-download-qr-image {
    width: 136px;
    border-radius: 12px;
    padding: 8px;
  }

  body[data-page="home"] .home-footer {
    padding-bottom: 34px;
  }

  body[data-page="home"] .home-footer-inner {
    width: min(calc(100vw - 28px), 100%);
    max-width: none;
    padding-top: 28px;
  }

  body[data-page="home"] .home-footer-primary {
    padding: 20px;
    border-radius: 24px;
    gap: 24px;
  }

  body[data-page="home"] .home-footer-directory {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  body[data-page="home"] .home-footer-legal-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  body[data-page="home"] .home-footer-legal-row span {
    text-align: left;
  }
}

@media (max-width: 1120px) {
  body[data-page="home"] .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 30;
    display: flex !important;
    width: min(320px, 80vw);
    height: 100dvh;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    padding: 88px 28px 28px;
    border-left: 1px solid var(--home-border);
    background: linear-gradient(180deg, rgba(15, 21, 28, 0.96), rgba(11, 16, 22, 0.98));
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 320ms ease, visibility 320ms ease;
  }

  body[data-page="home"] .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  body[data-page="home"] .site-nav a {
    display: block;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 1.1rem;
  }

  body[data-page="home"] .site-nav .nav-drawer-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    min-height: 48px;
    width: 100%;
    padding: 0 20px;
    border-bottom: 0 !important;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-strong), var(--accent));
    color: #081117;
    font-weight: 700;
  }

  body[data-page="home"] .nav-toggle {
    display: flex !important;
  }

  body[data-page="home"] .nav-active-indicator {
    display: none;
  }
}

body[data-page="home"] .global-footer {
  width: 100%;
  max-width: none;
  padding: clamp(44px, 6vw, 72px) 0 clamp(34px, 5vw, 58px);
}
