.process-intro { position:absolute; inset:0; direction:rtl; pointer-events:none; z-index:5; color:#f7fafc; }
.process-intro-copy { position:absolute; top:14%; right:6vw; width:32vw; }
.process-intro-copy h2 { font-size:clamp(25px,2.15vw,34px); font-weight:500; line-height:1.5; margin:0 0 12px; }
.process-intro-copy p { font-size:clamp(16px,1.35vw,22px); line-height:1.8; margin:0; color:rgba(247,250,252,.76); }
.process-route { position:absolute; inset:0; width:100%; height:100%; fill:none; stroke:#13b8b5; stroke-width:1; pointer-events:none; }
.process-path { vector-effect:non-scaling-stroke; }
.process-timeline-window { position:absolute; right:6vw; top:29%; height:61%; width:32vw; overflow:hidden; mask-image:linear-gradient(to bottom,transparent,#000 9%,#000 87%,transparent); }
.process-stages { position:relative; width:100%; }
.process-stage { position:relative; box-sizing:border-box; padding-right:67px; }
.process-stage::before { content:''; position:absolute; right:5px; top:15px; width:5px; height:5px; border:1px solid #64ccca; border-radius:50%; background:var(--node-fill,#071526); }
.process-number { position:absolute; right:26px; top:2px; font-size:22px; font-weight:400; line-height:1.6; color:#64ccca; direction:ltr; }
.process-stage h3 { font-size:clamp(20px,1.7vw,27px); font-weight:500; line-height:1.55; margin:0 0 12px; max-width:590px; }
.process-stage ul { margin:0; padding-right:20px; color:rgba(247,250,252,.75); font-size:clamp(14px,1.15vw,18px); line-height:1.75; }
.process-rail { position:absolute; right:8px; top:18px; width:1px; background:rgba(56,183,184,.12); }
.process-rail-fill { position:absolute; right:0; top:0; width:1px; background:rgba(56,183,184,.85); }
.process-active-marker { position:absolute; right:-6px; top:-6px; width:13px; height:13px; box-sizing:border-box; border:1px solid #64ccca; border-radius:50%; background:#071526; z-index:2; }
.process-drawing { position:absolute; left:5.8vw; top:22%; width:46.4vw; height:66vh; stroke:#38b7b8; stroke-width:1.2; }
.process-complete { position:absolute; left:5.8vw; width:46.4vw; text-align:center; bottom:9%; margin:0; color:#64ccca; font-size:22px; }
.process-methods{position:absolute;left:5.8vw;top:12%;width:46.4vw;direction:rtl;color:#f7fafc;pointer-events:none;z-index:2;}
.process-methods-intro{margin:0 0 13px;color:#64ccca;font-size:16px;line-height:1.5;}
.process-method-branches{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid rgba(100,204,202,.32);border-bottom:1px solid rgba(100,204,202,.22);}
.process-method-branch{position:relative;min-height:190px;padding:17px 16px 15px;border-left:1px solid rgba(100,204,202,.2);box-sizing:border-box;}
.process-method-branch:last-child{border-left:0;}
.process-method-branch::before{content:'';position:absolute;top:-5px;right:18px;width:8px;height:8px;border:1px solid #64ccca;border-radius:50%;background:#071526;}
.process-method-number{display:block;color:#64ccca;font-size:11px;letter-spacing:.12em;direction:ltr;}
.process-method-branch small{display:block;margin-top:6px;color:#64ccca;font-size:10px;letter-spacing:.16em;line-height:1;}
.process-method-branch h3{margin:9px 0 7px;color:#f7fafc;font-size:17px;font-weight:500;line-height:1.45;}
.process-method-branch p{margin:0;color:rgba(247,250,252,.72);font-size:12px;line-height:1.65;}
.process-method-tags{display:block;margin-top:10px;color:rgba(100,204,202,.9);font-size:10px;line-height:1.6;}
.process-method-result{display:flex;align-items:center;gap:12px;justify-content:center;margin:17px 0 0;color:#f7fafc;font-size:20px;line-height:1.4;}
.process-method-result i{display:block;width:44px;height:1px;background:#64ccca;position:relative;}
.process-method-result i::after{content:'';position:absolute;right:0;top:-3px;width:7px;height:7px;border:1px solid #64ccca;border-radius:50%;background:#071526;}
.motion-enabled .process-methods{opacity:0;}
.motion-enabled .process-path,.motion-enabled .process-intro-copy>*,.motion-enabled .process-timeline-window,.motion-enabled .process-drawing,.motion-enabled .process-complete { opacity:0; }
.services-study .process-building-trace { stroke:#16878e; stroke-width:1.35; }
body:not(.motion-enabled) .process-intro { position:relative; inset:auto; background:#071526; padding:100px 5vw; margin-top:70px; }
body:not(.motion-enabled) .process-intro-copy,body:not(.motion-enabled) .process-timeline-window,body:not(.motion-enabled) .process-stages { position:relative; inset:auto; width:100%; height:auto; overflow:visible; mask-image:none; }
body:not(.motion-enabled) .process-stage { margin-top:40px; padding-right:65px; }
body:not(.motion-enabled) .process-route,body:not(.motion-enabled) .process-rail,body:not(.motion-enabled) .process-drawing { display:none; }
body:not(.motion-enabled) .process-complete { position:relative; inset:auto; width:100%; margin-top:50px; }

.process-art { stroke:#60c9c8; stroke-width:1.2; stroke-linecap:round; stroke-linejoin:round; }
.process-art path,.process-art rect,.process-art circle { vector-effect:non-scaling-stroke; }
.process-art.secondary,.process-art .secondary { stroke:#becfd9; stroke-width:.8; }
.completion-ring { stroke-width:.7; }

.process-active-marker::after { content:''; position:absolute; inset:3px; border:1px solid #64ccca; border-radius:50%; }
.motion-enabled .process-active-marker::after { animation:process-node-breathe 2.8s ease-in-out infinite; }
@keyframes process-node-breathe { 0%,100% { transform:scale(1); opacity:.8; } 50% { transform:scale(1.12); opacity:1; } }
.process-stage ul { padding:0; list-style:none; color:rgba(199,215,226,.76); font-size:14px; line-height:1.7; max-width:100%; }
.process-stage li { display:inline; }
.process-stage li+li::before { content:' · '; color:#64ccca; }
@media(prefers-reduced-motion:reduce) { .process-active-marker::after { animation:none; } }

/* Mobile Process: one connected, content-led valuation timeline. Desktop pin remains untouched. */
@media (max-width:999px) {
  .process-intro {
    position:relative !important;
    inset:auto !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 !important;
    padding:96px 24px 64px !important;
    overflow:hidden !important;
    background:#071526;
    pointer-events:auto;
  }

  .process-intro-copy {
    position:relative !important;
    inset:auto !important;
    width:100% !important;
    margin:0;
  }
  .process-intro-copy h2 { font-size:clamp(29px,8vw,38px) !important; line-height:1.32 !important; margin-bottom:8px; }
  .process-intro-copy p { font-size:16px; line-height:1.7; }

  .process-route,
  .process-drawing { display:none !important; }

  .process-timeline-window {
    position:relative !important;
    inset:auto !important;
    width:100% !important;
    height:auto !important;
    overflow:visible !important;
    margin:30px 0 0 !important;
    mask-image:none !important;
  }

  .process-stages {
    position:relative !important;
    display:block !important;
    width:100% !important;
    height:auto !important;
    margin:0 !important;
    padding:0 0 0 0;
    transform:none !important;
  }

  .process-rail {
    display:block !important;
    position:absolute !important;
    right:10px !important;
    top:9px !important;
    bottom:14px !important;
    width:1px !important;
    height:auto !important;
    background:rgba(24,198,195,.42) !important;
  }
  .process-rail-fill,
  .process-active-marker { display:none !important; }

  .process-stage {
    position:relative !important;
    inset:auto !important;
    display:block !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 0 24px !important;
    padding:0 50px 0 0 !important;
    border:0 !important;
    opacity:1 !important;
    scale:1 !important;
    transform:none !important;
  }
  .process-stage:first-of-type { margin-bottom:30px !important; }
  .process-stage:last-child { margin-bottom:0 !important; }

  .process-stage::before {
    display:block !important;
    right:6px !important;
    top:7px !important;
    bottom:auto !important;
    width:7px !important;
    height:7px !important;
    box-sizing:border-box;
    border:1px solid #64ccca !important;
    border-radius:50%;
    background:#071526 !important;
  }

  .process-number {
    position:absolute !important;
    top:-2px !important;
    right:24px !important;
    color:#64ccca !important;
    font-size:15px !important;
    font-weight:500;
    line-height:1.55;
  }
  .process-stage h3 {
    max-width:none !important;
    margin:0 !important;
    color:#f7fafc;
    font-size:clamp(18px,5.35vw,23px) !important;
    line-height:1.52 !important;
    font-weight:500;
  }
  .process-stage ul {
    display:grid;
    gap:3px;
    margin:8px 0 0 !important;
    padding:0 !important;
    color:rgba(199,215,226,.78) !important;
    font-size:14px !important;
    line-height:1.65 !important;
  }
  .process-stage li { display:block !important; }
  .process-stage li+li::before { content:none !important; }

  .process-complete {
    position:relative !important;
    inset:auto !important;
    display:block !important;
    width:100% !important;
    margin:32px 0 0 !important;
    padding-right:50px;
    color:#64ccca;
    font-size:18px;
    text-align:right;
    transform:none !important;
    opacity:1 !important;
  }
  .process-methods{position:relative;left:auto;top:auto;width:100%;margin:42px 0 0;padding-right:50px;box-sizing:border-box;pointer-events:auto;}
  .process-methods-intro{font-size:16px;margin-bottom:18px;}
  .process-method-branches{display:block;border-top:0;border-bottom:0;}
  .process-method-branch{min-height:0;padding:15px 16px 17px 0;border-left:0;border-bottom:1px solid rgba(100,204,202,.2);}
  .process-method-branch:last-child{border-bottom:0;}
  .process-method-branch::before{top:20px;right:-48px;}
  .process-method-branch h3{font-size:18px;}
  .process-method-branch p{font-size:14px;line-height:1.75;}
  .process-method-tags{font-size:11px;}
  .process-method-result{justify-content:flex-start;margin-top:24px;font-size:18px;}
}
@media (max-width:430px) { .process-intro { padding-inline:20px !important; } }


/* Process heading metadata follows the shared WHY MENASSAT treatment. */
.process-intro-copy .section-heading-unit .section-micro-label{display:block;margin:0 0 10px!important;font-size:12px!important;font-weight:500!important;letter-spacing:.14em!important;line-height:1.1!important;color:#168e90!important;direction:ltr;text-align:right;}
/* Process heading mirrors the approved Why Menassat title treatment. */
@media (min-width:1000px){
  .process-intro-copy,
  .process-timeline-window{right:7vw;}
}

@media (min-width:1000px){
  .process-intro-copy{top:17%;}
  .process-intro-copy h2{display:flex;align-items:center;gap:16px;margin:0 0 12px;}
  .process-intro-copy h2::before{content:"";display:inline-block;flex:0 0 34px;width:34px;height:1px;background:#168e90;}
}
/* Keep chapter micro-labels paired with their Arabic headings. */
.credentials-registry .credential-type{display:none!important;}
