/*
 * AIMETECH Landing Page - Preview Site
 * =====================================
 * Palette:
 *   --clr-black      #000000   dominant surface
 *   --clr-surface    #0A0A0A   subtle raised surface
 *   --clr-surface-2  #111111   secondary surface
 *   --clr-white      #FFFFFF   type + space
 *   --clr-off-white  #FAF7F2   warm off-white sections
 *   --clr-accent     #C2410C   ONE terracotta accent, used sparingly
 *   --clr-muted      #888888   secondary text on dark
 *   --clr-muted-lt   #555555   secondary text on light
 *   --clr-rule-dark  rgba(255,255,255,0.10)  hairline on dark
 *   --clr-rule-light rgba(0,0,0,0.10)        hairline on light
 *
 * Typography:
 *   Display / headings: Space Grotesk (Google Fonts, sans)
 *   Body / UI:          Space Grotesk (Google Fonts, sans)
 *
 * Spacing base: 4px (--sp-*)
 * No border-radius except --radius-btn (2px) and nav items (2px)
 * No drop shadows. No gradients except hero image fade (baked into image).
 */

/* ─────────────────────────────────────────────────────────────
   TOKENS
   ───────────────────────────────────────────────────────────── */
:root {
  /* Colour */
  --clr-black:      #000000;
  --clr-bg:         #181818;   /* dark UI surface - lifted off pure black ("less dark") */
  --clr-surface:    #1F1F1F;
  --clr-surface-2:  #242424;
  --clr-white:      #FFFFFF;
  --clr-off-white:  #F5F5F5;
  --clr-accent:     #FFFFFF;
  --clr-accent-hov: #D4D4D4;
  --clr-muted:      #888888;
  --clr-muted-lt:   #555555;
  --clr-rule-dark:  rgba(255,255,255,0.10);
  --clr-rule-light: rgba(0,0,0,0.10);

  /* Spacing */
  --sp-1:   4px;
  --sp-2:   8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-30: 120px;
  --sp-40: 160px;

  /* Type scale */
  --fs-overline: 0.6875rem;  /* 11px */
  --fs-caption:  0.75rem;    /* 12px */
  --fs-sm:       0.875rem;   /* 14px */
  --fs-base:     1rem;       /* 16px */
  --fs-lg:       1.125rem;   /* 18px */
  --fs-xl:       1.25rem;    /* 20px */
  --fs-2xl:      1.5rem;     /* 24px */
  --fs-3xl:      1.875rem;   /* 30px */
  --fs-4xl:      2.25rem;    /* 36px */
  --fs-5xl:      3rem;       /* 48px */
  --fs-6xl:      3.75rem;    /* 60px */
  --fs-7xl:      4.5rem;     /* 72px */

  /* Shape */
  --radius-btn: 2px;

  /* Content max-width */
  --max-w: 1280px;
  --max-w-text: 680px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 150ms;
  --t-base: 200ms;
  --t-slow: 300ms;
}

/* ─────────────────────────────────────────────────────────────
   RESET + BASE
   ───────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--clr-bg);
  color: var(--clr-white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* Monochrome lockdown - raster imagery is desaturated to keep the
   palette strictly black-and-white. Logo SVGs (footer/header) opt
   out via .logo-no-grayscale if they need to stay coloured. */
img {
  filter: grayscale(1);
}
.logo-no-grayscale, .logo-no-grayscale img {
  filter: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button, [role="button"] {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

ul, ol {
  list-style: none;
}

/* ─────────────────────────────────────────────────────────────
   LAYOUT UTILITIES
   ───────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--sp-12);
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: var(--sp-16);
  }
}

/* ─────────────────────────────────────────────────────────────
   TYPOGRAPHY - DISPLAY
   ───────────────────────────────────────────────────────────── */
.display-xl {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  /* floor lowered to 2.25rem so "Transformation" doesn't overflow ≤375px phones */
  font-size: clamp(2.25rem, 8vw, var(--fs-7xl));
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.display-lg {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(var(--fs-4xl), 5vw, var(--fs-6xl));
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-optical-sizing: auto;
}

.display-md {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(var(--fs-3xl), 3.5vw, var(--fs-5xl));
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
}

.eyebrow {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--fs-overline);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  display: block;
  margin-bottom: var(--sp-4);
}

/* ─────────────────────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 14px 28px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  transition:
    background var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
  outline: none;
  text-decoration: none;
}

.btn:focus-visible {
  box-shadow: 0 0 0 2px var(--clr-black), 0 0 0 4px var(--clr-accent);
}

/* Primary - solid white on dark */
.btn-primary {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: var(--clr-black);
}

.btn-primary:hover {
  background: var(--clr-accent-hov);
  border-color: var(--clr-accent-hov);
  color: var(--clr-black);
}

/* Ghost - transparent, white border */
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.30);
  color: var(--clr-white);
}

.btn-ghost:hover {
  border-color: var(--clr-white);
}

/* Ghost on light section */
.btn-ghost-dark {
  background: transparent;
  border-color: rgba(0,0,0,0.30);
  color: var(--clr-black);
}

.btn-ghost-dark:hover {
  border-color: var(--clr-black);
}

/* Text link - secondary CTA */
.btn-link {
  padding: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.01em;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  text-transform: none;
}

.btn-link:hover {
  color: var(--clr-white);
  border-bottom-color: rgba(255,255,255,0.40);
}

/* ─────────────────────────────────────────────────────────────
   NAV
   ───────────────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: 85px;
  background: rgba(24,24,24,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-rule-dark);
  display: flex;
  align-items: center;
}

.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
}

@media (min-width: 768px) {
  .nav-inner {
    padding-inline: var(--sp-12);
  }
}

@media (min-width: 1024px) {
  .nav-inner {
    padding-inline: var(--sp-16);
  }
}

.nav-logo {
  flex-shrink: 0;
  height: 35px;
  width: auto;
}

.nav-logo img {
  height: 35px;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--sp-8);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.70);
  letter-spacing: 0.01em;
  transition: color var(--t-fast) var(--ease);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--clr-white);
}

.nav-links .nav-product {
  color: rgba(255,255,255,0.90);
}

.nav-cta {
  flex-shrink: 0;
}

/* "Log in" text link in the nav - hidden on mobile (drawer covers it) */
.nav-login {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  display: none;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.80);
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease);
}
.nav-login:hover { color: var(--clr-white); }

@media (min-width: 768px) {
  .nav-login {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; display: inline-block; }
}

/* Mobile hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
}

@media (min-width: 768px) {
  .nav-hamburger {
    display: none;
  }
}

.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--clr-white);
  width: 100%;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 85px;
  left: 0;
  right: 0;
  background: var(--clr-surface);
  border-bottom: 1px solid var(--clr-rule-dark);
  padding: var(--sp-6) var(--sp-6) var(--sp-8);
  z-index: 499;
  flex-direction: column;
  gap: var(--sp-4);
}

.nav-drawer.open {
  display: flex;
}

.nav-drawer a {
  font-size: var(--fs-base);
  font-weight: 500;
  color: rgba(255,255,255,0.80);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--clr-rule-dark);
}

.nav-drawer a:last-child {
  border-bottom: none;
}

/* ─────────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 85px; /* nav height */
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* Extra darkening overlay on top of the image's baked-in fade */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.20) 0%,
    rgba(0,0,0,0.06) 40%,
    rgba(0,0,0,0.42) 75%,
    rgba(24,24,24,0.82) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--sp-16) 0 var(--sp-30);
}

.hero-content .container {
  max-width: var(--max-w);
}

.hero-eyebrow {
  color: var(--clr-accent);
}

.hero-rule {
  width: 40px;
  height: 2px;
  background: var(--clr-accent);
  margin-bottom: var(--sp-8);
}

.hero-headline {
  max-width: 840px;
  margin-bottom: var(--sp-6);
  color: var(--clr-white);
}

.hero-headline em {
  font-style: italic;
  color: var(--clr-white);
}

.hero-subline {
  max-width: 620px;
  font-size: clamp(var(--fs-base), 1.4vw, var(--fs-lg));
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: var(--sp-10);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-6);
}

/* ─────────────────────────────────────────────────────────────
   CREDIBILITY STRIP (proof bar)
   ───────────────────────────────────────────────────────────── */
.proofbar {
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-rule-dark);
  padding: var(--sp-6) 0;
}

.proofbar-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4) var(--sp-8);
}

.proofbar-item {
  position: relative;
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  white-space: nowrap;
}

/* dot separators between items (not before the first) */
.proofbar-item + .proofbar-item::before {
  content: '';
  position: absolute;
  left: calc(var(--sp-8) / -2);
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.30);
  transform: translateY(-50%);
}

/* ─────────────────────────────────────────────────────────────
   TRUTH BAND (supporting statements)
   ───────────────────────────────────────────────────────────── */
.truth-band {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-rule-dark);
  border-bottom: 1px solid var(--clr-rule-dark);
  padding: var(--sp-16) 0;
}

.truth-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 768px) {
  .truth-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.truth-item {
  padding: var(--sp-8) var(--sp-8);
  border-bottom: 1px solid var(--clr-rule-dark);
  position: relative;
}

@media (min-width: 768px) {
  .truth-item {
    padding: var(--sp-6) var(--sp-10);
    border-bottom: none;
    border-right: 1px solid var(--clr-rule-dark);
  }

  .truth-item:last-child {
    border-right: none;
  }

  .truth-item:first-child {
    padding-left: 0;
  }
}

.truth-item:last-child {
  border-bottom: none;
}

.truth-item p {
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  font-weight: 400;
}

.truth-item p strong {
  color: var(--clr-white);
  font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────
   FOUNDERS
   ───────────────────────────────────────────────────────────── */
.founders {
  position: relative;
  background: var(--clr-off-white);
  color: var(--clr-black);
  padding: var(--sp-30) 0;
  overflow: hidden;
}

.founders .eyebrow {
  color: var(--clr-black);
}

/* Accent is white in the monochrome system - invisible on this off-white
   section. Override the role label + portrait border to dark, legible tones. */
.founders .founder-role {
  color: var(--clr-muted-lt);
}
.founders .founder-portrait {
  border-color: rgba(0,0,0,0.20);
}

.founders-intro {
  max-width: var(--max-w-text);
  margin-bottom: var(--sp-16);
}

.founders-intro h2 {
  margin-bottom: var(--sp-6);
  color: var(--clr-black);
}

.founders-intro p {
  font-size: var(--fs-lg);
  color: var(--clr-muted-lt);
  line-height: 1.7;
}

.founders-intro p strong {
  color: var(--clr-black);
  font-weight: 600;
}

.founders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

@media (min-width: 600px) {
  .founders-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

.founder-card {
  border: 1px solid var(--clr-rule-light);
  padding: var(--sp-10);
  position: relative;
  /* Square/geometric - no border-radius per brand guidelines */
}

/* Founder portrait - small square frame, same footprint as the
   original initial block (72×72). Hairline terracotta border, B&W. */
.founder-portrait {
  width: 72px;
  height: 72px;
  margin-bottom: var(--sp-6);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--clr-accent);
  background: var(--clr-black);
}

.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(1) contrast(1.04);
  transition: filter 280ms var(--ease);
}

.founder-card:hover .founder-portrait img {
  filter: grayscale(1) contrast(1.10) brightness(1.04);
}

.founder-name {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--clr-black);
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
  margin-bottom: var(--sp-1);
}

.founder-role {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-6);
}

.founder-quote {
  font-size: var(--fs-base);
  color: var(--clr-muted-lt);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--clr-rule-light);
}

.founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-black);
  letter-spacing: 0.02em;
  opacity: 0.50;
  transition: opacity var(--t-fast) var(--ease);
}

.founder-linkedin:hover {
  opacity: 1;
}

.founder-linkedin svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────
   MODERNAISE SECTION
   ───────────────────────────────────────────────────────────── */
.modernaise {
  background: var(--clr-bg);
  padding: var(--sp-30) 0;
  border-top: 1px solid var(--clr-rule-dark);
}

.modernaise-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: start;
}

@media (min-width: 1024px) {
  .modernaise-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-20);
    align-items: stretch;   /* let the right column match the left column's height */
  }
}

.modernaise-copy {
  /* left column */
}

.modernaise-copy h2 {
  margin-bottom: var(--sp-4);
}

.modernaise-sub {
  font-size: clamp(var(--fs-base), 1.3vw, var(--fs-lg));
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: var(--sp-10);
  max-width: 520px;
}

.modernaise-callout {
  border-left: 2px solid var(--clr-accent);
  padding: var(--sp-6) var(--sp-6);
  background: rgba(255, 255, 255, 0.06);
  margin-top: var(--sp-8);
}

.modernaise-callout p {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.70);
  line-height: 1.7;
  font-style: italic;
}

.modernaise-callout p strong {
  color: var(--clr-white);
  font-style: normal;
  font-weight: 600;
}

/* Visual frame */
.modernaise-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

/* Signal panel - abstract status rails, sits under the chart image */
.signal-panel {
  border: 1px solid var(--clr-rule-dark);
  padding: var(--sp-6) var(--sp-6) var(--sp-4);
  background: rgba(255, 255, 255, 0.015);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.signal-row {
  display: grid;
  grid-template-columns: 88px 1fr 78px;
  align-items: center;
  gap: var(--sp-4);
}

.signal-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-muted);
  font-weight: 600;
}

.signal-rail {
  position: relative;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
}

.signal-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: var(--clr-accent);
  transform-origin: left center;
  animation: signal-breathe 4s ease-in-out infinite;
}

/* Stagger so the three rails don't pulse in lockstep */
.signal-row:nth-child(1) .signal-fill { animation-duration: 4.2s; animation-delay: 0s;    }
.signal-row:nth-child(2) .signal-fill { animation-duration: 3.4s; animation-delay: -1.1s; }
.signal-row:nth-child(3) .signal-fill { animation-duration: 4.8s; animation-delay: -2.3s; }

@keyframes signal-breathe {
  0%, 100% { transform: scaleX(0.94); }
  50%      { transform: scaleX(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .signal-fill { animation: none; transform: none; }
}

.signal-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  text-align: right;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}

.signal-foot {
  margin-top: var(--sp-2);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--clr-rule-dark);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* Tiny pulse dot in the dashboard label */
.pulse-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--clr-accent);
  margin-right: 6px;
  vertical-align: middle;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse-dot { animation: none; opacity: 0.8; }
}

.modernaise-frame {
  position: relative;
  border: 1px solid var(--clr-accent);
  padding: var(--sp-2);
}

.modernaise-frame::before {
  content: '';
  position: absolute;
  top: -8px;
  right: -8px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--clr-rule-dark);
  z-index: -1;
}

.modernaise-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Dashboard label overlay */
.modernaise-label {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  background: rgba(0,0,0,0.80);
  border: 1px solid var(--clr-rule-dark);
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--clr-accent);
  backdrop-filter: blur(4px);
}

/* ─────────────────────────────────────────────────────────────
   PRODUCT FAMILY
   Single row of five practice-led products on desktop; stacks on
   smaller screens. Visually paired with .principles below - same
   tile rhythm, slightly looser scale so the product name carries.
   ───────────────────────────────────────────────────────────── */
.products {
  background: var(--clr-bg);
  padding: var(--sp-30) 0 var(--sp-20);
  border-top: 1px solid var(--clr-rule-dark);
}

.products-header {
  margin-bottom: var(--sp-16);
}

.products-header h2 {
  max-width: 540px;
}

.products-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 640px) {
  .products-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .products-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .products-row {
    grid-template-columns: repeat(5, 1fr);
  }
}

.product-card {
  padding: var(--sp-8);
  border: 1px solid var(--clr-rule-dark);
  margin: -1px -1px 0 0; /* overlap borders */
  transition: background var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  background: rgba(255,255,255,0.03);
}

.product-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--clr-accent);
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-6);
  display: block;
}

.product-name {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--clr-white);
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
  margin-bottom: var(--sp-4);
}

.product-desc {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

/* ─────────────────────────────────────────────────────────────
   OPERATING PRINCIPLES
   ───────────────────────────────────────────────────────────── */
.principles {
  background: var(--clr-surface-2);
  padding: var(--sp-30) 0;
  border-top: 1px solid var(--clr-rule-dark);
  border-bottom: 1px solid var(--clr-rule-dark);
}

.principles-header {
  margin-bottom: var(--sp-16);
}

.principles-header h2 {
  max-width: 540px;
}

.principles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 640px) {
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .principles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.principle-tile {
  padding: var(--sp-8) var(--sp-8);
  border: 1px solid var(--clr-rule-dark);
  /* square tiles, no border-radius, no shadow */
  margin: -1px -1px 0 0; /* overlap borders */
  transition: background var(--t-base) var(--ease);
}

.principle-tile:hover {
  background: rgba(255,255,255,0.03);
}

.principle-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--clr-accent);
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-6);
  display: block;
}

.principle-name {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--clr-white);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
  margin-bottom: var(--sp-4);
}

.principle-desc {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

/* ─────────────────────────────────────────────────────────────
   WHAT WE STAND AGAINST
   ───────────────────────────────────────────────────────────── */
.against {
  background: var(--clr-off-white);
  color: var(--clr-black);
  padding: var(--sp-30) 0;
}

.against .eyebrow {
  color: var(--clr-accent);
}

.against h2 {
  color: var(--clr-black);
  margin-bottom: var(--sp-16);
  max-width: 480px;
}

.against-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 768px) {
  .against-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.against-item {
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--clr-rule-light);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

.against-item:first-child,
.against-item:nth-child(2) {
  border-top: none;
}

@media (max-width: 767px) {
  .against-item:nth-child(2) {
    border-top: 1px solid var(--clr-rule-light);
  }
}

.against-dash {
  color: var(--clr-accent);
  font-weight: 700;
  font-size: var(--fs-base);
  flex-shrink: 0;
  margin-top: 2px;
}

.against-text {
  font-size: var(--fs-base);
  color: var(--clr-black);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────
   CLOSING CTA BAND
   ───────────────────────────────────────────────────────────── */
.closing-cta {
  position: relative;
  background: var(--clr-bg);
  padding: var(--sp-40) 0;
  overflow: hidden;
  text-align: left;
}

.closing-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.closing-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.12;
}

.closing-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(24,24,24,0.58);
}

.closing-content {
  position: relative;
  z-index: 1;
}

.closing-content h2 {
  margin-bottom: var(--sp-10);
  max-width: 780px;
  color: var(--clr-white);
}

.closing-rule {
  width: 40px;
  height: 2px;
  background: var(--clr-accent);
  margin-bottom: var(--sp-10);
}

/* ─────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-rule-dark);
  padding: var(--sp-16) 0 var(--sp-12);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
  }
}

.footer-brand img {
  height: 24px;
  width: auto;
  margin-bottom: var(--sp-6);
}

.footer-brand p {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.62);
  line-height: 1.65;
  max-width: 280px;
}

.footer-contact h4,
.footer-founders h4 {
  font-size: var(--fs-overline);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--sp-6);
}

.footer-contact a,
.footer-founders a {
  display: block;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.62);
  line-height: 1.8;
  transition: color var(--t-fast) var(--ease);
}

.footer-contact a:hover,
.footer-founders a:hover {
  color: var(--clr-white);
}

.footer-bottom {
  margin-top: var(--sp-12);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--clr-rule-dark);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-4);
}

.footer-bottom p {
  font-size: var(--fs-caption);
  color: rgba(255,255,255,0.55);
}

/* ─────────────────────────────────────────────────────────────
   FADE-UP ANIMATION (purely additive)
   Elements default to fully visible. The `visible` class added by
   main.js merely plays a short entrance animation on top - if JS
   never runs, or the observer never fires, the content is still
   readable. Nothing on the page can get stuck invisible.
   ───────────────────────────────────────────────────────────── */
.fade-up {
  /* visible by default - no opacity:0 default state */
}

.fade-up.visible {
  animation: fade-up-in 0.6s var(--ease) backwards;
}

.fade-up.delay-1.visible { animation-delay: 0.08s; }
.fade-up.delay-2.visible { animation-delay: 0.16s; }
.fade-up.delay-3.visible { animation-delay: 0.24s; }
.fade-up.delay-4.visible { animation-delay: 0.32s; }
.fade-up.delay-5.visible { animation-delay: 0.40s; }

@keyframes fade-up-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Reduced motion - honour OS preference */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ─────────────────────────────────────────────────────────────
   SECTION TRANSITION HELPERS
   ───────────────────────────────────────────────────────────── */
/* dark → light transitions use these borders to keep a clean seam */
.seam-top-dark {
  border-top: 1px solid var(--clr-rule-dark);
}

.seam-bottom-dark {
  border-bottom: 1px solid var(--clr-rule-dark);
}

/* ─────────────────────────────────────────────────────────────
   SKIP LINK (accessibility)
   ───────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--clr-accent);
  color: var(--clr-black);
  padding: var(--sp-3) var(--sp-6);
  font-size: var(--fs-sm);
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* ─────────────────────────────────────────────────────────────
   CONNECTOR MARQUEE - single-row infinite carousel under modernAIse
   No tile boxes. Logos rendered via CSS mask so we control the colour:
   simpleicons SVGs become a flat shape, tinted darker grey on black,
   pausing on hover.
   ───────────────────────────────────────────────────────────── */
.marquee {
  margin-top: var(--sp-20);
  padding-top: var(--sp-12);
  border-top: 1px solid var(--clr-rule-dark);
}

.marquee-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-muted);
  font-weight: 600;
  margin-bottom: var(--sp-8);
}

.marquee-window {
  overflow: hidden;
  position: relative;
  /* edge fade - keeps the loop seam invisible */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee-scroll 42s linear infinite;
  will-change: transform;
}

.marquee-window:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.m-logo {
  flex: 0 0 auto;
  width: auto;
  max-width: 110px;
  height: 28px;
  object-fit: contain;
  /* Flatten the SimpleIcons black-on-transparent SVGs to a muted grey.
     brightness(0) collapses to pure black silhouette, invert(1) flips to
     white, opacity dims to grey. */
  filter: brightness(0) invert(1) opacity(0.42);
  transition: filter 220ms ease;
}

.marquee-track:hover .m-logo:hover {
  filter: brightness(0) invert(1) opacity(0.85);
}

.marquee-note {
  margin-top: var(--sp-8);
  font-size: 13px;
  color: var(--clr-muted);
  letter-spacing: 0.01em;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

@media (max-width: 640px) {
  .m-logo { width: 76px; height: 24px; }
  .marquee-track { gap: 40px; animation-duration: 36s; }
}

/* ─────────────────────────────────────────────────────────────
   FLOW SECTION wrapper - when .flow is its own full-width section
   (sits between Stand-Against and Closing-CTA)
   ───────────────────────────────────────────────────────────── */
.flow-section {
  background: var(--clr-bg);
  padding: var(--sp-20) 0 var(--sp-16);
  border-top: 1px solid var(--clr-rule-dark);
}
.flow-section .flow {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* ─────────────────────────────────────────────────────────────
   THE PRACTICE - Discover → Data → Analyse → modernAIse → Repeat
   Terracotta-outlined squares connected by hairline arrows.
   Last node is the loop signifier - closes the cycle.
   ───────────────────────────────────────────────────────────── */
.flow {
  margin-top: var(--sp-16);
  padding-top: var(--sp-12);
  border-top: 1px solid var(--clr-rule-dark);
}

.flow-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-accent);
  font-weight: 600;
  margin-bottom: var(--sp-8);
}

.flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  color: var(--clr-accent);
}

.flow-step {
  flex: 1 1 0;
  min-width: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--sp-6) var(--sp-6);
  border: 1px solid var(--clr-accent);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  transition: background 200ms ease;
}

.flow-step:hover {
  background: rgba(255, 255, 255, 0.10);
}

.flow-step .flow-num {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--clr-accent);
  margin-bottom: var(--sp-2);
  opacity: 0.85;
  font-weight: 500;
}

.flow-step .flow-label {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 20px;
  line-height: 1.1;
  color: var(--clr-white);
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: var(--sp-1);
}

.flow-step .flow-cap {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 11px;
  line-height: 1.35;
  color: var(--clr-muted);
  letter-spacing: 0.02em;
}

.flow-step-emphasis {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
}
.flow-step-emphasis:hover {
  background: var(--clr-accent-hov);
}
.flow-step-emphasis .flow-num,
.flow-step-emphasis .flow-cap {
  color: rgba(0, 0, 0, 0.65);
}
.flow-step-emphasis .flow-label {
  color: var(--clr-black);
}

.flow-step-loop {
  border-style: dashed;
  background: transparent;
}
.flow-step-loop:hover {
  background: rgba(255, 255, 255, 0.06);
}
.flow-loop-icon {
  width: 18px;
  height: 18px;
  color: var(--clr-accent);
  margin-bottom: var(--sp-2);
}

.flow-arrow {
  flex: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent);
}
.flow-arrow svg {
  width: 28px;
  height: 12px;
  opacity: 0.85;
}

@media (max-width: 720px) {
  .flow-steps {
    flex-direction: column;
  }
  .flow-step {
    width: 100%;
    flex: 0 0 auto;
  }
  .flow-arrow {
    flex: 0 0 auto;
    padding: var(--sp-2) 0;
    transform: rotate(90deg);
  }
}

/* ─────────────────────────────────────────────────────────────
   FLOW - COMPACT VARIANT
   Vertical stack of steps with a thin terracotta rail down the
   left. Sits inside the narrow modernAIse copy column, between
   the misconception callout and the Book-a-conversation button.
   ───────────────────────────────────────────────────────────── */
.flow-compact {
  margin-top: var(--sp-10);
  margin-bottom: 0;
  padding: var(--sp-8) 0 0;
  border-top: 1px solid var(--clr-rule-dark);
  max-width: 520px;
}

.flow-compact .flow-eyebrow {
  margin-bottom: var(--sp-6);
}

.flow-compact .flow-steps {
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 0;
  border: 0;
}

.flow-compact .flow-step {
  flex: 0 0 auto;
  min-width: 0;
  width: 100%;
  flex-direction: row;
  align-items: center;
  padding: var(--sp-4) var(--sp-6);
  border: 1px solid var(--clr-accent);
  background: rgba(255, 255, 255, 0.04);
  gap: var(--sp-4);
}

/* Step 04 keeps its filled-terracotta emphasis even in compact mode */
.flow-compact .flow-step-emphasis {
  background: var(--clr-accent);
}
.flow-compact .flow-step-emphasis .flow-num,
.flow-compact .flow-step-emphasis .flow-label,
.flow-compact .flow-step-emphasis .flow-cap {
  color: var(--clr-black);
}
.flow-compact .flow-step-emphasis .flow-num,
.flow-compact .flow-step-emphasis .flow-cap {
  color: rgba(0, 0, 0, 0.7);
}

.flow-compact .flow-step + .flow-step {
  border-top: 0;
}

.flow-compact .flow-step .flow-num {
  margin: 0;
  font-size: 10px;
  min-width: 22px;
  letter-spacing: 0.18em;
}

.flow-compact .flow-step .flow-label {
  margin: 0;
  font-size: 17px;
  flex: 0 0 auto;
}

.flow-compact .flow-step .flow-cap {
  margin-left: auto;
  text-align: right;
  font-size: 11px;
  max-width: 50%;
}

.flow-compact .flow-step-emphasis .flow-cap {
  color: rgba(0,0,0,0.65);
}

.flow-compact .flow-loop-icon {
  width: 14px;
  height: 14px;
  margin: 0;
}

/* Hide the horizontal arrow connectors entirely in compact mode */
.flow-compact .flow-arrow { display: none; }

@media (max-width: 520px) {
  .flow-compact .flow-step .flow-cap {
    display: none;
  }
}

/* ─────────────────────────────────────────────────────────────
   AUTH - stubbed login / sign-up (login.html)
   Centred card on the lifted dark surface. SSO + email/password.
   No real authentication - preview placeholder only.
   ───────────────────────────────────────────────────────────── */
.auth-body {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-12) var(--sp-6);
  background: var(--clr-bg);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--clr-rule-dark);
  background: var(--clr-surface);
  padding: var(--sp-12) var(--sp-10) var(--sp-10);
}

.auth-logo { display: inline-block; margin-bottom: var(--sp-10); }
.auth-logo img { height: 28px; width: auto; }

.auth-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-3xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--clr-white);
  margin-bottom: var(--sp-2);
}

.auth-sub {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: var(--sp-8);
}

.auth-sso { display: flex; flex-direction: column; gap: var(--sp-3); }

.auth-sso-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  width: 100%;
  padding: 13px 20px;
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--radius-btn);
  background: rgba(255,255,255,0.02);
  color: var(--clr-white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.auth-sso-btn:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.40); }
.auth-sso-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin: var(--sp-8) 0;
  color: var(--clr-muted);
  font-size: var(--fs-caption);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--clr-rule-dark);
}

.auth-form { display: flex; flex-direction: column; gap: var(--sp-5); }

.auth-field { display: flex; flex-direction: column; gap: var(--sp-2); }
.auth-field label {
  font-size: var(--fs-overline);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
}
.auth-field input {
  width: 100%;
  padding: 12px 14px;
  background: var(--clr-bg);
  border: 1px solid var(--clr-rule-dark);
  border-radius: var(--radius-btn);
  color: var(--clr-white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-base);
  transition: border-color var(--t-fast) var(--ease);
}
.auth-field input:focus { outline: none; border-color: rgba(255,255,255,0.45); }

.auth-submit { width: 100%; margin-top: var(--sp-2); }

.auth-toggle {
  margin-top: var(--sp-8);
  text-align: center;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.55);
}
.auth-toggle a {
  color: var(--clr-white);
  border-bottom: 1px solid rgba(255,255,255,0.35);
  padding-bottom: 1px;
}
.auth-toggle a:hover { border-bottom-color: var(--clr-white); }

.auth-msg {
  margin-top: var(--sp-5);
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--clr-rule-dark);
  background: rgba(255,255,255,0.04);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.78);
  text-align: center;
  display: none;
}
.auth-msg.show { display: block; }

.auth-stub-note {
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--clr-rule-dark);
  font-size: var(--fs-caption);
  color: var(--clr-muted);
  text-align: center;
  line-height: 1.5;
}
.auth-back {
  display: inline-block;
  margin-top: var(--sp-4);
  font-size: var(--fs-caption);
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}
.auth-back:hover { color: var(--clr-white); }

/* ─────────────────────────────────────────────────────────────
   COOKIE DISCLAIMER - fixed bottom bar, injected by
   assets/cookie-consent.js. Choice persisted in localStorage.
   ───────────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 600;
  background: rgba(24,24,24,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--clr-rule-dark);
  padding: var(--sp-5) var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
  transform: translateY(110%);
  transition: transform 300ms var(--ease);
}
.cookie-banner.show { transform: translateY(0); }

.cookie-text {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.70);
  line-height: 1.6;
  max-width: 720px;
}

.cookie-actions {
  display: flex;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.cookie-banner .btn {
  padding: 11px 22px;
  font-size: var(--fs-caption);
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: none; }
}

@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-actions { justify-content: center; }
}

/* ─────────────────────────────────────────────────────────────
   CAROUSEL - modernAIse section (2 slides)
   ───────────────────────────────────────────────────────────── */
.carousel {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: var(--sp-3);
}
.carousel-main { flex: 1 1 auto; min-width: 0; }

.carousel-viewport { overflow: hidden; position: relative; }

.carousel-track {
  display: flex;
  transition: transform 480ms var(--ease);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  /* keep slides from stretching to the tallest one's full bleed weirdly */
  align-self: flex-start;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track { transition: none; }
}

/* Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  margin-top: var(--sp-10);
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--radius-btn);
  color: var(--clr-white);
  font-size: 22px;
  line-height: 1;
  background: rgba(255,255,255,0.02);
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.carousel-arrow:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.45); }

.carousel-dots { display: flex; align-items: center; gap: var(--sp-3); }

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.carousel-dot:hover { background: rgba(255,255,255,0.5); }
.carousel-dot.is-active { background: var(--clr-white); transform: scale(1.25); }

/* Side zones - flank the carousel OUTSIDE the slide area.
   Chevron is dim by default and lights up on hover. */
.carousel-zone {
  flex: 0 0 52px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-btn);
  transition: background var(--t-fast) var(--ease);
}
.carousel-zone:hover,
.carousel-zone:focus-visible { background: rgba(255,255,255,0.05); outline: none; }

.carousel-zone-ico {
  font-size: 38px;
  line-height: 1;
  color: rgba(255,255,255,0.45);
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.carousel-zone:hover .carousel-zone-ico,
.carousel-zone:focus-visible .carousel-zone-ico {
  color: var(--clr-white);
  transform: scale(1.18);
}

@media (max-width: 600px) {
  .carousel { gap: var(--sp-1); }
  .carousel-zone { flex-basis: 34px; }
  .carousel-zone-ico { font-size: 28px; }
}


/* ─────────────────────────────────────────────────────────────
   PLATFORMS - carousel slide 2 (two product shots, edge-blended)
   ───────────────────────────────────────────────────────────── */
.platforms-title {
  max-width: 720px;
  margin-bottom: var(--sp-16);
  color: var(--clr-white);
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}

@media (min-width: 768px) {
  .platform-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-10); }
}

.platform-card {
  border: 1px solid var(--clr-rule-dark);
  background: var(--clr-surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--t-base) var(--ease);
}
.platform-card:hover { border-color: rgba(255,255,255,0.22); }

/* Product screenshot - fades (blends) into the card surface at the bottom,
   ElevenLabs-style. Kept in colour (opts out of the monochrome lockdown). */
.platform-shot {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #FFFFFF;
}

.platform-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  filter: none;            /* override global grayscale - show the live UI in colour */
  /* feather the bottom + right edges so the shot melts into the card */
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 100%),
                      linear-gradient(to right, #000 88%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 58%, transparent 100%),
                      linear-gradient(to right, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}

/* Gradient veil that ties the image bottom into the card colour */
.platform-shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 45%, var(--clr-surface) 100%);
  pointer-events: none;
}

.platform-body {
  padding: var(--sp-8) var(--sp-8) var(--sp-10);
  margin-top: -1px; /* sit flush against the blended image */
}

.platform-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--clr-white);
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-3);
}

.platform-desc {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.60);
  line-height: 1.65;
}

/* ─────────────────────────────────────────────────────────────
   FEEDBACK PASS (2026-06-08) - additive components
   Hero plain line · problem stat band · team stats · portfolio
   context · featured mobilitAI + ecosystem
   ───────────────────────────────────────────────────────────── */

/* Hero - plain-English clarifier under the subline */
.hero-plain {
  max-width: 560px;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.52);
  line-height: 1.7;
  margin-bottom: var(--sp-10);
}

/* ── PROBLEM STAT BAND - 70% / ≠ / Gap ── */
.statband-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
}
@media (min-width: 768px) {
  .statband-grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
}
.statband-item {
  padding: var(--sp-4) 0;
}
@media (min-width: 768px) {
  .statband-item { padding: 0 var(--sp-10); border-right: 1px solid var(--clr-rule-dark); }
  .statband-item:first-child { padding-left: 0; }
  .statband-item:last-child { border-right: none; }
}
.stat-fig {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3.5rem, 7vw, 5.25rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--clr-white);
  margin-bottom: var(--sp-4);
}
.stat-fig-symbol { font-weight: 400; }
.stat-fig-word { letter-spacing: -0.03em; }
.stat-head {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--clr-white);
  margin-bottom: var(--sp-3);
}
.stat-body {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.60);
  line-height: 1.7;
  max-width: 32ch;
}

/* ── TEAM STATS (on off-white founders section) ── */
.team-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-16);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid var(--clr-rule-light);
}
@media (min-width: 640px) {
  .team-stats { grid-template-columns: repeat(3, 1fr); gap: var(--sp-10); }
}
.team-stat-fig {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.75rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--clr-black);
  margin-bottom: var(--sp-3);
}
.team-stat-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-muted-lt);
  letter-spacing: 0.01em;
  max-width: 22ch;
}

/* ── PORTFOLIO - lede + per-product sector tag ── */
.products-lede {
  margin-top: var(--sp-6);
  max-width: 620px;
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
}
.product-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  opacity: 0.85;
  margin-bottom: var(--sp-4);
}

/* ── FEATURED MOBILITAI + ECOSYSTEM ── */
.mobilitai {
  background: var(--clr-bg);
  padding: var(--sp-30) 0;
  border-top: 1px solid var(--clr-rule-dark);
}
.mobilitai-intro { max-width: var(--max-w-text); margin-bottom: var(--sp-16); }
.mobilitai-intro h2 { margin-bottom: var(--sp-6); }
.mobilitai-sub {
  font-size: clamp(var(--fs-base), 1.4vw, var(--fs-lg));
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}
.mobilitai-eco-head { margin-bottom: var(--sp-10); }
.mobilitai-eco-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-2xl);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--clr-white);
  margin-bottom: var(--sp-3);
}
.mobilitai-eco-lede {
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  max-width: 60ch;
}
.eco-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 560px) { .eco-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .eco-grid { grid-template-columns: repeat(3, 1fr); } }
.eco-tile {
  padding: var(--sp-8);
  border: 1px solid var(--clr-rule-dark);
  margin: -1px -1px 0 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-lg);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.88);
  transition: background var(--t-base) var(--ease);
}
.eco-tile:hover { background: rgba(255,255,255,0.03); }
.mobilitai-cta { margin-top: var(--sp-12); }

/* ─────────────────────────────────────────────────────────────
   PROOF - case studies + testimonials (placeholder-ready)
   ───────────────────────────────────────────────────────────── */
.proof {
  background: var(--clr-bg);
  padding: var(--sp-30) 0;
  border-top: 1px solid var(--clr-rule-dark);
}
.proof-header { margin-bottom: var(--sp-16); }
.proof-lede {
  margin-top: var(--sp-6);
  max-width: 620px;
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
}

/* Case study grid */
.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 768px)  { .case-grid { grid-template-columns: repeat(3, 1fr); } }
.case-card {
  position: relative;
  padding: var(--sp-10) var(--sp-8) var(--sp-8);
  border: 1px solid var(--clr-rule-dark);
  margin: -1px -1px 0 0;
  display: flex;
  flex-direction: column;
  transition: background var(--t-base) var(--ease);
}
.case-card:hover { background: rgba(255,255,255,0.03); }
.case-pill {
  position: absolute;
  top: var(--sp-6);
  right: var(--sp-6);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  border: 1px solid var(--clr-rule-dark);
  padding: 4px 8px;
}
.case-sector {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  opacity: 0.85;
  margin-bottom: var(--sp-6);
}
.case-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--clr-white);
  margin-bottom: var(--sp-4);
}
.case-desc {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: var(--sp-8);
  flex: 1 1 auto;
}
.case-metric {
  padding-top: var(--sp-6);
  border-top: 1px solid var(--clr-rule-dark);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
}
.case-metric-fig {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-3xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--clr-white);
  line-height: 1;
}

/* Testimonials */
.testimonials {
  margin-top: var(--sp-24);
  padding-top: var(--sp-16);
  border-top: 1px solid var(--clr-rule-dark);
}
.testimonials-title {
  font-size: var(--fs-overline);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--sp-12);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}
@media (min-width: 768px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-10); } }
.testimonial-card {
  border-left: 2px solid var(--clr-accent);
  padding: var(--sp-2) 0 var(--sp-2) var(--sp-8);
}
.testimonial-quote {
  font-size: var(--fs-xl);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.88);
  margin-bottom: var(--sp-6);
}
.testimonial-attr { display: flex; flex-direction: column; gap: 2px; }
.testimonial-name {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-white);
  letter-spacing: 0.01em;
}
.testimonial-org {
  font-size: var(--fs-caption);
  color: var(--clr-muted);
  letter-spacing: 0.02em;
}

/* ─────────────────────────────────────────────────────────────
   PORTFOLIO ORBIT - modernAIse hub + verticals rotating like a
   ball bearing. Ring spins; satellite inners counter-spin to stay
   upright. Pauses on hover. Decorative; .orbit-legend holds content.
   ───────────────────────────────────────────────────────────── */
.orbit {
  /* floor scales with viewport so the ring never overflows the content column on phones */
  --size: clamp(260px, 80vw, 540px);
  --sat:  clamp(96px, 11vw, 132px);
  --hub:  clamp(128px, 17vw, 188px);
  --r:    calc(var(--size) / 2 - var(--sat) / 2);
  position: relative;
  width: var(--size);
  height: var(--size);
  margin: var(--sp-8) auto var(--sp-20);
}

/* Bearing race - faint full-width ring the satellites sit on */
.orbit-track {
  position: absolute;
  inset: calc(var(--sat) / 2);
  border: 1px solid var(--clr-rule-dark);
  border-radius: 50%;
}

/* Hub - modernAIse, centred, filled (the engine) */
.orbit-hub {
  position: absolute;
  top: 50%; left: 50%;
  width: var(--hub);
  height: var(--hub);
  margin: calc(var(--hub) / -2) 0 0 calc(var(--hub) / -2);
  border-radius: 50%;
  background: var(--clr-accent);
  color: var(--clr-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
  padding: var(--sp-4);
}
.orbit-hub-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(var(--fs-lg), 2.2vw, var(--fs-2xl));
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.orbit-hub-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
  margin-top: var(--sp-2);
}

/* Ring carries the satellites and rotates */
.orbit-ring {
  position: absolute;
  inset: 0;
  animation: orbit-spin 48s linear infinite;
}

.orbit-sat {
  position: absolute;
  top: 50%; left: 50%;
  width: var(--sat);
  height: var(--sat);
  margin: calc(var(--sat) / -2) 0 0 calc(var(--sat) / -2);
  transform: rotate(var(--angle)) translate(var(--r)) rotate(calc(-1 * var(--angle)));
}

/* Inner counter-rotates so the label stays upright through the spin */
.orbit-sat-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--clr-rule-dark);
  background: var(--clr-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-3);
  animation: orbit-spin-rev 48s linear infinite;
  transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.orbit-sat-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(var(--fs-sm), 1.4vw, var(--fs-lg));
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--clr-white);
  line-height: 1.1;
}
.orbit-sat-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-top: var(--sp-1);
}

/* Stop the bearing on hover; brighten the touched node */
.orbit:hover .orbit-ring,
.orbit:hover .orbit-sat-inner { animation-play-state: paused; }
.orbit-sat:hover .orbit-sat-inner {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.45);
}

@keyframes orbit-spin     { to { transform: rotate(360deg); } }
@keyframes orbit-spin-rev { to { transform: rotate(-360deg); } }

@media (prefers-reduced-motion: reduce) {
  .orbit-ring, .orbit-sat-inner { animation: none; }
}

/* Legend - descriptive, lives below the orbit */
.orbit-legend {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--clr-rule-dark);
}
@media (min-width: 640px)  { .orbit-legend { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .orbit-legend { grid-template-columns: repeat(5, 1fr); } }
.ol-item {
  padding: var(--sp-8);
  border-bottom: 1px solid var(--clr-rule-dark);
  border-right: 1px solid var(--clr-rule-dark);
  margin: 0 -1px -1px 0;
}
.ol-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--clr-white);
  margin-bottom: var(--sp-3);
}
.ol-tag {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  opacity: 0.85;
  margin-top: var(--sp-1);
}
.ol-desc {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────
   ORBIT ARCS - replaces the thin track with 4 thick arc segments
   forming a broken ring, counter-rotating behind the satellites.
   ───────────────────────────────────────────────────────────── */
.orbit-track { display: none; } /* superseded by .orbit-arcs */

.orbit-arcs {
  position: absolute;
  inset: calc(var(--sat) / 2);
  border-radius: 50%;
  z-index: 0;
  background: conic-gradient(from 0deg,
    rgba(255,255,255,0.30) 0 62deg,  transparent 62deg 90deg,
    rgba(255,255,255,0.30) 90deg 152deg,  transparent 152deg 180deg,
    rgba(255,255,255,0.30) 180deg 242deg, transparent 242deg 270deg,
    rgba(255,255,255,0.30) 270deg 332deg, transparent 332deg 360deg);
  /* donut mask - keep only a thick outer band */
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 16px), #000 calc(100% - 16px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 16px), #000 calc(100% - 16px));
  animation: orbit-spin-rev 30s linear infinite;
}
.orbit:hover .orbit-arcs { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .orbit-arcs { animation: none; } }

/* ─────────────────────────────────────────────────────────────
   ORBIT SVG SEGMENTS - 4 wide trapezoidal (annular) segments that
   carry their own labels. Replaces the round satellite bubbles.
   ───────────────────────────────────────────────────────────── */
.orbit { --hub: clamp(150px, 24vw, 248px); }

.orbit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: visible;
}
.orbit-seg {
  fill: rgba(255,255,255,0.06);
  stroke: rgba(255,255,255,0.22);
  stroke-width: 1;
  transition: fill var(--t-base) var(--ease), stroke var(--t-base) var(--ease);
}
.orbit-seg:hover {
  fill: rgba(255,255,255,0.12);
  stroke: rgba(255,255,255,0.50);
}
.orbit-seg-text { font-family: 'Space Grotesk', sans-serif; dominant-baseline: middle; }
.ost-name {
  fill: var(--clr-white);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.ost-tag {
  fill: var(--clr-muted);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────────────────────
   ORBIT - interactive (click to reveal) + detail panel
   ───────────────────────────────────────────────────────────── */
.orbit-seg, .orbit-hub { cursor: pointer; }
.orbit-seg:focus-visible,
.orbit-hub:focus-visible { outline: 2px solid var(--clr-accent); outline-offset: 3px; }
.orbit-seg.is-active {
  fill: rgba(255,255,255,0.16);
  stroke: rgba(255,255,255,0.60);
}
.orbit-hub.is-active { box-shadow: 0 0 0 4px rgba(255,255,255,0.22); }

.orbit-detail {
  max-width: 640px;
  margin: var(--sp-4) auto 0;
  text-align: center;
  min-height: 104px;
}
.od-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-2xl);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--clr-white);
  margin-bottom: var(--sp-3);
}
.od-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  opacity: 0.85;
  margin-left: var(--sp-2);
  vertical-align: middle;
}
.od-desc {
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.60);
  line-height: 1.7;
}

/* ── Hero inverted to light: black text on white (office image removed) ── */
.hero { background: var(--clr-white); color: var(--clr-black); }
.hero-eyebrow { color: var(--clr-black); }
.hero-rule { background: var(--clr-black); }
.hero-headline, .hero-headline em { color: var(--clr-black); }
.hero-subline { color: rgba(0,0,0,0.72); }
.hero .btn-primary { background: var(--clr-black); border-color: var(--clr-black); color: var(--clr-white); }
.hero .btn-primary:hover { background: #222222; border-color: #222222; color: var(--clr-white); }

/* Women-founded/UK Based credential strip under the (light) Team section */
.founders .proofbar-list { margin-top: var(--sp-12); }
.founders .proofbar-item { color: var(--clr-muted-lt); }
.founders .proofbar-item + .proofbar-item::before { background: rgba(0,0,0,0.30); }

/* modernAIse slide 1: The practice moved into the visual column (image removed); signal panel centered under it */
.modernaise-visual { align-items: center; }
.modernaise-visual .flow-compact { margin-top: 0; border-top: 0; padding-top: 0; width: 100%; max-width: 520px; }
.modernaise-visual .signal-panel { width: 100%; max-width: 520px; }

/* Founder cards: portrait inline with name + role (shortens the Team section) */
.founder-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "portrait name"
    "portrait role"
    "quote    quote"
    "linkedin linkedin";
  column-gap: var(--sp-4);
}
.founder-card .founder-portrait { grid-area: portrait; margin-bottom: 0; align-self: center; }
.founder-card .founder-name { grid-area: name; align-self: end; }
.founder-card .founder-role { grid-area: role; align-self: start; }
.founder-card .founder-quote { grid-area: quote; }
.founder-card .founder-linkedin { grid-area: linkedin; }


/* ─────────────────────────────────────────────────────────────
   TEAM - "Growing the team": open / unnamed role placeholder cards
   Sits in the light .founders section, below the named founders.
   ───────────────────────────────────────────────────────────── */
.team-open {
  margin-top: var(--sp-16);
  padding-top: var(--sp-12);
  border-top: 1px solid var(--clr-rule-light);
}

.team-open .eyebrow {
  display: block;
  color: var(--clr-black);
  margin-bottom: var(--sp-8);
}

.roles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

@media (min-width: 600px) {
  .roles-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); }
}

.role-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-10);
  background: rgba(0,0,0,0.015);
  border: 1px dashed rgba(0,0,0,0.22);
  /* Square/geometric - no border-radius per brand guidelines */
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

.role-card:hover {
  border-color: rgba(0,0,0,0.42);
  background: rgba(0,0,0,0.035);
}

.role-card-soon { background: rgba(0,0,0,0.03); }

.role-avatar {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: var(--clr-black);
  border: 1px solid rgba(0,0,0,0.20);
}

.role-avatar svg {
  width: 32px;
  height: 32px;
  color: rgba(255,255,255,0.50);
}

.role-title {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--clr-black);
}

.role-meta {
  margin-top: calc(-1 * var(--sp-2));
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--clr-muted-lt);
}

.role-status {
  position: absolute;
  top: var(--sp-6);
  right: var(--sp-6);
  font-size: var(--fs-overline);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-black);
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.28);
  padding: 4px 10px;
  line-height: 1;
}


/* Unfilled founder seat (CTO): silhouette portrait, dashed frame cue */
.founder-portrait-ph {
  display: grid;
  place-items: center;
}
.founder-portrait-ph svg {
  width: 34px;
  height: 34px;
  color: rgba(255,255,255,0.55);
}
.founders .founder-card-soon .founder-portrait {
  border-style: dashed;
  border-color: rgba(0,0,0,0.30);
}

/* ─────────────────────────────────────────────────────────────
   OPERATING MODEL - "Transforming the way we execute transformation"
   Dark analytical section, one row of four tiles (responsive).
   ───────────────────────────────────────────────────────────── */
.transform-model {
  background: var(--clr-surface-2);
  padding: var(--sp-30) 0;
  border-top: 1px solid var(--clr-rule-dark);
  border-bottom: 1px solid var(--clr-rule-dark);
}

.transform-header {
  max-width: 640px;
  margin-bottom: var(--sp-16);
}

.transform-header .eyebrow { color: var(--clr-muted); }

.transform-header h2 {
  color: var(--clr-white);
  margin-bottom: var(--sp-6);
}

.transform-header p {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.model-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 600px) {
  .model-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .model-grid { grid-template-columns: repeat(4, 1fr); }
}

.model-tile {
  padding: var(--sp-8);
  border: 1px solid var(--clr-rule-dark);
  margin: -1px -1px 0 0; /* overlap borders, matches .principle-tile */
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: background var(--t-base) var(--ease);
}

.model-tile:hover { background: rgba(255,255,255,0.03); }

.model-phase {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--clr-white);
  line-height: 1.25;
}

.model-today {
  font-size: var(--fs-sm);
  color: var(--clr-muted);
}

.model-target {
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.70);
  line-height: 1.3;
}

.model-pct {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-5xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--clr-white);
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.model-levers {
  margin-top: auto;
  padding-top: var(--sp-4);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.model-note {
  margin-top: var(--sp-10);
  font-size: var(--fs-sm);
  color: var(--clr-muted);
  font-style: italic;
  max-width: 640px;
}

/* ─────────────────────────────────────────────────────────────
   ETHICAL AI - light section, responsible-by-design principles.
   ───────────────────────────────────────────────────────────── */
/* Mirrors the "How modernAIse works" (.principles) treatment:
   dark grey surface, bordered square tiles, Space Grotesk headings. */
.ethical {
  background: var(--clr-surface-2);
  padding: var(--sp-30) 0;
  border-top: 1px solid var(--clr-rule-dark);
  border-bottom: 1px solid var(--clr-rule-dark);
}

.ethical-intro {
  max-width: var(--max-w-text);
  margin-bottom: var(--sp-16);
}

.ethical-intro .eyebrow { color: var(--clr-muted); }

.ethical-intro h2 {
  color: var(--clr-white);
  margin-bottom: var(--sp-6);
}

.ethical-intro p {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.ethical-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .ethical-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .ethical-grid { grid-template-columns: repeat(4, 1fr); }
}

.ethical-tile {
  padding: var(--sp-8) var(--sp-8);
  border: 1px solid var(--clr-rule-dark);
  margin: -1px -1px 0 0; /* overlap borders, matches .principle-tile */
  transition: background var(--t-base) var(--ease);
}

.ethical-tile:hover { background: rgba(255,255,255,0.03); }

.ethical-name {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--clr-white);
  font-optical-sizing: auto;
  margin-bottom: var(--sp-4);
}

.ethical-desc {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

/* ────────────────────────────────────────────
   PARTNERS, network logo wall with captions
   White plate behind each (full-colour) logo,
   dark card body carries name + one-line desc.
   ──────────────────────────────────────────── */
.partners {
  background: var(--clr-bg);
  padding: var(--sp-30) 0 var(--sp-20);
  border-top: 1px solid var(--clr-rule-dark);
}

.partners-header {
  margin-bottom: var(--sp-16);
}

.partners-lede {
  margin-top: var(--sp-6);
  max-width: 620px;
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
}

.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 560px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
}

.partner-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--clr-rule-dark);
  background: var(--clr-surface);
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}

.partner-card:hover {
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-3px);
}

.partner-plate {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  height: 120px;
  padding: var(--sp-6) var(--sp-8);
}

.partner-plate img {
  max-height: 56px;
  max-width: 82%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;   /* opt out of the sitewide monochrome lockdown: partners show in brand colour */
}

.partner-body {
  padding: var(--sp-6) var(--sp-8) var(--sp-8);
  border-top: 1px solid var(--clr-rule-dark);
}

.partner-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--clr-white);
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-2);
}

.partner-desc {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.60);
  line-height: 1.6;
}
