/*
Theme Name: Faraji Law Atelier
Theme URI: https://farajilaw.com
Author: FARAJI LAW
Description: Bespoke bilingual, responsive law office theme.
Version: 1.6.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: farajilaw
*/
:root{--ink:#0d0c0b;--panel:#151310;--gold:#c9a46c;--bright:#edd7ae;--white:#f5eee1;--muted:#bdb2a2}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ink);color:var(--white);font-family:Tahoma,'Noto Naskh Arabic','Segoe UI',sans-serif;line-height:1.9}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}.wrap{max-width:1220px;margin:auto;padding:0 30px}.serif,.brand,.latin,.en h1,.en h2,.en h3{font-family:Georgia,'Times New Roman',serif}.eyebrow{font:11px Georgia,serif;letter-spacing:4px;color:var(--gold);text-transform:uppercase}.site-header{position:absolute;top:0;left:0;right:0;z-index:20;border-bottom:1px solid #ffffff18;background:linear-gradient(180deg,#070605a8,transparent)}.header-inner{min-height:103px;display:flex;gap:26px;align-items:center;justify-content:space-between}.brand{display:block;color:var(--bright);letter-spacing:1.2px;font-size:29px;line-height:1.1;white-space:nowrap}.brand small{display:block;font-size:9px;letter-spacing:3px;margin-top:8px}.menu{display:flex;gap:25px;align-items:center}.menu a{font-size:13px;color:#f7ecda}.menu a:hover,.lang a:hover{color:var(--gold)}.lang{white-space:nowrap;font:12px Georgia,serif;color:var(--gold)}.lang .current{color:white}.hamburger{display:none;background:none;border:1px solid #90744e;color:var(--bright);padding:4px 11px}.hero{position:relative;min-height:760px;display:flex;align-items:center;overflow:hidden;background:radial-gradient(ellipse at 78% 36%,#8b6540 0%,#35271a 32%,#0d0c0b 76%)}.hero:before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0,transparent 104px,#cba36c09 105px,#cba36c08 120px,transparent 140px),linear-gradient(90deg,#090807 0%,#0a0908 22%,transparent 74%);pointer-events:none}.hero-statue{position:absolute;right:3%;bottom:-13px;height:82%;width:auto;max-width:58%;object-fit:contain;object-position:bottom;filter:contrast(1.08) saturate(.82) drop-shadow(0 13px 33px #000b)}.hero-inner{position:relative;z-index:2;width:100%;padding-top:120px;padding-bottom:75px}.hero-copy{width:min(520px,52%);direction:rtl;text-align:right}.hero h1{font:clamp(45px,6vw,82px)/1.02 Georgia,serif;letter-spacing:2px;color:#f5e1c2;margin:15px 0 24px;direction:ltr;text-align:left}.hero h1 span{display:block}.hero-tag{font-size:clamp(19px,2.3vw,27px);line-height:1.8;color:var(--bright);font-weight:400;margin:0 0 20px}.gold-rule{width:60px;height:1px;background:var(--gold);margin:24px 0}.hero-sub{font:12px/2.1 Georgia,serif;letter-spacing:3px;color:#dac6a3;direction:ltr;text-align:left}.btns{display:flex;gap:13px;flex-wrap:wrap;margin-top:31px}.btn{border:1px solid var(--gold);padding:10px 26px;min-width:160px;text-align:center;font-size:13px;transition:all .2s}.btn:hover{background:#edcc94;color:#0f0c08}.btn.primary{background:var(--gold);color:#17120b}.btn.primary:hover{background:#ead1a6}.section{padding:76px 0}.section-title{text-align:center;font-size:30px;line-height:1.5;margin:0;color:var(--white)}.section-title:after{content:'';display:block;width:85px;height:1px;background:var(--gold);margin:15px auto 9px}.section-kicker{text-align:center;color:var(--gold);font:12px Georgia,serif;letter-spacing:4px;margin:0 0 44px}.practices{border-top:1px solid #9476505e;background:radial-gradient(circle at 50% 40%,#211a14,#0c0b0a 70%)}.practice-grid{display:grid;grid-template-columns:repeat(5,1fr)}.practice{padding:5px 20px 12px;text-align:center;border-inline-start:1px solid #ac8c5a3d;min-height:195px}.practice:last-child{border:0}.practice svg{width:44px;height:44px;fill:none;stroke:var(--gold);stroke-width:1.35;stroke-linejoin:round;margin:0 auto 12px}.practice h3{font-size:16px;margin:0 0 7px;line-height:1.6}.practice p{font:11px/1.7 Georgia,serif;letter-spacing:1px;color:var(--muted);margin:0}.about{display:grid;grid-template-columns:1fr 1fr;min-height:360px;background:#0c0b0a}.about-art{background:linear-gradient(90deg,#0b0a0900 65%,#0b0a09),linear-gradient(120deg,#72502a55,#0008),url('assets/law-library.jpg') center/cover;min-height:350px}.about-text{padding:55px clamp(30px,5vw,90px);direction:rtl;align-self:center}.about-text h2{font-size:29px;margin:0;color:#ecd5ad}.about-text .sub{font:11px Georgia,serif;letter-spacing:4px;color:var(--gold);margin:0 0 22px}.about-text p{color:#ded6c9;font-size:15px;line-height:2.35;margin-bottom:22px}.quote{border-block:1px solid #80623d70;background:repeating-linear-gradient(125deg,#21170f 0,#0a0908 40px,#15110e 90px);text-align:center;padding:45px 20px}.quote strong{font-size:23px;color:#dfbd86;font-weight:400}.quote small{display:block;margin-top:12px;color:#bca17d;font:11px Georgia,serif;letter-spacing:2px}.facts{background:#14110e;padding:42px 0}.facts-grid{display:grid;grid-template-columns:repeat(4,1fr)}.fact{padding:15px;text-align:center;border-inline-end:1px solid #987b523c}.fact:last-child{border:0}.fact-icon{font-size:27px;color:var(--gold)}.fact b{display:block;font-weight:500;font-size:15px;margin-top:5px}.fact small{display:block;font:10px Georgia,serif;letter-spacing:1.4px;color:#bca985;margin-top:5px}.articles{background:#0c0b0a}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.post-card{border:1px solid #735b3d70;padding:25px;background:#17130f}.post-card h3{font-size:18px}.post-card p{font-size:14px;color:#c9c0b0}.post-card a{color:var(--gold)}.contact{background:linear-gradient(105deg,#1d1711,#090807 63%);text-align:center;padding:70px 18px;border-top:1px solid #80623d6e}.contact h2{font-size:28px;color:#ebc995}.contact p{color:#d2c4af}.site-footer{border-top:1px solid #6d543745;padding:26px 0;background:#080807;color:#9f927f;font-size:12px}.footer-inner{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.standard-page{padding:165px 0 85px;min-height:70vh}.standard-page h1{color:var(--bright);font-size:36px}.standard-page p{max-width:850px}.en .hero-copy,.en .about-text{direction:ltr;text-align:left}.en .hero h1{text-align:left}.en .hero-tag{font-family:Georgia,serif}.en .hero-statue{right:3%}body:not(.en) .hero-copy{margin-right:auto;margin-left:0}body.en .hero-copy{margin-left:0}.screen-reader-text{position:absolute;left:-9999px}.wp-block-image img{max-width:100%;height:auto}@media(max-width:880px){.header-inner{min-height:82px}.brand{font-size:23px}.menu{display:none;position:absolute;top:80px;left:15px;right:15px;background:#15100deF;padding:23px;flex-direction:column;gap:14px;border:1px solid #765a36}.menu.open{display:flex}.hamburger{display:block}.hero{min-height:750px}.hero-statue{height:66%;right:-12%;bottom:0;max-width:84%;opacity:.77}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#080706df 10%,#08070675 55%,#08070622)}.hero-inner{z-index:3}.hero-copy{width:80%}.practice-grid{grid-template-columns:repeat(3,1fr);gap:25px}.practice{border:0}.about{grid-template-columns:1fr}.about-art{min-height:260px}.facts-grid{grid-template-columns:repeat(2,1fr);gap:18px}}@media(max-width:560px){.wrap{padding:0 21px}.header-inner{gap:12px}.brand{font-size:20px}.brand small{font-size:7px}.hero{min-height:770px;align-items:flex-start}.hero-inner{padding-top:175px}.hero-copy{width:100%}.hero h1{font-size:52px}.hero-tag{font-size:22px;max-width:320px}.hero-statue{height:52%;right:-18%;bottom:0;opacity:.58}.hero-sub{font-size:10px}.btn{min-width:0;padding:10px 15px}.section{padding:53px 0}.practice-grid{grid-template-columns:repeat(2,1fr);gap:14px}.practice{padding:15px 6px;min-height:185px}.practice h3{font-size:14px}.post-grid{grid-template-columns:1fr}.facts-grid{grid-template-columns:1fr 1fr}.fact{border:0}.about-text{padding:40px 25px}.quote strong{font-size:19px}}
/* FARAJI LAW v1.1 — refined typography, seamless hero, safe header */
:root{--gold:#cca570;--bright:#f0d7ad;--white:#f3eee7}
body{font-family: 'Noto Naskh Arabic','Vazirmatn','IRANSans','Segoe UI',Tahoma,sans-serif;letter-spacing:0;line-height:2}
.site-header{width:100%;overflow:visible;background:linear-gradient(180deg,rgba(7,6,5,.92),rgba(7,6,5,.50) 73%,transparent)}
.header-inner{max-width:1320px;min-width:0;direction:ltr;justify-content:space-between;gap:clamp(12px,2vw,32px)}
.brand{font-family:Georgia,'Times New Roman',serif;flex:0 0 auto;max-width:none;font-size:clamp(21px,2.5vw,30px);letter-spacing:.6px;white-space:nowrap;overflow:visible;line-height:1.15;text-align:left}
.brand small{font-size:9px;line-height:1.6;letter-spacing:2.3px}
.menu{direction:rtl;flex:0 1 auto;min-width:0;justify-content:center;gap:clamp(9px,1.6vw,26px)}
.menu a{white-space:nowrap;font-size:clamp(11px,.95vw,14px);font-weight:400}
.lang{flex:0 0 auto}
.hero{isolation:isolate;background:radial-gradient(ellipse at 78% 52%,#705139 0%,#211910 38%,#080706 79%)}
.hero:before{z-index:1;background:linear-gradient(90deg,#090807 0%,rgba(9,8,7,.92) 24%,rgba(9,8,7,.52) 49%,transparent 85%),linear-gradient(0deg,#0d0b09 0%,transparent 27%)}
.hero-statue{height:100%;width:69%;max-width:none;right:0;bottom:0;object-fit:cover;object-position:52% 32%;filter:saturate(.75) sepia(.2) contrast(1.07);opacity:.95;-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.15) 17%,#000 46%),linear-gradient(0deg,transparent 0%,#000 18%);mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.15) 17%,#000 46%);}
.hero-copy{position:relative;z-index:3;max-width:560px}
.hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(52px,5.7vw,78px);line-height:1.02;font-weight:400;letter-spacing:1px;overflow:visible;color:#f0d9b7}
.hero-tag{font-family:'Noto Naskh Arabic','Vazirmatn','IRANSans','Segoe UI',Tahoma,sans-serif;line-height:1.95;font-size:clamp(20px,2vw,26px);font-weight:400}
.section-title,.about-text h2,.contact h2{font-weight:500;letter-spacing:0}
.about-text p{line-height:2.55;font-weight:400}
@media(max-width:1050px){.header-inner{gap:14px}.menu{gap:11px}.brand{font-size:23px}.brand small{font-size:8px}}
@media(max-width:880px){.header-inner{min-height:85px}.site-header{background:linear-gradient(180deg,#080706ee,#08070670)}.menu{direction:rtl;position:absolute;z-index:30}.hero-statue{height:100%;width:100%;max-width:none;right:-18%;object-position:65% center;opacity:.72;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 52%);mask-image:linear-gradient(90deg,transparent 0%,#000 52%)}.hero:after{z-index:1;background:linear-gradient(90deg,#080706e8 0%,#08070680 62%,#08070630)}}
@media(max-width:560px){.header-inner{gap:7px}.brand{font-size:20px}.brand small{font-size:7px;letter-spacing:1.4px}.hero-statue{height:100%;width:130%;right:-50%;opacity:.53}.hero h1{font-size:clamp(44px,12vw,56px)}.hero-tag{font-size:20px}.hero-inner{padding-top:180px}.menu{top:79px}}

/* FL identity v1.2: elegant monogram / integrated Lady Justice */
.site-header{background:linear-gradient(180deg,rgba(8,7,6,.96) 0%,rgba(8,7,6,.52) 80%,transparent 100%);overflow:visible}
.header-inner{max-width:1320px;min-height:119px;align-items:center;gap:clamp(12px,2vw,30px)}
.brand-mark{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 171px;max-width:171px;min-width:0;line-height:1!important;text-align:center;letter-spacing:0;white-space:normal}
.brand-mark img{display:block;width:53px;height:61px;object-fit:contain;flex:0 0 auto}
.brand-mark span{font:400 11px/1.1 Georgia,'Times New Roman',serif;letter-spacing:2.8px;color:#dfc292;white-space:nowrap;margin-top:5px}
.menu{flex:1 1 auto;min-width:0;gap:clamp(11px,2vw,30px);justify-content:center}
.menu a{font-size:clamp(12px,.98vw,14px);font-weight:400}
.hero{min-height:780px;background:#0b0908;isolation:isolate}
.hero-statue{position:absolute!important;right:-1%!important;top:0!important;bottom:auto!important;width:77%!important;max-width:none!important;height:100%!important;object-fit:cover!important;object-position:center 27%!important;opacity:.92;filter:sepia(.14) contrast(1.08) brightness(.86) saturate(.8);-webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.24) 22%,black 48%),linear-gradient(to top,transparent 0%,black 20%);mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.24) 22%,black 48%);z-index:0}
.hero:before{inset:0;z-index:1;background:linear-gradient(90deg,#080706 0%,rgba(8,7,6,.97) 16%,rgba(8,7,6,.68) 41%,rgba(8,7,6,.10) 74%),linear-gradient(0deg,#090807 0%,transparent 29%),linear-gradient(180deg,#090807a3 0%,transparent 29%)}
.hero-inner{position:relative;z-index:2;padding-top:154px}
.hero-copy{width:min(575px,53%)}
.hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(54px,6.4vw,88px);font-weight:400;letter-spacing:2.1px;color:#ecd0a4}
.hero-tag{font-family:'Noto Naskh Arabic','Vazirmatn',Tahoma,sans-serif;font-weight:400;font-size:clamp(20px,2.1vw,28px);line-height:2;max-width:500px}
.eyebrow,.hero-sub,.section-kicker{font-family:Georgia,'Times New Roman',serif;letter-spacing:3px}
.section-title,.about-text h2,.contact h2{font-weight:500}
.about-text p{font-weight:400;line-height:2.45}
@media(max-width:900px){.header-inner{min-height:98px}.brand-mark{flex-basis:116px;max-width:116px}.brand-mark img{width:43px;height:50px}.brand-mark span{font-size:8px;letter-spacing:1.6px}.hero-statue{width:100%!important;right:-24%!important;opacity:.72}.hero:before{background:linear-gradient(90deg,#080706 0%,rgba(8,7,6,.85) 45%,rgba(8,7,6,.26) 100%),linear-gradient(0deg,#080706 0%,transparent 32%)}.hero-copy{width:75%}}
@media(max-width:600px){.header-inner{min-height:88px}.brand-mark{flex-basis:108px;max-width:108px}.brand-mark img{width:41px;height:46px}.brand-mark span{font-size:8px;letter-spacing:1.2px}.hero{min-height:740px}.hero-inner{padding-top:145px}.hero-copy{width:100%}.hero-statue{width:145%!important;right:-58%!important;opacity:.46}.hero:before{background:linear-gradient(90deg,#080706e8 0%,#080706b8 48%,#08070655 100%),linear-gradient(0deg,#080706 0%,transparent 35%)}.hero h1{font-size:clamp(45px,12vw,63px)}.hero-tag{font-size:20px}}

/* v1.3 — coordinated refined bilingual typography */
:root{--font-fa:'Vazirmatn','Noto Naskh Arabic',Tahoma,sans-serif;--font-en:'Cormorant Garamond',Georgia,'Times New Roman',serif}
body{font-family:var(--font-fa);font-weight:300;line-height:2;}
button,input,textarea,select{font-family:var(--font-fa)}
.menu a{font-family:var(--font-fa);font-weight:400;letter-spacing:0;font-size:clamp(12px,1vw,14px)}
.hero-tag{font-family:var(--font-fa);font-weight:300;line-height:2.05;letter-spacing:0;font-size:clamp(20px,2.1vw,27px)}
.hero h1{font-family:var(--font-en);font-weight:500;letter-spacing:1.6px;line-height:.94;font-size:clamp(60px,7vw,96px)}
.eyebrow,.hero-sub,.section-kicker,.quote small,.fact small,.practice p,.about-text .sub{font-family:var(--font-en);font-weight:500}
.eyebrow{font-size:14px;letter-spacing:3.1px}.hero-sub{font-size:16px;letter-spacing:2.6px;line-height:1.6}
.section-title,.about-text h2,.contact h2{font-family:var(--font-fa);font-weight:400;line-height:1.7;letter-spacing:-.3px}
.section-title{font-size:clamp(25px,2.4vw,32px)}.practice h3{font-family:var(--font-fa);font-weight:400;font-size:16px;line-height:1.9}
.about-text p{font-family:var(--font-fa);font-weight:300;font-size:15px;line-height:2.65}
.quote strong{font-family:var(--font-fa);font-weight:300;line-height:2}.fact b{font-family:var(--font-fa);font-weight:400}
.btn{font-family:var(--font-fa);font-weight:400;font-size:13px;letter-spacing:0}
.brand-mark span{font-family:var(--font-en);font-weight:600;font-size:13px;letter-spacing:2.3px}
.en{font-family:var(--font-en);font-size:19px;line-height:1.6}.en .menu a,.en .btn,.en .about-text p,.en .practice h3,.en .section-title,.en .about-text h2,.en .contact h2{font-family:var(--font-en)}
.en .menu a{font-size:17px}.en .practice h3{font-size:21px}.en .about-text p{font-size:21px;line-height:1.6}.en .hero-tag{font-family:var(--font-en);font-size:29px;line-height:1.25}
@media(max-width:600px){.hero h1{font-size:clamp(52px,12vw,70px);letter-spacing:.7px}.hero-sub{font-size:12px}.hero-tag{font-size:20px}.brand-mark span{font-size:10px;letter-spacing:1.1px}}

/* v1.4 — classical bilingual editorial typography, preserving artwork/layout */
:root{--font-fa:'Noto Naskh Arabic','Markazi Text',serif;--font-fa-title:'Markazi Text','Noto Naskh Arabic',serif;--font-en:'Bodoni Moda','Cormorant Garamond',Georgia,serif}
body{font-family:var(--font-fa);font-weight:400;line-height:2.05}
.menu a,.btn{font-family:var(--font-fa);font-weight:500}
.menu a{font-size:clamp(14px,1.12vw,16px)}
.hero h1{font-family:var(--font-en);font-weight:400;letter-spacing:1.1px;line-height:1.08;font-size:clamp(54px,6.5vw,86px)}
.hero-tag{font-family:var(--font-fa-title);font-weight:400;font-size:clamp(28px,2.8vw,38px);line-height:1.48;max-width:530px}
.section-title,.about-text h2,.contact h2{font-family:var(--font-fa-title);font-weight:500;font-size:clamp(35px,3.3vw,46px);line-height:1.35;letter-spacing:0}
.practice h3{font-family:var(--font-fa-title);font-size:24px;font-weight:500;line-height:1.35}
.about-text p,.post-card p,.contact p{font-family:var(--font-fa);font-size:17px;line-height:2.2;font-weight:400}
.quote strong{font-family:var(--font-fa-title);font-size:clamp(28px,3.2vw,39px);font-weight:400}
.fact b{font-family:var(--font-fa-title);font-size:23px;font-weight:500}
.brand-mark span{font-family:var(--font-en);font-size:12px;letter-spacing:2px;font-weight:400}
.eyebrow,.hero-sub,.section-kicker,.quote small,.fact small,.practice p,.about-text .sub{font-family:'Cormorant Garamond',Georgia,serif;font-weight:500}
.eyebrow{font-size:15px;letter-spacing:3px}.hero-sub{font-size:16px}
.en{font-family:'Cormorant Garamond',Georgia,serif}
.en .hero h1,.en .section-title,.en .about-text h2,.en .contact h2{font-family:var(--font-en)}
.en .menu a,.en .btn,.en .practice h3,.en .about-text p{font-family:'Cormorant Garamond',Georgia,serif}
.en .hero-tag{font-family:'Cormorant Garamond',Georgia,serif;font-size:31px;line-height:1.25}
@media(max-width:600px){.hero h1{font-size:clamp(46px,11vw,64px)}.hero-tag{font-size:29px;line-height:1.45}.section-title,.about-text h2{font-size:36px}.practice h3{font-size:23px}.about-text p{font-size:16px}.menu a{font-size:16px}}


/* v1.6 — illustrated legal practice medallions */
.practice-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;align-items:start}
.practice.practice-visual{border:0;min-height:auto;padding:6px 7px 22px}
.practice-medallion{width:min(100%,185px);aspect-ratio:1;margin:0 auto 19px;border:1px solid #c9a46c;border-radius:50%;padding:4px;overflow:hidden;background:radial-gradient(circle,#493223,#15110e);box-shadow:0 8px 35px #0008,0 0 0 1px #6c4c2980}
.practice-medallion img{width:100%;height:100%;display:block;object-fit:cover;border-radius:50%}
.practice-visual h3{font-size:clamp(19px,2vw,24px);line-height:1.45;max-width:250px;margin:0 auto 8px}
.practice-visual p{font-size:clamp(12px,1.3vw,15px);letter-spacing:.5px;line-height:1.2}
@media(max-width:990px){.practice-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.practice-medallion{max-width:175px}}
@media(max-width:600px){.practice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 8px}.practice-medallion{max-width:155px}.practice-visual h3{font-size:19px}.practice-visual p{font-size:12px}}
@media(max-width:370px){.practice-medallion{max-width:130px}}
