/* ==========================================================================
   WhatElse Marketing — Stylesheet
   Sections: 1. Reset  2. Tokens  3. Base  4. Layout  5. Header/Nav
   6. Hero  7. Sections/Headings  8. Capability cards  9. Portfolio
   10. Monetization  11. Process  12. Stats  13. Who  14. About
   15. FAQ  16. Contact/Form  17. Footer  18. Floating UI
   19. Cookie banner  20. Utilities  21. Reduced motion  22. Media queries
   ========================================================================== */

/* 1. RESET ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
img, picture, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* 2. TOKENS ---------------------------------------------------------------- */
:root {
  --bg: #fbfbfa;
  --surface: #ffffff;
  --surface-2: #f2f1ee;
  --text: #111114;
  --text-muted: #5c5c63;
  --border: #e5e4e0;
  --accent: #1e3a5f;
  --accent-hover: #14283f;
  --accent-soft: rgba(30, 58, 95, 0.08);
  --accent-light: #3f6ea3;
  --focus: #1a73ff;

  --shadow-sm: 0 1px 2px rgba(17, 17, 20, 0.04), 0 1px 1px rgba(17, 17, 20, 0.03);
  --shadow-md: 0 8px 24px rgba(17, 17, 20, 0.06), 0 2px 8px rgba(17, 17, 20, 0.04);
  --shadow-lg: 0 24px 64px rgba(17, 17, 20, 0.10), 0 8px 24px rgba(17, 17, 20, 0.06);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 5rem;
  --space-7: 8rem;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --header-h: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --bg: #0b0c0f;
  --surface: #131418;
  --surface-2: #1a1b20;
  --text: #f3f3f2;
  --text-muted: #9a9aa2;
  --border: #26272e;
  --accent: #6f9fce;
  --accent-hover: #8fb8de;
  --accent-soft: rgba(111, 159, 206, 0.16);
  --accent-light: #a9cbe8;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0c0f;
    --surface: #131418;
    --surface-2: #1a1b20;
    --text: #f3f3f2;
    --text-muted: #9a9aa2;
    --border: #26272e;
    --accent: #6f9fce;
    --accent-hover: #8fb8de;
    --accent-soft: rgba(111, 159, 206, 0.16);
    --accent-light: #a9cbe8;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.45);
  }
}

/* 3. BASE ---------------------------------------------------------------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}

h2 { font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.75rem); }
h3 { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); font-weight: 700; }

p { color: var(--text-muted); }

section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

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

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.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;
}

/* 4. LAYOUT ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section { padding-block: var(--space-6); }
.section-alt { background: var(--surface-2); }

.section-head { max-width: 640px; margin-bottom: var(--space-5); }
#services .section-head { max-width: none; }
#about .section-head { max-width: none; }
#expertise .section-head { max-width: none; }
#team .section-head { max-width: none; }
#monetization .section-head { max-width: none; }
#who .section-head { max-width: none; }
#faq .section-head { max-width: none; }
@media (min-width: 700px) {
  #services-title,
  #about-title,
  #expertise-title,
  #team-title,
  #monetization-title,
  #who-title,
  #faq-title { white-space: nowrap; }
  /* These headlines are long enough (especially the French copy) that the
     default clamp would overflow the container once forced onto one line,
     so they get their own smaller, more conservative size scale. */
  #services-title,
  #about-title,
  #expertise-title,
  #team-title,
  #monetization-title,
  #who-title,
  #faq-title {
    font-size: clamp(1.25rem, 0.15rem + 2.6vw, 2.35rem);
  }
}
.section-head h2 { margin-top: 0.5rem; }
.section-sub { margin-top: 0.75rem; font-size: 1.05rem; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.text-gradient {
  background: linear-gradient(100deg, var(--accent), var(--accent-light) 60%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--text-muted); background: var(--surface-2); }

.btn-lg { padding: 1rem 1.85rem; font-size: 1rem; }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* 5. HEADER / NAV ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--border); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-shrink: 0;
}
.logo-accent { color: var(--accent); }
.logo-suffix { font-weight: 500; color: var(--text-muted); font-size: 0.85em; }

.main-nav ul {
  display: flex;
  gap: var(--space-4);
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding-block: 0.25rem;
  transition: color 0.2s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: var(--space-2); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.lang-switch a {
  color: var(--text-muted);
  padding: 0.3rem 0.4rem;
  border-radius: 6px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.lang-switch a:hover { color: var(--text); background: var(--surface-2); }
.lang-switch a.is-active { color: var(--accent); }
.lang-switch .lang-sep { color: var(--border); font-weight: 400; }

.theme-toggle {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--text-muted);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.theme-toggle:hover { background: var(--surface-2); color: var(--text); }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 50%;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg);
  z-index: 499;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.mobile-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav nav { padding: var(--space-4) 1.5rem; display: flex; flex-direction: column; gap: var(--space-4); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

/* 6. HERO ---------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(4rem, 8vw, 7rem) clamp(2rem, 4vw, 3rem);
  overflow: hidden;
}
.hero + .section { padding-top: var(--space-4); }
.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  translate: -50% 0;
  width: min(900px, 140vw);
  height: 600px;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 72%);
  pointer-events: none;
  z-index: -1;
}
.hero-inner { max-width: 820px; }
.hero-title {
  font-size: clamp(2.4rem, 1.7rem + 4vw, 4.4rem);
  margin-top: 1rem;
  max-width: 16ch;
}
.hero-sub {
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  max-width: 46ch;
}
.hero-actions {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-note {
  margin-top: var(--space-4);
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-note::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

/* 8. CAPABILITY CARDS ---------------------------------------------------------------- */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.capability-card {
  background: var(--surface);
  padding: var(--space-4);
  transition: background-color 0.25s var(--ease);
}
.capability-card:hover { background: var(--surface-2); }
.capability-card h3 { margin-bottom: 0.25rem; }
.capability-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.capability-card ul { display: flex; flex-direction: column; gap: 0.4rem; }
.capability-card li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}
.capability-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* 9. PORTFOLIO ---------------------------------------------------------------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-2);
}

.project-card-wrap { position: relative; }

.project-card {
  all: unset;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 100%;
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
}
.project-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.project-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  overflow: hidden;
}
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.project-card:hover .project-media img { transform: scale(1.05); }
.project-fallback {
  display: none;
  position: absolute; inset: 0;
  align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  padding: 0.75rem;
  color: var(--text-muted);
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
}
.project-card-wrap.media-fallback .project-media img { display: none; }
.project-card-wrap.media-fallback .project-fallback { display: flex; }

.project-card-body { position: relative; padding: 0.9rem; text-align: left; }
.project-category {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.project-card-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 0.35rem;
  padding-right: 1.6rem;
}
.project-blurb {
  display: block;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
}
.project-expand-icon {
  position: absolute;
  bottom: 0.7rem;
  right: 0.7rem;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  line-height: 1;
  color: var(--text-muted);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.25s var(--ease);
}
.project-card:hover .project-expand-icon,
.project-card:focus-visible .project-expand-icon {
  color: var(--accent);
  border-color: var(--accent);
  transform: rotate(90deg);
}

/* Shared detail styles, reused both in the compact card fallback state and inside the modal */
.project-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.85rem; }
.tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.3rem 0.6rem;
  border-radius: 100px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.proof-point {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.project-points { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.35rem; }
.project-points li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}
.project-points li::before {
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent);
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  transition: gap 0.2s var(--ease);
}
.project-link:hover { gap: 0.55rem; }

/* Project detail modal */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.project-modal[hidden] { display: none; }
.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 12, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.project-modal.is-open .project-modal-backdrop { opacity: 1; }
.project-modal-panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 620px;
  max-height: 85vh;
  overflow-y: auto;
  padding: var(--space-4);
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.project-modal.is-open .project-modal-panel { transform: translateY(0) scale(1); opacity: 1; }
.project-modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: var(--surface);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.project-modal-close:hover { color: var(--accent); border-color: var(--accent); }
.project-modal-content h3 { font-size: 1.25rem; margin-bottom: 0.85rem; padding-right: 2rem; }
.project-modal-content > p { font-size: 0.92rem; }

/* 10. MONETIZATION ---------------------------------------------------------------- */
.monetization-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}
.mon-card {
  padding: var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.mon-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.mon-card h3 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.mon-card p { font-size: 0.9rem; }

/* 10b. EXPERTISE ("Behind WhatElse") ---------------------------------------------------------------- */
.expertise-lead {
  max-width: 62ch;
  font-size: 1.02rem;
  margin-top: 1rem;
}

.expertise-equation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.9rem;
  margin-bottom: var(--space-5);
  padding: 1.1rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.expertise-equation span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--text-muted);
}
.expertise-equation .eq-op {
  color: var(--accent);
  font-weight: 800;
}
.expertise-equation .eq-result {
  color: var(--text);
  font-weight: 800;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}
.expertise-card {
  position: relative;
  padding: var(--space-3) var(--space-3) var(--space-3);
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.expertise-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.expertise-card h3 { margin-bottom: 0.35rem; font-size: 1.02rem; }
.expertise-tagline {
  font-size: 0.86rem;
  margin-bottom: 0.9rem;
  color: var(--text-muted);
}
.expertise-card ul { display: flex; flex-direction: column; gap: 0.4rem; }
.expertise-card li {
  font-size: 0.84rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}
.expertise-card li::before {
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent);
}

.expertise-statement {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.5rem);
  color: var(--text);
  text-align: center;
}

/* 10c. TEAM ---------------------------------------------------------------- */
.team-lead {
  max-width: 62ch;
  font-size: 1.02rem;
  margin-top: 1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.team-photo {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo-fallback {
  display: none;
  position: absolute; inset: 0;
  align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-muted);
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
}
.team-card.photo-fallback img { display: none; }
.team-card.photo-fallback .team-photo-fallback { display: flex; }

.team-card h3 { margin-bottom: 0.2rem; font-size: 1.02rem; }
.team-role {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 0.4rem;
}
.team-location {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}
.team-location svg { flex-shrink: 0; color: var(--accent); }
.team-bio { font-size: 0.86rem; margin-bottom: 1rem; }
.team-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.team-linkedin {
  display: inline-flex;
  width: 32px; height: 32px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.team-linkedin:hover { color: var(--accent); border-color: var(--accent); }
.team-linkedin[hidden] { display: none; }

.team-statement {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.5rem);
  color: var(--text);
  text-align: center;
}

/* 11. PROCESS (timeline) ---------------------------------------------------------------- */
.timeline {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
.timeline::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border);
}
.timeline-step {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.timeline-node {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--accent);
  flex-shrink: 0;
}
.timeline-step h3 { margin-bottom: 0.3rem; font-size: 1rem; }
.process-lead { color: var(--text); font-weight: 600; margin-bottom: 0.15rem; }
.timeline-step p:last-child { font-size: 0.86rem; }

@media (max-width: 780px) {
  .timeline { flex-direction: column; gap: var(--space-4); }
  .timeline::before { top: 0; bottom: 0; left: 15px; right: auto; width: 2px; height: auto; }
  .timeline-step { flex-direction: row; align-items: flex-start; gap: var(--space-2); }
}

/* 12. STATS ---------------------------------------------------------------- */
.stats-section { padding-block: var(--space-5); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  text-align: center;
}
.stat-card {
  padding: var(--space-4) var(--space-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem);
  color: var(--text);
  margin-bottom: 0.4rem;
}
.stat-label { font-size: 0.85rem; }

/* 13. WHO ---------------------------------------------------------------- */
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}
.who-card {
  padding: var(--space-3);
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}
.who-card h3 { margin-bottom: 0.5rem; }
.who-card p { font-size: 0.9rem; }

/* 14. ABOUT ---------------------------------------------------------------- */
.about-inner { max-width: 780px; }
.about-copy { display: flex; flex-direction: column; gap: 1rem; font-size: 1.05rem; }
.about-copy p:first-child { color: var(--text); font-weight: 500; }

/* 15. FAQ ---------------------------------------------------------------- */
.faq-container { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  font-size: 0.98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 18px; height: 18px;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}
.faq-icon::before { top: 50%; left: 0; width: 100%; height: 2px; translate: 0 -50%; }
.faq-icon::after { left: 50%; top: 0; width: 2px; height: 100%; translate: -50% 0; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-answer { padding: 0 1.4rem 1.3rem; font-size: 0.92rem; }

/* 16. CONTACT / FORM ---------------------------------------------------------------- */
.contact-section { padding-block: var(--space-7) var(--space-6); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--space-6);
  align-items: start;
}
.contact-intro h2 { margin-top: 0.5rem; margin-bottom: 1rem; }
.contact-intro > p { font-size: 1.05rem; max-width: 44ch; }
.contact-details { margin-top: var(--space-4); display: flex; flex-direction: column; gap: 0.9rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s var(--ease);
}
a.contact-detail:hover { color: var(--accent); }
.contact-location { color: var(--text-muted); font-weight: 500; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  box-shadow: var(--shadow-md);
}
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-size: 0.85rem; font-weight: 600; }
.form-row .optional { font-weight: 400; color: var(--text-muted); }
.form-row input,
.form-row select,
.form-row textarea {
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.form-row input:hover, .form-row select:hover, .form-row textarea:hover { border-color: var(--text-muted); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
}
.form-row textarea { resize: vertical; min-height: 110px; }
.field-error {
  font-size: 0.8rem;
  color: var(--accent);
  min-height: 1.1em;
  display: none;
}
.form-row.has-error input,
.form-row.has-error textarea { border-color: var(--accent); }
.form-row.has-error .field-error { display: block; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-error { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.form-status.is-info { background: var(--surface-2); color: var(--text-muted); }
.form-status.is-success { background: color-mix(in srgb, #2fb673 15%, transparent); color: #1f8f5b; }
[data-theme="dark"] .form-status.is-success { color: #4fd497; }

.btn-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.form-submitting .btn-label { display: none; }
.form-submitting .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 17. FOOTER ---------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: var(--space-5);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
}
.footer-logo { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--text); margin-bottom: 0.6rem; }
.footer-brand p, .footer-brand a { font-size: 0.9rem; display: block; margin-bottom: 0.3rem; }
.footer-brand a:hover { color: var(--accent); }
.footer-built { color: var(--text-muted); margin-top: 0.6rem; font-size: 0.82rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-nav a { font-size: 0.9rem; color: var(--text-muted); }
.footer-nav a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-social a:hover { color: var(--accent); border-color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: var(--space-2);
}
.footer-bottom p { font-size: 0.82rem; }
.footer-legal { margin-top: 0.4rem; font-size: 0.76rem !important; color: var(--text-muted); }
.footer-legal a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: var(--accent); }

/* 18. FLOATING UI ---------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2.5px;
  width: 0%;
  background: var(--accent);
  z-index: 900;
  transition: width 0.1s linear;
}

.mobile-sticky-cta {
  display: none;
  position: fixed;
  left: 1rem; right: 1rem;
  bottom: 1rem;
  z-index: 400;
  text-align: center;
  padding: 0.95rem;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.mobile-sticky-cta.is-hidden { transform: translateY(120%); opacity: 0; }

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 400;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), background-color 0.2s var(--ease);
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--surface-2); }

/* 19. COOKIE BANNER ---------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 560px;
  margin-inline: auto;
  z-index: 950;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  justify-content: space-between;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { font-size: 0.85rem; flex: 1 1 260px; }
.cookie-banner a { color: var(--accent); font-weight: 600; }
.cookie-actions { display: flex; gap: 0.6rem; }

/* 20. UTILITIES / SECONDARY PAGES ---------------------------------------------------------------- */
.simple-page main {
  min-height: 60vh;
  padding-block: var(--space-6);
}
.simple-page .container { max-width: 760px; }
.simple-page h1 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); margin-bottom: 1rem; }
.simple-page h2 { font-size: 1.4rem; margin-top: var(--space-4); margin-bottom: 0.75rem; }
.simple-page p, .simple-page li { margin-bottom: 0.85rem; font-size: 0.98rem; }
.simple-page ul { padding-left: 1.2rem; list-style: disc; }
.simple-page .updated-note { color: var(--text-muted); font-size: 0.85rem; margin-bottom: var(--space-4); }
/* Company / legal details table on the privacy page */
.legal-details {
  margin: 0 0 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}
.legal-details > div {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 1rem;
  padding: 0.7rem 1.1rem;
  border-bottom: 1px solid var(--border);
}
.legal-details > div:last-child { border-bottom: 0; }
.legal-details dt {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.legal-details dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
}
.legal-details dd a { color: var(--accent); }
@media (max-width: 600px) {
  .legal-details > div { grid-template-columns: 1fr; gap: 0.2rem; }
}

.legal-note {
  margin-top: var(--space-5);
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--accent);
  background: var(--surface-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
}

.state-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.state-page main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-6) 1.5rem;
}
.state-content { max-width: 480px; }
.state-eyebrow { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; margin-bottom: var(--space-3); }
.state-content h1 { font-size: clamp(1.8rem, 1.5rem + 1.2vw, 2.5rem); margin-bottom: 0.85rem; }
.state-content p { font-size: 1.05rem; margin-bottom: var(--space-3); }

/* 21. REDUCED MOTION ---------------------------------------------------------------- */
@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;
  }
  .reveal { opacity: 1; transform: none; }
}

/* 22. MEDIA QUERIES ---------------------------------------------------------------- */
@media (max-width: 980px) {
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .monetization-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; }
  .mobile-sticky-cta { display: block; }
  .mobile-sticky-cta.is-hidden { display: block; }
  body.contact-in-view .mobile-sticky-cta { transform: translateY(120%); opacity: 0; pointer-events: none; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .capability-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .who-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
  .monetization-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-equation { justify-content: center; text-align: center; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-social { margin-top: var(--space-2); }
  .section { padding-block: var(--space-5); }
}

@media (max-width: 440px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .project-media { aspect-ratio: 16 / 10; }
}

@media (min-width: 1400px) {
  .container { max-width: 1280px; }
}
