/* ============ NAV ============ */
body { padding-top: 76px; }
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-dark { background: rgba(11, 23, 54, 0.72); border-bottom: 1px solid var(--line-dark); }
.nav-light { background: rgba(247, 244, 238, 0.82); border-bottom: 1px solid var(--line-light); }

.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 76px;
  gap: 32px;
}
.nav-logo { display: inline-flex; align-items: center; padding: 6px 0; }
.text-white { color: white; }
.text-ink { color: var(--ink-900); }

.nav-links {
  display: flex;
  gap: 2px;
  justify-self: center;
  font-size: 14px;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.nav-links a {
  padding: 8px 13px;
  border-radius: 999px;
  opacity: 0.78;
  transition: opacity .15s ease, background .15s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-dark .nav-links a:hover { background: rgba(255,255,255,0.06); }
.nav-light .nav-links a:hover { background: rgba(0,0,0,0.04); }
.nav-links a.active { opacity: 1; }
.nav-dark .nav-links a.active { background: rgba(255,255,255,0.08); }
.nav-light .nav-links a.active { background: rgba(0,0,0,0.06); }

/* Mobile nav toggle (hamburger) */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.nav-toggle .bar {
  display: block;
  width: 18px; height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle .bar::before, .nav-toggle .bar::after {
  content: "";
  position: absolute; left: 0;
  width: 18px; height: 1.5px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.nav-toggle .bar::before { top: -6px; }
.nav-toggle .bar::after { top: 6px; }
.nav-dark .nav-toggle { color: white; }
.nav-light .nav-toggle { color: var(--ink-900); }
.site-nav.nav-open .nav-toggle .bar { background: transparent; }
.site-nav.nav-open .nav-toggle .bar::before { top: 0; transform: rotate(45deg); }
.site-nav.nav-open .nav-toggle .bar::after { top: 0; transform: rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: var(--navy-800);
  color: white;
  overflow: hidden;
}
.hero::before {
  /* soft corner glow */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 600px at 85% 20%, rgba(241,90,36,0.14), transparent 60%),
              radial-gradient(800px 400px at 10% 90%, rgba(37,59,114,0.5), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding: 56px 0 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
  min-height: 480px;
}
.hero-left { max-width: 640px; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 10px;
  color: var(--navy-200);
}
.hero-h1 {
  margin-top: 28px;
  color: white;
  letter-spacing: -0.025em;
  font-size: clamp(56px, 6.4vw, 94px);
  max-width: 620px;
}
.hero-h1 em { font-style: italic; color: var(--navy-100); }
.hero-h1 .fade { color: var(--navy-300); }

.hero-rotate {
  display: inline-block;
  position: relative;
  min-width: 0.6em;
}
.hero-rotate .word {
  color: var(--orange-500);
  display: inline-block;
  white-space: nowrap;
}
.hero-accent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  min-height: 1.05em;
  width: max-content;
  max-width: none;
  font-size: clamp(56px, 6.4vw, 94px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  position: relative;
  z-index: 2;
}
.hero-accent .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange-500);
  flex: 0 0 7px;
  margin-top: 0.55em;
}
.hero-accent .hero-rotate { min-width: 0; }
.hero-accent .word {
  font-family: var(--font-serif);
  font-size: 1em;
  line-height: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
}
.hero-sub {
  margin-top: 24px;
  max-width: 520px;
  color: var(--navy-100);
  font-size: 18px;
  line-height: 1.6;
}
.hero-ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 34px;
  color: var(--navy-300);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.hero-points span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--orange-500); }

.hero-meta {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  padding: 0 28px 0 12px;
  display: flex;
  justify-content: space-between;
  color: var(--navy-200);
  font-size: 11px;
}

/* Fixed-size visual: height is set explicitly so it never resizes when the
   headline's height changes (rotating word / language switch). */
.hero-viz {
  position: relative;
  height: 360px;
  border-left: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
  margin-left: -16px;
  margin-right: -28px;
}
.hero-viz canvas { display: block; width: 100%; height: 100%; }
.hero-viz-frame {
  position: absolute;
  inset: 20px;
  border: 1px dashed var(--line-dark-strong);
  border-radius: var(--radius-md);
  pointer-events: none;
}
.hero-viz-badge {
  position: absolute;
  top: 36px; right: 36px;
  background: rgba(11,23,54,0.65);
  border: 1px solid var(--line-dark-strong);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--navy-100);
  display: flex; align-items: center; gap: 8px;
}
.hero-viz-badge::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px; border-radius: 50%;
  background: #3DFBA6;
  box-shadow: 0 0 10px #3DFBA6;
  animation: blink 1.6s infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* Editorial process hero */
.hero-inner {
  padding: 82px 0 68px;
  grid-template-columns: minmax(0, .92fr) minmax(560px, 1.2fr);
  gap: 48px;
  align-items: center;
  min-height: 620px;
}
.hero-left { max-width: 660px; }
.hero-h1 {
  margin-top: 32px;
  max-width: 660px;
  font-size: clamp(60px, 5.5vw, 86px);
  line-height: .98;
}
.hero-h1 em { color: var(--orange-500); font-style: italic; }
.hero-rotate-line {
  display: block;
  min-height: 1em;
  margin-top: 8px;
  font-size: .82em;
  line-height: 1;
}
.hero-rotate-line .word {
  color: var(--orange-500);
  opacity: 1;
  transform: translateY(0);
  transition: opacity .32s ease, transform .32s ease;
  white-space: nowrap;
}
.hero-rotate-line .word.is-leaving {
  opacity: 0;
  transform: translateY(8px);
}
.hero-sub { margin-top: 30px; max-width: 570px; font-size: 18px; }
.hero-points { margin-top: 52px; gap: 14px 24px; }
.hero-points span::before { width: 3px; height: 3px; }

.hero-system {
  position: relative;
  height: 470px;
  min-width: 0;
  margin-right: -26px;
  isolation: isolate;
}

/* Give long rotating outcomes a little more room on laptop-sized monitors. */
@media (min-width: 961px) and (max-width: 1280px) {
  .hero-system { transform: translateX(34px); }
}
.system-grid {
  position: absolute;
  inset: 0;
  opacity: .7;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 92%, transparent);
}
.system-panel {
  position: absolute;
  top: 76px;
  bottom: 72px;
  width: 27%;
  border: 1px solid rgba(185,198,231,.24);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(20,38,78,.45), rgba(11,23,54,.58));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
  z-index: 2;
}
.system-data { left: 0; }
.system-workflow { left: 36.5%; }
.system-outcome { right: 0; }
.system-label {
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy-100);
}
.system-label small { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 7px; font-size: 8px; letter-spacing: .14em; color: #3DFBA6; }
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 0;
  border-radius: 50%;
  background: #3DFBA6;
  box-shadow: 0 0 10px rgba(61,251,166,.8);
  animation: system-live 1.8s ease-in-out infinite;
}
.data-stream {
  position: absolute;
  left: 16%;
  right: 10%;
  top: 104px;
  bottom: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.data-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.data-row i {
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  background: var(--navy-100);
  opacity: .42;
}
.data-row i:nth-child(2) { opacity: .65; }
.data-row i:nth-child(3) { opacity: .9; }
.data-row span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(185,198,231,.12), rgba(241,90,36,.58));
  transform-origin: right center;
  animation: data-feed 2.8s ease-in-out infinite;
}
.data-row:nth-child(2) span { animation-delay: -.7s; }
.data-row:nth-child(3) span { animation-delay: -1.4s; }
.data-row:nth-child(4) span { animation-delay: -2.1s; }
.workflow-stack {
  position: absolute;
  inset: 78px 0 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}
.workflow-stack::before {
  content: "";
  position: absolute;
  top: 18%;
  bottom: 18%;
  left: 50%;
  border-left: 1px dashed rgba(185,198,231,.28);
}
.workflow-node {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(185,198,231,.25);
  border-radius: 10px;
  background: rgba(18,35,73,.94);
  color: var(--navy-100);
  font-size: 19px;
  animation: node-float 3.2s ease-in-out infinite, node-pass-one 6s linear infinite;
}
.workflow-node:nth-child(2) { animation: node-float 3.2s -1.05s ease-in-out infinite, node-pass-two 6s linear infinite; }
.workflow-node:nth-child(3) { animation: node-float 3.2s -2.1s ease-in-out infinite, node-pass-three 6s linear infinite; }
.outcome-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 104px;
  height: 104px;
  transform: translate(-50%,-50%);
  display: grid;
  place-items: center;
  border: 1px solid rgba(185,198,231,.45);
  border-radius: 50%;
}
.outcome-mark::before,
.outcome-mark::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(61,251,166,.75);
  border-radius: 50%;
  animation: outcome-ring 2.8s ease-out infinite;
}
.outcome-mark::after { inset: -18px; border-color: rgba(185,198,231,.18); animation-delay: -1.4s; }
.outcome-mark span { color: #3DFBA6; font-size: 34px; font-weight: 500; }
.outcome-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy-200);
}
.flow-bridge {
  position: absolute;
  top: 50%;
  width: 8%;
  height: 1px;
  z-index: 4;
  background: rgba(241,90,36,.45);
}
.flow-bridge-one { left: 27%; width: 9.5%; }
.flow-bridge-two { left: 63.5%; width: 9.5%; }
.flow-bridge::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid var(--orange-500);
  border-right: 1.5px solid var(--orange-500);
  transform: translateY(-50%) rotate(45deg);
}
.process-token {
  position: absolute;
  top: 50%;
  left: 28.5%;
  width: 58px;
  height: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(241,90,36,.82);
  border-radius: 999px;
  background: rgba(11,23,54,.96);
  box-shadow: 0 0 14px rgba(241,90,36,.32);
  color: white;
  font-family: var(--font-mono);
  font-size: 7px;
  line-height: 1;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate(-50%,-50%);
  animation: process-travel 6s linear infinite;
}
.process-token::before {
  content: '';
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 8px rgba(241,90,36,.75);
}

@keyframes process-travel {
  0% { left: 28.5%; opacity: 0; }
  5% { left: 28.5%; opacity: 1; }
  32% { left: 35%; opacity: 1; }
  35%, 62.9% { left: 35%; opacity: 0; }
  63% { left: 65%; opacity: 0; }
  65% { left: 65%; opacity: 1; }
  94% { left: 71%; opacity: 1; }
  100% { left: 71%; opacity: 0; }
}
@keyframes data-feed { 0%,100% { opacity: .25; transform: scaleX(.72); } 50% { opacity: 1; transform: scaleX(1); } }
@keyframes node-float { 0%,100% { transform: translateY(-3px); } 50% { transform: translateY(3px); } }
@keyframes node-pass-one { 0%,34%,45%,100% { border-color: rgba(185,198,231,.25); box-shadow: none; color: var(--navy-100); } 38%,42% { border-color: var(--orange-500); box-shadow: 0 0 18px rgba(241,90,36,.28); color: var(--orange-500); } }
@keyframes node-pass-two { 0%,42%,53%,100% { border-color: rgba(185,198,231,.25); box-shadow: none; color: var(--navy-100); } 46%,50% { border-color: var(--orange-500); box-shadow: 0 0 18px rgba(241,90,36,.28); color: var(--orange-500); } }
@keyframes node-pass-three { 0%,50%,62%,100% { border-color: rgba(185,198,231,.25); box-shadow: none; color: var(--navy-100); } 54%,59% { border-color: var(--orange-500); box-shadow: 0 0 18px rgba(241,90,36,.28); color: var(--orange-500); } }
@keyframes outcome-ring { 0% { transform: scale(.82); opacity: 0; } 45% { opacity: .8; } 100% { transform: scale(1.18); opacity: 0; } }
@keyframes system-live { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* ticker strip */
.ticker {
  position: relative;
  background: var(--navy-900);
  color: var(--navy-200);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 64px;
  padding: 18px 0;
  white-space: nowrap;
  animation: tick 40s linear infinite;
}
.ticker-track span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 64px;
}
.ticker-track span::after {
  content: "✦";
  color: var(--orange-500);
  font-size: 10px;
}
@keyframes tick { to { transform: translateX(-50%); } }

/* ============ SECTION ============ */
section { padding: 120px 0; position: relative; }
section.dark { background: var(--navy-800); color: white; }
section.cream { background: var(--cream-100); color: var(--ink-900); }
section.bone { background: var(--cream-50); }

.section-head {
  display: block;
  margin-bottom: 72px;
}
.section-head > .reveal { margin-bottom: 24px; }
.section-head > p { margin-top: 32px; }
.section-head p { color: var(--fg-muted); max-width: 720px; font-size: 17px; line-height: 1.6; }
section.dark .section-head p { color: var(--navy-200); }

/* ============ SOLUTIONS ============ */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sol-card {
  position: relative;
  background: var(--navy-700);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 26px 24px 24px;
  min-height: 420px;
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease;
}
.sol-card:hover { transform: translateY(-4px); border-color: var(--orange-500); }
.sol-num {
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 1;
  color: var(--navy-500);
  font-style: italic;
}
.sol-card:hover .sol-num { color: var(--orange-500); transition: color .3s ease; }
.sol-title {
  margin-top: 16px;
  font-size: 24px;
  font-family: var(--font-serif);
  letter-spacing: -0.01em;
  color: white;
  line-height: 1.15;
}
.sol-body {
  margin-top: 10px;
  color: var(--navy-100);
  font-size: 13.5px;
  line-height: 1.45;
  flex: 1;
}
.sol-list {
  margin-top: 14px;
  padding-top: 12px;
  min-height: 66px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sol-list li {
  list-style: none;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--navy-200);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.sol-list li::before { content: "+"; color: var(--orange-500); }

.sol-card-arrow {
  position: absolute;
  top: 24px; right: 24px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-dark-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-200);
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.sol-card:hover .sol-card-arrow { background: var(--orange-500); color: white; border-color: var(--orange-500); transform: rotate(-45deg); }

/* ============ STORIES / CASES ============ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border-radius: var(--radius-lg);
  /* The media has its own clipping. Keeping the card visible prevents
     serif and mono glyphs from being cut off at the lower edge. */
  overflow: visible;
  transition: transform .3s ease;
}
.case-card:hover { transform: translateY(-3px); }
.case-media {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line-light);
}
.case-media .tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--navy-800);
  color: white;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 4px;
}
.case-media .metric {
  position: absolute;
  bottom: 16px; right: 16px;
  background: var(--orange-500);
  color: white;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 4px;
}
.case-kind {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-500);
}
.case-title {
  margin-top: 10px;
  font-size: 22px;
  font-family: var(--font-serif);
  color: var(--ink-900);
  line-height: 1.2;
  min-height: 2.4em;
  letter-spacing: -0.01em;
}
.case-body {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.55;
}
.case-meta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.case-meta .read { color: var(--orange-500); display: inline-flex; gap: 6px; align-items: center; }
.case-card:hover .case-meta .read::after { transform: translateX(3px); }
.case-meta .read::after { content: "→"; transition: transform .2s ease; }

/* Decorative case tile graphics */
.case-viz {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ LOGOS / TRUSTED BY ============ */
.trusted {
  padding: 80px 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  background: var(--cream-50);
}
.trusted-inner { display: grid; grid-template-columns: auto 1fr; gap: 80px; align-items: center; }
.trusted-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-500);
  max-width: 180px;
  line-height: 1.6;
}
.trusted-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: center;
}
.trusted-logos > a {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity .2s ease;
  border-left: 1px solid var(--line-light);
  padding-left: 40px;
  text-decoration: none;
}
.trusted-logos > a:first-child { border-left: 0; padding-left: 0; }
.trusted-logos > a:hover { opacity: 1; }
.trusted-logos img {
  max-height: 56px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter .2s ease;
}
.trusted-logos > a:hover img { filter: none; }

/* Cases heading: EN "Stories of success" / NL "Succesverhalen" (accent + tail) */
.cases-h2-tail { display: none; }
html[lang="nl"] .cases-h2-lead { display: none; }
html[lang="nl"] .cases-h2-tail { display: inline; }
.solutions-heading { white-space: nowrap; }

/* ============ APPROACH / DRIVEN BY RESULTS ============ */
.approach {
  background: var(--cream-100);
  padding: 120px 0;
}
.approach-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: start;
}
.approach-pills {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pill {
  background: white;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}
.pill:hover { border-color: var(--ink-700); }
.pill.open { background: white; border-color: var(--ink-900); }
.pill-icon {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream-200);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-700);
}
.pill.open .pill-icon { background: var(--orange-500); color: white; }
.pill-title { font-family: var(--font-serif); font-size: 22px; letter-spacing: -0.01em; }
.pill-caret { color: var(--ink-500); transition: transform .2s ease; }
.pill.open .pill-caret { transform: rotate(45deg); color: var(--orange-500); }
.pill-body {
  display: none;
  grid-column: 1 / -1;
  padding-top: 10px;
  color: var(--ink-500);
  font-size: 15px;
  line-height: 1.6;
}
.pill.open .pill-body { display: block; }
.pill-body p { margin: 0 0 12px; }
.pill-body p:last-child { margin-bottom: 0; }

.approach-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: var(--navy-800);
}
.approach-visual .grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.growth-graph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.growth-bars rect {
  animation: growth-bar-pulse 6.8s ease-in-out infinite;
  animation-delay: calc(var(--bar) * .48s);
}
.growth-route-guide {
  fill: none;
  stroke: rgba(255,255,255,.16);
  stroke-width: 1.5;
}
.growth-route-progress {
  fill: none;
  stroke: white;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  filter: drop-shadow(0 0 4px rgba(241,90,36,.55));
}
.growth-target-ring {
  fill: rgba(241,90,36,.08);
  stroke: var(--orange-500);
  stroke-width: 2;
  animation: growth-target-pulse 2s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.growth-runner-halo {
  fill: rgba(241,90,36,.24);
  stroke: rgba(241,90,36,.38);
  stroke-width: 1;
}
.growth-runner-dot {
  fill: white;
  stroke: var(--orange-500);
  stroke-width: 3;
  filter: drop-shadow(0 0 5px rgba(241,90,36,.9));
}
@keyframes growth-bar-pulse {
  0%, 12%, 28%, 100% { opacity: .72; }
  20% { opacity: 1; }
}
@keyframes growth-target-pulse {
  0%, 100% { transform: scale(.92); opacity: .65; }
  50% { transform: scale(1.12); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .growth-bars rect,
  .growth-target-ring { animation: none; }
  .growth-route-runner { display: none; }
  .growth-route-progress { stroke-dashoffset: 0; opacity: 1; }
}
.approach-stat {
  position: absolute;
  background: rgba(11,23,54,0.8);
  border: 1px solid var(--line-dark-strong);
  backdrop-filter: blur(8px);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  color: white;
}
.approach-stat .num { font-family: var(--font-serif); font-size: 36px; line-height: 1; color: var(--orange-500); }
.approach-stat .lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy-100); margin-top: 6px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.team-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: white;
}
.team-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 18%;
  background: var(--navy-800);
}
.team-card figcaption {
  min-height: 72px;
  padding: 11px 10px 12px;
}
.team-card strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
  color: var(--ink-900);
}
.team-card span {
  display: block;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}

/* ============ STATS BAND ============ */
.stats-band {
  background: var(--navy-900);
  color: white;
  padding: 80px 0;
  border-top: 1px solid var(--line-dark);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: 20px 28px;
  border-left: 1px solid var(--line-dark);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .big {
  font-family: var(--font-serif);
  font-size: 72px;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: white;
}
.stat .big .unit { color: var(--orange-500); }
.stat .lbl {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-200);
  line-height: 1.5;
}

/* ============ CTA BAND ============ */
.cta-band {
  background: var(--orange-500);
  color: white;
  padding: 80px 0;
}
.cta-band-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta-band h2 { color: white; }
.cta-band p { margin-top: 16px; color: rgba(255,255,255,0.85); max-width: 520px; font-size: 16px; line-height: 1.55; }
.cta-band .btn { background: white; color: var(--orange-500); }

/* Case studies CTA: problem signals converge into an AI agent and a conversation. */
.case-cta { padding: 72px 0; overflow: hidden; }
.case-cta-inner {
  grid-template-columns: minmax(0, 1.05fr) minmax(480px, .95fr);
  gap: 64px;
}
.case-cta-copy { position: relative; z-index: 2; }
.problem-flow {
  position: relative;
  width: 100%;
  min-height: 270px;
}
.problem-flow-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.problem-inputs rect {
  fill: rgba(255,255,255,.08);
  stroke: rgba(11,23,54,.42);
  stroke-width: 1;
}
.problem-inputs text,
.problem-agent-label {
  fill: var(--navy-900);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .1em;
  text-anchor: middle;
}
.problem-wires path {
  fill: none;
  stroke: rgba(11,23,54,.45);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.problem-output-wire { stroke-width: 2 !important; }
.problem-particles circle { fill: white; stroke: var(--navy-900); stroke-width: 2; }
.problem-output-particle { fill: var(--navy-900) !important; stroke: white !important; }
.problem-agent-ring {
  fill: none;
  stroke: rgba(11,23,54,.55);
  stroke-width: 1.5;
  animation: problem-agent-pulse 2.4s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.problem-agent-core { fill: var(--navy-900); }
.problem-agent text {
  fill: white;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-anchor: middle;
}
.problem-arrowhead { fill: none; stroke: var(--navy-900); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.problem-talk-button {
  position: absolute;
  right: 0;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 150px;
  min-height: 58px;
  padding: 14px 22px;
  border-radius: 999px;
  background: white;
  color: var(--orange-500);
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-50%);
  transition: transform .2s ease, box-shadow .2s ease;
}
.problem-talk-button span { transition: transform .2s ease; }
.problem-talk-button:hover,
.problem-talk-button:focus-visible { transform: translate(4px,-50%); box-shadow: 0 12px 30px rgba(11,23,54,.16); }
.problem-talk-button:hover span,
.problem-talk-button:focus-visible span { transform: translateX(4px); }
@keyframes problem-agent-pulse {
  0%, 100% { transform: scale(.92); opacity: .5; }
  50% { transform: scale(1.13); opacity: 1; }
}

/* Solutions CTA: company problems are clarified and funnelled into a workshop. */
.workshop-cta { padding: 76px 0; overflow: hidden; }
.workshop-cta-inner {
  grid-template-columns: minmax(0, 1fr) minmax(540px, 1fr);
  gap: 64px;
  align-items: center;
}
.workshop-cta-copy { position: relative; z-index: 2; }
.workshop-map {
  position: relative;
  width: 100%;
  min-height: 340px;
}
.workshop-map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.diagnostic-signals rect {
  fill: rgba(255,255,255,.07);
  stroke: rgba(11,23,54,.42);
  stroke-width: 1;
}
.diagnostic-signals circle { fill: var(--navy-900); }
.diagnostic-signals text {
  fill: var(--navy-900);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-anchor: start;
}
.diagnostic-signals .diagnostic-alert {
  fill: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-anchor: middle;
}
.diagnostic-signals > g circle {
  animation: diagnostic-alert-sequence 8s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.diagnostic-signals > g rect {
  animation: diagnostic-problem-sequence 8s ease-in-out infinite;
  animation-delay: calc(var(--signal) * .12s);
}
.diagnostic-kicker,
.diagnostic-funnel-stages text {
  fill: var(--navy-900);
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: .16em;
  text-anchor: middle;
}
.diagnostic-kicker { font-size: 9.5px; opacity: .72; }
.diagnostic-intake-paths path {
  fill: none;
  stroke: rgba(11,23,54,.25);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-dasharray: 2 5;
}
.diagnostic-particles circle {
  fill: white;
  stroke: var(--navy-900);
  stroke-width: 2;
  filter: drop-shadow(0 0 3px rgba(255,255,255,.65));
}
.diagnostic-funnel-stages path {
  fill: rgba(255,255,255,.055);
  stroke: rgba(11,23,54,.42);
  stroke-width: 1;
  stroke-linejoin: round;
}
.diagnostic-funnel-stages text { font-size: 9px; }
.diagnostic-funnel-stages > g {
  transform-box: fill-box;
  transform-origin: center;
}
.diagnostic-funnel-stages > g:nth-child(1) { animation: diagnostic-stage-clarify 8s ease-in-out infinite; }
.diagnostic-funnel-stages > g:nth-child(2) { animation: diagnostic-stage-prioritise 8s ease-in-out infinite; }
.diagnostic-funnel-stages > g:nth-child(3) { animation: diagnostic-stage-plan 8s ease-in-out infinite; }
.diagnostic-funnel-stages > g:nth-child(1) path { animation: diagnostic-shape-clarify 8s ease-in-out infinite; }
.diagnostic-funnel-stages > g:nth-child(2) path { animation: diagnostic-shape-prioritise 8s ease-in-out infinite; }
.diagnostic-funnel-stages > g:nth-child(3) path { animation: diagnostic-shape-plan 8s ease-in-out infinite; }
.diagnostic-destination-chevron {
  fill: none;
  stroke: white;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: diagnostic-chevron-sequence 8s ease-in-out infinite;
}
.workshop-map-button {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 0;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: clamp(218px, 42%, 260px);
  min-height: 58px;
  padding: 14px 18px;
  border: 1px solid rgba(11,23,54,.12);
  border-radius: 999px;
  background: white;
  color: var(--orange-500);
  font-weight: 500;
  text-decoration: none;
  transform: translateX(-50%);
  transform-origin: center;
  animation: workshop-button-breathe 8s ease-in-out infinite;
  transition: transform .2s ease, box-shadow .2s ease;
}
.workshop-map-button span { transition: transform .2s ease; }
.workshop-map-button:hover,
.workshop-map-button:focus-visible { animation-play-state: paused; transform: translateX(calc(-50% + 4px)); box-shadow: 0 12px 30px rgba(11,23,54,.16); }
.workshop-map-button:hover span,
.workshop-map-button:focus-visible span { transform: translateX(4px); }
@keyframes diagnostic-alert-sequence {
  0%, 22%, 100% { transform: scale(.9); opacity: .72; }
  8%, 16% { transform: scale(1.08); opacity: 1; }
}
@keyframes diagnostic-problem-sequence {
  0%, 22%, 100% { fill: rgba(255,255,255,.07); stroke: rgba(11,23,54,.42); }
  8%, 16% { fill: rgba(255,255,255,.15); stroke: rgba(255,255,255,.74); }
}
@keyframes diagnostic-stage-clarify {
  0%, 23%, 42%, 100% { opacity: .62; filter: none; }
  29%, 36% { opacity: 1; filter: drop-shadow(0 0 7px rgba(255,255,255,.52)); }
}
@keyframes diagnostic-stage-prioritise {
  0%, 39%, 58%, 100% { opacity: .62; filter: none; }
  45%, 52% { opacity: 1; filter: drop-shadow(0 0 7px rgba(255,255,255,.52)); }
}
@keyframes diagnostic-stage-plan {
  0%, 55%, 74%, 100% { opacity: .62; filter: none; }
  61%, 68% { opacity: 1; filter: drop-shadow(0 0 7px rgba(255,255,255,.52)); }
}
@keyframes diagnostic-shape-clarify {
  0%, 23%, 42%, 100% { fill: rgba(255,255,255,.055); stroke: rgba(11,23,54,.42); }
  29%, 36% { fill: rgba(255,255,255,.26); stroke: rgba(255,255,255,.92); }
}
@keyframes diagnostic-shape-prioritise {
  0%, 39%, 58%, 100% { fill: rgba(255,255,255,.055); stroke: rgba(11,23,54,.42); }
  45%, 52% { fill: rgba(255,255,255,.26); stroke: rgba(255,255,255,.92); }
}
@keyframes diagnostic-shape-plan {
  0%, 55%, 74%, 100% { fill: rgba(255,255,255,.055); stroke: rgba(11,23,54,.42); }
  61%, 68% { fill: rgba(255,255,255,.26); stroke: rgba(255,255,255,.92); }
}
@keyframes diagnostic-chevron-sequence {
  0%, 67%, 84%, 100% { transform: translateY(-2px); opacity: .28; }
  73%, 79% { transform: translateY(2px); opacity: 1; }
}
@keyframes workshop-button-breathe {
  0%, 73%, 100% { transform: translateX(-50%) scale(1); box-shadow: 0 0 0 rgba(11,23,54,0); }
  82% { transform: translateX(-50%) scale(1.055); box-shadow: 0 14px 34px rgba(11,23,54,.18); }
  91% { transform: translateX(-50%) scale(1); box-shadow: 0 5px 16px rgba(11,23,54,.08); }
}

/* Homepage adoption journey CTA */
.adoption-cta { padding: 92px 0 86px; overflow: hidden; }
.adoption-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(600px, 1.1fr);
  gap: 56px;
  align-items: stretch;
}
.adoption-copy { display: flex; flex-direction: column; justify-content: center; padding-bottom: 14px; }
.adoption-copy h2 { max-width: 700px; }
.adoption-copy p { max-width: 610px; }
.adoption-journey {
  position: relative;
  min-height: 430px;
  color: var(--navy-900);
}
.adoption-curve { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.adoption-path-base,
.adoption-path-progress {
  fill: none;
  stroke-linecap: round;
  stroke-width: 2;
}
.adoption-path-base { stroke: rgba(11,23,54,.2); }
.adoption-path-progress {
  stroke: var(--navy-900);
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}
.adoption-anchors path { fill: none; stroke: rgba(11,23,54,.58); stroke-width: 1.25; }
.adoption-anchors circle { fill: var(--navy-900); }
.adoption-outcome-ring { fill: none; stroke: rgba(11,23,54,.55); stroke-width: 1.25; }
.adoption-outcome-node { fill: var(--navy-900); }
.adoption-token-svg circle { fill: var(--navy-900); stroke: white; stroke-width: 3; filter: drop-shadow(0 0 5px rgba(255,255,255,.65)); }
.adoption-token-svg path { fill: none; stroke: white; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.adoption-stage {
  position: absolute;
  width: auto;
  padding: 0;
  border: 1px solid rgba(11,23,54,.72);
  background: transparent;
  color: var(--navy-900);
  text-align: center;
  cursor: pointer;
  z-index: 3;
}
.stage-experiment { left: 43.3%; top: 207px; transform: translateX(-50%); }
.stage-foundation { left: 61.7%; top: 130px; transform: translateX(-50%); }
.stage-automation { left: 75.8%; top: 57px; transform: translateX(-50%); }
.stage-adoption { left: 90%; top: 0; transform: translateX(-50%); }
.stage-node { display: none; }
.adoption-stage strong {
  display: block;
  padding: 7px 10px 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.adoption-stage small {
  display: none;
}
.adoption-stage:hover,
.adoption-stage:focus-visible { background: rgba(255,255,255,.18); }
.journey-start {
  position: absolute;
  left: 0;
  top: 292px;
  width: clamp(160px, 22.33%, 230px);
  text-align: center;
  z-index: 4;
}
.journey-start span {
  display: block;
  margin-bottom: 9px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.journey-start-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 12px 18px;
  border-radius: 999px;
  background: white;
  color: var(--orange-500);
  border: 1px solid rgba(11,23,54,.12);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.journey-start-button:hover,
.journey-start-button:focus-visible { transform: translateX(4px); box-shadow: 0 8px 24px rgba(11,23,54,.14); }
.adoption-value {
  position: absolute;
  left: 90%;
  top: 104px;
  width: 150px;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--navy-900);
  color: white;
  padding: 100px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr;
  gap: 64px;
  align-items: start;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-h {
  margin-top: 24px;
  font-size: clamp(40px, 4.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.footer-h em { color: var(--orange-500); font-style: italic; }
.footer-cta { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.footer-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-200);
  margin-bottom: 20px;
}
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-cols li { color: var(--navy-100); font-size: 14px; }
.footer-cols a { color: var(--navy-100); transition: color .15s ease; }
.footer-cols a:hover { color: var(--orange-500); }

.footer-bottom {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  font-size: 11px;
  color: var(--navy-300);
}
.footer-bottom > :nth-child(2) { text-align: center; }
.footer-bottom > :nth-child(3) { text-align: right; }

/* === new footer bits === */
.footer-logo { display: inline-block; margin-bottom: 24px; }
.footer-tag { color: var(--navy-100); font-size: 14.5px; line-height: 1.6; max-width: 360px; }
.footer-contacts { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.footer-contacts li { display: grid; grid-template-columns: 32px 1fr; align-items: center; font-size: 14px; color: var(--navy-100); }
.footer-contacts .ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(241,90,36,0.15);
  color: var(--orange-500);
}
.footer-contacts a { color: var(--navy-100); transition: color .15s ease; }
.footer-contacts a:hover { color: var(--orange-500); }
.footer-plain { color: var(--navy-100); font-size: 14.5px; line-height: 1.5; font-style: normal; }
.footer-plain a { color: var(--navy-100); transition: color .15s ease; }
.footer-plain a:hover { color: var(--orange-500); }
.footer-addr { margin-top: 0; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 36px;
  gap: 16px;
}
.footer-bottom > * { text-align: left !important; font-size: 12px; color: var(--navy-300); }
.footer-bottom a { color: var(--navy-100); }
.footer-bottom a:hover { color: var(--orange-500); }

/* === Testimonials === */
.testimonials { padding: 140px 0; background: var(--cream-50); overflow: hidden; }
.testimonials-head { text-align: center; margin-bottom: 72px; }
.testimonials-head .eyebrow { justify-content: center; display: inline-flex; align-items: center; }
.testimonials-head h2 { margin-top: 16px; }
.testimonials-head p { margin: 20px auto 0; max-width: 520px; color: var(--ink-500); font-size: 16px; line-height: 1.6; }
.testimonials-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  width: max-content;
  max-width: none;
  margin: 0;
  animation: testimonials-scroll-right 42s linear infinite;
  will-change: transform;
}
.testimonials-grid:hover,
.testimonials-grid:focus-within { animation-play-state: paused; }
@keyframes testimonials-scroll-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.testimonial {
  flex: 0 0 440px;
  min-height: 292px;
  background: white;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 24px 26px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.testimonial .quote-mark {
  font-family: var(--font-serif);
  font-size: 68px;
  line-height: 1;
  color: var(--orange-500);
  font-style: italic;
  position: absolute;
  top: 12px; right: 24px;
  opacity: 0.8;
}
.testimonial-body {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-900);
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-light);
}
.testimonial-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-800));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: -0.01em;
  font-style: italic;
  flex: 0 0 56px;
  overflow: hidden;
}
.testimonial-name { font-size: 15px; font-weight: 500; color: var(--ink-900); }
.testimonial-role { font-size: 13px; color: var(--ink-500); margin-top: 2px; }
.testimonial.placeholder {
  border-style: dashed;
  border-color: var(--line-light-strong);
  background: var(--cream-50);
}
.testimonial.placeholder .testimonial-body { color: var(--ink-500); font-style: italic; }
.testimonial.placeholder .quote-mark { opacity: 0.35; }
.testimonial.placeholder .testimonial-avatar {
  background: var(--cream-200);
  border: 1px dashed var(--line-light-strong);
}
@media (max-width: 800px) {
  .testimonials-grid { gap: 0; animation-duration: 34s; }
  .testimonial { flex-basis: min(430px, calc(100vw - 48px)); min-height: 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============ WORKSHOP SECTION (home) ============ */
.workshop-band {
  background: var(--navy-900);
  color: white;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.workshop-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 90% 10%, rgba(241,90,36,0.12), transparent 60%);
  pointer-events: none;
}
.workshop-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 64px;
  align-items: start;
}
.workshop-audience {
  margin-top: 20px;
  color: var(--navy-100);
  font-size: 15px;
  line-height: 1.6;
}
.workshop-output {
  margin-top: 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.workshop-output li {
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--navy-100);
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.4;
}
.workshop-output li::before { content: "+"; color: var(--orange-500); flex-shrink: 0; }
.workshop-ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.workshop-case-link { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--navy-200); display: inline-flex; align-items: center; gap: 6px; }
.workshop-case-link:hover { color: var(--orange-500); }
.workshop-steps { display: flex; flex-direction: column; gap: 0; margin-top: 104px; }
.workshop-steps .wf-step { border-top-color: var(--line-dark); }
.workshop-steps .wf-step:first-child { border-top: none; }
.workshop-steps .wf-step:last-child { border-bottom: 1px solid var(--line-dark); }
.workshop-steps h4 { color: white; }
.workshop-steps p { color: var(--navy-200); }

/* ============ PAGE HEADER (sub pages) ============ */
.page-header {
  background: var(--navy-800);
  color: white;
  padding: 160px 0 120px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 85% 60%, rgba(241,90,36,0.12), transparent 60%);
  pointer-events: none;
}
.page-header-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(320px, .68fr);
  gap: clamp(56px, 7vw, 112px);
  align-items: start;
  position: relative;
}
.page-header h1 { font-size: clamp(52px, 6vw, 92px); letter-spacing: -0.025em; }
.page-header h1 em { color: var(--orange-500); font-style: italic; }
.page-header .breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--navy-200);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.page-header .breadcrumb span { color: var(--orange-500); }
.page-header-desc {
  margin-top: clamp(64px, 5vw, 86px);
  color: var(--navy-100);
  font-size: 17px;
  line-height: 1.62;
  max-width: 500px;
  justify-self: end;
}
.page-header-stacked .page-header-grid,
.case-studies-header .page-header-grid { grid-template-columns: minmax(0, 1fr); }
.page-header-stacked .page-header-desc,
.case-studies-header .page-header-desc {
  display: block;
  width: min(680px, 100%);
  max-width: 680px;
  margin: 30px auto 0 0;
  justify-self: start;
  text-align: left;
}
.case-detail-header .page-header-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.case-detail-header .page-header-desc {
  display: block;
  width: min(760px, 100%);
  max-width: 760px;
  margin: 32px auto 0 0;
  justify-self: start;
  text-align: left;
}

/* ============ CASE STUDY DETAIL ============ */
.page-header .meta-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line-dark);
}
.page-header .meta-row > div .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-200);
  margin-bottom: 8px;
}
.page-header .meta-row > div .val {
  font-family: var(--font-serif);
  font-size: 22px;
  color: white;
  letter-spacing: -0.01em;
}

.case-body-section {
  padding: 100px 0;
}
.case-prose {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: start;
}
.case-prose h3 {
  font-family: var(--font-serif);
  font-size: 32px;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.case-prose p { font-size: 17px; line-height: 1.65; color: var(--ink-700); margin-bottom: 18px; }
.case-prose ul { padding-left: 0; list-style: none; margin: 18px 0; }
.case-prose ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-700);
}
.case-prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 14px; height: 2px;
  background: var(--orange-500);
}
.case-side-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  position: sticky;
  top: 100px;
}
.case-side-lbl .dot {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange-500);
  margin-right: 10px;
  transform: translateY(-1px);
}

/* ============ LEGAL PAGES ============ */
.legal-body {
  padding: 80px 0 120px;
}
.legal-body-inner {
  max-width: 720px;
}
.legal-body h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 32px);
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 48px 0 16px;
}
.legal-body h2:first-child {
  margin-top: 0;
}
.legal-body p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-700);
  margin-bottom: 16px;
}
.legal-body ul {
  padding-left: 0;
  list-style: none;
  margin: 12px 0 20px;
}
.legal-body ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-700);
}
.legal-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 14px;
  height: 2px;
  background: var(--orange-500);
}
.legal-body a {
  color: var(--orange-500);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-body a:hover {
  color: var(--ink-900);
}

.workflow {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.wf-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line-light);
  align-items: start;
}
.wf-step:last-child { border-bottom: 1px solid var(--line-light); }
.wf-step .num {
  font-family: var(--font-serif);
  font-size: 36px;
  color: var(--orange-500);
  line-height: 1;
}
.wf-step h4 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.wf-step p { font-size: 15px; line-height: 1.55; color: var(--ink-500); }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  padding: 1px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(11, 23, 54, .18);
  box-shadow: 0 16px 44px rgba(7, 15, 38, .08);
  counter-reset: impact-card;
}
.impact-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  min-height: 224px;
  background: var(--navy-800);
  color: white;
  border-radius: 0;
  padding: 24px 24px 26px;
  border: 0;
  display: flex;
  flex-direction: column;
  counter-increment: impact-card;
}
.impact-card::before {
  content: "0" counter(impact-card);
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1;
  letter-spacing: .14em;
  color: var(--orange-500);
}
.impact-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 150px;
  height: 150px;
  top: -92px;
  right: -74px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241,90,36,.13), transparent 68%);
  pointer-events: none;
}
.impact-card .big {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(31px, 2.7vw, 42px);
  line-height: .98;
  color: var(--orange-500);
  letter-spacing: -0.02em;
  margin-top: 30px;
  min-height: 42px;
  overflow-wrap: anywhere;
}
.impact-card .lbl {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  max-width: 30ch;
  font-size: 13.5px;
  line-height: 1.52;
  color: var(--navy-100);
}

/* ============ SOLUTIONS PAGE ============ */
.solution-block {
  padding: 100px 0;
  border-bottom: 1px solid var(--line-light);
}
.solution-block:nth-child(even) { background: var(--cream-50); }
.sb-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: stretch;
}
.sb-grid > .reveal:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.sb-num {
  font-family: var(--font-serif);
  font-size: 160px;
  line-height: 0.9;
  color: var(--orange-500);
  font-style: italic;
  letter-spacing: -0.03em;
}
.sb-title {
  margin-top: 16px;
  font-size: clamp(40px, 4.4vw, 64px);
  letter-spacing: -0.02em;
}
.sb-lede {
  margin-top: 20px;
  color: var(--ink-500);
  font-size: 17px;
  line-height: 1.6;
  max-width: 460px;
}
.sb-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-self: stretch;
  margin-top: 10px;
}
.sb-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  background: white;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
}
.sb-item .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: 12px;
}
.sb-item h4 { font-family: var(--font-serif); font-size: 22px; letter-spacing: -0.01em; margin-bottom: 10px; }
.sb-item p { font-size: 14.5px; line-height: 1.55; color: var(--ink-500); }

/* responsive */
@media (max-width: 960px) {
  .hero-left { max-width: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-viz { height: 320px; margin-left: 0; margin-right: 0; }
  .hero-system { height: 400px; margin: 8px 0 0; }
  .solutions-heading { white-space: normal; }
  .solutions-grid, .cases-grid, .stats-grid, .impact-grid, .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-top, .approach-grid, .section-head, .cta-band-inner, .page-header-grid, .sb-grid, .case-prose, .trusted-inner, .workshop-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-header-desc { margin-top: 0; max-width: 680px; justify-self: start; }
  .trusted-logos { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .trusted-logos > a { border-left: 0; padding-left: 0; }
  section, .approach, .solution-block { padding: 72px 0; }
  .workshop-steps { margin-top: 0; }
  .sb-items {
    grid-template-rows: none;
    margin-top: 0;
  }
  .case-cta-inner { gap: 24px; }
  .problem-flow { max-width: 620px; }
  .workshop-cta-inner { gap: 24px; }
  .workshop-map { max-width: 680px; }
  .adoption-cta-inner { grid-template-columns: 1fr; gap: 42px; }
  .adoption-journey { max-width: 680px; width: 100%; min-height: 430px; }

  /* Mobile nav: hide inline links, show hamburger + slide-down panel */
  .nav-toggle { display: flex; }
  .nav-inner { display: flex; align-items: center; gap: 12px; }
  .nav-logo { margin-right: auto; }
  .nav-links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height .25s ease, opacity .2s ease;
    justify-self: unset;
  }
  .nav-dark .nav-links { background: rgba(11,23,54,0.98); border-bottom: 1px solid var(--line-dark); }
  .nav-light .nav-links { background: rgba(247,244,238,0.98); border-bottom: 1px solid var(--line-light); }
  .site-nav.nav-open .nav-links {
    max-height: 70vh;
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
  }
  .nav-links a { padding: 14px 12px; border-radius: var(--radius-md); font-size: 16px; }
}
@media (max-width: 620px) {
  .hero-inner { padding: 58px 0 54px; min-height: 0; }
  .hero-h1 { font-size: clamp(48px, 14vw, 64px); }
  .hero-sub { font-size: 16px; }
  .hero-points { margin-top: 38px; }
  .hero-system { height: 310px; }
  .system-panel { top: 48px; bottom: 42px; width: 29%; border-radius: 12px; }
  .system-workflow { left: 35.5%; }
  .system-label { top: 16px; font-size: 8px; }
  .system-label small { font-size: 6px; }
  .data-stream { top: 70px; bottom: 28px; }
  .workflow-stack { inset: 55px 0 14px; }
  .workflow-node { width: 34px; height: 34px; font-size: 13px; }
  .process-token { width: 7px; height: 7px; border: 0; background: var(--orange-500); }
  .process-token span, .process-token::before { display: none; }
  .outcome-mark { width: 64px; height: 64px; }
  .outcome-mark span { font-size: 24px; }
  .outcome-copy { display: none; }
  .case-cta { padding: 64px 0; }
  .problem-flow { min-height: 240px; }
  .problem-inputs text,
  .problem-agent-label { font-size: 7px; }
  .problem-talk-button { min-width: 118px; min-height: 52px; padding: 12px 16px; font-size: 13px; }
  .workshop-cta { padding: 64px 0; }
  .workshop-map { min-height: 270px; }
  .workshop-map-svg {
    inset: 0 0 auto;
    height: auto;
    aspect-ratio: 620 / 340;
  }
  .diagnostic-signals text { font-size: 10.5px; letter-spacing: .06em; }
  .workshop-map-button { width: 210px; }
  .adoption-cta { padding: 70px 0; }
  .adoption-copy { padding-bottom: 0; }
  .adoption-journey { min-height: 470px; }
  .adoption-curve { display: none; }
  .adoption-stage {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    min-height: 76px;
    padding: 14px 0 14px 38px;
    border: 0;
    border-top: 1px solid rgba(11,23,54,.18);
    text-align: left;
  }
  .adoption-stage:last-of-type { border-bottom: 1px solid rgba(11,23,54,.18); }
  .stage-node {
    display: block;
    position: absolute;
    left: 3px;
    top: 22px;
    width: 14px;
    height: 14px;
    border: 3px solid var(--orange-500);
    border-radius: 50%;
    background: white;
  }
  .adoption-stage strong { padding: 0; }
  .adoption-stage small { display: block; opacity: .72; transform: none; padding: 0; background: transparent; color: var(--navy-900); }
  .journey-start {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin-bottom: 26px;
  }
  .journey-start-button { max-width: 230px; }
  .adoption-value { display: none; }
  .solutions-grid, .cases-grid, .stats-grid, .impact-grid, .footer-cols, .sb-items, .workshop-output { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sol-card { aspect-ratio: auto; min-height: 340px; }
  .page-header .meta-row { grid-template-columns: 1fr 1fr; }
  .journey-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .process-token,
  .data-row span,
  .workflow-node,
  .outcome-mark::before,
  .outcome-mark::after,
  .live-dot { animation: none !important; }
  .adoption-path-progress { stroke-dashoffset: 0; }
  .adoption-token-svg { display: none; }
  .problem-particles { display: none; }
  .problem-agent-ring { animation: none; }
  .diagnostic-particles { display: none; }
  .diagnostic-signals > g,
  .diagnostic-signals > g circle,
  .diagnostic-signals > g rect,
  .diagnostic-funnel-stages > g,
  .diagnostic-funnel-stages > g path,
  .diagnostic-destination-chevron,
  .workshop-map-button { animation: none; }
  .hero-rotate-line .word { transition: none; }
}


/* ============ LANGUAGE SWITCHER ============ */
.nav-right {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 4px;
  padding: 4px 6px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-dark .lang-switch { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.nav-light .lang-switch { background: rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.06); }
.lang-switch .lang-btn {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 999px;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  opacity: 0.55;
  transition: opacity .15s ease, background .15s ease, color .15s ease;
}
.nav-dark .lang-switch .lang-btn { color: white; }
.nav-light .lang-switch .lang-btn { color: var(--ink-900); }
.lang-switch .lang-btn:hover { opacity: 1; }
.lang-switch .lang-btn.active {
  opacity: 1;
  color: var(--orange-500);
}
.lang-switch .lang-sep { opacity: 0.35; }

@media (max-width: 740px) {
  .lang-switch { font-size: 10px; padding: 2px 4px; }
  .lang-switch .lang-btn { padding: 3px 6px; }
}

/* Keep the complete contact CTA available on narrow screens without
   squeezing the logo, menu control, and language switch into one row. */
@media (max-width: 620px) {
  body { padding-top: 112px; }
  .nav-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 62px 42px;
    column-gap: 12px;
    row-gap: 0;
    height: 112px;
  }
  .nav-logo {
    grid-column: 1;
    grid-row: 1;
    margin-right: 0;
    min-width: 0;
  }
  .nav-logo img {
    width: auto;
    max-width: 100%;
    height: 42px !important;
  }
  .nav-toggle {
    grid-column: 2;
    grid-row: 1;
  }
  .nav-right {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-content: space-between;
    align-self: start;
    gap: 12px;
  }
  .nav-right > .btn {
    height: 36px;
    padding: 0 16px;
    font-size: 14px;
  }
  .lang-switch { margin-right: 0; }
  .nav-links { top: 112px; }
}
