/* landing-c.css — Les Experts AI, hand-drawn whiteboard style */

:root {
  --paper: #fefdfb;
  --ink: #1e1e1e;
  --muted: #6b6b6b;
  --c-cream: #f7e8c8;
  --c-green: #d5e8cf;
  --c-blue: #cfe3f4;
  --c-lavender: #e6dcf5;
  --c-pink: #f9dcdc;
  --c-yellow: #f8e9a0;
  --vd-red: #c4574c;
  --vd-blue: #3f7cb0;
  --vd-green: #4f9a5f;
  --font-head: 'Caveat', cursive;
  --font-body: 'Shantell Sans', cursive;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
}
html { overflow-x: hidden; }

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- sketchy primitives ---------- */
.sketch {
  border: 2px solid var(--ink);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
}
.sketch-alt {
  border: 2px solid var(--ink);
  border-radius: 15px 255px 15px 225px / 225px 15px 255px 15px;
}
.dashed-divider {
  border: none;
  border-top: 3px dashed var(--ink);
  margin: 0;
  opacity: 0.85;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  background: var(--c-yellow);
  border: 2.5px solid var(--ink);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  padding: 12px 30px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover {
  transform: translate(-1px, -2px) rotate(-0.5deg);
  box-shadow: 3px 4px 0 var(--ink);
}
.btn.ghost { background: transparent; }

/* ---------- right-side rolodex index nav ---------- */
.nav-index {
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  padding: 10px 6px;
}
.nav-index a {
  --s: 1;
  font-family: var(--font-head);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: 0.3px;
  /* rest opacity; JS darkens this in step with magnification (--s) so the
     item tracked by scroll-progress reads darker, not just larger */
  opacity: 0.4;
  transform-origin: right center;
  transform: scale(var(--s));
  transition: opacity .25s ease, color .25s ease, transform .12s ease;
  white-space: nowrap;
  will-change: transform;
}
.nav-index:hover a { opacity: 0.62; }
.nav-index a:hover { opacity: 1; }

/* "Get Started" — quiet CTA: hand-drawn marker underline, always present */
.nav-index a.nav-go {
  opacity: 0.9;
  background-image: linear-gradient(transparent 58%, var(--c-yellow) 58%, var(--c-yellow) 90%, transparent 90%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding-bottom: 1px;
}
.nav-index:hover a.nav-go { opacity: 0.95; }
.nav-index a.nav-go:hover { opacity: 1; }

/* ---------- language switcher (EN · FR) ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-head);
}
.lang-opt {
  font-family: var(--font-head);
  font-size: 17px;
  line-height: 1;
  color: var(--ink);
  background: none;
  border: none;
  padding: 2px 2px 3px;
  margin: 0;
  cursor: pointer;
  opacity: 0.42;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.12s ease;
}
.lang-opt:hover { opacity: 0.78; }
.lang-opt.is-active {
  opacity: 1;
  background-image: linear-gradient(transparent 56%, var(--c-yellow) 56%, var(--c-yellow) 92%, transparent 92%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.lang-sep { opacity: 0.38; font-size: 15px; user-select: none; }

/* placement: top-right floating — part of the right-edge utility rail */
.lang-switch.lang-float {
  position: fixed;
  top: 16px;
  right: 18px;
  z-index: 70;
  padding: 4px 11px 5px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 255px 14px 225px 14px / 14px 225px 14px 255px;
  box-shadow: 2px 3px 0 rgba(30, 30, 30, 0.14);
  transform: rotate(-1.2deg);
}

/* placement: appended to the rolodex rail */
.lang-switch.lang-inrail {
  margin-bottom: 9px;
  padding-bottom: 9px;
  border-bottom: 2px dashed color-mix(in srgb, var(--ink) 32%, transparent);
}
.lang-switch.lang-inrail .lang-opt { font-size: 13px; }
.lang-switch.lang-inrail .lang-sep { font-size: 12px; }

/* placement: in the footer */
.lang-switch.lang-infooter .lang-opt { font-size: 16px; }
@media (max-width: 560px) {
  .lang-switch.lang-float { top: 12px; right: 12px; }
}

/* ---------- logo plate ---------- */
.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.5px;
  border: 2.5px solid var(--ink);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  padding: 2px 16px;
  background: #fff;
}

/* ---------- hero ---------- */
.hero {
  text-align: center;
  margin-top: 20px;
  padding: 40px 20px 56px;
  position: relative;
}
.hero-logo {
  position: fixed;
  left: 50%;
  top: 80px;
  font-size: 27px;
  padding: 3px 18px;
  white-space: nowrap;
  transform-origin: center center;
  transform: translate(-50%, -50%) scale(var(--ds, 1));
  z-index: 70;
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.3s ease;
  will-change: left, top, transform;
}
.hero-logo.is-ready { opacity: 1; }
/* docked: settle into a quiet, rail-like presence that magnifies on hover */
.hero-logo.is-docked {
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.16s ease;
}
.hero-logo.is-docked:hover,
.hero-logo.is-docked:focus-visible {
  opacity: 1;
  outline: none;
  transform: translate(-50%, -50%) scale(calc(var(--ds, 1) * 1.28));
}
.hero-logo-spacer { height: 80px; pointer-events: none; }
/* pre-headline eyebrow above the hero headline */
.hero-eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 27px;
  letter-spacing: 0.5px;
  color: var(--ink);
  margin: 38px 0 8px;
  line-height: 1;
  transform: rotate(-1deg);
}
.eyebrow-correct { position: relative; display: inline-block; }
.eyebrow-strike {
  text-decoration: line-through;
  text-decoration-color: var(--vd-red);
  text-decoration-thickness: 2.5px;
  color: var(--ink);
}
.eyebrow-fix {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 1px);
  transform: translateX(-50%) rotate(-5deg);
  font-size: 1em;
  color: var(--ink);
  white-space: nowrap;
  line-height: 1;
  pointer-events: none;
}
.hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 58px;
  line-height: 1.08;
  margin: 0 0 18px;
  text-wrap: balance;
}
.hero .strike { position: relative; white-space: nowrap; }
.hero .strike svg {
  position: absolute;
  left: -2%;
  bottom: -6px;
  width: 104%;
  height: 14px;
}
.hero .sub {
  font-size: 19px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 30px;
  text-wrap: pretty;
}
.hero-cta { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: 100%; margin-top: 30px; }
.btn-with-note { position: relative; display: inline-flex; grid-column: 2; justify-self: center; }
@media (max-width: 560px) {
  .hero-cta { grid-template-columns: 1fr; justify-items: center; }
  .btn-with-note, .hero-cta-alt { grid-column: 1; justify-self: center; margin-left: 0; }
  .hero-cta-alt { margin-top: 8px; }
}
.hero-cta .hero-start { animation: note-nudge 2.4s ease-in-out infinite; }
.hero-alt { font-size: 16px; padding: 11px 24px; }
.hero-cta-alt { grid-column: 3; justify-self: start; margin-left: 16px; white-space: nowrap; font-size: 14.5px; color: var(--muted); display: inline-flex; flex-direction: column; align-items: center; gap: 3px; }
.hcr-arrow { opacity: 0.72; }
.hero-cta-alt a {
  color: var(--muted);
  font-size: 14.5px;
  text-decoration: none;
  border-bottom: 2px dashed transparent;
}
.hero-cta-alt a:hover { border-bottom-color: currentColor; }
.hero-note {
  font-size: 14.5px;
  color: var(--muted);
  margin: 14px 0 0;
}
.hero-note a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px dashed transparent;
}
.hero-note a:hover { border-bottom-color: var(--ink); }
.doodle-note {
  font-family: var(--font-head);
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  position: absolute;
  white-space: nowrap;
}
.hero-cta .doodle-note {
  animation: note-nudge 2.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero-cta .doodle-note { animation: none; }
}
@keyframes note-nudge {
  0%, 100% { translate: 0 0; }
  50% { translate: -4px 3px; }
}
.marker-hl.green {
  background: linear-gradient(100deg, transparent 1%, var(--c-green) 4%, var(--c-green) 96%, transparent 99%);
}
.marker-hl {
  color: inherit;
  background: linear-gradient(100deg, transparent 1%, var(--c-yellow) 4%, var(--c-yellow) 96%, transparent 99%);
  padding: 2px 8px 4px;
  margin: -2px -4px;
}

/* ---------- stats separator band (contained, fits the page container) ---------- */
.stats-band {
  position: relative;
  isolation: isolate;
  margin: 12px 0;
  padding: 26px 22px 24px;
}
.stats-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 4px;
}
.stat {
  flex: 1 1 0;
  min-width: 124px;
  text-align: center;
  padding: 4px 8px;
  transform: rotate(var(--rot, 0deg));
  opacity: 0;
  translate: 0 16px;
  transition: opacity 0.5s ease, translate 0.55s cubic-bezier(0.2, 0.8, 0.3, 1.4);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.stats-band.in .stat { opacity: 1; translate: 0 0; }
.stats-inner > .stat:last-child { margin-top: -8px; }
.stat-num {
  position: relative;
  isolation: isolate;
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 60px;
  line-height: 0.9;
  color: var(--ink);
  padding: 0 6px;
  font-variant-numeric: tabular-nums;
}
.stat-num::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 7px;
  height: 16px;
  background: var(--c, var(--c-green));
  border-radius: 8px 11px 7px 10px;
  transform: scaleX(0) rotate(-1.5deg);
  transform-origin: left center;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.3, 1) calc(0.15s + var(--i, 0) * 80ms);
  z-index: -1;
}
.stats-band.in .stat-num::before { transform: scaleX(1) rotate(-1.5deg); }
.stat-label {
  display: block;
  margin-top: 7px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.4px;
  color: #3a3a3a;
  line-height: 1.05;
}
.stat-div {
  flex: 0 0 auto;
  align-self: center;
  width: 0;
  height: 56px;
  border-left: 2.5px dashed color-mix(in srgb, var(--ink) 45%, transparent);
}
@media (prefers-reduced-motion: reduce) {
  .stat { transition: none; opacity: 1; translate: 0 0; }
  .stat-num::before { transition: none; }
}
@media (max-width: 720px) {
  .stat-div { display: none; }
  .stat { min-width: 40%; }
  .stat-num { font-size: 46px; }
  .stat-label { font-size: 16px; }
}

/* ---------- section titles (graphic-recording style) ---------- */
.section {
  padding: 56px 0 64px;
  position: relative;
  /* divider lives on the section itself so it stays bound to (and pins with) its container */
  border-top: 3px dashed color-mix(in srgb, var(--ink) 85%, transparent);
}
/* sub-sections of the Problem block: no divider between them, top padding kept */
.section.problem-sub {
  border-top: none;
}
/* solution block (compliance → value) reads as one section — no internal
   dividers; cases flows on from it too. agents loses its divider too (the stats
   band above it already acts as the separator). */
#agents.section,
#compliance.section,
#why.section,
#method.section,
#expect.section,
#value.section,
#cases.section,
#testimonials.section,
#plans.section,
#lanes.section,
#faq.section {
  border-top: none;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 46px;
  text-align: center;
  margin: 0 0 8px;
  letter-spacing: 1px;
}
.section-kicker {
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 40px;
}

/* ---------- industry pattern explorer (the patterns) ---------- */
.pattern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: row dense;
  gap: 16px;
}
.pat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  background: var(--paper);
  box-shadow: 3px 4px 0 rgba(30, 30, 30, 0.14);
  transition: box-shadow 0.14s ease, transform 0.14s ease;
}
.pat-card:nth-child(3n+1) { background: var(--c-cream); }
.pat-card:nth-child(3n+2) { background: var(--c-blue); }
.pat-card:nth-child(3n+3) { background: var(--c-green); }
.pat-card:nth-child(even) {
  border-radius: 15px 255px 15px 225px / 225px 15px 255px 15px;
  transform: rotate(0.5deg);
}
.pat-card:nth-child(odd) { transform: rotate(-0.55deg); }
.pat-card:hover { box-shadow: 4px 6px 0 rgba(30, 30, 30, 0.24); }
.pat-card[open] {
  background: #fff !important;
  grid-column: span 2;
  grid-row: span 2;
  justify-content: flex-start;
  transform: rotate(0deg);
  box-shadow: 4px 6px 0 rgba(30, 30, 30, 0.26);
}
.pat-card[open] .pat-head { padding-bottom: 8px; }
.pat-card[open] .pat-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 0 24px;
  align-items: start;
}
.pat-card[open] .pat-opp { margin: 16px 0 0; align-self: start; }
.pat-card[open] .pat-block { margin-top: 16px; }
.pat-card[open] .pat-out { margin-top: 16px; }

/* header */
.pat-head {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 44px 1fr 20px;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 16px 14px;
}
.pat-head::-webkit-details-marker { display: none; }
.pat-icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 52% 48% 50% 50% / 48% 52% 50% 50%;
  transform: rotate(-3deg);
}
.pat-card:nth-child(even) .pat-icon { transform: rotate(3deg); }
.pat-card[open] .pat-icon { background: var(--pat-bg, var(--paper)); }
.pat-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pat-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.04;
  text-wrap: balance;
}
.pat-toggle {
  width: 20px;
  height: 20px;
  position: relative;
  justify-self: end;
}
.pat-toggle::before,
.pat-toggle::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.pat-toggle::before { top: 9px; left: 1px; width: 18px; height: 2.6px; }
.pat-toggle::after { left: 9px; top: 1px; width: 2.6px; height: 18px; }
.pat-card[open] .pat-toggle::after { transform: scaleY(0); opacity: 0; }

/* body */
.pat-body {
  padding: 2px 18px 20px;
  overflow: hidden;
}
.pat-block {
  position: relative;
  padding: 20px 14px 12px;
  background: #fff;
  border: 1.8px solid var(--ink);
  border-radius: 255px 13px 225px 13px / 13px 225px 13px 255px;
}
.pat-block.pat-out {
  background: #fff;
  border-radius: 13px 255px 13px 225px / 225px 13px 255px 13px;
}
.pat-block h4 {
  position: absolute;
  top: -12px;
  left: 13px;
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.5px;
  padding: 4px 13px 5px;
  border: 2px solid var(--ink);
  border-radius: 99px;
  background: var(--c-pink);
  color: var(--ink);
  box-shadow: 2px 2.5px 0 rgba(30, 30, 30, 0.14);
  transform: rotate(-1.2deg);
  white-space: nowrap;
}
.pat-block.pat-out h4 { background: var(--c-green); }
.pat-block ul { margin: 0; padding-left: 17px; font-size: 13.5px; color: #3a3a3a; }
.pat-block li { margin-bottom: 3px; }
.pat-opp {
  position: relative;
  margin: 16px 0 14px;
  font-size: 14.5px;
  line-height: 1.35;
  padding: 20px 14px 12px;
  background: #fff;
  border: 1.8px solid var(--ink);
  border-radius: 225px 12px 255px 12px / 12px 255px 12px 225px;
}
.pat-opp-label {
  position: absolute;
  top: -12px;
  left: 13px;
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 4px 13px 5px;
  border: 2px solid var(--ink);
  border-radius: 99px;
  background: var(--c-blue);
  color: var(--ink);
  box-shadow: 2px 2.5px 0 rgba(30, 30, 30, 0.14);
  transform: rotate(-1.2deg);
  white-space: nowrap;
}
.pat-out li { break-inside: avoid; }

/* bottom banner */
.pattern-banner {
  margin-top: 128px;
  padding: 26px 32px;
  background: var(--c-cream);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
}
.pattern-banner-line {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.06;
  margin: 0;
}
.pattern-banner .btn { flex: none; }

/* ---------- ecosystem stack (ring diagram) ---------- */
.eco-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 34px;
  align-items: center;
}
.stack-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.stack-legend {
  font-family: var(--font-head);
  font-size: 20px;
  transform: rotate(-1.5deg);
  display: flex;
  align-items: center;
  gap: 8px;
}
.stack-legend .legend-mark {
  width: 19px;
  height: 19px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  background: var(--c-pink);
  border: 1.8px solid var(--ink);
  border-radius: 52% 48% 50% 50% / 48% 52% 50% 50%;
}
.stack-diagram {
  position: relative;
  width: 560px;
  height: 560px;
  flex: none;
}
.ring {
  position: absolute;
  border: 2.2px solid var(--ink);
}
.ring-1 {
  inset: 0;
  background: var(--c-cream);
  border-radius: 50% 48% 51% 49% / 49% 51% 48% 52%;
}
.ring-2 {
  inset: 66px;
  background: var(--c-green);
  border-radius: 48% 52% 49% 51% / 51% 49% 52% 48%;
}
.ring-3 {
  inset: 132px;
  background: var(--c-blue);
  border-radius: 51% 49% 52% 48% / 48% 52% 49% 51%;
}
.ring-core {
  inset: 200px;
  background: var(--c-lavender);
  border-radius: 49% 51% 48% 52% / 52% 48% 51% 49%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
}
.ring-core .ring-title { position: static; transform: rotate(-2deg); }
.ring-core small { font-size: 12.5px; color: #444; line-height: 1.35; margin-top: 4px; }
.ring-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) rotate(-1.5deg);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 1px;
  white-space: nowrap;
  line-height: 1;
}
.ring-item {
  position: absolute;
  z-index: 5;
  font-size: 12.5px;
  line-height: 1.15;
  background: var(--paper);
  border: 1.6px solid var(--ink);
  border-radius: 99px;
  padding: 3px 11px;
  white-space: nowrap;
  box-shadow: 2px 2px 0 rgba(30, 30, 30, 0.14);
  transform: translateX(var(--tx, 0px)) rotate(var(--rot, 0deg));
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}
.ring-item:hover,
.ring-item.tip-open {
  z-index: 60;
  transform: translateX(var(--tx, 0px)) rotate(var(--rot, 0deg)) scale(1.12);
  box-shadow: 3.5px 4.5px 0 rgba(30, 30, 30, 0.28);
  background: var(--c-cream);
}
.ring-item .ring-tip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  width: 210px;
  transform: translateX(-50%) rotate(-1deg) scale(0.92);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 225px 12px 255px 12px / 12px 255px 12px 225px;
  box-shadow: 3px 4px 0 rgba(30, 30, 30, 0.18);
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.45;
  white-space: normal;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: auto;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  z-index: 40;
}
/* bridge the gap between chip and tip so the mouse can travel up without losing hover */
.ring-item .ring-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}
.ring-item .ring-tip a {
  display: block;
  margin-top: 7px;
  padding-top: 6px;
  border-top: 1.5px dashed rgba(30, 30, 30, 0.3);
  color: var(--ink);
  font-weight: 600;
  font-size: 12px;
  text-decoration: underline wavy 1px;
  text-underline-offset: 3px;
}
.ring-item .ring-tip a:hover { background: var(--c-cream); }
.ring-item::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  width: 11px;
  height: 11px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--paper);
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 1;
}
/* tip visibility is JS-managed via .tip-open: opens on hover/focus, lingers after
   mouseout on a timeout, and closes instantly when another tip is triggered */
.ring-item.tip-open .ring-tip {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
  transform: translateX(-50%) rotate(-1deg) scale(1);
}
.ring-item.tip-open::before { opacity: 1; }
.ring-item:has(.ring-tip a)::after {
  content: "!";
  position: absolute;
  top: -10px;
  right: -8px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  background: var(--c-pink);
  border: 1.8px solid var(--ink);
  border-radius: 52% 48% 50% 50% / 48% 52% 50% 50%;
  transform: rotate(8deg);
}
.eco-aside h3 {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.05;
}
.esc-steps { display: flex; flex-direction: column; gap: 9px; margin: 0 0 20px; }
.esc-step {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border: 1.8px solid var(--ink);
  background: var(--paper);
  padding: 7px 14px;
  font-size: 14.5px;
  border-radius: 225px 12px 255px 12px / 12px 255px 12px 225px;
}
.esc-step .when {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  flex: none;
  width: 74px;
}
.esc-step:nth-child(2) { margin-left: 14px; }
.esc-step:nth-child(3) { margin-left: 28px; }
.esc-step:nth-child(4) { margin-left: 42px; background: var(--c-pink); }
.esc-step:nth-child(5) { margin-left: 56px; background: var(--c-pink); font-weight: 600; }
.eco-punch {
  padding: 16px 20px;
  background: var(--c-lavender);
  font-size: 15.5px;
}
.eco-punch b { font-family: var(--font-head); font-size: 22px; line-height: 1.1; }

/* ---------- providers strip ---------- */
.providers {
  margin-top: 44px;
  text-align: center;
  position: relative;
}
.providers-lede {
  font-family: var(--font-head);
  font-size: 27px;
  font-weight: 700;
  margin: 0 0 16px;
}
.provider-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
  max-width: 760px;
  margin: 0 auto;
}
.provider-chip {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  padding: 8px 20px 10px 15px;
  border: 2.2px solid var(--ink);
  background: var(--paper);
  border-radius: 255px 14px 225px 14px / 14px 225px 14px 255px;
  box-shadow: 2.5px 3px 0 rgba(30, 30, 30, 0.16);
}
.chip-ico {
  width: 23px;
  height: 23px;
  flex: none;
  display: block;
  overflow: visible;
  margin-top: -2px;
}
.chip-ico path,
.chip-ico line,
.chip-ico circle,
.chip-ico rect,
.chip-ico polygon,
.chip-ico polyline {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chip-ico .fill { fill: var(--ink); stroke: none; }
.provider-chip:nth-child(odd) { transform: rotate(-1.4deg); }
.provider-chip:nth-child(even) { transform: rotate(1.2deg); border-radius: 14px 255px 14px 225px / 225px 14px 255px 14px; }
.provider-chip:nth-child(3n) { background: var(--c-cream); }
.provider-chip:nth-child(4n+1) { background: var(--c-blue); }
/* each chip tinted with the closest palette colour to that brand's brand colour
   (order-based; the chip list is fixed). cream=warm/orange/yellow, green=green/teal,
   blue=blue, lavender=purple/neutral-dark, pink=red/coral/magenta */
.provider-chip:nth-child(1)  { background: var(--c-pink); }     /* Anthropic — clay/coral */
.provider-chip:nth-child(2)  { background: var(--c-green); }    /* OpenAI — teal */
.provider-chip:nth-child(3)  { background: var(--c-blue); }     /* Google — blue */
.provider-chip:nth-child(4)  { background: var(--c-cream); }    /* Mistral — orange */
.provider-chip:nth-child(5)  { background: var(--c-cream); }    /* AWS — orange */
.provider-chip:nth-child(6)  { background: var(--c-lavender); } /* Eleven Labs — black */
.provider-chip:nth-child(7)  { background: var(--c-blue); }     /* Deepseek — blue */
.provider-chip:nth-child(8)  { background: var(--c-lavender); } /* Ollama — neutral */
.provider-chip:nth-child(9)  { background: var(--c-lavender); } /* Qwen — purple */
.provider-chip:nth-child(10) { background: var(--c-lavender); } /* Grok — black */
.provider-chip:nth-child(11) { background: var(--c-cream); }    /* Hugging Face — yellow */
.provider-chip:nth-child(12) { background: var(--c-blue); }     /* OpenRouter — slate blue */
.provider-chip:nth-child(13) { background: var(--c-pink); }     /* Cohere — coral */
.provider-chip:nth-child(14) { background: var(--c-pink); }     /* Groq — orange-red */
.provider-chip:nth-child(15) { background: var(--c-green); }    /* Perplexity — teal */
.provider-chip:nth-child(16) { background: var(--c-blue); }     /* Together AI — indigo */
.provider-chip:nth-child(17) { background: var(--c-lavender); } /* Replicate — black */
.provider-chip:nth-child(18) { background: var(--c-lavender); } /* Fireworks — purple */
.provider-chip:nth-child(19) { background: var(--c-blue); }     /* Azure — blue */
.provider-chip:nth-child(20) { background: var(--c-green); }    /* NVIDIA — green */
.provider-chip:nth-child(21) { background: var(--c-lavender); } /* Stability — magenta/purple */
.provider-chip:nth-child(22) { background: var(--c-pink); }     /* Databricks — red */
@keyframes chip-wiggle {
  0% { rotate: 0deg; }
  25% { rotate: 2.6deg; }
  50% { rotate: -2.2deg; }
  75% { rotate: 1.4deg; }
  100% { rotate: 0deg; }
}
.provider-chip:hover {
  animation: chip-wiggle 0.45s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .provider-chip:hover { animation: none; }
}
.providers-note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 14px;
}

/* ---------- founder note ---------- */
.founder-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 38px;
  align-items: start;
  max-width: 860px;
  margin: 0 auto;
}
.founder-photo { text-align: center; }
.founder-photo .img-slot {
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  box-shadow: 4px 5px 0 rgba(30, 30, 30, 0.16);
  transform: rotate(-1.5deg);
}
.founder-caption {
  font-family: var(--font-head);
  font-size: 21px;
  margin-top: 12px;
  transform: rotate(-2deg);
}
.founder-caption-mid { font-size: 19px; margin: 9px 0; }
.founder-letter {
  padding: 28px 30px 24px;
  background-image: url("founder-paper.jpg");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  transform: rotate(0.4deg);
  position: relative;
  box-shadow: 0 10px 26px rgba(40, 36, 30, 0.14), 0 2px 6px rgba(40, 36, 30, 0.10);
}
.founder-letter p { margin: 0 0 14px; font-size: 16px; }
.founder-letter .salute { font-family: var(--font-head); font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.founder-sig {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  transform: rotate(-2deg);
  display: inline-block;
  margin-top: 4px;
}
.founder-role { font-size: 13.5px; color: var(--muted); }
.tape {
  position: absolute;
  top: -14px;
  left: 50%;
  width: 110px;
  height: 26px;
  background: rgba(214, 209, 197, 0.7);
  border-left: 2px dashed rgba(30, 30, 30, 0.25);
  border-right: 2px dashed rgba(30, 30, 30, 0.25);
  transform: translateX(-50%) rotate(-2deg);
}

/* ---------- case panels ---------- */
.case-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}
.case-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.case-track::-webkit-scrollbar { display: none; }
.case-track .case {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: center;
  margin-bottom: 0;
}
.case-arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.case-arrow:hover { transform: translate(-1px, -2px) rotate(-1deg); box-shadow: 3px 4px 0 var(--ink); }
.case-arrow:active { transform: translate(1px, 1px); box-shadow: none; }
.case-arrow:disabled { opacity: 0.32; cursor: default; transform: none; box-shadow: none; }
.case-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}
.case-dot {
  width: 13px;
  height: 13px;
  padding: 0;
  background: transparent;
  border: 2.5px solid var(--ink);
  border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.case-dot:hover { transform: scale(1.15); }
.case-dot.active { background: var(--dot-color, var(--c-green)); transform: rotate(-6deg) scale(1.1); }
.case {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: start;
  padding: 30px 26px;
  margin-bottom: 30px;
}
.case.fill-cream { background: var(--c-cream); }
.case.fill-blue { background: var(--c-blue); }
.case.fill-green { background: var(--c-green); }
.case-id { text-align: center; }
.case-metric {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 46px;
  line-height: 1;
  width: 150px;
  height: 150px;
  margin: 0 auto 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2.5px solid var(--ink);
  border-radius: 50% 46% 52% 48% / 48% 52% 46% 54%;
  background: var(--paper);
}
.case-metric small {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}
.case-name {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}
.case-place { font-size: 13px; color: var(--muted); }
.case-blurb { margin: 0 0 16px; font-size: 16px; }
.before-after {
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  gap: 12px;
  align-items: center;
}
.ba-col {
  background: var(--paper);
  padding: 22px 16px 14px;
  position: relative;
}
.ba-col h4 {
  position: absolute;
  top: -12px;
  left: 14px;
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.5px;
  line-height: 1;
  padding: 4px 13px 5px;
  border: 2px solid var(--ink);
  border-radius: 99px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 2px 2.5px 0 rgba(30, 30, 30, 0.14);
  transform: rotate(-1.2deg);
}
.ba-col.sketch h4 { transform: rotate(1deg); }
.ba-col ul { margin: 0; padding-left: 18px; font-size: 14px; }
.ba-col li { margin-bottom: 4px; }
.ba-arrow { text-align: center; }

/* ---------- testimonials (expandable bento) ---------- */
.tmonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: row dense;
  gap: 16px;
  align-items: start;
}
/* this section reads compact — trim the airy section padding & kicker gap */
#testimonials.section { padding-top: 26px; padding-bottom: 34px; }
#testimonials .section-kicker { margin-bottom: 20px; }
.tmonial {
  border: 2px solid var(--ink);
  background: var(--paper);
  min-width: 0;
  overflow: hidden;
  box-shadow: 3px 4px 0 rgba(30, 30, 30, 0.12);
  transition: box-shadow .14s ease, transform .12s ease;
}
.tmonial.sketch { border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; }
.tmonial.sketch-alt { border-radius: 15px 255px 15px 225px / 225px 15px 255px 15px; }
.tmonial:nth-child(3n+1) { background: var(--c-cream); }
.tmonial:nth-child(3n+2) { background: var(--c-blue); }
.tmonial:nth-child(3n+3) { background: var(--c-green); }
.tmonial:hover { box-shadow: 4px 6px 0 rgba(30, 30, 30, 0.2); }
/* open: expand IN PLACE as an anchored 2x2 (JS sets the exact lines); the rest
   of the bento re-flows around it via grid-auto-flow: dense — no white space. */
.tmonial[open] {
  background: #fff !important;
  grid-column: span 2;
  grid-row: span 2;
  box-shadow: 4px 6px 0 rgba(30, 30, 30, 0.24);
}
.tmonial-face {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 16px;
}
.tmonial-face::-webkit-details-marker { display: none; }
.tmonial-head { display: flex; align-items: center; gap: 11px; }
.tmonial-head .img-slot {
  flex: none;
  border: 2px solid var(--ink);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 2px 2.5px 0 rgba(30, 30, 30, 0.14);
}
.tmonial-who { display: flex; flex-direction: column; line-height: 1.16; min-width: 0; }
.tmonial-who b { font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.05; }
.tmonial-who span { font-size: 12px; color: var(--muted); }
.tmonial-plus { margin-left: auto; width: 18px; height: 18px; position: relative; flex: none; }
.tmonial-plus::before,
.tmonial-plus::after {
  content: ""; position: absolute; background: var(--ink); border-radius: 2px;
  transition: transform .18s ease, opacity .18s ease;
}
.tmonial-plus::before { top: 8px; left: 0; width: 18px; height: 2.4px; }
.tmonial-plus::after { left: 8px; top: 0; width: 2.4px; height: 18px; }
.tmonial[open] .tmonial-plus::after { transform: scaleY(0); opacity: 0; }
.tmonial-excerpt { margin: 0; font-size: 15px; line-height: 1.5; color: #2a2a2a; text-wrap: pretty; }
.tmonial[open] .tmonial-excerpt { font-size: 18px; line-height: 1.6; }
.tmonial-body { padding: 0 18px 18px; }
.tmonial-quote { width: 42px; height: 30px; display: block; margin: 4px 0 12px; flex: none; }
.tmonial:nth-child(3n+1) .tmonial-quote { color: var(--vd-green); }
.tmonial:nth-child(3n+2) .tmonial-quote { color: var(--vd-blue); }
.tmonial:nth-child(3n+3) .tmonial-quote { color: var(--vd-red); }
.tmonial-rest { margin: 0; font-size: 18px; line-height: 1.6; text-wrap: pretty; }
.tmonial-note {
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  margin: 24px 0 0;
}
@media (max-width: 880px) {
  .tmonial-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
  .tmonial[open] { grid-column: auto; grid-row: auto; }
}

/* ---------- agents section ---------- */
.evo-steps { display: flex; flex-direction: column; align-items: stretch; }

/* horizontal evolution row */
.evo-horizontal { flex-direction: row; align-items: stretch; gap: 0; margin: 0 0 4px; }
.evo-horizontal .evo-step {
  flex: 1 1 0;
  min-width: 0;
  border: 2.5px solid var(--ink);
  border-radius: 14px 235px 18px 225px / 225px 16px 235px 14px;
}
.evo-horizontal .evo-arrow { display: flex; align-items: center; justify-content: center; padding: 0 8px; flex: 0 0 auto; }
.evo-step {
  background: var(--paper);
  padding: 26px 18px 14px;
  position: relative;
}
.evo-step .evo-year {
  position: absolute;
  top: -13px;
  left: 16px;
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.3px;
  white-space: nowrap;
  border: 2px solid var(--ink);
  border-radius: 99px;
  padding: 4px 14px 5px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 2px 2.5px 0 rgba(30, 30, 30, 0.16);
  transform: rotate(-1.2deg);
}
.evo-step.sketch-alt .evo-year { transform: rotate(1deg); }
.evo-step h3 { font-family: var(--font-head); font-size: 25px; font-weight: 700; margin: 0 0 4px; line-height: 1; }
.evo-horizontal .evo-step h3 { font-size: 22px; line-height: 1.08; margin-bottom: 6px; }
.evo-step p { margin: 0; font-size: 14.5px; color: #3a3a3a; }
.evo-step.now { background: var(--c-lavender); }
.evo-step.now .evo-year { background: var(--ink); }
.evo-arrow { text-align: center; padding: 2px 0; }
.evo-note {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--ink);
  text-align: center;
  margin: 6px 0 28px;
  transform: rotate(-1.5deg);
}

/* agent anatomy mosaic — full-width expandable bento */
.agent-box {
  border: 2.5px dashed var(--ink);
  padding: 26px 22px 24px;
  position: relative;
  background: var(--paper);
}
.agent-box-label {
  position: absolute;
  top: 12px;
  left: 20px;
  white-space: nowrap;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 27px;
}
.agent-box-hint {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  max-width: 40%;
  text-align: right;
  line-height: 1.15;
}
.agent-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(62px, auto);
  grid-auto-flow: row dense;
  gap: 7px;
}
.agent-cell {
  border: 2px solid var(--ink);
  border-radius: 6px 14px 8px 12px;
  background: var(--paper);
  min-width: 0;
  overflow: hidden;
  transition: box-shadow 0.14s ease, transform 0.12s ease;
}
.agent-cell:hover { box-shadow: 3px 4px 0 rgba(30, 30, 30, 0.2); }
.agent-cell.a-tools { grid-column: span 2; background: var(--c-blue); }
.agent-cell.a-loop { background: var(--c-pink); }
.agent-cell.a-prompt { background: var(--c-green); }
.agent-cell.a-llm { grid-row: span 2; background: var(--c-cream); }
.agent-cell.a-ident { background: var(--c-yellow); }
.agent-cell.a-persona { background: var(--c-pink); }
.agent-cell.a-caps { background: var(--c-green); }
.agent-cell.a-sand { background: var(--paper); }
.agent-cell.a-rag { background: var(--c-lavender); }
.agent-cell.a-ctx { background: #e9e6df; }

/* open: expand IN PLACE as an anchored 2x2 (JS sets the exact lines); never a
   full-width band. The rest of the mosaic re-flows around it. */
.agent-cell[open] {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--paper);
  box-shadow: 4px 6px 0 rgba(30, 30, 30, 0.22);
}

/* tile face (summary) */
.agent-face {
  list-style: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 26px 8px 14px;
  line-height: 1.2;
}
.agent-face::-webkit-details-marker { display: none; }
.a-llm > .agent-face { font-family: var(--font-head); font-size: 25px; font-weight: 700; }
.agent-cell[open] > .agent-face {
  justify-content: flex-start;
  text-align: left;
  height: auto;
  padding: 13px 26px 6px 16px;
  font-size: 16.5px;
}
.a-llm[open] > .agent-face { font-size: 26px; }

/* + / – glyph, pinned to the tile's right edge */
.agent-plus {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
}
.agent-plus::before,
.agent-plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.agent-plus::before { top: 7px; left: 0; width: 16px; height: 2.2px; }
.agent-plus::after { left: 7px; top: 0; width: 2.2px; height: 16px; }
.agent-cell[open] > .agent-face .agent-plus { top: 20px; transform: none; }
.agent-cell[open] > .agent-face .agent-plus::after { transform: scaleY(0); opacity: 0; }

/* open body */
.agent-detail { padding: 0 16px 16px; }
.agent-desc { margin: 0 0 11px; font-size: 15.5px; color: #333; line-height: 1.45; text-wrap: pretty; }
.agent-samples { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.agent-sample-label { font-family: var(--font-head); font-size: 14px; color: var(--muted); margin-right: 2px; white-space: nowrap; }
.agent-sample {
  font-size: 12.5px;
  font-weight: 600;
  background: var(--c-cream);
  border: 1.6px solid var(--ink);
  border-radius: 99px;
  padding: 2px 11px;
}

/* nested LLM technologies — child bento, same expand-in-place behavior */
.llm-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(0, auto);
  grid-auto-flow: row dense;
  gap: 8px;
  margin-top: 4px;
}
.tech-cell {
  border: 1.8px solid var(--ink);
  border-radius: 8px 14px 8px 12px;
  background: var(--c-cream);
  min-width: 0;
  overflow: hidden;
}
.tech-cell:hover { box-shadow: 2.5px 3.5px 0 rgba(30, 30, 30, 0.16); }
.tech-cell[open] { grid-column: span 2; grid-row: span 2; background: var(--paper); box-shadow: 3px 4px 0 rgba(30, 30, 30, 0.18); }
.tech-face {
  list-style: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  padding: 11px 26px 11px 12px;
  line-height: 1.15;
}
.tech-face::-webkit-details-marker { display: none; }
.tech-face .agent-plus { right: 9px; width: 14px; height: 14px; }
.tech-face .agent-plus::before { top: 6px; width: 14px; }
.tech-face .agent-plus::after { left: 6px; height: 14px; }
.tech-cell[open] > .tech-face .agent-plus::after { transform: scaleY(0); opacity: 0; }
.tech-detail { padding: 0 12px 12px; }
.tech-detail p { margin: 0 0 8px; font-size: 13.5px; color: #333; line-height: 1.35; }
.agent-caption { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; text-align: center; }

/* ---------- methodology ---------- */
.method-phases {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.method-phase {
  text-align: center;
  padding: 0 12px;
  position: relative;
}
.method-phase + .method-phase { border-left: 2.5px dashed rgba(30, 30, 30, 0.45); }
.method-num {
  width: 38px;
  height: 38px;
  margin: 0 auto 8px;
  border: 2.2px solid var(--ink);
  border-radius: 52% 48% 50% 50% / 48% 52% 50% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 21px;
  background: var(--c-cream);
}
.method-phase h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.5px;
  margin: 0 0 6px;
  line-height: 1;
}
.method-phase p { margin: 0; font-size: 13.5px; color: #3a3a3a; }
.cadence {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.cadence-card { padding: 16px 16px 14px; background: var(--paper); text-align: center; }
.cadence-card:nth-child(1) { background: var(--c-green); transform: rotate(-1deg); }
.cadence-card:nth-child(2) { transform: rotate(0.6deg); }
.cadence-card:nth-child(3) { background: var(--c-blue); transform: rotate(-0.5deg); }
.cadence-card:nth-child(4) { transform: rotate(0.8deg); }
.cadence-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 24px; margin: 0 0 4px; line-height: 1; }
.cadence-card p { margin: 0; font-size: 13.5px; color: #3a3a3a; }
.roadmap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 42px;
  flex-wrap: wrap;
}
.roadmap-seg {
  width: 64px;
  height: 34px;
  border: 2.2px solid var(--ink);
  border-radius: 8px 14px 10px 12px;
  background: repeating-linear-gradient(-45deg, transparent 0 6px, rgba(30, 30, 30, 0.1) 6px 8px);
}
.roadmap-seg.lit { background: var(--c-green); }
.roadmap-target {
  width: 92px;
  height: 92px;
  border: 2.5px solid var(--ink);
  border-radius: 50% 47% 51% 49% / 49% 51% 47% 53%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.05;
  background: var(--c-cream);
  margin-left: 8px;
}
.roadmap-caption { width: 100%; text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 10px; }

/* ---------- why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card { padding: 30px 20px 22px; background: var(--paper); position: relative; }
.why-card h3 {
  position: absolute;
  top: -14px;
  left: 18px;
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  line-height: 1;
  letter-spacing: 0.3px;
  padding: 5px 18px 6px;
  border: 2px solid var(--ink);
  border-radius: 99px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 2px 2.5px 0 rgba(30, 30, 30, 0.16);
  transform: rotate(-1.2deg);
  white-space: nowrap;
}
.why-card.sketch-alt h3 { transform: rotate(1deg); }
.why-card ul { margin: 0; padding-left: 18px; font-size: 14.5px; }
.why-card li { margin-bottom: 7px; }
.why-card.highlight { background: var(--c-lavender); }

/* ---------- compliance ---------- */
.comp-wrap { position: relative; max-width: 760px; margin: 48px auto 0; text-align: center; }
.comp-wrap .providers-lede { margin-bottom: 18px; }
.comp-note { position: absolute; top: -12px; left: 92px; right: auto; bottom: auto; z-index: 4; text-align: left; line-height: 1; pointer-events: none; }
.comp-arrow { display: block; margin: 1px 0 0 44px; }
.comp-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
}
.comp-tag {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  line-height: 1;
  padding: 9px 16px 11px;
  background: var(--paper);
  white-space: nowrap;
}
.comp-tags .comp-tag:nth-child(3n+1) { transform: rotate(-1.5deg); }
.comp-tags .comp-tag:nth-child(3n+2) { transform: rotate(1.2deg); }
.comp-tags .comp-tag:nth-child(4n+3) { background: var(--c-cream); }
.comp-tags .comp-tag:nth-child(5n+4) { background: var(--c-lavender); }
.comp-tag:hover { animation: chip-wiggle 0.45s ease-in-out; }
@media (prefers-reduced-motion: reduce) {
  .comp-tag:hover { animation: none; }
}
.comp-line {
  margin: 26px auto 0;
  max-width: 560px;
  font-size: 15.5px;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---------- time to value ---------- */
.value-timing { width: 100%; margin: 72px 0 0; }
.subsection-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 33px;
  text-align: center;
  letter-spacing: 0.5px;
  margin: 0 0 4px;
  line-height: 1.05;
}
.subsection-kicker { text-align: center; font-size: 15px; color: var(--muted); margin: 0 0 24px; text-wrap: pretty; }
.timeline { max-width: 720px; margin: 0 auto; }
.tl-row {
  display: grid;
  grid-template-columns: 160px 1fr 130px;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}
.tl-label { font-size: 15.5px; text-align: right; }
.tl-bar {
  height: 26px;
  border: 2px solid var(--ink);
  border-radius: 255px 12px 225px 12px / 12px 225px 12px 255px;
  background: repeating-linear-gradient(-45deg, transparent 0 5px, rgba(30,30,30,0.16) 5px 7px);
}
.tl-bar.ours {
  background: var(--c-green);
}
.tl-val { font-family: var(--font-head); font-size: 21px; }
.tl-row.ours .tl-label, .tl-row.ours .tl-val { font-weight: 700; }

/* ---------- pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  align-items: stretch;
  max-width: 760px;
  margin: 0 auto;
}
.plan {
  padding: 26px 22px;
  background: var(--paper);
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan.featured { background: var(--c-cream); transform: rotate(-0.6deg); }
.plan-badge {
  position: absolute;
  top: -24px;
  right: 12px;
  font-family: var(--font-head);
  font-size: 23px;
  font-weight: 700;
  transform: rotate(4deg);
  background: var(--paper);
  border: 1.8px solid var(--ink);
  border-radius: 225px 10px 255px 10px / 10px 255px 10px 225px;
  padding: 3px 12px;
  box-shadow: 2px 3px 0 rgba(30, 30, 30, 0.16);
}
.plan-name { font-size: 15px; color: var(--muted); }
.plans-addon {
  text-align: center;
  max-width: 620px;
  margin: 30px auto 0;
  font-size: 16px;
  text-wrap: pretty;
}
.plans-addon .marker-hl { font-weight: 600; white-space: nowrap; }
.plan-price {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin: 6px 0 2px;
}
.plan-price span { font-size: 20px; font-weight: 400; color: var(--muted); }
.plan-total { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.plan ul {
  margin: 0 0 18px;
  padding-left: 18px;
  font-size: 14.5px;
  flex: 1;
}
.plan li { margin-bottom: 6px; }
.plan .btn { align-self: center; font-size: 16px; padding: 9px 22px; }

/* ---------- single-box pricing configurator ---------- */
.plans.plans-single {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}
.plan-config { text-align: center; padding: 30px 30px 28px; }
.plan-config .plan-badge { right: 36px; }
.seg-group {
  display: inline-flex;
  border: 2px solid var(--ink);
  border-radius: 255px 12px 225px 12px / 12px 225px 12px 255px;
  background: var(--paper);
  overflow: hidden;
}
.seg {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-left: 2px dashed rgba(30, 30, 30, 0.35);
  padding: 9px 18px;
  min-height: 42px;
  cursor: pointer;
}
.seg:first-child { border-left: none; }
.seg:hover { background: rgba(30, 30, 30, 0.06); }
.seg[aria-pressed="true"] { background: var(--c-green); font-weight: 700; }
.lane-seg .seg { min-width: 46px; padding: 9px 0; }
.plan-config .plan-name { margin-top: 16px; }
.lane-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px 0 2px;
}
.term-seg { align-self: center; }
.term-badge-wrap { position: relative; display: inline-block; align-self: center; }
.plan-config .term-badge-wrap .plan-badge {
  top: -20px;
  right: 6px;
  left: auto;
  font-size: 17px;
  padding: 2px 9px;
}
.lane-label { font-family: var(--font-head); font-size: 23px; font-weight: 700; }
.lane-note { font-size: 13.5px; color: var(--muted); flex-basis: 100%; }
.plan-config ul {
  text-align: left;
  max-width: 330px;
  margin: 14px auto 18px;
  flex: none;
}
.pause-note {
  text-align: center;
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 30px;
}

/* ---------- affiliations (inside plans) ---------- */
.affiliations {
  margin-top: 44px;
  padding: 26px 28px 24px;
  background: var(--c-green);
  position: relative;
}
.affiliations-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
}
.affiliations h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.05;
  margin: 0 0 8px;
}
.affiliations p { margin: 0; font-size: 15px; }
.affiliations p + p { margin-top: 8px; }
.ledger {
  background: var(--paper);
  width: 300px;
  padding: 14px 18px 12px;
  transform: rotate(1.2deg);
  box-shadow: 2px 3px 0 rgba(30, 30, 30, 0.16);
}
.ledger-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  text-align: center;
  margin-bottom: 8px;
}
.ledger-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 13.5px;
  padding: 3px 0;
}
.ledger-row span:last-child {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
}
.ledger-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  border-top: 2.5px dashed var(--ink);
  margin-top: 8px;
  padding-top: 7px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
}
.affiliations .doodle-note { top: -14px; left: 18px; right: auto; }

/* ---------- guidance ---------- */
.guidance {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.guide-chip {
  font-size: 14px;
  padding: 6px 16px;
  border: 2px dashed var(--ink);
  border-radius: 99px;
  background: var(--paper);
}
.guide-chip b { font-family: var(--font-head); font-size: 17px; }

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  padding: 70px 20px;
  position: relative;
  isolation: isolate; /* own stacking context so ::before (z-index:-1) paints above body bg */
}
/* full-bleed background: spans the viewport edge to edge behind the centered content */
.cta::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--c-green);
  border-top: 1.8px solid var(--ink);
  border-bottom: 1.8px solid var(--ink);
  z-index: -1;
}
.cta h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 48px;
  margin: 0 0 12px;
  text-wrap: balance;
}
.cta p { color: var(--muted); margin: 0 0 30px; }
.cta-note { font-size: 14.5px; color: var(--muted); margin: 14px 0 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 20px;
  font-weight: 600;
  font-size: 16.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "+";
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  line-height: 0.8;
  flex: none;
  transition: transform 0.15s ease;
}
.faq-item[open] summary::before { content: "–"; }
.faq-item summary:hover { background: var(--c-cream); }
.faq-item[open] { background: var(--c-blue); }
.faq-item[open] summary:hover { background: transparent; }
.faq-body { padding: 0 20px 16px 46px; font-size: 15px; }
.faq-body p { margin: 0 0 8px; }
.faq-body ul { margin: 0; padding-left: 18px; }
.faq-body li { margin-bottom: 5px; }

/* ---------- footer ---------- */
.footer {
  padding: 36px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.9fr 1.5fr;
  gap: 30px;
  align-items: start;
  margin-bottom: 26px;
}
.footer .logo { display: inline-block; font-size: 24px; }
.footer-tagline { font-size: 14px; color: var(--muted); margin: 10px 0 0; max-width: 260px; }
.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.footer-socials .soc {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 52% 48% 50% 50% / 48% 52% 50% 50%;
  background: var(--paper);
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}
.footer-socials .soc:nth-child(odd) { transform: rotate(-2.5deg); }
.footer-socials .soc:nth-child(even) { transform: rotate(2deg); border-radius: 48% 52% 50% 50% / 50% 50% 52% 48%; }
.footer-socials .soc svg { width: 19px; height: 19px; fill: var(--ink); display: block; }
.footer-socials .soc:hover {
  background: var(--c-cream);
  transform: translate(-1px, -2px) rotate(-1deg);
  box-shadow: 2.5px 3px 0 rgba(30, 30, 30, 0.2);
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.footer-col a {
  color: var(--ink);
  font-size: 14.5px;
  text-decoration: none;
  border-bottom: 2px dashed transparent;
}
.footer-col a:hover { border-bottom-color: var(--ink); }
.footer-offices li { display: flex; flex-direction: column; gap: 1px; }
.footer-offices li b { font-size: 14px; }
.footer-offices li span { font-size: 13px; color: var(--muted); line-height: 1.3; text-wrap: pretty; }
.footer-legal {
  border-top: 2px dashed rgba(30, 30, 30, 0.35);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- work lanes ---------- */
.lanes-intro {
  max-width: 640px;
  margin: -16px auto 30px;
  text-align: center;
  font-size: 16.5px;
  text-wrap: pretty;
}
.lanes-intro b { font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.lanes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.lane-card { padding: 20px 20px 18px; background: var(--paper); }
.lane-card:nth-child(1) { background: var(--c-cream); transform: rotate(-0.8deg); }
.lane-card:nth-child(2) { background: var(--c-green); transform: rotate(0.6deg); }
.lane-card:nth-child(3) { background: var(--c-blue); transform: rotate(-0.5deg); }
.lane-card:nth-child(4) { background: var(--c-pink); transform: rotate(0.7deg); }
.lane-card:nth-child(5) { background: var(--c-lavender); transform: rotate(-0.6deg); }
.lane-card.lane-open { background: var(--paper); border-style: dashed; transform: rotate(0.5deg); }
.lane-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  margin: 0 0 6px;
  line-height: 1.02;
}
.lane-card p { margin: 0 0 12px; font-size: 14.5px; color: #3a3a3a; }
.lane-kpis { display: flex; flex-wrap: wrap; gap: 7px; }
.lane-kpis span {
  font-size: 12px;
  line-height: 1.3;
  background: var(--paper);
  border: 1.6px solid var(--ink);
  border-radius: 99px;
  padding: 2px 10px;
  white-space: nowrap;
}
.lane-open-note {
  position: static;
  display: inline-block;
  font-size: 20px;
  transform: rotate(-2deg);
}

/* ---------- what to expect (lifecycle) ---------- */
.expect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}
.expect-card { padding: 32px 22px 20px; background: var(--paper); position: relative; }
.expect-card:nth-child(1) { background: var(--c-cream); transform: rotate(-0.6deg); }
.expect-card:nth-child(2) { background: var(--c-blue); transform: rotate(0.5deg); }
.expect-card:nth-child(3) { background: var(--c-lavender); transform: rotate(-0.5deg); }
.expect-when {
  position: absolute;
  top: -14px;
  left: 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.3px;
  border: 2px solid var(--ink);
  border-radius: 99px;
  padding: 5px 15px 6px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 2px 2.5px 0 rgba(30, 30, 30, 0.16);
  transform: rotate(-1.2deg);
  white-space: nowrap;
}
.expect-card:nth-child(2) .expect-when { transform: rotate(1deg); }
.expect-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 28px; margin: 0 0 1px; line-height: 1; }
.expect-sub { font-size: 13.5px; color: var(--muted); margin: 0 0 13px; letter-spacing: 0.3px; }
.expect-card ul { margin: 0 0 14px; padding-left: 18px; font-size: 14px; }
.expect-card li { margin-bottom: 5px; }
.expect-deliver { font-size: 13px; border-top: 2px dashed rgba(30, 30, 30, 0.35); padding-top: 10px; color: #3a3a3a; }
.expect-deliver-label { font-family: var(--font-head); font-weight: 700; font-size: 16px; display: block; margin-bottom: 2px; }
.expect-punch {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.18;
  border-top: 2px dashed rgba(30, 30, 30, 0.35);
  padding-top: 12px;
}

/* ---------- CTA "what you get" chips ---------- */
.cta .guidance.cta-getlist { margin: 0 auto 30px; }

/* ---------- footer values ---------- */
.footer-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  padding: 0 0 24px;
  margin-bottom: 22px;
  border-bottom: 2px dashed rgba(30, 30, 30, 0.35);
}
.footer-values > div { display: flex; flex-direction: column; gap: 4px; }
.footer-values b { font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.05; }
.footer-values span { font-size: 13.5px; color: var(--muted); }

/* ---------- where we create value (radial value map) ---------- */
.value-explorer { max-width: 860px; margin: 0 auto; }
.value-diagram {
  position: relative;
  width: 560px;
  height: 560px;
  margin: 0 auto;
}
.value-hub { display: none; }
.value-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 1;
}
.value-links path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 5 7;
  opacity: 0.4;
  transition: opacity 0.18s ease, stroke-width 0.18s ease, stroke-dasharray 0.18s ease;
}
.value-diagram[data-hover="revenue"] .lk-revenue,
.value-diagram[data-active="revenue"] .lk-revenue,
.value-diagram[data-hover="efficiency"] .lk-efficiency,
.value-diagram[data-active="efficiency"] .lk-efficiency,
.value-diagram[data-hover="cx"] .lk-cx,
.value-diagram[data-active="cx"] .lk-cx,
.value-diagram[data-hover="knowledge"] .lk-knowledge,
.value-diagram[data-active="knowledge"] .lk-knowledge {
  opacity: 1;
  stroke-width: 4;
  stroke-dasharray: none;
}
.value-core {
  position: absolute;
  left: 196px;
  top: 196px;
  width: 168px;
  height: 168px;
  border: 2.5px solid var(--ink);
  border-radius: 50% 47% 52% 48% / 48% 52% 47% 53%;
  background: var(--c-cream);
  box-shadow: 3px 4px 0 rgba(30, 30, 30, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  z-index: 3;
}
.value-core-title { font-family: var(--font-head); font-weight: 700; font-size: 27px; line-height: 0.98; }
.value-core small { font-size: 12px; color: #444; margin-top: 7px; line-height: 1.25; }

.value-node {
  position: absolute;
  width: 132px;
  height: 132px;
  border: 2.5px solid var(--ink);
  border-radius: 50% 47% 53% 48% / 48% 53% 47% 52%;
  background: var(--paper);
  box-shadow: 3px 4px 0 rgba(30, 30, 30, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  text-align: center;
  font-family: var(--font-body);
  cursor: pointer;
  z-index: 4;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.value-node:hover { transform: scale(1.07) rotate(-1deg); box-shadow: 4px 6px 0 rgba(30, 30, 30, 0.26); z-index: 9; }
.value-node:focus-visible { outline: 3px dashed var(--ink); outline-offset: 3px; z-index: 9; }
.value-node[aria-expanded="true"] { box-shadow: 4px 6px 0 rgba(30, 30, 30, 0.32); transform: scale(1.05); }
.value-node .vn-icon { display: flex; }
.value-node .vn-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.value-node .vn-label { font-family: var(--font-head); font-weight: 700; font-size: 21px; line-height: 1.0; text-wrap: balance; }

.vn-revenue { top: 0; left: 214px; background: var(--c-green); }
.vn-efficiency { top: 214px; left: 0; background: var(--c-blue); }
.vn-cx { top: 214px; right: 0; background: var(--c-pink); }
.vn-knowledge { top: 428px; left: 214px; background: var(--c-lavender); }
.vn-cx .vn-label { font-size: 18px; }

/* hover summary popover */
.vn-summary {
  position: absolute;
  width: 196px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 225px 12px 255px 12px / 12px 255px 12px 225px;
  box-shadow: 3px 4px 0 rgba(30, 30, 30, 0.16);
  padding: 9px 13px;
  font-size: 12.8px;
  line-height: 1.36;
  color: #333;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, visibility 0s linear 0.16s;
  pointer-events: none;
  z-index: 12;
}
.value-node:hover .vn-summary,
.value-node:focus-visible .vn-summary { opacity: 1; visibility: visible; transition-delay: 0s; }
.vn-revenue .vn-summary { left: calc(100% + 12px); top: 50%; transform: translateY(-50%); }
.vn-efficiency .vn-summary { bottom: calc(100% + 12px); left: 50%; margin-left: -98px; }
.vn-cx .vn-summary { top: calc(100% + 12px); left: 50%; margin-left: -98px; }
.vn-knowledge .vn-summary { right: calc(100% + 12px); top: 50%; transform: translateY(-50%); }

/* detail panel */
.value-detail {
  margin: 16px auto 0;
  max-width: 824px;
  border: 2px solid var(--ink);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  background: var(--paper);
  box-shadow: 3px 4px 0 rgba(30, 30, 30, 0.16);
  padding: 22px 26px 24px;
  overflow: hidden;
}
.value-detail-head {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  border-bottom: 2px dashed rgba(30, 30, 30, 0.32);
  padding-bottom: 13px;
  margin-bottom: 16px;
}
.vd-badge {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 50% 47% 53% 48% / 48% 53% 47% 52%;
  background: var(--vd-accent, var(--paper));
}
.vd-badge svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.value-detail-head h3 { font-family: var(--font-head); font-weight: 700; font-size: 30px; line-height: 1; margin: 0; flex: 0 0 auto; }
.value-detail-head p { margin: 0; font-size: 15px; color: #34322e; flex: 1 1 100%; text-wrap: pretty; }
.value-detail-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.vd-block {
  background: var(--paper);
  border: 1.8px solid var(--ink);
  border-radius: 12px 18px 12px 16px;
  padding: 14px 16px 12px;
}
.vd-block h4 { font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: 0.5px; margin: 0 0 8px; color: var(--vd-col, var(--ink)); line-height: 1.1; }
.vd-block ul { margin: 0; padding-left: 0; list-style: none; font-size: 13.6px; color: #3a3a3a; }
.vd-block li { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 5px; }
.vd-block .vd-ic { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 1px; color: var(--vd-col, var(--ink)); }
.vd-block .vd-ic svg { width: 100%; height: 100%; display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vd-symptom { --vd-col: var(--vd-red); }
.vd-opp { --vd-col: var(--vd-blue); }
.vd-kpi { --vd-col: var(--vd-green); }

.value-hint {
  text-align: center;
  font-family: var(--font-head);
  font-size: 21px;
  color: var(--ink);
  margin: 14px 0 0;
  transform: rotate(-1deg);
}
.value-hint-arrow { display: inline-block; margin-left: 4px; }

/* callout boxes sit centered in the gap between their section and the next:
   margin above ≈ section pad-bottom + 56px next section pad-top below */
#value.section { padding-bottom: 72px; }
#patterns.section { padding-bottom: 72px; }
.value-cta {
  margin: 128px 0 0;
  padding: 26px 32px;
  background: var(--c-green);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
}
.value-cta .btn { flex: none; }

/* ---------- doodles toggle ---------- */
body.doodles-off .doodle-note,
body.doodles-off .doodle-arrow { display: none; }

@media (max-width: 980px) {
  .eco-grid { grid-template-columns: 1fr; }
  .agents-grid { grid-template-columns: 1fr; }
  .method-phases { grid-template-columns: 1fr 1fr; }
  .method-phase:nth-child(odd) { border-left: none; }
  .method-phase { margin-bottom: 22px; }
  .cadence { grid-template-columns: 1fr 1fr; }
  .lanes-grid, .expect-grid { grid-template-columns: 1fr 1fr; }
  .pattern-grid { grid-template-columns: repeat(2, 1fr); }
  .pat-card[open] { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 760px) {
  .hero h1 { font-size: 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .lanes-grid, .expect-grid, .footer-values { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; justify-items: center; }
  .stack-wrap { height: 360px; align-items: flex-start; overflow: hidden; }
  .stack-diagram { transform: scale(0.6); transform-origin: top center; }
  .case { grid-template-columns: 1fr; }
  .why-grid, .plans { grid-template-columns: 1fr; }
  .pattern-grid { grid-template-columns: 1fr; }
  .pat-card[open] { grid-column: auto; }
  .pat-card[open] .pat-body { grid-template-columns: 1fr; gap: 0; }
  .pattern-banner { flex-direction: column; align-items: flex-start; }
  .before-after { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); }
  .tl-row { grid-template-columns: 110px 1fr 90px; }
}

/* ---------- value map → mobile accordion ---------- */
@media (max-width: 680px) {
  .value-diagram {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .value-links,
  .value-core { display: none; }
  .value-hub {
    display: block;
    align-self: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 22px;
    border: 2.5px solid var(--ink);
    border-radius: 255px 14px 225px 14px / 14px 225px 14px 255px;
    background: var(--c-cream);
    padding: 4px 20px 6px;
    margin-bottom: 4px;
    box-shadow: 2.5px 3px 0 rgba(30, 30, 30, 0.16);
    transform: rotate(-1deg);
  }
  .value-node {
    position: static;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 40px 1fr 22px;
    align-items: center;
    column-gap: 14px;
    row-gap: 2px;
    text-align: left;
    padding: 14px 18px;
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
    transform: none;
  }
  .value-node:hover,
  .value-node[aria-expanded="true"] { transform: none; }
  .value-node .vn-icon { grid-row: 1 / span 2; grid-column: 1; }
  .value-node .vn-label { grid-column: 2; grid-row: 1; font-size: 22px; }
  .vn-cx .vn-label { font-size: 22px; }
  .vn-summary {
    grid-column: 2;
    grid-row: 2;
    position: static;
    width: auto;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    font-size: 13.4px;
    color: #3a3a3a;
  }
  .value-node::after {
    content: "+";
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: end;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 28px;
    line-height: 0.7;
  }
  .value-node[aria-expanded="true"]::after { content: "–"; }
  .value-detail { margin: 4px 0 6px; max-width: none; }
  .value-detail-cols { grid-template-columns: 1fr; gap: 12px; }
  .value-cta { flex-direction: column; align-items: flex-start; }
}

/* Production: static photo slots (replaces the design-tool <image-slot> component).
   Per-context framing (border/shadow/tilt) lives in .founder-photo .img-slot and
   .tmonial-head .img-slot above; here we only set the fill behaviour. */
.img-slot{display:block;object-fit:cover;background:var(--paper);}
.img-slot.img-circle{border-radius:50%;}
