/* =========================================================
   XINGXUN AI — OFFICIAL SITE / EDITION 03
   Spatial interface: emerald deep-space, gold signal, HUD chrome
   ========================================================= */

@font-face {
  font-family: "Noto Serif SC";
  src: url("../fonts/NotoSerifSC-subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/Jakarta-subset.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif";
  src: url("../fonts/DMSerifDisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif";
  src: url("../fonts/DMSerifDisplay-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #04100d;
  --ink-2: #061713;
  --ink-3: #0a231c;
  --emerald: #0f4c3a;
  --jade: #6fbf9f;
  --mint: #9fe3c8;
  --cyan: #4fe0c0;
  --gold: #c8a02c;
  --gold-hi: #f2dda0;
  --gold-dim: #8f7420;
  --cream: #f4efe2;
  --paper: #e8eee3;
  --paper-2: #dbe6da;
  --muted: rgba(230, 240, 232, 0.62);
  --muted-2: rgba(230, 240, 232, 0.36);
  --line: rgba(244, 239, 230, 0.1);
  --line-2: rgba(244, 239, 230, 0.18);
  --jade-line: rgba(111, 191, 159, 0.28);
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --latin: "DM Serif", "Times New Roman", serif;
  --sans: "Jakarta", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "Jakarta", ui-monospace, "SFMono-Regular", "Consolas", monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --wrap: 1360px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

::selection { background: rgba(200, 160, 44, 0.32); color: #fff; }
a { color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible { outline: 1px solid var(--gold-hi); outline-offset: 4px; }
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; border: 0; background: none; }
p, h1, h2, h3, h4 { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: min(calc(100% - 96px), var(--wrap));
  margin: 0 auto;
  position: relative;
}

.section {
  position: relative;
  padding: clamp(104px, 13vw, 176px) 0;
}

/* ---------- shared type ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--jade);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.tag::before {
  content: "";
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--jade));
}
.tag b { color: var(--gold); font-weight: 500; }

.title {
  font-family: var(--serif);
  font-size: clamp(42px, 5.6vw, 78px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.045em;
}
.title .gold { color: var(--gold-hi); }

.gold {
  color: var(--gold-hi);
  background: linear-gradient(178deg, #fbf0cf 0%, #e5c878 42%, #b98f2b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.36fr);
  gap: 64px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head .tag { margin-bottom: 26px; }
.section-aside {
  padding-bottom: 6px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.95;
}
.section-aside p + p { margin-top: 22px; }
.aside-index {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.26em;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

/* ---------- atmosphere layers ---------- */

.grain {
  position: fixed;
  inset: 0;
  z-index: 95;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 94;
  pointer-events: none;
  opacity: 0.3;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 101;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(79, 224, 192, 0.4), var(--gold), var(--gold-hi));
  box-shadow: 0 0 18px rgba(200, 160, 44, 0.55);
  will-change: transform;
}

/* ---------- boot ---------- */

.boot {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 46%, rgba(15, 76, 58, 0.5), transparent 70%),
    var(--ink);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.boot.is-done { opacity: 0; visibility: hidden; }
.boot-inner { width: min(340px, 74vw); text-align: center; }
.boot-mark {
  width: 54px;
  height: 54px;
  margin: 0 auto 26px;
  color: var(--gold);
  border: 1px solid rgba(200, 160, 44, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  animation: bootPulse 2.4s ease-in-out infinite;
}
.boot-mark::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px dashed rgba(111, 191, 159, 0.3);
  border-radius: 50%;
  animation: spin 9s linear infinite;
}
.boot-mark svg { width: 26px; height: 26px; }
.boot-label {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.32em;
  margin-bottom: 12px;
}
.boot-bar { height: 1px; background: var(--line); overflow: hidden; }
.boot-bar i {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--jade), var(--gold));
  animation: bootLoad 1s var(--ease) forwards;
}
@keyframes bootLoad { to { transform: scaleX(1); } }
@keyframes bootPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 160, 44, 0.25); }
  50% { box-shadow: 0 0 40px 4px rgba(200, 160, 44, 0.14); }
}

/* ---------- cursor ---------- */

.cursor { position: fixed; top: 0; left: 0; z-index: 99; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s ease; }
.cursor-dot,
.cursor-ring { position: absolute; pointer-events: none; transform: translate(-50%, -50%); }
.cursor-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-hi);
  box-shadow: 0 0 12px rgba(242, 221, 160, 0.9);
}
.cursor-ring {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(200, 160, 44, 0.45);
  border-radius: 50%;
  transition: width 0.35s var(--ease), height 0.35s var(--ease), border-color 0.35s ease, background 0.35s ease;
}
.cursor-ring::before,
.cursor-ring::after {
  content: "";
  position: absolute;
  background: rgba(200, 160, 44, 0.5);
}
.cursor-ring::before { left: 50%; top: -5px; bottom: -5px; width: 1px; transform: translateX(-50%); }
.cursor-ring::after { top: 50%; left: -5px; right: -5px; height: 1px; transform: translateY(-50%); }
.cursor.is-hover .cursor-ring { width: 52px; height: 52px; border-color: rgba(79, 224, 192, 0.7); background: rgba(79, 224, 192, 0.05); }
.cursor.is-hover .cursor-dot { background: var(--cyan); }

@media (pointer: fine) {
  body.cursor-ready, body.cursor-ready a, body.cursor-ready button { cursor: none; }
  body.cursor-ready .cursor { opacity: 1; }
}

/* ---------- header ---------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px max(48px, calc((100vw - var(--wrap)) / 2));
  border-bottom: 1px solid transparent;
  transition: padding 0.5s var(--ease), background 0.5s ease, border-color 0.5s ease;
}
.header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: rgba(4, 16, 13, 0.96);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: opacity 0.5s ease;
}
.header.scrolled { padding-top: 13px; padding-bottom: 13px; border-bottom-color: var(--line); }
.header.scrolled::after { opacity: 1; }

.logo { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; }
.logo-mark {
  position: relative;
  width: 38px;
  height: 38px;
  color: var(--gold);
  display: grid;
  place-items: center;
  border: 1px solid rgba(200, 160, 44, 0.3);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, rgba(200, 160, 44, 0.24), transparent 62%);
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px dashed rgba(111, 191, 159, 0.22);
  border-radius: 50%;
  animation: spin 26s linear infinite;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-type { display: flex; flex-direction: column; line-height: 1.05; }
.logo-type b { font-size: 15px; font-weight: 600; letter-spacing: 0.17em; }
.logo-type em {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 7.5px;
  font-style: normal;
  letter-spacing: 0.32em;
  margin-top: 5px;
}

.nav { display: flex; align-items: center; gap: 32px; }
.nav-link {
  position: relative;
  color: rgba(244, 239, 230, 0.66);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.3s ease;
}
.nav-link small {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  transition: right 0.45s var(--ease);
}
.nav-link:hover { color: var(--cream); }
.nav-link:hover::after { right: 0; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px 9px 17px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s var(--ease);
}
.nav-cta i { color: var(--gold); font-style: normal; font-size: 12px; transition: transform 0.35s var(--ease); }
.nav-cta:hover { border-color: rgba(200, 160, 44, 0.55); background: rgba(200, 160, 44, 0.07); transform: translateY(-1px); }
.nav-cta:hover i { transform: translate(2px, -2px); }

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(79, 224, 192, 0.22);
  border-radius: 999px;
  color: var(--jade);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
}
.status-chip i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: blink 2.6s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  z-index: 2;
}
.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--cream);
  transition: top 0.4s var(--ease), transform 0.4s var(--ease);
}
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 148px 0 120px;
  overflow: hidden;
  isolation: isolate;
}

.scene {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 52% 46% at 70% 48%, rgba(4, 16, 13, 0) 20%, rgba(4, 16, 13, 0.38) 68%, rgba(4, 16, 13, 0.94) 100%),
    linear-gradient(180deg, rgba(4, 16, 13, 0.72), transparent 26%, transparent 68%, var(--ink));
}

.hero-aurora {
  position: absolute;
  z-index: -3;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}
.aurora-one {
  width: 580px;
  height: 440px;
  left: -180px;
  top: 8%;
  background: rgba(15, 76, 58, 0.5);
  animation: aurora 18s ease-in-out infinite alternate;
}
.aurora-two {
  width: 640px;
  height: 480px;
  right: -220px;
  top: 22%;
  background: rgba(200, 160, 44, 0.13);
  animation: aurora 22s ease-in-out infinite alternate-reverse;
}
@keyframes aurora {
  from { transform: translate3d(-22px, -16px, 0) scale(1); }
  to { transform: translate3d(26px, 22px, 0) scale(1.12); }
}

/* HUD frame */
.hero-frame {
  position: absolute;
  inset: 16px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(244, 239, 230, 0.07);
}
.hero-frame::before,
.hero-frame::after {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, var(--line-2), transparent);
  height: 1px;
  width: 88px;
}
.hero-frame::before { left: -1px; top: 92px; }
.hero-frame::after { right: -1px; bottom: 92px; background: linear-gradient(270deg, var(--line-2), transparent); }
.hero-frame i {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: rgba(200, 160, 44, 0.65);
  border-style: solid;
}
.hero-frame i:nth-child(1) { left: -1px; top: -1px; border-width: 1px 0 0 1px; }
.hero-frame i:nth-child(2) { right: -1px; top: -1px; border-width: 1px 1px 0 0; }
.hero-frame i:nth-child(3) { left: -1px; bottom: -1px; border-width: 0 0 1px 1px; }
.hero-frame i:nth-child(4) { right: -1px; bottom: -1px; border-width: 0 1px 1px 0; }

.hero-rail {
  position: absolute;
  left: max(26px, calc((100vw - var(--wrap)) / 2 - 36px));
  top: 50%;
  z-index: 3;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.3em;
}
.hero-rail i { width: 1px; height: 72px; background: linear-gradient(180deg, transparent, var(--line-2), transparent); }

.hero-grid {
  position: relative;
  z-index: 4;
  width: min(calc(100% - 96px), var(--wrap));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: 40px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 13px 7px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(4, 16, 13, 0.4);
  backdrop-filter: blur(8px);
  color: rgba(244, 239, 230, 0.6);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  margin-bottom: 40px;
}
.kicker b { color: var(--gold-hi); font-weight: 500; }
.kicker i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(79, 224, 192, 0.9);
  animation: blink 2.2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(74px, 9.3vw, 152px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin-left: -0.05em;
}
.title-line { display: block; overflow: hidden; padding-bottom: 0.05em; }
.title-line > span { display: block; transform: translateY(116%) rotate(2deg); animation: titleIn 1.4s var(--ease) 0.5s forwards; }
.title-line:nth-child(2) > span { animation-delay: 0.62s; }
.title-line:nth-child(3) > span { animation-delay: 0.74s; }
@keyframes titleIn { to { transform: translateY(0) rotate(0); } }

.hero-title i {
  font-family: var(--latin);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-hi);
  letter-spacing: -0.02em;
  margin-right: 0.03em;
}
.hero-title .extrude {
  background: linear-gradient(180deg, #fdf3d6 0%, #e6ca7e 46%, #a97f1c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 26px rgba(200, 160, 44, 0.22));
}

.hero-sub {
  max-width: 440px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 2;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 24px rgba(4, 16, 13, 0.85);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 8px 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 11.5px;
  letter-spacing: 0.09em;
  white-space: nowrap;
  overflow: hidden;
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.4s var(--ease);
}
/* button-in-button trailing icon */
.btn i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(244, 239, 230, 0.12);
  background: rgba(244, 239, 230, 0.06);
  color: var(--gold-hi);
  font-style: normal;
  font-size: 11px;
  transition: transform 0.5s var(--ease), background 0.4s ease, border-color 0.4s ease;
}
.btn:hover i { transform: translate(2px, -2px) scale(1.06); border-color: rgba(242, 221, 160, 0.4); }
.btn-gold {
  color: #10281f;
  background: linear-gradient(112deg, #f6e3b0, #c8a02c 62%, #a48224);
  box-shadow: 0 14px 34px -18px rgba(200, 160, 44, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transition: transform 0.8s var(--ease);
}
.btn-gold:hover::after { transform: translateX(120%); }
.btn-gold i { color: #10281f; border-color: rgba(16, 40, 31, 0.16); background: rgba(16, 40, 31, 0.1); }
.btn-line {
  color: var(--cream);
  border-color: var(--line-2);
  background: rgba(244, 239, 230, 0.02);
}
.btn-line:hover { border-color: rgba(111, 191, 159, 0.5); background: rgba(111, 191, 159, 0.07); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-index {
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  background: none !important;
  color: var(--muted-2) !important;
  font-family: var(--mono) !important;
  font-size: 8.5px !important;
  letter-spacing: 0.12em;
}

/* hero right reticle (aligned with the 3D core) */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
  pointer-events: none;
}
.hero-reticle {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1;
  pointer-events: none;
  animation: reticleIn 1.6s var(--ease) 0.5s both;
}
@keyframes reticleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
.reticle-ring {
  position: absolute;
  inset: 4%;
  border: 1px solid rgba(111, 191, 159, 0.14);
  border-radius: 50%;
}
.reticle-ring::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}
.reticle-dash {
  position: absolute;
  inset: 13%;
  border: 1px dashed rgba(200, 160, 44, 0.2);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}
.reticle-ticks {
  position: absolute;
  inset: -2%;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(244, 239, 230, 0.28) 0deg 0.5deg, transparent 0.5deg 6deg);
  mask: radial-gradient(circle, transparent 66%, #000 66.4%, #000 68%, transparent 68.4%);
  -webkit-mask: radial-gradient(circle, transparent 66%, #000 66.4%, #000 68%, transparent 68.4%);
  opacity: 0.55;
}
.reticle-cross::before,
.reticle-cross::after {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(244, 239, 230, 0.16), transparent);
}
.reticle-cross::before { left: -6%; right: -6%; top: 50%; height: 1px; }
.reticle-cross::after { top: -6%; bottom: -6%; left: 50%; width: 1px; background: linear-gradient(180deg, transparent, rgba(244, 239, 230, 0.16), transparent); }

.reticle-label {
  position: absolute;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.8;
  letter-spacing: 0.22em;
}
.reticle-label b { display: block; color: rgba(244, 239, 230, 0.72); font-weight: 500; }
.rl-a { left: 2%; top: 12%; }
.rl-b { right: -4%; top: 42%; text-align: right; }
.rl-c { left: 8%; bottom: 6%; }
.rl-d { right: 4%; bottom: 12%; text-align: right; color: var(--jade); }

/* hero bottom */
.hero-bottom {
  position: absolute;
  left: max(48px, calc((100vw - var(--wrap)) / 2));
  right: max(48px, calc((100vw - var(--wrap)) / 2));
  bottom: 34px;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}
.hero-stats { display: flex; gap: 42px; }
.hero-stats > div { display: flex; align-items: baseline; gap: 9px; }
.hero-stats b {
  font-family: var(--latin);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  color: var(--cream);
}
.hero-stats b span { color: var(--gold); font-size: 12px; }
.hero-stats > div > span {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
}
.telemetry {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.18em;
}
.telemetry b { color: var(--jade); font-weight: 500; }
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.26em;
}
.scroll-cue i { position: relative; width: 62px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); overflow: hidden; }
.scroll-cue i::after {
  content: "";
  position: absolute;
  left: -30%;
  top: 0;
  width: 30%;
  height: 1px;
  background: var(--gold-hi);
  animation: scan 2.8s var(--ease) infinite;
}
@keyframes scan { 65%, 100% { left: 110%; } }

/* ---------- ticker ---------- */

.ticker {
  position: relative;
  z-index: 5;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 23, 19, 0.6);
  overflow: hidden;
}
.ticker-track { display: flex; align-items: center; gap: 46px; width: max-content; animation: marquee 38s linear infinite; }
.ticker-track span { color: rgba(244, 239, 230, 0.5); font-family: var(--mono); font-size: 9px; letter-spacing: 0.24em; white-space: nowrap; }
.ticker-track b { color: var(--gold); font-weight: 400; font-size: 11px; }
.ticker-track b.sep {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.8;
  box-shadow: 0 0 10px rgba(200, 160, 44, 0.5);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- manifesto ---------- */

.manifesto { position: relative; padding: clamp(96px, 12vw, 160px) 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 239, 230, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 230, 0.028) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent 78%);
  pointer-events: none;
}
.manifesto-grid { display: grid; grid-template-columns: 0.16fr 1fr 0.3fr; gap: 44px; align-items: start; }
.manifesto-quote {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.32;
  letter-spacing: -0.04em;
  max-width: 880px;
}
.manifesto-note { margin-top: 30px; color: var(--muted); font-size: 12px; line-height: 2; letter-spacing: 0.04em; }
.manifesto-spec { display: flex; flex-direction: column; gap: 16px; padding-top: 12px; }
.manifesto-spec div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
}
.manifesto-spec b { color: var(--jade); font-weight: 500; }

/* ---------- reveal ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(6px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.visible { opacity: 1; transform: none; filter: none; }

@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 .reveal { opacity: 1; transform: none; filter: none; }
  .scene { display: none; }
  .cursor { display: none; }
  body.cursor-ready { cursor: auto; }
  .boot { display: none; }
}
