/*
============================================================
  SEC Website — Deep Space Lab Design System
  styles.css  (Task 4: Design System CSS)
  Class name vocabulary (blueprint-based):
  nav / .logo / .nav-link / .join-btn / .nav.scrolled（滚动后玻璃加深态）
  hero / .hero-inner / .hero-l / .hero-r /
  .eyebrow / .dial / .chip / .btn.b1 / .btn.b2
  tiles / .tile / .k
  logrow / .lcard / .limg / .lbody / .n
  mani / .pillrow / .pill
  cal / .mcal / .mhead / .dow / .week / .daydetail / .views（日历视图切换过渡容器）
  .ttag / .t1（MEETING标签）/ .t2（FIELD TRIP标签）/ .t3（SPECIAL标签）
  listview / .row / .dt / .loc
  joinwrap / .form / .f / .send / .joinaside
  copy / .mono
  foot / .tech / .hide / .stars-a / .stars-b / .dial-nodes / .dial-node (SVG圆点) / .pulse (脉冲动画)
  .brand / .brand-logo / .brand-name（品牌：LOGO+标题）
  .mobile-cta（移动端固定底部CTA，<768px显示）/ [data-seq]（入场编排元素，配--d延迟）/ [data-reveal] / .is-in
============================================================
*/

/* ──────────────────────────────────────────────────────────
   §1  DESIGN TOKENS
   Core 6 + 3 state colors; no other literal hex/rgb allowed.
   Font stacks only — @font-face deferred to task 9.
└────────────────────────────────────────────────────────── */
:root {
  /* Core palette */
  --void:  #071129;
  --navy:  #0B1F3A;
  --hull:  #122A52;
  --ion:   #00D4FF;
  --star:  #F4F7FC;
  --mist:  #8FA3C2;

  /* State colors (semantic use only) */
  --amber: #FFB454;
  --mint:  #7EE0A3;
  --error: #FF8A8A;

  /* Glass tokens */
  --g-blur-1: 14px;
  --g-sat-1:  150%;
  --g-bg-1:   rgba(11,31,58,.55);
  --g-border-1: rgba(244,247,252,.08);

  --g-blur-2: 20px;
  --g-sat-2:  160%;
  --g-bg-2:   rgba(11,31,58,.62);
  --g-border-2: rgba(244,247,252,.1);

  --g-blur-3: 10px;
  --g-bg-3:   rgba(11,31,58,.5);
  --g-border-3: rgba(244,247,252,.08);

  /* Motion */
  --ease-out: cubic-bezier(.2,.7,.2,1);
  --dur-fast: .2s;
  --dur-mid:  .7s;
  --dur-slow: 1s;

  /* Layout */
  --max-w: 1200px;
  --nav-h: 56px;
}

/* ──────────────────────────────────────────────────────────
   §2  RESET + BASE
└────────────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: radial-gradient(1200px 800px at 70% -10%, #122A52 0%, #0B1F3A 45%, #071129 100%) fixed;
  color: var(--star);
  font-family: 'IBM Plex Sans', -apple-system, 'PingFang SC', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--mist); text-decoration: none; transition: color var(--dur-fast) ease; }
a:hover, a:focus-visible { color: var(--ion); }

button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--ion);
  outline-offset: 2px;
}

::selection { background: rgba(0,212,255,.2); color: var(--star); }

/* ──────────────────────────────────────────────────────────
   §3  GLASS SYSTEM — 三级玻璃 (exact values from brief)
   ⚠ 同屏模糊层数控制 ≤5；叠加区块已用注释标注当前层数。
└────────────────────────────────────────────────────────── */
.glass-1 {
  background: rgba(11,31,58,.55);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(244,247,252,.08);
  border-bottom-color: rgba(244,247,252,.04);
}
.glass-2 {
  background: rgba(11,31,58,.62);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(244,247,252,.1);
  border-radius: 14px;
}
.glass-3 {
  background: rgba(11,31,58,.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(244,247,252,.08);
}

/* 降级：不支持 backdrop-filter 时全opaque navy */
@supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
  .glass-1, .glass-2, .glass-3 {
    background: rgba(11,31,58,.88);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* ──────────────────────────────────────────────────────────
   §4  ANIMATION KEYFRAMES
   Only transform / opacity — GPU-composited.
└────────────────────────────────────────────────────────── */
/* 入场：元素从下方 26px 滑入 + 淡入 */
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 轨道环 SVG 描线动画 */
@keyframes draw {
  from { stroke-dashoffset: 100; }
  to   { stroke-dashoffset: 0; }
}

/* ion 色呼吸脉冲 (1.8s) */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .45; }
}

/* 闪烁（倒计时等） */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* 星空视差漂移（双层） */
@keyframes drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ──────────────────────────────────────────────────────────
   §5  STARFIELD (environment layers)
   Two parallax layers; all transform/opacity.
└────────────────────────────────────────────────────────── */
.starfield {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  overflow: hidden;
}
.stars-a, .stars-b {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(244,247,252,.5) 50%, transparent 50%),
    radial-gradient(1px 1px at 30% 60%, rgba(244,247,252,.4) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 50% 10%, rgba(0,212,255,.4) 50%, transparent 50%),
    radial-gradient(1px 1px at 70% 80%, rgba(244,247,252,.35) 50%, transparent 50%),
    radial-gradient(1px 1px at 90% 40%, rgba(244,247,252,.5) 50%, transparent 50%);
  background-size: 200% 100%;
}
.stars-a { animation: drift 60s linear infinite; }
.stars-b { animation: drift 90s linear infinite; animation-delay: -30s; }

/* ──────────────────────────────────────────────────────────
   §6  SCROLL REVEAL ([data-reveal] + .is-in)
└────────────────────────────────────────────────────────── */
html.js.reveal-armed [data-seq] {
  animation: rise var(--dur-mid) var(--ease-out) both;
  animation-delay: var(--d, 0s);
}
/* 隐藏态由 html.js.reveal-armed 门控：能播放动效时内容先隐藏再显现；否则内容默认可见。 */
html.js.reveal-armed [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-mid) var(--ease-out),
              transform var(--dur-mid) var(--ease-out);
}
html.js.reveal-armed.is-in [data-reveal],
html.js.reveal-armed [data-reveal].is-in {
  opacity: 1;
  /* 与滚动编排复合：--scroll-offset 由 --p 推导；未设置时退化为 0（中性） */
  transform: translateY(0) translate3d(0, var(--scroll-offset, 0px), 0);
}

/* ──────────────────────────────────────────────────────────
   §7  NAV  (glass-1, sticky)
   当前模糊层: 1
└────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 24px;
  height: var(--nav-h);
  background: rgba(11,31,58,.55);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid rgba(244,247,252,.08);
}
.nav.scrolled {
  background: rgba(11,31,58,.82);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
}
.logo {
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--star);
  display: flex; align-items: center; gap: 7px;
  font-size: 13px;
}
.logo i { font-style: normal; color: var(--ion); }
.nav-link {
  color: var(--mist);
  font-size: 12.5px;
  letter-spacing: .04em;
}
.join-btn {
  margin-left: auto;
  background: var(--ion);
  color: var(--void);
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 7px;
  font-size: 11.5px;
  letter-spacing: .04em;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.join-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(0,212,255,.35);
}

/* ──────────────────────────────────────────────────────────
   §8  HERO
└────────────────────────────────────────────────────────── */
.hero {
  display: flex; gap: 24px; align-items: center;
  padding: 40px 24px 48px;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative; z-index: 1;
  min-height: calc(100vh - var(--nav-h));
}
.hero-inner { flex: 1; max-width: 600px; }
.hero-l { flex: 1; }
.hero-r { flex-shrink: 0; width: 190px; }

.eyebrow {
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--ion);
  font-weight: 600;
  margin-bottom: 12px;
  font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}
.hero h1 {
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.hero h1 em {
  font-style: normal;
  color: var(--ion);
}
.hero .sub {
  color: var(--mist);
  font-size: 14px;
  margin: 12px 0 18px;
  max-width: 460px;
}
.chips {
  display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap;
}
.chip {
  font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  font-size: 10.5px;
  border: 1px solid rgba(0,212,255,.4);
  color: rgba(159,232,255,.95);
  padding: 4px 10px;
  border-radius: 99px;
  letter-spacing: .08em;
}
.chip.hot { background: rgba(0,212,255,.12); }

.btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12.5px;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.btn:hover, .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(0,212,255,.35);
}
.btn.b1 { background: var(--ion); color: var(--void); }
.btn.b2 {
  background: transparent;
  border: 1px solid rgba(0,212,255,.45);
  color: rgba(159,232,255,.95);
}

/* 轨道日程盘 */
.dial {
  width: 190px; height: 190px;
  flex-shrink: 0;
  position: relative;
}
.dial svg { width: 100%; height: 100%; }
.dial-nodes {
  transform-origin: 95px 95px;
  animation: spin 120s linear infinite;
}
.dial-node { fill: var(--ion); }
.pulse { animation: pulse 1.8s ease-in-out infinite; }
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
/* （v2.1.3 起：盘心倒计时已删除——它与 hero chip 的 NEXT SESSION 信息重复且遮挡节点，
   倒计时改由 #countdown 显示在 chip 内） */

/* ──────────────────────────────────────────────────────────
   §9  MANIFESTO
└────────────────────────────────────────────────────────── */
.mani {
  padding: 48px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative; z-index: 1;
}
.mani h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 600;
  color: var(--star);
  max-width: 680px;
  line-height: 1.25;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.tile {
  border: 1px solid rgba(29,58,99,.9);
  border-radius: 10px;
  padding: 14px 16px;
  background: rgba(18,42,82,.5);
  transition: transform var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.tile:hover {
  transform: translateY(-2px);
  border-color: rgba(0,212,255,.3);
}
.tile .k {
  font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--ion);
  margin-bottom: 6px;
}
.tile p {
  font-size: 13px;
  color: var(--mist);
  line-height: 1.55;
}

/* ──────────────────────────────────────────────────────────
   §10 FIELD LOG
└────────────────────────────────────────────────────────── */
.log-section {
  padding: 0 24px 48px;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative; z-index: 1;
}
.log-section h2 {
  font-size: 11px;
  letter-spacing: .28em;
  color: var(--ion);
  font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.logrow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.lcard {
  border: 1px solid rgba(29,58,99,.9);
  border-radius: 10px;
  overflow: hidden;
  background: var(--navy);
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.lcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.lcard.empty { opacity: .7; }
.limg {
  height: auto;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--hull), var(--navy));
  display: flex; align-items: center; justify-content: center;
  color: rgba(46,74,117,.9);
  font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .2em;
  position: relative;
  overflow: hidden;
}
/* CSS 程序化插画占位：conic + 径向星点 */
.limg::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    rgba(0,212,255,.03) 10deg,
    transparent 20deg
  );
}
.limg::after {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ion);
  opacity: .25;
  top: 30%; left: 60%;
  box-shadow:
    20px -10px 0 rgba(244,247,252,.15),
    -15px 20px 0 rgba(244,247,252,.1),
    30px 25px 0 rgba(0,212,255,.12);
}
.lcard.empty .limg {
  border-style: dashed;
  background: transparent;
  color: rgba(46,74,117,.9);
}
.lbody {
  padding: 12px 14px;
  position: relative;
  background: rgba(11,31,58,.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(244,247,252,.08);
}
.lbody .n {
  font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  font-size: 9.5px;
  color: var(--ion);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.lbody h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--star);
  margin: 4px 0 3px;
}
.lbody p {
  font-size: 12px;
  color: var(--mist);
  line-height: 1.5;
}

/* ──────────────────────────────────────────────────────────
   §11 SCHEDULE
└────────────────────────────────────────────────────────── */
.schedule {
  padding: 0 24px 48px;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative; z-index: 1;
}
.schedule h2 {
  font-size: 11px;
  letter-spacing: .28em;
  color: var(--ion);
  font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.pillrow {
  display: flex; gap: 8px; margin-bottom: 14px; align-items: center;
}
.pill {
  font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: .14em;
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid rgba(29,58,99,.9);
  color: var(--mist);
  cursor: pointer;
  background: transparent;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease,
              border-color var(--dur-fast) ease;
}
.pill:hover { border-color: var(--ion); color: var(--star); }
.pill.on {
  background: var(--ion);
  color: var(--void);
  font-weight: 700;
  border-color: var(--ion);
}
.calgrid {
  display: flex; gap: 14px;
}
.mcal {
  flex: 1.4;
  background: var(--navy);
  border: 1px solid rgba(29,58,99,.9);
  border-radius: 10px;
  padding: 14px;
}
.mhead {
  display: flex; justify-content: space-between;
  font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  font-size: 11px;
  color: rgba(159,232,255,.95);
  letter-spacing: .14em;
  margin-bottom: 10px;
}
.dow, .week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}
.dow span {
  font-size: 9px;
  color: rgba(81,101,138,.9);
  font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}
.week span {
  font-size: 12px;
  color: rgba(201,214,236,.95);
  padding: 6px 0;
  border-radius: 6px;
  position: relative;
  cursor: default;
  transition: background var(--dur-fast) ease;
}
.week span:hover { background: rgba(0,212,255,.08); }
.week span.ev::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--ion);
}
.week span.today {
  border: 1px solid var(--ion);
  color: var(--ion);
  font-weight: 700;
}
.week span.dim { color: rgba(58,76,110,.85); }

.daydetail {
  flex: 1;
  border: 1px solid rgba(29,58,99,.9);
  border-radius: 10px;
  background: var(--navy);
  padding: 16px;
  font-size: 12px;
  color: var(--star);
  min-height: 140px;
}
.daydetail .d {
  font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  font-size: 10.5px;
  color: var(--ion);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.daydetail h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--star);
  margin: 6px 0 4px;
}
.daydetail p {
  color: var(--mist);
  font-size: 12px;
  line-height: 1.5;
}
.ttag {
  display: inline-block;
  font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  font-size: 9.5px;
  letter-spacing: .14em;
  padding: 3px 9px;
  border-radius: 99px;
  margin-top: 10px;
}
.ttag.t1 { background: rgba(0,212,255,.14); color: rgba(127,220,239,.95); }
.ttag.t2 { background: rgba(255,180,84,.14); color: rgba(255,201,126,.95); }
.ttag.t3 { background: rgba(126,224,163,.14); color: rgba(143,230,171,.95); }

/* List view */
.listview { display: flex; flex-direction: column; gap: 0; }
.listview.hide, .calgrid.hide { display: none; }
/* Utility: standalone hide class */
.hide { display: none; }
.listview .row {
  display: flex; gap: 12px; align-items: baseline;
  border-bottom: 1px solid rgba(22,48,79,.9);
  padding: 11px 4px;
  font-size: 12.5px;
  transition: background var(--dur-fast) ease;
}
.listview .row:hover { background: rgba(0,212,255,.04); }
.listview .dt {
  font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  font-size: 10.5px;
  color: var(--ion);
  letter-spacing: .1em;
  min-width: 90px;
}
.listview .t { color: var(--star); font-weight: 600; flex: 1; }
.listview .loc {
  color: rgba(143,163,194,.7);
  font-size: 11px;
  margin-left: auto;
  font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}

/* Views transition */
.views { transition: opacity .25s ease; }

/* ──────────────────────────────────────────────────────────
   §12 JOIN
└────────────────────────────────────────────────────────── */
.join {
  padding: 0 24px 48px;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative; z-index: 1;
}
.join h2 {
  font-size: 11px;
  letter-spacing: .28em;
  color: var(--ion);
  font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.joinwrap {
  display: flex; gap: 16px; align-items: flex-start;
}
.form {
  flex: 1.3;
  display: grid;
  gap: 10px;
}
.f { display: flex; flex-direction: column; gap: 4px; }
.f label {
  font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  font-size: 9.5px;
  letter-spacing: .18em;
  color: var(--mist);
  text-transform: uppercase;
}
.f input, .f textarea {
  width: 100%;
  background: var(--navy);
  border: 1px solid rgba(29,58,99,.9);
  border-radius: 7px;
  color: var(--star);
  font-size: 13px;
  padding: 9px 12px;
  transition: border-color var(--dur-fast) ease,
              box-shadow var(--dur-fast) ease;
}
.f input:focus, .f textarea:focus {
  outline: none;
  border-color: var(--ion);
  box-shadow: 0 0 0 3px rgba(0,212,255,.15);
}
.f input.error, .f textarea.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(255,138,138,.15);
}
.f textarea { height: 80px; resize: vertical; }
.f .err-msg {
  font-size: 11px;
  color: var(--error);
  min-height: 16px;
}
.send {
  background: var(--ion);
  color: var(--void);
  font-weight: 700;
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 13px;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  margin-top: 2px;
}
.send:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(0,212,255,.35);
}

.joinaside {
  flex: 1;
  border: 1px dashed rgba(0,212,255,.4);
  border-radius: 10px;
  padding: 16px;
  font-size: 12px;
  color: rgba(201,214,236,.95);
}
.joinaside .m {
  font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  font-size: 11px;
  color: var(--ion);
  word-break: break-all;
  line-height: 1.7;
  margin-bottom: 10px;
}
.copy {
  display: inline-block;
  border: 1px solid rgba(29,58,99,.9);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  font-size: 10px;
  color: rgba(159,232,255,.95);
  margin-top: 6px;
  cursor: pointer;
  background: transparent;
  transition: border-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.copy:hover { border-color: var(--ion); color: var(--ion); }
.joinaside p { margin-top: 12px; color: var(--mist); font-size: 11.5px; }
.joinaside p b { color: var(--star); }

/* ──────────────────────────────────────────────────────────
   §13 FOOTER
└────────────────────────────────────────────────────────── */
.foot {
  display: flex; gap: 16px; align-items: center;
  padding: 18px 24px;
  font-size: 11px;
  color: rgba(81,101,138,.9);
  flex-wrap: wrap;
  border-top: 1px solid rgba(29,58,99,.9);
  position: relative; z-index: 1;
}
.foot b { color: var(--mist); font-weight: 600; }
.foot .accent { color: var(--ion); font-style: normal; }

/* ──────────────────────────────────────────────────────────
   §14 STICKY MOBILE CTA (<768px)
└────────────────────────────────────────────────────────── */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  padding: 10px 16px;
  /* glass-1: 同屏模糊层 +1 */
  background: rgba(11,31,58,.55);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border-top: 1px solid rgba(244,247,252,.08);
}
.mobile-cta .join-btn {
  width: 100%;
  text-align: center;
  padding: 12px;
  font-size: 13px;
}

/* ──────────────────────────────────────────────────────────
   §15b DESKTOP EXPANSION (≥1200px) — F2 + F3
└────────────────────────────────────────────────────────── */
@media (min-width: 1200px) {
  .hero { min-height: 85vh; padding: 0 24px; }
  .hero-r { width: 320px; }
  .dial { width: 320px; height: 320px; }
  .logrow { grid-template-columns: repeat(4, 1fr); }
}

/* ──────────────────────────────────────────────────────────
   §15 RESPONSIVE
└────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding: 32px 20px 40px; }
  .hero-inner { max-width: 100%; }
  .chips { justify-content: center; }
  .btns { justify-content: center; }
  .dial { margin: 0 auto; }
  .tiles, .logrow { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 50px; }
  .nav { padding: 10px 16px; gap: 10px; }
  .nav-link { display: none; }
  .hero { min-height: auto; padding: 24px 16px 32px; }
  .hero-r { width: 150px; height: 150px; }
  .dial { width: 150px; height: 150px; }
  .mani { padding: 32px 16px; }
  .log-section, .schedule, .join { padding-left: 16px; padding-right: 16px; }
  .tiles, .logrow { grid-template-columns: 1fr; }
  .calgrid, .joinwrap { flex-direction: column; }
  .daydetail { min-height: auto; }
  .mobile-cta { display: block; }
  body { padding-bottom: 60px; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 24px; }
  .eyebrow { font-size: 9px; letter-spacing: .2em; }
  .btn { padding: 9px 14px; font-size: 12px; }
}

/* ──────────────────────────────────────────────────────────
   §16 REDUCED MOTION
   Full coverage — all animations/transitions disabled.
└────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html.js.reveal-armed [data-reveal] {
    opacity: 1;
    transform: none;
  }
  html { scroll-behavior: auto; }
  .stars-a, .stars-b { animation: none; }
  .dial-nodes { animation: none; }
}

/* ──────────────────────────────────────────────────────────
   §17 UTILITY / VARIOUS
└────────────────────────────────────────────────────────── */
.cal {
  padding: 16px;
}
.mono {
  font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}
.tech {
  border: 1px solid rgba(29,58,99,.9);
  border-radius: 12px;
  background: rgba(11,31,58,.35);
  padding: 16px;
  font-size: 12px;
  color: var(--star);
}
.tech td {
  padding: 4px 10px 4px 0;
  vertical-align: top;
  font-size: 12px;
}
.tech td:first-child {
  color: var(--ion);
  font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  font-size: 10.5px;
  letter-spacing: .1em;
  white-space: nowrap;
}

/* ──────────────────────────────────────────────────────────
   §17  3D LAYER (v2) — 纯 CSS 布景层（零 JS 依赖）
   铁律：本区块任何规则都不得让内容默认不可见。
└────────────────────────────────────────────────────────── */
:root {
  --persp: 1200px;
  --depth-far: translate3d(0, 0, -140px);
  --depth-mid: translate3d(0, 0, -70px);
}

.scene3d {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  perspective: var(--persp);
  transform-style: preserve-3d;
  z-index: 0;
}
.hero { position: relative; }
.hero-inner, .hero-l, .hero-r, .dial { position: relative; z-index: 1; }

/* 星域视差：三层不同速度 */
.stars-3d { position: absolute; inset: -12%; will-change: transform; }
.stars-3d.far {
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(244,247,252,.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 70% 60%, rgba(244,247,252,.35) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 45% 85%, rgba(0,212,255,.35) 50%, transparent 51%);
  transform: var(--depth-far);
  animation: drift3d 120s linear infinite;
}
.stars-3d.mid {
  background-image:
    radial-gradient(1.5px 1.5px at 30% 70%, rgba(244,247,252,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 80% 25%, rgba(0,212,255,.4) 50%, transparent 51%);
  transform: var(--depth-mid);
  animation: drift3d 90s linear infinite reverse;
}
.stars-3d.near {
  background-image:
    radial-gradient(2px 2px at 60% 40%, rgba(244,247,252,.65) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 15% 80%, rgba(0,212,255,.5) 50%, transparent 51%);
  animation: drift3d 60s linear infinite;
}
@keyframes drift3d {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-40px, 20px, 0); }
}

/* CSS 3D 原子：三条椭圆轨道分布在不同三维角 + 发光核心 */
.atom3d {
  position: absolute;
  right: 7%;
  top: 50%;
  width: 320px;
  height: 320px;
  margin-top: -160px;
  transform-style: preserve-3d;
  animation: spin3d 90s linear infinite;
}
.atom3d i {
  position: absolute;
  inset: 14%;
  display: block;
  border: 1px solid rgba(0,212,255,.5);
  border-radius: 50%;
}
.atom3d i:nth-child(1) { transform: rotate3d(1, 0.2, 0, 68deg); }
.atom3d i:nth-child(2) { transform: rotate3d(0.2, 1, 0.4, 68deg); }
.atom3d i:nth-child(3) { transform: rotate3d(0.6, 0.3, 1, 62deg); }
.atom3d::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: var(--ion);
  box-shadow: 0 0 26px 7px rgba(0,212,255,.5);
}
@keyframes spin3d {
  from { transform: rotate3d(0.3, 1, 0.1, 0deg); }
  to   { transform: rotate3d(0.3, 1, 0.1, 360deg); }
}

/* CSS 3D 六边形锚点 */
.hex3d {
  position: absolute;
  left: 6%;
  bottom: 14%;
  width: 120px;
  height: 138px;
  background: linear-gradient(160deg, rgba(0,212,255,.16), rgba(0,212,255,.02));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  box-shadow: inset 0 0 0 1px rgba(0,212,255,.45);
  animation: flip3d 26s ease-in-out infinite;
}
@keyframes flip3d {
  0%, 100% { transform: rotate3d(0, 1, 0, 0deg); }
  50%      { transform: rotate3d(0, 1, 0, 36deg); }
}

/* 卡片 3D 倾斜（悬停微交互） */
.card-3d { transform: perspective(900px) rotateX(2deg); transition: transform .35s ease; }
.card-3d:hover { transform: perspective(900px) rotateX(0deg) rotateY(-3deg) translateY(-3px); }

/* 滚动编排钩子：由 --p 推导位移量，交给"显现态"规则复合（未设置时退化为 0，中性） */
[data-scroll] { --scroll-offset: calc((1 - var(--p, 1)) * 24px); }

/* 移动端降幅 */
@media (max-width: 768px) {
  .atom3d { width: 200px; height: 200px; margin-top: -100px; right: 2%; }
  .hex3d { animation: none; width: 84px; height: 96px; }
  .stars-3d.near { display: none; }
  [data-scroll] { --scroll-offset: 0px; }
}

/* 减弱动效：关闭全部 3D 运动，保留静态构图 */
@media (prefers-reduced-motion: reduce) {
  .stars-3d, .atom3d, .hex3d { animation: none !important; }
  .card-3d, .card-3d:hover { transform: none; }
  [data-scroll] { --scroll-offset: 0px; }
}

/* ──────────────────────────────────────────────────────────
   §18  HERO FOCAL DISCIPLINE (v2-a refinement)
   原则：hero 只保留一个"焦点图形" = .dial（功能型，带倒计时）。
   .atom3d 退为大型、低透明度的环境背景，提供纵深而不抢戏。
└────────────────────────────────────────────────────────── */
.atom3d {
  width: 560px;
  height: 560px;
  margin-top: -280px;
  right: -2%;
  top: 50%;
  opacity: .3;
}
.atom3d i { border-color: rgba(0, 212, 255, .35); }
.hex3d { opacity: .8; }

@media (max-width: 768px) {
  .atom3d { width: 320px; height: 320px; margin-top: -160px; right: -10%; opacity: .22; }
  .hex3d { opacity: .6; }
}

@media (prefers-reduced-motion: reduce) {
  .atom3d { opacity: .26; }
}

/* ──────────────────────────────────────────────────────────
   §19  v2-b 交互层：光标光晕 + 水平画廊容器裁剪
└────────────────────────────────────────────────────────── */
.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: .35;
  background: radial-gradient(circle at center, rgba(0, 212, 255, .16), rgba(0, 212, 255, 0) 62%);
  mix-blend-mode: screen;
}
.log-section { overflow: hidden; }

@media (max-width: 1024px) {
  .log-section { overflow: visible; }
  .cursor-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-glow { display: none; }
}

/* ──────────────────────────────────────────────────────────
   §20  v2-c WebGL 画布层（可选增强；不支持/加载失败即静默跳过）
└────────────────────────────────────────────────────────── */
.gl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}

/* ──────────────────────────────────────────────────────────
   §21  v2.1 MOTION PASS + 桌面构图纪律
   规则：只动 transform / opacity；入场按 60ms 递增错开；
        hover 动效由 (hover:hover) and (pointer:fine) 门控；
        入场动画只动 transform，绝不以 opacity:0 起始（动画被暂停时内容仍可见）。
└────────────────────────────────────────────────────────── */
:root {
  /* 强曲线：内置 ease-out 对 UI 太弱，用业界标准曲线 */
  --ease-out-strong: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out-strong: cubic-bezier(0.77, 0, 0.175, 1);
  --dur-press: 140ms;
  --dur-ui: 200ms;
  --dur-enter: 340ms;
  --stagger: 60ms;
}

/* ── v2.1.1：原子改为"掠过式"背景，避免与轨道盘同心重叠 ── */
@media (min-width: 1200px) {
  .atom3d {
    width: 900px;
    height: 900px;
    margin-top: -450px;
    right: -22%;
    top: 6%;
    opacity: .22;
  }
  .dial { width: 380px; height: 380px; }
}
@media (max-width: 1199px) and (min-width: 769px) {
  .atom3d { width: 420px; height: 420px; margin-top: -210px; right: -12%; opacity: .24; }
}

/* ── 滚动提示（向下箭头；循环动共用 ease-in-out，属"有更多内容"的空间指引）── */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 22px;
  height: 34px;
  margin-left: -11px;
  border: 1px solid rgba(244, 247, 252, .26);
  border-radius: 12px;
  pointer-events: none;
}
.scroll-cue i {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--ion);
  animation: cueDrop 1900ms var(--ease-in-out-strong) infinite;
}
@keyframes cueDrop {
  0%   { transform: translateY(0);    opacity: 0; }
  25%  { opacity: 1; }
  75%  { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 0; }
}
@media (max-width: 768px) { .scroll-cue { display: none; } }

/* ── 入场错开（只动 transform，绝不以 opacity:0 起始）── */
.is-in .tile,
.is-in .lcard,
.is-in .week span,
.is-in .logrow > .lcard {
  animation: riseIn var(--dur-enter) var(--ease-out-strong) both;
}
@keyframes riseIn {
  from { transform: translateY(14px); }
  to   { transform: translateY(0); }
}
.is-in .tile:nth-child(1) { animation-delay: 0ms; }
.is-in .tile:nth-child(2) { animation-delay: var(--stagger); }
.is-in .tile:nth-child(3) { animation-delay: calc(var(--stagger) * 2); }
.is-in .logrow > .lcard:nth-child(1) { animation-delay: 0ms; }
.is-in .logrow > .lcard:nth-child(2) { animation-delay: var(--stagger); }
.is-in .logrow > .lcard:nth-child(3) { animation-delay: calc(var(--stagger) * 2); }
.is-in .logrow > .lcard:nth-child(4) { animation-delay: calc(var(--stagger) * 3); }
/* 日历格：只给前两周错开，避免 40+ 格串成长队 */
.is-in .week span:nth-child(-n+7) { animation-delay: 0ms; }
.is-in .week span:nth-child(n+8):nth-child(-n+14) { animation-delay: calc(var(--stagger) * 0.6); }

/* ── 悬停微交互（仅精细指针设备；150ms 内完成，属于"数十次/天"级别 → 近乎无感）── */
@media (hover: hover) and (pointer: fine) {
  .tile {
    transition: transform var(--dur-ui) var(--ease-out-strong),
                border-color var(--dur-ui) ease;
  }
  .tile:hover { transform: translateY(-3px); border-color: rgba(0, 212, 255, .42); }

  .lcard {
    transition: transform var(--dur-ui) var(--ease-out-strong),
                border-color var(--dur-ui) ease;
  }
  .lcard:hover { transform: translateY(-4px); border-color: rgba(0, 212, 255, .4); }

  .week span:not(.dim) {
    transition: transform var(--dur-press) var(--ease-out-strong),
                background-color var(--dur-press) ease;
  }
  .week span:not(.dim):hover { transform: scale(1.12); background-color: rgba(0, 212, 255, .1); }

  .nav-link { position: relative; }
  .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 1px;
    background: var(--ion);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur-ui) var(--ease-out-strong);
  }
  .nav-link:hover::after { transform: scaleX(1); }

  .f input:focus,
  .f textarea:focus {
    outline: none;
    border-color: rgba(0, 212, 255, .6);
    transition: border-color var(--dur-ui) ease, box-shadow var(--dur-ui) ease;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, .12);
  }
}

/* 按压反馈（100–160ms，命中"反馈"目的；键盘用户不受影响） */
.btn:active,
.join-btn:active,
.send:active { transform: scale(0.98); transition-duration: var(--dur-press); }

/* 下一个场次的节点呼吸（状态指示：哪一场是最近的一场） */
.dial-node.pulse { animation: nodePulse 2400ms var(--ease-in-out-strong) infinite; }
@keyframes nodePulse {
  0%, 100% { r: 5; opacity: .95; }
  50%      { r: 7; opacity: .6; }
}

/* 日历类型标签、日期详情：切换时给出状态反馈（淡入 + 轻微上浮） */
#cal-detail { animation: riseIn var(--dur-ui) var(--ease-out-strong) both; }
.ttag { transition: transform var(--dur-press) var(--ease-out-strong); }

/* ── reduced motion：更温和，而不是零（保留颜色/描边类变化，去掉位移与循环）── */
@media (prefers-reduced-motion: reduce) {
  .scroll-cue i { animation: none; opacity: 1; }
  .is-in .tile, .is-in .lcard, .is-in .week span, .is-in .logrow > .lcard,
  #cal-detail { animation: none; }
  .dial-node.pulse { animation: none; }
  .tile:hover, .lcard:hover, .week span:not(.dim):hover, .btn:active, .join-btn:active, .send:active { transform: none; }
  .nav-link::after { transition: none; }
}

/* ──────────────────────────────────────────────────────────
   §22  v2.1.2 滚动式 3D 出场
   区块：带透视的三维上浮（.is-in 切换状态，transition 负责插值）
   子元素：三维错落入场（只动 transform，绝不动 opacity → 动画被暂停也不会隐形）
   全部包在 prefers-reduced-motion: no-preference 内 → 减弱动效时零 3D 位移
└────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {

  html.js.reveal-armed [data-reveal] {
    transform: translateY(28px) perspective(1000px) rotateX(7deg);
    transform-origin: 50% 120%;
  }
  html.js.reveal-armed.is-in [data-reveal],
  html.js.reveal-armed [data-reveal].is-in {
    transform: translateY(0) perspective(1000px) rotateX(0deg)
               translate3d(0, var(--scroll-offset, 0px), 0);
  }

  .is-in .tile,
  .is-in .logrow > .lcard,
  .is-in .week span,
  .is-in .f,
  .is-in .joinaside,
  .is-in .foot {
    animation: rise3d var(--dur-enter) var(--ease-out-strong) both;
  }
  @keyframes rise3d {
    from { transform: perspective(700px) translateY(20px) rotateX(9deg); }
    to   { transform: perspective(700px) translateY(0) rotateX(0deg); }
  }

  /* 错开节奏：30–60ms 一档，避免"全部一起进" */
  .is-in .tile:nth-child(1),
  .is-in .logrow > .lcard:nth-child(1) { animation-delay: 0ms; }
  .is-in .tile:nth-child(2),
  .is-in .logrow > .lcard:nth-child(2) { animation-delay: var(--stagger); }
  .is-in .tile:nth-child(3),
  .is-in .logrow > .lcard:nth-child(3) { animation-delay: calc(var(--stagger) * 2); }
  .is-in .logrow > .lcard:nth-child(4) { animation-delay: calc(var(--stagger) * 3); }

  .is-in .f:nth-child(1) { animation-delay: 0ms; }
  .is-in .f:nth-child(2) { animation-delay: 30ms; }
  .is-in .f:nth-child(3) { animation-delay: 60ms; }
  .is-in .f:nth-child(4) { animation-delay: 90ms; }

  /* 日历：按列错开（每天一格，7 列 → 7 档），而不是 40 多格排队 */
  .is-in .week span:nth-child(7n+1) { animation-delay: 0ms; }
  .is-in .week span:nth-child(7n+2) { animation-delay: 30ms; }
  .is-in .week span:nth-child(7n+3) { animation-delay: 60ms; }
  .is-in .week span:nth-child(7n+4) { animation-delay: 90ms; }
  .is-in .week span:nth-child(7n+5) { animation-delay: 120ms; }
  .is-in .week span:nth-child(7n+6) { animation-delay: 150ms; }
  .is-in .week span:nth-child(7n+7) { animation-delay: 180ms; }

  /* 下一场次的节点：进入时轻微放大落位（状态指示） */
  .is-in .dial-node.pulse { animation: nodeIn 700ms var(--ease-out-strong) both,
                                       nodePulse 2400ms var(--ease-in-out-strong) 700ms infinite; }
  @keyframes nodeIn {
    from { transform: scale(0.85); }
    to   { transform: scale(1); }
  }
}

/* ──────────────────────────────────────────────────────────
   §24  v2.3.0 星门过渡浮层（不占页面高度）
   滚到第一页→第二页之间时：① 背后内容虚化(backdrop blur) ② 星系淡入
   ③ 随滚动旋转两整圈；滚满后自动淡出，第二页清晰接手。
   三个进度量 --gblur / --gfade / --grot 由 JS 写入 → 不滚即停。
└────────────────────────────────────────────────────────── */
.gate {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  opacity: var(--gblur, 0);
  background: rgba(7, 17, 41, calc(var(--gblur, 0) * .45));
  -webkit-backdrop-filter: blur(calc(var(--gblur, 0) * 13px));
  backdrop-filter: blur(calc(var(--gblur, 0) * 13px));
}
.gate-galaxy {
  position: relative;
  width: min(62vh, 460px); height: min(62vh, 460px);
  opacity: var(--gfade, 0);
  transform: rotate(calc(var(--grot, 0) * 720deg)) scale(calc(1 + var(--grot, 0) * .16));
}
.g-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(0, 212, 255, .5); }
.g-ring.g1 { inset: 6%; }
.g-ring.g2 { inset: 20%; border-color: rgba(0, 212, 255, .36); }
.g-ring.g3 { inset: 34%; border-color: rgba(0, 212, 255, .24); }
.g-orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(0, 212, 255, .22); }
.g-orbit.go1 { transform: rotate(24deg); }
.g-orbit.go2 { transform: rotate(-38deg); }
.g-core {
  position: absolute; left: 50%; top: 50%; width: 22px; height: 22px;
  margin: -11px 0 0 -11px; border-radius: 50%;
  background: var(--ion); box-shadow: 0 0 40px 12px rgba(0, 212, 255, .45);
}
.g-node {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--ion); box-shadow: 0 0 12px 3px rgba(0, 212, 255, .4);
}
@media (max-width: 768px) {
  .gate { -webkit-backdrop-filter: blur(calc(var(--gblur, 0) * 8px)); backdrop-filter: blur(calc(var(--gblur, 0) * 8px)); }
  .gate-galaxy { width: min(56vh, 320px); height: min(56vh, 320px); }
}
@media (prefers-reduced-motion: reduce) { .gate { display: none; } }

/* ──────────────────────────────────────────────────────────
   §25  v2.4.0 过渡期「页面冻结」+ 第一页元素分散与滚动驱动
   冻结：浮层激活期间把两页的位移反向补偿 → 视觉上页面钉住，只有星系在转
   叠加：连续自转在内层（.dial-nodes / .atom3d 的原动画），滚动偏移在外层容器
└────────────────────────────────────────────────────────── */
#hero { transform: translateY(var(--hero-shift, 0px)); }
#manifesto { transform: translateY(var(--page-shift, 0px)); }
/* 滚动驱动偏移挂在外层容器（内层保留连续自转，两层互不覆盖） */
.hero-r { transform: rotate(calc(var(--hp, 0) * 40deg)); }

/* 元素分散：原子升到画面上方作为掠过式光晕；轨道盘守右侧；六边形守左下 */
@media (min-width: 1200px) {
  .atom3d { width: 700px; height: 700px; margin-top: -350px; right: -14%; top: -34%; opacity: .2; }
}
@media (max-width: 1199px) and (min-width: 769px) {
  .atom3d { top: -26%; right: -16%; opacity: .22; }
}

@media (prefers-reduced-motion: reduce) {
  #hero, #manifesto, .hero-r { transform: none; }
}

/* ──────────────────────────────────────────────────────────
   §26  v2.4.1 桌面构图再分配（小窗/iPad 不受影响）
   问题：桌面下轨道盘 + 700px 原子 + WebGL 原子全堆在右侧
   方案：原子横跨画面顶部当光晕；WebGL 原子移到左侧；六边形守左下；
        轨道盘独占右侧 → 四角各司其职，不再抢同一块区域
└────────────────────────────────────────────────────────── */
@media (min-width: 1200px) {
  /* 极淡的全幅光晕：横跨画面且不够亮，不与右侧轨道盘争抢注意力
     注意：top 与 margin-top 会叠加，故 top 只用小百分比，居中靠 margin 完成 */
  .atom3d {
    width: 820px; height: 820px;
    margin-top: -410px;
    left: 50%; right: auto; margin-left: -410px;
    top: 12%;
    opacity: .14;
  }
  .hex3d { left: 5%; bottom: 7%; opacity: .5; }
  .hero-r { width: 380px; }
  .dial { width: 380px; height: 380px; }
}

/* ──────────────────────────────────────────────────────────
   §27  v2.5.0 品牌导航（LOGO + 标题 + 两个快捷导航）
└────────────────────────────────────────────────────────── */
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo {
  width: 34px; height: 34px; border-radius: 50%; display: block; flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(244, 247, 252, .16), 0 2px 10px rgba(0, 0, 0, .35);
}
.brand-name { font-weight: 700; letter-spacing: .04em; color: var(--star); font-size: 13.5px; }

@media (max-width: 768px) {
  .brand-logo { width: 30px; height: 30px; }
  .brand-name { font-size: 12px; letter-spacing: .02em; }
}

/* ── v2.5.1 页脚品牌图标 ── */
.foot-brand { display: inline-flex; align-items: center; gap: 7px; }
.foot-logo { width: 24px; height: 24px; border-radius: 50%; display: block; flex-shrink: 0; }

/* ──────────────────────────────────────────────────────────
   §28  v2.5.2 导航布局加固：保证 Join 永不被挤出视口
   原因：品牌名是长文本，flex 子项默认按 min-content 计算 → 总和超出即把右侧项推出屏幕
└────────────────────────────────────────────────────────── */
.nav { min-width: 0; flex-wrap: nowrap; }
.brand { min-width: 0; flex-shrink: 1; }
.brand-name {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  min-width: 0;
}
.nav-link, .join-btn { flex-shrink: 0; }

/* 极窄屏：只留徽章，腾出空间给 Schedule / Join */
@media (max-width: 480px) {
  .brand-name { display: none; }
  .nav { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) { /* 无额外动效需处理 */ }
