/* =========================================================
   银政通达官网 · Design tokens
   ========================================================= */
:root {
  --ink: #0c141d;
  --ink-2: #111c28;
  --ink-3: #1a2936;
  --paper: #ffffff;
  --paper-2: #f4f7f3;
  --paper-3: #edf2ed;
  --line: #dfe6df;
  --line-strong: #c9d4c8;
  --line-dark: rgba(255, 255, 255, 0.14);
  --text: #17211c;
  --muted: #66736b;
  --muted-2: #8b968f;
  --muted-dark: rgba(255, 255, 255, 0.62);
  --brand: #81bf2e;
  --brand-bright: #a9e252;
  --brand-deep: #4c7d14;
  --brand-soft: #eef7e2;
  --accent: var(--brand);
  --bg: var(--paper);
  --surface: var(--paper);
  --fg: var(--text);
  --border: var(--line);
  --radius: 2px;
  --radius-lg: 4px;
  --shell: min(1240px, calc(100vw - 96px));
  --section: clamp(72px, 8.4vw, 124px);
  --font: "Inter", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Inter", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-num: "JetBrains Mono", "SFMono-Regular", "Cascadia Mono", "Roboto Mono", Consolas, "Liberation Mono", monospace;
  --mono: var(--font-num);
  --grid-line: rgba(23, 33, 28, 0.05);
  --grid-line-dark: rgba(255, 255, 255, 0.045);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 80px;
}

/* =========================================================
   Base
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
svg { display: block; }

::selection { background: var(--brand); color: var(--ink); }

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

.shell {
  width: var(--shell);
  margin: 0 auto;
  position: relative;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.section { padding: var(--section) 0; }

section[id],
form[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
.section-tight { padding: clamp(56px, 6vw, 88px) 0; }
.section-paper {
  background-color: var(--paper-2);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
}
.section-dark {
  background-color: var(--ink);
  background-image:
    linear-gradient(var(--grid-line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-dark) 1px, transparent 1px);
  background-size: 84px 84px;
  color: var(--paper);
}

/* =========================================================
   Typography
   ========================================================= */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.eyebrow::after {
  content: "";
  width: 4px;
  height: 4px;
  background: currentColor;
  opacity: 0.55;
  flex-shrink: 0;
}
.eyebrow-light { color: var(--brand-bright); }
.eyebrow-plain::before { display: none; }
.eyebrow-md { font-size: 12.5px; letter-spacing: 0.18em; color: var(--ink); }
.eyebrow-md::before { width: 24px; background: var(--brand); }

.display,
.section-head h2,
.intro-left h2,
.page-hero h1,
.feature-copy h3,
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.1;
}

.section-head h2,
.intro-left h2 {
  font-size: clamp(32px, 4.1vw, 52px);
  color: var(--ink);
}
.section-dark .section-head h2 { color: var(--paper); }

.lead {
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.75;
  color: var(--text);
}
.section-dark .lead { color: rgba(255, 255, 255, 0.82); }

.prose p { margin-bottom: 20px; color: var(--muted); }
.prose p:last-child { margin-bottom: 0; }
.prose p.lead { color: var(--text); }

.accent-text { color: var(--brand-deep); }
.section-dark .accent-text { color: var(--brand-bright); }

/* =========================================================
   Buttons & links
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }

.btn-brand { background: var(--brand); color: var(--ink); }
.btn-brand:hover { background: var(--brand-bright); }

.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-3); }

.btn-ghost {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.6); }

.btn-outline-dark {
  color: var(--ink);
  border-color: var(--line-strong);
  background: transparent;
}
.btn-outline-dark:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn-sm { min-height: 40px; padding: 0 18px; font-size: 13px; }
.btn-lg { min-height: 56px; padding: 0 34px; font-size: 15px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.text-link svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.text-link:hover { border-color: var(--brand-deep); color: var(--brand-deep); }
.text-link:hover svg { transform: translateX(4px); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), height 0.3s var(--ease);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 132px;
  height: 1px;
  background: var(--brand);
}
.site-header.is-scrolled { box-shadow: 0 14px 34px rgba(12, 20, 29, 0.08); }

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

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: 168px; height: auto; }
.brand:hover { opacity: 0.86; }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 38px);
  margin-left: auto;
}
.main-nav a {
  position: relative;
  padding: 29px 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.3s var(--ease);
}
.main-nav a:hover { color: var(--brand-deep); }
.main-nav a:hover::after,
.main-nav a.is-active::after { width: 100%; }
.main-nav a.is-active { color: var(--ink); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.header-contact {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  text-align: right;
}
.header-contact span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; }
.header-contact strong { font-family: var(--font-num); font-size: 14px; font-weight: 500; color: var(--ink); letter-spacing: 0.01em; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: background 0.2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Mobile navigation */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 40px) 28px 40px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.55s var(--ease), visibility 0.55s var(--ease);
}
.mobile-nav.is-open { transform: translateY(0); visibility: visible; }
.mobile-nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.mobile-nav a span { font-family: var(--font-num); font-size: 12px; color: var(--brand); letter-spacing: 0.08em; }
.mobile-nav a.is-active { color: var(--brand-bright); }
.mobile-nav-foot {
  margin-top: auto;
  padding-top: 32px;
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted-dark);
}
.mobile-nav-foot strong { color: var(--paper); font-size: 18px; font-weight: 500; }
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(5, 10, 16, 0.54);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.nav-scrim.is-open { opacity: 1; visibility: visible; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: min(820px, calc(100svh - var(--header-h)));
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.1s var(--ease), transform 7s linear;
}
.hero-media img.is-active { opacity: 1; transform: scale(1); }
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 14, 22, 0.95) 0%, rgba(6, 14, 22, 0.84) 40%, rgba(6, 14, 22, 0.52) 72%, rgba(6, 14, 22, 0.78) 100%),
    linear-gradient(0deg, rgba(6, 14, 22, 0.92) 0%, rgba(6, 14, 22, 0) 48%);
}

/* 科技层：栅格、扫描线、角标 */
.hero-tech {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
  -webkit-mask-image: radial-gradient(62% 68% at 74% 44%, #000 34%, rgba(0, 0, 0, 0.7) 62%, transparent 88%);
  mask-image: radial-gradient(62% 68% at 74% 44%, #000 34%, rgba(0, 0, 0, 0.7) 62%, transparent 88%);
}
.hero-canvas.is-ready { opacity: 1; }
.hero.no-webgl .hero-canvas { display: none; }
.hero:not(.has-webgl) .hero-tech::before,
.hero:not(.has-webgl) .hero-tech::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero:not(.has-webgl) .hero-tech::before {
  top: 20%;
  right: 10%;
  width: min(42vw, 420px);
  aspect-ratio: 1;
  border: 1px solid rgba(169, 226, 82, 0.13);
  border-top-color: rgba(169, 226, 82, 0.38);
  border-left-color: rgba(169, 226, 82, 0.62);
  animation: radarSpin 9s linear infinite;
}
.hero:not(.has-webgl) .hero-tech::after {
  top: 13%;
  right: 5%;
  width: min(54vw, 540px);
  aspect-ratio: 1;
  border: 1px dashed rgba(169, 226, 82, 0.28);
  animation: radarSpin 28s linear infinite reverse;
}
@keyframes radarSpin {
  to { transform: rotate(360deg); }
}
@media (max-width: 760px) {
  .hero:not(.has-webgl) .hero-tech::before,
  .hero:not(.has-webgl) .hero-tech::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero:not(.has-webgl) .hero-tech::before {
    animation: radarSpin 18s linear infinite;
  }
  .hero:not(.has-webgl) .hero-tech::after {
    animation: radarSpin 56s linear infinite reverse;
  }
}
@media (max-width: 1024px) {
  .hero-canvas {
    -webkit-mask-image: radial-gradient(52% 46% at 76% 27%, #000 30%, rgba(0, 0, 0, 0.65) 62%, transparent 90%);
    mask-image: radial-gradient(52% 46% at 76% 27%, #000 30%, rgba(0, 0, 0, 0.65) 62%, transparent 90%);
  }
}
@media (max-width: 760px) {
  .hero-canvas { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-canvas { transition: none; }
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 52%, transparent 82%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 52%, transparent 82%);
}
.hero-scan {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-scan::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(169, 226, 82, 0) 0%, rgba(169, 226, 82, 0.45) 18%, rgba(169, 226, 82, 0.9) 50%, rgba(169, 226, 82, 0.45) 82%, rgba(169, 226, 82, 0) 100%);
  animation: heroScan 11s linear infinite;
}
@keyframes heroScan {
  0% { top: 2%; opacity: 0; }
  8% { opacity: 0.85; }
  92% { opacity: 0.85; }
  100% { top: 98%; opacity: 0; }
}
.hero-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 0 solid rgba(169, 226, 82, 0.55);
}
.hero-corner.tl { top: 26px; left: 26px; border-top-width: 1px; border-left-width: 1px; }
.hero-corner.tr { top: 26px; right: 26px; border-top-width: 1px; border-right-width: 1px; }
.hero-corner.bl { bottom: 26px; left: 26px; border-bottom-width: 1px; border-left-width: 1px; }
.hero-corner.br { bottom: 26px; right: 26px; border-bottom-width: 1px; border-right-width: 1px; }

.hero-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.5);
}
.hero-status > span {
  width: 6px;
  height: 6px;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(129, 191, 46, 0.14);
  animation: statusPulse 3.2s steps(1) infinite;
}
@keyframes statusPulse {
  0%, 72%, 100% { opacity: 1; }
  78%, 94% { opacity: 0.25; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  align-items: end;
  gap: clamp(40px, 6vw, 92px);
  padding-top: clamp(90px, 12vh, 150px);
  padding-bottom: 130px;
}
.hero-copy { max-width: 780px; }
.hero h1 {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(46px, 6.2vw, 78px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.hero h1 span {
  position: relative;
  color: var(--brand-bright);
}
.hero h1 span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.08em;
  height: 2px;
  background: linear-gradient(90deg, var(--brand) 0%, rgba(129, 191, 46, 0) 100%);
}
.hero-lead {
  max-width: 56ch;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.74);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hero-tab {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 0 0 6px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.hero-tab span { font-family: var(--font-num); font-size: 11px; color: rgba(255, 255, 255, 0.36); }
.hero-tab:hover { color: rgba(255, 255, 255, 0.82); }
.hero-tab.is-active { color: var(--paper); border-color: var(--brand); }
.hero-tab.is-active span { color: var(--brand); }

.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 18, 28, 0.42);
  counter-reset: hstat;
}
.hero-stats::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 62px;
  height: 2px;
  background: var(--brand);
  z-index: 2;
}
.hero-stat {
  position: relative;
  min-height: 118px;
  padding: 22px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  counter-increment: hstat;
}
.hero-stat::before {
  content: "0" counter(hstat);
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(169, 226, 82, 0.6);
}
.hero-stat:nth-child(2n) { border-right: 0; }
.hero-stat:nth-last-child(-n + 2) { border-bottom: 0; }
.hero-stat strong {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}
.hero-stat strong em { font-style: normal; font-size: 0.48em; margin-left: 2px; color: var(--brand-bright); }
.hero-stat > span { display: block; margin-top: 12px; font-size: 11px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.55); }

.hero-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-foot .hero-line { flex: 1; height: 1px; background: rgba(255, 255, 255, 0.12); }

/* =========================================================
   Capability ticker
   ========================================================= */
.ticker-band {
  padding: 20px 0 22px;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}
.ticker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
}
.ticker-head span:first-child { color: var(--brand-bright); }
.marquee { position: relative; overflow: hidden; }
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), rgba(12, 20, 29, 0)); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--ink), rgba(12, 20, 29, 0)); }
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 58s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
}
.marquee-item::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--brand);
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   Intro / proof
   ========================================================= */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.intro-left h2 { max-width: 620px; }
.intro-right { max-width: 620px; padding-top: 28px; }
.intro-right .lead { margin-bottom: 24px; }
.intro-right p { margin-bottom: 20px; color: var(--muted); }
.intro-right .text-link { margin-top: 10px; }

.proof-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 78px);
  border-top: 1px solid var(--line);
}
.proof {
  padding: 26px 28px 0 0;
  border-right: 1px solid var(--line);
}
.proof:last-child { border-right: 0; }
.proof strong {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.proof strong em { font-style: normal; font-size: 0.45em; color: var(--brand-deep); margin-left: 3px; }
.proof > span { display: block; margin-top: 12px; font-size: 12px; color: var(--muted); }

/* =========================================================
   Business lines
   ========================================================= */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}
.section-head > div { max-width: 760px; }
.section-head > p { max-width: 430px; color: var(--muted); font-size: 15px; line-height: 1.75; padding-bottom: 6px; }

.line-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 18px;
}
.line-col { display: grid; grid-template-rows: 1.1fr 0.9fr; gap: 18px; }

.line-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 300px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  isolation: isolate;
}
.line-card-lg { min-height: 618px; }
.line-card::before {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 26px;
  height: 26px;
  border-top: 1px solid rgba(169, 226, 82, 0.62);
  border-right: 1px solid rgba(169, 226, 82, 0.62);
  z-index: 1;
  opacity: 0.75;
  transition: opacity 0.35s var(--ease);
}
.line-card:hover::before { opacity: 1; }
.line-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  z-index: -2;
  transition: transform 0.9s var(--ease), opacity 0.5s var(--ease);
}
.line-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 14, 22, 0.12) 10%, rgba(6, 14, 22, 0.84) 100%);
  transition: background 0.5s var(--ease);
}
.line-card:hover img { transform: scale(1.045); opacity: 0.9; }
.pos-left { object-position: left center; }
.line-content { padding: clamp(26px, 3vw, 44px); width: 100%; }
.line-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-bright);
}
.line-index::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.line-card h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.7vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.line-card p {
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.75;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 2px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.74);
  letter-spacing: 0.02em;
}
.line-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.line-link svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.line-card:hover .line-link svg { transform: translateX(4px); }

/* =========================================================
   Solution preview grid
   ========================================================= */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 30px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease);
}
.solution-card::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 0;
  height: 1px;
  background: var(--brand);
  transition: width 0.45s var(--ease);
}
.solution-card:hover::before { width: calc(100% + 2px); }
.solution-card:hover {
  border-color: var(--line-strong);
  background: var(--paper-2);
  transform: translateY(-3px);
}
.solution-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
}
.solution-num {
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
}
.solution-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--brand-deep);
}
.solution-icon svg { width: 26px; height: 26px; }
.solution-card h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.solution-card p { font-size: 13.5px; line-height: 1.75; color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 22px; }
.tag-list li {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 2px;
}
.section-cta { display: flex; justify-content: center; margin-top: 44px; }

/* =========================================================
   Case preview
   ========================================================= */
.case-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  border: 1px solid var(--line);
  background: var(--paper);
}
.case-media::before,
.case-study-media::before,
.feature-media::before,
.case-card-media::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 18px;
  height: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  border-right: 1px solid rgba(255, 255, 255, 0.42);
  z-index: 2;
  pointer-events: none;
}
.case-media::after,
.case-study-media::after,
.feature-media::after,
.case-card-media::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 1px;
  background: linear-gradient(90deg, rgba(169, 226, 82, 0.55), rgba(169, 226, 82, 0));
  z-index: 2;
  pointer-events: none;
}
.case-media { position: relative; min-height: 460px; overflow: hidden; background: var(--ink); }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.case-feature:hover .case-media img { transform: scale(1.03); }
.case-badge {
  position: absolute;
  left: 22px;
  top: 22px;
  padding: 6px 12px;
  background: var(--brand);
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.case-body { padding: clamp(30px, 4vw, 54px); display: flex; flex-direction: column; justify-content: center; }
.case-body h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.9vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.case-body > p { color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 32px 0 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.case-metrics strong {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.case-metrics strong em { font-style: normal; font-size: 0.5em; color: var(--brand-deep); margin-left: 2px; }
.case-metrics > div > span { display: block; margin-top: 8px; font-size: 10.5px; color: var(--muted); }

.case-list { margin-top: 18px; border-top: 1px solid var(--line); }
.case-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1.1fr) minmax(0, 1fr) 70px 34px;
  align-items: center;
  gap: 22px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s var(--ease), background 0.3s var(--ease);
}
.case-row:hover { padding-left: 14px; padding-right: 0; background: var(--paper-2); }
.case-row .case-year { font-family: var(--font-num); font-size: 12px; color: var(--muted-2); letter-spacing: 0.06em; }
.case-row h4 { font-size: 16px; font-weight: 600; line-height: 1.4; }
.case-row p { font-size: 13px; color: var(--muted); }
.case-row .case-cat { font-size: 10px; letter-spacing: 0.08em; color: var(--brand-deep); text-transform: uppercase; }
.case-row .arrow { display: inline-flex; justify-content: flex-end; color: var(--muted-2); transition: transform 0.3s var(--ease), color 0.3s var(--ease); }
.case-row:hover .arrow { transform: translateX(4px); color: var(--brand-deep); }
.case-row svg { width: 16px; height: 16px; }

/* =========================================================
   Approach
   ========================================================= */
.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: start;
}
.approach-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.1vw, 52px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.028em;
  margin-bottom: 24px;
}
.approach-copy > p { color: var(--muted-dark); font-size: 15px; line-height: 1.8; max-width: 48ch; }
.steps { border-top: 1px solid var(--line-dark); }
.steps li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-dark);
}
.steps .step-num {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-num);
  font-size: 20px;
  color: var(--brand);
  letter-spacing: 0.04em;
}
.steps .step-num::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--brand);
  flex-shrink: 0;
}
.steps h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.steps p { color: var(--muted-dark); font-size: 13.5px; line-height: 1.75; max-width: 56ch; }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 6vw, 78px) 0;
  background: var(--brand);
  color: var(--ink);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(12, 20, 29, 0.1) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(12, 20, 29, 0.055) 0 1px, transparent 1px 64px);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-band .eyebrow { color: rgba(12, 20, 29, 0.6); }
.cta-band h2 { font-size: clamp(30px, 3.8vw, 46px); max-width: 860px; }
.cta-band .btn-dark { flex-shrink: 0; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 88px 88px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--paper);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 100px);
  padding-top: 64px;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand p { margin-top: 22px; color: var(--muted-dark); font-size: 13px; line-height: 1.8; }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; }
.footer-logo .mark { width: 34px; height: 34px; color: var(--brand); flex-shrink: 0; }
.footer-logo strong { display: block; font-size: 20px; font-weight: 600; letter-spacing: 0.06em; line-height: 1.2; }
.footer-logo small { display: block; margin-top: 4px; font-size: 9px; letter-spacing: 0.18em; color: var(--muted-dark); }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.footer-cols h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); margin-bottom: 18px; }
.footer-cols a { display: block; padding: 5px 0; font-size: 13px; color: var(--muted-dark); transition: color 0.25s var(--ease); }
.footer-cols a:hover { color: var(--paper); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 24px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.42);
}
.footer-bottom a { transition: color 0.25s var(--ease); }
.footer-bottom a:hover { color: var(--brand-bright); }
.footer-bottom .back-top { display: inline-flex; align-items: center; gap: 7px; }
.footer-bottom .back-top svg { width: 13px; height: 13px; }

/* =========================================================
   Page hero (inner pages)
   ========================================================= */
.page-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  padding: clamp(84px, 10vw, 120px) 0 clamp(48px, 5vw, 64px);
  background-color: var(--ink);
  background-position: center;
  background-size: cover;
  color: var(--paper);
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 14, 22, 0.94) 0%, rgba(6, 14, 22, 0.76) 46%, rgba(6, 14, 22, 0.36) 100%),
    linear-gradient(0deg, rgba(6, 14, 22, 0.86) 0%, rgba(6, 14, 22, 0.1) 70%);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9), transparent 68%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9), transparent 68%);
}
.page-hero.about { background-image: url("../img/building.jpg"); }
.page-hero.solutions { background-image: url("../img/solution-medical.jpg"); }
.page-hero.cases { background-image: url("../img/teamwork.jpg"); }
.page-hero.contact { background-image: url("../img/workstation.jpg"); background-color: var(--ink); }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 34px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
}
.breadcrumb a { transition: color 0.25s var(--ease); }
.breadcrumb a:hover { color: var(--paper); }
.breadcrumb span:last-child { color: rgba(255, 255, 255, 0.8); }
.page-hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  max-width: 900px;
  margin-bottom: 20px;
}
.page-hero .page-lead { max-width: 640px; color: rgba(255, 255, 255, 0.7); font-size: 16px; line-height: 1.85; }

/* =========================================================
   About page
   ========================================================= */
.split-2 {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.split-2 h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.1vw, 52px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.028em;
}
.split-2 .prose { max-width: 640px; }
.split-2 .prose .lead { font-size: 18px; line-height: 1.8; margin-bottom: 22px; }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(48px, 6vw, 76px);
  border-top: 1px solid var(--line);
}
.stat-strip .stat { padding: 28px 26px 0 0; border-right: 1px solid var(--line); }
.stat-strip .stat:last-child { border-right: 0; }
.stat-strip strong {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.stat-strip strong em { font-style: normal; font-size: 0.45em; color: var(--brand-deep); margin-left: 3px; }
.stat-strip .stat > span { display: block; margin-top: 12px; font-size: 12px; color: var(--muted); }

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.principle-card {
  padding: 30px 26px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.principle-card .p-index { font-family: var(--font-num); font-size: 12px; color: var(--muted-2); letter-spacing: 0.08em; }
.principle-card h3 { margin: 34px 0 12px; font-size: 19px; font-weight: 600; }
.principle-card p { color: var(--muted); font-size: 13.5px; line-height: 1.75; }

.timeline { border-top: 1px solid var(--line); }
.timeline li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.timeline .year {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-num);
  font-size: 24px;
  line-height: 1;
  color: var(--brand-deep);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.timeline .year::before {
  content: "";
  width: 8px;
  height: 1px;
  background: var(--brand);
  flex-shrink: 0;
}
.timeline h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.timeline p { color: var(--muted); font-size: 14px; line-height: 1.75; max-width: 76ch; }

.network-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.network-grid h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.1vw, 52px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.028em;
  margin-bottom: 20px;
}
.network-grid > div > p { color: var(--muted); font-size: 15px; line-height: 1.8; max-width: 46ch; }
.network-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.network-card {
  padding: 26px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  min-height: 170px;
}
.network-card.is-hq { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.network-card .city { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.network-card .city strong { font-size: 22px; font-weight: 600; letter-spacing: 0.02em; }
.network-card .city span { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.network-card.is-hq .city span { color: var(--brand-bright); }
.network-card p { margin-top: 18px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.network-card.is-hq p { color: var(--muted-dark); }

.cred-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cred-card { padding: 30px 26px; border-top: 2px solid var(--ink); background: var(--paper-2); }
.cred-card .cred-tag { font-family: var(--font-num); font-size: 13px; color: var(--brand-deep); letter-spacing: 0.04em; }
.cred-card h3 { margin: 30px 0 10px; font-size: 18px; font-weight: 600; }
.cred-card p { color: var(--muted); font-size: 13px; line-height: 1.7; }

/* =========================================================
   Solutions page
   ========================================================= */
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
}
.section-label-num {
  font-family: var(--mono);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--brand-deep);
  font-variant-numeric: tabular-nums;
}
.section-label-num::after {
  content: "/";
  margin-left: 10px;
  font-size: 0.46em;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted-2);
  vertical-align: 0.3em;
}
.section-label-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--ink);
  white-space: nowrap;
}
.section-label-line {
  flex: 1;
  min-width: 48px;
  height: 1px;
  margin-left: 8px;
  background: linear-gradient(90deg, var(--line-strong), rgba(201, 212, 200, 0));
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  padding: clamp(48px, 6vw, 78px) 0;
  border-top: 1px solid var(--line);
}
.feature-row:first-of-type { border-top: 0; }
.feature-row.reverse .feature-media { order: 2; }
.feature-media { position: relative; min-height: 380px; overflow: hidden; background: var(--ink); }
.feature-media img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; transition: transform 0.9s var(--ease); }
.feature-row:hover .feature-media img { transform: scale(1.03); }
.feature-media .feature-index {
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 2;
  padding: 5px 10px;
  background: rgba(8, 18, 28, 0.72);
  color: var(--paper);
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.feature-copy h3 {
  font-size: clamp(28px, 3.2vw, 42px);
  margin-bottom: 18px;
}
.feature-copy .feature-desc { color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: 26px; }
.feature-list { display: grid; gap: 10px; margin-bottom: 28px; }
.feature-list li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}
.feature-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 9px;
  background: var(--brand);
  border-radius: 50%;
}
.feature-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.feature-meta span {
  padding: 5px 10px;
  border: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.filter-btn span { font-family: var(--font-num); font-size: 10px; color: var(--muted-2); }
.filter-btn:hover { border-color: var(--line-strong); color: var(--ink); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filter-btn.is-active span { color: var(--brand-bright); }
.filter-result { min-height: 20px; margin-bottom: 22px; font-size: 12px; color: var(--muted-2); letter-spacing: 0.03em; }

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.matrix-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.matrix-card:hover { border-color: var(--line-strong); background: var(--paper-2); }
.matrix-card.is-open { background: var(--paper-2); border-color: var(--line-strong); }
.matrix-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.matrix-num { font-family: var(--font-num); font-size: 11px; color: var(--muted-2); letter-spacing: 0.08em; }
.matrix-cat { font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-deep); }
.matrix-card h3 { font-size: 18px; font-weight: 600; line-height: 1.4; margin-bottom: 10px; }
.matrix-card > p { font-size: 13px; line-height: 1.7; color: var(--muted); }
.expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  margin-top: auto;
  padding: 16px 0 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--brand-deep);
}
.expand-btn svg { width: 12px; height: 12px; transition: transform 0.3s var(--ease); }
.matrix-card.is-open .expand-btn svg { transform: rotate(180deg); }
.matrix-detail { display: none; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.matrix-card.is-open .matrix-detail { display: block; }
.matrix-detail ul { display: grid; gap: 7px; }
.matrix-detail li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 8px; font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.matrix-detail li::before { content: ""; width: 4px; height: 4px; margin-top: 8px; background: var(--brand); border-radius: 50%; }
.matrix-note { margin-top: 12px; font-size: 11px; color: var(--muted-2); line-height: 1.6; }
.matrix-card.is-hidden { display: none; }
.matrix-empty {
  display: none;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.matrix-empty.is-visible { display: block; }

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.delivery-card { padding: 30px 26px; border: 1px solid var(--line); }
.delivery-card .delivery-icon { width: 30px; height: 30px; color: var(--brand-deep); margin-bottom: 28px; }
.delivery-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.delivery-card p { font-size: 13px; line-height: 1.75; color: var(--muted); }

/* =========================================================
   Cases page
   ========================================================= */
.case-study {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}
.case-study-media { position: relative; min-height: 520px; background: var(--ink); overflow: hidden; }
.case-study-media img { width: 100%; height: 100%; object-fit: cover; }
.case-study-media .case-badge { position: absolute; left: 22px; top: 22px; }
.case-study-body { padding: clamp(32px, 4.5vw, 58px); display: flex; flex-direction: column; justify-content: center; }
.case-study-body h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.028em;
  margin-bottom: 18px;
}
.case-study-body > p { color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.case-study-body .case-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 28px 0; }
.case-timeline { margin-top: 6px; border-top: 1px solid var(--line); }
.case-timeline li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.case-timeline time { font-family: var(--font-num); color: var(--brand-deep); letter-spacing: 0.02em; }
.case-timeline span { color: var(--muted); }

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}
.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.case-card::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 0;
  height: 1px;
  background: var(--brand);
  z-index: 3;
  transition: width 0.45s var(--ease);
}
.case-card:hover::before { width: calc(100% + 2px); }
.case-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.case-card.is-hidden { display: none; }
.case-card-media { position: relative; height: 210px; overflow: hidden; background: var(--ink); }
.case-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.case-card:hover .case-card-media img { transform: scale(1.04); }
.case-card-media .case-cat {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 4px 8px;
  background: rgba(8, 18, 28, 0.78);
  color: var(--paper);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.case-card-body { padding: 24px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.case-card-body .case-client { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; color: var(--brand-deep); text-transform: uppercase; margin-bottom: 8px; }
.case-card-body h3 { font-size: 18px; font-weight: 600; line-height: 1.45; margin-bottom: 10px; }
.case-card-body p { font-size: 13px; line-height: 1.7; color: var(--muted); }
.case-card-body .case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 18px; }
.case-card-body .case-tags span { padding: 4px 8px; border: 1px solid var(--line); font-size: 9.5px; color: var(--muted); }
.case-card-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}
.case-card-note::before { content: ""; width: 14px; height: 1px; background: var(--brand); }

/* =========================================================
   Contact page
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.028em;
  margin-bottom: 18px;
}
.contact-info > p { color: var(--muted); font-size: 14.5px; line-height: 1.8; margin-bottom: 34px; }
.contact-list { border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list .label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.contact-list .value { font-size: 14px; line-height: 1.7; }
.contact-list .value a:hover { color: var(--brand-deep); }
.contact-list .value strong { display: block; font-family: var(--font-num); font-size: 20px; font-weight: 500; letter-spacing: 0.02em; }

.contact-note {
  margin: 0;
  padding: 16px 18px;
  border-left: 2px solid var(--brand);
  background: var(--paper-2);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}
.contact-info > .contact-note { margin-bottom: 0; }
.contact-details { padding-top: 6px; }

.offices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.office-card { padding: 24px 22px; border: 1px solid var(--line); background: var(--paper); }
.office-card .office-city { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.office-card .office-city strong { font-size: 18px; font-weight: 600; }
.office-card .office-city span { font-size: 9px; letter-spacing: 0.12em; color: var(--brand-deep); text-transform: uppercase; }
.office-card p { font-size: 12px; line-height: 1.7; color: var(--muted); }

/* =========================================================
   Reveal animation
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  :root { --shell: min(1240px, calc(100vw - 64px)); }
  .main-nav { gap: 20px; }
  .header-contact { display: none; }
  .hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr); gap: 40px; }
  .matrix-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principle-grid,
  .cred-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .brand img { width: 152px; }

  .hero { min-height: auto; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 96px;
    padding-bottom: 118px;
  }
  .hero-copy { max-width: 100%; }
  .hero-stats { max-width: 560px; width: 100%; }
  .hero-foot { display: none; }

  .intro-grid,
  .approach-grid,
  .split-2,
  .network-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .intro-right { padding-top: 0; }

  .line-grid { grid-template-columns: 1fr; }
  .line-col { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .line-card-lg { min-height: 520px; }
  .line-card { min-height: 360px; }

  .case-feature,
  .case-study { grid-template-columns: 1fr; }
  .case-media,
  .case-study-media { min-height: 380px; }
  .case-body { padding: 34px 28px; }
  .case-row { grid-template-columns: 64px minmax(0, 1fr) 34px; }
  .case-row .case-cat,
  .case-row > p { display: none; }

  .feature-row,
  .feature-row.reverse { grid-template-columns: 1fr; gap: 28px; }
  .feature-row.reverse .feature-media { order: 0; }
  .feature-media,
  .feature-media img { min-height: 320px; }

  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .delivery-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-cols { gap: 20px; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100vw - 40px); --section: 64px; }
  body { font-size: 15px; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-head > p { max-width: 100%; }
  .section-label { gap: 10px; margin-bottom: 20px; }
  .section-label-num { font-size: 26px; }
  .section-label-name { font-size: 13px; letter-spacing: 0.16em; }
  .section-label-line { min-width: 28px; margin-left: 4px; }

  .hero-inner { padding-top: 72px; padding-bottom: 72px; }
  .hero h1 { font-size: clamp(38px, 10.5vw, 52px); margin-bottom: 22px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { margin-top: 26px; }
  .hero-actions .btn { width: 100%; }
  .hero-tabs { gap: 6px 18px; margin-top: 34px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat { min-height: 96px; padding: 18px; }
  .hero-stat strong { font-size: 26px; }

  .ticker-head span:last-child { display: none; }
  .marquee-item { padding: 0 20px; font-size: 10.5px; }
  .hero-corner { display: none; }
  .hero-grid { background-size: 64px 64px; }

  .proof-row { grid-template-columns: 1fr 1fr; }
  .proof { padding: 22px 18px 0 0; }
  .proof:nth-child(2n) { border-right: 0; }
  .proof:nth-child(-n + 2) { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
  .proof strong { font-size: 32px; }

  .line-col { grid-template-columns: 1fr; }
  .line-card-lg { min-height: 460px; }
  .line-card { min-height: 330px; }
  .line-content { padding: 24px; }
  .line-card h3 { font-size: 28px; }

  .solution-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 240px; }

  .case-metrics,
  .case-study-body .case-metrics { grid-template-columns: 1fr 1fr; }
  .case-metrics > div:last-child { grid-column: auto; }
  .case-list { margin-top: 12px; }
  .case-row { grid-template-columns: 1fr 30px; gap: 12px; padding: 18px 0; }
  .case-row .case-year { display: none; }
  .case-row:hover { padding-left: 0; }
  .case-row h4 { font-size: 15px; }

  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat-strip .stat { padding: 22px 16px 0 0; }
  .stat-strip .stat:nth-child(2n) { border-right: 0; }
  .stat-strip .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); padding-bottom: 20px; }

  .principle-grid,
  .cred-grid,
  .network-cards,
  .offices { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 76px minmax(0, 1fr); gap: 18px; }
  .timeline .year { font-size: 20px; }

  .matrix-grid { grid-template-columns: 1fr; }
  .filter-bar { gap: 6px; }
  .filter-btn { padding: 8px 12px; font-size: 12px; }
  .delivery-grid { grid-template-columns: 1fr; }

  .case-grid { grid-template-columns: 1fr; }
  .case-study-media,
  .case-media { min-height: 300px; }
  .case-study-body,
  .case-body { padding: 26px 22px; }


  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-band .btn { width: 100%; }

  .footer-cols { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-top { padding-top: 48px; padding-bottom: 38px; }

  .page-hero { min-height: 360px; padding-top: 74px; }
  .page-hero h1 { font-size: clamp(32px, 9vw, 44px); }
  .breadcrumb { margin-bottom: 24px; }
}

@media (max-width: 420px) {
  :root { --shell: calc(100vw - 32px); }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
  .hero-stat:nth-child(2n) { border-right: 0; }
  .hero-stat:nth-last-child(-n + 2) { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
  .hero-stat:last-child { border-bottom: 0; }
  .footer-cols { grid-template-columns: 1fr; }
}

/* =========================================================
   Motion preferences
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-media img { transition: none; }
}