/* === Sections: scroll-reveal sentence, sticky workflow, CTA === */

/* === Scroll-reveal sentence — sticky pinned, scroll drives word reveal === */
.reveal-section {
  border-top: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
  background: transparent;
  position: relative;
  z-index: 2;
  /* Tall scroll runway: gives ~1.6 screens of scroll room while pinned */
  height: 240vh;
  padding: 0;
}
.reveal-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}
.reveal-sentence {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-serif-cn);
  font-weight: 300;
  font-size: clamp(28px, 4.5vw, 64px);
  line-height: 1.45;
  color: var(--fg-0);
  letter-spacing: 0.04em;
}
/* Language-aware visibility: only the matching-language sentence is shown */
html[lang="en"] .reveal-sentence--zh,
html:not([lang="en"]) .reveal-sentence--en { display: none; }
.reveal-sentence--en {
  font-family: var(--font-display);
  font-weight: 200;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.reveal-sentence .pill-inline,
.reveal-sentence .pill-inverse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 16px;
  margin: 0 4px;
  vertical-align: middle;
  font-family: var(--font-serif-cn);
  font-weight: 300;
}
.reveal-sentence .pill-inline {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-subtle);
  color: var(--fg-0);
}
.reveal-sentence .pill-inverse {
  background: var(--gold);
  color: var(--bg-0);
}
.reveal-sentence .pill-inline svg,
.reveal-sentence .pill-inverse svg {
  width: 22px;
  height: 22px;
}

/* Climax glow on "包容人性" */
.reveal-sentence .pill-glow {
  position: relative;
  background: rgba(212,164,80,0.14);
  border-color: rgba(212,164,80,0.55);
  color: var(--gold-light);
  text-shadow: 0 0 18px rgba(255,225,170,0.55);
  box-shadow:
    0 0 24px rgba(212,164,80,0.45),
    0 0 60px rgba(212,164,80,0.25),
    inset 0 0 18px rgba(212,164,80,0.18);
  animation: pill-glow-breathe 3.6s ease-in-out infinite;
}
.reveal-sentence .pill-glow::before {
  content: "";
  position: absolute;
  inset: -28px;
  background: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(212,164,80,0.55), rgba(212,164,80,0.15) 45%, transparent 75%);
  filter: blur(18px);
  z-index: -1;
  pointer-events: none;
  animation: pill-glow-aura 4.5s ease-in-out infinite;
}
@keyframes pill-glow-breathe {
  0%, 100% {
    box-shadow:
      0 0 24px rgba(212,164,80,0.45),
      0 0 60px rgba(212,164,80,0.25),
      inset 0 0 18px rgba(212,164,80,0.18);
  }
  50% {
    box-shadow:
      0 0 38px rgba(255,225,170,0.6),
      0 0 100px rgba(212,164,80,0.4),
      inset 0 0 26px rgba(255,225,170,0.28);
  }
}
@keyframes pill-glow-aura {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.08); }
}

/* === Sticky workflow (products) === */
.workflow {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-subtle);
}
.workflow-grid {
  display: flex;
  flex-direction: column;
}
@media (min-width: 1024px) {
  .workflow-grid { flex-direction: row; }
}

.workflow-sticky {
  padding: 60px 0 40px;
}
@media (min-width: 1024px) {
  .workflow-sticky {
    width: 50%;
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 60px;
    border-right: 1px solid var(--line-subtle);
  }
}

.workflow-title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--fg-0);
  margin-bottom: 40px;
}
.workflow-title-cn {
  font-family: var(--font-serif-cn);
  font-weight: 300;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--fg-0);
  margin-bottom: 8px;
}
.workflow-title-sub {
  display: block;
  color: var(--fg-3);
  margin-top: 4px;
}

.workflow-steps {
  display: none;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}
@media (min-width: 1024px) { .workflow-steps { display: flex; } }

.step-trigger {
  display: flex;
  align-items: center;
  gap: 24px;
  cursor: pointer;
}
.step-trigger-line {
  width: 2px;
  height: 48px;
  background: rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}
.step-indicator {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-out);
}
.step-trigger.is-active .step-indicator { transform: translateY(0); }

.step-trigger h3 {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 4px;
  transition: color var(--dur-fast) var(--ease-out);
}
.step-trigger.is-active h3 { color: var(--fg-0); }
.step-trigger p {
  font-family: var(--font-cn);
  font-size: 12.5px;
  color: var(--fg-3);
}

/* Sticky preview panel */
.workflow-preview {
  display: none;
  width: 100%;
  aspect-ratio: 16/10;
  border: 1px solid var(--line-subtle);
  background: var(--bg-1);
  position: relative;
  overflow: hidden;
}
@media (min-width: 1024px) { .workflow-preview { display: block; } }
.preview-frame {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  transition: opacity 0.7s var(--ease-out);
  background: radial-gradient(circle at 60% 40%, rgba(212,164,80,0.12), transparent 60%), var(--bg-1);
}
.preview-frame.is-active { opacity: 1; }
.preview-frame .preview-mock {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.preview-frame-label {
  position: absolute;
  left: 18px;
  bottom: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  z-index: 2;
}

.workflow-scroll {
  width: 100%;
}
@media (min-width: 1024px) { .workflow-scroll { width: 50%; } }

/* Each step is a tall scroll runway; the inner pins for ~1 screen
   so the content snaps to a fixed position before yielding to the next. */
.workflow-step {
  min-height: 150vh;
  display: block;
  padding: 0;
  border-bottom: 0;
}
@media (min-width: 1024px) {
  .workflow-step { min-height: 180vh; }
}
.workflow-step-inner {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 0;
}
@media (min-width: 1024px) {
  .workflow-step-inner {
    padding: 80px 0 80px 60px;
  }
}

.workflow-step-num {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(48px, 5vw, 72px);
  color: rgba(255,255,255,0.07);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}
.workflow-step h3 {
  font-family: var(--font-serif-cn);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--fg-0);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.workflow-step p {
  font-family: var(--font-cn);
  font-size: 15px;
  line-height: 1.8;
  color: var(--fg-2);
  margin-bottom: 24px;
  max-width: 520px;
}
.workflow-step ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.workflow-step li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--fg-1);
}
.workflow-step li svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

/* === Workflow step CTA (bottom-right corner button) ===
   NOTE: .workflow-step-inner already has `position: sticky` which establishes
   a containing block for absolutely-positioned children — do NOT add
   `position: relative` here, it would override sticky and break the pin. */
.workflow-step-cta {
  position: absolute;
  right: 0;
  bottom: 60px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-2);
  text-decoration: none;
  padding: 12px 18px;
  border: 1px solid var(--line-medium);
  border-radius: 2px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: color .4s var(--ease-out), border-color .4s var(--ease-out), background .4s var(--ease-out);
}
.workflow-step-cta:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(212,164,80,0.06);
}
.workflow-step-cta svg {
  width: 14px;
  height: 14px;
  transition: transform .4s var(--ease-out);
}
.workflow-step-cta:hover svg { transform: translateX(4px); }
@media (min-width: 1024px) {
  .workflow-step-cta { bottom: 80px; right: 0; }
}

/* === Mosaic results === */
.mosaic {
  padding: 100px 0 60px;
  border-top: 1px solid var(--line-subtle);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position: relative;
  z-index: 2;
}
.mosaic-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-subtle);
}
@media (min-width: 768px) {
  .mosaic-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.mosaic-title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(48px, 7vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--fg-0);
}

.mosaic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-subtle);
}
@media (min-width: 768px) { .mosaic-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .mosaic-grid { grid-template-columns: 1fr 1fr 1fr; } }

.mosaic-cell {
  position: relative;
  background: var(--bg-1);
  aspect-ratio: 4/5;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: background var(--dur) var(--ease-out);
  isolation: isolate;
}
.mosaic-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(212,164,80,0.1), transparent 50%),
    repeating-linear-gradient(45deg, transparent 0, transparent 6px, rgba(255,255,255,0.025) 6px, rgba(255,255,255,0.025) 7px);
  opacity: 0.6;
  z-index: -1;
  transition: opacity var(--dur) var(--ease-out);
}
.mosaic-cell:hover { background: var(--bg-card); }
.mosaic-cell:hover::before { opacity: 1; }

.mosaic-tag {
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-3);
  border: 1px solid var(--line-subtle);
  padding: 3px 8px;
}
.mosaic-cell h3 {
  font-family: var(--font-serif-cn);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--fg-0);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.mosaic-cell-en {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 12px;
}
.mosaic-cell-desc {
  font-family: var(--font-cn);
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.6;
  max-width: 240px;
}
.mosaic-cell-corner {
  position: absolute;
  bottom: 18px; right: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.mosaic-cell--coming .mosaic-cell-corner { color: var(--fg-4); }

/* === Screenshot-backed mosaic cells === */
.mosaic-cell-img {
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  height: 46%;
  width: auto;
  max-width: calc(100% - 56px);
  object-fit: contain;
  object-position: center center;
  z-index: 0;
  opacity: 0.78;
  filter: saturate(0.92) contrast(0.98);
  transition: opacity .5s var(--ease-out), filter .5s var(--ease-out), transform .8s var(--ease-out);
  pointer-events: none;
}
.mosaic-cell--has-img::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  bottom: 0;
  background: linear-gradient(180deg, rgba(8,8,8,0) 0%, rgba(8,8,8,0.92) 35%, rgba(8,8,8,1) 100%);
  z-index: 0;
  pointer-events: none;
}
.mosaic-cell--has-img > h3,
.mosaic-cell--has-img > .mosaic-cell-en,
.mosaic-cell--has-img > .mosaic-cell-desc { position: relative; z-index: 1; }
.mosaic-cell--has-img .mosaic-tag { z-index: 2; }
.mosaic-cell--has-img .mosaic-cell-corner { z-index: 2; }
.mosaic-cell--has-img:hover .mosaic-cell-img {
  opacity: 1;
  filter: saturate(1.05) contrast(1);
  transform: scale(1.02);
}

/* Live cells are <a> links — strip default link styling and add hover lift */
a.mosaic-cell {
  color: inherit;
  text-decoration: none;
  transition: background .4s var(--ease-out), transform .4s var(--ease-out), border-color .4s var(--ease-out);
}
a.mosaic-cell:hover .mosaic-cell-corner { color: var(--gold-light); }

/* === Subhero (used by about.html / docs.html) === */
.subhero {
  position: relative;
  padding: 110px 0 100px;
  text-align: center;
  z-index: 2;
}
@media (min-width: 768px) {
  .subhero { padding: 130px 0 140px; }
}
/* English layout is denser — pull the subhero up a notch */
html[lang="en"] .subhero { padding-top: 90px; }
@media (min-width: 768px) {
  html[lang="en"] .subhero { padding-top: 110px; }
}
/* Hide empty subtitle (used when EN replaces title_en with the single combined subtitle) */
.subhero-desc:empty { display: none; }
.subhero-eyebrow { margin-bottom: 32px; }
.subhero-title-cn {
  font-family: var(--font-serif-cn);
  font-weight: 300;
  font-size: clamp(56px, 11vw, 150px);
  line-height: 1.02;
  letter-spacing: 0.04em;
  color: var(--fg-0);
  padding-bottom: 0.08em;
}
.subhero-title-en {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(28px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dim) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: 36px;
}
.subhero-desc {
  font-family: var(--font-cn);
  font-size: clamp(13px, 1.5vw, 17px);
  color: var(--fg-2);
  max-width: 580px;
  margin: 36px auto 0;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

/* === Page section (generic for about/docs) === */
.page-section {
  position: relative;
  z-index: 2;
  padding: 90px 0 100px;
  border-top: 1px solid var(--line-subtle);
}
.page-section--solid {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
/* Sticky-pin variant: section becomes a scroll runway whose contents pin for ~100vh */
.page-section--sticky {
  min-height: 160vh;
  padding: 0;
}
.page-section--sticky .page-section-pin {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 90px 0 100px;
  width: 100%;
}
.page-section--sticky .page-section-pin > .container { width: 100%; }

/* === Founder section — photo locks to the sunrise-ring center (48vh from viewport top) === */
.page-section--founder .page-section-pin {
  display: block;
  padding: 0;
}
.founder-layout {
  position: relative;
  width: 100%;
  height: 100vh;
}
.founder-eyebrow {
  position: absolute;
  top: 12vh;
  left: 0;
  right: 0;
  width: max-content;
  margin-inline: auto;
  text-align: center;
}
.founder-photo {
  position: absolute;
  left: 0;
  right: 0;
  /* Position by top-edge instead of using translate(-50%) because `.reveal.is-visible` wipes transforms */
  top: calc(38vh - min(18vh, 18vw));
  margin-inline: auto;
  width: min(36vh, 36vw);
  height: min(36vh, 36vw);
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.founder-photo img,
.founder-photo > picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.founder-photo-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.founder-bio {
  position: absolute;
  top: calc(38vh + min(18vh, 18vw) + 40px);
  left: 0;
  right: 0;
  margin-inline: auto;
  max-width: 640px;
  width: calc(100% - 48px);
  text-align: center;
  padding: 0 24px;
  box-sizing: border-box;
}
.founder-meta {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.founder-name {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(38px, 4.4vw, 56px);
  letter-spacing: -0.035em;
  color: var(--fg-0);
  line-height: 1;
}
.founder-role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.founder-bio-lead {
  font-family: var(--font-serif-cn);
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--fg-0);
  margin-bottom: 18px;
  max-width: 720px;
  margin-inline: auto;
}
html[lang="en"] .founder-bio-lead {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  text-transform: none;
}
.founder-bio-text {
  font-family: var(--font-cn);
  font-size: clamp(14px, 1.5vw, 18px);
  color: var(--fg-2);
  line-height: 1.9;
  letter-spacing: 0.04em;
  margin-bottom: 26px;
  max-width: 560px;
  margin-inline: auto;
}
.founder-links {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: inline-flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.founder-link {
  color: var(--fg-2);
  text-decoration: none;
  transition: color .3s var(--ease-out);
}
a.founder-link:hover { color: var(--gold-light); }
.founder-link-sep { color: var(--fg-4); }

@media (max-width: 640px) {
  .founder-photo { width: 50vw; height: 50vw; top: calc(36vh - 25vw); }
  .founder-eyebrow { top: 9vh; }
  .founder-bio { top: calc(36vh + 25vw + 24px); }
}
@media (prefers-reduced-motion: reduce) {
  .page-section--sticky { min-height: 0; }
  .page-section--sticky .page-section-pin { position: static; min-height: 0; }
}
.page-section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 56px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-subtle);
}
@media (min-width: 768px) {
  .page-section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.page-section-title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(40px, 6vw, 90px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--fg-0);
}
.page-section-title-cn {
  font-family: var(--font-serif-cn);
  font-weight: 300;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: var(--fg-0);
}

/* === Story prose block === */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-subtle);
}
@media (min-width: 900px) { .story-grid { grid-template-columns: repeat(3, 1fr); } }
.story-cell {
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--font-cn);
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--fg-1);
  letter-spacing: 0.03em;
  min-height: 280px;
  position: relative;
}
.story-cell .story-num {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 44px;
  line-height: 1;
  color: rgba(255,255,255,0.08);
  letter-spacing: -0.04em;
  align-self: flex-start;
}
.story-cell::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

/* === Value cards (3-col) === */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-subtle);
}
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.value-card {
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 40px 32px 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  min-height: 280px;
  transition: background var(--dur-fast) var(--ease-out);
}
.value-card:hover { background: rgba(10, 7, 3, 0.7); }
.value-num {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(50px, 5vw, 72px);
  color: var(--gold-dim);
  line-height: 1;
  letter-spacing: -0.04em;
}
.value-title {
  font-family: var(--font-serif-cn);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 32px);
  color: var(--fg-0);
  letter-spacing: 0.06em;
  margin-top: 8px;
}
.value-desc {
  font-family: var(--font-cn);
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.85;
  letter-spacing: 0.02em;
}

/* === Pillars grid (about's three core pillars) === */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-subtle);
}
@media (min-width: 768px) { .pillars-grid { grid-template-columns: repeat(3, 1fr); } }
.pillar-card {
  background: rgba(0,0,0,0.4);
  padding: 56px 36px 60px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background var(--dur-fast) var(--ease-out);
}
.pillar-card:hover { background: rgba(12, 9, 4, 0.55); }
.pillar-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 140px; height: 140px;
  background: radial-gradient(circle at 70% 30%, var(--gold-glow), transparent 60%);
  opacity: 0.18;
  z-index: -1;
}
.pillar-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.pillar-title {
  font-family: var(--font-serif-cn);
  font-weight: 300;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: 0.05em;
  color: var(--fg-0);
  margin-top: 18px;
}
.pillar-desc {
  font-family: var(--font-cn);
  font-size: 14px;
  line-height: 1.85;
  color: var(--fg-2);
  margin-top: 24px;
  max-width: 32ch;
}

/* === Docs list rows === */
.docs-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line-subtle);
  border: 1px solid var(--line-subtle);
}
.docs-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 28px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background var(--dur-fast) var(--ease-out);
}
@media (min-width: 768px) {
  .docs-row { grid-template-columns: 80px 1fr 1fr auto; padding: 32px 36px; }
}
.docs-row:hover { background: rgba(14, 10, 4, 0.6); }
.docs-row-num {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--gold-dim);
  letter-spacing: -0.04em;
}
.docs-row-title {
  font-family: var(--font-serif-cn);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--fg-0);
  letter-spacing: 0.05em;
}
.docs-row-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-2);
  display: none;
}
@media (min-width: 768px) { .docs-row-sub { display: block; } }
.docs-row-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-2);
  border: 1px solid var(--line-medium);
  padding: 8px 14px;
  white-space: nowrap;
}
.docs-row-status--coming { color: var(--gold-dim); border-color: rgba(212,164,80,0.3); }
.docs-row-status--live { color: var(--gold-light); border-color: rgba(212,164,80,0.55); background: rgba(212,164,80,0.06); }

/* Live (linked) doc row — strip <a> defaults, add hover affordance */
a.docs-row--link { color: inherit; text-decoration: none; }
a.docs-row--link:hover .docs-row-title { color: var(--gold-light); }
a.docs-row--link:hover .docs-row-status--live { background: rgba(212,164,80,0.15); color: var(--gold); border-color: var(--gold); }

/* === Reading note callout (docs page) === */
.callout {
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line-subtle);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.callout::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 1px;
  background: var(--gold);
}
.callout p {
  font-family: var(--font-cn);
  font-size: 15px;
  line-height: 1.9;
  color: var(--fg-1);
  letter-spacing: 0.02em;
  max-width: 64ch;
}

/* === CTA === */
.cta {
  border-top: 1px solid var(--line-subtle);
  position: relative;
  z-index: 2;
  background: transparent;
  /* Tall scroll runway so content stays pinned for an extra screen */
  height: 180vh;
  padding: 0;
}
.cta-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}
.cta-eyebrow { margin-bottom: 32px; }
.cta-title {
  font-family: var(--font-serif-cn);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 132px);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: var(--fg-0);
  margin-bottom: 16px;
  mix-blend-mode: plus-lighter;
}
.cta-title-en {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 56px;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
@media (min-width: 600px) { .cta-actions { flex-direction: row; justify-content: center; gap: 12px; } }
