/* Akita RC12: scoped, reversible visual improvements. Existing approved Hero assets are untouched. */
/* Resource-detail header: same compact dimensions as v3.1.2, without globally adding akita-v34. */
body.resource-detail .site-header {height:82px!important;min-height:0!important;position:sticky!important;top:0!important;z-index:1000;transform:none!important;transition:height .2s ease!important;}
body.resource-detail .site-header .header-inner {height:100%!important;min-height:0!important;box-sizing:border-box!important;padding-block:0!important;}
body.resource-detail.akita-rc12-scrolled .site-header {height:64px!important;}
body.resource-detail.akita-rc12-scrolled .site-header .brand img {max-height:42px!important;width:auto;object-fit:contain;}
body.resource-detail .mobile-panel {top:var(--akita-rc12-active-header,72px)!important;max-height:calc(100dvh - var(--akita-rc12-active-header,72px))!important;}
@media(max-width:820px){body.resource-detail .site-header {height:72px!important;}body.resource-detail.akita-rc12-scrolled .site-header {height:60px!important;}}
/* Guide covers: use the actual 16 existing library visuals rather than repetitive background-only heroes. */
body.resource-detail .akita-resource-detail .hero--resource {min-height:365px!important;padding-block:50px 44px!important;}
body.resource-detail .akita-resource-detail .hero--resource>.container {display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,268px);grid-template-areas:'kicker cover' 'title cover' 'lead cover' 'actions cover';column-gap:clamp(24px,5vw,80px);row-gap:12px;align-items:center;min-width:0;}
body.resource-detail .hero--resource .kicker {grid-area:kicker;margin:0!important;align-self:end;}
body.resource-detail .hero--resource h1 {grid-area:title;font-size:clamp(35px,3.6vw,57px)!important;line-height:1.09!important;margin:0!important;max-width:900px!important;min-width:0;overflow-wrap:break-word;}
body.resource-detail .hero--resource .lead {grid-area:lead;max-width:720px!important;margin:0!important;line-height:1.55!important;}
body.resource-detail .hero--resource .resource-cta-row {grid-area:actions;display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 0!important;}
body.resource-detail .akita-rc12-resource-cover {grid-area:cover;align-self:center;justify-self:center;width:min(100%,260px);aspect-ratio:4 / 5;margin:0;padding:9px;border:1px solid rgba(255,255,255,.21);border-radius:15px;background:linear-gradient(140deg,#15222b,#060c13);box-shadow:0 28px 70px rgba(0,0,0,.4);transform:rotate(1.3deg);}
body.resource-detail .akita-rc12-resource-cover img {display:block;width:100%;height:100%;object-fit:contain;border-radius:9px;}
body.resource-detail .akita-resource-detail>.section {padding-top:8px!important;}
body.resource-detail .resource-intro {padding-block:35px 60px!important;}
body.resource-detail .resource-intro h2 {font-size:clamp(27px,3.4vw,40px)!important;line-height:1.18!important;max-width:650px;}
.akita-rc12-guide-context {margin:26px 0 8px;padding:24px 26px;border:1px solid rgba(112,173,194,.25);background:linear-gradient(115deg,rgba(13,34,45,.7),rgba(8,17,23,.75));border-radius:18px;}
.akita-rc12-guide-context h3 {margin:0 0 14px!important;font-size:clamp(19px,2.2vw,23px)!important;color:#f7f8f9!important;}
.akita-rc12-guide-context ul {margin:0 0 15px;padding-left:22px;display:grid;gap:10px;}
.akita-rc12-guide-context li {color:#d2dde3;font-size:15px;line-height:1.55;overflow-wrap:break-word;}
.akita-rc12-context-note {font-size:12px!important;line-height:1.5!important;color:#93a7b0!important;}
.akita-rc12-related-link {display:inline-flex;align-items:center;gap:5px;color:#ffae6e!important;text-decoration:underline!important;text-decoration-thickness:1px;text-underline-offset:4px;font-size:13px;font-weight:600;line-height:1.35;}
.resource-card .akita-rc12-related-link {margin-top:12px;align-self:flex-start;}
.resource-card .akita-rc12-related-link:hover,.resource-card .akita-rc12-related-link:focus-visible {color:#fff!important;}
@media(max-width:760px){
 body.resource-detail .akita-resource-detail .hero--resource {min-height:0!important;padding-block:39px 36px!important;}
 body.resource-detail .akita-resource-detail .hero--resource>.container {grid-template-columns:minmax(0,1fr);grid-template-areas:'kicker' 'title' 'lead' 'actions' 'cover';gap:13px;}
 body.resource-detail .hero--resource h1 {font-size:clamp(31px,8.4vw,43px)!important;line-height:1.14!important;}
 body.resource-detail .hero--resource .lead {font-size:16px!important;}
 body.resource-detail .akita-rc12-resource-cover {width:150px;aspect-ratio:4 / 5;justify-self:start;margin:11px 0 0;}
 body.resource-detail .resource-intro {padding-block:26px 45px!important;}
 .akita-rc12-guide-context {padding:20px 17px;}
}
/* Native hero mobile imagery: stronger reading zone without replacing approved image files. */
@media(max-width:760px){
 body.page-secure-ai-agents-mcp section.akita-h33-native.page-hero,
 body.page-iso-27001-readiness section.akita-h33-native.page-hero {background-image:linear-gradient(180deg,rgba(3,9,16,.998) 0%,rgba(3,9,16,.985) 34%,rgba(3,9,16,.96) 56%,rgba(3,9,16,.85) 72%,rgba(3,9,16,.55) 100%),var(--akita-native-hero-url)!important;background-position:center,78% center!important;}
 body.page-secure-ai-agents-mcp section.akita-h33-native.page-hero :is(h1,p),
 body.page-iso-27001-readiness section.akita-h33-native.page-hero :is(h1,p) {position:relative;z-index:2;text-shadow:0 2px 12px rgba(0,0,0,.45);}
 body.page-about .akita-h9-fullbleed.page-hero::before {background-image:linear-gradient(180deg,rgba(3,9,15,.97) 0%,rgba(3,9,15,.91) 39%,rgba(3,9,15,.53) 66%,rgba(3,9,15,.08) 100%),var(--akita-h9-image)!important;background-position:center,76% 47%!important;}
 body.page-about .akita-h9-fullbleed.page-hero {min-height:clamp(520px,77dvh,720px)!important;}
 body.home .ref-hero-copy>p {font-size:clamp(15px,3.9vw,17px)!important;line-height:1.54!important;max-width:34ch!important;margin-bottom:20px!important;}
 body.home .ref-hero-copy .ref-actions {gap:10px!important;margin-top:12px!important;}
}
/* Solution cards: keep order and hrefs, visually centre final pair on wide displays. */
@media(min-width:1121px){
 body.page-solutions .index-grid {grid-template-columns:repeat(6,minmax(0,1fr))!important;}
 body.page-solutions .index-grid>.index-card {grid-column:span 2;}
 body.page-solutions .index-grid>.index-card:nth-child(4) {grid-column:2 / span 2;}
 body.page-solutions .index-grid>.index-card:nth-child(5) {grid-column:4 / span 2;}
}
/* Existing client brand art is maintained; normalise the tile, never redraw an official logo. */
body.page-clients .portfolio-grid>.portfolio-logo-card {display:flex!important;align-items:center!important;justify-content:center!important;min-width:0;padding:14px!important;}
body.page-clients .portfolio-grid>.portfolio-logo-card img {display:block!important;max-width:92%!important;max-height:79px!important;width:auto!important;height:auto!important;object-fit:contain!important;filter:none!important;}
@media(max-width:510px){body.page-clients .portfolio-grid>.portfolio-logo-card {padding:10px!important;}body.page-clients .portfolio-grid>.portfolio-logo-card img {max-height:61px!important;}}
/* Case summaries: editorial facts surfaced earlier, without adding unverifiable success metrics. */
.akita-rc12-case-evidence {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0 12px;}
.akita-rc12-evidence-item {padding:14px 15px;border-radius:12px;border:1px solid rgba(133,180,197,.27);background:rgba(9,25,34,.78);min-width:0;}
.akita-rc12-evidence-item strong {display:block;text-transform:uppercase;letter-spacing:.07em;font-size:10px;color:#fda25a;margin-bottom:6px;}
.akita-rc12-evidence-item p {font-size:12px!important;line-height:1.53!important;margin:0!important;color:#d7e2e6!important;overflow-wrap:break-word;}
@media(max-width:760px){.akita-rc12-case-evidence {grid-template-columns:1fr;gap:8px;margin-top:15px;}.akita-rc12-evidence-item {padding:11px 13px;}}
/* Accessibility and no surprise changes to cookie banner / booking links / form. */
@media(prefers-reduced-motion:reduce){body.resource-detail .site-header {transition:none!important;}body.resource-detail .akita-rc12-resource-cover{transform:none;}}
