/* ═════════════════════════════════════════════════════════
   IGNITED — editorial layer (site-wide)
   Serif display type, pastel washes, paper cards. Page markup
   opts in with <main class="ed">; the footer uses .ed-footer.
   main.css still owns the header, mega menus, region banner
   and chat widget. Loaded on every front-end view.
   ═════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────
   TOKENS + BASE
   Tokens live on :root so site chrome outside main.ed (the
   footer) shares them; .ed sets the light page surface.
───────────────────────────────────────────────────────── */
:root {
  --ed-ink:      #0d0d0d;
  --ed-ink-2:    #2b2b2b;
  --ed-muted:    #6b6b6b;
  --ed-line:     #e6e6e6;
  --ed-paper:    #ffffff;
  --ed-paper-2:  #f7f7f7;
  --ed-rust:     #c2410c;
  --ed-orange:   #ff4d1a;
  --ed-green:    #1f8a3b;
  --ed-night:    #1b1b1b;
  --ed-brown-1:  #7a2a12;
  --ed-brown-2:  #9b4a1b;
  --ed-cream:    #faf6ee;
  --ed-yellow:   #f6b52b;

  --ed-serif:   'Alegreya', Georgia, 'Times New Roman', serif;
  --ed-serif-2: 'Crimson Pro', 'Alegreya', Georgia, serif;
  --ed-sans:    var(--font);
  --ed-mono:    var(--mono);

  --ed-container: 1320px;
  --ed-gutter:    24px;
  --ed-sticky:    calc(var(--h) + 32px);
}
.ed {
  display: block;
  background: var(--ed-paper);
  color: var(--ed-ink);
  font-family: var(--ed-sans);
  font-size: 16px;
  line-height: 1.5;
}
.ed img { max-width: 100%; display: block; }
.ed ol { list-style: none; }
.ed table { border-collapse: collapse; }
.ed :focus-visible { outline: 2px solid var(--ed-rust); outline-offset: 3px; border-radius: 6px; }

.ed-container {
  width: 100%;
  max-width: calc(var(--ed-container) + var(--ed-gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--ed-gutter);
}

/* Shared section header */
.ed-section { padding: 96px 0; }
.ed-section--tight-top { padding-top: 24px; }
.ed-eyebrow { font-size: 15px; color: var(--ed-ink-2); margin-bottom: 10px; }
.ed-h2 {
  font-family: var(--ed-serif);
  font-weight: 500;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.ed-h2 em { font-style: italic; color: var(--ed-rust); font-weight: 500; }
.ed-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; margin-bottom: 48px; }
.ed-head > div:first-child { max-width: 980px; }
.ed-head__aside { max-width: 420px; font-size: 15px; line-height: 1.45; color: var(--ed-ink-2); padding-top: 30px; }
.ed-head__aside .ed-link { margin-top: 12px; }
.ed-head--right .ed-head__aside { text-align: right; padding-top: 8px; }

.ed-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ed-rust);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.ed-link svg { width: 12px; height: 12px; transition: transform .2s; }
.ed-link:hover svg { transform: translate(2px, -2px); }

/* Buttons */
.ed-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.ed-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.ed-btn--dark { background: #000; color: #fff; }
.ed-btn--dark:hover { transform: translateY(-1px); background: #222; }
.ed-btn--ghost { border: 1.5px solid #111; color: #111; background: rgba(255,255,255,.5); }
.ed-btn--ghost:hover { background: #111; color: #fff; }
.ed-btn--light { background: #fff; color: #111; }
.ed-btn--light:hover { background: #ececec; }
.ed-btn--line { border: 1.5px solid #fff; color: #fff; }
.ed-btn--line:hover { background: #fff; color: #111; }
.ed-center { display: flex; justify-content: center; margin-top: 48px; }

/* ─────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────── */
.ed-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--h) + 88px) 0 64px;
  background:
    radial-gradient(60% 70% at 0% 30%, #fff1dd 0%, rgba(255,241,221,0) 70%),
    radial-gradient(45% 60% at 50% 0%, #e7f8ef 0%, rgba(231,248,239,0) 70%),
    radial-gradient(55% 80% at 100% 40%, #e2ecfd 0%, rgba(226,236,253,0) 70%),
    radial-gradient(40% 50% at 55% 100%, #fbe7f0 0%, rgba(251,231,240,0) 70%),
    #fbf8f3;
}
.ed-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-radial-gradient(circle at 66% 6%, transparent 0 46px, rgba(255,255,255,.75) 47px 48px);
  -webkit-mask: radial-gradient(40% 62% at 66% 12%, #000 0%, transparent 100%);
          mask: radial-gradient(40% 62% at 66% 12%, #000 0%, transparent 100%);
}
.ed-hero > .ed-container { position: relative; }
.ed-hero__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ed-hero__kicker::before { content: ''; flex-shrink: 0; width: 28px; height: 1.5px; background: var(--ed-rust); }
.ed-hero__h1 {
  font-family: var(--ed-serif);
  font-weight: 500;
  font-size: clamp(42px, 5.7vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.ed-hero__h1 em { color: var(--ed-orange); font-weight: 500; }
.ed-hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 48px;
  align-items: start;
  margin-top: 28px;
}
.ed-hero__lead { font-size: 20px; line-height: 1.45; max-width: 540px; color: var(--ed-ink-2); }
.ed-hero__btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.ed-hero__fine { margin-top: 20px; max-width: 540px; font-size: 14px; line-height: 1.5; color: var(--ed-muted); }

/* Service variant — crumbs on top, two-column grid, slightly smaller H1. */
.ed-hero--svc,
.ed-hero--page { padding-top: calc(var(--h) + 36px); }
.ed-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 64px;
  align-items: center;
}
:is(.ed-hero--svc, .ed-hero--page) .ed-hero__h1 { font-size: clamp(40px, 4.6vw, 68px); line-height: 1.04; }
:is(.ed-hero--svc, .ed-hero--page) .ed-hero__h1.is-long { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; }
.ed-hero__grid--solo,
.ed-hero__grid.ed-hero__grid--solo { grid-template-columns: minmax(0, 1fr); }
.ed-hero__grid > * { min-width: 0; }
.ed-hero__h1 { overflow-wrap: break-word; }
.ed-hero__grid--solo .ed-hero__h1 { max-width: 1040px; }
:is(.ed-hero--svc, .ed-hero--page) .ed-hero__lead { margin-top: 24px; max-width: 620px; font-size: 19px; }

.ed-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 56px; font-size: 13.5px; color: var(--ed-muted); }
.ed-crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.ed-crumbs a { border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.ed-crumbs a:hover { color: var(--ed-rust); border-color: currentColor; }
.ed-crumbs [aria-current="page"] { color: var(--ed-ink); }
.ed-crumbs__sep { color: #b9b9b9; }

/* Proof card — ring-bound notepad, tilted until hovered. */
.ed-proof {
  position: relative;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 6px;
  padding: 22px 20px 18px;
  transform: rotate(2.6deg);
  box-shadow: 0 22px 50px rgba(40,50,80,.12), 0 2px 6px rgba(0,0,0,.05);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.ed-proof:hover { transform: rotate(0); }
.ed-proof__rings { position: absolute; top: -8px; left: 22px; display: flex; gap: 6px; }
.ed-proof__rings i { width: 3px; height: 14px; border-radius: 2px; background: #5a3a2a; }
.ed-proof__label { font-size: 13px; font-weight: 500; letter-spacing: .01em; text-transform: uppercase; }
.ed-proof__big {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 16px 0 6px;
  font-size: 54px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.ed-proof__big small { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--ed-ink-2); max-width: 190px; line-height: 1.25; }
.ed-proof table { width: 100%; font-size: 14px; margin-top: 10px; }
.ed-proof th { font-weight: 500; text-align: right; font-size: 12.5px; padding: 6px 6px 8px; text-transform: uppercase; }
.ed-proof th:first-child { text-align: left; padding-left: 0; }
.ed-proof td { padding: 10px 8px; border-top: 1px solid #ececec; text-align: right; font-weight: 700; white-space: nowrap; }
.ed-proof td:first-child { text-align: left; font-weight: 400; background: #f6f6f6; padding-left: 12px; white-space: normal; }
.ed-proof td.is-mid { font-weight: 400; color: #555; white-space: normal; }
.ed-proof tr:last-child td { border-bottom: 1px solid #ececec; }
.ed-proof__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; }
.ed-proof__foot a { display: inline-flex; gap: 6px; align-items: center; }
.ed-proof__foot a:hover { color: var(--ed-rust); }
@media (min-width: 1240px) { .ed-proof--lift { margin-top: -130px; } }

.ed-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
  padding: 22px 0;
  border-top: 1px solid rgba(0,0,0,.1);
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.ed-stats b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.ed-stats span { font-size: 13.5px; color: var(--ed-muted); }

/* ─────────────────────────────────────────────────────────
   TRUSTED — press + client marquee
───────────────────────────────────────────────────────── */
.ed-trusted { padding: 52px 0 48px; border-bottom: 1px solid #efefef; }
.ed-trusted__row { display: flex; align-items: center; gap: 28px 40px; flex-wrap: wrap; }
.ed-trusted__label { font-size: 12px; color: var(--ed-ink-2); text-transform: uppercase; letter-spacing: .04em; }
.ed-trusted__label strong { font-weight: 600; color: var(--ed-ink); }
.ed-trusted__label--gap { margin-top: 40px; }
.ed-press { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.ed-press img { height: 26px; width: auto; filter: brightness(0); opacity: .55; transition: opacity .25s; }
.ed-press img:hover { opacity: .9; }
.ed-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 36px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ed-marquee__track { display: flex; width: max-content; animation: ed-marquee 38s linear infinite; }
.ed-marquee:hover .ed-marquee__track { animation-play-state: paused; }
.ed-marquee__set { display: flex; align-items: center; gap: 72px; padding-right: 72px; }
/* Grayscale, not brightness(0): logos on solid-colour plates keep their inner detail. */
.ed-marquee img { height: 44px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1) contrast(1.15); opacity: .6; transition: opacity .25s, filter .25s; }
.ed-marquee img:hover { opacity: 1; filter: none; }
/* White / inverse marks would vanish on white — flatten those to ink instead. */
.ed-marquee img.is-mono { filter: brightness(0); opacity: .55; }
.ed-marquee img.is-mono:hover { opacity: .9; filter: brightness(0); }
@keyframes ed-marquee { to { transform: translateX(-50%); } }

/* ─────────────────────────────────────────────────────────
   PROBLEM — pain list + pinned verdict note
───────────────────────────────────────────────────────── */
.ed-problem { position: relative; overflow: hidden; background: #f5f5f5; }
.ed-problem::before {
  content: '';
  position: absolute;
  inset: -20% -10%;
  pointer-events: none;
  background:
    radial-gradient(120% 60% at 90% 125%, transparent 0 46%, rgba(255,255,255,.75) 50% 53%, transparent 58%),
    radial-gradient(110% 70% at 30% 140%, transparent 0 52%, rgba(255,255,255,.6) 56% 60%, transparent 65%),
    radial-gradient(70% 60% at -20% 10%, transparent 0 55%, rgba(255,255,255,.6) 60% 63%, transparent 68%);
  filter: blur(14px);
}
.ed-problem > .ed-container { position: relative; }
.ed-problem__h2 { margin-bottom: 44px; max-width: 900px; }
.ed-problem__grid { display: grid; grid-template-columns: 720px 1fr; gap: 64px; align-items: start; }
.ed-pain { display: block; padding: 22px 0 18px; border-bottom: 1px solid #e7ddd0; transition: transform .25s ease; }
.ed-pain:first-child { padding-top: 4px; }
.ed-pain:hover { transform: translateX(8px); }
.ed-pain h3 { font-family: var(--ed-serif); font-weight: 500; font-size: 23px; line-height: 1.2; letter-spacing: -0.01em; }
.ed-pain p { margin-top: 8px; font-size: 16px; line-height: 1.5; color: #444; }

.ed-verdict {
  position: sticky;
  top: var(--ed-sticky);
  background: var(--ed-cream);
  padding: 30px 30px 28px;
  transform: rotate(-2.5deg);
  box-shadow: 0 22px 50px rgba(0,0,0,.12);
  transition: transform .4s;
}
.ed-verdict:hover { transform: rotate(0); }
.ed-verdict__tag {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e4dcd0;
  font-family: var(--ed-mono);
  font-size: 11px;
  color: #9a8f86;
}
.ed-verdict__tag span:last-child { font-family: var(--ed-sans); color: var(--ed-rust); text-transform: uppercase; letter-spacing: .03em; }
.ed-verdict p { margin-top: 22px; font-family: var(--ed-serif-2); font-size: 30px; line-height: 1.2; }
.ed-verdict p em { color: var(--ed-rust); }
/* Hero fallback note (service pages without a proof strip). */
.ed-verdict--hero { position: relative; top: auto; transform: rotate(2.2deg); }
.ed-verdict--hero p { font-size: 22px; line-height: 1.3; }

/* ─────────────────────────────────────────────────────────
   WHAT WE ARE
───────────────────────────────────────────────────────── */
.ed-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 120px; }
.ed-about__img { margin-top: 40px; width: 100%; height: auto; border-radius: 2px; } /* natural panorama: all four people */
.ed-about__copy { font-size: 19px; line-height: 1.55; color: #3a3a3a; }
.ed-versus { display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; border: 1px solid #e6e6e6; border-radius: 10px; overflow: hidden; background: #fff; }
.ed-versus > div { padding: 22px 22px 24px; }
.ed-versus > div + div { border-left: 1px solid #e6e6e6; background: #fffaf5; }
.ed-versus h3 { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ed-muted); padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid #ececec; }
.ed-versus > div + div h3 { color: var(--ed-rust); border-color: #f3dccf; }
.ed-versus li { position: relative; font-size: 16px; padding: 6px 0 6px 20px; color: #666; }
.ed-versus li::before { content: '–'; position: absolute; left: 0; color: #aaa; }
.ed-versus > div + div li { color: var(--ed-ink); }
.ed-versus > div + div li::before { color: var(--ed-rust); }
.ed-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.ed-kpi { border: 1px solid #e6e6e6; border-radius: 10px; padding: 18px; background: #fff; transition: border-color .2s, transform .2s; }
.ed-kpi:hover { border-color: #cfcfcf; transform: translateY(-2px); }
.ed-kpi small { font-size: 12px; color: var(--ed-muted); font-style: italic; }
.ed-kpi b { display: block; margin-top: 10px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }

/* ─────────────────────────────────────────────────────────
   SIX SYSTEMS — galaxy panel + pastel cards
───────────────────────────────────────────────────────── */
.ed-galaxy {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  min-height: 414px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  background:
    radial-gradient(40% 60% at 15% 30%, rgba(90,60,110,.35), transparent 70%),
    radial-gradient(40% 60% at 80% 80%, rgba(70,40,80,.35), transparent 70%),
    #141016;
}
.ed-galaxy__stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .9;
  background-image:
    radial-gradient(1.2px 1.2px at 23px 41px, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 143px 97px, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 81px 160px, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 190px 12px, rgba(255,255,255,.8) 50%, transparent 51%),
    radial-gradient(2.2px 2.2px at 300px 230px, rgba(255,255,255,.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 260px 140px, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 37px 270px, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 330px 60px, rgba(255,255,255,.7) 50%, transparent 51%);
  background-size: 360px 300px;
}
.ed-galaxy__stars + .ed-galaxy__stars { background-size: 520px 420px; background-position: 120px 80px; opacity: .6; }
.ed-piles { position: relative; align-self: end; display: flex; gap: 28px; justify-content: center; height: 100%; align-items: flex-end; padding-top: 40px; }
.ed-pile { display: flex; flex-direction: column; align-items: center; }
.ed-pill {
  display: inline-block;
  margin-top: -6px;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(#fff, #ececec);
  color: var(--ed-rust);
  font-style: italic;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,.35), inset 0 -2px 3px rgba(0,0,0,.08);
  transform: rotate(var(--r, 0deg));
  transition: transform .2s;
}
.ed-pill:hover { transform: translateY(-3px) rotate(var(--r, 0deg)) scale(1.04); }
.ed-galaxy.is-armed .ed-pill { opacity: 0; }
.ed-galaxy.is-dropped .ed-pill { animation: ed-drop .9s cubic-bezier(.3,1.4,.5,1) both; animation-delay: var(--d, 0s); }
@keyframes ed-drop {
  from { transform: translateY(-440px) rotate(calc(var(--r, 0deg) * 6)); opacity: 0; }
  60%  { opacity: 1; }
  to   { transform: translateY(0) rotate(var(--r, 0deg)); opacity: 1; }
}
.ed-galaxy__title {
  position: relative;
  padding: 40px;
  font-family: var(--ed-serif);
  font-style: italic;
  font-weight: 400;
  color: #fff;
  text-align: center;
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.02;
}
.ed-galaxy__title small {
  display: block;
  max-width: 380px;
  margin: 18px auto 0;
  font-family: var(--ed-sans);
  font-style: normal;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,.72);
}

.ed-systems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 28px; }
.ed-sys {
  --bg: #fff8d6; --n: #f3dc85;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 24px 26px 26px;
  background: var(--bg);
  transition: transform .25s, box-shadow .25s;
}
.ed-sys:nth-child(6n+2) { --bg: #f7e4fd; --n: #ddb0f0; }
.ed-sys:nth-child(6n+3) { --bg: #dcfde3; --n: #97e4a8; }
.ed-sys:nth-child(6n+4) { --bg: #fde5e3; --n: #f4b3ad; }
.ed-sys:nth-child(6n+5) { --bg: #dde6fd; --n: #a3b9f5; }
.ed-sys:nth-child(6n+6) { --bg: #ebe4fd; --n: #bfaef5; }
.ed-sys:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,.07); }
.ed-sys__n { font-family: var(--ed-serif); font-weight: 700; font-size: 56px; line-height: 1; color: var(--n); font-variant-numeric: oldstyle-nums; }
.ed-sys h3 { margin-top: 20px; font-family: var(--ed-serif); font-weight: 700; font-size: 26px; line-height: 1.15; }
.ed-sys__tags { margin-top: 6px; font-size: 12.5px; line-height: 1.45; color: #555; letter-spacing: .01em; }
.ed-sys p:not(.ed-sys__tags) { margin-top: 12px; font-size: 15.5px; line-height: 1.45; color: #1f1f1f; }
.ed-sys .ed-link { margin-top: auto; align-self: flex-start; padding-top: 18px; border-bottom: 0; color: #a8360a; text-decoration: underline; text-underline-offset: 3px; } /* ≥5.2:1 on every pastel */

.ed-platforms { margin-top: 28px; border: 1px solid #ebebeb; border-radius: 24px; background: #fafafa; padding: 26px 24px; text-align: center; }
.ed-platforms h3 { font-size: 15px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.ed-platforms ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1060px; margin: 18px auto 0; }
.ed-platforms li { font-size: 14px; font-weight: 500; padding: 9px 16px; border-radius: 12px; background: #fff; border: 1px solid #e8e8e8; transition: transform .2s, border-color .2s; }
.ed-platforms li:hover { transform: translateY(-2px); border-color: #cfcfcf; }
/* Linked variant (service sub-specialisms) — the whole chip is the target. */
.ed-platforms li:has(> a) { padding: 0; }
.ed-platforms li > a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; }
.ed-platforms li > a:hover { color: var(--ed-rust); }
.ed-platforms li > a svg { width: 10px; height: 10px; }

/* ─────────────────────────────────────────────────────────
   EVIDENCE — pinned case cards on a draggable string
───────────────────────────────────────────────────────── */
.ed-work { background: var(--ed-paper-2); }
.ed-string { position: relative; height: 16px; margin-top: -8px; }
.ed-string::before { content: ''; position: absolute; left: 10px; right: 10px; top: 7px; height: 3px; border-radius: 2px; background: linear-gradient(#e2c58b, #a98352); }
.ed-string i { position: absolute; top: 1px; width: 14px; height: 14px; background: #e3c47f; transform: rotate(45deg); border: 1px solid #c8a462; }
.ed-string i:first-child { left: 2px; }
.ed-string i:last-child { right: 2px; }
.ed-track {
  display: flex;
  align-items: flex-start;
  gap: 46px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 24px;
  padding: 4px 24px 40px;
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.ed-track::-webkit-scrollbar { display: none; }
.ed-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.ed-track.is-dragging * { pointer-events: none; user-select: none; }
.ed-track img { -webkit-user-drag: none; }
.ed-case {
  position: relative;
  flex: 0 0 340px;
  scroll-snap-align: start;
  margin-top: 14px;
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 3px;
  padding: 10px 10px 18px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 24px rgba(0,0,0,.05);
  transform-origin: 50% -14px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .2s, box-shadow .3s;
}
.ed-case:nth-child(4n+1) { transform: rotate(-1.2deg); }
.ed-case:nth-child(4n+2) { transform: rotate(1deg); }
.ed-case:nth-child(4n+3) { transform: rotate(-.6deg); }
.ed-case:nth-child(4n+4) { transform: rotate(1.2deg); }
.ed-case:hover, .ed-case:focus-within { transform: rotate(0); border-color: var(--ed-rust); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.ed-case__pin { position: absolute; top: -24px; left: 50%; width: 14px; height: 22px; margin-left: -7px; border-radius: 2px; background: linear-gradient(#c49a68, #94683f); box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.ed-case__pin::after { content: ''; position: absolute; left: 50%; top: 9px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #3c2a1b; }
.ed-case__cover {
  position: relative;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  background: #c42620;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.ed-case__cover b { position: relative; z-index: 1; font-size: 30px; font-weight: 700; font-style: italic; letter-spacing: .08em; text-transform: uppercase; line-height: 1.05; }
.ed-case__cover.is-long b { font-size: 22px; letter-spacing: .05em; }
.ed-case__cover span { position: relative; z-index: 1; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .9; line-height: 1.4; }
.ed-case__cover::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 2px, transparent 2px 14px); }
.ed-case__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 12px; }
.ed-case__tags span { font-size: 11px; padding: 4px 8px; background: #f2f2f2; border: 1px solid #e9e9e9; border-radius: 4px; color: #333; }
.ed-case h3 { min-height: 68px; padding: 0 4px; font-size: 18px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.ed-case__metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 4px 0; padding-top: 14px; border-top: 1px solid #ececec; }
.ed-case__metrics b { display: block; color: var(--ed-green); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.ed-case__metrics span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.3; color: #333; }
/* Client logo on a white plate in the middle of the coloured cover. */
.ed-case__cover.has-logo { gap: 12px; }
.ed-case__plate { position: relative; z-index: 1; display: grid; place-items: center; width: min(76%, 240px); height: 74px; padding: 10px 18px; background: #fff; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.22); transform: rotate(-1.5deg); }
.ed-case:nth-child(even) .ed-case__plate { transform: rotate(1.2deg); }
.ed-case__plate img { display: block; max-width: 100%; max-height: 54px; width: auto; height: auto; object-fit: contain; }
.ed-case__plate.is-square { padding-block: 5px; }
.ed-case__plate.is-square img { max-height: 64px; }
/* Candid (non-win) engagements: neutral figures, never win green. */
.ed-case--candid .ed-case__metrics b { color: var(--ed-brown-2); }
.ed-case__support { margin: 14px 4px 0; padding-top: 14px; border-top: 1px solid #ececec; font-size: 14.5px; line-height: 1.45; color: #333; }
.ed-case__visit { display: inline-flex; align-items: center; gap: 6px; margin: 18px 4px 0; color: var(--ed-rust); font-size: 13.5px; font-weight: 500; border-bottom: 1px solid currentColor; }
.ed-case__visit svg { width: 12px; height: 12px; }
.ed-case--more {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: 400px;
  padding: 28px 24px;
  background: var(--ed-cream);
  border-style: dashed;
  border-color: #d8cbb8;
}
.ed-case--more p { font-family: var(--ed-serif-2); font-size: 28px; line-height: 1.2; }
.ed-case--more p em { color: var(--ed-rust); }
.ed-case--more .ed-case__links { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ed-progress { position: relative; height: 8px; margin-top: 22px; border-radius: 999px; background: #e6e6e6; overflow: hidden; }
.ed-progress span { position: absolute; top: 0; left: 0; height: 100%; min-width: 28px; border-radius: 999px; background: var(--ed-rust); transition: width .1s linear; }

/* Testimonials under the evidence track (service pages). */
.ed-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 40px; }
.ed-quote { background: var(--ed-cream); padding: 28px 28px 24px; box-shadow: 0 14px 30px rgba(0,0,0,.06); }
.ed-quote:nth-child(odd) { transform: rotate(-.8deg); }
.ed-quote:nth-child(even) { transform: rotate(.7deg); }
.ed-quote blockquote { font-family: var(--ed-serif-2); font-size: 22px; line-height: 1.35; color: #2a2a2a; }
.ed-quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 14px; border-top: 1px solid #e4dcd0; font-size: 14px; }
.ed-quote figcaption img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.ed-quote figcaption span { display: block; color: var(--ed-muted); font-size: 13px; }

/* ─────────────────────────────────────────────────────────
   PROCESS — centre-line timeline
───────────────────────────────────────────────────────── */
.ed-how {
  position: relative;
  background:
    radial-gradient(50% 60% at 5% 30%, #fff3df 0%, rgba(255,243,223,0) 70%),
    radial-gradient(40% 40% at 45% 20%, #eaf8ee 0%, rgba(234,248,238,0) 70%),
    radial-gradient(50% 70% at 100% 50%, #e4edfd 0%, rgba(228,237,253,0) 70%),
    radial-gradient(40% 40% at 40% 95%, #fce7ef 0%, rgba(252,231,239,0) 70%),
    #fbf9f6;
}
.ed-timeline { position: relative; max-width: 1218px; margin: 0 auto; }
.ed-step { position: relative; display: grid; grid-template-columns: 1fr 52px 1fr; column-gap: 62px; align-items: center; min-height: 150px; }
.ed-step::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: #dcdcdc; transform: translateX(-50%); }
.ed-step:first-child::after { top: 50%; }
.ed-step:last-child::after { bottom: 50%; }
.ed-step__num {
  grid-column: 2;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e3e3e3;
  font-family: var(--ed-serif);
  font-size: 19px;
  transition: background .25s, color .25s, border-color .25s;
}
.ed-step:hover .ed-step__num { background: var(--ed-rust); color: #fff; border-color: var(--ed-rust); }
.ed-step__num::before { content: ''; position: absolute; top: 50%; height: 1px; width: 62px; background: #dedede; }
.ed-step__card { background: #fff; border-radius: 18px; padding: 22px 24px 24px; box-shadow: 0 1px 2px rgba(0,0,0,.02); transition: transform .25s, box-shadow .25s; }
.ed-step__card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.06); }
.ed-step__card h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 8px;
  font-family: var(--ed-serif);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.15;
}
.ed-step__card h3 span { font-family: var(--ed-sans); font-size: 12px; font-weight: 500; color: var(--ed-rust); background: #fdf0e8; border: 1px solid #f6d9c8; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.ed-step__card p { font-size: 15.5px; line-height: 1.45; color: #1f1f1f; }
.ed-step:nth-child(odd) .ed-step__card { grid-column: 1; grid-row: 1; }
.ed-step:nth-child(odd) .ed-step__num::before { right: 100%; }
.ed-step:nth-child(even) .ed-step__card { grid-column: 3; grid-row: 1; }
.ed-step:nth-child(even) .ed-step__num::before { left: 100%; }
.ed-how__note { max-width: 640px; margin: 56px auto 0; text-align: center; font-size: 16px; line-height: 1.5; color: var(--ed-ink-2); }
.ed-how__note .ed-link,
.ed-how__note .ed-btn { margin-top: 16px; }

/* ─────────────────────────────────────────────────────────
   WHY — brown band with cream notes
───────────────────────────────────────────────────────── */
.ed-why { position: relative; overflow: hidden; color: #fff; background: linear-gradient(105deg, var(--ed-brown-1) 0%, #83301a 45%, var(--ed-brown-2) 100%); }
.ed-why::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .25; background: radial-gradient(40% 60% at 85% 20%, rgba(255,190,120,.35), transparent 70%); }
.ed-why > .ed-container { position: relative; }
.ed-why :focus-visible { outline-color: #fff; }
.ed-why__head { display: flex; justify-content: space-between; gap: 32px; align-items: flex-start; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.22); }
.ed-why__eyebrow { margin-bottom: 12px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ed-yellow); }
.ed-why__h2 { max-width: 820px; font-family: var(--ed-serif-2); font-weight: 400; font-size: clamp(40px, 5vw, 66px); line-height: 1.02; letter-spacing: -0.02em; }
.ed-why__note { position: relative; z-index: 0; max-width: 340px; padding: 22px 0 24px; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.92); }
.ed-why__note::before { content: ''; position: absolute; inset: 0 -12px -12px -40px; background: rgba(255,255,255,.04); z-index: -1; }
.ed-why__note a { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: #ffd27a; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.ed-why__note a svg { width: 12px; height: 12px; }
.ed-diffs { display: grid; grid-template-columns: repeat(2, minmax(0, 600px)); justify-content: center; gap: 30px 26px; margin-top: 44px; }
.ed-diff { background: var(--ed-cream); color: var(--ed-ink); padding: 26px 28px 30px; border-radius: 2px; box-shadow: 0 18px 40px rgba(40,10,0,.25); transition: transform .35s; }
.ed-diff:nth-child(4n+1) { transform: rotate(-1.2deg); }
.ed-diff:nth-child(4n+2) { transform: rotate(.9deg); }
.ed-diff:nth-child(4n+3) { transform: rotate(.7deg); }
.ed-diff:nth-child(4n+4) { transform: rotate(-.8deg); }
.ed-diff:hover { transform: rotate(0) translateY(-4px); }
.ed-diff__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #e4dcd0; font-size: 11px; }
.ed-diff__top span:first-child { font-family: var(--ed-mono); color: #9a8f86; }
.ed-diff__top span:last-child { color: var(--ed-rust); text-transform: uppercase; letter-spacing: .03em; }
.ed-diff h3 { position: relative; margin-top: 20px; padding-left: 2px; font-family: var(--ed-serif-2); font-weight: 500; font-size: 30px; line-height: 1.1; }
.ed-diff h3::before { content: '\201C'; position: absolute; left: -12px; top: -4px; color: var(--ed-yellow); font-family: var(--ed-serif); font-size: 40px; line-height: 1; }
.ed-diff p { margin-top: 10px; font-family: var(--ed-serif-2); font-size: 20px; line-height: 1.38; color: #2a2a2a; }
/* Problem → approach variant (service why-us rows). */
.ed-diff__label { display: block; margin-top: 18px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #9a8f86; }
.ed-diff__label + p { margin-top: 6px; }
.ed-diff__was { font-family: var(--ed-sans) !important; font-size: 15.5px !important; color: #6b6259 !important; }
.ed-diff__label--accent { color: var(--ed-rust); }
.ed-diff__label--accent + h3 { margin-top: 6px; font-size: 25px; line-height: 1.2; }

/* ─────────────────────────────────────────────────────────
   FAQ
───────────────────────────────────────────────────────── */
.ed-faq__grid { display: grid; grid-template-columns: 420px 1fr; gap: 80px; align-items: start; }
.ed-faq__intro { position: sticky; top: var(--ed-sticky); }
.ed-faq__intro p { margin-top: 18px; max-width: 360px; font-size: 16px; line-height: 1.5; color: var(--ed-ink-2); }
.ed-faq__intro .ed-btn { margin-top: 26px; }
.ed-faq details { border-bottom: 1px solid #e7ddd0; }
.ed-faq details:first-child { border-top: 1px solid #e7ddd0; }
.ed-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--ed-serif);
  font-weight: 500;
  font-size: 23px;
  line-height: 1.25;
  transition: color .2s;
}
.ed-faq summary::-webkit-details-marker { display: none; }
.ed-faq summary:hover { color: var(--ed-rust); }
.ed-faq summary i { flex-shrink: 0; position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #ddd; color: var(--ed-ink); transition: background .25s, border-color .25s, transform .3s; }
.ed-faq summary i::before,
.ed-faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.ed-faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.ed-faq details[open] summary i { transform: rotate(45deg); background: var(--ed-rust); border-color: var(--ed-rust); color: #fff; }
.ed-faq details p { padding: 0 56px 24px 0; font-size: 16px; line-height: 1.6; color: #3a3a3a; }

/* ─────────────────────────────────────────────────────────
   TEAM — taped polaroids
───────────────────────────────────────────────────────── */
.ed-team { background: var(--ed-paper-2); }
.ed-people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 20px; }
.ed-person { position: relative; background: #fff; border: 1px solid #e9e9e9; padding: 10px 10px 16px; box-shadow: 0 10px 24px rgba(0,0,0,.05); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.ed-person:nth-child(odd) { transform: rotate(-1.4deg); }
.ed-person:nth-child(even) { transform: rotate(1.2deg); }
.ed-person:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.09); }
.ed-person::before { content: ''; position: absolute; top: -10px; left: 50%; z-index: 1; width: 70px; height: 20px; margin-left: -35px; background: rgba(230,215,180,.7); transform: rotate(-2deg); }
.ed-person img,
.ed-person__ph { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; background: #eee; }
.ed-person__ph { display: grid; place-items: center; color: #bbb; }
.ed-person__ph svg { width: 40%; height: auto; }
.ed-person h3 { margin: 14px 4px 0; font-family: var(--ed-serif); font-weight: 700; font-size: 22px; }
.ed-person__role { margin: 2px 4px 0; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--ed-rust); }
.ed-person__links { display: flex; gap: 14px; margin: 12px 4px 0; font-size: 13.5px; }
.ed-person__links a { display: inline-flex; align-items: center; gap: 5px; border-bottom: 1px solid #ccc; }
.ed-person__links a:hover { border-color: var(--ed-rust); color: var(--ed-rust); }

/* ─────────────────────────────────────────────────────────
   CTA BAND
───────────────────────────────────────────────────────── */
.ed-cta-wrap { padding: 72px 0 96px; }
.ed-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 44px 42px; background: var(--ed-night); color: #fff; }
.ed-cta .ed-eyebrow { color: #e9e9e9; margin-bottom: 6px; }
.ed-cta h2 { max-width: 760px; font-family: var(--ed-serif); font-weight: 500; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; }
.ed-cta h2 em { color: #e0551c; font-weight: 500; }
.ed-cta p { margin-top: 12px; max-width: 640px; font-size: 16px; line-height: 1.45; color: #f0f0f0; }
.ed-cta small { display: block; margin-top: 12px; font-size: 13px; color: #a3a3a3; }
.ed-cta__btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─────────────────────────────────────────────────────────
   SERVICE-ONLY SECTIONS
───────────────────────────────────────────────────────── */
/* Who it's for — numbered fit cards */
.ed-fit__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ed-fit__card { display: flex; gap: 18px; padding: 24px 26px; border: 1px solid #e6e6e6; border-radius: 14px; background: #fff; transition: border-color .2s, transform .2s; }
.ed-fit__card:hover { border-color: #cfcfcf; transform: translateY(-2px); }
.ed-fit__card small { flex-shrink: 0; padding-top: 3px; font-size: 13px; font-style: italic; color: var(--ed-rust); }
.ed-fit__card p { font-size: 17px; line-height: 1.5; color: #2a2a2a; }

/* What changes — before / after ledger */
.ed-changes { background: var(--ed-paper-2); }
.ed-ledger { border: 1px solid #e6e6e6; border-radius: 14px; overflow: hidden; background: #fff; }
.ed-ledger__row { display: grid; grid-template-columns: 1fr 1fr; }
.ed-ledger__row + .ed-ledger__row { border-top: 1px solid #ececec; }
.ed-ledger__row > div { position: relative; padding: 20px 24px 20px 46px; font-size: 16px; line-height: 1.5; color: #666; }
.ed-ledger__row > div + div { border-left: 1px solid #e6e6e6; background: #fffaf5; color: var(--ed-ink); }
.ed-ledger__row > div::before { content: '–'; position: absolute; left: 24px; top: 20px; color: #aaa; }
.ed-ledger__row > div + div::before { content: '→'; color: var(--ed-rust); }
.ed-ledger__hd > div { padding-top: 18px; padding-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ed-muted); }
.ed-ledger__hd > div + div { color: var(--ed-rust); }
.ed-ledger__hd > div::before { display: none; }
.ed-ledger__hd > div { padding-left: 24px; }
.ed-ledger__tag { display: none; }

/* Pricing tiers */
.ed-pricing { background: var(--ed-paper-2); }
.ed-tiers { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.ed-tier { position: relative; display: flex; flex-direction: column; padding: 28px 26px 26px; background: #fff; border: 1px solid #e6e6e6; border-radius: 18px; }
.ed-tier--rec { background: var(--ed-cream); border-color: var(--ed-rust); box-shadow: 0 18px 40px rgba(0,0,0,.07); }
.ed-tier__badge { position: absolute; top: -12px; left: 26px; padding: 4px 12px; border-radius: 999px; background: var(--ed-rust); color: #fff; font-size: 12px; font-weight: 500; }
.ed-tier h3 { font-family: var(--ed-serif); font-weight: 700; font-size: 26px; line-height: 1.15; }
.ed-tier__who { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--ed-muted); }
.ed-tier__price { margin-top: 18px; font-family: var(--ed-serif); font-weight: 500; font-size: 36px; line-height: 1.1; }
.ed-tier ul { display: grid; gap: 10px; margin: 20px 0 26px; padding-top: 18px; border-top: 1px solid #ececec; }
.ed-tier li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.45; }
.ed-tier li svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px; color: var(--ed-rust); }
.ed-tier .ed-btn { margin-top: auto; align-self: flex-start; }
.ed-pricing__foot { max-width: 760px; margin: 36px auto 0; text-align: center; font-size: 15.5px; line-height: 1.55; color: var(--ed-ink-2); }
.ed-pricing__foot p + p { margin-top: 10px; color: var(--ed-muted); }

/* ─────────────────────────────────────────────────────────
   PAGE PRIMITIVES — shared by inner pages (about, contact,
   let's talk, legal, evidence, case studies, careers,
   sitemap, 404, generic pages, blog)
───────────────────────────────────────────────────────── */
.ed-section--alt  { background: var(--ed-paper-2); }
.ed-section--wash {
  background:
    radial-gradient(50% 60% at 5% 30%, #fff3df 0%, rgba(255,243,223,0) 70%),
    radial-gradient(40% 40% at 45% 20%, #eaf8ee 0%, rgba(234,248,238,0) 70%),
    radial-gradient(50% 70% at 100% 50%, #e4edfd 0%, rgba(228,237,253,0) 70%),
    radial-gradient(40% 40% at 40% 95%, #fce7ef 0%, rgba(252,231,239,0) 70%),
    #fbf9f6;
}
.ed-section--flush-top { padding-top: 0; }

/* Hero extras: meta line under the lead, and a photo aside. */
.ed-hero__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; font-size: 14px; color: var(--ed-muted); }
.ed-hero__meta b { font-weight: 600; color: var(--ed-ink-2); }
.ed-hero__photo {
  position: relative;
  background: #fff;
  border: 1px solid #ececec;
  padding: 10px 10px 14px;
  transform: rotate(2.2deg);
  box-shadow: 0 22px 50px rgba(40,50,80,.12), 0 2px 6px rgba(0,0,0,.05);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.ed-hero__photo:hover { transform: rotate(0); }
.ed-hero__photo::before { content: ''; position: absolute; top: -10px; left: 50%; z-index: 1; width: 80px; height: 22px; margin-left: -40px; background: rgba(230,215,180,.75); transform: rotate(-2deg); }
.ed-hero__photo img { width: 100%; height: auto; } /* natural shape — never crop people out */
.ed-hero__photo figcaption { margin: 10px 4px 0; font-size: 13.5px; color: var(--ed-muted); }

/* Split layout — content + sticky aside. */
.ed-split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }
.ed-split--left { grid-template-columns: 280px minmax(0, 1fr); }
.ed-sticky { position: sticky; top: var(--ed-sticky); }

/* Cream note — static sibling of the verdict card. */
.ed-note { position: relative; background: var(--ed-cream); padding: 26px 26px 24px; box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.ed-note--tilt { transform: rotate(-1.5deg); transition: transform .4s; }
.ed-note--tilt:hover { transform: rotate(0); }
.ed-note h3 { margin-top: 16px; font-family: var(--ed-serif); font-weight: 700; font-size: 22px; line-height: 1.2; }
.ed-note p { margin-top: 10px; font-size: 15.5px; line-height: 1.5; color: #3a3a3a; }
.ed-note .ed-btn { margin-top: 20px; }
.ed-note + .ed-note { margin-top: 24px; }

/* Card grid. Add .ed-card__link to the card's main anchor to make the whole card the target. */
.ed-cards { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 24px; }
.ed-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 26px 24px;
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: 18px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.ed-card:hover { border-color: #cfcfcf; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.06); }
.ed-card__kicker { font-size: 13px; font-style: italic; color: var(--ed-rust); }
.ed-card h3 { margin-top: 10px; font-family: var(--ed-serif); font-weight: 700; font-size: 24px; line-height: 1.15; }
.ed-card p { margin-top: 10px; font-size: 15.5px; line-height: 1.5; color: #3a3a3a; }
.ed-card__foot { margin-top: auto; padding-top: 18px; }
.ed-card .ed-card__kicker { margin-top: 0; font-size: 13px; color: var(--ed-rust); }
.ed-card p.ed-card__foot { margin-top: auto; }
.ed-card__link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.ed-card--pastel { border: 0; border-radius: 0; background: #fff8d6; }
.ed-card--pastel:nth-child(6n+2) { background: #f7e4fd; }
.ed-card--pastel:nth-child(6n+3) { background: #dcfde3; }
.ed-card--pastel:nth-child(6n+4) { background: #fde5e3; }
.ed-card--pastel:nth-child(6n+5) { background: #dde6fd; }
.ed-card--pastel:nth-child(6n+6) { background: #ebe4fd; }

/* Chips / tags. */
.ed-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ed-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 5px 10px; background: #f2f2f2; border: 1px solid #e9e9e9; border-radius: 999px; color: #333; }
a.ed-chip:hover { border-color: var(--ed-rust); color: var(--ed-rust); }

/* Metric band — big green figures. */
.ed-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; padding: 26px 0; border-top: 1px solid rgba(0,0,0,.1); border-bottom: 1px solid rgba(0,0,0,.1); }
.ed-metrics b { display: block; font-size: 34px; font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; color: var(--ed-green); }
.ed-metrics span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--ed-ink-2); }

/* Long-form prose (legal, case study body, generic pages, blog). */
.ed-prose { max-width: 720px; font-size: 17.5px; line-height: 1.7; color: #2a2a2a; }
.ed-prose > * + * { margin-top: 1.1em; }
.ed-prose h2 { margin-top: 2em; font-family: var(--ed-serif); font-weight: 500; font-size: clamp(28px, 3vw, 38px); line-height: 1.12; letter-spacing: -0.01em; color: var(--ed-ink); }
.ed-prose h3 { margin-top: 1.7em; font-family: var(--ed-serif); font-weight: 700; font-size: 23px; line-height: 1.2; color: var(--ed-ink); }
.ed-prose h4 { margin-top: 1.5em; font-size: 17px; font-weight: 600; color: var(--ed-ink); }
.ed-prose > h2:first-child,
.ed-prose > h3:first-child { margin-top: 0; }
.ed-prose :is(h2, h3, h4) + * { margin-top: .6em; }
.ed-prose a { color: var(--ed-rust); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ed-prose a:hover { text-decoration-thickness: 2px; }
.ed-prose strong, .ed-prose b { font-weight: 600; color: var(--ed-ink); }
.ed-prose ul { list-style: none; }
.ed-prose ul > li { position: relative; padding-left: 22px; }
.ed-prose ul > li::before { content: '–'; position: absolute; left: 2px; color: var(--ed-rust); }
.ed-prose ol { list-style: decimal; padding-left: 1.4em; }
.ed-prose ol > li::marker { color: var(--ed-rust); font-family: var(--ed-serif); font-weight: 700; }
.ed-prose li + li { margin-top: .5em; }
.ed-prose li > ul, .ed-prose li > ol { margin-top: .5em; }
.ed-prose blockquote {
  position: relative;
  margin: 1.8em 0;
  padding: 26px 28px 24px 36px;
  background: var(--ed-cream);
  font-family: var(--ed-serif-2);
  font-size: 22px;
  line-height: 1.4;
  color: #2a2a2a;
  transform: rotate(-.6deg);
  box-shadow: 0 14px 30px rgba(0,0,0,.06);
}
.ed-prose blockquote::before { content: '\201C'; position: absolute; left: 12px; top: 8px; color: var(--ed-yellow); font-family: var(--ed-serif); font-size: 44px; line-height: 1; }
.ed-prose blockquote p + p { margin-top: .6em; }
.ed-prose blockquote cite { display: block; margin-top: 12px; font-family: var(--ed-sans); font-size: 14px; font-style: normal; color: var(--ed-muted); }
.ed-prose img { height: auto; border-radius: 4px; }
.ed-prose figure { margin: 1.8em 0; }
.ed-prose figcaption { margin-top: 8px; font-size: 14px; color: var(--ed-muted); }
.ed-prose code { font-family: var(--ed-mono); font-size: .86em; padding: .12em .38em; background: #f3efe7; border-radius: 4px; }
.ed-prose pre { overflow-x: auto; padding: 18px 20px; background: var(--ed-night); color: #f0f0f0; border-radius: 10px; font-size: 14px; line-height: 1.6; }
.ed-prose pre code { padding: 0; background: none; color: inherit; }
.ed-prose hr { border: 0; border-top: 1px solid var(--ed-line); margin: 2.4em 0; }

/* Tables — prose tables and standalone .ed-table. Wrap wide ones in .ed-table-wrap. */
.ed-table-wrap { overflow-x: auto; border: 1px solid var(--ed-line); border-radius: 12px; background: #fff; }
.ed-prose table, .ed-table { width: 100%; font-size: 15px; line-height: 1.45; background: #fff; }
/* Rounded border on a real table (display:block would shrink rows to their content width). */
.ed-prose > table { border: 1px solid var(--ed-line); border-collapse: separate; border-spacing: 0; border-radius: 12px; overflow: hidden; }
.ed-prose td, .ed-prose th { overflow-wrap: break-word; }
.ed-prose th, .ed-table th { padding: 12px 16px; text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ed-muted); background: #fafafa; border-bottom: 1px solid var(--ed-line); }
.ed-prose td, .ed-table td { padding: 12px 16px; vertical-align: top; border-top: 1px solid #efefef; }
.ed-prose tr:first-child td, .ed-table tr:first-child td { border-top: 0; }

/* Polaroid gallery. */
.ed-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.ed-gallery figure { background: #fff; border: 1px solid #e9e9e9; padding: 10px 10px 14px; box-shadow: 0 10px 24px rgba(0,0,0,.05); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.ed-gallery figure:nth-child(odd) { transform: rotate(-1deg); }
.ed-gallery figure:nth-child(even) { transform: rotate(.9deg); }
.ed-gallery figure:hover { transform: rotate(0) translateY(-3px); }
.ed-gallery img { width: 100%; height: auto; }
.ed-gallery figcaption { margin: 10px 4px 0; font-size: 13.5px; color: var(--ed-muted); }

/* Form fields. */
.ed-form { display: grid; gap: 18px; }
.ed-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ed-field { display: grid; gap: 7px; min-width: 0; }
.ed-label { font-size: 14px; font-weight: 500; color: var(--ed-ink); }
.ed-label small { font-weight: 400; color: var(--ed-muted); }
.ed-input, .ed-select, .ed-textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
  color: var(--ed-ink);
  transition: border-color .2s, box-shadow .2s;
}
.ed-textarea { min-height: 140px; line-height: 1.5; resize: vertical; }
.ed-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%236b6b6b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
}
.ed-input::placeholder, .ed-textarea::placeholder { color: #9a9a9a; }
.ed-input:focus, .ed-select:focus, .ed-textarea:focus { outline: none; border-color: var(--ed-rust); box-shadow: 0 0 0 3px rgba(194,65,12,.15); }
.ed-input[aria-invalid="true"], .ed-textarea[aria-invalid="true"], .ed-select[aria-invalid="true"] { border-color: #b42318; }
.ed-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.ed-choice { position: relative; }
.ed-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ed-choice span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid #d9d9d9; border-radius: 999px; background: #fff; font-size: 15px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.ed-choice input:checked + span { border-color: var(--ed-rust); background: #fdf0e8; color: var(--ed-rust); }
.ed-choice input:focus-visible + span { outline: 2px solid var(--ed-rust); outline-offset: 2px; }
.ed-form__note { font-size: 13.5px; line-height: 1.5; color: var(--ed-muted); }
.ed-form__status { font-size: 14.5px; line-height: 1.5; }
.ed-form__status:empty { display: none; }
.ed-form__status.is-ok { color: var(--ed-green); }
.ed-form__status.is-err { color: #b42318; }
/* WP core markup (pagination headings, skip link) relies on .screen-reader-text. */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link.screen-reader-text:focus { z-index: 100000; top: 12px; left: 12px; width: auto; height: auto; margin: 0; padding: 10px 14px; overflow: visible; clip: auto; clip-path: none; white-space: normal; border-radius: 8px; background: #000; color: #fff; font: 500 15px/1.2 var(--ed-sans); text-decoration: none; }
.ed-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Pagination (paginate_links / the_posts_pagination output). */
.ed-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.ed-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--ed-line); border-radius: 999px; background: #fff; font-size: 15px; transition: border-color .2s, color .2s; }
.ed-pagination a.page-numbers:hover { border-color: var(--ed-rust); color: var(--ed-rust); }
.ed-pagination .page-numbers.current { background: var(--ed-ink); border-color: var(--ed-ink); color: #fff; }
.ed-pagination .page-numbers.dots { border: 0; background: none; }

@media (max-width: 1100px) {
  .ed-cards { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .ed-split, .ed-split--left { grid-template-columns: 1fr; gap: 40px; }
  .ed-sticky { position: static; }
}
@media (max-width: 640px) {
  .ed-cards { grid-template-columns: 1fr; }
  .ed-form__row { grid-template-columns: 1fr; }
  .ed-prose { font-size: 17px; }
  .ed-prose blockquote { font-size: 20px; padding: 22px 20px 20px 30px; }
  .ed-metrics b { font-size: 28px; }
  .ed-hero__photo { margin: 30px 0 0 6px; max-width: 460px; }
}

/* ─────────────────────────────────────────────────────────
   FOOTER — night panel, serif call, link columns, giant
   wordmark. Sits outside main.ed; uses the :root tokens.
───────────────────────────────────────────────────────── */
.ed-footer { position: relative; overflow: hidden; background: var(--ed-night); color: #fff; padding: 90px 0 36px; font-family: var(--ed-sans); line-height: 1.5; }
.ed-footer a { color: inherit; }
.ed-footer :focus-visible { outline: 2px solid #f0a070; outline-offset: 3px; border-radius: 4px; }
.ed-footer__inner { max-width: 1920px; margin: 0 auto; padding: 0 24px; }
.ed-footer__top { display: grid; grid-template-columns: 1fr auto; gap: 40px; }
.ed-footer__tag { font-size: 15px; color: #9a9a9a; }
.ed-footer__h2 { margin-top: 48px; font-family: var(--ed-serif-2); font-weight: 400; font-size: clamp(48px, 6vw, 88px); line-height: 1.1; letter-spacing: -0.015em; }
.ed-footer__h2 em { color: #e0551c; }
.ed-footer__lead { margin-top: 36px; max-width: 560px; font-size: 17px; line-height: 1.5; color: #e6e6e6; }
.ed-footer__btn { display: inline-flex; align-items: center; gap: 12px; margin-top: 32px; padding: 8px 8px 8px 22px; background: #262626; font-size: 18px; transition: background .2s; }
.ed-footer__btn:hover { background: #303030; }
.ed-footer__ic { display: grid; place-items: center; width: 40px; height: 40px; background: var(--ed-rust); color: #fff; }
.ed-footer__ic svg { width: 18px; height: 18px; }
.ed-footer__side { min-width: 240px; padding: 52px 80px 0 0; }
.ed-footer__time { font-size: 14px; color: #9a9a9a; font-variant-numeric: tabular-nums; }
.ed-footer__city { font-size: 17px; }
.ed-footer__mail { display: inline-block; margin-top: 6px; font-size: 15px; color: #dcdcdc; border-bottom: 1px solid #444; }
.ed-footer__mail:hover { color: #f0a070; border-color: currentColor; }
.ed-footer__social { margin-top: 36px; }
.ed-footer__social-hd { margin-bottom: 6px; font-size: 15px; color: #9a9a9a; }
.ed-footer__social a { display: flex; gap: 12px; align-items: center; padding: 3px 0; font-size: 16px; transition: color .2s; }
.ed-footer__social a:hover { color: #f0a070; }
.ed-footer__social a span { color: #bbb; }
.ed-footer__cols { display: grid; grid-template-columns: repeat(5, 1fr) 1.4fr; gap: 32px; margin-top: 80px; padding-top: 40px; border-top: 1px solid #2e2e2e; }
.ed-footer__hd { margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8a8a8a; }
.ed-footer__cols li a { display: inline-block; padding: 4px 0; font-size: 14.5px; color: #dcdcdc; transition: color .2s; }
.ed-footer__cols li a:hover { color: #f0a070; }
.ed-footer__news > p:not(.ed-footer__hd) { font-size: 14px; line-height: 1.5; color: #bdbdbd; }
.ed-footer__news form { position: relative; display: flex; flex-wrap: wrap; margin-top: 14px; border-bottom: 1px solid #555; }
.ed-footer__news input[type="email"] { flex: 1; min-width: 0; padding: 12px 0; background: transparent; border: 0; font: inherit; font-size: 15px; color: #fff; outline: none; }
.ed-footer__news input[type="email"]::placeholder { color: #7a7a7a; }
.ed-footer__news form:focus-within { border-color: #f0a070; }
.ed-footer__news button { padding: 0 4px; background: none; border: 0; font: inherit; font-size: 14px; font-weight: 600; color: #f0a070; cursor: pointer; }
.ed-footer__news button:hover { color: #fff; }
.ed-footer__news button[disabled] { opacity: .6; cursor: progress; }
.ed-footer__news .mf-news-msg { order: 3; flex-basis: 100%; margin: 0 0 10px; font-size: 13px; }
.ed-footer__news .mf-news-msg:empty { display: none; }
.ed-footer__news .mf-news-msg.is-ok { color: #7ee0a8; }
.ed-footer__news .mf-news-msg.is-err { color: #ffb3a6; }
.ed-footer .mf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
/* Legacy main.css .mf-news-form rules (gap, 10px radius, orange focus halo) must not reach the underline field. */
.ed-footer .mf-news-form { gap: 0; }
.ed-footer .mf-news-form input[type="email"],
.ed-footer .mf-news-form input[type="email"]:focus { min-width: 0; padding: 12px 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.ed-footer .mf-news-form button { padding: 0 4px; border-radius: 0; background: none; color: #f0a070; }
.ed-footer .mf-news-form button:hover { filter: none; color: #fff; }
.ed-footer__meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 56px; font-size: 13px; color: #8a8a8a; }
.ed-footer__regions { display: flex; flex-wrap: wrap; gap: 6px; }
.ed-footer__regions a { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border: 1px solid #333; border-radius: 999px; color: #cfcfcf; transition: border-color .2s, color .2s, background .2s; }
.ed-footer__regions a:hover,
.ed-footer__regions a[aria-current] { border-color: var(--ed-rust); color: #fff; background: rgba(194,65,12,.25); }
.ed-footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.ed-footer__legal a:hover { color: #fff; }
.ed-footer__wordmark { margin-top: 40px; font-family: var(--ed-sans); font-weight: 600; font-size: clamp(32px, 11.6vw, 224px); line-height: .78; letter-spacing: -0.04em; white-space: nowrap; text-align: center; user-select: none; }
.ed-footer__wordmark span { color: var(--ed-rust); }

@media (max-width: 1100px) {
  .ed-footer__cols { grid-template-columns: repeat(3, 1fr); }
  .ed-footer__news { grid-column: 1 / -1; max-width: 460px; }
}
@media (max-width: 900px) {
  .ed-footer__top { grid-template-columns: 1fr; }
  .ed-footer__side { padding: 0; }
}
@media (max-width: 640px) {
  .ed-footer { padding-top: 64px; }
  .ed-footer__inner { padding: 0 16px; }
  .ed-footer__h2 { margin-top: 32px; }
  .ed-footer__cols { grid-template-columns: 1fr 1fr; margin-top: 56px; }
}

/* ─────────────────────────────────────────────────────────
   REVEAL — only applied by editorial.js to below-the-fold
   elements, so content never depends on JS to be visible.
───────────────────────────────────────────────────────── */
.ed-reveal.is-pre { opacity: 0; translate: 0 18px; transition: opacity .7s ease, translate .7s ease, transform .3s ease, box-shadow .3s ease, border-color .2s ease; }
.ed-reveal.is-pre.is-in { opacity: 1; translate: none; }
@media print { .ed-reveal.is-pre { opacity: 1 !important; translate: none !important; } }

/* ─────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .ed-problem__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; }
  .ed-about__grid { gap: 56px 64px; }
  .ed-faq__grid { grid-template-columns: 340px 1fr; gap: 56px; }
  .ed-hero__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; }
}
@media (max-width: 1100px) {
  .ed-hero__row,
  .ed-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .ed-proof,
  .ed-verdict--hero,
  .ed-hero__photo { max-width: 460px; margin: 30px 0 0 6px; }
  .ed-stats { grid-template-columns: repeat(2, 1fr); }
  .ed-step::after { left: 26px; }
  .ed-step:first-child::after { top: calc(50% - 9px); }
  .ed-step:last-child::after { bottom: calc(50% + 9px); }
  .ed-step { grid-template-columns: 52px 1fr; column-gap: 24px; min-height: 0; padding-bottom: 18px; }
  .ed-step__num { grid-column: 1; }
  .ed-step:nth-child(n) .ed-step__card { grid-column: 2; }
  .ed-step:nth-child(n) .ed-step__num::before { left: 100%; right: auto; width: 24px; }
  .ed-galaxy { grid-template-columns: 1fr; }
  .ed-galaxy__title { order: -1; padding: 48px 24px 8px; }
  .ed-systems { grid-template-columns: repeat(2, 1fr); }
  .ed-diffs { grid-template-columns: 1fr; }
  .ed-people { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .ed-tiers { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 900px) {
  .ed-head { flex-direction: column; gap: 12px; }
  .ed-head__aside,
  .ed-head--right .ed-head__aside { text-align: left; padding-top: 0; }
  .ed-problem__grid,
  .ed-about__grid,
  .ed-faq__grid { grid-template-columns: 1fr; }
  .ed-verdict,
  .ed-faq__intro { position: static; }
  .ed-verdict { max-width: 460px; margin-left: 6px; }
  .ed-why__head { flex-direction: column; gap: 8px; }
  .ed-why__note { max-width: none; padding: 0; }
  .ed-why__note::before { display: none; }
  .ed-fit__grid,
  .ed-quotes { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --ed-gutter: 16px; }
  .ed-section { padding: 68px 0; }
  .ed-section--tight-top { padding-top: 16px; }
  .ed-hero { padding-top: calc(var(--h) + 48px); }
  .ed-hero--svc,
  .ed-hero--page { padding-top: calc(var(--h) + 24px); }
  .ed-crumbs { margin-bottom: 32px; }
  .ed-hero__lead,
  :is(.ed-hero--svc, .ed-hero--page) .ed-hero__lead { font-size: 18px; }
  .ed-proof__big { font-size: 44px; }
  .ed-stats { gap: 18px; }
  .ed-press { gap: 24px; }
  .ed-versus { grid-template-columns: 1fr; }
  .ed-versus > div + div { border-left: 0; border-top: 1px solid #e6e6e6; }
  .ed-kpis { grid-template-columns: 1fr; }
  .ed-systems { grid-template-columns: 1fr; }
  .ed-sys { min-height: 0; }
  .ed-piles { flex-wrap: wrap; gap: 8px 6px; padding: 24px 14px 20px; align-content: flex-end; }
  .ed-pile { display: contents; }
  .ed-pill { font-size: 13px; padding: 8px 13px; margin-top: 0; }
  .ed-case { flex-basis: 290px; }
  .ed-cta { padding: 32px 22px; }
  .ed-cta-wrap { padding: 48px 0 68px; }
  .ed-diff { padding: 22px 20px 24px; }
  .ed-diff h3 { font-size: 26px; }
  .ed-diff p { font-size: 18px; }
  .ed-faq summary { font-size: 20px; }
  .ed-faq details p { padding-right: 0; }
  .ed-people { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .ed-person h3 { font-size: 18px; }
  .ed-person__links { flex-direction: column; gap: 6px; }
  .ed-fit__card { padding: 20px; }
  .ed-fit__card p { font-size: 16px; }
  /* Ledger stacks: each cell carries its own Before / After tag. */
  .ed-ledger__hd { display: none; }
  .ed-ledger__row { grid-template-columns: 1fr; }
  .ed-ledger__row > div + div { border-left: 0; border-top: 1px dashed #eadfd3; }
  .ed-ledger__tag { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ed-muted); }
  .ed-ledger__row > div + div .ed-ledger__tag { color: var(--ed-rust); }
}
@media (max-width: 370px) {
  .ed-step__card { padding: 18px 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .ed *, .ed *::before, .ed *::after { animation: none !important; transition: none !important; }
  .ed-galaxy.is-armed .ed-pill { opacity: 1; }
  .ed-reveal.is-pre { opacity: 1; translate: none; }
}

/* ═════════════════════════════════════════════════════════
   PAGES — About page  (ed-ab-)
   ═════════════════════════════════════════════════════════ */
/* ═════════════════════════════════════════════════════════
   ABOUT — page-about.php (/about/)
   Composes the editorial primitives; only About-specific
   layout lives here and every class is prefixed ed-ab-.
   Local overrides of shared ed- components are written as
   compound selectors (.ed-x.ed-ab-y) so they win on
   specificity, whatever order the files are merged in.
   ═════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────
   HERO — the <em> phrase takes its own line; the stat band
   uses serif numerals instead of the homepage's 18px figures.
───────────────────────────────────────────────────────── */
.ed-ab-hero .ed-hero__h1 em { display: block; }

.ed-stats.ed-ab-stats { margin-top: 72px; padding: 26px 0 24px; }
.ed-stats.ed-ab-stats b {
  font-family: var(--ed-serif);
  font-size: 46px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.015em;
  font-variant-numeric: lining-nums;
  color: var(--ed-ink);
}
.ed-stats.ed-ab-stats span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--ed-ink-2); }

/* ─────────────────────────────────────────────────────────
   SIX SYSTEMS — long intro under a stacked section head.
───────────────────────────────────────────────────────── */
.ed-ab-lede { max-width: 780px; margin-top: 22px; font-size: 18px; line-height: 1.6; color: var(--ed-ink-2); }

/* ─────────────────────────────────────────────────────────
   COMPANY — head and founding-principle note on the left,
   story on the right. Grid areas keep the DOM order
   (head → story → note) for reading order and mobile.
───────────────────────────────────────────────────────── */
.ed-ab-story {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "head body"
    "note body";
  column-gap: 96px;
  align-items: start;
}
.ed-ab-story__head { grid-area: head; }
.ed-ab-story__body { grid-area: body; padding-top: 38px; }
.ed-ab-story__body .ed-about__copy + .ed-about__copy { margin-top: 22px; }

.ed-verdict.ed-ab-principle { grid-area: note; max-width: 500px; margin: 52px 0 0 6px; }
.ed-ab-principle blockquote p { position: relative; font-size: 24px; line-height: 1.3; }
.ed-ab-principle blockquote p::before {
  content: '\201C';
  position: absolute;
  left: -15px;
  top: -5px;
  color: var(--ed-yellow);
  font-family: var(--ed-serif);
  font-size: 40px;
  line-height: 1;
}

/* ─────────────────────────────────────────────────────────
   TEAM — wide taped polaroids with bios: photo left, name /
   role / bio / links right. Person microdata lives in the
   markup; this only lays it out.
───────────────────────────────────────────────────────── */
.ed-ab-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 40px; padding-top: 20px; }

.ed-person.ed-ab-person {
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
  grid-template-rows: auto auto auto 1fr;
  grid-template-areas:
    "photo name"
    "photo role"
    "photo bio"
    "photo links";
  column-gap: 26px;
  padding: 12px 24px 12px 12px;
}
/* Wide cards tilt less than the compact homepage polaroids. */
.ed-person.ed-ab-person:nth-child(odd)  { transform: rotate(-.7deg); }
.ed-person.ed-ab-person:nth-child(even) { transform: rotate(.6deg); }
.ed-person.ed-ab-person:hover { transform: rotate(0) translateY(-4px); }
.ed-person.ed-ab-person::before { left: 20%; }

.ed-ab-person__photo { grid-area: photo; align-self: start; }
.ed-person.ed-ab-person h3 { grid-area: name; margin: 12px 0 0; font-size: 26px; line-height: 1.15; }
.ed-person.ed-ab-person .ed-person__role { grid-area: role; margin: 5px 0 0; }
.ed-ab-person__bio { grid-area: bio; margin-top: 14px; font-size: 15px; line-height: 1.6; color: #3a3a3a; }
.ed-person.ed-ab-person .ed-person__links { grid-area: links; align-self: start; flex-direction: row; gap: 16px; margin: 16px 0 4px; }
.ed-ab-person__links svg { width: 10px; height: 10px; flex-shrink: 0; }

/* ─────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .ed-ab-story { column-gap: 64px; }
}
@media (max-width: 1100px) {
  /* editorial.css stacks every hero grid here; a photo still fits beside the copy. */
  .ed-ab-hero .ed-hero__grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; }
  .ed-stats.ed-ab-stats { margin-top: 64px; }

  /* One card per row: a fixed photo column keeps photo and text heights close. */
  .ed-ab-people { grid-template-columns: minmax(0, 1fr); max-width: 860px; gap: 48px; }
  .ed-person.ed-ab-person { grid-template-columns: 220px minmax(0, 1fr); }
  .ed-person.ed-ab-person::before { left: 122px; }
}
@media (max-width: 900px) {
  /* Stacked hero: editorial.css only caps .ed-proof / .ed-verdict--hero here, and the
     grid's row gap already separates the photo from the buttons. */
  .ed-ab-hero .ed-hero__grid { grid-template-columns: minmax(0, 1fr); row-gap: 56px; }
  .ed-ab-hero .ed-hero__photo { max-width: 520px; margin: 0 0 0 6px; }

  .ed-ab-story {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
      "head"
      "body"
      "note";
  }
  .ed-ab-story__body { padding-top: 24px; }
  .ed-verdict.ed-ab-principle { max-width: 520px; margin: 44px 0 0 6px; }
}
@media (max-width: 640px) {
  .ed-ab-hero .ed-hero__grid { row-gap: 44px; }
  .ed-stats.ed-ab-stats { margin-top: 48px; padding: 22px 0 20px; row-gap: 24px; }
  .ed-stats.ed-ab-stats b { font-size: 36px; }
  .ed-stats.ed-ab-stats span { font-size: 13.5px; }
  .ed-ab-lede { margin-top: 16px; font-size: 17px; }
  .ed-ab-story__body .ed-about__copy { font-size: 17.5px; }
  .ed-ab-principle blockquote p { font-size: 21px; }
  .ed-verdict.ed-ab-principle { padding: 24px 22px 24px 28px; }

  .ed-ab-people { gap: 40px; }
  .ed-person.ed-ab-person {
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas:
      "photo name"
      "photo role"
      "photo links"
      "bio bio";
    column-gap: 16px;
    padding: 10px 14px 18px 10px;
  }
  .ed-person.ed-ab-person::before { left: 58px; }
  .ed-person.ed-ab-person h3 { margin-top: 6px; font-size: 22px; }
  .ed-person.ed-ab-person .ed-person__links { gap: 14px; margin: 10px 0 0; }
  .ed-ab-person__bio { margin: 16px 4px 0; }
}

/* ═════════════════════════════════════════════════════════
   PAGES — Case study (single)  (ed-cs-)
   ═════════════════════════════════════════════════════════ */
/* ═════════════════════════════════════════════════════════
   CASE STUDY — single-ignited_case.php   (prefix: ed-cs-)
   Composes editorial.css. Local overrides of ed- components
   are scoped under an ed-cs- class.

   The case body is stored post_content (inc/case-seed.php)
   that keeps its cs-* classes, so .ed-cs-prose restyles them
   and neutralises the legacy unscoped main.css rules that
   would otherwise paint dark-theme colours on white
   (.cs-h2, .cs-snapshot p, .cs-list*, .cs-results-table*).
   ═════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────── */
/* Case titles are full sentences (75–102 chars): a notch below the
   service hero so they stay at 3–4 lines. */
.ed-cs-hero .ed-hero__h1 { font-size: clamp(38px, 4.1vw, 60px); line-height: 1.05; }
.ed-cs-hero .ed-hero__h1.is-long { font-size: clamp(32px, 3.5vw, 50px); line-height: 1.08; }
.ed-cs-hero .ed-hero__kicker { line-height: 1.4; }
/* The current crumb is the full case title — truncate it visually (the H1
   right below carries it in full; the DOM text stays complete). */
.ed-cs-hero .ed-crumbs li:last-child { min-width: 0; max-width: 100%; }
.ed-cs-hero .ed-crumbs [aria-current="page"] { display: block; min-width: 0; max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Notepad: headline result + engagement facts. */
.ed-cs-proof__result {
  margin: 14px 0 4px;
  font-family: var(--ed-serif-2);
  font-size: 27px;
  line-height: 1.2;
  color: var(--ed-ink);
}
.ed-cs-proof .ed-cs-facts { margin-top: 16px; font-size: 14.5px; }
.ed-cs-proof .ed-cs-facts th {
  width: 34%;
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--ed-muted);
  background: #f6f6f6;
  border-top: 1px solid #ececec;
}
.ed-cs-proof .ed-cs-facts td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  white-space: normal;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ed-ink);
}
.ed-cs-proof .ed-cs-facts tr:last-child th { border-bottom: 1px solid #ececec; }
.ed-cs-proof .ed-cs-facts a { display: inline; color: var(--ed-rust); border-bottom: 1px solid currentColor; transition: color .2s; }
.ed-cs-proof .ed-cs-facts a:hover { color: var(--ed-ink); }
.ed-cs-proof .ed-cs-facts a svg { display: inline-block; width: 10px; height: 10px; margin-left: 3px; vertical-align: 1px; }
.ed-cs-proof .ed-proof__foot { margin-top: 16px; }
.ed-cs--candid .ed-cs-proof .ed-proof__label { color: var(--ed-brown-2); }

/* Key metrics band — sits at the foot of the hero, like the homepage stats. */
.ed-cs-metrics { margin-top: 64px; }
.ed-cs-metrics .ed-metrics { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px 40px; }
.ed-cs-metrics .ed-metrics b { font-size: 38px; }
.ed-cs-metrics .ed-metrics span { max-width: 300px; }
/* Candid (honest non-win): neutral figures, never win green. */
.ed-cs--candid .ed-cs-metrics .ed-metrics b { color: var(--ed-brown-2); }

/* ─────────────────────────────────────────────────────────
   BODY — "On this page" index + long-form prose
───────────────────────────────────────────────────────── */
.ed-cs-body { padding-top: 88px; }
.ed-cs-story.ed-split--left { grid-template-columns: 236px minmax(0, 1fr); gap: 80px; }
.ed-cs-story--solo .ed-cs-prose { margin-inline: auto; }

.ed-cs-toc { padding-top: 6px; }
.ed-cs-toc__hd {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ed-line);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ed-muted);
}
.ed-cs-toc ol { display: grid; margin-top: 8px; }
.ed-cs-toc a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  font-size: 15px;
  line-height: 1.35;
  color: var(--ed-ink-2);
  transition: color .2s, transform .2s;
}
.ed-cs-toc a span { flex-shrink: 0; font-family: var(--ed-mono); font-size: 11.5px; color: var(--ed-rust); }
.ed-cs-toc a:hover { color: var(--ed-rust); transform: translateX(3px); }

/* Prose — section rhythm. .ed-prose only spaces direct children; the
   stored body nests everything in section.cs-section. min-width: 0 keeps
   the grid item from growing to the results table's minimum width. */
.ed-cs-prose { min-width: 0; counter-reset: ed-cs-sec; }
.ed-cs-prose > .cs-section + .cs-section { margin-top: 72px; }
.ed-cs-prose > .cs-section + .cs-section:not(:has(> h2)) { margin-top: 1.1em; }
.ed-cs-prose .cs-section > * + * { margin-top: 1.1em; }

/* Headings: serif, numbered to match the index. Overrides main.css .cs-h2. */
/* Anchor offset comes from main.css html { scroll-padding-top }. */
.ed-cs-prose h2 { counter-increment: ed-cs-sec; }
.ed-cs-prose .cs-section > h2,
.ed-cs-prose .cs-h2 {
  margin: 0 0 .55em;
  font-family: var(--ed-serif);
  font-weight: 500;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ed-ink);
}
.ed-cs-prose > h2:first-child,
.ed-cs-prose > .cs-section:first-child > h2:first-child { margin-top: 0; }
.ed-cs-prose h2::before {
  content: counter(ed-cs-sec, decimal-leading-zero);
  content: counter(ed-cs-sec, decimal-leading-zero) / '';
  display: block;
  width: fit-content;
  margin-bottom: 14px;
  padding-left: 38px;
  background: linear-gradient(var(--ed-rust), var(--ed-rust)) left center / 28px 1.5px no-repeat;
  font-family: var(--ed-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.4;
  color: var(--ed-rust);
}

/* Client snapshot reads as the standfirst. Overrides main.css .cs-snapshot p. */
.ed-cs-prose .cs-snapshot p {
  font-family: var(--ed-serif-2);
  font-size: 23px;
  line-height: 1.45;
  color: var(--ed-ink);
}

/* Numbered diagnosis / build lists. Replaces both the .ed-prose decimal
   markers and the main.css .cs-list counter badges (no double numbering). */
.ed-cs-prose .cs-list {
  display: grid;
  gap: 16px;
  margin-top: 1.3em;
  padding-left: 0;
  list-style: none;
  counter-reset: ed-cs-li;
}
.ed-cs-prose .cs-list > li {
  position: relative;
  margin: 0;
  padding-left: 52px;
  font-size: 17px;
  line-height: 1.62;
  color: #2a2a2a;
  counter-increment: ed-cs-li;
}
.ed-cs-prose .cs-list > li::before {
  content: counter(ed-cs-li, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 27px;
  border: 1px solid #f6d9c8;
  border-radius: 8px;
  background: #fdf0e8;
  font-family: var(--ed-mono);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: var(--ed-rust);
}
.ed-cs-prose .cs-built > li::before {
  content: '';
  background: #fdf0e8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23c2410c' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8l3.5 3.5L13 5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.ed-cs-prose .cs-extra-list > li { padding-left: 30px; counter-increment: none; }
.ed-cs-prose .cs-extra-list > li::before {
  content: '→';
  top: 0;
  width: auto;
  height: auto;
  display: block;
  border: 0;
  border-radius: 0;
  background: none;
  font-family: var(--ed-sans);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.62;
}
.ed-cs-prose .cs-list strong { font-weight: 600; color: var(--ed-ink); }

/* Results table — wrapper scrolls if needed, styled like .ed-table-wrap. */
.ed-cs-prose .cs-results {
  margin-top: 1.3em;
  overflow-x: auto;
  border: 1px solid var(--ed-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
}
.ed-cs-prose .cs-results-table { width: 100%; min-width: 560px; font-size: 15px; line-height: 1.45; background: #fff; }
.ed-cs-prose .cs-results-table th {
  padding: 13px 16px;
  text-align: left;
  font-family: var(--ed-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ed-muted);
  background: #fafafa;
  border: 0;
  border-bottom: 1px solid var(--ed-line);
}
.ed-cs-prose .cs-results-table td {
  padding: 14px 16px;
  vertical-align: top;
  color: #3a3a3a;
  border: 0;
  border-top: 1px solid #efefef;
}
.ed-cs-prose .cs-results-table tr:first-child td { border-top: 0; }
.ed-cs-prose .cs-results-table .cs-r-metric { width: 30%; font-weight: 500; color: var(--ed-ink); }
.ed-cs-prose .cs-results-table .cs-r-before { color: var(--ed-muted); }
/* A shade darker than --ed-green: 15px text needs 4.5:1 on white. */
.ed-cs-prose .cs-results-table .cs-r-after { font-weight: 600; color: #1a7a34; }
.ed-cs-prose .cs-results-table .cs-r-period { font-size: 14px; color: var(--ed-muted); }
.ed-cs--candid .ed-cs-prose .cs-results-table .cs-r-after { color: var(--ed-ink); }

/* ─────────────────────────────────────────────────────────
   EVIDENCE — polaroids, performance snapshot as the feature
───────────────────────────────────────────────────────── */
/* auto-fit: extra screenshots share the row instead of leaving empty
   columns; the gallery is capped so the row lines up with the feature. */
.ed-cs-gallery { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 36px; max-width: 1120px; margin-inline: auto; }
.ed-cs-gallery figure { justify-self: center; width: 100%; max-width: 560px; }
.ed-cs-shot a { display: block; }
.ed-cs-shot img { background: #fff; }
.ed-cs-shot img.is-unsized { aspect-ratio: 25 / 16; object-fit: contain; }
.ed-cs-evidence .ed-cs-gallery figure.ed-cs-shot--feature {
  grid-column: 1 / -1;
  max-width: none;
  padding: 12px 12px 16px;
  transform: rotate(-.5deg);
}
.ed-cs-evidence .ed-cs-gallery figure.ed-cs-shot--feature:hover { transform: rotate(0) translateY(-3px); }
.ed-cs-shot--feature figcaption { margin-top: 12px; font-size: 14px; }

/* ─────────────────────────────────────────────────────────
   CLIENT QUOTE — cream note (hidden until a quote is entered)
───────────────────────────────────────────────────────── */
.ed-cs-quote-wrap { padding-bottom: 0; }
.ed-cs-quote { max-width: 860px; margin-inline: auto; padding: 38px 44px 30px; }
.ed-cs-quote blockquote { position: relative; font-family: var(--ed-serif-2); font-size: 28px; line-height: 1.35; color: #2a2a2a; }
.ed-cs-quote blockquote p { margin: 0; font: inherit; color: inherit; }
.ed-cs-quote blockquote::before { content: '\201C'; position: absolute; left: -22px; top: -8px; color: var(--ed-yellow); font-family: var(--ed-serif); font-size: 54px; line-height: 1; }
.ed-cs-quote figcaption { margin-top: 22px; padding-top: 14px; border-top: 1px solid #e4dcd0; font-size: 14px; color: var(--ed-muted); }

/* ─────────────────────────────────────────────────────────
   CTA BAND — copy column may shrink, so the buttons stay
   beside it on desktop even with the longer candid headline.
───────────────────────────────────────────────────────── */
.ed-cs .ed-cta > div:first-child { flex: 1 1 520px; min-width: 0; }

/* ─────────────────────────────────────────────────────────
   RELATED — pinned case cards on a string, as a grid
───────────────────────────────────────────────────────── */
.ed-cs-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 46px;
  align-items: start;
  padding: 4px 24px 8px;
}

/* ─────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ed-cs-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Two columns: an odd last card centres under the pair. */
  .ed-cs-related__grid > .ed-case:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 23px); }
  .ed-cs-metrics { margin-top: 48px; }
}
@media (max-width: 1000px) {
  .ed-cs-toc { display: none; }
  .ed-cs-story.ed-split--left { grid-template-columns: minmax(0, 1fr); }
  /* Centre without auto margins: those would size the grid item to
     fit-content, floored at the results table's min-content width. */
  .ed-cs-story.ed-split--left .ed-cs-prose { justify-self: center; width: 100%; }
}
@media (max-width: 900px) {
  .ed-cs-body { padding-top: 72px; }
  .ed-cs-prose > .cs-section + .cs-section { margin-top: 60px; }
}
@media (max-width: 640px) {
  .ed-cs-hero .ed-hero__h1 { font-size: 34px; line-height: 1.08; }
  .ed-cs-hero .ed-hero__h1.is-long { font-size: 30px; line-height: 1.1; }
  .ed-cs-hero .ed-crumbs [aria-current="page"] { max-width: 100%; }
  .ed-cs .ed-cta__btns .ed-btn { padding: 0 18px; font-size: 16px; }
  .ed-cs-proof__result { font-size: 24px; }
  .ed-cs-metrics { margin-top: 40px; }
  .ed-cs-metrics .ed-metrics { grid-template-columns: 1fr; gap: 18px; padding: 22px 0; }
  .ed-cs-metrics .ed-metrics b { font-size: 30px; }
  .ed-cs-body { padding-top: 56px; }
  .ed-cs-prose > .cs-section + .cs-section { margin-top: 52px; }
  .ed-cs-prose .cs-section > h2,
  .ed-cs-prose .cs-h2 { font-size: 29px; }
  .ed-cs-prose .cs-snapshot p { font-size: 20px; }
  .ed-cs-prose .cs-list > li { padding-left: 46px; font-size: 16.5px; }
  .ed-cs-prose .cs-extra-list > li { padding-left: 28px; }
  /* Four short columns fit at phone width once they may wrap — no sideways scroll. */
  /* Auto layout gives the room to the wordiest columns; hyphenation keeps the
     narrow ones from forcing the table wider than the phone. */
  .ed-cs-prose .cs-results-table { min-width: 0; font-size: 14px; line-height: 1.4; }
  .ed-cs-prose .cs-results-table th,
  .ed-cs-prose .cs-results-table td { padding: 11px 8px; }
  .ed-cs-prose .cs-results-table td { -webkit-hyphens: auto; hyphens: auto; }
  .ed-cs-prose .cs-results-table th { font-size: 10.5px; letter-spacing: .04em; }
  .ed-cs-prose .cs-results-table th:first-child,
  .ed-cs-prose .cs-results-table td:first-child { padding-left: 12px; }
  .ed-cs-prose .cs-results-table th:last-child,
  .ed-cs-prose .cs-results-table td:last-child { padding-right: 12px; }
  .ed-cs-prose .cs-results-table .cs-r-period { font-size: 13px; }
  .ed-cs-gallery { grid-template-columns: 1fr; gap: 28px; }
  .ed-cs-evidence .ed-cs-gallery figure.ed-cs-shot--feature { padding: 8px 8px 12px; }
  .ed-cs-quote { padding: 28px 24px 22px 34px; }
  .ed-cs-quote blockquote { font-size: 22px; }
  .ed-cs-quote blockquote::before { left: -20px; font-size: 44px; }
  .ed-cs-related__string { display: none; }
  .ed-cs-related__grid { grid-template-columns: 1fr; gap: 44px; padding: 18px 6px 0; }
  .ed-cs-related__grid > .ed-case:last-child:nth-child(odd) { grid-column: auto; justify-self: stretch; width: auto; }
}

/* ═════════════════════════════════════════════════════════
   PAGES — Contact + Let's talk  (ed-ct- / ed-lt-)
   ═════════════════════════════════════════════════════════ */
/* ═════════════════════════════════════════════════════════
   CONTACT (ed-ct-) + LET'S TALK (ed-lt-)
   page-contact.php, template-parts/calendly.php, page-lets-talk.php.
   Composes the editorial primitives (hero, ed-cards, ed-proof, ed-form,
   ed-metrics, ed-cta); only page-specific pieces live here. Overrides of
   ed-* classes are always scoped under an ed-ct- / ed-lt- class.
   ═════════════════════════════════════════════════════════ */

/* Balanced display lines — no one-word orphans ("grow.", "you."). */
:is(.ed-ct, .ed-lt) :is(.ed-hero__h1, .ed-h2, .ed-cta h2) { text-wrap: balance; }

/* ─────────────────────────────────────────────────────────
   CONTACT — method cards
   --cols comes from the template: four cards fill one row; with a phone
   number (five cards) the enquiry card spans two of three columns.
───────────────────────────────────────────────────────── */
.ed-ct-cards--lead-wide > .ed-ct-card--lead { grid-column: span 2; }
.ed-ct-card .ed-card__foot .ed-link { overflow-wrap: anywhere; }
.ed-ct-card__meta { display: block; font-size: 13.5px; line-height: 1.45; color: var(--ed-muted); }
.ed-chips.ed-ct-socials { gap: 8px; }
.ed-ct-socials .ed-chip { padding: 7px 13px; font-size: 13.5px; }

/* ─────────────────────────────────────────────────────────
   CONTACT — Calendly frame (template-parts/calendly.php)
   Static frame (no hover lift under a live iframe). The fallback sits after
   .calendly-inline-widget: it fades in after 3s and disappears as soon as
   widget.js injects its iframe, so it only shows when the script is
   blocked, slow or JS is off.
───────────────────────────────────────────────────────── */
.ed-ct-embed {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(0,0,0,.06);
}
.ed-ct-embed__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--ed-line);
}
.ed-ct-embed__label { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--ed-ink-2); }
.ed-ct-embed__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ed-green); box-shadow: 0 0 0 3px rgba(31,138,59,.15); }
.ed-ct-embed__stage { position: relative; }
.ed-ct-embed .calendly-inline-widget { width: 100%; }
.ed-ct-embed__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px 24px;
  text-align: center;
  color: var(--ed-ink-2);
  animation: ed-ct-reveal .4s ease 3s both;
}
.ed-ct-embed__fallback-h { font-family: var(--ed-serif); font-weight: 500; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; color: var(--ed-ink); }
.ed-ct-embed__fallback p:not(.ed-ct-embed__fallback-h) { max-width: 420px; font-size: 16px; line-height: 1.5; }
.ed-ct-embed__fallback .ed-btn { margin-top: 8px; }
.ed-ct-embed .calendly-inline-widget:not(:empty) + .ed-ct-embed__fallback { display: none; }
@keyframes ed-ct-reveal {
  from { opacity: 0; visibility: hidden; }
  to   { opacity: 1; visibility: visible; }
}

/* ─────────────────────────────────────────────────────────
   LET'S TALK — state guard
   lets-talk.js and the ?sent / ?lead_error renders toggle #ltForm,
   #ltSuccess and #ltError with the hidden attribute; ed-form / ed-lt-done
   set display, which would beat the UA [hidden] rule.
───────────────────────────────────────────────────────── */
.ed-lt [hidden] { display: none !important; }

/* ─────────────────────────────────────────────────────────
   LET'S TALK — hero (compact, so the form starts near the fold)
───────────────────────────────────────────────────────── */
.ed-hero.ed-lt-hero { padding-bottom: 56px; }
.ed-lt-hero .ed-crumbs { margin-bottom: 40px; }
.ed-hero__meta.ed-lt-points { gap: 8px 22px; color: var(--ed-ink-2); }
.ed-lt-points li { display: inline-flex; align-items: center; gap: 8px; }
.ed-lt-points svg { flex: none; width: 15px; height: 15px; color: var(--ed-rust); }
.ed-lt-call .ed-link { margin-left: 4px; }

/* Client notepad — composes .ed-proof (rings, label, foot). */
.ed-lt-clients__list { margin-top: 14px; border-top: 1px solid #ececec; }
.ed-lt-client { border-bottom: 1px solid #ececec; }
.ed-lt-client > a,
.ed-lt-client__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 6px 4px 6px 2px;
}
.ed-lt-client__name { font-family: var(--ed-serif); font-weight: 500; font-size: 20px; line-height: 1.2; color: var(--ed-ink); transition: color .2s; }
.ed-lt-client svg { flex: none; width: 12px; height: 12px; color: #a3a3a3; transition: color .2s, transform .2s; }
.ed-lt-client > a:hover .ed-lt-client__name,
.ed-lt-client > a:hover svg { color: var(--ed-rust); }
.ed-lt-client > a:hover svg { transform: translate(2px, -2px); }
/* Fixed contain box: logos of any aspect ratio, no layout shift. */
.ed-lt-client__logo { width: 140px; height: 36px; object-fit: contain; object-position: left center; filter: grayscale(1) contrast(1.15); opacity: .7; transition: opacity .25s, filter .25s; }
.ed-lt-client > a:hover .ed-lt-client__logo { opacity: 1; filter: none; }

/* ─────────────────────────────────────────────────────────
   LET'S TALK — form sheet
───────────────────────────────────────────────────────── */
.ed-section.ed-lt-main { padding-top: 56px; }
.ed-lt-sheet {
  position: relative;
  background: var(--ed-cream);
  padding: 36px 36px 32px;
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}
.ed-lt-sheet::before { content: ''; position: absolute; top: -10px; left: 50%; width: 84px; height: 22px; margin-left: -42px; background: rgba(230,215,180,.75); transform: rotate(-2deg); }

.ed-lt-form__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e4dcd0;
}
.ed-lt-form__title { font-family: var(--ed-serif); font-weight: 500; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -0.01em; }
.ed-lt-req { color: var(--ed-rust); }
/* A little less arrow gutter so paired selects keep their longest label. */
.ed-lt-form .ed-select { padding-right: 36px; background-position: right 13px center; }
.ed-lt-error { padding: 12px 16px; background: #fff4f2; border: 1px solid #f3c4bd; border-radius: 12px; }

/* Services fieldset — UA border/padding off; floated legend lays out like a label. */
.ed-lt-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.ed-lt-fieldset > legend { float: left; width: 100%; padding: 0; margin-bottom: 10px; }
.ed-lt-fieldset > legend + * { clear: both; }
.ed-lt-fieldset .ed-choice span { gap: 8px; }
.ed-lt-fieldset .ed-choice span:hover { border-color: #b9b9b9; }
.ed-lt-fieldset .ed-choice input:checked + span::before {
  content: '';
  flex: none;
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8l3.5 3.5L13 5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8l3.5 3.5L13 5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Turnstile renders a 300×65 iframe — reserve it. */
.ed-lt-turnstile { min-height: 65px; }

.ed-lt-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  padding-top: 22px;
  border-top: 1px solid #e4dcd0;
}
.ed-lt-actions .ed-form__note { flex: 1 1 220px; max-width: 360px; }
/* .lt-submit / .lt-submit-spin / .is-loading keep their main.css spinner rules. */
.ed-btn.ed-lt-submit { min-width: 200px; justify-content: center; }
.ed-lt-submit__ic { display: inline-flex; }
.ed-lt-submit.is-loading .ed-lt-submit__ic { display: none; }

/* Success panel (#ltSuccess). */
.ed-lt-done { display: grid; justify-items: start; gap: 14px; padding: 6px 0; }
.ed-lt-done__mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fdf0e8; border: 1px solid var(--ed-rust); color: var(--ed-rust); }
.ed-lt-done__mark svg { width: 26px; height: 26px; }
.ed-lt-done__h { font-family: var(--ed-serif); font-weight: 500; font-size: clamp(28px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -0.01em; }
.ed-lt-done p { max-width: 460px; font-size: 16px; line-height: 1.5; color: var(--ed-ink-2); }

/* ─────────────────────────────────────────────────────────
   LET'S TALK — aside: team, contact details, stats
───────────────────────────────────────────────────────── */
.ed-lt-aside { display: grid; gap: 20px; align-content: start; }
.ed-lt-card { background: #fff; border: 1px solid var(--ed-line); border-radius: 18px; padding: 22px 22px 20px; }
.ed-lt-card__h { margin-bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ed-muted); }

.ed-lt-team__note { font-family: var(--ed-serif-2); font-size: 19px; line-height: 1.35; color: #2a2a2a; }
.ed-lt-team__list { margin-top: 16px; }
.ed-lt-person { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #efefef; }
.ed-lt-person:last-child { padding-bottom: 0; }
.ed-lt-person__photo { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; background: #eee; }
.ed-lt-person__id { flex: 1; min-width: 0; line-height: 1.3; }
.ed-lt-person__id b { display: block; font-family: var(--ed-serif); font-weight: 700; font-size: 17px; }
.ed-lt-person__id span { display: block; margin-top: 2px; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ed-rust); }
.ed-lt-person__links { display: flex; gap: 6px; }
.ed-lt-person__links a { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--ed-line); border-radius: 50%; color: var(--ed-ink-2); transition: border-color .2s, color .2s; }
.ed-lt-person__links a:hover { border-color: var(--ed-rust); color: var(--ed-rust); }

.ed-lt-contact__list { display: grid; gap: 12px; }
.ed-lt-contact__list li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; line-height: 1.4; color: var(--ed-ink-2); }
.ed-lt-contact__list svg { flex: none; width: 16px; height: 16px; color: var(--ed-rust); }
.ed-lt-contact__list a { color: var(--ed-ink); border-bottom: 1px solid #d6d6d6; overflow-wrap: anywhere; transition: color .2s, border-color .2s; }
.ed-lt-contact__list a:hover { color: var(--ed-rust); border-color: currentColor; }

.ed-metrics.ed-lt-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 18px 0; }
.ed-metrics.ed-lt-stats b { font-size: 26px; }
.ed-metrics.ed-lt-stats span { margin-top: 4px; font-size: 12.5px; line-height: 1.35; }

/* Sticky only beside the form and only when the whole aside (~780px) fits
   below the header — otherwise its stats would hide while it is stuck. */
@media (min-width: 1001px) and (min-height: 900px) {
  .ed-lt-aside { position: sticky; top: var(--ed-sticky); }
}

/* ─────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────── */
/* Narrow laptops / tablet landscape: slimmer aside so paired fields keep
   their full select labels (ed-split itself stacks at ≤1000px). */
@media (min-width: 1001px) and (max-width: 1240px) {
  .ed-split.ed-lt-split { grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; }
  .ed-lt-sheet { padding: 30px 24px 28px; }
}
@media (max-width: 1100px) {
  .ed-ct-cards--lead-wide > .ed-ct-card--lead { grid-column: 1 / -1; }
}
/* "How did you hear" sits alone in its row at half width; where the form
   column is narrowest it takes the full row so its longest option fits. */
@media (min-width: 1001px) and (max-width: 1100px) {
  .ed-form__row.ed-lt-form__solo { grid-template-columns: 1fr; }
}
/* Keep the client notepad beside the intro until phones/tablets portrait, so
   the form stays near the fold. */
@media (min-width: 901px) and (max-width: 1100px) {
  .ed-lt-hero .ed-hero__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; }
  .ed-lt-hero .ed-proof { max-width: none; margin: 0; }
}
@media (max-width: 900px) {
  .ed-lt-sheet { padding: 30px 26px 28px; }
}
@media (max-width: 640px) {
  .ed-ct-cards--lead-wide > .ed-ct-card--lead { grid-column: auto; }
  .ed-ct-embed__bar { padding: 12px 16px; }
  .ed-ct-embed__fallback { padding: 24px 18px; }

  .ed-lt-hero .ed-crumbs { margin-bottom: 28px; }
  .ed-section.ed-lt-main { padding-top: 44px; }
  .ed-lt-sheet { padding: 26px 18px 22px; }
  .ed-btn.ed-lt-submit { width: 100%; }
  .ed-lt-actions .ed-form__note { max-width: none; }
  .ed-lt-team__note { font-size: 18px; }
}
/* Calendly's container needs min-width:320px (inline): on the smallest
   phones the frame bleeds to the screen edges so the calendar isn't clipped. */
@media (max-width: 360px) {
  .ed-ct-embed { margin-inline: calc(var(--ed-gutter) * -1); border-width: 1px 0; border-radius: 0; }
  .ed-lt-sheet { padding-inline: 14px; }
}

/* ═════════════════════════════════════════════════════════
   PAGES — Evidence hub + categories  (ed-ev-)
   ═════════════════════════════════════════════════════════ */
/* ═════════════════════════════════════════════════════════
   EVIDENCE — hub (page-evidence.php, /evidence/) and the
   category pages (templates/evidence-category.php,
   /evidence/{slug}/). Composes editorial.css components;
   page-only rules use the ed-ev- prefix. Overrides of ed-
   components are scoped under an ed-ev- class and are more
   specific than the base rule, so file order never matters.

   The header's ev-* classes (ev-drop, ev-link, ev-dot, ev-hr,
   ev-cta) belong to the Evidence dropdown — never reuse them.
   ═════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────
   HUB — "at a glance" notepad + library cards
───────────────────────────────────────────────────────── */
.ed-ev-glance td.ed-ev-glance__soon { font-weight: 400; font-style: italic; color: var(--ed-muted); }
.ed-ev-glance .ed-proof__foot a { white-space: nowrap; }

.ed-ev-library.ed-systems { margin-top: 0; }

/* ─────────────────────────────────────────────────────────
   CASE CARDS — ignited_ed_case_card() on a wrapping grid
   (the homepage puts the same cards on a draggable track).
   Equal-height rows: the title grows so metrics + link sit
   on one baseline; the "Read the full case study" link is
   stretched so the whole card is the target.
───────────────────────────────────────────────────────── */
.ed-ev-cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px 40px;
  align-items: stretch;
  padding: 30px 6px 8px;
}
.ed-ev-cases .ed-case { display: flex; flex-direction: column; flex: none; min-width: 0; margin-top: 0; }
.ed-ev-cases .ed-case h3 { flex-grow: 1; min-height: 0; }
.ed-ev-cases .ed-case .ed-case__visit { align-self: flex-start; }
.ed-ev-cases .ed-case .ed-case__visit::after { content: ''; position: absolute; inset: 0; z-index: 2; }

/* ─────────────────────────────────────────────────────────
   RECEIPTS — snapshot polaroids, caption link stretched over
   the whole frame (the image itself is alt="").
───────────────────────────────────────────────────────── */
.ed-ev-shots.ed-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; padding: 6px 6px 0; }
.ed-ev-shots .ed-ev-shot { position: relative; }
.ed-ev-shots .ed-ev-shot__img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; background: #16161a; }
.ed-ev-shots.ed-gallery figcaption { margin: 12px 4px 2px; font-size: 14.5px; line-height: 1.4; color: var(--ed-ink); }
.ed-ev-shots .ed-ev-shot__link { transition: color .2s; }
.ed-ev-shots .ed-ev-shot__link::after { content: ''; position: absolute; inset: 0; }
.ed-ev-shots .ed-ev-shot:hover .ed-ev-shot__link { color: var(--ed-rust); }

/* ─────────────────────────────────────────────────────────
   RESULTS LIBRARY — snapshot rows: meta | before | after,
   impact strip underneath (ledger colours).
───────────────────────────────────────────────────────── */
.ed-ev-results { display: grid; gap: 20px; }
.ed-ev-result {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "meta before after"
    "meta impact impact";
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.ed-ev-result:hover { border-color: #d6d6d6; box-shadow: 0 14px 30px rgba(0,0,0,.05); }
.ed-ev-result__meta { grid-area: meta; padding: 22px 24px 24px; border-right: 1px solid var(--ed-line); background: #fcfcfc; }
.ed-ev-result__n { display: block; font-family: var(--ed-serif); font-weight: 700; font-size: 44px; line-height: 1; color: var(--ed-rust); font-variant-numeric: oldstyle-nums; }
.ed-ev-result__meta .ed-chips { margin-top: 16px; }
.ed-ev-result__meta .ed-chip { border-radius: 10px; line-height: 1.35; }
.ed-ev-result__before,
.ed-ev-result__after { padding: 22px 26px 22px 48px; font-size: 16px; line-height: 1.5; }
.ed-ev-result__before { grid-area: before; color: #5e5e5e; }
.ed-ev-result__after { grid-area: after; border-left: 1px solid var(--ed-line); background: #fffaf5; color: var(--ed-ink); }
.ed-ev-result__before p,
.ed-ev-result__after p { position: relative; }
.ed-ev-result__before p::before,
.ed-ev-result__after p::before { content: '–'; position: absolute; left: -22px; top: 0; color: #aaa; }
.ed-ev-result__after p::before { content: '→'; color: var(--ed-rust); }
.ed-ev-result__label { display: block; margin-bottom: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ed-muted); }
.ed-ev-result__after .ed-ev-result__label { color: var(--ed-rust); }
.ed-ev-result__impact {
  grid-area: impact;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px 26px 16px 24px;
  border-top: 1px solid var(--ed-line);
  background: #f3faf4;
  font-size: 15.5px;
  line-height: 1.5;
  color: #22412b;
}
.ed-ev-result__impact svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px; color: var(--ed-green); }
.ed-ev-result__impact strong { font-weight: 600; color: var(--ed-ink); }

/* ─────────────────────────────────────────────────────────
   BEFORE & AFTER — label / market / source beside a real
   table; the "after" column carries the win colour.
───────────────────────────────────────────────────────── */
.ed-ev-cmp { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: start; padding: 44px 0; border-top: 1px solid #e2e2e2; }
.ed-ev-cmp:first-child { padding-top: 0; border-top: 0; }
.ed-ev-cmp:last-child { padding-bottom: 0; }
.ed-ev-cmp__meta h3 { margin-top: 8px; font-family: var(--ed-serif); font-weight: 700; font-size: 30px; line-height: 1.1; }
.ed-ev-cmp__tag { margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--ed-ink-2); }
.ed-ev-cmp__source { margin-top: 18px; padding-top: 14px; border-top: 1px solid #e2e2e2; font-size: 13.5px; line-height: 1.5; color: var(--ed-muted); }
.ed-ev-cmp .ed-ev-cmp__table { table-layout: fixed; font-size: 15.5px; }
.ed-ev-cmp .ed-ev-cmp__table thead th:first-child { width: 44%; }
.ed-ev-cmp .ed-ev-cmp__table thead th:nth-child(2) { width: 24%; }
.ed-ev-cmp .ed-ev-cmp__table th,
.ed-ev-cmp .ed-ev-cmp__table td { padding: 14px 18px; overflow-wrap: break-word; }
.ed-ev-cmp .ed-ev-cmp__table thead th:last-child { color: var(--ed-rust); }
.ed-ev-cmp .ed-ev-cmp__table tbody th {
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  vertical-align: top;
  color: var(--ed-ink);
  background: #fff;
  border-bottom: 0;
  border-top: 1px solid #efefef;
}
.ed-ev-cmp .ed-ev-cmp__table tbody tr:first-child th { border-top: 0; }
.ed-ev-cmp .ed-ev-cmp__table tbody td { color: #6b6b6b; }
.ed-ev-cmp .ed-ev-cmp__table tbody td:last-child { color: #1a7a34; font-weight: 600; background: #fbfdfb; }

/* ─────────────────────────────────────────────────────────
   AUDIT SNAPSHOTS — found → fixed ledger, then the brown
   "What changed" band with three cream result notes.
───────────────────────────────────────────────────────── */
.ed-ev-audit .ed-head__aside .ed-chips { justify-content: flex-start; }
.ed-ev-versus.ed-versus { margin-top: 0; }
.ed-ev-impact .ed-diffs { grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: stretch; gap: 30px 28px; }
.ed-ev-impact .ed-diff p { margin-top: 18px; font-size: 24px; line-height: 1.3; color: var(--ed-ink); }

/* ─────────────────────────────────────────────────────────
   BEING CURATED — reporting samples, client feedback (and
   case studies before any is published).
───────────────────────────────────────────────────────── */
.ed-ev-soon__item {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 22px 0 18px;
  border-bottom: 1px solid #e7ddd0;
  font-family: var(--ed-serif);
  font-weight: 500;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.ed-ev-soon__item:first-child { padding-top: 4px; }
.ed-ev-soon__n { flex-shrink: 0; min-width: 22px; font-family: var(--ed-mono); font-size: 12px; letter-spacing: 0; color: #9a8f86; }
.ed-ev-soon__note.ed-verdict p { font-size: 24px; line-height: 1.3; }
.ed-ev-soon__note .ed-btn { margin-top: 26px; }

/* ─────────────────────────────────────────────────────────
   CATEGORY HERO NOTE + "MORE EVIDENCE" NAV
───────────────────────────────────────────────────────── */
.ed-ev-hero-note.ed-note p { margin-top: 16px; font-size: 16px; line-height: 1.55; color: #333; }

.ed-ev-more-wrap { padding-top: 72px; }
.ed-ev-receipts + .ed-ev-more-wrap { padding-top: 0; }
.ed-ev-more.ed-platforms { margin-top: 0; }
.ed-ev-more.ed-platforms h2 { font-size: 15px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }

/* ─────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ed-ev-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px 32px; }
  .ed-ev-shots.ed-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-ev-result { grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1fr); }
  .ed-ev-cmp { grid-template-columns: 240px minmax(0, 1fr); gap: 36px; }
  .ed-ev-hero-note { max-width: 460px; margin: 30px 0 0 6px; }
}
@media (max-width: 900px) {
  .ed-ev-result {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "meta meta"
      "before after"
      "impact impact";
  }
  .ed-ev-result__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 16px 22px; border-right: 0; border-bottom: 1px solid var(--ed-line); }
  .ed-ev-result__n { font-size: 34px; }
  .ed-ev-result__meta .ed-chips { margin-top: 0; }
  .ed-ev-cmp { grid-template-columns: 1fr; gap: 20px; padding: 36px 0; }
  .ed-ev-impact .ed-diffs { grid-template-columns: 1fr; max-width: 640px; }
}
@media (max-width: 640px) {
  .ed-ev-cases { grid-template-columns: 1fr; gap: 52px; padding: 28px 2px 4px; }
  .ed-ev-shots.ed-gallery { grid-template-columns: 1fr; gap: 32px; }
  .ed-ev-result {
    grid-template-columns: 1fr;
    grid-template-areas:
      "meta"
      "before"
      "after"
      "impact";
  }
  .ed-ev-result__meta { padding: 16px 18px; }
  .ed-ev-result__before,
  .ed-ev-result__after { padding: 18px 18px 18px 42px; }
  .ed-ev-result__after { border-left: 0; border-top: 1px dashed #eadfd3; }
  .ed-ev-result__impact { padding: 14px 18px 15px; }
  .ed-ev-cmp__meta h3 { font-size: 26px; }
  .ed-ev-cmp .ed-ev-cmp__table { font-size: 14.5px; }
  .ed-ev-cmp .ed-ev-cmp__table th,
  .ed-ev-cmp .ed-ev-cmp__table td { padding: 12px 10px; }
  .ed-ev-cmp .ed-ev-cmp__table thead th:first-child { width: 40%; }
  .ed-ev-cmp .ed-ev-cmp__table thead th:nth-child(2) { width: 27%; }
  .ed-ev-cmp .ed-ev-cmp__table thead th { letter-spacing: .04em; }
  .ed-ev-cmp .ed-ev-cmp__table tbody th { font-size: 14.5px; }
  .ed-ev-impact .ed-diff p { font-size: 20px; }
  .ed-ev-soon__item { gap: 14px; font-size: 21px; }
  .ed-ev-soon__note.ed-verdict p { font-size: 22px; }
  .ed-ev-more-wrap { padding-top: 56px; }
  /* Keep the long CTA label ("Request a search diagnostic") on one line at 390px. */
  :is(.ed-ev-hub, .ed-ev-cat) .ed-cta .ed-btn { gap: 8px; padding-inline: 18px; }
}

/* ═════════════════════════════════════════════════════════
   PAGES — Legal pages (privacy, terms, cookies)  (ed-lg-)
   ═════════════════════════════════════════════════════════ */
/* ═════════════════════════════════════════════════════════
   LEGAL — Privacy / Terms / Cookies (template-parts/legal-page.php)
   Composes ed-hero--page, ed-split--left, ed-sticky, ed-chips and
   ed-prose. New classes are prefixed ed-lg-; overrides of shared
   components are scoped under an ed-lg- class.
   ═════════════════════════════════════════════════════════ */

/* Body: sits closer to the hero than a full ed-section. */
.ed-lg-body { padding-top: 64px; }

/* Sticky aside — contents + document switcher. */
.ed-lg-aside { display: grid; gap: 28px; }

/* Small uppercase label (same voice as .ed-versus h3 / .ed-footer__hd). */
.ed-lg-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ed-muted); }

/* Contents card */
.ed-lg-toc__box { border: 1px solid var(--ed-line); border-radius: 14px; background: #fff; }
.ed-lg-toc__sum {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 14px 18px;
  cursor: pointer;
  list-style: none;
  border-radius: 14px;
}
.ed-lg-toc__sum::-webkit-details-marker { display: none; }
.ed-lg-toc__count { margin-left: auto; font-size: 13px; color: var(--ed-muted); }
.ed-lg-toc__icon { position: relative; flex-shrink: 0; width: 26px; height: 26px; border: 1px solid #ddd; border-radius: 50%; color: var(--ed-ink); transition: background .25s, border-color .25s, color .25s; }
.ed-lg-toc__icon::before,
.ed-lg-toc__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s; }
.ed-lg-toc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.ed-lg-toc__box[open] .ed-lg-toc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.ed-lg-toc__sum:hover .ed-lg-toc__icon { border-color: var(--ed-rust); color: var(--ed-rust); }

/* Numbers are generated (never part of link or heading text) and muted for
   assistive tech with the `/ ""` alt form; the first declaration is the
   fallback for engines without it. They match the section numbers below. */
.ed-lg-toc__list { padding: 8px 8px 10px; border-top: 1px solid var(--ed-line); counter-reset: ed-lg-toc; }
.ed-lg-toc__list li { counter-increment: ed-lg-toc; }
.ed-lg-toc__list a {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 4px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--ed-ink-2);
  transition: background .2s, color .2s;
}
.ed-lg-toc__list a::before {
  content: counter(ed-lg-toc, decimal-leading-zero);
  content: counter(ed-lg-toc, decimal-leading-zero) / "";
  padding-top: 2px;
  font-family: var(--ed-mono);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ed-muted);
}
.ed-lg-toc__list a:hover { background: #fdf0e8; color: var(--ed-rust); }
.ed-lg-toc__list a:hover::before { color: inherit; }

/* Document switcher — chips, current one inked. */
.ed-lg-docs .ed-lg-label { margin-bottom: 10px; }
.ed-lg-docs .ed-chip { padding: 7px 14px; font-size: 13.5px; background: #fff; }
.ed-lg-docs .ed-lg-docs__current { background: var(--ed-ink); border-color: var(--ed-ink); color: #fff; }

/* Document body — numbered sections ruled off like the FAQ list. */
.ed-lg-prose { overflow-wrap: break-word; counter-reset: ed-lg-sec; }
.ed-lg-prose .ed-lg-h2 {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--ed-line);
  font-size: clamp(26px, 2.4vw, 32px);
  counter-increment: ed-lg-sec;
  scroll-margin-top: 16px;
  transition: border-color .4s;
}
.ed-lg-prose > .ed-lg-h2:first-child { margin-top: 0; }
.ed-lg-prose .ed-lg-h2::before {
  content: counter(ed-lg-sec, decimal-leading-zero);
  content: counter(ed-lg-sec, decimal-leading-zero) / "";
  display: block;
  margin-bottom: 10px;
  font-family: var(--ed-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--ed-rust);
}
/* Arriving from the contents list: the section's rule turns rust. */
.ed-lg-prose .ed-lg-h2:target { border-top-color: var(--ed-rust); }

/* ─────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────── */
@media (min-width: 1001px) {
  /* Keep the whole aside reachable on short viewports while it is stuck. */
  .ed-lg-aside { max-height: calc(100vh - var(--ed-sticky) - 24px); overflow-y: auto; margin: -6px; padding: 6px; scrollbar-width: thin; }
}
@media (max-width: 1100px) {
  .ed-lg-body .ed-split--left { gap: 48px; }
}
@media (max-width: 1000px) {
  /* ed-split stacks here and ed-sticky turns static (editorial.css). */
  .ed-lg-body .ed-split--left { gap: 36px; }
  .ed-lg-aside { gap: 22px; max-width: 720px; }
}
@media (max-width: 900px) {
  .ed-lg-body { padding-top: 48px; }
}
@media (max-width: 640px) {
  .ed-lg-body { padding-top: 32px; }
  .ed-lg-toc__sum { padding: 12px 12px 12px 16px; }
  .ed-lg-prose .ed-lg-h2 { margin-top: 44px; padding-top: 18px; font-size: 26px; }
}
/* Printed policies: the document only, one column, headings kept with their text. */
@media print {
  .ed-lg-aside { display: none; }
  .ed-lg-body { padding-top: 0; }
  .ed-lg-body .ed-split--left { display: block; }
  .ed-lg-prose { max-width: none; }
  .ed-lg-prose .ed-lg-h2 { break-after: avoid; break-inside: avoid; }
}

/* ═════════════════════════════════════════════════════════
   PAGES — Utility pages (careers, sitemap, 404, generic page, index)  (ed-ut-)
   ═════════════════════════════════════════════════════════ */
/* ═════════════════════════════════════════════════════════
   UTILITY PAGES — careers, HTML sitemap, 404, generic page
   (page.php) and the index / search fallback. Prefix: ed-ut-.
   Composes the editorial primitives. No ed- class is redefined:
   where a rule adjusts an ed- component it is compounded with an
   ed-ut- class, so it wins regardless of stylesheet order.
   ═════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────
   SHARED
───────────────────────────────────────────────────────── */
/* Inline text link inside hero leads and notes. */
.ed-ut-a {
  color: var(--ed-rust);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-thickness .2s;
}
.ed-ut-a:hover { text-decoration-thickness: 2px; }

/* Hero without a crumb trail (404, search): homepage top spacing. */
.ed-hero.ed-ut-hero--bare { padding-top: calc(var(--h) + 88px); }

/* Search pill — WordPress search (GET ?s=) in the 404 and index heroes. */
.ed-ut-search {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 560px;
  margin-top: 30px;
  padding: 5px;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  transition: border-color .2s, box-shadow .2s;
}
.ed-ut-search:focus-within { border-color: var(--ed-rust); box-shadow: 0 0 0 3px rgba(194,65,12,.15); }
.ed-ut-search .ed-ut-search__input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0 16px;
  background: transparent;
  border: 0;
  border-radius: 999px;
  -webkit-appearance: none;
          appearance: none;
}
.ed-ut-search .ed-ut-search__input:focus { box-shadow: none; }
.ed-ut-search .ed-ut-search__input::-webkit-search-decoration { -webkit-appearance: none; }
.ed-ut-search .ed-btn { flex-shrink: 0; min-height: 44px; padding: 0 20px; font-size: 16px; }
.ed-ut-search__label { display: block; margin-top: 30px; font-size: 14px; color: var(--ed-muted); }
.ed-ut-search__label + .ed-ut-search { margin-top: 10px; }

/* Card foot arrow (route cards). */
.ed-ut-go { display: inline-flex; align-items: center; color: var(--ed-rust); }
.ed-ut-go svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .2s; }
.ed-card:hover .ed-ut-go svg { transform: translateX(3px); }

/* ─────────────────────────────────────────────────────────
   CAREERS
───────────────────────────────────────────────────────── */
/* Team photo is 3:2 — show it whole instead of the default 4:3 crop. */


.ed-ut-perks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px 96px; align-items: start; }
.ed-ut-perks__intro { margin-top: 18px; max-width: 420px; font-size: 16px; line-height: 1.5; color: var(--ed-ink-2); }
.ed-ut-perks .ed-ut-perks__list { margin-top: 6px; gap: 14px; }
.ed-ut-perks .ed-kpi b { font-size: 17px; }

.ed-ut-roles-head { margin-bottom: 40px; }
.ed-ut-roles { --cols: 2; }
.ed-ut-roles-wrap.is-empty { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 48px 80px; align-items: center; }
.ed-ut-roles-wrap.is-empty .ed-ut-roles-head { margin-bottom: 0; }
.ed-note.ed-ut-empty { padding: 28px 30px 30px; }
.ed-ut-empty .ed-ut-empty__text { margin-top: 20px; font-family: var(--ed-serif-2); font-size: 24px; line-height: 1.3; color: var(--ed-ink); }
.ed-note.ed-ut-empty .ed-btn { margin-top: 24px; }
.ed-card.ed-ut-role h3 { margin-top: 0; }
.ed-ut-role .ed-ut-role__meta { margin-top: 14px; }
.ed-ut-role .ed-ut-role__go { display: inline-flex; color: var(--ed-rust); }
.ed-ut-role .ed-ut-role__go svg { width: 20px; height: 20px; transition: transform .2s; }
.ed-ut-role:hover .ed-ut-role__go svg { transform: translateX(3px); }

/* ─────────────────────────────────────────────────────────
   HTML SITEMAP — sticky label column + links, one row per group
───────────────────────────────────────────────────────── */
.ed-ut-sm-jump { margin-top: 30px; }
.ed-ut-sm-jump ul { display: flex; flex-wrap: wrap; gap: 8px; }
.ed-ut-sm-jump a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ed-ink-2);
  transition: border-color .2s, color .2s;
}
.ed-ut-sm-jump a:hover { border-color: var(--ed-rust); color: var(--ed-rust); }
.ed-ut-sm-jump b { font-weight: 600; color: var(--ed-ink); }
.ed-ut-sm-jump a:hover b { color: inherit; }

.ed-ut-sm-group { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px 64px; align-items: start; padding: 56px 0; border-top: 1px solid rgba(0,0,0,.09); }
.ed-ut-sm-group:first-child { padding-top: 0; border-top: 0; }
.ed-ut-sm-group:last-child { padding-bottom: 0; }
.ed-ut-sm-group__head { position: sticky; top: var(--ed-sticky); }
.ed-ut-sm-group__head .ed-h2 { font-size: clamp(30px, 3vw, 42px); }
.ed-ut-sm-count { margin-top: 10px; font-size: 14px; color: var(--ed-muted); }

/* Service hubs — pastel cards in the homepage "six systems" order. */
.ed-ut-sm-hubs { --cols: 3; }
.ed-card.ed-ut-sm-hub { --n: #f3dc85; padding: 24px 24px 26px; }
.ed-card.ed-ut-sm-hub:nth-child(6n+2) { --n: #ddb0f0; }
.ed-card.ed-ut-sm-hub:nth-child(6n+3) { --n: #97e4a8; }
.ed-card.ed-ut-sm-hub:nth-child(6n+4) { --n: #f4b3ad; }
.ed-card.ed-ut-sm-hub:nth-child(6n+5) { --n: #a3b9f5; }
.ed-card.ed-ut-sm-hub:nth-child(6n+6) { --n: #bfaef5; }
.ed-card.ed-ut-sm-hub:hover { transform: none; box-shadow: none; }
.ed-ut-sm-hub__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ed-ut-sm-hub__n { font-family: var(--ed-serif); font-weight: 700; font-size: 44px; line-height: 1; color: var(--n); font-variant-numeric: oldstyle-nums; }
.ed-ut-sm-hub__top small { font-size: 12.5px; color: #555; }
.ed-card.ed-ut-sm-hub h3 { margin-top: 14px; }
.ed-ut-sm-hub h3 a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.ed-ut-sm-hub h3 a:hover { color: var(--ed-rust); }
.ed-ut-sm-hub h3 svg { width: 12px; height: 12px; flex-shrink: 0; }
.ed-ut-sm-hub .ed-ut-links { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(0,0,0,.08); }

/* Dense text-link lists. */
.ed-ut-links { display: grid; gap: 2px; }
.ed-ut-links li { min-width: 0; }
.ed-ut-links a {
  display: inline-block;
  padding: 4px 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ed-ink-2);
  overflow-wrap: anywhere;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.ed-ut-links a:hover { color: var(--ed-rust); border-bottom-color: currentColor; }
.ed-ut-links--cols { display: block; columns: 2; column-gap: 48px; }
.ed-ut-links--cols li { break-inside: avoid; }
.ed-ut-links--dash li { position: relative; padding: 3px 0 3px 20px; }
.ed-ut-links--dash li::before { content: '–'; position: absolute; left: 2px; top: 7px; color: var(--ed-rust); }

/* Linked pills (company, evidence, regions). */
.ed-ut-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.ed-ut-pills a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  transition: transform .2s, border-color .2s, color .2s;
}
.ed-ut-pills a:hover { transform: translateY(-2px); border-color: var(--ed-rust); color: var(--ed-rust); }
.ed-ut-pills svg { width: 10px; height: 10px; flex-shrink: 0; }
.ed-ut-flag { font-size: 17px; line-height: 1; }

/* ─────────────────────────────────────────────────────────
   404 — recovery routes
───────────────────────────────────────────────────────── */
.ed-ut-routes { --cols: 3; }
.ed-ut-routes + .ed-ut-routes { margin-top: 24px; }
.ed-card.ed-ut-route h3 { margin-top: 8px; }
.ed-ut-route .ed-ut-route__tags { margin-top: 8px; font-size: 13px; line-height: 1.45; color: #555; letter-spacing: .01em; }
.ed-card--pastel.ed-ut-route { padding-bottom: 22px; }

/* ─────────────────────────────────────────────────────────
   GENERIC PAGE (page.php)
───────────────────────────────────────────────────────── */
.ed-section.ed-ut-page__body { padding-top: 72px; }
.ed-ut-page__aside .ed-note { padding: 26px 26px 28px; }
.ed-ut-page__aside .ed-ut-note__title { margin-top: 18px; font-family: var(--ed-serif-2); font-size: 25px; line-height: 1.2; color: var(--ed-ink); }
.ed-ut-page__aside .ed-ut-note__title em { color: var(--ed-rust); }
/* wp_link_pages() — <!--nextpage--> navigation under the content. */
.ed-prose .ed-ut-pagelinks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 2.4em; padding-top: 1.4em; border-top: 1px solid var(--ed-line); font-size: 15px; }
.ed-ut-pagelinks__label { margin-right: 6px; color: var(--ed-muted); }
.ed-prose .ed-ut-pagelinks .post-page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--ed-line); border-radius: 999px; background: #fff; color: var(--ed-ink); text-decoration: none; transition: border-color .2s, color .2s; }
.ed-prose .ed-ut-pagelinks a.post-page-numbers:hover { border-color: var(--ed-rust); color: var(--ed-rust); }
.ed-prose .ed-ut-pagelinks .post-page-numbers.current { background: var(--ed-ink); border-color: var(--ed-ink); color: #fff; }

/* ─────────────────────────────────────────────────────────
   INDEX / SEARCH RESULTS
───────────────────────────────────────────────────────── */
.ed-ut-results { --cols: 2; }
.ed-ut-results > li { display: flex; min-width: 0; }
.ed-ut-results > li > .ed-card { flex: 1; min-width: 0; }
.ed-ut-result__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.ed-ut-result__meta time { font-size: 13px; color: var(--ed-muted); }
.ed-ut-result h2 { margin-top: 10px; font-family: var(--ed-serif); font-weight: 700; font-size: 24px; line-height: 1.18; transition: color .2s; }
.ed-ut-result:hover h2 { color: var(--ed-rust); }
.ed-ut-result .ed-ut-result__excerpt p { margin-top: 10px; }
.ed-ut-result__path { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; color: var(--ed-muted); }
.ed-ut-result__path span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed-ut-result__path svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--ed-rust); transition: transform .2s; }
.ed-ut-result:hover .ed-ut-result__path svg { transform: translateX(3px); }
.ed-ut-noresults { max-width: 640px; }
.ed-ut-noresults .ed-ut-noresults__text { margin-top: 18px; font-family: var(--ed-serif-2); font-size: 24px; line-height: 1.3; color: var(--ed-ink); }

/* ─────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ed-hero__photo.ed-ut-careers__photo { max-width: 520px; margin: 40px 0 0 6px; }
  .ed-ut-perks { gap: 40px 56px; }
  .ed-ut-sm-group { grid-template-columns: 220px minmax(0, 1fr); gap: 24px 40px; }
}
@media (max-width: 900px) {
  .ed-ut-perks,
  .ed-ut-roles-wrap.is-empty { grid-template-columns: 1fr; }
  .ed-ut-roles-wrap.is-empty .ed-ut-empty { max-width: 540px; margin-left: 6px; }
  .ed-ut-sm-group { grid-template-columns: 1fr; padding: 44px 0; }
  .ed-ut-sm-group__head { position: static; }
}
@media (max-width: 640px) {
  .ed-hero.ed-ut-hero--bare { padding-top: calc(var(--h) + 48px); }
  .ed-ut-search { margin-top: 26px; }
  .ed-ut-search .ed-btn { padding: 0 16px; }
  .ed-hero__photo.ed-ut-careers__photo { margin-top: 32px; }
  .ed-note.ed-ut-empty { padding: 24px 22px 26px; }
  .ed-ut-empty .ed-ut-empty__text,
  .ed-ut-noresults .ed-ut-noresults__text { font-size: 21px; }
  .ed-ut-links--cols { columns: 1; }
  .ed-ut-sm-hub__n { font-size: 38px; }
  .ed-cards.ed-ut-routes { gap: 16px; }
  .ed-ut-routes + .ed-ut-routes { margin-top: 16px; }
  .ed-card.ed-ut-route { padding: 20px 20px 18px; }
  .ed-ut-route .ed-card__foot { padding-top: 12px; }
  .ed-section.ed-ut-page__body { padding-top: 48px; }
  .ed-ut-result h2 { font-size: 22px; }
}

/* ═════════════════════════════════════════════════════════
   TEAM PANORAMA — About + Careers heroes. The team photo is a wide
   panorama of all four specialists; below the hero copy at full width
   it shows everyone (a 420px side column would make faces tiny).
   ═════════════════════════════════════════════════════════ */
.ed-ab-hero .ed-hero__grid,
.ed-ut-careers-hero .ed-hero__grid { grid-template-columns: minmax(0, 1fr); row-gap: 52px; }
.ed-ab-hero .ed-hero__photo,
.ed-ut-careers-hero .ed-hero__photo { max-width: 1060px; margin: 0 0 0 6px; transform: rotate(-.7deg); }
.ed-ab-hero .ed-hero__photo:hover,
.ed-ut-careers-hero .ed-hero__photo:hover { transform: rotate(0); }
@media (max-width: 640px) {
  .ed-ab-hero .ed-hero__grid,
  .ed-ut-careers-hero .ed-hero__grid { row-gap: 36px; }
  .ed-ab-hero .ed-hero__photo,
  .ed-ut-careers-hero .ed-hero__photo { margin: 0 2px; transform: none; }
}

/* ═════════════════════════════════════════════════════════
   REVIEW FIXES (0.68.0)
   ═════════════════════════════════════════════════════════ */
/* Let's talk: at tablet/phone widths the client notepad collapses into a compact
   strip so the form starts near the top of the page again. */
@media (max-width: 900px) {
  .ed-lt-hero .ed-proof.ed-lt-clients { transform: none; box-shadow: none; border: 0; border-top: 1px solid var(--ed-line); border-radius: 0; background: none; max-width: none; margin: 28px 0 0; padding: 16px 0 0; }
  .ed-lt-hero .ed-lt-clients .ed-proof__rings,
  .ed-lt-hero .ed-lt-clients .ed-proof__foot > span,
  .ed-lt-hero .ed-lt-client svg { display: none; }
  .ed-lt-hero .ed-lt-clients__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 10px; border: 0; }
  .ed-lt-hero .ed-lt-client { border: 0; }
  .ed-lt-hero .ed-lt-client > a,
  .ed-lt-hero .ed-lt-client__wrap { min-height: 0; padding: 2px 0; }
  .ed-lt-hero .ed-lt-client__name { font-size: 17px; }
  .ed-lt-hero .ed-lt-client__logo { width: auto; height: 26px; max-width: 120px; object-fit: contain; }
  .ed-lt-hero .ed-lt-clients .ed-proof__foot { margin-top: 10px; }
}
/* Calendly fallback: reduced-motion visitors keep the 3s grace period (no fade),
   instead of seeing "hasn't loaded" the moment the page paints. */
@media (prefers-reduced-motion: reduce) {
  .ed .ed-ct-embed__fallback { animation: ed-ct-reveal 0s linear 3s both !important; }
}
/* Case study: related cards are fully clickable (title is the link name). */
.ed-cs-related__grid .ed-case__visit::after { content: ''; position: absolute; inset: 0; z-index: 2; }
/* Search/404 cards: result footer sits on the card bottom in muted small type. */
.ed-card .ed-ut-result__path { margin-top: auto; font-size: 13px; color: var(--ed-muted); }
/* Prose tables: scroll inside the column (bare tables get .ed-table-wrap from a content filter). */
.ed-prose .ed-table-wrap > table { border: 0; border-radius: 0; }
.ed-prose .wp-block-table { overflow-x: auto; }

