:root {
  --primary: #4b3f91;
  --secondary: #6f5bc7;
  --accent: #8f7df0;
  --dark: #101014;
  --muted: #5f5d70;
  --line: #e0dced;
  --soft: #f7f5ff;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(15, 38, 67, .12);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220,231,239,.8);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: 0; }
.brand-logo { width: 154px; height: auto; }
.brand-mark {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 8px;
  color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 14px 32px rgba(75,63,145,.24);
}
.brand small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 700; color: #253145; }
.nav-links a:hover { color: var(--secondary); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; border: 0; background: var(--soft); width: 42px; height: 42px; border-radius: var(--radius); position: relative; }
.menu-toggle::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 6px 0 var(--primary), 0 -6px 0 var(--primary);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 0 18px; border-radius: var(--radius);
  border: 1px solid transparent; font-weight: 800; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, #241b59, var(--primary), var(--secondary)); box-shadow: 0 14px 34px rgba(75,63,145,.28); }
.btn-outline { color: var(--primary); border-color: #bfd7e8; background: #fff; }
.btn-dark { color: #fff; background: var(--dark); }

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: 56px 0 32px;
  background:
    radial-gradient(circle at 88% 14%, rgba(143,125,240,.18), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f8f6ff 100%);
}
.hero-grid { display: grid; grid-template-columns: 1fr .92fr; gap: 48px; align-items: center; }
.eyebrow { color: #6f5bc7; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(30px, 4.4vw, 54px); font-family: Poppins, Inter, sans-serif; line-height: 1.1; margin: 0 0 8px; }
.hero .eyebrow, .page-hero .eyebrow, .card .eyebrow { font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-family: inherit; line-height: normal; margin: 0; color: #6f5bc7;}
h1, h2, h3 { font-family: Poppins, Inter, sans-serif; line-height: 1.08; letter-spacing: 0; margin: 0; }
h1 { font-size: clamp(42px, 6vw, 76px); max-width: 870px; }
h2 { font-size: clamp(30px, 4vw, 52px); }
h3 { font-size: 22px; }
.lead { font-size: clamp(17px, 2vw, 21px); color: #415065; max-width: 730px; margin: 22px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-card { position: relative; }
.hero-card img { border-radius: 8px; box-shadow: var(--shadow); }
.metric-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: 32px;
}
.metric {
  padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(16,45,72,.06);
}
.metric strong { display: block; color: var(--primary); font-size: 27px; font-family: Poppins, sans-serif; }
.metric span { color: var(--muted); font-size: 13px; font-weight: 700; }

section { padding: 92px 0; }
.section-head { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 34px; }
.section-head p { max-width: 560px; color: var(--muted); margin: 0; }
.band { background: var(--soft); }
.dark-band { background: #101928; color: #fff; }
.dark-band p, .dark-band .muted { color: #c8d3df; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 14px 38px rgba(16,45,72,.05);
}
.card:hover { transform: translateY(-3px); transition: transform .2s ease; }
.dark-band .card { background: #172235; border-color: rgba(255,255,255,.1); }
.icon {
  width: 44px; height: 44px; border-radius: 8px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  margin-bottom: 18px;
}
.muted { color: var(--muted); }
.pill-row { display: flex; flex-wrap: wrap;}
.pill {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 13px;
  border-radius: 999px; border: 1px solid var(--line); background: #fff; color: #314154; font-weight: 700; font-size: 14px;
}
.dark-band .pill { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: #fff; }
.process { counter-reset: step; display: grid; gap: 16px; }
.process-item { display: grid; grid-template-columns: 58px 1fr; gap: 18px; align-items: start; }
.process-item::before {
  counter-increment: step; content: counter(step);
  width: 46px; height: 46px; border-radius: 8px;
  display: grid; place-items: center;
  background: #e8f6ff; color: var(--primary); font-weight: 900;
}
.testimonial { font-size: 20px; color: #253145; }
.job-card { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.form {
  display: grid; gap: 14px;
}
.form input, .form textarea, .form select {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius);
  min-height: 48px; padding: 12px 14px; background: #fff; color: var(--dark);
}
.form textarea { min-height: 126px; resize: vertical; }
.cta {
  padding: 54px; border-radius: 8px;
  background: linear-gradient(135deg, #101014, #332272 48%, #6f5bc7);
  color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.cta p { color: #e8f6ff; margin: 12px 0 0; max-width: 760px; }
.page-hero { padding: 84px 0 54px; background: linear-gradient(180deg, #fff, #f8f6ff); }
.page-hero h1 { font-size: clamp(38px, 5vw, 64px); }
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 42px; align-items: center; }
.timeline { border-left: 3px solid #d9ecf7; padding-left: 24px; display: grid; gap: 22px; }
.timeline article { position: relative; }
.timeline article::before { content: ""; position: absolute; left: -33px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--accent); }
.footer { background: #08070d; color: #e7e2ff; padding: 58px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 32px; }
.footer h3 { color: #fff; font-size: 18px; margin-bottom: 14px; }
.footer a, .footer p { color: #c8d3df; }
.footer ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 10px; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; color: #9fb1c4; font-size: 14px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 940px) {
  .nav-links {
    position: absolute; inset: 76px 20px auto 20px; display: none; flex-direction: column;
    align-items: stretch; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-actions .btn-outline { display: none; }
  .hero { min-height: auto; }
  .hero-grid, .split, .cta { grid-template-columns: 1fr; }
  .metric-strip, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  section { padding: 68px 0; }
  .cta { padding: 34px; }
}

@media (max-width: 540px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav { min-height: 68px; }
  .brand small { display: none; }
  .brand-logo { width: 132px; }
  .hero-actions, .nav-actions { width: auto; }
  .btn { width: 100%; }
  .nav-actions .btn-primary { display: none; }
  .hero-card { margin-top: 10px; }
  .job-card { grid-template-columns: 1fr; }
  .page-hero { padding-top: 58px; }
}

/* ===== Shared nav active state ===== */
.nav-links a.active { color: var(--primary); position: relative; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; border-radius: 2px; background: var(--accent);
}
[id] { scroll-margin-top: 96px; }

/* ===== Leadership / founder ===== */
.leader { display: grid; grid-template-columns: .72fr 1.28fr; gap: 44px; align-items: center; }
.leader-photo {
  position: relative; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--soft);
  aspect-ratio: 4 / 5;
}
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-badge {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(16,16,20,.78); color: #fff; backdrop-filter: blur(6px);
  padding: 10px 14px; border-radius: 10px; font-size: 13px; font-weight: 700;
}
.leader h2 { margin-bottom: 6px; }
.leader .role { color: var(--secondary); font-weight: 800; margin: 0 0 18px; }
.cred-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cred { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px;
  border-radius: 999px; background: var(--soft); border: 1px solid var(--line);
  color: var(--primary); font-weight: 700; font-size: 14px; }

/* ===== Recognition / press ===== */
.press-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.press-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; box-shadow: 0 14px 38px rgba(16,45,72,.06);
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.press-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(16,45,72,.12); }
.press-img { aspect-ratio: 3 / 4; overflow: hidden; background: var(--soft); }
.press-img.wide { aspect-ratio: 16 / 9; }
.press-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.press-body { padding: 16px 18px 20px; }
.press-body .src { color: var(--secondary); font-weight: 900; font-size: 12px;
  text-transform: uppercase; letter-spacing: .06em; }
.press-body h3 { font-size: 16px; margin: 6px 0 0; line-height: 1.25; }

/* ===== Detailed service blocks ===== */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: start; padding: 40px 0; border-top: 1px solid var(--line); }
.service-detail:first-of-type { border-top: 0; }
.service-detail .tag { display: inline-flex; align-items: center; gap: 8px; color: var(--primary);
  background: var(--soft); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 12px; font-weight: 800; font-size: 13px; margin-bottom: 14px; }
.service-detail h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 12px; }
.service-detail p { color: var(--muted); margin: 0 0 14px; }
.check-list { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start;
  color: #2c3346; }
.check-list li::before {
  content: "✓"; display: grid; place-items: center; width: 24px; height: 24px;
  border-radius: 7px; background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-size: 13px; font-weight: 900;
}
.benefit-box { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.benefit-box h3 { font-size: 18px; margin-bottom: 14px; }

@media (max-width: 940px) {
  .leader, .service-detail { grid-template-columns: 1fr; gap: 26px; }
  .press-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .press-grid { grid-template-columns: 1fr; }
}
