/* ==========================================================================
   ASTER WAY — editorial front page
   A quieter, more cinematic reading of the landing page: one instrument,
   one statement, a great deal of night. Loaded after home.css on purpose.
   ========================================================================== */

.home-page {
  --ed-ivory: #f1ece2;
  --ed-ivory-soft: rgba(241, 236, 226, 0.68);
  --ed-ivory-faint: rgba(241, 236, 226, 0.34);
  --ed-gold: #d8bd8a;
  --ed-gold-bright: #ecdab4;
  --ed-line: rgba(236, 226, 208, 0.11);
  --ed-line-soft: rgba(236, 226, 208, 0.07);
  --ed-card: rgba(13, 15, 22, 0.72);
  background:
    radial-gradient(ellipse 70% 40% at 50% -8%, rgba(154, 124, 77, 0.16), transparent 62%),
    radial-gradient(ellipse 55% 42% at 86% 22%, rgba(66, 86, 116, 0.11), transparent 66%),
    radial-gradient(ellipse 46% 36% at 9% 58%, rgba(96, 74, 51, 0.075), transparent 70%),
    #06070b;
}

.home-page .starfield {
  opacity: 0.34;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.82) 28%, rgba(0, 0, 0, 0.3) 68%, transparent 96%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.82) 28%, rgba(0, 0, 0, 0.3) 68%, transparent 96%);
}

.home-page .page-vignette {
  background:
    linear-gradient(to bottom, rgba(6, 7, 11, 0.24) 0%, transparent 18%, transparent 76%, rgba(5, 6, 10, 0.88) 100%),
    radial-gradient(ellipse at center, transparent 50%, rgba(3, 4, 7, 0.34) 100%);
}

.home-page main {
  position: relative;
  z-index: 2;
}

.home-page .section-shell {
  width: min(1260px, calc(100vw - 96px));
}

.home-page .section-shell-wide {
  width: min(1440px, calc(100vw - 80px));
}

/* --------------------------------------------------------------------------
   Header — two quiet pills, one clear mark
   -------------------------------------------------------------------------- */

.home-page .site-header {
  height: 88px;
}

.home-page .site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 6, 10, 0.72), transparent);
  opacity: 0.8;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.home-page .site-header.is-scrolled::before {
  opacity: 0;
}

.home-page .site-header.is-scrolled {
  height: 72px;
  border-color: rgba(236, 226, 208, 0.07);
  background: rgba(6, 7, 11, 0.72);
  -webkit-backdrop-filter: blur(22px) saturate(120%);
  backdrop-filter: blur(22px) saturate(120%);
}

.home-page .header-inner {
  position: relative;
  width: min(1390px, calc(100vw - 80px));
  gap: 28px;
}

.home-page .brand {
  gap: 12px;
}

.home-page .brand-mark {
  width: 34px;
  height: 34px;
  color: var(--ed-gold-bright);
}

.home-page .brand-cn {
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.2em;
}

.home-page .brand-en {
  color: rgba(241, 236, 226, 0.3);
  font-size: 6.5px;
  letter-spacing: 0.3em;
}

.home-page .site-nav {
  gap: clamp(24px, 3vw, 46px);
}

.home-page .site-nav a {
  color: rgba(241, 236, 226, 0.62);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
}

.home-page html[data-locale="zh"] .site-nav a,
html[data-locale="zh"] .home-page .site-nav a {
  font-size: 14px;
  font-weight: 520;
  letter-spacing: 0.1em;
}

.home-page .site-nav a span {
  display: none;
}

.home-page .site-nav a:hover,
.home-page .site-nav a[aria-current="page"] {
  color: var(--ed-ivory);
}

.home-page .header-actions {
  gap: 10px;
}

.home-page .header-status {
  margin-right: 6px;
  color: rgba(241, 236, 226, 0.28);
  font-size: 7.5px;
}

.home-page .header-cta,
.home-page .locale-toggle {
  height: 42px;
  border-radius: 999px;
  border-color: rgba(236, 226, 208, 0.16);
  background: rgba(236, 226, 208, 0.025);
}

.home-page .header-cta {
  padding: 0 20px;
  color: rgba(241, 236, 226, 0.82);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.home-page .header-cta:hover {
  border-color: rgba(236, 218, 180, 0.42);
  background: rgba(236, 218, 180, 0.06);
  color: var(--ed-gold-bright);
}

.home-page .locale-toggle {
  padding: 0 16px;
  color: rgba(241, 236, 226, 0.64);
  font-size: 9px;
}

.home-page .locale-toggle-mark {
  color: var(--ed-gold);
}

/* --------------------------------------------------------------------------
   Hero — an instrument above a single sentence
   -------------------------------------------------------------------------- */

.home-page .hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 92px 32px 42px;
  text-align: center;
}

.home-page .hero::before,
.home-page .hero::after,
.home-page .hero-horizon,
.home-page .hero-side-note {
  display: none;
}

.hero-ambient {
  position: absolute;
  z-index: 0;
  inset: -10% 0 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 27%, rgba(221, 193, 144, 0.105), transparent 25%),
    radial-gradient(circle at 50% 32%, rgba(89, 112, 146, 0.11), transparent 42%),
    radial-gradient(ellipse 42% 34% at 50% 82%, rgba(141, 112, 70, 0.075), transparent 72%);
  filter: blur(6px);
}

.hero-ambient::after {
  content: "";
  position: absolute;
  top: 13%;
  left: 50%;
  width: min(74vw, 980px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: conic-gradient(from 220deg, transparent, rgba(221, 193, 144, 0.05), transparent 28%, rgba(120, 145, 178, 0.05), transparent 70%);
  filter: blur(32px);
}

.hero-coordinate {
  position: absolute;
  z-index: 3;
  top: 112px;
  color: rgba(241, 236, 226, 0.25);
  font: 7.5px/1 var(--font-mono);
  letter-spacing: 0.18em;
}

.hero-coordinate-a {
  left: max(40px, calc((100vw - 1390px) / 2));
}

.hero-coordinate-b {
  right: max(40px, calc((100vw - 1390px) / 2));
}

.home-page .hero .celestial-instrument {
  position: relative;
  z-index: 2;
  top: auto;
  right: auto;
  width: clamp(280px, 27vw, 392px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  margin: 0 auto 2px;
  transform: translate3d(var(--instrument-x, 0), var(--instrument-y, 0), 0);
  opacity: 1;
}

.home-page .hero .instrument-frame {
  border-color: rgba(236, 226, 208, 0.085);
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.34);
}

.home-page .hero .instrument-frame::before {
  inset: 10%;
  border-color: rgba(236, 226, 208, 0.07);
}

.home-page .hero .instrument-frame::after {
  inset: 20%;
  border-color: rgba(236, 226, 208, 0.075);
}

.home-page .hero .instrument-haze {
  inset: 6%;
  background:
    radial-gradient(circle at 50% 50%, rgba(230, 207, 166, 0.1) 0%, rgba(82, 99, 126, 0.07) 25%, transparent 60%),
    conic-gradient(from 20deg, transparent, rgba(128, 149, 176, 0.06), transparent 28%, rgba(226, 203, 162, 0.045), transparent 68%);
}

.home-page .hero .instrument-grid {
  opacity: 0.22;
}

.home-page .hero .orbit {
  border-color: rgba(236, 226, 208, 0.14);
}

.home-page .hero .orbit-outer {
  inset: 7%;
}

.home-page .hero .orbit-mid {
  inset: 20%;
}

.home-page .hero .orbit-inner {
  inset: 33%;
}

.home-page .hero .instrument-ticks {
  opacity: 0.58;
}

.home-page .hero .eclipse {
  width: 29%;
}

.home-page .hero .eclipse-core {
  box-shadow:
    0 0 82px rgba(214, 185, 133, 0.13),
    0 0 0 1px rgba(236, 226, 208, 0.05) inset,
    inset 0 0 46px rgba(0, 0, 0, 0.92);
}

.home-page .hero .eclipse-star {
  width: 30px;
  height: 30px;
}

.home-page .hero .instrument-label {
  color: rgba(241, 236, 226, 0.24);
  font-size: 6.5px;
}

.home-page .hero .label-signal {
  right: 14%;
  bottom: 18%;
}

.home-page .hero .instrument-caption,
.home-page .hero .instrument-coordinate {
  display: none;
}

.signal-node {
  position: absolute;
  z-index: 5;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(241, 236, 226, 0.17);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.075), transparent 55%),
    rgba(10, 12, 18, 0.8);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.4),
    0 0 0 5px rgba(6, 7, 11, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: rgba(241, 236, 226, 0.68);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: signal-node-drift 8s ease-in-out infinite;
}

.signal-node .icon {
  width: 16px;
  height: 16px;
}

.signal-node-a { top: 13%; left: 12%; }
.signal-node-b { top: 7%; right: 19%; animation-delay: -1.6s; }
.signal-node-c { top: 44%; right: -1.5%; animation-delay: -3.1s; }
.signal-node-d { bottom: 9%; left: 14%; animation-delay: -4.4s; }
.signal-node-e { right: 25%; bottom: 5%; animation-delay: -2.3s; }

@keyframes signal-node-drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}

.home-page .hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  width: min(1160px, 100%);
  flex-direction: column;
  align-items: center;
}

.home-page .hero-kicker {
  justify-content: center;
  margin-bottom: 15px;
  color: rgba(241, 236, 226, 0.4);
  font-size: 9px;
  letter-spacing: 0.22em;
}

.home-page .hero-kicker .signal-pulse {
  width: 5px;
  height: 5px;
}

.home-page .hero h1 {
  max-width: 1100px;
  font: clamp(54px, 5.95vw, 92px)/1.06 var(--font-display);
  font-weight: 400;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.home-page .hero-line {
  display: block;
}

.home-page .hero h1 em {
  color: var(--ed-gold-bright);
  font-style: normal;
  font-weight: 400;
  text-shadow: 0 0 70px rgba(226, 203, 162, 0.2);
}

.home-page .hero h1 em::after {
  display: none;
}

.home-page .hero-sub {
  max-width: 610px;
  margin-top: 24px;
  color: rgba(241, 236, 226, 0.54);
  font-size: 14.5px;
  line-height: 1.95;
  letter-spacing: 0.04em;
}

.home-page .hero-actions {
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.home-page .button {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.07em;
}

.home-page .hero-actions .button {
  min-height: 52px;
  padding: 0 29px;
  border-radius: 999px;
  gap: 22px;
}

.home-page .button-primary {
  border-color: rgba(255, 255, 255, 0.4);
  background: linear-gradient(180deg, #f6f1e7 0%, #ded6c5 100%);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.34) inset;
  color: #0a0b0f;
}

.home-page .button-primary:hover {
  background: linear-gradient(180deg, #fffaf0 0%, #e7ddc9 100%);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.42),
    0 0 36px rgba(226, 203, 162, 0.14);
}

.home-page .button-quiet {
  border-color: rgba(236, 226, 208, 0.17);
  background: rgba(236, 226, 208, 0.025);
  color: rgba(241, 236, 226, 0.7);
}

.home-page .button-quiet:hover {
  border-color: rgba(236, 218, 180, 0.4);
  background: rgba(236, 218, 180, 0.05);
  color: var(--ed-gold-bright);
}

.home-page .hero-actions .button-index {
  display: none;
}

.home-page .hero-footnote {
  justify-content: center;
  gap: 26px;
  margin-top: 24px;
  color: rgba(241, 236, 226, 0.23);
  font-size: 7.5px;
  letter-spacing: 0.19em;
}

.home-page .hero-scroll {
  bottom: 17px;
  color: rgba(241, 236, 226, 0.28);
  font-size: 7px;
}

.home-page .hero-scroll::before {
  display: none;
}

/* --------------------------------------------------------------------------
   Section rhythm — centered, unhurried, fewer rules
   -------------------------------------------------------------------------- */

.home-page .section-rail {
  justify-content: center;
  color: rgba(241, 236, 226, 0.28);
  font-size: 8px;
  letter-spacing: 0.22em;
}

.home-page .section-rail::before,
.home-page .section-rail::after {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(236, 226, 208, 0.22));
}

.home-page .section-rail::after {
  background: linear-gradient(to right, rgba(236, 226, 208, 0.22), transparent);
}

.home-page .section-rail > span:first-child {
  color: rgba(216, 189, 138, 0.68);
}

.home-page .system-heading,
.home-page .capability-heading,
.home-page .log-heading {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1080px;
  gap: 26px;
  align-items: center;
  margin: 54px auto 78px;
  text-align: center;
}

.home-page .system-heading h2,
.home-page .capability-heading h2,
.home-page .log-heading h2 {
  font: clamp(44px, 4.9vw, 76px)/1.16 var(--font-display);
  font-weight: 400;
  letter-spacing: -0.048em;
}

.home-page .system-heading h2 em,
.home-page .capability-heading h2 em,
.home-page .log-heading h2 em {
  color: var(--ed-gold-bright);
  font-style: normal;
  font-weight: 400;
}

.home-page .system-intro,
.home-page .capability-heading > p,
.home-page .log-heading > div {
  max-width: 660px;
  margin: 0 auto;
  padding: 0;
}

.home-page .system-intro p,
.home-page .capability-heading > p,
.home-page .log-heading p {
  margin: 0 auto 20px;
  color: rgba(241, 236, 226, 0.5);
  font-size: 13.5px;
  line-height: 2;
}

.home-page .system-intro .micro-label {
  margin-top: 4px;
  font-size: 8px;
  letter-spacing: 0.22em;
}

.home-page .capability-heading > p {
  margin-bottom: 0;
}

.home-page .log-heading .text-link {
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   Prologue
   -------------------------------------------------------------------------- */

.home-page .prologue {
  padding: 172px 0 150px;
  border-top: 0;
}

.home-page .prologue::before {
  top: 30%;
  width: 1100px;
  height: 620px;
  background: radial-gradient(ellipse, rgba(112, 132, 160, 0.065), transparent 68%);
}

.home-page .wordmark-scene {
  padding: 88px 0 58px;
}

.home-page .wordmark-display {
  font-size: clamp(180px, 26vw, 390px);
  font-weight: 400;
  letter-spacing: -0.075em;
}

.home-page .wordmark-display > span:first-child {
  -webkit-text-stroke-color: rgba(236, 226, 208, 0.22);
}

.home-page .wordmark-etymology {
  margin-top: 74px;
  color: rgba(241, 236, 226, 0.28);
}

.home-page .manifesto-layout {
  display: flex;
  max-width: 980px;
  flex-direction: column;
  gap: 38px;
  align-items: center;
  margin: 0 auto;
  padding-top: 84px;
  border-top: 1px solid var(--ed-line-soft);
  text-align: center;
}

.home-page .manifesto-index {
  display: none;
}

.home-page .manifesto-quote p {
  max-width: 900px;
  font-size: clamp(34px, 3.9vw, 58px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.038em;
}

.home-page .manifesto-quote span {
  color: var(--ed-gold-bright);
  font-style: normal;
}

.home-page .manifesto-copy {
  max-width: 610px;
  padding: 0;
}

.home-page .manifesto-copy p {
  color: rgba(241, 236, 226, 0.47);
  font-size: 13.5px;
  line-height: 2;
}

.home-page .manifesto-copy .text-link {
  margin-top: 10px;
  border-color: rgba(236, 226, 208, 0.18);
}

.home-page .principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 96px;
  border: 0;
  background: none;
}

.home-page .principles article {
  min-height: 300px;
  padding: 30px 32px 34px;
  border: 1px solid var(--ed-line-soft);
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 0%, rgba(216, 189, 138, 0.045), transparent 52%),
    rgba(255, 255, 255, 0.012);
  transition: border-color 0.4s ease, background-color 0.4s ease;
}

.home-page .principles article:hover {
  border-color: rgba(216, 189, 138, 0.2);
  background-color: rgba(255, 255, 255, 0.018);
}

.home-page .principles article::before {
  left: 32px;
  background: linear-gradient(to right, var(--ed-gold), transparent);
}

.home-page .principles article:hover::before {
  width: calc(100% - 64px);
}

.home-page .principles article > span {
  margin-bottom: 72px;
  color: rgba(216, 189, 138, 0.55);
  font-size: 8px;
}

.home-page .principles h3 {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.home-page .principles p {
  color: rgba(241, 236, 226, 0.47);
  font-size: 12.5px;
  line-height: 1.9;
}

/* --------------------------------------------------------------------------
   The instrument / product stage
   -------------------------------------------------------------------------- */

.home-page .system-section {
  padding: 172px 0 150px;
  border-top: 0;
  background:
    radial-gradient(ellipse 60% 34% at 50% 28%, rgba(83, 107, 140, 0.11), transparent 72%),
    linear-gradient(to bottom, rgba(8, 10, 16, 0.2), rgba(5, 6, 10, 0.7));
}

.home-page .product-stage {
  position: relative;
  overflow: hidden;
  padding: 64px 5.2% 72px;
  border: 1px solid var(--ed-line-soft);
  border-radius: 34px;
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(216, 189, 138, 0.07), transparent 34%),
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(77, 99, 130, 0.075), transparent 62%),
    rgba(10, 12, 18, 0.54);
  box-shadow:
    0 60px 160px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.home-page .product-stage::before,
.home-page .product-stage::after {
  display: none;
}

.home-page .product-window {
  border-color: rgba(236, 226, 208, 0.14);
  border-radius: 17px;
  transform: none;
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 0 120px rgba(111, 128, 154, 0.07);
}

.home-page .stage-coordinate {
  z-index: 3;
  color: rgba(241, 236, 226, 0.18);
}

.home-page .floating-note {
  border-color: rgba(236, 226, 208, 0.12);
  border-radius: 12px;
  background: rgba(8, 10, 16, 0.66);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
}

.home-page .floating-note-a { top: 27%; left: 1.8%; }
.home-page .floating-note-b { right: 1.6%; bottom: 20%; }

.home-page .instrument-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
  border: 0;
}

.home-page .instrument-metrics > div,
.home-page .instrument-metrics > div:last-child {
  padding: 27px 26px 29px;
  border: 1px solid var(--ed-line-soft);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.012);
}

.home-page .instrument-metrics span {
  margin-bottom: 22px;
  color: rgba(241, 236, 226, 0.28);
  font-size: 7px;
  letter-spacing: 0.18em;
}

.home-page .instrument-metrics strong {
  font-size: 36px;
  font-weight: 400;
}

.home-page .instrument-metrics small {
  color: rgba(241, 236, 226, 0.28);
}

/* --------------------------------------------------------------------------
   Capabilities
   -------------------------------------------------------------------------- */

.home-page .capabilities {
  padding: 172px 0 150px;
  border-top: 0;
}

.home-page .capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  border: 0;
  background: none;
}

.home-page .capability-card {
  min-height: 470px;
  padding: 28px 32px 32px;
  border: 1px solid var(--ed-line-soft);
  border-radius: 28px;
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(216, 189, 138, 0.065), transparent 34%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.022), transparent 45%),
    rgba(10, 12, 18, 0.7);
  transition: border-color 0.45s ease, background-color 0.45s ease, transform 0.5s var(--ease-out);
}

.home-page .capability-card:hover {
  border-color: rgba(236, 226, 208, 0.16);
  background-color: rgba(12, 15, 21, 0.8);
  transform: translateY(-3px);
}

.home-page .capability-card::after {
  display: none;
}

.home-page .capability-large {
  min-height: 580px;
}

.home-page .card-copy h3 {
  font-size: clamp(29px, 2.4vw, 38px);
  font-weight: 400;
}

.home-page .card-copy p {
  color: rgba(241, 236, 226, 0.47);
  font-size: 12.5px;
  line-height: 1.9;
}

.home-page .card-footnote {
  border-top-color: var(--ed-line-soft);
  color: rgba(241, 236, 226, 0.24);
  font-size: 7px;
  letter-spacing: 0.14em;
}

.home-page .today-diagram {
  width: min(320px, 68%);
  margin-top: 28px;
  margin-bottom: 34px;
}

.home-page .card-glyph {
  margin-top: 36px;
  margin-bottom: 38px;
}

.home-page .capability-index {
  margin-top: 24px;
  padding: 24px 28px;
  border: 1px solid var(--ed-line-soft);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.012);
}

.home-page .capability-index ul {
  color: rgba(241, 236, 226, 0.34);
}

/* --------------------------------------------------------------------------
   Signal log
   -------------------------------------------------------------------------- */

.home-page .log-teaser {
  padding: 172px 0 150px;
  border-top: 0;
  background:
    radial-gradient(ellipse 48% 42% at 82% 22%, rgba(95, 116, 148, 0.08), transparent 68%),
    linear-gradient(to bottom, rgba(10, 13, 19, 0.32), rgba(5, 6, 10, 0.72));
}

.home-page .log-halo {
  top: 17%;
  right: 9%;
  width: 520px;
  height: 520px;
  border-color: rgba(236, 226, 208, 0.045);
  box-shadow:
    0 0 0 80px rgba(236, 226, 208, 0.008),
    0 0 0 170px rgba(236, 226, 208, 0.005);
  opacity: 0.72;
}

.home-page .log-preview {
  overflow: hidden;
  padding: 0 26px;
  border: 1px solid var(--ed-line-soft);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.012);
}

.home-page .log-preview-item {
  min-height: 108px;
  padding: 24px 10px;
  border-bottom-color: var(--ed-line-soft);
}

.home-page .log-preview-item:last-child {
  border-bottom: 0;
}

.home-page .log-preview-item:hover {
  padding-right: 20px;
  padding-left: 20px;
  background: rgba(216, 189, 138, 0.035);
}

.home-page .log-preview-version {
  color: var(--ed-gold-bright);
  font-weight: 400;
}

.home-page .log-preview-title strong {
  font-weight: 400;
}

.home-page .log-preview-title span {
  color: rgba(241, 236, 226, 0.42);
}

/* --------------------------------------------------------------------------
   Open signal
   -------------------------------------------------------------------------- */

.home-page .signal-band {
  padding: 20px 0 56px;
  border: 0;
  background: none;
}

.home-page .signal-band .section-shell {
  width: min(1260px, calc(100vw - 96px));
}

.home-page .signal-band-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 34px 38px;
  border: 1px solid var(--ed-line-soft);
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 50%, rgba(216, 189, 138, 0.07), transparent 30%),
    rgba(255, 255, 255, 0.012);
}

.home-page .signal-band-icon {
  width: 62px;
  height: 62px;
  border-color: rgba(216, 189, 138, 0.18);
  background: rgba(216, 189, 138, 0.035);
}

.home-page .signal-band h2 {
  margin-top: 8px;
  font-size: 28px;
  font-weight: 400;
}

.home-page .signal-band p {
  max-width: 620px;
  color: rgba(241, 236, 226, 0.43);
  font-size: 12px;
  line-height: 1.8;
}

.home-page .signal-band-actions {
  gap: 22px;
}

.home-page .signal-band-actions .button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
}

/* --------------------------------------------------------------------------
   Boarding
   -------------------------------------------------------------------------- */

.home-page .boarding {
  padding: 178px 0 176px;
  background:
    radial-gradient(circle at 50% 44%, rgba(91, 112, 142, 0.14), transparent 28%),
    radial-gradient(circle at 50% 50%, rgba(172, 139, 89, 0.065), transparent 52%);
}

.home-page .boarding::before {
  width: min(92vw, 1280px);
  border-color: rgba(236, 226, 208, 0.035);
}

.home-page .boarding-orbit {
  width: min(82vw, 1120px);
  border-color: rgba(236, 226, 208, 0.045);
}

.home-page .boarding-inner {
  display: flex;
  flex-direction: column;
  gap: 62px;
  align-items: center;
  text-align: center;
}

.home-page .boarding-copy {
  display: flex;
  max-width: 980px;
  flex-direction: column;
  align-items: center;
}

.home-page .boarding-copy .section-rail {
  margin-bottom: 28px;
}

.home-page .boarding-copy .kicker {
  justify-content: center;
  color: rgba(241, 236, 226, 0.38);
  font-size: 9px;
}

.home-page .boarding-copy h2 {
  margin: 24px auto 30px;
  font: clamp(50px, 5.9vw, 88px)/1.14 var(--font-display);
  font-weight: 400;
  letter-spacing: -0.052em;
}

.home-page .boarding-copy h2 em {
  color: var(--ed-gold-bright);
  font-style: normal;
  font-weight: 400;
}

.home-page .boarding-sub {
  max-width: 610px;
  margin: 0 auto;
  color: rgba(241, 236, 226, 0.47);
  font-size: 13.5px;
  line-height: 2;
}

.home-page .wishlist-panel {
  width: min(620px, 100%);
  padding: 29px 29px 25px;
  border-color: rgba(236, 218, 180, 0.2);
  border-radius: 26px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.028), transparent 45%),
    rgba(9, 11, 18, 0.8);
  box-shadow:
    0 55px 130px rgba(0, 0, 0, 0.44),
    0 0 80px rgba(185, 158, 112, 0.035);
  text-align: left;
}

.home-page .wishlist-head {
  margin-bottom: 26px;
}

.home-page .wishlist-input-wrap {
  border-radius: 15px;
}

/* --------------------------------------------------------------------------
   Footer — keep it low, wide and quiet
   -------------------------------------------------------------------------- */

.home-page .site-footer {
  padding-top: 118px;
  border-top-color: var(--ed-line-soft);
}

.home-page .footer-statement {
  font-weight: 400;
  color: rgba(241, 236, 226, 0.56);
}

.home-page .footer-wordmark {
  color: transparent;
  -webkit-text-stroke-color: rgba(236, 226, 208, 0.08);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1300px) {
  .home-page .header-status {
    display: none;
  }

  .home-page .hero .floating-note-a { left: 0.5%; }
  .home-page .hero .floating-note-b { right: 0.5%; }
}

@media (max-width: 1100px) {
  .home-page .section-shell,
  .home-page .signal-band .section-shell {
    width: calc(100vw - 56px);
  }

  .home-page .section-shell-wide {
    width: calc(100vw - 48px);
  }

  .home-page .header-inner {
    width: calc(100vw - 48px);
  }

  .home-page .hero .celestial-instrument {
    width: clamp(280px, 38vw, 380px);
  }

  .home-page .hero h1 {
    font-size: clamp(52px, 6.6vw, 74px);
  }

  .home-page .floating-note {
    display: none;
  }

  .home-page .principles article {
    min-height: 280px;
    padding: 26px 24px 30px;
  }

  .home-page .principles article > span {
    margin-bottom: 58px;
  }

  .home-page .capability-card {
    min-height: 440px;
  }

  .home-page .capability-large {
    min-height: 540px;
  }
}

@media (max-width: 900px) {
  .home-page .hero {
    padding-top: 104px;
  }

  .home-page .hero-coordinate {
    display: none;
  }

  .home-page .system-heading,
  .home-page .capability-heading,
  .home-page .log-heading {
    margin-bottom: 58px;
  }

  .home-page .principles {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-page .principles article {
    min-height: 0;
  }

  .home-page .principles article > span {
    margin-bottom: 34px;
  }

  .home-page .capability-grid {
    grid-template-columns: 1fr;
  }

  .home-page .capability-card,
  .home-page .capability-large {
    min-height: 470px;
  }

  .home-page .signal-band-inner {
    grid-template-columns: auto 1fr;
    gap: 24px;
  }

  .home-page .signal-band-actions {
    grid-column: 1 / -1;
    padding-top: 6px;
  }

  .home-page .log-preview {
    padding: 0 20px;
  }

  .home-page .log-preview-item {
    grid-template-columns: auto 1fr auto;
    gap: 8px 18px;
  }

  .home-page .log-preview-date {
    justify-self: end;
  }

  .home-page .log-preview-title {
    grid-column: 1 / -1;
  }

  .home-page .log-preview-arrow {
    display: none;
  }
}

@media (max-width: 820px) {
  .home-page .hero-kicker {
    display: none;
  }

  .home-page .site-header {
    height: 76px;
  }

  .home-page .header-inner {
    width: calc(100vw - 32px);
  }

  .home-page .header-cta,
  .home-page .locale-toggle {
    height: 38px;
  }

  .home-page .header-cta {
    padding: 0 15px;
  }

  .home-page .locale-toggle {
    padding: 0 12px;
  }

  .home-page .hero {
    min-height: 100svh;
    padding: 96px 20px 58px;
  }

  .home-page .hero .celestial-instrument {
    width: min(76vw, 360px);
  }

  .home-page .hero h1 {
    font-size: clamp(46px, 11.5vw, 68px);
    line-height: 1.1;
  }

  .home-page .hero-sub {
    max-width: 480px;
    font-size: 13.5px;
  }

  .home-page .hero-actions {
    margin-top: 30px;
  }

  .home-page .hero-footnote {
    gap: 18px;
    margin-top: 28px;
    font-size: 7px;
  }

  .home-page .hero-scroll {
    display: none;
  }

  .home-page .system-section,
  .home-page .capabilities,
  .home-page .log-teaser {
    padding: 112px 0 100px;
  }

  .home-page .prologue {
    padding: 118px 0 104px;
  }

  .home-page .wordmark-scene {
    padding: 54px 0 38px;
  }

  .home-page .wordmark-etymology {
    margin-top: 22px;
  }

  .home-page .manifesto-layout {
    padding-top: 58px;
  }

  .home-page .manifesto-quote p {
    font-size: clamp(29px, 7.6vw, 42px);
  }

  .home-page .product-stage {
    padding: 24px 14px 28px;
    border-radius: 22px;
  }

  .home-page .stage-coordinate {
    display: none;
  }

  .home-page .instrument-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .home-page .signal-band {
    padding-bottom: 24px;
  }

  .home-page .signal-band .section-shell {
    width: calc(100vw - 40px);
  }

  .home-page .signal-band-inner {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    border-radius: 22px;
    text-align: left;
  }

  .home-page .signal-band-icon {
    width: 50px;
    height: 50px;
  }

  .home-page .boarding {
    padding: 116px 0 120px;
  }

  .home-page .boarding-inner {
    gap: 44px;
  }

  .home-page .boarding-copy h2 {
    font-size: clamp(44px, 12vw, 62px);
  }
}

@media (max-width: 560px) {
  .home-page .section-shell,
  .home-page .section-shell-wide,
  .home-page .signal-band .section-shell {
    width: calc(100vw - 36px);
  }

  .home-page .brand-cn {
    font-size: 17px;
  }

  .home-page .brand-en {
    font-size: 6px;
  }

  .home-page .header-cta {
    display: none;
  }

  .home-page .locale-toggle {
    height: 36px;
  }

  .home-page .hero {
    padding: 90px 18px 44px;
  }

  .home-page .hero .celestial-instrument {
    width: min(74vw, 292px);
    margin-bottom: 0;
  }

  .signal-node {
    width: 36px;
    height: 36px;
  }

  .signal-node .icon {
    width: 14px;
    height: 14px;
  }

  .home-page .hero .label-signal {
    display: none;
  }

  .home-page .hero h1 {
    font-size: clamp(40px, 11vw, 52px);
    letter-spacing: -0.06em;
  }

  .home-page .hero-sub {
    margin-top: 22px;
    font-size: 12.5px;
    line-height: 1.9;
  }

  .home-page .hero-sub .desktop-break {
    display: none;
  }

  .home-page .hero-actions {
    gap: 9px;
    margin-top: 26px;
  }

  .home-page .hero-actions .button {
    min-height: 48px;
    padding: 0 19px;
    gap: 12px;
    font-size: 11.5px;
  }

  .home-page .hero-footnote {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    margin-top: 24px;
    font-size: 6.5px;
  }

  .home-page .hero-footnote span + span::before {
    left: -8px;
  }

  .home-page .section-rail {
    font-size: 7px;
    letter-spacing: 0.18em;
  }

  .home-page .system-heading h2,
  .home-page .capability-heading h2,
  .home-page .log-heading h2 {
    font-size: clamp(36px, 10.4vw, 48px);
  }

  .home-page .capability-card,
  .home-page .capability-large {
    min-height: 420px;
    padding: 24px 22px 26px;
    border-radius: 22px;
  }

  .home-page .principles article {
    border-radius: 20px;
  }

  .home-page .instrument-metrics {
    gap: 9px;
  }

  .home-page .instrument-metrics > div,
  .home-page .instrument-metrics > div:last-child {
    padding: 20px 16px 22px;
    border-radius: 15px;
  }

  .home-page .instrument-metrics strong {
    font-size: 29px;
  }

  .home-page .log-preview {
    padding: 0 16px;
    border-radius: 20px;
  }

  .home-page .log-preview-item {
    padding: 20px 2px;
  }

  .home-page .signal-band-actions {
    gap: 16px;
  }

  .home-page .boarding-copy .section-rail {
    margin-bottom: 22px;
  }

  .home-page .boarding-copy h2 {
    margin-top: 20px;
    font-size: clamp(38px, 11.6vw, 52px);
  }

  .home-page .boarding-sub {
    font-size: 12.5px;
  }

  .home-page .wishlist-panel {
    padding: 22px 18px 20px;
    border-radius: 20px;
  }
}

@media (max-height: 900px) and (min-width: 900px) {
  .home-page .hero {
    padding-top: 96px;
    padding-bottom: 46px;
  }

  .home-page .hero .celestial-instrument {
    width: clamp(260px, 25vw, 340px);
  }

  .home-page .hero h1 {
    font-size: clamp(50px, 5.2vw, 78px);
  }

  .home-page .hero-sub {
    margin-top: 22px;
  }

  .home-page .hero-actions {
    margin-top: 28px;
  }

  .home-page .hero-footnote {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .signal-node {
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   English wordmark — nine letters, so it gets its own optical scale
   -------------------------------------------------------------------------- */

html.locale-en .home-page .wordmark-display {
  font-size: clamp(88px, 13.5vw, 210px);
  letter-spacing: -0.055em;
}

[data-locale="en"] .footer-wordmark {
  font-size: clamp(64px, 11vw, 168px);
  letter-spacing: -0.06em;
}

/* --------------------------------------------------------------------------
   Doctrine statement — one line held at full width
   -------------------------------------------------------------------------- */

.home-page .statement-band {
  position: relative;
  padding: clamp(84px, 12vw, 180px) 0;
  text-align: center;
  isolation: isolate;
}

.home-page .statement-band::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(60% 120% at 50% 50%, rgba(185, 158, 112, 0.06), transparent 62%),
    radial-gradient(40% 80% at 50% 0%, rgba(120, 140, 170, 0.05), transparent 70%);
  content: "";
  pointer-events: none;
}

.home-page .statement-rule {
  width: min(1540px, calc(100vw - 64px));
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(228, 220, 204, 0.16), transparent);
}

.home-page .statement-inner {
  display: grid;
  gap: clamp(22px, 3vw, 40px);
  justify-items: center;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.home-page .statement-band p {
  max-width: 1180px;
  margin: 0;
  color: rgba(240, 236, 228, 0.9);
  font: 400 clamp(32px, 5.6vw, 96px)/1.14 var(--font-display);
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.home-page .statement-band p em {
  color: var(--gold-bright);
  font-style: normal;
}

.home-page .statement-index,
.home-page .statement-signature {
  color: var(--paper-faint);
  font: 9px/1 var(--font-mono);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.home-page .statement-signature {
  color: rgba(185, 158, 112, 0.38);
}

@media (max-width: 720px) {
  .home-page .statement-rule {
    width: calc(100vw - 40px);
  }

  .home-page .statement-band p {
    font-size: clamp(26px, 8.4vw, 40px);
    line-height: 1.26;
  }
}

/* --------------------------------------------------------------------------
   Scroll choreography
   Apple-product-page pacing, built from transform/opacity only.
   Geometry is owned by layout; motion is owned by js/motion.js via [data-hero],
   [data-scrub] and [data-showcase]. Without that class nothing here moves.
   -------------------------------------------------------------------------- */

html.scroll-motion .home-page .hero-content {
  transform: translate3d(0, calc(var(--hero-p, 0) * -6.5vh), 0);
  opacity: clamp(0, calc(1 - var(--hero-p, 0) * 1.05), 1);
  will-change: transform, opacity;
}

html.scroll-motion .home-page .hero .celestial-instrument {
  transform:
    translate3d(
      var(--instrument-x, 0px),
      calc(var(--instrument-y, 0px) + var(--hero-p, 0) * 13vh),
      0
    )
    scale(calc(1 - var(--hero-p, 0) * 0.09));
  opacity: clamp(0, calc(1 - var(--hero-p, 0) * 0.5), 1);
  will-change: transform, opacity;
}

html.scroll-motion .home-page .hero-ambient {
  transform: translate3d(0, calc(var(--hero-p, 0) * 8vh), 0) scale(calc(1 + var(--hero-p, 0) * 0.06));
}

html.scroll-motion .home-page .hero-coordinate-a {
  transform: translate3d(0, calc(var(--hero-p, 0) * -14vh), 0);
  opacity: clamp(0, calc(1 - var(--hero-p, 0) * 1.6), 1);
}

html.scroll-motion .home-page .hero-coordinate-b {
  transform: translate3d(0, calc(var(--hero-p, 0) * 10vh), 0);
  opacity: clamp(0, calc(1 - var(--hero-p, 0) * 1.6), 1);
}

html.scroll-motion .home-page .hero-scroll {
  opacity: clamp(0, calc(1 - var(--hero-p, 0) * 2.6), 1);
}

/* Doctrine scrub — the sentence tightens and settles into focus. */
html.scroll-motion .home-page .statement-band p {
  opacity: clamp(0.1, calc(var(--p, 0) * 2.6), 1);
  transform: translate3d(0, calc((0.44 - var(--p, 0)) * 86px), 0);
  letter-spacing: calc(0.05em - var(--p, 0) * 0.05em);
  filter: blur(clamp(0px, calc((0.3 - var(--p, 0)) * 12px), 3.5px));
  will-change: transform, opacity;
}

html.scroll-motion .home-page .statement-index,
html.scroll-motion .home-page .statement-signature {
  opacity: clamp(0, calc(var(--p, 0) * 2.2 - 0.25), 1);
}

/* --- The pinned instrument ------------------------------------------------ */

.home-page .system-section.showcase {
  overflow: clip;
}

.showcase-track {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(288px, 0.78fr);
  align-items: stretch;
  gap: clamp(44px, 5.5vw, 104px);
  margin-top: clamp(52px, 6vw, 96px);
}

.showcase-visual {
  position: relative;
  min-width: 0;
}

.showcase-sticky {
  position: sticky;
  top: clamp(96px, 10.5vh, 112px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.showcase-sticky .product-stage {
  margin: 0;
  padding-block: 52px 46px;
}

.showcase-caption {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 8px;
  color: rgba(216, 189, 138, 0.62);
  font: 9px/1 var(--font-mono);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.showcase-caption span:first-child {
  min-width: 5ch;
  color: var(--gold-bright);
  font-size: 11px;
  letter-spacing: 0.22em;
  transition: color 0.5s var(--ease-out);
}

.showcase-caption [data-showcase-time].is-pulsing {
  animation: showcase-time-in 0.55s var(--ease-out);
}

@keyframes showcase-time-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.showcase-caption::after {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(216, 189, 138, 0.26), transparent);
  content: "";
}

/* Beat copy: dim, then snap into focus as it crosses the reading line. */
.showcase-beats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 8vh, 96px) 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.showcase-beat {
  position: relative;
  display: flex;
  min-height: clamp(240px, 46vh, 430px);
  flex-direction: column;
  justify-content: center;
  padding: 26px 0 26px 30px;
  border-left: 1px solid rgba(236, 226, 208, 0.1);
  opacity: 0.32;
  transform: translate3d(12px, 0, 0);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.75s var(--ease-out),
    border-color 0.6s var(--ease-out);
}

.showcase-beat::before {
  position: absolute;
  top: 50%;
  left: -3.5px;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: rgba(236, 226, 208, 0.24);
  content: "";
  transition:
    background 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out),
    scale 0.5s var(--ease-out);
}

.showcase-beat.is-active {
  border-left-color: rgba(216, 189, 138, 0.42);
  opacity: 1;
  transform: none;
}

.showcase-beat.is-active::before {
  background: var(--gold-bright);
  box-shadow:
    0 0 0 4px rgba(216, 189, 138, 0.09),
    0 0 20px rgba(216, 189, 138, 0.55);
  scale: 1.15;
}

.showcase-beat .beat-time {
  display: block;
  color: rgba(241, 236, 226, 0.34);
  font: 10px/1 var(--font-mono);
  letter-spacing: 0.26em;
  transition: color 0.5s var(--ease-out);
}

.showcase-beat.is-active .beat-time {
  color: var(--gold-bright);
}

.showcase-beat h3 {
  margin: 14px 0 10px;
  color: rgba(246, 242, 234, 0.94);
  font: 400 clamp(23px, 2.05vw, 33px)/1.28 var(--font-display);
  letter-spacing: -0.012em;
}

.showcase-beat p {
  max-width: 35ch;
  margin: 0;
  color: rgba(241, 236, 226, 0.5);
  font-size: 13px;
  line-height: 1.95;
}

/* The instrument answers each beat. */
.showcase .product-stage {
  transform: scale(1);
  transition:
    transform 1.1s var(--ease-out),
    box-shadow 1s var(--ease-out),
    border-color 1s var(--ease-out);
}

.showcase[data-beat="0"] .product-stage {
  transform: translate3d(0, 8px, 0) rotate(-0.35deg) scale(0.972);
}

.showcase[data-beat="1"] .product-stage {
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
}

.showcase[data-beat="2"] .product-stage {
  transform: translate3d(0, -6px, 0) rotate(0.25deg) scale(0.984);
}

.showcase .signal-card,
.showcase .reading-pane,
.showcase .insight-card,
.showcase .product-window,
.showcase .floating-note {
  transition:
    box-shadow 0.85s var(--ease-out),
    filter 0.85s var(--ease-out),
    opacity 0.85s var(--ease-out);
}

.showcase[data-beat="0"] .signal-card {
  box-shadow:
    0 0 0 1px rgba(216, 189, 138, 0.26),
    0 18px 50px rgba(216, 189, 138, 0.08);
}

.showcase[data-beat="1"] .reading-pane {
  box-shadow: inset 0 0 0 1px rgba(216, 189, 138, 0.2);
}

.showcase[data-beat="1"] .insight-card {
  box-shadow:
    0 0 0 1px rgba(137, 166, 205, 0.26),
    0 18px 50px rgba(92, 122, 164, 0.16);
}

.showcase[data-beat="2"] .product-window {
  filter: saturate(0.78) brightness(0.86);
}

.showcase[data-beat="2"] .floating-note {
  opacity: 0.32;
}

@media (max-height: 860px) and (min-width: 901px) {
  .showcase-sticky {
    top: 78px;
  }

  .showcase-sticky .product-stage {
    padding-block: 30px 34px;
  }
}

@media (max-width: 900px) {
  .home-page .system-section.showcase {
    overflow: clip;
  }

  .showcase-track {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-top: 40px;
  }

  .showcase-sticky {
    position: static;
    top: auto;
  }

  .showcase-sticky .product-stage {
    padding-block: 38px 46px;
  }

  .showcase-beats {
    padding: 18px 0 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .showcase-beat {
    min-height: 0;
    padding: 22px 0 22px 24px;
    opacity: 0.5;
    transform: translate3d(8px, 0, 0);
  }

  .showcase-beat.is-active {
    opacity: 1;
    transform: none;
  }

  .showcase-beat h3 {
    font-size: clamp(21px, 5.6vw, 27px);
  }

  .showcase-beat p {
    max-width: 46ch;
    font-size: 12.5px;
  }

  .showcase-caption {
    padding: 0 4px;
  }

  .showcase[data-beat="0"] .product-stage,
  .showcase[data-beat="1"] .product-stage,
  .showcase[data-beat="2"] .product-stage {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-beats {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .showcase-beat {
    opacity: 1;
    transform: none;
  }

  .showcase .product-stage,
  .showcase[data-beat="0"] .product-stage,
  .showcase[data-beat="1"] .product-stage,
  .showcase[data-beat="2"] .product-stage {
    transform: none;
  }

  .showcase[data-beat="2"] .product-window {
    filter: none;
  }
}

/* --------------------------------------------------------------------------
   Boot sequence — "acquisition of signal"
   The veil lives in the HTML so it paints on the first frame; boot.js drives
   the counter and lifts the curtain. A 4s CSS fail-safe hides it if JS dies.
   -------------------------------------------------------------------------- */

.boot {
  position: fixed;
  z-index: 8000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 42% 36% at 50% 46%, rgba(221, 193, 144, 0.07), transparent 72%),
    radial-gradient(ellipse 66% 50% at 50% 104%, rgba(76, 96, 124, 0.1), transparent 70%),
    #06070b;
  will-change: transform;
}

.boot::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 189, 138, 0.65), transparent);
  box-shadow: 0 0 28px 1px rgba(216, 189, 138, 0.3);
  content: "";
  opacity: 0;
  transition: opacity 0.3s ease;
}

.boot.is-lifting::after {
  opacity: 1;
}

.boot.is-lifted {
  transform: translate3d(0, -101%, 0);
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}

.boot-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.8s var(--ease-out);
}

.boot.is-armed .boot-core {
  opacity: 1;
  transform: translateY(0);
}

.boot.is-lifting .boot-core {
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.3s ease,
    transform 0.45s var(--ease-out);
}

.boot-sigil {
  display: block;
  width: 52px;
  height: 52px;
  color: rgba(226, 205, 163, 0.85);
}

.boot-sigil svg {
  display: block;
  width: 100%;
  height: 100%;
}

.boot-ring {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: boot-spin 7s linear infinite;
}

.boot-ring-inner {
  animation-duration: 4.5s;
  animation-direction: reverse;
}

@keyframes boot-spin {
  to {
    rotate: 360deg;
  }
}

.boot-word {
  padding-left: 0.44em;
  color: rgba(244, 239, 229, 0.94);
  font: 400 26px/1 var(--font-display);
  letter-spacing: 0.44em;
}

.boot-bar {
  position: relative;
  display: block;
  width: 224px;
  height: 1px;
  overflow: hidden;
  background: rgba(236, 226, 208, 0.12);
}

.boot-bar i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(216, 189, 138, 0.35), var(--gold-bright));
  transform: scaleX(var(--boot, 0));
  transform-origin: left center;
}

.boot-meta {
  display: flex;
  width: 224px;
  justify-content: space-between;
  color: rgba(236, 226, 208, 0.38);
  font: 9px/1 var(--font-mono);
  letter-spacing: 0.26em;
}

.boot-count {
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.18em;
}

/* The page holds still while the instrument acquires signal. */
html.is-booting {
  overflow: hidden;
}

html.is-booting .header-inner {
  padding-right: var(--boot-gutter, 0px);
}

html.is-booting .site-header {
  transform: translateY(-100%);
}

html.is-booting .scroll-progress {
  opacity: 0;
}

.home-page .starfield,
.home-page .page-vignette {
  transition: opacity 1.2s ease;
}

html.is-booting .home-page .starfield,
html.is-booting .home-page .page-vignette {
  opacity: 0;
}

html.is-intro .site-header {
  animation: site-header-in 1s var(--ease-out) both;
}

@keyframes site-header-in {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

html.is-booting .home-page .hero-content > [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}

html.is-intro .home-page .hero-content > [data-reveal] {
  transition-duration: 1.2s;
}

html.is-intro .home-page .hero-content > [data-reveal]:nth-child(1) {
  transition-delay: 0.18s;
}

html.is-intro .home-page .hero-content > [data-reveal]:nth-child(2) {
  transition-delay: 0.26s;
}

html.is-intro .home-page .hero-content > [data-reveal]:nth-child(3) {
  transition-delay: 0.34s;
}

html.is-intro .home-page .hero-content > [data-reveal]:nth-child(4) {
  transition-delay: 0.42s;
}

html.is-intro .home-page .hero-content > [data-reveal]:nth-child(5) {
  transition-delay: 0.5s;
}

@media (max-width: 720px) {
  .boot-word {
    font-size: 21px;
    letter-spacing: 0.36em;
    padding-left: 0.36em;
  }

  .boot-bar,
  .boot-meta {
    width: 186px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .boot {
    display: none;
  }
}
