/* ============================================================
   Blockchain Worx — Web3 x AI Venture Studio
   Light Futuristic Design System
   ============================================================ */

:root {
  --bg: #f8fafd;
  --surface: #ffffff;
  --surface-2: #f1f4fa;
  --ink: #0c1230;
  --ink-soft: #2a3352;
  --muted: #5b6480;
  --line: rgba(12, 18, 48, 0.08);
  --indigo: #082880;
  --cyan: #00a0c0;
  --violet: #1d4ed8;
  --magenta: #0891b2;
  --grad: linear-gradient(120deg, #051a5e 0%, #082880 40%, #1d4ed8 72%, #00a0c0 100%);
  --grad-soft: linear-gradient(120deg, rgba(8,40,128,.08), rgba(29,78,216,.07), rgba(0,160,192,.08));
  --shadow-sm: 0 2px 10px rgba(12, 18, 48, 0.05);
  --shadow-md: 0 12px 40px rgba(12, 18, 48, 0.08);
  --shadow-glow: 0 10px 40px rgba(8, 40, 128, 0.25);
  --radius: 20px;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; }

.container { width: min(1180px, 92%); margin: 0 auto; }

::selection { background: rgba(0,160,192,.22); }

/* ---------- Utilities ---------- */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--indigo);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.mono-label::before {
  content: "";
  width: 28px; height: 1.5px;
  background: var(--grad);
  display: inline-block;
}

.section { padding: 96px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 14px 0 16px; }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .mono-label::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 100px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  cursor: pointer; border: none;
}
.btn-primary { background: var(--grad); background-size: 160% 160%; color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px rgba(8,40,128,.35); background-position: 100% 50%; }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--ink); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(8,40,128,.45); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn .arrow { transition: transform .3s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all .35s ease;
  padding: 18px 0;
}
.nav.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  font-family: var(--font-display); font-size: 15px; font-weight: 500;
  color: var(--ink-soft); position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -3px;
  width: 0; height: 2px; background: var(--grad); border-radius: 2px;
  transition: width .3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--ink); }
.nav-cta { margin-left: 8px; }
.nav-links a.btn-primary { color: #fff; }
.nav-links a.btn-primary::after { display: none; }
.nav-cta .btn { padding: 10px 22px; font-size: 14px; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 42px; height: 42px; border-radius: 12px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Aurora / grid backdrop ---------- */
.aurora {
  position: absolute; inset: 0; overflow: hidden; z-index: -2; pointer-events: none;
}
.aurora::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(12,18,48,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12,18,48,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; animation: drift 18s ease-in-out infinite alternate; }
.blob-1 { width: 520px; height: 520px; background: rgba(0,160,192,.28); top: -180px; left: -120px; }
.blob-2 { width: 460px; height: 460px; background: rgba(8,40,128,.18); top: -100px; right: -100px; animation-delay: -6s; }
.blob-3 { width: 380px; height: 380px; background: rgba(29,78,216,.15); top: 260px; left: 42%; animation-delay: -12s; }

@keyframes drift {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.12); }
}

/* ---------- Hero ---------- */
.hero { padding: 125px 0 90px; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 100px;
  background: rgba(255,255,255,.75); border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em;
  color: var(--ink-soft); margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-badge .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(0,160,192,.5); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,160,192,.5); }
  70% { box-shadow: 0 0 0 10px rgba(0,160,192,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,160,192,0); }
}
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.3rem); max-width: 900px; margin-bottom: 26px; }
.hero p.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 640px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-ticker {
  margin-top: 72px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; gap: 48px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.hero-ticker span b { color: var(--ink); font-weight: 600; }

/* ---------- Hero grid + visual ---------- */
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-visual-panel {
  position: relative; border-radius: 26px; overflow: hidden;
  background: linear-gradient(135deg, #060f2e 0%, #051a5e 55%, #075e74 100%);
  min-height: 400px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.hero-visual-panel::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 38px 38px;
}
.hero-visual-panel svg { position: relative; width: 84%; height: 84%; }
.node-dot { animation: nodepulse 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes nodepulse {
  0%, 100% { opacity: .5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.card {
  background: rgba(255,255,255,.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  backdrop-filter: blur(10px);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); opacity: 0; transition: opacity .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(8,40,128,.30); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 1.25rem; margin: 18px 0 12px; }
.card p { color: var(--muted); font-size: .98rem; }

.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--grad-soft); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}

/* ---------- Venture cards ---------- */
.venture-card {
  border-radius: 26px; overflow: hidden; position: relative;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex; flex-direction: column;
}
.venture-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.venture-visual {
  height: 210px; position: relative; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.venture-visual.cc { background: linear-gradient(135deg, #04263c 0%, #065f56 55%, #007e96 100%); }
.venture-visual.af { background: linear-gradient(135deg, #051a5e 0%, #082880 50%, #1d4ed8 100%); }
.venture-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 34px 34px;
}
.venture-mark {
  font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: #fff;
  position: relative; text-align: center; padding: 0 20px;
}
.venture-mark small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 11.5px; letter-spacing: .28em; text-transform: uppercase; opacity: .75; margin-top: 8px; }
.venture-body { padding: 34px 32px 38px; display: flex; flex-direction: column; flex: 1; }
.venture-body h3 { font-size: 1.5rem; margin-bottom: 6px; }
.venture-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); margin-bottom: 16px; }
.venture-body p { color: var(--muted); margin-bottom: 20px; }
.venture-body .chips { margin-bottom: 26px; }
.venture-body .actions { margin-top: auto; display: flex; gap: 14px; flex-wrap: wrap; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em;
  padding: 6px 13px; border-radius: 100px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-soft);
}

.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px; margin-left: 10px; vertical-align: middle;
}
.status-pill.live { background: rgba(16,185,129,.12); color: #047857; border: 1px solid rgba(16,185,129,.3); }
.status-pill.building { background: rgba(8,40,128,.08); color: var(--indigo); border: 1px solid rgba(8,40,128,.3); }

/* ---------- Process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { padding: 36px 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: relative; transition: transform .35s, box-shadow .35s; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-num { font-family: var(--font-mono); font-size: 13px; letter-spacing: .18em; }
.step h3 { font-size: 1.25rem; margin: 16px 0 10px; }
.step p { color: var(--muted); font-size: .97rem; }

/* ---------- Stats ---------- */
.stats-band {
  border-radius: 28px; padding: 56px 48px;
  background: linear-gradient(135deg, #060f2e 0%, #051a5e 55%, #082880 100%);
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.stats-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
}
.stat { position: relative; text-align: center; }
.stat-value { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.9rem); background: linear-gradient(120deg, #e0f2fe, #7dd3fc, #22d3ee); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-top: 8px; }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-visual {
  border-radius: 26px; min-height: 380px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #060f2e, #051a5e 55%, #075e74);
  display: flex; align-items: center; justify-content: center;
}
.split-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 38px 38px;
}
.orbit-wrap { position: relative; width: 280px; height: 280px; }
.orbit { position: absolute; inset: 0; border: 1px dashed rgba(255,255,255,.25); border-radius: 50%; animation: spin 22s linear infinite; }
.orbit.o2 { inset: 42px; animation-duration: 15s; animation-direction: reverse; }
.orbit.o3 { inset: 88px; animation-duration: 9s; }
.orbit .node {
  position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 16px rgba(34,211,238,.8);
}
.orbit-core {
  position: absolute; inset: 118px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 60px rgba(0,160,192,.6);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); color: #fff; font-weight: 700; font-size: 13px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.checklist { list-style: none; margin-top: 26px; }
.checklist li { display: flex; gap: 14px; margin-bottom: 16px; color: var(--ink-soft); }
.checklist li::before {
  content: "✦"; flex-shrink: 0;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-size: 18px; line-height: 1.5;
}

/* ---------- Process table ---------- */
.table-wrap { margin-top: 26px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
.process-table { width: 100%; border-collapse: collapse; }
.process-table th, .process-table td { padding: 18px 22px; text-align: left; vertical-align: top; }
.process-table thead th {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--indigo); background: var(--surface-2); border-bottom: 1px solid var(--line);
}
.process-table tbody tr:not(:last-child) td { border-bottom: 1px solid var(--line); }
.process-table tbody tr { transition: background .25s ease; }
.process-table tbody tr:hover { background: var(--surface-2); }
.process-table td:first-child { width: 34%; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink); white-space: nowrap; }
.process-table td:last-child { color: var(--muted); font-size: .95rem; }
.phase-num { font-family: var(--font-mono); font-size: 11px; color: var(--cyan); margin-right: 8px; }

/* ---------- Essay / POV ---------- */
.essay {
  max-width: 780px; margin: 0 auto;
  font-size: 1.11rem; line-height: 1.85; color: var(--ink-soft);
}
.essay p { margin-bottom: 28px; }
.essay p:first-of-type::first-letter {
  font-family: var(--font-display); font-size: 3.6em; font-weight: 700; float: left;
  line-height: .82; padding-right: 14px; padding-top: 6px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.essay h3 { font-size: 1.45rem; margin: 44px 0 18px; color: var(--ink); }
.pull-quote {
  margin: 40px 0; padding: 30px 36px; border-radius: 20px;
  background: var(--grad-soft); border: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; line-height: 1.5; color: var(--ink);
  position: relative;
}
.pull-quote::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 4px; background: var(--grad); }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 30px; padding: 72px 56px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #060f2e 0%, #051a5e 50%, #082880 100%);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.72); max-width: 560px; margin: 0 auto 36px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 125px 0 60px; position: relative; }
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); max-width: 860px; margin: 16px 0 20px; }
.page-hero p.lede { font-size: 1.15rem; color: var(--muted); max-width: 640px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 18px; display: flex; gap: 18px; align-items: flex-start; transition: transform .3s, box-shadow .3s; }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.contact-card .card-icon { width: 46px; height: 46px; font-size: 20px; flex-shrink: 0; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: .96rem; }
.contact-card a:hover { color: var(--indigo); }

.form-panel {
  background: rgba(255,255,255,.85); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 26px; padding: 42px 40px;
  box-shadow: var(--shadow-md);
}
.form-panel h3 { font-size: 1.4rem; margin-bottom: 8px; }
.form-panel > p { color: var(--muted); font-size: .96rem; margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: var(--font-display); font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--ink-soft); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg);
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  transition: border-color .25s, box-shadow .25s; outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(8,40,128,.12);
}
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* ---------- Footer ---------- */
.footer {
  margin-top: 96px; border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg), #eef1f9);
  padding: 72px 0 36px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 52px; }
.footer-logo img { height: 26px; width: auto; margin-bottom: 18px; }
.footer p { color: var(--muted); font-size: .95rem; max-width: 320px; }
.footer h4 { font-size: 1rem; margin-bottom: 18px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { color: var(--muted); font-size: .95rem; transition: color .25s; }
.footer ul a:hover { color: var(--indigo); }
.footer-socials { display: flex; gap: 12px; margin-top: 22px; }
.footer-socials a {
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--ink-soft);
  transition: all .3s;
}
.footer-socials a:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13.5px; color: var(--muted);
}
.footer-bottom .made { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 20px; text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1rem; margin-bottom: 12px; }
.team-socials { display: flex; justify-content: center; gap: 8px; }
.team-socials a {
  width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--ink-soft);
  transition: all .25s;
}
.team-socials a:hover { background: var(--grad); color: #fff; border-color: transparent; }

/* ---------- Partners ---------- */
.partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.partner-tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 18px; height: 92px; display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.partner-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(8,40,128,.25); }
.partner-tile img {
  max-width: 100%; max-height: 44px; width: auto; object-fit: contain;
  filter: grayscale(1) opacity(.6); transition: filter .3s ease;
}
.partner-tile:hover img { filter: grayscale(0) opacity(1); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .24s; }
.reveal-d3 { transition-delay: .36s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; padding: 44px 36px; }
  .split, .contact-grid, .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual-panel { min-height: 320px; order: -1; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .section { padding: 68px 0; }
  .hero { padding: 110px 0 70px; }
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .partners-grid { grid-template-columns: 1fr 1fr; }
  .process-table td, .process-table th { padding: 14px 16px; font-size: .92rem; }
  .process-table td:first-child { white-space: normal; width: auto; }
  .nav-links {
    position: fixed; inset: 0; top: 0; padding: 110px 8% 40px;
    background: rgba(250,251,254,.97); backdrop-filter: blur(20px);
    flex-direction: column; align-items: flex-start; gap: 26px;
    transform: translateX(100%); transition: transform .4s cubic-bezier(.4,0,.2,1);
    z-index: 90;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.3rem; }
  .nav-toggle { display: flex; position: relative; z-index: 95; }
  .nav-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 56px 28px; }
  .form-panel { padding: 32px 24px; }
  .contact-card { flex-wrap: wrap; }
  .essay { font-size: 1.04rem; }
}
