.excellence-projects{
  --ep-ink:#124266;
  --ep-ink-deep:#0b304c;
  --ep-ink-soft:#365c75;
  --ep-blue:#1e5b86;
  --ep-blue-pale:#eaf3f8;
  --ep-orange:#ef7d41;
  --ep-orange-pale:#fff1e8;
  --ep-paper:#fffefd;
  --ep-mist:#f2f7fa;
  --ep-line:#d6e2e9;
  --ep-muted:#6c7f8c;
  --ep-shadow:0 24px 70px rgba(18,66,102,.13);
  width:100%;
  overflow:hidden;
  background:var(--ep-paper);
  color:var(--ep-ink);
  direction:rtl;
  font-family:inherit;
  line-height:1.7;
}
.excellence-projects *{box-sizing:border-box}
.excellence-projects a{color:inherit;text-decoration:none}
.excellence-projects img{max-width:100%}
.ep-shell{width:min(1180px,calc(100% - 56px));margin-inline:auto}

.ep-listing-hero{padding:100px 0 92px;background:radial-gradient(circle at 19% 33%,rgba(226,240,248,.95),transparent 33%),var(--ep-paper)}
.ep-hero-kicker,.ep-section-kicker{display:flex;align-items:center;gap:9px;color:var(--ep-blue);font-size:12px;font-weight:700}
.ep-hero-kicker span{width:7px;height:7px;border-radius:50%;background:var(--ep-orange);box-shadow:0 0 0 6px rgba(239,125,65,.16)}
.ep-listing-hero h1{max-width:1020px;margin:22px 0 34px;font-size:clamp(56px,8vw,102px);font-weight:800;letter-spacing:-.065em;line-height:1.08}
.ep-listing-hero h1 em{position:relative;color:var(--ep-blue);font-style:normal;white-space:nowrap}
.ep-listing-hero h1 em:after{content:"";position:absolute;right:5px;bottom:-8px;left:5px;height:8px;border-radius:99px;background:rgba(239,125,65,.52);transform:rotate(-2deg)}
.ep-listing-intro{display:flex;max-width:720px;align-items:flex-end;gap:54px}
.ep-listing-intro p{margin:0;color:var(--ep-ink-soft);font-size:19px;line-height:1.95}
.ep-project-count{display:flex;min-width:132px;padding-right:28px;flex-direction:column;border-right:1px solid var(--ep-line)}
.ep-project-count strong{color:var(--ep-blue);font-size:48px;font-weight:800;line-height:1}
.ep-project-count span{color:var(--ep-muted);font-size:12px}

.ep-projects-section{padding:76px 0 112px}
.ep-section-head{display:flex;margin-bottom:35px;align-items:flex-end;justify-content:space-between;gap:44px}
.ep-section-head .ep-section-kicker,.ep-detail-heading .ep-section-kicker{margin-bottom:12px}
.ep-section-head h2,.ep-detail-heading h2,.ep-proof-note h2{margin:0;font-size:clamp(31px,4vw,49px);font-weight:800;letter-spacing:-.045em;line-height:1.25}
.ep-section-head h2 span,.ep-detail-heading h2 span,.ep-proof-note h2 span{color:var(--ep-blue)}
.ep-section-head>p{max-width:330px;margin:0;color:var(--ep-muted);font-size:15px;line-height:1.9}
.ep-projects-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ep-project-card{display:flex;min-height:430px;overflow:hidden;flex-direction:column;border:1px solid var(--ep-line);border-radius:18px;background:#fff;box-shadow:none;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.ep-project-card:hover{border-color:#b7ccd9;box-shadow:0 18px 45px rgba(18,66,102,.12);transform:translateY(-6px)}
.ep-card-media{position:relative;display:block;height:160px;overflow:hidden;background:linear-gradient(145deg,var(--ep-mist),#dbeaf2)}
.ep-card-media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 52%,rgba(18,66,102,.28))}
.ep-certificate-thumb{display:block;width:100%;height:100%;object-fit:cover;object-position:center 18%;filter:saturate(.88)}
.ep-card-logo{position:absolute;z-index:1;right:17px;bottom:15px;width:54px;height:54px;padding:6px;border:1px solid rgba(255,255,255,.8);border-radius:50%;background:#fff;box-shadow:0 7px 17px rgba(18,66,102,.16);object-fit:contain}
.ep-card-index{position:absolute;z-index:1;top:17px;left:17px;color:#fff;font-size:12px;font-weight:700;letter-spacing:.08em}
.ep-card-body{display:flex;padding:24px 23px 21px;flex:1;flex-direction:column}
.ep-card-meta{display:flex;margin-bottom:12px;align-items:center;gap:9px;color:var(--ep-muted);font-size:12px}
.ep-card-meta span+span{padding-right:9px;border-right:1px solid var(--ep-line)}
.ep-project-card h2{margin:0 0 10px;color:var(--ep-ink);font-size:21px;font-weight:800;letter-spacing:-.025em;line-height:1.55}
.ep-card-client{margin-bottom:12px;color:var(--ep-blue);font-size:13px;font-weight:700}
.ep-card-summary{display:-webkit-box;overflow:hidden;margin:0;color:var(--ep-muted);font-size:14px;line-height:1.85;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.ep-card-link{display:flex;margin-top:auto;padding-top:22px;align-items:center;justify-content:space-between;color:var(--ep-blue);font-size:13px;font-weight:700}
.ep-card-link i{display:grid;width:30px;height:30px;place-items:center;border:1px solid rgba(30,91,134,.35);border-radius:50%;font-size:17px;font-style:normal;transition:transform .2s ease,background .2s ease,color .2s ease}
.ep-project-card:hover .ep-card-link i{background:var(--ep-blue);color:#fff;transform:translateX(-4px)}
.excellence-projects .navigation.pagination{margin-top:38px}
.excellence-projects .nav-links{display:flex;align-items:center;justify-content:center;gap:8px}
.excellence-projects .page-numbers{display:grid;min-width:40px;height:40px;padding:0 12px;place-items:center;border:1px solid var(--ep-line);border-radius:10px;background:#fff;color:var(--ep-ink)}
.excellence-projects .page-numbers.current,.excellence-projects .page-numbers:hover{border-color:var(--ep-blue);background:var(--ep-blue);color:#fff}

.ep-detail-hero{padding:76px 0 94px;background:radial-gradient(circle at 20% 30%,rgba(226,240,248,.95),transparent 31%),var(--ep-paper)}
.ep-detail-hero-grid{display:grid;grid-template-columns:1.02fr .98fr;align-items:center;gap:72px}
.ep-breadcrumb{display:flex;margin-bottom:24px;align-items:center;gap:9px;color:var(--ep-muted);font-size:13px}
.ep-breadcrumb a{color:var(--ep-blue);font-weight:700}
.ep-detail-kicker{display:inline-flex;margin-bottom:17px;align-items:center;gap:8px;color:var(--ep-blue);font-size:12px;font-weight:700}
.ep-detail-kicker:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--ep-orange);box-shadow:0 0 0 6px rgba(239,125,65,.16)}
.ep-project-client-row{display:flex;margin-bottom:16px;align-items:center;gap:11px;color:var(--ep-ink-soft);font-size:13px;font-weight:700}
.ep-project-client-row img{width:38px;height:38px;padding:4px;border:1px solid rgba(30,91,134,.24);border-radius:50%;background:#fff;object-fit:contain}
.ep-detail-copy h1{margin:14px 0 20px;font-size:clamp(43px,5.7vw,75px);font-weight:800;letter-spacing:-.06em;line-height:1.1}
.ep-detail-copy h1 span{color:var(--ep-blue)}
.ep-detail-lead{max-width:530px;margin-bottom:29px;color:var(--ep-ink-soft);font-size:18px;line-height:1.95}
.ep-detail-lead p{margin:0}
.ep-detail-meta{display:flex;padding-top:18px;flex-wrap:wrap;gap:22px;border-top:1px solid var(--ep-line)}
.ep-detail-meta>div{display:flex;min-width:125px;flex-direction:column;gap:3px}
.ep-detail-meta small{color:var(--ep-muted);font-size:12px}
.ep-detail-meta strong{font-size:14px}
.ep-detail-art{position:relative;display:grid;min-height:460px;place-items:center}
.ep-detail-art-glow{position:absolute;top:2%;right:1%;width:400px;height:400px;border-radius:50%;background:radial-gradient(circle,rgba(224,239,247,.98),rgba(224,239,247,0) 68%)}
.ep-certificate-card{position:relative;z-index:1;width:min(100%,385px);padding:12px 12px 17px;border:1px solid rgba(18,66,102,.14);border-radius:5px;background:#fff;box-shadow:var(--ep-shadow);transform:rotate(2.4deg)}
.ep-certificate-card-top,.ep-certificate-card-bottom{display:flex;padding:2px 3px 9px;align-items:center;justify-content:space-between;color:var(--ep-muted);font-size:11px}
.ep-certificate-card-bottom{padding:11px 3px 0}
.ep-certificate-card-bottom strong{color:var(--ep-ink);font-size:12px}
.ep-certificate-card img{display:block;width:100%;height:335px;border:1px solid #dfe7e3;object-fit:cover;object-position:top}
.ep-certificate-status{display:flex;align-items:center;gap:6px;color:#3c986f;font-weight:700}
.ep-certificate-status i{width:6px;height:6px;border-radius:50%;background:#3c986f}
.ep-year-stamp{position:absolute;z-index:2;bottom:8%;left:1%;display:grid;width:76px;height:76px;place-items:center;border:1px solid rgba(239,125,65,.58);border-radius:50%;background:rgba(255,254,253,.86);color:#d96d32;font-size:16px;font-weight:700;transform:rotate(-13deg)}

.ep-detail-section{padding:80px 0 96px}
.ep-detail-heading{margin-bottom:30px}
.ep-overview-section{background:var(--ep-mist)}
.ep-overview-grid{display:grid;grid-template-columns:1.38fr .62fr;gap:18px}
.ep-overview-card,.ep-goal-card{padding:35px 39px;border-radius:19px}
.ep-overview-card{background:#fff;color:var(--ep-ink-soft);box-shadow:0 8px 32px rgba(18,66,102,.05);font-size:17px;line-height:2.05}
.ep-overview-card p{margin-top:0}
.ep-overview-card p:last-child{margin-bottom:0}
.ep-goal-card{position:relative;display:flex;min-height:250px;overflow:hidden;flex-direction:column;justify-content:flex-end;background:var(--ep-ink);color:#fff}
.ep-goal-card:before{content:"";position:absolute;top:-94px;left:-45px;width:220px;height:220px;border:1px solid rgba(255,255,255,.14);border-radius:50%}
.ep-quote-mark{position:absolute;top:10px;left:26px;color:#ffad78;font-family:Georgia,serif;font-size:88px;line-height:1}
.ep-goal-card p{position:relative;max-width:295px;margin:0 0 17px;font-size:19px;line-height:1.8}
.ep-goal-card small{color:#acc0ca;font-size:12px}
.ep-logo-strip{display:flex;margin-top:25px;flex-wrap:wrap;gap:10px}
.ep-logo-strip img{width:56px;height:56px;padding:5px;border:1px solid var(--ep-line);border-radius:50%;background:#fff;object-fit:contain}

.ep-outcomes-section{position:relative;overflow:hidden;background:var(--ep-ink-deep);color:#fff}
.ep-outcomes-section:before{content:"";position:absolute;inset:0;opacity:.08;background-image:linear-gradient(115deg,transparent 49%,#cfe2ed 50%,transparent 51%);background-size:100px 100px}
.ep-outcomes-section .ep-shell{position:relative}
.ep-outcomes-section .ep-detail-heading h2{color:#fff}
.ep-outcomes-section .ep-detail-heading h2 span{color:#ff9a5b}
.ep-outcomes-section .ep-section-kicker{color:#b5d5e6}
.ep-outputs-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.ep-output-card{min-height:175px;padding:23px 21px;border:1px solid rgba(207,227,237,.18);border-radius:15px;background:rgba(255,255,255,.045);transition:transform .2s ease,background .2s ease}
.ep-output-card:hover{background:rgba(255,255,255,.09);transform:translateY(-5px)}
.ep-output-card:first-child{border-color:var(--ep-blue);background:var(--ep-blue)}
.ep-output-number{color:#ffb184;font-size:12px;font-weight:700}
.ep-output-card:first-child .ep-output-number{color:#ffe2d1}
.ep-output-card h3{margin:16px 0 0;color:#fff;font-size:16px;font-weight:700;line-height:1.65}

.ep-proof-section{background:#fff}
.ep-proof-grid{display:grid;grid-template-columns:.66fr 1.34fr;align-items:center;gap:67px}
.ep-proof-note p{max-width:320px;margin:20px 0;color:var(--ep-muted);font-size:17px;line-height:2}
.ep-text-link{display:inline-flex;padding-bottom:6px;align-items:center;gap:9px;border-bottom:1px solid rgba(30,91,134,.36);color:var(--ep-blue)!important;font-size:14px;font-weight:700}
.ep-full-proof{margin:0;padding:14px 14px 0;border-radius:5px;background:#fff;box-shadow:0 18px 50px rgba(18,66,102,.12)}
.ep-full-proof img{display:block;width:100%;max-height:560px;border:1px solid #e2ebf0;object-fit:contain;object-position:top}
.ep-full-proof figcaption{display:flex;padding:13px 2px;justify-content:space-between;gap:15px;color:var(--ep-muted);font-size:12px}
.ep-full-proof figcaption strong{color:var(--ep-ink)}
.ep-next-project{padding:62px 0;background:var(--ep-mist)}
.ep-next-project-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}
.ep-next-project h2{margin:0;font-size:27px;line-height:1.5}
.ep-next-project .ep-section-kicker{margin-bottom:10px}
.ep-round-arrow{display:grid;width:52px;height:52px;flex:0 0 auto;place-items:center;border:1px solid var(--ep-blue);border-radius:50%;color:var(--ep-blue)!important;font-size:22px;transition:background .2s ease,color .2s ease}
.ep-round-arrow:hover{background:var(--ep-blue);color:#fff!important}
.ep-embedded{padding:10px 0}

@media(max-width:940px){
  .ep-projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ep-detail-hero-grid{grid-template-columns:1fr;gap:28px}
  .ep-detail-art{order:-1;min-height:410px}
  .ep-overview-grid,.ep-proof-grid{grid-template-columns:1fr}
  .ep-proof-grid{gap:40px}
  .ep-outputs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ep-section-head{align-items:flex-start;flex-direction:column;gap:14px}
  .ep-section-head>p{max-width:500px}
}
@media(max-width:600px){
  .ep-shell{width:min(100% - 36px,1180px)}
  .ep-listing-hero{padding:62px 0 66px}
  .ep-listing-hero h1{margin-top:19px;font-size:56px}
  .ep-listing-intro{display:block}
  .ep-listing-intro p{font-size:16px;line-height:1.9}
  .ep-project-count{display:block;margin-top:22px;padding:16px 0 0;border-top:1px solid var(--ep-line);border-right:0}
  .ep-project-count strong{margin-left:8px;font-size:42px}
  .ep-projects-section{padding:56px 0 72px}
  .ep-section-head h2,.ep-detail-heading h2,.ep-proof-note h2{font-size:34px}
  .ep-projects-grid{grid-template-columns:1fr;gap:12px}
  .ep-project-card{min-height:0}
  .ep-card-media{height:175px}
  .ep-card-body{padding:22px 20px 20px}
  .ep-detail-hero{padding:44px 0 70px}
  .ep-detail-hero-grid{gap:8px}
  .ep-detail-art{min-height:350px}
  .ep-detail-art-glow{width:330px;height:330px}
  .ep-certificate-card{width:min(100%,335px)}
  .ep-certificate-card img{height:300px}
  .ep-year-stamp{bottom:5%;left:0;width:63px;height:63px;font-size:14px}
  .ep-breadcrumb{margin-bottom:20px}
  .ep-detail-copy h1{font-size:46px}
  .ep-detail-lead{font-size:16px}
  .ep-detail-meta{gap:15px}
  .ep-detail-meta>div{min-width:calc(50% - 15px)}
  .ep-detail-section{padding:60px 0 72px}
  .ep-overview-card,.ep-goal-card{padding:27px 24px}
  .ep-overview-card{font-size:16px;line-height:2}
  .ep-goal-card{min-height:240px}
  .ep-goal-card p{font-size:18px}
  .ep-outputs-grid{grid-template-columns:1fr;gap:10px}
  .ep-output-card{min-height:0;padding:20px}
  .ep-output-card h3{margin-top:11px}
  .ep-full-proof{padding:9px 9px 0}
  .ep-full-proof img{max-height:none}
  .ep-full-proof figcaption{flex-direction:column;padding:11px 2px}
  .ep-next-project{padding:48px 0}
  .ep-next-project h2{font-size:22px}
}

/* Horizontal archive loop: isolated client-logo treatment */
.ep-projects-list{display:grid;gap:12px}
.ep-project-row{display:grid;grid-template-columns:42px 98px minmax(0,1fr) 182px 42px;align-items:center;gap:19px;padding:14px 18px;border:1px solid var(--ep-line);border-radius:16px;background:#fff;transition:border-color .22s ease,box-shadow .22s ease,transform .22s ease}
.ep-project-row:hover{border-color:#b7ccd9;box-shadow:0 13px 34px rgba(18,66,102,.1);transform:translateX(-4px)}
.ep-row-index{color:#b3c3cc;font-size:13px;font-weight:700;letter-spacing:.05em}
.ep-row-logo{display:block;width:98px;height:74px}
.ep-logo-mark{position:relative;display:grid;width:100%;height:100%;place-items:center;overflow:hidden;border:1px solid #dfe9ee;border-radius:11px;background:linear-gradient(145deg,#fbfdfe 0%,#edf5f8 100%);box-shadow:inset 0 0 0 5px rgba(255,255,255,.55)}
.ep-logo-mark:before{content:"";position:absolute;inset:7px;border:1px solid rgba(30,91,134,.09);border-radius:7px;pointer-events:none}
.ep-logo-accent{position:absolute;z-index:1;top:7px;right:8px;width:18px;height:3px;border-radius:99px;background:var(--ep-orange);opacity:.8}
.ep-project-logo{position:relative;z-index:2;display:block;width:100%;height:100%;padding:12px;object-fit:contain}
.ep-logo-placeholder{color:var(--ep-blue);font-size:11px;font-weight:700}
.ep-row-content{display:block;min-width:0}
.ep-row-client{display:block;margin-bottom:2px;color:var(--ep-blue);font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ep-row-content h2{margin:1px 0 2px;color:var(--ep-ink);font-size:20px;font-weight:800;line-height:1.45;letter-spacing:-.025em}
.ep-row-content p{display:-webkit-box;overflow:hidden;margin:0;color:var(--ep-muted);font-size:12px;line-height:1.7;-webkit-box-orient:vertical;-webkit-line-clamp:1}
.ep-row-meta{display:flex;align-items:center;justify-content:flex-start;gap:10px;color:var(--ep-muted);font-size:11px;white-space:nowrap}
.ep-row-meta span+span{padding-right:10px;border-right:1px solid var(--ep-line)}
.ep-row-arrow{display:grid;width:34px;height:34px;place-items:center;border:1px solid rgba(30,91,134,.36);border-radius:50%;color:var(--ep-blue)!important;font-size:17px;transition:background .2s ease,color .2s ease,border-color .2s ease}
.ep-row-arrow span{display:block;transition:transform .2s ease}
.ep-project-row:hover .ep-row-arrow{border-color:var(--ep-orange);background:var(--ep-orange);color:#fff!important}
.ep-project-row:hover .ep-row-arrow span{transform:translateX(-2px)}
@media(max-width:940px){.ep-project-row{grid-template-columns:37px 88px minmax(0,1fr) 38px;gap:14px}.ep-row-meta{display:none}.ep-row-logo{width:88px;height:68px}}
@media(max-width:600px){.ep-project-row{grid-template-columns:31px 70px minmax(0,1fr) 34px;gap:10px;padding:11px 10px;border-radius:13px}.ep-row-logo{width:70px;height:58px}.ep-project-logo{padding:9px}.ep-logo-accent{top:5px;right:6px;width:14px;height:2px}.ep-row-client{font-size:10px}.ep-row-content h2{font-size:15px;line-height:1.45}.ep-row-content p{font-size:10px}.ep-row-arrow{width:30px;height:30px;font-size:15px}.ep-row-index{font-size:11px}}

/* Scroll reveals are enabled only after the small observer script is ready. */
.ep-motion-ready .ep-reveal{opacity:0;transform:translateY(24px);transition:opacity .72s cubic-bezier(.22,.61,.36,1),transform .72s cubic-bezier(.22,.61,.36,1);transition-delay:var(--ep-delay,0s)}
.ep-motion-ready .ep-reveal.is-visible{opacity:1;transform:none}
.ep-motion-ready .ep-reveal--hero{transition-duration:.9s}
.ep-motion-ready .ep-project-row.is-visible:hover{transform:translateX(-4px)}
.ep-motion-ready .ep-output-card.is-visible:hover{transform:translateY(-5px)}
@media(prefers-reduced-motion:reduce){.ep-motion-ready .ep-reveal,.ep-motion-ready .ep-reveal.is-visible{opacity:1;transform:none;transition:none}.ep-project-row,.ep-output-card,.ep-round-arrow,.ep-row-arrow{transition:none!important}}
