/* DenaGraph 4.0: tested targeted finishing layer. */
:root{--dg40-ink:#112d3f;--dg40-ocean:#0b3546;--dg40-sand:#c68b51;--dg40-surface:#f5f4f1}
/* Header 25% shorter: 110 -> 82px; readable contrast and independent top bar. */
body .dg39-header.dg38-header{height:82px!important;--header:82px;background:linear-gradient(115deg,#f7f8f7,#e9f1f1)!important;color:#102e40!important;border-bottom:1px solid #b3cbd0!important;box-shadow:0 4px 16px #1031481e!important}
.dg39-utility{height:21px!important;background:#dce9eb!important;border-bottom:1px solid #c6d9de!important}
.dg39-utility-inner{height:21px!important;font-size:10px!important;color:#37566a!important}
body .dg39-header .dg39-header-inner{height:61px!important}
body .dg39-header .dg39-brand img{width:35px!important;height:35px!important}
body .dg39-header .dg39-brand strong{font-size:18px!important;color:#153649!important}
body .dg39-header .dg39-menu>li>a{color:#173d50!important;font-size:13px!important;font-weight:760!important}
body .dg39-header .dg39-menu>li>a:hover{color:#a56529!important}
body .dg39-header .dg34-menu-caret{color:#38627a!important}
body .dg39-header .dg39-cta{min-height:36px!important;padding:6px 11px!important;background:#14465b!important;border-radius:8px!important}
body .dg39-header .dg39-icon{width:34px;height:34px;background:#fff!important;color:#204d62!important}
body .dg39-header.dg38-header.dg38-scrolled{height:64px!important}
body .dg39-header.dg38-scrolled .dg39-utility{height:0!important;opacity:0!important}
body .dg39-header.dg38-scrolled .dg39-header-inner{height:64px!important}
body .site-content,body:has(.dg39-header.dg38-scrolled) .site-content{padding-top:82px!important}
body.admin-bar .dg39-header.dg38-header{top:32px!important}
body .dg39-header .dg39-submenu a{color:#1c4154!important}
/* Home hero halved to 350-390px; avoid old 560/790px min-height and huge type. */
body.home .dg38-hero,body.home .dg36-hero,body.front-page .dg38-hero{min-height:0!important;height:clamp(330px,45vh,405px)!important;max-height:405px!important;margin-top:14px!important;border-radius:19px!important}
body.home .dg38-hero .studio-hero-copy,body.front-page .dg38-hero .studio-hero-copy{width:min(720px,67%)!important;padding:18px 38px!important;align-self:center!important}
body.home .dg38-hero h1,body.front-page .dg38-hero h1{font-size:clamp(30px,3.2vw,54px)!important;line-height:1.5!important;margin:8px 0 9px!important;letter-spacing:-1px!important;max-width:660px!important}
body.home .dg38-hero .eyebrow{padding:4px 11px!important;font-size:10px!important}
body.home .dg38-hero .studio-hero-copy>p:not(.eyebrow){font-size:clamp(12px,1vw,15px)!important;line-height:1.8!important;max-width:580px!important;margin:8px 0!important}
body.home .dg38-hero .hero-actions{margin-top:13px!important;gap:9px!important}
body.home .dg38-hero .hero-actions .btn{min-height:40px!important;min-width:130px!important;padding:7px 15px!important;font-size:12px!important}
body.home .dg38-hero .preview-button{bottom:53px!important;min-width:110px!important;left:20px!important}
body.home .dg38-hero .dg38-hero-disciplines{bottom:11px!important;left:18px!important;right:36%!important;gap:5px!important}
body.home .dg38-hero .dg38-hero-disciplines span{padding:4px 8px!important;font-size:10px!important}
body.home .dg38-hero .dg36-scroll-hint{display:none!important}
body.home .dg38-hero .dg38-hero-frame{left:18px!important;top:16px!important}
[data-dg40-typewriter].dg40-typing:after{content:'|';font-weight:400;color:#eabb79;animation:dg40-caret .8s step-end infinite;display:inline-block;margin-inline:4px}
@keyframes dg40-caret{50%{opacity:0}}
/* Order page: compact only if independent studio hero is present. Existing Order Studio v4 is styled in its own plugin. */
.dg36-order-page .dg38-order-hero{min-height:300px!important;max-height:410px!important;padding:28px 0!important}
/* TimeCode 4-column cards / 16:9 thumbnails. Do not change download/product grid logic. */
body .studio-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;align-items:stretch}
body .studio-card{min-width:0!important;border-radius:12px!important}
body .studio-card .studio-card-media{aspect-ratio:16/9!important;width:100%!important;height:auto!important;overflow:hidden}
body .studio-card .studio-card-media img{width:100%!important;height:100%!important;aspect-ratio:16/9!important;object-fit:cover!important}
body .studio-card-copy{padding:10px 12px 13px!important}
body .studio-card-copy h3{font-size:clamp(13px,1.05vw,16px)!important;line-height:1.65!important;margin:4px 0 6px!important}
body .studio-card-copy small{font-size:11px!important}
body .dg36-card-order{font-size:11px!important;padding:8px 10px!important;min-height:36px!important;margin-top:10px!important}
.dg-original-track{gap:16px!important;padding:8px 0 14px!important}
.dg-original-card{flex:0 0 calc((100% - 48px)/4)!important;min-width:0!important;border-radius:12px!important}
.dg-original-card-media{aspect-ratio:16/9!important}
.dg-original-caption{padding:9px 12px 11px!important}.dg-original-caption strong{font-size:14px!important}.dg-original-caption span{font-size:11px!important}
/* Voiceover presence: image asset has actual microphone artwork, not a gray placeholder. */
.category-tile img[src*="service-voiceover"],img[src*="service-voiceover"]{object-fit:cover!important;background:#0d354b!important}
/* Compact, categorized footer */
body .dg40-footer{background:linear-gradient(125deg,#082739,#103950)!important;color:#eaf3f4!important;margin-top:35px!important;padding:0!important;min-height:0!important}
.dg40-footer-columns{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(4,minmax(130px,1fr));gap:clamp(15px,2vw,32px);padding:27px 0 21px;border-bottom:1px solid #ffffff24}
.dg40-footer-about{padding-inline-end:23px;border-inline-end:1px solid #ffffff25}
.dg40-footer-brand{display:block;color:#fff;font-size:22px;font-weight:900}.dg40-footer-brand span{color:#e6b475}
.dg40-footer-about p{color:#c1d8e3!important;font-size:12px!important;line-height:1.8!important;max-width:290px;margin:7px 0 12px!important}
.dg40-footer-columns nav{display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.dg40-footer-columns nav h3{font-size:14px;color:#efc386;margin:0 0 7px;font-weight:850}
.dg40-footer-columns nav a,.dg40-footer-cta{color:#d3e3e9!important;font-size:12px!important;text-decoration:none!important;padding:3px 0!important}
.dg40-footer-columns nav a:hover{color:#ffcd8c!important}
.dg40-footer-cta{display:inline-flex!important;background:#e5ac6b!important;color:#142c3b!important;border-radius:7px!important;padding:8px 11px!important;font-weight:800!important}
.dg40-footer-base{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:11px 0 13px;font-size:11px;color:#a9c8d6}
.dg40-footer-base a{color:#e4c297!important}.dg40-footer-base small{color:#a9c8d6!important;font-size:11px}
/* Admin dock: visible, focusable, and non-overlapping on mobile. */
.dg35-dock{z-index:1150!important}.dg35-dock a{color:#fff!important}
@media(max-width:1260px){body .studio-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.dg40-footer-columns{grid-template-columns:repeat(4,minmax(0,1fr))}.dg40-footer-about{grid-column:1/-1;border:0;border-bottom:1px solid #ffffff20;padding-bottom:10px}}
@media(max-width:1100px){body .dg39-header .dg39-nav{top:82px!important;max-height:calc(100svh - 82px)!important}body .dg39-header.dg38-scrolled .dg39-nav{top:64px!important;max-height:calc(100svh - 64px)!important}}
@media(max-width:780px){body .dg39-header.dg38-header{height:66px!important}body .dg39-header .dg39-header-inner{height:66px!important}.dg39-utility{display:none!important}body .site-content,body:has(.dg39-header.dg38-scrolled) .site-content{padding-top:66px!important}body .dg39-header .dg39-nav{top:66px!important;max-height:calc(100svh - 66px)!important}
 body.home .dg38-hero{height:385px!important;max-height:none!important;border-radius:15px!important;margin-top:10px!important}body.home .dg38-hero .studio-hero-copy{width:100%!important;padding:25px 20px 75px!important}body.home .dg38-hero h1{font-size:clamp(29px,7vw,42px)!important}body.home .dg38-hero .studio-hero-copy>p:not(.eyebrow){font-size:12px!important;line-height:1.7!important}body.home .dg38-hero .dg38-hero-disciplines{right:15px!important;left:15px!important;bottom:12px!important;justify-content:flex-start!important}body.home .dg38-hero .preview-button{display:none!important}
 body .studio-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.dg-original-card{flex-basis:calc((100% - 12px)/2)!important}.dg40-footer-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.dg40-footer-about{grid-column:1/-1}.dg40-footer-base{flex-wrap:wrap;justify-content:flex-start}
}
@media(max-width:510px){body .studio-grid{grid-template-columns:1fr!important}.dg-original-card{flex-basis:85%!important}body.home .dg38-hero{height:390px!important}body.home .dg38-hero .studio-hero-copy{padding:20px 17px 60px!important}body.home .dg38-hero .hero-actions .btn{min-width:105px!important;font-size:11px!important}.dg40-footer-columns{gap:15px}.dg40-footer-columns nav h3{font-size:13px}.dg40-footer-columns nav a{font-size:11px!important}}
@media(prefers-reduced-motion:reduce){[data-dg40-typewriter].dg40-typing:after{animation:none}.dg38-hero .studio-hero-image{animation:none!important}}
