/* S32 palette (palette.json) and 1440px content bound; T07 typography and spacing are inherited. */
:root{--accent:#907050;--ink:#102030;--navy:#203050;--gold:#907050;--gold-light:#d0b080;--sand:#f5efe6;--line:#ddd3c4;--paper:#fff;--muted:#5d6470;--surface:#fff}
body{color:var(--ink);background:#fff}
p{color:var(--muted)}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
a:hover{color:var(--gold)}
.button{background:var(--ink)}

/* 1440px centred content; colour bands still run edge to edge. */
.theme-studio .site-shell{width:90%;max-width:1440px;padding:0;margin-inline:auto}
.site-header .brand{width:auto}
.site-header .official-brand img{width:185px;height:auto}
.site-header,.service-rows>a,.article-card,.site-footer,.service-index{border-color:var(--line)}

/* Hero: white copy column, ink block on the right with a gold orbit. */
.template-07 .hero{background:linear-gradient(90deg,#fff 0%,#fff 70%,var(--ink) 70%,var(--ink) 100%);border-bottom:0}
.template-07 .hero .hero-orbit{color:var(--gold-light);border-color:var(--gold-light);box-shadow:22px 0 0 -1px var(--ink),23px 0 0 0 #8a7a5c}
.theme-studio .hero .button{background:transparent;color:var(--ink);border-bottom-color:var(--gold)}
.theme-studio .hero .button span{color:var(--gold)}
.service-poster img{background:var(--sand)}
.poster-label small,.service-rows small,.article-topic,.process span{color:var(--gold)}

/* Insights */
.topic-nav a{border-color:var(--line)}
.topic-nav a[aria-current]{background:var(--navy);border-color:var(--navy);color:#fff}
.search-form{border-color:var(--line)}
.search-form button{background:var(--ink);color:#fff}
.article-card{border-color:#cfc3b1}

/* Company band */
.theme-studio .company{background:var(--navy);margin:0;padding:65px 0;box-shadow:0 0 0 100vmax var(--navy);clip-path:inset(0 -100vmax);border:0}
.theme-studio .company p{color:#e6dccd}
.theme-studio .company .capabilities>div{border-color:var(--gold-light)}
.theme-studio .company .text-link{color:var(--gold-light)}
.theme-studio .company h2,.theme-studio .company h3,.theme-studio .company-word{color:#fff}

/* Contact */
.theme-studio .contact{color:var(--ink)}
.theme-studio .contact-form-panel{background:var(--ink);border-color:var(--ink);color:#fff}
.theme-studio .contact-form-panel p{color:#e6dccd}
.inquiry-form label{color:inherit}
.form-grid input,.form-grid textarea{border-color:var(--line)}
.theme-studio .contact .phone{color:var(--ink)}
.theme-studio .contact .email{color:var(--muted)}

/* Service and article pages */
.detail-page .cover-card img{border-radius:0;background:var(--sand)}
.detail-page .cover-card[aria-current] .cover-caption{color:var(--gold)}
.detail-page .solid{background:var(--ink);color:#fff}
.detail-page .solid:hover{background:var(--navy);color:#fff}
.detail-page .service-contact{background:var(--sand)}
.detail-page .service-contact .text-link{color:var(--gold)}
.detail-page .search-form button{background:var(--ink);color:#fff}
.detail-page .topic-button.selected{background:var(--navy);border-color:var(--navy);color:#fff}
.detail-page .article-row .topic,.detail-page .article-arrow,.detail-page .section-index,.detail-page .section-label,.detail-page .back{color:var(--gold)}
.detail-page .article-results,.detail-page .article-row,.detail-page .hub-section,.detail-page .service-toc a,.detail-page .hub-section details,.detail-page .detail-top{border-color:var(--line)}
.detail-page .reading th{background:var(--sand)}
.detail-page .reading th,.detail-page .reading td,.answer-box,.case-box,.note-box,.faq-card,.faq-acc{border-color:var(--line)}
.detail-page .reading table{min-width:0;table-layout:fixed}
.detail-page .reading th,.detail-page .reading td{overflow-wrap:anywhere}
.detail-page .reading h1{overflow-wrap:anywhere}
.detail-page .reading .solid{white-space:normal}
.detail-page .hub-process{display:block}

/* 404 */
.not-found{padding:90px 0 120px;min-height:60vh}
.not-found p{margin:28px 0;max-width:640px}
.not-found h1{font-size:clamp(32px,4vw,64px);line-height:1.3}
.not-found .button{background:var(--ink);color:#fff}

@media(max-width:760px){
 .theme-studio .site-shell{width:calc(100% - 40px);padding:0}
 .template-07 .hero{background:#fff;border-right:14px solid var(--ink)}
 .theme-studio .company{margin:0;padding:40px 0}
 .site-header .official-brand img{width:150px}
 .detail-page .search-form label:first-child{width:auto}
 .detail-page .service-contact .text-link{display:inline-block;margin:20px 0 0}
 .detail-page .reading th,.detail-page .reading td{padding:8px;font-size:12px;line-height:1.65}
 .detail-page .reading h1{font-size:29px}
 .cover-caption span,.poster-label span{min-width:0;overflow-wrap:anywhere}
 .form-grid .wide{grid-column:auto}
 .service-rows h3{overflow-wrap:anywhere}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
