/* Profile release 1.1.0: reuse the portfolio palette and inherited typefaces. */
.profile-header,.profile-main,.profile-home-summary{width:var(--page);margin-inline:auto}
.profile-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-block:20px;flex-wrap:wrap}
.profile-header nav{display:flex;flex-wrap:wrap;gap:8px}
.profile-header a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid var(--line-2);border-radius:8px}
.professional-profile a,.profile-home-summary a{color:var(--accent);text-decoration:underline;text-underline-offset:4px}
.professional-profile a:hover,.profile-home-summary a:hover{color:var(--text)}
.profile-header a[aria-current]{background:var(--bg-3);color:var(--text);border-color:var(--accent)}
.professional-profile :focus-visible,.profile-home-summary a:focus-visible{outline:3px solid var(--accent);outline-offset:5px}
.profile-main{max-width:1060px;overflow:visible}
.profile-main section{padding-block:clamp(28px,5vw,64px);border-block-end:1px solid var(--line-2)}
.profile-main h1{line-height:1.25;margin-block:16px 24px}
.profile-main h2{font-size:clamp(25px,3.8vw,40px);line-height:1.4;margin-block-end:24px}
.profile-main h3{font-size:20px;line-height:1.6;margin-block-end:12px}
.profile-main p{color:var(--text-2);line-height:1.9;margin-block:16px;overflow-wrap:anywhere}
.profile-main .profile-intro{font-size:clamp(18px,2vw,23px);max-width:900px}
.profile-main .profile-kicker{color:var(--accent)}
.profile-cta{display:inline-block;padding-block:12px;min-height:44px}
.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.profile-grid article{padding:24px;border:1px solid var(--line-2);border-radius:var(--r-md);background:var(--bg-2)}
.profile-proof{list-style:disc;padding-inline-start:24px;margin-block:24px}
.profile-proof a{display:inline-block;padding-block:12px;min-height:44px;line-height:1.8}
.profile-main details{border-block-end:1px solid var(--line-2);padding-block:12px}
.profile-main summary{cursor:pointer;min-height:44px;padding-block:12px;font-size:18px;line-height:1.7;font-weight:600}
.profile-main details[open] summary{color:var(--accent)}
.profile-main footer{padding-block:32px 64px;font-size:14px}
.profile-home-summary{padding-block:40px;border-block-start:1px solid var(--line-2);line-height:1.9}
.profile-home-summary p{max-width:900px;color:var(--text-2);margin-block-end:12px}
.profile-home-summary a{display:inline-block;min-height:44px;padding-block:8px}
@media(max-width:650px){.profile-grid{grid-template-columns:1fr}.profile-grid article{padding:20px}.profile-header{gap:4px}.profile-header nav{gap:4px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Release 1.1.0: expanded, static homepage service and evidence content. */
.profile-home-summary{padding-block:clamp(40px,6vw,80px)}
.profile-home-summary h2{font-size:clamp(26px,3.8vw,42px);line-height:1.4;margin-block-end:24px}
.profile-home-summary h3{font-size:22px;line-height:1.6;margin-block:28px 14px}
.profile-home-summary .profile-grid h3{font-size:19px;margin-block:0 12px}
.profile-home-summary .profile-grid p{margin:0}
.profile-home-summary .profile-grid{margin-block:20px 32px}
.profile-home-summary details{border-block-end:1px solid var(--line-2);padding-block:12px}
.profile-home-summary summary{cursor:pointer;min-height:44px;padding-block:12px;font-size:18px;line-height:1.7;font-weight:600}
.profile-home-summary details[open] summary{color:var(--accent)}
.profile-home-summary :focus-visible{outline:3px solid var(--accent);outline-offset:5px}
.profile-home-summary .profile-resource-links{margin-block-start:28px}
/* Keep connected scripts readable in the rewritten Persian and Arabic hero. */
html[dir="rtl"] .hero-copy h1{max-width:none;line-height:1.4;letter-spacing:normal}
html[dir="rtl"] .hero-copy .lead{line-height:1.95}
html[dir="rtl"] .hero-links,html[dir="rtl"] .brand-copy small{font-family:var(--sans);letter-spacing:normal}
html[dir="rtl"] .brand-copy small{color:var(--text-2)}
