/* DENAGRAPH 4.1 — on-site rendering matching approved cinematic concept.
   Final stylesheet (enqueued after v4.0) intentionally owns navigation, hero and cards. */
:root{--dg41-accent:#ffb437;--dg41-navy:#071e30;--dg41-dark:#0c3046;--dg41-paper:#f2f6fc;--dg41-text:#0d2941}
html{scroll-padding-top:76px!important}body{background:var(--dg41-paper)!important;color:var(--dg41-text)!important;font-family:Vazirmatn, 'Segoe UI',Tahoma,sans-serif!important}
body button,body input,body select,body textarea,body a,body h1,body h2,body h3,body p{font-family:inherit}
/* Unified compact dark header, same on all pages, no pale text on white. */
body .site-header.dg39-header.dg38-header{height:72px!important;min-height:72px!important;top:0!important;background:linear-gradient(112deg,#061b2a,#0e344c 65%,#071a2b)!important;border-bottom:1px solid #789ba34d!important;box-shadow:0 8px 25px #03152330!important;color:#f1f7fc!important}
body.admin-bar .site-header.dg39-header.dg38-header{top:32px!important}
body .dg39-header .dg39-utility{display:none!important;height:0!important}
body .dg39-header .dg39-header-inner,body .dg39-header.dg38-scrolled .dg39-header-inner{height:72px!important;min-height:72px!important}
body .dg39-header.dg38-scrolled{height:72px!important}
body .site-content,body:has(.dg39-header.dg38-scrolled) .site-content{padding-top:72px!important}
body .dg39-header .dg39-brand strong{color:#f7fbff!important;font-size:20px!important}
body .dg39-header .dg39-brand small{color:#b9d1df!important;font-size:9px!important}
body .dg39-header .dg39-brand{border-inline-start:2px solid var(--dg41-accent);padding-inline-start:13px;gap:10px}
body .dg39-header .dg39-brand img{width:40px!important;height:43px!important;object-fit:contain}
body .dg39-header .dg39-menu>li>a{color:#eaf4fd!important;font-size:13px!important;font-weight:750!important;text-shadow:none!important}
body .dg39-header .dg39-menu>li>a:hover,body .dg39-header .dg39-menu>li.current-menu-item>a{color:var(--dg41-accent)!important}
body .dg39-header .dg34-menu-caret{color:#cadce8!important}
body .dg39-header .dg39-cta{background:var(--dg41-accent)!important;border-color:var(--dg41-accent)!important;color:#0b263c!important;border-radius:9px!important;box-shadow:0 6px 18px #ffb43726!important}
body .dg39-header .dg39-cta:hover{filter:brightness(1.05)!important;transform:translateY(-1px)!important}
body .dg39-header .dg39-icon{border-color:#62809275!important;color:#edf5fa!important;background:#ffffff0b!important;border-radius:10px!important}
body .dg39-header .dg39-icon:hover{background:#ffffff25!important;color:#fff!important}
body .dg39-header .menu-toggle{color:white!important;background:#ffffff15!important;border-color:#ffffff30!important}
body .dg39-header .dg39-submenu{background:#0c3048!important;border:1px solid #345c72!important;color:#eff6fa!important;box-shadow:0 18px 40px #001b2c7a!important}
body .dg39-header .dg39-submenu li a{color:#f1f7fa!important;background:transparent!important}
body .dg39-header .dg39-submenu li a:hover,body .dg39-header .dg39-submenu li a:focus-visible{background:#ffffff16!important;color:var(--dg41-accent)!important}
body .dg39-header .dg39-submenu li a:before{background:var(--dg41-accent)!important}
body .dg39-header .dg39-search{background:#0b293d!important;color:#fff!important;border-color:#274e66!important}
body .dg39-header .dg39-search label{color:#fff!important}
body .dg39-header .dg39-search input{background:#f4f7fc!important;color:#0c2a3d!important}
/* Home: actual photographed microphone and 1/2 previous height, not the abstract placeholder. */
body.home .studio-hero.dg38-hero,body.front-page .studio-hero.dg38-hero{height:clamp(320px,43vh,380px)!important;min-height:320px!important;max-height:380px!important;margin-top:0!important;padding:0!important;border-radius:0!important;box-shadow:0 13px 40px #0a233128!important;background:#071d30!important;width:100%!important;overflow:hidden!important}
body.home .studio-hero.dg38-hero .studio-hero-image,body.front-page .studio-hero.dg38-hero .studio-hero-image{width:59%!important;height:100%!important;inset:0 auto 0 0!important;left:0!important;right:auto!important;object-fit:cover!important;object-position:center 38%!important;filter:saturate(1.03) contrast(1.02)!important;animation:dg41-photo-drift 20s ease-in-out infinite alternate!important;transform-origin:45% center!important}
@keyframes dg41-photo-drift{0%{transform:scale(1)}100%{transform:scale(1.07)}}
body.home .studio-hero.dg38-hero:after,body.front-page .studio-hero.dg38-hero:after{background:linear-gradient(270deg,#061c2dfd 0%,#07253be9 41%,#0721364c 65%,#092c3336 100%)!important}
body.home .studio-hero.dg38-hero .studio-hero-copy,body.front-page .studio-hero.dg38-hero .studio-hero-copy{width:min(760px,55%)!important;max-width:55%!important;position:relative!important;z-index:5!important;padding:22px 0 56px 35px!important;margin-inline-start:clamp(40px,5vw,90px)!important;align-self:center!important;transform:none!important}
body.home .studio-hero.dg38-hero h1,body.front-page .studio-hero.dg38-hero h1{font-size:clamp(30px,3vw,54px)!important;line-height:1.45!important;letter-spacing:-.025em!important;margin:6px 0 10px!important;max-width:690px!important;font-weight:900!important}
body.home .studio-hero.dg38-hero h1 em{color:var(--dg41-accent)!important}
body.home .studio-hero.dg38-hero .eyebrow{background:transparent!important;border:0!important;color:#e0d6bb!important;letter-spacing:.1em!important;font-size:11px!important;padding:2px 0!important}
body.home .studio-hero.dg38-hero .studio-hero-copy>p:not(.eyebrow){color:#d4e4ed!important;font-size:clamp(12px,.95vw,15px)!important;line-height:1.85!important;margin:4px 0 14px!important}
body.home .studio-hero.dg38-hero .hero-actions{display:flex!important;gap:11px!important;margin:14px 0 0!important}
body.home .studio-hero.dg38-hero .hero-actions a{background:var(--dg41-accent)!important;border:1px solid var(--dg41-accent)!important;border-radius:10px!important;color:#082339!important;min-width:155px!important;min-height:44px!important;padding:9px 17px!important;font-size:13px!important;font-weight:800!important;box-shadow:none!important;pointer-events:auto!important}
body.home .studio-hero.dg38-hero .hero-actions a.btn-glass{background:#062e448f!important;color:#eef8fa!important;border-color:#88acb875!important}
body.home .studio-hero.dg38-hero .dg38-hero-frame{top:16px!important;left:17px!important}
body.home .studio-hero.dg38-hero .dg41-services{bottom:13px!important;left:12px!important;right:40%!important;display:flex!important;justify-content:flex-start!important;align-items:center!important;gap:6px!important;pointer-events:auto!important;flex-wrap:wrap!important}
body.home .studio-hero.dg38-hero .dg41-services a{pointer-events:auto!important;display:flex!important;align-items:center!important;border:1px solid #89b9c350!important;border-radius:11px!important;background:#082338d9!important;backdrop-filter:blur(5px)!important;color:#fff!important;font-size:11px!important;font-weight:750!important;line-height:1.5!important;text-decoration:none!important;padding:8px 10px!important;transition:background .2s,color .2s!important}
body.home .studio-hero.dg38-hero .dg41-services a:hover,body.home .studio-hero.dg38-hero .dg41-services a:focus-visible{border-color:var(--dg41-accent)!important;color:var(--dg41-accent)!important;background:#041b2a!important}
body.home .studio-hero.dg38-hero .preview-button{left:19px!important;top:17px!important;bottom:auto!important;border:1px solid #ffba488e!important;background:#071e32d9!important;font-size:11px!important;line-height:1.5!important;min-width:0!important;width:auto!important;height:auto!important;padding:7px 11px!important;border-radius:9px!important;z-index:8!important;color:white!important;display:inline-flex!important;gap:7px!important;align-items:center!important;box-shadow:none!important}
body.home .studio-hero.dg38-hero .preview-button span:last-child{display:inline!important}
body.home .studio-hero.dg38-hero .preview-button span:first-child{font-size:19px!important}
body.home .studio-hero.dg38-hero .dg36-scroll-hint{display:none!important}
/* Service cards: all images are now packaged; image and label readable. */
body .category-tiles{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}
body .category-tile{aspect-ratio:16/9!important;min-height:120px!important;position:relative!important;overflow:hidden!important;border-radius:13px!important;background:#0b3044!important;border:1px solid #b3ccd9!important;box-shadow:0 8px 23px #112f4819!important}
body .category-tile img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;opacity:.82!important}
body .category-tile:after{content:'';position:absolute;inset:20% 0 0;background:linear-gradient(0deg,#071a2bf5,transparent);z-index:1;pointer-events:none}
body .category-tile h3{position:absolute!important;right:13px;bottom:12px;z-index:2!important;color:#fff!important;font-size:14px!important;font-weight:850!important;text-shadow:0 2px 7px #0009!important}
body .category-tile span{position:absolute!important;left:13px;bottom:13px;z-index:2!important;color:var(--dg41-accent)!important;font-size:11px!important;opacity:1!important;max-height:none!important}
body .category-tile:hover img{transform:scale(1.055)}
/* TimeCode proportions: 4 columns, landscape previews; real WordPress projects stay data-driven. */
body .studio-grid:not(.shop-grid){display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:15px!important}
body .studio-card{background:white!important;border-radius:13px!important;border:1px solid #dbe6ef!important;box-shadow:0 9px 27px #10294712!important;overflow:hidden!important}
body .studio-card .studio-card-media{aspect-ratio:16/9!important;position:relative!important;overflow:hidden!important;min-height:0!important;height:auto!important}
body .studio-card .studio-card-media img{height:100%!important;width:100%!important;object-fit:cover!important;object-position:center!important}
body .studio-card-copy{padding:11px 13px 13px!important}
body .studio-card-copy h3{font-size:14px!important;font-weight:800!important;line-height:1.6!important}
body .studio-card .dg36-card-order{background:#0e3146!important;color:#fff!important;display:flex!important;justify-content:center!important;min-height:35px!important;align-items:center;border-radius:7px!important}
body .studio-card .dg36-card-order:hover{background:#14536d!important}
/* Actual admin action visible on portfolio and shop, not in WP dashboard. */
.dg41-create-row{display:flex;align-items:center;gap:12px;justify-content:flex-start;margin:6px 0 20px!important;direction:rtl}
.dg41-create-trigger{display:inline-flex;align-items:center;justify-content:center;min-height:42px!important;background:#2458ef!important;color:white!important;border:1px solid #2458ef!important;font-weight:800!important;border-radius:10px!important;padding:8px 17px!important;box-shadow:0 6px 15px #2458ef28!important}
.dg41-create-trigger:hover{background:#1344c6!important}.dg41-create-row span{font-size:12px;color:#617a90}.dg41-shop-create-slot{margin-bottom:13px}
/* Footer condensed, neatly categorized. */
body .dg41-footer{margin-top:30px!important;background:linear-gradient(125deg,#071b2c,#0b3045)!important;min-height:0!important;color:white!important}
body .dg41-footer .dg41-footer-columns{display:grid!important;grid-template-columns:minmax(230px,1.6fr) repeat(5,minmax(100px,1fr));gap:23px!important;padding:22px 0 19px!important;border-bottom:1px solid #94bbce39!important}
.dg41-footer-columns nav{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important}
.dg41-footer-columns nav h3{color:var(--dg41-accent)!important;font-size:13px!important;margin:0 0 7px!important}
.dg41-footer-columns nav a{color:#c9dce9!important;font-size:11px!important;text-decoration:none!important;line-height:1.7!important;padding:1px 0!important}
.dg41-footer-columns nav a:hover{color:var(--dg41-accent)!important}
.dg41-footer-brand{display:grid;grid-template-columns:43px 1fr;align-content:start;gap:1px 7px;padding-left:15px;border-left:1px solid #7195aa50}
.dg41-footer-brand img{grid-row:span 2;height:42px;width:42px;object-fit:contain}
.dg41-footer-brand strong{font-size:21px;line-height:1.3;color:white}.dg41-footer-brand small{font-size:9px;color:#91b6cc}.dg41-footer-brand p{grid-column:span 2;color:#b3ccdd!important;font-size:11px!important;line-height:1.7!important;margin:9px 0 0!important}
.dg41-footer-base{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 0!important;color:#b5cddd!important;font-size:11px}
.dg41-footer-base small{font-size:11px;color:#b5cddd}.dg41-footer-base div{display:flex;gap:17px;flex-wrap:wrap}
.dg41-footer-base a{color:#c4d7e4!important}.dg41-footer-base a:hover{color:var(--dg41-accent)!important}
@media(max-width:1280px){body .dg41-footer .dg41-footer-columns{grid-template-columns:repeat(4,minmax(0,1fr))}.dg41-footer-brand{grid-column:span 2}body .category-tiles{grid-template-columns:repeat(3,minmax(0,1fr))!important}body .studio-grid:not(.shop-grid){grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:1100px){body .dg39-header.dg38-header .dg39-nav{top:72px!important;max-height:calc(100svh - 72px)!important;background:#0b3046!important}body .dg39-header .dg39-submenu{background:#133f57!important}body .dg39-header .dg39-menu>li>a{color:white!important}body .dg39-header .menu-toggle{display:block!important}}
@media(max-width:780px){body.admin-bar .dg39-header.dg38-header{top:46px!important}body .site-content{padding-top:65px!important}body .site-header.dg39-header.dg38-header{height:65px!important;min-height:65px!important}body .dg39-header .dg39-header-inner{height:65px!important;min-height:65px!important}body .dg39-header.dg38-header .dg39-nav{top:65px!important}
 body.home .studio-hero.dg38-hero{min-height:420px!important;max-height:none!important;height:420px!important}
 body.home .studio-hero.dg38-hero .studio-hero-image{width:100%!important;object-position:center!important;opacity:.46!important}
 body.home .studio-hero.dg38-hero:after{background:linear-gradient(0deg,#051c2bf7,#092738bb)!important}
 body.home .studio-hero.dg38-hero .studio-hero-copy{max-width:100%!important;width:100%!important;margin:0!important;padding:18px 18px 106px!important}
 body.home .studio-hero.dg38-hero h1{font-size:clamp(28px,6.5vw,40px)!important}
 body.home .studio-hero.dg38-hero .preview-button{display:none!important}
 body.home .studio-hero.dg38-hero .dg41-services{right:12px!important;left:12px!important;bottom:11px!important}
 body .category-tiles{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body .studio-grid:not(.shop-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body .dg41-footer .dg41-footer-columns{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:19px!important}
 .dg41-footer-brand{grid-column:1/-1}.dg41-footer-base{align-items:flex-start;flex-wrap:wrap}
}
@media(max-width:500px){body.home .studio-hero.dg38-hero{height:440px!important}body.home .studio-hero.dg38-hero .studio-hero-copy{padding:25px 16px 143px!important}body.home .studio-hero.dg38-hero .dg41-services a{font-size:9px!important;padding:6px 7px!important}body .studio-grid:not(.shop-grid){grid-template-columns:1fr!important}body .category-tiles{gap:8px!important}body .category-tile h3{font-size:12px!important}body .category-tile span{font-size:9px!important}.dg41-create-row{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){body .dg38-hero .studio-hero-image{animation:none!important}body .category-tile img{transition:none!important}}

/* 4.2 final pass — consistent accepted Dena Graph concept. */
body .dg39-header .dg39-menu>li>a{opacity:1!important;text-shadow:none!important;color:#f5f8fc!important}
body .dg39-header .dg39-menu>li.current-menu-item>a{color:var(--dg41-accent)!important}
body .dg39-header .dg39-header-inner{max-width:1680px!important;gap:18px!important}
body .site-content .dg41-create-trigger,body .site-content .dg41-create-trigger:hover{background:var(--dg41-accent)!important;color:#092338!important;border-color:var(--dg41-accent)!important;font-weight:850!important;box-shadow:0 6px 18px #cf841a2b!important}
body .studio-grid:not(.shop-grid)>.studio-card{min-width:0!important;display:flex!important;flex-direction:column!important}
body .studio-grid:not(.shop-grid)>.studio-card .studio-card-copy{display:flex!important;flex:1!important;flex-direction:column!important;gap:5px!important}
body .studio-card .dg36-card-order{margin-top:auto!important}
body .studio-grid.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body .shop-layout>div{min-width:0!important}
body .shop-grid>.studio-card{min-width:0!important}
body .dg41-footer{margin-top:28px!important}
body .dg41-services a{min-height:36px!important}
body .dg41-service-voiceover::before{content:'♬';font-size:19px;color:var(--dg41-accent)}
body .dg41-service-motion::before{content:'◇';font-size:19px;color:var(--dg41-accent)}
body .dg41-service-filming::before{content:'▣';font-size:17px;color:var(--dg41-accent)}
body .dg41-service-animation::before{content:'◉';font-size:17px;color:var(--dg41-accent)}
body .dg41-service-design::before{content:'✎';font-size:18px;color:var(--dg41-accent)}
body.home .studio-hero.dg38-hero .dg41-services a{gap:8px!important}
body .dg41-create-row span{color:#51677b!important}
body .studio-card .dg35-card-edit{background:var(--dg41-accent)!important;color:#091e32!important;border:0!important;border-radius:7px!important}
/* Quiet empty state instead of giant blank grid. Do not fabricate works. */
body .studio-grid:empty:after{content:'هنوز اثری ثبت نشده است.';padding:30px;color:#47677c}
body .shop-layout .studio-grid{align-items:start!important}
@media(max-width:1000px){body .studio-grid.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){body .studio-grid.shop-grid{grid-template-columns:1fr!important}}
