/* ProAxis warm-ivory visual pass — light theme only. Dark theme remains untouched. */
[data-theme="light"]{
  --bg:#fbf8f2;
  --bg-tint:#f5f0e6;
  --surface:#fffdf9;
  --surface-2:#f8f2e8;
  --surface-3:#f0e7da;
  --line:#ded3bf;
  --line-strong:#c9b89b;
  --text:#131922;
  --text-soft:#343b45;
  --muted:#59616b;
  --faint:#6e747b;
  --gold:#a8742e;
  --gold-soft:#81591f;
  --gold-deep:#7b531d;
  --header-bg:rgba(252,249,242,.95);
  --header-scrolled-bg:rgba(252,249,242,.98);
  --btn-default-bg:#fffdf9;
  --dropdown-bg:#fffdf9;
  --mobile-nav-bg:#fbf8f2;
  --card-shadow:0 6px 25px rgba(74,55,30,.058),0 1px 3px rgba(74,55,30,.042);
  --card-hover-shadow:0 17px 40px rgba(74,55,30,.1),0 3px 8px rgba(74,55,30,.048);
  --body-bg-gradient:
    radial-gradient(800px 500px at 94% 11%,rgba(210,161,84,.075),transparent 72%),
    radial-gradient(780px 520px at 0% 48%,rgba(185,142,87,.047),transparent 75%),
    #fbf8f2;
}
[data-theme="light"] .capabilities .matrix-tab,
[data-theme="light"] .advisor-interaction,
[data-theme="light"] .outcomes-stack{background-color:#fffdf9!important}
[data-theme="light"] .capabilities .matrix-tab.active{background-color:#f8f2e7!important}
[data-theme="light"] .advisor-choice{background:#f7f1e7!important;border-color:#e5d9c6!important}
[data-theme="light"] .advisor-choice:hover,
[data-theme="light"] .advisor-choice[aria-pressed="true"]{background:#fffdf9!important;border-color:#bc925a!important}
[data-theme="light"] .advisor-section{
 background:
 radial-gradient(ellipse 440px 280px at 7% 40%,rgba(186,137,69,.07),transparent 75%),
 radial-gradient(ellipse 420px 310px at 94% 75%,rgba(214,185,132,.075),transparent 77%),
 var(--bg-tint)!important
}
[data-theme="light"] .outcomes-section{background:var(--bg)!important}
[data-theme="light"] .site-header,
[data-theme="light"] .header{border-bottom-color:rgba(177,139,80,.15)}
/* Golden tint stops at sections and cards; the glacier-clear Earth illustration stays intact. */

/* Editorial business scenarios: one selectable case, many grounded details. */
.case-study-section{
 padding:clamp(72px,8vw,122px) 0;
 background:var(--bg-tint);
 border-block:1px solid var(--line);
 color:var(--text);
}
.case-study-head{
 display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);
 gap:clamp(25px,4vw,70px);align-items:end;margin:0 0 39px
}
.case-study-label{
 color:var(--gold-soft);display:block;
 font-size:.76rem;font-weight:840;letter-spacing:.13em;
 text-transform:uppercase;margin-bottom:19px
}
.case-study-heading h2{
 color:var(--text);font-size:clamp(2.1rem,3.5vw,3.55rem);
 line-height:1.12;letter-spacing:-.035em;max-width:17ch;margin:0;
 text-wrap:balance
}
.case-study-intro>p:first-child{
 color:var(--text-soft);line-height:1.75;
 font-size:1rem;max-width:57ch;margin-bottom:18px
}
.case-study-disclosure{
 max-width:62ch;margin:0;
 color:var(--muted);font-size:.8rem!important;
 line-height:1.7;padding-inline-start:14px;
 border-inline-start:1px solid var(--gold)!important
}
.case-study-shell{
 display:grid;grid-template-columns:minmax(290px,.73fr) minmax(0,1.27fr);
 border:1px solid var(--line-strong);border-radius:22px;
 background:var(--surface);overflow:hidden;
 box-shadow:var(--card-shadow);min-height:615px
}
.case-study-nav{
 display:flex;flex-direction:column;min-width:0;
 background:var(--surface-2);border-inline-end:1px solid var(--line)
}
.case-study-tab{
 display:grid;grid-template-columns:32px minmax(0,1fr) 22px;
 gap:15px;align-items:center;
 background:transparent;border:0;
 border-bottom:1px solid var(--line);
 border-radius:0;min-width:0;width:100%;
 padding:27px clamp(16px,2vw,29px);
 text-align:start;cursor:pointer;color:var(--text);
 transition:background .2s ease,box-shadow .2s ease
}
.case-study-tab:hover{background:var(--surface)}
.case-study-tab.active,.case-study-tab[aria-selected="true"]{
 background:var(--surface);
 box-shadow:inset 3px 0 0 var(--gold)
}
.case-study-tab:focus-visible{outline:2px solid var(--gold);outline-offset:-4px}
.case-study-tab-number{color:var(--gold-soft);font-weight:850;font-size:.83rem;align-self:start}
.case-study-tab-copy{display:grid;gap:9px}
.case-study-tab-sector{color:var(--muted);font-size:.67rem;font-weight:760;letter-spacing:.085em;line-height:1.45}
.case-study-tab-title{font-size:clamp(.99rem,1.35vw,1.18rem);font-weight:770;letter-spacing:-.01em;line-height:1.42}
.case-study-tab svg{width:19px;height:19px;stroke:var(--gold-soft);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;opacity:.8}
.case-study-nav-footer{
 margin-top:auto;padding:27px 30px 30px;
 color:var(--muted);font-size:.84rem;line-height:1.7;
 border-top:1px solid var(--line)
}
.case-study-detail{position:relative;min-width:0;background:var(--surface)}
.case-study-panel{
 padding:clamp(28px,3.5vw,52px);min-height:100%;
 animation:case-show .26s ease-out both
}
.case-study-panel[hidden]{display:none!important}
.case-study-panel-top{
 display:flex;justify-content:space-between;align-items:center;gap:12px;
 margin-bottom:22px
}
.case-study-type{font-size:.72rem;font-weight:830;color:var(--gold-soft);letter-spacing:.09em}
.case-study-abstract-mark{font-variant-numeric:tabular-nums;font-size:.72rem;color:var(--muted);white-space:nowrap}
.case-study-panel h3{
 font-size:clamp(1.62rem,2.65vw,2.63rem);
 letter-spacing:-.035em;line-height:1.18;max-width:20ch;margin:0 0 19px;color:var(--text);
 text-wrap:balance
}
.case-study-context{line-height:1.78;max-width:63ch;margin:0 0 27px;color:var(--text-soft);font-size:.97rem}
.case-study-blueprint{
 background:var(--bg-tint);border:1px solid var(--line);
 border-radius:14px;padding:21px 25px 25px;margin:0 0 29px;overflow:hidden
}
.case-study-blueprint-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:23px}
.case-study-blueprint-top>span:first-child{font-size:.7rem;font-weight:820;letter-spacing:.11em;color:var(--gold-soft)}
.case-study-blueprint-star{font-size:1.2rem;color:var(--gold-soft)}
.case-study-blueprint-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;position:relative}
.case-study-blueprint-steps::before{
 content:"";height:1px;background:var(--line-strong);
 position:absolute;inset-inline:7%;top:16px;z-index:0
}
.case-study-blueprint-step{
 display:grid;justify-items:start;align-content:start;
 gap:12px;min-width:0;position:relative;z-index:1;
 color:var(--text);font-size:clamp(.78rem,.95vw,.88rem);
 font-weight:665;line-height:1.45
}
.case-study-blueprint-node{
 display:grid;place-items:center;width:33px;height:33px;
 border:1px solid var(--gold);border-radius:10px;
 background:var(--surface);font-size:.81rem;font-weight:850;color:var(--gold-soft)
}
.case-study-panel-bottom{
 display:grid;grid-template-columns:1fr 1fr;
 gap:clamp(22px,2.8vw,40px);border-top:1px solid var(--line);padding-top:27px
}
.case-study-panel-bottom h4{
 margin:0 0 9px;font-size:.92rem;letter-spacing:0;color:var(--text);font-weight:800
}
.case-study-panel-bottom p{
 margin:0;color:var(--text-soft);line-height:1.73;font-size:.87rem
}
.case-study-footer{
 display:flex;gap:24px;justify-content:space-between;align-items:center;
 padding:24px 2px 0
}
.case-study-footer p{margin:0;max-width:62ch;color:var(--muted);font-size:.8rem;line-height:1.75}
.case-study-cta{display:inline-flex;align-items:center;gap:11px;color:var(--text);font-size:.86rem;font-weight:800;text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:6px;white-space:nowrap;min-height:44px}
.case-study-cta:hover{color:var(--gold-soft)}
.case-study-cta svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
[data-theme="light"] .case-study-shell{box-shadow:0 16px 48px rgba(90,65,29,.07)}
[data-theme="light"] .case-study-nav{background:#f5eddf}
[data-theme="light"] .case-study-tab[aria-selected="true"]{background:#fffdf9}
[data-theme="light"] .case-study-blueprint{background:#f7f0e5}
[dir="rtl"] .case-study-label,[dir="rtl"] .case-study-tab-sector,[dir="rtl"] .case-study-type,[dir="rtl"] .case-study-blueprint-top>span:first-child{letter-spacing:0}
[dir="rtl"] .case-study-panel h3,[dir="rtl"] .case-study-heading h2{letter-spacing:0;line-height:1.32}
[dir="rtl"] .case-study-tab.active,[dir="rtl"] .case-study-tab[aria-selected="true"]{box-shadow:inset -3px 0 0 var(--gold)}
[dir="rtl"] .case-study-tab svg,[dir="rtl"] .case-study-cta svg{transform:scaleX(-1)}
@keyframes case-show{from{opacity:.6;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1000px){
 .case-study-head{grid-template-columns:1fr;gap:17px}
 .case-study-heading h2{max-width:23ch}
 .case-study-shell{grid-template-columns:minmax(250px,.85fr) minmax(0,1.15fr)}
 .case-study-panel-bottom{grid-template-columns:1fr;gap:19px}
}
@media(max-width:760px){
 .case-study-head{margin-bottom:27px}
 .case-study-shell{grid-template-columns:1fr;min-height:0}
 .case-study-nav{border-inline-end:0;border-bottom:1px solid var(--line)}
 .case-study-tab{padding:17px 20px}
 .case-study-nav-footer{display:none}
 .case-study-panel{padding:29px 21px 32px}
 .case-study-footer{flex-direction:column;align-items:flex-start;gap:14px}
}
@media(max-width:420px){
 .case-study-panel-bottom{gap:18px}
 .case-study-blueprint{padding:16px 14px}
 .case-study-blueprint-step{font-size:.73rem}
 .case-study-tab-title{font-size:.95rem}
 .case-study-tab{grid-template-columns:26px 1fr 20px;gap:10px}
}
@media(prefers-reduced-motion:reduce){.case-study-panel{animation:none}.case-study-tab{transition:none}}
