/* ============================================================
   Coherence clone — strict 1:1 with coherenceneuro.com
   Font: Inter Tight + Geist Mono
   ============================================================ */

html, body {
  overscroll-behavior-y: none;  /* 禁用 iOS Safari 顶部下拉回弹 (iOS 15+) */
  /* 注意: 不设任何 overflow-x — iOS Safari 17 上仍可能禁用 touch 滚动 */
}

@font-face {
  font-family: "Inter Tight";
  src: url("assets/fonts/InterTight-Light.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("assets/fonts/InterTight-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("assets/fonts/InterTight-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("assets/fonts/InterTight-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("assets/fonts/InterTight-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("assets/fonts/GeistMono-Regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("assets/fonts/GeistMono-Medium.woff") format("woff");
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ============== TOKENS ============== */
:root {
  --bg-dark: #010201;
  --bg-light: #f4f0ea;
  --ink-dark: #010201;
  --ink-light: #fff9f9;
  --ink-soft-dark: rgba(255,249,249,0.55);
  --ink-soft-light: rgba(1,2,1,0.55);
  --accent: #c9623c;
  --hairline-dark: rgba(255,249,249,0.18);
  --hairline-light: rgba(1,2,1,0.18);

  --container-max: 1440px;
  --gutter: 80px;

  --font-sans: "Inter Tight", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", Arial, Helvetica, sans-serif;
  --font-mono: "Geist Mono", "SF Mono", "JetBrains Mono", ui-monospace, Menlo, monospace;
}

/* ============== RESET ============== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink-light);
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; background: transparent; border: 0; outline: 0; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ============== NAV ============== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 200ms ease, backdrop-filter 200ms ease;
}
.nav.scrolled {
  background: rgba(1,2,1,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-brand { display: inline-flex; align-items: center; }
.nav-logo { height: 38px; width: auto; display: block; flex-shrink: 0; }
.nav-brand-text { display: inline-flex; flex-direction: column; gap: 2px; line-height: 1; margin-left: 10px; }
.nav-brand-zh { font-size: 18px; font-weight: 600; color: #fff9f9; letter-spacing: 0.04em; }
.nav-brand-en { font-size: 10px; font-weight: 500; color: #fff9f9; opacity: 0.55; letter-spacing: 0.18em; font-family: var(--font-mono); }
.nav-menu { display: flex; gap: 36px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 4px;
  font-size: 13px; color: #fff9f9;
}
.lang-btn {
  background: none; border: 0; padding: 4px 4px 6px;
  color: inherit; font: inherit; cursor: pointer;
  letter-spacing: 0.05em; opacity: 0.55;
  transition: opacity .15s ease;
  position: relative;
}
.lang-btn:hover { opacity: 0.85; }
.lang-btn.active { opacity: 1; font-weight: 600; }
.lang-btn.active::after {
  content: ''; position: absolute; left: 4px; right: 4px; bottom: 1px;
  height: 1.5px; background: var(--accent, #ff8752); border-radius: 2px;
}
.lang-sep { opacity: 0.35; user-select: none; }
.nav-link {
  font-size: 14px;
  letter-spacing: 0.01em;
  position: relative;
  padding-bottom: 4px;
}
.nav-link .nav-underline {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 360ms cubic-bezier(.7,0,.2,1);
}
.nav-link:hover .nav-underline { transform: scaleX(1); transform-origin: left; }
.nav-link.active .nav-underline { transform: scaleX(1); transform-origin: left; }
.nav-link.active { color: #fff; }
.nav-burger { display: none; }

/* ============== PAGE HERO (subpages) ============== */
.page-hero {
  padding: clamp(140px, 14vw, 200px) 0 clamp(60px, 8vw, 100px);
}
.page-hero .kicker { margin-bottom: 20px; }
.page-hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  max-width: 900px;
}
.page-hero-lede {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  max-width: 640px;
  margin: 0;
}

/* ============== ENTRY GRID (home — 4 cards) ============== */
.entry { padding: clamp(80px, 9vw, 140px) 0 clamp(80px, 9vw, 140px); }
.entry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}
.entry-card {
  background: #0a0c0b;
  padding: clamp(36px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: background 320ms ease;
  min-height: 280px;
}
.entry-card:hover { background: #11161470; }
.entry-card:hover .entry-arrow { transform: translateX(8px); }
.entry-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.15em;
}
.entry-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  color: #fff;
}
.entry-card p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin: 0;
  max-width: 460px;
}
.entry-arrow {
  font-size: 22px;
  color: #fff;
  margin-top: auto;
  transition: transform 320ms cubic-bezier(.7,0,.2,1);
  align-self: flex-start;
}

@media (max-width: 720px) {
  .entry-grid { grid-template-columns: 1fr; }
}

/* ============== HERO ============== */
.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 100vh;
  min-height: 100svh;
  color: var(--ink-light);
  background: var(--bg-dark);
  display: flex;
  align-items: flex-end;
  padding: 0 0 clamp(40px, 8vh, 96px);
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
  background: #000;
  overflow: hidden;
  /* 装 3 张轮播图 — 用 background-image 而非 <img> 元素，避免触发 iOS Safari 图层合成抖动 */
  /* 不加任何 transform/scale 动画 */
  /* 也不加 background-size keyframes — 会把 cover 覆盖成 contain 模式 */
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}
.hero-slide.is-active { opacity: 1; }

/* 移动端 / 平板竖屏:hero 高度跟随视口宽度按 16:9 等比缩放,
   这样 16:9 横版图能完整 cover 不需要横向 pan / 不需要左右滚动。
   顶部 60px 留空给 fixed nav(56px),让 image 自带的顶部标题不被 nav 压住 */
@media (max-width: 1024px) {
  .hero {
    min-height: calc(56.25vw + 60px);
    max-height: calc(100svh + 60px);
    margin-top: 60px;        /* 把整个 hero 顶下来,image 顶端落在 nav 下方 */
    background: #0a1a23;     /* margin 露出的 4px 缝隙用深色填充,避免与 nav 浮空感 */
  }
  .hero-slide {
    background-position: center center;
  }
  .hero .hero-title {
    font-size: clamp(22px, 5.5vw, 32px);
  }
}

/* hero 底部圆点 — 切换指示器 */
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 6vh, 56px);
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
  pointer-events: auto;
}
.hero-dot {
  width: 28px;
  height: 3px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: background 240ms ease, width 240ms ease;
  border-radius: 2px;
}
.hero-dot:hover { background: rgba(255, 255, 255, 0.55); }
.hero-dot.is-active {
  background: rgba(255, 255, 255, 0.92);
  width: 44px;
}

/* "Foreground" slide — image has its own built-in copy on a light bg.
   When this slide is active, suppress the hero dark gradient + carousel text overlay. */
body.hero-light-slide .hero::after { opacity: 0; transition: opacity 600ms ease; }
body.hero-light-slide .hero-content { opacity: 0; pointer-events: none; transition: opacity 400ms ease; }
.hero::after, .hero-content { transition: opacity 600ms ease; }
@media (max-width: 720px) {
  .hero-dot { width: 22px; }
  .hero-dot.is-active { width: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity 0.4s ease; }
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 75% at 8% 100%, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.65) 30%, rgba(0,0,0,0.25) 55%, transparent 75%),
    linear-gradient(180deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.10) 28%, rgba(0,0,0,0.35) 65%, rgba(0,0,0,0.90) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.45) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  display: flex; flex-direction: column; gap: clamp(20px, 3vw, 32px);
}
.hero-title {
  font-size: clamp(40px, 5.8vw, 68px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 640px;
  margin: 0;
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 16px 32px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 220ms ease;
  cursor: pointer;
  align-self: flex-start;
  text-transform: uppercase;
}
.btn-ghost {
  background: transparent;
  border-color: rgba(255,249,249,0.55);
  color: var(--ink-light);
}
.btn-ghost:hover { background: rgba(255,249,249,0.08); border-color: var(--ink-light); }
.btn-dark {
  background: var(--ink-dark);
  color: var(--ink-light);
  border-color: var(--ink-dark);
}
.btn-dark:hover { background: #000; border-color: #000; }

/* ============== SECTION COMMONS ============== */
.section {
  padding: clamp(80px, 12vw, 200px) 0;
  position: relative;
}
.section-dark { background: var(--bg-dark); color: var(--ink-light); }
.section-light { background: var(--bg-light); color: var(--ink-dark); }

.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 20px;
}
.kicker.peach { color: var(--accent); opacity: 1; }

.display {
  font-size: clamp(36px, 5.6vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 1100px;
}

.lede {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  opacity: 0.8;
  max-width: 620px;
  margin: 24px 0 0;
}

.card-title {
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.005em;
  margin: 0;
  max-width: 380px;
}

/* ============== MISSION ============== */
.mission {
  padding-top: clamp(120px, 18vw, 200px);
  padding-bottom: clamp(80px, 12vw, 160px);
}

/* ============== INTRODUCING + DEVICE BANNER ============== */
.introducing {
  position: relative;
  padding: clamp(100px, 12vw, 160px) 0 clamp(80px, 10vw, 140px);
  overflow: hidden;
}
.introducing-content {
  position: relative; z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(40px, 5vw, 72px);
}
.introducing .display { max-width: 720px; }
.introducing-content .kicker { margin: 0; }
.intro-image {
  width: 100%;
  max-width: 1400px;
  height: auto;
  display: block;
  border-radius: 12px;
  /* 让 banner 突破 container padding 一点，更接近 hero 视觉 */
  margin: 0 auto;
}
.intro-lede-wrap {
  width: 100%;
  max-width: 880px;
}
.intro-lede-wrap .lede {
  max-width: none;
  margin: 0;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.65;
  color: rgba(255, 249, 249, 0.78);
}
@media (max-width: 720px) {
  .intro-lede-wrap .lede { font-size: 16px; }
}

/* ============== SOMA ============== */
.soma-head { max-width: 1100px; margin-bottom: clamp(80px, 12vw, 160px); }
.soma-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 40px);
}
.soma-card {
  display: flex; flex-direction: column;
  justify-content: space-between;
  min-height: 560px;
}
.soma-card-text { padding-bottom: 32px; }
.soma-img {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a1a;
  min-height: 360px;
}
.soma-img img { width: 100%; height: 100%; object-fit: cover; }

/* ============== CANCER (6 features) ============== */
.cancer { overflow: hidden; }  /* 裁掉 .cancer-halo 横向溢出 (width: 130%) */
.cancer .display { margin-bottom: clamp(120px, 16vw, 220px); }
.cancer-stage {
  position: relative;
  margin: clamp(40px, 8vw, 120px) 0;
}
.cancer-halo {
  position: absolute;
  top: 50%; left: 50%;
  width: 130%;
  aspect-ratio: 1.45 / 1;
  transform: translate(-50%, -50%) rotate(-15deg);
  border: 2px solid rgba(201,98,60,0.75);
  border-radius: 50%;
  background: radial-gradient(ellipse 50% 70% at center,
    rgba(201,98,60,0.35) 0%,
    rgba(201,98,60,0.15) 45%,
    rgba(201,98,60,0.0) 80%);
  box-shadow:
    inset 0 0 120px rgba(201,98,60,0.4),
    inset 0 0 280px rgba(201,98,60,0.18),
    0 0 80px rgba(201,98,60,0.35),
    0 0 160px rgba(201,98,60,0.15);
  z-index: 0;
  pointer-events: none;
}
.cancer-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(40px, 4vw, 80px) clamp(40px, 4vw, 80px);
}
.cancer-feature {
  font-size: 15px;
  line-height: 1.5;
}
.cancer-feature .kicker { margin-bottom: 14px; }
.cancer-feature p { margin: 0; max-width: 360px; opacity: 0.85; }
.f-tl { align-self: start; padding-top: 0; }
.f-tm { align-self: start; text-align: center; margin-top: clamp(60px, 8vw, 120px); }
.f-tr { align-self: start; text-align: right; margin-top: clamp(20px, 4vw, 60px); }
.f-bl { align-self: end; padding-bottom: 0; }
.f-bm { align-self: end; text-align: center; margin-bottom: clamp(60px, 8vw, 120px); }
.f-br { align-self: end; text-align: right; }
.f-tl p, .f-tr p, .f-bl p, .f-br p { margin-left: auto; }
.f-tr p, .f-br p { margin-left: auto; margin-right: 0; }
.f-tl p, .f-bl p { margin-right: auto; }
.cancer .btn { margin-top: clamp(60px, 8vw, 120px); }

/* ============== PLATFORM ============== */
.platform-head { max-width: 900px; margin-bottom: clamp(80px, 12vw, 160px); }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 2.4vw, 48px);
}
.platform-card {
  display: flex; flex-direction: column;
  gap: 40px;
  min-height: 540px;
}
.platform-text .kicker { margin-bottom: 14px; }
.platform-text .card-title { max-width: 380px; }
.platform-img {
  margin-top: auto;
  border-radius: 6px;
  overflow: hidden;
  background: #1a1a1a;
  min-height: 340px;
}
.platform-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* ============== TEAM / LOGOS ============== */
.team-head {
  max-width: 1100px;
  margin: 0 auto clamp(60px, 8vw, 120px);
  text-align: center;
}
.team-head .display { margin-left: auto; margin-right: auto; }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(20px, 2vw, 40px);
  align-items: center;
}
.logo-cell {
  aspect-ratio: 2 / 1;
  display: flex; align-items: center; justify-content: center;
  filter: grayscale(1) contrast(1.05) opacity(0.55);
  transition: filter 220ms ease;
  position: relative;
}
.logo-cell::before,
.logo-cell::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 1.5px solid var(--ink-dark);
}
.logo-cell::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.logo-cell::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.logo-cell img {
  max-width: 60%;
  max-height: 70px;
  width: auto; height: auto;
  object-fit: contain;
}
.logo-cell:hover { filter: grayscale(0) contrast(1) opacity(1); }

/* ============== DIVE DEEPER ============== */
.deeper-head {
  max-width: 1100px;
  margin: 0 auto clamp(60px, 8vw, 100px);
  text-align: center;
}
.deeper-head .display { margin-left: auto; margin-right: auto; }
.deeper-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(20px, 2vw, 32px);
  min-height: 720px;
}
.deeper-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1a;
  isolation: isolate;
  transition: transform 320ms ease;
}
.deeper-card:hover { transform: translateY(-4px); }
.deeper-img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
  z-index: 0;
}
.deeper-big { min-height: 720px; grid-row: 1 / span 2; }
.deeper-col {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: clamp(20px, 2vw, 32px);
  min-height: 720px;
}
.deeper-small { min-height: 340px; }
.deeper-overlay {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(20px, 2vw, 32px);
  color: #fff;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.0) 0%,
    rgba(0,0,0,0.10) 30%,
    rgba(0,0,0,0.55) 60%,
    rgba(0,0,0,0.82) 85%,
    rgba(0,0,0,0.92) 100%);
}
.deeper-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.95;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.deeper-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: #fff;
  margin: 0 0 12px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.5);
}
.deeper-big .deeper-title { font-size: clamp(24px, 3vw, 40px); margin-bottom: 16px; }
.deeper-overlay p {
  font-size: 14px; line-height: 1.55;
  margin: 0; max-width: 480px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 320ms ease, transform 320ms ease;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.deeper-card:hover .deeper-overlay p { opacity: 1; transform: translateY(0); }

/* File / video download badge in corner */
.file-badge {
  position: absolute;
  top: clamp(14px, 1.4vw, 22px);
  right: clamp(14px, 1.4vw, 22px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px 6px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(15, 28, 36, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.file-badge svg { display: block; }
.file-badge-pdf { color: #ffe9d6; border-color: rgba(255, 200, 140, 0.35); background: rgba(46, 22, 12, 0.72); }
.file-badge-video { color: #d6f5ff; border-color: rgba(140, 220, 255, 0.35); background: rgba(10, 26, 38, 0.78); }

/* Video card — replace .deeper-img with a real <video> element */
.deeper-video { cursor: pointer; }
.deeper-video-el {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
  z-index: 0;
  background: #0a1a23;
  display: block;
}
.deeper-video-el::-webkit-media-controls-panel {
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 100%);
}
.deeper-card.is-playing .deeper-overlay,
.deeper-card.is-playing .file-badge { opacity: 0; transition: opacity 200ms ease; pointer-events: none; }

/* ============== CAREERS ============== */
.careers-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.careers-inner .display { margin-left: auto; margin-right: auto; margin-bottom: 32px; }
.careers-inner .btn { margin: 8px auto 0; }

/* ============== REACH OUT ============== */
.reach { padding-top: clamp(100px, 14vw, 200px); padding-bottom: 0; }

/* 公司联系信息块（地址 / 联系人 / 电话） */
.contact-info {
  list-style: none;
  margin: 0 0 clamp(40px, 5vw, 56px);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.5vw, 22px);
}
.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255, 249, 249, 0.92);
}
.contact-info .ci-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(110, 200, 210, 0.14);
  color: #6ec8d2;
  border: 1px solid rgba(110, 200, 210, 0.28);
}
.contact-info .ci-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-info .ci-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 249, 249, 0.55);
}
.contact-info .ci-value {
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 249, 249, 0.92);
  word-break: break-word;
}
.contact-info .ci-link {
  color: rgba(255, 249, 249, 0.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(110, 200, 210, 0.45);
  transition: color 200ms ease, border-color 200ms ease;
}
.contact-info .ci-link:hover {
  color: #6ec8d2;
  border-bottom-color: #6ec8d2;
}
.reach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 100px);
  align-items: start;
}
.reach-content { max-width: 560px; padding-bottom: clamp(80px, 10vw, 140px); }
.reach-media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  align-self: stretch;
  display: flex;
  background: var(--bg-dark); /* 与 section 同色，mask 透出后无色差 */
}
.reach-img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 12px;
  /* 左→右淡入：透明→不透明，避免与左侧文字硬切 */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 10%, rgba(0,0,0,.85) 28%, #000 45%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 10%, rgba(0,0,0,.85) 28%, #000 45%);
}

/* ============== FORM ============== */
.form {
  margin-top: clamp(36px, 4vw, 56px);
  display: flex; flex-direction: column;
  gap: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 40px);
}
.field {
  position: relative;
  display: block;
  border-bottom: 1px solid var(--hairline-dark);
  padding: 12px 0;
}
.field input,
.field select {
  width: 100%;
  padding: 4px 0;
  font-size: 15px;
  background: transparent;
  border: 0;
  color: inherit;
}
.field span,
.field-label {
  position: absolute;
  left: 0; top: 12px;
  font-size: 15px;
  color: rgba(255,249,249,0.55);
  pointer-events: none;
  transition: top 180ms ease, font-size 180ms ease, color 180ms ease;
}
.field input:focus + span,
.field input:not(:placeholder-shown) + span,
.field.has-value span {
  top: -8px;
  font-size: 11px;
  color: rgba(255,249,249,0.45);
}
.field-select {
  position: relative;
}
.field-select select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 30px;
  height: 32px;
}
.field-select select:invalid { color: transparent; }
.field-select select option { background: var(--bg-dark); color: var(--ink-light); }
.field-select .field-label { top: -8px; font-size: 11px; color: rgba(255,249,249,0.45); }
.field-select .field-caret {
  position: absolute;
  right: 4px; top: 18px;
  width: 8px; height: 8px;
  border-right: 1.5px solid rgba(255,249,249,0.7);
  border-bottom: 1.5px solid rgba(255,249,249,0.7);
  transform: rotate(45deg);
  pointer-events: none;
}
.check {
  display: inline-flex; align-items: center; gap: 12px;
  cursor: pointer;
  font-size: 14px;
}
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check-box {
  width: 18px; height: 18px;
  border: 1px solid var(--hairline-dark);
  border-radius: 3px;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.check input:checked + .check-box::after {
  content: "";
  width: 10px; height: 6px;
  border-left: 2px solid var(--ink-light);
  border-bottom: 2px solid var(--ink-light);
  transform: rotate(-45deg) translate(0, -2px);
}
.check-text { opacity: 0.85; }
.submit-btn { margin-top: 16px; }

.form-success {
  margin-top: 32px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.form-success img { width: 28px; height: 28px; }
.form-success p { margin: 0; }

/* ============== FOOTER ============== */
.footer {
  background: var(--bg-dark);
  color: var(--ink-light);
  padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 5vw, 60px);
  border-top: 1px solid var(--hairline-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(40px, 6vw, 120px);
  align-items: start;
}
.footer-logo { height: 52px; width: auto; display: block; flex-shrink: 0; }
.footer-brand-text { margin-left: 14px; }
.footer-brand-text .nav-brand-zh { font-size: 20px; }
.footer-brand-text .nav-brand-en { font-size: 11px; white-space: nowrap; max-width: 100%; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 5vw, 100px);
}
.footer-heading {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.7;
}
.footer-link {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  opacity: 0.85;
  transition: opacity 200ms ease;
}
.footer-link:hover { opacity: 1; }

/* ============== REVEAL ============== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms ease, transform 800ms ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
  .soma-grid { grid-template-columns: 1fr; gap: 60px; }
  .soma-card { min-height: 0; }
  .soma-img { min-height: 320px; }
  .platform-grid { grid-template-columns: 1fr; gap: 60px; }
  .platform-card { min-height: 0; }
  .platform-img { min-height: 240px; }
  .cancer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cancer-feature { text-align: left !important; }
  .cancer-feature p { margin-left: 0 !important; margin-right: auto !important; }
  .deeper-grid { grid-template-columns: 1fr; }
  .deeper-big { grid-row: auto; min-height: 420px; }
  .deeper-col { min-height: auto; }
  .deeper-small { min-height: 280px; }
  .reach-grid { grid-template-columns: 1fr; }
  .reach-media { max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-cell:nth-child(n+4) { grid-column: span 1; }
  .nav-menu {
    display: none;
    position: fixed;
    inset: 70px 0 0 0;
    flex-direction: column;
    padding: 28px 24px;
    gap: 8px;
    font-size: 18px;
    background: #010201;
    border-top: 1px solid rgba(255,249,249,0.08);
    z-index: 99;
    overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .nav-menu .nav-link {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255,249,249,0.06);
  }
  /* Menu open → 禁止 body 滚动 (iOS Safari 通过 JS 锁 scrollY + position: fixed) */
  body.menu-open { overflow: hidden; }
  .nav-burger {
    display: inline-flex; flex-direction: column; gap: 5px;
    padding: 8px;
  }
  .nav-burger span {
    display: block; width: 22px; height: 1.5px; background: var(--ink-light);
  }
}

@media (max-width: 720px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .display { font-size: clamp(32px, 8vw, 44px); }
  .lede { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; gap: 28px; }
  .cancer-grid { grid-template-columns: 1fr; gap: 36px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .deeper-grid { grid-template-columns: 1fr; min-height: 0; }
  .deeper-big { min-height: 340px; }
  .deeper-small { min-height: 240px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand-text .nav-brand-en { white-space: normal; }
  .radar-sticky { width: 60vw; height: 60vw; top: 40vh; }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero-video { animation: none !important; }
  .hero-slide {
    background-position: center center !important;
  }
}