:root {
  color-scheme: dark light;
  --bg: #111216;
  --surface: #191b20;
  --surface-soft: #20232a;
  --text: #f0f1f4;
  --muted: #a5aab4;
  --faint: #6e7480;
  --line: rgba(230, 235, 245, 0.15);
  --accent: #7aaeff;
  --accent-strong: #9bc4ff;
  --header: rgba(17, 18, 22, 0.78);
  --radius: 14px;
}

:root[data-theme="light"] {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-soft: #e9ecf1;
  --text: #17191e;
  --muted: #5f6672;
  --faint: #7f8794;
  --line: rgba(25, 31, 41, 0.16);
  --accent: #286ac8;
  --accent-strong: #174e9c;
  --header: rgba(244, 245, 247, 0.82);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", "Arial", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.scroll-progress {
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform-origin: 0 50%;
  animation: scale-progress auto linear;
  animation-timeline: scroll(root);
}
@keyframes scale-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.site-header {
  position: fixed;
  z-index: 2;
  top: 0;
  display: flex;
  width: 100%;
  height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid transparent;
  background: var(--header);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; white-space: nowrap; }
.brand-alias { color: var(--faint); font-size: 10px; font-weight: 600; letter-spacing: 0.06em; }
.brand-mark { display: grid; width: 28px; height: 28px; place-items: center; overflow: hidden; border-radius: 50%; background: #f1f3f6; box-shadow: 0 0 0 1px rgba(17, 19, 24, .12); }
.brand-mark img { display: block; width: 132%; height: 132%; object-fit: contain; }
.desktop-nav { display: flex; gap: clamp(18px, 3vw, 42px); color: var(--muted); font-size: 13px; }
.desktop-nav a, .mobile-nav a { transition: color 180ms ease; }
.desktop-nav a:hover, .mobile-nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.language-switcher { display: flex; align-items: center; gap: 2px; }
.language-switcher button, .theme-toggle, .menu-toggle { border: 0; background: transparent; cursor: pointer; }
.language-switcher button { min-width: 28px; padding: 4px; color: var(--faint); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
.language-switcher button[aria-pressed="true"] { color: var(--text); }
.theme-toggle { display: grid; width: 28px; height: 28px; place-items: center; padding: 0; color: var(--muted); font-size: 18px; }
.theme-icon-dark { display: none; }
[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="dark"] .theme-icon-dark { display: inline; }
.menu-toggle { display: none; width: 30px; padding: 5px 0; }
.menu-toggle span:not(.sr-only) { display: block; width: 20px; height: 1px; margin: 5px auto; background: var(--text); transition: transform 220ms ease; }
.mobile-nav { display: none; }

.hero { position: relative; display: grid; min-height: min(780px, 100dvh); overflow: hidden; align-items: center; padding: 112px clamp(20px, 9vw, 150px) 72px; }
.hero-media { position: absolute; z-index: 0; inset: 0; overflow: hidden; }
.hero-media::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 76%, transparent) 39%, color-mix(in srgb, var(--bg) 10%, transparent) 100%); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(0.86) contrast(1.04); }
.gravity-field { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; pointer-events: none; }
:root[data-theme="light"] .hero-media { opacity: 0.76; }
:root[data-theme="light"] .hero-media::after { background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 83%, transparent) 50%, color-mix(in srgb, var(--bg) 40%, transparent) 100%); }
.hero-copy { position: relative; z-index: 2; width: min(710px, 100%); }
.kicker, .section-index { margin: 0 0 18px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { max-width: 710px; margin-bottom: 25px; font-size: clamp(48px, 5.1vw, 72px); font-weight: 500; letter-spacing: -0.065em; line-height: 0.97; }
.hero-summary { max-width: 490px; margin-bottom: 30px; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; }
.text-link { display: inline-flex; gap: 10px; align-items: center; padding-bottom: 4px; border-bottom: 1px solid var(--text); font-size: 14px; font-weight: 600; transition: color 180ms ease, border-color 180ms ease, transform 180ms ease; }
.text-link:hover { color: var(--accent-strong); border-color: var(--accent-strong); transform: translateX(3px); }

.section-shell { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.statement { padding: clamp(94px, 14vw, 184px) 0; }
.statement-grid { display: grid; grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.7fr); gap: clamp(45px, 10vw, 160px); align-items: start; }
h2 { margin-bottom: 0; font-size: clamp(38px, 4.25vw, 65px); font-weight: 500; letter-spacing: -0.058em; line-height: 1.02; }
.prose { color: var(--muted); font-size: 17px; }
.prose p { margin-bottom: 20px; }
.prose p:last-child { margin-bottom: 0; }

.focus { padding: clamp(76px, 10vw, 134px) 0; border-top: 1px solid var(--line); }
.section-head { max-width: 580px; margin-bottom: 58px; }
.section-head h2, .principles-intro h2 { font-size: clamp(39px, 4.4vw, 64px); }
.focus-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.focus-item { min-height: 256px; padding: clamp(27px, 4vw, 50px); background: var(--surface); transition: background 240ms ease; }
.focus-item:nth-child(1) { background: linear-gradient(135deg, color-mix(in srgb, var(--surface) 92%, var(--accent)) 0%, var(--surface) 55%); }
.focus-item:nth-child(4) { background: var(--surface-soft); }
.focus-item:hover { background: color-mix(in srgb, var(--surface) 87%, var(--accent)); }
.focus-item h3 { max-width: 300px; margin: 0 0 18px; font-size: clamp(25px, 2.4vw, 34px); font-weight: 500; letter-spacing: -0.045em; line-height: 1.08; }
.focus-item p { max-width: 430px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.view { display: grid; grid-template-columns: minmax(250px, 0.75fr) minmax(0, 0.9fr); gap: clamp(45px, 10vw, 160px); align-items: center; padding: clamp(100px, 15vw, 210px) 0; }
.view-visual { overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.view-visual img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 700ms cubic-bezier(.16, 1, .3, 1); }
.view-visual:hover img { transform: scale(1.025); }
.view-copy .section-index { margin-bottom: 21px; }
.view-copy h2 { max-width: 560px; margin-bottom: 34px; }

.principles { padding: clamp(76px, 11vw, 150px) 0; border-top: 1px solid var(--line); }
.principles-intro { max-width: 660px; margin-bottom: 55px; }
.principles-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.principle { min-height: 255px; padding: 30px; background: var(--surface); }
.principle:nth-child(1), .principle:nth-child(5) { grid-column: span 7; }
.principle:nth-child(2), .principle:nth-child(3), .principle:nth-child(4) { grid-column: span 5; }
.principle:nth-child(2) { background: var(--surface-soft); }
.principle h3 { margin: 0 0 56px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.principle p { max-width: 560px; margin: 0; font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.035em; line-height: 1.22; }

.mission { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; margin-bottom: clamp(76px, 11vw, 140px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.mission-block { min-height: 320px; padding: clamp(32px, 4vw, 58px); background: var(--surface); }
.mission-block:nth-child(2) { background: var(--surface-soft); }
.mission-block > p:last-child { max-width: 520px; margin: 54px 0 0; font-size: clamp(23px, 2.6vw, 36px); letter-spacing: -0.045em; line-height: 1.14; }
.closing { padding-bottom: clamp(110px, 18vw, 240px); }
.closing-inner { width: min(840px, 100%); }
.closing h2 { margin-bottom: 29px; font-size: clamp(42px, 5vw, 76px); }
.closing p { max-width: 650px; color: var(--muted); font-size: clamp(18px, 2vw, 24px); line-height: 1.55; }
.closing p:last-child { margin-bottom: 0; color: var(--text); font-weight: 500; }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; gap: 28px; width: min(1240px, calc(100% - 40px)); margin-inline: auto; padding: 28px 0 34px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12px; }
.site-footer .brand { color: var(--text); }
.site-footer p { margin: 0; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 720ms cubic-bezier(.16, 1, .3, 1), transform 720ms cubic-bezier(.16, 1, .3, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.hero-enter { animation: hero-enter 900ms 100ms both cubic-bezier(.16, 1, .3, 1); }
@keyframes hero-enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 760px) {
  .site-header { height: 64px; padding-inline: 20px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { position: fixed; z-index: 1; top: 64px; right: 12px; left: 12px; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 18px 50px rgba(0,0,0,.14); }
  .mobile-nav.is-open { display: grid; }
  .mobile-nav a { padding: 13px 14px; color: var(--muted); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }
  .header-actions { gap: 9px; }
  .brand { gap: 7px; font-size: 11px; }
  .brand-alias { display: none; }
  .language-switcher button { min-width: 24px; }
  .hero { min-height: 690px; align-items: end; padding: 92px 20px 68px; }
  .hero-media img { object-position: 61% center; }
  .hero-media::after { background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 28%, transparent) 0%, var(--bg) 86% 62%, var(--bg) 100%); }
  h1 { font-size: clamp(46px, 14vw, 65px); }
  .section-shell { width: min(100% - 40px, 620px); }
  .statement-grid, .view, .mission { grid-template-columns: 1fr; }
  .statement-grid { gap: 32px; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-item { min-height: 0; }
  .view { gap: 40px; }
  .view-visual { width: min(100%, 440px); }
  .principles-grid { grid-template-columns: 1fr; }
  .principle, .principle:nth-child(n) { grid-column: auto; min-height: 0; }
  .principle h3 { margin-bottom: 28px; }
  .mission-block { min-height: 0; }
  .mission-block > p:last-child { margin-top: 34px; }
  .site-footer { grid-template-columns: 1fr; gap: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (prefers-reduced-transparency: reduce) { .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; } }
