/*
Theme Name: MOSOLTAN
Author: Mohammed Soltan
Description: Cinematic portfolio with full-screen video, editable films, photography and behind-the-scenes media.
Version: 1.1.7
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: mosoltan
*/
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:#11110f;color:#f5f1e9;font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}a:focus-visible,button:focus-visible{outline:2px solid #d5b79a;outline-offset:7px}.skip{position:absolute;top:-100px;left:20px;padding:14px;background:#111;z-index:30}.skip:focus{top:12px}.hero{height:100vh;height:100svh;min-height:650px;position:relative;isolation:isolate;overflow:hidden;background:#171713}.hero-media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;z-index:-3}video.hero-media{opacity:0;transition:opacity .6s}video.hero-media.is-playing{opacity:1}.shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(0,0,0,.45),rgba(0,0,0,.12) 35%,rgba(0,0,0,.4) 75%,rgba(0,0,0,.62))}.site-header{position:absolute;left:4.2%;right:4.2%;top:33px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font-size:23px;font-weight:800;letter-spacing:-1.3px}.brand-dot{font-size:10px;vertical-align:super;margin-left:4px}nav{display:flex;gap:35px;font-size:12px}nav a{padding:12px 0;position:relative}nav a:after{content:"";position:absolute;bottom:5px;left:0;width:0;height:1px;background:currentColor;transition:width .25s}nav a:hover:after{width:100%}.menu-toggle{display:none}.hero-label{position:absolute;top:143px;left:4.2%;right:4.2%;display:flex;justify-content:space-between;font:10px/1.5 'Courier New',monospace;letter-spacing:1.7px}.hero-title{position:absolute;left:4%;right:4%;bottom:20%;text-align:center;text-shadow:0 2px 30px #0005}.hero-title p{font-size:14px;letter-spacing:2.1px;margin:0 0 23px}h1{font-size:clamp(64px,10.8vw,180px);font-weight:400;letter-spacing:-.065em;line-height:.83;margin:0}h1 span{font-size:1.16em}.hero-bottom{position:absolute;bottom:37px;left:4.2%;right:4.2%;display:flex;align-items:center;justify-content:space-between;font-size:11px;letter-spacing:.4px}.scroll-link{display:flex;align-items:center;gap:15px}.arrow{border:1px solid #ffffff70;border-radius:50%;width:35px;height:35px;display:grid;place-items:center;font-size:18px}.video-tools{display:flex;gap:22px;align-items:center}.status{font:10px 'Courier New',monospace;color:#e1ded7}#motion-toggle{background:transparent;border:1px solid #ffffff60;padding:10px 14px;font-size:10px;display:flex;gap:8px}#motion-toggle[hidden]{display:none}.about{background:#eae6de;color:#24241f;padding:35px 5% 100px}.section-top{display:flex;justify-content:space-between;gap:25px;font:10px/1.6 'Courier New',monospace;letter-spacing:1px;border-bottom:1px solid #75736655;padding-bottom:23px}.about-grid{display:grid;grid-template-columns: minmax(0,.92fr) minmax(0,1fr);gap:12%;max-width:1200px;margin:80px auto 0;align-items:center}.portrait img{display:block;width:100%;height:auto;filter:grayscale(1)}.caption{display:flex;justify-content:space-between;font:9px 'Courier New',monospace;letter-spacing:.7px;margin-top:14px}.eyebrow{font:10px/1.7 'Courier New',monospace;letter-spacing:1.3px}.about h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(54px,6.3vw,96px);font-weight:400;letter-spacing:-4px;line-height:.98;margin:27px 0 32px}.about-copy>p:not(.eyebrow){max-width:490px;font-size:15px;line-height:1.9;color:#514f46}.text-link{display:flex;justify-content:space-between;max-width:250px;border-bottom:1px solid #656356;padding:18px 0 13px;font-size:12px;margin-top:28px}.text-link span{font-size:19px}footer{padding:35px 5% 26px}footer .section-top{border-color:#dddddd40;color:#b2b0a7}.email{font-size:clamp(25px,5.7vw,92px);letter-spacing:-.05em;display:flex;align-items:center;justify-content:space-between;padding:70px 0 85px}.email span{font-size:.7em}.footer-bottom{border-top:1px solid #dddddd33;padding-top:24px;display:flex;justify-content:space-between;gap:18px;font:9px/1.5 'Courier New',monospace;letter-spacing:.5px;color:#b2b0a7}.noscript{padding:15px;font-size:12px}@media(min-width:1700px){.hero-title{bottom:23%}}@media(max-width:700px){.hero{min-height:560px}header{top:23px;left:6%;right:6%}.brand{font-size:21px}.menu-toggle{display:flex;align-items:center;gap:14px;background:transparent;border:0;font-size:12px;padding:12px 0}.menu-toggle span{font-size:20px}nav{display:none;position:absolute;top:58px;right:0;left:0;background:#151512f5;border:1px solid #ffffff33;padding:25px;flex-direction:column;gap:10px;font-size:18px;z-index:10}nav.open{display:flex}.hero-label{top:117px;left:6%;right:6%;font-size:8px;letter-spacing:1px}.hero-label span:last-child{max-width:100px;text-align:right}.hero-title{left:5%;right:5%;bottom:29%}.hero-title p{font-size:10px;letter-spacing:1.1px;margin-bottom:24px}h1{font-size:13.2vw;letter-spacing:-.06em;line-height:.91}.hero-bottom{bottom:26px;left:6%;right:6%;font-size:10px}.video-tools .status{display:none}#motion-toggle{padding:9px}.about{padding:27px 6% 65px}.section-top{font-size:8px;letter-spacing:.5px}.section-top span:last-child{text-align:right;max-width:150px}.about-grid{grid-template-columns:1fr;gap:38px;margin-top:40px}.portrait{max-width:430px}.about h2{font-size:65px;letter-spacing:-3px;margin:20px 0 25px}.about-copy>p:not(.eyebrow){font-size:14px}.email{font-size:6.6vw;padding:47px 0 55px}.footer-bottom{font-size:8px;flex-wrap:wrap}.footer-bottom>span{width:100%}footer{padding:27px 6%}.caption{font-size:8px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}
.site-header{z-index:20}.site-header:not(.on-hero){position:relative;left:auto;right:auto;top:auto;margin:0 4.2%;padding:30px 0}.inner-main{min-height:65vh}.admin-bar .site-header.on-hero{top:65px}.admin-bar .hero{height:calc(100svh - 32px)}nav a[aria-current=page]:after{width:100%}.work-page,.contact-page,.generic-page{padding:45px 5% 85px;max-width:1600px;margin:auto}.page-title{font-family:Georgia,'Times New Roman',serif;font-size:clamp(42px,7vw,105px);font-weight:400;letter-spacing:-.045em;line-height:1.05;margin:60px 0}.film-single .page-title{font-size:clamp(38px,6vw,90px)}.film-grid{display:grid;grid-template-columns:1fr 1fr;gap:55px 5%}.film-card{min-width:0}.film-embed{aspect-ratio:16/9;position:relative;overflow:hidden;background:#22221f}.film-play{display:block;padding:0;border:0;background:transparent;width:100%;height:100%;position:relative}.film-play img{display:block;width:100%;height:100%;object-fit:cover;filter:brightness(.8);transition:filter .3s}.film-play:hover img{filter:brightness(1)}.play-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:58px;height:58px;border:1px solid #fffd;background:#0004;border-radius:50%;display:grid;place-items:center;font-size:27px}.film-embed iframe{width:100%;height:100%;border:0;display:block}.film-caption{display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding-top:16px}.film-caption h2{font-size:13px;line-height:1.5;font-weight:400;margin:0}.film-caption>a{flex-shrink:0;font:9px 'Courier New',monospace;color:#c5c1b8}.film-description{font-size:16px;line-height:1.8;max-width:800px;margin-top:35px}.photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:8px;gap:18px}.photo-grid figure{margin:0;min-width:0;align-self:start}.photo-open{padding:0;border:0;background:transparent;display:block;width:100%}.photo-open img{display:block;width:100%;height:auto}.dialog-open{overflow:hidden}#photo-dialog{border:0;background:#121210;color:#f5f1e9;width:100vw;height:100svh;max-width:100vw;max-height:100svh;padding:50px 5vw 30px;overflow:hidden}#photo-dialog[open]{display:flex;align-items:center;justify-content:center;gap:2vw}#photo-dialog::backdrop{background:#111e}#photo-dialog figure{margin:0;display:flex;flex-direction:column;align-items:center;gap:12px;max-width:80vw}#photo-dialog img{display:block;max-width:80vw;max-height:80svh;width:auto;height:auto;object-fit:contain}#photo-dialog figcaption{font:10px 'Courier New',monospace}.dialog-close{position:absolute;right:5vw;top:22px}.dialog-close,.photo-prev,.photo-next{background:transparent;color:inherit;border:1px solid #ffffff55;padding:10px 14px}.bts-section{padding:35px 5% 80px;background:#eae6de;color:#24241f}.bts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:40px}.bts-grid figure{margin:0}.bts-grid img{width:100%;height:auto;display:block}.contact-intro{font-size:clamp(18px,2vw,28px);line-height:1.9;color:#c5c1b8}.contact-form{max-width:700px;margin-top:50px}.contact-form label{display:block;font-size:12px;line-height:1.7;margin-bottom:25px}.contact-form input,.contact-form textarea{display:block;width:100%;background:#1b1b18;border:1px solid #56564d;color:#f5f1e9;font:14px/1.6 Arial,Helvetica,sans-serif;padding:14px;margin-top:10px;border-radius:0}.contact-form textarea{resize:vertical}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:25px}.contact-submit{background:#eae6de;color:#24241f;border:0;padding:15px 22px;display:flex;gap:45px;justify-content:space-between;font-size:12px}.form-note{color:#aaa79e;font-size:12px;line-height:1.6}.generic-page{font-size:16px;line-height:1.8}.generic-page img{max-width:100%;height:auto}@media(max-width:700px){.site-header:not(.on-hero){margin:0 6%;padding:21px 0}.admin-bar .site-header.on-hero{top:69px}.admin-bar .hero{height:calc(100svh - 46px)}.work-page,.contact-page,.generic-page{padding:25px 6% 55px}.page-title{margin:38px 0;font-size:55px}.film-grid{grid-template-columns:1fr;gap:38px}.film-card{order:var(--mobile-order)}.film-caption h2{font-size:12px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bts-section{padding:27px 6% 55px}.bts-grid{grid-template-columns:1fr;gap:20px;margin-top:30px}.bts-grid figure{order:var(--mobile-order)}.field-pair{grid-template-columns:1fr;gap:0}#photo-dialog{padding:55px 10px 25px;gap:8px}#photo-dialog[open]{gap:8px}#photo-dialog img{max-width:76vw;max-height:77svh}.photo-prev,.photo-next{padding:8px;border:0}#photo-dialog figure{max-width:76vw}.footer-bottom{row-gap:17px}.contact-form{margin-top:35px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Navigation disclosure */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#navigation{align-items:center}.work-disclosure{position:relative}.work-toggle{display:flex;align-items:center;gap:8px;background:transparent;border:0;border-radius:0;padding:12px 0;font:inherit;color:inherit}.work-toggle.is-current{text-decoration:underline;text-underline-offset:7px}.work-toggle span{display:inline-block;transition:transform .2s}.work-toggle[aria-expanded=true] span{transform:rotate(180deg)}.work-menu{position:absolute;top:calc(100% + 8px);left:-18px;min-width:175px;padding:12px 18px;background:#151512f5;border:1px solid #ffffff33;display:flex;flex-direction:column;gap:4px;box-shadow:0 12px 35px #0003}.work-menu[hidden]{display:none!important}.work-menu a{display:block;padding:10px 0;white-space:nowrap}@media(max-width:700px){#navigation{align-items:stretch}.work-toggle{width:100%;justify-content:space-between}.work-menu{position:static;margin:4px 0 8px 9px;padding:0 0 0 20px;border:0;border-left:1px solid #ffffff40;background:transparent;box-shadow:none;min-width:0;gap:0;font-size:15px}.work-menu a{padding:12px 0}}

/* Bilingual navigation and right-to-left typography. */
.header-controls,.header-actions{display:flex;align-items:center}.header-controls{gap:32px}.header-actions{gap:14px}.language-switch{font-size:13px;line-height:1.5;padding:10px 2px;white-space:nowrap}.menu-toggle{padding:0;min-width:44px;min-height:44px;justify-content:center}.menu-toggle .menu-icon{font-size:30px;line-height:1;font-weight:300}.footer-bottom a[href^="tel:"],.contact-intro a{direction:ltr;unicode-bidi:isolate;display:inline-block}
[dir=rtl] body{font-family:Tahoma,Arial,sans-serif}[dir=rtl] .hero-title h1{font-family:Tahoma,Arial,sans-serif;font-size:clamp(72px,9vw,150px);letter-spacing:0;line-height:1.13}[dir=rtl] .hero-title h1 span{font-size:1.08em}[dir=rtl] .hero-title p{letter-spacing:0;font-size:18px}[dir=rtl] .hero-label,[dir=rtl] .section-top,[dir=rtl] .eyebrow,[dir=rtl] .caption,[dir=rtl] .footer-bottom,[dir=rtl] .film-caption>a{font-family:Tahoma,Arial,sans-serif;letter-spacing:0}[dir=rtl] .about h2,[dir=rtl] .page-title{font-family:Tahoma,Arial,sans-serif;letter-spacing:0;line-height:1.4}[dir=rtl] .about h2{font-size:clamp(42px,4.7vw,68px)}[dir=rtl] .about-copy>p:not(.eyebrow){line-height:2}[dir=rtl] .work-menu{left:auto;right:-18px}[dir=rtl] .film-caption h2{line-height:1.8}[dir=rtl] .film-description{line-height:2}
@media(max-width:700px){.header-controls{gap:0}.header-actions{gap:12px}.language-switch{font-size:13px}.menu-toggle{display:flex}.site-header nav{top:60px}.site-header .language-switch{position:relative;z-index:12}[dir=rtl] .hero-title h1{font-size:17vw;line-height:1.17}[dir=rtl] .hero-title p{font-size:13px;line-height:1.8}[dir=rtl] .hero-label span:last-child{text-align:left;max-width:135px}[dir=rtl] .section-top span:last-child{text-align:left}[dir=rtl] .work-menu{right:auto;margin:4px 9px 8px 0;padding:0 20px 0 0;border-left:0;border-right:1px solid #ffffff40}[dir=rtl] .about h2{font-size:44px}[dir=rtl] .page-title{font-size:39px}[dir=rtl] .caption{font-size:9px}[dir=rtl] .hero-title{bottom:28%}}

.language-switch{min-height:44px;display:inline-flex;align-items:center}

/* User-supplied Neue Einstellung webfonts. */
@font-face{font-family:'Neue Einstellung';src:url('assets/fonts/NeueEinstellung-Light.woff2') format('woff2');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'Neue Einstellung';src:url('assets/fonts/NeueEinstellung-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Neue Einstellung';src:url('assets/fonts/NeueEinstellung-Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Neue Einstellung';src:url('assets/fonts/NeueEinstellung-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
html[lang=en] body,html[lang=en] .about h2,html[lang=en] .page-title,html[lang=en] .hero-label,html[lang=en] .section-top,html[lang=en] .caption,html[lang=en] .eyebrow,html[lang=en] .footer-bottom,html[lang=en] .film-caption>a,html[lang=en] #photo-dialog figcaption,html[lang=en] .contact-form input,html[lang=en] .contact-form textarea{font-family:'Neue Einstellung',Arial,Helvetica,sans-serif}
html[lang=en] .hero-title h1{font-weight:300;letter-spacing:-.055em}
html[lang=en] .brand{font-weight:700}
html[lang=en] #navigation,html[lang=en] .language-switch{font-weight:500}
html[lang=en] .about h2,html[lang=en] .page-title{font-weight:400;letter-spacing:-.045em}
html[lang=en] .hero-label,html[lang=en] .section-top,html[lang=en] .eyebrow{font-weight:500}

/* User-supplied Taleeq Bold for Arabic display headings. */
@font-face{font-family:'Taleeq';src:url('assets/fonts/Taleeq-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
[dir=rtl] .hero-title h1,[dir=rtl] .about h2,[dir=rtl] .page-title{font-family:'Taleeq',Tahoma,Arial,sans-serif;font-weight:700;letter-spacing:0;line-height:1.45}
[dir=rtl] .hero-title h1{font-size:clamp(72px,9vw,150px)}
@media(max-width:700px){[dir=rtl] .hero-title h1{font-size:17vw;line-height:1.4}}

/* English-first preview: smaller name on a single line. */
html[lang=en] .hero-title{top:50%;bottom:auto;transform:translateY(-35%)}
html[lang=en] .hero-title h1{font-size:clamp(36px,7.2vw,110px);line-height:1.12;letter-spacing:-.045em;white-space:nowrap}
html[lang=en] .hero-title p{font-size:12px;letter-spacing:1.5px;margin-bottom:24px}
@media(max-width:700px){html[lang=en] .hero-title h1{font-size:8.4vw}html[lang=en] .hero-title p{font-size:9px;letter-spacing:1px;margin-bottom:19px}}

/* Center the name itself, with the role directly beneath it. */
html[lang=en] .hero-title{top:50%;bottom:auto;transform:translateY(-.56em);font-size:clamp(36px,7.2vw,110px);text-align:center}
html[lang=en] .hero-title p{margin:22px 0 0;font-size:12px;line-height:1.6;letter-spacing:1.5px}
@media(max-width:700px){html[lang=en] .hero-title{font-size:8.4vw}html[lang=en] .hero-title p{margin-top:16px;font-size:10px;letter-spacing:1.2px}}

/* More legible role and header social profiles. */
html[lang=en] .hero-title p{font-size:20px;font-weight:500;letter-spacing:1.6px;text-transform:uppercase;margin-top:20px}
.header-socials{display:flex;align-items:center;gap:2px}.header-socials a{display:grid;place-items:center;width:44px;height:44px}.header-socials svg{width:19px;height:19px;display:block}.header-socials a:hover{opacity:.7}
@media(max-width:700px){html[lang=en] .hero-title p{font-size:14px;letter-spacing:1.3px;margin-top:18px}.header-actions{gap:4px}.header-socials{gap:0}.header-socials a{width:40px;height:44px}.header-socials svg{width:18px;height:18px}}

/* Visible navigation at every size; vector arrows render consistently. */
.line-icon{display:inline-block;width:1em;height:1em;vertical-align:-.15em;flex-shrink:0}.text-link>.line-icon{width:22px;height:22px}.email .line-icon{width:1em;height:1em}.work-toggle .line-icon{width:12px;height:12px}.work-toggle>span{display:flex;align-items:center}.header-socials a{min-height:44px}
@media(max-width:700px){
.site-header,.site-header:not(.on-hero){display:flex;flex-direction:column;align-items:stretch;gap:9px}.site-header .brand{align-self:flex-start}.site-header .header-controls{width:100%;gap:12px;justify-content:space-between}.site-header #navigation{display:flex;position:static;flex-direction:row;align-items:center;gap:22px;padding:0;background:transparent;border:0;box-shadow:none;font-size:12px;z-index:auto}.site-header #navigation>a,.work-toggle{min-height:44px;display:flex;align-items:center}.site-header .work-toggle{width:auto;gap:7px;justify-content:flex-start}.site-header .header-actions{gap:0}.site-header .header-socials{gap:0}.site-header .header-socials a{width:36px}.site-header .work-menu{position:absolute;top:calc(100% + 3px);left:-14px;right:auto;min-width:135px;margin:0;padding:10px 14px;border:1px solid #ffffff33;background:#151512f5;box-shadow:0 12px 35px #0003;font-size:12px;z-index:30}.site-header .work-menu a{padding:12px 0}.site-header .menu-toggle{display:none}
}
@media(max-width:360px){.site-header #navigation{gap:15px;font-size:11px}.site-header .header-controls{gap:6px}.site-header .header-socials a{width:32px}}
