/* V7 homepage + team polish. Loaded after app.css to avoid stale V3/V4/V6 mobile rules. */
html,body{width:100%;max-width:100%;overflow-x:clip}
.home-hero-v7{background:#f4efe5;padding:22px 0 30px}
.hero-v7-frame{position:relative;width:min(1440px,calc(100% - 32px));min-height:690px;margin:0 auto;overflow:hidden;border-radius:32px;background:#070706;color:#fff;box-shadow:0 24px 90px rgba(32,25,10,.14)}
.hero-v7-media,.hero-v7-shade{position:absolute;inset:0}
.hero-v7-media{background:#080806}
.hero-v7-video{display:block!important;width:100%!important;height:100%!important;min-width:100%;min-height:100%;object-fit:cover!important;object-position:50% 50%!important;opacity:1!important;filter:saturate(.86) contrast(1.04) brightness(.82);transform:scale(1.002)}
html[dir="rtl"] .hero-v7-video{object-position:50% 50%!important}
.hero-v7-shade{z-index:1;background:linear-gradient(90deg,rgba(4,4,3,.93) 0%,rgba(4,4,3,.78) 34%,rgba(4,4,3,.28) 67%,rgba(4,4,3,.54) 100%),linear-gradient(0deg,rgba(4,4,3,.72),transparent 50%)}
html[dir="rtl"] .hero-v7-shade{background:linear-gradient(90deg,rgba(4,4,3,.92) 0%,rgba(4,4,3,.70) 36%,rgba(4,4,3,.28) 69%,rgba(4,4,3,.60) 100%),linear-gradient(0deg,rgba(4,4,3,.72),transparent 50%)}
.hero-v7-content{position:relative;z-index:2;min-height:690px;padding:74px clamp(34px,5vw,82px) 116px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.56fr);gap:54px;align-items:center}
html[dir="rtl"] .hero-v7-content{direction:rtl}
.hero-v7-copy{max-width:690px}
html[dir="rtl"] .hero-v7-copy{direction:rtl;text-align:right;justify-self:start}
.hero-v7-kicker{display:inline-flex;align-items:center;gap:12px;color:#edc968;font-size:.74rem;font-weight:900;text-transform:uppercase;letter-spacing:.12em}
.hero-v7-kicker:before{content:"";width:34px;height:1px;background:#d8ae4c}
html[dir="rtl"] .hero-v7-kicker{text-transform:none;letter-spacing:0}
.hero-v7-title{font-family:Georgia,"Times New Roman",serif;font-size:clamp(3.45rem,5.55vw,5.65rem);line-height:.95;letter-spacing:-.045em;margin:18px 0 24px;max-width:760px}
.hero-v7-title span{color:#e7c265}
html[dir="rtl"] .hero-v7-title{font-family:Tahoma,"Segoe UI",Arial,sans-serif;font-size:clamp(3rem,4.9vw,5rem);line-height:1.23;letter-spacing:0;max-width:640px}
.hero-v7-intro{max-width:640px;margin:0;color:#e9e2d5;font-size:clamp(.98rem,1.25vw,1.12rem);line-height:1.85}
.hero-v7-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.hero-v7-ghost{color:#fff;border-color:rgba(255,255,255,.28);background:rgba(255,255,255,.055);backdrop-filter:blur(7px)}
.hero-v7-aside{align-self:end;display:grid;gap:18px;max-width:380px;justify-self:end;margin-bottom:12px}
html[dir="rtl"] .hero-v7-aside{direction:rtl;justify-self:end}
.hero-v7-pills{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.hero-v7-pills span{padding:8px 11px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(8,8,6,.4);backdrop-filter:blur(8px);font-size:.69rem;font-weight:800;color:#f0ebe1}
.hero-v7-office-card{display:grid;grid-template-columns:64px 1fr;gap:15px;align-items:center;padding:16px 18px;border:1px solid rgba(229,195,110,.28);border-radius:20px;background:rgba(8,8,6,.62);backdrop-filter:blur(12px)}
.hero-v7-office-card img{width:58px;height:58px;object-fit:contain}
.hero-v7-office-card small{display:block;color:#b9b1a1;font-size:.68rem;margin-bottom:4px}
.hero-v7-office-card strong{display:block;color:#fff;font-size:.86rem;line-height:1.45}
.hero-v7-bottom{position:absolute;z-index:3;inset-inline:clamp(34px,5vw,82px);bottom:26px;padding-top:18px;border-top:1px solid rgba(255,255,255,.14);display:flex;flex-wrap:wrap;gap:14px 26px;color:#d4cdbf;font-size:.74rem}
.hero-v7-bottom b{color:#e6c264;margin-inline-end:5px}
.hero-v7-video-toggle{inset-inline-end:22px!important;bottom:22px!important;z-index:5!important}
.hero-v7-play-overlay{position:absolute;z-index:6;inset-inline-end:28px;top:28px;border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:8px 13px;background:rgba(4,4,3,.62);color:#fff;display:flex;gap:8px;align-items:center;backdrop-filter:blur(10px);font-size:.72rem}
.hero-v7-play-overlay[hidden]{display:none!important}.hero-v7-play-overlay span{color:#e6c264}.hero-v7-play-overlay b{font-weight:800}
.trust-strip-v7{background:#0a0a08;border-top:0}

.expertise-v7{background:#fbfaf6}
.expertise-v7-head h2{max-width:760px}.expertise-v7-head p{max-width:500px}
.expertise-v7-grid{display:grid;grid-template-columns:1.02fr 1fr;gap:18px;align-items:stretch}
.expertise-v7-feature{position:relative;min-height:590px;border-radius:30px;overflow:hidden;background:linear-gradient(145deg,#0b0b09,#17150f);color:#fff;padding:36px;display:flex;align-items:flex-end;border:1px solid #28251d;box-shadow:0 24px 70px rgba(41,32,13,.12)}
.expertise-v7-feature:before{content:"";position:absolute;width:520px;height:520px;border-radius:50%;border:1px solid rgba(229,195,110,.14);top:-230px;inset-inline-end:-190px;box-shadow:0 0 0 74px rgba(229,195,110,.025),0 0 0 148px rgba(229,195,110,.018)}
.expertise-v7-mark{position:absolute;top:38px;inset-inline-end:40px;width:170px;height:170px;object-fit:contain;opacity:.22;filter:sepia(1) saturate(.75)}
.expertise-v7-number{position:absolute;top:34px;inset-inline-start:36px;color:#e4c066;font:700 1.05rem Georgia,serif}
.expertise-v7-feature-copy{position:relative;z-index:2;max-width:540px}
.expertise-v7-feature-copy>span{color:#e4c066;font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.12em}
html[dir="rtl"] .expertise-v7-feature-copy>span{letter-spacing:0;text-transform:none}
.expertise-v7-feature h3{font-family:Georgia,serif;font-size:clamp(2.2rem,3.2vw,3.7rem);line-height:1.02;margin:11px 0 18px;color:#fff}
html[dir="rtl"] .expertise-v7-feature h3{font-family:Tahoma,Arial,sans-serif;line-height:1.35}
.expertise-v7-feature p{color:#c8c0b1;line-height:1.8;max-width:520px;margin:0 0 24px}.expertise-v7-feature b{color:#e7c46d;font-size:.8rem}
.expertise-v7-list{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.expertise-v7-card{min-height:286px;border:1px solid #e2dac9;border-radius:28px;background:#fff;padding:28px;display:flex;flex-direction:column;transition:.28s ease;box-shadow:0 10px 32px rgba(46,36,14,.045)}
.expertise-v7-card:hover{transform:translateY(-5px);border-color:#cfae5d;box-shadow:0 25px 55px rgba(46,36,14,.09)}
.expertise-v7-card-top{display:flex;justify-content:space-between;align-items:center;color:#9a7727;font:700 .9rem Georgia,serif}.expertise-v7-card-top i{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;border:1px solid #dfd4bc;font-style:normal;color:#17140e}
.expertise-v7-card h3{font-family:Georgia,serif;font-size:1.55rem;line-height:1.14;margin:30px 0 12px;color:#171611}
html[dir="rtl"] .expertise-v7-card h3{font-family:Tahoma,Arial,sans-serif;line-height:1.5}
.expertise-v7-card p{font-size:.86rem;line-height:1.75;color:#716b60;margin:auto 0 0}

.vision-v7{border-top:1px solid #ece4d5}.objectives-v7{border-top:1px solid rgba(229,195,110,.14)}
.team-showcase-v7{background:#f4efe5;border-top:1px solid #e2d8c5}
.team-v7-head{max-width:900px;margin-bottom:42px}.team-v7-head h2{font-size:clamp(2.55rem,4.5vw,4.65rem);margin:8px 0 14px}.team-v7-head p{max-width:670px;color:#716b60;margin:0;font-size:.95rem}
html[dir="rtl"] .team-v7-head{text-align:right;margin-inline-start:auto}
.team-v7-board{display:grid;grid-template-columns:1fr 1.08fr 1fr;gap:14px;align-items:stretch}
.team-v7-person,.team-v7-center{position:relative;min-height:500px;border-radius:28px;overflow:hidden}
.team-v7-person{background:#d9d1c2;border:1px solid #d8cdb7}
.team-v7-person img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.team-v7-person-left img{object-fit:contain;object-position:center bottom;background:linear-gradient(180deg,#eee9df,#c5b9a3)}
.team-v7-person-right img{object-fit:contain;object-position:center bottom;background:#efe9de;padding:14px 14px 0}
.team-v7-person:hover img{transform:scale(1.025)}
.team-v7-person-shade{position:absolute;inset:48% 0 0;background:linear-gradient(0deg,rgba(5,5,4,.91),rgba(5,5,4,.45) 62%,transparent)}
.team-v7-person-copy{position:absolute;z-index:2;inset-inline:24px;bottom:24px;color:#fff}.team-v7-person-copy span{display:block;color:#e4c168;font-size:.72rem;font-weight:900;margin-bottom:7px}.team-v7-person-copy h3{font-family:Georgia,serif;font-size:clamp(1.55rem,2.2vw,2.2rem);line-height:1.08;margin:0}
html[dir="rtl"] .team-v7-person-copy h3{font-family:Tahoma,Arial,sans-serif;line-height:1.42}
.team-v7-center{background:linear-gradient(145deg,#15130e,#0a0a08);color:#fff;border:1px solid #2b281f;padding:36px;display:flex;flex-direction:column;justify-content:flex-end;box-shadow:0 25px 65px rgba(31,24,10,.12)}
.team-v7-center-grid{position:absolute;inset:0;opacity:.18;background-image:linear-gradient(rgba(229,195,110,.18) 1px,transparent 1px),linear-gradient(90deg,rgba(229,195,110,.18) 1px,transparent 1px);background-size:46px 46px;mask-image:linear-gradient(135deg,#000,transparent 72%)}
.team-v7-center>img{position:relative;z-index:1;width:86px;height:86px;object-fit:contain;margin-bottom:auto;filter:drop-shadow(0 12px 25px rgba(0,0,0,.25))}.team-v7-center>span{position:relative;z-index:1;color:#e4c168;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.1em}.team-v7-center h3{position:relative;z-index:1;font-family:Georgia,serif;font-size:clamp(2rem,2.65vw,2.8rem);line-height:1.04;margin:9px 0 17px}.team-v7-center p{position:relative;z-index:1;color:#bfb7a7;font-size:.88rem;line-height:1.78;margin:0 0 22px}.team-v7-center a{position:relative;z-index:1;color:#e7c56d;font-size:.78rem;font-weight:900}
html[dir="rtl"] .team-v7-center{text-align:right}html[dir="rtl"] .team-v7-center>span{letter-spacing:0;text-transform:none}html[dir="rtl"] .team-v7-center h3{font-family:Tahoma,Arial,sans-serif;line-height:1.45}
.team-v7-footer{margin-top:16px;padding:18px 20px;border:1px solid #ddd2bd;border-radius:22px;background:rgba(255,255,255,.72);display:flex;justify-content:space-between;align-items:center;gap:20px}.team-v7-translation{display:flex;align-items:center;gap:15px}.team-v7-translation>b{width:58px;height:58px;border-radius:16px;background:#11100d;color:#e6c36c;display:grid;place-items:center;direction:ltr}.team-v7-translation strong,.team-v7-translation span{display:block}.team-v7-translation strong{font-size:.88rem;color:#26221a}.team-v7-translation span{font-size:.75rem;color:#7a7366;margin-top:2px}

/* Team page V7 */
.team-page-hero-v7{background:#f4efe5;padding:72px 0 58px;border-bottom:1px solid #e1d6c1}.team-page-hero-v7 .team-v7-head{margin-bottom:0}.team-page-v7{background:#fbfaf6}.team-page-v7 .team-v7-board{margin-bottom:22px}.team-detail-v7{display:grid;gap:18px;margin-top:40px}.team-detail-card-v7{display:grid;grid-template-columns:330px 1fr;gap:38px;align-items:center;border:1px solid #e0d7c6;border-radius:28px;background:#fff;padding:24px;overflow:hidden}.team-detail-card-v7:nth-child(even){grid-template-columns:1fr 330px}.team-detail-card-v7:nth-child(even) .team-detail-media-v7{order:2}.team-detail-media-v7{height:360px;border-radius:22px;overflow:hidden;background:#eee7da;display:grid;place-items:center}.team-detail-media-v7 img{width:100%;height:100%;object-fit:contain;object-position:center bottom}.team-detail-copy-v7 h2{font-size:clamp(2rem,3vw,3rem);margin:8px 0 14px}.team-detail-copy-v7 p{color:#6e685d;line-height:1.85;max-width:780px}

@media(max-width:1050px){
  .hero-v7-content{grid-template-columns:1fr;align-items:end}.hero-v7-aside{display:none}.hero-v7-copy{padding-top:30px}.expertise-v7-grid{grid-template-columns:1fr}.expertise-v7-feature{min-height:470px}.team-v7-board{grid-template-columns:1fr 1fr}.team-v7-center{grid-column:1/-1;min-height:370px;order:-1}.team-v7-person{min-height:470px}
}
@media(max-width:760px){
  :root{--shell:min(100% - 24px,1240px)}
  .home-hero-v7{padding:0;background:#070706}
  .hero-v7-frame{width:100%;min-height:calc(100svh - 68px);border-radius:0;margin:0;box-shadow:none}
  .hero-v7-media{inset:0;width:100%;height:100%}.hero-v7-video{display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:68% center!important;transform:none!important;filter:saturate(.88) contrast(1.04) brightness(.88)}
  .hero-v7-shade{background:linear-gradient(0deg,rgba(3,3,2,.94) 0%,rgba(3,3,2,.77) 43%,rgba(3,3,2,.20) 78%,rgba(3,3,2,.17) 100%)}
  html[dir="rtl"] .hero-v7-shade{background:linear-gradient(0deg,rgba(3,3,2,.94) 0%,rgba(3,3,2,.77) 43%,rgba(3,3,2,.20) 78%,rgba(3,3,2,.17) 100%)}
  .hero-v7-content{min-height:calc(100svh - 68px);display:flex;padding:210px 20px 150px;align-items:flex-end}
  .hero-v7-copy{width:100%;max-width:620px;padding:0}.hero-v7-kicker{font-size:.65rem;line-height:1.55}.hero-v7-kicker:before{width:24px}
  .hero-v7-title{font-size:clamp(2.65rem,12.5vw,3.65rem);line-height:.98;margin:13px 0 17px;max-width:11ch}.hero-v7-title span{display:block;margin-top:5px}
  html[dir="rtl"] .hero-v7-title{font-size:clamp(2.45rem,10.8vw,3.25rem);line-height:1.3;max-width:10ch}
  .hero-v7-intro{font-size:.91rem;line-height:1.72;max-width:34rem}.hero-v7-actions{display:grid;grid-template-columns:1fr;gap:9px;margin-top:22px}.hero-v7-actions .button{width:100%;min-height:52px}
  .hero-v7-bottom{inset-inline:20px;bottom:28px;gap:5px 16px;font-size:.64rem;padding-top:13px}.hero-v7-bottom span:nth-child(3){display:none}.hero-v7-video-toggle{inset-inline-end:16px!important;bottom:auto!important;top:18px!important;width:40px!important;height:40px!important}.hero-v7-play-overlay{top:18px;inset-inline-start:16px;inset-inline-end:auto}
  .trust-strip-v7 .trust-strip-grid{grid-template-columns:1fr 1fr}.trust-strip-v7 .trust-strip-grid>div{padding:15px 12px;min-height:88px}
  .expertise-v7-head{display:block}.expertise-v7-head p{margin-top:14px}.expertise-v7-grid{gap:12px}.expertise-v7-feature{min-height:430px;border-radius:24px;padding:26px}.expertise-v7-mark{width:120px;height:120px;top:28px;inset-inline-end:28px}.expertise-v7-number{top:27px;inset-inline-start:26px}.expertise-v7-feature h3{font-size:2.35rem}.expertise-v7-list{grid-template-columns:1fr;gap:12px}.expertise-v7-card{min-height:220px;border-radius:22px;padding:23px}.expertise-v7-card h3{margin-top:22px}
  .team-v7-head h2{font-size:clamp(2.35rem,10.8vw,3.25rem)}.team-v7-board{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding-bottom:7px;scrollbar-width:none}.team-v7-board::-webkit-scrollbar{display:none}.team-v7-person,.team-v7-center{flex:0 0 84vw;min-height:480px;scroll-snap-align:center;border-radius:23px}.team-v7-center{order:0;padding:28px}.team-v7-person-right img{padding:10px 10px 0}.team-v7-footer{display:grid;padding:18px}.team-v7-footer .button{width:100%}.team-v7-translation>b{width:50px;height:50px}
  .team-detail-card-v7,.team-detail-card-v7:nth-child(even){grid-template-columns:1fr;gap:20px}.team-detail-card-v7:nth-child(even) .team-detail-media-v7{order:0}.team-detail-media-v7{height:320px}.team-detail-card-v7{padding:18px;border-radius:22px}
}
@media(max-width:430px){
  :root{--shell:min(100% - 20px,1240px)}
  .hero-v7-content{padding-inline:18px;padding-top:190px}.hero-v7-title{font-size:clamp(2.4rem,12vw,3.1rem)}html[dir="rtl"] .hero-v7-title{font-size:clamp(2.25rem,10.4vw,2.9rem)}.hero-v7-intro{font-size:.86rem}.hero-v7-bottom{inset-inline:18px}.team-v7-person,.team-v7-center{flex-basis:88vw;min-height:455px}
}

/* V11 content-only additions: preserve V7 visual system while accommodating supplied CV details. */
.profile-info-v7{margin-top:18px;padding-top:16px;border-top:1px solid #e7dfd0}.profile-info-v7>strong{display:block;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:#2d2921;margin-bottom:8px}.profile-info-v7 ul{margin:0;padding-inline-start:20px;color:#6e685d}.profile-info-v7 li{margin:6px 0;line-height:1.65}.team-detail-copy-v7 .button+.button{margin-inline-start:8px}
@media(max-width:680px){.profile-info-v7 ul{padding-inline-start:18px}.team-detail-copy-v7 .button+.button{margin-inline-start:0}}

/* V13: Sabeihah leadership card uses the supplied portrait as a full visual, matching the adjacent team cards. */
.team-v7-person-center{background:#11100d;border-color:#2f2a20}
.team-v7-person-center img{width:100%;height:100%;object-fit:cover;object-position:center 18%;background:#11100d;padding:0}
.team-v7-person-center .team-v7-person-shade{inset:42% 0 0;background:linear-gradient(0deg,rgba(5,5,4,.94),rgba(5,5,4,.48) 62%,transparent)}
.team-detail-media-leader-v7{background:#11100d}
.team-detail-media-leader-v7 img{object-fit:cover;object-position:center 18%;padding:0;background:#11100d}

/* V14 hero CMS media fallback */
.hero-v7-media{background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important}.hero-v7-static-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero-v7-video{background:transparent}.hero-v7-media video{z-index:1}.hero-v7-static-image{z-index:1}.hero-v7-shade{z-index:2}

/* V14 content-page hero visibility polish */
.page-hero{background:#0b0b09!important;color:#fff!important;padding:76px 0 70px!important;min-height:300px;display:flex;align-items:center}.page-hero .shell{width:var(--shell);margin-inline:auto}.page-hero h1,.page-hero .display{color:#fff!important}.page-hero p{color:#c9c2b6!important;line-height:1.75}.page-hero .breadcrumbs{margin-bottom:14px}.page-hero .breadcrumbs a{color:#b9b2a5}.page-hero .breadcrumbs b{color:#e0bc64}.empty-state{margin-top:0}
@media(max-width:640px){.page-hero{padding:58px 0 54px!important;min-height:250px}}
/* V15 CMS-managed testimonials */
.testimonial-grid-v15{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.testimonial-card-v15{position:relative;min-height:260px;padding:28px;border:1px solid rgba(151,121,58,.22);border-radius:24px;background:#fff;box-shadow:0 18px 50px rgba(32,25,13,.06);display:flex;flex-direction:column;justify-content:space-between}.testimonial-card-v15>p{font-size:1.04rem;line-height:1.8;color:#4e493f;margin:18px 0 30px}.testimonial-card-v15>div:last-child{display:grid;gap:4px}.testimonial-card-v15 strong{font-size:.96rem}.testimonial-card-v15 span{color:#8b806e;font-size:.82rem}.testimonial-quote-v15{font-family:Georgia,serif;font-size:4.8rem;line-height:.7;color:#d2aa4b;opacity:.88}.testimonials-v15 .section-head{margin-bottom:28px}
@media(max-width:980px){.testimonial-grid-v15{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.testimonial-grid-v15{grid-template-columns:1fr}.testimonial-card-v15{min-height:220px;padding:22px}}


/* V16 hero framing + four-person team carousel */
.hero-v7-video{object-position:var(--hero-desktop-focus,50%) center!important}
.team-v7-board{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.team-v7-person{min-height:470px}
.team-v7-person-wafaa img{object-fit:cover;object-position:center;background:#ece7de}
.team-v7-carousel-dots{display:none}
@media(max-width:1050px) and (min-width:761px){.team-v7-board{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 .hero-v7-video{object-position:var(--hero-mobile-focus,50%) center!important}
 .team-v7-board{display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory;scroll-padding-inline:8vw;gap:12px!important;padding:0 8vw 9px!important;margin-inline:calc(-1 * (100vw - 100%)/2);scrollbar-width:none;overscroll-behavior-inline:contain}
 .team-v7-board::-webkit-scrollbar{display:none}.team-v7-person{flex:0 0 84vw!important;min-height:500px!important;scroll-snap-align:center;scroll-snap-stop:always}
 .team-v7-carousel-dots{display:flex;justify-content:center;gap:7px;margin-top:17px}.team-v7-carousel-dots button{width:8px;height:8px;border:0;border-radius:999px;background:#cfc6b4;padding:0;transition:.2s}.team-v7-carousel-dots button.active{width:24px;background:#b58a2f}
 .team-v7-footer{justify-content:center}.team-v7-translation{display:none}
}

/* V18 mobile scroll stability: team carousel must never capture/shift the page vertically. */
@media(max-width:760px){
  .team-v7-board{
    touch-action:pan-x pan-y;
    overflow-anchor:none;
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
  }
  .team-v7-person{overflow-anchor:none}
}

/* =========================================================
   V19 — final mobile hero + client presentation polish
   - Same centered owner framing in Arabic and English using the full original video
   - Tighter 320–430px typography and safe-area spacing
   - Visible keyboard focus and reduced-motion support
   ========================================================= */
:where(a,button,input,textarea,select,[tabindex]):focus-visible{
  outline:3px solid #e5c36e;
  outline-offset:3px;
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

@media(max-width:760px){
  .hero-v7-media{background-position:var(--hero-mobile-focus,50%) center!important}
  .hero-v7-video,
  html[dir="rtl"] .hero-v7-video,
  html[dir="ltr"] .hero-v7-video,
  .hero-v7-static-image{
    object-position:var(--hero-mobile-focus,50%) center!important;
  }
  .hero-v7-content{
    min-height:calc(100svh - 68px);
    padding:clamp(188px,24svh,238px) 20px max(150px,calc(132px + env(safe-area-inset-bottom)));
    align-items:flex-end;
  }
  .hero-v7-copy{max-width:610px}
  .hero-v7-title{font-size:clamp(2.5rem,11.4vw,3.4rem);line-height:1;margin:12px 0 16px;max-width:11ch;text-wrap:balance}
  html[dir="rtl"] .hero-v7-title{font-size:clamp(2.2rem,9.6vw,2.95rem);line-height:1.22;max-width:11.5ch;text-wrap:balance}
  .hero-v7-intro{font-size:.9rem;line-height:1.68;max-width:35rem}
  html[dir="rtl"] .hero-v7-intro{line-height:1.85}
  .hero-v7-actions{margin-top:20px}
  .hero-v7-bottom{bottom:max(26px,calc(16px + env(safe-area-inset-bottom)))}
  .hero-v7-video-toggle{top:max(18px,env(safe-area-inset-top))!important}
  .hero-v7-play-overlay{top:max(18px,env(safe-area-inset-top))}
}

@media(max-width:430px){
  .hero-v7-content{padding-inline:18px;padding-top:clamp(170px,22svh,205px);padding-bottom:max(146px,calc(128px + env(safe-area-inset-bottom)))}
  .hero-v7-kicker{font-size:.62rem}
  .hero-v7-title{font-size:clamp(2.28rem,11.1vw,2.9rem)}
  html[dir="rtl"] .hero-v7-title{font-size:clamp(2.02rem,9.3vw,2.58rem);line-height:1.24;max-width:12ch}
  .hero-v7-intro{font-size:.84rem}
  .hero-v7-actions .button{min-height:50px;padding-inline:18px}
}

@media(max-width:360px){
  .hero-v7-content{padding-inline:16px;padding-top:160px}
  .hero-v7-title{font-size:2.18rem}
  html[dir="rtl"] .hero-v7-title{font-size:1.96rem}
  .hero-v7-intro{font-size:.81rem}
  .hero-v7-bottom{inset-inline:16px;font-size:.6rem}
}

/* V19 public document resources */
.document-group-v19+.document-group-v19{margin-top:68px}
.document-group-v19 .section-head{margin-bottom:26px}
.document-group-v19 .section-head h2{font-size:clamp(2rem,3.4vw,3.4rem)}
.document-actions-v19{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.document-download-v19{border-color:#c9b98e;color:#332b1d;background:#f8f3e7}
@media(max-width:640px){.document-actions-v19{display:grid}.document-actions-v19 .button{width:100%}}

/* V19 card content: keep public copy readable instead of clipping it. */
.journal-card h3,.journal-card p,.journal-card-v3 h3,.journal-card-v3 p{
  display:block!important;
  -webkit-line-clamp:unset!important;
  -webkit-box-orient:initial!important;
  overflow:visible!important;
}
.journal-card-body{height:100%}

/* V22 exact client video. The source is hard-wired in index.php so an old DB setting cannot replace it. */
.hero-v7-video{display:block!important;object-fit:cover!important;object-position:50% center!important}
html[dir="rtl"] .hero-v7-video,html[dir="ltr"] .hero-v7-video{object-position:50% center!important}
@media(max-width:760px){
  .hero-v7-video,html[dir="rtl"] .hero-v7-video,html[dir="ltr"] .hero-v7-video{object-position:34% center!important}
}


/* =========================================================
   V23 — client notes implementation (2026-09-11)
   ========================================================= */
@font-face{font-family:"InterSite";src:local("Inter"),local("Inter Regular");font-display:swap;font-style:normal;font-weight:100 900}
body{font-family:"InterSite",Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.72;letter-spacing:.002em;text-rendering:optimizeLegibility;font-kerning:normal}
html[dir="rtl"] body{letter-spacing:0;line-height:1.82}
.site-header .topbar{display:none!important}
.team-v7-board{align-items:stretch}
.team-v7-person{aspect-ratio:4/5;min-height:0!important;height:auto}
.team-v7-person img,.team-v7-person-left img,.team-v7-person-right img,.team-v7-person-center img,.team-v7-person-wafaa img{width:100%;height:100%;object-fit:cover;object-position:center 18%;padding:0;background:#e9e2d6}
.team-v7-person-left img{object-position:center 16%}.team-v7-person-right img{object-position:center 14%}.team-v7-person-wafaa img{object-position:center}
.team-detail-media-v7{height:auto;aspect-ratio:4/5}.team-detail-media-v7 img{object-fit:cover;object-position:center 16%;padding:0}
.legal-blog-consult{padding-top:24px;background:#0b0b09;color:#fff}.legal-blog-consult-card{display:grid;grid-template-columns:auto 1fr auto;gap:28px;align-items:center;padding:34px;border:1px solid rgba(229,195,110,.25);border-radius:28px;background:linear-gradient(135deg,#15130e,#090907)}
.legal-blog-consult-card h2{font-size:clamp(2rem,3.4vw,3.6rem);margin:8px 0 12px}.legal-blog-consult-card p{color:#c9c1b3;max-width:760px;margin:0}.legal-blog-consult-icon{width:70px;height:70px;border-radius:20px;display:grid;place-items:center;background:#e5c36e;color:#17130a;font:700 2.2rem Georgia,serif}
.legal-update-linkbar{margin-bottom:34px;padding:28px;border:1px solid #dfd4bf;border-radius:24px;background:#f7f2e8;display:flex;align-items:center;justify-content:space-between;gap:28px}.legal-update-linkbar h2{font-size:clamp(2rem,3vw,3.2rem);margin:7px 0 0}.legal-update-link-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.article-social-video{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:28px;align-items:center;border:1px solid #e1d6c2;background:#f6f1e7;border-radius:26px;padding:24px;margin-bottom:30px}.article-social-video img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:18px}.article-social-video h2{font-family:Georgia,serif;font-size:clamp(1.6rem,2.5vw,2.5rem);line-height:1.14;margin:10px 0 18px}
@media(max-width:760px){.team-v7-person{flex-basis:84vw!important;aspect-ratio:4/5;min-height:0!important}.team-detail-media-v7{height:auto}.legal-blog-consult-card{grid-template-columns:1fr;padding:24px}.legal-blog-consult-card .button{width:100%}.legal-update-linkbar{display:grid;padding:22px}.legal-update-link-actions{justify-content:stretch}.legal-update-link-actions .button{width:100%}.article-social-video{grid-template-columns:1fr;padding:18px}}

/* V24 client-request refinements: consistent full-body team portraits + official Instagram event CTA */
.team-v7-person img,.team-v7-person-left img,.team-v7-person-right img,.team-v7-person-center img{object-position:center !important}
.team-detail-media-v7 img{object-position:center top!important}
.events-instagram-cta{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:34px;padding:28px;border:1px solid #dfd4bf;border-radius:24px;background:linear-gradient(135deg,#16130e,#0d0c09);color:#fff}
.events-instagram-cta h2{font-size:clamp(2rem,3vw,3.2rem);margin:7px 0 10px}.events-instagram-cta p{margin:0;color:#c9c1b3;max-width:760px;line-height:1.7}
@media(max-width:760px){.events-instagram-cta{display:grid;padding:22px}.events-instagram-cta .button{width:100%}}

/* =========================================================
   V25 - final Waafa client notes + Arabic type + Sabah persona
   ========================================================= */
@font-face{font-family:"ArabicSite";src:local("Noto Kufi Arabic"),local("Noto Sans Arabic"),local("Tahoma");font-display:swap;font-style:normal;font-weight:100 900}
html[dir="rtl"] body,html[dir="rtl"] button,html[dir="rtl"] input,html[dir="rtl"] textarea,html[dir="rtl"] select{font-family:"ArabicSite","Noto Kufi Arabic","Noto Sans Arabic",Tahoma,Arial,sans-serif;letter-spacing:0;line-height:1.86;text-rendering:optimizeLegibility}
html[dir="rtl"] .display,html[dir="rtl"] h1,html[dir="rtl"] h2,html[dir="rtl"] h3,html[dir="rtl"] h4{font-family:"ArabicSite","Noto Kufi Arabic","Noto Sans Arabic",Tahoma,Arial,sans-serif;letter-spacing:0;line-height:1.42}

/* Branded loader - short, non-blocking, and removed after window load/fallback. */
.site-loading{overflow:hidden}
.site-loader{position:fixed;inset:0;z-index:20000;display:grid;place-items:center;background:radial-gradient(circle at 50% 42%,#1d1a13 0,#0b0b09 48%,#050504 100%);opacity:1;visibility:visible;transition:opacity .42s ease,visibility .42s ease}
.site-loader.is-done{opacity:0;visibility:hidden;pointer-events:none}
.site-loader-inner{width:min(82vw,360px);display:grid;place-items:center;text-align:center;color:#e9dfc9}
.site-loader-logo{display:block;width:auto;height:clamp(138px,20vw,190px);object-fit:contain;filter:drop-shadow(0 20px 34px rgba(0,0,0,.45));animation:loaderFloat 1.8s ease-in-out infinite}
.site-loader-line{width:min(230px,70vw);height:2px;margin:18px 0 13px;overflow:hidden;border-radius:99px;background:rgba(229,195,110,.16)}
.site-loader-line span{display:block;width:42%;height:100%;border-radius:inherit;background:linear-gradient(90deg,transparent,#e1b95c,#fff0b0,#e1b95c,transparent);animation:loaderSweep 1.25s ease-in-out infinite}
.site-loader p{margin:0;font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#cbb98e}
html[dir="rtl"] .site-loader p{font-size:.82rem;letter-spacing:0;text-transform:none}
@keyframes loaderFloat{0%,100%{transform:translateY(0);opacity:.94}50%{transform:translateY(-6px);opacity:1}}
@keyframes loaderSweep{0%{transform:translateX(-110%)}100%{transform:translateX(340%)}}
@media(prefers-reduced-motion:reduce){.site-loader-logo,.site-loader-line span{animation:none}.site-loader{transition-duration:.1s}}

/* Five-member team board. Portraits share one ratio and crop. */
.team-page-v7 .team-v7-board{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.team-v7-person-sabah{background:linear-gradient(180deg,#f5eee1,#d7c5a1);border-color:#d8bd80}
.team-v7-person-sabah img{object-fit:contain!important;object-position:center center!important;background:linear-gradient(180deg,#f5eee1,#d7c5a1)!important}
.team-detail-card-v7[id="sabah-digital-legal-assistant"] .team-detail-media-v7{background:linear-gradient(180deg,#f5eee1,#d7c5a1)}
.team-detail-card-v7[id="sabah-digital-legal-assistant"] .team-detail-media-v7 img{object-fit:contain;object-position:center center!important}
@media(max-width:1200px) and (min-width:761px){.team-page-v7 .team-v7-board{grid-template-columns:repeat(3,minmax(0,1fr))}.team-page-v7 .team-v7-person:last-child{grid-column:2}}
@media(max-width:760px){.team-page-v7 .team-v7-board{display:flex!important}.team-v7-person-sabah img{object-position:center center!important}}

/* Sabah virtual assistant */















/* Avoid collision with existing WhatsApp button. */
.floating-contact{bottom:max(100px,calc(88px + env(safe-area-inset-bottom)))!important}
@media(max-width:640px){.floating-contact{bottom:max(80px,calc(70px + env(safe-area-inset-bottom)))!important}}
/* Sabah V25.3 success state */











@media(max-width:640px){}

