/* The Attorney – v3 theme: royal navy, logo gold and bright royal blue.
   Loaded after attorney.css; it re-points the shared tokens and restyles
   the shell, so inner pages inherit the new look without their own rules. */
:root{
  --navy:#0e1b2e;--muted:#56607a;--line:#e6dcc6;
  --ink:#0a1930;--royal:#0f2340;--royal-2:#1b3a63;--royal-3:#24497a;
  --gold:#c9a24d;--gold-2:#e2c27a;--gold-deep:#a5802f;--bronze:#8a6a2e;--champ:#f4ead3;
  --blue:#2f6fdb;--blue-2:#4f8cf0;--blue-ink:#1b3f8f;--blue-t:#e8effb;
  --ivory:#fbf8f2;--sand-t:#f6efe1;
  --green:var(--blue);--mint:var(--gold);--emerald:var(--blue);--emerald-ink:var(--blue-ink);
  --lavender:var(--sand-t);--cyan:var(--blue-t);--sage:#eef2f8;--peach:var(--champ);--sky:var(--blue-2);--sky-ink:var(--blue-ink);
  --display:'Cormorant Garamond',Georgia,serif;
}
body{background:var(--ivory);color:var(--navy)}
::selection{background:var(--gold);color:var(--ink)}
.text-link{color:var(--blue-ink);border-bottom-color:var(--blue)}.text-link:hover{color:var(--blue)}
.eyebrow{color:var(--gold-deep)}
a:focus-visible,button:focus-visible,summary:focus-visible{outline-color:var(--blue)}
.button-blue{background:var(--blue)!important;color:#fff!important;box-shadow:0 10px 30px -12px #2f6fdbaa!important}.button-blue:after{display:none}
.button-ghost{background:transparent!important;color:#fff!important;border:1.5px solid #ffffff66;box-shadow:none!important}.button-ghost:after{display:none}.button-ghost:hover{border-color:var(--gold)}

/* ---- Top bar ---- */
.topbar{background:var(--ink);color:#c9d3e6;font-size:12.5px}
.topbar .container{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:40px}
.topbar a{display:inline-flex;align-items:center;gap:7px;transition:color .3s}.topbar a:hover{color:var(--gold-2)}
.topbar-left,.topbar-right{display:flex;align-items:center;gap:22px}
.topbar svg{width:14px;height:14px;flex:none}
.social-row{display:flex;gap:8px}.social-row a{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;border:1px solid #ffffff22;transition:all .3s}.social-row a:hover{background:var(--gold);border-color:var(--gold);color:var(--ink)}
.social-row svg{width:13px;height:13px}
html[dir=rtl] .topbar .container{direction:ltr}

/* ---- Header (navy) ---- */
.header{background:var(--royal);border-bottom:1px solid #ffffff14;color:#fff}
.header.is-scrolled{background:#0f2340f2;box-shadow:0 14px 40px -24px #000}
.header-top{height:88px}.header.is-scrolled .header-top{height:72px}
.brand img{width:200px;height:73px}.header.is-scrolled .brand img{width:160px;height:58px}
.brand>span{color:#c9d3e6;display:none}
.header-phone,.language{color:#fff}.language{border-color:#ffffff33;color:var(--gold-2)}.language:hover{background:#ffffff10;border-color:var(--gold)}
.nav-bar{border-top-color:#ffffff14;background:var(--royal)}
#main-nav{gap:34px}.nav-item{color:#e8eef9}.nav-item a:hover,.nav-item a[aria-current=page]{color:var(--gold-2)}
.nav-item>a:after{background:var(--gold)}
.nav-dropdown summary{color:var(--gold-2)}.nav-dropdown summary:hover,.nav-dropdown[open] summary{background:#ffffff14}
.menu-toggle span{background:#fff}
/* Mega menu */
.nav-item{position:static}
.nav-submenu{left:0;right:0;width:auto;inset-inline-start:0;top:100%;background:#fff;color:var(--navy);border:0;border-top:3px solid var(--gold);border-radius:0 0 18px 18px;box-shadow:0 30px 60px -20px #0a193066;padding:32px 36px}
.nav-submenu.mega{display:grid;grid-template-columns:repeat(4,1fr) 1.1fr;gap:28px}
.mega-col h4{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-deep);margin:0 0 12px;font-weight:700}
html[dir=rtl] .mega-col h4{letter-spacing:0}
.mega-col a{display:block;padding:7px 0;font-size:14px;font-weight:600;color:var(--navy);border:0!important;transition:color .25s,padding .25s}
.mega-col a:hover{color:var(--blue);padding-inline-start:6px}
.mega-promo{background:var(--royal);color:#fff;border-radius:14px;padding:22px;display:flex;flex-direction:column;gap:10px}
.mega-promo strong{font-family:var(--display);font-size:22px;line-height:1.2}.mega-promo p{font-size:13px;color:#c9d3e6;margin:0}
.mega-promo .button{margin-top:auto;align-self:flex-start;font-size:13px;min-height:44px;padding:12px 18px}
.container.nav-wrap{position:relative}

/* ---- Hero (dark, with form) ---- */
.hero-v3{position:relative;background:var(--ink);color:#fff;overflow:hidden}
.hero-v3 .hero-media{position:absolute;inset:0}
.hero-v3 .hero-media img,.hero-v3 .hero-media video{width:100%;height:100%;object-fit:cover;opacity:.55}
.hero-v3 .hero-media:after{content:'';position:absolute;inset:0;background:linear-gradient(100deg,#0a1930f2 0%,#0a1930cc 45%,#0f234066 100%)}
html[dir=rtl] .hero-v3 .hero-media:after{background:linear-gradient(260deg,#0a1930f2 0%,#0a1930cc 45%,#0f234066 100%)}
.hero-v3 .container{position:relative;z-index:2;display:grid;grid-template-columns:1.15fr .85fr;gap:60px;align-items:center;padding-block:90px 80px;min-height:640px}
.hero-v3 .eyebrow{color:var(--gold-2);display:flex;align-items:center;gap:14px}.hero-v3 .eyebrow:before{content:'';width:34px;height:1.5px;background:var(--gold)}
.hero-v3 h1{font-family:var(--display);font-weight:600;font-size:clamp(44px,5.4vw,78px);line-height:1.04;letter-spacing:-.01em;margin:0 0 22px;color:#fff}
.hero-v3 h1 .gold{color:var(--gold-2)}
html[dir=rtl] .hero-v3 h1{font-family:'Noto Sans Arabic',sans-serif;font-size:clamp(36px,4.2vw,58px);line-height:1.4}
.hero-v3 .hero-intro{color:#d3dbea;font-size:17px;max-width:560px;line-height:1.85}
.hero-v3 .actions{margin-top:30px;gap:14px}
.hero-points{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:30px;padding:0;list-style:none}
.hero-points li{display:flex;align-items:center;gap:9px;font-size:14px;color:#e8eef9}
.hero-points i{width:20px;height:20px;border-radius:50%;background:var(--gold);color:var(--ink);display:grid;place-items:center;font-style:normal;font-size:11px;font-weight:700}
.hero-form{background:#fff;color:var(--navy);border-radius:22px;padding:28px 28px 24px;box-shadow:0 40px 80px -30px #000c;border-top:4px solid var(--gold)}
.hero-form h2{font-family:var(--display);font-size:28px;margin:0 0 4px;color:var(--royal)}html[dir=rtl] .hero-form h2{font-family:'Noto Sans Arabic',sans-serif;font-size:21px}
.hero-form>p{font-size:13px;color:var(--muted);margin:0 0 16px}
.hero-form .enquiry-form label{margin-bottom:12px;font-size:11.5px}
.hero-form .enquiry-form input:not([type=checkbox]),.hero-form .enquiry-form select,.hero-form .enquiry-form textarea{padding:10px 12px;margin-top:5px;font-size:14px}
.hero-form .form-grid{gap:0 12px}.hero-form .consent{font-size:11.5px}
.hero-form .button{width:100%;justify-content:center}

/* ---- Trust strip ---- */
.trust{background:var(--royal);color:#fff;border-top:1px solid #ffffff14}
.trust .container{display:grid;grid-template-columns:repeat(4,1fr)}
.trust-item{padding:28px 24px;display:flex;align-items:center;gap:16px;border-inline-start:1px solid #ffffff14}.trust-item:first-child{border-inline-start:0}
.trust-item b{font-family:var(--display);font-size:40px;line-height:1;color:var(--gold-2);font-weight:700}
.trust-item span{font-size:13px;color:#c9d3e6;line-height:1.5}

/* ---- Sections ---- */
.band-navy{background:var(--royal);color:#fff}
.band-navy h2,.band-navy h3{color:#fff}.band-navy .section-heading>p:not(.eyebrow),.band-navy .horizontal>p{color:#c9d3e6}.band-navy .eyebrow{color:var(--gold-2)}
.band-navy .text-link{color:var(--gold-2);border-bottom-color:var(--gold)}
.band-ivory{background:var(--ivory)}.band-white{background:#fff}
.services-section{background:var(--royal)!important;color:#fff}
.services-section h2{color:#fff}.services-section .eyebrow{color:var(--gold-2)}.services-section .horizontal>p{color:#c9d3e6}
.services-section .service-card{background:#ffffff0a;border-color:#ffffff1f;color:#fff}
.services-section .service-card p{color:#c9d3e6}.services-section .service-card:hover{background:#ffffff14;border-color:var(--gold)}
.services-section .service-link{border-top-color:#ffffff1f;color:var(--gold-2)}.services-section .row-number{color:#8fa0bf}
.service-icon{color:var(--gold)}
.benefit-card.tone-0{background:#fff;border:1px solid var(--line)}.benefit-card.tone-1{background:var(--royal);color:#fff}.benefit-card.tone-2{background:var(--blue-t)}.benefit-card.tone-3{background:var(--champ)}
.benefit-card.tone-1 p{color:#c9d3e6}.benefit-card.tone-1 h3{color:#fff}
.story-step{background:#fff}
.page-hero{background:linear-gradient(115deg,var(--ink),var(--royal) 60%,var(--royal-2));color:#fff}
.page-hero h1{color:#fff}.page-hero .lead{color:#d3dbea}.page-hero .eyebrow,.page-hero a.eyebrow{color:var(--gold-2)}
.page-hero:after{border-color:var(--gold)!important;opacity:.25}
.service-intro{background:var(--royal);color:#fff}.service-intro p{color:#d3dbea}.service-intro .eyebrow{color:var(--gold-2)}
.contact-grid aside{background:var(--royal);color:#fff}.contact-grid aside p,.contact-grid aside a{color:#e8eef9}
.role-card{background:#fff;border:1px solid var(--line)}.role-card:nth-child(3n+2){background:var(--blue-t)}.role-card:nth-child(3n){background:var(--champ)}
.step-card{background:#fff;border:1px solid var(--line)}.step-card:nth-child(4n+2){background:var(--blue-t)}.step-card:nth-child(4n+3){background:var(--champ)}.step-card:nth-child(4n+4){background:var(--sand-t)}
.cta-section{background:linear-gradient(120deg,var(--ink),var(--royal) 55%,var(--royal-2));color:#fff}
.cta-section h2,.cta-copy h2{color:#fff}.cta-copy>p:not(.eyebrow){color:#d3dbea}.cta-section .eyebrow{color:var(--gold-2)}
.cta-side>a{color:var(--gold-2)}.cta-side>span{color:#c9d3e6}.cta-arrow{color:#ffffff12}
.cta-section .button-green{background:var(--blue);color:#fff}
.person-langs span{background:var(--blue-t);color:var(--blue-ink)}
.place-links a{color:var(--blue-ink)}
.marquee{background:var(--ink);border-color:#ffffff14}.marquee-track span{color:#e8eef9}
.film-veil{background:linear-gradient(90deg,#0a1930f2 0%,#0a1930b3 40%,#0a193000 75%)}.film-veil h2{color:#fff}.film-veil p:not(.eyebrow){color:#d3dbea}
html[dir=rtl] .film-veil{background:linear-gradient(270deg,#0a1930f2 0%,#0a1930b3 40%,#0a193000 75%)}
.faq-list summary span{border-color:var(--gold)}
.timeline:before{background:linear-gradient(90deg,var(--gold),var(--blue))}
.wa-float{background:var(--blue)}.wa-float:before{background:var(--blue)}
.hero-chips i,.location-dot{background:var(--blue)}
.section-heading.on-dark h2{color:#fff}

/* ---- Footer (navy) ---- */
.footer{background:var(--ink)!important;color:#c9d3e6;padding-top:70px}
.footer-main{grid-template-columns:1.4fr .9fr .9fr 1.1fr;gap:56px;border-color:#ffffff14}
.footer-brand img{width:230px}.footer-brand>p{color:#aab6cc}
.footer-main>div>h2{color:#fff;font-family:var(--display);font-size:20px}
.footer-main>div>a:not(.text-link){color:#c9d3e6}.footer-main>div>a:hover{color:var(--gold-2)}
.footer .text-link{color:var(--gold-2);border-bottom-color:var(--gold)}
.footer-bottom{border-color:#ffffff14;color:#8fa0bf}.footer-bottom a:hover{color:var(--gold-2)}.back-top{color:var(--gold-2)}
.footer .social-row{margin-top:18px}

@media(max-width:1150px){.nav-submenu.mega{grid-template-columns:repeat(2,1fr)}#main-nav{gap:22px}.hero-v3 .container{grid-template-columns:1fr 1fr;gap:36px}}
@media(max-width:900px){.hero-v3 .container{grid-template-columns:1fr;min-height:0;padding-block:60px}.trust .container{grid-template-columns:1fr 1fr}.trust-item:nth-child(3){border-inline-start:0}.footer-main{grid-template-columns:1fr 1fr}.topbar-left a:not(:first-child){display:none}}
@media(max-width:700px){.topbar .social-row{display:none}.nav-bar{background:var(--royal)}#main-nav{background:var(--royal)}.nav-item{border-bottom-color:#ffffff1f}.nav-submenu,.nav-submenu.mega{display:block;background:#ffffff0d;color:#fff;border:0;box-shadow:none;padding:10px 14px}.mega-col h4{color:var(--gold-2);margin-top:10px}.mega-col a{color:#e8eef9}.mega-promo{display:none}.brand img{width:150px;height:55px}.hero-form{padding:22px 18px}.trust-item{padding:20px 14px}.trust-item b{font-size:30px}.footer-main{grid-template-columns:1fr}}

/* ---- Worldwide map ---- */
.world{display:flex;flex-direction:column;gap:18px}
.world-filters{display:flex;flex-wrap:wrap;gap:8px}
.world-filters button{background:#ffffff0f;color:#e8eef9;border:1px solid #ffffff26;border-radius:999px;padding:8px 16px;font-size:13px;font-weight:600;transition:all .3s}
.world-filters button:hover{border-color:var(--gold)}.world-filters button.is-on{background:var(--gold);border-color:var(--gold);color:var(--ink)}
.world-stage{display:grid;grid-template-columns:1fr 300px;gap:24px;align-items:stretch}
.world-svg{width:100%;height:auto;display:block;background:radial-gradient(ellipse at 60% 40%,#1b3a63 0%,#0f2340 70%);border-radius:24px;border:1px solid #ffffff1a}
.world-land{fill:#24497a;stroke:#3a6296;stroke-width:.6}
.world-arcs path{fill:none;stroke:var(--gold);stroke-width:1;stroke-dasharray:4 5;opacity:.45;transition:opacity .4s}
.wp{cursor:pointer;outline:none;transition:opacity .4s}
.wp-dot{fill:var(--gold-2);stroke:#0a1930;stroke-width:1.5;transition:r .3s}
.wp-home .wp-dot{fill:#fff;stroke:var(--gold);stroke-width:2.5}
.wp-pulse{transform-box:fill-box;transform-origin:center;animation:wpPulse 2.6s ease-out infinite}
.wp:nth-child(3n) .wp-pulse{animation-delay:.8s}.wp:nth-child(3n+1) .wp-pulse{animation-delay:1.6s}
@keyframes wpPulse{0%{transform:scale(.3);opacity:1}100%{transform:scale(1.6);opacity:0}}
.wp:hover .wp-dot,.wp:focus .wp-dot,.wp.is-active .wp-dot{fill:var(--blue-2)}
.wp.is-active .wp-dot{stroke:#fff}
.world.is-filtered .wp.is-dim,.world.is-filtered .world-arcs path.is-dim{opacity:.12}
.world-panel{background:#ffffff0d;border:1px solid #ffffff1f;border-radius:20px;padding:24px;display:flex;flex-direction:column;gap:8px}
.world-panel h3{font-family:var(--display);font-size:30px;color:#fff;margin:0}
html[dir=rtl] .world-panel h3{font-family:'Noto Sans Arabic',sans-serif;font-size:22px}
.world-panel p{color:#c9d3e6;font-size:14.5px;line-height:1.8;margin:0}
.world-panel .world-hint{margin-top:auto;font-size:12.5px;color:#8fa0bf;border-top:1px solid #ffffff1a;padding-top:12px}
.steps-list.four{grid-template-columns:repeat(4,1fr)}
@media(max-width:900px){.world-stage{grid-template-columns:1fr}.steps-list.four{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.steps-list.four{grid-template-columns:1fr}}
.hero-v3 h1 .w{display:inline-block;opacity:0;transform:translateY(40px) rotate(3deg);filter:blur(6px);transition:opacity 1s var(--ease),transform 1s var(--ease),filter 1s var(--ease)}.hero-v3 h1.go .w{opacity:1;transform:none;filter:none}
.hero-v3 h1.is-split .text-green{color:var(--gold-2)}.hero-v3 h1 .gold .w{color:var(--gold-2)}
.benefit-grid.four{grid-template-columns:repeat(4,1fr)}.benefit-grid.four .benefit-card{margin-top:0!important;min-height:300px}
.benefits-section .section-heading{max-width:none}
@media(max-width:1150px){.benefit-grid.four{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.benefit-grid.four{grid-template-columns:1fr}.benefit-grid.four .benefit-card{margin-inline:0!important}}
@media(prefers-reduced-motion:reduce){.hero-v3 h1 .w{opacity:1!important;transform:none!important;filter:none!important}}

/* ---- About: scroll storytelling ---- */
.journey{background:var(--royal);color:#fff;padding-block:110px}
.journey .section-heading h2{color:#fff}.journey .eyebrow{color:var(--gold-2)}
.journey-hint{color:#8fa0bf!important;font-size:13px!important;letter-spacing:.08em}
.journey-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}
.journey-sticky{position:sticky;top:150px}
.journey-frame{position:relative;aspect-ratio:4/4.3;border-radius:200px 200px 24px 24px;overflow:hidden;border:1.5px solid var(--gold);background:var(--ink)}
.journey-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.08);transition:opacity 1s var(--ease),transform 1.6s var(--ease)}
.journey-frame img.is-on{opacity:.55;transform:scale(1)}
.journey-frame:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,#0a1930e6)}
.journey-year{position:absolute;left:28px;right:28px;bottom:22px;z-index:2;font-family:var(--display);font-weight:700;font-size:clamp(54px,6vw,92px);line-height:1;color:var(--gold-2);transition:opacity .4s}
.journey-year.swap{opacity:0}
.journey-progress{height:2px;background:#ffffff1f;margin-top:22px;border-radius:2px;overflow:hidden}.journey-progress i{display:block;height:100%;width:20%;background:linear-gradient(90deg,var(--gold),var(--blue-2));transition:width .5s var(--ease)}
.journey-dots{display:flex;justify-content:space-between;list-style:none;padding:0;margin:12px 0 0;font-size:11.5px;color:#8fa0bf}
.journey-dots li{transition:color .3s}.journey-dots li.is-on{color:var(--gold-2);font-weight:700}
.journey-chapter{min-height:72vh;display:flex;flex-direction:column;justify-content:center;opacity:.25;transition:opacity .6s var(--ease),transform .6s var(--ease);transform:translateY(20px)}
.journey-chapter.is-on{opacity:1;transform:none}
.journey-num{font-family:var(--display);font-size:16px;color:var(--gold-2);letter-spacing:.2em}
.journey-chapter-year{font-family:var(--display);font-size:34px;color:#fff;margin:6px 0 4px;font-weight:600}
.journey-chapter h3{font-family:var(--display);font-size:clamp(30px,3vw,44px);color:#fff;line-height:1.1;margin:0 0 16px}
html[dir=rtl] .journey-chapter h3{font-family:'Noto Sans Arabic',sans-serif;font-size:28px;line-height:1.4}
.journey-chapter p{color:#c9d3e6;font-size:17px;line-height:1.9;max-width:520px}
@media(max-width:900px){.journey-grid{grid-template-columns:1fr;gap:20px}.journey-visual{position:sticky;top:70px;z-index:2}.journey-sticky{position:static}.journey-frame{aspect-ratio:16/8;border-radius:20px}.journey-year{font-size:44px;bottom:12px}.journey-chapter{min-height:60vh}}
.nav-submenu:not(.mega){display:grid;grid-template-columns:repeat(4,1fr);gap:2px 28px}
.nav-submenu:not(.mega)>a{border:0;border-bottom:1px solid #eee5d3;padding:11px 0;font-weight:600;color:var(--navy)}
.nav-submenu:not(.mega)>a:hover{color:var(--blue)}.nav-submenu:not(.mega)>a span{color:var(--gold)}
@media(max-width:700px){.nav-submenu:not(.mega){display:block}.nav-submenu:not(.mega)>a{color:#e8eef9;border-bottom-color:#ffffff1a}}
.journey-grid{align-items:stretch}.journey-visual{align-self:stretch}
/* Journey fix: the frame must fit the screen so it stays fully visible while sticky. */
.journey-sticky{top:150px;height:calc(100vh - 170px);display:flex;flex-direction:column;justify-content:center}
.journey-frame{aspect-ratio:auto;height:min(520px,calc(100vh - 290px));width:100%}
.journey-frame img.is-on{opacity:.9}
.journey-frame:after{background:linear-gradient(180deg,transparent 45%,#0a1930d9)}
.journey-chapter{min-height:calc(100vh - 170px)}
@media(max-width:900px){.journey-sticky{height:auto;top:auto}.journey-frame{height:220px}.journey-chapter{min-height:55vh}}

/* ---- Arabic type: El Messiri for headings, Tajawal for text ---- */
html[dir=rtl] body,html[dir=rtl] button,html[dir=rtl] input,html[dir=rtl] select,html[dir=rtl] textarea{font-family:'Tajawal','Noto Sans Arabic',sans-serif}
html[dir=rtl] body{font-size:16.5px;line-height:1.85}
html[dir=rtl] h1,html[dir=rtl] h2,html[dir=rtl] h3,html[dir=rtl] .hero-v3 h1,html[dir=rtl] .hero-form h2,html[dir=rtl] .journey-chapter h3,html[dir=rtl] .world-panel h3,html[dir=rtl] .person-body h3,html[dir=rtl] .timeline-item h3,html[dir=rtl] .faq-list summary,html[dir=rtl] .marquee-track span,html[dir=rtl] .mega-promo strong,html[dir=rtl] .footer-main>div>h2,html[dir=rtl] .trust-item b{font-family:'El Messiri','Tajawal',sans-serif;letter-spacing:0}
html[dir=rtl] h1,html[dir=rtl] h2{font-weight:700}html[dir=rtl] h3{font-weight:600}
html[dir=rtl] .hero-v3 h1{font-size:clamp(38px,4.4vw,62px);line-height:1.3}
html[dir=rtl] .eyebrow{font-family:'Tajawal',sans-serif;font-weight:700}

/* ---- Hero: compact so headline and form fit one screen ---- */
.header-top{height:78px}.brand img{width:180px;height:66px}
.hero-v3 .container{min-height:0;padding-block:48px 52px;gap:48px;grid-template-columns:1.1fr .9fr}
.hero-v3 h1{font-size:clamp(36px,3.7vw,56px);line-height:1.08;margin-bottom:16px}
.hero-v3 .hero-intro{font-size:15.5px;line-height:1.75;margin-bottom:0}
.hero-v3 .actions{margin-top:22px}
.hero-points{margin-top:22px;gap:8px 18px}.hero-points li{font-size:13px}
.hero-form{padding:22px 24px 18px}
.hero-form h2{font-size:24px}.hero-form>p{margin-bottom:12px;font-size:12.5px}
.hero-form .enquiry-form label{margin-bottom:9px;font-size:11px}
.hero-form .enquiry-form input:not([type=checkbox]),.hero-form .enquiry-form select,.hero-form .enquiry-form textarea{padding:8px 11px;margin-top:4px;font-size:13.5px}
.hero-form .enquiry-form textarea{min-height:58px}
.hero-form .button{min-height:46px;padding-block:11px}
.hero-form .form-status:empty{display:none}
@media(max-height:760px) and (min-width:901px){.hero-points{display:none}.hero-v3 .container{padding-block:36px 40px}}
html[dir=rtl] .hero-v3 h1{font-size:clamp(34px,3.6vw,52px)}
@media(max-height:760px) and (min-width:901px){.hero-v3 .container{padding-block:26px 30px}.hero-form>p{display:none}.hero-form h2{margin-bottom:10px;font-size:22px}.hero-form{padding:18px 22px 14px}.hero-form .enquiry-form textarea{min-height:46px}.nav-bar #main-nav{min-height:52px}.nav-item{min-height:52px}}
/* WhatsApp buttons in the brand green. */
.wa-float,.wa-float:before{background:#25d366}.wa-float{box-shadow:0 14px 30px -10px #25d366cc}
.cta-section .button-green,.button-green{background:#25d366!important;color:#fff!important;box-shadow:0 10px 30px -12px #25d366aa!important}

/* ---- Article page (Khalifa layout) ---- */
.article-hero-v3{position:relative;overflow:hidden;background:var(--ink);color:#fff;padding-block:40px 70px}
.article-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.35}
.article-hero-v3:after{content:'';position:absolute;inset:0;background:linear-gradient(100deg,#0a1930f5 0%,#0a1930d9 55%,#0f234099 100%)}
html[dir=rtl] .article-hero-v3:after{background:linear-gradient(260deg,#0a1930f5 0%,#0a1930d9 55%,#0f234099 100%)}
.article-hero-v3 .container{position:relative;z-index:2;max-width:980px;margin-inline:auto}
.crumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:12.5px;color:#aab6cc;margin-bottom:34px}.crumbs a:hover{color:var(--gold-2)}.crumbs span{opacity:.5}
.article-hero-v3 .eyebrow{color:var(--gold-2)}
.article-hero-v3 h1{font-family:var(--display);font-weight:600;font-size:clamp(34px,4vw,56px);line-height:1.1;color:#fff;margin:6px 0 20px;max-width:900px}
html[dir=rtl] .article-hero-v3 h1{font-family:'El Messiri','Tajawal',sans-serif;line-height:1.35}
.article-hero-v3 .lead{color:#d3dbea;font-size:18px;line-height:1.8;max-width:760px}
.article-section{padding-block:60px 90px}
.article-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:64px;align-items:start}
.article-meta-v3{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:13px;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:18px;margin:0 0 30px}
.article-meta-v3 strong{color:var(--navy)}
.article-body{font-size:17px;line-height:1.9}
.article-body>p:first-child{font-size:18.5px;color:var(--navy)}
.article-body h2{font-size:30px;margin-top:44px;scroll-margin-top:170px}
.article-body h3{font-size:20px;margin-top:22px;color:var(--royal)}
.article-body ul li::marker{color:var(--gold)}
.article-body a{color:var(--blue-ink)}
.author-box{margin-top:44px;display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid var(--line);border-radius:18px;padding:24px 26px;background:var(--ivory)}
.author-box strong{display:block;font-size:17px;color:var(--navy);margin:2px 0 4px}.author-box p:not(.eyebrow){font-size:14px;color:var(--muted);margin:0}.author-box .eyebrow{margin:0;font-size:11px}
.author-box .button{flex:none}
.article-disclaimer{font-size:12.5px;color:var(--muted);margin-top:18px}
.article-aside{position:sticky;top:160px;display:flex;flex-direction:column;gap:18px}
.aside-card{border:1px solid var(--line);border-radius:18px;padding:22px 22px 18px;background:#fff}
.aside-card h2{font-family:var(--sans,inherit);font-size:12px!important;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-deep);margin:0 0 12px;font-weight:700}
html[dir=rtl] .aside-card h2{letter-spacing:0;font-family:'Tajawal',sans-serif!important;font-size:14px!important}
.toc{list-style:none;margin:0;padding:0;counter-reset:toc}
.toc li a{display:block;padding:7px 0 7px 14px;border-inline-start:2px solid var(--line);font-size:14px;color:var(--muted);transition:all .25s}
html[dir=rtl] .toc li a{padding:7px 14px 7px 0}
.toc li a:hover,.toc li a.is-on{color:var(--navy);border-color:var(--gold);font-weight:600}
.share-row{display:flex;flex-wrap:wrap;gap:8px}
.share-btn{border:1px solid var(--line);border-radius:999px;padding:7px 14px;font-size:13px;font-weight:600;color:var(--navy);background:#fff;transition:all .25s}.share-btn:hover{border-color:var(--gold);color:var(--gold-deep)}
.aside-links{list-style:none;margin:0;padding:0}.aside-links li a{display:block;padding:9px 0;border-bottom:1px solid #f0e8d8;font-size:14.5px;font-weight:600;color:var(--navy)}.aside-links li:last-child a{border:0}.aside-links li a:hover{color:var(--blue)}
/* Insights list */
.insights-bar{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:40px}
.chip-row{display:flex;flex-wrap:wrap;gap:8px}
.chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 16px;font-size:13px;font-weight:600;color:var(--navy);transition:all .25s}.chip:hover{border-color:var(--gold)}.chip.is-on{background:var(--royal);border-color:var(--royal);color:#fff}
.insights-bar .search{margin:0;min-width:280px}
.article-card.is-hidden{display:none}
.article-category{color:var(--gold-deep)}
@media(max-width:980px){.article-layout{grid-template-columns:1fr;gap:40px}.article-aside{position:static}.author-box{flex-direction:column;align-items:flex-start}}

/* ---- Contact page ---- */
.contact-cards-wrap{margin-top:-46px;position:relative;z-index:3}
.contact-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.contact-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px 22px 20px;display:flex;flex-direction:column;gap:6px;box-shadow:0 20px 40px -30px #0a193066;transition:transform .4s var(--ease),border-color .3s}
a.contact-card:hover{transform:translateY(-4px);border-color:var(--gold)}
.cc-ico{width:44px;height:44px;border-radius:12px;background:var(--royal);color:var(--gold-2);display:grid;place-items:center;margin-bottom:8px}
.cc-wa .cc-ico{background:#25d366;color:#fff}
.cc-label{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--gold-deep)}html[dir=rtl] .cc-label{letter-spacing:0}
.contact-card strong{font-size:15.5px;color:var(--navy);line-height:1.5;overflow-wrap:anywhere}
.contact-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:40px;align-items:start}
.contact-form-card{background:#fff;border:1px solid var(--line);border-top:4px solid var(--gold);border-radius:22px;padding:34px 36px}
.contact-form-card h2{margin:4px 0 6px}.contact-form-note{font-size:13px;color:var(--muted);margin-bottom:24px}
.contact-side{position:sticky;top:170px;display:flex;flex-direction:column;gap:18px}
.next-steps ol{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.next-steps li{display:flex;gap:12px;align-items:flex-start;font-size:14.5px;color:var(--navy);line-height:1.6}
.next-steps li b{flex:none;width:28px;height:28px;border-radius:50%;background:var(--royal);color:var(--gold-2);display:grid;place-items:center;font-size:13px}
.hours{font-size:15px;color:var(--navy);margin:0 0 16px}
.contact-side .button{width:100%;justify-content:center}
.contact-map{height:380px;border-top:1px solid var(--line)}.contact-map iframe{width:100%;height:100%;border:0;filter:grayscale(.3) contrast(1.05)}
@media(max-width:1000px){.contact-cards{grid-template-columns:1fr 1fr}.contact-layout{grid-template-columns:1fr}.contact-side{position:static}}
@media(max-width:560px){.contact-cards{grid-template-columns:1fr}.contact-form-card{padding:24px 18px}}
html[dir=rtl] .contact-card strong[dir=ltr]{text-align:right}

/* ---- Home: what makes us different ---- */
.diff-section{background:var(--ivory)}
.diff-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.6fr);gap:64px;align-items:start}
.diff-intro{position:sticky;top:170px}
.diff-intro h2{margin:6px 0 18px}
.diff-intro p:not(.eyebrow){color:var(--muted);font-size:16.5px;line-height:1.8;margin-bottom:28px}
.diff-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.diff-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:22px;padding:30px 28px 32px;overflow:hidden;transition:transform .5s var(--ease),box-shadow .5s var(--ease),border-color .4s}
.diff-card:before{content:'';position:absolute;top:0;inset-inline:0;height:3px;background:linear-gradient(90deg,var(--gold),var(--gold-2));transform:scaleX(0);transform-origin:left;transition:transform .6s var(--ease)}
html[dir=rtl] .diff-card:before{transform-origin:right}
.diff-card:hover{transform:translateY(-6px);border-color:#e9d9b4;box-shadow:0 30px 60px -36px #0a193066}
.diff-card:hover:before{transform:scaleX(1)}
.diff-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}
.diff-ico{width:54px;height:54px;border-radius:16px;background:var(--royal);color:var(--gold-2);display:grid;place-items:center;transition:transform .5s var(--ease)}
.diff-card:hover .diff-ico{transform:rotate(-6deg) scale(1.05)}
.diff-num{font-family:var(--display);font-size:20px;font-weight:700;color:var(--gold-deep);letter-spacing:.08em}
.diff-card h3{font-family:var(--display);font-size:26px;font-weight:600;line-height:1.2;margin:0 0 12px;color:var(--navy)}
html[dir=rtl] .diff-card h3{font-family:'El Messiri','Tajawal',sans-serif;font-size:22px}
.diff-card p{font-size:15px;line-height:1.8;color:var(--muted);margin:0}
@media(max-width:1000px){.diff-grid{grid-template-columns:1fr;gap:36px}.diff-intro{position:static}}
@media(max-width:620px){.diff-cards{grid-template-columns:1fr}}

/* ---- Service cards with photos ---- */
.service-card.has-img{padding-top:0;overflow:hidden}
.service-img{display:block;margin:0 -30px 22px;aspect-ratio:16/9;overflow:hidden;background:var(--royal)}
.service-img img{width:100%;height:100%;object-fit:cover;transition:transform 1.1s var(--ease)}
.service-card:hover .service-img img{transform:scale(1.06)}
.service-card.has-img .service-card-top{margin-bottom:16px}
@media(max-width:1150px){.service-img{margin-inline:-25px}}
@media(max-width:700px){.service-img{margin-inline:-26px}}

/* ---- White background across the site ---- */
:root{--ivory:#ffffff}
body,.band-ivory,.diff-section,.hero-stage,.history-section,.team-section,.process,.services-section.band-white,.insights-section,.article-section,.section.band-white{background:#fff}
.author-box{background:#fbf8f2}
/* WhatsApp contact card icon matches the other cards. */
.cc-wa .cc-ico{background:var(--royal);color:var(--gold-2)}

/* ---- Overall scale: everything 10% smaller on desktop screens ---- */
@media(min-width:1100px){
  html{zoom:.9}
  /* Viewport units are scaled by zoom too, so stretch them back to the real screen. */
  .journey-sticky{height:calc(111.11vh - 170px)}
  .journey-frame{height:min(520px,calc(111.11vh - 290px))}
  .journey-chapter{min-height:calc(111.11vh - 170px)}
}

.person-photo img{object-position:50% 20%}
/* Team grid: 4 people fit in one row on desktop, 2 per row on tablets. */
@media(min-width:640px){.people-grid:not(.is-empty){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1100px){.people-grid:not(.is-empty){grid-template-columns:repeat(4,minmax(0,1fr))}}

/* World map zoom: lines keep their thickness when the map zooms in. */
.world-land,.world-arcs path{vector-effect:non-scaling-stroke}
.world-stage .world-svg{overflow:hidden}
/* Film: the box keeps its own size. The video (wide or tall version, picked in attorney.js) fills it with object-fit:cover; the films keep all text in a safe middle area. */
.film.is-playing{background:#0a1930;cursor:default}
.film.is-playing video{object-fit:cover;background:#0a1930}
.film.is-playing img{opacity:0}

/* AI chat: hide the WhatsApp button while the chat window is open, so it never covers the send button. */
body:has(#chat-panel:not([hidden])) .wa-float{visibility:hidden!important;opacity:0!important;pointer-events:none!important}

/* Phones and small tablets: the hero stacks (the compact desktop rule above must not apply here). */
@media(max-width:900px){.hero-v3 .container{grid-template-columns:1fr;gap:32px;padding-block:44px 48px}}

/* Footer legal note (edited in Dashboard > Pages > Footer): its own line under the copyright row. */
.footer-bottom{flex-wrap:wrap}
.footer-legal{order:9;flex-basis:100%;font-size:12px;line-height:1.6;color:#7f90ad;padding-top:4px}

/* ===== Phone menu (under 700px) =====
   One clean set of rules: it must win over the desktop mega-menu rules above. */
.nav-mobile-extra{display:none}
@media(max-width:700px){
  /* Burger turns into an X while the menu is open */
  .menu-toggle{position:relative;width:44px;height:44px;padding:0;border-radius:50%;display:grid;place-items:center}
  .menu-toggle span{position:absolute;left:10px;width:24px;margin:0;transition:transform .3s ease,top .3s ease}
  .menu-toggle span:first-child{top:16px}.menu-toggle span:last-child{top:26px}
  .menu-toggle[aria-expanded=true] span:first-child{top:21px;transform:rotate(45deg)}
  .menu-toggle[aria-expanded=true] span:last-child{top:21px;transform:rotate(-45deg)}

  /* The open menu fills the screen under the header and scrolls on its own */
  /* Absolute under the header (the header's blur makes "fixed" act like absolute anyway) */
  #main-nav.open{position:absolute;top:100%;left:0;right:0;height:calc(100dvh - var(--header-h,130px));z-index:90;display:flex;flex-direction:column;gap:0;width:auto;max-height:none;
    margin:0;padding:8px 20px calc(24px + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;background:var(--ink);
    animation:navIn .25s ease-out both}
  @keyframes navIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
  body:has(#main-nav.open){overflow:hidden}
  body:has(#main-nav.open) .wa-float,body:has(#main-nav.open) #chat-launch{display:none!important}

  /* flex-shrink:0: the panel has a fixed height, and items must never be squeezed (an open list would spill over the next items) */
  #main-nav .nav-item,#main-nav .nav-mobile-extra{flex-shrink:0}
  #main-nav .nav-item{position:relative;display:flex;flex-wrap:wrap;align-items:center;min-height:54px;border-bottom:1px solid #ffffff1a}
  #main-nav .nav-item>a{flex:1;padding-block:15px;font-size:16px;color:#fff}
  #main-nav .nav-dropdown{position:static;width:auto;margin:0;padding:0}
  #main-nav .nav-dropdown summary{position:static;padding:15px 6px;color:var(--gold-2)}
  #main-nav .nav-dropdown[open]{width:auto;margin:0;padding:0}
  #main-nav .nav-dropdown[open] summary{position:static}
  #main-nav .nav-dropdown[open] .chev{transform:rotate(180deg)}

  /* Sub-lists open below their item, in the normal flow (never on top of other items) */
  #main-nav .nav-submenu,#main-nav .nav-submenu.mega{position:static;display:block;inset:auto;transform:none;opacity:1;visibility:visible;
    width:100%;min-width:0;margin:0 0 12px;padding:6px 14px 10px;background:#ffffff0d;border:0;border-radius:14px;box-shadow:none;grid-template-columns:none}
  #main-nav .nav-dropdown[open]{order:2;flex-basis:100%}
  #main-nav .nav-dropdown:not([open]){order:1}
  #main-nav .nav-dropdown[open]>summary{position:absolute;top:0;inset-inline-end:0}
  #main-nav .mega-col{display:block;padding:6px 0;border:0}
  #main-nav .mega-col+.mega-col{border-top:1px solid #ffffff14}
  #main-nav .mega-col h4{margin:8px 0 4px;font-size:11px;letter-spacing:.12em;color:var(--gold-2)}
  html[dir=rtl] #main-nav .mega-col h4{letter-spacing:0}
  #main-nav .nav-submenu a{display:block;padding:9px 0;font-size:14.5px;color:#dbe3f1;border:0}
  #main-nav .nav-submenu a span{display:none}
  #main-nav .mega-promo{display:none}

  /* Arabic: the header stays left-to-right, but the open menu panel reads right-to-left */
  html[dir=rtl] #main-nav.open{direction:rtl;text-align:right}
  /* Contact block at the bottom of the menu */
  #main-nav.open .nav-mobile-extra{display:flex;flex-direction:column;gap:14px;margin-top:22px}
  .nav-mobile-extra .button{justify-content:center;width:100%}
  .nav-mobile-contact{display:flex;gap:10px}
  .nav-mobile-contact a{flex:1;text-align:center;padding:12px 10px;border-radius:999px;border:1px solid #ffffff2e;color:#fff;font-weight:600;font-size:14px}
}

/* Home team photo: follow the photo's own shape (16:9) so nobody on the edges is cut off */
.team-photo>img{height:auto;aspect-ratio:16/9;object-position:center 35%}

/* ===== About > Our story on phones and tablets (scroll story) =====
   The image strip sticks exactly under the header (--sticky-top is measured
   by attorney.js), has a solid background and a soft fade at its bottom, so
   the chapter text slides neatly under it instead of showing through. */
@media(max-width:900px){
  .journey-visual{position:sticky;top:var(--sticky-top,72px);z-index:3;background:var(--royal);
    margin-inline:calc(50% - 50vw);padding:12px calc(50vw - 50%) 14px}
  .journey-visual:after{content:'';position:absolute;left:0;right:0;top:100%;height:36px;pointer-events:none;
    background:linear-gradient(180deg,var(--royal),transparent)}
  .journey-frame{height:200px}
  .journey-progress{margin-top:14px}
  .journey-chapter{min-height:auto;padding-block:44px 64px;opacity:.35}
  .journey-chapter.is-on{opacity:1}
  .journey-chapter p{font-size:16px;line-height:1.85}
}
@media(max-width:700px){
  /* Five year labels do not fit on a phone: the progress bar and the year on the photo show the place */
  .journey-dots{display:none}
  .journey-year{font-size:38px;left:20px;right:20px;bottom:14px}
  .journey-frame{height:190px}
}
/* Arabic: years inside the story keep left-to-right digits but sit on the right like the text */
html[dir=rtl] .journey-chapter-year{text-align:right;unicode-bidi:isolate}
