/* ECCE content within the shared Tasawwur research-story design. */
.ecce-page .tawap-hero--cover .tawap-cover-backdrop img { object-position: 65% center; }
.ecce-page .tawap-hero--cover .tawap-hero-copy { max-width: 1000px; }
.ecce-page .tawap-hero--cover .tawap-hero-lead { max-width: 900px; }
body.ecce-page .tawap-hero--cover .tawap-cover-backdrop::after { background: linear-gradient(90deg, rgba(0,0,0,.76), rgba(0,0,0,.62) 55%, rgba(0,0,0,.28)); }
.ecce-process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 8px 0; list-style: none; }
.ecce-process-card { display: grid; grid-template-rows: 100px 82px 76px 190px 1fr; min-width: 0; padding: 42px 30px 64px; border: 5px solid #000; border-radius: 999px; background: #fffdf8; box-shadow: 0 10px 30px #304d3710; }
.ecce-page main .ecce-process-number { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 12px; margin: 0; padding: 0; font-size: 10px; line-height: 1.6; letter-spacing: .16em; color: var(--tawap-green); }
.ecce-process-number .ecce-step-index { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid #cfddc2; background: #e6efda; color: #31593d; font: 700 18px/1 "Bricolage Grotesque", sans-serif; letter-spacing: -.03em; }
.ecce-process-number > span:not(.ecce-step-index) { width: auto; height: auto; border-radius: 0; background: transparent; }
.ecce-page main .ecce-process-card h3 { font-size: clamp(21px, 1.85vw, 25px); line-height: 1.25; margin: 0; padding-bottom: 16px; text-align: center; text-wrap: balance; color: var(--tawap-green); }
.ecce-page main .ecce-process-intro { font-size: 13px; line-height: 1.8; margin: 0; text-align: center; color: #536257; }
.ecce-step-image { width: 100%; height: 180px; object-fit: contain; display: block; margin: 0 auto 10px; }
.ecce-step-actions { list-style: none; padding: 24px 0 0; margin: 0; border-top: 1px solid var(--tawap-line); display: grid; grid-template-rows: repeat(3, 1fr); gap: 16px; }
.ecce-step-actions li { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-content: start; gap: 12px; font-size: 13px; line-height: 1.8; }
.ecce-step-actions i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: #edf2e4; color: var(--tawap-green); font-size: 27px; line-height: 1; }
.ecce-step-actions strong { font-weight: 600; }
.ecce-aspiration-logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 20px; width: 100%; max-width: 470px; margin-top: 18px; padding: 20px; border: 1px solid #e0e5d8; border-radius: 18px; background: #fffdf8; }
.ecce-aspiration-logo { grid-column: span 2; display: grid; place-items: center; min-width: 0; }
.ecce-aspiration-logo img { display: block; width: 100%; height: 66px; object-fit: contain; filter: none; }
.ecce-aspiration-logo--tall img { height: 110px; }
.ecce-aspiration-logo:nth-child(4) { grid-column: 2 / span 2; }
.ecce-page:not(.dark-mode) #executive-summary .ecce-process-card :is(h3, p, span, strong, i) { color: #000; }
.ecce-page main .ecce-process-intro, .ecce-step-actions li { font-weight: 500; }
#research-team.ecce-team .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
#research-team.ecce-team .team-grid > .team-card:nth-child(n) { grid-column: auto; }
#research-team.ecce-team .team-card-photo .team-avatar { width: 140px; height: 140px; border: 3px solid #e1e7d7; background: #edf2e4; color: #367049; box-shadow: 0 6px 18px #284c3510; }
#research-team.ecce-team .team-grid .team-card-body { display: flex; flex-direction: column; }
#research-team.ecce-team .team-grid .team-card-name { font-size: 19px; }
.ecce-team-contact { display: block; margin-top: auto; padding-top: 20px; color: var(--tawap-green); font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.ecce-team-contact:hover { text-decoration: underline; text-underline-offset: 4px; color: var(--tawap-ink); }
.ecce-page.dark-mode .ecce-process-card { background: #203c2e; border-color: #75977c; box-shadow: 0 10px 30px #0002; }
.ecce-page.dark-mode .ecce-process-number .ecce-step-index, .ecce-page.dark-mode .ecce-step-actions i { background: #304e39; border-color: #527054; color: #d9ecaa; }
.ecce-page.dark-mode main .ecce-process-intro { color: #c8d8c5; }
.ecce-page.dark-mode .ecce-process-card h3, .ecce-page.dark-mode .ecce-process-number, .ecce-page.dark-mode .ecce-step-actions i, .ecce-page.dark-mode .ecce-team-contact { color: #d9ecaa; }
.ecce-page.dark-mode .ecce-step-image { background: #fffdf8; border-radius: 18px; }
.ecce-page.dark-mode #research-team.ecce-team .team-card-photo .team-avatar { background: #304c3e; border-color: #456044; color: #d9ecaa; }
.ecce-page #executive-summary .ecce-process-card .ecce-step-index { border: 0; color: #000; }
.ecce-page #executive-summary .ecce-process-card:nth-child(1) .ecce-step-index { background: #3f73c8; }
.ecce-page #executive-summary .ecce-process-card:nth-child(2) .ecce-step-index { background: #2bc66a; }
.ecce-page #executive-summary .ecce-process-card:nth-child(3) .ecce-step-index { background: #ffad62; }
@media (max-width: 1100px) {
  .ecce-process { gap: 20px; }
  .ecce-process-card { padding-inline: 24px; }
}
@media (max-width: 991px) {
  .ecce-process { grid-template-columns: minmax(0, 440px); justify-content: center; }
  .ecce-process-card { grid-template-rows: 100px auto auto 200px 1fr; padding: 44px 34px 70px; }
  .ecce-page main .ecce-process-intro { padding-bottom: 14px; }
  .ecce-process-card > .ecce-step-image { height: 190px; }
  #research-team.ecce-team .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .ecce-aspiration-logos { gap: 16px 12px; padding: 18px 14px; }
  .ecce-aspiration-logo img { height: 50px; }
  .ecce-aspiration-logo--tall img { height: 90px; }
  .ecce-process-card { padding: 34px 28px 64px; }
  .ecce-page main .ecce-process-card h3 { font-size: 24px; }
  .ecce-process-card > .ecce-step-actions { grid-template-rows: none; }
  .ecce-step-actions li { font-size: 13px; }
  #research-team.ecce-team .team-grid { grid-template-columns: 1fr; }
  .ecce-team-contact { font-size: 12px; }
}
