:root {
  /* Light, content-first base + a cool indigo→blue→cyan accent system with bold color moments */
  --ink: #14161b;
  --ink-2: #2a2d36;
  --muted: #5e636d;
  --faint: #9398a2;
  --paper: #f3f5f8;        /* cool, premium off-white base, carried across the page */
  --paper-2: #eaedf2;      /* slightly deeper cool off-white for alternating sections */
  --line: rgba(20, 22, 27, 0.1);
  --line-2: rgba(20, 22, 27, 0.16);

  /* accent palette */
  --indigo: #4b54e0;
  --indigo-600: #3a43cc;
  --blue: #2f5bff;
  --cyan: #2fa8ff;
  --violet: #7a5bf0;
  --tint: #eef0ff;         /* soft indigo wash */
  --tint-2: #e9f3ff;       /* soft blue wash */
  --grad: linear-gradient(120deg, #4b54e0 0%, #2f5bff 48%, #2fa8ff 100%);
  --grad-rich: linear-gradient(130deg, #4b54e0 0%, #6e5bf0 38%, #2f5bff 72%, #2fa8ff 100%);

  --max: 1180px;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px clamp(20px, 4vw, 56px);
  color: var(--ink);
  transition: background 200ms ease, border-color 200ms ease, padding 200ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(243, 245, 248, 0.85);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
  padding-top: 15px;
  padding-bottom: 15px;
}

.brand,
.nav,
.header-cta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: -0.02em;
}

/* CloudDrove mark — steel C + cloud bite with a sweeping shine */
.cd-logo {
  height: 44px;
  width: auto;
  flex: none;
  display: block;
  overflow: visible;
}

.cd-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* steel sheen — a masked CSS overlay (repaints cleanly, unlike an animated SVG clip) */
.cd-logo-wrap { position: relative; display: inline-flex; flex: none; }

.cd-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask-image: url(assets/cd-mask.svg);
  mask-image: url(assets/cd-mask.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: left center;
  mask-position: left center;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 43%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0) 57%);
  background-repeat: no-repeat;
  background-size: 280% 100%;
  background-position: 185% 0;
  animation: cd-sheen 4.6s ease-in-out infinite;
}

@keyframes cd-sheen {
  0% { background-position: 185% 0; }
  28% { background-position: -85% 0; }
  100% { background-position: -85% 0; }
}

/* wordmark — Poppins, CLOUD light + DROVE bold */
.brand-word {
  font-family: "Poppins", Inter, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1.08rem;
  line-height: 1;
  white-space: nowrap;
}

.brand-word .bw-1 { font-weight: 600; color: #6b7077; }
.brand-word .bw-2 { font-weight: 700; color: #1f2024; }

.nav {
  margin-left: auto;
  gap: 24px;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a {
  position: relative;
  color: var(--muted);
  transition: color 160ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1.5px;
  background: var(--indigo);
  transition: width 200ms ease;
}

.nav a:hover {
  color: var(--ink);
}

.nav a:hover::after {
  width: 100%;
}

.header-cta {
  justify-self: end;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(110deg, #4b54e0 0%, #2f6bff 45%, #19bfe6 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 160ms ease, filter 160ms ease;
}

.header-cta:hover {
  filter: saturate(1.08) brightness(1.05);
  transform: translateY(-1px);
}

/* ---------- Shared type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  margin-right: 14px;
  border-radius: 2px;
  background: var(--grad);
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.025em;
}

/* ---------- Buttons ---------- */
.primary-link {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  background: linear-gradient(110deg, #4b54e0 0%, #2f6bff 42%, #19bfe6 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 14px 34px rgba(25, 160, 220, 0.34);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.primary-link:hover {
  transform: translateY(-2px);
  filter: saturate(1.1) brightness(1.04);
  box-shadow: 0 20px 46px rgba(25, 160, 220, 0.44);
}

.primary-link::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 14px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
}

.ghost-link::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 12px;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.ghost-link:hover {
  color: var(--blue);
}

.ghost-link:hover::after {
  transform: rotate(45deg) translate(3px, -3px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: clamp(108px, 13vh, 150px) clamp(20px, 5vw, 72px) clamp(48px, 6vh, 80px);
  background: linear-gradient(208deg, #f4f6f9 0%, #ecf0f5 52%, #e0e6ee 100%);
  overflow: hidden;
}

/* full-bleed animated art */
.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-art .hv-art {
  width: 100%;
  height: 100%;
  display: block;
}

/* readability veil — keeps the left clean for the headline */
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(95deg, rgba(224, 230, 238, 0.8) 18%, rgba(224, 230, 238, 0.36) 42%, rgba(224, 230, 238, 0) 62%),
    linear-gradient(180deg, #e8ecf2 0%, #e8ecf2 6%, rgba(232, 236, 242, 0) 15%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.hero-copy {
  max-width: 700px;
}

.hero .eyebrow {
  margin-bottom: 40px;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
}

.hero h1 {
  margin: 0 0 48px;
  font-size: clamp(2.05rem, 2.9vw, 2.9rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-lede {
  max-width: 600px;
  margin: 0 0 44px;
  color: #3c414b;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  margin: 0 0 40px;
}

/* Clutch / Upwork proof */
.hero-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 34px;
  margin-top: 0;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.rating-plat {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.stars {
  font-size: 1.05rem;
  letter-spacing: 2px;
  line-height: 1;
}

.stars-clutch { color: #e0573a; }
.stars-upwork { color: #14a800; }

.rating-val {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.tr-badge {
  width: 15px;
  height: 15px;
  flex: none;
}

.rating-sep {
  width: 1px;
  height: 26px;
  background: var(--line-2);
}

/* ---------- Why CloudDrove ---------- */
.why-section {
  background: var(--paper-2);
  padding: clamp(30px, 4vw, 56px) clamp(20px, 5vw, 72px);
}

.why-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.why-main h2 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(1.5rem, 2.1vw, 2.05rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.why-body {
  max-width: 600px;
  margin-top: clamp(24px, 3vw, 36px);
}

.why-body p {
  margin: 0;
  color: #3c414b;
  font-size: clamp(1.1rem, 1.35vw, 1.22rem);
  line-height: 1.66;
}

.why-body p + p {
  margin-top: 20px;
}

.why-means {
  margin-top: clamp(28px, 3.5vw, 40px);
}

.why-means-label {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(1.2rem, 1.55vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px;
}

.why-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 500;
}

.why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.46em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(120deg, #4b54e0, #2f6bff 45%, #19c6e6);
  background-size: 220% 100%;
  animation: glaze-dot 4.5s ease-in-out infinite;
}

.why-list li:nth-child(2)::before { animation-delay: 0.5s; }
.why-list li:nth-child(3)::before { animation-delay: 1s; }
.why-list li:nth-child(4)::before { animation-delay: 1.5s; }
.why-list li:nth-child(5)::before { animation-delay: 2s; }

@keyframes glaze-dot {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}

/* credibility sidebar — proof points, not cards */
.why-proof {
  padding-left: clamp(28px, 3.5vw, 56px);
  border-left: 1px solid var(--line);
}

.proof-point {
  padding: clamp(20px, 2.4vw, 28px) 0;
  border-bottom: 1px solid var(--line);
}

.proof-point:first-child { padding-top: 4px; }
.proof-point:last-child { padding-bottom: 0; border-bottom: 0; }

.proof-point strong {
  display: block;
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  background: linear-gradient(90deg, #4b54e0, #2f6bff, #19c6e6, #2f6bff, #4b54e0);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: flow 6s linear infinite;
}

.proof-point:nth-child(2) strong { animation-delay: -1.2s; }
.proof-point:nth-child(3) strong { animation-delay: -2.4s; }
.proof-point:nth-child(4) strong { animation-delay: -3.6s; }

/* colour flows through the text — full coverage, every letter shifts hue */
@keyframes flow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.proof-point span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 500;
}

/* ---------- Section 2 — Impact Snapshot ---------- */
.snapshot {
  padding: clamp(48px, 5.5vw, 80px) clamp(20px, 5vw, 72px);
  background: var(--paper);
}

.snapshot > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.snapshot .eyebrow {
  margin-bottom: 18px;
}

.snap-title {
  max-width: 760px;
  margin: 0 0 clamp(26px, 3.6vw, 42px);
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}

/* Part 1 — experience & breadth */
.snap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-2);
}

.snap-item {
  min-width: 0;
  padding: clamp(30px, 3.4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
}

.snap-item:nth-child(odd) {
  padding-right: clamp(28px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.snap-item:nth-child(even) {
  padding-left: clamp(28px, 4vw, 56px);
}

.snap-metric {
  display: block;
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}

.snap-label {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 500;
}

.snap-viz {
  margin-top: 24px;
  min-height: 64px;
}

.snap-viz > * { min-width: 0; max-width: 100%; }

/* industry ribbon */
.ribbon {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 86%, transparent);
}

.ribbon-track {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  animation: ribbon 40s linear infinite;
}

.ribbon-track span { font-size: 0.95rem; font-weight: 600; color: #49505f; }
.ribbon-track b { color: var(--cyan); font-weight: 700; }

@keyframes ribbon { to { transform: translateX(-50%); } }

/* systems network */
.viz-net { display: block; width: 100%; height: 64px; }
.net-edges line { stroke: rgba(64, 80, 150, 0.3); stroke-width: 1; }
.net-nodes circle { fill: #5560a0; }
.net-hub { fill: var(--indigo); animation: net-pulse 3.4s ease-in-out infinite; }
@keyframes net-pulse { 0%, 100% { opacity: 0.65; } 50% { opacity: 1; } }

/* multi-cloud ecosystem */
.viz-eco { display: block; width: 100%; height: 80px; }
.eco-edges line { stroke: rgba(64, 80, 150, 0.3); stroke-width: 1; }
.eco-hub { fill: var(--indigo); }
.eco-node circle { fill: #5560a0; }
.eco-node text { fill: var(--muted); font-size: 9px; font-weight: 600; font-family: Inter, sans-serif; }

/* AI progression */
.prog { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.prog span { font-size: 0.84rem; font-weight: 600; color: #9aa0ad; animation: prog 9s ease-in-out infinite; }
.prog span:nth-of-type(2) { animation-delay: 2.25s; }
.prog span:nth-of-type(3) { animation-delay: 4.5s; }
.prog span:nth-of-type(4) { animation-delay: 6.75s; }
.prog i { width: 16px; height: 1px; background: var(--line-2); flex: none; }
@keyframes prog { 0%, 16% { color: var(--indigo); } 26%, 100% { color: #9aa0ad; } }

/* Part 2 — outcomes & impact */
.snap-outcomes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 52px);
  margin-top: 0;
}

.outcome {
  min-width: 0;
  padding-top: clamp(26px, 3vw, 38px);
}

/* category leads, number supports, accent rule, description, then meaning */
.oc-cat {
  display: block;
  color: var(--indigo);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.oc-num {
  display: block;
  margin-top: 14px;
  font-size: clamp(2rem, 3.1vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
}

/* highlighted outcome line — catches attention */
.oc-desc {
  display: block;
  margin-top: 16px;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  background: linear-gradient(90deg, #4b54e0, #2f6bff, #19c6e6, #2f6bff, #4b54e0);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: flow 7s linear infinite;
}

.outcome:nth-child(2) .oc-desc { animation-delay: -1.5s; }
.outcome:nth-child(3) .oc-desc { animation-delay: -3s; }
.outcome:nth-child(4) .oc-desc { animation-delay: -4.5s; }

.oc-mean {
  margin: 8px 0 0;
  max-width: 240px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Hero art — structured emergence (canvas): scattered points resolving into one structure */
.hv-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* ---------- Section scaffold ---------- */
.section {
  padding: clamp(52px, 7vw, 96px) clamp(20px, 5vw, 72px);
}

.section > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.42rem, 1.95vw, 1.9rem);
  line-height: 1.18;
  letter-spacing: -0.018em;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.prose p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.4vw, 1.26rem);
  line-height: 1.62;
}

.prose p + p {
  margin-top: 24px;
}

/* alternating section tones */
.intro-section,
.work-section,
/* Belief — full-width dark manifesto beat before the final CTA */
.belief-band {
  padding: clamp(76px, 11vw, 140px) clamp(20px, 5vw, 72px);
  background: radial-gradient(125% 150% at 50% 0%, #1c2030 0%, var(--ink) 62%);
  text-align: center;
}
.belief-inner { max-width: 900px; margin: 0 auto; }
.belief-band .eyebrow {
  justify-content: center;
  margin-bottom: clamp(18px, 2.2vw, 26px);
  color: rgba(255, 255, 255, 0.66);
}
.belief-band h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  line-height: 1.13;
  letter-spacing: -0.03em;
  color: #fff;
}
.belief-statement {
  max-width: 680px;
  margin: clamp(22px, 2.6vw, 32px) auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.05rem, 1.4vw, 1.24rem);
  line-height: 1.62;
}

.needs-section,
.support-section,
.stories-section {
  background: var(--paper-2);
}

/* impact = a color moment */
.impact-section {
  position: relative;
  background:
    radial-gradient(60% 120% at 88% 12%, rgba(47, 168, 255, 0.12), transparent 60%),
    radial-gradient(50% 100% at 8% 100%, rgba(122, 91, 240, 0.1), transparent 60%),
    var(--tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- Metric rows (trust + impact) ---------- */
.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(56px, 8vw, 88px);
  border-top: 1px solid var(--line-2);
}

.metric {
  min-height: 156px;
  padding: 30px 26px 26px 0;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 3.6vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.metric span {
  display: block;
  max-width: 220px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 500;
}

/* ---------- Section 3 — Needs ---------- */
.needs-section h2 {
  max-width: 960px;
  margin-bottom: clamp(52px, 7vw, 84px);
}

.need-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-2);
}

.need-grid article {
  min-height: 320px;
  padding: 30px 26px 0 0;
  border-right: 1px solid var(--line);
}

.need-grid article:last-child {
  border-right: 0;
}

.idx {
  display: block;
  margin-bottom: 48px;
  color: var(--indigo);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.need-grid h3,
.model h3 {
  margin: 0 0 14px;
  font-size: clamp(1.28rem, 1.9vw, 1.72rem);
  line-height: 1.16;
}

.need-grid p,
.model p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
}

/* ---------- Section 4 — How We Work (scroll-driven architecture) ---------- */
.work-section {
  padding: clamp(48px, 6vw, 92px) clamp(20px, 5vw, 72px);
  background: linear-gradient(105deg, #e0e6ee 0%, #ecf0f5 52%, #f4f6f9 100%);
}

.work-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}

.work-main { max-width: 600px; }

.work-section h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.1vw, 2.05rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.work-intro {
  margin: clamp(22px, 3vw, 32px) 0 0;
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.35vw, 1.22rem);
  line-height: 1.62;
}

.stages {
  margin-top: clamp(36px, 5vw, 64px);
}

.stage {
  min-height: 45vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.3;
  transition: opacity 0.45s ease;
}

.stage.is-active { opacity: 1; }

.stage-idx {
  color: var(--indigo);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.stage-title {
  margin: 10px 0 14px;
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
}

.stage p {
  margin: 0;
  max-width: 480px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.3vw, 1.14rem);
  line-height: 1.62;
}

.stage p + p {
  margin-top: 14px;
}

.stage .hl {
  font-weight: 600;
  background: linear-gradient(100deg, #4b54e0 0%, #2f6bff 45%, #1aa6d6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* subtle trust indicators */
.work-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: clamp(40px, 5vw, 60px) 0 0;
  padding: 0;
  list-style: none;
}

.work-trust li {
  position: relative;
  padding-left: 20px;
  color: var(--faint);
  font-size: 0.86rem;
  font-weight: 500;
}

.work-trust li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--indigo);
  opacity: 0.6;
  font-size: 0.8rem;
  font-weight: 700;
}

/* sticky architecture visual */
.work-visual {
  position: sticky;
  top: clamp(84px, 13vh, 140px);
  align-self: start;
  height: min(600px, 70vh);
}

.work-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* ---------- Section 5 — Four capability constellations ---------- */
.g0 { --gc: #4b54e0; }
.g1 { --gc: #2f6bff; }
.g2 { --gc: #1aa6d6; }
.g3 { --gc: #7a5bf0; }

.ecosystem {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(60px, 7vh, 88px);
  padding-bottom: clamp(24px, 3vh, 40px);
}

.eco-inner { width: 100%; }

.eco-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: clamp(14px, 2vw, 24px);
}

.eco-foot p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.eco-foot .ghost-link { min-height: auto; padding: 0; }

.ecosystem h2 { max-width: 760px; }

/* clean 2x2 pillar grid */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-2);
  margin-top: clamp(10px, 1.6vw, 20px);
}

.pillar {
  position: relative;
  padding: clamp(9px, 1.2vw, 16px) clamp(28px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

.pillar:nth-child(odd) {
  padding-left: 0;
  border-right: 1px solid var(--line);
}

.pillar:nth-child(even) {
  padding-right: 0;
}

.pillar-title {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 10px;
  font-size: clamp(1.12rem, 1.5vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.p-glyph {
  display: inline-flex;
  flex: none;
}

.p-glyph svg {
  width: clamp(20px, 1.5vw, 24px);
  height: auto;
}

.p-glyph .gl-ln {
  fill: none;
  stroke: var(--gc);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.p-glyph .gl-dot { fill: var(--gc); }

.pillar-title::before {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  margin-bottom: 10px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gc) 0%, var(--gc) 32%, rgba(255, 255, 255, 0.85) 50%, var(--gc) 68%, var(--gc) 100%);
  background-size: 260% 100%;
  animation: bar-sheen 4.5s linear infinite;
  transition: width 0.3s ease;
}

@keyframes bar-sheen {
  0% { background-position: 160% 0; }
  100% { background-position: -160% 0; }
}

.pillar:hover .pillar-title::before { width: 52px; }
.pillar .psvc strong::before { transition: transform 0.25s ease, opacity 0.25s ease; }
.pillar:hover .psvc:nth-of-type(1) strong::before { transform: scale(1.4); }
.pillar:hover .psvc:nth-of-type(2) strong::before { transform: scale(1.4); transition-delay: 0.08s; }

.psvc { padding: 8px 0; border-top: 1px solid var(--line); }
.psvc:first-of-type { border-top: 0; padding-top: 0; }

.psvc strong {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s ease;
}

.psvc strong::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  margin-top: 0.42em;
  border-radius: 50%;
  background: var(--gc);
}

.psvc p {
  margin: 4px 0 0 20px;
  max-width: 460px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.46;
}

.psvc:hover strong { color: var(--gc); }

.eco-zones {
  margin-top: clamp(22px, 3vw, 40px);
  border-top: 1px solid var(--line);
}

.zone {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(24px, 4.5vw, 62px);
  align-items: center;
  padding: clamp(24px, 3.8vw, 50px) 0;
  border-bottom: 1px solid var(--line);
  outline: none;
}

.zone:nth-child(even) .zone-viz { order: 2; }

.zone-viz { display: flex; justify-content: center; min-width: 0; }
.zone-viz .con { width: clamp(150px, 56%, 236px); }
.zone-body { min-width: 0; }

.con { display: block; width: 100%; height: auto; overflow: visible; }
.con .ln { stroke: var(--gc); stroke-opacity: 0.34; stroke-width: 1.1; fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: stroke-opacity 0.3s ease; }
.con .cn { fill: var(--gc); opacity: 0.7; transition: opacity 0.3s ease; }
.con .loop { stroke-opacity: 0.34; }
.con .orbit-dot { fill: var(--gc); }

/* metaphor emphasis */
.con .rise, .con .arrow, .con .check { stroke-opacity: 0.74; stroke-width: 1.5; }
.con .base { stroke-opacity: 0.18; }
.con .hub { opacity: 1; }
.con .dim { opacity: 0.5; }
.con-smart .hub { animation: cn-pulse 2.4s ease-in-out infinite; }

/* depth / 3D shading */
.con .bk { stroke-opacity: 0.16; }
.con .dep { stroke-opacity: 0.16; }
.con .bk-n { opacity: 0.38; }
.con .far { opacity: 0.5; }
.con .mid { opacity: 0.76; }

/* animated signals / traces */
.con .signal, .con .patrol, .con .trace { fill: var(--gc); }
.con .signal { filter: drop-shadow(0 0 3px var(--gc)); }
.con .trace.sm { opacity: 0.6; }
.con .pulse-ring { stroke: var(--gc); stroke-width: 1.2; fill: none; }

.con { transform-box: fill-box; transform-origin: center; }

/* personalities */
.con-growth .cn { animation: cn-pulse 4s ease-in-out infinite; }
.con-growth .cn:nth-child(2n) { animation-delay: -1.3s; }
.con-growth .cn:nth-child(3n) { animation-delay: -2.4s; }

.con-risk .cn { animation: cn-pulse 3.2s ease-in-out infinite; }
.con-risk .cn:nth-child(2n) { animation-delay: -0.9s; }
.con-risk .cn:nth-child(3n) { animation-delay: -1.8s; }

.con-smart .flow { stroke-dasharray: 4 10; animation: con-flow 2.6s linear infinite; }
.con-smart .flow:nth-child(2) { animation-delay: -0.8s; }

@keyframes cn-pulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes con-flow { to { stroke-dashoffset: -28; } }

/* the zone reacts as it's explored */
.zone:hover .con .ln,
.zone:focus .con .ln,
.zone:focus-within .con .ln { stroke-opacity: 0.66; }
.zone:hover .con .cn,
.zone:focus .con .cn,
.zone:focus-within .con .cn { opacity: 1; }
.zone:hover .con,
.zone:focus .con { transform: scale(1.04); }
.con { transition: transform 0.5s ease; }
/* Reduce Risk — redundant pathways illuminate on explore */
.zone.g1:hover .con .bk,
.zone.g1:focus .con .bk { stroke-opacity: 0.5; }

/* pillar — the chapter headline */
.zone-title {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  font-weight: 700;
  letter-spacing: 0.004em;
  text-transform: uppercase;
  color: var(--ink);
}

.zone-title::before {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  margin-bottom: 14px;
  border-radius: 3px;
  background: var(--gc);
}

/* affordance, hidden once exploring */
.zone-hint {
  display: inline-flex;
  align-items: center;
  margin: 14px 0 0;
  color: var(--gc);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.zone-hint::after {
  content: "";
  width: 6px; height: 6px;
  margin-left: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.zone:hover .zone-hint,
.zone:focus .zone-hint,
.zone:focus-within .zone-hint { opacity: 0; }

/* services revealed on explore */
.zone-reveal {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin-top 0.4s ease;
}

.zone:hover .zone-reveal,
.zone:focus .zone-reveal,
.zone:focus-within .zone-reveal {
  max-height: 320px;
  opacity: 1;
  margin-top: 16px;
}

.zone-svc { padding: 10px 0; border-top: 1px solid var(--line); }
.zone-svc:first-child { border-top: 0; }

.zone-svc strong {
  display: flex;
  align-items: baseline;
  gap: 11px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
}

.zone-svc strong::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  margin-top: 0.42em;
  border-radius: 50%;
  background: var(--gc);
}

.zone-svc p {
  margin: 5px 0 0 18px;
  max-width: 430px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* ---------- Section 6 — Impact ---------- */
.impact-section h2 {
  max-width: 900px;
}

.impact .metric {
  border-right-color: var(--line-2);
}

.impact .metric strong {
  font-size: clamp(2.3rem, 4vw, 3.7rem);
  background: var(--grad-rich);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Section 7 — Case studies ---------- */
.model {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: clamp(52px, 7vw, 84px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line-2);
}

.model li {
  padding: 30px 28px 30px 0;
  border-right: 1px solid var(--line);
}

.model li:last-child {
  border-right: 0;
  padding-right: 0;
}

.model .idx {
  margin-bottom: 40px;
}

.stories-note {
  max-width: var(--max);
  margin: clamp(36px, 5vw, 52px) auto 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.stories-note a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--line-2);
  transition: color 160ms ease, border-color 160ms ease;
}

.stories-note a:hover {
  color: var(--indigo);
  border-color: var(--indigo);
}

/* case-study carousel */
.case-carousel { margin-top: clamp(32px, 4.5vw, 56px); }
.case-viewport { overflow-x: clip; overflow-y: visible; padding: 10px 0; }
.case-track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  align-items: stretch;
}
.case-track .case { flex: 0 0 calc((100% - (var(--pv, 3) - 1) * 24px) / var(--pv, 3)); }

.case-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(20px, 2.6vw, 30px);
}
.case-dots { display: flex; align-items: center; gap: 8px; }
.case-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line-2);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.case-dot.is-active { width: 22px; border-radius: 5px; background: var(--indigo); }
.case-arrows { display: flex; gap: 10px; }
.case-arrow {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.case-arrow:hover { background: var(--paper-2); border-color: var(--ink); transform: translateY(-1px); }

/* legacy grid (kept for any non-carousel use) */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 28px);
  margin-top: clamp(32px, 4.5vw, 56px);
}

.case {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.case:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: 0 18px 40px rgba(47, 168, 255, 0.22);
}

.case-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.case-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 9px;
  background: var(--paper-2);
  color: var(--faint);
  font-size: 0.72rem;
  font-weight: 600;
}

.case-tag {
  color: var(--indigo);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-title {
  margin: 0 0 10px;
  font-size: clamp(1.1rem, 1.35vw, 1.28rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.015em;
}

.case-body {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.case-stats {
  display: flex;
  gap: clamp(20px, 3vw, 36px);
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.case-stat strong {
  display: block;
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.case-stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

/* industries */
.industries-section { background: var(--paper-2); }
.industries-section h2 { max-width: 720px; }

/* compact homepage industries section (scoped — does not affect industries.html navigator) */
.industries-section { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.industries-section .ind-nav-lede { margin-top: clamp(10px, 1.2vw, 14px); }
.industries-section .ind-nav-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.3vw, 16px);
  margin-top: clamp(20px, 2.4vw, 30px);
}
.industries-section .ind-nav-card { padding: clamp(15px, 1.5vw, 19px); gap: 5px; }
.industries-section .ind-nav-emoji { font-size: 1.3rem; }
.industries-section .ind-nav-name { font-size: 1rem; }
.industries-section .ind-nav-pains { font-size: 0.76rem; }
.industries-section .ind-explore-link { margin-top: clamp(16px, 1.8vw, 24px); }
/* 8th tile: soft CTA to fill the grid */
.ind-nav-cta { background: var(--paper); border-style: dashed; border-color: var(--line-2); }
.ind-nav-cta .ind-nav-name { color: var(--ink-2); }
.ind-nav-cta .ind-nav-pains { color: var(--indigo); }
.ind-nav-cta:hover { border-style: solid; }
@media (max-width: 880px) { .industries-section .ind-nav-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .industries-section .ind-nav-grid { grid-template-columns: 1fr; } }

.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-2);
  margin-top: clamp(28px, 4vw, 48px);
}

.ind {
  padding: clamp(22px, 3vw, 34px) clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
}

.ind:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.ind:nth-child(3n+1) { padding-left: 0; }

.ind strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ind span {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

/* ---------- Final CTA ---------- */
/* Cloud Infrastructure Assessment band (before final CTA) */
.assess-band {
  padding: clamp(48px, 6.5vw, 92px) clamp(20px, 5vw, 72px) clamp(8px, 1.5vw, 18px);
  background: var(--paper);
}
.assess-card {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(36px, 4.6vw, 60px) clamp(26px, 4vw, 60px);
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(20, 22, 27, 0.07);
  overflow: hidden;
}
.assess-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad);
}
.assess-card .eyebrow { justify-content: center; }
.assess-card h2 {
  margin: 14px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
}
.assess-sub {
  max-width: 640px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.6;
}
.assess-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.assess-points li {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-2);
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}
.assess-cta {
  display: inline-block;
  margin: 28px 0 0;
  padding: 14px 30px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(47, 91, 255, 0.26);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.assess-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(47, 91, 255, 0.34); }
.assess-note { margin: 15px 0 0; color: var(--muted); font-size: 0.82rem; }

.closing {
  padding: clamp(28px, 4vw, 48px) clamp(20px, 5vw, 72px) clamp(40px, 5.5vw, 72px);
  background: var(--paper);
}

.closing-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(54px, 8vw, 100px) clamp(28px, 6vw, 80px);
  border-radius: 20px;
  background: var(--grad-rich);
  color: #fff;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(47, 91, 255, 0.28);
}

/* subtle texture over the gradient */
.closing-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 80% at 85% 10%, rgba(255, 255, 255, 0.18), transparent 60%),
    radial-gradient(40% 80% at 10% 100%, rgba(0, 0, 0, 0.12), transparent 60%);
}

.closing-inner > * {
  position: relative;
  z-index: 1;
}

.closing-inner .eyebrow {
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
}

.closing-inner .eyebrow::before {
  display: none;
}

.closing h2 {
  margin: 0 auto;
  max-width: 700px;
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.closing .primary-link {
  margin-top: 38px;
  background: #fff;
  color: var(--indigo);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.closing .primary-link:hover {
  background: #fff;
  color: var(--indigo-600);
  transform: translateY(-2px);
}

/* ---------- Proof line ---------- */
.proof {
  padding: 0 clamp(20px, 5vw, 72px) clamp(56px, 7vw, 84px);
  background: var(--paper);
  text-align: center;
}

.proof p {
  max-width: 820px;
  margin: 0 auto;
  color: var(--faint);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding: clamp(40px, 4.5vw, 60px) clamp(20px, 5vw, 72px) clamp(20px, 2.5vw, 28px);
  background: #fafbfe;
  border-top: 1px solid var(--line);
}

.footer-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) 3.5fr;
  gap: clamp(28px, 4vw, 60px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}
.footer-tagline {
  margin: 0;
  max-width: 300px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* social icons */
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.footer-social a:hover {
  color: #fff;
  background: var(--indigo);
  border-color: var(--indigo);
  transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }

/* review badges */
.footer-ratings { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-ratings .rating {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(16, 22, 40, 0.05);
}
.footer-ratings .rating { white-space: nowrap; }
.footer-ratings .stars { font-size: 0.74rem; letter-spacing: 0.5px; }
.footer-ratings strong { font-weight: 700; }
.footer-ratings .rating-clutch strong { color: #ff3d2e; }
.footer-ratings .rating-star { color: #ff3d2e; font-size: 0.95rem; line-height: 1; }
.footer-ratings .rating-upwork strong { color: #14a800; }
.footer-ratings .rating-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #14a800;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
}
.footer-ratings .rating-aws strong { color: #ff9900; }

.footer-blurb {
  margin: -4px 0 0;
  max-width: 300px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* visually-hidden utility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* contact column extras */
.footer-col-contact .footer-loc {
  margin: 2px 0 4px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* newsletter band */
.footer-news {
  position: relative;
  max-width: var(--max);
  margin: clamp(26px, 3.2vw, 38px) auto 0;
  padding: clamp(14px, 1.8vw, 20px) clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--tint);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
}
.footer-news-text h3 {
  margin: 0;
  font-family: "Poppins", Inter, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink);
}
.footer-news-text p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
}
.footer-news-form { flex: 0 1 auto; }
.footer-news-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 4px 4px 16px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.footer-news-row:focus-within { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(75, 84, 224, 0.14); }
.footer-news-row input {
  min-width: 200px;
  padding: 0.5rem 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
}
.footer-news-row input:focus { outline: none; }
.footer-news-row input::placeholder { color: var(--faint); }
.footer-news-row button {
  padding: 0.5rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.footer-news-row button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(75, 84, 224, 0.7);
}
@media (max-width: 620px) {
  .footer-news { gap: 12px; }
  .footer-news-form { width: 100%; }
  .footer-news-row input { min-width: 0; flex: 1; }
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 2vw, 32px);
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-col h3 {
  margin: 0 0 3px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  font-size: 0.7rem;
}
.footer-col a {
  width: fit-content;
  color: var(--indigo);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 160ms ease, transform 160ms ease;
}
.footer-col a:hover { color: #7c3aed; transform: translateX(3px); }
.footer-col-contact .footer-email {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 600;
}
.footer-col-contact .footer-email:hover { color: var(--indigo); transform: none; }
.footer-col-contact .footer-cta-link { color: var(--indigo); font-weight: 600; }
.footer-col-contact .footer-cta-link:hover { transform: translateX(3px); }

.footer-bottom {
  position: relative;
  max-width: var(--max);
  margin: clamp(22px, 2.8vw, 34px) auto 0;
  padding-top: clamp(14px, 1.6vw, 20px);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  color: var(--faint);
  font-size: 0.8rem;
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { color: var(--faint); transition: color 160ms ease; }
.footer-legal a:hover { color: var(--ink); }

@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .hero-veil {
    background:
      linear-gradient(100deg, #f3f5f8 36%, rgba(243, 245, 248, 0.74) 58%, rgba(243, 245, 248, 0.12) 82%),
      linear-gradient(180deg, #f3f5f8 0%, #f3f5f8 9%, rgba(243, 245, 248, 0) 22%),
      linear-gradient(0deg, rgba(243, 245, 248, 0.45), rgba(243, 245, 248, 0) 24%);
  }

  .two-column,
  .capability-list article {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .capability-list article:hover {
    padding-left: 0;
  }

  .flow li {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .metric-row,
  .need-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: clamp(36px, 5vw, 52px);
  }

  .why-proof {
    top: 0;
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line-2);
    padding-top: clamp(28px, 4vw, 40px);
  }

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

  .work-main { max-width: none; }

  .work-visual {
    order: -1;
    top: 64px;
    height: 42vh;
    margin-bottom: clamp(22px, 4vw, 36px);
  }

  .stage { min-height: 38vh; }

  .proof-point:first-child { padding-top: clamp(20px, 2.4vw, 28px); }

  .snap-outcomes {
    grid-template-columns: repeat(2, 1fr);
  }

  .outcome:nth-child(2n) { border-right: 0; }
  .outcome:nth-child(1), .outcome:nth-child(2) { border-bottom: 1px solid var(--line); }

  .metric,
  .need-grid article {
    border-right: 0;
  }

  .metric:nth-child(odd),
  .need-grid article:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .model {
    grid-template-columns: 1fr;
  }

  .model li {
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .model li:last-child {
    border-bottom: 0;
  }

  .model .idx {
    margin-bottom: 18px;
  }
}

@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { padding-left: 0; padding-right: 0; }
  .pillar:nth-child(odd) { border-right: 0; }

  .cases { grid-template-columns: 1fr; }

  .ind-grid { grid-template-columns: 1fr; }
  .ind { padding-left: 0; padding-right: 0; }
  .ind:not(:nth-child(3n)) { border-right: 0; }

  .zone {
    grid-template-columns: 1fr;
    gap: clamp(20px, 4vw, 32px);
    padding: clamp(32px, 6vw, 48px) 0;
  }
  .zone:nth-child(even) .zone-viz { order: 0; }
  .zone-viz { justify-content: flex-start; }
  .zone-viz .con { width: clamp(150px, 46%, 220px); }
  .zone-hint { display: none; }
  .zone-reveal {
    max-height: none;
    opacity: 1;
    overflow: visible;
    margin-top: 20px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 16px 20px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 116px 20px 72px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 9vw, 3.1rem);
  }

  /* keep the headline readable over the art on small screens */
  .hero-veil {
    background:
      linear-gradient(120deg, #f3f5f8 38%, rgba(243, 245, 248, 0.66) 60%, rgba(243, 245, 248, 0.2) 100%),
      linear-gradient(180deg, #f3f5f8 0%, #f3f5f8 10%, rgba(243, 245, 248, 0) 24%),
      linear-gradient(0deg, rgba(243, 245, 248, 0.55), rgba(243, 245, 248, 0) 26%);
  }

  .section {
    padding: 76px 20px;
  }

  .metric-row,
  .need-grid {
    grid-template-columns: 1fr;
  }

  .snapshot {
    padding: 72px 20px;
  }

  .snap-grid,
  .snap-outcomes {
    grid-template-columns: 1fr;
  }

  .why-highlights {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .snap-item:nth-child(odd) {
    border-right: 0;
    padding-right: 0;
  }

  .snap-item:nth-child(even) {
    padding-left: 0;
  }

  .outcome {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
    padding: 30px 0 14px;
  }

  .outcome:last-child { border-bottom: 0; }

  .metric,
  .need-grid article {
    min-height: auto;
    padding: 24px 0;
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }

  .need-grid article {
    min-height: auto;
  }

  .idx {
    margin-bottom: 20px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-link,
  .ghost-link {
    justify-content: center;
  }

  .closing {
    padding: 0;
  }

  .closing-inner {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
}

/* ============================================================
   Outcomes page
   ============================================================ */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* hero */
.oc-hero {
  padding: clamp(118px, 17vh, 188px) clamp(20px, 5vw, 72px) clamp(48px, 7vw, 88px);
  text-align: center;
  background: linear-gradient(180deg, #f4f6f9 0%, var(--paper) 100%);
}
.oc-hero .eyebrow { justify-content: center; }
.oc-hero h1 {
  max-width: 16ch;
  margin: 0 auto;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.oc-hero-lede {
  max-width: 720px;
  margin: clamp(20px, 2.6vw, 30px) auto clamp(30px, 3.6vw, 42px);
  color: var(--muted);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.62;
}

/* shared inner width for outcome sections */
.oc-explore,
.oc-trust,
.oc-explorer { padding: clamp(44px, 6vw, 84px) clamp(20px, 5vw, 72px); }
.oc-explorer { scroll-margin-top: 80px; }
.oc-explore > *,
.oc-trust > *,
.oc-explorer > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

/* explore / filter chips */
.oc-explore h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.18;
  letter-spacing: -0.018em;
}
.oc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: clamp(24px, 3vw, 38px);
}
.oc-chip {
  padding: 9px 17px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 600 0.9rem/1 Inter, sans-serif;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}
.oc-chip:hover { color: var(--cyan); border-color: var(--cyan); }
.oc-chip.is-active {
  background: linear-gradient(110deg, #4b54e0 0%, #2f6bff 45%, #19bfe6 100%);
  color: #fff;
  border-color: transparent;
}

/* trusted credibility cards */
.oc-trust { background: var(--paper-2); }
.oc-trust-heading {
  max-width: 720px;
  margin: 0 0 clamp(24px, 3vw, 40px);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.18;
  letter-spacing: -0.018em;
}
.oc-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 1.8vw, 24px);
}
.oc-trust-card {
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.oc-trust-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.18rem, 1.5vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.oc-trust-card span { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }

/* outcome explorer grid */
.oc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 26px);
}
.oc-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  font: inherit;
  scroll-margin-top: 96px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.oc-card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: 0 18px 40px rgba(47, 168, 255, 0.2);
}
.oc-card-cat {
  color: var(--indigo);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.oc-card-brand {
  display: inline-flex;
  align-items: center;
  height: 30px;
  margin-bottom: 6px;
}
.oc-card-brand .oc-card-logo {
  height: 100%;
  width: auto;
  max-width: 132px;
  object-fit: contain;
  border-radius: 6px;
}
.oc-card-brand--icon { font-size: 24px; line-height: 30px; }
.oc-card-title {
  margin: 2px 0 0;
  font-size: clamp(1.12rem, 1.5vw, 1.32rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.oc-card-industry { color: var(--ink-2); font-size: 0.95rem; font-weight: 500; }
.oc-card-result { margin: 4px 0 0; color: var(--muted); font-size: 0.98rem; line-height: 1.5; flex: 1; }
.oc-card-link {
  margin-top: 14px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 160ms ease;
}
.oc-card:hover .oc-card-link { color: var(--indigo); }

/* expanded outcome drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(20, 22, 27, 0.42);
  opacity: 0;
  transition: opacity 300ms ease;
}
.drawer-overlay.is-open { opacity: 1; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 61;
  height: 100%;
  width: min(74vw, 1280px);
  background: #fff;
  box-shadow: -30px 0 80px rgba(20, 22, 27, 0.22);
  transform: translateX(100%);
  transition: transform 360ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer.is-open { transform: translateX(0); }
.drawer-close {
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 5;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(20, 22, 27, 0.12);
  transition: background 160ms ease, border-color 160ms ease, transform 220ms ease;
}
.drawer-close:hover { background: #fff; border-color: var(--line-2); transform: rotate(90deg); }
.drawer-close svg { width: 18px; height: 18px; }

/* ---- editorial article ---- */
.drawer-article {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(40px, 5vw, 76px) clamp(22px, 5vw, 80px) clamp(64px, 8vw, 120px);
}
.drawer-article > * { width: 100%; max-width: 760px; }

.da-hero { margin-bottom: clamp(6px, 1vw, 12px); }
.da-cat {
  display: block;
  color: var(--indigo);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.da-title {
  margin: 12px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.028em;
  color: var(--ink);
}
.da-statement {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.5vw, 1.32rem);
  line-height: 1.45;
}
.da-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  margin-top: clamp(22px, 2.6vw, 30px);
  padding: clamp(16px, 2vw, 22px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.da-meta-label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--faint);
}
.da-meta-val { font-weight: 600; color: var(--ink); font-size: 0.98rem; }
.da-meta-tech { flex: 1 1 220px; }
.da-techs { display: flex; flex-wrap: wrap; gap: 6px; }
.da-tech {
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-2);
}

.da-sec { margin-top: clamp(34px, 4.4vw, 56px); }
.da-sec-title {
  margin: 0 0 14px;
  font-size: clamp(1.22rem, 1.8vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.da-sec p { margin: 0 0 15px; color: var(--ink-2); font-size: 1.05rem; line-height: 1.72; }
.da-sec p:last-child { margin-bottom: 0; }
.da-sec-note { color: var(--muted) !important; font-size: 0.92rem !important; margin-bottom: 16px !important; }

/* challenge cards */
.da-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.da-chip-card {
  position: relative;
  display: flex;
  align-items: center;
  padding: 15px 16px 15px 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}
.da-chip-card::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
}

/* current-state flow */
.da-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.da-flow-node {
  width: 100%;
  max-width: 360px;
  text-align: center;
  padding: 12px 16px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}
.da-flow-node.is-risk {
  border-color: rgba(214, 69, 69, 0.4);
  background: rgba(214, 69, 69, 0.06);
  color: #c0392b;
}
.da-flow-arrow { color: var(--muted); font-size: 1.05rem; line-height: 1; }

/* before / after evolution */
.da-evo {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  margin-top: 6px;
}
.da-evo-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(16px, 2vw, 22px);
  border-radius: 16px;
}
.da-evo-before { background: var(--paper-2); }
.da-evo-after {
  background: linear-gradient(180deg, rgba(75, 84, 224, 0.08), rgba(47, 168, 255, 0.06));
  border: 1px solid rgba(75, 84, 224, 0.2);
}
.da-evo-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.da-evo-before .da-evo-label { color: var(--muted); }
.da-evo-after .da-evo-label { color: var(--indigo); }
.da-evo-item {
  padding: 9px 13px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
}
.da-evo-after .da-evo-item { border-color: rgba(75, 84, 224, 0.16); }
.da-evo-arrow { color: var(--indigo); font-size: 1.5rem; font-weight: 700; }

/* implementation phases */
.da-phases { list-style: none; margin: 6px 0 0; padding: 0; }
.da-phase { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.da-phase:first-child { border-top: 0; padding-top: 4px; }
.da-phase-num {
  flex: none;
  width: 2.4ch;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--indigo);
}
.da-phase-body h4 { margin: 0 0 5px; font-size: 1.06rem; font-weight: 600; color: var(--ink); }
.da-phase-body p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.58; }

/* technical highlights (expandable) */
.da-highlights { margin-top: 6px; border-top: 1px solid var(--line); }
.da-hl { border-bottom: 1px solid var(--line); }
.da-hl summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 2px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}
.da-hl summary::-webkit-details-marker { display: none; }
.da-hl summary:hover { color: var(--indigo); }
.da-hl-icon { position: relative; flex: none; width: 14px; height: 14px; }
.da-hl-icon::before,
.da-hl-icon::after {
  content: "";
  position: absolute;
  background: var(--indigo);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.da-hl-icon::before { top: 6px; left: 0; width: 14px; height: 2px; }
.da-hl-icon::after { left: 6px; top: 0; width: 2px; height: 14px; }
.da-hl[open] .da-hl-icon::after { transform: scaleY(0); opacity: 0; }
.da-hl[open] summary { color: var(--indigo); }
.da-hl p { margin: 0; padding: 0 2px 16px; color: var(--muted); font-size: 0.98rem; line-height: 1.6; }

/* pull quote */
.da-quote {
  margin: clamp(34px, 4.4vw, 56px) 0 0;
  padding: clamp(8px, 1.4vw, 14px) 0 clamp(8px, 1.4vw, 14px) clamp(20px, 2.6vw, 30px);
  border-left: 3px solid var(--indigo);
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  font-weight: 600;
  line-height: 1.34;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* business outcome metrics */
.da-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin-top: 6px;
}
.da-metric {
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.da-metric-val {
  display: block;
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  overflow-wrap: break-word;
  hyphens: none;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.da-metric-label { display: block; margin-top: 7px; color: var(--muted); font-size: 0.9rem; font-weight: 500; }

/* related chips + cta */
.drawer-links { display: flex; flex-wrap: wrap; gap: 9px 10px; margin-top: 4px; }
.drawer-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}
.drawer-chip:hover { color: var(--indigo); border-color: var(--indigo); background: var(--tint); }
.drawer-cta { margin-top: clamp(34px, 4.4vw, 52px); align-self: flex-start; }

@media (max-width: 900px) {
  .drawer { width: 100vw; }
}
@media (max-width: 640px) {
  .da-evo { grid-template-columns: 1fr; }
  .da-evo-arrow { transform: rotate(90deg); justify-self: center; }
}

@media (max-width: 980px) {
  .oc-grid { grid-template-columns: repeat(2, 1fr); }
  .oc-trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .oc-grid { grid-template-columns: 1fr; }
  .oc-trust-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Industries page
   ============================================================ */
.ind-hero { background: linear-gradient(180deg, #eef1f6 0%, var(--paper) 100%); }

.ind-navigator,
.ind-close { padding: clamp(48px, 6vw, 88px) clamp(20px, 5vw, 72px); }
.ind-navigator > *,
.ind-close > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

.ind-navigator h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 2.05rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
}
.ind-nav-lede {
  max-width: 640px;
  margin: clamp(14px, 1.8vw, 22px) 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
  line-height: 1.6;
}
.ind-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
  margin-top: clamp(28px, 3.6vw, 48px);
}
.ind-nav-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.ind-nav-card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: 0 18px 40px rgba(47, 168, 255, 0.2);
}
.ind-nav-emoji { font-size: 1.7rem; line-height: 1; }
.ind-nav-name { font-size: 1.14rem; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.ind-nav-pains { color: var(--indigo); font-size: 0.84rem; font-weight: 600; letter-spacing: 0.01em; }

/* accordion explorer */
.ind-explorer { padding: clamp(8px, 1.5vw, 20px) clamp(20px, 5vw, 72px) clamp(40px, 6vw, 80px); }
.ind-accordion { max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--line-2); }
.ind-item { border-bottom: 1px solid var(--line); scroll-margin-top: 78px; }

.ind-head {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
  width: 100%;
  padding: clamp(22px, 2.8vw, 34px) 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.ind-emoji { font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1; flex: none; }
.ind-headtext { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.ind-name {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ind-tagline { color: var(--muted); font-size: clamp(0.92rem, 1.15vw, 1.02rem); }
.ind-chevron {
  flex: none;
  width: 12px;
  height: 12px;
  margin-right: 4px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.3s ease, border-color 0.2s ease;
}
.ind-head:hover .ind-chevron { border-color: var(--indigo); }
.ind-item.is-open .ind-chevron { transform: rotate(-135deg); }

.ind-panel { max-height: 0; overflow: hidden; transition: max-height 0.42s ease; }
.ind-panel-inner { padding: 4px 0 clamp(32px, 4vw, 48px); }

.ind-heading {
  margin: 0;
  font-size: clamp(1.25rem, 1.7vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ind-intro {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.6;
}
.ind-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  margin-top: clamp(26px, 3.2vw, 40px);
}
.ind-sub {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ind-challenges,
.ind-helps { list-style: none; margin: 0; padding: 0; }
.ind-challenges li,
.ind-helps li {
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.ind-challenges li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--faint);
}
.ind-helps li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--indigo);
  font-weight: 700;
}
.ind-helps a { color: var(--ink-2); transition: color 0.16s ease; }
.ind-helps a:hover { color: var(--indigo); }

.ind-beyond {
  margin-top: clamp(26px, 3.2vw, 38px);
  padding: clamp(20px, 2.4vw, 28px) clamp(22px, 2.6vw, 32px);
  background: var(--paper-2);
  border-radius: var(--radius);
}
.ind-beyond p { margin: 0; color: var(--ink-2); font-size: 1.04rem; line-height: 1.6; }

.ind-seehow { margin-top: clamp(26px, 3.2vw, 38px); }
.ind-oc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
}
.ind-oc {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(16px, 1.8vw, 22px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.ind-oc:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow: 0 14px 32px rgba(47, 168, 255, 0.18);
}
.ind-oc-cat {
  color: var(--indigo);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ind-oc-title { font-size: 1.02rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
.ind-oc-arrow { color: var(--muted); font-size: 1rem; }
.ind-oc:hover .ind-oc-arrow { color: var(--indigo); }

/* closing statement */
.ind-close { text-align: center; }
.ind-close .eyebrow { justify-content: center; }
.ind-close h2 {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(1.5rem, 2.2vw, 2.05rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
}
.ind-close-body {
  max-width: 760px;
  margin: clamp(18px, 2.2vw, 26px) auto 0;
}
.ind-close-body p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.62;
}

@media (max-width: 720px) {
  .ind-cols { grid-template-columns: 1fr; gap: clamp(20px, 5vw, 28px); }
}

.ind-explore-link { margin-top: clamp(24px, 3vw, 38px); }

/* ============================================================
   Services page
   ============================================================ */
.sv-hero { background: linear-gradient(180deg, #eef1f6 0%, var(--paper) 100%); }

/* growth journey strip */
.sv-journey { padding: clamp(44px, 5.5vw, 80px) clamp(20px, 5vw, 72px); }
.sv-journey > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.sv-journey h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.sv-journey-lede {
  max-width: 640px;
  margin: clamp(12px, 1.6vw, 18px) 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
  line-height: 1.6;
}
.sv-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(10px, 1.2vw, 16px);
  list-style: none;
  margin: clamp(28px, 3.4vw, 44px) 0 0;
  padding: 0;
  counter-reset: none;
}
.sv-steps li { position: relative; }
.sv-steps li + li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -1px;
  width: 1px;
  height: 100%;
  transform: translate(-50%, -50%);
  background: var(--line);
}
.sv-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: clamp(18px, 1.9vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.sv-step:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: 0 18px 40px rgba(47, 168, 255, 0.2);
}
.sv-step-num {
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--indigo);
}
.sv-step-label {
  font-size: clamp(1.06rem, 1.4vw, 1.28rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.sv-step-sub { color: var(--muted); font-size: 0.86rem; line-height: 1.35; }

/* capability explorer */
.sv-explorer {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(72px, 9vh, 104px);
  padding-bottom: clamp(24px, 4vh, 52px);
}
/* compact the accordion rows so the collapsed explorer fits one screen */
.sv-explorer .ind-head { padding: clamp(13px, 1.9vw, 21px) 0; }
.sv-explorer-eyebrow { width: 100%; max-width: var(--max); margin-left: auto; margin-right: auto; }
.sv-explorer-title {
  width: 100%;
  max-width: var(--max);
  margin: 6px auto clamp(20px, 2.4vw, 30px);
  font-size: clamp(1.5rem, 2.2vw, 2.05rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.sv-num {
  flex: none;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--faint);
  min-width: 2ch;
}
.ind-item.is-open .sv-num { color: var(--indigo); }

.sv-help-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  margin-top: clamp(22px, 2.8vw, 34px);
}
.sv-chips { display: flex; flex-wrap: wrap; gap: 8px 8px; list-style: none; margin: 0; padding: 0; }
.sv-chips li {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.2;
}
.sv-outcomes { list-style: none; margin: 0; padding: 0; }
.sv-outcomes li {
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.sv-outcomes li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--indigo);
  font-weight: 700;
}

.sv-real {
  display: block;
  margin-top: clamp(26px, 3.2vw, 38px);
  padding: clamp(20px, 2.4vw, 28px) clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--indigo);
  border-radius: var(--radius);
  background: var(--paper-2);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.sv-real:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(47, 168, 255, 0.16);
  border-left-color: var(--cyan);
}
.sv-real-label {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.sv-real-text {
  display: block;
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 1.06rem;
  line-height: 1.6;
}
.sv-real-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--indigo);
  font-weight: 600;
  font-size: 0.96rem;
}
.sv-real:hover .sv-real-link { color: var(--cyan); }

.sv-industries { margin-top: clamp(24px, 3vw, 34px); }
.sv-ind-links { display: flex; flex-wrap: wrap; gap: 10px; }
.sv-ind-links a {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.sv-ind-links a:hover { color: #fff; border-color: var(--cyan); background: var(--cyan); }

/* why CloudDrove */
.sv-why { text-align: center; }
.sv-why .eyebrow { justify-content: center; }
.sv-why h2 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(1.5rem, 2.2vw, 2.05rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
}
.sv-why-body { max-width: 780px; margin: clamp(18px, 2.2vw, 26px) auto 0; }
.sv-why-body p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.62;
}

@media (max-width: 880px) {
  .sv-steps { grid-template-columns: repeat(2, 1fr); }
  .sv-steps li + li::before { display: none; }
}
@media (max-width: 720px) {
  .sv-help-grid { grid-template-columns: 1fr; gap: clamp(22px, 5vw, 30px); }
}
@media (max-width: 480px) {
  .sv-steps { grid-template-columns: 1fr; }
}

/* ============================================================
   FAQ section
   ============================================================ */
.faq-section {
  background: var(--paper);
  text-align: center;
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.faq-section .eyebrow { justify-content: center; margin-bottom: 16px; }
.faq-section > h2 { margin-left: auto; margin-right: auto; margin-bottom: clamp(20px, 2.4vw, 30px); }
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(13px, 1.5vw, 17px) 4px;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--indigo); }
.faq-icon { position: relative; flex: none; width: 16px; height: 16px; }
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--indigo);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.faq-icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-icon::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); opacity: 0; }
.faq-item[open] .faq-q { color: var(--indigo); }
.faq-a { padding: 0 4px clamp(14px, 1.8vw, 20px); }
.faq-a p {
  margin: 0;
  max-width: 700px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* ============================================================
   Final CTA — two-column with form
   ============================================================ */
.closing-inner.closing-grid {
  padding: clamp(26px, 3.4vw, 42px) clamp(26px, 4vw, 52px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  text-align: left;
}
.closing-copy .eyebrow { justify-content: flex-start; margin-bottom: 14px; }
.closing-copy h2 { margin: 0; max-width: 460px; }
.closing-sub {
  margin: 12px 0 0;
  max-width: 430px;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.98rem, 1.15vw, 1.05rem);
  line-height: 1.5;
}
.closing-alt { margin: 14px 0 0; color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }
.closing-alt a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.cta-form {
  display: grid;
  gap: 10px;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.cta-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cta-field { display: flex; flex-direction: column; gap: 4px; }
.cta-field label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.cta-field input,
.cta-field textarea {
  width: 100%;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.cta-field textarea { resize: vertical; min-height: 44px; }
.cta-field input::placeholder,
.cta-field textarea::placeholder { color: #9aa1ad; }
.cta-field input:focus,
.cta-field textarea:focus {
  outline: none;
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28);
}
.cta-submit {
  position: relative;
  overflow: hidden;
  margin-top: 2px;
  padding: 11px 22px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--indigo);
  font: inherit;
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  transition: transform 0.16s ease;
}
.cta-submit:hover { transform: translateY(-2px); }
.cta-submit::after { content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 55%; background: linear-gradient(100deg, transparent, rgba(47, 168, 255, 0.45), transparent); transform: skewX(-20deg); pointer-events: none; animation: cb-shine 3.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .cta-submit::after { animation: none; opacity: 0; } }

@media (max-width: 820px) {
  .closing-inner.closing-grid { grid-template-columns: 1fr; text-align: center; }
  .closing-copy .eyebrow { justify-content: center; }
  .closing-copy h2, .closing-sub { margin-left: auto; margin-right: auto; }
  .cta-form { text-align: left; }
}

/* ============================================================
   Service subpages — shared design system (.sp-*)
   ============================================================ */
.sp-hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px) clamp(56px, 8vw, 104px);
  background: linear-gradient(180deg, #eef1f6 0%, var(--paper) 100%);
  overflow: hidden;
}
.sp-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.sp-hero-copy h1 {
  margin: 14px 0 0;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.sp-hero-lede {
  margin: clamp(16px, 2vw, 22px) 0 0;
  max-width: 540px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.6;
}
.sp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: clamp(24px, 3vw, 34px);
}
.sp-hero-visual {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-left: auto;
  aspect-ratio: 1 / 1;
}
.sp-canvas { display: block; width: 100%; height: 100%; }

.sp-lede {
  max-width: 660px;
  margin: clamp(12px, 1.6vw, 18px) 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
  line-height: 1.6;
}

/* alternating section tints */
.sp-help, .sp-tech, .sp-outcomes { background: var(--paper-2); }

/* scroll-reveal (applied by JS; no-JS shows everything) */
.sp-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.sp-reveal.in { opacity: 1; transform: none; }

/* challenge cards — flex so the last row fills (no dead space) */
.sp-challenge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 1.6vw, 20px);
  margin-top: clamp(28px, 3.4vw, 44px);
}
.sp-challenge {
  flex: 1 1 320px;
  position: relative;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.sp-challenge::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sp-challenge:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: 0 18px 42px rgba(47, 168, 255, 0.16); }
.sp-challenge:hover::before { transform: scaleX(1); }
.sp-challenge-n {
  display: block;
  margin-bottom: 12px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  color: var(--faint);
  transition: color 0.25s ease;
}
.sp-challenge:hover .sp-challenge-n { color: var(--indigo); }
.sp-challenge h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.sp-challenge p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.55; }

/* what we help with — capability groups (2×2, icon, lively) */
.sp-help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(28px, 3.4vw, 44px);
}
.sp-help-card {
  position: relative;
  padding: clamp(26px, 2.8vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.sp-help-card:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: 0 22px 50px rgba(47, 168, 255, 0.16); }
.sp-help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
  color: var(--indigo);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.sp-help-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sp-help-card:hover .sp-help-icon { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-2px); }
.sp-help-card h3 { margin: 0; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.sp-help-card > p { margin: 10px 0 0; color: var(--muted); font-size: 0.98rem; line-height: 1.55; }
.sp-tags { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sp-tags li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.sp-tags li:hover { color: var(--indigo); border-color: var(--indigo); background: var(--tint); transform: translateY(-1px); }
@media (max-width: 720px) { .sp-help-grid { grid-template-columns: 1fr; } }

/* what success looks like — flex fills last row */
.sp-success-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 1.8vw, 22px);
  margin-top: clamp(28px, 3.4vw, 44px);
}
.sp-success-item {
  flex: 1 1 300px;
  padding: clamp(22px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.sp-success-item:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: 0 18px 40px rgba(47, 168, 255, 0.14); }
.sp-success-item h3 {
  position: relative;
  margin: 0 0 8px;
  padding-left: 30px;
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.sp-success-item h3::before {
  content: "\2713";
  position: absolute;
  left: 0; top: -1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--indigo);
  font-size: 0.72rem;
  font-weight: 700;
  transition: background 0.25s ease, color 0.25s ease;
}
.sp-success-item:hover h3::before { background: var(--grad); color: #fff; }
.sp-success-item p { margin: 0; color: var(--muted); font-size: 0.96rem; line-height: 1.55; }

/* technologies */
.sp-tech-grid { margin-top: clamp(24px, 3vw, 38px); border-top: 1px solid var(--line); }
.sp-tech-row {
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  padding: clamp(16px, 2vw, 22px) clamp(8px, 1.2vw, 16px);
  margin: 0 calc(-1 * clamp(8px, 1.2vw, 16px));
  border-bottom: 1px solid var(--line);
  border-radius: 12px;
  transition: background 0.2s ease;
}
.sp-tech-row:hover { background: rgba(75, 84, 224, 0.04); }
.sp-tech-cat { font-weight: 600; color: var(--ink); font-size: 1rem; }
.sp-tech-items { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.sp-tech-items span {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: transform 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.sp-tech-items span:hover { transform: translateY(-2px); border-color: var(--cyan); color: var(--ink); box-shadow: 0 8px 18px rgba(47, 168, 255, 0.16); }
@media (max-width: 560px) { .sp-tech-row { grid-template-columns: 1fr; gap: 10px; } }

/* how we work steps */
.sp-steps {
  list-style: none;
  margin: clamp(28px, 3.4vw, 44px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.sp-step {
  position: relative;
  padding: clamp(22px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.sp-step:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: 0 18px 40px rgba(47, 168, 255, 0.14); }
.sp-step-n {
  display: block;
  margin-bottom: 12px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.sp-step h3 { margin: 0 0 8px; font-size: 1.12rem; font-weight: 600; }
.sp-step p { margin: 0; color: var(--muted); font-size: 0.96rem; line-height: 1.55; }

/* real outcomes cards */
.sp-outcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 22px);
  margin-top: clamp(28px, 3.4vw, 44px);
}
.sp-outcome {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 2.8vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.sp-outcome::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sp-outcome:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: 0 22px 48px rgba(47, 168, 255, 0.18); }
.sp-outcome:hover::before { transform: scaleX(1); }
.sp-outcome h3 { margin: 0; font-size: 1.12rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.sp-outcome-metrics { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.sp-outcome-metrics span { color: var(--muted); font-size: 0.92rem; }
.sp-outcome-metrics strong { color: var(--indigo); font-weight: 700; margin-right: 5px; }
.sp-outcome-link { color: var(--indigo); font-weight: 600; font-size: 0.92rem; }
.sp-outcome-link span { display: inline-block; transition: transform 0.2s ease; }
.sp-outcome:hover .sp-outcome-link { color: var(--cyan); }
.sp-outcome:hover .sp-outcome-link span { transform: translateX(4px); }

/* industries chips */
.sp-industry-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(24px, 3vw, 36px); }
.sp-industry-chips a {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
.sp-industry-chips a:hover { color: #fff; background: var(--cyan); border-color: var(--cyan); transform: translateY(-2px); }

/* centered closing sub-line (non-form CTA) */
.closing-inner > .closing-sub { margin: 14px auto 0; max-width: 560px; }

@media (max-width: 860px) {
  .sp-hero-inner { grid-template-columns: 1fr; }
  .sp-hero-visual { order: -1; max-width: 440px; margin: 0 auto 4px; aspect-ratio: 5 / 4; }
}

.sv-page-link { margin-top: clamp(20px, 2.4vw, 28px); }

/* engineering in practice — editorial list (distinct from card grids) */
.sp-practice-list { margin-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); }
.sp-practice-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(22px, 2.6vw, 32px) clamp(10px, 1.6vw, 22px);
  border-bottom: 1px solid var(--line);
  border-radius: 14px;
  transition: background 0.25s ease;
}
.sp-practice-item::before {
  content: "";
  position: absolute;
  left: 0; top: 14%;
  width: 3px; height: 72%;
  border-radius: 3px;
  background: var(--grad);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sp-practice-item:hover { background: rgba(75, 84, 224, 0.04); }
.sp-practice-item:hover::before { transform: scaleY(1); }
.sp-practice-n {
  min-width: 2ch;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1;
  color: var(--faint);
  transition: color 0.25s ease;
}
.sp-practice-item:hover .sp-practice-n {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.sp-practice-body h3 { margin: 0; font-size: clamp(1.12rem, 1.5vw, 1.35rem); font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.sp-practice-body p { margin: 6px 0 0; max-width: 640px; color: var(--muted); font-size: 0.98rem; line-height: 1.55; }
.sp-practice-arrow { color: var(--faint); font-size: 1.3rem; transition: color 0.25s ease, transform 0.25s ease; }
.sp-practice-item:hover .sp-practice-arrow { color: var(--indigo); transform: translateX(4px); }
@media (max-width: 560px) {
  .sp-practice-item { grid-template-columns: auto 1fr; }
  .sp-practice-arrow { display: none; }
}

/* header — Services dropdown */
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-caret {
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 5px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.5;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-has-menu:hover .nav-caret,
.nav-has-menu:focus-within .nav-caret { opacity: 0.9; transform: rotate(-135deg) translateY(2px); }
.nav-menu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 250px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 22px 54px rgba(20, 22, 40, 0.16);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 30;
}
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-has-menu:hover .nav-menu,
.nav-has-menu:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(7px);
}
.nav-menu a { padding: 9px 12px; border-radius: 9px; white-space: nowrap; color: var(--ink-2); font-weight: 500; }
.nav-menu a::after { display: none; }
.nav-menu a:hover { background: var(--paper-2); color: var(--indigo); }

/* ===== compact service subpages (~30%+ tighter rhythm) ===== */
.sp-page .section { padding-top: clamp(24px, 3.4vw, 46px); padding-bottom: clamp(24px, 3.4vw, 46px); }
.sp-page .sp-hero { padding-top: clamp(28px, 4vw, 52px); padding-bottom: clamp(30px, 4.2vw, 54px); }
.sp-page .eyebrow { margin-bottom: 14px; }
.sp-page .sp-lede { margin-top: clamp(8px, 1.1vw, 12px); }
.sp-page .sp-hero-lede { margin-top: clamp(12px, 1.5vw, 16px); }
.sp-page .sp-hero-actions { margin-top: clamp(18px, 2.2vw, 26px); }
.sp-page .sp-challenge-grid,
.sp-page .sp-help-grid,
.sp-page .sp-success-grid,
.sp-page .sp-practice-list,
.sp-page .sp-tech-grid,
.sp-page .sp-steps,
.sp-page .sp-outcome-grid,
.sp-page .sp-industry-chips { margin-top: clamp(14px, 1.8vw, 24px); }
/* tighter card interiors */
.sp-page .sp-challenge,
.sp-page .sp-success-item,
.sp-page .sp-step,
.sp-page .sp-outcome { padding: clamp(18px, 2vw, 24px); }
.sp-page .sp-help-card { padding: clamp(20px, 2.2vw, 28px); }
.sp-page .sp-practice-item { padding: clamp(15px, 1.9vw, 22px) clamp(10px, 1.6vw, 22px); }
.sp-page .sp-tech-row { padding: clamp(12px, 1.6vw, 17px) clamp(8px, 1.2vw, 16px); }
.sp-page .sp-challenge-n,
.sp-page .sp-help-icon { margin-bottom: 10px; }

/* full-screen hero on service subpages */
.sp-page .sp-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: clamp(96px, 13vh, 150px);
  padding-bottom: clamp(44px, 7vh, 80px);
}
.sp-page .sp-hero .sp-hero-inner { width: 100%; }
@media (max-width: 860px) {
  .sp-page .sp-hero { min-height: auto; padding-top: clamp(96px, 16vh, 130px); }
}

/* ============================================================
   Service subpages — upscaled section layouts (variety)
   ============================================================ */

/* challenges — editorial split (no boxes) */
.sp-split { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(30px, 5vw, 72px); align-items: start; }
.sp-split-head { position: sticky; top: 96px; }
.sp-chal-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sp-chal {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(14px, 2vw, 26px);
  align-items: start;
  padding: clamp(16px, 2vw, 22px) clamp(6px, 1vw, 14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}
.sp-chal::before {
  content: ""; position: absolute; left: 0; top: 18%;
  width: 3px; height: 64%; border-radius: 3px;
  background: var(--grad); transform: scaleY(0); transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sp-chal:hover { background: rgba(75, 84, 224, 0.03); }
.sp-chal:hover::before { transform: scaleY(1); }
.sp-chal-n { padding-top: 2px; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 0.92rem; color: var(--faint); transition: color 0.25s ease; }
.sp-chal:hover .sp-chal-n { color: var(--indigo); }
.sp-chal-body h3 { margin: 0 0 5px; font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.sp-chal-body p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.55; }
@media (max-width: 860px) { .sp-split { grid-template-columns: 1fr; gap: 10px; } .sp-split-head { position: static; } }

/* what we help with — interactive tabs */
.sp-tabs { display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: clamp(18px, 2.4vw, 36px); margin-top: clamp(22px, 2.8vw, 36px); }
.sp-tabs-nav { display: flex; flex-direction: column; gap: 8px; }
.sp-tab {
  display: flex; align-items: center; gap: 12px;
  width: 100%; text-align: left;
  padding: 13px 15px; border: 1px solid transparent; border-radius: 14px;
  background: transparent; cursor: pointer; font: inherit; color: var(--ink-2);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.sp-tab:hover { background: #fff; border-color: var(--line); }
.sp-tab.is-active { background: #fff; border-color: var(--line); box-shadow: 0 12px 30px rgba(20, 22, 40, 0.07); }
.sp-tab-ic { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: none; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--indigo); transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.sp-tab-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sp-tab.is-active .sp-tab-ic { background: var(--grad); color: #fff; border-color: transparent; }
.sp-tab-label { flex: 1; font-weight: 600; font-size: 1.0rem; }
.sp-tab-caret { width: 7px; height: 7px; flex: none; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(-45deg); opacity: 0; transition: opacity 0.2s ease; }
.sp-tab.is-active .sp-tab-caret { opacity: 1; border-color: var(--indigo); }
.sp-tabs-panels { position: relative; }
.sp-panel { display: none; padding: clamp(24px, 2.8vw, 38px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.sp-panel.is-active { display: block; animation: sp-fade 0.35s ease; }
@keyframes sp-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sp-panel h3 { margin: 0; font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.sp-panel > p { margin: 12px 0 0; max-width: 560px; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.sp-panel .sp-tags { margin-top: 22px; }
@media (max-width: 760px) {
  .sp-tabs { grid-template-columns: 1fr; }
  .sp-tabs-nav { flex-direction: row; flex-wrap: wrap; }
  .sp-tab { width: auto; }
  .sp-tab-caret { display: none; }
}

/* engineering in practice — category tag (replaces dead arrow) */
.sp-practice-tag {
  justify-self: end; padding: 5px 13px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--muted); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.03em; white-space: nowrap;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.sp-practice-item:hover .sp-practice-tag { color: var(--indigo); border-color: rgba(75, 84, 224, 0.4); }

/* what success looks like — dark outcome band */
.sp-success { background: radial-gradient(120% 150% at 12% -10%, #1b1f2e 0%, var(--ink) 62%); }
.sp-success .eyebrow { color: rgba(255, 255, 255, 0.66); }
.sp-success > h2 { color: #fff; }
.sp-success-cols { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(22px, 2.8vw, 38px); border-top: 1px solid rgba(255, 255, 255, 0.14); }
.sp-success-col { padding: clamp(20px, 2vw, 26px) clamp(14px, 1.4vw, 20px) 6px 0; border-right: 1px solid rgba(255, 255, 255, 0.12); }
.sp-success-col:last-child { border-right: 0; padding-right: 0; }
.sp-success-col h3 { position: relative; margin: 0 0 9px; padding-top: 15px; font-size: 1.0rem; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.sp-success-col h3::before { content: ""; position: absolute; left: 0; top: 0; width: 26px; height: 3px; border-radius: 3px; background: var(--grad); }
.sp-success-col p { margin: 0; color: rgba(255, 255, 255, 0.6); font-size: 0.92rem; line-height: 1.5; }
@media (max-width: 900px) {
  .sp-success-cols { grid-template-columns: repeat(2, 1fr); }
  .sp-success-col { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding: 18px 0; }
  .sp-success-col:last-child { border-bottom: 0; }
}
@media (max-width: 540px) { .sp-success-cols { grid-template-columns: 1fr; } }

/* how we work — connected timeline */
.sp-flow { list-style: none; margin: clamp(30px, 3.6vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); position: relative; }
.sp-flow::before { content: ""; position: absolute; top: 23px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, var(--indigo), var(--cyan)); opacity: 0.45; }
.sp-flow-step { position: relative; }
.sp-flow-node {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 16px;
  border-radius: 50%; background: #fff; border: 2px solid var(--indigo);
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--indigo);
  position: relative; z-index: 1; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sp-flow-step:hover .sp-flow-node { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(75, 84, 224, 0.25); }
.sp-flow-text h3 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 600; }
.sp-flow-text p { margin: 0; color: var(--muted); font-size: 0.96rem; line-height: 1.55; }
@media (max-width: 720px) {
  .sp-flow { grid-template-columns: 1fr; gap: 0; }
  .sp-flow::before { top: 0; bottom: 0; left: 23px; right: auto; width: 2px; height: auto; }
  .sp-flow-step { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 14px 0; }
  .sp-flow-node { margin-bottom: 0; }
}

/* ===== refinements: practice links, tabs alignment, compact CTA ===== */
/* In Practice rows are now real links to related outcomes */
.sp-practice-item { text-decoration: none; color: inherit; cursor: pointer; }
.sp-practice-meta { justify-self: end; display: inline-flex; align-items: center; gap: 10px; }
.sp-practice-go {
  color: var(--indigo); font-size: 1.1rem; line-height: 1;
  opacity: 0; transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.sp-practice-item:hover .sp-practice-go { opacity: 1; transform: translateX(0); }

/* tabs — vertically balance the two columns (kills the dead space) */
.sp-tabs { align-items: center; }
.sp-tab-label { line-height: 1.25; }
.sp-panel.is-active { display: flex; flex-direction: column; }

/* compact CTA on service subpages */
.sp-page .closing { padding-top: clamp(18px, 3vw, 34px); padding-bottom: clamp(30px, 4.4vw, 56px); }
.sp-page .closing-inner { padding: clamp(30px, 4.4vw, 52px) clamp(26px, 5vw, 60px); }

/* tabs panel footer link — fills the lower area + adds navigation */
.sp-panel-link {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  margin-top: clamp(20px, 2.6vw, 30px);
  color: var(--indigo); font-weight: 600; font-size: 0.95rem;
}
.sp-panel-link span { display: inline-block; transition: transform 0.2s ease; }
.sp-panel-link:hover span { transform: translateX(4px); }

/* 5-step timeline variant (Platform Engineering) */
.sp-flow.sp-flow-5 { grid-template-columns: repeat(5, 1fr); }
.sp-flow.sp-flow-5::before { left: 10%; right: 10%; }
@media (max-width: 920px) { .sp-flow.sp-flow-5 { grid-template-columns: repeat(2, 1fr); } .sp-flow.sp-flow-5::before { display: none; } }
@media (max-width: 720px) { .sp-flow.sp-flow-5 { grid-template-columns: 1fr; } }

/* ============================================================
   About page — editorial / narrative
   ============================================================ */
.ab-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(110px, 16vh, 200px) clamp(20px, 5vw, 72px) clamp(64px, 9vw, 110px);
  background: linear-gradient(180deg, #eef1f6 0%, var(--paper) 100%);
  text-align: center;
}
.ab-hero-canvas { position: absolute !important; inset: 0; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.ab-hero .eyebrow, .ab-hero h1, .ab-hero .ab-hero-lede, .ab-hero .ab-hero-actions { position: relative; z-index: 1; }
.ab-hero .eyebrow { justify-content: center; }
.ab-hero h1 {
  max-width: 940px;
  margin: 14px auto 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.ab-hero-lede {
  max-width: 660px;
  margin: clamp(18px, 2.4vw, 26px) auto 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.4vw, 1.24rem);
  line-height: 1.6;
}
.ab-hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 20px; margin-top: clamp(24px, 3vw, 34px); }

.ab-section { padding: clamp(46px, 6.5vw, 92px) clamp(20px, 5vw, 72px); }
.ab-col { max-width: 760px; margin: 0 auto; }
.ab-section h2 {
  margin: 8px 0 0;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.ab-section p { margin: clamp(16px, 2vw, 22px) 0 0; color: var(--ink-2); font-size: clamp(1.05rem, 1.3vw, 1.18rem); line-height: 1.72; }
.ab-coda { font-weight: 600; color: var(--ink) !important; }

.ab-quote {
  margin: clamp(28px, 3.6vw, 44px) 0 0;
  padding-left: clamp(20px, 2.6vw, 30px);
  border-left: 3px solid var(--indigo);
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  font-weight: 600;
  line-height: 1.26;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.ab-triad { list-style: none; margin: clamp(24px, 3vw, 34px) 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ab-triad li {
  position: relative;
  padding-left: 28px;
  font-size: clamp(1.1rem, 1.5vw, 1.32rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}
.ab-triad li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 12px; height: 2px; border-radius: 2px; background: var(--grad); }
.ab-triad li.is-strong {
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.ab-triad li.is-strong::before { top: 0.6em; }

/* beliefs — big numbered list */
.ab-believe { background: var(--paper-2); }
.ab-beliefs { max-width: 760px; margin: clamp(28px, 3.4vw, 44px) auto 0; border-top: 1px solid var(--line); }
.ab-belief {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 2.6vw, 34px);
  align-items: baseline;
  padding: clamp(18px, 2.2vw, 26px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.25s ease;
}
.ab-belief:hover { padding-left: 8px; }
.ab-belief-n {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.ab-belief p { margin: 0; font-size: clamp(1.15rem, 1.7vw, 1.46rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; color: var(--ink); }

/* dark "Success" band */
.ab-dark { background: radial-gradient(120% 150% at 12% -10%, #1b1f2e 0%, var(--ink) 62%); }
.ab-dark .eyebrow { color: rgba(255, 255, 255, 0.66); }
.ab-dark h2 { color: #fff; }
.ab-dark p { color: rgba(255, 255, 255, 0.74); }
.ab-dark .ab-quote { color: #fff; border-left-color: var(--cyan); }

/* About — magazine layout refinements */
.ab-hero { overflow: hidden; }
.ab-hero::before {
  content: "";
  position: absolute;
  top: -8%; left: 50%;
  transform: translateX(-50%);
  width: min(940px, 92vw); height: 540px;
  background: radial-gradient(closest-side, rgba(75, 84, 224, 0.13), rgba(47, 168, 255, 0.06) 55%, transparent 75%);
  pointer-events: none;
}
.ab-hero > * { position: relative; }

/* two-column editorial sections */
.ab-split {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}
.ab-split-head { position: sticky; top: 92px; }
.ab-split-head h2 { margin: 8px 0 0; }
.ab-split-body > p:first-child { margin-top: 0; }
@media (max-width: 860px) {
  .ab-split { grid-template-columns: 1fr; gap: 14px; }
  .ab-split-head { position: static; }
}

/* centered moments */
.ab-center { text-align: center; }
.ab-center .eyebrow { justify-content: center; }
.ab-center .ab-col > p { max-width: 680px; margin-left: auto; margin-right: auto; }
.ab-quote-center {
  border-left: 0;
  padding-left: 0;
  margin: clamp(30px, 4vw, 48px) auto 0;
  max-width: 800px;
  text-align: center;
  padding-top: clamp(22px, 3vw, 32px);
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
}
.ab-quote-center::before {
  content: "";
  display: block;
  width: 56px; height: 3px;
  margin: 0 auto clamp(18px, 2.4vw, 26px);
  border-radius: 3px;
  background: var(--grad);
}
.ab-dark .ab-quote-center::before { background: linear-gradient(90deg, var(--indigo), var(--cyan)); }

/* beliefs — centered intro, full-width big list */
.ab-believe-intro { max-width: 760px; margin: 0 auto; }
.ab-belief p { transition: color 0.2s ease; }
.ab-belief:hover p { color: var(--indigo); }

/* larger triad in split bodies */
.ab-triad-lg li { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }

/* ============================================================
   How We Think — philosophy page (calm, editorial)
   ============================================================ */
.think-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(110px, 16vh, 200px) clamp(20px, 5vw, 72px) clamp(60px, 9vh, 110px);
  background: radial-gradient(120% 90% at 50% 0%, #eef1f6 0%, var(--paper) 62%);
  overflow: hidden;
}
.think-hero .eyebrow { justify-content: center; margin-bottom: clamp(22px, 4vh, 48px); }
.think-wall { display: flex; flex-direction: column; align-items: center; gap: clamp(8px, 1.4vh, 18px); max-width: 1040px; }
.tw {
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ink);
  animation: tw-float 8s ease-in-out infinite;
  will-change: transform;
}
@keyframes tw-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.tw-1 { font-size: clamp(1.2rem, 2.2vw, 1.8rem); opacity: 0.52; transform: translateX(-7%); animation-duration: 9s; }
.tw-2 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; opacity: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  animation-duration: 7s;
}
.tw-3 { font-size: clamp(1.35rem, 2.6vw, 2.05rem); opacity: 0.62; transform: translateX(6%); animation-duration: 8.5s; animation-delay: -2s; }
.tw-4 { font-size: clamp(1.5rem, 3vw, 2.4rem); opacity: 0.8; animation-duration: 7.5s; animation-delay: -1s; }
.tw-5 { font-size: clamp(1.25rem, 2.3vw, 1.85rem); opacity: 0.55; transform: translateX(-5%); animation-duration: 9.5s; animation-delay: -3s; }
.tw-6 { font-size: clamp(1.15rem, 2vw, 1.55rem); opacity: 0.5; transform: translateX(4%); animation-duration: 8s; animation-delay: -1.5s; }
.think-hero-sub { margin-top: clamp(34px, 6vh, 60px); color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.16rem); letter-spacing: 0.01em; }

/* belief cards */
.think-believe { background: var(--paper-2); }
.think-beliefs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
  max-width: var(--max);
  margin: clamp(28px, 3.4vw, 44px) auto 0;
}
.think-belief {
  position: relative;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.think-belief::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.think-belief:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: 0 22px 50px rgba(47, 168, 255, 0.16); }
.think-belief:hover::before { transform: scaleX(1); }
.think-belief-n { display: block; margin-bottom: 14px; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.06em; color: var(--faint); transition: color 0.25s ease; }
.think-belief:hover .think-belief-n { color: var(--indigo); }
.think-belief h3 { margin: 0; font-size: clamp(1.3rem, 1.9vw, 1.68rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.18; color: var(--ink); }
.think-belief p { margin: 12px 0 0; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 1.6; }
.think-belief:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 720px) { .think-beliefs { grid-template-columns: 1fr; } }

/* why-we-exist points */
.think-points { list-style: none; margin: clamp(18px, 2vw, 24px) 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.think-points li { position: relative; padding-left: 22px; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 1.55; }
.think-points li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }

/* what we bring — editorial discipline list */
.think-disc { max-width: var(--max); margin: clamp(26px, 3.2vw, 42px) auto 0; border-top: 1px solid var(--line); }
.think-disc-row {
  display: grid;
  grid-template-columns: minmax(190px, 300px) 1fr auto;
  gap: clamp(16px, 3vw, 48px);
  align-items: baseline;
  padding: clamp(20px, 2.6vw, 30px) clamp(6px, 1vw, 12px);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}
.think-disc-row:hover { background: rgba(75, 84, 224, 0.03); }
.think-disc-row h3 { margin: 0; font-size: clamp(1.2rem, 1.7vw, 1.5rem); font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.think-disc-row p { margin: 0; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.55; }
.think-disc-go { align-self: center; color: var(--faint); font-size: 1.2rem; transition: color 0.2s ease, transform 0.2s ease; }
.think-disc-row:hover .think-disc-go { color: var(--indigo); transform: translateX(4px); }
@media (max-width: 720px) { .think-disc-row { grid-template-columns: 1fr; gap: 6px; } .think-disc-go { display: none; } }

/* success voices */
.think-voices { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(28px, 3.4vw, 44px); }
.think-voice {
  padding: clamp(14px, 1.8vw, 20px) clamp(20px, 2.4vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  font-weight: 600;
}

/* soft close (calm CTA, no loud gradient card) */
.think-close { text-align: center; padding: clamp(60px, 9vw, 120px) clamp(20px, 5vw, 72px); }
.think-close .eyebrow { justify-content: center; }
.think-close h2 { max-width: 720px; margin: 6px auto 0; font-size: clamp(1.7rem, 2.8vw, 2.5rem); font-weight: 600; line-height: 1.14; letter-spacing: -0.025em; color: var(--ink); }
.think-close .primary-link { margin-top: clamp(26px, 3vw, 36px); }

@media (prefers-reduced-motion: reduce) { .tw { animation: none !important; } }

/* ===== compact How We Think (~30%+ tighter) ===== */
.think-page .ab-section { padding-top: clamp(28px, 4vw, 54px); padding-bottom: clamp(28px, 4vw, 54px); }
.think-page .think-hero { min-height: 100vh; padding-top: clamp(96px, 12vh, 150px); padding-bottom: clamp(40px, 6vh, 70px); }
.think-page .think-hero-sub { margin-top: clamp(22px, 4vh, 42px); }
.think-page .think-close { padding-top: clamp(38px, 5vw, 68px); padding-bottom: clamp(38px, 5vw, 68px); }
.think-page .eyebrow { margin-bottom: 13px; }
.think-page .ab-section p { margin-top: clamp(12px, 1.6vw, 18px); }
.think-page .ab-quote { margin-top: clamp(18px, 2.4vw, 30px); }
.think-page .ab-quote-center { margin-top: clamp(22px, 3vw, 34px); }
.think-page .ab-triad { margin-top: clamp(16px, 2.2vw, 24px); }
.think-page .think-points { margin-top: clamp(13px, 1.8vw, 20px); }
.think-page .ab-split { gap: clamp(24px, 4vw, 60px); }
.think-page .think-beliefs,
.think-page .ab-beliefs,
.think-page .think-disc { margin-top: clamp(18px, 2.4vw, 30px); }
.think-page .think-belief { padding: clamp(20px, 2.4vw, 30px); }
.think-page .think-disc-row { padding-top: clamp(14px, 1.8vw, 22px); padding-bottom: clamp(14px, 1.8vw, 22px); }
.think-page .think-voices { margin-top: clamp(20px, 2.6vw, 32px); }

/* ===== How We Think — redesigned sections ===== */
/* What We Believe — manifesto */
.think-creed { list-style: none; max-width: 900px; margin: clamp(24px, 3vw, 42px) auto 0; padding: 0; border-top: 1px solid var(--line); }
.think-creed-item {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 44px); align-items: baseline;
  padding: clamp(20px, 2.6vw, 32px) 0; border-bottom: 1px solid var(--line);
  transition: padding-left 0.25s ease;
}
.think-creed-item:hover { padding-left: 10px; }
.think-creed-n { font-family: "Poppins", sans-serif; font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.4rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.think-creed-body h3 { margin: 0; font-size: clamp(1.3rem, 2.1vw, 1.85rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.18; color: var(--ink); }
.think-creed-body p { margin: 9px 0 0; max-width: 640px; color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.16rem); line-height: 1.55; }

/* How We Work — curvy roadmap */
.think-road { position: relative; max-width: 920px; margin: clamp(30px, 4vw, 60px) auto 0; height: clamp(660px, 64vw, 840px); }
.think-road-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.think-road-path { fill: none; stroke: rgba(75, 84, 224, 0.4); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 2 7; stroke-linecap: round; }
.think-road-steps { list-style: none; margin: 0; padding: 0; }
.think-road-step { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.think-road-node {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; border: 2px solid var(--indigo); color: var(--indigo);
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 6px 20px rgba(75, 84, 224, 0.18);
  position: relative; z-index: 1;
}
.think-road-label { position: absolute; top: 50%; transform: translateY(-50%); width: clamp(220px, 30vw, 320px); font-size: clamp(1.05rem, 1.5vw, 1.32rem); font-weight: 600; line-height: 1.28; letter-spacing: -0.01em; color: var(--ink); }
.think-road-step.rs-l .think-road-label { left: 64px; text-align: left; }
.think-road-step.rs-r .think-road-label { right: 64px; text-align: right; }
.think-road-quote { margin-top: clamp(18px, 2.6vw, 34px); }
@media (max-width: 820px) {
  .think-road { height: auto; max-width: 560px; }
  .think-road-svg { display: none; }
  .think-road-steps { display: flex; flex-direction: column; gap: clamp(16px, 2.4vw, 24px); border-left: 2px dashed rgba(75, 84, 224, 0.4); padding-left: 30px; margin-left: 22px; }
  .think-road-step { position: static; transform: none; display: flex; align-items: center; gap: 16px; }
  .think-road-node { margin-left: -53px; flex: none; background: var(--paper); }
  .think-road-label { position: static; transform: none; width: auto; text-align: left !important; }
}

/* What We Bring — growth journey spectrum */
.think-journey {
  list-style: none; margin: clamp(30px, 3.6vw, 50px) auto 0; padding: 0;
  max-width: var(--max);
  display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(10px, 1.4vw, 18px);
  position: relative;
}
.think-journey::before { content: ""; position: absolute; top: 22px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--indigo), var(--cyan)); opacity: 0.4; }
.think-journey-stage a { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: inherit; padding: 0 6px; }
.tj-node {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 2px solid var(--indigo); color: var(--indigo);
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: 0.9rem;
  position: relative; z-index: 1; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.think-journey-stage a:hover .tj-node { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(75, 84, 224, 0.25); }
.tj-stage { margin-top: 14px; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.tj-name { margin-top: 8px; font-size: clamp(0.98rem, 1.3vw, 1.14rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; color: var(--ink); }
.think-journey-stage a:hover .tj-name { color: var(--indigo); }
.tj-desc { margin-top: 7px; color: var(--muted); font-size: 0.86rem; line-height: 1.45; }
@media (max-width: 760px) {
  .think-journey { grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 4vw, 30px); }
  .think-journey::before { display: none; }
}
@media (max-width: 440px) { .think-journey { grid-template-columns: 1fr; } }

/* keep new containers in the compact + reveal flow */
.think-page .think-creed, .think-page .think-journey { margin-top: clamp(20px, 2.6vw, 34px); }

/* How We Work — rising growth-journey staircase */
.think-climb {
  position: relative;
  max-width: var(--max);
  margin: clamp(30px, 4vw, 56px) auto 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(5, auto);
  gap: clamp(12px, 1.6vw, 20px);
}
.think-climb-line { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.think-step {
  position: relative; z-index: 1;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 22, 40, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.think-step:hover { transform: translateY(-5px); border-color: var(--cyan); box-shadow: 0 24px 48px rgba(47, 168, 255, 0.16); }
.think-step-n { display: block; margin-bottom: 10px; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.think-step p { margin: 0; font-size: clamp(1rem, 1.35vw, 1.2rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.32; color: var(--ink); }
.think-step:nth-child(2) { grid-column: 1 / 3; grid-row: 5; }
.think-step:nth-child(3) { grid-column: 2 / 4; grid-row: 4; }
.think-step:nth-child(4) { grid-column: 3 / 5; grid-row: 3; }
.think-step:nth-child(5) { grid-column: 4 / 6; grid-row: 2; }
.think-step:nth-child(6) { grid-column: 5 / 7; grid-row: 1; }
@media (max-width: 820px) {
  .think-climb { grid-template-columns: 1fr; grid-template-rows: auto; gap: 12px; }
  .think-climb-line { display: none; }
  .think-step { grid-column: 1 / -1 !important; grid-row: auto !important; }
}

/* How We Think — founder note close */
.think-note { max-width: 780px; margin: clamp(16px, 2vw, 24px) auto 0; }
.think-note p { margin: 0 0 16px; font-size: clamp(1.18rem, 1.9vw, 1.58rem); font-weight: 500; line-height: 1.42; letter-spacing: -0.015em; color: var(--ink); }
.think-note p:last-child { margin-bottom: 0; }
.think-note-end { font-weight: 600; }
.think-sign { margin: clamp(18px, 2.4vw, 26px) 0 0; color: var(--muted); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; }
.think-close .think-close-sub { max-width: 620px; margin: clamp(22px, 3vw, 34px) auto 0; font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; color: var(--ink); }

/* What We Believe — dark, bold centerpiece */
.think-believe-dark .ab-believe-intro h2 { color: #fff; }
.think-believe-dark .think-creed { border-top-color: rgba(255, 255, 255, 0.16); }
.think-believe-dark .think-creed-item { border-bottom-color: rgba(255, 255, 255, 0.13); }
.think-believe-dark .think-creed-body h3 { color: #fff; font-size: clamp(1.45rem, 2.5vw, 2.2rem); }
.think-believe-dark .think-creed-body p { color: rgba(255, 255, 255, 0.62); }

/* ===================================================================
   How We Think — clean rebuild (tk-*)
   =================================================================== */
.tk-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(7rem, 15vh, 11rem) 1.5rem clamp(3.5rem, 7vh, 5.5rem);
  text-align: center;
}
.tk-hero::before {
  content: "";
  position: absolute;
  left: 50%; top: -18%;
  width: 64rem; height: 64rem; max-width: 130vw;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(75,84,224,0.15), rgba(47,168,255,0.07) 46%, transparent 72%);
  pointer-events: none; z-index: 0;
}
.tk-hero-inner { position: relative; z-index: 1; max-width: 58rem; margin: 0 auto; }
.tk-hero h1 {
  font-family: "Poppins", Inter, sans-serif;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  line-height: 1.07;
  letter-spacing: -0.025em;
  margin: 0.6rem 0 0;
  color: var(--ink);
}
.tk-grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.tk-lede {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 42rem;
  margin: 1.1rem auto 0;
}
.tk-hero-actions {
  display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap;
  margin-top: 2rem;
}
.tk-ghost {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--ink); font-weight: 700; font-size: 0.98rem; line-height: 1;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.tk-ghost:hover { border-color: var(--indigo); background: var(--tint); transform: translateY(-2px); }
.tk-trust { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; margin-top: 2.4rem; }
.tk-trust .rating {
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink-2);
  font-size: 0.86rem; font-weight: 500;
  box-shadow: 0 1px 2px rgba(16,22,40,0.05);
}
.tk-trust strong { font-weight: 700; }
.tk-trust .rating-clutch strong { color: #ff3d2e; }
.tk-trust .rating-star { color: #ff3d2e; font-size: 0.95rem; line-height: 1; }
.tk-trust .rating-upwork strong { color: #14a800; }
.tk-trust .rating-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: #14a800; color: #fff; font-size: 0.66rem; font-weight: 700;
}

/* sections */
.tk-section { max-width: var(--max); margin: 0 auto; padding: clamp(2.4rem, 5vh, 4rem) 1.5rem; }
.tk-head { max-width: 40rem; margin: 0 auto clamp(1.4rem, 3vh, 2.1rem); text-align: center; }
.tk-head h2 {
  font-family: "Poppins", Inter, sans-serif;
  font-size: clamp(1.45rem, 2.7vw, 2.1rem);
  line-height: 1.12; letter-spacing: -0.025em;
  margin: 0.4rem 0 0; color: var(--ink);
}
.tk-head-sub { color: var(--muted); font-size: 0.95rem; margin: 0.7rem 0 0; }

/* principles grid */
.tk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
.tk-card {
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.tk-card:hover {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: 0 22px 46px -24px rgba(31,38,74,0.4);
}
.tk-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem; border-radius: 13px;
  background: var(--tint); margin-bottom: 0.8rem;
  transition: background 0.25s ease;
}
.tk-ic svg {
  width: 21px; height: 21px;
  fill: none; stroke: var(--indigo);
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.25s ease;
}
.tk-card:hover .tk-ic { background: var(--grad); }
.tk-card:hover .tk-ic svg { stroke: #fff; }
.tk-kicker {
  display: block;
  font-size: 0.66rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.11em;
  color: var(--indigo);
  margin-bottom: 0.3rem;
}
.tk-card h3 { font-size: 1.05rem; letter-spacing: -0.01em; margin: 0 0 0.4rem; color: var(--ink); }
.tk-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.5; margin: 0; }

/* testimonials band */
.tk-band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tk-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.tk-quote {
  margin: 0; position: relative;
  padding: 2.2rem 1.8rem 1.8rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.tk-quote::before {
  content: "\201C";
  position: absolute; top: 0.45rem; left: 1.1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.6rem; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.5;
}
.tk-quote blockquote {
  margin: 1.3rem 0 0.9rem;
  font-size: 1.12rem; line-height: 1.32; font-weight: 600; letter-spacing: -0.015em;
  color: var(--ink);
}
.tk-quote figcaption {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 700; color: var(--indigo);
}

/* how we work — mindset */
.tk-mindset { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.tk-mind { padding-top: 0.9rem; border-top: 2px solid var(--line-2); }
.tk-mind-n {
  display: block;
  font-family: "Poppins", Inter, sans-serif;
  font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 0.45rem;
}
.tk-mind p { color: var(--ink-2); font-size: 0.92rem; line-height: 1.5; margin: 0; }

/* CTA */
.tk-cta { max-width: var(--max); margin: clamp(1rem, 2vh, 2rem) auto clamp(3.5rem, 7vh, 5.5rem); padding: 0 1.5rem; }
.tk-cta-inner {
  position: relative; overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
  background: var(--grad); color: #fff; text-align: center;
  padding: clamp(3rem, 6.5vh, 4.8rem) 1.5rem;
}
.tk-cta-inner .eyebrow { color: rgba(255,255,255,0.82); }
.tk-cta-inner .eyebrow::before { background: rgba(255,255,255,0.6); }
.tk-cta-inner h2 {
  font-family: "Poppins", Inter, sans-serif; color: #fff;
  font-size: clamp(1.45rem, 2.8vw, 2.1rem); line-height: 1.12; letter-spacing: -0.025em;
  margin: 0.4rem auto 0; max-width: 30rem;
}
.tk-cta-sub { color: rgba(255,255,255,0.88); max-width: 32rem; margin: 0.8rem auto 0; font-size: 0.95rem; line-height: 1.5; }
.tk-cta-btn {
  display: inline-block; margin-top: 1.9rem;
  padding: 0.9rem 1.8rem; border-radius: 999px;
  background: #fff; color: var(--indigo);
  font-weight: 700; font-size: 0.98rem; line-height: 1; text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tk-hero-actions .tk-cta-btn { margin-top: 0; }
.tk-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -16px rgba(0,0,0,0.45); }
.tk-cta-btn--solid { background: var(--grad); color: #fff; box-shadow: 0 12px 28px -14px rgba(75,84,224,0.6); }

@media (max-width: 920px) { .tk-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .tk-mindset { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .tk-quotes { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .tk-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .tk-mindset { grid-template-columns: 1fr; } }

/* About — In Their Words (testimonials) */
.ab-voices-head { text-align: center; max-width: 40rem; margin: 0 auto clamp(2rem, 4vh, 3rem); }
.ab-voices-head .eyebrow { justify-content: center; }
.ab-voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.ab-voice {
  margin: 0; position: relative; display: flex; flex-direction: column;
  padding: 2.1rem 1.7rem 1.6rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ab-voice:hover { transform: translateY(-4px); box-shadow: 0 22px 46px -26px rgba(31,38,74,0.4); }
.ab-voice::before {
  content: "\201C";
  position: absolute; top: 0.35rem; left: 1.1rem;
  font-family: Georgia, "Times New Roman", serif; font-size: 3.4rem; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.45;
}
.ab-voice blockquote {
  margin: 1.5rem 0 1.4rem; flex: 1;
  font-size: 1.05rem; line-height: 1.5; font-weight: 500; color: var(--ink-2);
}
.ab-voice figcaption { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line); padding-top: 0.9rem; }
.ab-voice-role { font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.ab-voice-org { font-size: 0.84rem; color: var(--muted); }
@media (max-width: 760px) { .ab-voices { grid-template-columns: 1fr; } }

/* ===================================================================
   Contact page (ct-*)
   =================================================================== */
.ct-hero {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(7rem, 14vh, 10rem) 1.5rem clamp(2rem, 4vh, 3rem);
}
.ct-hero::before {
  content: ""; position: absolute; left: 50%; top: -20%;
  width: 60rem; height: 60rem; max-width: 130vw; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(75,84,224,0.14), rgba(47,168,255,0.06) 46%, transparent 72%);
  pointer-events: none; z-index: 0;
}
.ct-hero-inner { position: relative; z-index: 1; max-width: 46rem; margin: 0 auto; }
.ct-hero h1 {
  font-family: "Poppins", Inter, sans-serif;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.06; letter-spacing: -0.025em;
  margin: 0.5rem 0 0; color: var(--ink);
}
.ct-lede { font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.55; color: var(--muted); margin: 1.1rem auto 0; max-width: 40rem; }

/* form + aside grid */
.ct-grid {
  max-width: var(--max); margin: 0 auto; padding: clamp(2rem, 4vh, 3.4rem) 1.5rem;
  display: grid; grid-template-columns: 1fr 0.92fr; gap: clamp(1.8rem, 3.5vw, 3.4rem);
  align-items: center;
}
.ct-form-panel {
  position: relative; overflow: hidden;
  background: var(--grad); color: #fff;
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.35rem, 2.5vw, 2.05rem);
}
.ct-form-panel h2 {
  font-family: "Poppins", Inter, sans-serif; color: #fff;
  font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.12; letter-spacing: -0.02em; margin: 0;
}
.ct-form-panel > p { color: rgba(255,255,255,0.85); margin: 0.5rem 0 1.3rem; font-size: 0.98rem; }

/* aside */
.ct-aside { display: flex; flex-direction: column; gap: clamp(1.4rem, 2.6vw, 2rem); }
.ct-block h3 {
  margin: 0 0 0.7rem; font-size: 0.74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted);
}
.ct-email {
  font-family: "Poppins", Inter, sans-serif; font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
  background: linear-gradient(var(--indigo), var(--indigo)) left bottom / 0% 2px no-repeat;
  transition: background-size 0.25s ease, color 0.2s ease;
  padding-bottom: 2px;
}
.ct-email:hover { color: var(--indigo); background-size: 100% 2px; }
.ct-block-sub { margin: 0 0 0.9rem; color: var(--ink-2); font-size: 0.96rem; line-height: 1.55; }
.ct-anchor {
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: var(--indigo); font-weight: 600; font-size: 0.95rem; text-decoration: none;
}
.ct-anchor:hover { text-decoration: underline; text-underline-offset: 3px; }

/* social symbols */
.ct-socials { display: flex; gap: 12px; margin-bottom: 1.1rem; }
.ct-social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px;
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.ct-social svg { width: 22px; height: 22px; fill: currentColor; }
.ct-social:hover { transform: translateY(-3px); color: #fff; }
.ct-social[data-net="linkedin"]:hover { background: #0a66c2; border-color: #0a66c2; }
.ct-social[data-net="clutch"]:hover { background: #ff3d2e; border-color: #ff3d2e; }
.ct-social[data-net="upwork"]:hover { background: #14a800; border-color: #14a800; }

.ct-ratings { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-ratings .rating {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink-2); font-size: 0.86rem; font-weight: 500; text-decoration: none;
  box-shadow: 0 1px 2px rgba(16,22,40,0.05);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.ct-ratings .rating:hover { transform: translateY(-2px); border-color: var(--line-2); }
.ct-ratings .stars { font-size: 0.9rem; letter-spacing: 1px; }
.ct-ratings strong { font-weight: 700; }
.ct-ratings .rating-clutch strong { color: #ff3d2e; }
.ct-ratings .rating-star { color: #ff3d2e; font-size: 0.95rem; line-height: 1; }
.ct-ratings .rating-upwork strong { color: #14a800; }
.ct-ratings .rating-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%; background: #14a800; color: #fff;
  font-size: 0.66rem; font-weight: 700;
}

/* Calendly */
.ct-cal { max-width: var(--max); margin: 0 auto; padding: clamp(1.5rem, 3vh, 2.5rem) 1.5rem clamp(3.5rem, 7vh, 5.5rem); }
.ct-cal-head { text-align: center; max-width: 40rem; margin: 0 auto clamp(1.4rem, 3vh, 2rem); }
.ct-cal-head h2 {
  font-family: "Poppins", Inter, sans-serif; color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.12; letter-spacing: -0.025em; margin: 0.4rem 0 0;
}
.ct-cal-sub { color: var(--muted); font-size: 1rem; margin: 0.7rem 0 0; }
.ct-cal-embed { max-width: 820px; margin-left: auto; margin-right: auto;
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  background: var(--paper); overflow: hidden;
}
.ct-cal-fallback { margin: 1.1rem;
  display: inline-block; margin: 2rem; color: var(--indigo); font-weight: 600; text-decoration: none;
}

@media (max-width: 860px) {
  .ct-grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   Mobile navigation (hamburger + slide-in panel) & big-screen cap
   Desktop (>980px) is unaffected: .nav-toggle/.nav-cta are display:none
   and the panel styles live only inside the <=980px query.
   =================================================================== */
.nav-toggle { display: none; }
.nav-cta { display: none; }

@media (max-width: 1200px) {
  .site-header { z-index: 50; }
  /* push brand left, group CTA + hamburger to the right */
  .site-header .brand { margin-right: auto; }

  .nav-toggle {
    display: inline-flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 5px;
    width: 44px; height: 44px; padding: 0;
    border: 0; background: transparent; cursor: pointer;
  }
  .nav-toggle-bar {
    display: block; width: 23px; height: 2px; border-radius: 2px;
    background: var(--ink);
    transition: transform 0.26s ease, opacity 0.2s ease;
  }
  body.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* the nav becomes an off-canvas panel */
  .site-header .nav {
    display: flex; flex-direction: column; align-items: stretch;
    gap: 2px; margin: 0;
    position: fixed; top: 0; right: 0;
    width: min(82vw, 340px); height: 100vh; height: 100dvh;
    padding: 92px 26px 32px;
    background: #fff; border-left: 1px solid var(--line);
    box-shadow: -24px 0 60px -34px rgba(16, 22, 40, 0.45);
    transform: translateX(100%); visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
    overflow-y: auto; z-index: 40;
  }
  body.nav-open .site-header .nav { transform: translateX(0); visibility: visible; }

  .site-header .nav a { color: var(--ink); font-size: 1.06rem; font-weight: 600; padding: 13px 2px; }
  .site-header .nav a::after { display: none; }
  .site-header .nav-item,
  .site-header .nav-item.nav-has-menu { width: 100%; flex-direction: column; align-items: stretch; }
  .site-header .nav-item > a { display: flex; align-items: center; }
  .site-header .nav-caret { margin-left: 8px; }

  /* Services submenu: static, always visible inside the panel */
  .site-header .nav-menu {
    position: static; display: flex; flex-direction: column;
    opacity: 1; visibility: visible; transform: none; pointer-events: auto;
    background: transparent; border: 0; box-shadow: none;
    min-width: 0; padding: 2px 0 8px 14px; margin: 0;
  }
  .site-header .nav-menu a { font-size: 0.98rem; font-weight: 500; color: var(--muted); padding: 9px 8px; }

  .nav-cta {
    display: inline-flex; align-items: center; justify-content: center;
    margin-top: 22px; padding: 13px 20px; border-radius: 999px;
    background: linear-gradient(110deg, #4b54e0 0%, #2f6bff 45%, #19bfe6 100%);
    color: #fff !important; font-size: 0.98rem; font-weight: 600;
  }

  .nav-backdrop {
    position: fixed; inset: 0; z-index: 30;
    background: rgba(12, 16, 32, 0.42);
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s;
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
}

/* Big-screen: let content breathe a little more on very wide monitors
   (laptops and normal desktops <1700px are unchanged). */
@media (min-width: 1700px) { :root { --max: 1300px; } }

/* ===================================================================
   Legal pages (privacy / terms) and 404
   =================================================================== */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(7rem, 13vh, 9.5rem) 1.5rem clamp(3.5rem, 7vh, 5rem); }
.legal h1 {
  font-family: "Poppins", Inter, sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; letter-spacing: -0.025em;
  margin: 0.4rem 0 0; color: var(--ink);
}
.legal-updated { color: var(--muted); font-size: 0.9rem; margin: 0.8rem 0 0; }
.legal-body { margin-top: 2.2rem; }
.legal-body h2 {
  font-family: "Poppins", Inter, sans-serif;
  font-size: 1.2rem; letter-spacing: -0.01em; margin: 2rem 0 0.55rem; color: var(--ink);
}
.legal-body p, .legal-body li { color: var(--ink-2); font-size: 1rem; line-height: 1.7; }
.legal-body p { margin: 0.6rem 0 0; }
.legal-body ul { margin: 0.6rem 0 0; padding-left: 1.2rem; }
.legal-body li { margin: 0.35rem 0; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body a { color: var(--indigo); text-decoration: underline; text-underline-offset: 2px; }

.nf {
  max-width: 640px; margin: 0 auto; min-height: 68vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 7rem 1.5rem 4rem;
}
.nf .eyebrow { justify-content: center; }
.nf h1 {
  font-family: "Poppins", Inter, sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.08; letter-spacing: -0.025em;
  margin: 0.5rem 0 0; color: var(--ink);
}
.nf p { color: var(--muted); font-size: 1.1rem; margin: 1rem 0 0; }
.nf-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; margin-top: 1.9rem; }

/* ===================================================================
   What We Create (create.html) — tools, open-source band, cards
   Reuses tk-hero/tk-section/tk-head/tk-grid/tk-card/tk-cta.
   =================================================================== */
.eng-tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.eng-tool {
  display: flex; flex-direction: column;
  padding: 1.9rem 1.8rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.eng-tool:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 22px 46px -24px rgba(31,38,74,0.4); }
.eng-tool-top { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.eng-tool-tag {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--indigo); background: var(--tint); padding: 4px 10px; border-radius: 999px;
}
.eng-tool-os { margin-left: auto; font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.eng-tool-name { font-family: "Poppins", Inter, sans-serif; font-size: 1.5rem; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
.eng-tool-line { font-weight: 600; color: var(--ink); margin: 0.3rem 0 0; }
.eng-tool-desc { flex: 1; color: var(--muted); font-size: 0.95rem; line-height: 1.55; margin: 0.7rem 0 1.3rem; }
.eng-tool-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--indigo); font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: gap 0.2s ease; }
.eng-tool-link:hover { gap: 0.65rem; }

.eng-band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eng-band-inner { max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 6vh, 4.5rem) 1.5rem; text-align: center; }
.eng-band-inner .eyebrow { justify-content: center; }
.eng-band-inner h2 { font-family: "Poppins", Inter, sans-serif; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.025em; line-height: 1.12; margin: 0.4rem 0 0; color: var(--ink); }
.eng-band-sub { color: var(--muted); max-width: 44rem; margin: 0.8rem auto 0; font-size: 1rem; line-height: 1.6; }
.eng-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(2rem, 5vw, 4rem); margin: 2rem 0; }
.eng-stat { display: flex; flex-direction: column; gap: 0.2rem; }
.eng-stat-n { font-family: "Poppins", Inter, sans-serif; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eng-stat-l { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; }

.eng-card { text-decoration: none; color: inherit; display: block; }

@media (max-width: 760px) { .eng-tools { grid-template-columns: 1fr; } }

/* anchor offset for What We Create deep-links (fixed header) */
#tools, #open-source { scroll-margin-top: 88px; }




/* ===================================================================
   Technology ecosystem — five blocks (Cloud/Platform/Ops/Security/Automation)
   =================================================================== */
.eco-stack { max-width: none; margin: 0 auto; }
.eco-stack-head { text-align: center; max-width: 46rem; margin: 0 auto clamp(2rem, 4vh, 3rem); }
.eco-stack-head h2 { margin: 8px 0 0; font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 600; line-height: 1.14; letter-spacing: -0.025em; color: var(--ink); }
.eco-stack-sub { margin: 0.9rem auto 0; max-width: 42rem; color: var(--muted); font-size: 1.02rem; line-height: 1.6; }

.eco-stack-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.15rem; max-width: var(--max); margin: 0 auto; }
.eco-cat {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
  padding: 1.55rem 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.eco-cat:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: 0 16px 38px -22px rgba(47,168,255,0.45), 0 0 0 1px rgba(47,168,255,0.35); }
.eco-cat-top { display: flex; align-items: baseline; gap: 0.5rem; padding-bottom: 0.85rem; margin-bottom: 0.95rem; border-bottom: 1px solid var(--line); }
.eco-cat-step { font-family: "Poppins", Inter, sans-serif; font-size: 0.92rem; font-weight: 700; letter-spacing: -0.01em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eco-cat h3 { margin: 0; font-size: 1.12rem; letter-spacing: -0.01em; color: var(--ink); }
.eco-cat-role { margin: 2px 0 0; font-size: 0.83rem; color: var(--muted); }
.eco-tools { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.85rem; }
.eco-tool { display: flex; align-items: center; gap: 0.65rem; font-size: 0.97rem; font-weight: 500; color: var(--ink-2); }
.eco-logo, .eco-ico { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex: none; }
.eco-logo svg { width: 20px; height: 20px; }
.eco-logo img { width: 20px; height: 20px; object-fit: contain; }
.eco-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--indigo); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1080px) { .eco-stack-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .eco-stack-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .eco-stack-grid { grid-template-columns: 1fr; } }

/* industry icons (line) — replaced emojis */
.ind-nav-emoji svg, .ind-emoji svg { fill: none; stroke: var(--indigo); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; display: block; }
.ind-nav-emoji svg { width: 26px; height: 26px; }
.ind-emoji svg { width: 30px; height: 30px; }

/* case-study logos — coloured line icons (replaced emojis) */
.case-logo svg { width: 30px; height: 30px; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; display: block; }

/* skip-to-content (accessibility) */
.skip-link {
  position: absolute; left: 50%; top: -64px; transform: translateX(-50%); z-index: 100;
  background: var(--indigo); color: #fff; padding: 10px 18px; border-radius: 0 0 12px 12px;
  font-weight: 600; font-size: 0.9rem; text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; outline: none; box-shadow: 0 6px 18px -8px rgba(0,0,0,0.4); }

/* product terminal mock (Smurf / SyncerD on the create page) */
.eng-term { margin: 0.1rem 0 1.3rem; border: 1px solid #1c2233; border-radius: 12px; overflow: hidden; background: #0e1320; box-shadow: 0 14px 30px -24px rgba(0,0,0,0.65); }
.eng-term-bar { display: flex; gap: 6px; padding: 9px 13px; background: #161c2c; border-bottom: 1px solid #232a3d; }
.eng-term-bar span { width: 9px; height: 9px; border-radius: 50%; background: #39405a; }
.eng-term-bar span:nth-child(1) { background: #ff5f57; }
.eng-term-bar span:nth-child(2) { background: #febc2e; }
.eng-term-bar span:nth-child(3) { background: #28c840; }
.eng-term pre { margin: 0; padding: 13px 15px; overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.78rem; line-height: 1.75; color: #cdd6f4; }
.eng-term .tprompt { color: #2fa8ff; margin-right: 6px; }
.eng-term .tcmt { color: #5c6680; }
/* let the tool card size to content now that it has a terminal */
.eng-tool-desc { flex: none; }


/* ===================================================================
   Insights (blog) — index cards + article
   =================================================================== */
.ins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.ins-card { display: flex; flex-direction: column; padding: 1.7rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); text-decoration: none; color: inherit; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.ins-card:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: 0 16px 38px -24px rgba(47,168,255,0.4); }
.ins-tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--indigo); }
.ins-card h3 { font-size: 1.18rem; letter-spacing: -0.01em; line-height: 1.25; margin: 0.6rem 0 0; color: var(--ink); }
.ins-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.55; margin: 0.6rem 0 1.1rem; flex: 1; }
.ins-more { color: var(--indigo); font-weight: 600; font-size: 0.92rem; }

.art { max-width: 720px; margin: 0 auto; padding: clamp(7rem, 13vh, 9.5rem) 1.5rem clamp(2rem, 4vh, 3rem); }
.art-head h1 { font-family: "Poppins", Inter, sans-serif; font-size: clamp(1.9rem, 3.8vw, 2.7rem); line-height: 1.12; letter-spacing: -0.025em; margin: 0.4rem 0 0; color: var(--ink); }
.art-meta { color: var(--muted); font-size: 0.9rem; margin: 0.8rem 0 0; }
.art-body { margin-top: 2rem; }
.art-body h2 { font-family: "Poppins", Inter, sans-serif; font-size: 1.35rem; letter-spacing: -0.01em; margin: 2.1rem 0 0.5rem; color: var(--ink); }
.art-body p { color: var(--ink-2); font-size: 1.05rem; line-height: 1.75; margin: 0.7rem 0 0; }
.art-body ul { margin: 0.7rem 0 0; padding-left: 1.2rem; }
.art-body li { color: var(--ink-2); font-size: 1.05rem; line-height: 1.7; margin: 0.35rem 0; }
.art-body strong { color: var(--ink); font-weight: 600; }
.art-body a { color: var(--indigo); text-decoration: underline; text-underline-offset: 2px; }
.art-body code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; background: var(--tint); color: var(--ink); padding: 2px 6px; border-radius: 6px; }
.art-back { display: inline-block; margin-top: 2.2rem; color: var(--indigo); font-weight: 600; text-decoration: none; }
.art-back:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 860px) { .ins-grid { grid-template-columns: 1fr; } }

/* About — founder attribution on the "Success Means" dark band */
.ab-founder { display: flex; align-items: center; justify-content: center; gap: 0.95rem; margin: 1.9rem 0 0; }
.ab-founder-photo { position: relative; flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: var(--grad); border: 2px solid rgba(255,255,255,0.25); }
.ab-founder-initials { color: #fff; font-family: "Poppins", Inter, sans-serif; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; }
.ab-founder-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
.ab-founder figcaption { text-align: left; display: flex; flex-direction: column; }
.ab-founder-name { color: #fff; font-weight: 700; font-size: 1rem; }
.ab-founder-role { color: rgba(255,255,255,0.62); font-size: 0.85rem; margin-top: 1px; }

/* ===================================================================
   About — facts band, tight story, how-we-work cards (rebuild)
   =================================================================== */
.ab-stats { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(2.3rem, 5vh, 3.2rem) clamp(20px, 5vw, 72px); }
.ab-stats-row { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.ab-stat { text-align: center; }
.ab-stat-n { display: block; font-family: "Poppins", Inter, sans-serif; font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ab-stat-l { display: block; margin-top: 0.5rem; font-size: 0.85rem; color: var(--muted); font-weight: 500; }

.ab-story { text-align: center; }
.ab-story .eyebrow { justify-content: center; }
.ab-story > * { max-width: 46rem; margin-left: auto; margin-right: auto; }
.ab-story .ab-story-lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.7; color: var(--ink-2); }

.ab-work-head { text-align: center; margin-bottom: clamp(1.8rem, 3.5vh, 2.6rem); }
.ab-work-head .eyebrow { justify-content: center; }
.ab-work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; max-width: var(--max); margin: 0 auto; }
.ab-work { padding: 1.7rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.ab-work:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: 0 18px 40px -26px rgba(47,168,255,0.4); }
.ab-work-ic { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 14px; background: var(--tint); margin-bottom: 1rem; }
.ab-work-ic svg { width: 24px; height: 24px; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ab-work h3 { font-size: 1.15rem; letter-spacing: -0.01em; margin: 0 0 0.4rem; color: var(--ink); }
.ab-work p { color: var(--muted); font-size: 0.96rem; line-height: 1.55; margin: 0; }

@media (max-width: 820px) { .ab-stats-row { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1rem; } .ab-work-grid { grid-template-columns: 1fr; } }

/* About — Calendly in the final CTA (white card on the gradient) */
.closing-cal { max-width: 820px; margin: clamp(1.8rem, 3.5vh, 2.6rem) auto 0; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px -24px rgba(0,0,0,0.4); }
.closing-cal .calendly-inline-widget { display: block; }
.closing-cal-fallback { display: inline-block; margin: 1.1rem; color: var(--indigo); font-weight: 600; text-decoration: none; }

/* meeting-details line above the scheduler */
.cal-meta { text-align: center; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin: 0.9rem 0 0; }
.closing .cal-meta { color: rgba(255,255,255,0.82); }
.ct-cal .cal-meta, .cal-meta-light { color: var(--muted); }

/* Calendar: give the stacked (mobile) layout enough height so it never scrolls internally */
@media (max-width: 680px) {
  .closing-cal .calendly-inline-widget,
  .ct-cal-embed .calendly-inline-widget { height: 1040px !important; }
}


/* compact, one-screen scheduler sections (About CTA + Contact pick-a-time) */
.closing-book { padding-top: clamp(16px, 2vw, 24px); padding-bottom: clamp(18px, 2.4vw, 28px); }
.closing-book .closing-inner { padding: clamp(20px, 2.4vw, 30px) clamp(22px, 3.5vw, 48px); }
.closing-book h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.closing-book .closing-sub { margin-top: 8px; font-size: 0.95rem; }
.closing-book .closing-cal { margin-top: clamp(0.8rem, 1.6vh, 1.1rem); }

.ct-cal { padding-top: clamp(0.4rem, 1.2vh, 0.9rem); padding-bottom: clamp(1.4rem, 3vh, 2.2rem); }
.ct-cal-head { margin-bottom: clamp(0.7rem, 1.6vh, 1rem); }
.ct-cal-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.ct-cal-sub { font-size: 0.95rem; margin-top: 0.4rem; }

/* Horizontal scheduler layout on wide screens (copy beside calendar -> fits one screen) */
@media (min-width: 1200px) {
  .closing-book .closing-inner {
    display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 3vw, 56px);
    align-items: center; text-align: left;
  }
  .closing-book .closing-book-copy .eyebrow { justify-content: flex-start; }
  .closing-book .closing-cal { margin: 0; max-width: none; }

  .ct-cal { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 3vw, 56px); align-items: center; }
  .ct-cal-head { text-align: left; max-width: none; margin: 0; }
  .ct-cal-head .eyebrow { justify-content: flex-start; }
  .ct-cal-embed { max-width: none; margin: 0; }
}

/* extra-compact scheduler sections */
.closing-book .closing-inner { padding: clamp(18px, 2.2vw, 28px) clamp(20px, 3vw, 40px); }
.ct-cal { padding-top: clamp(0.3rem, 1vh, 0.7rem); padding-bottom: clamp(1.2rem, 2.5vh, 2rem); }
@media (max-width: 680px) {
  .closing-cal .calendly-inline-widget,
  .ct-cal-embed .calendly-inline-widget { height: 900px !important; }
}

/* Scheduler — reference-style: full-width single column, standard widget, no internal scroll */
.closing-book .closing-inner { display: block; text-align: center; padding: clamp(28px, 3.4vw, 46px) clamp(22px, 3.5vw, 52px); }
.closing-book .closing-book-copy { max-width: 620px; margin: 0 auto; }
.closing-book .closing-book-copy .eyebrow { justify-content: center; }
.closing-book .closing-cal { max-width: 960px; margin: clamp(1.3rem, 2.6vh, 1.9rem) auto 0; }

.ct-cal { display: block; padding-top: clamp(1rem, 2vh, 1.6rem); padding-bottom: clamp(2.5rem, 5vh, 4rem); }
.ct-cal-head { text-align: center; max-width: 40rem; margin: 0 auto clamp(1.2rem, 2.5vh, 1.8rem); }
.ct-cal-head .eyebrow { justify-content: center; }
.ct-cal-embed { max-width: 960px; margin: 0 auto; }

@media (max-width: 680px) {
  .closing-cal .calendly-inline-widget,
  .ct-cal-embed .calendly-inline-widget { height: 1000px !important; }
}

/* How We Think — hero constellation motif (behind the centered content) */
.tk-hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.tk-hero-inner { position: relative; z-index: 1; }

/* current-page highlight in the nav */
.nav a[aria-current="page"] { color: var(--indigo); font-weight: 600; }
.nav a[aria-current="page"]::after { width: 100%; background: var(--indigo); }

/* About — founder photo in greyscale (colour on hover) */
.ab-founder-photo img { filter: grayscale(100%); transition: filter 0.3s ease; }
.ab-founder:hover .ab-founder-photo img { filter: grayscale(0%); }

/* book-a-call button on the home final CTA (ghost on the gradient) */
.closing-book-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1.2rem; padding: 0.8rem 1.65rem; border-radius: 999px; border: 1px solid rgba(160, 215, 255, 0.6); background: rgba(255, 255, 255, 0.14); color: #fff; font-weight: 600; font-size: 0.95rem; text-decoration: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.closing-book-btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.24); border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(47, 168, 255, 0.22); }
.closing-book-btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 55%; background: linear-gradient(100deg, transparent, rgba(180, 225, 255, 0.55), transparent); transform: skewX(-20deg); pointer-events: none; animation: cb-shine 3.6s ease-in-out infinite; }
@keyframes cb-shine { 0% { left: -80%; } 45% { left: 135%; } 100% { left: 135%; } }
@media (prefers-reduced-motion: reduce) { .closing-book-btn::after { animation: none; opacity: 0; } }

/* About — Success "founder feature" (large portrait beside the quote) */
.ab-success-grid { max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: 258px 1fr; gap: clamp(2rem, 4vw, 3.2rem); align-items: start; }
.ab-success { padding-top: clamp(2.4rem, 4.5vh, 3.4rem); }
.ab-success .eyebrow { font-size: 0.72rem; }
.ab-success h2 { font-size: clamp(1.55rem, 2.9vw, 2.15rem); line-height: 1.12; }
.ab-success-body > p { font-size: 1.02rem; line-height: 1.6; }
.ab-success-body .ab-quote { font-size: 1.14rem; line-height: 1.45; }
.ab-success-photo { margin: 0; }
.ab-success-frame { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--grad); border: 1px solid rgba(255,255,255,0.16); }
.ab-success-initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: "Poppins", Inter, sans-serif; font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); color: #fff; }
.ab-success-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; filter: grayscale(100%); transition: filter 0.35s ease; }
.ab-success-photo:hover .ab-success-frame img { filter: grayscale(0%); }
.ab-success-photo figcaption { margin-top: 1rem; text-align: center; }
.ab-success-name { display: block; color: #fff; font-weight: 700; font-size: 1.05rem; }
.ab-success-role { display: block; color: rgba(255,255,255,0.62); font-size: 0.88rem; margin-top: 2px; }
.ab-success-body .ab-quote { margin-top: 1.4rem; }
@media (max-width: 760px) {
  .ab-success-grid { grid-template-columns: 1fr; gap: 1.8rem; justify-items: center; text-align: center; }
  .ab-success-photo { max-width: 240px; width: 100%; }
  .ab-success-body .eyebrow { justify-content: center; }
  .ab-success-body .ab-quote { border-left: 0; padding-left: 0; }
}

/* What We Create — larger hero (scoped, doesn't affect How We Think) */
.cr-hero { padding-top: clamp(9rem, 19vh, 14rem); padding-bottom: clamp(5rem, 11vh, 8rem); }
.cr-hero .tk-hero-inner { max-width: 64rem; }
.cr-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
.cr-hero .tk-lede { font-size: clamp(1.05rem, 1.55vw, 1.32rem); max-width: 44rem; margin-left: auto; margin-right: auto; }
.cr-hero .tk-hero-actions { margin-top: 2rem; }

/* Home FAQ — keep the "s" in FAQs lowercase */
.faq-eyebrow .eyebrow-lower { text-transform: none; }

/* ============================================================
   Services / Outcomes / Industries — subtle hero motifs
   + Outcomes proof band (Clutch / Upwork + genuine reviews)
   ============================================================ */
.oc-hero { position: relative; overflow: hidden; }
.oc-hero-canvas { position: absolute !important; inset: 0; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.oc-hero > .eyebrow, .oc-hero > h1, .oc-hero > .oc-hero-lede, .oc-hero > .primary-link,
.oc-hero > .oc-proof, .oc-hero > .oc-reviews, .oc-hero > .oc-reviews-all { position: relative; z-index: 1; }

/* rating chips */
.oc-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 30px auto 0; }
.oc-rate { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-decoration: none; box-shadow: 0 4px 14px -10px rgba(16,22,40,.4); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.oc-rate:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(16,22,40,.5); }
.oc-rate-mark { font-family:"Poppins",Inter,sans-serif; font-weight:700; font-size:.95rem; letter-spacing:-.01em; }
.oc-rate--clutch .oc-rate-mark { color:#ff3d2e; } .oc-rate--clutch:hover { border-color:#ff3d2e; }
.oc-rate--upwork .oc-rate-mark { color:#14a800; } .oc-rate--upwork:hover { border-color:#14a800; }
.oc-rate-stars { color:#ffb400; letter-spacing:1px; font-size:.86rem; }
.oc-rate-score { color:var(--ink); font-size:.92rem; } .oc-rate-score strong { font-weight:700; }
.oc-rate-sub { color:var(--muted); font-size:.8rem; }

/* genuine review cards */
.oc-reviews { list-style:none; margin: 26px auto 0; padding:0; max-width: var(--max); display:grid; grid-template-columns: repeat(3,1fr); gap: 14px; text-align:left; }
.oc-rev { background:#fff; border:1px solid var(--line); border-radius:16px; padding:18px 18px 15px; box-shadow: 0 4px 16px -14px rgba(16,22,40,.4); }
.oc-rev-stars { color:#ffb400; letter-spacing:1.5px; font-size:.82rem; }
.oc-rev-quote { margin:0 0 13px; color:var(--ink); font-size:0.93rem; line-height:1.52; font-weight:500; }
.oc-rev-by { margin:0; color:var(--ink-2,var(--ink2,#2b303c)); font-size:.86rem; }
.oc-rev-by strong { font-weight:700; }
.oc-rev-src { margin:3px 0 0; color:var(--faint); font-size:.76rem; }
.oc-reviews-all { display:inline-block; margin: 16px auto 0; color:var(--indigo); font-weight:600; font-size:.9rem; text-decoration:none; }
.oc-reviews-all:hover { text-decoration:underline; }
@media (max-width: 860px){ .oc-reviews { grid-template-columns:1fr; max-width:520px; } }

/* official platform logo mark in rating chip */
.oc-rate-logo { display:inline-flex; align-items:center; }
.oc-rate-logo svg { width:17px; height:17px; display:block; }
.oc-rev-quote { margin-top: 0; }

.oc-trp { display:inline-flex; align-items:center; }
.oc-trp svg { width:21px; height:21px; display:block; }

/* Upwork Top Rated Plus hexagon badge (inline, reusable) */
.trp-badge{display:inline-flex;align-items:center;line-height:0;vertical-align:middle}
.trp-badge svg{width:18px;height:18px;display:block}
.hero-proof .trp-badge svg{width:21px;height:21px}

/* Full-screen statement heroes (Services, Industries, How We Think, What We Create) */
.sv-hero, .ind-hero, .tk-hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
}

/* Fix mobile horizontal overflow from terminal code blocks in Internal Tools */
.eng-tool { min-width: 0; }
.eng-term, .eng-term pre { min-width: 0; max-width: 100%; }

/* About — team grid ("The people behind CloudDrove") */
.ab-team { text-align: center; }
.ab-team .eyebrow { justify-content: center; }
.ab-team .ab-team-sub { max-width: 44rem; margin: 0.7rem auto 0; color: var(--muted); font-size: 1rem; line-height: 1.55; text-align: center; }
.ab-team-grid { list-style: none; padding: 0; margin: clamp(1.8rem, 3.5vw, 2.6rem) auto 0; max-width: var(--max); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.ab-team-card { display: flex; flex-direction: column; align-items: center; }
.ab-team-photo { width: 100%; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; background: #e9ecf3; border: 1px solid var(--line); }
.ab-team-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter 0.35s ease, transform 0.35s ease; display: block; }
.ab-team-card:hover .ab-team-photo img { filter: grayscale(0%); transform: scale(1.03); }
.ab-team-photo.is-empty { background: var(--grad); }
.ab-team-name { margin-top: 0.9rem; font-family: "Poppins", Inter, sans-serif; font-weight: 600; color: var(--ink); font-size: 1.04rem; }
.ab-team-role { color: var(--muted); font-size: 0.88rem; margin-top: 2px; }
@media (max-width: 860px) { .ab-team-grid { grid-template-columns: repeat(2, 1fr); max-width: 520px; } }

/* Make Clutch / Upwork rating chips clickable */
.rating { text-decoration: none; }
a.rating { cursor: pointer; }

/* Brand wordmark logos in rating chips */
.brand-logo { display: inline-block; vertical-align: middle; height: 14px; width: auto; }
.brand-clutch { font-family: Inter, system-ui, sans-serif; font-weight: 800; letter-spacing: -0.045em; color: #16242e; font-size: 1.05em; vertical-align: middle; white-space: nowrap; }
.brand-clutch .cdot { display: inline-block; }
.brand-clutch .cdot svg { height: 0.78em; width: 0.78em; vertical-align: -0.14em; margin: 0 -0.05em; }
.hero-proof .brand-logo { height: 18px; }
.hero-proof .brand-clutch { font-size: 1.1em; }
.oc-rate .brand-logo { height: 18px; }
.oc-rate .brand-clutch { font-size: 1.12rem; }

/* Real Clutch logo (PNG) sizing */
.brand-clutch-img { height: 13px; }
.hero-proof .brand-clutch-img { height: 17px; }
.oc-rate .brand-clutch-img { height: 17px; }
