/* ============================================================
   Kennen · sections & components
   ============================================================ */

/* ====================  NAV  ================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gut);
  transition: background .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(12,14,29,.9);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--line);
}
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; }
.brand .mark {
  font-family: var(--serif); font-size: 21px; letter-spacing: .14em;
  color: var(--moon-pure); font-weight: 400;
}
.brand .sub { font-family: var(--mono); font-size: 11px; letter-spacing: .22em; color: var(--mono-blue); white-space: nowrap; }
html[data-lang="en"] .brand .sub { letter-spacing: .18em; }

.nav-right { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 26px); }
.nav-links a {
  font-family: var(--zh-sans); font-size: 13.5px; font-weight: 300;
  color: var(--moon); opacity: .68; text-decoration: none; letter-spacing: .04em;
  position: relative; transition: opacity .3s, color .3s; white-space: nowrap;
}
html[data-lang="en"] .nav-links a { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; color: var(--dusk-glow); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--dusk-glow); opacity: .5;
}

.lang-toggle { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; }
.lang-toggle button {
  background: none; border: 0; color: var(--mono-blue); cursor: pointer;
  font: inherit; padding: 2px 4px; letter-spacing: .06em; opacity: .6; transition: opacity .3s, color .3s;
}
.lang-toggle button[aria-pressed="true"] { color: var(--moon-pure); opacity: 1; }
.lang-toggle .sep { color: var(--line); }

.btn-amber {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em;
  color: var(--amber); text-decoration: none;
  border: 1px solid color-mix(in oklab, var(--amber) 55%, transparent);
  padding: 9px 18px; border-radius: 2px; white-space: nowrap;
  transition: box-shadow .4s var(--ease), background .4s var(--ease), border-color .4s;
}
.btn-amber:hover {
  background: color-mix(in oklab, var(--amber) 12%, transparent);
  border-color: var(--amber);
  box-shadow: 0 0 24px -4px color-mix(in oklab, var(--amber) 55%, transparent);
}

/* mobile nav: collapse links */
@media (max-width: 1100px) {
  .brand .sub { display: none; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ====================  HERO  =============================== */
.hero {
  min-height: 100svh; display: grid; align-items: center;
  grid-template-columns: 1.05fr .95fr; gap: clamp(20px, 4vw, 60px);
  padding-top: 84px;
}
.hero-copy { max-width: 620px; }
.hero .kicker { margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 86px);
  margin-bottom: 22px;
}
html:not([data-lang="en"]) .hero h1 { font-size: clamp(36px, 6vw, 76px); }
.hero .de { font-size: clamp(15px, 1.5vw, 19px); margin-bottom: 30px; display: block; }
.hero .lede { font-size: clamp(16px, 1.55vw, 21px); max-width: 30em; margin-bottom: 40px; }
.hero-soul { width: 100%; aspect-ratio: 1 / 1; min-height: 360px; }

.cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta {
  font-family: var(--mono); font-size: 14px; letter-spacing: .06em;
  color: var(--moon-pure); text-decoration: none;
  display: inline-flex; align-items: center; gap: 9px;
  border-bottom: 1px solid color-mix(in oklab, var(--moon) 40%, transparent);
  padding-bottom: 4px; transition: gap .35s var(--ease), border-color .35s, color .35s;
}
.cta:hover { gap: 15px; border-color: var(--dusk-glow); color: var(--dusk-glow); }
.cta.ghost { color: var(--mono-blue); border-color: transparent; }
.cta.ghost:hover { color: var(--dusk-glow); border-color: transparent; }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero-soul { aspect-ratio: 4 / 3; min-height: 260px; order: -1; opacity: .9; }
}

/* ====================  CONCEPT line  ======================= */
.concept { text-align: center; padding-block: clamp(140px, 22vh, 280px); }
.concept .line { font-size: clamp(32px, 5.4vw, 72px); line-height: 1.15; }
.concept .soul-min { width: min(420px, 70vw); aspect-ratio: 1/1; margin: 0 auto 54px; }
.concept .en-line { letter-spacing: .005em; }

/* ====================  PHILOSOPHY  ========================= */
.philo { }
.philo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.philo h2 { font-size: clamp(30px, 4.4vw, 56px); margin-bottom: 36px; }
.philo p { font-size: clamp(15px, 1.35vw, 18px); margin-bottom: 22px; max-width: 34em; }
.philo .moat strong { color: var(--moon-pure); font-weight: 500; }
html[data-lang="en"] .philo .moat strong { font-weight: 600; }
.philo .pull {
  font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.8vw, 36px);
  line-height: 1.3; color: var(--moon-pure); margin-top: 40px; max-width: 16em;
}
html:not([data-lang="en"]) .philo .pull { font-family: var(--zh-serif); font-style: normal; font-weight: 500; }
.philo-soul { width: 100%; aspect-ratio: 1/1; min-height: 340px; }

@media (max-width: 880px) {
  .philo-grid { grid-template-columns: 1fr; }
  .philo-soul { order: -1; aspect-ratio: 3/2; min-height: 240px; }
}

/* ====================  SOUL PANELS #01–#06  ================ */
.panels { padding-block: 0; }
.panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px);
  align-items: center; padding-block: clamp(90px, 13vh, 150px);
  border-top: 1px solid var(--line);
}
.panel:first-child { border-top: 0; }
.panel.flip .panel-soul { order: 2; }
.panel-num {
  font-family: var(--mono); font-size: clamp(13px, 1.1vw, 15px);
  color: var(--dusk-glow); letter-spacing: .2em; margin-bottom: 18px; display: block;
}
.panel h3 { font-size: clamp(26px, 3.4vw, 44px); margin-bottom: 20px; }
.panel p { font-size: clamp(15px, 1.3vw, 18px); max-width: 30em; margin-bottom: 26px; }
.panel-soul { width: 100%; aspect-ratio: 1/1; min-height: 300px; }
.panel .anchor { padding-top: 18px; border-top: 1px solid var(--line); max-width: 30em; }

@media (max-width: 880px) {
  .panel { grid-template-columns: 1fr; gap: 24px; }
  .panel .panel-soul, .panel.flip .panel-soul { order: -1; aspect-ratio: 3/2; min-height: 220px; }
}

/* ====================  SIVON  ============================== */
.sivon { text-align: center; }
.sivon-soul { width: min(440px, 72vw); aspect-ratio: 1/1; margin: 0 auto 46px; }
.sivon h2 { font-size: clamp(28px, 4vw, 52px); margin-bottom: 28px; }
.sivon p { font-size: clamp(15px, 1.45vw, 19px); max-width: 40em; margin: 0 auto 36px; }

/* ====================  EVIDENCE  =========================== */
.evidence { }
.evidence-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; margin-bottom: clamp(56px, 8vh, 96px); }
.evidence h2 { font-size: clamp(28px, 4vw, 54px); margin-bottom: 26px; }
.evidence h2 strong { color: var(--moon-pure); font-weight: inherit; }
.evidence .intro { font-size: clamp(15px, 1.4vw, 19px); max-width: 34em; }
.evidence-soul { width: 100%; aspect-ratio: 16/10; min-height: 280px; }

.proofs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.proof { background: var(--ink); padding: clamp(28px, 3.4vw, 46px); }
.proof .claim {
  font-family: var(--zh-serif); font-weight: 500; font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.4; color: var(--moon-pure); margin-bottom: 16px;
}
html[data-lang="en"] .proof .claim { font-family: var(--serif); font-weight: 400; }
.proof .claim b { color: var(--dusk-glow); font-weight: inherit; }
.proof .means { font-size: clamp(13.5px, 1.2vw, 16px); color: var(--mono-blue); opacity: .9; }
.proof .means::before { content: "→ "; color: var(--dusk-glow); }

.hammer {
  font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3.6vw, 48px);
  line-height: 1.28; color: var(--moon-pure); text-align: center;
  max-width: 18em; margin: clamp(56px, 8vh, 100px) auto 0;
}
html:not([data-lang="en"]) .hammer { font-family: var(--zh-serif); font-style: normal; font-weight: 500; max-width: 22em; }
.hammer strong { color: var(--dusk-glow); font-weight: inherit; }

@media (max-width: 880px) {
  .evidence-head { grid-template-columns: 1fr; }
  .evidence-soul { order: -1; min-height: 220px; }
  .proofs { grid-template-columns: 1fr; }
}

/* ====================  VISION · Kennen Inside  ============= */
.vision { }
.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.vision h2 { font-size: clamp(28px, 4vw, 54px); margin-bottom: 30px; }
.vision h2 strong { color: var(--moon-pure); font-weight: inherit; }
.vision p { font-size: clamp(15px, 1.35vw, 18px); margin-bottom: 22px; max-width: 34em; }
.vision .arc strong, .vision .honest strong { color: var(--moon-pure); font-weight: 500; }
html[data-lang="en"] .vision .arc strong, html[data-lang="en"] .vision .honest strong { font-weight: 600; }
.vision .arc .inside { color: var(--dusk-glow); }
.vision .honest { padding-top: 26px; margin-top: 8px; border-top: 1px solid var(--line); color: var(--mono-blue); }
.vision-soul { width: 100%; aspect-ratio: 3/4; min-height: 420px; }

@media (max-width: 880px) {
  .vision-grid { grid-template-columns: 1fr; }
  .vision-soul { order: -1; aspect-ratio: 3/2; min-height: 280px; }
}

/* ====================  ACCESS  ============================= */
.access { text-align: center; }
.access h2 { font-size: clamp(28px, 4vw, 52px); margin-bottom: clamp(48px, 7vh, 80px); }
.access-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto; text-align: left; }
.acard {
  border: 1px solid var(--line); border-radius: 3px; padding: clamp(30px, 3.4vw, 46px);
  text-decoration: none; display: block; transition: border-color .4s var(--ease), background .4s, transform .4s var(--ease);
  position: relative;
}
.acard:hover { border-color: color-mix(in oklab, var(--dusk-glow) 50%, var(--line)); background: var(--ink-2); transform: translateY(-3px); }
.acard .at { font-family: var(--serif); font-size: clamp(20px, 2vw, 27px); color: var(--moon-pure); margin-bottom: 12px; display: block; }
html:not([data-lang="en"]) .acard .at { font-family: var(--zh-serif); font-weight: 500; }
.acard .ad { font-size: clamp(14px, 1.2vw, 16px); color: var(--mono-blue); }
.acard .arrow { position: absolute; top: clamp(30px,3.4vw,46px); right: clamp(30px,3.4vw,46px); color: var(--dusk-glow); font-family: var(--mono); opacity: .6; transition: transform .4s var(--ease), opacity .4s; }
.acard:hover .arrow { opacity: 1; transform: translate(4px,-4px); }

@media (max-width: 760px) { .access-cards { grid-template-columns: 1fr; } }

/* ====================  CLOSING  ============================ */
.closing { text-align: center; padding-block: clamp(140px, 20vh, 260px); }
.closing-soul { width: min(380px, 64vw); aspect-ratio: 1/1; margin: 0 auto 56px; }
.closing h2 { font-size: clamp(30px, 4.6vw, 62px); line-height: 1.16; max-width: 16em; margin: 0 auto 30px; }
.closing .sub { font-family: var(--serif); font-style: italic; font-size: clamp(16px, 1.7vw, 22px); color: var(--mono-blue); max-width: 30em; margin: 0 auto 44px; }
html:not([data-lang="en"]) .closing .sub { font-family: var(--zh-serif); font-style: normal; }

/* ====================  FOOTER  ============================= */
.footer { border-top: 1px solid var(--line); padding-block: clamp(56px, 8vh, 90px); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer .fmark { font-family: var(--serif); font-size: 28px; letter-spacing: .12em; color: var(--moon-pure); }
.footer .phon { font-family: var(--mono); font-size: 13px; color: var(--mono-blue); letter-spacing: .06em; margin-top: 8px; }
.footer .etym { font-size: 14px; color: var(--mono-blue); max-width: 30em; line-height: 1.7; }
.footer .etym em { color: var(--moon); font-style: italic; }
.footer-links { display: flex; gap: clamp(14px, 2vw, 26px); flex-wrap: wrap; align-items: center; }
.footer-links a { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--mono-blue); text-decoration: none; opacity: .8; transition: opacity .3s, color .3s; }
.footer-links a:hover { opacity: 1; color: var(--moon); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 30px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--mono-blue); letter-spacing: .05em; }
.footer-bottom .de { font-size: 12px; }

/* CTA section helper */
.section-cta { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* ====================  Lovart 插画接入  =================== */
.soul { position: relative; }

/* Hero = 全屏铺底的魂（宽图：魂在右、左留白叠文案，用 cover 铺满整屏） */
.hero { position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; }
.hero-soul { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; z-index: 0; opacity: .92; overflow: hidden; }
.hero-soul img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; mix-blend-mode: lighten; }
@media (max-width: 880px) { .hero-soul { opacity: .42; } }

/* 其余所有插画：一律按图片自身比例显示，绝不裁成正方形小图 */
.soul:not(.hero-soul) { aspect-ratio: auto !important; min-height: 0 !important; height: auto !important; overflow: visible; }
.soul:not(.hero-soul) img { position: static; inset: auto; display: block; width: 100%; height: auto; mix-blend-mode: lighten; }

/* 格局结构图：单列全宽，16:9 宽图自然铺满整行（投资人"钱图"） */
.vision-grid { grid-template-columns: 1fr; gap: clamp(34px, 5vh, 64px); align-items: start; }
.vision-text { max-width: 52em; }

/* hero 类目句（专业落点） */
.hero .category { font-family: var(--zh-sans); font-size: clamp(17px, 1.75vw, 23px); color: var(--moon-pure); line-height: 1.5; margin: 4px 0 16px; max-width: 24em; }
html[data-lang="en"] .hero .category { font-family: var(--serif); }
.hero .category strong { color: var(--dusk-glow); font-weight: 600; }

/* 哲学：AI 共识承重句 */
.philo .consensus { font-size: clamp(15px, 1.35vw, 18px); margin-bottom: 22px; max-width: 34em; }
.philo .consensus strong { color: var(--moon-pure); font-weight: 500; }

/* 证据母句下的专业小字 */
.hammer-sub { font-family: var(--mono); font-size: clamp(12.5px, 1.05vw, 14.5px); color: var(--mono-blue); text-align: center; max-width: 42em; margin: 18px auto 0; line-height: 1.6; letter-spacing: .02em; }

/* 格局：Agent / MCP / OAuth 基础设施句 */
.vision .infra { color: var(--moon); }
.vision .infra strong { color: var(--dusk-glow); font-weight: 500; }
