/* Bahira design refinements: loaded after the existing theme stylesheet. */
:root{--shell:min(1220px,calc(100% - 48px));--muted:#645d56}
.brand-ar{font-family:var(--serif-ar);line-height:1.25}
.brand-en{font-size:12px}
.header-inner{grid-template-columns:auto 1fr auto;gap:24px}
.site-nav{justify-content:center;gap:clamp(14px,1.5vw,24px)}
.hero{min-height:auto;padding-block:clamp(40px,4.5vw,64px)}
.hero-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(36px,5vw,72px)}
.hero-portrait{width:100%;max-width:490px;justify-self:end}
.hero h1{line-height:1.02;font-size:clamp(58px,7vw,100px);margin-bottom:24px}
html[data-lang="ar"] .hero h1{line-height:1.1}
.hero-intro{font-size:clamp(20px,1.8vw,25px);margin-bottom:28px;max-width:38ch}
.hero-copy,.hero-portrait,.prose,.section-heading{min-width:0}
.section{padding-block:clamp(56px,6vw,84px)}
.band{padding-block:clamp(48px,5vw,72px)}
.two-col{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(32px,6vw,80px)}
.section-heading h1,.section-heading h2{font-size:clamp(38px,4.5vw,64px);line-height:1.12}
html[data-lang="ar"] .section-heading h1,html[data-lang="ar"] .section-heading h2{line-height:1.22}
.page-hero{padding-block:clamp(48px,5vw,72px)}
.page-hero p.page-intro{font-size:clamp(20px,2vw,25px);margin-top:24px}
.bdu-active:not(.bdu-route-home) .section{padding-block:clamp(48px,5vw,72px)}
.bdu-active:not(.bdu-route-home) .section-heading h2{font-size:clamp(32px,3.6vw,48px)}
.prose .lead{font-size:clamp(22px,2vw,29px)}
.prose p:last-child{margin-bottom:0}
.horizontal{display:flex;margin-bottom:36px;gap:32px}
.heading-note{font-size:18px}
.work-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.work-card{padding:28px;min-height:280px}
.work-card .work-no{margin-bottom:24px}
.work-card h2,.work-card h3{font-size:27px;overflow-wrap:anywhere}
.work-card p{margin-block:0 20px}
.work-card .work-type{margin-bottom:12px}
.timeline{grid-template-columns:repeat(3,minmax(0,1fr))}
.fact-row{margin-top:24px;padding-top:24px}
.topic{padding-block:20px}
.topic h3{font-size:clamp(23px,2.2vw,28px);line-height:1.4}
.contact-section{padding-block:clamp(56px,6vw,84px)}
.contact-inner h1,.contact-inner h2{font-size:clamp(36px,4.5vw,64px);line-height:1.18;max-width:22ch;margin-block:16px 24px}
html[data-lang="ar"] .contact-inner h1,html[data-lang="ar"] .contact-inner h2{line-height:1.3}
.contact-note{font-size:clamp(19px,2vw,24px);line-height:1.6;margin-bottom:28px}
.contact-inner p[dir="ltr"]{overflow-wrap:anywhere}
.footer-nav a,.back-top{display:inline-flex;align-items:center;min-height:44px;padding-block:8px}
.footer-grid{grid-template-columns:1fr auto 1fr}
.bahira-verified-social{padding-block:20px!important}
.site-footer .bahira-verified-social{background:transparent}
.site-footer .photo-credit{margin-top:8px}
.single-work{padding-block:clamp(48px,6vw,84px)}
.single-work h1{font-size:clamp(36px,5vw,64px);line-height:1.18;overflow-wrap:anywhere}
.bdu-active:not(.bdu-route-home) .fact-row{margin-top:0}
.bdu-source-links{margin-top:24px}
@media(max-width:1180px){
 .header-inner{grid-template-columns:1fr auto auto}
 .site-nav{top:100%;max-height:calc(100dvh - 84px);overflow-y:auto;overscroll-behavior:contain;align-items:stretch;justify-content:flex-start;gap:4px;padding-block:16px}
 body.admin-bar .site-nav{max-height:calc(100dvh - 130px)}
 .hero-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
 .hero-copy{grid-column:1;grid-row:1}.hero-portrait{grid-column:2;grid-row:1}
 .hero:before{width:34vw;height:100%;inset-block:0;inset-inline-start:auto;inset-inline-end:0}
 .two-col{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
 .footer-grid{grid-template-columns:1fr auto 1fr;gap:20px;text-align:start}
 .footer-brand{justify-self:start}.back-top{justify-self:end}
 .single-work-grid{grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr)}
}
@media(max-width:959px){
 :root{--shell:calc(100% - 40px)}
 .hero-grid,.two-col,.single-work-grid{grid-template-columns:minmax(0,1fr);gap:32px}
 .hero-copy{grid-column:1;grid-row:1}
 .hero-portrait{grid-column:1;grid-row:2;max-width:clamp(280px,50vw,440px);justify-self:center}
 .hero-copy{max-width:680px}
 .hero h1{font-size:clamp(58px,9vw,78px)}
 .hero:before{width:100%;height:36%;inset-block:auto 0;inset-inline:0}
 .horizontal{display:block}.heading-note{margin-top:20px}
 .work-grid,.timeline{grid-template-columns:repeat(2,minmax(0,1fr))}
 .footer-grid{grid-template-columns:1fr;gap:8px;text-align:center}
 .footer-brand,.back-top{justify-self:center}
 .single-cover{max-width:440px}
}
@media(max-width:620px){
 :root{--shell:calc(100% - 36px)}
 .header-inner{gap:8px}
 .brand-ar{font-size:19px}.brand-en{font-size:11px;letter-spacing:.1em}
 .hero{padding-block:32px 44px}
 .hero-grid{gap:28px}
 .hero h1{font-size:clamp(46px,14vw,58px);margin-bottom:20px}
 .hero-intro{font-size:19px;line-height:1.6;margin-bottom:24px}
 .hero-actions{display:flex;gap:10px}
 .hero-actions .button{width:auto;flex:1 1 auto;padding-inline:16px}
 .section-heading h1,.section-heading h2{font-size:clamp(34px,10vw,42px)}
 .section,.bdu-active:not(.bdu-route-home) .section{padding-block:48px}
 .page-hero{padding-block:42px}
 .page-hero p.page-intro{margin-top:20px}
 .statement blockquote{font-size:clamp(27px,7.5vw,32px)}
 .work-grid,.timeline{grid-template-columns:minmax(0,1fr)}
 .work-card{padding:24px;min-height:0}
 .work-card h2,.work-card h3{font-size:25px}
 .contact-section{padding-block:48px}
 .contact-inner h1,.contact-inner h2{font-size:clamp(32px,9vw,40px)}
 .contact-inner .button{width:auto;min-width:200px;max-width:100%}
 .fact-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .fact-row strong{font-size:28px}
 .fact-row span{font-size:16px}
 .site-nav{max-height:calc(100dvh - 74px)}
}
@media(prefers-reduced-motion:reduce){.reveal,.reveal.reveal-pending{opacity:1;transform:none}}

.work-card h2{font-weight:600;line-height:1.25;margin:0 0 18px}
.bahira-verified-social{box-sizing:border-box;display:flex;justify-content:center;align-items:center;gap:16px;background:var(--ink);color:var(--paper);padding:18px 16px}
.bahira-verified-social a{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border:1px solid currentColor;border-radius:50%;color:inherit}
.bahira-verified-social a:hover{background:#3d3430}
.bahira-verified-social a:focus-visible{outline:3px solid var(--white);outline-offset:4px}
.bahira-verified-social svg{display:block;width:24px;height:24px}

/* Critical perspectives and personal tributes. */
.bdu-perspectives-jumps{margin-top:32px;flex-wrap:wrap}
.bdu-perspective-section{scroll-margin-top:100px}
.bdu-perspective-list{min-width:0}
.bdu-perspective-entry{padding-block:0 32px;border-bottom:1px solid var(--line);margin-bottom:32px;overflow-wrap:anywhere}
.bdu-perspective-entry:last-child{margin-bottom:0}
.bdu-perspective-entry h3{font-size:clamp(26px,2.5vw,34px);line-height:1.35;margin:0 0 20px}
.bdu-perspective-byline{color:var(--muted);font-size:16px;margin:0 0 12px}
.bdu-collection-empty{color:var(--muted);padding:28px;border:1px solid var(--line);margin:0}
.footer-nav{flex-wrap:wrap;justify-content:center}
@media(min-width:1181px){.site-nav{gap:clamp(10px,1.1vw,16px);font-size:15px}}
@media(max-width:620px){.bdu-perspectives-jumps{flex-direction:column;align-items:stretch}.bdu-perspectives-jumps .button{white-space:normal;text-align:center}.bdu-collection-empty{padding:24px}}

/* Three-language navigation. */
.bdu-languages{display:flex;align-items:center;gap:4px;justify-self:end;white-space:nowrap}
.bdu-languages a.lang-switch,.bdu-languages span{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:6px;border:1px solid var(--line);border-radius:50%;font-size:12px}
.bdu-languages span{background:var(--ink);color:var(--paper);border-color:var(--ink)}
@media(max-width:1340px){
 .header-inner{grid-template-columns:1fr auto auto}.menu-toggle{display:flex;grid-column:2}.bdu-languages{grid-column:3}
 .site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--paper);border-bottom:1px solid var(--line);padding:16px max(24px,calc((100vw - var(--shell))/2));flex-direction:column;align-items:stretch;justify-content:flex-start;gap:4px;box-shadow:0 16px 30px rgba(29,26,24,.08);max-height:calc(100dvh - 84px);overflow-y:auto;overscroll-behavior:contain}
 .site-nav.open{display:flex}.site-nav a{width:100%;padding:12px 0}
 body.admin-bar .site-nav{max-height:calc(100dvh - 130px)}
}
@media(max-width:620px){
 .header-inner{grid-template-columns:1fr auto;gap:8px;padding-block:10px}.menu-toggle{grid-row:1;grid-column:2}.bdu-languages{grid-row:2;grid-column:1/-1;justify-self:center}
 .site-nav{max-height:calc(100dvh - 130px)}body.admin-bar .site-nav{max-height:calc(100dvh - 176px)}
}
html[data-lang="es"] .hero h1{font-size:clamp(58px,7vw,100px)}
@media(max-width:620px){html[data-lang="es"] .hero h1{font-size:clamp(46px,14vw,58px)}}

html[data-lang="es"] body{font-family:var(--sans);line-height:1.62}
html[data-lang="es"] h1,html[data-lang="es"] h2,html[data-lang="es"] h3,html[data-lang="es"] blockquote{font-family:var(--serif-en)}
