:root {
  color-scheme: dark;
  scrollbar-gutter: stable;
  --ink: #eaf3ff;
  --slate: #b4c6dc;
  --night: #101b2c;
  --deep: #0a131f;
  --ice: #eaf3ff;
  --surface: #0d1d34;
  --hero-start: #0b1422;
  --hero-end: #080f1c;
  --review-end: #0b1c35;
  --beta-end: #111e32;
  --approach-end: #13243a;
  --identity-end: #101d30;
  --motion-end: #0c1728;
  --cinema-base: #080d17;
  --blue: #9cbee7;
  --electric: #c6f3ff;
  --cobalt: #102f76;
  --cobalt-deep: #071837;
  --rule: #364d6b;
  --night-rule: #314256;
  --body: system-ui, "Segoe UI", Arial, sans-serif;
  --display: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --gutter: clamp(1.25rem, 5.3vw, 5.5rem);
  --section: clamp(4.5rem, 10vw, 9.25rem);
  --shell: 95rem;
}

:lang(zh-Hans) {
  --body: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --display: "Songti SC", "Noto Serif CJK SC", SimSun, serif;
}

:lang(hi) {
  --body: "Noto Sans Devanagari", "Nirmala UI", Mangal, system-ui, sans-serif;
  --display: "Noto Serif Devanagari", "Kohinoor Devanagari", "Nirmala UI", Mangal, serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font: 1rem/1.66 var(--body);
}

h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
img, video { display: block; max-inline-size: 100%; }
button, a, summary { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 2px solid #287a9c;
  outline-offset: 5px;
}

.dark :focus-visible, .site-header :focus-visible, .hero :focus-visible, .entrance :focus-visible {
  outline-color: var(--blue);
}

.skip-link {
  position: absolute;
  z-index: 5;
  inset-block-start: .5rem;
  inset-inline-start: .5rem;
  padding: .75rem 1rem;
  background: var(--ice);
  color: var(--night);
  translate: 0 -180%;
}

.skip-link:focus { translate: none; }

.shell {
  width: min(100%, var(--shell));
  padding-inline: var(--gutter);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 2;
  background: linear-gradient(var(--night), var(--hero-start));
  color: var(--ice);
  border-bottom: 1px solid var(--hero-start);
}

.header-inner {
  position: relative;
  min-height: 5.35rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(1.3rem, 3vw, 3.3rem);
}

.header-mark, .footer-mark {
  display: inline-flex;
  width: clamp(7rem, 11vw, 10.25rem);
  min-height: 2.75rem;
  align-items: center;
  text-decoration: none;
  letter-spacing: .12em;
}

.header-mark img, .footer-mark img { width: 100%; max-height: 3rem; object-fit: contain; }
.header-mark { position: relative; }
.header-mark-motion {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.header-mark-glint {
  fill: none;
  stroke: #eeffff;
  stroke-width: 3.9;
  stroke-linecap: round;
  stroke-dasharray: .07 1.07;
  filter: drop-shadow(0 0 2px #7ccaff);
  opacity: 0;
}

.header-mark-star, .header-mark-rings circle {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
}

.header-mark-star { fill: #f2fdff; filter: drop-shadow(0 0 2px #8bd8ff); }
.header-mark-rings circle {
  stroke: #a1dbff;
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
}
.header-mark[data-glint="1"] { --flare-scale: 1.16; --flare-light: .72; }
.header-mark[data-glint="2"] { --flare-scale: 1.39; --flare-light: .82; }
.header-mark[data-glint="3"] { --flare-scale: 1.68; --flare-light: .9; }
.header-mark[data-glint="4"], .header-mark[data-glint="5"] {
  --flare-scale: 1.68;
  --flare-light: 1;
  --flare-time: 1.92s;
}
.header-mark[data-glint="4"] .header-mark-star,
.header-mark[data-glint="5"] .header-mark-star {
  filter: drop-shadow(0 0 2px #ecffff) drop-shadow(0 0 5px #68bcff);
}
@media (prefers-reduced-motion: no-preference) {
  .header-mark[data-glint] .header-mark-glint { animation: header-mark-travel 1.16s linear both; }
  .header-mark[data-glint] .header-mark-star { animation: header-mark-ignite var(--flare-time, 1.3s) 1.13s ease both; }
  .header-mark[data-glint="5"] .header-mark-rings circle { animation: header-mark-wave 1.45s 1.43s cubic-bezier(.18,.62,.22,1) both; }
  .header-mark[data-glint="5"] .header-mark-rings circle + circle { animation-delay: 1.58s; }
}
@media (max-width: 44rem) {
  .header-mark-glint { stroke-width: 6; stroke-dasharray: .086 1.086; }
}
@keyframes header-mark-travel {
  0% { opacity: 0; stroke-dashoffset: .09; }
  11% { opacity: .96; stroke-dashoffset: -.035; }
  91% { opacity: 1; stroke-dashoffset: -.93; }
  100% { opacity: 0; stroke-dashoffset: -1; }
}
@keyframes header-mark-ignite {
  0% { opacity: 0; transform: scale(.9); }
  22%, 45% { opacity: var(--flare-light); transform: scale(var(--flare-scale)); }
  100% { opacity: 0; transform: scale(1); }
}
@keyframes header-mark-wave {
  0% { opacity: 0; transform: scale(.56); }
  14% { opacity: .72; }
  100% { opacity: 0; transform: scale(4.3); }
}

.section-links, .footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.section-links { justify-content: center; gap: .35rem clamp(.74rem, 1.5vw, 1.65rem); }
.section-links a, .footer-links a, .mobile-nav summary {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: #c4d2e4;
  font-size: .9rem;
  text-decoration: none;
}
.section-links a:hover, .footer-links a:hover { color: var(--ice); text-decoration: underline; text-underline-offset: .35em; }
.mobile-nav { display: none; }

.languages summary {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding-inline: .75rem;
  border: 1px solid #3a536d;
  border-radius: .44rem;
  color: #e3efff;
  list-style: none;
  font-size: .91rem;
  cursor: pointer;
}
.languages summary::-webkit-details-marker { display: none; }
.languages summary:hover, .languages[open] summary { background: #1d3046; border-color: #7297bc; }
.languages summary svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.3; }
.language-chevron { width: 6px; height: 6px; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); }
.languages[open] .language-chevron { transform: translateY(1px) rotate(225deg); }
.language-code { display: none; }
.language-panel {
  position: absolute;
  z-index: 4;
  inset-block-start: calc(100% - .4rem);
  inset-inline-end: var(--gutter);
  width: min(24rem, calc(100% - 2rem));
  max-height: min(33rem, calc(100dvh - 6rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: .66rem;
  border: 1px solid #3a536d;
  border-radius: .65rem;
  background: #102039;
  box-shadow: 0 1rem 2.3rem #050c1bd9;
  scrollbar-color: #557593 #102039;
}
.language-panel ul, .entrance-languages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem; }
.language-panel a, .entrance-languages a {
  display: block;
  align-content: center;
  min-height: 2.75rem;
  padding: .45rem .65rem;
  border: 1px solid transparent;
  border-radius: .35rem;
  color: #d6e6fa;
  font-size: .94rem;
  line-height: 1.25;
  text-decoration: none;
  text-align: start;
}
.language-panel a:hover, .entrance-languages a:hover { background: #1c3655; color: #fff; }
.language-panel a[aria-current="page"] { background: #203f5b; border-color: #567786; color: #d9f8ff; }
.language-panel a:focus-visible { outline-offset: -1px; }
.entrance-languages { width: min(26rem, 100%); }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  overflow: hidden;
  min-height: clamp(38rem, 88svh, 58rem);
  background: var(--cobalt-deep);
  color: #f8fcff;
}

.hero-media, .hero-media::after {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img, .hero-reel { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
.hero-reel { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.hero-reel.is-ready { opacity: 1; }

.hero-media::after {
  z-index: 0;
  content: '';
  background: radial-gradient(ellipse at 73% 49%, #245ded58, transparent 53%),
    linear-gradient(90deg, #081936f2 0%, #0b2153d9 34%, #133a8450 68%, #11367a38 100%),
    linear-gradient(0deg, #061831dd, transparent 42%);
}

.hero-copy { z-index: 0; padding-block: clamp(6rem, 12vw, 12rem) clamp(5rem, 8vw, 8.5rem); }
.hero-copy > * { position: relative; }
.hero-copy .summary { max-width: 42ch; }

.hero-signal {
  position: absolute;
  z-index: -1;
  inset: 48% 7% auto auto;
  width: clamp(12rem, 29vw, 32rem);
  margin-top: clamp(-14rem, -13vw, -5rem);
  pointer-events: none;
  opacity: .91;
}

.signal-symbol {
  display: block;
  width: 100%;
  color: #ecf6ff;
  filter: drop-shadow(0 .3rem 1.05rem #3c87f0);
}
.signal-trace { stroke-dasharray: 1 1; }
.signal-o, .signal-star { transform-box: fill-box; transform-origin: center; }
.signal-o { transform: rotate(180deg); }

@media (prefers-reduced-motion: no-preference) {
  .signal-o { animation: signal-trace .64s ease-in-out both; }
  .signal-arc { animation: signal-trace .9s .52s cubic-bezier(.36, .09, .21, 1) both; }
  .signal-star { animation: signal-star .52s 1.4s cubic-bezier(.16, 1, .3, 1) both, signal-breath 2.45s 2.35s ease-in-out forwards; }
}

@keyframes signal-trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes signal-star { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: scale(1); } }
@keyframes signal-breath {
  0%, 100% { transform: scale(1); }
  42% { transform: scale(1.12); }
  70% { transform: scale(.98); }
}


.button.button-electric {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--electric);
  color: #082453;
  border-color: var(--electric);
  font-weight: 680;
  box-shadow: 0 .44rem 1.25rem #38a7d92d;
}
.button-electric:hover, .button-electric:active { border-color: #60caf5; box-shadow: 0 .35rem 1.2rem #43c8fb55; }
.button-electric::after {
  content: '';
  pointer-events: none;
  position: absolute;
  z-index: -1;
  inset-block: -8px;
  inset-inline-start: -3.2rem;
  width: 3.2rem;
  opacity: 0;
  background: linear-gradient(180deg, #6cdfff44, #34aaff, #6cdfff33);
  clip-path: polygon(17% 0, 91% 0, 56% 44%, 80% 44%, 26% 100%, 42% 55%, 16% 55%);
}
@media (prefers-reduced-motion: no-preference) {
  .button-electric.is-charged::after { animation: button-charge .48s cubic-bezier(.26, .53, .34, 1) both; }
}
@keyframes button-charge {
  0% { inset-inline-start: -3.2rem; opacity: 0; }
  20%, 68% { opacity: .95; }
  100% { inset-inline-start: 100%; opacity: 0; }
}
.beta-form .button-electric:disabled { cursor: wait; }

.omni-example {
  display: grid;
  grid-template-columns: minmax(0, .76fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 3.5rem) clamp(2rem, 5vw, 5.25rem);
  margin-top: clamp(3.3rem, 7vw, 6.4rem);
  padding: clamp(1.25rem, 4.4vw, 4.25rem);
  scroll-margin-block-start: 1rem;
  border: 1px solid #345679;
  background: #172e4d;
}
.example-heading { grid-column: 1 / -1; }
.omni-example h3 { max-width: 19ch; color: #e4f0ff; font-family: var(--display); font-size: clamp(1.75rem, 3.5vw, 3.4rem); font-weight: 400; line-height: 1.12; }
.example-heading p { margin-top: .9rem; max-width: 58ch; color: var(--slate); }
.review-checks { padding: 0; list-style: none; }
.review-checks li { border-top: 1px solid #456182; padding-block: .65rem; color: #d9eaff; }
.review-checks li:last-child { border-bottom: 1px solid #456182; }
.review-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.55rem; }
.review-actions[hidden] { display: none; }
.review-actions .button { min-height: 2.75rem; cursor: pointer; }
.review-actions .button[aria-pressed="true"] { background: #bddfff; color: #10233f; border-color: #bddfff; }
.review-actions [role="status"] { flex-basis: 100%; min-height: 1.4em; color: #d1e4ff; }
.review-beta-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: .6rem;
  color: var(--electric);
  font-weight: 620;
  text-underline-offset: .25em;
}
.review-beta-link:hover { color: #fff; }
.review-preview { width: min(100%, 16rem); justify-self: center; margin: 0; border: 1px solid #597a9d; border-radius: .85rem; overflow: hidden; box-shadow: 0 1.5rem 3rem #071b3966; }
.review-preview img { display: block; width: 100%; height: auto; }
.orbit { margin: 0 0 clamp(1.65rem, 4vw, 3.5rem); }
.orbit video { aspect-ratio: 16 / 9; object-fit: contain; background: #070d17; }
.orbit figcaption { align-items: center; gap: .6rem 1.2rem; }

.beta-section.dark {
  padding-block-start: clamp(2.5rem, 5vw, 5rem);
  background: linear-gradient(var(--review-end), #0d2851 54%, var(--beta-end));
}
.beta-layout { display: grid; grid-template-columns: .9fr minmax(0, 1fr); align-items: end; gap: clamp(2rem, 6vw, 7rem); }
.beta-form { display: grid; gap: .48rem; }
.beta-form label { color: #f4fbff; font-weight: 620; }
.beta-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .55rem; }
.beta-form input[type="email"], .beta-form select { width: 100%; min-height: 3.1rem; background: #071735; color: #f5fbff; border: 1px solid #8caad7; padding: .6rem .8rem; font: inherit; caret-color: var(--electric); }
.beta-form :is(input,select):focus-visible { outline-offset: 2px; }
.beta-field .button { cursor: pointer; white-space: normal; }
.beta-privacy { color: #bed3ec; font-size: .86rem; }
#beta-status { min-height: 1.65rem; color: #e5f8ff; }

@media (max-width: 720px) {
  .hero-signal { inset: 1.8rem 10% auto auto; width: clamp(6.8rem, 26vw, 9rem); margin-top: 0; }
  .hero-media::after { background: radial-gradient(ellipse at 73% 37%, #245ded46, transparent 54%), linear-gradient(0deg, #061831f7 7%, #0b2153b8 47%, #122d5e20 80%), linear-gradient(90deg, #08193688, #11367a28); }
  .hero .hero-copy { padding-block-start: 10.5rem; }
  .omni-example, .beta-layout { grid-template-columns: 1fr; gap: 1.55rem; }
  .beta-field { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-reel { transition: none; }
}

h1, h2, .definition {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.049em;
}

h1 {
  max-width: 12ch;
  text-wrap: balance;
  font-size: clamp(3.4rem, 7.15vw, 7.75rem);
  line-height: 1.04;
}

h2 { max-width: 17ch; font-size: clamp(2.45rem, 5.4vw, 5.5rem); line-height: 1.08; text-wrap: balance; }
h1, h2, .omni-example h3 { overflow-wrap: anywhere; }

:lang(zh-Hans) h1, :lang(zh-Hans) h2, :lang(hi) h1, :lang(hi) h2 {
  letter-spacing: normal;
  line-height: 1.16;
}

:lang(zh-Hans) h1 { font-size: clamp(2.9rem, 6vw, 6.15rem); }
:lang(hi) h1 { font-size: clamp(2.7rem, 5.6vw, 6rem); max-width: 16ch; }

.kicker {
  color: var(--blue);
  font-size: .89rem;
  font-weight: 650;
  letter-spacing: .10em;
  margin-bottom: clamp(.7rem, 1.8vw, 1.2rem);
}

:lang(zh-Hans) .kicker, :lang(hi) .kicker { letter-spacing: normal; }
.dark .kicker, .hero .kicker { color: var(--blue); }

.summary { max-width: 55ch; font-size: clamp(1.05rem, 1.34vw, 1.27rem); color: var(--slate); margin-top: 1.3rem; }
.dark .summary, .hero .summary { color: #c3d1e2; }
.hero .summary { max-width: 42ch; margin-top: clamp(1.15rem, 2.5vw, 2.15rem); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  margin-top: clamp(1.8rem, 4vw, 3rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: .7rem 1.2rem;
  gap: .85rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.35;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-light { background: var(--ice); color: var(--night); }
.button-light:hover { background: #bdd7f7; }
.button-outline { border-color: #5a6c82; color: var(--ice); background: rgba(14, 28, 47, .3); }
.button-outline:hover { background: rgba(155, 189, 230, .2); border-color: var(--blue); }
.button-ink { background: var(--night); color: var(--ice); }
.button-ink:hover { background: #294361; }
.file-type { color: #b7cce6; font-size: .81rem; font-weight: 500; }

.section { padding-block: var(--section); scroll-margin-block-start: 1rem; }
.dark { color: var(--ice); background: var(--night); }
.product-section {
  padding-block-end: clamp(2.5rem, 5vw, 5rem);
  background: linear-gradient(var(--hero-end), #0b1b32 12rem, var(--surface) 28rem, var(--review-end));
}
.product-intro, .brandbook-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(2rem, 7vw, 7rem); }

.definition {
  align-self: end;
  padding-inline-start: clamp(1rem, 3.5vw, 2.45rem);
  border-inline-start: 1px solid #567398;
  font-size: clamp(1.3rem, 2.2vw, 2.2rem);
  line-height: 1.36;
  letter-spacing: -.026em;
  color: #cbddf3;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 4vw, 4rem);
  margin-top: clamp(2.5rem, 6vw, 5.5rem);
}

.capabilities li, .principles li { border-top: 1px solid var(--rule); padding-top: 1.3rem; }
h3 { font-size: clamp(1.1rem, 1.65vw, 1.4rem); font-weight: 620; line-height: 1.28; }
.capabilities li p, .principles li p { margin-top: .65rem; color: var(--slate); max-width: 38ch; }

.approach-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
  align-items: start;
  gap: clamp(2rem, 8vw, 8rem);
}

.approach-section { background: linear-gradient(var(--beta-end), #111e30 56%, var(--approach-end)); }
.approach-copy { display: grid; }

.principles {
  display: grid;
  gap: 1.1rem;
}

.principles li { border-color: var(--night-rule); }
.principles li p { color: #bacbdf; max-width: 48ch; }

.identity-section { background: linear-gradient(var(--approach-end), #132740 44%, var(--identity-end)); }
.section-intro { margin-bottom: clamp(1.85rem, 5vw, 3.8rem); }
.mark-grid { display: grid; grid-template-columns: 1.45fr 1.45fr 1fr; gap: clamp(.8rem, 1.8vw, 1.65rem); }
.identity-mark > div { display: grid; place-items: center; height: clamp(9.5rem, 14vw, 15rem); padding: clamp(1.3rem, 3vw, 3rem); }
.identity-mark img { width: 100%; max-height: 100%; object-fit: contain; }
.primary-mark > div { background: #c0cedd; }
.reverse-mark > div { background: var(--night); }
.symbol-mark > div { background: #a7b9d0; }
.symbol-mark img { width: clamp(3.5rem, 6.3vw, 6.1rem); }
.identity-mark figcaption { font-weight: 550; color: var(--slate); margin-top: .55rem; font-size: .91rem; }
.identity-studies { margin-top: clamp(1.65rem, 4vw, 3.25rem); border-block: 1px solid var(--rule); }
.identity-studies summary {
  cursor: pointer;
  padding-block: .95rem;
  font-weight: 600;
  list-style-position: inside;
}
.identity-studies summary:hover { color: var(--electric); }
.identity-studies a { display: block; margin-block: .25rem 1.2rem; }
.identity-studies img { width: 100%; height: auto; }

.motion-section { background: linear-gradient(var(--identity-end), var(--deep) 46%, var(--motion-end)); }
.films { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); }
.single-film { grid-template-columns: minmax(0, 64rem); }
.film video, .motion-still img { width: 100%; aspect-ratio: 16 / 9; background: #060c15; object-fit: cover; }
.film video { object-fit: contain; }
.film figcaption, .motion-still figcaption { margin-top: 1.25rem; display: grid; gap: .65rem; }
.film figcaption p, .motion-still figcaption span { color: #c3d1e2; max-width: 50ch; }
.film-label { color: var(--blue); font-size: .89rem; display: block; margin-bottom: .3rem; }
.motion-still { max-width: 64rem; }

.brandbook-section { background: linear-gradient(var(--motion-end), #101f36 50%, var(--night)); }
.brandbook-layout { align-items: end; }
.chapters { border-bottom: 1px solid var(--rule); align-self: end; }
.chapters li { border-top: 1px solid var(--rule); padding-block: 1.08rem; font-weight: 550; color: var(--slate); }

.site-footer { padding-block: clamp(2.6rem, 6vw, 5rem); }
.footer-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); align-items: start; gap: 2.1rem; }
.footer-layout p { margin-top: 1rem; color: #b9c9dd; max-width: 40ch; }
.footer-links { justify-content: end; gap: .3rem 1.2rem; }
.footer-layout small { grid-column: 1 / -1; border-top: 1px solid var(--night-rule); padding-top: 1rem; color: #b9c9dd; font-size: .88rem; }

.entrance { min-height: 100svh; display: grid; align-items: center; justify-items: center; padding: 2rem; color: var(--ice); background: var(--night); }
.entrance-content { display: grid; justify-items: center; gap: 1.65rem; }
.entrance-content img { width: min(22rem, 80vw); }
.entrance-content h1 { font: 1.25rem/1.4 var(--body); letter-spacing: normal; max-width: none; }

@media (max-width: 64rem) {
  .desktop-nav { display: none; }
  .header-inner { min-height: 4.55rem; grid-template-columns: minmax(5.5rem, 1fr) auto auto; column-gap: clamp(.5rem, 2.4vw, 1.7rem); }
  .mobile-nav { display: block; }
  .mobile-nav summary { list-style: none; gap: .6rem; color: var(--ice); cursor: pointer; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { display: block; width: .8rem; height: .55rem; border-block: 1px solid currentColor; }
  .mobile-nav nav { position: absolute; inset: 100% 0 auto; background: var(--night); border-bottom: 1px solid var(--night-rule); padding: 1rem var(--gutter) 1.5rem; }
  .mobile-nav .section-links { justify-content: start; display: grid; gap: 0; }
  .mobile-nav .section-links a { font-size: 1rem; min-height: 2.9rem; }
  .mobile-nav .section-links li + li { border-top: 1px solid var(--night-rule); }
}

@media (max-width: 44rem) {
  .hero { min-height: min(43rem, 112svh); }
  .hero-media img, .hero-reel { object-position: 65% 50%; }
  .hero-media::after { background: radial-gradient(ellipse at 80% 18%, #245ded62, transparent 63%), linear-gradient(0deg, #071837fa 6%, #0b2357d6 55%, #173b8040 100%); }
  .hero-copy { padding-block: 6.75rem 3.55rem; }
  .product-intro, .brandbook-layout, .approach-layout, .footer-layout, .films { grid-template-columns: minmax(0, 1fr); }
  .product-intro, .brandbook-layout { gap: clamp(1.65rem, 7.5vw, 3.5rem); }
  .capabilities { grid-template-columns: minmax(0, 1fr); gap: 1.3rem; }
  .capabilities li p { max-width: 54ch; }
  .mark-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .identity-mark > div { height: clamp(6.5rem, 25vw, 10rem); padding: clamp(.75rem, 2.2vw, 1.3rem); }
  .footer-links { justify-content: start; }
}

@media (max-width: 44rem) and (max-height: 43rem) {
  .hero { min-height: 0; }
  .hero-signal { inset-block-start: 1.35rem; width: clamp(5.4rem, 22vw, 7rem); }
  .hero .hero-copy { padding-block: 8.25rem 2.8rem; }
  .hero .summary { font-size: 1rem; }
  .hero .actions { margin-top: 1.3rem; }
}

@media (max-width: 29rem) {
  .header-inner { grid-template-columns: minmax(4.7rem, 1fr) auto auto; padding-inline: .85rem; column-gap: .42rem; }
  .header-mark { width: clamp(5.1rem, 22vw, 6.1rem); }
  .mobile-nav summary { font-size: .84rem; gap: .3rem; }
  .mobile-nav summary span { width: .66rem; }
  h1 { font-size: clamp(2.8rem, 12vw, 4.5rem); }
  .hero-copy .actions .button { flex: 1 1 auto; }
}

@media (min-width: 44.01rem) and (max-height: 49rem) {
  .hero { min-height: clamp(30rem, 84svh, 45rem); }
  .hero-copy { padding-block: clamp(2.7rem, 8svh, 5rem); }
  .hero h1 { font-size: clamp(2.85rem, min(7.15vw, 11svh), 6.5rem); }
}

@media (max-width: 22rem) {
  .hero-copy { padding-block: 4.65rem 3.1rem; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}

.beta-form select { min-width: 0; }
.beta-form button[type="submit"] { justify-self: start; margin-block: .55rem .25rem; cursor: pointer; }

.hero.orbit-hero {
  display: block;
  min-height: 0;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(var(--hero-start), #080e1a 28%, var(--hero-end));
}

.orbit-layout {
  position: relative;
  display: grid;
  min-height: clamp(29rem, 48vw, 44rem);
  align-content: center;
  padding-block: clamp(3.75rem, 7.6vw, 7rem) clamp(3.4rem, 7vw, 6rem);
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  mask-image: linear-gradient(transparent, #000 16%, #000 74%, transparent);
}
.hero-water { position: absolute; inset: 0; opacity: .8; }
.hero-water img, .hero-water video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.hero-water video { opacity: 0; transition: opacity .32s ease; }
.hero-water video.is-live { opacity: 1; }
.hero-atmosphere::after {
  position: absolute;
  inset: 0;
  content: '';
  background:
    linear-gradient(90deg, #080e1a 0%, #080e1aee 15%, #080e1ac4 38%, #080e1a00 78%),
    linear-gradient(0deg, #080f1c 0%, #080f1c00 47%, #0c15246b 100%);
}
.hero-monogram {
  position: absolute;
  left: 71%;
  top: 48%;
  width: clamp(19rem, 32vw, 38rem);
  aspect-ratio: 121.332 / 110.348;
  transform: translate(-50%, -50%) rotate(-6deg);
  opacity: .57;
  background: linear-gradient(125deg, #b9ecff, #4b8ed1 65%, #b9ecff);
  mask: var(--monogram) center / contain no-repeat;
}

.orbit-play {
  position: absolute;
  z-index: 1;
  top: 1.1rem;
  right: var(--gutter);
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid #527299;
  border-radius: .55rem;
  background: #101d33;
  color: #e6f5ff;
  cursor: pointer;
}
.orbit-play[hidden] { display: none; }
.orbit-play:hover { background: #21364f; border-color: #ace4ff; }
.orbit-play svg { width: 13px; height: 13px; fill: currentColor; }

.hero.orbit-hero .hero-copy { padding: 0; }
.orbit-hero h1 { font-size: clamp(2.55rem, 5.6vw, 5.65rem); max-width: 16ch; text-wrap: balance; }
.orbit-hero h1:focus { outline: none; }
.orbit-hero h1:lang(zh-Hans) { max-width: 12em; }
.orbit-hero h1:lang(hi) { max-width: 13em; }
.orbit-hero .summary { margin-top: 1rem; max-width: 38ch; }
.orbit-hero .actions { margin-top: 1.4rem; align-items: center; flex-wrap: wrap; }
.hero-beta-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #c9e7ff;
  font-size: .94rem;
  text-decoration-color: #6e9bc5;
  text-underline-offset: .28em;
}
.hero-beta-link:hover { color: white; text-decoration-color: currentColor; }

.intro-open { overflow: hidden; background: var(--cinema-base); }
.cinema {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  color: #edf7ff;
  border: 0;
  background: radial-gradient(ellipse at 50% 40%, #153559, #0d1b30 43%, #080e19 78%);
}
.cinema[open] {
  display: grid;
  place-items: center;
  overflow: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}
.cinema::backdrop { background: #080e19; }
.cinema [hidden] { display: none; }
.cinema-welcome {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  width: min(100%, 41rem);
  padding: clamp(2.2rem, 8vh, 5rem) clamp(1rem, 6vw, 4rem);
}
.cinema-mark { width: min(16.5rem, 79%); height: auto; margin-bottom: clamp(1.75rem, 5vh, 3.8rem); }
.cinema h2:focus { outline: none; }
.cinema h2 { font-size: clamp(2.45rem, 6vw, 4.75rem); line-height: 1.04; text-wrap: balance; }
.cinema-welcome p { margin-top: 1.12rem; max-width: 34ch; color: #bbcee5; text-wrap: pretty; }
.cinema-choices { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .42rem 1.2rem; margin-top: 1.45rem; }
.cinema-start { cursor: pointer; }
.cinema-quiet {
  min-height: 2.75rem;
  padding: .5rem .7rem;
  border: 1px solid transparent;
  border-radius: .35rem;
  background: transparent;
  color: #c5ddf3;
  font: inherit;
  font-size: .93rem;
  text-decoration: underline;
  text-underline-offset: .28em;
  cursor: pointer;
}
.cinema-quiet:hover, .cinema-quiet[aria-pressed=true] { color: #fff; border-color: #719aba; }
.cinema-status { color: #c9dcf4; text-align: center; }
.cinema-welcome .cinema-status:not(:empty) { margin-top: .9rem; }
.cinema.is-playing .cinema-status {
  position: absolute;
  inset: auto var(--gutter) max(5.4rem, calc(env(safe-area-inset-bottom) + 5rem));
  color: #c9dcf4;
  text-align: center;
  pointer-events: none;
}
.cinema.is-playing {
  isolation: isolate;
  overflow: hidden;
  background: transparent;
}
.cinema.is-playing::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 55% 64%, #101f35, #090f1b 62%, var(--cinema-base) 100%);
}
.cinema.is-playing::backdrop { background: var(--cinema-base); }
.cinema-film {
  position: relative;
  width: min(100%, 177.77778dvh);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  transform-origin: top left;
  mask-image: linear-gradient(transparent, rgb(0 0 0 / .25) 5%, #000 18%, #000 78%, rgb(0 0 0 / .25) 95%, transparent);
}
.cinema-reel, .cinema-final {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.cinema-final { display: none; }
.cinema.is-docking .cinema-final { display: block; }
.cinema-reel { opacity: 0; }
.cinema.has-frame .cinema-reel { opacity: 1; }
.cinema.has-frame .cinema-final { z-index: -1; }
.cinema-toolbar {
  position: absolute;
  right: max(var(--gutter), env(safe-area-inset-right));
  bottom: max(1rem, calc(env(safe-area-inset-bottom) + .55rem));
  display: flex;
  gap: .55rem;
}
.cinema-toolbar .cinema-quiet { background: #101b2be8; padding-inline: .9rem; }
.cinema.is-docking { background: transparent; overflow: hidden; }
.cinema.is-docking::before { animation: cinema-surround .84s ease both; }
.cinema.is-docking::backdrop { animation: cinema-background .84s ease both; }

@keyframes cinema-surround {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes cinema-background {
  0% { background: var(--cinema-base); }
  83%, 100% { background: transparent; }
}
@keyframes monogram-arrival {
  from { opacity: 0; transform: translate(-50%, -50%) rotate(-54deg) scale(.83); }
  to { opacity: .57; transform: translate(-50%, -50%) rotate(-6deg) scale(1); }
}
@media (prefers-reduced-motion: no-preference) {
  .intro-effects .hero-monogram { animation: monogram-arrival 4.7s cubic-bezier(.18,.66,.19,1) both; }
  .intro-tab-hidden .hero-monogram { animation-play-state: paused; }
}
@media (max-width: 48rem) {
  .orbit-layout { min-height: 27rem; padding-block: 4.15rem 3.4rem; }
  .orbit-hero h1 { font-size: clamp(2.4rem, 8.6vw, 4.8rem); }
  .hero-water img, .hero-water video { object-position: 58% center; }
  .hero-monogram { left: 64%; top: 55%; width: clamp(16rem, 65vw, 25rem); }
  .hero-atmosphere::after {
    background: linear-gradient(90deg, #080e1afa, #080e1ac7 53%, #080e1a46), linear-gradient(0deg, #080f1c, transparent 46%);
  }
  .orbit-play { top: .65rem; }
}
@media (max-height: 27rem) {
  .cinema-welcome { padding-block: 1rem; }
  .cinema-mark { width: min(11rem, 70%); margin-bottom: 1.15rem; }
  .cinema.is-playing .cinema-status { bottom: 3.5rem; }
}

:lang(ar) {
  --body: "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --display: "Noto Naskh Arabic", "Segoe UI", Tahoma, sans-serif;
}
:lang(bn) { --body: "Noto Sans Bengali", "Nirmala UI", system-ui, sans-serif; --display: var(--body); }
:lang(th) { --body: "Noto Sans Thai", "Leelawadee UI", system-ui, sans-serif; --display: var(--body); }
:lang(ja) { --body: "Hiragino Sans", "Yu Gothic", system-ui, sans-serif; --display: "Yu Mincho", serif; }
:lang(ko) { --body: "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif; --display: "Batang", serif; }
:lang(ar) h1, :lang(ar) h2, :lang(bn) h1, :lang(bn) h2, :lang(th) h1, :lang(th) h2 { letter-spacing: normal; line-height: 1.24; }
.orbit-hero h1:lang(ar) { max-width: 12em; }
.orbit-hero h1:lang(bn), .orbit-hero h1:lang(th) { max-width: 13em; }
.orbit-hero h1:lang(ja), .orbit-hero h1:lang(ko) { max-width: 10em; }
:dir(rtl) .hero-water img, :dir(rtl) .hero-water video { transform: scaleX(-1); }
:dir(rtl) .hero-atmosphere::after { transform: scaleX(-1); }
:dir(rtl) .hero-monogram { left: 29%; }
:dir(rtl) .orbit-play { right: auto; left: var(--gutter); }
:dir(rtl) .beta-form input { direction: ltr; text-align: start; }
@media (max-width: 48rem) {
  :dir(rtl) .hero-monogram { left: 36%; }
}
@media (max-width: 29rem) {
  .language-label { display: none; }
  .language-code { display: inline; }
  .languages summary { gap: .4rem; padding-inline: .55rem; }
  .language-panel { inset-inline-end: .75rem; }
  .language-panel a { padding-inline: .48rem; }
}

/* Opening and landing share the same dusk palette and optical centre. */
.site-header .header-inner { display:flex; align-items:center; gap:clamp(.7rem,3vw,2rem); }
.site-header .header-mark { margin-inline-end:auto; }
.show-nav a,.list-link { color:#dfeafa; text-underline-offset:.32em; }
.show-nav { font-size:.94rem; }
.hero.orbit-hero { position:relative; display:grid; place-items:center; min-height:clamp(35rem,86svh,62rem); background:#091121 url('./dark-orbit/vortex-first.webp') center / cover no-repeat; }
.show-center { position:relative; text-align:center; display:grid; justify-items:center; margin-top:1rem; }
.show-six { width:clamp(3.6rem,6.5vw,7rem); height:auto; filter:brightness(0) invert(.92) drop-shadow(0 0 .6rem #9ccff799); }
.orbit-hero .show-center h1 { color:#f3ede4; font:300 clamp(3.7rem,10vw,10rem)/1.05 var(--body); letter-spacing:.16em; padding-inline-start:.16em; margin:.1em 0 0; }
.soon { font-size:clamp(1rem,1.6vw,1.35rem); color:#c9d3e0; letter-spacing:.1em; }
.list-link { margin-top:2rem; padding:.65em 1.3em; border:1px solid #7994a977; border-radius:2rem; background:#0a1525c9; text-decoration:none; }
.show-controls { position:absolute; inset-inline-end:var(--gutter); bottom:1rem; display:flex; gap:.5rem; align-items:center; }
.show-controls .orbit-play { position:static; }
.cinema:not(.is-playing) { background:#080e18 url('./dark-orbit/vortex-first.webp') center / cover no-repeat; }
.cinema-welcome { background:radial-gradient(ellipse,#09111be8,transparent 73%); }
.gate-language { position:absolute; top:1rem; inset-inline-end:var(--gutter); z-index:3; }
.cinema.is-playing .gate-language { display:none; }
.cinema-film { transform-origin:center; }
@media (max-width:48rem) {
  .hero.orbit-hero { min-height:78svh; }
}
@media (prefers-reduced-motion:no-preference) {
  .vortex-live .show-six { animation:monogram-turn 24s linear infinite; }
  @keyframes monogram-turn { to { transform:rotateY(1turn); } }
}


.cinema-welcome { position:static; background:none; }
.cinema-welcome .cinema-mark { margin:0; width:clamp(10rem,23vw,20rem); }
.cinema-welcome .cinema-choices { margin:.9rem 0 0; }
.cinema-start,.gate-skip { display:inline-flex; align-items:center; justify-content:center; min-height:44px; color:#dce5ef; border:0; background:transparent; cursor:pointer; font:400 .93rem/1.2 var(--body); }
.cinema-start { gap:.6rem; padding:.5rem .9rem; border-radius:2rem; }
.cinema-start:hover,.cinema-start:focus-visible { color:white; background:#243449a6; }
.gate-skip { position:absolute; inset-block-start:1rem; inset-inline-start:var(--gutter); width:44px; font-size:1.4rem; }
.cinema-start:focus:not(:focus-visible) { outline:0; }

.vortex-loop { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; pointer-events:none; transition:opacity .8s; }
.vortex-loop.visible { opacity:1; }
@media (prefers-reduced-motion: reduce) { .vortex-loop { display:none; } }

/* The opening sky continues behind the navigation. */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  background: linear-gradient(to bottom, #07111bb8, transparent);
  border: 0;
}
.hero.orbit-hero {
  min-height: 100svh;
  padding-block: 6rem 2rem;
}
.languages { position: relative; }
.language-panel {
  inset-block-start: calc(100% + .6rem);
  inset-inline-end: 0;
  width: min(25rem, calc(100vw - 2rem));
  max-height: min(32rem, calc(100dvh - 6rem));
  padding: .75rem;
}
.language-panel ul { gap: .15rem .3rem; align-items: stretch; }
.language-panel li { min-width: 0; }
.language-panel a {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .35rem .4rem;
  font-size: .84rem;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
}

/* Extend the moving image softly to the edges of the screen. */
.cinema-film {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  mask-image: none;
  background: #080e19;
}
.cinema-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(48px) brightness(.72);
  transform: scale(1.15);
}
.cinema-reel, .cinema-final {
  inset: 50% auto auto 50%;
  width: min(100%, 177.77778dvh);
  height: auto;
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent),
    linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
  mask-composite: intersect;
}

/* Fade the galaxy into the same dark sky behind the signup and footer. */
body { background: #080f1c; }
.hero.orbit-hero { background-color: #080f1c; }
.hero.orbit-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: clamp(7rem, 20vh, 15rem);
  background: linear-gradient(transparent, #080f1c);
  pointer-events: none;
}
.beta-section.dark { background: #080f1c; }
.site-footer.dark { background: #080f1c; }

.corner-symbol {
  position: absolute;
  z-index: 1;
  inset-inline-end: clamp(1.25rem, 4vw, 4rem);
  bottom: clamp(1.25rem, 4vh, 3rem);
  width: clamp(2rem, 3.5vw, 3rem);
  height: auto;
  opacity: .82;
  filter: brightness(0) invert(.94) drop-shadow(0 0 .45rem #9ccff788);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .corner-symbol { animation: monogram-turn 24s linear infinite; }
}
.footer-action { justify-self: end; align-self: start; }
.footer-action a {
  display: inline-flex;
  gap: 1.2rem;
  align-items: center;
  padding-block: .55rem;
  color: #c5efff;
  text-decoration: none;
  border-bottom: 1px solid #5e849d;
}
.footer-action a:hover { color: #fff; border-color: #c5efff; }
@media (max-width: 44rem) {
  .footer-action { justify-self: start; }
}


.orbit-hero .show-center {
  width: min(100%, 86rem);
  padding-inline: 1rem;
  transform: translateY(-5svh);
}
@media (max-width: 48rem) {
  .orbit-hero .show-center { transform: translateY(-2.5svh); }
}
@media (max-width: 24rem) {
  .site-header .header-inner { gap: .55rem; }
  .show-nav { font-size: .78rem; white-space: nowrap; }
}
.orbit-hero .show-center h1 {
  max-width: 100%;
  font-size: clamp(2rem, 10.2vw, 8rem);
  font-weight: 300;
  letter-spacing: .13em;
  white-space: nowrap;
}
.beta-form input[type="email"] {
  min-height: 3.6rem;
  padding: .85rem 1.1rem;
  border: 1px solid #7199bc;
  border-radius: .9rem;
  background: #0c1b31;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.beta-form input[type="email"]:focus-visible {
  border-color: #bdefff;
  outline: 2px solid #a5e6ff;
  outline-offset: 2px;
  box-shadow: 0 0 1.2rem #58bce83b;
}
.beta-form .button-electric {
  min-height: 3.4rem;
  padding-inline: 1.5rem;
  border-radius: 999px;
  background: #c5f0fa;
  color: #102e4f;
}
.beta-form .button-electric:hover { background: #e1faff; }

.orbit-hero .hero-brand {
  display: block;
  position: relative;
  width: min(80vw, 58rem);
  min-height: 0;
  margin: 0;
  padding: 0;
}
.orbit-hero .show-center .hero-brand { padding: 0; }
.orbit-hero .hero-brand img {
  display: block;
  width: 100%;
  max-height: none;
}
.header-mark-sum {
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 3px #a9e8ff) drop-shadow(0 0 8px #71c5ff);
}
.world-line { max-width: 38rem; margin: .7rem auto 0; color: #d8eafb; font-size: clamp(1rem, 1.6vw, 1.3rem); line-height: 1.4; }
body { position: relative; }
.page-ripples { position: absolute; inset: 0; overflow: hidden; z-index: 8; pointer-events: none; }
.page-ripples i { position: absolute; width: 8px; height: 8px; transform: translate(-50%, -50%); border: 1px solid #d0efffbb; border-radius: 50%; box-shadow: 0 0 7px #87cbff55; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .page-ripples { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .header-mark[data-glint="3"] .header-mark-sum {
    animation: sum-illuminate 4.2s 2.3s ease-in-out both;
  }
  @keyframes sum-illuminate {
    0%, 100% { opacity: 0; }
    25%, 45% { opacity: 1; }
  }
  .hero-brand[data-glint] .header-mark-glint {
    animation-duration: 2.2s;
    stroke-width: 1.4;
    stroke-dasharray: .035 1.035;
  }
  .hero-brand[data-glint] .header-mark-star {
    animation: hero-star-breathe 1.8s 2.1s ease-in-out both;
  }
  .hero-brand[data-glint="3"] .header-mark-star {
    animation-duration: 4.5s;
  }
  .hero-brand[data-glint="3"] .header-mark-rings circle {
    animation: hero-galaxy-wave 4s 2.35s cubic-bezier(.15,.52,.25,1) both;
  }
  .hero-brand[data-glint="3"] .header-mark-rings circle + circle { animation-delay: 2.65s; }
  @keyframes hero-star-breathe {
    0% { opacity: 0; filter: drop-shadow(0 0 0 #8bd8ff); }
    24%, 42% { opacity: var(--flare-light); filter: drop-shadow(0 0 8px #aee9ff) drop-shadow(0 0 18px #72caff); }
    100% { opacity: 0; filter: drop-shadow(0 0 0 #8bd8ff); }
  }
  @keyframes hero-galaxy-wave {
    0% { opacity: 0; transform: scale(.65); }
    12% { opacity: .65; }
    100% { opacity: 0; transform: scale(20); }
  }
}

/* The language panel keeps the galaxy visible while preserving readable contrast. */
.language-panel { background: rgba(8, 20, 37, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.languages[open] summary { background: rgba(13, 28, 48, .72); }
.world-ai .hero.orbit-hero { background-image: url('./worlds/kling-ai-poster.jpg'); }
.world-com .hero.orbit-hero { background-image: url('./worlds/kling-com-poster.jpg'); }
.world-health .hero.orbit-hero { background-image: url('./worlds/kling-health-poster.jpg'); }
.world-net .hero.orbit-hero { background-image: url('./worlds/kling-net-poster.jpg'); }
.world-online .hero.orbit-hero { background-image: url('./worlds/kling-online-poster.jpg'); }

.world-directory { width:min(100% - 3rem, 74rem); margin:0 auto; padding:2.5rem 0 3rem; border-top:1px solid #b2ddf22e; }
.world-directory h2 { margin:0 0 1.2rem; font-size:1rem; color:#d6e7f4; font-weight:500; }
.world-directory ul { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(10rem,1fr)); gap:.8rem 1rem; }
.world-directory li { min-width:0; }
.world-directory a { color:#c4e6f4; text-underline-offset:.25em; font-size:.95rem; overflow-wrap:anywhere; }
.world-directory a:hover { color:white; }
.world-directory small { display:block; color:#b1c5d5; font-size:.75rem; margin-top:.15rem; }

/* World accents retain the original dark sky and keep language labels legible. */
:root { --world-accent: #a6e6ff; }
html.world-ai { --world-accent: #a6e6ff; }
html.world-com { --world-accent: #ffd1a7; }
html.world-io { --world-accent: #9bdcff; }
html.world-app { --world-accent: #a4f1e9; }
html.world-health { --world-accent: #b7efd4; }
html.world-net { --world-accent: #b9cbff; }
html.world-online { --world-accent: #a3eaf5; }
html.world-site { --world-accent: #e2dcff; }
html.world-space { --world-accent: #dbc5ff; }
html.world-live { --world-accent: #ffc0c7; }
html.world-tech { --world-accent: #c0c6ff; }
html.world-ink { --world-accent: #e6c8f9; }
.language-panel a:hover { background: color-mix(in srgb, var(--world-accent) 12%, #0b1b30); color: #fff; }
.language-panel a[aria-current="page"] { background: color-mix(in srgb, var(--world-accent) 20%, #0b1b30); border-color: color-mix(in srgb, var(--world-accent) 55%, #43536a); color: #f5fbff; }
.languages[open] summary { border-color: color-mix(in srgb, var(--world-accent) 55%, #43536a); }
.world-domain { color: var(--world-accent); margin: .2rem 0 .5rem; font-size: clamp(.85rem, 1.2vw, 1rem); letter-spacing: .08em; line-height: 1.2; }

/* Quiet opening: preserve the galaxy underneath and keep the domain in the header. */
.site-header .header-mark { gap:.22rem; }
.site-header .header-mark > img { min-width:0; flex:1 1 auto; width:calc(100% - 2.2rem); }
.site-header .header-mark-motion { width:calc(100% - 2.2rem); }
.header-domain { color:var(--world-accent,#c6f3ff); letter-spacing:.02em; font-size:clamp(.57rem,.8vw,.75rem); line-height:1; align-self:center; flex:none; }
.opening-film { position:absolute; left:50%; top:50%; width:125%; max-width:none; height:auto; aspect-ratio:16/9; transform:translate(-50%,-50%); object-fit:contain; mix-blend-mode:screen; opacity:0; pointer-events:none; transition:opacity .55s ease; }
.hero-brand.is-opening > img,.hero-brand.is-opening > svg { opacity:0; }
.hero-brand.is-opening .opening-film { opacity:1; }
@media(prefers-reduced-motion:reduce){.opening-film{display:none}}

.opening-film { z-index:1; top:43%; width:min(100vw, 72rem); -webkit-mask-image:radial-gradient(ellipse at center, #000 40%, transparent 76%); mask-image:radial-gradient(ellipse at center, #000 40%, transparent 76%); }
.orbit-hero:has(.hero-brand.is-opening) .opening-film { opacity:1; }

.hero-brand > img,.hero-brand > svg { transition: opacity .6s ease; }
.site-header .header-mark-star { fill: var(--world-accent,#f2fdff); }

/* Align the animated layer to the actual wordmark and keep the selected language transparent. */
.site-header .header-logo { position:relative; display:block; flex:1 1 auto; min-width:0; line-height:0; }
.site-header .header-logo > img { display:block; width:100%; height:auto; max-height:none; }
.site-header .header-logo > .header-mark-motion { position:absolute; inset:0; width:100%; height:100%; }
.language-panel a[aria-current="page"], .language-panel a[aria-current="page"]:hover { background:transparent; border-color:var(--world-accent, #a6e6ff); color:#f5fbff; }
.language-panel a:hover:not([aria-current="page"]) { background:transparent; border-color:color-mix(in srgb, var(--world-accent, #a6e6ff) 65%, transparent); color:#fff; }
.language-panel a:focus-visible { outline:2px solid #fff; outline-offset:-3px; }
