/* Omniverse - 数字宇宙 landing page
   Palette: deep space ink + cyan / indigo / amber accents (three accents, no single-hue drift) */

/*
   ---------- self-hosted webfonts (all OFL licensed) ----------
   Cinzel             : Roman inscription capitals - wordmark + display headings.
   Cormorant Garamond : Garamond revival for running text.
   LXGW WenKai        : 霞鹜文楷 kai/brush face for Chinese and Japanese, loaded from
                        assets/fonts/lxgw-wenkai/lxgw-wenkai.css (unicode-range slices). */
@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cinzel-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cinzel-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-cyrillic-400.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
*/
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-cyrillic-600.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-cyrillic-400-italic.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

*, *::before, *::after { box-sizing: border-box; }

:root {
  --ink: #04060d;
  --ink-2: #070a14;
  --ink-3: #0a0e1b;
  --line: rgba(150, 182, 226, 0.14);
  --line-strong: rgba(150, 182, 226, 0.26);
  --text: #e9eff8;
  --text-soft: #c3cee0;
  --muted: #8f9db6;
  --muted-dim: #6b7891;
  --cyan: #5fdcf0;
  --indigo: #9aa8ff;
  --amber: #ffb257;
  --radius: 8px;
  --shell: 1180px;
  --header-h: 72px;
  --font-display: Georgia, "Times New Roman", "Songti SC", "SimSun",
    "Yu Mincho", "YuMincho", "MS Mincho", serif;
  --font-serif: Georgia, "Palatino Linotype", "Book Antiqua", Palatino,
    "Times New Roman", Times, "Songti SC", "Noto Serif SC", "SimSun",
    "Yu Mincho", "YuMincho", "MS Mincho", serif;
  --font-mono: Consolas, "SFMono-Regular", Menlo, "Courier New", monospace;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.78;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

a { color: var(--text); text-decoration: none; }
a:hover { color: #fff; }

h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.2; letter-spacing: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 28px;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--neg { width: 14px; height: 14px; stroke-width: 2; color: var(--muted-dim); }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 10px 16px;
  background: #fff;
  color: #000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- backdrop ---------- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #03050b;
}
.backdrop__video,
.backdrop__canvas,
.backdrop__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.backdrop__video {
  object-fit: cover;
  object-position: center;
}
.backdrop__scrim {
  background:
    radial-gradient(112% 76% at 50% 36%, rgba(4, 6, 13, 0.10) 0%, rgba(4, 6, 13, 0.22) 58%, rgba(3, 4, 10, 0.42) 100%),
    linear-gradient(180deg, rgba(4, 6, 13, 0.22) 0%, rgba(4, 6, 13, 0.12) 40%, rgba(4, 6, 13, 0.32) 100%);
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  transition: background-color 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(4, 6, 13, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { display: block; width: 210px; height: auto; max-width: 60vw; }
.brand__mark { display: grid; place-items: center; width: 42px; height: 32px; }
.brand-vortex {
  width: 60px;
  height: auto;
  max-width: none;
  filter: drop-shadow(0 0 8px rgba(95, 220, 240, 0.18));
}
.brand__mark .mark { width: 60px; height: 60px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; padding-top:15px; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.15em;
}
.brand__sub { font-size: 0.7rem; color: var(--muted); }

.mark { overflow: visible; }

.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 0.9rem;
  color: var(--text-soft);
}
.nav a { position: relative; padding: 6px 0; color: inherit; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width 220ms ease;
}
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  /* The brand mark + wordmark optically center ~7px below the row's geometric
     middle (image overflows its box + text padding-top); mirror that offset so
     the language trigger lines up with the logo. */
  transform: translateY(7px);
}

/* ---------- language dropdown ---------- */
.lang { position: relative; display: inline-flex; align-items: center; }
.lang__trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px 7px 8px;
  margin: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  font-family: var(--font-serif);
  font-size: 0.86rem;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}
.lang__trigger:hover,
.lang.is-open .lang__trigger {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}
.lang__trigger-flag {
  width: 22px;
  height: 15px;
  flex: none;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.lang__trigger-name { white-space: nowrap; }
.lang__chevron {
  width: 14px;
  height: 14px;
  flex: none;
  opacity: 0.65;
  transition: transform 200ms ease;
}
.lang.is-open .lang__chevron { transform: rotate(180deg); }

.lang__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 70;
  min-width: 196px;
  max-height: min(70vh, 440px);
  overflow-y: auto;
  padding: 6px;
  background: rgba(8, 11, 21, 0.96);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: visibility 0s linear 180ms, opacity 180ms ease, transform 180ms ease;
}
.lang.is-open .lang__panel {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}
.lang__btn {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 8px 10px;
  margin: 0;
  background: none;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-soft);
  font-family: var(--font-serif);
  font-size: 0.9rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.lang__btn img {
  width: 22px;
  height: 15px;
  flex: none;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.lang__name { flex: 1; }
.lang__btn:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.lang__btn.is-active {
  color: #fff;
  background: rgba(95, 220, 240, 0.1);
  border-color: rgba(95, 220, 240, 0.28);
}
.lang__btn.is-active::after {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(95, 220, 240, 0.8);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}
.btn--sm { padding: 9px 15px; font-size: 0.84rem; }
.btn--primary { background: #f3f8ff; color: #05070f; }
.btn--primary:hover { background: #fff; color: #05070f; transform: translateY(-1px); }
.btn--primary .icon { stroke: #05070f; }
.btn--outline { border-color: var(--line-strong); color: var(--text); }
.btn--outline:hover { border-color: rgba(95, 220, 240, 0.6); color: #fff; background: rgba(95, 220, 240, 0.07); }
.hero__actions .btn--outline {
  border-color: #ffb257;
  background: linear-gradient(135deg, #ffc76f 0%, #ff9d54 55%, #ff7f4f 100%);
  color: #2b1600;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
  box-shadow:
    0 9px 26px rgba(255, 138, 73, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}
.hero__actions .btn--outline:hover {
  border-color: #ffd08a;
  background: linear-gradient(135deg, #ffd887 0%, #ffad60 55%, #ff8b57 100%);
  color: #2b1600;
  transform: translateY(-1px);
  box-shadow:
    0 13px 32px rgba(255, 140, 72, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn--ghost { border-color: var(--line); color: var(--text-soft); }
.btn--ghost:hover { border-color: rgba(95, 220, 240, 0.45); color: #fff; }

.menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.menu-btn span {
  position: absolute;
  left: 10px;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  transition: transform 200ms ease, opacity 200ms ease;
}
.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child { top: 21px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto;
  z-index: 55;
  background: rgba(4, 6, 13, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav nav { display: flex; flex-direction: column; padding: 10px 28px 22px; }
.mobile-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); color: var(--text-soft); }
.mobile-nav a:last-child { border-bottom: 0; color: #fff; }

/* ---------- layout bands ---------- */
main { position: relative; z-index: 1; }

.band {
  position: relative;
  padding: 110px 0;
  background: rgba(4, 6, 13, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.band--alt { background: rgba(8, 11, 21, 0.95); }
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(150, 182, 226, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 182, 226, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
}
.band > .shell { position: relative; }

.band--note { padding: 0; background: rgba(4, 6, 13, 0.82); }
.note-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.note-strip__label {
  flex: none;
  font-size: 0.72rem;
  color: var(--cyan);
  border: 1px solid rgba(95, 220, 240, 0.3);
  border-radius: var(--radius);
  padding: 4px 10px;
}
.note-strip p { font-size: 0.88rem; color: var(--muted); }

.section-head { max-width: 780px; }
.eyebrow {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 22ch; }
.section-head__lead { margin-top: 20px; color: var(--muted); font-size: 1rem; max-width: 64ch; }

.footnote {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted-dim);
  font-size: 0.86rem;
  max-width: 72ch;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 28px) 0 46px;
}
.hero__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(6, 9, 18, 0.55);
  color: var(--text-soft);
  font-size: 0.78rem;
}
.status-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 178, 87, 0.16);
}

.hero__mark { margin: 22px 0 14px; display: grid; place-items: center; width: 150px; height: 114px; }
.vortex-wrap {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  animation: vortex-breathe 5.6s ease-in-out infinite;
}
.vortex-mark {
  width: 150px;
  height: auto;
  max-width: none;
  filter: drop-shadow(0 0 24px rgba(95, 220, 240, 0.24));
  animation: vortex-spin 22s linear infinite;
}
.mark--hero { width: 96px; height: 96px; }
.mark__ring {
  transform-origin: 32px 32px;
  animation: mark-spin 24s linear infinite;
}
.mark__core { animation: mark-pulse 5.5s ease-in-out infinite; transform-origin: 32px 32px; }
.mark__rays { animation: mark-breathe 6.5s ease-in-out infinite; transform-origin: 32px 32px; }
.mark--footer .mark__ring, .mark--footer .mark__core, .mark--footer .mark__rays { animation: none; }

@keyframes mark-spin { to { transform: rotate(360deg); } }
@keyframes mark-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0.88; }
}
@keyframes vortex-spin { to { transform: rotate(360deg); } }
@keyframes vortex-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}
@keyframes mark-breathe {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.55; }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.8vw, 3.2rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: 0.055em;
  margin-top: 36px;
  padding-left: 0.055em; /* offsets the trailing letter-space so tracked caps stay centred */
  text-shadow: 0 8px 46px rgba(0, 0, 0, 0.6);
}
.hero__subtitle {
  margin-top: 12px;
  font-style: italic;
  font-size: clamp(1.02rem, 1.85vw, 1.38rem);
  letter-spacing: 0.012em;
  color: var(--text-soft);
}
.hero__slogan {
  margin-top: 18px;
  font-size: clamp(1.12rem, 2.3vw, 1.62rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-shadow:
    0 0px 1px rgba(0, 0, 0, 1),
    0 5px 0px rgba(0, 0, 0, 0.96),
    0 0 24px rgba(95, 220, 240, 0.34);
  filter: drop-shadow(0 6px 7px rgba(0, 0, 0, 0.94));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.hero__slogan .dot { color: var(--muted-dim); }
.tone-connect { color: var(--cyan); }
.tone-order { color: var(--indigo); }
.tone-evolve { color: var(--amber); }
.tone-cause { color: #fff; }

.hero__lead {
  width: 100%;
  margin-top: 20px;
  max-width: 820px;
  text-align: left;
  text-indent: 2em;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
  line-height: 1.8;
  letter-spacing: 0.006em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
}
.hero__lead--second { margin-top: 11px; }
.hero__lead-final {
  display: inline;
  margin-top: 0;
  font-weight: 600;
  color: #fff;
}

/* ---------- script-specific tracking ----------
   CJK wants generous tracking to read as classical letterpress; Arabic is a
   joining script where letter-spacing would break the glyph connections. */
:lang(zh) .hero__title, :lang(ja) .hero__title, :lang(ko) .hero__title {
  font-size: clamp(1.9rem, 4.8vw, 3.2rem);
  letter-spacing: 0.12em;
  padding-left: 0.12em;
}
:lang(zh) .hero__subtitle, :lang(ja) .hero__subtitle, :lang(ko) .hero__subtitle,
:lang(zh) .hero__slogan, :lang(ja) .hero__slogan, :lang(ko) .hero__slogan,
:lang(zh) .hero__lead, :lang(ja) .hero__lead, :lang(ko) .hero__lead {
  letter-spacing: 0.03em;
}
:lang(zh) .hero__subtitle, :lang(ja) .hero__subtitle, :lang(ko) .hero__subtitle {
  font-style: normal;
}
:lang(ar) .hero__title, :lang(ar) .hero__subtitle, :lang(ar) .hero__slogan,
:lang(ar) .hero__lead, :lang(ar) .hero__links {
  letter-spacing: normal;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 28px;
  font-size: 0.8rem;
  color: var(--muted);
}
.hero__tags li { display: inline-flex; align-items: center; gap: 10px; }
.hero__tags li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(95, 220, 240, 0.7);
}

.hero__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px 11px;
  margin-top: 15px;
  font-size: 0.9rem;
  color: var(--muted);
}
.hero__links-label { color: var(--muted-dim); }
.hero__links-sep { color: rgba(255, 255, 255, 0.18); }
.hero__links a {
  color: var(--text-soft);
  border-bottom: 1px solid rgba(150, 182, 226, 0.3);
  overflow-wrap: anywhere;
  max-width: 100%;
  transition: color 180ms ease, border-color 180ms ease;
}
.hero__links a:hover { color: #fff; border-bottom-color: var(--cyan); }

/* ---------- concept ---------- */
.definition {
  margin: 56px 0 0;
  padding: 4px 0 4px 26px;
  border-left: 2px solid rgba(95, 220, 240, 0.55);
  max-width: 60ch;
}
.definition p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.65;
  color: var(--text);
}

.layers-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 64px;
}
.layer-item { padding-top: 22px; border-top: 1px solid var(--line); }
.layer-item__no { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted-dim); }
.layer-item h3 { margin-top: 12px; font-size: 1.08rem; }
.layer-item p { margin-top: 10px; color: var(--muted); font-size: 0.94rem; }

.boundary { margin-top: 72px; }
.boundary__title { font-size: 0.88rem; color: var(--muted); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 14, 27, 0.6);
  color: var(--text-soft);
  font-size: 0.86rem;
}
.boundary__note { margin-top: 20px; color: var(--muted-dim); font-size: 0.9rem; max-width: 68ch; }

/* ---------- principles ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 52px;
}
.card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.028);
  transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease;
}
.card:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.045); transform: translateY(-2px); }
.card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}
.card__icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-top: 22px; font-size: 1.22rem; }
.card p { margin-top: 12px; color: var(--muted); font-size: 0.94rem; }
.card__list { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.card__list li { position: relative; padding-left: 16px; font-size: 0.86rem; color: var(--text-soft); }
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 1px;
  background: var(--muted-dim);
}

/* ---------- architecture stack ---------- */
.stack { margin-top: 52px; display: grid; gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stack__row {
  display: grid;
  grid-template-columns: minmax(200px, 250px) minmax(0, 1fr) minmax(180px, 240px);
  gap: 28px;
  align-items: start;
  padding: 26px 28px;
  background: rgba(7, 10, 19, 0.72);
  border-left: 2px solid rgba(150, 182, 226, 0.2);
}
.stack__row:nth-child(2) { border-left-color: rgba(154, 168, 255, 0.45); }
.stack__row:nth-child(3) { border-left-color: rgba(95, 220, 240, 0.45); }
.stack__row--core { background: rgba(12, 20, 34, 0.9); border-left-color: var(--cyan); }
.stack__row--core .stack__tag { color: #fff; }
.stack__head { display: flex; flex-direction: column; gap: 6px; }
.stack__tag { font-size: 1rem; font-weight: 600; color: var(--text); }
.stack__en { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted-dim); }
.stack__text { color: var(--muted); font-size: 0.92rem; }
.stack__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.stack__tags li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.76rem;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.02);
}

/* ---------- questions ---------- */
.questions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 52px;
}
.questions li { padding-top: 22px; border-top: 1px solid var(--line); }
.questions__no { font-family: var(--font-mono); font-size: 0.78rem; color: var(--cyan); }
.questions h3 { margin-top: 12px; font-size: 1.06rem; }
.questions p { margin-top: 10px; color: var(--muted); font-size: 0.92rem; }

.topics { margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--line); }
.topics__label { font-size: 0.8rem; color: var(--muted-dim); }
.topics__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px 32px;
  margin-top: 20px;
}
.topics__list li { position: relative; padding-left: 16px; font-size: 0.88rem; color: var(--text-soft); }
.topics__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 1px;
  background: rgba(95, 220, 240, 0.6);
}

/* ---------- roadmap ---------- */
.timeline { margin-top: 52px; border-left: 1px solid var(--line-strong); }
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  padding: 0 0 34px 30px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -4.5px;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  border: 1.5px solid var(--cyan);
}
.timeline__phase { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted-dim); padding-top: 0.35em; }
.timeline h3 { font-size: 1.1rem; }
.timeline p { margin-top: 8px; color: var(--muted); font-size: 0.93rem; max-width: 66ch; }

/* ---------- join ---------- */
.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 52px; }
.panel {
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.028);
}
.panel h3 { font-size: 1.18rem; }
.panel ul { margin-top: 20px; display: grid; gap: 10px; }
.panel li { position: relative; padding-left: 18px; font-size: 0.92rem; color: var(--text-soft); }
.panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 1px;
  background: var(--cyan);
}
.panel p { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
.join__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 56px 0 44px;
  background: rgba(3, 4, 10, 0.96);
  border-top: 1px solid var(--line);
}
.site-footer__inner { display: grid; gap: 22px; }
.site-footer__brand { display: flex; align-items: center; gap: 16px; }
.mark--footer { width: 40px; height: 40px; }
.site-footer__name { font-size: 0.94rem; font-weight: 600; }
.site-footer__sub { font-size: 0.82rem; color: var(--muted); }
.site-footer__note { font-size: 0.84rem; color: var(--muted-dim); max-width: 68ch; }
.site-footer__legal { font-size: 0.8rem; color: var(--muted-dim); }

/* ---------- reveal ---------- */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 720ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 720ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.js-enabled .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .stack__row { grid-template-columns: minmax(170px, 210px) minmax(0, 1fr) minmax(150px, 200px); gap: 20px; padding: 24px 22px; }
}

@media (max-width: 940px) {
  .nav { display: none; }
  /* The hamburger has no target panel after the nav was removed; keep it hidden. */
  .menu-btn { display: none; }
  .header-actions { margin-left: auto; }
  .lang__panel { right: 0; min-width: 188px; }
  .layers-list, .questions, .cards { grid-template-columns: 1fr; gap: 26px; }
  .panels { grid-template-columns: 1fr; }
  .stack__row { grid-template-columns: 1fr; gap: 14px; }
  .stack__tags { justify-content: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .shell { padding: 0 20px; }
  .band { padding: 76px 0; }
  .hero { padding: calc(var(--header-h) + 22px) 0 36px; }
  .mark--hero { width: 74px; height: 74px; }
  .hero__mark { margin: 16px 0 10px; width: 116px; height: 88px; }
  .vortex-mark { width: 116px; }
  .hero__subtitle { margin-top: 5px; }
  .hero__slogan { margin-top: 14px; }
  .hero__lead { margin-top: 15px; font-size: 1.04rem; line-height: 1.78; }
  .hero__lead--second { margin-top: 9px; }
  .hero__slogan { gap: 8px; font-size: 1.16rem; }
  .hero__actions { margin-top: 20px; }
  .hero__actions .btn { width: 100%; }
  .hero__links { margin-top: 11px; font-size: 0.86rem; }
  .lang__trigger { gap: 7px; padding: 7px 9px 7px 7px; font-size: 0.82rem; }
  .lang__panel { min-width: 180px; }
  .note-strip { flex-direction: column; align-items: flex-start; gap: 10px; }
  .definition { padding-left: 18px; margin-top: 42px; }
  .timeline li { grid-template-columns: 1fr; gap: 8px; padding-left: 22px; }
  .timeline__phase { padding-top: 0; }
  .btn { padding: 12px 18px; }
  .card, .panel { padding: 24px 20px; }
}

@media (max-width: 430px) {
  /* Keep the header row clear of the wordmark on narrow phones: flag + chevron only. */
  .site-header__inner { gap: 14px; }
  .brand-logo { width: 166px; }
  .brand__mark { width: 34px; height: 28px; }
  .brand-vortex { width: 44px; }
  .brand__text { padding-top: 12px; }
  .brand__name { font-size: 1.05rem; letter-spacing: 0.13em; }
  /* Compact mark sits a few px higher, so retune the trigger offset to match. */
  .header-actions { transform: translateY(3px); }
  .lang__trigger-name { display: none; }
  .lang__trigger { gap: 6px; padding: 7px 9px; }
  .lang__panel { right: 0; min-width: 176px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js-enabled .reveal { opacity: 1; transform: none; }
}

@media (prefers-contrast: more) {
  .band { background: #05070f; }
  .band--alt { background: #080b15; }
  .card, .panel, .stack__row { background: #0a0e1b; }
}
