:root {
  --color-dark: #1C1D20;
  --color-dark-deep: #141517;
  --color-hero-gray: #8D8E90;
  --color-light: #FFFFFF;
  --color-surface: #F6F6F4;
  --color-blue: #455CE9;
  --color-blue-dark: #334BD3;
  --color-gray: #8E9298;
  --color-border: rgba(28, 29, 32, 0.14);
  --color-border-light: rgba(255, 255, 255, 0.16);
  --ease-dennis: cubic-bezier(0.7, 0, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: 'Inter', 'Noto Sans SC', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --mono: ui-monospace, 'SF Mono', Consolas, monospace;
}

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

html {
  background: var(--color-dark);
  color: var(--color-dark);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

/* 必须用 clip 而不是 hidden，否则 position: sticky 会失效 */
body {
  background: var(--color-light);
  overflow-x: clip;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 100px);
}

/* ① 多语开场片头 + 弧幕 */
.preloader {
  position: fixed; inset: 0; z-index: 999;
  background: var(--color-dark-deep); color: var(--color-light);
  display: grid; place-items: center;
  will-change: transform, opacity; pointer-events: auto;
}
.preloader.is-hidden { opacity: 0; pointer-events: none; visibility: hidden; }
.preloader-words {
  display: flex; align-items: center; gap: 18px;
  font-size: clamp(42px, 5vw, 72px); font-weight: 400; letter-spacing: 0.02em;
}
.preloader-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--color-light); }
.preloader-curve {
  position: absolute; left: 0; right: 0; bottom: -198px;
  width: 100%; height: 200px; pointer-events: none;
}

/* 磁吸按钮 */
.magnetic { position: relative; display: inline-flex; align-items: center; justify-content: center; transition: transform 0.22s var(--ease-out); will-change: transform; }
.magnetic .btn-text-inner { position: relative; z-index: 2; transition: transform 0.22s var(--ease-out), color 0.22s; will-change: transform; }
.btn-fill {
  position: absolute; inset: -40% -20%; border-radius: 50%; background: var(--color-blue);
  transform: translateY(105%); transition: transform 0.38s var(--ease-dennis); z-index: 1; pointer-events: none;
}
.magnetic:hover .btn-fill { transform: translateY(0%); }

/* 悬浮圆形汉堡按钮 */
.floating-menu-btn {
  position: fixed; top: 28px; right: 28px; z-index: 120;
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--color-dark); border: 1px solid rgba(255,255,255,0.14);
  overflow: hidden; transform: scale(0); opacity: 0; pointer-events: none;
  transition: transform 0.45s var(--ease-dennis), opacity 0.35s;
}
.floating-menu-btn.is-visible, .floating-menu-btn.is-open { transform: scale(1); opacity: 1; pointer-events: auto; }
.burger-lines { display: flex; flex-direction: column; gap: 6px; }
.burger-lines i { display: block; width: 24px; height: 1.5px; background: #fff; transition: transform 0.35s var(--ease-dennis); }
.floating-menu-btn.is-open .burger-lines i:first-child { transform: translateY(3.75px) rotate(45deg); }
.floating-menu-btn.is-open .burger-lines i:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* 侧边导航抽屉 */
.nav-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0.42); opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease-dennis); }
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }
.nav-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 110; width: min(460px, 100vw);
  background: var(--color-dark); color: var(--color-light);
  transform: translateX(102%); transition: transform 0.42s var(--ease-dennis);
  padding: clamp(90px, 12vh, 130px) clamp(32px, 5vw, 64px) 48px;
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer-inner { height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.drawer-eyebrow { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--color-gray); padding-bottom: 16px; border-bottom: 1px solid var(--color-border-light); }
.drawer-links { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.drawer-links a { font-size: clamp(32px, 3.8vw, 48px); font-weight: 400; line-height: 1.25; justify-content: flex-start; padding: 4px 0; }
.drawer-links a:hover { color: var(--color-blue); }
.social-row { display: flex; align-items: center; gap: 24px; margin-top: 16px; font-size: 14px; }
.social-row a:hover, .drawer-lang-btn:hover { color: var(--color-blue); }
.drawer-lang-btn {
  padding: 4px 12px; border-radius: 999px; border: 1px solid var(--color-border-light);
  font-family: var(--mono); font-size: 12px;
}

/* ② 首屏：#8D8E90 棚拍灰底 + 无缝融合肖像 + 纤细 Title Case 跑马灯 */
.hero {
  position: relative; height: 100svh; min-height: 680px; max-height: 1080px;
  background: var(--color-hero-gray); color: var(--color-light);
  overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
}
.topbar {
  position: relative; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px clamp(24px, 3.5vw, 44px); font-size: 15px; font-weight: 400;
}
.credit { gap: 7px; padding: 6px 2px; }
.credit-c { display: inline-block; transition: transform 0.5s var(--ease-dennis); }
.credit:hover .credit-c { transform: rotate(360deg); }
.credit-roll { position: relative; display: inline-grid; overflow: hidden; height: 1.4em; }
.credit-roll span { grid-area: 1 / 1; transition: transform 0.45s var(--ease-dennis); }
.credit-hover { transform: translateY(110%); }
.credit:hover .credit-default { transform: translateY(-110%); }
.credit:hover .credit-hover { transform: translateY(0); }

.top-links { list-style: none; display: flex; align-items: center; gap: 32px; }
.top-links a { padding: 8px 4px; position: relative; font-weight: 400; }
.top-links a::after {
  content: ""; position: absolute; left: 50%; bottom: -2px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--color-light);
  transform: translateX(-50%) scale(0); transition: transform 0.3s var(--ease-dennis);
}
.top-links a:hover::after { transform: translateX(-50%) scale(1); }

.lang-toggle {
  padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.38);
  font-family: var(--mono); font-size: 12px; color: #FFFFFF;
  transition: background 0.25s, border-color 0.25s;
}
.lang-toggle:hover { background: rgba(255,255,255,0.14); border-color: #FFFFFF; }

.hero-portrait-wrap {
  position: absolute; inset: 0;
  display: flex; justify-content: center; align-items: flex-end;
  pointer-events: none; z-index: 1;
}
.hero-portrait-wrap img {
  height: 94%; width: auto; max-width: none; object-fit: contain; object-position: bottom center;
  image-rendering: -webkit-optimize-contrast;
  will-change: transform;
}

.hanger {
  position: absolute; left: 0; top: 45%; transform: translateY(-50%); z-index: 5;
  display: flex; align-items: center; gap: 24px; background: var(--color-dark);
  border-radius: 0 999px 999px 0; padding: 13px 15px 13px clamp(28px, 3.2vw, 42px);
}
.hanger p { font-size: 14px; line-height: 1.42; font-weight: 400; color: #FFFFFF; white-space: nowrap; }
.globe-wrap { width: 60px; height: 60px; flex-shrink: 0; border-radius: 50%; background: var(--color-hero-gray); display: grid; place-items: center; }
.globe-svg { width: 34px; height: 34px; color: #FFFFFF; animation: spinSlow 14s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

.hero-role {
  position: absolute; right: clamp(28px, 7.5vw, 130px); top: 44%; transform: translateY(-50%); z-index: 5;
  display: flex; flex-direction: column; gap: 36px;
}
.role-arrow { color: #FFFFFF; }
.hero-role p { font-size: clamp(22px, 2.15vw, 32px); font-weight: 400; line-height: 1.35; letter-spacing: -0.01em; color: #FFFFFF; }

.marquee-wrap {
  position: relative; z-index: 6; width: 100%; overflow: hidden;
  padding-bottom: clamp(14px, 2.8vh, 32px); user-select: none; pointer-events: none;
}
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-track h1 {
  font-size: clamp(104px, 14.2vw, 224px); font-weight: 400; line-height: 0.96;
  letter-spacing: -0.025em; white-space: nowrap; color: #FFFFFF;
}

/* ③ 极简纯白 Intro（收紧留白 + 中文加重分量 + 1px 建筑感事实锚点） */
.intro { background: var(--color-light); padding: clamp(68px, 9vh, 110px) 0 clamp(44px, 5.5vh, 64px); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.intro-pillars { display: inline-block; font-family: var(--mono); font-size: 13px; letter-spacing: 0.18em; color: var(--color-blue); margin-bottom: 18px; }
.intro-main h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 500; line-height: 1.44; letter-spacing: -0.02em; }
html[lang="zh-CN"] .intro-main h2 { font-size: clamp(34px, 3.8vw, 54px); line-height: 1.32; }
.intro-side { display: flex; flex-direction: column; gap: 32px; padding-top: 34px; }
.intro-side p { font-size: 16px; line-height: 1.85; color: #53555C; }
.round-btn { width: 172px; height: 172px; border-radius: 50%; background: var(--color-dark); color: var(--color-light); font-size: 16px; font-weight: 500; overflow: hidden; }
.round-btn-blue { background: var(--color-blue); }
.round-btn-blue .btn-fill { background: var(--color-blue-dark); }

.intro-metrics {
  margin-top: clamp(44px, 6vh, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 36px;
}
.metric-label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--color-gray);
  margin-bottom: 8px;
}
.metric-val {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-dark);
  line-height: 1.5;
}

/* ④ 2 个 Sticky 项目章节 + 精选 6 张筛选专栏（overflow: clip 保护 sticky） */
.showcase {
  background: var(--color-light);
  padding: clamp(48px, 6vh, 76px) 0 clamp(56px, 8vh, 96px);
  overflow: clip;
}
.track-eyebrow { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--color-gray); margin-bottom: 8px; }
.showcase-head h3, .columns-head h3 { font-size: clamp(28px, 3vw, 42px); font-weight: 500; letter-spacing: -0.02em; }
.section-sub { margin-top: 10px; font-size: 15px; color: #5C5F66; max-width: 62ch; }

.projects-wrap {
  margin-top: clamp(32px, 4.5vh, 52px);
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 9vh, 112px);
}
.project-chapter {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
  padding-top: clamp(32px, 4.5vh, 48px);
  border-top: 1px solid var(--color-border);
}
@media (min-width: 901px) {
  .project-overview {
    position: sticky;
    top: 84px;
    align-self: start;
  }
}
.project-meta-row {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--color-blue);
  margin-bottom: 10px;
}
.project-index {
  padding: 3px 9px; border-radius: 999px;
  background: rgba(69,92,233,0.08); color: var(--color-blue);
}
.project-overview h4 {
  font-size: clamp(26px, 2.5vw, 34px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2;
}
.project-desc {
  margin-top: 12px; font-size: 15.5px; line-height: 1.75; color: #4A4D54;
}
.media-stage {
  margin-top: 22px;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 12px;
  position: relative;
  cursor: zoom-in;
  transition: border-color 0.25s, box-shadow 0.3s var(--ease-out);
}
.media-stage:hover {
  border-color: rgba(69,92,233,0.45);
  box-shadow: 0 14px 36px rgba(28,29,32,0.06);
}
.media-stage img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  border-radius: 6px;
}
.zoom-pill {
  position: absolute; right: 18px; bottom: 18px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(28,29,32,0.78); color: #fff;
  font-size: 11px; font-family: var(--mono);
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
.media-stage:hover .zoom-pill, .feature-media:hover .zoom-pill {
  opacity: 1; transform: translateY(0);
}
.spec-pills {
  margin-top: 18px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.spec-pill {
  padding: 5px 12px; border-radius: 999px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  font-family: var(--mono); font-size: 11.5px; color: #464850;
}
.project-actions {
  margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px;
}
.btn-action-primary {
  padding: 11px 22px; border-radius: 999px;
  background: var(--color-dark); color: #fff;
  font-size: 14px; font-weight: 500;
  transition: background 0.25s, transform 0.2s;
}
.btn-action-primary:hover { background: var(--color-blue); transform: translateY(-1px); }
.btn-action-ghost {
  padding: 11px 20px; border-radius: 999px;
  border: 1px solid var(--color-border); color: var(--color-dark);
  font-size: 14px; font-weight: 500;
  transition: border-color 0.25s, color 0.25s;
}
.btn-action-ghost:hover { border-color: var(--color-dark); }

.project-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.35s var(--ease-out);
}
.feature-card:hover { border-color: rgba(28,29,32,0.3); transform: translateY(-2px); }
.feature-media {
  position: relative;
  background: #FFFFFF;
  padding: 14px;
  border-bottom: 1px solid var(--color-border);
  cursor: zoom-in;
}
.feature-media img {
  width: 100%;
  height: auto;
  max-height: 430px;
  object-fit: contain;
  border-radius: 6px;
}
.feature-copy {
  padding: 20px 24px 22px;
}
.feature-badge {
  display: inline-block;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--color-blue);
  margin-bottom: 6px;
}
.feature-copy h5 {
  font-size: 18.5px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; color: var(--color-dark);
}
.feature-copy p {
  font-size: 14px; line-height: 1.75; color: #4E5158;
}

/* 专栏双轨切卡舞台（上轨商业剖析，下轨认知手记） */
.columns-rails {
  margin-top: clamp(72px, 10vh, 116px);
  padding-top: clamp(44px, 6vh, 68px);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: clamp(44px, 6vh, 72px);
}
.rail-section { position: relative; }
.rail-sticky {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.rail-section:not(.is-sticky-active) .track-controls { display: none; }
.rail-section:not(.is-sticky-active) .rail-progress-wrap { display: none; }

@media (min-width: 901px) {
  .rail-section.is-sticky-active {
    height: 185vh;
  }
  .rail-section.is-sticky-active .rail-sticky {
    position: sticky;
    top: 0;
    height: 92svh;
    padding: 36px 0;
  }
}

.track-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; width: 100%; }
.track-title-group h3 { font-size: clamp(26px, 2.8vw, 38px); font-weight: 500; letter-spacing: -0.02em; }
.track-controls { display: flex; align-items: center; gap: 10px; }
.track-hint { font-size: 12.5px; color: var(--color-gray); margin-right: 4px; }
.rail-counter {
  font-family: var(--mono); font-size: 12px; color: var(--color-dark);
  padding: 5px 11px; border-radius: 999px; background: var(--color-surface);
  border: 1px solid var(--color-border); margin-right: 4px;
}
.step-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-border);
  display: grid; place-items: center; font-size: 16px;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}
.step-btn:hover { background: var(--color-dark); border-color: var(--color-dark); color: #fff; }
.step-btn:active { scale: .92; }

.rail-viewport { width: 100%; overflow: hidden; padding: 6px 0 8px; }
.rail-track { display: flex; gap: 26px; width: max-content; padding: 0 clamp(24px, 6vw, 100px); will-change: transform; }

.rail-progress-wrap { width: 100%; }
.rail-progress-bar {
  width: 100%; height: 2px; background: rgba(28,29,32,0.1); overflow: hidden; border-radius: 2px;
}
.rail-progress-bar i {
  display: block; height: 100%; width: 100%; background: var(--color-blue);
  transform-origin: left center; transform: scaleX(0); will-change: transform;
}

.column-card {
  width: clamp(320px, 34vw, 460px); min-height: 310px; flex-shrink: 0;
  padding: 30px 30px 26px; border-radius: 12px; background: var(--color-dark); color: var(--color-light);
  border: 1px solid rgba(255,255,255,0.08); display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  cursor: pointer; transition: transform 0.35s var(--ease-out), border-color 0.3s;
}
.column-card.is-business { background: #141726; border-color: rgba(69,92,233,0.35); }
.column-card.is-archive {
  background: var(--color-surface); color: var(--color-dark);
  border: 1px dashed rgba(28,29,32,0.28);
}
.column-card.is-archive .col-series { color: var(--color-blue); }
.column-card.is-archive .col-mid p { color: #555860; }
.column-card.is-archive .col-bottom { border-top-color: var(--color-border); color: #5C5F66; }
.column-card.is-archive .col-read { color: var(--color-blue); }
.column-card:hover { transform: translateY(-4px); border-color: var(--color-blue); }
.col-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; }
.col-series { color: #9AA9FF; }
.col-ep { padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.08); color: #E3E6EE; }
.column-card.is-archive .col-ep { background: rgba(69,92,233,0.1); color: var(--color-blue); }
.col-mid h4 { font-size: clamp(20px, 1.9vw, 25px); font-weight: 500; line-height: 1.38; margin-bottom: 12px; letter-spacing: -0.01em; }
.col-mid p { font-size: 14px; line-height: 1.72; color: #A8ACB6; }
.col-bottom {
  padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #C8CCD4;
}
.col-read { color: #fff; font-weight: 500; transition: color 0.25s, transform 0.25s; }
.column-card:hover .col-read { color: #8EA0FF; transform: translateX(4px); }

.work-more-wrap { display: flex; justify-content: center; margin-top: 48px; }
.pill-magnetic {
  padding: 20px 38px; border-radius: 999px; border: 1px solid var(--color-border);
  font-size: 15px; font-weight: 500; overflow: hidden;
  transition: border-color 0.35s, color 0.35s, transform 0.35s var(--ease-out);
}
.pill-magnetic:hover { border-color: var(--color-blue); color: #fff; }
.pill-magnetic sup { font-family: var(--mono); font-size: 11px; margin-left: 3px; opacity: 0.7; }

/* ⑤ 弧形衔接 + 深炭黑 Footer */
.footer-curve-wrap { position: relative; height: 80px; background: var(--color-dark); overflow: hidden; }
.footer-curve {
  position: absolute; left: -10%; width: 120%; height: 180px; top: -115px;
  background: var(--color-light); border-radius: 0 0 50% 50%;
  box-shadow: 0 36px 50px rgba(0,0,0,0.45);
}
.footer { background: var(--color-dark); color: var(--color-light); padding: clamp(72px, 11vh, 130px) 0 64px; }
.footer-heading-row { display: flex; align-items: center; gap: 24px; }
.footer-avatar {
  width: clamp(64px, 6.5vw, 96px); height: clamp(64px, 6.5vw, 96px);
  border-radius: 50%; object-fit: cover; object-position: center 22%;
  background: var(--color-hero-gray);
}
.footer h2 { font-size: clamp(38px, 5vw, 76px); font-weight: 500; line-height: 1.12; letter-spacing: -0.025em; }
.footer-divider-row { position: relative; display: flex; align-items: center; margin: clamp(44px, 6vh, 72px) 0; }
.footer-line { width: 100%; height: 1px; background: var(--color-border-light); }
.footer-divider-row .round-btn { position: absolute; right: clamp(24px, 8vw, 120px); }
.footer-pills { display: flex; flex-wrap: wrap; gap: 16px; }
.pill-outline {
  padding: 18px 30px; border-radius: 999px; border: 1px solid var(--color-border-light);
  font-size: 15px; overflow: hidden; transition: border-color 0.35s, transform 0.35s var(--ease-out);
}
.pill-outline:hover { border-color: var(--color-blue); }
.footer-bottom {
  margin-top: clamp(68px, 10vh, 110px); padding-top: 28px;
  border-top: 1px solid var(--color-border-light);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 28px;
}
.footer-meta-group { display: flex; gap: 44px; flex-wrap: wrap; }
.meta-label { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--color-gray); margin-bottom: 8px; }
.meta-val { font-size: 14px; color: #E4E6EB; }
.footer-links { display: flex; gap: 22px; font-size: 14px; }
.footer-links a { position: relative; padding-bottom: 2px; }
.footer-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-light);
  transform: scaleX(0); transition: transform 0.3s var(--ease-dennis);
}
.footer-links a:hover::after { transform: scaleX(1); }

/* ⑥ 宽屏双栏阅读抽屉 + 图片灯箱 */
.reader-backdrop {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(14,15,18,0.58); backdrop-filter: blur(5px);
  opacity: 0; pointer-events: none; transition: opacity 0.28s var(--ease-dennis);
}
.reader-backdrop.is-open { opacity: 1; pointer-events: auto; }
.reader-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 160;
  width: min(980px, 64vw); background: #FAF9F6; color: var(--color-dark);
  transform: translateX(102%); transition: transform 0.36s var(--ease-dennis), width 0.25s;
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,0.22);
}
.reader-drawer.is-single { width: min(760px, 58vw); }
.reader-drawer.is-open { transform: translateX(0); }

.reader-progress-track { width: 100%; height: 2px; background: rgba(28,29,32,0.08); flex-shrink: 0; }
.reader-progress-fill { width: 0%; height: 100%; background: var(--color-blue); transition: width 0.08s linear; }

.reader-head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 28px; border-bottom: 1px solid var(--color-border);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: #6B6D74;
  flex-shrink: 0;
}
.reader-head-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.reader-compact-title {
  font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--color-dark);
  letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateY(4px); transition: opacity 0.25s, transform 0.25s;
}
.reader-compact-title.is-visible { opacity: 1; transform: translateY(0); }

.reader-close {
  flex-shrink: 0;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--color-border);
  font-family: var(--sans); font-size: 13px; color: var(--color-dark);
}
.reader-close:hover { background: var(--color-dark); color: #fff; }

.reader-layout {
  flex: 1; min-height: 0;
  display: flex;
}
.reader-sidebar {
  width: 256px; flex-shrink: 0;
  background: #F2F0EA;
  border-right: 1px solid var(--color-border);
  padding: 20px 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column; gap: 6px;
}
.reader-sidebar[hidden] { display: none; }
.reader-sidebar-label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--color-gray);
  padding: 8px 10px 4px;
}
.reader-nav-item {
  text-align: left; width: 100%;
  padding: 10px 12px; border-radius: 8px;
  border-left: 2px solid transparent;
  display: flex; flex-direction: column; gap: 3px;
  transition: background 0.2s, border-color 0.2s;
}
.reader-nav-item:hover { background: rgba(28,29,32,0.05); }
.reader-nav-item.is-active {
  background: #FFFFFF;
  border-left-color: var(--color-blue);
  box-shadow: 0 2px 8px rgba(28,29,32,0.05);
}
.reader-nav-ep { font-family: var(--mono); font-size: 10.5px; color: var(--color-blue); letter-spacing: 0.08em; }
.reader-nav-title { font-size: 13.5px; font-weight: 500; line-height: 1.4; color: var(--color-dark); }

.reader-main {
  flex: 1; min-width: 0; overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 32px clamp(24px, 4vw, 48px) 64px;
}
.reader-article {
  max-width: 680px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 18px;
}
.reader-meta-date { font-family: var(--mono); font-size: 12px; color: var(--color-gray); letter-spacing: 0.08em; }
.reader-article h3 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.3; letter-spacing: -0.02em; }
.reader-article img { width: 100%; height: auto; object-fit: contain; border-radius: 8px; border: 1px solid var(--color-border); background: #fff; }
.reader-article p { font-size: 15.5px; line-height: 1.9; color: #2E3036; }
.reader-article p.is-strong { font-weight: 600; color: var(--color-dark); }
.reader-article blockquote {
  padding: 16px 20px; border-left: 3px solid var(--color-blue);
  background: rgba(69,92,233,0.06); font-size: 16px; font-weight: 500; line-height: 1.75;
}
.reader-link {
  align-self: flex-start; margin-top: 8px; padding: 12px 24px; border-radius: 999px;
  background: var(--color-dark); color: #fff; font-size: 14px; font-weight: 500; transition: background 0.25s;
}
.reader-link:hover { background: var(--color-blue); }
.reader-contacts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.reader-contact-chip {
  padding: 10px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  border: 1px solid var(--color-border); background: #FFFFFF; color: var(--color-dark);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.reader-contact-chip:hover { background: var(--color-blue); border-color: var(--color-blue); color: #FFFFFF; }

.reader-nav-footer {
  max-width: 680px; margin: 40px auto 0; padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: flex; justify-content: space-between; gap: 12px;
}
.reader-nav-footer[hidden] { display: none; }
.reader-nav-btn {
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--color-border); background: #fff;
  font-size: 13.5px; font-weight: 500; color: var(--color-dark);
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.reader-nav-btn:hover:not(:disabled) { border-color: var(--color-blue); background: var(--color-blue); color: #fff; }
.reader-nav-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* 图片灯箱 */
.img-lightbox {
  position: fixed; inset: 0; z-index: 220;
  background: rgba(14,15,18,0.88); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 32px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease-out);
}
.img-lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox-figure { max-width: min(1180px, 94vw); max-height: 90vh; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox-figure img { max-width: 100%; max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 10px; background: #fff; padding: 8px; }
.lightbox-figure figcaption { font-size: 13.5px; color: #D4D7DF; text-align: center; }
.lightbox-close {
  position: fixed; top: 24px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.14); color: #fff; font-size: 18px;
  display: grid; place-items: center; transition: background 0.25s;
}
.lightbox-close:hover { background: var(--color-blue); }

.reveal-up { opacity: 0; transform: translateY(26px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.reveal-up.in-view { opacity: 1; transform: none; }

.mobile-menu-item, .nav-drawer-svg { display: none; }

@media (max-width: 900px) {
  html.is-mobile-modal-open, body.is-mobile-modal-open { overflow: hidden; }

  .hero { min-height: 620px; height: 100svh; }
  .hanger {
    display: flex;
    left: auto; right: 20px; top: auto; bottom: clamp(24px, 5vh, 48px);
    transform: none; padding: 0; background: transparent; gap: 0;
  }
  .hanger p { display: none; }
  .globe-wrap { width: 42px; height: 42px; background: transparent; }
  .globe-svg { width: 38px; height: 38px; opacity: 0.94; }

  .hero-role {
    left: 20px; right: 86px; top: auto; bottom: clamp(28px, 5.5vh, 52px);
    transform: none; flex-direction: column; align-items: flex-start; gap: 22px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
  }
  .hero-role p { font-size: clamp(21px, 5.6vw, 26px); line-height: 1.32; }

  .intro { padding: 56px 0 36px; }
  .intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .intro-side { padding-top: 0; gap: 28px; }
  .intro-side p { max-width: 82%; }
  .round-btn-wrap { display: flex; justify-content: flex-end; width: 100%; }
  .round-btn { width: 148px; height: 148px; font-size: 15px; }
  .intro-metrics { grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }

  .projects-wrap { gap: 52px; }
  .project-chapter { grid-template-columns: 1fr; }
  .project-meta-row { flex-wrap: wrap; row-gap: 6px; padding-right: 68px; }
  .project-actions {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  }
  .project-actions .btn-action-primary,
  .project-actions .btn-action-ghost {
    text-align: center; padding: 11px 14px; font-size: 13.5px;
  }
  .project-actions:has(> :nth-child(3)) .btn-action-primary { grid-column: 1 / -1; }
  .feature-copy { padding: 16px 18px 18px; }
  .zoom-pill { right: 10px; bottom: 10px; padding: 3px 8px; font-size: 10px; background: rgba(28, 29, 32, 0.62); }

  .track-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .track-title-group { width: 100%; position: relative; padding-right: 108px; }
  .m-archive-link[hidden] {
    display: inline-flex; align-items: center; justify-content: flex-end;
    position: absolute; right: 0; bottom: 0;
    min-height: 40px; padding: 4px 0 4px 8px;
    color: var(--color-blue); font-size: 13px; font-weight: 500;
    white-space: nowrap; background: transparent; border: 0; cursor: pointer;
  }
  .m-archive-link:active { opacity: .65; }
  .rail-track .column-card.is-archive { display: none; }

  .track-hint { display: none; }
  .rail-section:not(.is-sticky-active) .track-controls {
    display: flex; width: 100%; align-items: center; gap: 8px;
  }
  .rail-section:not(.is-sticky-active) .rail-progress-wrap { display: block; }
  .rail-counter { display: inline-flex; margin-right: auto; }
  .step-btn { width: 38px; height: 38px; font-size: 14px; }

  .rail-viewport {
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; scroll-padding-left: 20px;
  }
  .rail-viewport::-webkit-scrollbar { display: none; }
  .rail-track { gap: 14px; padding: 0 20px; }
  .column-card {
    width: min(80vw, 310px); min-height: 268px;
    padding: 22px 20px 20px; gap: 18px;
    scroll-snap-align: start;
  }
  .col-mid h4 { font-size: 19px; }

  .footer { padding: 64px 0 calc(48px + env(safe-area-inset-bottom)); }
  .footer-heading-row { gap: clamp(12px, 4vw, 18px); align-items: center; }
  .footer-avatar { width: clamp(46px, 14vw, 60px); height: clamp(46px, 14vw, 60px); flex-shrink: 0; }
  .footer h2 { font-size: clamp(26px, 8.2vw, 42px); line-height: 1.22; white-space: nowrap; }
  html[lang="en"] .footer h2 { font-size: clamp(20px, 5.8vw, 36px); }
  .footer-divider-row { margin: 72px 0 75px; }
  .footer-divider-row .round-btn {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    width: 118px; height: 118px; font-size: 14.5px;
  }
  .footer-pills { gap: 10px; }
  .pill-outline { padding: 14px 20px; font-size: 14px; }
  .footer-bottom { margin-top: 48px; }
  .footer-meta-group { gap: 22px 32px; }
  .footer-links { display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 28px; }

  .reader-drawer, .reader-drawer.is-single {
    top: 6vh; left: 0; right: 0; bottom: 0; width: 100%;
    border-radius: 18px 18px 0 0;
    transform: translateY(102%);
  }
  .reader-drawer.is-open { transform: translateY(0); }
  .reader-head { padding: 14px 18px; }
  #readerEyebrow { white-space: nowrap; flex-shrink: 0; font-size: 11px; }
  .reader-head:has(.reader-compact-title.is-visible) #readerEyebrow { display: none; }
  .reader-article .reader-link { flex: 1 1 auto; text-align: center; padding: 11px 16px; }
  .reader-layout { flex-direction: column; }
  .reader-sidebar {
    width: 100%; max-height: 124px;
    border-right: none; border-bottom: 1px solid var(--color-border);
    flex-direction: row; overflow-x: auto; padding: 10px 14px;
    scrollbar-width: none;
  }
  .reader-sidebar::-webkit-scrollbar { display: none; }
  .reader-sidebar-label { display: none; }
  .reader-nav-item { min-width: 176px; padding: 8px 10px; border-left: none; border-bottom: 2px solid transparent; }
  .reader-nav-item.is-active { border-bottom-color: var(--color-blue); }
  .reader-main { padding: 24px 20px calc(56px + env(safe-area-inset-bottom)); }
  .reader-nav-footer { flex-wrap: wrap; gap: 10px; }
  .reader-nav-btn { flex: 1 1 auto; text-align: center; padding: 10px 14px; font-size: 13px; }

  .img-lightbox { padding: 16px; }
  .lightbox-close { top: 14px; right: 16px; }

  /* 移动端专属物理动效（严格隔离在 <=900px，零影响桌面端） */
  body.has-m-motion .topbar,
  body.has-m-motion .hero-role,
  body.has-m-motion .hanger,
  body.has-m-motion .marquee-wrap {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s var(--ease-out), transform 0.72s var(--ease-out);
  }
  body.has-m-motion .hero-portrait-wrap img {
    opacity: 0;
    transform: translate3d(0, 22px, 0) scale(1.03);
    transition: opacity 0.75s var(--ease-out), transform 0.9s var(--ease-out);
  }
  body.has-m-motion.mobile-hero-ready .topbar { opacity: 1; transform: none; transition-delay: 0.04s; }
  body.has-m-motion.mobile-hero-ready .hero-portrait-wrap img { opacity: 1; transform: translate3d(0, 0, 0) scale(1); transition-delay: 0.08s; }
  body.has-m-motion.mobile-hero-ready .marquee-wrap { opacity: 1; transform: none; transition-delay: 0.16s; }
  body.has-m-motion.mobile-hero-ready .hero-role { opacity: 1; transform: none; transition-delay: 0.24s; }
  body.has-m-motion.mobile-hero-ready .hanger { opacity: 1; transform: none; transition-delay: 0.28s; }

  /* m3: scroll-driven mobile motion; independent of desktop */
  body.has-m-motion .intro h2.reveal-up { opacity: 1; transform: none; transition: none; }
  body.has-m-motion .m-mask {
    clip-path: inset(0 0 var(--m-cut, 0%) 0);
    transition: none;
  }
  body.has-m-motion .intro .round-btn-wrap {
    transform: translate3d(0, var(--m-parallax, 0px), 0);
  }
  body.has-m-motion .project-features {
    isolation: isolate; gap: 32px;
  }
  body.has-m-motion .project-features::after {
    content: ""; display: block; flex: 0 0 48px; margin-top: -32px; pointer-events: none;
  }
  body.has-m-motion .columns-rails { margin-top: 36px; padding-top: 32px; }
  body.has-m-motion .feature-card {
    position: sticky;
    top: var(--m-pin, 76px);
    z-index: var(--m-layer, 1);
    transform-origin: center top;
    transform: translate3d(0, var(--m-stack-y, 0px), 0) scale(var(--m-stack-scale, 1));
    opacity: var(--m-stack-opacity, 1);
    transition: none;
  }
  body.has-m-motion .feature-card::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: #15161a; opacity: var(--m-stack-shade, 0);
  }
  /* Reserve image geometry before lazy loading to keep sticky motion stable. */
  body.has-m-motion .feature-media img[src$="hardware-rag-cite.png"], body.has-m-motion .media-stage img[src$="hardware-rag-cite.png"] { aspect-ratio: auto 1070 / 999; }
  body.has-m-motion .feature-media img[src$="hardware-rag-kb.png"], body.has-m-motion .media-stage img[src$="hardware-rag-kb.png"] { aspect-ratio: auto 1920 / 998; }
  body.has-m-motion .feature-media img[src$="hardware-rag.png"], body.has-m-motion .media-stage img[src$="hardware-rag.png"] { aspect-ratio: auto 1920 / 998; }
  body.has-m-motion .feature-media img[src$="open-margin-mcp-en.png"], body.has-m-motion .media-stage img[src$="open-margin-mcp-en.png"] { aspect-ratio: auto 856 / 1026; }
  body.has-m-motion .feature-media img[src$="open-margin-mcp-zh.png"], body.has-m-motion .media-stage img[src$="open-margin-mcp-zh.png"] { aspect-ratio: auto 820 / 786; }
  body.has-m-motion .feature-media img[src$="open-margin-mobile.jpg"], body.has-m-motion .media-stage img[src$="open-margin-mobile.jpg"] { aspect-ratio: auto 2186 / 1208; }
  body.has-m-motion .feature-media img[src$="open-margin-overview.jpg"], body.has-m-motion .media-stage img[src$="open-margin-overview.jpg"] { aspect-ratio: auto 1564 / 1008; }
  body.has-m-motion .feature-media img[src$="open-margin-sync-en.png"], body.has-m-motion .media-stage img[src$="open-margin-sync-en.png"] { aspect-ratio: auto 920 / 1120; }
  body.has-m-motion .feature-media img[src$="open-margin-sync-zh.png"], body.has-m-motion .media-stage img[src$="open-margin-sync-zh.png"] { aspect-ratio: auto 920 / 1120; }
  body.has-m-motion .rail-viewport { scroll-padding-inline: 0; }
  body.has-m-motion .rail-track {
    position: relative;
    padding-inline: max(20px, calc((100vw - min(80vw, 310px)) / 2));
  }
  body.has-m-motion .column-card {
    scroll-snap-align: center;
    transform: scale(var(--m-focus-scale, 1));
    opacity: var(--m-focus-opacity, 1);
    transition: border-color 0.16s ease;
  }
  body.has-m-motion .column-card.m-focused { border-color: var(--color-blue); }
  body.has-m-motion .column-card:active { scale: .98; }

  body.has-m-motion .rail-viewport.m-continuous-rail {
    scroll-snap-type: none; scroll-behavior: auto;
    overflow-anchor: none; touch-action: pan-y pinch-zoom;
  }
  body.has-m-motion .rail-viewport.m-continuous-rail .column-card {
    scroll-snap-align: none;
  }
  body.has-m-motion .m-loop-toggle { font-size: 12px; letter-spacing: 0; }

  .footer-curve { transform-origin: center top; will-change: transform; }

  .reader-drawer.is-open .reader-step-card {
    animation: mStepIn 0.5s var(--ease-out) both;
  }
  .reader-drawer.is-open .reader-step-card:nth-of-type(1) { animation-delay: 0.06s; }
  .reader-drawer.is-open .reader-step-card:nth-of-type(2) { animation-delay: 0.12s; }
  .reader-drawer.is-open .reader-step-card:nth-of-type(3) { animation-delay: 0.18s; }
  .reader-drawer.is-open .reader-step-card:nth-of-type(4) { animation-delay: 0.24s; }

  .btn-action-primary, .btn-action-ghost, .pill-outline, .reader-contact-chip {
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s, border-color 0.2s;
  }
  .btn-action-primary:active, .btn-action-ghost:active, .pill-outline:active, .reader-contact-chip:active {
    scale: .97;
  }
}
@keyframes mStepIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .topbar { padding: 22px 20px; }
  .top-links { gap: 16px; }
  .top-links li:nth-child(-n+4) { display: none; }
  .mobile-menu-item { display: list-item; }
  .mobile-menu-trigger {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 2px; font-size: 15px; font-weight: 400; color: #FFFFFF;
  }
  .mobile-menu-dot {
    width: 5px; height: 5px; border-radius: 50%; background: #FFFFFF; flex-shrink: 0;
  }

  .floating-menu-btn {
    top: 18px; right: 18px; width: 62px; height: 62px;
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
    transition: transform 0.4s cubic-bezier(0.34, 1.5, 0.64, 1), opacity 0.28s, background-color 0.25s;
  }
  .floating-menu-btn.is-open {
    background: var(--color-blue); border-color: transparent;
  }
  .burger-lines { gap: 5px; }
  .burger-lines i { width: 22px; }

  .nav-overlay {
    background: rgba(14, 15, 18, 0.52);
    transition: opacity 0.8s cubic-bezier(0.7, 0, 0.2, 1);
  }
  .nav-drawer {
    width: 65vw;
    padding: 96px 24px calc(36px + env(safe-area-inset-bottom));
    transform: translateX(calc(100% + 90px));
    transition: transform 0.72s cubic-bezier(0.7, 0, 0.2, 1);
    overflow: visible;
  }
  .nav-drawer.is-open { transform: translateX(0); }
  .nav-drawer-svg {
    display: block;
    position: absolute;
    left: 1px; top: 0;
    width: 80px; height: 100%;
    transform-origin: right center;
    transform: translateX(-100%) scaleX(1);
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.05s;
    pointer-events: none;
    will-change: transform;
  }
  .nav-drawer.is-open .nav-drawer-svg {
    transform: translateX(-100%) scaleX(0);
  }
  .drawer-links { margin-top: 24px; gap: 12px; }
  .drawer-links a { font-size: clamp(24px, 6.4vw, 32px); line-height: 1.28; white-space: nowrap; }
  .drawer-links li {
    transform: translateX(15vw);
    transition: transform 0.75s cubic-bezier(0.7, 0, 0.2, 1);
  }
  .nav-drawer.is-open .drawer-links li { transform: translateX(0); }
  .nav-drawer.is-open .drawer-links li:nth-child(1) { transition-delay: 0.06s; }
  .nav-drawer.is-open .drawer-links li:nth-child(2) { transition-delay: 0.10s; }
  .nav-drawer.is-open .drawer-links li:nth-child(3) { transition-delay: 0.14s; }
  .nav-drawer.is-open .drawer-links li:nth-child(4) { transition-delay: 0.18s; }
  .social-row { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 18px; font-size: 13.5px; }

  .hero-portrait-wrap img { height: 104%; max-height: none; margin-bottom: -3%; }
  .marquee-wrap {
    position: absolute; left: 0; right: 0; bottom: clamp(172px, 28vh, 245px);
    padding-bottom: 0;
  }
  .marquee-track h1 { font-size: clamp(106px, 29vw, 144px); line-height: 0.94; }

  .footer-pills { flex-direction: column; }
  .pill-outline { width: 100%; justify-content: center; padding: 15px 20px; font-size: 14.5px; }
}
@media (hover: none), (pointer: coarse) {
  .magnetic:hover .btn-fill { transform: translateY(105%); }
  .magnetic:active:not(:is(.round-btn,.floating-menu-btn,.pill-outline,.btn-action-primary,.btn-action-ghost,.reader-contact-chip)) { transform: scale(0.96); }
  .column-card:hover { transform: none; }
  .column-card:active { scale: .98; border-color: var(--color-blue); }
  .feature-card:hover { transform: none; }
  .media-stage:hover { box-shadow: none; }
  .zoom-pill { opacity: 0.86; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
  .globe-svg { animation: none; }
  .reveal-up { opacity: 1; transform: none; }
}

.reader-kpi-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
}
.reader-kpi-card {
  background: #FFFFFF; border: 1px solid var(--color-border); border-radius: 10px;
  padding: 14px 16px; display: flex; flex-direction: column; gap: 4px;
}
.reader-kpi-card strong {
  font-size: clamp(18px, 2.2vw, 22px); font-weight: 700; letter-spacing: -0.02em; color: var(--color-dark);
}
.reader-kpi-card span {
  font-size: 12.5px; color: #5C5F66; line-height: 1.4;
}
.reader-step-card {
  background: #FFFFFF; border: 1px solid var(--color-border); border-left: 3px solid var(--color-blue);
  border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px;
}
.reader-step-badge {
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; color: var(--color-blue);
}
.reader-step-card p { font-size: 14.5px; line-height: 1.8; color: #2E3036; margin: 0; }
.reader-step-list {
  margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 10px;
  font-size: 14.5px; line-height: 1.75; color: #2E3036;
}
.reader-step-list li::marker { color: var(--color-blue); }

 /* m12: approved interaction and accessibility fixes */
 .sr-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 :where(a,button,[tabindex="0"]):focus-visible {outline:2px solid var(--color-blue);outline-offset:4px}
 .column-card:focus-visible {outline-offset:-3px}
 .drawer-links a.is-current {color:var(--color-blue)}
 .top-links a.is-current::after {transform:translateX(-50%) scale(1)}
 .reader-index-list {display:grid;gap:0;margin-top:24px}
 .reader-index-item {display:flex;flex-direction:column;text-align:left;gap:8px;padding:20px 0;border-bottom:1px solid var(--color-border);width:100%}
 .reader-index-item strong {font-size:18px;line-height:1.5}
 .reader-index-item:hover strong {color:var(--color-blue)}
 .reader-drawer.is-index .reader-layout {display:flex}
 .lightbox-figure {overflow:visible}
 .lightbox-figure img {touch-action:none;user-select:none;-webkit-user-drag:none;transform-origin:center;cursor:zoom-in}
 .lightbox-close,.lightbox-step {z-index:2}
 .lightbox-step {position:fixed;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;background:rgba(15,16,18,.7);color:white;font-size:20px;display:grid;place-items:center}
 .lightbox-step[hidden] {display:none}
 .lightbox-prev {left:12px}.lightbox-next {right:12px}
 .footer-pills [data-copy] .btn-text-inner::after {content:' ⧉';font-size:.9em;opacity:.75}
 .footer-pills a .btn-text-inner::after {content:' ↗';font-size:.9em;opacity:.75}
 @media(max-width:900px){
 .reader-head {touch-action:pan-x;cursor:grab}
 .reader-index-item {padding:16px 0}
 .reader-index-item strong {font-size:17px}
 .lightbox-step {top:auto;bottom:18px;transform:none}
 .nav-drawer-inner {overflow-y:auto;overscroll-behavior:contain}
 }


 /* m14 P3: shared-element flights are visual-only and never intercept input. */
 .p3-flight {position:fixed;z-index:240;pointer-events:none;transform-origin:0 0;box-sizing:border-box;margin:0;max-width:none;max-height:none}
 .p3-image-flight {object-fit:fill;background:white;overflow:hidden}
 .p3-title-flight {white-space:normal;overflow:hidden;text-align:left}
 .p3-flight-target {opacity:0!important}
 .reader-backdrop {transition:opacity .36s var(--ease-dennis)}
 /* Independent scale preserves existing transforms (magnetism, parallax, focus and position). */
 .round-btn {--p3-press:.94;--p3-release:350ms}
 .floating-menu-btn {--p3-press:.93;--p3-release:300ms}
 .pill-outline,.btn-action-primary,.btn-action-ghost,.reader-contact-chip {--p3-press:.97;--p3-release:250ms}
 .column-card {--p3-press:.98;--p3-release:220ms}
 .step-btn {--p3-press:.92;--p3-release:280ms}
 :is(.round-btn,.floating-menu-btn,.pill-outline,.btn-action-primary,.btn-action-ghost,.reader-contact-chip,.column-card,.step-btn) {
   scale:1;transition-property:transform,opacity,background-color,border-color,color,scale;
   transition-duration:.25s,.25s,.2s,.2s,.2s,var(--p3-release);
   transition-timing-function:var(--ease-out),ease,ease,ease,ease,cubic-bezier(.22,1.35,.36,1)
 }
 .floating-menu-btn {transition-duration:.45s,.35s,.25s,.2s,.2s,var(--p3-release)}
 body.has-m-motion .column-card {transition-property:border-color,scale;transition-duration:.16s,var(--p3-release);transition-timing-function:ease,cubic-bezier(.22,1.35,.36,1)}
 :is(.round-btn,.floating-menu-btn,.pill-outline,.btn-action-primary,.btn-action-ghost,.reader-contact-chip,.column-card,.step-btn):active {
   scale:var(--p3-press);transition-duration:.25s,.25s,.2s,.2s,.2s,80ms
 }
 body.has-m-motion .column-card:active {transition-duration:.16s,80ms}
 @media(max-width:768px){
   .floating-menu-btn {transition-duration:.4s,.28s,.25s,.2s,.2s,var(--p3-release);transition-timing-function:cubic-bezier(.34,1.5,.64,1),ease,ease,ease,ease,cubic-bezier(.22,1.35,.36,1)}
 }
 @media(prefers-reduced-motion:reduce){
   :is(.round-btn,.floating-menu-btn,.pill-outline,.btn-action-primary,.btn-action-ghost,.reader-contact-chip,.column-card,.step-btn){scale:1!important;transition-duration:0s!important}
   .p3-flight {display:none}
   .p3-flight-target {opacity:1!important}
 }

 /* m15 desktop reading workspace; mobile layout stays on m14. */
 .desktop-reader-tools,.reader-divider,.desktop-light-tools,.desktop-project-features {display:none}
 .reader-head-actions {display:flex;align-items:center;gap:10px;flex-shrink:0}
 @media(min-width:901px){
   .reader-drawer:not(.is-single),.reader-drawer.is-project {
     width:min(1120px,calc(100vw - clamp(24px,6vw,120px)));
     transition:transform .36s var(--ease-dennis);
   }
   .reader-drawer.is-focus-reading {width:100vw;box-shadow:none}
   .reader-sidebar {width:clamp(180px,var(--reader-side,240px),min(360px,calc(100% - 620px)));border-right:0;padding:20px 12px;min-width:0}
   .reader-sidebar[hidden] {display:none}
   .reader-nav-item {flex-shrink:0}
   .reader-divider:not([hidden]) {display:block;position:relative;flex:0 0 9px;cursor:col-resize;touch-action:none;background:linear-gradient(90deg,#F2F0EA 0 4px,var(--color-border) 4px 5px,transparent 5px)}
   .reader-divider:not([hidden]):hover,.reader-divider:focus-visible,.is-resizing .reader-divider {background:linear-gradient(90deg,transparent 0 3px,var(--color-blue) 3px 6px,transparent 6px)}
   .reader-divider::after {content:'';position:absolute;top:50%;left:3px;width:3px;height:28px;border-radius:3px;background:#a7a6a1}
   .reader-drawer.is-resizing {user-select:none;cursor:col-resize}
   .reader-main {padding:32px clamp(28px,3.1vw,48px) 64px}
   .reader-article p {font-size:16px;line-height:1.9}
   .reader-article {max-width:680px}
   .reader-index-welcome {display:flex;flex-direction:column;gap:20px;min-height:440px;justify-content:center;align-items:flex-start;padding:24px 0}
   .reader-index-welcome h3 {font-size:clamp(30px,3.5vw,48px)}
   .reader-index-welcome .reader-index-hint {font-size:13px;color:#6b6d74;margin-top:14px}
   .desktop-reader-tools:not([hidden]) {display:flex;align-items:center;gap:7px;flex-shrink:0}
   .desktop-reader-tools [hidden] {display:none}
   .reader-tool {padding:8px 12px;border:1px solid var(--color-border);border-radius:999px;font-family:var(--sans);font-size:12px;color:var(--color-dark);white-space:nowrap;letter-spacing:0}
   .reader-tool:hover:not(:disabled),.reader-tool[aria-pressed=true] {background:var(--color-dark);color:white}
   .reader-tool:disabled {opacity:.35;cursor:not-allowed}
   .reader-arrow {width:38px;padding:7px;font-size:15px}
   .reader-head {gap:10px;padding:16px 24px}
   .reader-head-left {overflow:hidden}
   .reader-compact-title {max-width:100%}
   .reader-drawer.is-focus-reading .reader-main {padding-top:42px}
   .desktop-light-tools {display:flex;align-items:center;gap:8px;position:fixed;z-index:3;top:24px;left:50%;transform:translateX(-50%);padding:7px;border:1px solid #ffffff33;border-radius:999px;background:#1c1d20e8;color:white;white-space:nowrap}
   .desktop-light-tools button {padding:7px 12px;border-radius:999px;color:white;font-size:13px}
   .desktop-light-tools button:hover:not(:disabled) {background:#ffffff26}
   .desktop-light-tools button:disabled {opacity:.35;cursor:not-allowed}
   .desktop-light-tools output {min-width:54px;text-align:center;font-variant-numeric:tabular-nums;font-size:13px}
   .img-lightbox .lightbox-figure img {max-height:77vh}
   .reader-drawer.is-project .reader-article {max-width:100%}
   .reader-drawer.is-project .reader-article > :not(.desktop-project-features) {max-width:680px;width:100%;align-self:center}
   .desktop-project-features {display:grid;gap:0;margin:14px 0 22px;width:100%}
   .desktop-project-feature {display:grid;grid-template-columns:minmax(0, .9fr) minmax(0,1.1fr);gap:clamp(20px,3vw,42px);align-items:center;padding:28px 0;border-top:1px solid var(--color-border)}
   .desktop-project-feature:last-child {border-bottom:1px solid var(--color-border)}
   .desktop-project-copy {display:flex;flex-direction:column;gap:10px}
   .desktop-project-copy h4 {font-size:clamp(20px,2vw,27px);line-height:1.35}
   .desktop-project-copy p {font-size:14.5px;line-height:1.8}
   .desktop-project-image {display:block;min-width:0;cursor:zoom-in;text-align:left}
   .desktop-project-image img {display:block;width:100%;max-height:430px;object-fit:contain;background:#fff}
   .desktop-project-caption {display:block;font-size:11px;color:#777;margin-top:8px;line-height:1.5}
   .track-title-group {position:relative}
   .m-archive-link[hidden] {display:inline-flex;align-items:center;color:var(--color-blue);font-size:13px;font-weight:500;padding:7px 0;margin-top:3px;white-space:nowrap;cursor:pointer}
   .m-archive-link:hover {text-decoration:underline;text-underline-offset:4px}
 }
 @media(min-width:901px) and (max-width:1100px){
   .reader-head {padding:14px 18px}
   .reader-head-left {gap:7px}
   .reader-tool {padding:7px 9px}
   .reader-arrow {width:34px}
 }

 /* m16: shared rail motion, independent from vertical page scroll. */
 @media(min-width:901px){
   .rail-section:not(.is-sticky-active) .track-controls {display:flex}
   .rail-section:not(.is-sticky-active) .rail-progress-wrap {display:block}
   .rail-viewport {overflow-x:auto;scrollbar-width:none;scroll-behavior:auto;overflow-anchor:none}
   .rail-viewport::-webkit-scrollbar {display:none}
   .rail-track {position:relative;will-change:auto}
   .m-loop-toggle {font-size:13px;letter-spacing:0}
   .rail-viewport.m-continuous-rail {scroll-snap-type:none}
   .rail-viewport:not(.m-continuous-rail) .column-card {scroll-snap-align:start}
   .rail-viewport:not(.m-continuous-rail) {scroll-snap-type:x proximity}
 }
