/*
 * DPE Public v2033 Kinetic Blueprint
 * Image-led editorial compositions for the association website.
 * Loaded only by the public association and program templates.
 */

body.dpe-public {
  --page-bg: #edf4fb;
  --paper: #ffffff;
  --paper-blue: #eaf3fd;
  --ink: #061a3d;
  --ink-soft: #294565;
  --night: #020a18;
  --navy: #062756;
  --navy-raised: #0a3977;
  --blue: #1260f2;
  --blue-hover: #084dc9;
  --cyan: #35c9e8;
  --line: rgba(8, 45, 120, 0.16);
  --line-dark: rgba(255, 255, 255, 0.16);
  --muted: #58708e;
  --shell: 1440px;
  --gutter: 42px;
  --radius: 8px;
  --shadow: 0 28px 80px rgba(3, 20, 40, 0.13);
  --shadow-soft: 0 18px 46px rgba(3, 20, 40, 0.09);
  background: var(--page-bg);
  font-family: "Manrope DPE", "Inter DPE", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
}

.dpe-public :where(h1, h2, h3),
.dpe-public .dpe-button,
.dpe-public .site-header__action,
.dpe-public .site-footer__cta,
.dpe-public .site-nav a {
  font-family: "Bricolage DPE", "Manrope DPE", Arial, sans-serif;
}

.dpe-public :where(h1, h2, h3) {
  font-weight: 620;
  line-height: 0.98;
  text-wrap: balance;
}

.dpe-public h1 { font-size: 80px; }
.dpe-public h2 { font-size: 56px; }
.dpe-public h3 { font-size: 25px; line-height: 1.08; }
.dpe-section { padding-block: 112px; }
.dpe-lead { font-size: 20px; line-height: 1.55; }

.dpe-kicker,
.site-eyebrow {
  font-family: "Manrope DPE", "Inter DPE", Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
}

.dpe-button,
.site-header__action,
.site-footer__cta {
  border-radius: 7px;
  min-height: 52px;
  padding-inline: 24px;
}

.dpe-button svg,
.dpe-text-link svg { transition: transform 180ms ease; }
.dpe-button:hover svg,
.dpe-text-link:hover svg { transform: translateX(3px); }

/* Header and chapter navigation */
.site-header {
  background: rgba(2, 10, 24, 0.94);
  backdrop-filter: blur(18px);
}

.site-header__inner { min-height: 72px; }
.site-header.is-compact .site-header__inner { min-height: 62px; }
.site-brand { width: 94px; }
.site-brand img { width: 94px; }
.site-nav { gap: 34px; }
.site-nav a { font-size: 13px; font-weight: 650; }

.dpe-story-rail {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 4px;
  padding: 7px;
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
}

.dpe-story-rail a {
  align-items: center;
  border-radius: 6px;
  color: #405470;
  display: grid;
  grid-template-columns: 40px 0;
  height: 40px;
  overflow: hidden;
  transition: background-color 180ms ease, color 180ms ease, grid-template-columns 220ms ease;
}

.dpe-story-rail a span {
  font-family: "Bricolage DPE", Arial, sans-serif;
  font-size: 12px;
  font-weight: 760;
  text-align: center;
}

.dpe-story-rail a b {
  font-size: 11px;
  font-weight: 760;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
}

.dpe-story-rail a:hover,
.dpe-story-rail a:focus-visible {
  background: rgba(18, 96, 242, 0.08);
  color: var(--blue);
  grid-template-columns: 40px 78px;
}

.dpe-story-rail a:hover b,
.dpe-story-rail a:focus-visible b { opacity: 1; }
.dpe-story-rail a[aria-current="location"] { background: rgba(18, 96, 242, 0.08); color: var(--blue); }

/* Home opening: a living collage rather than a static background. */
.dpe-site--home .dpe-hero {
  min-height: 780px;
  isolation: isolate;
}

.dpe-site--home .dpe-hero__media {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1.58fr) minmax(330px, 0.72fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  inset: 0;
  padding: 10px;
  position: absolute;
}

.dpe-hero-shot {
  border-radius: 7px;
  margin: 0;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.dpe-hero-shot--primary { grid-row: 1 / -1; }
.dpe-hero-shot picture,
.dpe-hero-shot img { height: 100%; width: 100%; }
.dpe-hero-shot img { object-fit: cover; transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.dpe-hero-shot--primary img { object-position: 55% center; }
.dpe-hero-shot--teacher img { object-position: center 38%; }
.dpe-hero-shot--ideas img { object-position: center 42%; }
.dpe-hero-shot:hover img { transform: scale(1.025); }

.dpe-site--home .dpe-hero__shade {
  background: rgba(2, 10, 24, 0.2);
  z-index: 1;
}

.dpe-site--home .dpe-hero::after {
  background: rgba(2, 10, 24, 0.82);
  inset: 10px 43% 10px 10px;
  z-index: 1;
}

.dpe-hero-thread {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

.dpe-hero-thread i {
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(53, 201, 232, 0.38);
  display: block;
  height: 2px;
  opacity: 0.72;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  width: 25%;
}

.dpe-hero-thread i:nth-child(1) { left: 3%; top: 31%; rotate: -8deg; }
.dpe-hero-thread i:nth-child(2) { left: 26%; top: 27%; rotate: 8deg; }
.dpe-hero-thread i:nth-child(3) { left: 50%; top: 34%; rotate: -7deg; }
.dpe-hero-thread i:nth-child(4) { left: 73%; top: 29%; rotate: 7deg; }
.dpe-motion-ready .dpe-hero-thread i { transform: scaleX(1); transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.dpe-motion-ready .dpe-hero-thread i:nth-child(2) { transition-delay: 320ms; }
.dpe-motion-ready .dpe-hero-thread i:nth-child(3) { transition-delay: 640ms; }
.dpe-motion-ready .dpe-hero-thread i:nth-child(4) { transition-delay: 960ms; }

.dpe-site--home .dpe-hero__content {
  min-height: 700px;
  padding-bottom: 116px;
  padding-top: 86px;
}

.dpe-site--home .dpe-hero h1 { font-size: 92px; max-width: 690px; }
.dpe-site--home .dpe-hero__thesis { font-size: 30px; max-width: 650px; }
.dpe-site--home .dpe-hero__lead { color: #d7e3f1; max-width: 590px; }

.dpe-site--home .dpe-hero__meta {
  bottom: 10px;
  width: calc(100% - 20px);
}

.dpe-site--home .dpe-hero__meta span {
  background: rgba(2, 10, 24, 0.82);
  border-color: rgba(255, 255, 255, 0.18);
}

.dpe-signal {
  background: transparent;
  margin-top: -24px;
  position: relative;
  z-index: 6;
}

.dpe-signal .dpe-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding-block: 0;
}

.dpe-signal p {
  border-color: var(--line);
  color: var(--ink-soft);
  min-height: 68px;
}
.dpe-signal svg { stroke: var(--blue); }

/* Manifesto and visual world */
.dpe-purpose {
  background-color: #f7faff;
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.dpe-purpose::before {
  background: url("img/blue-thread-blueprint-v4.webp") center / cover no-repeat;
  content: "";
  height: 520px;
  opacity: 0.08;
  position: absolute;
  right: -120px;
  top: 40px;
  transform: rotate(-4deg);
  width: 760px;
  z-index: -1;
}

.dpe-purpose__grid {
  gap: 110px;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.72fr);
}

.dpe-purpose .dpe-section-title h2 { font-size: 62px; max-width: 820px; }
.dpe-purpose__copy { background: rgba(255, 255, 255, 0.78); border-radius: 8px; box-shadow: var(--shadow-soft); padding: 28px; }

.dpe-purpose__route {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-top: 52px;
}

.dpe-purpose__route span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  padding: 10px 13px;
  text-transform: uppercase;
  white-space: nowrap;
}

.dpe-purpose__route i { background: var(--blue); height: 1px; max-width: 92px; width: 100%; }

.dpe-atlas--purpose {
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  margin-top: 38px;
}

.dpe-atlas--purpose img { aspect-ratio: 16 / 7.6; }
.dpe-atlas figcaption { background: rgba(2, 10, 24, 0.9); min-height: 54px; }

.dpe-world {
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.dpe-world__item,
.dpe-world__item--wide {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  display: grid;
  grid-row: auto;
  grid-template-rows: 240px 1fr;
  min-height: 520px;
}

.dpe-world__item img {
  filter: saturate(0.9) contrast(1.02);
  height: 240px;
  transition: filter 300ms ease, transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dpe-world__item:hover img { filter: saturate(1); transform: scale(1.025); }
.dpe-world__item::after { display: none; }
.dpe-world__item > div { padding: 30px; position: static; }
.dpe-world__item svg { margin-bottom: 18px; stroke: var(--blue); }
.dpe-world__item .dpe-kicker { color: var(--blue); }
.dpe-world__item h3 { font-size: 30px; }
.dpe-world__item p:last-child { color: var(--muted); }

/* Programs become a photographic editorial wall. */
.dpe-programs { background: var(--night); padding-bottom: 116px; }
.dpe-programs__canvas { min-height: 600px; }
.dpe-programs__canvas > img { filter: saturate(0.88) contrast(1.06); height: 600px; }
.dpe-programs__shade { background: rgba(2, 10, 24, 0.54); }
.dpe-programs__intro { bottom: 82px; }
.dpe-programs__intro h2 { font-size: 66px; max-width: 980px; }
.dpe-programs__index { gap: 16px; margin-top: -44px; }

.dpe-programs__index > a,
.dpe-programs__index > a:first-child {
  grid-column: span 6;
  min-height: 560px;
}

.dpe-programs__index > a::after { background: rgba(2, 10, 24, 0.88); inset: 52% 0 0; }
.dpe-programs__index > a:hover { transform: translateY(-7px); }
.dpe-programs__index strong,
.dpe-programs__index > a:first-child strong { font-size: 39px; }
.dpe-programs__index p { font-size: 15px; max-width: 620px; }

/* Active course: a clear object inside the ecosystem, not another dark band. */
.dpe-course { background: #eaf3fd; color: var(--ink); }
.dpe-course__grid { background: #fff; box-shadow: var(--shadow); grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr); padding: 0; }
.dpe-course__media { min-height: 720px; }
.dpe-course__media img { filter: saturate(0.86) contrast(1.03); transition: transform 600ms ease; }
.dpe-course__media:hover img { transform: scale(1.025); }
.dpe-course__content { background: #fff; border-left: 1px solid var(--line); color: var(--ink); padding: 70px; }
.dpe-course__content .dpe-kicker { color: var(--blue); }
.dpe-course__content .dpe-lead { color: var(--ink-soft); }
.dpe-facts { border-color: var(--line); }
.dpe-facts li { border-color: var(--line); }
.dpe-facts span { color: var(--muted); }
.dpe-course__content small { color: var(--muted); }
.dpe-course__content .dpe-button--dark { background: var(--blue); color: #fff; }
.dpe-course__content .dpe-button--dark:hover { background: var(--blue-hover); color: #fff; }

/* Method: visual lead followed by one coherent, animated route. */
.dpe-method { background: #f8fbff; }
.dpe-method > .dpe-shell { gap: 52px; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); }
.dpe-method__head { padding-top: 18px; }
.dpe-method__head h2 { font-size: 58px; }
.dpe-method__visual { grid-column: 2; grid-row: 1; margin-top: 0; min-height: 520px; }
.dpe-method__visual img { aspect-ratio: auto; height: 520px; }
.dpe-method__visual figcaption { min-height: 58px; }

.dpe-method__steps {
  border-top: 0;
  display: grid;
  gap: 12px;
  grid-column: 1 / -1;
  grid-row: 2;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 8px;
}

.dpe-method__steps::before {
  background: rgba(18, 96, 242, 0.16);
  content: "";
  display: block;
  height: 2px;
  left: 7%;
  position: absolute;
  right: 7%;
  top: 42px;
}

.dpe-method__steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: block;
  min-height: 252px;
  padding: 28px;
}

.dpe-method__steps li > span {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(18, 96, 242, 0.32);
  border-radius: 50%;
  display: flex;
  font-size: 16px;
  height: 44px;
  justify-content: center;
  position: relative;
  width: 44px;
  z-index: 2;
}

.dpe-method__steps svg { display: block; height: 23px; margin: 44px 0 18px; stroke: var(--blue); width: 23px; }
.dpe-method__steps h3 { font-size: 22px; }

/* Perspectives use a full visual continuum and a floating editorial sheet. */
.dpe-perspectives { background: #eaf3fd; overflow: hidden; padding-top: 0; }
.dpe-perspectives__grid { display: grid; grid-template-columns: 1fr; padding-inline: 0; }
.dpe-perspectives__visual { min-height: 560px; }
.dpe-perspectives__visual img { filter: saturate(0.9) contrast(1.04); object-position: center; }
.dpe-perspectives__visual::after { background: rgba(2, 10, 24, 0.3); }
.dpe-perspectives__visual > p { bottom: 52px; font-size: 42px; left: max(42px, calc((100% - 1360px) / 2 + 42px)); }
.dpe-perspectives__content {
  background: #fff;
  box-shadow: var(--shadow);
  margin: -74px auto 0;
  max-width: 1280px;
  padding: 64px;
  position: relative;
  width: calc(100% - 84px);
  z-index: 3;
}
.dpe-perspectives__content h2 { max-width: 930px; }
.dpe-perspective-list { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dpe-perspective-list article { border: 1px solid var(--line); border-radius: 8px; display: block; min-height: 250px; padding: 28px; }
.dpe-perspective-list h3 { font-size: 23px; margin-top: 42px; }
.dpe-perspective-list p { grid-column: auto; margin-top: 12px; }

.dpe-next { min-height: 530px; }
.dpe-next > img { filter: saturate(0.86) contrast(1.04); }
.dpe-next__shade { background: rgba(2, 10, 24, 0.72); }
.dpe-next__content { min-height: 530px; }
.dpe-next h2 { font-size: 58px; }

/* Shared public inner pages */
.dpe-inner-hero,
.dpe-program-hero { min-height: 680px; }
.dpe-inner-hero > img,
.dpe-program-hero > img { filter: saturate(0.88) contrast(1.05); }
.dpe-inner-hero__shade,
.dpe-program-hero__shade { background: rgba(2, 10, 24, 0.38); }
.dpe-inner-hero::after,
.dpe-program-hero::after { background: rgba(2, 10, 24, 0.74); inset: 0 42% 0 0; }
.dpe-inner-hero__content { min-height: 680px; }
.dpe-inner-hero h1 { font-size: 76px; }
.dpe-inner-hero__content > p:last-child { font-size: 20px; }

.dpe-about-story,
.dpe-programs-intro,
.dpe-ideas-intro,
.dpe-contact-start,
.dpe-program-brief { background: #f8fbff; }

.dpe-about-story__grid,
.dpe-programs-intro__grid,
.dpe-ideas-intro__grid,
.dpe-program-brief__grid { gap: 88px; }

.dpe-about-proof { box-shadow: var(--shadow); }
.dpe-about-proof figure { min-height: 620px; }
.dpe-about-proof ul { background: #061b3d; }

.dpe-principles { background: #eaf3fd; color: var(--ink); }
.dpe-principles .dpe-kicker { color: var(--blue); }
.dpe-principles__visual { box-shadow: var(--shadow); }
.dpe-principles__grid { gap: 12px; margin-top: 14px; }
.dpe-principles__grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  color: var(--ink);
}
.dpe-principles__grid article:last-child { border-right: 1px solid var(--line); }
.dpe-principles__grid span,
.dpe-principles__grid svg { color: var(--blue); stroke: var(--blue); }
.dpe-principles__grid p { color: var(--muted); }

.dpe-team { background: #f8fbff; color: var(--ink); }
.dpe-team .dpe-kicker,
.dpe-team .dpe-perspective-list span { color: var(--blue); }
.dpe-team .dpe-perspective-list article { border-color: var(--line); }
.dpe-team .dpe-perspective-list p { color: var(--muted); }

.dpe-program-atlas,
.dpe-ideas-visual,
.dpe-contact-visual { box-shadow: var(--shadow); }

.dpe-program-index { background: #edf4fb; }
.dpe-program-profile {
  background: #fff;
  box-shadow: var(--shadow-soft);
  gap: 0;
  padding-inline: 0;
}
.dpe-program-profile + .dpe-program-profile { border-top: 0; margin-top: 28px; padding-top: 0; }
.dpe-program-profile__media { border-radius: 8px 0 0 8px; min-height: 620px; }
.dpe-program-profile--reverse .dpe-program-profile__media { border-radius: 0 8px 8px 0; }
.dpe-program-profile__content { padding: 58px; }
.dpe-program-profile__content h2 { font-size: 55px; }

.dpe-ideas-grid { background: #edf4fb; color: var(--ink); }
.dpe-ideas-grid > .dpe-shell { gap: 14px; }
.dpe-idea,
.dpe-idea--feature {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
}
.dpe-ideas-grid .dpe-kicker,
.dpe-idea > span,
.dpe-idea__copy > span { color: var(--blue); }
.dpe-idea--wide .dpe-idea__copy > span { color: var(--blue); }
.dpe-idea > svg,
.dpe-idea__copy > svg { stroke: var(--blue); }
.dpe-idea p:last-child,
.dpe-idea--feature p:last-child { color: var(--muted); }
.dpe-idea--feature h2 { color: var(--ink); }
.dpe-idea__media { overflow: hidden; }

.dpe-contact-stage { gap: 32px; }
.dpe-contact-paths a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 12px;
  padding-inline: 24px;
}
.dpe-contact-paths { border-top: 0; }
.dpe-contact-visual { min-height: 610px; }
.dpe-contact-facts { background: #061b3d; }

/* Program dossiers use the same visual language without touching their data model. */
.dpe-program-hero { min-height: 760px; }
.dpe-program-hero__inner { min-height: 760px; }
.dpe-program-hero__content { max-width: 830px; }
.dpe-program-hero h1 { font-size: 78px; }
.dpe-program-hero__role { font-size: 22px; }
.dpe-program-brief__answer { background: #fff; border-left: 0; box-shadow: var(--shadow-soft); padding: 34px; }

.dpe-concept-figure { border-radius: 8px; box-shadow: var(--shadow); }
.dpe-workbook__method,
.dpe-project-lab__principles { gap: 12px; }
.dpe-workbook__method li,
.dpe-project-lab__principles li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}
.dpe-workbook__method li:last-child,
.dpe-project-lab__principles li:last-child { border-right: 1px solid var(--line); }
.dpe-program-proof { box-shadow: var(--shadow-soft); }
.dpe-program-next { background: var(--blue); }

/* Footer: trust and navigation remain visible but visually integrated. */
.site-footer {
  background: #020a18;
  isolation: isolate;
  padding-top: 18px;
}
.site-footer::before {
  background: url("img/blue-thread-blueprint-v4.webp") center / cover no-repeat;
  content: "";
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}
.site-footer__lead { padding-block: 76px; }
.site-footer__lead h2 { font-size: 54px; }
.site-footer__main { padding-block: 62px; }
.site-footer__trust-band { background: #eaf3fd; box-shadow: var(--shadow-soft); }
.site-footer__trust-marks img { max-width: 240px; }

/* Motion is restrained and fully disabled for reduced-motion users. */
.dpe-motion-ready .dpe-public [data-reveal] {
  transform: translateY(28px);
  transition-duration: 760ms;
}

@media (max-width: 1180px) {
  body.dpe-public { --gutter: 32px; }
  .dpe-story-rail { display: none; }
  .dpe-public h1 { font-size: 68px; }
  .dpe-public h2 { font-size: 48px; }
  .dpe-site--home .dpe-hero h1 { font-size: 76px; }
  .dpe-purpose .dpe-section-title h2,
  .dpe-method__head h2 { font-size: 50px; }
  .dpe-programs__intro h2 { font-size: 54px; }
  .dpe-course__content { padding: 52px; }
  .dpe-method__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dpe-perspectives__content { width: calc(100% - 64px); }
}

@media (max-width: 900px) {
  body.dpe-public { --gutter: 24px; }
  .dpe-section { padding-block: 86px; }
  .dpe-public h1 { font-size: 58px; }
  .dpe-public h2 { font-size: 44px; }

  .dpe-site--home .dpe-hero { min-height: 820px; }
  .dpe-site--home .dpe-hero__media { grid-template-columns: 1fr 0.48fr; }
  .dpe-site--home .dpe-hero::after { inset: 10px 32% 10px 10px; }
  .dpe-site--home .dpe-hero__content { min-height: 740px; padding-right: 25%; }
  .dpe-site--home .dpe-hero h1 { font-size: 66px; }
  .dpe-site--home .dpe-hero__meta { grid-template-columns: repeat(2, 1fr); }

  .dpe-purpose__grid,
  .dpe-about-story__grid,
  .dpe-programs-intro__grid,
  .dpe-ideas-intro__grid,
  .dpe-program-brief__grid { gap: 44px; grid-template-columns: 1fr; }
  .dpe-purpose__route { flex-wrap: wrap; }
  .dpe-purpose__route i { display: none; }
  .dpe-world { grid-template-columns: 1fr; }
  .dpe-world__item,
  .dpe-world__item--wide { grid-template-columns: minmax(250px, 0.8fr) 1fr; grid-template-rows: 1fr; min-height: 360px; }
  .dpe-world__item img { height: 100%; }

  .dpe-programs__index > a,
  .dpe-programs__index > a:first-child { grid-column: 1 / -1; min-height: 520px; }
  .dpe-course__grid { grid-template-columns: 1fr; }
  .dpe-course__media { min-height: 520px; }
  .dpe-course__content { border-left: 0; border-top: 1px solid var(--line); }
  .dpe-method > .dpe-shell { grid-template-columns: 1fr; }
  .dpe-method__visual { grid-column: 1; grid-row: 2; }
  .dpe-method__steps { grid-column: 1; grid-row: 3; grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .dpe-perspectives__content { margin-top: -46px; padding: 44px; }
  .dpe-perspective-list { grid-template-columns: 1fr; }
  .dpe-perspective-list article { min-height: 0; }

  .dpe-inner-hero,
  .dpe-program-hero,
  .dpe-inner-hero__content,
  .dpe-program-hero__inner { min-height: 620px; }
  .dpe-inner-hero::after,
  .dpe-program-hero::after { inset: 0 18% 0 0; }

  .dpe-program-profile,
  .dpe-program-profile--reverse { grid-template-columns: 1fr; }
  .dpe-program-profile--reverse .dpe-program-profile__media { order: 0; }
  .dpe-program-profile__media,
  .dpe-program-profile--reverse .dpe-program-profile__media { border-radius: 8px 8px 0 0; min-height: 500px; }
  .dpe-program-profile__content { padding: 44px; }

  .dpe-principles__grid { grid-template-columns: 1fr; }
  .dpe-principles__grid article { min-height: 0; }
  .dpe-contact-stage { grid-template-columns: 1fr; }
  .dpe-contact-visual { min-height: 460px; }
}

@media (max-width: 640px) {
  body.dpe-public { --gutter: 18px; font-size: 15px; }
  .dpe-section { padding-block: 70px; }
  .dpe-public h1 { font-size: 44px; line-height: 1; }
  .dpe-public h2 { font-size: 37px; line-height: 1.02; }
  .dpe-public h3 { font-size: 22px; }
  .dpe-lead { font-size: 18px; }

  .dpe-site--home .dpe-hero { min-height: 790px; }
  .dpe-site--home .dpe-hero__media {
    gap: 6px;
    grid-template-columns: 1fr 0.62fr;
    grid-template-rows: 46% 54%;
    padding: 6px;
  }
  .dpe-hero-shot--primary { grid-row: 1; }
  .dpe-hero-shot--teacher { grid-column: 2; grid-row: 1; }
  .dpe-hero-shot--ideas { grid-column: 1 / -1; grid-row: 2; }
  .dpe-hero-shot--ideas img { object-position: center 36%; }
  .dpe-site--home .dpe-hero::after { background: rgba(2, 10, 24, 0.78); inset: 6px; }
  .dpe-site--home .dpe-hero__content { justify-content: start; min-height: 710px; padding: 92px 22px 150px; }
  .dpe-site--home .dpe-hero h1 { font-size: 50px; }
  .dpe-site--home .dpe-hero__thesis { font-size: 23px; }
  .dpe-site--home .dpe-hero__lead { font-size: 16px; }
  .dpe-site--home .dpe-hero__meta { bottom: 6px; width: calc(100% - 12px); }
  .dpe-site--home .dpe-hero__meta span { min-height: 52px; padding: 18px 12px 12px; }
  .dpe-hero-thread { display: none; }

  .dpe-signal { margin-top: -12px; }
  .dpe-signal .dpe-shell { display: grid; grid-template-columns: 1fr; padding-inline: 0; }
  .dpe-signal p { border-bottom: 1px solid var(--line); border-right: 0; justify-content: flex-start; min-height: 52px; padding-inline: 18px; }
  .dpe-signal p:last-child { border-bottom: 0; }

  .dpe-purpose::before { display: none; }
  .dpe-purpose .dpe-section-title h2,
  .dpe-method__head h2 { font-size: 38px; }
  .dpe-purpose__copy { padding: 22px; }
  .dpe-purpose__route { gap: 7px; margin-top: 34px; }
  .dpe-purpose__route span { font-size: 9px; padding: 8px 9px; }
  .dpe-atlas--purpose img { aspect-ratio: 4 / 3; }
  .dpe-atlas figcaption { align-items: flex-start; display: grid; gap: 3px; min-height: 72px; padding-block: 12px; }

  .dpe-world__item,
  .dpe-world__item--wide { grid-template-columns: 1fr; grid-template-rows: 220px 1fr; min-height: 470px; }
  .dpe-world__item img { height: 220px; }
  .dpe-world__item > div { padding: 24px; }
  .dpe-world__item h3 { font-size: 26px; }

  .dpe-programs { padding-bottom: 78px; }
  .dpe-programs__canvas,
  .dpe-programs__canvas > img { min-height: 470px; height: 470px; }
  .dpe-programs__intro { bottom: 48px; }
  .dpe-programs__intro h2 { font-size: 40px; }
  .dpe-programs__index > a,
  .dpe-programs__index > a:first-child { min-height: 470px; }
  .dpe-programs__index strong,
  .dpe-programs__index > a:first-child strong { font-size: 31px; }
  .dpe-programs__index div { padding: 24px 52px 24px 24px; }

  .dpe-course__media { min-height: 430px; }
  .dpe-course__content { padding: 30px 24px; }
  .dpe-facts { grid-template-columns: 1fr; }
  .dpe-facts li,
  .dpe-facts li + li { border-bottom: 1px solid var(--line); border-right: 0; padding: 15px 0; }
  .dpe-facts li:last-child { border-bottom: 0; }

  .dpe-method__visual,
  .dpe-method__visual img { min-height: 360px; height: 360px; }
  .dpe-method__steps { grid-template-columns: 1fr; }
  .dpe-method__steps::before { display: none; }
  .dpe-method__steps li { min-height: 0; }
  .dpe-method__steps svg { margin-top: 28px; }

  .dpe-perspectives__visual { min-height: 400px; }
  .dpe-perspectives__visual > p { bottom: 28px; font-size: 31px; left: 24px; }
  .dpe-perspectives__content { margin-top: -24px; padding: 28px 22px; width: calc(100% - 24px); }
  .dpe-perspective-list h3 { margin-top: 28px; }
  .dpe-next,
  .dpe-next__content { min-height: 460px; }
  .dpe-next h2 { font-size: 38px; }

  .dpe-inner-hero,
  .dpe-program-hero,
  .dpe-inner-hero__content,
  .dpe-program-hero__inner { min-height: 540px; }
  .dpe-inner-hero::after,
  .dpe-program-hero::after { inset: 0; }
  .dpe-inner-hero h1,
  .dpe-program-hero h1 { font-size: 46px; }
  .dpe-program-page--teachertraining .dpe-program-hero h1 { font-size: 34px; }
  .dpe-inner-hero__content { padding-bottom: 50px; }

  .dpe-about-proof { grid-template-columns: 1fr; }
  .dpe-about-proof figure { min-height: 420px; }
  .dpe-about-proof ul { padding: 24px; }
  .dpe-program-profile__media,
  .dpe-program-profile--reverse .dpe-program-profile__media { min-height: 410px; }
  .dpe-program-profile__content { padding: 28px 22px; }
  .dpe-program-profile__content h2 { font-size: 40px; }
  .dpe-program-brief__answer { padding: 24px; }

  .dpe-ideas-grid > .dpe-shell { grid-template-columns: 1fr; }
  .dpe-idea,
  .dpe-idea--feature,
  .dpe-idea--wide { display: grid; grid-column: 1; grid-template-columns: 1fr; }
  .dpe-idea--feature .dpe-idea__copy,
  .dpe-idea--wide .dpe-idea__copy { padding: 28px 22px; }
  .dpe-idea__media { min-height: 340px; }

  .dpe-contact-paths a { grid-template-columns: 30px 25px minmax(0, 1fr); padding: 20px 16px; }
  .dpe-contact-paths b { display: none; }
  .dpe-contact-visual { min-height: 380px; }

  .site-footer__lead h2 { font-size: 38px; }
  .site-footer__trust-marks { align-items: flex-start; flex-direction: column; }
  .site-footer__trust-marks img { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .dpe-hero-thread i { transform: scaleX(1); transition: none; }
  .dpe-hero-shot img,
  .dpe-world__item img,
  .dpe-course__media img { transition: none; }
}
