/* ============================================================
   Components — one block per section/component for easy edits.
   ============================================================ */

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 18, 32, .72);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.01em;
}
.brand .mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  border: 1px solid var(--border-strong);
  padding: 9px 18px;
  border-radius: 999px;
  color: var(--text) !important;
  font-weight: 600;
  transition: background .2s, border-color .2s;
}
.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  cursor: pointer;
  padding: 6px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 110px 0 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
}
.blob.b1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #2F6FD6, transparent 70%);
  top: -160px; right: -120px;
}
.blob.b2 {
  width: 440px; height: 440px;
  background: radial-gradient(circle, #2F9D95, transparent 70%);
  bottom: -180px; left: -140px;
  opacity: .35;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  opacity: .5;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(124, 199, 192, .1);
  border: 1px solid rgba(124, 199, 192, .22);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(124, 199, 192, .18);
}
.hero h1 {
  font-size: clamp(40px, 6.5vw, 68px);
  font-weight: 700;
  margin-bottom: 24px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, #7CC7C0, #5E9FE8 55%, #B49CE6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 38px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 52px;
  padding-top: 34px;
  border-top: 1px solid var(--border);
}
.hero-meta .stat { min-width: 120px; }
.hero-meta .num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
}
.hero-meta .lbl {
  font-size: 13.5px;
  color: var(--faint);
}

/* ---------- SERVICES ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.card .ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(94, 159, 232, .12);
  border: 1px solid rgba(94, 159, 232, .2);
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p  { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.card ul {
  margin: 0; padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.card ul li {
  font-size: 12.5px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 5px 11px;
  border-radius: 999px;
}
.card.feat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(150deg, rgba(94, 159, 232, .12), rgba(124, 199, 192, .06));
  border-color: rgba(94, 159, 232, .25);
}
.card.feat h3 { font-size: 19px; margin-bottom: 10px; }
.card.feat p  { margin-bottom: 18px; }
.card.feat .btn { align-self: flex-start; padding: 11px 20px; font-size: 15px; }

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-grid p {
  color: var(--muted);
  font-size: 16.5px;
  margin: 0 0 18px;
}
.about-grid p strong {
  color: var(--text);
  font-weight: 600;
}
.about-grid h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  margin-bottom: 20px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.panel h4 {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 18px;
  font-weight: 600;
}
.stack-group { margin-bottom: 20px; }
.stack-group:last-child { margin-bottom: 0; }
.stack-group .g-label {
  font-size: 13px;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 9px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  font-size: 13px;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 8px;
}

/* ---------- APPROACH ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.step .n {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--border-strong);
  width: 34px; height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step h4 {
  font-size: 17px;
  margin: 0 0 8px;
  font-family: var(--font-display);
}
.step p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* ---------- WRITING ---------- */
.writing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.wcard {
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}
.wcard:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.wcard .kicker {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-3);
  font-weight: 600;
  margin-bottom: 12px;
}
.wcard h4 {
  font-size: 18px;
  font-family: var(--font-display);
  margin: 0 0 8px;
  line-height: 1.25;
}
.wcard p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* ---------- CTA ---------- */
.cta { padding: 0 0 96px; }
.cta-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #132A47, #0E1B30);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
}
.cta-box .blob { opacity: .4; }
.cta-box h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}
.cta-box p {
  color: var(--muted);
  font-size: 18px;
  max-width: 520px;
  margin: 0 auto 32px;
  position: relative;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ---------- FOOTER ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 44px 0;
}
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.foot .brand { font-size: 17px; }
.foot-links {
  display: flex;
  gap: 22px;
}
.foot-links a {
  color: var(--muted);
  font-size: 14.5px;
  transition: color .2s;
}
.foot-links a:hover { color: var(--text); }
.foot small {
  color: var(--faint);
  font-size: 13px;
}
