/* =========================================================
   Zozaka — shared stylesheet
   Mobile-first. Swap the palette in :root only.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Brand palette. TODO: replace with final brand colours if they change. */
  --navy-900: #0B1B3F;   /* primary */
  --navy-800: #132A5C;
  --navy-700: #1E3A75;
  --accent:   #19D3A2;   /* bright accent: use on navy, or as a fill behind navy text */
  --accent-ink: #0A7C60; /* accent shade that passes AA as text on white */

  --grey-50:  #F5F7FA;
  --grey-100: #EAEEF4;
  --grey-300: #C9D2E3;
  --grey-500: #8B97AD;
  --grey-700: #5B6475;
  --white:    #FFFFFF;

  /* Semantic roles */
  --bg: var(--white);
  --bg-alt: var(--grey-50);
  --surface: var(--white);
  --border: var(--grey-100);
  --text: var(--navy-900);
  --text-muted: var(--grey-700);
  --link: var(--accent-ink);
  --focus: #2F6BFF;
  --error: #B42318;
  --input-border: #76829A;

  --inverse-bg: var(--navy-900);
  --inverse-text: var(--white);
  --inverse-muted: var(--grey-300);

  /* Type */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-2xl: clamp(1.6rem, 1.3rem + 1.4vw, 2.25rem);
  --fs-3xl: clamp(2.1rem, 1.5rem + 3vw, 3.5rem);

  /* Space & shape */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1160px;
  --gutter: 1.25rem;
  --shadow: 0 1px 2px rgb(11 27 63 / 0.06), 0 8px 24px rgb(11 27 63 / 0.06);
  --header-h: 68px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07122B;
    --bg-alt: #0B1B3F;
    --surface: #102350;
    --border: #1E3A75;
    --text: #EEF2F8;
    --text-muted: #B6C1D6;
    --link: var(--accent);
    --focus: #7FA6FF;
    --error: #FF8A80;
    --input-border: #5A7AB8;
    --inverse-bg: #030A1C;
    --shadow: none;
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
ul[role="list"] { list-style: none; padding: 0; }

a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

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

/* ---------- Utilities ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.icon { width: 1.25em; height: 1.25em; flex: none; }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 44rem; margin-bottom: var(--space-8); }
.section-head h2 { font-size: var(--fs-2xl); }
.section-head p { margin-top: var(--space-3); color: var(--text-muted); font-size: var(--fs-lg); }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: var(--space-3);
}
.eyebrow::before {
  content: ""; width: 0.55em; height: 0.55em; border: 2px solid currentColor; border-radius: 50%;
}
@media (prefers-color-scheme: dark) { .eyebrow { color: var(--accent); } }

/* Skip link */
.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  padding: var(--space-2) var(--space-4); background: var(--navy-900); color: var(--white);
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--space-4); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 44px; padding: 0.65rem 1.25rem;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 650; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: var(--navy-900); }
.btn--primary:hover { background: #3EE0B6; }
.btn--dark { background: var(--navy-900); color: var(--white); }
.btn--dark:hover { background: var(--navy-700); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgb(255 255 255 / 0.08); }
@media (prefers-color-scheme: dark) {
  .btn--dark { background: var(--accent); color: var(--navy-900); }
  .btn--dark:hover { background: #3EE0B6; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg); /* solid, so header text keeps its contrast over dark sections when scrolled */
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  min-height: var(--header-h);
}
.brand { display: inline-flex; color: var(--text); padding-block: var(--space-2); }
.brand .logo { width: 116px; height: auto; aspect-ratio: 276 / 125; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* Mobile nav: a full-width panel under the header */
.site-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  background: var(--bg); border-bottom: 1px solid var(--border);
  padding: var(--space-4) var(--gutter) var(--space-8);
}
.nav-open .site-nav { display: block; }
.nav-list { list-style: none; padding: 0; display: grid; gap: var(--space-1); }
.nav-link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  min-height: 44px; padding: var(--space-2) 0;
  font-weight: 600; font-size: var(--fs-lg); color: var(--text); text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.nav-link[aria-current="page"] { color: var(--link); }
.nav-services { display: flex; align-items: center; }
.nav-services .nav-link { width: auto; flex: 1; }
.mega-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: var(--text);
}
.mega-toggle .icon { transition: transform .2s; }
.mega-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-cta { margin-top: var(--space-4); width: 100%; }

/* Mega menu: inline list on mobile */
.mega { display: none; padding: 0 0 var(--space-4) var(--space-4); }
.has-mega.open .mega { display: grid; gap: var(--space-4); }
.mega-heading {
  font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); margin-bottom: var(--space-2);
}
.mega-col ul { list-style: none; padding: 0; display: grid; gap: var(--space-1); }
.mega-col a {
  display: flex; align-items: center; gap: var(--space-3); min-height: 40px;
  color: var(--text); text-decoration: none; font-weight: 550;
}
.mega-col a .icon { color: var(--link); }
.mega-col a:hover { color: var(--link); }
.mega-all { font-weight: 600; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: block; position: static; padding: 0; border: 0; background: none;
    max-height: none; overflow: visible;
  }
  .nav-list { display: flex; align-items: center; gap: var(--space-6); }
  .nav-link { font-size: var(--fs-base); width: auto; padding: 0; }
  .nav-link:hover { color: var(--link); }
  .nav-cta { margin: 0 0 0 var(--space-2); width: auto; }
  .has-mega { position: relative; }
  .mega-toggle { width: 28px; margin-left: -2px; }

  /* Desktop: floating three-column panel. Opens on hover/focus (works without JS) or via the toggle. */
  .mega {
    position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
    width: 680px; padding: var(--space-6);
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: 0 20px 48px rgb(11 27 63 / 0.14);
    grid-template-columns: repeat(3, 1fr); gap: var(--space-6);
  }
  .mega::before { /* hover bridge across the gap */
    content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px;
  }
  .has-mega:hover .mega,
  .has-mega:focus-within .mega,
  .has-mega.open .mega { display: grid; }
  .has-mega.closed .mega { display: none; }
  .mega-all { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: var(--space-4); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--inverse-bg); color: var(--inverse-text);
  padding-block: clamp(4rem, 3rem + 6vw, 8rem);
}
.hero h1 { font-size: var(--fs-3xl); max-width: 16ch; }
.hero .lead { margin-top: var(--space-6); max-width: 38rem; font-size: var(--fs-xl); color: var(--inverse-muted); line-height: 1.5; }
.hero .eyebrow { color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.hero .btn--ghost, .page-hero .btn--ghost { color: var(--white); }

/* Node-and-line motif from the logo: six nodes, one for each service */
.hero-motif {
  display: none; /* hidden on phones so it never sits behind the copy */
  position: absolute; z-index: -1; right: 2%; top: 50%; transform: translateY(-50%);
  width: min(560px, 42vw); opacity: 0.55; color: var(--accent); pointer-events: none;
}
@media (min-width: 1200px) { .hero-motif { display: block; } }
.hero-motif .node { fill: var(--inverse-bg); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--inverse-bg); color: var(--inverse-text);
  padding-block: clamp(3rem, 2.5rem + 4vw, 5.5rem);
}
.page-hero h1 { font-size: var(--fs-3xl); max-width: 20ch; }
.page-hero .lead { margin-top: var(--space-4); max-width: 40rem; font-size: var(--fs-lg); color: var(--inverse-muted); }
.page-hero .eyebrow { color: var(--accent); }
.pillar-jump { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-8); }
.pillar-jump a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0.4rem 1rem;
  border: 1px solid rgb(255 255 255 / 0.3); border-radius: 999px;
  color: var(--white); text-decoration: none; font-weight: 600; font-size: var(--fs-sm);
}
.pillar-jump a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Services overview ---------- */
.pillar-layout { display: grid; gap: var(--space-8); }
@media (min-width: 960px) {
  .pillar-layout { grid-template-columns: 1fr 2fr; gap: var(--space-12); }
  .pillar-intro { position: sticky; top: calc(var(--header-h) + var(--space-8)); align-self: start; }
}
.pillar-intro h2 { font-size: var(--fs-2xl); margin-top: var(--space-2); }
.pillar-intro p { margin-top: var(--space-3); color: var(--text-muted); font-size: var(--fs-lg); max-width: 28rem; }
.svc-cards { display: grid; gap: var(--space-6); }
@media (min-width: 640px) { .svc-cards { grid-template-columns: repeat(2, 1fr); } }
.svc-card {
  position: relative; display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-6); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: border-color .2s, transform .2s;
}
.svc-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.svc-card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.svc-card .svc-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px;
  background: var(--navy-900); color: var(--accent);
}
.svc-card h3 { font-size: var(--fs-xl); }
.svc-card h3 a { color: var(--text); text-decoration: none; }
.svc-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); } /* whole card is the link */
.svc-card h3 a:focus-visible { outline: none; }
.svc-card p { color: var(--text-muted); }
.tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-1); }
.tags li {
  font-size: 0.8125rem; font-weight: 550; padding: 0.2rem 0.65rem; border-radius: 999px;
  background: var(--bg-alt); border: 1px solid var(--border); color: var(--text-muted);
}
.svc-card .more {
  display: inline-flex; align-items: center; gap: var(--space-2); margin-top: auto; padding-top: var(--space-2);
  font-weight: 650; color: var(--link);
}
.svc-card .more .icon { width: 1.1em; height: 1.1em; transition: transform .2s; }
.svc-card:hover .more .icon { transform: translateX(3px); }

/* ---------- Service detail pages ---------- */
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: var(--fs-sm); margin-bottom: var(--space-6); }
.breadcrumb li { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--inverse-muted); }
.breadcrumb li + li::before { content: "/"; opacity: 0.6; }
.breadcrumb a { color: var(--inverse-muted); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb [aria-current] { color: var(--white); }

.offers { list-style: none; padding: 0; display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .offers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .offers { grid-template-columns: repeat(3, 1fr); } }
.offer {
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-1) var(--space-4);
  padding: var(--space-6); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.offer-check {
  grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; background: var(--accent); color: var(--navy-900);
}
.offer-check .icon { width: 18px; height: 18px; }
.offer h3 { font-size: var(--fs-lg); align-self: center; }
.offer p { color: var(--text-muted); }

.audience { list-style: none; padding: 0; display: grid; gap: var(--space-6); }
@media (min-width: 768px) { .audience { grid-template-columns: repeat(3, 1fr); } }
.audience li { padding-left: var(--space-6); border-left: 3px solid var(--accent); }
.audience h3 { font-size: var(--fs-lg); margin-bottom: var(--space-2); }
.audience p { color: var(--text-muted); }

.faq-layout { display: grid; gap: var(--space-4); }
@media (min-width: 960px) { .faq-layout { grid-template-columns: 1fr 2fr; gap: var(--space-12); } }
.faq { display: grid; gap: var(--space-3); }
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  min-height: 44px; padding: var(--space-4) var(--space-6);
  font-weight: 650; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { /* plus / minus indicator */
  content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; border: 2px solid var(--border); font-size: 1.1rem; line-height: 1; color: var(--text-muted);
}
.faq details[open] summary::after { content: "\2212"; border-color: var(--accent); }
.faq details p { padding: 0 var(--space-6) var(--space-6); color: var(--text-muted); max-width: 46rem; }

.pairs { max-width: 52rem; }
.pair-pillar { font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: calc(-1 * var(--space-2)); }

/* ---------- Contact form ---------- */
.contact-layout { display: grid; gap: var(--space-12); align-items: start; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1.7fr 1fr; } }
.form-card {
  padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.form-title { font-size: var(--fs-xl); }
.form-note { margin-top: var(--space-1); color: var(--text-muted); font-size: var(--fs-sm); }
.enquiry-form { display: grid; gap: var(--space-6); margin-top: var(--space-6); }
.botcheck { display: none !important; }
.field-row { display: grid; gap: var(--space-6); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--space-2); align-content: start; }
.field label { font-weight: 600; }
.req { color: var(--error); }
.optional { font-weight: 400; color: var(--text-muted); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--input-border); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--text); font-size: var(--fs-base);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 9rem; line-height: 1.5; }
.field select { appearance: none; padding-right: 2.5rem; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 35%, transparent);
}
.field [aria-invalid="true"] { border-color: var(--error) !important; border-width: 2px; }
.field-meta { display: flex; justify-content: space-between; gap: var(--space-4); font-size: var(--fs-sm); color: var(--text-muted); }
.counter { flex: none; font-variant-numeric: tabular-nums; }
.counter.is-over { color: var(--error); font-weight: 700; }
.field-error {
  display: flex; align-items: flex-start; gap: var(--space-2);
  color: var(--error); font-size: var(--fs-sm); font-weight: 600;
}
.field-error::before { /* icon, so errors never rely on colour alone */
  content: "!"; flex: none; display: grid; place-items: center; width: 1.15rem; height: 1.15rem; margin-top: 1px;
  border-radius: 50%; background: var(--error); color: var(--bg); font-size: 0.75rem; font-weight: 800;
}
.field-error[hidden] { display: none; }
.field--check { grid-template-columns: auto 1fr; column-gap: var(--space-3); align-items: start; }
.field--check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--navy-900); cursor: pointer; }
.field--check label { font-weight: 400; }
.field--check .field-error { grid-column: 1 / -1; }
.h-captcha:empty { display: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.btn--submit { min-width: 12rem; position: relative; }
.btn--submit[disabled] { opacity: 0.75; cursor: progress; }
.spinner { display: none; width: 1.1em; height: 1.1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.is-sending .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { padding: var(--space-4) var(--space-6); border-radius: var(--radius-sm); font-weight: 600; border: 1.5px solid; }
.form-status:focus { outline: none; }
.form-status.is-error { color: var(--error); border-color: var(--error); background: color-mix(in srgb, var(--error) 8%, var(--surface)); }
.form-status.is-success { color: var(--text); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--surface)); }

.contact-aside { display: grid; gap: var(--space-8); }
.aside-block h2 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: var(--space-2); }
.email-link { font-size: var(--fs-xl); font-weight: 700; }
.next-steps { padding-left: 1.25rem; display: grid; gap: var(--space-2); color: var(--text-muted); }
.next-steps li::marker { color: var(--link); font-weight: 700; }

/* ---------- Simple message pages (thank-you, 404) ---------- */
.message-page { padding-block: clamp(4rem, 3rem + 6vw, 8rem); }
.message-page .container { max-width: 40rem; text-align: center; }
.message-icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto var(--space-6);
  border-radius: 50%; background: var(--accent); color: var(--navy-900);
}
.message-icon .icon { width: 30px; height: 30px; }
.message-page h1 { font-size: var(--fs-3xl); }
.message-page p { margin-top: var(--space-4); color: var(--text-muted); font-size: var(--fs-lg); }
.message-page .hero-actions { justify-content: center; }

/* ---------- About ---------- */
.page-hero--compact { padding-block: clamp(2.5rem, 2rem + 3vw, 4rem); }
.story-layout { display: grid; gap: var(--space-6); }
@media (min-width: 960px) { .story-layout { grid-template-columns: 1fr 2fr; gap: var(--space-12); } }
.story-layout h2 { font-size: var(--fs-2xl); }
.prose { max-width: 46rem; }
.prose > * + * { margin-top: var(--space-4); }
.prose p, .prose li { color: var(--text-muted); font-size: var(--fs-lg); }
.prose--legal p, .prose--legal li { font-size: var(--fs-base); }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--space-12); color: var(--text); }
.prose ul { padding-left: 1.25rem; display: grid; gap: var(--space-2); }
.prose li::marker { color: var(--link); }
.prose strong { color: var(--text); }
.mission {
  margin-top: var(--space-16); padding: clamp(1.5rem, 1rem + 3vw, 3rem);
  border-radius: var(--radius); background: var(--inverse-bg); color: var(--inverse-text);
}
.mission .eyebrow { color: var(--accent); }
.mission-text { font-size: var(--fs-2xl); font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; max-width: 34ch; text-wrap: balance; }

.founder {
  display: grid; gap: var(--space-8); align-items: start; max-width: 64rem;
  padding: var(--space-6); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
@media (min-width: 768px) { .founder { grid-template-columns: 320px 1fr; gap: var(--space-12); padding: var(--space-8); } }
.founder-photo { display: block; width: 100%; max-width: 280px; justify-self: center; }
@media (min-width: 768px) { .founder-photo { max-width: 320px; } }
.founder-photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 800 / 875; object-fit: cover;
  border-radius: 16px; border: 1px solid var(--border); background: var(--bg-alt);
}
.founder-body h3 { font-size: var(--fs-2xl); }
.founder-role { color: var(--link); font-weight: 650; margin-top: var(--space-1); }
.founder-bio { margin-top: var(--space-4); display: grid; gap: var(--space-3); max-width: 42rem; }
.founder-bio p { color: var(--text-muted); }
.founder-tags { margin-top: var(--space-6); }
.founder-link {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; margin-top: var(--space-4);
  font-weight: 650; color: var(--link);
}
.founder-link .icon { width: 1.25rem; height: 1.25rem; }

.experience { padding-block: var(--space-12); text-align: center; }
.experience-title { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); letter-spacing: 0.1em; }
.experience-note { margin-top: var(--space-2); color: var(--text-muted); }
.experience-list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3) var(--space-8); margin-top: var(--space-6); }
.experience-list li { font-size: var(--fs-lg); font-weight: 700; color: var(--text-muted); letter-spacing: -0.01em; }

/* ---------- 404 ---------- */
.message-icon--muted { background: var(--bg-alt); color: var(--link); border: 2px solid var(--border); }
.lost-links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-8); }

/* ---------- Pillars / service cards ---------- */
.pillars { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar {
  display: flex; flex-direction: column; gap: var(--space-4);
  padding: var(--space-6); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.pillar-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-2); }
.pillar-head h3 { font-size: var(--fs-xl); }
.pillar-num { font-size: var(--fs-sm); font-weight: 700; color: var(--text-muted); letter-spacing: 0.08em; }
.pillar > p { color: var(--text-muted); }
.service-list { list-style: none; padding: 0; display: grid; gap: var(--space-3); margin-top: auto; }
.service-link {
  display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: var(--space-3);
  padding: var(--space-4); border-radius: var(--radius-sm); background: var(--bg-alt);
  color: var(--text); text-decoration: none; transition: background-color .2s, transform .2s;
}
.service-link:hover { background: var(--grey-100); }
@media (prefers-color-scheme: dark) { .service-link:hover { background: var(--navy-700); } }
.service-link .svc-icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  background: var(--navy-900); color: var(--accent);
}
.service-link .svc-icon .icon { width: 20px; height: 20px; }
.service-link strong { display: block; font-size: var(--fs-base); }
.service-link span.summary { display: block; font-size: var(--fs-sm); color: var(--text-muted); margin-top: 2px; }
.service-link .go { color: var(--text-muted); margin-top: 10px; transition: transform .2s, color .2s; }
.service-link:hover .go { transform: translateX(3px); color: var(--link); }

/* ---------- Feature grid (Why Zozaka) ---------- */
.features { display: grid; gap: var(--space-6); list-style: none; padding: 0; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature .f-icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: var(--space-4);
  border-radius: 50%; border: 2px solid var(--accent); color: var(--accent-ink);
}
@media (prefers-color-scheme: dark) { .feature .f-icon { color: var(--accent); } }
.feature h3 { font-size: var(--fs-lg); margin-bottom: var(--space-2); }
.feature p { color: var(--text-muted); }

/* ---------- Steps (How we work) ---------- */
.steps { list-style: none; padding: 0; display: grid; gap: var(--space-6); counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-top: var(--space-12); counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy-900); color: var(--accent); font-weight: 700; font-size: var(--fs-sm);
}
@media (min-width: 768px) {
  .step:not(:last-child)::after { /* connector line between nodes */
    content: ""; position: absolute; top: 17px; left: 44px; right: calc(-1 * var(--space-6) + 8px);
    height: 2px; background: var(--grey-300);
  }
}
.step h3 { font-size: var(--fs-lg); margin-bottom: var(--space-2); }
.step p { color: var(--text-muted); }

.engage { display: grid; gap: var(--space-4); margin-top: var(--space-12); list-style: none; padding: 0; }
@media (min-width: 768px) { .engage { grid-template-columns: repeat(3, 1fr); } }
.engage li {
  padding: var(--space-6); border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
}
.engage h3, .engage h4 { font-size: var(--fs-lg); margin-bottom: var(--space-2); }
.engage p { color: var(--text-muted); }
.engage-title { font-size: var(--fs-xl); margin-top: var(--space-12); }
.engage-title + .engage { margin-top: var(--space-4); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--inverse-bg); color: var(--inverse-text); }
.cta-inner {
  display: grid; gap: var(--space-6); align-items: center;
  padding: clamp(2.5rem, 2rem + 3vw, 4rem) 0;
}
@media (min-width: 768px) { .cta-inner { grid-template-columns: 1fr auto; } }
.cta-band h2 { font-size: var(--fs-2xl); }
.cta-band p { color: var(--inverse-muted); margin-top: var(--space-2); font-size: var(--fs-lg); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: var(--space-16); font-size: var(--fs-sm); }
.footer-grid { display: grid; gap: var(--space-8); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); } }
.footer-brand .logo { width: 104px; height: auto; aspect-ratio: 276 / 125; color: var(--text); }
.footer-brand p { margin-top: var(--space-4); color: var(--text-muted); max-width: 22rem; }
.footer-brand a.email { display: inline-block; margin-top: var(--space-4); font-weight: 600; }
.footer-col h2 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-3); }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.footer-col a { color: var(--text-muted); text-decoration: none; }
.footer-col a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3);
  margin-top: var(--space-12); padding-block: var(--space-6); border-top: 1px solid var(--border);
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
}
