/* Chancery Education Trust — case study page CSS
 * ============================================================================================
 * NEW PAGE 2026-09-24 (Nicola). Built to close out row 103/audit issue: the Resources card on
 * nursery-primary pointed at a fictional "Meon Way Federation" case study behind a dead
 * `#federations` anchor. This is the real replacement - Chancery Education Trust, sourced from
 * their signed customer case study PDF (Isidora Deronjic, School Business Manager).
 *
 * STRATEGY: descended from customer-success/page.css (/r/19) - the closest existing page in
 * shape (hero + stat facts + quote panel + card grid + closer, no marquee/Emma band/journey).
 * Page-scoped utility classes throughout, per house convention - nothing here is assumed global
 * beyond DS tokens (--color-*, --radius-*, --font-*) and true DS components (.section,
 * .page-container, .btn, .cta-section, .section-glow).
 * ============================================================================================ */

.chancery-education-trust-page {
  --dc-shadow-panel: 0 18px 48px rgba(15, 26, 79, 0.07);
  --dc-shadow-coral: 0 10px 24px rgba(236, 99, 75, 0.28);

  font-family: var(--font-sans);
  background: var(--color-page-bg);
}

.chancery-education-trust-page .dc-narrow { max-width: 900px; margin-left: auto; margin-right: auto; }

/* ── Display type ───────────────────────────────────────────────────────────────────────── */
.chancery-education-trust-page [class*="dc-t-"] {
  font-family: var(--font-heading);
  font-weight: 700;
}
:where(.chancery-education-trust-page [class*="dc-t-"]) {
  margin: 0;
  text-wrap: balance;
}
.chancery-education-trust-page .dc-t-64  { font-size: clamp(32px, 4.8vw, 64px); line-height: 1.04; letter-spacing: -0.038em; }
.chancery-education-trust-page .dc-t-40  { font-size: clamp(24px, 3.2vw, 40px); line-height: 1.1;  letter-spacing: -0.03em; }
.chancery-education-trust-page .dc-t-30  { font-size: clamp(20px, 2.6vw, 30px); line-height: 1.16; letter-spacing: -0.024em; }
.chancery-education-trust-page .dc-t-19  { font-size: 19px; line-height: 1.3; letter-spacing: -0.016em; }
.chancery-education-trust-page .dc-t-17  { font-size: 17px; line-height: 1.3; letter-spacing: -0.014em; }

.chancery-education-trust-page .dc-q-24 {
  font-family: var(--font-heading); font-weight: 500;
  font-size: clamp(17px, 2vw, 24px); line-height: 1.45; letter-spacing: -0.015em;
  margin: 0; text-wrap: pretty;
}
.chancery-education-trust-page .dc-q-19 {
  font-family: var(--font-heading); font-weight: 500;
  font-size: clamp(16px, 1.6vw, 19px); line-height: 1.5;
  margin: 0; text-wrap: pretty; font-style: italic;
}

/* ── Body copy ──────────────────────────────────────────────────────────────────────────── */
.chancery-education-trust-page .dc-lede    { font-size: clamp(16px, 1.8vw, 19px); line-height: 1.55; color: var(--color-ink-soft); margin: 0; }
.chancery-education-trust-page .dc-body-15 { font-size: 15px;   line-height: 1.65; color: var(--color-ink-soft); margin: 0; }
.chancery-education-trust-page .dc-body-14 { font-size: 14px;   line-height: 1.6;  color: var(--color-ink-soft); margin: 0; }
.chancery-education-trust-page .dc-body-13 { font-size: 13.5px; line-height: 1.55; color: var(--color-ink-soft); margin: 0; }
.chancery-education-trust-page .dc-closer-lede {
  font-size: clamp(16px, 2vw, 20px); line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

/* ── Mono labels ────────────────────────────────────────────────────────────────────────── */
.chancery-education-trust-page [class*="dc-label-"],
.chancery-education-trust-page .dc-eyebrow {
  font-family: var(--font-label);
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-mute);
  margin: 0;
}
.chancery-education-trust-page .dc-eyebrow { display: block; font-size: 12.5px; color: var(--color-coral-500); }
.chancery-education-trust-page .dc-label-11  { font-size: 11px; }
.chancery-education-trust-page .dc-label-10  { font-size: 10px; }

/* ── Hero ───────────────────────────────────────────────────────────────────────────────── */
.chancery-education-trust-page .dc-hero-facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
  margin-top: 34px;
}
.chancery-education-trust-page .dc-fact-card {
  background: var(--color-paper); border-radius: var(--radius-4); box-shadow: var(--shadow-soft);
  padding: 18px 20px;
}
.chancery-education-trust-page .dc-fact-num {
  font-family: var(--font-heading); font-weight: 700; font-size: 26px; line-height: 1;
  letter-spacing: -0.02em; color: var(--color-ink-deep); margin-top: 6px;
}
.chancery-education-trust-page .dc-fact-num-coral { color: var(--color-coral-500); }
.chancery-education-trust-page .dc-fact-sub { font-size: 11.5px; color: var(--color-ink-mute); margin-top: 3px; }

/* ── Pull-quote box (light, coral rule) - matches the PDF's own device ────────────────────── */
.chancery-education-trust-page .dc-pull {
  position: relative; margin-top: 24px; padding: 20px 24px;
  background: var(--color-page-bg); border-radius: var(--radius-3\.5);
  border-left: 3px solid var(--color-coral-500);
}

/* ── Benefits list ──────────────────────────────────────────────────────────────────────── */
.chancery-education-trust-page .dc-benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.chancery-education-trust-page .dc-benefit {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--color-paper); border-radius: var(--radius-4); box-shadow: var(--shadow-soft);
  padding: 22px 24px;
}
.chancery-education-trust-page .dc-benefit-icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--radius-3);
  background: var(--color-coral-500); box-shadow: var(--dc-shadow-coral);
}
.chancery-education-trust-page .dc-benefit-icon > i { font-size: 14px; color: #fff; }

/* ── Real examples card grid ───────────────────────────────────────────────────────────────── */
.chancery-education-trust-page .dc-ex-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.chancery-education-trust-page .dc-ex-card {
  background: var(--color-paper); border-radius: var(--radius-4\.5); box-shadow: var(--shadow-soft);
  padding: 26px 28px;
}

/* ── Quote panel (inset dark, 900px) ───────────────────────────────────────────────────────── */
.chancery-education-trust-page .dc-quote-panel {
  position: relative; overflow: hidden;
  background: var(--color-dark-band); border-radius: var(--radius-5\.5);
  padding: clamp(34px, 4vw, 52px) clamp(28px, 4vw, 48px);
  margin: 0 auto; max-width: 900px;
}
.chancery-education-trust-page .dc-quote-foot { display: flex; align-items: center; gap: 13px; margin-top: 26px; }
.chancery-education-trust-page .dc-avatar {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); color: #fff;
  font-family: var(--font-heading); font-weight: 700; font-size: 14px; line-height: normal;
}
.chancery-education-trust-page .dc-quote-name { font-family: var(--font-heading); font-weight: 600; font-size: 15px; line-height: normal; color: #fff; }
.chancery-education-trust-page .dc-on-dark-body { color: var(--color-on-dark-body); }

/* ── Measures ───────────────────────────────────────────────────────────────────────────── */
.chancery-education-trust-page .dc-measure-780 { max-width: 780px; }
.chancery-education-trust-page .dc-measure-680 { max-width: 680px; }
.chancery-education-trust-page .dc-ch-58 { max-width: 58ch; }
.chancery-education-trust-page .dc-ch-62 { max-width: 62ch; }

/* ── Spacing ────────────────────────────────────────────────────────────────────────────── */
.chancery-education-trust-page .dc-mt-4  { margin-top: 4px; }
.chancery-education-trust-page .dc-mt-6  { margin-top: 6px; }
.chancery-education-trust-page .dc-mt-14 { margin-top: 14px; }
.chancery-education-trust-page .dc-mt-18 { margin-top: 18px; }
.chancery-education-trust-page .dc-mt-20 { margin-top: 20px; }
.chancery-education-trust-page .dc-mt-22 { margin-top: 22px; }
.chancery-education-trust-page .dc-mt-28 { margin-top: 28px; }
.chancery-education-trust-page .dc-mt-40 { margin-top: 40px; }
.chancery-education-trust-page .dc-mb-14 { margin-bottom: 14px; }
.chancery-education-trust-page .dc-mb-30 { margin-bottom: 30px; }
.chancery-education-trust-page .dc-mb-44 { margin-bottom: 44px; }

/* ── Section rhythm ─────────────────────────────────────────────────────────────────────── */
.chancery-education-trust-page .dc-py-128-72 { padding-top: 128px; padding-bottom: 72px; }
.chancery-education-trust-page .dc-py-0-88   { padding-top: 0;     padding-bottom: 88px; }
.chancery-education-trust-page .dc-bg-paper  { background: var(--color-paper); }
.chancery-education-trust-page .dc-rule-tb   { border-top: 1px solid var(--color-rule); border-bottom: 1px solid var(--color-rule); }

@media (max-width: 900px) {
  .chancery-education-trust-page .dc-hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chancery-education-trust-page .dc-benefit-grid,
  .chancery-education-trust-page .dc-ex-grid { grid-template-columns: minmax(0, 1fr); }
}

.chancery-education-trust-page .cta-section { padding: clamp(64px, 9vw, 120px) 24px; }

/* Deliberately no @keyframes - this page has no custom motion; DS components (section-glow)
   already honour prefers-reduced-motion on their own. */
