/* ==========================================================================
   上海概维科技 · SKIWAY TECH
   纯静态站点样式（无外部依赖，可直接改代码维护）
   ========================================================================== */

:root {
  --bg: #060b16;
  --bg-soft: #08101f;
  --bg-elev: #0b1526;
  --panel: rgba(255, 255, 255, 0.038);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(126, 168, 255, 0.14);
  --line-strong: rgba(126, 168, 255, 0.26);
  --text: #eaf1ff;
  --muted: #94a6c4;
  --muted-dim: #7688a6;
  --brand: #00b0f0;
  --brand-deep: #2f7bff;
  --accent: #f08020;
  --ok: #3ddc97;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container: 1180px;
  --header-h: 74px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --grad-brand: linear-gradient(120deg, #00b0f0 0%, #2f7bff 58%, #6f8dff 100%);
  --grad-text: linear-gradient(100deg, #4cc9ff 0%, #6ea8ff 50%, #9db4ff 100%);
  --shadow-card: 0 24px 60px -32px rgba(0, 0, 0, 0.9);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 600px at 12% -8%, rgba(0, 176, 240, 0.12), transparent 62%),
    radial-gradient(760px 520px at 92% 4%, rgba(47, 123, 255, 0.1), transparent 60%),
    radial-gradient(680px 520px at 60% 108%, rgba(240, 128, 32, 0.05), transparent 62%);
  pointer-events: none;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: rgba(0, 176, 240, 0.32); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

.icon {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--brand);
  color: #04121c;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.noscript-tip {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 50;
  transform: translateX(-50%);
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(6, 11, 22, 0.78);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: block;
  border-radius: 9px;
  overflow: hidden;
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
}
.brand-text strong span { color: var(--brand); margin-left: 5px; }
.brand-text small {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.16em;
  margin-top: 3px;
}

.site-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.site-nav a {
  position: relative;
  font-size: 14px;
  color: var(--muted);
  padding: 6px 2px;
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: translateX(-50%);
  transition: width 0.25s var(--ease);
}
.site-nav a:hover,
.site-nav a.is-active { color: #fff; }
.site-nav a:hover::after,
.site-nav a.is-active::after { width: 18px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 18px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  will-change: transform;
}
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon { transform: translateX(3px); }

.btn-primary {
  background: var(--grad-brand);
  color: #04121c;
  font-weight: 600;
  box-shadow: 0 14px 34px -14px rgba(0, 176, 240, 0.65);
}
.btn-primary:hover { box-shadow: 0 18px 42px -14px rgba(0, 176, 240, 0.85); }

.btn-ghost {
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--text);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: var(--panel-strong); border-color: rgba(0, 176, 240, 0.5); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(56px, 9vw, 110px);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(126, 168, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(126, 168, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: drift 16s ease-in-out infinite alternate;
}
.orb-blue {
  width: 520px;
  height: 520px;
  right: -80px;
  top: -140px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 176, 240, 0.4), transparent 65%);
}
.orb-orange {
  width: 340px;
  height: 340px;
  left: -120px;
  bottom: -80px;
  background: radial-gradient(circle at 50% 50%, rgba(240, 128, 32, 0.22), transparent 68%);
  animation-delay: -6s;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-26px, 30px, 0) scale(1.06); }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(40px, 6vw, 84px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 7px 14px 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 176, 240, 0.06);
  color: #b9d8f2;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 176, 240, 0.16);
  animation: breathe 2.6s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0, 176, 240, 0.14); }
  50% { box-shadow: 0 0 0 7px rgba(0, 176, 240, 0.05); }
}

.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.85rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 34em;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--line);
}
.stat { padding: 22px 14px 0 0; position: relative; }
.stat + .stat { padding-left: clamp(14px, 2.4vw, 28px); }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 2px;
  width: 1px;
  background: var(--line);
}
.stat dt { color: var(--muted-dim); font-size: 12.5px; letter-spacing: 0.04em; }
.stat dd {
  margin: 6px 0 0;
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 650;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat-unit { font-size: 12.5px; font-weight: 400; color: var(--muted); margin-left: 3px; }
.stat-suffix { color: var(--brand); }

.hero-tags { margin-top: 30px; }
.hero-tags li { font-size: 12.5px; padding: 5px 12px; }

/* Hero visual */
.hero-visual {
  position: relative;
  perspective: 1200px;
}
.console {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(16, 30, 54, 0.92), rgba(7, 13, 26, 0.94));
  box-shadow: 0 40px 90px -46px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 176, 240, 0.05) inset;
  overflow: hidden;
  transform: rotateY(-4deg) rotateX(2deg);
}
.console::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 50% at 80% 0%, rgba(0, 176, 240, 0.16), transparent 70%);
  pointer-events: none;
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.console-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(148, 166, 196, 0.35);
}
.console-dot:nth-child(1) { background: rgba(240, 128, 32, 0.7); }
.console-dot:nth-child(2) { background: rgba(240, 200, 60, 0.6); }
.console-dot:nth-child(3) { background: rgba(61, 220, 151, 0.6); }
.console-bar em {
  margin-left: 8px;
  font-style: normal;
  font-size: 12px;
  color: var(--muted-dim);
  letter-spacing: 0.14em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.console-body { padding: 10px 8px; }
.console-row {
  display: grid;
  grid-template-columns: 18px 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 13px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  transition: background 0.2s var(--ease);
}
.console-row:hover { background: rgba(0, 176, 240, 0.06); }
.console-row + .console-row { border-top: 1px solid rgba(126, 168, 255, 0.07); }
.console-row b { font-weight: 500; color: #dbe7fb; }
.console-row i { font-style: normal; font-size: 12px; color: var(--ok); }
.console-row i.wip { color: var(--accent); }
.console-row i.cont { color: #7fa6d8; }
.console-row i.try { color: #b39bff; }
.console-row small { color: var(--muted-dim); font-size: 12px; font-variant-numeric: tabular-nums; }
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.5);
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.5); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(61, 220, 151, 0); }
}
.console-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-dim);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.console-foot span { position: relative; padding-left: 14px; }
.console-foot span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  transform: translateY(-50%);
}

.float-chip {
  position: absolute;
  z-index: 2;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(8, 16, 31, 0.82);
  backdrop-filter: blur(10px);
  font-size: 12.5px;
  color: #c6d8f0;
  letter-spacing: 0.05em;
  box-shadow: 0 16px 34px -20px rgba(0, 0, 0, 0.9);
  animation: float 7s ease-in-out infinite;
}
.chip-a { top: -18px; right: 12%; animation-delay: -1s; }
.chip-b { bottom: 46px; left: -22px; animation-delay: -3s; }
.chip-c { bottom: -16px; right: 16%; animation-delay: -5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 118px); position: relative; }
.section-alt {
  background: linear-gradient(180deg, rgba(10, 19, 37, 0.75), rgba(7, 13, 26, 0.75));
  border-block: 1px solid rgba(126, 168, 255, 0.09);
}

.section-head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 58px); }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--brand), transparent);
}
.section h2 {
  font-size: clamp(1.75rem, 3.1vw, 2.55rem);
  font-weight: 650;
  letter-spacing: -0.015em;
}
.section-lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 16.5px);
  line-height: 1.9;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.about-copy p { color: var(--muted); font-size: 15.5px; line-height: 2; }
.about-copy p + p { margin-top: 18px; }
.pull-quote {
  position: relative;
  margin: 34px 0 0;
  padding: 20px 24px 20px 46px;
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: linear-gradient(90deg, rgba(240, 128, 32, 0.08), transparent 80%);
  color: #f3e9df;
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.quote-mark {
  position: absolute;
  left: 14px;
  top: 6px;
  font-size: 46px;
  line-height: 1;
  color: rgba(240, 128, 32, 0.45);
  font-family: Georgia, serif;
}

.feature-list { display: grid; gap: 14px; }
.feature-list li {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.feature-list li:hover {
  border-color: rgba(0, 176, 240, 0.4);
  background: rgba(0, 176, 240, 0.055);
  transform: translateX(4px);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 9px;
  background: rgba(0, 176, 240, 0.12);
  color: var(--brand);
  margin-top: 2px;
}
.feature-icon .icon { width: 16px; height: 16px; stroke-width: 2.2; }
.feature-list h3 { font-size: 15.5px; margin-bottom: 4px; }
.feature-list p { color: var(--muted); font-size: 13.5px; line-height: 1.8; }

/* ---------- Capabilities ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
}
.cap-card {
  position: relative;
  padding: 28px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.cap-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 20% 0%, rgba(0, 176, 240, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.cap-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 176, 240, 0.36);
}
.cap-card:hover::before { opacity: 1; }
.cap-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 13px;
  background: linear-gradient(150deg, rgba(0, 176, 240, 0.18), rgba(47, 123, 255, 0.08));
  border: 1px solid rgba(0, 176, 240, 0.22);
  color: #6fd2ff;
}
.cap-icon .icon { width: 21px; height: 21px; }
.cap-card h3 { font-size: 17px; margin-bottom: 10px; }
.cap-card > p { color: var(--muted); font-size: 14px; line-height: 1.86; }
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.tag-list li {
  padding: 4px 10px;
  border: 1px solid rgba(126, 168, 255, 0.16);
  border-radius: 999px;
  background: rgba(126, 168, 255, 0.05);
  color: #a9bdd8;
  font-size: 11.5px;
  letter-spacing: 0.03em;
}

/* ---------- Architecture ---------- */
.arch-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.arch { display: grid; gap: 12px; }
.arch-layer {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, rgba(0, 176, 240, 0.075), rgba(255, 255, 255, 0.015) 70%);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.arch-layer:hover { border-color: rgba(0, 176, 240, 0.38); transform: translateX(4px); }
.arch-layer:nth-child(2) { background: linear-gradient(90deg, rgba(47, 123, 255, 0.075), rgba(255, 255, 255, 0.015) 70%); }
.arch-layer:nth-child(3) { background: linear-gradient(90deg, rgba(126, 168, 255, 0.065), rgba(255, 255, 255, 0.015) 70%); }
.arch-layer:nth-child(4) { background: linear-gradient(90deg, rgba(148, 166, 196, 0.07), rgba(255, 255, 255, 0.015) 70%); }
.arch-label {
  color: #cfe3fb;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.arch-layer ul { display: flex; flex-wrap: wrap; gap: 7px; }
.arch-layer li {
  padding: 3px 10px;
  border-radius: 7px;
  background: rgba(6, 11, 22, 0.55);
  border: 1px solid rgba(126, 168, 255, 0.13);
  color: var(--muted);
  font-size: 12px;
}
.arch-rail {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 13px 20px;
  border: 1px dashed rgba(240, 128, 32, 0.32);
  border-radius: var(--radius-md);
  background: rgba(240, 128, 32, 0.045);
  color: #e7c4a2;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
.arch-rail .icon { color: var(--accent); width: 17px; height: 17px; }

/* ---------- Outcomes ---------- */
.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
  margin-bottom: clamp(28px, 3.4vw, 40px);
}
.metric {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  text-align: left;
}
.metric b {
  display: block;
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 650;
  line-height: 1.1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.metric span { display: block; margin-top: 8px; font-size: 14px; color: #d5e2f6; }
.metric small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted-dim); }

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
}
.story-card {
  position: relative;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.story-card:hover { transform: translateY(-5px); border-color: rgba(0, 176, 240, 0.34); }
.story-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(240, 128, 32, 0.1);
  border: 1px solid rgba(240, 128, 32, 0.24);
  color: #f0b57e;
  font-size: 11.5px;
  letter-spacing: 0.08em;
}
.story-card h3 { font-size: 17px; margin-bottom: 10px; }
.story-card p { color: var(--muted); font-size: 13.8px; line-height: 1.9; }

/* ---------- Milestones ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 8px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 105px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(180deg, rgba(0, 176, 240, 0.5), rgba(126, 168, 255, 0.08));
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding: 8px 0;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 100.5px;
  top: 27px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 176, 240, 0.1);
  z-index: 1;
}
.timeline-year {
  position: relative;
  padding-top: 14px;
  color: var(--brand);
  font-size: 15px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  text-align: right;
}
.timeline-body {
  padding: 12px 22px;
  border-left: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: background 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.timeline li:hover .timeline-body { background: rgba(255, 255, 255, 0.03); padding-left: 26px; }
.timeline-body h3 { font-size: 16px; margin-bottom: 4px; color: #e4eefc; }
.timeline-body p { color: var(--muted); font-size: 13.8px; }

/* ---------- Culture ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
}
.value-card {
  position: relative;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}
.value-card:hover {
  border-color: rgba(0, 176, 240, 0.36);
  transform: translateY(-4px);
  background: rgba(0, 176, 240, 0.05);
}
.value-index {
  display: block;
  margin-bottom: 30px;
  color: rgba(126, 168, 255, 0.35);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}
.value-card h3 { font-size: 17px; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 13.5px; line-height: 1.85; }

.culture-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: clamp(28px, 3.4vw, 40px);
  padding: clamp(24px, 3vw, 34px) clamp(24px, 3.4vw, 40px);
  border: 1px solid rgba(0, 176, 240, 0.22);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(0, 176, 240, 0.12), transparent 60%),
    rgba(255, 255, 255, 0.025);
}
.culture-note h3 { font-size: clamp(17px, 2vw, 20px); margin-bottom: 8px; }
.culture-note p { max-width: 62ch; color: var(--muted); font-size: 14px; line-height: 1.9; }
.culture-note .btn { flex: none; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 16, 31, 0.6), rgba(4, 8, 16, 0.95));
  padding-top: clamp(48px, 6vw, 72px);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(36px, 4.5vw, 52px);
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand > p { color: var(--muted); font-size: 13.5px; line-height: 1.95; }
.footer-nav { display: flex; flex-direction: column; gap: 9px; }
.footer-nav h2,
.footer-info h2 {
  margin-bottom: 12px;
  color: var(--muted-dim);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.footer-nav a {
  width: fit-content;
  color: var(--muted);
  font-size: 13.5px;
  transition: color 0.2s var(--ease);
}
.footer-nav a:hover { color: var(--brand); }
.footer-info p { color: var(--muted); font-size: 13.5px; line-height: 1.95; }
.footer-info p + p { margin-top: 2px; }
.footer-info .footer-contact { margin-top: 7px; }
.footer-info a {
  color: var(--muted);
  border-bottom: 1px solid rgba(126, 168, 255, 0.28);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-info a:hover { color: var(--brand); border-bottom-color: rgba(0, 176, 240, 0.6); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-block: 20px 24px;
  border-top: 1px solid rgba(126, 168, 255, 0.1);
}
.footer-bottom p { color: var(--muted-dim); font-size: 12.5px; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  color: var(--muted-dim);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.footer-legal a { color: var(--muted); transition: color 0.2s var(--ease); }
.footer-legal a:hover { color: var(--brand); }

/* ---------- Reveal animation ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.75s var(--ease) var(--delay, 0s),
    transform 0.75s var(--ease) var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

body.menu-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; }
  .console { transform: none; }
  .arch-layout { grid-template-columns: 1fr; align-items: start; }
  .metric-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: grid;
    gap: 2px;
    padding: 14px clamp(20px, 4vw, 32px) 22px;
    background: #060b16;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a {
    padding: 13px 4px;
    font-size: 15px;
    border-bottom: 1px solid rgba(126, 168, 255, 0.08);
  }
  .site-nav a::after { display: none; }
  .site-nav a.is-active { color: var(--brand); }
  .culture-note { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .stat { padding-top: 0; padding-right: 0; }
  .stat + .stat { padding-left: 0; }
  .stat + .stat::before { display: none; }
  .stat:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
  .stat:nth-child(n + 3) { padding-top: 18px; border-top: 1px solid var(--line); }
  .timeline::before { left: 73px; }
  .timeline li { grid-template-columns: 60px minmax(0, 1fr); gap: 26px; }
  .timeline li::before { left: 68.5px; }
  .timeline-year { font-size: 13.5px; }
  .arch-layer { grid-template-columns: 1fr; gap: 10px; }
  .arch-label { font-size: 12.5px; }
  .metric-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .float-chip { display: none; }
  .stat dd { font-size: 1.5rem; }
}

@media (max-width: 420px) {
  :root { --header-h: 64px; }
  .brand-text strong { font-size: 14.5px; }
  .btn { height: 46px; padding: 0 18px; font-size: 14px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

@media print {
  .site-header, .hero-bg, .hero-visual, .culture-note .btn, .btn { display: none !important; }
  body { background: #fff; color: #111; }
  .section, .site-footer { background: #fff !important; border-color: #ddd !important; }
  .section h2, .cap-card h3, .story-card h3, .timeline-body h3, .value-card h3, .hero h1 { color: #111; }
}
