/* ═══════════════════════════════════════════════════════════════
   B2CEO™ — shared stylesheet
   Loaded by every page that does not carry an inline <style> block:
   the framework and programme pages, the eleven Insights guides and
   the 404 page. Tokens and the nav / button / footer vocabulary are
   kept identical to the inline sheets on /, /insights and /advisory
   so the whole site reads as one design system.
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset & tokens ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy:#1A1A2E; --forest:#16213E; --gold:#E8A838; --gold-dp:#B07A12; --gold-lt:#F5D87A;
  --rust:#B5451B; --rust-lt:#D4623A;
  --paper:#FFFFFF; --cream:#FDF7EE; --sand:#F8F0E2; --mist:#EEF2F7;
  --line:rgba(26,26,46,0.08); --charcoal:#2D2D2D; --ink:#21263B; --mid:#5C6574;
  --display:'Playfair Display', Georgia, serif; --body:'Inter', system-ui, sans-serif;
  --max:1180px; --pad:clamp(1.25rem,5vw,4rem);
  --shadow:0 18px 48px -24px rgba(26,26,46,0.28); --shadow-sm:0 8px 24px -16px rgba(26,26,46,0.25);
}
html { scroll-behavior:smooth; font-size:16px; }
body { font-family:var(--body); background:var(--cream); color:var(--charcoal); line-height:1.65; overflow-x:hidden; }
img { display:block; max-width:100%; }
a { color:inherit; text-decoration:none; }

/* ── Typography ─────────────────────────────────────────────── */
.eyebrow { font-family:var(--body); font-size:.72rem; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color:var(--gold-dp); }
h1, h2, h3, h4 { font-family:var(--display); line-height:1.15; color:var(--navy); }
h2 { font-size:clamp(2rem,4vw,3rem); }
h3 { font-size:clamp(1.25rem,2vw,1.6rem); }
p { font-size:1.05rem; color:var(--mid); }
.accent { color:var(--gold); }

/* ── Layout helpers ─────────────────────────────────────────── */
.container { max-width:var(--max); margin:0 auto; padding:0 var(--pad); }
.section { padding:clamp(4rem,8vw,7rem) 0; }
.section--paper { background:var(--paper); }
.section--cream { background:var(--cream); }
.section--sand  { background:var(--sand); }
.section--mist  { background:var(--mist); }
.section--navy  { background:radial-gradient(ellipse 50% 45% at 85% 8%, rgba(232,168,56,.10) 0%, transparent 60%), linear-gradient(165deg,var(--navy) 0%,var(--forest) 100%); }
.section--navy .eyebrow { color:var(--gold-lt); }
.section--navy h2, .section--navy h3 { color:var(--paper); }
.section--navy p { color:rgba(255,255,255,.68); }
.gold-rule { width:3rem; height:4px; background:var(--gold); margin:1.25rem 0; border-radius:2px; }
.gold-rule--center { margin-left:auto; margin-right:auto; }
.pillars-intro { max-width:680px; }

/* ── Navigation ─────────────────────────────────────────────── */
body > nav { position:fixed; top:0; left:0; right:0; z-index:100; background:rgba(20,20,36,.82); backdrop-filter:blur(12px); border-bottom:1px solid rgba(232,168,56,.18); box-shadow:0 8px 30px -22px rgba(0,0,0,.9); padding:0 var(--pad); height:64px; display:flex; align-items:center; justify-content:space-between; }
.nav-brand { font-family:var(--display); font-size:1.15rem; font-weight:700; color:var(--paper); display:flex; align-items:center; gap:.5rem; letter-spacing:.01em; }
.nav-brand span { color:var(--gold); }
.nav-links { display:flex; gap:1.45rem; align-items:center; }
.nav-links a { font-size:.82rem; font-weight:500; color:rgba(255,255,255,.72); transition:color .2s; white-space:nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color:var(--gold); }
.nav-cta { background:var(--rust); color:var(--paper)!important; padding:.5rem 1.1rem; border-radius:4px; font-weight:600!important; }
.nav-cta:hover { background:var(--rust-lt)!important; color:var(--paper)!important; }
.nav-hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:4px; background:none; border:0; }
.nav-hamburger span { display:block; width:24px; height:2px; background:var(--paper); border-radius:2px; transition:all .3s; }
@media (max-width:980px) {
  .nav-links { display:none; }
  .nav-hamburger { display:flex; }
  .nav-links.open { display:flex; flex-direction:column; position:fixed; top:64px; left:0; right:0; background:var(--navy); padding:1.5rem var(--pad); gap:1.25rem; border-bottom:2px solid var(--gold); box-shadow:var(--shadow-sm); }
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:.5rem; padding:.875rem 2rem; border-radius:4px; font-size:.95rem; font-weight:600; cursor:pointer; transition:all .2s; border:0; font-family:var(--body); }
.btn-primary { background:var(--rust); color:var(--paper); }
.btn-primary:hover { background:var(--rust-lt); transform:translateY(-1px); box-shadow:0 10px 24px -10px rgba(181,69,27,.6); }
.btn-outline { background:transparent; color:var(--paper); border:1.5px solid rgba(255,255,255,.3); }
.btn-outline:hover { border-color:var(--gold); color:var(--gold); }
.btn-dark-outline { background:transparent; color:var(--navy); border:1.5px solid rgba(26,26,46,.18); }
.btn-dark-outline:hover { border-color:var(--gold-dp); color:var(--rust); }
.btn-gold { background:var(--gold); color:var(--navy); }
.btn-gold:hover { background:var(--gold-lt); transform:translateY(-1px); box-shadow:0 10px 24px -12px rgba(232,168,56,.7); }

/* ── Page & article hero ────────────────────────────────────── */
.page-hero { position:relative; overflow:hidden; padding:calc(64px + clamp(3rem,6vw,5rem)) 0 clamp(3rem,6vw,5rem); background:radial-gradient(ellipse 55% 50% at 80% 10%, rgba(232,168,56,.12) 0%, transparent 62%), linear-gradient(160deg,var(--navy) 0%,var(--forest) 100%); }
.page-hero::after { content:''; position:absolute; left:0; right:0; bottom:0; height:1px; background:linear-gradient(90deg, transparent, rgba(232,168,56,.35), transparent); pointer-events:none; }
.page-hero .container { position:relative; z-index:2; }
.page-hero h1 { font-size:clamp(2.25rem,4.8vw,4rem); font-weight:900; line-height:1.06; color:var(--paper); max-width:960px; }
.page-hero h1 span { color:var(--gold); }
.hero-grid-lines {
  position:absolute; inset:0;
  background-image:linear-gradient(rgba(232,168,56,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(232,168,56,.06) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(ellipse 80% 80% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image:radial-gradient(ellipse 80% 80% at 50% 40%, #000 30%, transparent 80%);
  pointer-events:none;
}
.hero-badge { display:inline-flex; align-items:center; gap:.5rem; background:rgba(255,255,255,.06); border:1px solid rgba(232,168,56,.35); padding:.4rem .9rem; border-radius:30px; font-size:.74rem; font-weight:600; letter-spacing:.08em; color:var(--gold-lt); text-transform:uppercase; margin-bottom:1.5rem; }
.hero-badge .dot { width:8px; height:8px; border-radius:50%; background:var(--gold); flex:none; }
.hero-sub { color:rgba(255,255,255,.7); font-size:clamp(1rem,1.5vw,1.18rem); max-width:720px; margin:1.5rem 0 2rem; }
.hero-actions { display:flex; flex-wrap:wrap; gap:1rem; }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb { position:static; height:auto; padding:0; background:none; border:0; box-shadow:none; backdrop-filter:none; display:block; margin-bottom:1.5rem; }
.breadcrumb ol { list-style:none; display:flex; flex-wrap:wrap; align-items:center; gap:.5rem; font-size:.78rem; letter-spacing:.03em; }
.breadcrumb li { display:flex; align-items:center; gap:.5rem; color:rgba(255,255,255,.5); }
.breadcrumb li + li::before { content:'/'; color:rgba(232,168,56,.55); }
.breadcrumb a { color:rgba(255,255,255,.62); transition:color .2s; }
.breadcrumb a:hover { color:var(--gold); }
.breadcrumb [aria-current="page"] { color:var(--gold-lt); font-weight:600; }

/* ── Article meta chips ─────────────────────────────────────── */
.article-meta { display:flex; flex-wrap:wrap; gap:.6rem; margin-top:.25rem; }
.meta-chip { font-size:.76rem; font-weight:600; color:var(--gold-lt); background:rgba(255,255,255,.06); border:1px solid rgba(232,168,56,.28); border-radius:30px; padding:.35rem .8rem; }

/* ── Article body + sidebar ─────────────────────────────────── */
.article-layout { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:clamp(2rem,4vw,4rem); align-items:start; }
@media (max-width:960px) { .article-layout { grid-template-columns:1fr; } }

.prose { max-width:72ch; }
.prose > * + * { margin-top:1.15rem; }
.prose > :first-child { margin-top:0; }
.prose p { font-size:1.08rem; line-height:1.75; color:var(--ink); }
.prose h2 { font-size:clamp(1.55rem,2.6vw,2.15rem); margin-top:2.75rem; }
.prose h3 { font-size:clamp(1.15rem,1.9vw,1.4rem); margin-top:2rem; }
.prose h2 + p, .prose h3 + p { margin-top:.9rem; }
.prose ul, .prose ol { padding-left:1.4rem; display:grid; gap:.75rem; }
.prose li { font-size:1.05rem; line-height:1.72; color:var(--ink); }
.prose li::marker { color:var(--gold-dp); font-weight:700; }
.prose strong { color:var(--navy); }
.prose a { color:var(--rust); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:.18em; }
.prose a:hover { color:var(--gold-dp); }
.prose blockquote { font-family:var(--display); font-size:clamp(1.2rem,2vw,1.5rem); line-height:1.4; color:var(--navy); border-left:3px solid var(--gold); padding:.25rem 0 .25rem 1.5rem; margin:2.25rem 0; }

.callout { background:var(--sand); border:1px solid rgba(232,168,56,.4); border-left:3px solid var(--gold); border-radius:10px; padding:1.5rem 1.65rem; margin:2.25rem 0; display:grid; gap:.7rem; }
.callout p { font-size:.97rem; line-height:1.68; color:var(--ink); }
.callout .callout-title { font-family:var(--display); font-size:1.1rem; font-weight:700; color:var(--navy); }
.callout a { color:var(--rust); text-decoration:underline; }

.article-aside { display:grid; gap:1.25rem; position:sticky; top:88px; }
@media (max-width:960px) { .article-aside { position:static; } }
.side-card { background:linear-gradient(165deg,var(--navy) 0%,var(--forest) 100%); border:1px solid rgba(232,168,56,.22); border-radius:12px; padding:1.65rem; box-shadow:var(--shadow-sm); display:grid; gap:.85rem; }
.side-card h2 { font-size:1.2rem; color:var(--paper); }
.side-card p { font-size:.92rem; line-height:1.6; color:rgba(255,255,255,.7); }
.side-card .btn { width:100%; }
.side-card--plain { background:var(--paper); border:1px solid var(--line); }
.side-card--plain h2 { color:var(--navy); }
.side-card--plain p { color:var(--mid); }
.side-card--plain ul { list-style:none; display:grid; gap:.6rem; }
.side-card--plain li { font-size:.92rem; line-height:1.5; color:var(--ink); padding-bottom:.6rem; border-bottom:1px solid var(--line); }
.side-card--plain li:last-child { padding-bottom:0; border-bottom:0; }

/* ── Guide cards ────────────────────────────────────────────── */
.guide-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; margin-top:3rem; }
.guide-grid--two { grid-template-columns:repeat(2,1fr); }
.guide-card { display:flex; flex-direction:column; gap:.6rem; background:var(--paper); border:1px solid var(--line); border-top:3px solid var(--gold); border-radius:12px; padding:1.6rem; box-shadow:var(--shadow-sm); transition:transform .2s, box-shadow .2s, border-color .2s; }
.guide-card:hover { transform:translateY(-3px); box-shadow:var(--shadow); border-color:rgba(232,168,56,.55); }
.guide-kicker { font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-dp); font-weight:700; }
.guide-card h3, .section--navy .guide-card h3 { font-size:1.15rem; color:var(--navy); }
.guide-card p, .section--navy .guide-card p { font-size:.9rem; line-height:1.58; color:var(--mid); flex:1; }
.guide-more { font-size:.85rem; font-weight:700; color:var(--rust); margin-top:.35rem; }
@media (max-width:980px) { .guide-grid, .guide-grid--two { grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px) { .guide-grid, .guide-grid--two { grid-template-columns:1fr; } }

/* ── Point grid (checklists, readiness questions) ───────────── */
.point-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:.85rem; margin-top:2.5rem; }
.point-item { display:grid; grid-template-columns:auto 1fr; gap:.9rem; align-items:start; background:var(--paper); border:1px solid var(--line); border-radius:10px; padding:1.1rem 1.25rem; box-shadow:var(--shadow-sm); }
.point-check { width:28px; height:28px; border-radius:50%; flex:none; display:flex; align-items:center; justify-content:center; background:rgba(232,168,56,.18); color:var(--gold-dp); font-family:var(--body); font-size:.82rem; font-weight:700; }
.point-text { font-size:.95rem; line-height:1.6; color:var(--ink); }
.section--navy .point-item { background:rgba(255,255,255,.05); border-color:rgba(255,255,255,.1); box-shadow:none; }
.section--navy .point-check { background:rgba(232,168,56,.2); color:var(--gold-lt); }
.section--navy .point-text { color:rgba(255,255,255,.8); }
@media (max-width:760px) { .point-grid { grid-template-columns:1fr; } }

/* ── Numbered step rows ─────────────────────────────────────── */
.step-list { display:grid; gap:.85rem; margin-top:2.5rem; }
.step-row { display:grid; grid-template-columns:auto 1fr; gap:1.25rem; background:var(--paper); border:1px solid var(--line); border-radius:12px; padding:1.35rem 1.5rem; box-shadow:var(--shadow-sm); }
.step-num { font-family:var(--display); font-size:1.35rem; font-weight:700; line-height:1.25; color:var(--gold-dp); }
.step-title { font-family:var(--display); font-size:1.1rem; color:var(--navy); margin-bottom:.4rem; }
.step-text { font-size:.95rem; line-height:1.64; color:var(--mid); }
.step-text a { color:var(--rust); text-decoration:underline; }
.section--navy .step-row { background:rgba(255,255,255,.05); border-color:rgba(255,255,255,.1); box-shadow:none; }
.section--navy .step-num { color:var(--gold); }
.section--navy .step-title { color:var(--paper); }
.section--navy .step-text { color:rgba(255,255,255,.72); }
.section--navy .step-text a { color:var(--gold-lt); }
@media (max-width:620px) { .step-row { grid-template-columns:1fr; gap:.5rem; } }

/* ── CTA band ───────────────────────────────────────────────── */
.cta-band { margin-top:3rem; border-radius:14px; padding:clamp(2rem,4vw,3rem); background:radial-gradient(ellipse 60% 60% at 90% 0%, rgba(232,168,56,.14) 0%, transparent 60%), linear-gradient(160deg,var(--navy) 0%,var(--forest) 100%); border:1px solid rgba(232,168,56,.28); box-shadow:var(--shadow); display:grid; gap:1rem; justify-items:start; }
.cta-band h2, .section--navy .cta-band h2 { font-size:clamp(1.7rem,3vw,2.4rem); color:var(--paper); }
.cta-band p, .section--navy .cta-band p { color:rgba(255,255,255,.74); max-width:700px; }
.section--navy .cta-band { background:rgba(255,255,255,.05); border-color:rgba(232,168,56,.35); box-shadow:none; }

/* ── FAQ accordion ──────────────────────────────────────────── */
.faq-list { display:grid; gap:.75rem; margin-top:2.5rem; max-width:900px; }
.faq-item { background:var(--paper); border:1px solid var(--line); border-radius:10px; box-shadow:var(--shadow-sm); overflow:hidden; }
.faq-item summary { cursor:pointer; list-style:none; display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.15rem 1.4rem; font-family:var(--display); font-size:1.05rem; font-weight:600; color:var(--navy); }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:'+'; flex:none; font-family:var(--body); font-size:1.35rem; line-height:1; color:var(--gold-dp); }
.faq-item[open] summary::after { content:'\2212'; }
.faq-item[open] summary { border-bottom:1px solid var(--line); }
.faq-answer { padding:1.15rem 1.4rem; display:grid; gap:.8rem; }
.faq-answer p { font-size:.97rem; line-height:1.7; color:var(--ink); }
.faq-answer a { color:var(--rust); text-decoration:underline; }

/* ── Footer ─────────────────────────────────────────────────── */
footer { background:#11121F; padding:3rem var(--pad) 2rem; border-top:3px solid var(--gold); }
.footer-inner { max-width:var(--max); margin:0 auto; display:grid; grid-template-columns:1.8fr 1fr 1fr 1.2fr; gap:2.5rem; }
.footer-brand { font-family:var(--display); font-size:1.2rem; font-weight:700; color:var(--paper); margin-bottom:.75rem; }
.footer-brand span { color:var(--gold); }
.footer-tagline, .footer-links li, .footer-links a { font-size:.88rem; color:rgba(255,255,255,.55); }
.footer-tagline { color:rgba(255,255,255,.45); line-height:1.6; max-width:340px; }
.footer-col-title { font-size:.72rem; font-weight:600; letter-spacing:.15em; text-transform:uppercase; color:rgba(255,255,255,.4); margin-bottom:1rem; }
.footer-links { list-style:none; display:flex; flex-direction:column; gap:.5rem; }
.footer-links a:hover { color:var(--gold); }
.footer-bottom { max-width:var(--max); margin:2rem auto 0; padding-top:1.5rem; border-top:1px solid rgba(255,255,255,.06); display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; }
.footer-copy, .footer-origin { font-size:.8rem; color:rgba(255,255,255,.3); }
@media (max-width:800px) { .footer-inner { grid-template-columns:1fr 1fr; } }
@media (max-width:500px) { .footer-inner { grid-template-columns:1fr; } }

/* ── Motion ─────────────────────────────────────────────────── */
.reveal { opacity:0; transform:translateY(24px); transition:opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
/* Fail-safe. The reveal animation hides content until b2ceo.js adds
   `.visible`, so the script failing to load must never leave a guide
   blank. The <script> tag's onerror handler sets `.assets-failed`; the
   <noscript> block in each page covers scripting being off entirely. */
/* Pull-quote: a set-apart commentary block, distinct from body prose. */
.pull-quote { max-width:760px; margin:3rem auto 0; padding:2.25rem 0; border-top:1px solid rgba(232,168,56,.45); border-bottom:1px solid rgba(232,168,56,.45); text-align:center; }
.pull-quote-text { font-family:var(--display); font-style:italic; font-size:clamp(1.25rem,2.4vw,1.65rem); line-height:1.5; color:var(--navy); }
.pull-quote-mark { font-family:var(--display); font-style:normal; font-weight:700; color:var(--gold); font-size:1.6em; line-height:0; vertical-align:-.3em; padding:0 .08em; }
.pull-quote-cite { display:block; margin-top:1.25rem; font-family:var(--body); font-style:normal; font-size:.9rem; font-weight:600; letter-spacing:.02em; color:var(--gold-dp); }
html.assets-failed .reveal { opacity:1; transform:none; transition:none; }
.progress-bar { position:fixed; top:64px; left:0; right:0; height:2px; z-index:99; background:var(--gold); transform-origin:left; transform:scaleX(0); transition:transform .1s linear; }
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation-duration:.01ms!important; transition-duration:.01ms!important; }
  .reveal { opacity:1; transform:none; }
}
