/* TITANXPLORER — Editorial v3
   Design premise: an editorial practice, not a software/agency template.
   The layout changes according to the material on the page.
*/
:root{
  --paper:#fbf9f5;
  --paper-deep:#eeeae2;
  --ink:#11100e;
  --ink-soft:#24231f;
  --night:#10100f;
  --night-2:#171613;
  --white:#f5f2ea;
  --muted:#77746d;
  --red:#ED1C24;
  --red-soft:#ED1C24;
  --line:rgba(17,16,14,.18);
  --line-light:rgba(245,242,234,.20);
  --serif:"Newsreader", Georgia, serif;
  --sans:"Public Sans", Arial, sans-serif;
  --max:1240px;
  --reading:720px;
}

html{scroll-behavior:smooth}
body{font-family:var(--sans)!important;background:var(--paper)!important;color:var(--ink)!important;line-height:1.65;overflow-x:hidden}
body::before{display:none!important}
[data-theme="dark"] body{background:var(--night)!important;color:var(--white)!important}

h1,h2,h3,h4,h5,h6{font-family:var(--serif)!important;font-weight:500!important;letter-spacing:-.035em!important;line-height:.96!important}
strong{font-weight:600}
em{font-style:italic!important;color:inherit!important;background:none!important;text-decoration:none!important;border:0!important;box-shadow:none!important}

/* NAV */
nav{position:sticky!important;top:0!important;z-index:1000!important;display:flex!important;align-items:center!important;padding:1.1rem clamp(1.25rem,4vw,4rem)!important;background:color-mix(in srgb,var(--paper) 94%,transparent)!important;border-bottom:1px solid var(--line)!important;backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important}
[data-theme="dark"] nav{background:color-mix(in srgb,var(--night) 94%,transparent)!important;border-color:var(--line-light)!important}
.nav-container{max-width:var(--max)!important;width:100%!important;margin:auto!important}
.nav-logo{font-family:var(--sans)!important;font-size:.98rem!important;letter-spacing:.12em!important;font-weight:600!important;color:inherit!important}
.nav-logo span{color:var(--red)!important}
.nav-links{gap:1.25rem!important}
.nav-links a{font-family:var(--sans)!important;font-size:.78rem!important;letter-spacing:0!important;color:inherit!important}
.nav-cta{border:1px solid currentColor!important;border-radius:0!important;background:transparent!important;padding:.55rem .9rem!important}
.nav-cta:hover{background:var(--red)!important;border-color:var(--red)!important;color:#fff!important}

/* GLOBAL EDITORIAL RULES */
.section-rule{height:1px!important;width:56px!important;background:currentColor!important;opacity:.4!important}
.section-label,.label{font-family:var(--sans)!important;text-transform:none!important;letter-spacing:.02em!important;font-size:.78rem!important;font-weight:600!important;color:var(--red)!important}
.fade-up{opacity:1!important;transform:none!important;animation:none!important}
.signal-readout,.hero-trace,.hero-scroll,.trust-signal{display:none!important}
section[id]{scroll-margin-top:100px!important}

/* HOMEPAGE — deliberately varied rhythms */
.hero{min-height:0!important;padding:clamp(5rem,9vw,8rem) clamp(1.25rem,5vw,5rem) clamp(5rem,8vw,8rem)!important;background:var(--paper)!important;color:var(--ink)!important}
[data-theme="dark"] .hero{background:var(--night)!important;color:var(--white)!important}
.hero-grid{max-width:var(--max)!important;margin:auto!important;display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr)!important;gap:clamp(3rem,8vw,8rem)!important;align-items:start!important}
.hero-content{max-width:820px!important}
.hero-rule{width:72px!important;height:2px!important;background:var(--red)!important;margin:0 0 1.5rem!important}
.hero-eyebrow{margin-bottom:1.4rem!important}
.hero-eyebrow .label{color:var(--muted)!important;font-weight:500!important}
.hero-content h1{font-size:clamp(4rem,8.5vw,8.5rem)!important;line-height:.86!important;max-width:850px!important;margin:0 0 2.2rem!important}
.hero-content h1 em{color:var(--red)!important}
.hero-sub{font-family:var(--sans)!important;max-width:670px!important;font-size:1.03rem!important;line-height:1.78!important;color:inherit!important;margin-bottom:1.1rem!important}
.hero-sub:first-of-type{font-family:var(--serif)!important;font-size:clamp(1.45rem,2.3vw,2.05rem)!important;line-height:1.25!important;max-width:650px!important}
.hero-sub a,.hero-content a{color:var(--red)!important}
.hero-portrait{position:sticky!important;top:7rem!important;max-width:470px!important;width:100%!important;margin-left:auto!important}
.hero-portrait img{display:block!important;width:100%!important;filter:grayscale(1)!important;mix-blend-mode:multiply!important}
[data-theme="dark"] .hero-portrait img{mix-blend-mode:normal!important;opacity:.88!important}

/* Problem: a magazine-like opening, not another card */
#problem{padding:clamp(6rem,10vw,10rem) clamp(1.25rem,5vw,5rem)!important;background:var(--paper)!important;color:var(--ink)!important}
[data-theme="dark"] #problem{background:var(--night)!important;color:var(--white)!important}
#problem .container{max-width:var(--max)!important;margin:auto!important}
#problem .fade-up{display:grid!important;grid-template-columns:minmax(170px,.25fr) minmax(0,.75fr)!important;column-gap:clamp(2rem,7vw,8rem)!important;row-gap:0!important;align-items:start!important}
#problem .section-rule{grid-column:1;grid-row:1;margin-top:.75rem}
#problem .section-label{grid-column:1;grid-row:2;margin-top:1rem}
#problem .section-title{grid-column:2;grid-row:1 / span 2;font-size:clamp(3.2rem,6.8vw,7rem)!important;max-width:920px!important;margin:0 0 3.5rem!important}
#problem .problem-intro{grid-column:2;max-width:690px!important;font-size:1.06rem!important;line-height:1.78!important;margin:0 0 1.2rem!important;color:inherit!important}
#problem .problem-intro:nth-of-type(2){font-family:var(--serif)!important;font-size:clamp(2.1rem,4.8vw,4.4rem)!important;line-height:1!important;max-width:620px!important;margin-top:3rem!important}
#problem .problem-intro:nth-of-type(3){font-family:var(--serif)!important;font-size:clamp(2.1rem,4.8vw,4.4rem)!important;line-height:1!important;color:var(--red)!important;margin-top:.2rem!important;margin-bottom:3.5rem!important}

/* Founder letter — light paper in both themes to keep the letter readable */
#from-bukar{background:var(--paper-deep)!important;color:var(--ink)!important;padding:clamp(6rem,10vw,10rem) clamp(1.25rem,5vw,5rem)!important}
[data-theme="dark"] #from-bukar{background:#eeeae2!important;color:var(--ink)!important;border-color:rgba(17,16,14,.2)!important}
.founder-note-grid{max-width:var(--max)!important;margin:auto!important;display:grid!important;grid-template-columns:minmax(260px,.62fr) minmax(0,1.38fr)!important;gap:clamp(3rem,8vw,9rem)!important;align-items:start!important}
.founder-portrait img{width:100%!important;max-width:430px!important;display:block!important;filter:grayscale(1)!important}
.founder-copy{max-width:760px!important}
.founder-copy .section-rule{background:var(--ink)!important}
.founder-copy .section-label{color:var(--red)!important}
.founder-copy p{font-family:var(--serif)!important;font-size:clamp(1.45rem,2.5vw,2.25rem)!important;line-height:1.35!important;color:var(--ink)!important;margin-top:1.6rem!important}
.founder-copy p:last-of-type{font-family:var(--sans)!important;font-size:.82rem!important;color:var(--muted)!important;margin-top:3rem!important}
.founder-copy a{color:var(--red)!important}

/* Image break: one quiet photograph, not a decorative icon */
section[style*="text-align: center"]{height:min(44vw,580px)!important;padding:0!important;overflow:hidden!important;background:var(--night)!important}
section[style*="text-align: center"] img{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;border-radius:0!important;filter:grayscale(1)!important;opacity:.78!important}

/* Mid-page argument sections alternate their visual grammar */
#another-job{background:var(--night)!important;color:var(--white)!important;padding:clamp(7rem,12vw,12rem) clamp(1.25rem,5vw,5rem)!important}
#best-thinking{background:var(--paper-deep)!important;color:var(--ink)!important;padding:clamp(7rem,12vw,12rem) clamp(1.25rem,5vw,5rem)!important}
#established{background:var(--paper)!important;color:var(--ink)!important;padding:clamp(7rem,12vw,12rem) clamp(1.25rem,5vw,5rem)!important}
#what-we-do{background:var(--night)!important;color:var(--white)!important;padding:clamp(7rem,12vw,12rem) clamp(1.25rem,5vw,5rem)!important}
#voice{background:var(--paper-deep)!important;color:var(--ink)!important;padding:clamp(7rem,12vw,12rem) clamp(1.25rem,5vw,5rem)!important}
#understanding{background:var(--paper)!important;color:var(--ink)!important;padding:clamp(7rem,12vw,12rem) clamp(1.25rem,5vw,5rem)!important}
#ai{background:var(--night)!important;color:var(--white)!important;padding:clamp(7rem,12vw,12rem) clamp(1.25rem,5vw,5rem)!important}
#not-for-you{background:var(--paper-deep)!important;color:var(--ink)!important;padding:clamp(7rem,12vw,12rem) clamp(1.25rem,5vw,5rem)!important}
#how-the-work-happens{background:var(--paper)!important;color:var(--ink)!important;padding:clamp(7rem,12vw,12rem) clamp(1.25rem,5vw,5rem)!important}
#cases{background:var(--night)!important;color:var(--white)!important;padding:clamp(7rem,12vw,12rem) clamp(1.25rem,5vw,5rem)!important}

#another-job .container,#best-thinking .container,#established .container,#what-we-do .container,#voice .container,#understanding .container,#ai .container,#not-for-you .container,#how-the-work-happens .container,#cases .container{max-width:var(--max)!important;margin:auto!important}
#another-job .fade-up,#best-thinking .fade-up,#established .fade-up,#what-we-do .fade-up,#voice .fade-up,#understanding .fade-up,#ai .fade-up,#not-for-you .fade-up,#how-the-work-happens .fade-up,#cases .fade-up{display:grid!important;grid-template-columns:minmax(170px,.25fr) minmax(0,.75fr)!important;gap:clamp(2rem,7vw,8rem)!important;align-items:start!important}
#another-job .section-rule,#best-thinking .section-rule,#established .section-rule,#what-we-do .section-rule,#voice .section-rule,#understanding .section-rule,#ai .section-rule,#not-for-you .section-rule,#how-the-work-happens .section-rule,#cases .section-rule{grid-column:1;grid-row:1;margin-top:.75rem}
#another-job .section-title,#best-thinking .section-title,#established .section-title,#what-we-do .section-title,#voice .section-title,#understanding .section-title,#ai .section-title,#not-for-you .section-title,#how-the-work-happens .section-title,#cases .section-title{grid-column:2;grid-row:1;font-size:clamp(3.1rem,6.6vw,6.8rem)!important;max-width:900px!important;margin:0 0 3.5rem!important}
#another-job .problem-intro,#best-thinking .problem-intro,#established .problem-intro,#what-we-do .problem-intro,#voice .problem-intro,#understanding .problem-intro,#ai .problem-intro,#not-for-you .problem-intro,#how-the-work-happens .problem-intro,#cases .problem-intro{grid-column:2;max-width:700px!important;font-size:1.06rem!important;line-height:1.8!important;margin:0 0 1.2rem!important;color:inherit!important}
#another-job .problem-intro:nth-of-type(4),#what-we-do .problem-intro:nth-of-type(2){font-family:var(--serif)!important;font-size:clamp(1.8rem,3.5vw,3.3rem)!important;line-height:1.05!important;margin-top:2rem!important}
#ai .problem-intro:last-of-type{font-family:var(--serif)!important;font-size:clamp(2rem,4vw,4rem)!important;line-height:1!important;color:var(--red)!important;margin-top:2.5rem!important}

/* HOW WE WORK / STORY / REVIEW / WORK WITH US — these are document pages, not marketing sections */
.framework-hero,.diagnostic-hero{padding:clamp(6rem,10vw,10rem) clamp(1.25rem,5vw,5rem) clamp(5rem,8vw,8rem)!important;background:var(--paper)!important;color:var(--ink)!important;border-bottom:1px solid var(--line)!important}
[data-theme="dark"] .framework-hero,[data-theme="dark"] .diagnostic-hero{background:var(--night)!important;color:var(--white)!important;border-color:var(--line-light)!important}
.framework-hero-container,.diagnostic-hero-container{max-width:var(--max)!important;margin:auto!important}
.framework-number{font-family:var(--sans)!important;color:var(--red)!important;font-size:.85rem!important;letter-spacing:.06em!important;margin-bottom:1.5rem!important}
.framework-hero h1,.diagnostic-hero h1{font-size:clamp(2.3rem,9vw,9rem)!important;max-width:1000px!important;line-height:.86!important;margin:0!important}
.framework-hero .hero-sub,.diagnostic-hero .hero-sub{max-width:700px!important;font-family:var(--serif)!important;font-size:clamp(1.5rem,2.8vw,2.4rem)!important;line-height:1.25!important;margin-top:2rem!important}

.content-section{padding:clamp(5rem,9vw,9rem) 1.25rem!important;background:var(--paper)!important;color:var(--ink)!important}
[data-theme="dark"] .content-section{background:var(--night)!important;color:var(--white)!important}
.content-section .container{max-width:var(--max)!important;margin:auto!important}
.content-block{max-width:var(--reading)!important;margin:0 auto 4.5rem!important}
.content-block:first-child{margin-top:0}
.content-block h2{font-size:clamp(2.6rem,5vw,5rem)!important;margin-bottom:1.6rem!important}
.content-block h3{font-size:clamp(1.7rem,3vw,3rem)!important;margin:2.8rem 0 1rem!important}
.content-block p,.content-block li{font-size:1.06rem!important;line-height:1.82!important;color:inherit!important}
.content-block p+p{margin-top:1.25rem!important}
.content-block ul,.content-block ol{padding-left:1.25rem!important;margin:1.5rem 0!important}
.content-block blockquote{font-family:var(--serif)!important;font-size:clamp(2rem,4.5vw,4.5rem)!important;line-height:.98!important;border-left:3px solid var(--red)!important;padding-left:1.2rem!important;margin:3rem 0!important}

/* Results index */
.case-index{max-width:var(--max)!important;margin:2rem auto 5rem!important;border-top:1px solid var(--line)!important}
.case-index a{display:grid!important;grid-template-columns:90px minmax(0,1fr) 220px 30px!important;gap:2rem!important;align-items:center!important;padding:2.2rem 0!important;border-bottom:1px solid var(--line)!important;color:inherit!important;text-decoration:none!important}
.case-index-num{font-family:var(--sans)!important;color:var(--red)!important;font-size:.9rem!important}
.case-index-text{font-family:var(--serif)!important;font-size:clamp(1.8rem,3vw,3rem)!important;line-height:1!important}
.case-index-meta{font-size:.82rem!important;color:var(--muted)!important}
.case-index-arrow{color:var(--red)!important;font-size:1.3rem!important}

/* Result/case pages: make the evidence the visual center */
.artifact-box{margin:4rem 0!important;border:1px solid var(--line)!important;background:var(--paper-deep)!important;padding:clamp(2rem,5vw,5rem)!important}
[data-theme="dark"] .artifact-box{background:var(--night-2)!important;border-color:var(--line-light)!important}
.artifact-title{font-family:var(--sans)!important;color:var(--red)!important;font-size:.78rem!important;letter-spacing:.04em!important;margin-bottom:2rem!important}
.case-disclosure{max-width:var(--reading)!important;margin:2rem auto 4rem!important;padding:1.2rem 0!important;color:var(--muted)!important;font-size:.85rem!important}
.evidence-unit{margin:3rem 0!important;padding:2rem 0!important;border-top:1px solid var(--line)!important}
.case-doctrine{margin:4rem 0!important;padding:2.5rem!important;background:var(--ink)!important;color:var(--white)!important}

/* Framework index */
#frameworks{padding:clamp(6rem,10vw,10rem) clamp(1.25rem,5vw,5rem)!important;background:var(--paper)!important;color:var(--ink)!important}
[data-theme="dark"] #frameworks{background:var(--night)!important;color:var(--white)!important}
#frameworks .container{max-width:var(--max)!important;margin:auto!important}
#frameworks .fade-up:first-child{max-width:850px!important;margin-bottom:5rem!important}
#frameworks .section-title{font-size:clamp(3.2rem,6.8vw,7rem)!important;margin-bottom:1.5rem!important}
.fw-intro{font-size:1.05rem!important;line-height:1.8!important;max-width:700px!important}
.fw-grid{display:block!important;border-top:1px solid var(--line)!important}
.fw-card{display:grid!important;grid-template-columns:80px minmax(0,1fr) 180px!important;grid-template-areas:"num title link" "num desc link"!important;gap:.5rem 2rem!important;align-items:start!important;padding:2rem 0!important;border-bottom:1px solid var(--line)!important;border-top:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important;text-decoration:none!important}
.fw-num{grid-area:num!important;color:var(--red)!important;font-size:.85rem!important}
.fw-card h3{grid-area:title!important;font-size:clamp(1.8rem,3.2vw,3.4rem)!important;margin:0!important}
.fw-card p{grid-area:desc!important;max-width:650px!important;font-size:.98rem!important;line-height:1.7!important;margin:0!important;color:inherit!important;opacity:.72}
.fw-link{grid-area:link!important;justify-self:end!important;color:var(--red)!important;font-size:.78rem!important;white-space:nowrap!important}

/* Closing CTA — quiet, not a sales banner */
.closing-cta{padding:clamp(6rem,10vw,10rem) 1.25rem!important;background:var(--night)!important;color:var(--white)!important;border-top:1px solid var(--line-light)!important}
.closing-cta .container{max-width:var(--max)!important;margin:auto!important}
.closing-cta h2{font-size:clamp(3rem,7vw,7rem)!important;max-width:900px!important}
.closing-cta a{color:var(--red)!important}

/* Route list on work-with-us */
.route-list{max-width:var(--reading)!important;margin:3rem auto!important;border-top:1px solid var(--line)!important}
.route-row{display:grid!important;grid-template-columns:80px minmax(0,1fr) 30px!important;gap:1.5rem!important;padding:1.6rem 0!important;border-bottom:1px solid var(--line)!important;align-items:start!important}
.route-row-text{font-family:var(--serif)!important;font-size:clamp(1.5rem,2.5vw,2.4rem)!important;line-height:1.1!important}

/* Pricing / review */
.cta-section{max-width:var(--max)!important;margin:0 auto!important;padding:clamp(5rem,9vw,9rem) 1.25rem!important}
.cta-section h2{font-size:clamp(3rem,6vw,6rem)!important}

/* Dark-mode typography must never become dark-on-dark */
[data-theme="dark"] .founder-copy p,[data-theme="dark"] .founder-copy p:last-of-type{color:var(--ink)!important}

/* MOBILE */
@media(max-width:800px){
  nav{padding:1rem 1.1rem!important}
  .nav-links a:not(.nav-cta){display:none!important}
  .hero{padding:4rem 1.1rem 5rem!important}
  .hero-grid{grid-template-columns:1fr!important;gap:3rem!important}
  .hero-content h1{font-size:clamp(3.2rem,16vw,5.8rem)!important;line-height:.88!important}
  .hero-content p{max-width:100%!important}
  .hero-portrait{position:static!important;max-width:100%!important;margin:0!important}
  .hero-portrait img{aspect-ratio:4/5!important;object-fit:cover!important;object-position:center 25%!important}

  #problem .fade-up,#another-job .fade-up,#best-thinking .fade-up,#established .fade-up,#what-we-do .fade-up,#voice .fade-up,#understanding .fade-up,#ai .fade-up,#not-for-you .fade-up,#how-the-work-happens .fade-up,#cases .fade-up{display:block!important}
  #problem,#another-job,#best-thinking,#established,#what-we-do,#voice,#understanding,#ai,#not-for-you,#how-the-work-happens,#cases{padding:5.5rem 1.1rem!important}
  #problem .section-title,#another-job .section-title,#best-thinking .section-title,#established .section-title,#what-we-do .section-title,#voice .section-title,#understanding .section-title,#ai .section-title,#not-for-you .section-title,#how-the-work-happens .section-title,#cases .section-title{font-size:clamp(2.8rem,14vw,5.4rem)!important;margin-bottom:2.5rem!important}
  #problem .section-label{margin:1rem 0 2rem!important}
  #problem .problem-intro:nth-of-type(2),#problem .problem-intro:nth-of-type(3){font-size:clamp(2rem,11vw,4rem)!important}
  .founder-note-grid{grid-template-columns:1fr!important;gap:2.5rem!important}
  .founder-copy p{font-size:1.5rem!important}
  section[style*="text-align: center"]{height:58vw!important;min-height:260px!important}
  .framework-hero,.diagnostic-hero{padding:4.5rem 1.1rem 5rem!important}
  .framework-hero h1,.diagnostic-hero h1{font-size:clamp(3.2rem,15vw,6rem)!important}
  .content-section{padding:5rem 1.1rem!important}
  .content-block{margin-bottom:4rem!important}
  .content-block p,.content-block li{font-size:1rem!important;line-height:1.78!important}
  .content-block blockquote{font-size:clamp(2rem,11vw,4rem)!important}
  .case-index{margin-top:1rem!important}
  .case-index a{grid-template-columns:48px minmax(0,1fr) 24px!important;gap:1rem!important}
  .case-index-meta{grid-column:2!important}
  .case-index-text{font-size:1.8rem!important}
  .fw-card{grid-template-columns:44px minmax(0,1fr)!important;grid-template-areas:"num title" "num desc" ". link"!important;gap:.5rem 1rem!important}
  .fw-link{justify-self:start!important;margin-top:.8rem!important}
  .route-row{grid-template-columns:44px minmax(0,1fr)!important}
  .route-row-text{font-size:1.5rem!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*{animation:none!important;transition:none!important}}

/* ===== v3.1: fixes found by rendering v3 ===== */
/* 1. headings on paper sections were off-white on paper (contrast ~1:1) */
#from-bukar,#best-thinking,#established,#voice,#understanding,#not-for-you,#how-the-work-happens{--red:#8f2f25;--gold:#8f2f25}
#from-bukar h1,#from-bukar h2,#best-thinking h2,#established h2,#voice h2,#understanding h2,#not-for-you h2,#how-the-work-happens h2,
#best-thinking .section-title,#established .section-title,#voice .section-title,#understanding .section-title,#not-for-you .section-title,#how-the-work-happens .section-title,
#best-thinking h3,#established h3,#voice h3,#understanding h3,#not-for-you h3,#how-the-work-happens h3{color:var(--ink)!important}
#best-thinking .section-rule,#established .section-rule,#voice .section-rule,#understanding .section-rule,#not-for-you .section-rule,#how-the-work-happens .section-rule{background:var(--ink)!important;opacity:.4!important}
/* 2. the red was too dark on night surfaces (about 3:1). Lighter red there, darker red on paper */
.hero,#problem,#another-job,#what-we-do,#ai,#cases,#frameworks,#evidence,#diagnostics,#stay-in-loop,#connect,nav,footer{--red:#ED1C24;--gold:#ED1C24}
/* 3. the page was too long: section padding roughly halved */
#another-job,#best-thinking,#established,#what-we-do,#voice,#understanding,#ai,#not-for-you,#how-the-work-happens,#cases{padding-top:clamp(4.5rem,7vw,7rem)!important;padding-bottom:clamp(4.5rem,7vw,7rem)!important}
#problem,#from-bukar,#frameworks{padding-top:clamp(4rem,7vw,7rem)!important;padding-bottom:clamp(4rem,7vw,7rem)!important}
/* 4. closing CTA links */
.closing-cta a{color:var(--white)!important;text-decoration:underline;text-underline-offset:.2em}
/* 5. phone: the closed mobile menu sat 300px off-screen and made the page scroll sideways */
html{overflow-x:clip!important}
/* 6. small text on dark was 4.0 to 4.3:1; brought to AA */
.hero-eyebrow .label,footer p,footer a,footer span,#connect span,#connect p,#diagnostics p,#stay-in-loop p,#stay-in-loop a{color:rgba(245,242,234,.8)!important}
/* 7. links and labels on the dark document pages (frameworks, cases, review, story, how we work) */
.content-section,.framework-hero,.diagnostic-hero,.closing-cta,.cta-section,.case-nav{--gold:#ED1C24;--red:#ED1C24}
/* 8. solid buttons: dark text on the red fill */
a[style*="background: var(--gold)"],a.btn:not(.btn-secondary){color:#10100f!important}

/* 9. the design is one fixed composition: the old light theme made headings and nav invisible, so the toggle is removed and any saved light preference renders as the designed look */
.theme-toggle-item,.theme-toggle,#themeToggle{display:none!important}
html[data-theme="light"]{--navy:#0A0A0C;--navy-mid:#121214;--navy-soft:#18181B;--gold:#ED1C24;--gold-light:#ED1C24;--gold-dim:rgba(237,28,36,0.16);--white:#F5F5F7;--off:#C7C7CC;--muted:#8E8E93;--rule:rgba(237,28,36,0.32);--navy-rgb:10,10,12;--navy-mid-rgb:18,18,20;--gold-rgb:255,90,54;--white-rgb:245,245,247}

/* 10. a saved light preference renders exactly like the designed (dark/paper) composition */
[data-theme="light"] body{background:var(--night)!important;color:var(--white)!important}
[data-theme="light"] nav{background:color-mix(in srgb,var(--night) 94%,transparent)!important;border-color:var(--line-light)!important}
[data-theme="light"] .hero{background:var(--night)!important;color:var(--white)!important}
[data-theme="light"] .hero-portrait img{mix-blend-mode:normal!important;opacity:.88!important}
[data-theme="light"] #problem{background:var(--night)!important;color:var(--white)!important}
[data-theme="light"] #from-bukar{background:#eeeae2!important;color:var(--ink)!important;border-color:rgba(17,16,14,.2)!important}
[data-theme="light"] .framework-hero,[data-theme="light"] .diagnostic-hero{background:var(--night)!important;color:var(--white)!important;border-color:var(--line-light)!important}
[data-theme="light"] .content-section{background:var(--night)!important;color:var(--white)!important}
[data-theme="light"] .artifact-box{background:var(--night-2)!important;border-color:var(--line-light)!important}
[data-theme="light"] #frameworks{background:var(--night)!important;color:var(--white)!important}
[data-theme="light"] .founder-copy p,[data-theme="light"] .founder-copy p:last-of-type{color:var(--ink)!important}
/* 11. text links under shortened sections: plain links, not statements */
.more-link{margin:1.6rem 0 0}.more-link a{font-size:1rem;text-decoration:underline;text-underline-offset:.22em}
/* 12. results disclosure line was 3.8:1 */
p[style*="rgba(var(--white-rgb),0.82)"]{color:#f5f2ea}
p[style*="white-rgb"]{color:#f5f2ea!important}
/* 13. decorative diagram arrows were 3.1:1 */
.artifact-box .artifact-arrow{color:rgba(245,242,234,.62)}
