/* Launch refinement: cover-derived geometric hero and editorial praise layout. */

body.ep-home.ep-hero-geometric .ep-hero-art {
  background-position: left center;
  background-size: 125% auto;
}

.ep-home.ep-hero-geometric .ep-hero--quiet-canopy .ep-kicker {
  margin: 0 0 10px;
  color: #28225f;
  font-size: clamp(0.62rem, 0.8vw, 0.74rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-wrap: balance;
}

@media (max-width: 699px) {
  .ep-home.ep-hero-geometric .ep-hero--quiet-canopy .ep-kicker {
    margin-bottom: 6px;
    font-size: clamp(0.58rem, 2.4vw, 0.68rem);
  }
}

.ep-hero-geometric-dots {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ep-hero-dot {
  position: absolute;
  width: var(--dot-size);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--dot-color);
}

.ep-hero-dot--1 { top: 9%; left: 48%; --dot-size: 8px; --dot-color: #e74932; }
.ep-hero-dot--2 { top: 14%; left: 54%; --dot-size: 18px; --dot-color: #f4bd28; }
.ep-hero-dot--3 { top: 8%; left: 62%; --dot-size: 11px; --dot-color: #288f89; }
.ep-hero-dot--4 { top: 18%; right: 5%; --dot-size: 7px; --dot-color: #166b9a; }
.ep-hero-dot--5 { top: 34%; left: 53%; --dot-size: 13px; --dot-color: #ed7f3c; }
.ep-hero-dot--6 { top: 46%; left: 57%; --dot-size: 32px; --dot-color: #166b9a; }
.ep-hero-dot--7 { top: 61%; left: 53%; --dot-size: 9px; --dot-color: #9bd4c7; }
.ep-hero-dot--8 { top: 38%; right: 3%; --dot-size: 30px; --dot-color: #288f89; }
.ep-hero-dot--9 { top: 68%; right: 4%; --dot-size: 16px; --dot-color: #e74932; }
.ep-hero-dot--10 { bottom: 7%; left: 48%; --dot-size: 22px; --dot-color: #288f89; }
.ep-hero-dot--11 { right: 23%; bottom: 5%; --dot-size: 12px; --dot-color: #f4bd28; }
.ep-hero-dot--12 { right: 8%; bottom: 10%; --dot-size: 25px; --dot-color: #ed7f3c; }

.ep-praise-v2 {
  position: relative;
  isolation: isolate;
  min-height: 1360px;
  overflow: hidden;
  padding: clamp(58px, 6vw, 88px) 0 72px;
  background: #f7f3eb;
}

.ep-praise-v2__tree {
  position: absolute;
  z-index: 0;
  inset: 220px auto auto 0;
  width: min(118vw, 1700px);
  height: auto;
  pointer-events: none;
}

.ep-praise-v2__tree img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left top;
}

.ep-praise-v2__shell {
  position: relative;
  z-index: 1;
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
}

.ep-praise-v2__heading {
  width: min(820px, 60%);
  margin: 0 0 clamp(34px, 4vw, 54px) auto;
}

.ep-praise-v2__heading h2 {
  margin: 0;
  color: #17151b;
  font: 600 clamp(2.7rem, 4.5vw, 5.15rem)/0.98 var(--ep-display, "Bodoni Moda", Georgia, serif);
  letter-spacing: -0.045em;
}

.ep-praise-v2__heading em {
  display: block;
  padding-bottom: 0.08em;
  color: #2b235f;
  font-weight: 500;
  line-height: 1.12;
}

.ep-praise-v2__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: min(820px, 60%);
  margin-left: auto;
}

.ep-praise-v2__quote {
  --card-bg: rgb(255 253 248 / 96%);
  display: flex;
  flex-direction: column;
  min-height: 250px;
  margin: 0;
  padding: clamp(24px, 2.2vw, 34px);
  border: 1px solid rgb(43 35 95 / 15%);
  border-radius: 3px;
  background: var(--card-bg);
  -webkit-backdrop-filter: blur(14px) saturate(88%);
  backdrop-filter: blur(14px) saturate(88%);
  box-shadow: 0 18px 45px rgb(31 53 50 / 9%);
}

.ep-praise-v2__quote:nth-child(1) { --card-bg: rgb(255 248 218 / 97%); }
.ep-praise-v2__quote:nth-child(2) { --card-bg: rgb(224 243 240 / 97%); }
.ep-praise-v2__quote:nth-child(3) { --card-bg: rgb(225 237 250 / 97%); }
.ep-praise-v2__quote:nth-child(4) { --card-bg: rgb(255 233 221 / 97%); }
.ep-praise-v2__quote:nth-child(5) { --card-bg: rgb(236 230 248 / 97%); }

.ep-praise-v2__quote--featured {
  grid-column: 1 / -1;
  min-height: 230px;
  padding-right: clamp(34px, 6vw, 92px);
}

.ep-praise-v2__quote p {
  margin: 0 0 28px;
  color: #2b235f;
  font: 500 clamp(1.2rem, 1.45vw, 1.58rem)/1.3 var(--ep-serif, "Source Serif 4", Georgia, serif);
  text-wrap: pretty;
}

.ep-praise-v2__quote--featured p {
  max-width: 34ch;
  font-size: clamp(1.55rem, 2.15vw, 2.25rem);
  line-height: 1.2;
}

.ep-praise-v2__quote footer { margin-top: auto; }

.ep-praise-v2__quote strong,
.ep-praise-v2__quote span {
  display: block;
  font-family: Inter, Arial, sans-serif;
}

.ep-praise-v2__quote strong {
  color: #17151b;
  font-size: 0.92rem;
  line-height: 1.25;
}

.ep-praise-v2__quote span {
  max-width: 38ch;
  margin-top: 5px;
  color: rgb(23 21 27 / 68%);
  font-size: 0.72rem;
  line-height: 1.38;
}

@media (min-width: 721px) and (max-width: 1000px) {
  .ep-praise-v2 {
    min-height: 1080px;
  }

  .ep-praise-v2__tree {
    inset: 150px auto auto 0;
    width: min(158vw, 1400px);
    opacity: 0.82;
  }

  .ep-praise-v2__heading,
  .ep-praise-v2__grid {
    width: min(720px, 68%);
  }
}

/* Compact desktop hero: preserve the two-column composition without letting
   the tilted cover or its paper field escape the viewport. */
@media (min-width: 700px) and (max-width: 1100px) {
  body.ep-home.ep-hero-geometric .ep-hero--quiet-canopy {
    height: clamp(690px, 82vw, 820px);
  }

  body.ep-home.ep-hero-geometric .ep-hero-art {
    background-position: center;
    background-size: cover;
  }

  body.ep-home.ep-hero-geometric .ep-hero--quiet-canopy .ep-hero-inner {
    padding: clamp(44px, 5.5vw, 60px);
  }

  body.ep-home.ep-hero-geometric .ep-hero--quiet-canopy .ep-hero-copy-column {
    width: min(47%, 430px);
    max-width: 430px;
  }

  body.ep-home.ep-hero-geometric .ep-hero--quiet-canopy .ep-hero-thesis {
    max-width: 10ch;
    font-size: clamp(2.6rem, 5.4vw, 3.35rem);
  }

  body.ep-home.ep-hero-geometric .ep-hero-book-layer {
    top: 50%;
    right: 4%;
    width: min(43%, 430px);
    transform: translateY(-50%);
  }
}

@media (min-width: 521px) and (max-width: 820px) {
  body.ep-home.ep-hero-geometric .ep-hero-art {
    background-position: left center;
    background-size: auto 100%;
  }

  .ep-home.ep-hero-geometric .ep-hero--quiet-canopy .ep-hero-copy-column::before {
    content: none;
  }

  .ep-hero-dot--1 { top: 8%; left: 3%; --dot-size: 8px; }
  .ep-hero-dot--2 { top: 17%; left: auto; right: 3%; --dot-size: 18px; }
  .ep-hero-dot--3 { top: 28%; left: 2%; --dot-size: 11px; }
  .ep-hero-dot--4 { top: 30%; right: 4%; --dot-size: 7px; }
  .ep-hero-dot--5 { top: 42%; left: 3%; --dot-size: 13px; }
  .ep-hero-dot--6 { top: 48%; left: auto; right: 3%; --dot-size: 22px; }
  .ep-hero-dot--7 { top: 64%; left: 5%; --dot-size: 9px; }
  .ep-hero-dot--8 { top: 58%; right: 4%; --dot-size: 28px; }
  .ep-hero-dot--9 { top: 72%; right: auto; left: 3%; --dot-size: 16px; }
  .ep-hero-dot--10 { bottom: 5%; left: 4%; --dot-size: 22px; }
  .ep-hero-dot--11 { right: 40%; bottom: 2%; --dot-size: 12px; }
  .ep-hero-dot--12 { right: 4%; bottom: 7%; --dot-size: 25px; }
}

@media (min-width: 700px) and (max-width: 820px) {
  .ep-hero-dot--2,
  .ep-hero-dot--4,
  .ep-hero-dot--6,
  .ep-hero-dot--8,
  .ep-hero-dot--12 { display: none; }
}

@media (max-width: 720px) {
  body.ep-home.ep-hero-geometric .ep-hero-art {
    background-position: left center;
    background-size: auto 100%;
  }

  .ep-praise-v2 {
    min-height: 0;
    padding: 48px 0 84px;
  }

  .ep-praise-v2__tree {
    inset: 210px auto auto 0;
    width: min(100%, 520px);
    opacity: 0.72;
  }

  .ep-praise-v2__shell {
    width: min(calc(100% - 32px), 540px);
  }

  .ep-praise-v2__heading {
    width: 100%;
    margin: 0 0 clamp(280px, 82vw, 340px);
    padding-left: 8px;
  }

  .ep-praise-v2__heading h2 {
    max-width: 10ch;
    font-size: clamp(2.45rem, 12vw, 4rem);
  }

  .ep-praise-v2__grid {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 16px;
    margin: 0;
  }

  .ep-praise-v2__quote,
  .ep-praise-v2__quote--featured {
    grid-column: auto;
    min-height: 0;
    padding: 25px 24px 24px;
  }

  .ep-praise-v2__quote p,
  .ep-praise-v2__quote--featured p {
    max-width: none;
    margin-bottom: 23px;
    font-size: clamp(1.17rem, 5.4vw, 1.42rem);
    line-height: 1.28;
  }

  .ep-praise-v2__quote span { font-size: 0.69rem; }

  .ep-hero-dot--1 { top: 5%; left: auto; right: 5%; --dot-size: 7px; }
  .ep-hero-dot--2 { top: 37%; left: auto; right: 3%; --dot-size: 15px; }
  .ep-hero-dot--3 { top: 43%; left: 4%; --dot-size: 9px; }
  .ep-hero-dot--4 { top: 52%; right: 3%; --dot-size: 6px; }
  .ep-hero-dot--5 { top: 62%; left: 3%; --dot-size: 12px; }
  .ep-hero-dot--6 { display: none; }
  .ep-hero-dot--7 { top: 72%; left: 5%; --dot-size: 8px; }
  .ep-hero-dot--8 { top: 75%; right: 4%; --dot-size: 24px; }
  .ep-hero-dot--9 { top: auto; right: 4%; bottom: 13%; --dot-size: 13px; }
  .ep-hero-dot--10 { bottom: 4%; left: 4%; --dot-size: 20px; }
  .ep-hero-dot--11 { right: 44%; bottom: 3%; --dot-size: 10px; }
  .ep-hero-dot--12 { right: 4%; bottom: 4%; --dot-size: 20px; }
}

@media (max-width: 360px) {
  .ep-praise-v2__shell { width: calc(100% - 24px); }
  .ep-praise-v2__quote,
  .ep-praise-v2__quote--featured { padding: 22px 20px; }
  .ep-praise-v2__quote p,
  .ep-praise-v2__quote--featured p { font-size: 1.08rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ep-hero-geometric-dots { display: none; }
}

/* Author-approved Praise revision: clean editorial field, no tree artwork. */
.ep-praise-v2 {
  min-height: 0;
  overflow: visible;
  padding: clamp(64px, 7vw, 104px) 0 clamp(72px, 8vw, 116px);
  background:
    radial-gradient(circle at 8% 12%, rgba(40, 143, 137, 0.08) 0 7px, transparent 8px),
    radial-gradient(circle at 95% 18%, rgba(244, 189, 40, 0.1) 0 11px, transparent 12px),
    radial-gradient(circle at 92% 92%, rgba(231, 73, 50, 0.08) 0 8px, transparent 9px),
    #f7f3eb;
}

.ep-praise-v2__shell {
  width: min(1240px, calc(100% - 64px));
}

.ep-praise-v2__heading {
  width: min(900px, 100%);
  margin: 0 0 clamp(36px, 4vw, 56px);
}

.ep-praise-v2__heading h2 {
  max-width: 12ch;
}

.ep-praise-v2__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  margin: 0;
  gap: 18px;
}

.ep-praise-v2__quote,
.ep-praise-v2__quote--featured {
  min-height: 230px;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid rgba(40, 34, 95, 0.14);
  border-radius: 2px;
  box-shadow: none;
  backdrop-filter: none;
}

.ep-praise-v2__quote--featured {
  min-height: 260px;
  padding-right: clamp(34px, 8vw, 110px);
}

.ep-praise-v2__all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 10px 0;
  color: #28225f;
  font: 700 0.78rem/1 Inter, Arial, sans-serif;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
}

.ep-praise-v2__all span { color: #288f89; transition: transform 180ms ease; }
.ep-praise-v2__all:hover span,
.ep-praise-v2__all:focus-visible span { transform: translateX(4px); }

@media (max-width: 720px) {
  .ep-praise-v2 {
    padding: 52px 0 70px;
  }

  .ep-praise-v2__shell {
    width: min(calc(100% - 32px), 540px);
  }

  .ep-praise-v2__heading {
    margin: 0 0 30px;
    padding-left: 0;
  }

  .ep-praise-v2__grid {
    grid-template-columns: 1fr;
  }

  .ep-praise-v2__quote,
  .ep-praise-v2__quote--featured {
    min-height: 0;
    padding: 25px 24px 24px;
  }
}

/* Top-only reader dots: preserve the crop's native aspect ratio and clear the text. */
.ep-home .ep-argument-value {
  padding-top: clamp(150px, 12vw, 184px);
}

.ep-home .ep-argument-value::before {
  inset: 0;
  content: "";
  background-image: url("./assets/selected-backgrounds/education-pivot-readers-find-top-dots-native-v1.png") !important;
  background-repeat: no-repeat !important;
  background-position: center -150px !important;
  background-size: min(1000px, 160vw) auto !important;
}

@media (max-width: 720px) {
  .ep-home .ep-argument-value {
    padding-top: 180px;
  }

  .ep-home .ep-argument-value::before {
    background-position: center 22px !important;
    background-size: 100% auto !important;
    opacity: 0.92;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* Cover-derived Lottie motion layers; static geometry is the loading fallback. */
.ep-hero-geometric-dots > svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.ep-hero-geometric-dots.is-lottie-live > .ep-hero-dot {
  opacity: 0;
}

.ep-pivot-arrow-lottie {
  display: none;
  width: clamp(1.7rem, 3.4vw, 2.7rem);
  height: 16px;
  flex-shrink: 0;
  justify-self: center;
  overflow: visible;
}

.ep-pivot-line.is-lottie-live .ep-pivot-arrow {
  display: none;
}

.ep-pivot-line.is-lottie-live .ep-pivot-arrow-lottie {
  display: block;
}

.ep-pivot-arrow-lottie svg {
  display: block;
  width: 100% !important;
  height: 100% !important;
  overflow: visible;
}

@media (max-width: 820px) {
  .ep-home .ep-argument .ep-pivot-line .ep-pivot-arrow-lottie {
    width: 1.55rem;
    height: 1rem;
    margin: 0;
    transform: rotate(90deg);
    transform-origin: center;
  }

  .ep-pivot-arrow-lottie path {
    stroke-width: 2.2px !important;
  }
}

@media (max-width: 460px) {
  .ep-home .ep-argument .ep-pivot-line .ep-pivot-arrow-lottie {
    width: 1.4rem;
    height: 0.9rem;
  }

  .ep-pivot-arrow-lottie path {
    stroke-width: 2.3px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ep-hero-geometric-dots > svg,
  .ep-pivot-arrow-lottie {
    display: none !important;
  }

  .ep-hero-geometric-dots.is-lottie-live > .ep-hero-dot {
    opacity: 1;
  }

  .ep-pivot-line.is-lottie-live .ep-pivot-arrow {
    display: block;
  }
}


/* Homepage editorial entrances: one direction, paced in reading order. */
.ep-home.home-motion-ready .home-motion-target {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 500ms cubic-bezier(0.22, 1, 0.36, 1) var(--home-motion-delay, 0ms),
    transform 660ms cubic-bezier(0.22, 1, 0.36, 1) var(--home-motion-delay, 0ms);
  will-change: opacity, transform;
}

.ep-home.home-motion-ready .home-motion-visible.home-motion-target,
.ep-home.home-motion-ready .home-motion-visible .home-motion-target {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.ep-home.home-motion-ready .ep-author-image.home-motion-target {
  transform: translate3d(0, 14px, 0) scale(0.985);
}

.ep-home.home-motion-ready .home-motion-visible .ep-author-image.home-motion-target {
  transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .ep-home .home-motion-target {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* Hero opening beat: masked lines, held emphasis, actions last. */
.ep-home.home-motion-ready .ep-hero-thesis > .home-motion-target {
  clip-path: inset(0 0 100% 0);
  transform: translate3d(0, 30px, 0);
  transition-property: opacity, transform, clip-path;
  transition-duration: 460ms, 720ms, 720ms;
  transition-timing-function:
    cubic-bezier(0.22, 1, 0.36, 1),
    cubic-bezier(0.16, 1, 0.3, 1),
    cubic-bezier(0.16, 1, 0.3, 1);
}

.ep-home.home-motion-ready .ep-hero-thesis > span:nth-child(1) {
  transition-delay: 140ms;
}

.ep-home.home-motion-ready .ep-hero-thesis > span:nth-child(2) {
  transition-delay: 280ms;
}

.ep-home .ep-hero--quiet-canopy .ep-hero-thesis > em {
  width: max-content;
  max-width: 100%;
  color: #28225f;
  font-size: 1.1em;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.04;
  -webkit-text-stroke: 0.78px currentColor;
  transform-origin: left center;
}

.ep-home.home-motion-ready .ep-hero-thesis > em.home-motion-target {
  clip-path: inset(0 100% 0 0);
  transform: translate3d(-42px, 0, 0) scale(0.955);
  transition-delay: 520ms;
}

.ep-home.home-motion-ready .ep-hero-copy-column.home-motion-visible .ep-hero-thesis > .home-motion-target {
  clip-path: inset(0 0 0 0);
  transform: translate3d(0, 0, 0) scale(1);
}

.ep-home.home-motion-ready .ep-hero-actions.home-motion-target {
  transform: translate3d(0, 12px, 0);
  transition-delay: 780ms;
}

.ep-home.home-motion-ready .ep-hero-copy-column.home-motion-visible .ep-hero-actions.home-motion-target {
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .ep-home .ep-hero-thesis > .home-motion-target {
    clip-path: none;
  }
}


/* Homepage Praise uses the same editorial card language as Endorsements. */
.ep-home .ep-praise-v2__quote {
  --praise-accent: #f4bd28;
  --praise-wash: rgba(244, 189, 40, 0.19);
  --praise-wash-soft: rgba(244, 189, 40, 0.055);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(30px, 3vw, 42px);
  border: 0;
  border-right: 5px solid var(--praise-accent);
  border-radius: 0;
  background: linear-gradient(100deg, var(--praise-wash), var(--praise-wash-soft) 52%, rgba(255, 255, 255, 0.24));
  box-shadow: inset 0 0 0 1px rgba(40, 34, 95, 0.14);
}
.ep-home .ep-praise-v2__quote:nth-child(2) { --praise-accent: #288f89; --praise-wash: rgba(40, 143, 137, 0.17); --praise-wash-soft: rgba(40, 143, 137, 0.045); border-right: 0; border-left: 5px solid var(--praise-accent); }
.ep-home .ep-praise-v2__quote:nth-child(3) { --praise-accent: #3c7195; --praise-wash: rgba(60, 113, 149, 0.17); --praise-wash-soft: rgba(60, 113, 149, 0.045); }
.ep-home .ep-praise-v2__quote:nth-child(4) { --praise-accent: #e74932; --praise-wash: rgba(231, 73, 50, 0.15); --praise-wash-soft: rgba(231, 73, 50, 0.04); border-right: 0; border-left: 5px solid var(--praise-accent); }
.ep-home .ep-praise-v2__quote:nth-child(5) { --praise-accent: #6b475c; --praise-wash: rgba(107, 71, 92, 0.16); --praise-wash-soft: rgba(107, 71, 92, 0.045); }
.ep-home .ep-praise-v2__quote::before {
  position: absolute; z-index: 0; top: 0.12em; left: 0.22em; color: var(--praise-accent);
  content: "\201C"; font: 500 clamp(4.8rem, 6.5vw, 6.8rem)/1 var(--ep-display, "Bodoni Moda", Georgia, serif);
  opacity: 0.3; pointer-events: none;
}
.ep-home .ep-praise-v2__quote p, .ep-home .ep-praise-v2__quote footer { position: relative; z-index: 1; padding-left: clamp(44px, 4vw, 60px); }
.ep-home .ep-praise-v2__quote p { line-height: 1.42; }
.ep-home .ep-praise-v2__quote--featured p { max-width: 39ch; line-height: 1.28; }
.ep-home .ep-praise-v2__quote strong { color: var(--praise-accent); }
.ep-home .ep-praise-v2__quote span { margin-top: 7px; line-height: 1.48; }
@media (max-width: 720px) {
  .ep-home .ep-praise-v2__quote, .ep-home .ep-praise-v2__quote--featured, .ep-home .ep-praise-v2__quote:nth-child(2), .ep-home .ep-praise-v2__quote:nth-child(4) {
    padding: 30px 20px 26px; border-right: 0; border-left: 5px solid var(--praise-accent);
  }
  .ep-home .ep-praise-v2__quote::before { top: 0.18em; left: 0.18em; font-size: 4.2rem; }
  .ep-home .ep-praise-v2__quote p, .ep-home .ep-praise-v2__quote footer { padding-left: 40px; }
}


/* Tighten the Praise-to-closing handoff without changing either section layout. */
.ep-home .ep-praise-v2 {
  padding-bottom: 34px;
}

@media (max-width: 720px) {
  .ep-home .ep-praise-v2 {
    padding-bottom: 34px;
  }
}


/* Continuous cover-palette ribbon above the homepage footer. */
@keyframes ep-footer-ribbon-flow {
  to { background-position-x: -50vw; }
}

body.ep-home .ep-closing-spread .ep-footer.site-footer::before {
  height: 8px;
  background-color: #f43014;
  background-image: repeating-linear-gradient(
    90deg,
    #f43014 0 10vw,
    #f4bd28 10vw 20vw,
    #0a8e8a 20vw 30vw,
    #075fa8 30vw 40vw,
    #6b475c 40vw 50vw
  );
  background-position: 0 0;
  background-size: 50vw 100%;
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  body.ep-home .ep-closing-spread .ep-footer.site-footer::before {
    animation: none;
  }
}


/* Preserve italic punctuation overhang after the hero reveal. */
.ep-home .ep-hero--quiet-canopy .ep-hero-thesis > em {
  padding-right: 0.14em;
}

.ep-home.home-motion-ready .ep-hero-copy-column.home-motion-visible .ep-hero-thesis > em.home-motion-target {
  clip-path: inset(-0.14em -0.18em -0.14em -0.08em);
}


/* Closing rows use their own palette accents instead of neutral grey rules. */
.ep-home .ep-closing-spread .ep-explore-shell {
  border-top: 0;
}

.ep-home .ep-closing-spread .ep-explore-shell a,
.ep-home .ep-closing-spread .ep-explore-shell a:nth-child(1),
.ep-home .ep-closing-spread .ep-explore-shell a:nth-child(2),
.ep-home .ep-closing-spread .ep-explore-shell a:nth-child(3) {
  border-bottom: 1px solid color-mix(in srgb, var(--closing-accent) 48%, transparent);
}


/* Chapter colors map to the meaning of each homepage destination. */
.ep-home .ep-chapter-nav a:nth-child(1),
.ep-home .ep-chapter-control nav a:nth-child(1) { --chapter-accent: #e74932; }
.ep-home .ep-chapter-nav a:nth-child(2),
.ep-home .ep-chapter-control nav a:nth-child(2) { --chapter-accent: #d9a400; }
.ep-home .ep-chapter-nav a:nth-child(3),
.ep-home .ep-chapter-control nav a:nth-child(3) { --chapter-accent: #177f7a; }
.ep-home .ep-chapter-nav a:nth-child(4),
.ep-home .ep-chapter-control nav a:nth-child(4) { --chapter-accent: #3c7195; }

.ep-home .ep-chapter-nav a::after {
  height: 3px;
  background: var(--chapter-accent);
  opacity: 0.62;
  transform: scaleX(0.28);
  transform-origin: center;
  transition: transform 220ms ease, opacity 180ms ease;
}

.ep-home .ep-chapter-nav a:hover,
.ep-home .ep-chapter-nav a:focus-visible,
.ep-home .ep-chapter-nav a.is-active {
  color: var(--chapter-accent);
}

.ep-home .ep-chapter-nav a:hover::after,
.ep-home .ep-chapter-nav a:focus-visible::after,
.ep-home .ep-chapter-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

@media (max-width: 820px) {
  .ep-home .ep-chapter-control nav a {
    padding-left: 12px;
    border-left: 3px solid var(--chapter-accent);
  }

  .ep-home .ep-chapter-control nav a:hover,
  .ep-home .ep-chapter-control nav a:focus-visible {
    color: var(--chapter-accent);
    background: color-mix(in srgb, var(--chapter-accent) 7%, transparent);
  }
}


/* Remove obsolete side rules from the former closing-grid layout. */
.ep-home .ep-closing-spread .ep-explore-shell a,
.ep-home .ep-closing-spread .ep-explore-shell a:nth-child(1),
.ep-home .ep-closing-spread .ep-explore-shell a:nth-child(2),
.ep-home .ep-closing-spread .ep-explore-shell a:nth-child(3) {
  border-left: 0;
  border-right: 0;
}


/* Selected navigation color study: Option 2, Deep Teal Field. */
body.ep-home .site-header.ep-header {
  background: #176b67 !important;
  border-bottom-color: rgba(255, 253, 248, 0.16) !important;
}

body.ep-home .site-header.ep-header .brand,
body.ep-home .site-header.ep-header .brand-name,
body.ep-home .site-header.ep-header .brand-name-prefix,
body.ep-home .site-header.ep-header .nav a {
  color: #fffdf8;
}

body.ep-home .site-header.ep-header .nav a {
  opacity: 0.84;
}

body.ep-home .site-header.ep-header .nav a:hover,
body.ep-home .site-header.ep-header .nav a:focus-visible,
body.ep-home .site-header.ep-header .nav a[aria-current="page"] {
  color: #fffdf8;
  opacity: 1;
}

body.ep-home .site-header.ep-header .header-cta {
  border-color: #f4bd28;
  background: #f4bd28;
  color: #173f35;
}

body.ep-home .site-header.ep-header .header-cta:hover,
body.ep-home .site-header.ep-header .header-cta:focus-visible {
  border-color: #fffdf8;
  background: #fffdf8;
  color: #173f35;
}

body.ep-home .site-header.ep-header .nav-toggle span {
  background: #fffdf8;
}

body.ep-home .ep-chapter-shell {
  color: #fffdf8;
  background: rgba(17, 86, 82, 0.99);
  border-bottom-color: rgba(255, 253, 248, 0.16);
}

body.ep-home .ep-chapter-nav a,
body.ep-home .ep-chapter-nav a:hover,
body.ep-home .ep-chapter-nav a:focus-visible,
body.ep-home .ep-chapter-nav a.is-active {
  color: #fffdf8;
}

@media (max-width: 820px) {
  body.ep-home .site-header.ep-header .nav {
    background: #176b67;
  }

  body.ep-home .site-header.ep-header .nav a {
    border-top-color: rgba(255, 253, 248, 0.18);
    color: #fffdf8;
  }

  body.ep-home .site-header.ep-header .nav a:last-child {
    border-bottom-color: rgba(255, 253, 248, 0.18);
  }

  body.ep-home .site-header.ep-header .nav small {
    color: rgba(255, 253, 248, 0.72);
  }

  body.ep-home .ep-chapter-control summary {
    color: #fffdf8;
  }

  body.ep-home .ep-chapter-control nav {
    background: #115652;
  }

  body.ep-home .ep-chapter-control nav a,
  body.ep-home .ep-chapter-control nav a:hover,
  body.ep-home .ep-chapter-control nav a:focus-visible {
    color: #fffdf8;
  }

  body.ep-home .ep-chapter-control nav a:hover,
  body.ep-home .ep-chapter-control nav a:focus-visible {
    background: rgba(255, 253, 248, 0.07);
  }
}


/* Accessibility contrast and reflow follow-up, 2026-09-03. */
.ep-home .ep-praise-v2__quote strong {
  color: #102a28;
}

.ep-home .ep-footer button,
.ep-home .ep-footer .footer-nav button {
  color: #fffdf8;
  border-color: rgba(255, 253, 248, 0.72);
}

.ep-home .ep-closing-spread .ep-footer .footer-nav button,
.ep-home .ep-footer .footer-nav button {
  color: #fffdf8 !important;
}
