:root{--fame-top:88px}.admin-bar{--fame-top:120px}.admin-bar .header{top:32px}
.deck .sections{top:var(--fame-top)}
.site-footer{margin:0 6% 85px;padding-top:30px}.contact .site-footer{margin:32px 0 0}
.gallery-pagination{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:40px 0}.gallery-pagination a,.gallery-pagination span{padding:8px 15px;border:1px solid var(--line);border-radius:3px}.gallery-pagination .current{background:var(--fg);color:var(--bg)}
.contact-list small{display:block}.contact-channels b{font-size:14px;font-weight:500;overflow-wrap:anywhere}.contact-copy{min-width:0}.honey{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);pointer-events:none}.contact-form,.chat-form{position:relative}
.single-art-main,.generic-main{padding:140px 6% 90px;min-height:80vh}.art-detail{max-width:900px;margin:auto;border:1px solid var(--line);border-radius:12px;overflow:hidden}.dialog-description{white-space:pre-line}.dialog-facts:empty{display:none}
[data-i18n]{white-space:pre-line}.art-card .art-frame img{height:100%;width:100%;object-fit:cover}.art-card{display:block}.button:disabled{opacity:.5;cursor:wait}.form-status{border-inline-start:2px solid var(--line);padding-inline-start:10px}
.chat-box{width:330px;max-width:calc(100vw - 32px);overflow-x:hidden;padding:21px}.chat-box h2,html[dir=rtl] .chat-box h2{font-family:inherit;font-size:17px!important;line-height:1.6!important;font-weight:500;letter-spacing:0;min-width:0;overflow-wrap:anywhere}.chat-box header{min-width:0}.chat-close{flex:0 0 30px}.chat-box input,.chat-box textarea{font-size:14px;line-height:1.6}.chat-box p{overflow-wrap:anywhere}.chat-box .connection-note{font-size:11px}
html[dir=rtl] .contact h2{line-height:1.6}html[dir=rtl] .about-main h1{font-size:clamp(36px,4vw,58px);line-height:1.6}
@media(max-width:782px){.admin-bar .header{top:46px}.admin-bar{--fame-top:134px}}
@media(max-width:700px){:root{--fame-top:106px}.admin-bar{--fame-top:152px}.deck .sections{top:var(--fame-top)}.single-art-main{padding:135px 4% 90px}.site-footer{margin-bottom:90px}}
@media(max-width:600px){#wpadminbar{position:fixed!important}}
/* FAME 1.1 — adaptable artwork, typography and identity */
:root{--size-body:16px;--size-hero:104px;--size-heading:68px;--size-nav:13px;--size-button:12px;--size-label:11px;--size-small:12px;--size-card:23px;--size-chat:17px}
html body{font-family:var(--type-body,Manrope,Arial,sans-serif);font-size:var(--size-body);font-weight:300}html[dir=rtl] body{font-family:var(--type-body,Vazirmatn,Tahoma,sans-serif)}
html h1,html h2,html[dir=rtl] h1,html[dir=rtl] h2{font-family:var(--type-heading,Georgia,serif);font-weight:300}
html h1,html .hero h1,html .about-main h1,html[dir=rtl] .hero h1,html[dir=rtl] .about-main h1{font-size:clamp(36px,7vw,var(--size-hero))}
html h2,html .contact h2,html .section-heading h2,html .custom-copy h2,html .details-copy h2,html[dir=rtl] h2{font-size:clamp(30px,4.5vw,var(--size-heading))}
html .header nav{font-size:var(--size-nav);font-weight:300}
html .intro,html .hero .intro,html .about-main .about-lead,html input,html textarea,html .chat-box input,html .chat-box textarea,html h3,html .dialog-description{font-family:var(--type-body);font-size:var(--size-body);font-weight:300}
html .button,html .dialog-actions .button,html .contact-form>.button,html .chat-toggle{font-size:var(--size-button);font-weight:300}
html .eyebrow,html .dialog-category,html .contact-form label,html .chat-form label,html .image-note{font-size:var(--size-label)}
html .art-meta,html .process-list p,html .process-list li>span,html .dialog-facts,html .signature,html .section-foot,html .text-link,html footer p,html .connection-note,html .chat-box .connection-note,html .chat-box>p,html .contact-channels small,html details p,html summary,html .form-status{font-size:var(--size-small)}
html .art-name,html[dir=rtl] .art-name{font-family:var(--type-heading);font-size:var(--size-card);font-weight:300}
html .chat-box h2,html[dir=rtl] .chat-box h2{font-family:var(--type-body);font-size:var(--size-chat)!important;font-weight:300}
.brand .fame-logo{width:auto;max-width:160px;height:auto;max-height:56px;object-fit:contain;display:block}.site-footer .fame-logo{max-height:65px}
.custom,.deck .custom{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8%}.custom-copy{width:100%;max-width:610px;justify-self:center}
.art-card .art-frame,.gallery-grid .art-frame{aspect-ratio:4/5;background:var(--surface)}.art-card .art-frame img{width:100%;height:100%;object-fit:cover}.selected-grid{align-items:start}
.gallery-main{max-width:1500px;margin-inline:auto}.gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:36px 24px;align-items:start}
.dialog-visual{height:auto;min-height:0;background:transparent}.dialog-visual .dialog-image{width:100%;height:auto;max-height:none;object-fit:contain;display:block}
.fame-socials{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.fame-socials .social-icon{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;transition:background .2s}.fame-socials a:hover{background:var(--surface)}.fame-socials svg{width:19px;height:19px}.site-footer{flex-wrap:wrap}
@media(max-width:900px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.custom,.deck .custom{display:flex;gap:28px}.brand .fame-logo{max-height:40px;max-width:130px}.header nav{overflow-x:auto}.gallery-grid{gap:28px 15px}html .hero h1,html .about-main h1,html[dir=rtl] .hero h1,html[dir=rtl] .about-main h1{font-size:min(var(--size-hero),54px)}html h2,html .contact h2,html .section-heading h2,html .custom-copy h2,html .details-copy h2,html[dir=rtl] h2{font-size:min(var(--size-heading),40px)}}
@media(hover:hover) and (pointer:fine){body,a,button,summary,.art-card{cursor:url("cursor.svg") 18 18,auto}html[data-theme=dark] body,html[data-theme=dark] a,html[data-theme=dark] button,html[data-theme=dark] summary{cursor:url("cursor-light.svg") 18 18,auto}input,textarea{cursor:text}}
.dialog-visual{width:fit-content;max-width:100%;margin-inline:auto}.dialog-visual .dialog-image{width:auto;height:auto;max-width:100%;max-height:60svh;margin-inline:auto}
html .dialog-title,html[dir=rtl] .dialog-title{font-size:clamp(28px,3vw,var(--size-heading))}
.dialog-visual{width:min(100%,calc(60svh * var(--art-ratio,1.5)))}.dialog-visual .dialog-image{width:100%;height:auto;max-height:none}
.brand{text-align:left}.brand small{padding:0;margin:0;text-align:left}.brand,.brand .fame-logo{background:transparent;border:0;box-shadow:none;filter:none;mix-blend-mode:normal}.brand .fame-logo{object-fit:contain}
.art-dialog{background:var(--bg);color:var(--fg)}
.contact .site-footer{padding-bottom:60px}
.dialog-visual{overflow:hidden}.dialog-visual .dialog-image{transform:scale(1);transform-origin:50% 50%;transition:transform .4s cubic-bezier(.2,.7,.2,1);will-change:auto}.dialog-visual.is-zoomed .dialog-image{transform:scale(2.4);will-change:transform}
@media(prefers-reduced-motion:reduce){.dialog-visual .dialog-image{transition:none}.deck .panel,.deck .panel.current{transition:none}.art-card img{transition:none}}
/* FAME 1.3 */
.gallery-pagination{display:none}.gallery-grid .art-card{content-visibility:auto;contain-intrinsic-size:280px 430px}
.gallery-filters{display:flex;gap:10px;flex-wrap:wrap;margin:-8px 0 38px;border-bottom:1px solid var(--line);padding-bottom:14px}.gallery-filters button{position:relative;padding:8px 2px;margin-inline-end:24px;color:var(--muted);font-size:12px;letter-spacing:.08em;transition:color .25s}.gallery-filters button:after{content:'';position:absolute;inset-inline:0;bottom:-15px;height:1px;background:var(--fg);transform:scaleX(0);transition:transform .3s}.gallery-filters button.active{color:var(--fg)}.gallery-filters button.active:after{transform:scaleX(1)}.gallery-grid .art-card[hidden]{display:none}
.art-card .art-frame img{filter:grayscale(.88) brightness(1.07) contrast(.92);transition:filter .5s ease,transform .6s ease}.art-card:hover .art-frame img,.art-card:focus-visible .art-frame img,.art-card:active .art-frame img{filter:grayscale(0) brightness(1) contrast(1)}
.spaces-grid figure,.spaces-grid figure:nth-child(even){height:48vh;margin-top:0;align-self:start}
.digital{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7%;align-items:center}.digital-main{height:62vh;overflow:hidden}.digital-copy{max-width:620px}.digital-copy .button{margin-top:30px}.digital-samples{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:34px}.digital-samples img{height:140px;object-fit:cover}
.footer-notes{display:grid;gap:4px}.footer-email{font-size:12px;color:var(--muted);border-bottom:1px solid var(--line);width:max-content}
.dialog-visual{position:relative;touch-action:pan-y}.dialog-visual.is-touch-zoomed{touch-action:none}.dialog-visual.is-changing .dialog-image{opacity:0}.dialog-visual .dialog-image{opacity:1;transition:opacity .28s ease,transform .4s cubic-bezier(.2,.7,.2,1)}.dialog-visual.is-touch-zoomed .dialog-image{transform:scale(2.4)}
.gallery-arrow{position:absolute;top:50%;z-index:3;width:42px;height:42px;border:1px solid #b9b3aa;border-radius:50%;background:color-mix(in srgb,var(--bg) 88%,transparent);display:grid;place-items:center;transform:translateY(-50%)}.gallery-prev{left:14px}.gallery-next{right:14px}.gallery-count{position:absolute;right:16px;bottom:14px;z-index:3;padding:5px 9px;border-radius:20px;background:color-mix(in srgb,var(--bg) 88%,transparent);font-size:11px;letter-spacing:.12em}.dialog-visual.single-image .gallery-arrow,.dialog-visual.single-image .gallery-count{display:none}
.art-dialog.art-landscape{width:min(900px,94vw)}.art-dialog.art-portrait{width:min(620px,94vw)}.art-dialog.art-portrait .dialog-visual{width:min(100%,calc(66svh * var(--art-ratio,.7)))}.art-dialog.art-portrait .dialog-content{padding:30px 38px}.art-dialog.art-portrait .dialog-title{font-size:clamp(38px,5vw,68px)}
.art-detail.art-landscape{max-width:1000px}.art-detail.art-portrait{max-width:650px}.art-detail.art-portrait .dialog-visual{width:min(100%,calc(70svh * var(--art-ratio,.7)))}
@media(max-width:700px){.digital{display:flex;gap:26px}.digital-main{height:34svh;width:100%}.digital-samples img{height:95px}.spaces-grid figure,.spaces-grid figure:nth-child(even){height:30svh;margin-top:0}.art-dialog.art-portrait,.art-dialog.art-landscape{width:94vw}.art-dialog.art-portrait .dialog-content{padding:24px}.art-dialog.art-portrait .dialog-title{font-size:38px}.gallery-arrow{width:38px;height:38px}.footer-notes{width:100%}.gallery-filters{gap:4px;margin-bottom:28px;overflow-x:auto;flex-wrap:nowrap}.gallery-filters button{white-space:nowrap;margin-inline-end:16px;font-size:11px}}

/* FAME 1.6 — editable interior carousel and interactive artwork details */
.spaces-carousel{position:relative;padding-inline:34px}.spaces-viewport{overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:none}.spaces-viewport::-webkit-scrollbar{display:none}.spaces-track{display:flex;gap:18px}.space-card{flex:0 0 calc((100% - 54px)/4);min-width:0;scroll-snap-align:start}.space-card figure{height:43vh;min-height:300px;margin:0;overflow:hidden;background:var(--surface)}.space-card img{transition:transform .65s ease}.space-card:hover img{transform:scale(1.025)}.space-meta{display:flex;justify-content:space-between;gap:12px;margin-top:13px;color:var(--muted);font-size:12px}.space-title{color:var(--fg)}.space-size{white-space:nowrap}.spaces-arrow{position:absolute;z-index:2;top:calc(50% - 24px);width:28px;height:48px;display:grid;place-items:center;font-size:22px;line-height:1;opacity:.72;transition:opacity .25s,transform .25s}.spaces-arrow:hover{opacity:1;transform:scale(1.1)}.spaces-arrow:disabled{opacity:.18;cursor:default;transform:none}.spaces-prev{inset-inline-start:0}.spaces-next{inset-inline-end:0}.detail-image img{transition:opacity .36s ease,transform .5s ease}.detail-image.is-changing img{opacity:0;transform:scale(.985)}
@media(max-width:1000px){.space-card{flex-basis:calc((100% - 22px)/2.2)}.space-card figure{height:38vh}}
@media(max-width:700px){.spaces-carousel{padding-inline:22px}.spaces-track{gap:12px}.space-card{flex-basis:86%}.space-card figure{height:38svh;min-height:260px}.spaces-arrow{width:22px;font-size:19px}.space-meta{font-size:11px}}
@media(prefers-reduced-motion:reduce){.spaces-viewport{scroll-behavior:auto}.detail-image img,.space-card img{transition:none}}

/* FAME 1.6.1 — dedicated Persian identity in header, footer and loader */
.fame-brand-logos{display:block}.fame-logo-fa{display:none!important}html[lang=fa] .fame-logo-en{display:none!important}html[lang=fa] .fame-logo-fa{display:block!important}.brand .fame-logo-fa{max-width:176px;max-height:62px}.site-footer .fame-logo-fa{max-height:72px}.loader-logo .fame-logo-fa{width:min(330px,68vw);height:auto;max-height:150px;object-fit:contain}@media(max-width:700px){.brand .fame-logo-fa{max-width:145px;max-height:46px}.loader-logo .fame-logo-fa{width:min(280px,72vw)}}

/* FAME 1.5 — local Persian fonts, workshop and smooth gallery filtering */
@font-face{font-family:Yekan;src:url("fonts/Yekan.ttf") format("truetype");font-style:normal;font-weight:100 900;font-display:swap}
@font-face{font-family:Fedra;src:url("fonts/Fedra-Arabic.ttf") format("truetype");font-style:normal;font-weight:100 900;font-display:swap}
@font-face{font-family:FedraDisplay;src:url("fonts/Fedra-Arabic-Display-Black.ttf") format("truetype");font-style:normal;font-weight:100 900;font-display:swap}
.brand .fame-default-logo{max-width:176px;max-height:64px}.loader-logo .brand{display:block}.loader-logo .fame-logo{width:min(260px,55vw);height:auto;max-height:120px;object-fit:contain}.loader-logo+.loader i{margin-top:4px}html[data-theme=dark] .fame-logo{filter:invert(1)}
.digital-copy{display:flex;flex-direction:column;align-items:flex-start}.digital-copy .intro{max-width:560px}.digital-copy .digital-cta{margin-top:34px}.digital-samples{display:none!important}
.workshop-home{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);gap:7%;align-items:center}.workshop-copy{max-width:540px}.workshop-copy .button{margin-top:34px}.workshop-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:16px;height:68vh;max-height:720px}.workshop-preview img{min-height:0;width:100%;height:100%;object-fit:cover;transform:none}
.workshop-main{padding:112px 6% 70px;max-width:1500px;margin-inline:auto}.workshop-hero{max-width:920px;padding:2vh 0 3vh}.workshop-hero h1{max-width:850px;font-size:clamp(48px,6vw,88px)}.workshop-hero .intro{max-width:650px;margin-top:12px}.workshop-info{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line)}.workshop-info article{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;min-height:185px;padding:20px 18px;border-bottom:1px solid var(--line)}.workshop-info article>span{font-size:10px;color:var(--muted);padding-top:5px}.workshop-info h2{font-size:clamp(18px,1.65vw,var(--size-workshop-heading,22px));line-height:1.25}.workshop-info p{font-size:var(--size-workshop-text,12px);line-height:1.65;color:var(--muted);max-width:520px;margin-top:9px;white-space:pre-line}.workshop-gallery{padding:90px 0 50px}.workshop-gallery-grid{display:grid;gap:28px}.workshop-gallery-group{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,minmax(120px,18vw));gap:14px}.workshop-gallery-group figure{margin:0;overflow:hidden}.workshop-gallery-group figure:nth-child(1){grid-column:1/3;grid-row:1}.workshop-gallery-group figure:nth-child(2){grid-column:3/5;grid-row:1/3}.workshop-gallery-group figure:nth-child(3){grid-column:1/3;grid-row:2/4}.workshop-gallery-group figure:nth-child(4){grid-column:3/5;grid-row:3}.workshop-gallery-grid img{width:100%;height:100%;object-fit:cover;transition:transform .7s ease,filter .5s ease;filter:grayscale(.55)}.workshop-gallery-grid figure:hover img{transform:scale(1.035);filter:grayscale(0)}.workshop-register{margin:70px 0 30px;padding:60px 6%;background:var(--surface);text-align:center}.workshop-register h2{font-size:clamp(38px,5vw,72px)}.workshop-register p{color:var(--muted);margin:18px auto 30px;max-width:600px}html[lang="fa"] .workshop-info h2{font-size:var(--size-workshop-heading,18px)!important;font-weight:400;white-space:nowrap}
.gallery-grid{position:relative}.gallery-grid .art-card{transition:opacity .34s ease,transform .48s cubic-bezier(.2,.75,.25,1);will-change:transform,opacity}.gallery-grid.is-filtering{pointer-events:none}.gallery-grid .art-card.is-leaving{opacity:0;transform:scale(.96)}
@media(max-width:900px){.workshop-home{grid-template-columns:1fr}.workshop-preview{height:48vh}.workshop-gallery-group{grid-template-rows:repeat(3,minmax(105px,24vw))}}
@media(max-width:700px){.brand .fame-default-logo{max-width:132px;max-height:46px}.workshop-home{display:flex;gap:34px}.workshop-preview{width:100%;height:55svh;gap:10px}.workshop-main{padding:115px 5% 65px}.workshop-hero{padding:3vh 0 6vh}.workshop-info{grid-template-columns:1fr}.workshop-info article{grid-template-columns:32px minmax(0,1fr);gap:10px;min-height:0;padding:25px 18px}.workshop-info h2,html[lang="fa"] .workshop-info h2{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.workshop-gallery{padding:70px 0 30px}.workshop-gallery-grid{gap:18px}.workshop-gallery-group{gap:8px;grid-template-rows:repeat(3,minmax(80px,30vw))}.workshop-register{margin-top:55px;padding:55px 7%}}

.workshop-gallery-group.group-count-1{grid-template-rows:minmax(220px,38vw)}.workshop-gallery-group.group-count-1 figure:nth-child(1){grid-column:1/5;grid-row:1}.workshop-gallery-group.group-count-2{grid-template-rows:minmax(180px,26vw)}.workshop-gallery-group.group-count-2 figure:nth-child(1){grid-column:1/3;grid-row:1}.workshop-gallery-group.group-count-2 figure:nth-child(2){grid-column:3/5;grid-row:1}.workshop-gallery-group.group-count-3{grid-template-rows:repeat(2,minmax(150px,20vw))}.workshop-gallery-group.group-count-3 figure:nth-child(1){grid-column:1/5;grid-row:1}.workshop-gallery-group.group-count-3 figure:nth-child(2){grid-column:1/3;grid-row:2}.workshop-gallery-group.group-count-3 figure:nth-child(3){grid-column:3/5;grid-row:2}
.gallery-arrow{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#fff!important;font-size:25px;text-shadow:0 1px 5px #000,0 0 1px #000;animation:fame-arrow-attention 1.35s ease-in-out infinite}.gallery-arrow:hover,.gallery-arrow:focus-visible,.gallery-arrow:active{animation-play-state:paused;opacity:1}@keyframes fame-arrow-attention{0%,100%{opacity:.58;transform:translateY(-50%) scale(.92)}50%{opacity:1;transform:translateY(-50%) scale(1.12)}}
html[lang="fa"] .workshop-hero{max-width:none}html[lang="fa"] .workshop-hero h1{font-size:clamp(34px,4vw,56px)!important;white-space:nowrap}
@media(prefers-reduced-motion:reduce){.gallery-arrow{animation:none;opacity:1}}
@media(max-width:700px){html[lang="fa"] .workshop-hero h1{font-size:38px!important;white-space:normal}}
