/* ── HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 84px;
  overflow: hidden;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(37,99,235,0.09) 0%, transparent 65%),
    linear-gradient(180deg, transparent 60%, var(--bg) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(48px,8vh,96px) var(--pad);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-content { display:flex; flex-direction:column; }
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(44px, 5.5vw, 88px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: italic;
  color: var(--blue-hi);
}
.hero-sub {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--t2);
  max-width: 400px;
  line-height: 1.75;
  margin-bottom: 36px;
  font-weight: 400;
}
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; }

/* Right side - sub + CTA */
.hero-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

@media(max-width:860px){
  .hero-inner { grid-template-columns:1fr; gap:32px; }
}

/* ── STATS ────────────────────────────────────────────── */
.stats {
  background: var(--bg-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stats-row {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 40px 0 40px 40px;
  border-right: 1px solid var(--rule);
}
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: none; }
.stat-n {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 60px);
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-l {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t3);
}

@media(max-width:700px){
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--rule); padding-left: 0; }
  .stat:nth-child(odd) { border-right: 1px solid var(--rule); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
}


/* ── WHO WE ARE ───────────────────────────────────────── */
.about-strip {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.about-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px,6vw,96px);
  align-items: start;
}
@media(max-width:760px){ .about-strip-inner { grid-template-columns:1fr; gap:32px; } }

.about-strip h2 { font-size:clamp(36px,4.5vw,58px); margin-top:8px; }

.body-stack { display:flex; flex-direction:column; gap:16px; }
.body-stack p { font-size:16px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-hi);
  margin-top: 20px;
  transition: gap 0.2s;
}
.text-link:hover { gap: 12px; }

/* ── SERVICES GRID ────────────────────────────────────── */
.services-section { background: var(--bg-2); }
.services-head { margin-bottom: 52px; }
.services-head h2 { font-size:clamp(32px,4vw,54px); margin-top:8px; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--rule);
}
.svc-card {
  padding: 40px 36px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}
.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.svc-card:hover { background: var(--surface); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card:nth-child(3n) { border-right:none; }
.svc-card:nth-last-child(-n+3) { border-bottom:none; }

.svc-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--t3);
  margin-bottom: 28px;
}
.svc-icon { width:32px; height:32px; color:var(--blue-hi); margin-bottom:24px; }
.svc-icon svg { width:100%; height:100%; }
.svc-card h3 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.25;
}
.svc-card p { font-size:14px; line-height:1.7; flex:1; }
.svc-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t3);
  margin-top: 24px;
  transition: color 0.2s, gap 0.2s;
}
.svc-card:hover .svc-more { color:var(--blue-hi); gap:10px; }

@media(max-width:900px){ .svc-grid { grid-template-columns:repeat(2,1fr); }
  .svc-card:nth-child(3n) { border-right:1px solid var(--rule); }
  .svc-card:nth-child(2n) { border-right:none; }
  .svc-card:nth-last-child(-n+3) { border-bottom:1px solid var(--rule); }
  .svc-card:nth-last-child(-n+2) { border-bottom:none; }
}
@media(max-width:560px){
  .svc-grid { grid-template-columns:1fr; }
  .svc-card { border-right:none !important; }
  .svc-card:last-child { border-bottom:none; }
  .svc-card:nth-last-child(-n+2) { border-bottom:1px solid var(--rule); }
}

/* ── CTA BAND ─────────────────────────────────────────── */
.cta-band {
  background: var(--bg-3);
  border-top: 1px solid var(--rule);
  padding: 80px var(--pad);
}
.cta-band-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band-l p {
  font-size:11px; font-weight:600; letter-spacing:.16em;
  text-transform:uppercase; color:var(--blue-hi); margin-bottom:10px;
}
.cta-band-l h2 { font-size:clamp(26px,3.5vw,42px); }
.cta-band-r { display:flex; gap:12px; flex-wrap:wrap; }

@media(max-width:600px){
  .cta-band { padding:56px var(--pad); }
  .cta-band-inner { flex-direction:column; align-items:stretch; }
  .cta-band-r { flex-direction:column; }
  .cta-band-r .btn { width:100%; justify-content:center; }
}
