/* ============================================
   Shared styles for case-study pages
   ============================================ */
:root {
  --ink: #000;
  --paper: #fff;
  --max: 1360px;
  --pad: clamp(20px, 4vw, 64px);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
::selection { background: #000; color: #fff; }
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
a { color: inherit; text-decoration: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.82);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 80px;
}
.logo {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 22px;
}
.logo-mark { display: inline-block; width: 12px; height: 36px; }
.logo-mark svg { width: 100%; height: 100%; display: block; fill: #000; }
.nav-links { display: flex; gap: 38px; align-items: center; }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: #000;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  padding: 12px 20px 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: transform .2s ease;
}
.cta:hover { transform: translateY(-1px); }

/* ---------- Breadcrumb ---------- */
.crumb {
  padding-top: 36px;
  padding-bottom: 12px;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: flex;
  align-items: center;
  gap: 14px;
}
.crumb a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}
.crumb a::before {
  content: "←";
  display: inline-block;
  font-size: 14px;
  margin-right: 2px;
  transition: transform .2s ease;
}
.crumb a:hover::before { transform: translateX(-4px); }
.crumb .sep { display: inline-block; width: 22px; height: 1px; background: #000; }
.crumb .label-num { font-weight: 400; }

/* ---------- Hero ---------- */
.case-hero {
  padding: 64px 0 88px;
  border-bottom: 1px solid #000;
}
.case-hero h1 {
  font-weight: 600;
  font-size: clamp(44px, 7.4vw, 116px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 36px;
  max-width: 16ch;
  text-wrap: balance;
}
.case-hero h1 em { font-style: italic; font-weight: 300; }
.case-hero .lede {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  line-height: 1.4;
  max-width: 38ch;
  margin: 0 0 56px;
  letter-spacing: -0.012em;
}
.case-hero .lede em { font-style: italic; font-weight: 400; }
.meta-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid #000;
}
.meta-strip dt {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.meta-strip dd {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.meta-strip dd em { font-style: italic; font-weight: 400; }

/* ---------- Visual block ---------- */
.case-visual { padding: 88px 0; border-bottom: 1px solid #000; }
.case-visual .img-wrap {
  border: 1px solid #000;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}
.case-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-visual .caption {
  margin-top: 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
}
.case-visual .caption em { font-style: italic; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13px; }

/* Dark inline visual (full-bleed look, on black) */
.dark-visual {
  background: #000;
  color: #fff;
  padding: 96px 0;
  border-bottom: 1px solid #000;
}
.dark-visual .img-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: block;
}
.dark-visual .img-wrap.tall { aspect-ratio: 16 / 10; }
.dark-visual img { width: 100%; height: 100%; object-fit: contain; display: block; }
.dark-visual .caption {
  margin-top: 22px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,0.7);
}
.dark-visual .caption em { font-style: italic; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13px; }
.dark-visual ::selection { background: #fff; color: #000; }

/* ---------- Asset block (editable padding, black canvas) ----------
   Wrap an asset (image / video / diagram) in:
   <section class="asset-block">
     <div class="container">
       <div class="asset-frame"><img ...> or <video ...></div>
       <div class="caption">...</div>
     </div>
   </section>
   Override --asset-pad-y on the section to tweak vertical padding. */
.asset-block {
  --asset-pad-y: 40px;
  --asset-pad-x: 0px;
  background: #000;
  color: #fff;
  padding: var(--asset-pad-y) var(--asset-pad-x);
  border-bottom: 1px solid #000;
}
.asset-block .asset-frame {
  display: block;
  width: 100%;
  overflow: hidden;
}
.asset-block img,
.asset-block video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}
.asset-block .caption {
  margin-top: 22px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,0.7);
  gap: 16px;
  flex-wrap: wrap;
}
.asset-block .caption em {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 13px;
}
.asset-block ::selection { background: #fff; color: #000; }

/* ---------- Zoomable assets (magnifier button + fullscreen lightbox) ---------- */
.asset-frame.is-zoomable { position: relative; }
.zoom-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: zoom-in;
  padding: 0;
  z-index: 3;
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0.92;
}
.zoom-btn:hover { background: rgba(0, 0, 0, 0.85); transform: scale(1.06); opacity: 1; }
.zoom-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.zoom-btn svg { width: 20px; height: 20px; display: block; }
.zoom-btn svg * {
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.zoom-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 25, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px;
  z-index: 200;
  cursor: zoom-out;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.zoom-lightbox.is-open { opacity: 1; visibility: visible; }
.zoom-lightbox img,
.zoom-lightbox video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  cursor: default;
  transform: scale(0.97);
  transition: transform .3s ease;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.zoom-lightbox img[hidden],
.zoom-lightbox video[hidden] { display: none; }
.zoom-lightbox.is-open img,
.zoom-lightbox.is-open video { transform: scale(1); }
.zoom-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  z-index: 1;
  transition: background .2s ease, transform .25s ease;
}
.zoom-close:hover { background: rgba(255, 255, 255, 0.18); transform: rotate(90deg); }
.zoom-close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.zoom-close svg { width: 20px; height: 20px; display: block; }
.zoom-close svg * {
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
}
body.is-zoom-locked { overflow: hidden; }

@media (max-width: 640px) {
  .zoom-btn { width: 38px; height: 38px; top: 12px; right: 12px; }
  .zoom-btn svg { width: 17px; height: 17px; }
  .zoom-lightbox { padding: 24px; }
  .zoom-close { top: 16px; right: 16px; width: 42px; height: 42px; }
}

/* Inline diagram variant (no aspect-ratio constraint) */
.dark-visual.diagram .diagram-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 32px 0 12px;
  color: #fff;
}

/* Diagram inside .asset-block — Escalation of cognitive load chart */
.asset-block.diagram .asset-frame {
  display: block;
  padding: 24px 0 8px;
}
.cogload {
  display: grid;
  grid-template-columns: 0.78fr 1.6fr;
  gap: 56px;
  align-items: center;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}
.cogload-intro {
  padding-left: 20px;
  border-left: 2px solid currentColor;
}
.cogload-intro h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.05;
  color: inherit;
  text-wrap: balance;
}
.cogload-intro h3 em { font-style: italic; font-weight: 300; }
.cogload-intro p {
  margin: 0;
  font-size: 15px;
  font-style: italic;
  font-weight: 400;
  opacity: 0.78;
  letter-spacing: -0.005em;
  max-width: 26ch;
}
.cogload-chart { width: 100%; }
.cogload-svg {
  width: 100%;
  height: auto;
  display: block;
  color: #fff;
  overflow: visible;
  font-family: inherit;
}
.cogload-svg .curve {
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}
.cogload-svg .axis-line line {
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  fill: none;
}
.cogload-svg .axis-line path {
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cogload-svg .axis-label {
  fill: currentColor;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.cogload-svg .dashed {
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 1;
  stroke-dasharray: 3 5;
  fill: none;
}
.cogload-svg .tag-circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.cogload-svg .tag-num {
  fill: currentColor;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}
.cogload-svg .tag-title {
  fill: currentColor;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.012em;
}
.cogload-svg .tag-sub {
  fill: currentColor;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.cogload-svg .dot { stroke: none; }
.cogload-svg .dot-green { fill: #3ECF8E; }
.cogload-svg .dot-yellow { fill: #F0B429; }
.cogload-svg .dot-red { fill: #E5484D; }

@media (max-width: 980px) {
  .cogload { grid-template-columns: 1fr; gap: 28px; }
  .cogload-intro { padding-left: 14px; }
}

/* ---------- Process flow diagram ---------- */
.process-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 1100px;
  color: inherit;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 200px;
  flex: 0 0 200px;
  position: relative;
}
.process-step .node {
  width: 64px;
  height: 64px;
  border: 1.4px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  flex: 0 0 64px;
}
.process-step .node svg { width: 26px; height: 26px; display: block; }
.process-step .node svg * {
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.process-step .node svg [data-fill] { fill: currentColor; stroke: none; }
.process-step .step-label {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.process-arrow {
  flex: 0 0 80px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}
.process-arrow svg { width: 100%; height: 16px; display: block; }
.process-arrow svg line {
  stroke: currentColor;
  stroke-width: 1.25;
  fill: none;
  stroke-linecap: round;
}
.process-arrow svg path { fill: currentColor; stroke: none; }
.process-step.is-dim, .process-arrow.is-dim { opacity: 0.3; }

/* Stage-detail bullets hanging below the active node.
   Absolute-positioned and anchored to the step's horizontal centre so the
   connector line + bullet dots line up dead-centre under the active icon. */
.process-step { position: relative; }
.process-step .step-bullets {
  list-style: none;
  margin: 0;
  padding: 38px 0 8px 0;
  text-align: left;
  position: absolute;
  top: 110px;        /* 64px node + 18px gap + ~28px label = 110px */
  left: 50%;         /* anchor list-left at step centre (= icon centre) */
  width: 240px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 2;
}
.process-step .step-bullets::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 14px;
  width: 1px;
  background: currentColor;
  transform: translateX(-0.5px); /* centre the 1px line on icon-centre axis */
}
.process-step .step-bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}
.process-step .step-bullets li::before {
  content: "";
  position: absolute;
  left: -4.5px;      /* centre the 9px bullet dot on icon-centre axis */
  top: 5px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: currentColor;
}
/* Reserve vertical room below the flow so the absolute bullets don't collide
   with the next section. Used on .dark-visual.diagram when bullets are present. */
.dark-visual.diagram.has-bullets .diagram-wrap { min-height: 290px; }

/* ---------- Section ---------- */
.case-section { padding: 110px 0; border-bottom: 1px solid #000; }
.case-section:last-of-type { border-bottom: 1px solid #000; }

/* Dark variant — flips section to black bg with inverted contrast */
.case-section.is-dark {
  background: #000;
  color: #fff;
  border-bottom-color: #000;
}
.case-section.is-dark .section-head { border-bottom-color: #fff; }
.case-section.is-dark ::selection { background: #fff; color: #000; }
.case-section.is-dark .outcome-stat {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.case-section.is-dark .outcome-stat .desc { color: #000; }
.case-section.is-dark .outcome-text p strong { color: #fff; }
.case-section.is-dark .feature { border-color: #fff; }
.case-section.is-dark .feature .icon-mark { border-color: #fff; }
.case-section.is-dark .lead-row p strong { color: #fff; }

/* Pull quote dark variant */
.pullquote.is-dark { background: #000; color: #fff; border-bottom-color: #000; }
.pullquote.is-dark ::selection { background: #fff; color: #000; }

/* Pull quote blackout variant — black text on black, near-invisible by design */
.pullquote.is-blackout { background: #000; color: #000; border-bottom-color: #000; }
.pullquote.is-blackout ::selection { background: #fff; color: #000; }
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "eyebrow meta"
    "title   meta";
  column-gap: 40px;
  row-gap: 18px;
  align-items: end;
  padding-bottom: 32px;
  border-bottom: 1px solid #000;
  margin-bottom: 56px;
}
.eyebrow {
  grid-area: eyebrow;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow .num {
  display: block;
  font-weight: 400;
  margin-bottom: 8px;
  font-size: 13px;
  letter-spacing: 0.05em;
}
.section-title {
  grid-area: title;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin: 0;
}
.section-title em { font-style: italic; font-weight: 300; }
.section-meta {
  grid-area: meta;
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-align: right;
  white-space: nowrap;
  align-self: end;
}

.lead-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.lead-row .lead-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.lead-row p {
  font-size: 19px;
  line-height: 1.55;
  margin: 0 0 22px;
  max-width: 60ch;
  font-weight: 400;
}
.lead-row p:last-child { margin-bottom: 0; }
.lead-row p strong { font-weight: 600; }
.lead-row p em { font-style: italic; font-weight: 400; }

/* Arrow-bulleted list used inside lead-row bodies */
.bullet-list {
  list-style: none;
  margin: 22px 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.bullet-list li {
  position: relative;
  padding-left: 34px;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  max-width: 60ch;
}
.bullet-list.is-19 li { font-size: 19px; }
.bullet-list .bullet-arrow {
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  display: inline-block;
  color: currentColor;
}
.bullet-list .bullet-arrow svg {
  width: 18px;
  height: 18px;
  display: block;
}
.bullet-list .bullet-arrow svg * {
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Short intro block (between hero and first section) */
.case-intro {
  padding: 64px 0 80px;
  border-bottom: 1px solid #000;
}
.case-intro .intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.case-intro .intro-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.case-intro p {
  font-size: 20px;
  line-height: 1.55;
  margin: 0 0 22px;
  max-width: 60ch;
  font-weight: 400;
}
.case-intro p:last-child { margin: 0; }
.case-intro p strong { font-weight: 600; }
.case-intro p em { font-style: italic; font-weight: 400; }

/* ---------- Feature card rows ---------- */
.three-up,
.two-up,
.four-up {
  display: grid;
  gap: 32px;
  margin-top: 32px;
}
.three-up { grid-template-columns: repeat(3, 1fr); gap: 48px; }
.two-up { grid-template-columns: repeat(2, 1fr); gap: 56px; }
.four-up { grid-template-columns: repeat(4, 1fr); }
.feature {
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 280px;
}
.feature .icon-mark {
  width: 56px;
  height: 56px;
  border: 1px solid #000;
  border-radius: 50%;
  display: grid;
  place-items: center;
  line-height: 1;
}
.feature .icon-mark svg { width: 22px; height: 22px; display: block; }
.feature .icon-mark svg * {
  stroke: currentColor;
  stroke-width: 1.25;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.15;
}
.feature h3 em { font-style: italic; font-weight: 300; }
.feature p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  max-width: 38ch;
}
.feature .step-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.feature .step-num .big {
  display: block;
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.02em;
  text-transform: none;
  margin-top: 2px;
}

/* Dark variant inside callout */
.callout .feature,
.feature-dark { border-color: #fff; }
.callout .feature .icon-mark,
.feature-dark .icon-mark { border-color: #fff; }
.callout .feature p,
.feature-dark p { color: #fff; }

/* ---------- Black callout ---------- */
.callout {
  background: #000;
  color: #fff;
  padding: 110px 0;
  border-bottom: 1px solid #000;
}
.callout ::selection { background: #fff; color: #000; }
.callout .section-head { border-color: #fff; }
.callout-body {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.callout-body .pretitle {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.callout-body p {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 300;
  line-height: 1.35;
  margin: 0;
  letter-spacing: -0.018em;
  text-wrap: pretty;
  font-style: italic;
}
.callout-body p strong { font-style: normal; font-weight: 600; }

/* Single-paragraph lead inside the callout (used above two-up cards) */
.callout-lead {
  font-size: clamp(20px, 2.1vw, 24px);
  line-height: 1.4;
  margin: 0 0 12px;
  font-weight: 300;
  font-style: italic;
  max-width: 64ch;
  letter-spacing: -0.012em;
}
/* Keep a specific lead on a single line on wide viewports for cleaner typography;
   wraps normally below 1250px so it never overflows. */
.callout-lead.is-oneline { max-width: none; }
@media (min-width: 1250px) {
  .callout-lead.is-oneline { white-space: nowrap; }
}

/* ---------- Outcome ---------- */
.outcome-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: stretch;
}
.outcome-stat {
  border: 1px solid #000;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  min-height: 360px;
}
.outcome-stat .label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.outcome-stat .figure {
  font-size: clamp(72px, 10vw, 144px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin: 0;
}
.outcome-stat .figure .ccy {
  font-size: 0.5em;
  font-weight: 400;
  letter-spacing: -0.02em;
  vertical-align: top;
  margin-right: 4px;
  position: relative;
  top: 0.18em;
}
.outcome-stat .figure em { font-style: italic; font-weight: 300; }
.outcome-stat .desc { font-size: 14px; font-weight: 400; line-height: 1.5; max-width: 32ch; }
.outcome-stat .desc strong { font-weight: 600; }
.outcome-text p { font-size: 19px; line-height: 1.55; margin: 0 0 24px; max-width: 52ch; }
.outcome-text p:last-child { margin: 0; }
.outcome-text p strong { font-weight: 600; }
.outcome-text p em { font-style: italic; font-weight: 400; }

/* ---------- Pull quote ---------- */
.pullquote {
  padding: 130px 0;
  border-bottom: 1px solid #000;
}
.pull-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 24px;
}
.pull-inner .mark {
  font-size: 96px;
  font-weight: 500;
  line-height: 0.6;
  letter-spacing: -0.05em;
  display: block;
}
.pull-inner blockquote {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.15;
  font-style: italic;
  text-wrap: balance;
}
.pull-inner blockquote em { font-style: italic; font-weight: 500; }
.pull-inner .attr {
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 12px;
  flex-wrap: wrap;
}
.pull-inner .attr span:first-child::after {
  content: "/";
  margin-left: 18px;
  font-weight: 400;
}

/* ---------- Next nav ---------- */
.next { padding: 110px 0 130px; }
.next-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid #000;
}
.next-grid h2 {
  font-size: clamp(40px, 5vw, 76px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin: 14px 0 0;
}
.next-grid h2 em { font-style: italic; font-weight: 300; }
.next-grid .arrow-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 1px solid #000;
  display: grid;
  place-items: center;
  font-size: 28px;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.next-grid a:hover .arrow-circle,
.next a:hover .arrow-circle {
  background: #000;
  color: #fff;
  transform: rotate(45deg);
}
.next a { display: contents; }

/* ---------- Footer ---------- */
footer {
  padding: 40px 0 48px;
  border-top: 1px solid #000;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
footer .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
footer .center {
  text-align: center;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}
footer .right { text-align: right; }

/* ---------- Scroll animations ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease-out, transform .5s ease-out;
  }
  .reveal.in { opacity: 1; transform: translateY(0); }
  .section-head { position: relative; border-bottom: none !important; }
  .section-head::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .6s ease-out;
  }
  .section-head.in::after { transform: scaleX(1); }
}

/* ---------- Action rows: stacked horizontal cards with icon+title left, bullets right ---------- */
.action-rows {
  display: grid;
  gap: 56px;
  margin-top: 32px;
}
.action-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  padding-top: 32px;
  border-top: 1px solid currentColor;
  align-items: start;
}
.action-row .row-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.action-row .icon-mark {
  width: 56px;
  height: 56px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  line-height: 1;
}
.action-row .icon-mark svg { width: 22px; height: 22px; display: block; }
.action-row .icon-mark svg * {
  stroke: currentColor;
  stroke-width: 1.25;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.action-row .icon-mark svg [data-fill] { fill: currentColor; stroke: none; }
.action-row h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.15;
}
.action-row h3 em { font-style: italic; font-weight: 300; }
.action-row ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.action-row ul li {
  position: relative;
  padding-left: 34px;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  max-width: 56ch;
}
.action-row ul li .list-arrow {
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  display: inline-block;
  color: currentColor;
}
.action-row ul li .list-arrow svg {
  width: 18px;
  height: 18px;
  display: block;
}
.action-row ul li .list-arrow svg * {
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Page-scoped deep-blue dark variant (Overstimulation case) ---------- */
body.case-overstim .dark-visual,
body.case-overstim .asset-block {
  background: var(--deep-bg, #040818);
  border-bottom-color: var(--deep-bg, #040818);
}
body.case-overstim {
  --deep-bg: #040818;
}
/* Full-bleed decorative header banner (Overstimulation) */
.case-banner {
  width: 100%;
  line-height: 0;
  background: var(--deep-bg, #01041a);
  border-bottom: 1px solid #000;
}
.case-banner img {
  display: block;
  width: 100%;
  height: clamp(150px, 21vw, 360px);
  object-fit: cover;
  object-position: center;
}

/* ---------- Action cards: icon + title + bullet list (used in Overstimulation Action section) ---------- */
.five-up {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 64px;
  margin-top: 32px;
}
.five-up .feature {
  min-height: 0;
  gap: 16px;
}
.feature .feature-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.feature .feature-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  line-height: 1.5;
  max-width: 42ch;
}
.feature .feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 1.5px;
  background: currentColor;
}

/* ---------- Pull-out intro paragraphs (Result section style) ---------- */
.lead-row .lead-prose p {
  font-size: 19px;
  line-height: 1.55;
  margin: 0 0 22px;
  max-width: 60ch;
}
.lead-row .lead-prose p:last-child { margin-bottom: 0; }
@media (max-width: 1100px) {
  :root { --pad: clamp(20px, 4vw, 48px); }
  .lead-row, .outcome-grid, .callout-body { gap: 56px; }
  .four-up { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; height: 64px; }
  .case-hero { padding: 48px 0 64px; }
  .meta-strip { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .case-section, .callout, .pullquote { padding: 80px 0; }
  .case-visual { padding: 64px 0; }
  .three-up, .four-up { grid-template-columns: 1fr; gap: 28px; }
  .two-up { grid-template-columns: 1fr; gap: 28px; }
  .five-up { grid-template-columns: 1fr; gap: 36px; }
  .action-row { grid-template-columns: 1fr; gap: 24px; }
  .action-rows { gap: 40px; }
  .feature { min-height: 0; padding-bottom: 4px; }
  .lead-row, .outcome-grid, .callout-body { grid-template-columns: 1fr; gap: 36px; }
  .case-intro .intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .section-head {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "title"
      "meta";
    row-gap: 12px;
  }
  .section-meta { text-align: left; align-self: start; }
  .next-grid { grid-template-columns: 1fr; gap: 32px; }
  .next-grid .arrow-circle { width: 64px; height: 64px; font-size: 22px; }
  .process-step { width: 140px; flex: 0 0 140px; }
  .process-arrow { flex: 0 0 36px; }
  .process-step .step-label { font-size: 13.5px; }
  .process-step .step-bullets { width: 240px; }
}
@media (max-width: 640px) {
  :root { --pad: 20px; }
  body { font-size: 16px; }
  .nav-inner { height: 60px; }
  .logo { font-size: 15px; gap: 14px; }
  .logo-mark { width: 10px; height: 30px; }
  .cta { padding: 10px 14px 10px 16px; font-size: 13px; }
  .crumb { font-size: 10.5px; letter-spacing: 0.16em; padding: 24px 0 4px; gap: 10px; }
  .case-hero { padding: 32px 0 56px; }
  .case-hero h1 { font-size: clamp(38px, 11vw, 60px); margin-bottom: 28px; }
  .case-hero .lede { font-size: 18px; margin-bottom: 40px; }
  .meta-strip { grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 24px; }
  .meta-strip dd { font-size: 15px; }
  .case-section, .callout, .pullquote { padding: 64px 0; }
  .case-visual { padding: 48px 0; }
  .section-head { padding-bottom: 22px; margin-bottom: 40px; }
  .section-title { font-size: clamp(28px, 8vw, 38px); }
  .feature { gap: 14px; padding-top: 22px; }
  .feature .icon-mark { width: 48px; height: 48px; }
  .feature .icon-mark svg { width: 19px; height: 19px; }
  .feature h3 { font-size: 19px; }
  .feature p { font-size: 14.5px; }
  .lead-row p { font-size: 17px; }
  .callout-body p { font-size: 20px; }
  .outcome-stat { padding: 28px; min-height: 0; gap: 28px; }
  .outcome-text p { font-size: 17px; }
  .pull-inner blockquote { font-size: clamp(24px, 7vw, 34px); }
  .pull-inner .mark { font-size: 64px; }
  .next { padding: 72px 0 80px; }
  .next-grid .arrow-circle { width: 56px; height: 56px; font-size: 20px; }
  footer { padding: 32px 0 36px; }
  footer .container { grid-template-columns: 1fr; gap: 12px; text-align: left; }
  footer .center, footer .right { text-align: left; }
  /* Diagram stacks vertically on phones */
  .process-flow { flex-direction: column; align-items: center; gap: 0; max-width: 320px; }
  .process-step { width: auto; flex: none; padding: 0; min-height: 64px; }
  .process-step .step-bullets {
    position: static;
    width: 100%;
    margin: 24px 0 0;
    padding: 28px 0 0 0;
    transform: none;
    left: auto;
    top: auto;
  }
  .process-step .step-bullets::before { top: 0; bottom: 8px; transform: none; left: 4px; }
  .process-step .step-bullets li::before { left: 0; }
  .process-step .step-bullets li { padding-left: 22px; }
  .dark-visual.diagram.has-bullets .diagram-wrap { min-height: 0; }
  .process-arrow { flex: none; width: 24px; height: 24px; }
  .process-arrow svg { display: none; }
  .process-arrow::before {
    content: "";
    width: 1px; height: 24px;
    background: currentColor;
    display: block;
  }
}
