/* ─────────────────────────────────────────────────────────────
   Spring Forward Solutions — Case Studies stylesheet
   Tuned to the live Divi site: deep magenta sections, goldenrod
   yellow panels, wave dividers between sections.
   ───────────────────────────────────────────────────────────── */

:root {
  /* Brand */
  --mg: #8E2570;            /* deep magenta (section bg) */
  --mg-2: #9F2A7E;          /* lighter — for gradient endpoint */
  --mg-deep: #6C1B55;       /* darkest mauve */
  --mg-tint: #F4E7EF;       /* very light wash */

  --gd: #E0A832;            /* goldenrod yellow (section bg) */
  --gd-2: #D6A028;          /* deeper */
  --gd-light: #F6D26A;
  --gd-tint: #FBF1D9;

  --cr: #FFFFFF;
  --cr-2: #FBF9F4;
  --rule: #E9E4DA;

  --bk: #1B1B1B;
  --ink: #1B1B1B;
  --ink-2: #3A3A3A;
  --ink-3: #5F5C58;
  --gr: #8A857E;
  --gr-2: #C9C4BB;

  --display: 'Poppins', 'Helvetica Neue', sans-serif;
  --body: 'Lato', 'Helvetica Neue', system-ui, sans-serif;

  --pad-x: clamp(24px, 6vw, 96px);
  --max:  1240px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--cr);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* ── Site chrome: white on magenta, all-caps tracked ────── */
.site-header {
  background: var(--mg);
  position: relative;
  z-index: 5;
  padding: 4px 0;
}
.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; }
.site-header .brand img {
  height: 64px; width: auto;
  filter: none;
  margin: 0;
}

.site-nav {
  display: flex; gap: 44px; align-items: center;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.site-nav a:not(.btn) {
  color: #fff;
  position: relative;
  padding: 6px 0;
  transition: color .15s ease, opacity .15s ease;
}
.site-nav a:not(.btn):hover { color: var(--gd); }
.site-nav a.is-current:not(.btn) { color: var(--gd); }

@media (max-width: 900px) {
  .site-header__inner {
    padding: 12px var(--pad-x);
  }

  .site-header .brand img {
    height: 48px;
  }

  .site-nav {
    gap: 18px;
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .site-nav a:not(.btn) {
    display: none;
  }

  .site-nav a.is-current:not(.btn),
  .site-nav a[href*="contact"] {
    display: inline;
  }
}

/* ── Buttons: pill outlined, all-caps, tracked ─────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 2px solid currentColor;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
  line-height: 1;
  background: transparent;
}
.btn:hover { transform: translateY(-1px); }

/* On magenta */
.btn--white {
  color: #fff;
  border-color: #fff;
}
.btn--white:hover { background: #fff; color: var(--mg); }

.btn--gold {
  color: var(--bk);
  background: var(--gd);
  border-color: var(--gd);
}
.btn--gold:hover { background: var(--gd-2); border-color: var(--gd-2); }

/* On white */
.btn--mg {
  color: var(--mg);
  border-color: var(--mg);
}
.btn--mg:hover { background: var(--mg); color: #fff; }

.btn--mg-solid {
  color: #fff;
  background: var(--mg);
  border-color: var(--mg);
}
.btn--mg-solid:hover { background: var(--mg-deep); border-color: var(--mg-deep); }

.btn__arrow { transition: transform .2s ease; display: inline-block; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ── Typography primitives ──────────────────────────────── */
.eyebrow {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gd);
}
.section--white .eyebrow,
.section--yellow .eyebrow,
.cs-section--white .eyebrow,
.cs-section--yellow .eyebrow { color: var(--mg); }

.display {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--bk);
}
.display em { font-style: normal; }

.h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--bk);
}
.h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--bk);
}
.h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  color: var(--bk);
}
.lede {
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 60ch;
}
.section--mg .lede, .cs-hero .lede { color: rgba(255,255,255,0.88); }

/* ── Layout & section variants ──────────────────────────── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.section { padding: clamp(80px, 9vw, 144px) 0; position: relative; }
.section--mg { background: var(--mg); color: #fff; }
.section--mg .display, .section--mg .h1, .section--mg .h2, .section--mg .h3 { color: #fff; }
.section--white { background: #fff; }
.section--yellow { background: var(--gd); }
.section--cream { background: var(--cr-2); }

/* Section title that sits at the top of a colored section */
.section__head {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section__head .eyebrow { margin-bottom: 14px; display: inline-block; }
.section__head .h1, .section__head .h2 { max-width: 22ch; margin: 0 auto; }

/* ── WAVE DIVIDERS ───────────────────────────────────────
   <div class="wave wave--mg-to-white"></div>
   The wave colors itself with --wave-fill and shows the
   downstream section color through the curve. Place BETWEEN
   sections (after the upper section, before the lower one).
   ──────────────────────────────────────────────────────── */
.wave {
  display: block;
  width: 100%;
  height: 80px;
  line-height: 0;
  position: relative;
  margin: -1px 0;
}
.wave svg { display: block; width: 100%; height: 100%; }

@media (max-width: 720px) {
  .wave { height: 50px; }
}

/* ── Hero (magenta, full-width) ─────────────────────────── */
.hero {
  background:
    linear-gradient(180deg, var(--mg) 0%, var(--mg-deep) 100%);
  color: #fff;
  padding: clamp(72px, 9vw, 128px) 0 clamp(112px, 14vw, 200px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  right: -200px; top: 40px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(224,168,50,0.16), transparent 70%);
  pointer-events: none;
}
.hero__eyebrow-row {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
}
.hero__eyebrow-row .dot {
  width: 8px; height: 8px; background: var(--gd); border-radius: 50%;
}
.hero__eyebrow-row .eyebrow { color: var(--gd); }
.hero__eyebrow-row .eyebrow--mute { color: rgba(255,255,255,0.55); }

.hero__display {
  max-width: 20ch;
  color: #fff;
}
.hero__display .line-2 { display: block; color: var(--gd); }
.hero__sub {
  margin-top: 28px;
  max-width: 56ch;
  color: rgba(255,255,255,0.88);
}
.hero__cta-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 44px;
}

/* ── Numbered case grid ─────────────────────────────────── */
.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.case-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  padding: 44px 40px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 4px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.section--yellow .case-row { border-color: rgba(0,0,0,0.08); }
.case-row:hover {
  border-color: var(--mg);
  box-shadow: 0 24px 60px -28px rgba(142,37,112,0.4);
  transform: translateY(-2px);
}
.case-row__num { display: none; }
.case-row__body { max-width: 70ch; }
.case-row__tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 12px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gd-2); margin-bottom: 14px;
}
.case-row__tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gd); }
.case-row__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2;
  color: var(--bk); margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.case-row__lede { font-size: 16px; color: var(--ink-2); max-width: 62ch; line-height: 1.65; }
.case-row__outcome {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 62ch;
}
.case-row__outcome strong {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mg);
  margin-right: 6px;
}
.case-row__meta {
  margin-top: 22px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.fw-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 8px 14px;
  background: var(--mg-tint);
  border-radius: 999px;
  color: var(--mg-deep);
}
.fw-chip--gd { background: var(--gd-tint); color: var(--gd-2); }

.case-row__cta {
  align-self: center;
  font-family: var(--display); font-weight: 700;
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--mg);
  display: inline-flex; align-items: center; gap: 12px;
  white-space: nowrap;
}
.case-row__cta .arr {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--mg);
  color: #fff;
  display: grid; place-items: center;
  transition: background .15s ease, transform .15s ease;
}
.case-row:hover .case-row__cta .arr {
  background: var(--mg-deep); transform: translateX(4px);
}

@media (max-width: 860px) {
  .case-row { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; }
  .case-row__cta { grid-column: 1 / -1; margin-top: 8px; }
}

/* ── Case Study page hero (magenta, same as homepage) ──── */
.cs-hero {
  background: linear-gradient(180deg, var(--mg) 0%, var(--mg-deep) 100%);
  color: #fff;
  padding: clamp(64px, 8vw, 112px) 0 clamp(96px, 12vw, 160px);
  position: relative; overflow: hidden;
}
.cs-hero::before {
  content: '';
  position: absolute;
  right: -160px; top: -60px;
  width: 540px; height: 540px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(224,168,50,0.18), transparent 70%);
  pointer-events: none;
}
.cs-hero__breadcrumb {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--display); font-size: 13px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 36px;
  position: relative; z-index: 1;
}
.cs-hero__breadcrumb a { color: rgba(255,255,255,0.7); }
.cs-hero__breadcrumb a:hover { color: #fff; }
.cs-hero__breadcrumb .sep { color: var(--gd); }

.cs-hero__grid {
  display: block;
  position: relative; z-index: 1;
}
.cs-hero__num { display: none; }
.cs-hero__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 22px;
  max-width: 22ch;
}
.cs-hero__sub {
  font-size: clamp(18px, 1.5vw, 22px);
  color: rgba(255,255,255,0.88);
  max-width: 62ch;
  line-height: 1.55;
}
.cs-hero__meta {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px 40px;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 28px;
}
.cs-hero__meta dt {
  font-family: var(--display); font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gd);
  margin-bottom: 8px;
}
.cs-hero__meta dd { font-size: 15px; color: #fff; line-height: 1.5; }

@media (max-width: 760px) {
  .cs-hero__num { font-size: 72px; }
}

/* ── Case study body sections ───────────────────────────── */
.cs-section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.cs-section--white { background: #fff; }
.cs-section--cream { background: var(--cr-2); }
.cs-section--yellow { background: var(--gd); }
.cs-section--mg { background: var(--mg); color: #fff; }
.cs-section--mg .h2, .cs-section--mg .cs-h2 { color: #fff; }

.cs-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 72px;
  align-items: start;
}
@media (max-width: 860px) {
  .cs-grid { grid-template-columns: 1fr; gap: 24px; }
}
.cs-section__label {
  font-family: var(--display); font-weight: 700;
  font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--mg);
  position: sticky; top: 32px;
}
.cs-section__label .num { display: none; }
.cs-section--mg .cs-section__label { color: var(--gd); }
.cs-section--mg .cs-section__label .num { color: rgba(255,255,255,0.45); }
.cs-section--yellow .cs-section__label { color: var(--mg-deep); }
.cs-section--yellow .cs-section__label .num { color: var(--mg); }

.cs-h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
  max-width: 22ch;
  color: var(--bk);
}

.cs-body { font-size: 17px; color: var(--ink-2); max-width: 66ch; line-height: 1.75; }
.cs-section--mg .cs-body { color: rgba(255,255,255,0.88); }
.cs-section--yellow .cs-body { color: var(--ink); }
.cs-body p + p { margin-top: 1em; }
.cs-body strong { color: var(--bk); font-weight: 700; }
.cs-section--mg .cs-body strong { color: #fff; }

.cs-callout {
  margin-top: 32px;
  padding: 28px 32px;
  border-left: 4px solid var(--gd);
  background: var(--cr-2);
  border-radius: 0 8px 8px 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.45;
  color: var(--bk);
  max-width: 62ch;
}
.cs-section--mg .cs-callout {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: var(--gd);
}
.cs-section--yellow .cs-callout {
  background: #fff;
  border-color: var(--mg);
  color: var(--bk);
}

/* Bullet list */
.cs-list {
  list-style: none;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}
.cs-list li {
  position: relative;
  padding-left: 32px;
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.6;
}
.cs-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 18px; height: 2px;
  background: var(--mg);
  border-radius: 2px;
}
.cs-section--mg .cs-list li { color: rgba(255,255,255,0.88); }
.cs-section--mg .cs-list li::before { background: var(--gd); }
.cs-section--yellow .cs-list li { color: var(--ink); }
.cs-section--yellow .cs-list li::before { background: var(--mg); }

/* ── Phase ladder (the system) ──────────────────────────── */
.phase-ladder {
  margin-top: 16px;
  display: grid;
  gap: 0;
}
.phase {
  display: grid;
  grid-template-columns: 1fr 2fr;
  column-gap: 48px;
  row-gap: 4px;
  padding: 36px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  align-items: start;
}
.phase:last-child { border-bottom: 1px solid rgba(0,0,0,0.08); }
.cs-section--mg .phase { border-color: rgba(255,255,255,0.14); }
.cs-section--mg .phase:last-child { border-bottom-color: rgba(255,255,255,0.14); }
.cs-section--yellow .phase { border-color: rgba(0,0,0,0.14); }

.phase__num {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--display); font-weight: 700;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gd-2);
  margin-bottom: 8px;
}
.cs-section--mg .phase__num { color: var(--gd); }
.cs-section--yellow .phase__num { color: var(--mg); }

.phase__name {
  grid-column: 1;
  grid-row: 2;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.015em;
  color: var(--bk);
  line-height: 1.05;
}
.cs-section--mg .phase__name { color: #fff; }
.phase__name small {
  display: block;
  font-family: var(--body); font-size: 13px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gr); margin-top: 10px;
}
.cs-section--mg .phase__name small { color: rgba(255,255,255,0.55); }
.cs-section--yellow .phase__name small { color: var(--mg); }

.phase__desc {
  grid-column: 2;
  grid-row: 1 / 3;
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.75;
  max-width: 60ch;
  padding-top: 4px;
}
.cs-section--mg .phase__desc { color: rgba(255,255,255,0.85); }
.cs-section--yellow .phase__desc { color: var(--ink); }

@media (max-width: 760px) {
  .phase { grid-template-columns: 1fr; row-gap: 4px; padding: 28px 0; }
  .phase__desc { grid-column: 1; grid-row: 3; margin-top: 12px; }
}

/* ── Delta block (before / after) ───────────────────────── */
.delta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  margin-top: 16px;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 18px 50px -30px rgba(0,0,0,0.2);
}
.cs-section--mg .delta {
  background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15);
  box-shadow: none;
}
.cs-section--yellow .delta { background: #fff; border-color: rgba(0,0,0,0.1); }

.delta__col { padding: 36px 36px; }
.delta__label {
  font-family: var(--display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gr); margin-bottom: 14px;
}
.delta__col--after .delta__label { color: var(--mg); }
.cs-section--mg .delta__label { color: rgba(255,255,255,0.55); }
.cs-section--mg .delta__col--after .delta__label { color: var(--gd); }

.delta__text {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--bk);
  max-width: 32ch;
}
.cs-section--mg .delta__text { color: #fff; }

.delta__arrow {
  display: grid; place-items: center;
  width: 88px;
  background: var(--cr-2);
}
.cs-section--mg .delta__arrow {
  background: rgba(255,255,255,0.1);
}
.cs-section--yellow .delta__arrow { background: var(--gd-light); }
.delta__arrow svg { width: 36px; height: 36px; color: var(--mg); }
.cs-section--mg .delta__arrow svg { color: var(--gd); }

@media (max-width: 760px) {
  .delta { grid-template-columns: 1fr; }
  .delta__arrow { width: 100%; height: 60px; }
  .delta__arrow svg { transform: rotate(90deg); }
}

/* ── Value grid ─────────────────────────────────────────── */
.value-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.value-cell {
  padding: 28px 28px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.4;
  color: var(--bk);
  position: relative;
  letter-spacing: -0.005em;
}
.cs-section--mg .value-cell {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}
.cs-section--yellow .value-cell { background: #fff; border-color: rgba(0,0,0,0.08); }
.value-cell::before {
  content: '';
  display: block;
  width: 32px; height: 3px; background: var(--mg);
  margin-bottom: 16px;
  border-radius: 3px;
}
.cs-section--mg .value-cell::before { background: var(--gd); }
.cs-section--yellow .value-cell::before { background: var(--mg); }

/* ── Frameworks recap (3 cards on magenta) ──────────────── */
.fw-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.fw-card {
  padding: 40px 32px 44px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 6px;
  display: flex; flex-direction: column;
  position: relative;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.fw-card:hover {
  border-color: var(--gd);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.fw-card__num {
  font-family: var(--display); font-weight: 700;
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gd);
  margin-bottom: 18px;
}
.fw-card__title {
  font-family: var(--display); font-weight: 700;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #fff;
  margin-bottom: 10px;
}
.fw-card__motto {
  font-family: var(--body);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gd);
  margin-bottom: 28px;
}
.fw-card__row {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 20px;
  line-height: 1.65;
}
.fw-card__row strong {
  display: block;
  font-family: var(--display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gd);
  margin-bottom: 6px;
}

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

/* ── Pattern strip (what these have in common) ──────────── */
.pattern-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.pattern-cell {
  padding: 32px 30px 34px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 6px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.section--yellow .pattern-cell { border: 0; }
.pattern-cell:hover {
  border-color: var(--mg);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -28px rgba(142,37,112,0.4);
}
.pattern-cell__from {
  font-family: var(--body); font-size: 14px; font-weight: 400;
  color: var(--gr);
  margin-bottom: 12px;
}
.pattern-cell__from::before {
  content: 'FROM';
  font-weight: 700;
  font-family: var(--display);
  letter-spacing: 0.22em;
  font-size: 10px;
  margin-right: 6px;
  color: var(--gr);
}
.pattern-cell__to {
  font-family: var(--display); font-weight: 700;
  font-size: 24px; line-height: 1.15;
  color: var(--bk);
  letter-spacing: -0.01em;
}
.pattern-cell__to::before {
  content: 'TO';
  font-size: 10px; font-weight: 700; letter-spacing: 0.22em;
  color: var(--mg); display: block; margin-bottom: 6px;
  font-family: var(--display);
}
@media (max-width: 820px) {
  .pattern-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .pattern-strip { grid-template-columns: 1fr; }
}

/* ── CTA block (magenta with gold accents) ──────────────── */
.cta-block {
  background: linear-gradient(180deg, var(--mg) 0%, var(--mg-deep) 100%);
  color: #fff;
  padding: clamp(80px, 10vw, 144px) 0;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  right: -160px; bottom: -180px;
  width: 540px; height: 540px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(224,168,50,0.22), transparent 70%);
  pointer-events: none;
}
.cta-block::after {
  content: '';
  position: absolute;
  left: -120px; top: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,0.08), transparent 70%);
  pointer-events: none;
}
.cta-block__inner { position: relative; z-index: 1; }
.cta-block__triplet {
  display: grid; gap: 8px;
  margin-bottom: 32px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.005em;
  color: rgba(255,255,255,0.65);
}
.cta-block__triplet span:nth-child(2) { color: var(--gd); }
.cta-block__triplet span:nth-child(3) { color: #fff; }
.cta-block__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 22ch;
  margin-bottom: 24px;
}
.cta-block__sub {
  font-size: clamp(17px, 1.4vw, 21px);
  color: rgba(255,255,255,0.85);
  max-width: 58ch;
  margin-bottom: 36px;
  line-height: 1.6;
}
.cta-block__finisher {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.18);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(18px, 1.5vw, 22px);
  letter-spacing: -0.005em;
  color: var(--gd);
  max-width: 44ch;
}

/* ── Site footer ────────────────────────────────────────── */
.site-footer {
  background: var(--mg-deep);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 40px;
}
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.site-footer .brand img {
  height: 64px; width: auto;
  filter: none;
  margin: 0;
}
.site-footer__cols {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px;
  font-size: 14px;
}
.site-footer__col h4 {
  font-family: var(--display); font-weight: 700;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gd); margin-bottom: 16px;
}
.site-footer__col a, .site-footer__col p {
  display: block; color: rgba(255,255,255,0.7); margin-bottom: 10px;
  font-size: 14px; line-height: 1.5;
}
.site-footer__col a:hover { color: #fff; }
.site-footer__legal {
  max-width: var(--max);
  margin: 48px auto 0;
  padding: 28px var(--pad-x) 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,0.5);
}
@media (max-width: 760px) {
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__legal { flex-direction: column; gap: 8px; }
}

/* ── Inter-case nav ─────────────────────────────────────── */
.case-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cr-2);
}
.case-nav__cell {
  padding: 44px var(--pad-x);
  display: flex; flex-direction: column; gap: 8px;
  transition: background .15s ease;
}
.case-nav__cell + .case-nav__cell { border-left: 1px solid var(--rule); }
.case-nav__cell:hover { background: #fff; }
.case-nav__cell--next { text-align: right; align-items: flex-end; }
.case-nav__cell--disabled { opacity: 0.35; pointer-events: none; }
.case-nav__label {
  font-family: var(--display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mg);
}
.case-nav__title {
  font-family: var(--display); font-weight: 700;
  font-size: 22px; line-height: 1.2; letter-spacing: -0.01em;
  color: var(--bk);
}
@media (max-width: 700px) {
  .case-nav__cell { padding: 28px var(--pad-x); }
  .case-nav__title { font-size: 17px; }
}


@media (max-width: 760px) {
  .section {
    padding: 64px 0;
  }

  .cs-section {
    padding: 60px 0;
  }

  .hero,
  .cs-hero {
    padding-top: 56px;
  }

  .hero__cta-row {
    gap: 12px;
  }

  .btn {
    padding: 14px 22px;
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .cs-hero__meta {
    gap: 20px;
  }
}

/* ── Utility ────────────────────────────────────────────── */
.text-mg { color: var(--mg); }
.text-gd { color: var(--gd); }
.text-cr { color: var(--cr); }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.mt-4 { margin-top: 64px; }
