/*
Theme Name: Ahmed Jalal Studio
Author: Ahmed Jalal
Description: Arabic RTL multimedia portfolio, journal and digital WooCommerce storefront.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: ahmed-jalal
*/
:root{--bg:#111113;--surface:#1b1b1e;--ink:#f4f4f0;--muted:#aaaab0;--line:#333337;--accent:#d4f77d;--max:1304px;--gutter:48px;color-scheme:dark}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:32px}body{margin:0;background:var(--bg);color:var(--ink);font-family:Tahoma,Arial,sans-serif;font-size:16px;line-height:1.8;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}a:hover{color:var(--accent)}img{display:block;max-width:100%;height:auto}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.35;letter-spacing:-.035em}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:5px}[hidden]{display:none!important}::selection{background:var(--accent);color:var(--bg)}.shell{width:calc(100% - var(--gutter)*2);max-width:var(--max);margin-inline:auto}.muted,.section-heading p{color:var(--muted)}.arrow{width:23px;height:23px;flex:none}.button{display:inline-flex;align-items:center;justify-content:center;gap:22px;background:var(--accent);color:var(--bg);border:1px solid var(--accent);padding:13px 24px;min-height:50px;font-size:15px;font-weight:700;line-height:1.5;border-radius:0}.button:hover{background:var(--ink);border-color:var(--ink);color:var(--bg)}.button-outline{background:transparent;border-color:#747477;color:var(--ink)}.text-link{display:inline-flex;align-items:center;gap:14px;font-size:15px}.site-header{display:flex;direction:ltr;justify-content:space-between;align-items:center;gap:32px;min-height:115px}.brand{display:flex;flex-direction:column;line-height:1.1}.brand strong{font-family:Arial,sans-serif;font-size:34px;letter-spacing:-1.6px}.brand small{font-size:13px;color:var(--muted);margin-top:8px;letter-spacing:.1px}.main-nav{display:flex;direction:rtl;align-items:center;gap:36px;font-size:15px}.main-nav .button{order:-1}.nav-list{display:flex;gap:28px;list-style:none;margin:0;padding:0}.menu-toggle{display:none;background:none;color:var(--ink);border:1px solid var(--line);padding:10px 15px;font-size:14px}.cart-link{font-size:13px;color:var(--muted)}.hero{display:grid;grid-template-columns:1.45fr 1fr;direction:rtl;align-items:center;gap:60px;padding:35px 0 50px;min-height:400px}.hero h1{font-size:clamp(52px,6.5vw,94px);font-weight:800;letter-spacing:-.065em;line-height:1.3;margin:0 0 25px}.hero h1 span{color:var(--accent)}.hero-copy>p{font-size:20px;color:var(--muted);max-width:550px;line-height:1.9;margin-bottom:0}.hero-aside{align-self:center;text-align:left}.tiny-line{display:block;width:32px;height:1px;background:var(--muted);margin-bottom:22px}.hero-aside p{font-family:Arial,sans-serif;font-size:36px;color:var(--muted);letter-spacing:-1.5px;font-weight:500;line-height:1.25;margin-bottom:28px}.hero-aside .text-link{font-family:Arial,sans-serif;font-size:13px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;direction:rtl;border-top:1px solid var(--line);padding:28px 0 22px}.section-heading h2{font-size:34px;margin-bottom:0}.section-heading p{font-size:16px;margin:12px 0 0}.project-grid{display:grid;grid-template-columns:1fr 1fr;gap:34px 22px;direction:rtl}.project{min-width:0}.project-image{display:block;position:relative;background:var(--surface);overflow:hidden;aspect-ratio:1.57}.project-image img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}.project-image:hover img{transform:scale(1.025)}.project-open{position:absolute;left:16px;bottom:16px;width:42px;height:42px;display:grid;place-items:center;background:var(--accent);color:var(--bg);opacity:0;transition:opacity .2s}.project-image:hover .project-open,.project-image:focus-visible .project-open{opacity:1}.project-caption{display:flex;justify-content:space-between;align-items:center;padding:17px 0 0;direction:ltr}.project-caption h3{font:700 21px/1.4 Arial,sans-serif;letter-spacing:-.4px;margin:0}.project-caption p{font-size:13px;color:var(--muted);margin:3px 0 0}.project-index{color:var(--muted)}.missing-image{display:grid;place-items:center;height:100%;font-size:26px;padding:20px}.journal-section,.store-section{margin-top:70px}.empty-editorial{padding:52px 20px;text-align:center;border-block:1px solid var(--line)}.empty-editorial h2,.empty-editorial h3{font-size:29px;margin-bottom:15px}.empty-editorial p{color:var(--muted);margin:0}.store-empty{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:38px 0;border-block:1px solid var(--line)}.store-empty h3{font-size:31px;margin:0 0 13px}.store-empty p{color:var(--muted);margin:0}.store-empty>span{color:var(--muted);font:13px Arial,sans-serif;letter-spacing:2px;white-space:nowrap}.contact-band{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:65px 0 55px;direction:rtl}.contact-band h2{font-size:clamp(36px,4vw,62px);margin:0}.contact-band .button{padding:18px 26px}.footer-bottom{display:flex;align-items:center;justify-content:space-between;direction:ltr;border-top:1px solid var(--line);padding:24px 0 32px;font-size:12px;color:var(--muted);gap:24px}.footer-bottom>a{font:700 16px Arial,sans-serif}.footer-bottom>div{display:flex;align-items:center;flex-wrap:wrap;gap:22px;direction:rtl}.archive-page,.single-page,.project-detail,.page-content,.commerce-page{padding-block:45px 70px;min-height:55vh}.page-heading{padding-bottom:35px}.page-heading h1{font-size:clamp(38px,6vw,75px);margin:0 0 20px;overflow-wrap:anywhere}.page-heading h1 span{color:var(--accent)}.page-heading p{color:var(--muted);font-size:18px;max-width:750px}.filter-bar{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid var(--line);padding:22px 0 32px}.filter-bar button{color:var(--muted);background:none;border:1px solid var(--line);padding:9px 18px;font-size:14px}.filter-bar button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--bg)}.filter-bar button:hover{border-color:var(--muted)}.detail-cover{width:100%;max-height:750px;object-fit:contain;background:var(--surface);margin-bottom:45px}.prose{max-width:820px;font-size:18px;line-height:2.1;overflow-wrap:anywhere}.prose a{text-decoration:underline;text-underline-offset:4px}.prose h2{font-size:30px;margin-top:35px}.prose h3{font-size:24px;margin-top:25px}.prose p{margin-bottom:25px}.prose iframe,.prose video{max-width:100%}.prose blockquote{border-inline-start:3px solid var(--accent);padding-inline-start:25px;color:var(--muted)}.prose table{width:100%;border-collapse:collapse}.prose td,.prose th{border:1px solid var(--line);padding:12px}.prose pre{overflow:auto;direction:ltr;background:var(--surface);padding:20px}.page-prose{max-width:none}.article-row{display:grid;grid-template-columns:140px 1fr 30px;gap:30px;padding:30px 0;border-bottom:1px solid var(--line);align-items:start}.article-row time{font-size:13px;color:var(--muted)}.article-row h2{font-size:25px;margin:0 0 8px}.article-row p{margin:0;font-size:15px}.search-form{max-width:650px;margin-bottom:35px}.search-form label{display:block;color:var(--muted);font-size:14px;margin-bottom:8px}.search-form>div{display:flex;gap:10px}.search-form input{width:100%;min-width:0}.search-form input,input[type=text],input[type=email],input[type=password],input[type=tel],input[type=number],select,textarea{border:1px solid #636369;background:var(--surface);color:var(--ink);padding:12px;border-radius:0}.navigation{margin-top:35px}.nav-links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:15px}.page-numbers{padding:6px 13px}.page-numbers.current{background:var(--accent);color:var(--bg)}.screen-reader-text,.skip-link:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link:focus{position:fixed;z-index:100;top:10px;right:10px;background:var(--accent);color:var(--bg);padding:15px}.woocommerce{--wc-primary:var(--accent);--wc-primary-text:var(--bg)}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{border-radius:0;background:var(--accent);color:var(--bg);padding:14px 20px;line-height:1.4;font-size:15px}.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--ink);color:var(--bg)}.woocommerce div.product .product_title{font-size:40px}.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--accent)}.woocommerce ul.products li.product h2{font-size:20px}.woocommerce ul.products li.product a img{aspect-ratio:1.25;object-fit:cover}.woocommerce ul.products{margin-top:25px}.woocommerce-message,.woocommerce-info,.woocommerce-error{background:var(--surface);color:var(--ink)}.woocommerce-message{border-top-color:var(--accent)}.woocommerce table.shop_table{border-color:var(--line)}.woocommerce table.shop_table td{border-top-color:var(--line)}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{background:var(--surface);color:var(--ink);padding:12px}.woocommerce div.product .woocommerce-tabs ul.tabs li{border-color:var(--line);background:var(--surface);border-radius:0}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--bg);color:var(--ink)}.woocommerce div.product .woocommerce-tabs ul.tabs li a{color:var(--muted)}.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}.woocommerce form.checkout #payment{background:var(--surface)}.woocommerce form.checkout #payment div.payment_box{background:#29292d;color:var(--ink)}.woocommerce form.checkout #payment div.payment_box::before{border-bottom-color:#29292d}.woocommerce .quantity .qty{padding:10px;width:5em}.select2-container--default .select2-selection--single{background:var(--surface);border-color:#636369;border-radius:0;height:48px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:var(--ink);line-height:46px}.select2-dropdown{background:var(--surface)}.woocommerce .woocommerce-MyAccount-navigation ul{list-style:none;padding:0}.woocommerce .woocommerce-MyAccount-navigation li{border-bottom:1px solid var(--line);padding:12px}.woocommerce .woocommerce-MyAccount-navigation li.is-active{color:var(--accent)}
.journal-section .section-heading h2,.store-section .section-heading h2{font-size:48px}.empty-editorial h3{font-size:35px}.store-empty h3{font-size:35px}
@media(min-width:1500px){.hero h1{font-size:94px}}
@media(max-width:1000px){:root{--gutter:30px}.hero{gap:30px;grid-template-columns:1.7fr 1fr}.hero h1{font-size:64px}.hero-aside p{font-size:30px}.main-nav{gap:22px}.brand strong{font-size:29px}.hero-copy>p{font-size:18px}.contact-band h2{font-size:44px}}
@media(max-width:720px){:root{--gutter:22px}.site-header{min-height:94px;flex-wrap:wrap;gap:0;padding-block:20px}.brand strong{font-size:27px}.brand small{font-size:11px}.menu-toggle{display:block}.main-nav{width:100%;display:none;flex-direction:column;align-items:stretch;gap:0;padding-top:24px}.main-nav.is-open{display:flex}.main-nav>a{padding:12px 0;border-bottom:1px solid var(--line)}.main-nav .button{order:0;margin-top:15px;border:1px solid var(--line)}.nav-list{display:flex;flex-direction:column;gap:0}.nav-list a{display:block;padding:12px 0}.hero{display:flex;flex-direction:column;align-items:stretch;padding:35px 0 38px;gap:30px;min-height:0}.hero h1{font-size:clamp(39px,9.6vw,62px);letter-spacing:-.07em;margin-bottom:24px}.hero-copy>p{font-size:16px;max-width:440px}.hero-aside{align-self:stretch;display:flex;align-items:end;justify-content:space-between;gap:15px}.hero-aside .tiny-line{display:none}.hero-aside p{font-size:22px;margin:0;letter-spacing:-.5px}.hero-aside p br{display:none}.hero-aside .text-link{font-size:11px;gap:7px}.hero-aside .arrow{width:16px}.section-heading{padding:24px 0 20px}.section-heading h2{font-size:27px}.section-heading p{font-size:14px}.text-link{font-size:13px;gap:8px}.project-grid{grid-template-columns:1fr;gap:30px}.project-caption h3{font-size:21px}.project-image{aspect-ratio:1.28}.project-caption p{font-size:13px}.journal-section,.store-section{margin-top:46px}.empty-editorial{padding:34px 10px}.empty-editorial h2,.empty-editorial h3{font-size:23px}.empty-editorial p{font-size:14px}.store-empty{align-items:start;flex-direction:column;padding:28px 0;gap:20px}.store-empty h3{font-size:24px}.store-empty p{font-size:14px}.store-empty>span{font-size:11px}.contact-band{flex-direction:column;align-items:start;padding:42px 0;gap:28px}.contact-band h2{font-size:38px}.contact-band .button{padding:15px 20px;font-size:14px}.footer-bottom{align-items:start;flex-direction:column;gap:20px}.footer-bottom>div{gap:16px}.archive-page,.single-page,.project-detail,.page-content,.commerce-page{padding-block:30px 35px}.page-heading h1{font-size:42px}.page-heading p{font-size:16px}.filter-bar{gap:7px}.filter-bar button{font-size:12px;padding:8px 12px}.article-row{grid-template-columns:1fr 24px;gap:10px 20px}.article-row time{grid-column:1/-1}.article-row h2{font-size:23px}.prose{font-size:16px}.woocommerce div.product .product_title{font-size:31px}.woocommerce ul.products li.product{width:100%!important;float:none!important;margin-inline:0!important}.woocommerce table.shop_table_responsive tr td{overflow-wrap:anywhere}}
@media(max-width:720px){.journal-section .section-heading h2,.store-section .section-heading h2{font-size:30px}.empty-editorial h3{font-size:23px}.store-empty h3{font-size:24px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
