/* V14 release: paired frames, single-line identity, native reading-list markers. */
body .hdr {width:calc(100% - 64px); max-width:none;}
body .wm {grid-template-rows:auto; align-items:center; white-space:nowrap; gap:12px;}
body .wm::before {grid-row:1;}
body .wm>.ar-sig {display:none;}
html[lang="ar"] body .wm>.personal-name {display:none;}
html[lang="ar"] body .wm>.ar-sig {display:block; grid-row:1; grid-column:2; font-size:16px; letter-spacing:0;}
body.is-home .hero {min-height:max(940px,100svh);}
body.is-home .hero-bottom-grid {position:absolute; z-index:3; inset:auto 64px 60px 132px; display:grid; grid-template-columns:repeat(2,minmax(0,400px)); justify-content:space-between; align-items:stretch; gap:24px;}
html[dir="rtl"] body.is-home .hero-bottom-grid {inset-inline-start:132px; inset-inline-end:64px;}
body.is-home .hero-bottom-grid :is(.hero-work-card,.hero-media) {position:relative; inset:auto; grid-column:auto; grid-row:auto; min-width:0; width:100%; height:280px; min-height:0; max-width:none; margin:0; padding:20px; border:1px solid #fff; border-radius:26px; background:rgba(255,255,255,.96); box-shadow:0 10px 28px #14211f0c; aspect-ratio:auto; align-self:stretch;}
html[dir="rtl"] body.is-home .hero-bottom-grid :is(.hero-work-card,.hero-media) {inset:auto; grid-column:auto; grid-row:auto;}
body.is-home .hero-bottom-grid .hero-work-card {display:flex; flex-direction:column; justify-content:center; padding-inline-start:112px;}
body.is-home .hero-bottom-grid .hero-media {display:grid; place-items:center; padding:15px; border:0; background:transparent; box-shadow:none;}
body.is-home .hero-bottom-grid .hero-media picture {position:static; inset:auto; display:block; width:248px; height:248px; max-width:100%; border-radius:16px; aspect-ratio:1;}
body.is-home .hero-bottom-grid .hero-art {display:block; width:100%; height:100%; object-fit:contain!important;}
body.is-home .hero-bottom-grid .hero-work-card::before {inset-block:20px;}
/* Keep the bullet in its own gutter; never position it over the first letter. */
body :is(.case-results,.case-system,.role-body ul,.article-body ul,.privacy-body ul,.capability-list,.evidence-list,.type-list) {list-style:disc outside; padding:0; padding-inline-start:1.35em; margin-inline:0;}
body :is(.case-results,.case-system,.role-body ul,.article-body ul,.privacy-body ul,.capability-list,.evidence-list,.type-list)>li {position:static; padding:0; padding-inline-start:.3em; margin-block:0 .65em; text-align:start;}
body :is(.case-results,.case-system,.role-body ul,.article-body ul,.privacy-body ul,.capability-list,.evidence-list,.type-list)>li::before {content:none!important; display:none!important;}
body :is(.case-results,.case-system,.role-body ul,.article-body ul,.privacy-body ul,.capability-list,.evidence-list,.type-list)>li::marker {color:#914827; font-size:.85em;}
body .case-body :is(h2,h3) {margin-block:1.7em .8em;}
/* The live CV uses the same architectural scene, rounded ivory panels and copper identity. */
body.is-inner main .cv-hero {border-radius:38px; border:1px solid #fff; box-shadow:0 10px 30px #14211f08;}
body .cv-hero .cv-title {font-size:var(--audit-lead)!important; line-height:1.65!important; color:var(--audit-heading-ink)!important; max-width:40ch;}
body .cv-hero .hero-ctas {display:flex; flex-wrap:wrap; gap:12px; align-items:stretch;}
body .cv-hero .hero-ctas .btn {justify-content:center;}
body.is-inner main .cv-experience .role {border-block-end:1px solid #123b3720; padding-block:28px;}
body .cv-experience .role-title {color:var(--audit-accent)!important;}
@media(max-width:1100px) {
 body.is-home .hero-bottom-grid {inset-inline-start:118px; inset-inline-end:52px; grid-template-columns:repeat(2,minmax(0,1fr));}
 html[dir="rtl"] body.is-home .hero-bottom-grid {inset-inline-start:118px; inset-inline-end:52px;}
 body.is-home .hero-bottom-grid .hero-work-card {padding:20px;}
 body.is-home .hero-bottom-grid .hero-work-card::before {display:none;}
 body.is-home .hero-bottom-grid .hero-ctas {gap:6px;}
 body.is-home .hero-bottom-grid .btn-ghost {font-size:13px!important;}
}
@media(max-width:760px) {
 body .hdr {width:calc(100% - 24px);}
 body .wm {gap:8px; font-size:12px; letter-spacing:.025em;}
 html[lang="ar"] body .wm>.ar-sig {font-size:14px;}
 body.is-home .hero {min-height:0;}
 body.is-home .hero-bottom-grid,html[dir="rtl"] body.is-home .hero-bottom-grid {position:relative; inset:auto; display:grid; grid-template-columns:minmax(0,1fr); grid-auto-rows:1fr; width:100%; margin-top:28px; gap:16px;}
 body.is-home .hero-bottom-grid :is(.hero-work-card,.hero-media) {order:0; height:100%; min-height:280px; border-radius:26px;}
 body.is-home .hero-bottom-grid .hero-work-card {padding:20px;}
 body.is-home .hero-bottom-grid .hero-ctas {display:flex; flex-direction:column;}
 body .cv-hero .hero-ctas {flex-direction:column;}
 body.is-inner main .cv-hero {border-radius:28px;}
}
@media print {
 body .hero-bottom-grid {position:static!important; display:block!important;}
 body .cv-hero {box-shadow:none!important; border:0!important;}
 body .cv-hero .hero-ctas {display:none!important;}
 body .cv-experience .role {break-inside:avoid;}
}
