/* DefenceXpress v0.18 R9 — premium public experience refinement */
:root{--r9-gold:#f7c34c;--r9-gold2:#ffe8a1;--r9-cyan:#23c5ff;--r9-deep:#020914;--r9-panel:#061625;--r9-line:#19445f}
/* Sharper imagery: preserve cinematic contrast without hiding the artwork */
.home-hero .hero-media{opacity:.98!important;filter:brightness(.96) saturate(1.12) contrast(1.04)!important}
.page-hero .hero-media{opacity:.97!important;filter:brightness(.96) saturate(1.10) contrast(1.04)!important}
.hero-shade{background:linear-gradient(90deg,rgba(2,9,20,.90) 0%,rgba(2,9,20,.78) 32%,rgba(2,9,20,.35) 62%,rgba(2,9,20,.05) 100%),linear-gradient(180deg,rgba(2,9,20,.04),rgba(2,9,20,.32))!important}
.page-hero .hero-shade{background:linear-gradient(90deg,rgba(2,9,20,.88) 0%,rgba(2,9,20,.72) 38%,rgba(2,9,20,.25) 70%,rgba(2,9,20,.04) 100%)!important}
.feature>img{opacity:.96!important;filter:saturate(1.08) contrast(1.04)}
.feature:after{background:linear-gradient(180deg,rgba(2,16,29,.02) 12%,rgba(2,16,29,.78) 82%)!important}
/* Stronger but restrained header branding */
.dx8-header{height:106px!important}.dx8-brand{gap:15px!important;min-width:330px!important}.dx8-brand img{width:90px!important;height:90px!important;flex:0 0 90px!important}.dx8-brand-title{font-size:1.34rem!important}.dx8-brand-sub{font-size:.61rem!important}.dx8-nav>a,.dx8-nav details>summary{padding:41px 0 36px!important}.dx8-more-menu{top:88px!important}
.dx8-footer-brand img{width:52px!important;height:52px!important;max-width:52px!important}.dx8-footer-brand strong{font-size:.95rem!important}
/* Premium 3D icon family for public-facing cards */
.premium-icon{width:72px;height:72px;object-fit:contain;filter:drop-shadow(0 10px 22px rgba(0,0,0,.45));flex:none}.premium-icon.sm{width:58px;height:58px}.premium-icon.lg{width:92px;height:92px}
.premium-icon-ring{width:84px;height:84px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 40% 30%,rgba(44,126,173,.24),rgba(4,17,30,.9) 70%);border:1px solid rgba(92,191,241,.28);box-shadow:inset 0 0 28px rgba(32,163,224,.08),0 18px 44px rgba(0,0,0,.22)}
/* Image-backed cards inspired by the approved Beyond Static Guarding treatment */
.role-action-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.role-action-card{position:relative;overflow:hidden;min-height:420px;border:1px solid #1e4a66;border-radius:18px;background:#061625;isolation:isolate}.role-action-card>.role-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-3;filter:saturate(1.07) contrast(1.03)}.role-action-card:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,9,20,.18) 0%,rgba(2,9,20,.74) 46%,rgba(2,9,20,.98) 100%);z-index:-2}.role-action-body{height:100%;padding:24px;display:flex;flex-direction:column}.role-action-card h3{font-size:1.45rem;line-height:1.05;margin:14px 0 10px}.role-action-card p{color:#d4e0e9;margin:0 0 13px;font-size:.9rem}.role-action-card ul{margin:0 0 20px;padding:0;list-style:none;display:grid;gap:8px}.role-action-card li{font-size:.83rem;color:#edf5fa;padding-left:20px;position:relative}.role-action-card li:before{content:"✓";position:absolute;left:0;color:var(--r9-gold);font-weight:900}.role-action-card .btn{margin-top:auto;align-self:flex-start}
/* USP image cards */
.usp-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.usp-card{position:relative;min-height:320px;border:1px solid #214f6c;border-radius:18px;overflow:hidden;background:#061625;isolation:isolate}.usp-card>img.usp-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-3;filter:saturate(1.06) contrast(1.04)}.usp-card:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,9,20,.94),rgba(2,9,20,.72) 58%,rgba(2,9,20,.18));z-index:-2}.usp-content{padding:26px;max-width:72%}.usp-content h3{font-size:1.42rem;margin:12px 0 10px}.usp-content p{color:#d5e1ea;font-size:.92rem}.usp-list{display:grid;gap:9px;margin-top:16px}.usp-list div{display:flex;gap:9px;align-items:flex-start;font-size:.84rem;color:#e7f0f6}.usp-list div:before{content:"✓";color:var(--r9-gold);font-weight:900}
/* Premium category ribbon */
.premium-category-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:13px}.premium-category{border:1px solid #173f59;border-radius:15px;background:linear-gradient(150deg,#071a2a,#04111d);padding:15px 10px 14px;text-align:center;min-height:152px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.premium-category img{width:72px;height:72px;object-fit:contain;margin-bottom:8px}.premium-category strong{font-size:.75rem;line-height:1.18;color:#edf6fb}.premium-category span{font-size:.66rem;color:#88a0b3;margin-top:4px}
/* Sharper service cards with premium icon option */
.service-card.premium-service{align-items:center;min-height:112px;background:linear-gradient(145deg,#071a2a,#04111d);border-color:#1b4560}.service-card.premium-service img{width:62px!important;height:62px!important;object-fit:contain}.service-card.premium-service h3{font-size:1rem}.service-card.premium-service p{font-size:.80rem}
/* Capability data / client value blocks */
.value-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px}.value-pill{border:1px solid #1c465f;border-radius:13px;background:#071724;padding:15px}.value-pill strong{display:block;color:#f4f8fb;font-size:.9rem}.value-pill span{display:block;color:#9eb2c2;font-size:.76rem;margin-top:5px}
.free-tool-note{border:1px solid rgba(247,195,76,.42);background:linear-gradient(135deg,rgba(67,49,8,.52),rgba(9,24,36,.92));border-radius:16px;padding:20px 22px;display:flex;gap:18px;align-items:center;margin-top:18px}.free-tool-note strong{font-size:1.05rem;color:#fff}.free-tool-note p{margin:4px 0 0;color:#d6e1e9;font-size:.88rem}
/* Role-specific action cards */
.action-list{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.action-card{border:1px solid #19425c;border-radius:16px;background:linear-gradient(145deg,#071a2a,#04111d);padding:20px}.action-card h3{margin:8px 0 7px;font-size:1.04rem}.action-card p{margin:0;color:#a9bdcd;font-size:.84rem}
/* Challenge visuals */
.scenario-visual img.photo{filter:none!important;opacity:1!important}.scenario-visual:after{background:linear-gradient(180deg,rgba(2,9,20,.02),rgba(2,9,20,.22))!important}.challenge-shell{box-shadow:0 24px 80px rgba(0,0,0,.24)}
/* AI officers */
.officer img{filter:none!important}.officer{box-shadow:0 12px 34px rgba(0,0,0,.16)}
/* ITSC guardrail: preserve earlier page, only constrain seal */
.council-page .seal,.council-page img[src*="international-tactical-standards-council-seal"]{max-width:165px!important;width:min(165px,38vw)!important;height:auto!important}
/* Responsive */
@media(max-width:1250px){.premium-category-grid{grid-template-columns:repeat(4,1fr)}.role-action-grid{grid-template-columns:repeat(2,1fr)}.action-list{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.dx8-header{height:88px!important}.dx8-brand{min-width:0!important}.dx8-brand img{width:70px!important;height:70px!important;flex-basis:70px!important}.dx8-brand-title{font-size:1.08rem!important}.dx8-nav{top:82px!important}.usp-grid,.value-strip{grid-template-columns:1fr 1fr}.usp-content{max-width:84%}}
@media(max-width:720px){.role-action-grid,.usp-grid,.premium-category-grid,.value-strip,.action-list{grid-template-columns:1fr}.role-action-card{min-height:380px}.usp-card{min-height:330px}.usp-content{max-width:92%}.free-tool-note{align-items:flex-start}.page-hero .hero-media{object-position:center}.page-hero .hero-shade{background:linear-gradient(180deg,rgba(2,9,20,.38),rgba(2,9,20,.88))!important}}
@media(max-width:520px){.dx8-brand img{width:66px!important;height:66px!important;flex-basis:66px!important}.dx8-brand-title{font-size:1rem!important}.premium-icon.lg{width:80px;height:80px}}
/* Legacy/shared public-header alignment */
.dx-r4-brand img{width:90px!important;height:90px!important;max-width:90px!important;object-fit:contain!important}.footer-logo img,.site-footer img[src*="defencexpress-emblem"],.footer img[src*="defencexpress-emblem"]{width:52px!important;height:52px!important;max-width:52px!important;object-fit:contain!important}
@media(max-width:900px){.dx-r4-brand img{width:70px!important;height:70px!important;max-width:70px!important}}
.scenario-visual img.photo.contain{object-fit:contain!important;background:#020914}
/* Premium v2 icon sizing on content surfaces */
.panel>img.dx8-icon[src*="dx-icons-premium"],.journey-step>img.dx8-icon[src*="dx-icons-premium"],.path-card .dx8-icon[src*="dx-icons-premium"]{width:54px!important;height:54px!important;filter:drop-shadow(0 8px 18px rgba(0,0,0,.3))}.service-card img[src*="dx-icons-premium"]{width:58px!important;height:58px!important}.scenario-sector img{filter:drop-shadow(0 4px 10px rgba(0,0,0,.25))}

/* R10 — Officer Challenge visual consistency */
.challenge-body{align-items:start}
.scenario-visual{min-height:0!important;aspect-ratio:3/2;background:#020914}
.scenario-visual img.photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover!important;object-position:center!important;filter:none!important;opacity:1!important}
.scenario-visual:after{background:linear-gradient(180deg,rgba(2,9,20,0),rgba(2,9,20,.15))!important;pointer-events:none}
@media(max-width:760px){.scenario-visual{min-height:0!important;aspect-ratio:3/2}}
