/* ============================================================
   半人马环 · Centaur Loop — v4 企业主版
   Palette: 米白 #FAF7F2 / 深空灰 #2C2C2E / 暖棕 #C0755A / 金 #E8B04B
   ============================================================ */

:root {
  --bg:        #FAF7F2;   /* 米白 */
  --bg-warm:   #F3ECE2;   /* 次背景，暖一档 */
  --ink:       #2C2C2E;   /* 深空灰 */
  --ink-soft:  #55534f;   /* 正文 */
  --ink-mute:  #8a857d;   /* 弱化 */
  --clay:      #C0755A;   /* 暖棕强调 */
  --clay-deep: #a35c43;
  --gold:      #E8B04B;   /* 记忆节点 */
  --gold-deep: #cf9326;
  --line:      rgba(44,44,46,0.12);
  --card:      #FFFDFA;
  --shadow:    0 18px 50px -28px rgba(44,30,20,0.35);
  --shadow-sm: 0 8px 24px -16px rgba(44,30,20,0.30);
  --r:         18px;
  --maxw:      1180px;
  --sans: "Noto Sans SC", "PingFang SC", -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;
  --serif: "Noto Serif SC", "Songti SC", serif;
  --mono: "Inter", ui-monospace, "JetBrains Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
strong, b { font-weight: 700; }
em { font-style: normal; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.mob-br { display: none; }

/* ---------- typography helpers ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--clay);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.eyebrow.center { justify-content: center; display: flex; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); }
.eyebrow .dot-gold { background: var(--gold); }

h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -0.01em; font-weight: 900; }
h2 { font-size: clamp(30px, 4.6vw, 54px); margin-bottom: 28px; }
h3 { font-size: clamp(21px, 2.4vw, 28px); }

.body { font-size: clamp(16px, 1.25vw, 18.5px); color: var(--ink-soft); margin-bottom: 18px; }
.body strong { color: var(--ink); }
.muted { color: var(--ink-mute); }
.narrow-center { max-width: 680px; margin-left: auto; margin-right: auto; }
.narrow-left { max-width: 720px; }
.hl-gold { color: var(--gold-deep); }
.hl-clay { color: var(--clay); }

.pull {
  font-family: var(--serif);
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.4;
  color: var(--ink);
  font-weight: 700;
  margin: 36px 0 8px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 600; font-size: 15.5px;
  padding: 13px 26px; border-radius: 10px;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease, color .25s;
  cursor: pointer; white-space: nowrap;
}
.btn .btn-icon { display: inline-block; vertical-align: middle; }
.btn-primary { background: var(--clay); color: #fff; box-shadow: 0 10px 24px -12px rgba(192,117,90,.8); }
.btn-primary:hover { background: var(--clay-deep); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--clay); color: var(--clay); }
.btn-lg { padding: 16px 34px; font-size: 16.5px; }

/* ---------- section rhythm ---------- */
.section { padding: clamp(86px, 11vw, 150px) 0; position: relative; }
.section-compose, .section-employee, .section-why { background: var(--bg-warm); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   NAV
   ============================================================ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 18px 0;
}
#nav.scrolled {
  background: rgba(250,247,242,0.85);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
  padding: 11px 0;
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); transition: color .3s; }
.brand-mark { width: 34px; height: 34px; flex: none; object-fit: contain; display: block; }
.brand-text { font-weight: 900; font-size: 17px; display: flex; flex-direction: column; line-height: 1.05; }
.brand-text em { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; font-weight: 600; color: var(--ink-mute); text-transform: uppercase; transition: color .3s; }
.nav-links { list-style: none; display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--clay); }
.nav-cta { padding: 9px 18px; font-size: 14px; }

/* nav over dark hero (before scroll): light text */
#nav.on-dark .brand { color: #F4F1EC; }
#nav.on-dark .brand-text em { color: rgba(244,241,236,0.6); }
#nav.on-dark .nav-links a { color: rgba(244,241,236,0.82); }
#nav.on-dark .nav-links a:hover { color: var(--gold); }

/* ============================================================
   SECTION 1 · HERO  (dark glowing low-poly loop)
   ============================================================ */
.hero {
  min-height: 100vh; position: relative; display: flex; align-items: center;
  overflow: hidden;
  background: var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 600px at 78% 50%, rgba(232,176,75,0.18) 0%, rgba(232,176,75,0) 60%),
    radial-gradient(700px 500px at 20% 30%, rgba(192,117,90,0.08) 0%, rgba(192,117,90,0) 60%);
  z-index: 0; pointer-events: none;
}

.hero-loop { display: none; }

/* faceted torus */
.hl-facet { stroke: rgba(255,255,255,0.05); stroke-width: 0.5; }
.hl-spin { transform-origin: 300px 300px; animation: spin 60s linear infinite; }
/* bright cycling flow arrows */
.hl-arrows { transform-origin: 300px 300px; animation: spin 14s linear infinite; }
.hl-arrow { fill: #f4a33c; filter: drop-shadow(0 0 6px rgba(244,163,60,0.85)); }
/* bloom halo behind the torus */
.hl-bloom { fill: none; stroke: #f0a23e; stroke-width: 26; opacity: 0.20; filter: blur(22px); }
.hl-bloom-inner { fill: none; stroke: #5b8bd0; stroke-width: 14; opacity: 0.22; filter: blur(16px); }
/* orbit + node satellites */
.hl-orbit { fill: none; stroke: rgba(240,162,62,0.45); stroke-width: 1; }
.hl-orbit-grp { transform-origin: 300px 300px; animation: spin 80s linear infinite; }
.hl-node-poly { fill: rgba(240,162,62,0.05); stroke: rgba(240,162,62,0.7); stroke-width: 1; }
.hl-node-cnt { transform-box: fill-box; transform-origin: center; animation: spin 18s linear infinite; }

.hero-content {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto;
  padding: 140px 28px 80px; width: 100%;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px); align-items: center;
}
.hero-copy { text-align: left; }
.hero-copy .eyebrow { color: var(--clay); display: inline-flex; }
.hero-copy .eyebrow .dot { background: var(--clay); }
.hero-title {
  font-size: clamp(40px, 6vw, 80px); line-height: 1.05; letter-spacing: -0.02em;
  margin: 8px 0 24px; color: var(--ink);
}
.hero-title .accent { color: var(--clay); }
.hero-sub { font-size: clamp(17px, 1.8vw, 22px); color: var(--ink-soft); font-weight: 500; margin-bottom: 12px; }
.hero-line { font-size: clamp(14.5px, 1.3vw, 17px); color: var(--ink-mute); margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-start; }

.hero-visual {
  position: relative; aspect-ratio: 1;
  width: 100%; max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.hero-visual::before {
  content: ""; position: absolute; inset: 8%;
  background: radial-gradient(circle, rgba(232,176,75,0.28) 0%, rgba(232,176,75,0) 65%);
  filter: blur(20px); z-index: 0;
}
.hero-visual img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: contain;
  animation: heroSpin 80s linear infinite;
}
@keyframes heroSpin { to { transform: rotate(360deg); } }

.hero-content > * { opacity: 0; transform: translateY(20px); animation: heroUp .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-copy { animation-delay: .1s; }
.hero-visual { animation-delay: .25s; }
@keyframes heroUp { to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 9px; color: var(--ink-mute); font-family: var(--mono); font-size: 11px; letter-spacing: .22em; }
.scroll-arrow { width: 1px; height: 36px; background: var(--ink-mute); position: relative; animation: scrollPulse 1.8s ease-in-out infinite; }
.scroll-arrow::after { content: ""; position: absolute; bottom: 0; left: -3px; width: 7px; height: 7px; border-right: 1px solid var(--ink-mute); border-bottom: 1px solid var(--ink-mute); transform: rotate(45deg); }
@keyframes scrollPulse { 0%,100% { opacity: .4; } 50% { opacity: 1; } }

.hw-shot {
  display: block; width: 100%; max-width: 360px; margin: 0 auto;
  height: auto; object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(44,30,20,0.18));
}

.os-shot {
  display: block; width: 100%; max-width: 460px; margin: 0 auto;
  height: auto; object-fit: contain; border-radius: 16px;
  background: #000;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.45);
}

@media (max-width: 860px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; padding-top: 110px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-visual { max-width: 360px; order: -1; }
}

/* ============================================================
   SECTION 2 · DEFINE
   ============================================================ */
.lead-block { margin: 30px 0 30px; }
.lead-block p { font-size: clamp(18px, 2vw, 23px); line-height: 1.55; margin-bottom: 10px; }
.lead-block .strike { color: var(--ink-mute); }
.lead-block .strike::before { content: "✕ "; color: var(--clay); font-weight: 700; }
.lead-block .affirm { color: var(--ink); font-weight: 500; margin-top: 18px; }
.lead-block .affirm::before { content: "✓ "; color: var(--gold-deep); font-weight: 700; }
.lead-block .affirm strong { color: var(--clay); }

.define-quote {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(22px, 3.2vw, 36px); line-height: 1.45;
  color: var(--ink); margin: 40px 0; padding: 34px 38px;
  background: linear-gradient(135deg, rgba(192,117,90,.08), rgba(232,176,75,.07));
  border-left: 4px solid var(--clay); border-radius: 0 14px 14px 0;
}

/* ============================================================
   SECTION 3 · COMPOSE (loop diagram)
   ============================================================ */
.compose-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; margin: 56px 0 30px; }
.loop-stage { position: relative; aspect-ratio: 1; max-width: 480px; margin: 0 auto; width: 100%; }
.loop-stage svg { width: 100%; height: 100%; overflow: visible; }

.loop-track { fill: none; stroke: var(--line); stroke-width: 2; }
.loop-arrow-path { fill: none; stroke: var(--clay); stroke-width: 2.5; stroke-linecap: round; opacity: .55; }
.loop-flow { fill: none; stroke: var(--clay); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 10 480; animation: loopFlow 4s linear infinite; }
@keyframes loopFlow { to { stroke-dashoffset: -490; } }

.node-c { fill: var(--card); stroke: var(--clay); stroke-width: 2; transition: all .4s ease; }
.node-num { font-family: var(--mono); font-size: 17px; font-weight: 700; fill: var(--clay); text-anchor: middle; dominant-baseline: central; }
.node-lbl { font-size: 14px; font-weight: 700; fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.loop-node.lit .node-c { fill: var(--clay); stroke: var(--clay); filter: drop-shadow(0 6px 14px rgba(192,117,90,.45)); }
.loop-node.lit .node-num { fill: #fff; }
.loop-node.memory .node-c { stroke: var(--gold); stroke-width: 3; }
.loop-node.memory .node-num { fill: var(--gold-deep); }
.loop-node.memory.lit .node-c { fill: var(--gold); stroke: var(--gold-deep); filter: drop-shadow(0 8px 20px rgba(232,176,75,.6)); }
.loop-node.memory.lit .node-num { fill: #fff; }
.loop-center-ring { fill: none; stroke: var(--line); stroke-width: 1.4; stroke-dasharray: 3 6; }
.loop-center-t { font-family: var(--serif); font-weight: 700; fill: var(--ink); text-anchor: middle; }
.loop-center-t.big { font-size: 30px; }
.loop-center-t.small { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; fill: var(--ink-mute); }

.loop-legend { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.loop-legend li { display: flex; gap: 16px; align-items: flex-start; padding: 13px 16px; border-radius: 12px; transition: background .3s; }
.loop-legend li.active { background: var(--card); box-shadow: var(--shadow-sm); }
.loop-legend .ln { font-family: var(--mono); font-weight: 700; color: var(--clay); font-size: 19px; flex: none; width: 22px; }
.loop-legend b { display: block; font-size: 17px; color: var(--ink); }
.loop-legend span { display: block; font-size: 14.5px; color: var(--ink-mute); line-height: 1.5; }
.loop-legend .is-memory .ln { color: var(--gold-deep); }
.loop-legend .is-memory b { color: var(--gold-deep); }
.loop-legend .is-memory { background: linear-gradient(135deg, rgba(232,176,75,.10), transparent); }

.loop-foot { font-family: var(--serif); font-size: clamp(18px,2vw,24px); font-weight: 700; color: var(--clay); margin-top: 18px; }

.memory-callout { margin-top: clamp(70px, 9vw, 120px); padding-top: clamp(50px,6vw,80px); border-top: 1px solid var(--line); }
.memory-callout h3 { margin-bottom: 22px; font-size: clamp(24px,3vw,34px); }
.big-claim { font-family: var(--serif); font-size: clamp(20px,2.5vw,28px); line-height: 1.5; color: var(--ink); margin-top: 26px; }
.big-claim strong { color: var(--gold-deep); }

/* ============================================================
   SECTION 4 · ABSTRACT
   ============================================================ */
.abstract-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 50px; }
.criteria { margin: 30px 0; padding: 28px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.criteria-title { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin-bottom: 16px; }
.criteria-chips { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.criteria-chips span { background: linear-gradient(135deg, var(--clay), var(--clay-deep)); color: #fff; font-weight: 700; padding: 8px 18px; border-radius: 999px; font-size: 16px; }
.criteria-chips i { font-style: normal; color: var(--ink-mute); font-weight: 700; }
.criteria-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.criteria-list li { padding-left: 26px; position: relative; color: var(--ink-soft); font-size: 15.5px; }
.criteria-list li::before { content: "→"; position: absolute; left: 0; color: var(--clay); font-weight: 700; }
.abstract-copy .pull { color: var(--clay); }

.abstract-visual { background: var(--card); border-radius: var(--r); padding: 30px; box-shadow: var(--shadow); }
.flow-head, .flow-divider span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.flow-head { margin-bottom: 14px; }
.flow-rows { display: flex; flex-wrap: wrap; gap: 9px; }
.frag { padding: 8px 14px; border-radius: 8px; font-size: 14px; background: var(--bg-warm); color: var(--ink-soft); border: 1px solid var(--line); }
.frag.rep { background: rgba(192,117,90,.12); border-color: rgba(192,117,90,.4); color: var(--clay-deep); font-weight: 600; }
.flow-divider { text-align: center; margin: 20px 0; position: relative; }
.flow-divider::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--line); }
.flow-divider span { position: relative; background: var(--card); padding: 0 14px; color: var(--clay); }
.flow-loops { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mini-loop { text-align: center; }
.mini-loop svg { width: 100%; max-width: 56px; }
.mini-loop .frag { display: none; }
.mini-loop svg circle:first-child { animation: spin 14s linear infinite; transform-origin: 30px 30px; }
.mini-loop span { display: block; font-size: 11.5px; color: var(--ink-mute); margin-top: 4px; }

/* ============================================================
   SECTION 5 · EMPLOYEE
   ============================================================ */
.employee-stage { max-width: 640px; margin: 50px auto 30px; aspect-ratio: 16/10; position: relative; }
.employee-stage svg { width: 100%; height: 100%; overflow: visible; }
.es-ring { fill: none; stroke: var(--clay); stroke-width: 2; opacity: .8; }
.es-ring-track { fill: none; stroke: var(--line); stroke-width: 1.5; }
.es-ring-dot { fill: var(--clay); }
.es-ring-spin { animation: spin 20s linear infinite; }
.es-line { stroke: var(--line); stroke-width: 1.4; stroke-dasharray: 4 5; }
.es-person { fill: var(--ink); }
.es-person-ring { fill: none; stroke: var(--gold); stroke-width: 2.5; }
.es-label { font-size: 12px; fill: var(--ink-mute); text-anchor: middle; font-family: var(--mono); }
.es-core-label { font-size: 13px; fill: var(--ink); text-anchor: middle; font-weight: 700; }

.role-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 40px 0; }
.role-card { padding: 32px; border-radius: var(--r); }
.role-human { background: var(--ink); color: var(--bg); }
.role-ai { background: linear-gradient(160deg, var(--clay), var(--clay-deep)); color: #fff; }
.role-tag { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; margin-bottom: 10px; }
.role-card h3 { margin-bottom: 18px; }
.role-card ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.role-card li { background: rgba(255,255,255,.14); padding: 7px 15px; border-radius: 999px; font-size: 14.5px; font-weight: 500; }
.role-human li { background: rgba(255,255,255,.10); }

/* ============================================================
   SECTION 6 · CASE
   ============================================================ */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 50px 0 44px; }
.case-card {
  background: var(--card); border-radius: var(--r); padding: 28px 24px;
  box-shadow: var(--shadow-sm); border: 1px solid transparent;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
  position: relative; overflow: hidden;
}
.case-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--clay), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.case-card:hover, .case-card:focus-visible { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(192,117,90,.3); outline: none; }
.case-card:hover::before, .case-card:focus-visible::before { transform: scaleX(1); }
.case-num { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: var(--clay); font-weight: 700; margin-bottom: 12px; }
.case-card h3 { font-size: 21px; margin-bottom: 12px; }
.case-do { font-size: 15px; color: var(--ink-soft); margin-bottom: 18px; min-height: 44px; }
.case-learn { font-size: 14px; line-height: 1.55; color: var(--gold-deep); background: linear-gradient(135deg, rgba(232,176,75,.12), transparent); padding: 12px 14px; border-radius: 10px; border-left: 3px solid var(--gold); }
.learn-tag { display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; background: var(--gold); color: #4a3410; padding: 1px 8px; border-radius: 5px; margin-right: 8px; }

.case-summary { background: var(--ink); color: var(--bg); border-radius: 24px; padding: clamp(36px,5vw,60px); text-align: center; }
.case-eq { font-size: clamp(18px,2.4vw,26px); font-weight: 700; margin-bottom: 20px; }
.case-eq span { color: var(--clay); margin: 0 8px; }
.case-eq strong { color: var(--gold); }
.case-summary > p { color: rgba(250,247,242,.7); max-width: 640px; margin: 0 auto 34px; font-size: 16px; }
.case-punch { border-top: 1px solid rgba(250,247,242,.15); padding-top: 32px; }
.punch-big { font-family: var(--serif); font-size: clamp(26px,4vw,46px); font-weight: 700; line-height: 1.3; }
.punch-small { font-family: var(--serif); font-size: clamp(18px,2vw,24px); color: var(--gold); margin-top: 12px; }

/* ============================================================
   BRIDGE
   ============================================================ */
.bridge { padding: clamp(70px,9vw,120px) 0; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%); }
.bridge-eq { font-family: var(--serif); font-weight: 700; font-size: clamp(30px,5vw,60px); color: var(--ink); letter-spacing: -.01em; }
.bridge-eq .op { color: var(--clay); margin: 0 10px; }
.bridge-sub { color: var(--ink-mute); font-size: clamp(15px,1.6vw,18px); margin-top: 18px; }

/* ============================================================
   SECTION 7 · FULLSTACK
   ============================================================ */
.fullstack-claim { font-family: var(--serif); font-weight: 700; font-size: clamp(22px,3vw,34px); line-height: 1.4; color: var(--clay); margin: 28px 0 56px; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.stack-layer {
  display: grid; grid-template-columns: 56px 1fr 0.9fr; gap: 32px; align-items: center;
  background: var(--card); border-radius: 22px; padding: 38px 40px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.stack-layer.layer-reverse {
  grid-template-columns: 56px 0.9fr 1fr;
}
.layer-feature { background: linear-gradient(160deg, #fff 0%, #fbf3e6 100%); border-color: rgba(232,176,75,.4); box-shadow: var(--shadow); }
.layer-index { font-family: var(--mono); font-size: 40px; font-weight: 800; color: var(--line); line-height: 1; }
.layer-feature .layer-index { color: rgba(232,176,75,.5); }
.layer-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); font-weight: 700; }
.layer-head h3 { margin: 8px 0 16px; }
.layer-body p { font-size: 16px; color: var(--ink-soft); margin-bottom: 12px; }
.layer-body p strong { color: var(--ink); }
.layer-note { font-size: 14.5px !important; color: var(--ink-mute) !important; padding: 14px 16px; background: var(--bg-warm); border-radius: 10px; }
.layer-note b { color: var(--clay); }
.layer-list { list-style: none; margin: 4px 0 16px; display: flex; flex-direction: column; gap: 8px; }
.layer-list li { padding-left: 24px; position: relative; font-size: 15.5px; color: var(--ink-soft); }
.layer-list li::before { content: "›"; position: absolute; left: 4px; color: var(--clay); font-weight: 700; }
.layer-list .li-gold { color: var(--gold-deep); font-weight: 600; }
.layer-list .li-gold::before { content: "★"; color: var(--gold); font-size: 12px; }
.layer-tagline { font-family: var(--serif); font-weight: 700; font-size: 18px !important; color: var(--ink) !important; margin-top: 6px !important; }
.layer-tagline strong { color: var(--clay); }

.layer-media { align-self: stretch; display: flex; }
.img-placeholder {
  flex: 1; min-height: 180px; border: 1.5px dashed rgba(192,117,90,.4); border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: rgba(192,117,90,.04); color: var(--clay); text-align: center; padding: 20px;
}
.img-placeholder svg { width: 64px; height: 64px; opacity: .55; }
.img-placeholder span { font-size: 13px; font-weight: 600; color: var(--clay); display: flex; flex-direction: column; gap: 5px; }
.img-placeholder em { font-size: 11.5px; color: var(--ink-mute); font-weight: 400; }

/* CentaurOS card */
.os-card { flex: 1; background: var(--ink); border-radius: 14px; padding: 18px; color: var(--bg); min-height: 200px; box-shadow: var(--shadow); }
.os-top { display: flex; align-items: center; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid rgba(250,247,242,.15); margin-bottom: 14px; }
.os-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(250,247,242,.3); }
.os-top em { margin-left: auto; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--gold); }
.os-rows { display: flex; flex-direction: column; gap: 9px; }
.os-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.os-row b { font-family: var(--mono); font-size: 11px; padding: 3px 9px; border-radius: 6px; font-weight: 600; }
.os-row .ok { background: rgba(120,200,140,.18); color: #7fd49a; }
.os-row .learn { background: rgba(232,176,75,.22); color: var(--gold); animation: pulseLearn 1.6s ease-in-out infinite; }
@keyframes pulseLearn { 0%,100% { opacity: 1; } 50% { opacity: .5; } }
.os-foot { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(250,247,242,.15); font-size: 12.5px; color: rgba(250,247,242,.6); display: flex; align-items: center; gap: 8px; }
.os-mem { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(232,176,75,.6); animation: memPulse 2s infinite; }
@keyframes memPulse { 0% { box-shadow: 0 0 0 0 rgba(232,176,75,.5);} 70% { box-shadow: 0 0 0 8px rgba(232,176,75,0);} 100% { box-shadow: 0 0 0 0 rgba(232,176,75,0);} }

.moat { margin-top: 56px; padding: clamp(34px,4vw,52px); border-radius: 24px; background: linear-gradient(160deg, var(--bg-warm), #efe5d6); border: 1px solid var(--line); }
.moat h3 { margin-bottom: 16px; }
.moat > p { font-size: 16.5px; color: var(--ink-soft); margin-bottom: 18px; max-width: 760px; }
.moat > p strong { color: var(--ink); }
.moat-list { list-style: none; display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 22px 0 28px; }
.moat-list li { background: var(--card); padding: 18px 20px; border-radius: 12px; font-size: 15px; color: var(--ink-soft); border-left: 3px solid var(--clay); }
.moat-eq { font-family: var(--serif); font-weight: 700; font-size: clamp(18px,2.2vw,24px); color: var(--ink); line-height: 1.5; }
.moat-eq span { color: var(--clay); }

/* ============================================================
   SECTION 8 · TEAM
   ============================================================ */
.team-lead { font-size: clamp(18px,2.2vw,24px); line-height: 1.6; color: var(--ink); margin: 24px 0 36px; font-weight: 500; }
.team-lead strong { color: var(--clay); }
.team-points { display: flex; flex-direction: column; gap: 20px; }
.team-point { padding: 26px 30px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow-sm); border-left: 4px solid var(--clay); }
.team-point p { font-size: 16.5px; color: var(--ink-soft); margin: 0; }
.team-point strong { color: var(--ink); }

/* ============================================================
   SECTION 9 · WHY
   ============================================================ */
.why-opportunity { max-width: 820px; margin: 44px auto 56px; text-align: center; }
.why-opportunity h3 { margin-bottom: 18px; color: var(--clay); }
.why-opportunity p { font-size: 16.5px; color: var(--ink-soft); margin-bottom: 14px; }
.why-mid strong { color: var(--ink); }
.insight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.insight-card { background: var(--card); border-radius: var(--r); padding: 36px; box-shadow: var(--shadow-sm); transition: transform .35s, box-shadow .35s; }
.insight-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.insight-ico { font-size: 34px; margin-bottom: 14px; }
.insight-no { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); font-weight: 700; margin-bottom: 10px; }
.insight-card h4 { font-size: clamp(20px,2.2vw,25px); margin-bottom: 14px; }
.insight-card p { font-size: 15.5px; color: var(--ink-soft); }
.insight-card p strong { color: var(--clay); }

/* ============================================================
   SECTION 10 · CONTACT
   ============================================================ */
.contact-card { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.contact-left { background: var(--ink); color: var(--bg); padding: clamp(38px,5vw,60px); }
.contact-left .eyebrow { color: var(--gold); }
.contact-left .eyebrow .dot { background: var(--gold); }
.contact-left h2 { color: var(--bg); margin-bottom: 28px; }
.mission { display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
.mission-row { display: flex; gap: 16px; align-items: baseline; }
.mission-k { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); flex: none; width: 64px; }
.mission-v { font-size: 16px; color: rgba(250,247,242,.85); }
.mission-v.slogan { font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--bg); }
.contact-ask { font-size: 16px; color: rgba(250,247,242,.7); margin-bottom: 20px; }

.contact-right { background: var(--card); padding: clamp(38px,5vw,60px); display: flex; flex-direction: column; }
.contact-company { font-weight: 900; font-size: 18px; margin-bottom: 24px; color: var(--ink); }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.contact-list li { display: flex; gap: 16px; align-items: baseline; font-size: 15.5px; }
.contact-list span { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); flex: none; width: 44px; }
.contact-list a { color: var(--clay); border-bottom: 1px solid transparent; transition: border-color .2s; }
.contact-list a:hover { border-color: var(--clay); }
.contact-list b { color: var(--ink); }
.qr-slot { margin-top: auto; display: flex; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.qr-box { width: 96px; height: 96px; color: var(--ink-mute); flex: none; background: #fff; border-radius: 6px; overflow: hidden; padding: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.qr-box svg, .qr-box img { width: 100%; height: 100%; display: block; object-fit: contain; }
.qr-slot span { font-size: 13.5px; color: var(--ink-soft); display: flex; flex-direction: column; gap: 3px; }
.qr-slot em { font-size: 12px; color: var(--ink-mute); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: rgba(250,247,242,.7); padding: 56px 0 40px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--bg); font-weight: 800; font-size: 16px; }
.footer-brand .brand-mark { color: var(--clay); width: 32px; height: 32px; }
.footer-meta { font-size: 13.5px; line-height: 1.8; text-align: center; }
.footer-meta p { margin: 0; }
.footer-copy { color: rgba(250,247,242,.45) !important; margin-top: 6px !important; }
.footer-social { display: flex; gap: 20px; }
.footer-social a { font-size: 14px; color: rgba(250,247,242,.8); border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.footer-social a:hover { color: var(--gold); border-color: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .compose-grid, .abstract-grid { grid-template-columns: 1fr; gap: 40px; }
  .stack-layer { grid-template-columns: 44px 1fr; gap: 20px 22px; padding: 32px 28px; }
  .stack-layer.layer-reverse { grid-template-columns: 44px 1fr; }
  .layer-head, .layer-body { grid-column: 2 / -1; }
  .layer-media { grid-column: 1 / -1; order: 3; }
  .stack-layer.layer-reverse .layer-media { order: 0; }
  .stack-layer.layer-reverse .layer-head { order: 1; }
  .stack-layer.layer-reverse .layer-body { order: 2; }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .moat-list { grid-template-columns: 1fr; }
  .insight-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .role-split { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .nav-cta { display: none; }
  .hero-loop { opacity: .85; top: 44%; }
  .mob-br { display: inline; }
  .case-grid { grid-template-columns: 1fr; }
  .case-do { min-height: 0; }
  .lead-block p { font-size: 18px; }
  .stack-layer,
  .stack-layer.layer-reverse { grid-template-columns: 1fr; gap: 16px; padding: 26px 22px; }
  .layer-head, .layer-body, .layer-media { grid-column: 1 / -1; }
  .layer-index { font-size: 32px; order: 0; }
  .layer-head { order: 1; }
  .layer-body { order: 2; }
  .layer-media { order: 3; }
  .stack-layer.layer-reverse .layer-index { order: 0; }
  .stack-layer.layer-reverse .layer-media { order: 1; }
  .stack-layer.layer-reverse .layer-head { order: 2; }
  .stack-layer.layer-reverse .layer-body { order: 3; }
  .layer-head h3 { margin: 6px 0 10px; font-size: 22px; line-height: 1.35; }
  .layer-body p { font-size: 15px; line-height: 1.7; }
  .layer-tagline { font-size: 16px !important; }
  .layer-note { padding: 12px 14px; font-size: 13.5px !important; }
  .layer-media img { width: 100%; height: auto; border-radius: 12px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ============================================================
   MOBILE TYPOGRAPHY POLISH (≤ 640px)
   - Let headings flow naturally; remove desktop hard line-breaks
   - Allow eyebrow / pull / equation text to wrap cleanly
   - Tighten hero + section rhythm
   ============================================================ */
@media (max-width: 640px) {
  /* Keep authored <br> breaks in headings — designers placed them intentionally.
     Instead, shrink type so each line fits naturally on a phone. */
  h1, h2, h3 { word-break: keep-all; overflow-wrap: break-word; line-height: 1.25; }
  .hero-title { font-size: clamp(34px, 9vw, 44px); line-height: 1.15; margin-bottom: 18px; }
  .hero-sub { font-size: 16px; line-height: 1.6; }
  .hero-line { font-size: 13.5px; margin-bottom: 28px; }
  .hero-content { padding-top: 96px; padding-bottom: 56px; gap: 28px; }
  .hero-visual { max-width: 280px; }

  h2 { font-size: 26px; margin-bottom: 20px; }
  h3 { font-size: 20px; }

  /* Eyebrows: allow wrap, normalize spacing (avoid &nbsp; overflow) */
  .eyebrow {
    font-size: 11px; letter-spacing: 0.12em; gap: 8px;
    flex-wrap: wrap; word-spacing: -.04em;
  }

  /* Brand text: keep one tidy line, slightly smaller */
  .brand-text { font-size: 15px; }
  .brand-text em { font-size: 9px; }
  .nav-inner { padding: 0 18px; gap: 12px; }

  /* Define quote: smaller, less padding, easier to read */
  .define-quote {
    font-size: 18px; line-height: 1.6;
    padding: 22px 20px; margin: 28px 0;
  }

  /* Body / lead text */
  .lead-block p { font-size: 16.5px; line-height: 1.65; }
  .body { font-size: 15.5px; line-height: 1.75; }

  /* Pull quotes & big claims */
  .pull { font-size: 20px; line-height: 1.5; margin: 24px 0 4px; }
  .big-claim { font-size: 18px; line-height: 1.55; }
  .bridge-eq { font-size: 26px; line-height: 1.35; }
  .bridge-sub { font-size: 14px; }
  .fullstack-claim { font-size: 19px; line-height: 1.5; margin: 22px 0 36px; }

  /* Loop legend density */
  .compose-grid { gap: 28px; margin: 36px 0 20px; }
  .loop-legend li { padding: 10px 12px; gap: 12px; }
  .loop-legend b { font-size: 15.5px; }
  .loop-legend span { font-size: 13.5px; }

  /* Role split + case */
  .role-card { padding: 24px 22px; }
  .role-card h3 { font-size: 19px; margin-bottom: 14px; }
  .case-eq { font-size: 18px; line-height: 1.5; }
  .case-eq span { display: inline-block; margin: 0 4px; }
  .punch-big { font-size: 24px; line-height: 1.35; }
  .punch-small { font-size: 16px; }

  /* Criteria chips wrap nicely */
  .criteria { padding: 22px 20px; }
  .criteria-chips { gap: 8px; }
  .criteria-chips span { padding: 6px 14px; font-size: 14px; }

  /* Insight cards & moat */
  .insight-card { padding: 26px 22px; }
  .insight-card h4 { font-size: 18px; }
  .moat { padding: 28px 22px; }
  .moat-list li { padding: 14px 16px; font-size: 14.5px; }
  .moat-eq { font-size: 17px; line-height: 1.6; }

  /* Contact card */
  .contact-left, .contact-right { padding: 32px 24px; }
  .mission-row { gap: 12px; }
  .mission-k { width: 52px; font-size: 11px; }
  .mission-v { font-size: 15px; }
  .mission-v.slogan { font-size: 17px; line-height: 1.45; }
  .contact-company { font-size: 16px; margin-bottom: 18px; }
  .contact-list li { font-size: 14.5px; gap: 12px; }
  .contact-list span { width: 38px; font-size: 11px; }

  /* Section rhythm: tighter on mobile */
  .section { padding: 64px 0; }
  .memory-callout { margin-top: 48px; padding-top: 36px; }

  /* Buttons full-width-ish */
  .hero-cta { gap: 10px; }
  .hero-cta .btn { padding: 12px 22px; font-size: 14.5px; }
}
