.products-page{padding-bottom:100px}
.products-intro{padding-top:70px;padding-bottom:48px}
.products-intro h1{font-size:clamp(34px,5vw,64px);line-height:1.25;margin:16px 0 20px}
.products-intro p{color:var(--muted);font-size:20px;max-width:700px;line-height:1.8}
.products-grid{display:grid;gap:32px}
.product-card{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1.15fr);border:1px solid var(--line);border-radius:24px;overflow:hidden;background:var(--soft)}
.product-visual{background:#0e1a16;color:#f6f3ea;min-height:390px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;padding:40px}
.product-visual strong{font-size:48px;line-height:1.2}
.product-visual>span{color:#c8f135;font-size:15px;letter-spacing:.08em}
.product-content{padding:48px;align-self:center}
.product-category{font-size:13px;color:var(--muted)}
.product-content h2{font-size:36px;margin:14px 0 10px}
.product-content h3{font-size:22px;line-height:1.6;margin:0 0 18px}
.product-content p{font-size:17px;line-height:1.9;margin:0 0 20px}
.product-content .product-maker{font-size:14px;color:var(--muted)}
.product-link{display:inline-flex;gap:16px;background:var(--gold,#d8ae65);color:#12212a;border-radius:12px}
.product-link:focus-visible{outline:3px solid var(--turquoise);outline-offset:5px}
.product-link .sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:700px){.products-intro{padding-top:42px;padding-bottom:30px}.products-intro p{font-size:17px}.product-card{grid-template-columns:1fr}.product-visual{min-height:270px;padding:30px}.product-visual img{width:88px;height:88px}.product-visual strong{font-size:38px}.product-content{padding:28px}.product-content h3{font-size:20px}}
/* Inner-page navigation uses white labels; give this page a navy header. */
body:has(.products-page) .site-header{background:#0d2435!important}
.products-intro>.eyebrow{color:var(--muted)!important}
html body main.products-page{padding-top:var(--header-h)!important}


.site-nav .nav-products-link,.overlay .nav-products-link{display:inline-flex;align-items:center;gap:8px}
.nav-product-icon{width:19px;height:19px;flex:none;display:block}
.overlay .nav-product-icon{width:25px;height:25px}

/* project-loading-20261107: a project page's own loading state looks exactly
   like the route loading bar shown just before it (same bar, same screen-high
   reserve), so the page goes loading -> project once, without a second flash
   of «جارٍ تحميل المشروع…» or the footer jumping up and back down. */
html body main.project.project-loading{min-height:calc(100svh - 24px)!important;display:grid!important;place-items:center;padding:0!important;margin:0!important}
@supports not (height:100svh){html body main.project.project-loading{min-height:calc(100vh - 24px)!important}}
html body main.project.project-loading>.intro{position:relative;margin:0!important;padding:0!important;width:72px!important;max-width:72px;height:2px!important;min-height:0!important;overflow:hidden;background:var(--line)}
html body main.project.project-loading>.intro::after{content:"";display:block;width:45%;height:100%;background:var(--brand);animation:route-load 1s ease-in-out infinite}
html body main.project.project-loading>.intro p{position:absolute!important;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}

/* marketing-medical-20261108: 5th sector card (healthcare) in the digital-marketing sector grid. */
.marketing-sector-card-healthcare>a{background:linear-gradient(135deg,#087f8c,#159d98)!important;color:#fff!important}
@media(min-width:1100px){.marketing-sector-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}.marketing-sector-card h3{font-size:clamp(18px,1.5vw,22px);white-space:normal}}
@media(min-width:901px) and (max-width:1099px){.marketing-sector-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:641px) and (max-width:900px){.marketing-sector-grid>.marketing-sector-card-healthcare{grid-column:1/-1}}

/* alsaif-logo-home-20261108: Alsaif logo film card on the homepage (framed cover in the client's green and gold). */
html body .home-featured-projects .featured-project-card.featured-project-alsaif{background:#123f35}
html body .home-featured-projects .featured-project-alsaif .featured-project-alsaif-backdrop{background:radial-gradient(ellipse at 20% 16%,rgba(201,178,92,.3),transparent 55%),repeating-radial-gradient(ellipse at 50% 40%,transparent 0 42px,rgba(214,192,110,.12) 43px 44px,transparent 45px 74px),linear-gradient(125deg,#0f3a31 0%,#1a5446 52%,#0f3a31 100%)}
html body .featured-project-alsaif-backdrop::before{border-color:rgba(214,192,110,.28)}
html body .featured-project-alsaif-backdrop>span{color:rgba(214,192,110,.2)}
html body .featured-project-alsaif-backdrop>span+span{color:rgba(214,192,110,.22)}
html body .featured-project-alsaif .featured-project-alsaif-cover{position:absolute;z-index:2;top:8px;left:50%;transform:translateX(-50%);width:56%;max-width:216px;aspect-ratio:1;display:block;overflow:visible;border:4px solid #f4efe2;border-radius:19px;background:#fff;box-shadow:0 14px 26px rgba(4,26,21,.34)}
html body .home-featured-projects .featured-project-alsaif .featured-project-alsaif-cover img{position:absolute!important;inset:0;width:100%!important;height:100%!important;object-fit:cover;padding:0!important;border-radius:15px;transform:none!important;filter:none!important}
html body .featured-project-alsaif .featured-project-play{z-index:5;top:100%;left:50%;transform:translate(-50%,-50%);width:50px;height:50px;background:#a99437;color:#fff;border:2px solid #f4efe2;box-shadow:0 0 0 5px rgba(244,239,226,.14),0 6px 18px rgba(4,26,21,.35)}
html body .featured-project-alsaif .featured-project-play svg{width:26px;height:26px;margin-left:2px}
html body .home-featured-projects .featured-project-alsaif::before{background:linear-gradient(180deg,transparent 56%,rgba(4,26,21,.62))!important}
html body .home-featured-projects .featured-project-alsaif .featured-project-meta{top:12px}
@media(max-width:360px){html body .featured-project-alsaif .featured-project-alsaif-cover{width:68%;max-width:180px}}

/* alsaif-project-layout-20261108: AlSaif logo project page — the film in a green brand
   panel, the four colourways as a 2x2 grid under a heading, without the single-tab index.
   Scoped with :has() to pages that contain the AlSaif film; no other project changes. */
html body main.project:has(video source[src*="abdulrahman-alsaif-law-identity"]) .project-video-section{position:relative;overflow:hidden;max-width:1080px;margin:8px auto 28px;padding:clamp(28px,4vw,52px) 16px;border-radius:28px;background:radial-gradient(ellipse at 18% 14%,rgba(201,178,92,.26),transparent 55%),repeating-radial-gradient(ellipse at 50% 44%,transparent 0 46px,rgba(214,192,110,.10) 47px 48px,transparent 49px 80px),linear-gradient(135deg,#0f3a31 0%,#1a5446 55%,#0f3a31 100%);box-shadow:0 22px 50px rgba(9,40,33,.22)}
html body main.project:has(video source[src*="abdulrahman-alsaif-law-identity"]) .project-video-grid{display:flex;justify-content:center;width:auto;max-width:none;margin:0}
html body main.project:has(video source[src*="abdulrahman-alsaif-law-identity"]) .project-video{width:min(360px,100%);margin:0;padding:0;border:3px solid #c9b25c;border-radius:22px;overflow:hidden;background:#0c2f28;box-shadow:0 0 0 6px rgba(244,239,226,.08),0 18px 40px rgba(0,0,0,.35)}
html body main.project:has(video source[src*="abdulrahman-alsaif-law-identity"]) .project-video video{display:block;width:100%;height:auto;border-radius:0}
html body main.project:has(video source[src*="abdulrahman-alsaif-law-identity"]) .project-video figcaption{margin:0;padding:12px 14px;background:#0c2f28;color:#efe6c8;text-align:center;font-size:14px;line-height:1.6}
html body main.project:has(video source[src*="abdulrahman-alsaif-law-identity"]) .static-gallery-wrap{max-width:1080px;margin:0 auto 24px;border:0}
html body main.project:has(video source[src*="abdulrahman-alsaif-law-identity"]) .static-gallery-wrap::after{display:none}
html body main.project:has(video source[src*="abdulrahman-alsaif-law-identity"]) .swiftchain-identity-index,html body main.project:has(video source[src*="abdulrahman-alsaif-law-identity"]) .swiftchain-identity-controls{display:none!important}
html body main.project:has(video source[src*="abdulrahman-alsaif-law-identity"]) .swiftchain-identity-browser,html body main.project:has(video source[src*="abdulrahman-alsaif-law-identity"]) .swiftchain-identity-viewer{width:100%;max-width:none;margin:0;padding:0;border:0;background:none;box-shadow:none}
html body main.project:has(video source[src*="abdulrahman-alsaif-law-identity"]) .swiftchain-identity-pages{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(10px,2vw,22px);height:auto!important}
html body main.project:has(video source[src*="abdulrahman-alsaif-law-identity"]) .swiftchain-identity-pages>figure{position:relative;margin:0!important;padding:0!important;width:auto!important;height:auto!important;aspect-ratio:1;border:0!important;border-radius:clamp(12px,1.6vw,20px);overflow:hidden;background:#fff;box-shadow:0 1px 0 rgba(9,40,33,.06),0 12px 30px rgba(9,40,33,.12);outline:1px solid rgba(9,40,33,.08);outline-offset:-1px}
html body main.project:has(video source[src*="abdulrahman-alsaif-law-identity"]) .swiftchain-identity-pages>figure::before,html body main.project:has(video source[src*="abdulrahman-alsaif-law-identity"]) .swiftchain-identity-pages>figure::after{display:none}
html body main.project:has(video source[src*="abdulrahman-alsaif-law-identity"]) .swiftchain-identity-pages>figure picture,html body main.project:has(video source[src*="abdulrahman-alsaif-law-identity"]) .swiftchain-identity-pages>figure img{display:block;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover;margin:0}
html body main.project:has(video source[src*="abdulrahman-alsaif-law-identity"]) .project-video-section.wrap{width:min(1080px,calc(100% - 32px))!important;max-width:1080px!important;margin-inline:auto!important;box-sizing:border-box}
html body main.project:has(video source[src*="abdulrahman-alsaif-law-identity"]) .static-gallery-wrap.wrap{width:min(900px,calc(100% - 32px))!important;max-width:900px!important;margin-inline:auto!important;padding:0!important;margin-top:clamp(28px,4vw,48px)!important}
html body main.project:has(video source[src*="abdulrahman-alsaif-law-identity"]) .static-gallery-wrap .profile-flipbook,html body main.project:has(video source[src*="abdulrahman-alsaif-law-identity"]) .static-gallery-wrap .static-gallery-grid{width:100%!important;max-width:none!important;height:auto!important;padding:0!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important;display:block!important}
html body main.project:has(video source[src*="abdulrahman-alsaif-law-identity"]) .static-gallery-wrap::before{content:'Logo colourways';display:block!important;margin:0 0 16px;text-align:center;font-family:var(--head);font-size:clamp(20px,2.2vw,28px);font-weight:800;color:#123f35}
html[lang="ar"] body main.project:has(video source[src*="abdulrahman-alsaif-law-identity"]) .static-gallery-wrap::before{content:'الشعار بألوانه'}
