/* Vijenai 4 · frame in motion · white / charcoal / pistachio */
:root{--ink:#242824;--accent:#8EA85D;--line:#e5e8e1;--wash:#f7f8f5;--muted:#62685e;--radius:12px}
body{background:#fff;color:var(--ink)}
img{background:transparent}.brand-logo{width:184px;height:auto;max-height:64px;object-fit:contain;background:transparent;flex-shrink:0}.brand{display:inline-flex;align-items:center;flex-shrink:0}.brand-word{color:var(--ink)}.brand-word span{color:var(--accent)}
.wrap,.header-inner{width:min(1320px,calc(100% - 80px))}.header-inner{min-height:94px}.site-header nav{gap:28px;font-size:14px}.header-actions{gap:18px}.language-link{font-size:13px;border-inline-start:1px solid var(--line);padding-inline-start:18px;font-family:Arial,sans-serif}.site-header .button{font-size:13px;min-height:43px;padding:10px 20px}
.button,.filter-button{border-radius:10px;transition:background .2s,border-color .2s,color .2s}.button.primary,.filter-button.active{background:var(--accent);border-color:var(--accent);color:var(--ink)}.button.primary:hover{background:var(--accent);filter:brightness(.96)}.button:focus-visible,.filter-button:focus-visible,a:focus-visible{outline:2px solid var(--ink)}.text-link{text-decoration:none}.text-link:hover{text-decoration:underline}.icon{background:transparent!important;color:inherit}.icon-button{border-radius:50%}
.identity-hero{direction:ltr;grid-template-columns:54% 46%;min-height:510px;margin-bottom:40px;gap:0}.identity-hero .hero-art{grid-column:1;overflow:visible}.identity-hero .hero-art>img{width:100%;height:510px;object-fit:contain;object-position:center;animation:identity-art 1.05s cubic-bezier(.2,.7,.3,1) both}.identity-hero .hero-copy{grid-column:2;padding:30px 0 30px 24px;direction:rtl;text-align:right}.identity-hero .hero-copy h1{font-size:clamp(42px,4.9vw,72px);line-height:1.48;letter-spacing:-1.9px;white-space:normal;font-weight:850;animation:identity-copy .75s .25s both}.identity-hero .hero-copy p{font-size:23px;margin-top:10px;animation:identity-copy .7s .35s both}.identity-hero .button-row{gap:16px;animation:identity-copy .65s .45s both}.identity-hero .button{min-width:170px;padding:13px 22px;min-height:50px}.identity-hero::before{content:"";position:absolute;inset:10% 4% 8%;z-index:-1;background:url('../brand/motion-path.svg') no-repeat center/contain;pointer-events:none}
.home-section{margin-block:36px}.section-heading{margin-bottom:24px;padding-top:24px}.section-heading h2{font-size:30px;font-weight:800}.section-heading .text-link{font-size:13px;text-decoration:none}.featured-grid{direction:rtl;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.featured-card{direction:inherit}.featured-card>a{border-radius:12px}.featured-card img{height:auto;aspect-ratio:1;object-fit:cover;border-radius:12px}.card-caption{align-items:flex-start;padding:14px 0 0}.card-caption h3{font-size:20px;margin-bottom:5px}.card-caption p{font-size:13px;color:var(--muted)}.card-caption .icon-button{width:30px;height:30px;border:0;color:var(--accent);margin-top:0}.card-caption .icon{width:20px;height:20px}.featured-card,.project-tile,.article-card{min-width:0;transform:none!important;transition:none!important}.project-tile{border-radius:12px}.project-tile:hover,.featured-card:hover,.app-card:hover{height:auto;transform:none}.tile-play{background:#fff;color:var(--ink);border:1px solid var(--line)}
.home-services{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:28px 0 38px}.home-service{padding:12px 25px 10px;text-align:center;border-inline-start:1px solid var(--line)}.home-service:first-child{border-inline-start:0}.home-service .icon{width:42px;height:42px;margin-bottom:16px;stroke-width:1.25}.home-service h3{font-size:20px;margin-bottom:12px}.home-service p{font-size:14px;line-height:1.9;color:var(--muted);max-width:240px;margin:0 auto}.home-service:hover{text-decoration:none}.home-service:hover h3{text-decoration:underline;text-underline-offset:6px}
.apps-grid{gap:24px}.app-card{grid-template-columns:42% 58%;min-height:330px;border-radius:12px;border:1px solid #f0f2ed;background:#f6f7f3}.app-copy{padding:24px;min-width:0}.app-copy h3{font-size:29px;margin-bottom:12px}.app-copy p{font-size:14px;line-height:1.9;overflow-wrap:anywhere}.app-copy .text-link{font-size:13px;font-weight:600}.app-card img.app-logo,.app-logo{width:58px;height:58px;object-fit:contain;border-radius:12px;margin-bottom:16px;background:transparent}.app-art{min-width:0;align-self:stretch;display:flex;align-items:center}.app-art img{object-fit:contain;height:100%;width:100%;max-height:360px;padding:12px 8px 12px 0}.apps-grid.large .app-card{min-height:340px}
.article-card img{aspect-ratio:1.9;border-radius:12px}.article-card h3{font-size:21px;margin-top:12px;line-height:1.6}.article-card small{font-size:12px;margin-top:13px}.article-card img:hover{filter:brightness(.98)}
.closing{position:relative;isolation:isolate;overflow:hidden;border:0;background:#f7f8f5;border-radius:12px;margin-top:40px;padding:40px 34px;min-height:190px;gap:22px}.closing::before{content:"";position:absolute;inset:0;z-index:-1;background:url('../brand/motion-path.svg') center/cover no-repeat;opacity:.65}.closing h2{font-size:32px;line-height:1.7}.closing p{font-size:17px;color:var(--muted);margin:8px 0 0}.closing .button{flex-shrink:0;min-width:155px}.site-footer{border:0;margin-top:24px;padding-top:20px}.footer-top{padding-bottom:26px}.site-footer .brand-logo{width:155px}.footer-nav{gap:23px;font-size:12px}.footer-bottom{padding-top:16px;border-top:1px solid var(--line);margin:0;position:relative}.footer-bottom::before{content:"";position:absolute;top:-5px;inset-inline-start:50%;width:9px;height:9px;background:var(--accent);transform:rotate(45deg)}.footer-legal{display:flex;flex-wrap:wrap;gap:14px;font-size:11px}
.title-block h1{font-size:clamp(36px,4vw,58px)}.title-block p{font-size:18px}.split-hero img,.service-cover,.project-detail-media img{border-radius:12px}.service-tab,.service-group,.service-item,.panel,.stat,.admin-content-card,.invoice{border-radius:12px}.services-tabs .icon,.service-group>summary .icon{color:var(--ink);background:transparent}.choice{color:var(--ink)}.field small{color:var(--muted)}.field input,.field select,.field textarea{border-radius:9px}.notice{border-radius:10px}.project-viewer{border-radius:16px}.viewer-layout .button{color:var(--ink)}.viewer-media img{object-fit:contain}.filter-bar{flex-wrap:wrap}.app-logo-preview{width:96px;height:96px;object-fit:contain;padding:12px;border:1px solid var(--line);border-radius:12px}.app-cover-preview{max-width:100%;max-height:180px;object-fit:contain;border-radius:12px}.app-admin-title{display:flex;align-items:center;gap:12px}.app-admin-title .app-logo{width:44px;height:44px;margin:0}.app-admin-title h2{margin:0}.app-admin-grid .admin-content-card>img{aspect-ratio:4/3;object-fit:cover}.app-admin-grid .button-row{margin-bottom:16px}.app-editor .editor-heading{flex-wrap:wrap;gap:16px}.app-admin-grid form{margin-top:14px}
.admin-top .brand-logo{width:162px}.admin-sidebar a{border-radius:10px}.admin-sidebar a[aria-current]{background:#f0f3e9;color:var(--ink);border-inline-start:3px solid var(--accent);border-right:0}.admin-sidebar a .icon{color:var(--ink)}.admin-main .title-block h1{font-size:38px}.stats-grid .stat{color:var(--ink);background:#fff}.stat>.icon{color:var(--ink)}.admin-content-card p{overflow-wrap:anywhere}.editor-section{border-radius:10px}.invoice-head .brand-logo{width:175px}.invoice .total{background:#f0f3e9;color:var(--ink)}.settings-preview .brand-logo{width:190px}.reveal{opacity:1;transform:none}
html[dir=ltr] .identity-hero .hero-copy{grid-column:1;direction:ltr;text-align:left;padding:30px 24px 30px 0}html[dir=ltr] .identity-hero .hero-art{grid-column:2}html[dir=ltr] .featured-grid,html[dir=ltr] .featured-card{direction:ltr}html[dir=ltr] .icon-button .icon,html[dir=ltr] .text-link .icon,html[dir=ltr] .button .icon{transform:rotate(180deg)}html[dir=ltr] .home-service .icon{transform:none}html[dir=ltr] .admin-sidebar{border-left:0;border-right:1px solid var(--line)}
@keyframes identity-art{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes identity-copy{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(min-width:1500px){.identity-hero .hero-art>img{height:550px}.identity-hero{min-height:550px}}
@media(max-width:1150px){.wrap,.header-inner{width:calc(100% - 48px)}.brand-logo{width:155px}.site-header nav{gap:18px;font-size:13px}.header-actions{gap:12px}.identity-hero .hero-copy h1{font-size:52px}.identity-hero .hero-copy p{font-size:19px}.identity-hero .hero-art>img{height:440px}.identity-hero{min-height:440px}.app-copy{padding:20px 16px}.app-copy p{font-size:13px}.home-service{padding:12px 16px}.home-service h3{font-size:18px}}
@media(max-width:900px){.header-inner{min-height:80px}.site-header nav{top:80px;z-index:30}.header-actions{gap:12px}.site-header .brand-logo{width:143px}.site-header .button{font-size:12px;padding:9px 13px}.identity-hero .hero-copy h1{font-size:43px}.identity-hero .hero-copy p{font-size:16px}.identity-hero .hero-copy{padding-left:12px}.identity-hero .button{min-width:0;font-size:13px;padding:10px 14px}.home-services{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 0}.home-service:nth-child(3){border-inline-start:0}.apps-grid{grid-template-columns:1fr}.app-card{min-height:270px;grid-template-columns:38% 62%}.app-art img{max-height:320px}.article-grid{gap:18px}.article-card h3{font-size:18px}.footer-top{flex-wrap:wrap}.footer-bottom{flex-wrap:wrap}.closing h2{font-size:28px}.admin-top .brand-logo{width:140px}}
@media(max-width:600px){.wrap,.header-inner{width:calc(100% - 32px)}.header-inner{gap:10px;min-height:74px}.site-header nav{top:74px}.site-header .brand-logo{width:110px;max-height:38px}.header-actions{gap:8px}.header-actions .button{padding:8px 10px;font-size:11px;min-height:37px}.header-actions .button .icon{display:none}.login-link{font-size:12px}.language-link{font-size:11px;padding-inline-start:8px}.mobile-menu{width:34px;height:34px;border-radius:9px}.mobile-menu .icon{width:21px}.identity-hero{grid-template-columns:1fr;display:flex;flex-direction:column;margin:8px 0 28px;min-height:0;gap:0}.identity-hero .hero-art{width:100%;order:0}.identity-hero .hero-art>img{height:auto;aspect-ratio:1.55;object-fit:contain;animation-duration:.65s}.identity-hero .hero-copy,html[dir=ltr] .identity-hero .hero-copy{width:100%;order:1;padding:10px 0 0;text-align:start}.identity-hero .hero-copy h1{font-size:clamp(32px,8.8vw,42px);line-height:1.48;letter-spacing:-1px;margin-bottom:14px}.identity-hero .hero-copy p{font-size:16px;margin-top:0}.identity-hero .button-row{gap:12px;margin:18px 0 6px}.identity-hero .button{flex:1;min-height:45px;padding:10px 12px}.identity-hero::before{display:none}.section-heading h2{font-size:23px}.section-heading{padding-top:20px;margin-bottom:20px;gap:12px}.section-heading .text-link{font-size:11px;gap:6px;white-space:nowrap}.home-section{margin-block:24px}.featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}.featured-card img{aspect-ratio:1;height:auto}.card-caption{padding-top:10px}.card-caption h3{font-size:16px;line-height:1.65}.card-caption p{font-size:11px}.card-caption .icon-button{display:none}.home-services{margin:16px 0 24px;gap:25px 0}.home-service{padding:6px 14px}.home-service .icon{width:32px;height:32px;margin-bottom:12px}.home-service h3{font-size:16px;margin-bottom:9px}.home-service p{font-size:12px;line-height:1.85}.app-card{min-height:250px;grid-template-columns:46% 54%}.app-copy{padding:20px 15px}.app-copy h3{font-size:25px}.app-copy p{font-size:12px;line-height:1.8}.app-card img.app-logo{width:44px;height:44px;margin-bottom:12px}.app-copy .text-link{font-size:11px;gap:5px}.app-copy .text-link .icon{width:16px}.app-art img{padding:4px 0;max-height:270px}.article-grid{grid-template-columns:1fr;gap:25px}.article-card img{aspect-ratio:2}.article-card h3{font-size:20px}.article-card small{margin-top:10px}.closing{padding:24px 20px;display:flex;align-items:flex-start;flex-direction:column;min-height:190px}.closing h2{font-size:25px}.closing p{font-size:14px}.closing .button{min-width:0;min-height:42px;padding:10px 16px}.site-footer{margin-top:22px}.footer-top{gap:18px;padding-bottom:20px}.site-footer .brand-logo{width:128px}.footer-nav{width:100%;gap:15px;font-size:12px}.contact-links{gap:10px}.footer-bottom{align-items:flex-start;gap:16px;font-size:11px}.footer-legal{order:3;width:100%;gap:16px}.filter-bar{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;max-width:100%;padding:2px 2px 14px;margin-bottom:24px;scrollbar-width:thin}.filter-button{flex-shrink:0;white-space:nowrap;font-size:13px;min-height:42px;padding:9px 16px}.title-block h1{font-size:35px}.title-block p{font-size:16px}.admin-main .title-block h1{font-size:31px}.admin-top .brand-logo{width:115px}.app-editor .editor-heading h2{font-size:22px}.app-admin-grid{grid-template-columns:1fr}.viewer-layout{display:flex;flex-direction:column}.invoice-head .brand-logo{width:130px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.identity-hero .hero-art>img,.identity-hero .hero-copy h1,.identity-hero .hero-copy p,.identity-hero .button-row{animation:none;opacity:1;transform:none}*,*::before,*::after{transition-duration:0s!important}}
@media print{.identity-hero::before,.closing::before{display:none}.brand-logo{width:150px}.invoice .total{background:#f0f3e9!important;color:#242824!important}.invoice{border:0;border-radius:0}}
/* Keep URLs and English identifiers readable inside Persian forms. */
input[type=url],input[type=email],input[name=slug],input[name=url],input[name=logo],input[name=image],input[name=title_en],textarea[name=excerpt_en]{direction:ltr;text-align:left}
input[type=file]::file-selector-button{font:inherit;color:var(--ink);background:#f2f5ed;border:1px solid #dce3d3;border-radius:7px;padding:5px 10px;margin-inline-end:12px;cursor:pointer}
