/* Gohary refresh: artwork-led scale, continuity and clear professional context. */
.hero-copy{max-width:350px}.hero-copy .hero-role{font-size:clamp(14px,1.35vw,20px);font-weight:650;max-width:28ch}.hero-copy .hero-location{color:var(--pink);font-size:12px;letter-spacing:.05em;margin-top:12px}.hero-copy .hero-promise{font-size:14px;max-width:29ch;color:var(--cream)}
.credentials{display:flex;gap:clamp(20px,5vw,80px);flex-wrap:wrap;padding:30px var(--pad);background:#251019;border-bottom:1px solid var(--line)}.credentials>div{display:flex;flex-direction:column;gap:6px}.credentials strong{font:650 clamp(24px,3.4vw,48px)/1.1 Space,sans-serif;color:var(--orange)}.credentials span{font-size:13px;color:var(--pink)}
.filters:has(.category-card){grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;margin-top:50px}.filters .category-card{border-radius:8px;transition:border-color .3s,translate .4s;min-height:unset;transform:none}.filters .category-card:last-child{grid-column:1/-1}.filters .category-card img{aspect-ratio:1080/466;object-fit:contain}.filters .category-card:last-child img{max-height:460px;background:#240b16}.category-caption{padding:18px 20px;min-height:72px}.category-name{font-size:clamp(17px,2vw,25px)}.category-count{font-size:14px}.category-card[aria-pressed=true]{border-color:var(--orange)}
.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.project .cover{aspect-ratio:1080/466}.project .cover img{object-fit:contain;background:#240b16}.card-meta{padding:20px}.card-meta b{font-size:clamp(18px,2vw,27px)}.card-meta small{font-size:11px;margin-bottom:10px}.project{border-radius:8px;display:block;color:var(--cream);text-decoration:none}.project[data-type=Logos] .cover img{object-fit:contain;padding:0}.gallery-title{font-size:clamp(28px,4vw,52px);margin-top:55px}.project-copy{display:block;margin-top:10px;color:var(--muted);font-size:14px;line-height:1.6;font-weight:400}
.work-stage{position:relative;height:220vh;margin:50px calc(var(--pad) * -1) 70px}.work-stage-window{position:sticky;top:92px;height:min(72vh,730px);overflow:hidden;perspective:1400px;background:#210e18;border-block:1px solid var(--line)}.work-stage-panel{position:absolute;inset:0;display:block;background:#240b16;will-change:transform,opacity;overflow:hidden}.work-stage-panel img{width:100%;height:100%;object-fit:contain}.work-stage-caption{position:absolute;bottom:18px;left:24px;right:24px;display:flex;justify-content:space-between;gap:20px;font-size:13px;background:#180d12eb;border:1px solid var(--line);padding:14px 20px;color:var(--cream)}.stage-hint{position:absolute;top:15px;left:24px;background:var(--wine);padding:9px 14px;font-size:11px;letter-spacing:.07em;color:var(--cream);z-index:4;pointer-events:none}
.experience{display:grid;grid-template-columns:1fr 1.15fr;gap:60px;margin-top:70px;padding-top:35px;border-top:1px solid var(--line)}.experience h3{font-size:clamp(28px,4vw,55px);line-height:1.1;margin:0 0 20px}.timeline-item{padding:22px 0;border-bottom:1px solid var(--line)}.timeline-item small{display:block;color:var(--orange);font-family:Space,sans-serif;margin-bottom:8px}.timeline-item strong{display:block;font-size:18px;line-height:1.5}.timeline-item p{font-size:14px;margin:8px 0 0;max-width:100%}.about-art{padding:0;background:var(--wine);overflow:hidden}.about-art img{width:100%;display:block}.about-art figcaption{padding:18px;font-size:12px;color:var(--pink)}.practice-list>div{grid-template-columns:30px 1fr auto}.practice-list strong{line-height:1.5}.practice-list span{font-size:9px}.section-heading p{max-width:45ch}.section h2{text-wrap:balance}.hero-copy .hero-location{max-width:36ch}
html[lang=ar] .hero-copy .hero-role{line-height:1.7}html[lang=ar] .experience h3{line-height:1.6}html[lang=ar] .project{text-align:right}html[lang=ar] .work-stage-caption{direction:rtl}html[lang=ar] .credentials strong{font-family:Alexandria,sans-serif}
@media(max-width:900px){.work-stage{height:auto;margin:35px 0}.work-stage-window{position:relative;top:auto;height:auto;overflow:visible;background:none;border:0;display:grid;gap:18px}.work-stage-panel{position:relative;aspect-ratio:1.85;transform:none!important;opacity:1!important}.work-stage-caption{font-size:11px;padding:10px;bottom:8px;left:8px;right:8px}.stage-hint{display:none}.experience{grid-template-columns:1fr;gap:15px}.project-grid{gap:20px}}
@media(max-width:600px){.filters:has(.category-card){grid-template-columns:1fr;gap:20px}.filters .category-card:last-child{grid-column:auto}.category-caption{padding:15px;min-height:58px}.project-grid{grid-template-columns:1fr!important;gap:24px}.card-meta{padding:17px}.hero{min-height:820px}.hero-copy{max-width:320px!important;margin-bottom:75px!important;margin-top:350px!important}.hero-copy h1{font-size:45px}.hero-copy .hero-role{font-size:15px;margin:12px 0 6px;max-width:100%}.hero-copy .hero-promise{font-size:13px;max-width:29ch;margin:9px 0 14px}.hero-copy .hero-location{font-size:10px;max-width:100%}.hero-image,html[lang=en] .hero-image{height:49%;width:100%;left:56%;bottom:40%}.hero-word{top:12%}.hero-meta{font-size:9px}.hero-bottom{font-size:8px;gap:8px}.credentials{gap:22px;padding-block:25px}.credentials>div{min-width:40%}.credentials strong{font-size:29px}.credentials span{font-size:11px}.work-stage-panel{aspect-ratio:1.6}.work-stage-caption{font-size:10px}.work-stage-caption span:last-child{display:none}.practice-list span{display:none}.practice-list>div{padding-block:19px}.section-heading p{line-height:1.8}.about-art{max-width:390px}.experience{margin-top:40px}.timeline-item strong{font-size:16px}.hero-copy .button{min-height:43px}html[lang=ar] .hero-copy{margin-top:335px!important}.hero-copy .hero-role{max-width:30ch}}
@media(prefers-reduced-motion:reduce){.work-stage{height:auto}.work-stage-window{height:auto;position:relative;top:auto;display:grid;gap:20px}.work-stage-panel{position:relative;aspect-ratio:2.1;transform:none!important;opacity:1!important}.stage-hint{display:none}}

#work{background-color:var(--cream);background-image:url(assets/pattern-burgundy.svg);color:var(--wine);--muted:#754455;--line:#4b152830}#work .section-index{color:#754455}#work .section-heading p{color:#754455}#work h2 em{color:var(--wine)}#work .project,#work .filters .category-card{background:var(--cream);color:var(--wine);border-color:#4b15282b;box-shadow:none}#work .category-caption{background:var(--cream)}#work .category-card[aria-pressed=true]{border:2px solid var(--orange)}#work .category-card[aria-pressed=true] .category-caption{background:var(--orange)}#work .card-meta small{color:#754455}#work .card-meta i{color:var(--wine)}#work .button.secondary{color:var(--wine);border-color:var(--wine)}#work .project-copy{color:#754455}#work .project:hover{border-color:var(--wine)}#work .category-card img{border-bottom:1px solid #4b152820}#work .work-stage-window{border-color:var(--wine)}
#work .project .card-meta{height:auto;min-height:120px;background:var(--cream);align-items:flex-start;color:var(--wine)}#work .project .card-meta>span{min-width:0;flex:1}#work .project .card-meta b{line-height:1.55;color:var(--wine)}#work .project .card-meta i{flex:0 0 34px}#work .project .cover{background:#240b16}#work .project-copy{line-height:1.65}
@media(max-width:600px){#work .project .card-meta{min-height:unset}#work .project .card-meta b{font-size:20px}}

/* Requested alignment and inline gallery revision. */
.hero{min-height:780px;display:block}
.hero-copy,html[lang=ar] .hero-copy{position:relative;margin:0!important;max-width:none!important;min-height:780px;opacity:1}
.hero-copy h1{position:absolute;left:var(--pad);top:38%;max-width:24%;font-size:clamp(42px,4.4vw,76px)}
.hero-details{position:absolute;right:var(--pad);top:39%;width:23%;max-width:320px}
.hero-copy .hero-details p{max-width:100%;text-shadow:none}
.hero-image,html[lang=en] .hero-image,html[lang=ar] .hero-image{left:49%;bottom:55px;width:52%;height:65%}
.hero-word{top:14%;font-size:16.4vw}
.hero-details .button{margin-top:12px}
.about-art{background:transparent}
.experience-portrait{display:block;width:min(100%,440px);max-height:530px;object-fit:contain;margin:30px auto 0}
.gallery-drawer[hidden]{display:none}
.gallery-drawer{position:relative;padding-top:25px}
.gallery-close{display:block;margin-inline-start:auto;border:1px solid var(--wine);background:transparent;color:var(--wine);padding:12px 18px;border-radius:30px;cursor:pointer;font:inherit}
.gallery-title{scroll-margin-top:110px;margin-top:22px}
#project-dialog[open]{animation:project-enter .35s ease both}
@keyframes project-enter{from{opacity:0;transform:translateY(35px) scale(.97)}to{opacity:1;transform:none}}
@media(max-width:1000px) and (min-width:601px){.hero,.hero-copy,html[lang=ar] .hero-copy{min-height:720px}.hero-copy h1{top:32%;font-size:40px;max-width:29%}.hero-details{top:33%;width:25%}.hero-image,html[lang=en] .hero-image,html[lang=ar] .hero-image{width:65%;height:56%;left:45%;bottom:35px}.hero-details .hero-promise{font-size:12px}.hero-details .button{font-size:11px;padding:9px}}
@media(max-width:600px){
 .hero{min-height:0;padding:82px var(--pad) 68px;display:flex;flex-direction:column}
 .hero-word,html[lang=ar] .hero-word-stretched{position:relative;top:auto;left:auto;transform:none;translate:none;width:100%;font-size:17vw;margin:12px 0 8px;order:0;animation:none}
 .hero-image,html[lang=en] .hero-image,html[lang=ar] .hero-image{position:relative;left:auto;bottom:auto;width:112%;height:auto;max-height:none;margin:0 -6%;transform:none;translate:none;animation:none;order:1;object-fit:contain}
 .hero-copy,html[lang=ar] .hero-copy{position:relative;min-height:0;margin:10px 0 0!important;width:100%;order:2;opacity:1}
 .hero-copy h1,html[lang=ar] .hero-copy h1{position:static;max-width:100%;font-size:44px;line-height:1;margin:0 0 20px}
 .hero-details{position:static;width:100%;max-width:none}
 .hero-copy .hero-details p{max-width:100%;font-size:14px}
 .hero-copy .hero-details .hero-location{font-size:11px}
 .hero-copy .hero-details .hero-role{font-size:17px}
 .hero-copy .hero-details .hero-promise{max-width:35ch}
 .hero-meta{top:25px}.hero-bottom{padding-block:15px}
 .hero-copy>*{animation:none!important}
}
@media(prefers-reduced-motion:reduce){#project-dialog[open]{animation:none}}
