/* 中科海纳 · zhongkehaina.com */

@font-face {
  font-family: "Host Grotesk";
  src: url("../fonts/host-grotesk.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212;
}
@font-face {
  font-family: "DM Mono";
  src: url("../fonts/dm-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2190-2199;
}
@font-face {
  font-family: "DM Mono";
  src: url("../fonts/dm-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2190-2199;
}

:root {
  --ink: #0a0b0d;
  --ink-75: rgba(10, 11, 13, .75);
  --ink-55: rgba(10, 11, 13, .55);
  --paper: #ffffff;
  --mist: #f4f6f9;
  --line: #e4e7ec;
  --line-strong: #d6dbe2;
  --muted: #5f6672;
  --accent: #2f5bff;
  --accent-deep: #1d3fd6;
  --accent-soft: #eef2ff;
  --cyan: #00b4ff;
  --radius: 8px;
  --sans: "Host Grotesk", "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, "PingFang SC", "Microsoft YaHei", monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --pad: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, dl, dd, blockquote, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; transition: top .2s; }
.skip:focus { top: 16px; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }

.label {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.label--dark { color: rgba(255, 255, 255, .5); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
  transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--accent); }
.btn--ghost { border: 1px solid rgba(10, 11, 13, .15); background: rgba(255, 255, 255, .8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--ink); }
.btn__arrow { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__name { display: inline-flex; align-items: baseline; gap: 8px; font-size: 17px; font-weight: 600; letter-spacing: .02em; }
.brand__en { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .18em; color: var(--muted); }
.nav__links { display: flex; gap: 32px; margin-left: auto; font-size: 14px; color: var(--ink-75); }
.nav__links a { position: relative; padding: 6px 0; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { margin-left: 8px; }
.nav__toggle { display: none; width: 40px; height: 40px; margin-left: auto; position: relative; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 22px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 72px 0 0 0; z-index: 49; background: #fff; padding: 24px 0 40px; overflow-y: auto; }
.menu__list { margin-bottom: 32px; }
.menu__list a { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 32px; font-weight: 500; }
.menu__list em { font-family: var(--mono); font-style: normal; font-size: 12px; color: var(--muted); }
.menu .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s ease-out; }
.hero__bg canvas.is-on { opacity: 1; }
.hero__fade { position: absolute; inset: auto 0 0 0; height: 42%; background: linear-gradient(to top, #fff 0%, rgba(255,255,255,.9) 40%, rgba(255,255,255,0) 100%); pointer-events: none; }
.hero__inner { flex: 1; display: flex; flex-direction: column; padding-top: clamp(104px, 14vh, 140px); padding-bottom: clamp(40px, 7vh, 64px); }
.hero__meta { display: flex; justify-content: space-between; gap: 24px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero__status { display: flex; align-items: center; gap: 10px; text-align: right; }
.pulse-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 0 rgba(47, 91, 255, .5); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 91, 255, .45); } 70% { box-shadow: 0 0 0 10px rgba(47, 91, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 91, 255, 0); } }

.hero__grid { margin-top: auto; padding-top: 64px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px; align-items: end; }
.hero__title {
  grid-column: span 8;
  font-size: clamp(3.4rem, 9.6vw, 9.6rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.split .line { display: block; overflow: hidden; padding: .04em 0 .1em; margin: -.04em 0 -.1em; }
.split .w { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.is-ready .split .w { transform: none; }
.accent-dot { font-style: normal; color: var(--accent); }
.hero__side { grid-column: span 4; padding-bottom: 14px; }
.hero__lead { max-width: 400px; font-size: 17px; line-height: 1.75; color: var(--ink-75); }
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.fade-in, .fade-up { opacity: 0; transition: opacity 1s ease-out, transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.fade-up { transform: translateY(16px); }
.is-ready .fade-in, .is-ready .fade-up { opacity: 1; transform: none; }

/* ---------- Roster marquee ---------- */
.roster { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.roster__inner { display: flex; align-items: center; gap: 40px; padding-top: 26px; padding-bottom: 26px; }
.roster .label { flex: none; width: 140px; font-size: 11px; }
.marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 52s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { display: flex; align-items: center; gap: 10px; padding-right: 56px; white-space: nowrap; font-size: 18px; font-weight: 500; letter-spacing: -.01em; color: rgba(10, 11, 13, .45); transition: color .3s; }
.marquee__track li:hover { color: var(--ink); }
.marquee__track i { width: 8px; height: 8px; border-radius: 2px; background: currentColor; opacity: .6; transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(88px, 12vw, 160px) 0; position: relative; }
.section--mist { background: var(--mist); }
.section--dots { background-image: radial-gradient(circle at 1px 1px, #dde2ea 1px, transparent 0); background-size: 24px 24px; background-color: var(--mist); }
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px; margin-bottom: clamp(48px, 7vw, 96px); }
.sec-head > .label { grid-column: span 3; padding-top: 14px; }
.sec-head__body { grid-column: 4 / span 9; display: grid; grid-template-columns: 1fr; gap: 28px; }
h2 { font-size: clamp(2.3rem, 5.2vw, 4.6rem); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; }
.lead { max-width: 640px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.8; color: var(--ink-75); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease-out, transform .9s var(--ease); transition-delay: var(--rd, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Origin ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: #fff; padding: 28px 28px 32px; display: flex; flex-direction: column; min-height: 260px; }
.stat__num { margin-top: auto; font-size: clamp(3.2rem, 5.6vw, 5.4rem); font-weight: 500; line-height: 1; letter-spacing: -.05em; }
.stat__num small { font-size: .32em; font-weight: 500; letter-spacing: 0; margin-left: .25em; color: var(--muted); }
.stat__num b { font-weight: 400; color: var(--accent); margin: 0 .08em; }
.stat__cap { margin-top: 14px; font-size: 14px; color: var(--muted); }

.timeline { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; padding-top: 40px; }
.timeline::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--line-strong), var(--line-strong) 66%, var(--accent)); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; top: -45px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 1.5px solid var(--ink-55); }
.timeline li.is-key::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.timeline__year { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.timeline h3 { margin: 10px 0 12px; font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 600; letter-spacing: -.02em; }
.timeline li.is-key h3 { color: var(--accent); }
.timeline p:last-child { color: var(--ink-75); max-width: 380px; line-height: 1.8; }
.timeline strong { color: var(--ink); font-weight: 600; }

/* ---------- Thesis compare ---------- */
.compare { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare__row { display: grid; grid-template-columns: 1fr 2fr 2fr; border-top: 1px solid var(--line); transition: background-color .25s; }
.compare__row:first-child { border-top: 0; }
.compare__row:not(.compare__row--head):hover { background: #fafbfd; }
.compare__row span { padding: 22px 28px; font-size: 16px; }
.compare__row span:nth-child(1) { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: var(--muted); padding-top: 25px; }
.compare__row span:nth-child(2) { color: var(--ink-55); }
.compare__row span:nth-child(3) { font-weight: 500; border-left: 1px solid var(--line); position: relative; }
.compare__row:not(.compare__row--head) span:nth-child(3)::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); transform: scaleY(0); transition: transform .35s var(--ease); }
.compare__row:hover span:nth-child(3)::before { transform: scaleY(1); }
.compare__row--head span { font-family: var(--mono); font-size: 12px !important; letter-spacing: .14em; text-transform: uppercase; color: var(--muted) !important; text-decoration: none !important; padding-top: 16px !important; padding-bottom: 16px; font-weight: 400 !important; background: #fbfcfd; }
.compare__row--head span:nth-child(3) { color: var(--accent) !important; }

/* ---------- Architecture ---------- */
.arch { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: stretch; }
.arch__stack { position: relative; display: flex; flex-direction: column; gap: 10px; padding-right: 64px; }
.layer {
  position: relative; display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 16px;
  min-height: 84px; padding: 0 24px; text-align: left;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .3s, background-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease), color .3s;
}
.layer:nth-child(1) { margin: 0 0 0 0; }
.layer:hover { border-color: var(--ink-55); }
.layer[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateX(-6px); box-shadow: 0 18px 40px -20px rgba(10, 11, 13, .45); }
.layer__no { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.layer[aria-selected="true"] .layer__no { color: #7f9bff; }
.layer__name { display: flex; align-items: baseline; gap: 14px; font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; letter-spacing: -.01em; }
.layer__name em { font-style: normal; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .08em; color: var(--muted); }
.layer[aria-selected="true"] .layer__name em { color: rgba(255,255,255,.5); }
.layer__tag { font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.layer[aria-selected="true"] .layer__tag { border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.8); }
.arch__gov {
  position: absolute; top: 0; bottom: 0; right: 0; width: 48px; border-radius: var(--radius);
  background: repeating-linear-gradient(-45deg, var(--accent-soft) 0 8px, #fff 8px 16px);
  border: 1px dashed rgba(47, 91, 255, .45); display: flex; align-items: center; justify-content: center;
}
.arch__gov span { writing-mode: vertical-rl; font-size: 13px; font-weight: 500; letter-spacing: .12em; color: var(--accent-deep); }
.arch__panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); padding: 36px; display: flex; flex-direction: column; }
.arch__panel h3 { margin: 14px 0 14px; font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 600; letter-spacing: -.03em; }
.arch__panel > p:not(.label) { font-size: 17px; line-height: 1.8; color: var(--ink-75); min-height: 3.6em; }
.arch__panel .chips { margin-top: 24px; }
.arch__panel.is-swapping h3, .arch__panel.is-swapping > p, .arch__panel.is-swapping .chips { opacity: 0; transform: translateY(6px); }
.arch__panel h3, .arch__panel > p, .arch__panel .chips { transition: opacity .25s, transform .35s var(--ease); }
.arch__gov-note { margin-top: auto; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.arch__gov-note p:last-child { margin-top: 8px; font-size: 14px; line-height: 1.75; color: var(--ink-75); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-75); }

/* ---------- System flow ---------- */
.flow { position: relative; }
.flow__rail { position: relative; height: 2px; background: var(--line-strong); margin-bottom: 28px; overflow: hidden; border-radius: 2px; }
.flow__pulse { position: absolute; top: 0; left: 0; height: 100%; width: 12.5%; background: linear-gradient(90deg, transparent, var(--accent), var(--cyan)); transform: translateX(var(--x, 0%)); transition: transform .9s var(--ease); }
.flow__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; min-height: 236px; transition: border-color .4s, box-shadow .5s var(--ease), transform .5s var(--ease); }
.step__no { font-family: var(--mono); font-size: 13px; color: var(--muted); transition: color .4s; }
.step h3 { display: flex; align-items: baseline; gap: 10px; font-size: 24px; font-weight: 600; letter-spacing: -.01em; margin-bottom: auto; padding-bottom: 18px; }
.step h3 em { font-style: normal; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .08em; color: var(--muted); }
.step p:not(.step__no) { font-size: 14px; line-height: 1.65; color: var(--ink-75); display: grid; grid-template-columns: 52px 1fr; gap: 8px; }
.step b { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .06em; line-height: 22px; height: 22px; text-align: center; border-radius: 4px; }
.step__ai b { background: var(--accent-soft); color: var(--accent-deep); }
.step__human b { background: var(--mist); color: var(--ink); border: 1px solid var(--line); line-height: 20px; }
.step.is-active { border-color: var(--accent); box-shadow: 0 20px 44px -24px rgba(47, 91, 255, .55); transform: translateY(-4px); }
.step.is-active .step__no { color: var(--accent); }
.flow__loop { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.flow__loop svg { width: 18px; height: 18px; color: var(--accent); animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Solutions ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card { position: relative; background: #fff; padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 16px; min-height: 340px; overflow: hidden; transition: background-color .4s; }
.card::after { content: ""; position: absolute; inset: auto -20% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(47, 91, 255, .14), transparent 65%); opacity: 0; transition: opacity .6s, transform .8s var(--ease); transform: translate(10%, 10%); pointer-events: none; }
.card:hover::after { opacity: 1; transform: none; }
.card__no { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.card h3 { margin-top: auto; font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 600; letter-spacing: -.025em; padding-top: 40px; }
.card > p:not(.card__no) { max-width: 520px; color: var(--ink-75); line-height: 1.8; }
.card .chips { margin-top: 6px; }
.card .chips li { background: var(--mist); border-color: transparent; }

/* ---------- Manifesto ---------- */
.manifesto { background: var(--ink); color: #fff; padding: clamp(96px, 13vw, 180px) 0; position: relative; overflow: hidden; }
.manifesto::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 91, 255, .35), transparent 62%); pointer-events: none; }
.manifesto::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, transparent 0); background-size: 24px 24px; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.manifesto .container { position: relative; z-index: 1; }
.manifesto__quote { margin-top: 32px; max-width: 1240px; }
.manifesto__quote br { display: block; }
.manifesto__quote p { font-size: clamp(2rem, 4.6vw, 4.2rem); font-weight: 600; line-height: 1.25; letter-spacing: -.03em; }
.manifesto__quote .dim { color: rgba(255,255,255,.38); }
.manifesto__quote .hl { background: linear-gradient(90deg, #7f9bff, #5fd4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.manifesto__quote footer { margin-top: 28px; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: rgba(255,255,255,.5); }
.principles { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-top: 1px solid rgba(255,255,255,.12); }
.principles li { background: var(--ink); padding: 32px 32px 8px 0; }
.principles li + li { padding-left: 32px; }
.principles span { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: #7f9bff; }
.principles h3 { margin: 14px 0 12px; font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.principles p { color: rgba(255,255,255,.6); line-height: 1.8; max-width: 360px; }

/* ---------- Engagement ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: p; }
.process li { border-top: 2px solid var(--ink); padding-top: 22px; }
.process li:last-child { border-top-color: var(--accent); }
.process__top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.process h3 { margin: 40px 0 12px; font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 600; letter-spacing: -.02em; }
.process li > p:last-child { color: var(--ink-75); line-height: 1.8; max-width: 300px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__intro h2 { margin: 24px 0 24px; }
.contact__info { margin-top: 40px; border-top: 1px solid var(--line-strong); }
.contact__info div { display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-strong); }
.contact__info dt { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--muted); padding-top: 3px; }
.contact__info dd { font-size: 15px; line-height: 1.7; }
.contact__info a { border-bottom: 1px solid var(--line-strong); transition: border-color .2s, color .2s; }
.contact__info a:hover { color: var(--accent); border-color: var(--accent); }

.form { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 22px; box-shadow: 0 30px 60px -40px rgba(10, 11, 13, .25); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: 13px; font-weight: 500; color: var(--ink); padding: 0; }
.field i { font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--mist); border: 1px solid transparent; border-radius: var(--radius);
  padding: 13px 14px; outline: none; transition: border-color .2s, background-color .2s, box-shadow .2s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa1ac; }
.field input:focus, .field textarea:focus { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #c8372d; background: #fff; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pick label { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; transition: all .2s; user-select: none; }
.pick label:hover span { border-color: var(--ink); }
.pick input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pick input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.form__note { font-size: 13px; color: var(--muted); }
.form__status { font-size: 14px; color: var(--accent-deep); min-height: 1px; }
.form__status.is-error { color: #c8372d; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding: 88px 0 32px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand__en { color: rgba(255,255,255,.45); }
.footer__brand p { margin-top: 20px; color: rgba(255,255,255,.6); line-height: 1.8; max-width: 340px; }
.footer ul { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: rgba(255,255,255,.75); }
.footer ul a:hover { color: #fff; }
.footer__word { margin: 72px 0 24px; font-size: clamp(5rem, 34.5vw, 31.5rem); margin-left: -.03em; padding-right: .05em; font-weight: 600; line-height: .8; letter-spacing: -.06em; background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 92%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; white-space: nowrap; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: rgba(255,255,255,.5); }
.footer__bottom a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { gap: 22px; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__title, .hero__side { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .flow__grid { grid-template-columns: repeat(2, 1fr); }
  .flow__rail { display: none; }
  .arch { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .sec-head { grid-template-columns: 1fr; gap: 20px; }
  .sec-head > .label, .sec-head__body { grid-column: 1 / -1; padding-top: 0; }
  .timeline { grid-template-columns: 1fr; gap: 36px; padding-top: 0; padding-left: 32px; }
  .timeline::before { top: 0; bottom: 0; left: 5px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--line-strong), var(--line-strong) 66%, var(--accent)); }
  .timeline li::before { top: 4px; left: -32px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .principles { grid-template-columns: 1fr; background: none; }
  .principles li, .principles li + li { padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero__meta p:first-child { display: none; }
  .hero__meta { justify-content: flex-start; }
  .hero__title { font-size: clamp(3rem, 15vw, 4.6rem); }
  .roster__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .roster .label { width: auto; }
  .roster .label br { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stat { min-height: 180px; }
  .compare__row { grid-template-columns: 1fr 1fr; }
  .compare__row span:nth-child(1) { grid-column: 1 / -1; padding: 16px 20px 0; }
  .compare__row--head span:nth-child(1) { display: none; }
  .compare__row span { padding: 10px 20px 18px; font-size: 15px; }
  .compare__row--head span { padding: 14px 20px !important; }
  .arch__stack { padding-right: 40px; }
  .arch__gov { width: 30px; }
  .arch__gov span { font-size: 11px; }
  .layer { grid-template-columns: 34px 1fr; padding: 0 16px; min-height: 72px; }
  .layer__tag { display: none; }
  .layer__name { flex-direction: column; gap: 2px; }
  .layer[aria-selected="true"] { transform: none; }
  .arch__panel { padding: 24px; }
  .flow__grid { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .process { grid-template-columns: 1fr; }
  .process h3 { margin-top: 20px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

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