/* ============================================================
   MAGION AI — Site Stylesheet
   Built to Will's brief: investor-deck palette, Inter primary,
   Lora for editorial pull quotes. Customer homepage + partner page.
   Last updated: 2026-04-10
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Lora:ital,wght@0,400;0,500;1,400;1,500&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* Primary palette — locked to investor deck */
  --navy: #0A1547;
  --navy-deep: #060B1F;
  --navy-2: #14237A;
  --gold: #F0B429;
  --gold-2: #FFC845;
  --royal-blue: #2B35CC;
  --electric-blue: #4066FF;
  --coral: #E8614D;
  --ivory: #FAFBFF;
  --slate: #64748B;
  --slate-light: #94A3B8;
  --charcoal: #1E293B;
  --line: #E5E7EF;
  --line-dark: rgba(255,255,255,0.10);
  --glass: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.14);

  /* Per-client accent (used in case study cards) */
  --accent-barclays: #00AEEF;
  --accent-boc: #2B6CB0;
  --accent-kpmg: #00338D;

  /* Type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Lora', Georgia, serif;

  /* Layout */
  --container: 1200px;
  --container-narrow: 760px;
  --container-wide: 1400px;
  --section-pad: clamp(4rem, 8vw, 7rem);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--ivory);
  overflow-x: hidden;
  font-feature-settings: "kern" 1, "ss01" 1;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

/* ---------- Type ---------- */
h1, h2, h3, h4, h5 { line-height: 1.1; letter-spacing: -0.02em; color: var(--charcoal); font-weight: 800; }
.dark-section h1, .dark-section h2, .dark-section h3, .dark-section h4 { color: #fff; }

h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); font-weight: 900; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1rem;
  display: inline-block;
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--white { color: rgba(255,255,255,0.55); }

.gradient-text {
  background: linear-gradient(135deg, var(--gold), var(--electric-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.serif { font-family: var(--font-serif); }
.serif-italic { font-family: var(--font-serif); font-style: italic; }

/* ---------- Container ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Scroll-triggered reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
/* Stagger when multiple .reveal elements share a parent */
.reveal:nth-child(2)  { transition-delay: 0.06s; }
.reveal:nth-child(3)  { transition-delay: 0.12s; }
.reveal:nth-child(4)  { transition-delay: 0.18s; }
.reveal:nth-child(5)  { transition-delay: 0.24s; }
.reveal:nth-child(6)  { transition-delay: 0.30s; }
/* No-JS fallback: if JS fails to add .visible, show everything anyway */
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Focus styles (WCAG 2.1 AA) ---------- */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.dark-section :focus-visible,
.partner-page :focus-visible {
  outline-color: var(--gold);
}
/* Form fields keep their custom focus ring (defined later in form section) */
.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group select:focus-visible {
  outline: none;
}

/* ---------- Sections ---------- */
section { padding: var(--section-pad) 0; position: relative; }
.dark-section { background: var(--navy); color: #fff; }
.dark-section .eyebrow { color: var(--gold); }
.alt-section { background: #F0F2F8; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.25s var(--ease-out);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  text-align: center;
  justify-content: center;
}
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-2); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(240,180,41,0.35); }
.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.08); border-color: #fff; transform: translateY(-2px); }
.btn--ghost-dark { color: var(--navy); border-color: var(--navy); }
.btn--ghost-dark:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: all 0.3s var(--ease-out);
}
.site-nav.scrolled {
  background: rgba(10, 21, 71, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.75rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}
.nav-inner {
  max-width: var(--container-wide);
  width: 92%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.nav-logo .dot { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.65rem 1.4rem;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s var(--ease-out);
}
.nav-cta:hover { background: var(--gold-2); transform: translateY(-1px); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 100%; max-width: 380px;
  background: var(--navy);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out);
  box-shadow: -20px 0 60px rgba(0,0,0,0.4);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { color: #fff; font-size: 1.4rem; font-weight: 600; }
.mobile-menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu-backdrop.open { opacity: 1; pointer-events: all; }

/* ============================================================
   01 — HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 8rem 0 4rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(64,102,255,0.15), transparent 60%),
              radial-gradient(ellipse at bottom left, rgba(240,180,41,0.06), transparent 60%);
  pointer-events: none;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.hero h1 {
  color: #fff;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: rgba(255,255,255,0.78);
  max-width: 620px;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}
.hero-trust {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.hero-trust .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}
.hero-trust-logos { display: flex; align-items: center; gap: 1.5rem; opacity: 0.6; }

/* Hero scroll-down chevron (brief 5.5) */
.scroll-indicator {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  text-decoration: none;
  color: rgba(255,255,255,0.45);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  animation: scrollBob 2s ease-in-out infinite;
}
.scroll-indicator:hover { color: var(--gold); }
.scroll-indicator svg { width: 18px; height: 18px; }
@keyframes scrollBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}
@media (max-width: 768px) {
  .scroll-indicator { display: none; }
}

/* ============================================================
   COMPLIANCE ALERT TICKER (Tier 2 #8)
   ============================================================ */
.alert-ticker {
  background: var(--navy-deep);
  border-top: 1px solid rgba(240,180,41,0.18);
  border-bottom: 1px solid rgba(240,180,41,0.18);
  overflow: hidden;
  position: relative;
}
.alert-ticker::before, .alert-ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.alert-ticker::before { left: 0; background: linear-gradient(90deg, var(--navy-deep), transparent); }
.alert-ticker::after { right: 0; background: linear-gradient(-90deg, var(--navy-deep), transparent); }

.alert-ticker-tag {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: var(--navy-deep);
  padding-right: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}
.alert-ticker-tag .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulseAlert 1.6s ease-in-out infinite;
}
@keyframes pulseAlert { 50% { opacity: 0.35; } }

.ticker-track {
  display: flex;
  width: max-content;
  padding: 1rem 0 1rem 13rem;
  animation: tickerScroll 60s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ticker-item .ti-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold);
  background: rgba(240,180,41,0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
}
.ticker-item .ti-date { color: var(--slate-light); font-variant-numeric: tabular-nums; }
.ticker-item .sep { color: var(--slate); }
@keyframes tickerScroll { to { transform: translateX(-50%); } }

/* ============================================================
   LOGO MARQUEE STRIP (Tier 2 #11) — feature flagged
   ============================================================ */
.logo-marquee {
  background: var(--navy);
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  position: relative;
}
.logo-marquee[data-flag="logos-pending"] .logo-marquee-track .real-logo { display: none; }
.logo-marquee[data-flag="logos-live"] .logo-marquee-track .placeholder-logo { display: none; }

.logo-marquee-label {
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}
.logo-marquee-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 45s linear infinite;
  align-items: center;
}
.logo-marquee-track:hover { animation-play-state: paused; }
.logo-marquee-item {
  padding: 0 2.5rem;
  opacity: 0.45;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
}
.logo-marquee-item:hover { opacity: 1; }
.logo-marquee-item.placeholder-logo {
  border: 1px dashed rgba(255,255,255,0.2);
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   02 — THE PROBLEM
   ============================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.problem-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}
.problem-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--royal-blue), var(--electric-blue));
}
.problem-stat:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(10,21,71,0.08); }
.problem-stat .num {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.problem-stat .num span { font-size: 0.55em; color: var(--slate); font-weight: 600; }
.problem-stat .label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.problem-stat .ctx {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.55;
}
.power-statement {
  text-align: center;
  margin-top: 3rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--slate);
}

/* ============================================================
   "SOUND FAMILIAR?" PAIN POINTS (Tier 1 #4)
   ============================================================ */
.pain-section { background: var(--ivory); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.pain-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  transition: all 0.3s var(--ease-out);
}
.pain-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(10,21,71,0.06);
}
.pain-card .qmark {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 0.8;
  color: var(--gold);
  font-weight: 500;
  flex-shrink: 0;
  margin-top: -0.5rem;
}
.pain-card p {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--charcoal);
  font-size: 1.05rem;
  line-height: 1.55;
}

/* ============================================================
   03 — ROI / NUMBERS (animated counters, Tier 1 #3)
   ============================================================ */
.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.counter-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: all 0.3s var(--ease-out);
}
.counter-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: rgba(240,180,41,0.04);
}
.counter-card .num {
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}
.counter-card .num.text { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; }
.counter-card .label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ============================================================
   ROI CALCULATOR (Tier 1 #1)
   ============================================================ */
.roi-calc {
  background: #fff;
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  margin-top: 3rem;
  box-shadow: 0 30px 80px rgba(10,21,71,0.06);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.roi-inputs h3 { margin-bottom: 0.5rem; }
.roi-inputs p { color: var(--slate); margin-bottom: 1.5rem; font-size: 0.92rem; }
.roi-input {
  margin-bottom: 1.25rem;
}
.roi-input-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}
.roi-input label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
}
.roi-input .value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.roi-input input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--line);
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}
.roi-input input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(240,180,41,0.4);
  transition: transform 0.15s;
}
.roi-input input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.1); }
.roi-input input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 3px solid #fff;
}

.roi-output {
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  padding: 2rem;
}
.roi-output h4 {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}
.roi-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.92rem;
}
.roi-row:last-child { border-bottom: none; }
.roi-row .lbl { color: rgba(255,255,255,0.6); }
.roi-row .val {
  font-weight: 700;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}
.roi-row.savings {
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--gold);
  border-bottom: none;
}
.roi-row.savings .lbl { color: var(--gold); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
.roi-row.savings .val {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--gold);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.roi-bar {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.75rem;
}
.roi-bar-row { display: flex; align-items: center; gap: 0.75rem; }
.roi-bar-row .name { width: 90px; color: rgba(255,255,255,0.55); font-size: 0.75rem; }
.roi-bar-row .bar {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}
.roi-bar-row .bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.6s var(--ease-out);
}
.roi-bar-row.traditional .bar-fill { background: var(--coral); width: 100%; }
.roi-bar-row.magion .bar-fill { background: var(--gold); }

/* ============================================================
   04 — WHAT WE DO / Agent Diagram (Tier 1 #7)
   ============================================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-section .lead { color: var(--slate); margin: 1rem 0 1.5rem; font-size: 1.05rem; }
.feature-list { display: flex; flex-direction: column; gap: 1rem; margin: 2rem 0; }
.feature-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
}
.feature-item .check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-item .check::after {
  content: '';
  width: 6px; height: 10px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg) translate(-1px, -1px);
}
.feature-item strong { color: var(--charcoal); }

.agent-diagram {
  position: relative;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border-radius: 24px;
  padding: 2.5rem;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.agent-diagram::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(64,102,255,0.15), transparent 65%);
  pointer-events: none;
}
.agent-hub {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
}
.agent-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 88px; height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--royal-blue), var(--electric-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 0 60px rgba(64,102,255,0.45);
  animation: agentPulse 3.5s ease-in-out infinite;
}
@keyframes agentPulse {
  0%, 100% { box-shadow: 0 0 60px rgba(64,102,255,0.45); }
  50% { box-shadow: 0 0 80px rgba(64,102,255,0.65); }
}
.agent-center svg { width: 36px; height: 36px; color: #fff; }

.agent-node {
  position: absolute;
  width: 64px; height: 64px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  z-index: 2;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  /* Brief 5.6: agent nodes pulse gently to imply activity */
  animation: nodePulse 4s ease-in-out infinite;
}
@keyframes nodePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(64,102,255,0); }
  50%      { box-shadow: 0 0 0 4px rgba(64,102,255,0.18); }
}
/* Stagger the pulse so they don't all blink in unison */
.agent-node:nth-child(2) { animation-delay: 0s;   }
.agent-node:nth-child(3) { animation-delay: 0.5s; }
.agent-node:nth-child(4) { animation-delay: 1s;   }
.agent-node:nth-child(5) { animation-delay: 1.5s; }
.agent-node:nth-child(6) { animation-delay: 2s;   }
.agent-node:nth-child(7) { animation-delay: 2.5s; }
.agent-node:nth-child(8) { animation-delay: 3s;   }
.agent-node:nth-child(9) { animation-delay: 3.5s; }
/* Tap-to-reveal tooltips on touch devices (brief 5.8) */
.agent-node.touched .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}
.agent-node svg { width: 22px; height: 22px; color: var(--electric-blue); }
.agent-node .name {
  font-size: 8px;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.agent-node:hover {
  background: rgba(255,255,255,0.14);
  transform: scale(1.1);
  border-color: var(--gold);
  z-index: 5;
}
.agent-node:hover svg { color: var(--gold); }

.agent-node .tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-deep);
  border: 1px solid var(--glass-border);
  color: #fff;
  font-size: 0.72rem;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  width: 180px;
  text-align: center;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 10;
}
.agent-node .tooltip::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--navy-deep);
}
.agent-node:hover .tooltip { opacity: 1; transform: translateX(-50%) translateY(-2px); }

/* Position 8 nodes around center */
.agent-node:nth-child(2)  { top: 0%;     left: 50%;   transform: translateX(-50%); }
.agent-node:nth-child(3)  { top: 14%;    right: 4%; }
.agent-node:nth-child(4)  { top: 44%;    right: -4%; }
.agent-node:nth-child(5)  { bottom: 14%; right: 4%; }
.agent-node:nth-child(6)  { bottom: 0%;  left: 50%;   transform: translateX(-50%); }
.agent-node:nth-child(7)  { bottom: 14%; left: 4%; }
.agent-node:nth-child(8)  { top: 44%;    left: -4%; }
.agent-node:nth-child(9)  { top: 14%;    left: 4%; }
.agent-node:nth-child(2):hover, .agent-node:nth-child(6):hover { transform: translateX(-50%) scale(1.1); }

/* ============================================================
   05 — SEE IT IN ACTION (Case Study Cards w/ per-client accent, Tier 2 #9)
   ============================================================ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}
.case-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
  position: relative;
}
.case-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--client-accent, var(--gold));
}
.case-card:hover {
  transform: translateY(-6px);
  border-color: var(--client-accent, var(--gold));
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.case-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.case-thumb svg { width: 56px; height: 56px; color: rgba(255,255,255,0.85); position: relative; z-index: 1; }
.case-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--client-accent, var(--gold)), transparent);
  opacity: 0.18;
}
.case-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.case-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.1);
  color: var(--client-accent, var(--gold));
  border: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 0.85rem;
  align-self: flex-start;
}
.case-card h3 { color: #fff; margin-bottom: 0.4rem; font-size: 1.15rem; }
.case-card .client {
  font-size: 0.75rem;
  color: var(--client-accent, var(--gold));
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.85rem;
}
.case-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}
.case-card .case-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--client-accent, var(--gold));
  font-weight: 700;
  font-size: 0.85rem;
  align-self: flex-start;
}

/* Per-client accent assignments */
.case-card[data-client="barclays"] { --client-accent: var(--accent-barclays); }
.case-card[data-client="boc"]      { --client-accent: var(--accent-boc); }
.case-card[data-client="kpmg"]     { --client-accent: var(--accent-kpmg); }

/* ============================================================
   BEFORE/AFTER SLIDER (Tier 1 #2)
   ============================================================ */
.before-after {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 3rem auto 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(10,21,71,0.1);
  user-select: none;
  aspect-ratio: 16 / 10;
  background: #fff;
}
.ba-pane {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 2rem 2.5rem;
  overflow: hidden;
}
.ba-pane.before { background: #FAF7F0; color: #4a4a40; }
.ba-pane.after {
  background: var(--navy);
  color: #fff;
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}
.ba-pane .ba-label {
  position: absolute;
  top: 1rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
}
.ba-pane.before .ba-label { left: 1rem; background: rgba(0,0,0,0.06); color: #6a6a60; }
.ba-pane.after .ba-label { right: 1rem; background: var(--gold); color: var(--navy); }

/* "Traditional" course mockup styles */
.ba-pane.before .mock-title {
  font-family: 'Times New Roman', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #2a2820;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  text-decoration: underline;
}
.ba-pane.before .mock-bullets {
  list-style: disc inside;
  font-family: 'Times New Roman', serif;
  font-size: 0.95rem;
  color: #4a4a40;
  line-height: 1.6;
}
.ba-pane.before .mock-bullets li { margin-bottom: 0.5rem; }
.ba-pane.before .mock-footer {
  position: absolute;
  bottom: 1.25rem;
  left: 2.5rem;
  right: 2.5rem;
  border-top: 1px solid #d8d4c4;
  padding-top: 0.75rem;
  font-family: 'Times New Roman', serif;
  font-size: 0.7rem;
  color: #8a8870;
  display: flex;
  justify-content: space-between;
}

/* "Magion" course mockup styles */
.ba-pane.after .mock-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
}
.ba-pane.after .mock-h {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  color: #fff;
}
.ba-pane.after .mock-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}
.ba-pane.after .mock-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 0.85rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
}
.ba-pane.after .mock-card strong { display: block; color: #fff; margin-bottom: 0.25rem; font-size: 0.85rem; }
.ba-pane.after .mock-progress {
  position: absolute;
  bottom: 1.5rem;
  left: 2.5rem;
  right: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
}
.ba-pane.after .mock-progress .bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.ba-pane.after .mock-progress .bar::after {
  content: '';
  display: block;
  height: 100%;
  width: 67%;
  background: var(--gold);
  border-radius: 2px;
}

.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--gold);
  cursor: ew-resize;
  z-index: 5;
  transform: translateX(-50%);
}
.ba-handle::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid #fff;
  box-shadow: 0 6px 20px rgba(240,180,41,0.5);
}
.ba-handle::before {
  content: '⇆';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 900;
  z-index: 1;
}

/* ============================================================
   06 — WHO IT'S FOR (audience tabs)
   ============================================================ */
.tab-nav {
  display: flex;
  background: #E8EAF0;
  border-radius: 12px;
  padding: 5px;
  gap: 5px;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.tab-btn {
  flex: 1;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate);
  transition: all 0.25s;
  text-align: center;
}
.tab-btn.active { background: var(--navy); color: #fff; }
.tab-btn:hover:not(.active) { background: rgba(10,21,71,0.06); color: var(--navy); }
/* Brief 5.5: Consulting Partners tab gets distinct visual treatment */
.tab-btn[data-tab="partners"] {
  border: 2px solid var(--gold);
  position: relative;
}
.tab-btn[data-tab="partners"].active { border-color: var(--gold); background: var(--navy); }

.tab-panel { display: none; animation: fadeIn 0.4s var(--ease-out); }
.tab-panel.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.tab-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.tab-content h3 { margin-bottom: 1rem; }
.tab-content p { color: var(--slate); margin-bottom: 1rem; }
.tab-content .tab-bullets {
  display: flex; flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0;
}
.tab-content .tab-bullets li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.tab-content .tab-bullets li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}
.tab-visual {
  background: var(--navy);
  border-radius: 16px;
  padding: 2.5rem;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   07 — HOW IT WORKS (workflow steps)
   ============================================================ */
.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}
.workflow::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--royal-blue), var(--electric-blue), var(--gold));
  z-index: 0;
}
.workflow-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.workflow-step .num {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--royal-blue);
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-variant-numeric: tabular-nums;
  transition: all 0.3s var(--ease-out);
}
.workflow-step:hover .num {
  transform: scale(1.08);
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(240,180,41,0.3);
  background: var(--navy);
}
.workflow-step h4 { margin-bottom: 0.5rem; }
.workflow-step p { font-size: 0.85rem; color: var(--slate); line-height: 1.55; }

/* ============================================================
   08 — PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
  align-items: stretch;
}
.pricing-card {
  background: #fff;
  border-radius: 18px;
  padding: 2.5rem 2rem;
  border: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease-out);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(10,21,71,0.08); }
.pricing-card.featured {
  background: var(--navy);
  color: #fff;
  border: 2px solid var(--gold);
  transform: scale(1.04);
  box-shadow: 0 24px 60px rgba(10,21,71,0.18);
}
.pricing-card.featured:hover { transform: scale(1.04) translateY(-4px); }
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pricing-tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--royal-blue);
  margin-bottom: 0.5rem;
}
.pricing-card.featured .pricing-tier { color: var(--gold); }
.pricing-name { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.pricing-card.featured .pricing-name { color: #fff; }
.pricing-tag { font-size: 0.85rem; color: var(--slate); margin-bottom: 1.25rem; }
.pricing-card.featured .pricing-tag { color: rgba(255,255,255,0.6); }
.pricing-price {
  font-size: 1.85rem;
  font-weight: 900;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}
.pricing-card.featured .pricing-price { color: #fff; }
.pricing-price span { font-size: 0.85rem; font-weight: 500; color: var(--slate); }
.pricing-card.featured .pricing-price span { color: rgba(255,255,255,0.5); }
.pricing-features {
  list-style: none;
  margin: 1.75rem 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pricing-features li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.88rem;
  line-height: 1.45;
}
.pricing-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-card .btn { width: 100%; }

/* ============================================================
   09 — TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
.team-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
}
.team-photo {
  width: 130px; height: 130px;
  border-radius: 14px;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--royal-blue), var(--electric-blue));
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.team-info { flex: 1; }
.team-info h3 { color: #fff; margin-bottom: 0.25rem; font-size: 1.25rem; }
.team-role {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.team-info p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  margin-bottom: 1rem;
}
.team-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.team-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  background: rgba(64,102,255,0.15);
  color: var(--electric-blue);
  border: 1px solid rgba(64,102,255,0.25);
}
.team-badge.gold {
  background: rgba(240,180,41,0.15);
  color: var(--gold);
  border-color: rgba(240,180,41,0.25);
}

/* ============================================================
   10 — FINAL CTA
   ============================================================ */
.cta-section {
  text-align: center;
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(240,180,41,0.08), transparent 60%);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: #fff; margin: 0 auto 1.25rem; max-width: 700px; }
.cta-section p { color: rgba(255,255,255,0.65); max-width: 540px; margin: 0 auto 2.5rem; }
.cta-section .btn-row { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { font-size: 0.88rem; max-width: 280px; margin-top: 1rem; line-height: 1.6; }
.footer-col h4 {
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================
   PARTNERS PAGE — drop cap editorial + NDA form
   ============================================================ */
.partner-page {
  background: #F4F0E6;
  color: #181816;
  min-height: 100vh;
}
.partner-bar {
  background: #181816;
  color: #F4F0E6;
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
}
.partner-masthead {
  border-bottom: 3px double #181816;
  padding: 2.5rem 0 1.25rem;
  text-align: center;
}
.partner-masthead .meta {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6a6862;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.partner-masthead .brand {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #181816;
  font-family: var(--font);
  line-height: 1;
}
.partner-masthead .brand .dot { color: #1B5E20; }
.partner-masthead .subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  color: #4a4a47;
  font-size: 0.95rem;
  margin-top: 0.4rem;
}

.partner-lede {
  padding: 4rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid #c5bda8;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.partner-lede .kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #1B5E20;
  margin-bottom: 1rem;
}
.partner-lede h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #181816;
  margin-bottom: 1.5rem;
}
.partner-lede .standfirst {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: #4a4a47;
  line-height: 1.5;
}

/* Three partner benefits row (brief 5.7) */
.partner-benefits {
  background: #EDE8DA;
  padding: 4rem 0;
  border-bottom: 1px solid #c5bda8;
}
.partner-benefits .container { max-width: 1100px; }
.partner-benefits .label-center {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #1B5E20;
  margin-bottom: 0.75rem;
}
.partner-benefits h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #181816;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}
.benefits-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.benefit-card {
  background: #F4F0E6;
  border: 1px solid #c5bda8;
  padding: 2rem 1.75rem;
  border-radius: 6px;
  position: relative;
}
.benefit-card .num {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: #1B5E20;
  line-height: 1;
  margin-bottom: 1rem;
}
.benefit-card h3 {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 800;
  color: #181816;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.benefit-card p {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  color: #4a4a47;
  line-height: 1.55;
}
@media (max-width: 768px) {
  .benefits-row { grid-template-columns: 1fr; }
}

/* Drop-cap editorial section (Tier 2 #10) */
.partner-essay {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
}
.partner-essay > p {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.75;
  color: #181816;
  margin-bottom: 1.25rem;
  text-align: justify;
  hyphens: auto;
}
.partner-essay > p:first-of-type::first-letter {
  font-family: var(--font-serif);
  font-size: 5rem;
  float: left;
  line-height: 0.85;
  margin: 0.4rem 0.55rem 0 0;
  font-weight: 700;
  color: #1B5E20;
}
.partner-essay h2 {
  font-family: var(--font);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 900;
  margin: 3rem 0 1.25rem;
  color: #181816;
  letter-spacing: -0.02em;
}
.partner-essay .small-cap {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #1B5E20;
  display: block;
  margin-bottom: 0.5rem;
}
.partner-essay .pull-q {
  margin: 3rem -1.5rem;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid #c5bda8;
  border-bottom: 1px solid #c5bda8;
  text-align: center;
}
.partner-essay .pull-q blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  line-height: 1.35;
  color: #181816;
  max-width: 600px;
  margin: 0 auto 1rem;
}
.partner-essay .pull-q cite {
  font-family: var(--font);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6a6862;
  font-style: normal;
  font-weight: 600;
}

/* The Model — 4-step section */
.partner-model {
  background: #EDE8DA;
  padding: 5rem 0;
  border-top: 1px solid #c5bda8;
  border-bottom: 1px solid #c5bda8;
}
.partner-model .container-narrow { text-align: center; }
.partner-model h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 900;
  color: #181816;
  margin-bottom: 0.5rem;
}
.partner-model .label-center {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #1B5E20;
  margin-bottom: 1rem;
}
.model-list {
  max-width: 640px;
  margin: 3rem auto 0;
  text-align: left;
  counter-reset: model;
}
.model-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid #c5bda8;
  counter-increment: model;
}
.model-item:last-child { border-bottom: none; }
.model-item::before {
  content: counter(model, upper-roman) ".";
  font-family: var(--font);
  font-size: 1.8rem;
  font-weight: 900;
  color: #1B5E20;
  line-height: 1;
}
.model-item h4 {
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: #181816;
}
.model-item p {
  color: #4a4a47;
  font-size: 0.95rem;
  line-height: 1.55;
  font-family: var(--font-serif);
}

/* Partner enquiry form (Tier 1 #5) */
.partner-form-section {
  padding: 5rem 0;
}
.partner-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.partner-form-info .conf-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(27,94,32,0.1);
  border: 1px solid rgba(27,94,32,0.25);
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1B5E20;
  margin-bottom: 1.5rem;
}
.partner-form-info h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 1rem; color: #181816; font-weight: 900; }
.partner-form-info p {
  color: #4a4a47;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  font-family: var(--font-serif);
  font-size: 1rem;
}
.contact-card {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #EDE8DA;
  border: 1px solid #c5bda8;
  border-radius: 10px;
}
.contact-card .name { font-weight: 800; color: #181816; margin-bottom: 0.25rem; }
.contact-card .role { font-size: 0.78rem; color: #1B5E20; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.85rem; }
.contact-card a {
  display: block;
  font-size: 0.85rem;
  color: #4a4a47;
  margin-top: 0.4rem;
}
.contact-card a:hover { color: #181816; }

/* Partner form */
.partner-form {
  background: #fff;
  border: 1px solid #c5bda8;
  border-radius: 12px;
  padding: 2.25rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #4a4a47;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #d8d4c4;
  border-radius: 8px;
  background: #FAFAF8;
  color: #181816;
  font-size: 0.95rem;
  font-family: var(--font);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: #1B5E20;
  box-shadow: 0 0 0 3px rgba(27,94,32,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; font-family: var(--font); }

/* NDA toggle (Tier 1 #5) */
.nda-toggle {
  background: #F4F0E6;
  border: 1.5px solid #c5bda8;
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
}
.nda-toggle.active {
  border-color: #1B5E20;
  background: rgba(27,94,32,0.06);
}
.nda-toggle-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.nda-toggle .switch {
  width: 38px;
  height: 22px;
  border-radius: 12px;
  background: #d8d4c4;
  position: relative;
  flex-shrink: 0;
  transition: background 0.25s;
  margin-top: 2px;
}
.nda-toggle .switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.nda-toggle.active .switch { background: #1B5E20; }
.nda-toggle.active .switch::after { transform: translateX(16px); }
.nda-toggle .nda-text { flex: 1; }
.nda-toggle .nda-text strong { display: block; color: #181816; font-size: 0.92rem; margin-bottom: 0.2rem; }
.nda-toggle .nda-text small { font-size: 0.78rem; color: #6a6862; line-height: 1.5; }

.partner-form .btn-submit {
  width: 100%;
  padding: 1rem;
  background: #181816;
  color: #F4F0E6;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.partner-form .btn-submit:hover { background: #1B5E20; }
.honeypot { position: absolute; left: -10000px; height: 0; width: 0; overflow: hidden; }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}
.form-success.active { display: block; }
.form-success .check-circle {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #1B5E20;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #fff;
  font-size: 1.8rem;
}
.form-success h3 { margin-bottom: 0.5rem; color: #181816; }
.form-success p { color: #4a4a47; font-family: var(--font-serif); }

.partner-footer {
  border-top: 3px double #181816;
  padding: 3rem 0 2rem;
  text-align: center;
}
.partner-footer .signature {
  font-family: var(--font-serif);
  font-style: italic;
  color: #4a4a47;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.partner-footer .signature .name { color: #181816; font-weight: 600; font-style: normal; }
.partner-footer .meta-line {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6a6862;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .split-section,
  .tab-content,
  .roi-calc,
  .partner-form-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .workflow { grid-template-columns: repeat(2, 1fr); }
  .workflow::before { display: none; }
  .counter-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .problem-grid,
  .pain-grid,
  .cases-grid,
  .team-grid { grid-template-columns: 1fr; }
  /* Brief 5.8: pricing stacks vertically with featured tier FIRST */
  .pricing-grid {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }
  .pricing-card.featured { order: -1; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin-left: auto; margin-right: auto; }
  .footer-bottom { flex-direction: column; }
  /* Brief 5.8: mobile tabs become accordion */
  .tab-nav { display: none; }
  .tab-panel {
    display: block !important;
    border-top: 1px solid var(--line);
  }
  .tab-panel:last-child { border-bottom: 1px solid var(--line); }
  .tab-panel .accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--charcoal);
  }
  .tab-panel .accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--gold);
    transition: transform 0.3s;
  }
  .tab-panel.open .accordion-header::after { transform: rotate(45deg); }
  .tab-panel .tab-content {
    display: none;
    padding-bottom: 1.5rem;
  }
  .tab-panel.open .tab-content { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
  .tab-panel:not(.open) .tab-content { display: none; }
  /* Hide the tab-visual side card on mobile to keep accordion clean */
  .tab-panel .tab-visual { min-height: auto; padding: 1.5rem; }
  .ba-pane { padding: 1.5rem; }
  .ba-pane.before .mock-title { font-size: 1.3rem; margin-top: 2rem; }
  .ba-pane.after .mock-h { font-size: 1.2rem; }
  .alert-ticker-tag { display: none; }
  .ticker-track { padding-left: 0; }
  .partner-essay > p:first-of-type::first-letter { font-size: 4rem; }
  .model-item { grid-template-columns: 1fr; gap: 0.5rem; }
}

@media (max-width: 480px) {
  .counter-grid { grid-template-columns: 1fr; }
  .roi-calc { padding: 1.75rem; }
  .roi-output { padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
