/* ==========================================================================
   Synaps — plain CSS (converted from the Tailwind/React build)
   Edit the colour variables in :root to re-theme the whole site.
   ========================================================================== */

:root {
  --radius: 0.75rem;
  --background: oklch(1 0 0);
  --foreground: oklch(0.244568 0.05003 260.594866);
  --card: oklch(1 0 0);
  --primary: oklch(0.561151 0.163687 253.153752);
  --primary-foreground: oklch(0.99 0.005 250);
  --muted: oklch(0.972 0.01 250);
  --muted-foreground: oklch(0.53 0.03 254);
  --accent: oklch(0.95 0.028 248);
  --accent-foreground: oklch(0.3 0.08 255);
  --destructive: oklch(0.577 0.245 27.325);
  --border: oklch(0.925 0.012 250);
  --ring: oklch(0.55 0.17 253);
  --navy: oklch(0.244568 0.05003 260.594866);
  --navy-foreground: oklch(0.97 0.008 250);
  --surface: oklch(0.982 0.012 245);
  --signal: oklch(0.738968 0.09912 220.41183);

  --gradient-signal: linear-gradient(
    135deg,
    color-mix(in oklab, var(--primary) 12%, white),
    white 55%,
    color-mix(in oklab, var(--signal) 12%, white)
  );
  --shadow-soft: 0 1px 2px oklch(0.24 0.045 258 / 0.04), 0 8px 24px oklch(0.24 0.045 258 / 0.05);
  --shadow-lift: 0 2px 4px oklch(0.24 0.045 258 / 0.05), 0 18px 40px oklch(0.4 0.1 255 / 0.12);
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: 0; margin: 0; font-weight: 600; text-wrap: balance; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; top: 0.75rem; left: 0.75rem; z-index: 100; padding: 0.5rem 1rem; border-radius: 0.375rem; background: var(--primary); color: var(--primary-foreground); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.icon { width: 1rem; height: 1rem; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 1.25rem; height: 1.25rem; }
.icon--sm { width: 0.875rem; height: 0.875rem; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; margin-inline: auto; max-width: 80rem; padding-inline: 1.25rem; }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.section { padding-block: 5rem; }
@media (min-width: 1024px) { .section { padding-block: 7.5rem; } }
.section--surface { background: var(--surface); }
.section--navy { background: var(--navy); color: var(--navy-foreground); position: relative; overflow: hidden; }
.section--bordered { border-block: 1px solid var(--border); background: var(--surface); padding-block: 4rem; }
.signal-gradient { background-image: var(--gradient-signal); }
.hero { padding-block: 4rem; }
@media (min-width: 1024px) { .hero { padding-block: 6rem; } }
.hero--tight { padding-block: 4rem; }
@media (min-width: 1024px) { .hero--tight { padding-block: 5rem; } }

.eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary); }
.signal-text { color: var(--signal); }
.text-primary { color: var(--primary); }
.muted { color: var(--muted-foreground); }

.grid { display: grid; gap: 1.5rem; }
.grid--center { align-items: center; }
.grid--2-hero { gap: 3rem; }
@media (min-width: 1024px) {
  .grid--2-hero { grid-template-columns: 1fr 1fr; }
  .grid--lg-2 { grid-template-columns: repeat(2, 1fr); }
  .grid--lg-3 { grid-template-columns: repeat(3, 1fr); }
  .grid--lg-4 { grid-template-columns: repeat(4, 1fr); }
  .grid--contact { grid-template-columns: 1fr 1.4fr; gap: 2.5rem; }
  .grid--guide { grid-template-columns: 1.4fr 1fr; gap: 3rem; }
  .grid--leadmagnets { grid-template-columns: 1.35fr 1fr; }
  .grid--service-detail { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
}
@media (min-width: 640px) { .grid--sm-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid--md-2 { grid-template-columns: repeat(2, 1fr); } .grid--md-3 { grid-template-columns: repeat(3, 1fr); } .grid--md-5 { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }
.mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; } .mt-10 { margin-top: 2.5rem; } .mt-14 { margin-top: 3.5rem; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out-soft), transform 0.7s var(--ease-out-soft); }
.js .reveal.reveal-in { opacity: 1; transform: none; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  border-bottom: 1px solid transparent; transition: all 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--border); background: color-mix(in oklab, var(--background) 85%, transparent); backdrop-filter: blur(12px); }
.site-header__bar { display: flex; height: 4rem; align-items: center; justify-content: space-between; gap: 0.75rem; }
@media (min-width: 1024px) { .site-header__bar { height: 4.5rem; } }
.logo img { height: 1.75rem; width: auto; }
@media (min-width: 640px) { .logo img { height: 2rem; } }
.nav-desktop { display: none; align-items: center; gap: 0.25rem; }
.nav-desktop a { position: relative; padding: 0.5rem; border-radius: 0.375rem; font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); transition: color 0.2s; }
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: var(--foreground); }
.nav-desktop a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 0.75rem; bottom: -2px; height: 1px; background: var(--primary); }
.header-cta { display: none; }
.menu-toggle { display: inline-flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border: 0; background: none; border-radius: 0.375rem; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-mobile { display: none; border-top: 1px solid var(--border); background: var(--background); }
.nav-mobile.open { display: block; }
.nav-mobile nav { display: flex; flex-direction: column; padding-block: 1rem; }
.nav-mobile nav > a:not(.btn) { padding-block: 0.875rem; border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent); font-weight: 500; color: var(--muted-foreground); }
.nav-mobile nav > a[aria-current="page"] { color: var(--foreground); }
.nav-mobile .btn { margin-top: 1.25rem; width: 100%; }
@media (min-width: 1024px) {
  .nav-desktop, .header-cta { display: flex; }
  .menu-toggle, .nav-mobile { display: none !important; }
}
main { padding-top: 4rem; }
@media (min-width: 1024px) { main { padding-top: 4.5rem; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 2.75rem; padding-inline: 1.5rem; border-radius: 9999px; border: 1px solid transparent;
  font-size: 0.875rem; font-weight: 500; transition: all 0.3s; cursor: pointer; white-space: nowrap;
}
.btn:disabled { opacity: 0.6; pointer-events: none; }
.btn--sm { height: 2.25rem; padding-inline: 1rem; }
.btn--lg { height: 3.25rem; padding-inline: 2rem; font-size: 1rem; }
.btn--primary { background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow-soft); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn--outline { border-color: var(--border); background: var(--background); color: var(--foreground); }
.btn--outline:hover { border-color: color-mix(in oklab, var(--primary) 50%, transparent); background: var(--accent); }
.btn--on-navy { border-color: color-mix(in oklab, var(--navy-foreground) 25%, transparent); background: transparent; color: var(--navy-foreground); }
.btn--on-navy:hover { background: color-mix(in oklab, var(--navy-foreground) 10%, transparent); }
.btn--navy { background: var(--navy); color: var(--navy-foreground); }
.btn .icon { transition: transform 0.3s; }
.btn:hover .icon { transform: translateX(4px); }
.btn--block { width: 100%; }
@media (min-width: 640px) { .btn--sm-auto { width: auto; } }

.btn-row { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .btn-row { flex-direction: row; } }
.btn-row--center { justify-content: center; }

/* ---------- Section header ---------- */
.section-header { max-width: 48rem; }
.section-header--center { margin-inline: auto; text-align: center; }
.section-header h2, .section-header h1 { margin-top: 1rem; font-size: 1.875rem; line-height: 1.1; font-weight: 600; }
@media (min-width: 640px) { .section-header h2, .section-header h1 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .section-header h2, .section-header h1 { font-size: 2.75rem; } }
.section-header p.lead { margin-top: 1.25rem; font-size: 1rem; line-height: 1.625; color: var(--muted-foreground); }
@media (min-width: 640px) { .section-header p.lead { font-size: 1.125rem; } }
.section-header--dark h2 { color: var(--navy-foreground); }
.section-header--dark p.lead { color: color-mix(in oklab, var(--navy-foreground) 70%, transparent); }
.section-header--dark .eyebrow { color: var(--signal); }

/* ---------- Typography blocks ---------- */
.h1 { margin-top: 1.25rem; font-size: 2.25rem; line-height: 1.05; font-weight: 600; }
@media (min-width: 640px) { .h1 { font-size: 3rem; } }
.h1--xl { }
@media (min-width: 1024px) { .h1--xl { font-size: 3.75rem; } }
.lead { margin-top: 1.5rem; max-width: 36rem; font-size: 1rem; line-height: 1.625; color: var(--muted-foreground); }
@media (min-width: 640px) { .lead { font-size: 1.125rem; } }
.lead--wide { max-width: 48rem; }
.block { display: block; }
.max-w-3xl { max-width: 48rem; }

/* ---------- Trust strip ---------- */
.trust-strip { border-block: 1px solid var(--border); padding-block: 2.5rem; }
.trust-strip p { text-align: center; font-size: 0.875rem; font-weight: 500; }
@media (min-width: 640px) { .trust-strip p { font-size: 1rem; } }
.pill-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.625rem 0.75rem; margin-top: 1.5rem; }
.pill { border: 1px solid var(--border); background: var(--surface); border-radius: 9999px; padding: 0.375rem 0.875rem; font-size: 0.75rem; font-weight: 500; color: var(--muted-foreground); }
.pill--bg { background: var(--background); }

/* ---------- Cards ---------- */
.card { border: 1px solid var(--border); background: var(--card); border-radius: 1rem; }
.card--pad { padding: 1.75rem; }
.card--primary { border-color: color-mix(in oklab, var(--primary) 25%, transparent); box-shadow: var(--shadow-soft); }
.card--surface { background: var(--surface); }
.icon-badge { display: inline-flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border-radius: 0.75rem; background: var(--accent); color: var(--primary); transition: all 0.3s; }
.icon-badge--round { border-radius: 9999px; width: 2.5rem; height: 2.5rem; }
.icon-badge--solid { background: var(--primary); color: var(--primary-foreground); }
.icon-badge .icon { width: 1.25rem; height: 1.25rem; }
.icon-badge--round .icon { width: 1rem; height: 1rem; }

.service-card { display: flex; flex-direction: column; height: 100%; padding: 1.5rem; border: 1px solid var(--border); background: var(--card); border-radius: 1rem; transition: all 0.3s; }
@media (min-width: 1024px) { .service-card { padding: 1.75rem; } }
.service-card:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--primary) 40%, transparent); box-shadow: var(--shadow-lift); }
.service-card:hover .icon-badge { background: var(--primary); color: var(--primary-foreground); }
.service-card__top { display: flex; align-items: flex-start; justify-content: space-between; }
.service-card__num { font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; color: var(--muted-foreground); }
.service-card h3 { margin-top: 1.5rem; font-size: 1.125rem; }
.service-card p { margin-top: 0.625rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
.service-card__foot { display: flex; align-items: center; gap: 0.5rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.75rem; color: var(--muted-foreground); }
.service-card__body { flex: 1; }
.service-card__foot .dot { width: 0.375rem; height: 0.375rem; border-radius: 9999px; background: var(--signal); }
.service-card__foot .icon { margin-left: auto; color: var(--primary); opacity: 0; transition: opacity 0.3s; }
.service-card:hover .service-card__foot .icon { opacity: 1; }
.service-card__foot-inner { display: inline-flex; align-items: center; gap: 0.375rem; }
.service-grid { display: grid; gap: 1.25rem; margin-top: 3.5rem; }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }

/* Problem section */
.problem-head { display: flex; align-items: center; gap: 0.5rem; }
.problem-head h3 { font-size: 1rem; }
.problem-icon { display: inline-flex; width: 1.75rem; height: 1.75rem; align-items: center; justify-content: center; border-radius: 9999px; background: var(--muted); color: var(--muted-foreground); }
.problem-icon--good { background: var(--accent); color: var(--primary); }
.problem-icon .icon { width: 0.875rem; height: 0.875rem; }
.dashed-list { margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.dashed-list li { display: flex; align-items: center; justify-content: space-between; border: 1px dashed var(--border); border-radius: 0.75rem; padding: 0.75rem 1rem; font-size: 0.875rem; }
.dashed-list li span:first-child { font-weight: 500; }
.small-note { margin-top: 1.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 0.5rem; margin-top: 1.25rem; }
.chain li { display: flex; align-items: center; gap: 0.5rem; }
.chain .tag { background: var(--accent); color: var(--accent-foreground); border-radius: 9999px; padding: 0.375rem 0.75rem; font-size: 0.75rem; font-weight: 600; }
.chain .icon { color: color-mix(in oklab, var(--primary) 60%, transparent); width: 0.875rem; height: 0.875rem; }
.callout { margin-top: 2rem; background: var(--surface); border-radius: 0.75rem; padding: 1rem 1.25rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }

/* AI section */
.ai-grid { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 768px) { .ai-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ai-grid { grid-template-columns: repeat(3, 1fr); } }
.ai-grid img { aspect-ratio: 4 / 3; width: 100%; border-radius: 1rem; object-fit: cover; }
.ai-grid .num { margin-top: 1.25rem; font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; color: var(--signal); }
.ai-grid h3 { margin-top: 0.5rem; font-size: 1.25rem; color: var(--navy-foreground); }
.ai-grid p.t { margin-top: 0.5rem; font-size: 0.875rem; color: color-mix(in oklab, var(--navy-foreground) 75%, transparent); }

/* Process timeline */
.timeline { position: relative; margin-top: 3.5rem; display: grid; gap: 2rem; }
@media (min-width: 768px) { .timeline { grid-template-columns: repeat(5, 1fr); gap: 1rem; } .timeline::before { content: ""; position: absolute; top: 1.25rem; left: 1.25rem; height: 1px; width: 100%; background: var(--border); } }
.timeline li { position: relative; }
.timeline .step-num { position: relative; z-index: 1; display: inline-flex; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border-radius: 9999px; border: 1px solid color-mix(in oklab, var(--primary) 30%, transparent); background: var(--background); font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; color: var(--primary); }
.timeline h3 { margin-top: 1rem; font-size: 1rem; }
.timeline p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
@media (min-width: 768px) { .timeline p { padding-right: 1rem; } }

/* Case study card */
.work-grid { display: grid; gap: 1.5rem; margin-top: 3.5rem; }
@media (min-width: 1024px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
.work-grid > .reveal { height: 100%; }
.case { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--border); background: var(--card); border-radius: 1rem; transition: all 0.3s; }
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.case__img { position: relative; height: 11rem; overflow: hidden; border-bottom: 1px solid var(--border); }
.case__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s; }
.case:hover .case__img img { transform: scale(1.03); }
.case__tag { position: absolute; top: 1rem; left: 1rem; border: 1px solid var(--border); background: var(--background); border-radius: 9999px; padding: 0.25rem 0.75rem; font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-foreground); }
.case__body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
@media (min-width: 1024px) { .case__body { padding: 1.75rem; } }
.case__body h3 { margin-top: 0.75rem; font-size: 1.125rem; }
.case__desc { margin-top: 1rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
.case dl { margin-top: 1.25rem; display: grid; gap: 0.75rem; font-size: 0.875rem; }
.case dt { font-weight: 500; }
.case dd { margin-top: 0.25rem; color: var(--muted-foreground); }
.chips { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 1.25rem; }
.chips li { background: var(--accent); color: var(--accent-foreground); border-radius: 9999px; padding: 0.25rem 0.625rem; font-size: 11px; font-weight: 500; }
.case__foot { margin-top: auto; padding-top: 1.5rem; }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; border-top: 1px solid var(--border); padding-top: 1.25rem; }
.results .v { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.results .l { margin-top: 0.25rem; font-size: 11px; line-height: 1.2; color: var(--muted-foreground); }
.case__links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; }
.text-link { display: inline-flex; align-items: center; gap: 0.375rem; margin-top: 1.5rem; font-size: 0.875rem; font-weight: 500; color: var(--primary); }
.text-link--plain { margin-top: 0; font-weight: 600; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Lead magnets */
.magnet { position: relative; overflow: hidden; border-radius: 1.5rem; padding: 2rem; }
@media (min-width: 640px) { .magnet { padding: 2.5rem; } }
.magnet--navy { background: var(--navy); }
.magnet--navy .icon-badge { background: color-mix(in oklab, var(--signal) 15%, transparent); color: var(--signal); border-radius: 9999px; }
.magnet--navy .kicker { margin-top: 1.5rem; font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--signal); }
.magnet--navy h2 { margin-top: 0.75rem; font-size: 1.875rem; line-height: 1.2; color: var(--navy-foreground); }
@media (min-width: 640px) { .magnet--navy h2 { font-size: 2.25rem; } }
.magnet--navy p.t { margin-top: 1rem; max-width: 32rem; font-size: 0.875rem; line-height: 1.625; color: color-mix(in oklab, var(--navy-foreground) 70%, transparent); }
@media (min-width: 640px) { .magnet--navy p.t { font-size: 1rem; } }
.magnet--navy .btn { margin-top: 2rem; }
.magnet--light { display: flex; flex-direction: column; border: 1px solid var(--border); background: var(--surface); }
.magnet--light .icon-badge { border-radius: 9999px; }
.magnet--light .eyebrow { margin-top: 1.5rem; }
.magnet--light h3 { margin-top: 0.75rem; font-size: 1.5rem; }
.magnet--light p.t { margin-top: 1rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
.magnet--light .text-link { margin-top: auto; padding-top: 2rem; font-weight: 600; }

/* CTA section */
.cta-bg { position: absolute; inset: 0; opacity: 0.4; pointer-events: none; }
.cta-bg svg { width: 100%; height: 100%; }
.cta-inner { position: relative; max-width: 42rem; margin-inline: auto; text-align: center; }
.cta-inner h2 { font-size: 1.875rem; line-height: 1.1; color: var(--navy-foreground); }
@media (min-width: 640px) { .cta-inner h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .cta-inner h2 { font-size: 3rem; } }
.cta-inner p { max-width: 36rem; margin: 1.5rem auto 0; font-size: 1rem; line-height: 1.625; color: color-mix(in oklab, var(--navy-foreground) 70%, transparent); }
@media (min-width: 640px) { .cta-inner p { font-size: 1.125rem; } }
.cta-inner .btn-row { margin-top: 2.25rem; justify-content: center; }

/* ---------- Network diagram ---------- */
.network { position: relative; display: flex; width: 100%; justify-content: center; }
.network svg { height: auto; width: 112%; max-width: none; overflow: visible; }
.network .edge { stroke: url(#net-line); stroke-width: 1; stroke-opacity: 0.65; stroke-linecap: round; transition: all 0.3s var(--ease-out-soft); }
.network .pulse { fill: var(--primary); opacity: 0.9; transition: opacity 0.3s; }
.network .node rect { fill: var(--background); stroke: var(--border); transition: all 0.3s var(--ease-out-soft); }
.network .node .nd { fill: var(--signal); }
.network .node text { fill: var(--muted-foreground); font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; }
.network .center-label { fill: var(--foreground); font-size: 15px; font-weight: 700; letter-spacing: 0.08em; }
.network.has-hover .edge { stroke-opacity: 0.18; }
.network.has-hover .pulse { opacity: 0.15; }
.network.has-hover .node { opacity: 0.5; }
.network.has-hover .edge.on { stroke-opacity: 0.65; stroke-width: 2; }
.network.has-hover .pulse.on { opacity: 0.9; }
.network.has-hover .node.on { opacity: 1; }
.network.has-hover .node.on rect { stroke: var(--primary); stroke-width: 1.5; }
.network.has-hover .node.on .nd { fill: var(--primary); }

/* ---------- About ---------- */
.story { position: relative; max-width: 72rem; margin-inline: auto; padding-inline: 1.5rem; }
.story__line { display: none; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; transform: translateX(-50%); background: linear-gradient(to bottom, transparent, color-mix(in oklab, var(--primary) 30%, transparent), transparent); }
@media (min-width: 768px) { .story__line { display: block; } }
.story-row { position: relative; display: grid; align-items: center; gap: 3rem; margin-bottom: 6rem; }
@media (min-width: 768px) { .story-row { grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 8rem; } .story-row--last { margin-bottom: 10rem; } .story-row--flip .story-text { order: 2; padding-left: 3rem; } .story-row--flip .story-img { order: 1; } .story-row:not(.story-row--flip) .story-text { padding-right: 3rem; } }
.badge-label { display: inline-block; margin-bottom: 1.5rem; border-radius: 0.25rem; background: color-mix(in oklab, var(--primary) 10%, transparent); padding: 0.25rem 0.75rem; font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); }
.badge-label--signal { background: color-mix(in oklab, var(--signal) 10%, transparent); }
.story-text h2 { font-size: 1.875rem; line-height: 1.2; font-weight: 700; }
@media (min-width: 640px) { .story-text h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .story-text h2 { font-size: 3rem; } }
.story-text p { margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.625; color: color-mix(in oklab, var(--foreground) 80%, transparent); }
/* Mission and vision illustrations: same-shaped frame, drawing fitted inside */
.story-img {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 1.5rem;
  background: color-mix(in oklab, var(--signal) 8%, transparent);
}
.story-row--flip .story-img {
  background: color-mix(in oklab, var(--primary) 8%, transparent);
}
.story-img img {
  position: absolute;
  inset: 1.5rem;
  width: calc(100% - 3rem);
  height: calc(100% - 3rem);
  object-fit: contain;
}
.story-img img { position: relative; aspect-ratio: 8 / 5; width: 100%; border-radius: 1rem; object-fit: cover; box-shadow: var(--shadow-lift); }
.values-title { position: relative; margin-bottom: 4rem; padding-block: 1rem; background: var(--background); text-align: center; }
.values-title h2 { font-size: 1.875rem; font-weight: 700; }
.values-title .bar { margin: 1rem auto 0; height: 0.25rem; width: 4rem; background: var(--primary); }
.values { position: relative; display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .values { gap: 3rem; } .values::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; transform: translateX(-50%); background: color-mix(in oklab, var(--primary) 20%, transparent); } }
.value { position: relative; display: grid; }
@media (min-width: 768px) { .value { grid-template-columns: 1fr 1fr; } .value .vt { padding-right: 4rem; text-align: right; } .value:nth-child(even) .vt { grid-column-start: 2; padding-right: 0; padding-left: 4rem; text-align: left; } }
.value .dot { display: none; position: absolute; top: 0.5rem; left: 50%; width: 0.75rem; height: 0.75rem; transform: translateX(-50%); border-radius: 9999px; box-shadow: 0 0 0 4px var(--background); }
@media (min-width: 768px) { .value .dot { display: block; } }
.value:nth-child(3n+1) .dot { background: var(--primary); }
.value:nth-child(3n+2) .dot { background: var(--signal); }
.value:nth-child(3n) .dot { background: var(--foreground); }
.value h3 { margin-bottom: 0.5rem; font-size: 1.25rem; font-weight: 700; }
.value p { font-size: 1rem; line-height: 1.625; color: color-mix(in oklab, var(--foreground) 70%, transparent); }
.cta-band { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 2rem; }
@media (min-width: 640px) { .cta-band { flex-direction: row; align-items: center; } }
.cta-band h2 { margin-top: 0.75rem; font-size: 1.5rem; }
@media (min-width: 640px) { .cta-band h2 { font-size: 1.875rem; } }
.cta-band--sm { gap: 1.5rem; }
.cta-band--sm h2 { margin-top: 0; }

/* ---------- Team ---------- */
.team-grid { display: grid; gap: 4rem; }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; } }
@media (min-width: 1024px) { .team-grid { gap: 5rem; } }
.portrait { position: relative; margin-inline: auto; width: 16rem; height: 16rem; overflow: hidden; border-radius: 9999px; border: 8px solid var(--background); background: var(--surface); box-shadow: 0 0 0 1px color-mix(in oklab, var(--primary) 20%, transparent), var(--shadow-lift); display: flex; align-items: center; justify-content: center; }
@media (min-width: 1024px) { .portrait { width: 20rem; height: 20rem; } }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait .initials { font-family: var(--font-display); font-size: 3.5rem; font-weight: 600; color: var(--primary); }
.founder-mbuso { object-position: 56% 35%; }
.founder-sinesipho { object-position: 50% 28%; }
.founder-head { margin-top: 2rem; text-align: center; }
.founder-head h2 { margin-top: 0.75rem; font-size: 1.875rem; }
.founder-head .role { margin-top: 0.5rem; font-weight: 500; color: var(--primary); }
.founder-body { margin-top: 2rem; border-top: 1px solid var(--border); padding-top: 1.75rem; }
.founder-body .exp { font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; }
.founder-body .desc { margin-top: 0.75rem; font-size: 1rem; line-height: 1.625; color: var(--muted-foreground); }
.founder-body h3 { margin-top: 1.75rem; font-size: 0.875rem; }
.skills { margin-top: 1rem; display: grid; gap: 0.75rem 1.25rem; }
@media (min-width: 640px) { .skills { grid-template-columns: repeat(2, 1fr); } }
.skills li, .bullets li { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.875rem; color: var(--muted-foreground); }
.skills li::before, .bullets li::before { content: ""; flex-shrink: 0; margin-top: 0.4rem; width: 0.375rem; height: 0.375rem; border-radius: 9999px; background: var(--primary); }
.bullets { display: grid; gap: 0.75rem; margin-top: 1.25rem; }
.bullets li { gap: 0.75rem; }
.bullets li::before { margin-top: 0.5rem; }
.bullets--roomy { gap: 1rem; }

/* ---------- Service detail ---------- */
.back-link { font-size: 0.875rem; font-weight: 500; color: var(--primary); }
.service-hero-icon { margin-top: 1.5rem; display: flex; align-items: center; gap: 0.75rem; }
.service-detail h2 { font-size: 1.25rem; }
.deliverables { margin-top: 1.25rem; display: grid; gap: 0.75rem; }
.deliverables li { border: 1px solid var(--border); background: var(--card); border-radius: 0.75rem; padding: 0.75rem 1rem; font-size: 0.875rem; }
.service-detail h3 { margin-top: 2rem; font-size: 0.875rem; }
.connect-list { margin-top: 1rem; display: grid; gap: 0.5rem; }
.connect-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.connect-list li strong { font-weight: 500; color: var(--foreground); }
.connect-list .icon { color: var(--primary); width: 0.875rem; height: 0.875rem; }
.others-title { font-size: 1.5rem; }
.others { margin-top: 2rem; display: grid; gap: 1rem; }
@media (min-width: 768px) { .others { grid-template-columns: repeat(3, 1fr); } }
.other-card { display: block; border: 1px solid var(--border); background: var(--card); border-radius: 1rem; padding: 1.5rem; transition: all 0.3s; }
.other-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.other-card .n { font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; color: var(--muted-foreground); }
.other-card h3 { margin-top: 0.75rem; font-size: 1rem; }
.other-card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* ---------- Contact / book ---------- */
.contact-list { margin-top: 1.5rem; display: grid; gap: 1.25rem; }
.contact-list li { display: flex; gap: 1rem; }
.contact-list .icon-badge { width: 2.5rem; height: 2.5rem; flex-shrink: 0; }
.contact-list .icon-badge .icon { width: 1rem; height: 1rem; }
.contact-list .lbl { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted-foreground); }
.contact-list .val { margin-top: 0.25rem; font-size: 0.875rem; font-weight: 500; }
.contact-list .note { font-size: 0.75rem; color: var(--muted-foreground); }
.info-box { margin-top: 2.5rem; border: 1px solid var(--border); background: var(--surface); border-radius: 1rem; padding: 1.5rem; }
.info-box h3 { font-size: 0.875rem; }
.info-box p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
.info-box a { font-weight: 500; color: var(--primary); }
.info-box a:hover { text-decoration: underline; text-underline-offset: 4px; }
.h2-sm { font-size: 1.25rem; }
.follow { margin-top: 2rem; }
.follow h3 { font-size: 0.875rem; }
.follow p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.socials { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.follow .socials { margin-top: 1rem; }
.socials a { display: inline-flex; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border-radius: 9999px; border: 1px solid var(--border); background: var(--background); color: var(--muted-foreground); transition: all 0.2s; }
.socials a:hover { border-color: var(--primary); color: var(--primary); }
.socials .icon, .socials svg { width: 1rem; height: 1rem; }
.calendly { overflow: hidden; border: 1px solid var(--border); background: var(--card); border-radius: 1rem; box-shadow: var(--shadow-soft); }
.calendly__inner { min-width: 320px; height: 700px; }
.calendly__fallback { padding: 2rem; font-size: 0.875rem; color: var(--muted-foreground); }
.calendly__fallback a { color: var(--primary); font-weight: 500; }

/* Forms */
.form-card { border: 1px solid var(--border); background: var(--card); border-radius: 1rem; padding: 1.5rem; box-shadow: var(--shadow-soft); }
@media (min-width: 640px) { .form-card { padding: 2rem; } }
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: repeat(2, 1fr); } .span-2 { grid-column: span 2; } }
.form-card label.lbl, .field > label { font-size: 0.875rem; font-weight: 500; }
.req { color: var(--primary); }
.opt { color: var(--muted-foreground); font-weight: 400; }
.input { margin-top: 0.5rem; width: 100%; border: 1px solid var(--border); background: var(--background); border-radius: 0.75rem; padding: 0.625rem 1rem; font-size: 0.875rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.input::placeholder { color: var(--muted-foreground); }
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 2px color-mix(in oklab, var(--ring) 30%, transparent); }
.input.invalid { border-color: var(--destructive); }
textarea.input { resize: vertical; }
.error { margin-top: 0.375rem; font-size: 0.75rem; color: var(--destructive); }
.error:empty { display: none; }
.check-row { display: flex; align-items: flex-start; gap: 0.75rem; margin-top: 1.25rem; }
.check-row input { margin-top: 0.125rem; width: 1rem; height: 1rem; accent-color: var(--primary); }
.check-row label { font-size: 0.75rem; line-height: 1.625; color: var(--muted-foreground); }
.check-row a { color: var(--primary); }
.btn-submit { margin-top: 1.75rem; display: inline-flex; width: 100%; align-items: center; justify-content: center; gap: 0.5rem; border: 0; border-radius: 0.75rem; background: var(--primary); color: var(--primary-foreground); padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 600; transition: background 0.2s; }
@media (min-width: 640px) { .btn-submit { width: auto; } }
.btn-submit:hover { background: color-mix(in oklab, var(--primary) 90%, black); }
.btn-submit:disabled { opacity: 0.6; }
.success-card { border: 1px solid color-mix(in oklab, var(--primary) 25%, transparent); background: var(--card); border-radius: 1rem; padding: 2rem; box-shadow: var(--shadow-soft); }
.success-card h3 { font-size: 1.25rem; }
.success-card p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
.link-btn { margin-top: 1.5rem; border: 0; background: none; padding: 0; font-size: 0.875rem; font-weight: 500; color: var(--primary); }
.link-btn:hover { text-decoration: underline; text-underline-offset: 4px; }
[hidden] { display: none !important; }

/* Guide */
.contents-list { margin-top: 2rem; display: grid; gap: 1.75rem; }
.contents-list li { display: flex; gap: 1.25rem; }
.contents-list .n { font-size: 0.875rem; font-weight: 600; color: var(--primary); font-variant-numeric: tabular-nums; }
.contents-list h3 { font-size: 1rem; }
.contents-list p { margin-top: 0.375rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
.sticky-col { }
@media (min-width: 1024px) { .sticky-col { position: sticky; top: 6rem; } }
.btn-solid-rect { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 2rem; border-radius: 0.75rem; background: var(--primary); color: var(--primary-foreground); padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 600; }
.btn-solid-rect:hover { background: color-mix(in oklab, var(--primary) 90%, black); }
.btn-solid-rect--inline { margin-top: 1.5rem; }
.guide-gap { margin-top: 2rem; }

/* Blog topics */
.topic h2 { margin-top: 1.25rem; font-size: 1.125rem; }
.topic p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }

/* ---------- Growth score ---------- */
.score { min-height: 80vh; }
.score-wrap { max-width: 42rem; margin-inline: auto; }
.score-wrap--wide { max-width: 48rem; }
.score-intro { text-align: center; }
.score-intro .pill-list { margin-top: 2rem; }
.score-intro .btn-row { margin-top: 2.25rem; }
.score-intro .lead { margin-inline: auto; }
.quiz-meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; font-weight: 500; color: var(--muted-foreground); }
.quiz-meta .cat { color: var(--primary); }
.progress { margin-top: 0.75rem; height: 0.375rem; width: 100%; overflow: hidden; border-radius: 9999px; background: var(--muted); }
.progress > div { height: 100%; background: var(--primary); transition: width 0.3s; }
.quiz-q { margin-top: 2rem; font-size: 1.5rem; }
@media (min-width: 640px) { .quiz-q { font-size: 1.875rem; } }
.options { margin-top: 2rem; display: grid; gap: 0.75rem; }
.option { width: 100%; border: 1px solid var(--border); background: var(--card); border-radius: 0.75rem; padding: 1rem 1.25rem; text-align: left; font-size: 0.875rem; font-weight: 500; transition: all 0.2s; }
.option:hover { border-color: var(--primary); box-shadow: var(--shadow-soft); }
.option.selected { border-color: var(--primary); background: var(--accent); }
.back-btn { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem; border: 0; background: none; padding: 0; font-size: 0.875rem; color: var(--muted-foreground); }
.back-btn:hover { color: var(--foreground); }
.score-details h2 { margin-top: 1rem; font-size: 1.875rem; }
.score-details > p { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }
.score-details .form-card { margin-top: 2rem; padding: 1.75rem; }
.score-details label.fl { font-size: 0.875rem; font-weight: 500; }
.consent-inline { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }
.consent-inline input { margin-top: 0.25rem; width: 1rem; height: 1rem; accent-color: var(--primary); }
.consent-inline a { color: var(--primary); }
.result-card { border: 1px solid color-mix(in oklab, var(--primary) 25%, transparent); background: var(--card); border-radius: 1rem; padding: 2rem; box-shadow: var(--shadow-soft); }
@media (min-width: 640px) { .result-card { padding: 2.5rem; } }
.result-card h1 { margin-top: 1rem; font-size: 1.5rem; }
@media (min-width: 640px) { .result-card h1 { font-size: 1.875rem; } }
.score-line { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.75rem; }
.score-num { font-family: var(--font-display); font-size: 4.5rem; font-weight: 700; line-height: 1; color: var(--primary); font-variant-numeric: tabular-nums; }
.score-max { padding-bottom: 0.75rem; font-size: 1.25rem; color: var(--muted-foreground); }
.score-level { margin: 0 0 0.75rem auto; border-radius: 9999px; background: var(--accent); color: var(--accent-foreground); padding: 0.375rem 0.875rem; font-size: 0.75rem; font-weight: 600; }
.score-summary { margin-top: 1rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
.breakdown { margin-top: 2rem; display: grid; gap: 1rem; }
.breakdown .row { display: flex; justify-content: space-between; font-size: 0.875rem; font-weight: 500; }
.breakdown .bar { margin-top: 0.5rem; height: 0.5rem; overflow: hidden; border-radius: 9999px; background: var(--muted); }
.breakdown .bar > div { height: 100%; border-radius: 9999px; background: var(--primary); }
.obs-card { margin-top: 2rem; border: 1px solid var(--border); background: var(--card); border-radius: 1rem; padding: 2rem; }
.obs-card h2 { font-size: 1.25rem; }
.obs-list { margin-top: 1.5rem; display: grid; gap: 1.25rem; }
.obs-list li { display: flex; gap: 1rem; }
.obs-list .n { font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; color: var(--primary); }
.obs-list .c { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--primary); }
.obs-list .tx { margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
.obs-card .fine { margin-top: 1.5rem; font-size: 0.75rem; color: var(--muted-foreground); }
.next-grid { margin-top: 2rem; display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .next-grid { grid-template-columns: repeat(2, 1fr); } }
.next-navy { border-radius: 1rem; background: var(--navy); padding: 1.75rem; }
.next-navy h3 { font-size: 1.125rem; color: var(--navy-foreground); }
.next-navy p { margin-top: 0.5rem; font-size: 0.875rem; color: color-mix(in oklab, var(--navy-foreground) 70%, transparent); }
.next-navy .btn { margin-top: 1.5rem; }
.next-light { border: 1px solid var(--border); background: var(--surface); border-radius: 1rem; padding: 1.75rem; }
.next-light h3 { font-size: 1.125rem; }
.next-light p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.next-light .text-link { margin-top: 1.5rem; font-weight: 600; }

/* ---------- Legal ---------- */
.legal { max-width: 42rem; margin-inline: auto; display: grid; gap: 2.5rem; }
.legal h2 { font-size: 1.25rem; }
.legal .body { margin-top: 1rem; display: grid; gap: 1rem; }
.legal p { font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
.legal-meta { margin-top: 1.25rem; font-size: 0.875rem; font-weight: 500; }
.legal-meta + p { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* ---------- 404 ---------- */
.notfound { display: flex; min-height: 70vh; align-items: center; justify-content: center; padding: 6rem 1rem; text-align: center; }
.notfound > div { max-width: 32rem; }
.notfound svg { margin-inline: auto; height: 5rem; width: 14rem; }
.notfound h1 { margin-top: 2rem; font-size: 1.875rem; }
@media (min-width: 640px) { .notfound h1 { font-size: 2.25rem; } }
.notfound p { margin-top: 1rem; color: var(--muted-foreground); }
.notfound .btn { margin-top: 2rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-grid { display: grid; gap: 3rem; padding-block: 4rem; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(12, 1fr); padding-block: 5rem; } .footer-brand { grid-column: span 4; } .footer-nav { grid-column: span 2; } .footer-services { grid-column: span 3; } .footer-cta { grid-column: span 3; } }
.footer-brand img { height: 2.5rem; width: auto; }
.footer-brand p { margin-top: 1rem; max-width: 20rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
.footer-brand .socials { margin-top: 1.5rem; }
.footer-brand .mail { display: inline-block; margin-top: 1.25rem; font-size: 0.875rem; color: var(--muted-foreground); }
.footer-brand .mail:hover, .footer-links a:hover { color: var(--foreground); }
.site-footer h2 { font-size: 0.875rem; font-weight: 600; }
.footer-links { margin-top: 1rem; display: grid; gap: 0.625rem; }
.footer-links a { font-size: 0.875rem; color: var(--muted-foreground); transition: color 0.2s; }
.footer-cta p { margin-top: 1rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
.footer-cta .btn { margin-top: 1.25rem; }
.footer-bottom { display: flex; flex-direction: column; gap: 1rem; border-top: 1px solid var(--border); margin-top: 0; padding-block: 1.5rem; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bottom p, .footer-bottom a { font-size: 0.75rem; color: var(--muted-foreground); }
.footer-bottom a:hover { color: var(--foreground); }
.footer-bottom .legal-links { display: flex; gap: 1.5rem; }

/* ---------- Toast ---------- */
.toast-stack { position: fixed; right: 1rem; bottom: 1rem; z-index: 200; display: grid; gap: 0.5rem; }
.toast { max-width: 22rem; border: 1px solid var(--border); background: var(--background); border-radius: 0.75rem; padding: 0.875rem 1rem; font-size: 0.875rem; box-shadow: var(--shadow-lift); animation: toast-in 0.3s var(--ease-out-soft); }
.toast--error { border-color: var(--destructive); }
.toast--success { border-color: var(--primary); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

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

/* equal-height cards inside reveal wrappers */
.service-grid > .reveal { height: 100%; }

/* Problem section: text on the left, illustration on the right */
.problem-intro {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.problem-intro__art {
  justify-self: center;
  width: min(100%, 16rem);
}
.problem-intro__art img {
  width: 100%;
  height: auto;
}
@media (min-width: 1024px) {
  .problem-intro {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
  }
  .problem-intro__art {
    justify-self: end;
    width: min(100%, 26rem);
  }
}

/* Services section: less top padding, image left and text right */
.section--tight-top {
  padding-top: 3rem;
}
.service-intro {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.service-intro__art {
  width: min(100%, 22rem);
  justify-self: center;
}
.service-intro__art img {
  width: 100%;
  height: auto;
}
@media (min-width: 1024px) {
  .section--tight-top {
    padding-top: 4rem;
  }
  .service-intro {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .service-intro__art {
    order: -1;
    width: 100%;
    max-width: 32rem;
    justify-self: start;
  }
}

/* Tighter spacing around the Work and Growth Score sections */
.section--tight-top {
  padding-top: 3rem;
}
.section--tight-bottom {
  padding-bottom: 3rem;
}
@media (min-width: 1024px) {
  .section--tight-top {
    padding-top: 4rem;
  }
  .section--tight-bottom {
    padding-bottom: 4rem;
  }
}

/* Work page hero: text on the left, illustration on the right */
.work-hero {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.work-hero__art {
  width: min(100%, 18rem);
  justify-self: center;
}
.work-hero__art img {
  width: 100%;
  height: auto;
}
@media (min-width: 1024px) {
  .work-hero {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
  }
  .work-hero__art {
    width: 100%;
    max-width: 26rem;
    justify-self: end;
  }
}

/* About hero: image on top, centred heading below */
.about-hero {
  padding-top: 2rem;
  padding-bottom: 3rem;
}
.about-hero__art {
  display: block;
  width: 100%;
  max-width: 48rem;
  margin-inline: auto;
}
.about-hero__art img {
  width: 100%;
  height: auto;
}
.about-hero__text {
  max-width: 48rem;
  margin: 2rem auto 0;
  text-align: center;
}
.about-hero__text .lead {
  margin-inline: auto;
}
@media (min-width: 1024px) {
  .about-hero {
    padding-top: 3rem;
    padding-bottom: 4rem;
  }
}

/* Explore hero: a smaller image than the About page */
.explore-hero__art {
  max-width: 28rem;
}

/* Contact hero: text on the left, illustration on the right */
.contact-hero {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.contact-hero__art {
  width: min(100%, 16rem);
  justify-self: center;
}
.contact-hero__art img {
  width: 100%;
  height: auto;
}
@media (min-width: 1024px) {
  .contact-hero {
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
  }
  .contact-hero__art {
    width: 100%;
    max-width: 22rem;
    justify-self: end;
  }
}

/* ---------- Common questions (FAQ) ---------- */

/* Illustration that introduces the section */
.faq__art {
  display: block;
  width: min(100%, 18rem);
  margin: 0 auto 1.5rem;
}
.faq__art img {
  width: 100%;
  height: auto;
  animation: faq-float 7s ease-in-out infinite;
}
.js .faq__art.reveal {
  transform: translateY(24px) scale(0.88) rotate(-4deg);
}
.js .faq__art.reveal.reveal-in {
  transform: none;
}
@keyframes faq-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* The list */
.faq {
  max-width: 48rem;
  margin-inline: auto;
  display: grid;
  gap: 0.875rem;
  counter-reset: faq;
}

/* Each question is a card */
.faq details {
  counter-increment: faq;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-out-soft), border-color 0.3s,
    box-shadow 0.35s, background 0.35s;
}
.faq details::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(var(--primary), var(--signal));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease-out-soft);
}
.faq details:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--primary) 40%, transparent);
  box-shadow: var(--shadow-lift);
}
.faq details.is-open,
html:not(.js) .faq details[open] {
  border-color: color-mix(in oklab, var(--primary) 35%, transparent);
  box-shadow: var(--shadow-lift);
  background: linear-gradient(135deg, var(--card), color-mix(in oklab, var(--accent) 55%, var(--card)));
}
.faq details.is-open::before,
html:not(.js) .faq details[open]::before {
  transform: scaleY(1);
}

/* The question row */
.faq summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  border-radius: 1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: -2px;
}

/* 01, 02, 03... number */
.faq summary::before {
  content: counter(faq, decimal-leading-zero);
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
  transition: color 0.3s;
}

/* + button that turns into a x */
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: var(--accent);
  color: var(--primary);
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.4s var(--ease-out-soft), background 0.3s, color 0.3s;
}
.faq summary:hover::after {
  background: color-mix(in oklab, var(--primary) 18%, white);
}
.faq details.is-open summary::before,
html:not(.js) .faq details[open] summary::before {
  color: var(--primary);
}
.faq details.is-open summary::after,
html:not(.js) .faq details[open] summary::after {
  transform: rotate(45deg);
  background: var(--primary);
  color: var(--primary-foreground);
}

/* The answer */
.faq details p {
  padding: 0 1.25rem 1.375rem 3.75rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}
.faq details.is-open p,
html:not(.js) .faq details[open] p {
  animation: faq-answer 0.5s var(--ease-out-soft) both;
}
@keyframes faq-answer {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* Reveal: cards rise in one after another */
.faq--armed details:not(.faq-in) {
  opacity: 0;
}
.faq details.faq-in {
  animation: faq-rise 0.8s var(--ease-out-soft) backwards;
  animation-delay: calc(var(--i, 0) * 110ms);
}
@keyframes faq-rise {
  from { opacity: 0; transform: translateY(28px) scale(0.97); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

@media (max-width: 640px) {
  .faq summary { padding: 1rem; gap: 0.75rem; }
  .faq details p { padding-left: 1rem; padding-right: 1rem; }
}

/* Legal pages hero: text on one side, illustration on the other */
.legal-hero {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.legal-hero__art {
  width: min(100%, 14rem);
  justify-self: center;
}
.legal-hero__art img {
  width: 100%;
  height: auto;
}
@media (min-width: 1024px) {
  .legal-hero {
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
  }
  .legal-hero__art {
    width: 100%;
    max-width: 20rem;
    justify-self: end;
  }

  /* Terms and Conditions: image on the left, text on the right */
  .legal-hero--flip {
    grid-template-columns: 1fr 1.3fr;
  }
  .legal-hero--flip .legal-hero__art {
    order: -1;
    justify-self: start;
  }
}

/* Project cards: click anywhere on the card to visit the site */
.case {
  position: relative;
  cursor: pointer;
}
.case__stretch::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* the other link on the card stays clickable above the overlay */
.case__links a:not(.case__stretch) {
  position: relative;
  z-index: 2;
}

/* hover and keyboard feedback */
.case:hover .case__stretch {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.case__stretch span {
  display: inline-block;
  transition: transform 0.3s var(--ease-out-soft);
}
.case:hover .case__stretch span {
  transform: translate(2px, -2px);
}
.case:has(.case__stretch:focus-visible) {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}
/* ---------- Blog / posts (Explore page) ---------- */
.posts-list { display: flex; flex-direction: column; gap: 1.25rem; max-width: 48rem; margin-inline: auto; }

.post-card { border: 1px solid var(--border); background: var(--card); border-radius: 1.25rem; overflow: hidden; transition: box-shadow 0.3s, border-color 0.3s; }
.post-card:has(.post-card__trigger:hover) { border-color: color-mix(in oklab, var(--primary) 30%, transparent); box-shadow: var(--shadow-soft); }

.post-card__trigger {
  display: block; width: 100%; padding: 1.25rem; border: 0; background: none; text-align: left; border-radius: inherit;
}
.post-card__preview { display: flex; flex-direction: column; gap: 1rem; }

.post-card__thumb { width: 100%; aspect-ratio: 2054 / 440; border-radius: 0.875rem; overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }

.post-card__meta { display: flex; flex-direction: column; gap: 0.375rem; min-width: 0; }
.post-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; line-height: 1.3; color: var(--foreground); }
@media (min-width: 640px) { .post-card__title { font-size: 1.1875rem; } }
.post-card__excerpt { font-size: 0.875rem; line-height: 1.55; color: var(--muted-foreground); }
.post-card__cta { display: inline-flex; align-items: center; gap: 0.375rem; margin-top: 0.25rem; font-size: 0.8125rem; font-weight: 600; color: var(--primary); }
.post-card__cta .icon { width: 0.875rem; height: 0.875rem; transition: transform 0.3s; }
.post-card__trigger:hover .post-card__cta .icon { transform: translateX(4px); }
.post-card.is-open .post-card__cta .icon { transform: rotate(90deg); }
.post-card.is-open .post-card__trigger:hover .post-card__cta .icon { transform: rotate(90deg) translateX(4px); }

.post-card__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease-out-soft); }
.post-card__body-inner { overflow: hidden; }
.post-card.is-open .post-card__body { grid-template-rows: 1fr; }

.post { padding: 0 1.25rem 0.5rem; max-width: 42rem; margin-inline: auto; }
.post__cover { width: 100%; aspect-ratio: 2054 / 440; object-fit: cover; border-radius: 1rem; border: 1px solid var(--border); background: var(--surface); margin-top: 0.5rem; }
.post__banner { width: 100%; max-height: 30rem; margin-inline: auto; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 1rem; border: 1px solid var(--border); background: var(--surface); margin-top: 1rem; }
.post__banner--square { aspect-ratio: 1 / 1; max-height: 26rem; margin-inline: auto; }
.post h2 { margin-top: 2.25rem; font-size: 1.375rem; line-height: 1.25; }
.post h3 { margin-top: 1.75rem; font-size: 1.125rem; line-height: 1.3; }
.post p { margin-top: 1rem; font-size: 1rem; line-height: 1.7; color: var(--muted-foreground); }
.post > p:first-of-type { margin-top: 1.5rem; }
.post__list { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.625rem; }
.post__list li { position: relative; padding-left: 1.375rem; font-size: 1rem; line-height: 1.65; color: var(--muted-foreground); }
.post__list:not(.post__list--numbered) li::before { content: ""; position: absolute; left: 0.125rem; top: 0.6em; width: 0.375rem; height: 0.375rem; border-radius: 9999px; background: var(--primary); }
.post__list--numbered { counter-reset: post-ol; }
.post__list--numbered li { counter-increment: post-ol; }
.post__list--numbered li::before { content: counter(post-ol) "."; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--primary); }

.post-split { display: grid; gap: 1.5rem; align-items: center; margin-top: 2rem; }
@media (min-width: 768px) {
  .post-split { grid-template-columns: 1fr 15rem; gap: 2rem; }
  .post-split--img-left { grid-template-columns: 15rem 1fr; }
  .post-split--img-left .post-split__media { order: -1; }
}
.post-split__text h2 { margin-top: 0; }
.post-split__text > p:first-of-type { margin-top: 1rem; }
.post-split__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 1rem; border: 1px solid var(--border); background: var(--surface); }

.post-card__close { display: inline-flex; align-items: center; gap: 0.5rem; margin: 1.5rem 1.25rem 1.75rem; padding: 0.625rem 1.125rem; border: 1px solid var(--border); border-radius: 9999px; background: var(--surface); font-size: 0.8125rem; font-weight: 600; color: var(--foreground); }
.post-card__close:hover { background: var(--accent); }
.post-card__close .icon { width: 0.875rem; height: 0.875rem; }
