/* ============================================================
   Profectify — group website
   ============================================================ */

:root {
  --ink: #0f172a;
  --ink-2: #1e293b;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #f1f5f9;

  /* Pillar accents */
  --edu: #2563eb;
  --edu-50: #eff6ff;
  --edu-100: #dbeafe;
  --kids: #f59e0b;
  --kids-50: #fffbeb;
  --kids-100: #fef3c7;
  --ai: #8b5cf6;
  --ai-50: #f5f3ff;
  --ai-100: #ede9fe;
  --saas: #10b981;
  --saas-50: #ecfdf5;
  --saas-100: #d1fae5;

  /* Default accent (overridden on themed sections) */
  --accent: var(--edu);
  --accent-50: var(--edu-50);
  --accent-100: var(--edu-100);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow: 0 10px 25px -10px rgba(15, 23, 42, 0.15), 0 4px 10px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 25px 50px -12px rgba(15, 23, 42, 0.18);

  --container: 1200px;
  --gap: clamp(16px, 2.5vw, 32px);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* ============================================================
   Layout helpers
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.section {
  padding: clamp(64px, 9vw, 128px) 0;
}
.section--tight { padding: clamp(48px, 7vw, 96px) 0; }
.section--muted { background: var(--surface-2); }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 999px;
  background: currentColor;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  max-width: 22ch;
  margin-bottom: 0.4em;
}
.section-lede {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--muted);
  max-width: 60ch;
  margin: 0;
}

/* ============================================================
   Pillar dots (signature motif)
   ============================================================ */
.dots {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.dots span {
  width: 10px; height: 10px;
  border-radius: 999px;
  display: block;
}
.dots span:nth-child(1) { background: var(--edu); }
.dots span:nth-child(2) { background: var(--kids); }
.dots span:nth-child(3) { background: var(--ai); }
.dots span:nth-child(4) { background: var(--saas); }
.dots--sm span { width: 7px; height: 7px; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
  color: var(--ink);
}
.brand__mark {
  position: relative;
  width: 22px; height: 22px;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
}
.brand__mark span {
  border-radius: 4px;
  display: block;
}
.brand__mark span:nth-child(1) { background: var(--edu); }
.brand__mark span:nth-child(2) { background: var(--kids); }
.brand__mark span:nth-child(3) { background: var(--ai); }
.brand__mark span:nth-child(4) { background: var(--saas); }

.nav__links {
  display: none;
  gap: 28px;
  align-items: center;
}
.nav__links a {
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.nav__cta { display: none; }
@media (min-width: 980px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
}

.company-menu {
  position: relative;
}
.company-menu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, var(--edu), var(--kids), var(--ai), var(--saas)) border-box;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.company-menu__trigger::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background:
    radial-gradient(circle at 4px 4px, var(--edu) 0 3px, transparent 3.5px),
    radial-gradient(circle at 12px 4px, var(--kids) 0 3px, transparent 3.5px),
    radial-gradient(circle at 4px 12px, var(--ai) 0 3px, transparent 3.5px),
    radial-gradient(circle at 12px 12px, var(--saas) 0 3px, transparent 3.5px);
}
.company-menu__trigger:hover,
.company-menu.is-open .company-menu__trigger {
  background:
    linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
    linear-gradient(135deg, var(--edu), var(--kids), var(--ai), var(--saas)) border-box;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.company-menu__chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}
.company-menu.is-open .company-menu__chevron {
  transform: rotate(180deg);
}
.company-menu__panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  width: min(760px, calc(100vw - 40px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  visibility: hidden;
}
.company-menu.is-open .company-menu__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}
.company-menu__intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 4px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.company-menu__intro span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.company-menu__intro strong {
  color: var(--ink);
  font-size: 16px;
  letter-spacing: -0.01em;
}
.company-menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.company-link {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--ink);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.company-link:hover {
  background: var(--accent-50);
  border-color: var(--accent-100);
  transform: translateY(-1px);
}
.company-link__mark {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
}
.company-link strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}
.company-link small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  margin-top: 2px;
}
.company-link--edu { --accent: var(--edu); --accent-50: var(--edu-50); --accent-100: var(--edu-100); }
.company-link--kids { --accent: var(--kids); --accent-50: var(--kids-50); --accent-100: var(--kids-100); }
.company-link--ai { --accent: var(--ai); --accent-50: var(--ai-50); --accent-100: var(--ai-100); }
.company-link--saas { --accent: var(--saas); --accent-50: var(--saas-50); --accent-100: var(--saas-100); }
.company-menu__all {
  display: inline-flex;
  margin: 14px 4px 2px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.nav__toggle {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.nav__toggle span {
  position: relative;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  display: block;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
@media (min-width: 980px) { .nav__toggle { display: none; } }

.nav__mobile {
  display: none;
  padding: 12px 0 20px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.nav.is-open .nav__mobile { display: block; }
.nav__mobile a {
  display: block;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.nav__mobile a:last-child { border-bottom: 0; }
.mobile-companies {
  border-bottom: 1px solid var(--line);
}
.mobile-companies summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  color: var(--ink-2);
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  list-style: none;
}
.mobile-companies summary::-webkit-details-marker { display: none; }
.mobile-companies summary::after {
  content: "+";
  color: var(--muted);
  font-weight: 600;
}
.mobile-companies[open] summary::after { content: "-"; }
.mobile-companies__list {
  display: grid;
  gap: 8px;
  padding: 0 0 14px;
}
.mobile-company {
  border: 1px solid var(--accent-100) !important;
  border-radius: var(--radius-sm);
  background: var(--accent-50);
  padding: 10px 12px !important;
}
.mobile-company span,
.mobile-company small {
  display: block;
}
.mobile-company span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}
.mobile-company small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.mobile-company--edu { --accent-50: var(--edu-50); --accent-100: var(--edu-100); }
.mobile-company--kids { --accent-50: var(--kids-50); --accent-100: var(--kids-100); }
.mobile-company--ai { --accent-50: var(--ai-50); --accent-100: var(--ai-100); }
.mobile-company--saas { --accent-50: var(--saas-50); --accent-100: var(--saas-100); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--ink);
  color: #fff;
}
.btn--primary:hover { background: var(--ink-2); box-shadow: var(--shadow); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--accent {
  background: var(--accent);
  color: #fff;
}
.btn--accent:hover { filter: brightness(1.05); box-shadow: var(--shadow); }

.btn--sm { padding: 10px 16px; font-size: 14px; }

.btn__arrow {
  width: 16px; height: 16px;
  transition: transform 0.2s ease;
}
.btn:hover .btn__arrow { transform: translateX(2px); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: clamp(64px, 9vw, 128px) 0 clamp(56px, 8vw, 104px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 85% 0%, var(--edu-50) 0%, transparent 60%);
}
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 28px;
}
.hero__title {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 20ch;
  margin: 0 0 24px;
  color: var(--ink);
}
.hero__title em {
  font-style: normal;
  color: var(--edu);
}
.hero__lede {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--muted);
  max-width: 58ch;
  margin: 0 0 36px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 28px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}
.stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
  margin: 0;
}
.stat__value {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0;
  color: var(--ink);
}
.stat__label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin: 0;
}

/* ============================================================
   Pillar cards (home)
   ============================================================ */
.pillars { }
.pillars__header {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.pillar-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--accent-50);
  border: 1px solid var(--accent-100);
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex; flex-direction: column;
  min-height: 220px;
}
.pillar-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pillar-card__top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.pillar-card__count {
  font-size: 13px; font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pillar-card__dot {
  width: 14px; height: 14px; border-radius: 999px;
  background: var(--accent);
}
.pillar-card__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}
.pillar-card__desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 auto;
}
.pillar-card__arrow {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.pillar-card--edu { --accent: var(--edu); --accent-50: var(--edu-50); --accent-100: var(--edu-100); }
.pillar-card--kids { --accent: var(--kids); --accent-50: var(--kids-50); --accent-100: var(--kids-100); }
.pillar-card--ai { --accent: var(--ai); --accent-50: var(--ai-50); --accent-100: var(--ai-100); }
.pillar-card--saas { --accent: var(--saas); --accent-50: var(--saas-50); --accent-100: var(--saas-100); }

/* ============================================================
   Brand cards (work page + featured)
   ============================================================ */
.brand-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}
.brand-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.brand-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
}
.brand-card__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
  gap: 12px;
}
.brand-card__wordmark {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-card__wordmark em {
  font-style: normal;
  color: var(--accent);
}
.brand-card__tag {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-50);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.brand-card__tagline {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.brand-card__desc {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 20px;
}
.brand-card__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.metric {
  display: inline-flex; align-items: center;
  padding: 6px 12px;
  background: var(--surface-3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.brand-card__foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.brand-card__domain {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.brand-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.brand-card__link:hover { text-decoration: underline; }
.brand-card--edu { --accent: var(--edu); --accent-50: var(--edu-50); --accent-100: var(--edu-100); }
.brand-card--kids { --accent: var(--kids); --accent-50: var(--kids-50); --accent-100: var(--kids-100); }
.brand-card--ai { --accent: var(--ai); --accent-50: var(--ai-50); --accent-100: var(--ai-100); }
.brand-card--saas { --accent: var(--saas); --accent-50: var(--saas-50); --accent-100: var(--saas-100); }

/* Featured variant — bigger, colored background */
.brand-card--featured {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  min-height: 280px;
}
.brand-card--featured::before { display: none; }
.brand-card--featured .brand-card__wordmark { color: #fff; }
.brand-card--featured .brand-card__wordmark em { color: rgba(255,255,255,0.85); }
.brand-card--featured .brand-card__tagline { color: #fff; }
.brand-card--featured .brand-card__desc { color: rgba(255, 255, 255, 0.88); }
.brand-card--featured .brand-card__tag {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.brand-card--featured .metric {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.brand-card--featured .brand-card__foot {
  border-top-color: rgba(255, 255, 255, 0.25);
}
.brand-card--featured .brand-card__domain { color: rgba(255,255,255,0.85); }
.brand-card--featured .brand-card__link { color: #fff; }

/* ============================================================
   Work page pillar sections
   ============================================================ */
.pillar-section { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.pillar-section:first-of-type { border-top: 0; }
.pillar-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(28px, 3.5vw, 48px);
}
.pillar-section__title {
  font-size: clamp(26px, 3.5vw, 36px);
  margin: 6px 0 0;
}
.pillar-section__count {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-50);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.pillar-section--edu { --accent: var(--edu); --accent-50: var(--edu-50); --accent-100: var(--edu-100); }
.pillar-section--kids { --accent: var(--kids); --accent-50: var(--kids-50); --accent-100: var(--kids-100); }
.pillar-section--ai { --accent: var(--ai); --accent-50: var(--ai-50); --accent-100: var(--ai-100); }
.pillar-section--saas { --accent: var(--saas); --accent-50: var(--saas-50); --accent-100: var(--saas-100); }

/* ============================================================
   Services strip
   ============================================================ */
.services {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.service:hover { border-color: var(--ink-2); transform: translateY(-2px); }
.service__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}
.service__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}
.service__desc {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

/* ============================================================
   Story band (home)
   ============================================================ */
.story {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 880px) {
  .story { grid-template-columns: 1fr 1fr; }
}
.story__text h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 0.4em;
}
.story__text p { color: var(--muted); font-size: 17px; }
.story__visual {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  background: var(--ink);
  overflow: hidden;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story__visual::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 20%, rgba(37, 99, 235, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(139, 92, 246, 0.25) 0%, transparent 60%);
}
.story__visual-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 320px;
}
.story__visual-grid span {
  aspect-ratio: 1;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.story__visual-grid span:nth-child(1) { background: var(--edu); border-color: transparent; }
.story__visual-grid span:nth-child(5) { background: var(--ai); border-color: transparent; }
.story__visual-grid span:nth-child(9) { background: var(--saas); border-color: transparent; }
.story__visual-grid span:nth-child(3) { background: var(--kids); border-color: transparent; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  align-items: center;
  overflow: hidden;
  position: relative;
}
@media (min-width: 820px) {
  .cta-band { grid-template-columns: 1.5fr 1fr; }
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(37, 99, 235, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.cta-band p { color: rgba(255, 255, 255, 0.75); margin: 0; }
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cta-band .btn--primary { background: #fff; color: var(--ink); }
.cta-band .btn--primary:hover { background: #f1f5f9; }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.cta-band .btn--ghost:hover { border-color: #fff; }

/* ============================================================
   About page bits
   ============================================================ */
.two-col {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1.2fr; }
}
.founder-card {
  padding: 32px;
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.founder-card__avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--edu) 0%, var(--ai) 100%);
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.founder-card__name { font-size: 22px; margin: 0 0 4px; }
.founder-card__role { font-size: 14px; color: var(--muted); font-weight: 500; margin-bottom: 16px; }
.founder-card__creds {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 16px;
}
.founder-card__creds span {
  padding: 4px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}

.track {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.track + .track { margin-top: 16px; }
.track__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  color: var(--accent);
}
.track--operate { --accent: var(--edu); }
.track--consult { --accent: var(--ai); }
.track--partner { --accent: var(--saas); }
.track__title { font-size: 22px; margin: 0 0 10px; }
.track__desc { color: var(--muted); margin: 0 0 14px; }
.track__list {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.track__list span {
  padding: 6px 12px;
  background: var(--surface-3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

.values {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value {
  padding: 24px;
  border-left: 3px solid var(--accent);
  background: var(--surface-2);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.value:nth-child(1) { --accent: var(--edu); }
.value:nth-child(2) { --accent: var(--kids); }
.value:nth-child(3) { --accent: var(--ai); }
.value:nth-child(4) { --accent: var(--saas); }
.value__title { font-size: 18px; margin: 0 0 8px; }
.value__desc { color: var(--muted); margin: 0; font-size: 15px; }

/* ============================================================
   Contact page
   ============================================================ */
.contact-grid {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1.2fr 1fr; }
}

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-2);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--edu);
  box-shadow: 0 0 0 3px var(--edu-100);
}
.field textarea { min-height: 140px; resize: vertical; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info-item {
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.info-item__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}
.info-item__value {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.info-item a:hover { color: var(--edu); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding: clamp(56px, 7vw, 96px) 0 40px;
  margin-top: clamp(48px, 7vw, 96px);
}
.footer__top {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media (min-width: 880px) {
  .footer__top { grid-template-columns: 1.5fr 2fr; }
}
.footer__brand { max-width: 36ch; }
.footer__brand .brand { color: #fff; margin-bottom: 16px; }
.footer__brand p { color: rgba(255, 255, 255, 0.6); font-size: 15px; }

.footer__cols {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 720px) { .footer__cols { grid-template-columns: repeat(4, 1fr); } }
.footer__col-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  font-weight: 600;
  color: #fff;
  display: inline-flex; align-items: center; gap: 8px;
}
.footer__col-title::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--accent, #fff);
}
.footer__col--edu { --accent: var(--edu); }
.footer__col--kids { --accent: var(--kids); }
.footer__col--ai { --accent: var(--ai); }
.footer__col--saas { --accent: var(--saas); }
.footer__col li { margin-bottom: 8px; }
.footer__col a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  transition: color 0.15s ease;
}
.footer__col a:hover { color: #fff; }

.footer__bottom {
  padding-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   Page hero (non-home)
   ============================================================ */
.page-hero {
  padding: clamp(64px, 8vw, 120px) 0 clamp(40px, 5vw, 64px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 90% 0%, var(--edu-50) 0%, transparent 65%);
}
.page-hero__title {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  max-width: 20ch;
  margin: 14px 0 20px;
  color: var(--ink);
}
.page-hero__lede {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--muted);
  max-width: 62ch;
  margin: 0;
}

/* ============================================================
   Services page — detailed service cards, credentials, sectors
   ============================================================ */
.svc-detail {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  grid-template-columns: 1fr;
  padding: clamp(40px, 5vw, 64px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.svc-detail + .svc-detail { margin-top: 24px; }
@media (min-width: 900px) {
  .svc-detail { grid-template-columns: 280px 1fr; align-items: start; }
}
.svc-detail::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
}
.svc-detail--hr { --accent: var(--edu); }
.svc-detail--biz { --accent: var(--ai); }
.svc-detail--cto { --accent: var(--saas); }

.svc-detail__aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.svc-detail__num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.svc-detail__label {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  line-height: 1.1;
}
.svc-detail__tagline {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.svc-detail__body h3 {
  font-size: 22px;
  margin: 0 0 12px;
}
.svc-detail__body p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 14px;
}
.svc-detail__list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
}
.svc-detail__list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: var(--ink-2);
}
.svc-detail__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.svc-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.svc-detail__meta span {
  padding: 6px 12px;
  background: var(--surface-3);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}

/* Credentials band */
.creds {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  padding: clamp(32px, 4vw, 48px);
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
}
@media (min-width: 820px) {
  .creds { grid-template-columns: 1fr 2fr; align-items: center; }
}
.creds h3 {
  font-size: clamp(22px, 3vw, 30px);
  margin: 0 0 10px;
  color: #fff;
}
.creds p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 15px;
}
.creds__list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 560px) { .creds__list { grid-template-columns: repeat(4, 1fr); } }
.cred {
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  text-align: center;
}
.cred__name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.cred__desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

/* Sectors */
.sectors {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .sectors { grid-template-columns: repeat(4, 1fr); } }
.sector {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}

/* Compact two-col on home for services teaser */
.home-services {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .home-services { grid-template-columns: repeat(3, 1fr); } }
.home-service {
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.home-service::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 3px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.home-service:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.home-service:hover::before { width: 100%; }
.home-service--hr { --accent: var(--edu); }
.home-service--biz { --accent: var(--ai); }
.home-service--cto { --accent: var(--saas); }
.home-service__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
}
.home-service__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.home-service__desc {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 20px;
  flex: 1;
}
.home-service__more {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Split hero — two-column with trust elements */
.split-hero {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 960px) {
  .split-hero { grid-template-columns: 1.25fr 1fr; }
}
.split-hero__side {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.split-hero__side-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 20px;
}
.split-hero__side-list {
  display: grid;
  gap: 12px;
}
.split-hero__side-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.split-hero__side-list .dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--accent);
  flex: none;
}
.split-hero__side-list li:nth-child(1) { --accent: var(--edu); }
.split-hero__side-list li:nth-child(2) { --accent: var(--kids); }
.split-hero__side-list li:nth-child(3) { --accent: var(--ai); }
.split-hero__side-list li:nth-child(4) { --accent: var(--saas); }

/* ============================================================
   404
   ============================================================ */
.notfound {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}
.notfound h1 { font-size: clamp(60px, 12vw, 140px); margin-bottom: 8px; letter-spacing: -0.04em; }
.notfound p { font-size: 18px; color: var(--muted); margin-bottom: 24px; }

/* ============================================================
   Utilities & motion
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

::selection { background: var(--edu); color: #fff; }

:focus-visible {
  outline: 2px solid var(--edu);
  outline-offset: 3px;
  border-radius: 4px;
}
