/* Shared branding and navigation across every page. */
.sc-header, .sc-footer { box-sizing: border-box; color: #f0efe9; font-family: 'Space Grotesk', system-ui, sans-serif; }
.sc-header { position: relative; z-index: 25; width: 100%; min-height: 94px; padding: 22px clamp(22px, 5.3vw, 86px); display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid rgba(240,239,233,.13); background: #090a0a; }
main#top > .sc-header { position: absolute; inset: 0 0 auto; }
.sc-brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 12px; color: #f0efe9; font-size: 17px; font-weight: 500; letter-spacing: -.025em; line-height: 1.3; text-decoration: none; }
.sc-brand img { display: block; width: 24px; height: 24px; object-fit: contain; }
.sc-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); }
.sc-nav a, .sc-footer nav a { color: #bcbdb5; text-decoration: none; font: 500 10px/1.5 'IBM Plex Mono', monospace; letter-spacing: .07em; text-transform: uppercase; }
.sc-nav a:hover, .sc-footer a:hover, .sc-nav a[aria-current], .sc-footer nav a[aria-current] { color: #f19a38; }
.sc-nav .sc-cta { padding: 11px 16px; border: 1px solid rgba(240,239,233,.25); color: #f0efe9; }
.sc-nav .sc-cta[aria-current] { color: #f19a38; }
.sc-header a:focus-visible, .sc-header button:focus-visible, .sc-footer a:focus-visible { outline: 2px solid #f19a38; outline-offset: 5px; }
.sc-toggle { display: none; padding: 10px 14px; border: 1px solid rgba(240,239,233,.25); background: transparent; color: #f0efe9; font: 500 11px/1.5 'IBM Plex Mono', monospace; cursor: pointer; }
.sc-footer { padding: 54px clamp(22px, 5.3vw, 86px) 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; background: #090a0a; border-top: 1px solid rgba(240,239,233,.13); }
.sc-footer p { margin: 18px 0 12px; font: 400 13px/1.6 'Space Grotesk', sans-serif; color: #bcbdb5; }
.sc-email { color: #bcbdb5; font-size: 13px; text-decoration: none; }
.sc-social { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.sc-social a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid rgba(240,239,233,.18); color: #bcbdb5; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.sc-social a:hover, .sc-social a:focus-visible { border-color: #d87919; color: #f19a38; background: rgba(216,121,25,.08); }
.sc-social svg { width: 15px; height: 15px; fill: currentColor; display: block; }
.sc-footer nav { display: flex; align-content: start; justify-content: flex-end; flex-wrap: wrap; gap: 20px 24px; }
.sc-footer small { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(240,239,233,.13); color: #bcbdb5; font: 400 10px/1.6 'IBM Plex Mono', monospace; }
@media (max-width: 1100px) {
  .sc-header { min-height: 76px; padding-block: 18px; flex-wrap: wrap; gap: 18px; }
  .sc-toggle { display: block; }
  .sc-nav { width: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  /* Without JavaScript the links remain available. */
  .sc-header.sc-enhanced .sc-nav { display: none; }
  .sc-header.sc-enhanced .sc-nav.open { display: flex; }
  .sc-nav a { padding: 14px 0; }
  .sc-nav .sc-cta { margin-top: 8px; text-align: center; }
  .sc-footer { grid-template-columns: 1fr; }
  .sc-footer nav { justify-content: flex-start; }
}
@media (max-width: 400px) { .sc-brand { font-size: 15px; gap: 8px; } }
/* Value Levers uses the established home-page type and colour palette. */
.value-levers-page .sx-sec { padding: clamp(64px, 8vw, 110px) clamp(22px, 5.3vw, 86px); border-bottom: 1px solid var(--rule); }
.value-levers-page .sx-sec.alt { background: var(--graphite); }
.sx-wrap { max-width: 1280px; margin-inline: auto; }
.sx-h1 { margin-top: 0; }
.sx-h2 { margin: 0; max-width: 18ch; font-size: clamp(32px, 4vw, 54px); font-weight: 300; letter-spacing: -.035em; line-height: 1.15; }
.sx-lede { max-width: 65ch; margin: 26px 0 0; color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.7; }
.sx-head, .sx-closing { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; }
.sx-head .sx-lede, .sx-closing .sx-lede { margin-top: 0; }
.sx-head { margin-bottom: 48px; }
.lv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.lv-card { padding: 32px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.lv-card h3 { font-size: 25px; font-weight: 400; line-height: 1.25; margin: 0 0 24px; color: var(--amber-bright); }
.lv-card p { font-size: 14px; color: var(--muted); }
.lv-card .q { color: var(--paper); font-size: 17px; }
.eng-row { display: grid; grid-template-columns: .8fr 1.2fr 1fr; gap: 32px; padding: 36px 0; border-top: 1px solid var(--rule); }
.eng-row h3 { margin: 0 0 12px; font-weight: 400; font-size: 23px; }
.eng-row small { color: var(--amber-bright); font: 400 10px/1.5 var(--mono); text-transform: uppercase; }
.eng-row p { margin-top: 0; color: var(--muted); font-size: 15px; }
.sx-link { color: var(--paper); border-bottom: 1px solid var(--amber); }
.chips { display: flex; align-content: start; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 6px 9px; border: 1px solid var(--rule); color: var(--dim); font: 400 10px/1.5 var(--mono); }
.chips li.on { color: var(--paper); border-color: var(--amber); }
.sx-btn { display: inline-block; margin-top: 30px; padding: 15px 22px; background: var(--amber); color: var(--ink); font: 500 11px/1.5 var(--mono); text-transform: uppercase; }
.sx-closing .mail { display: block; width: fit-content; margin-top: 24px; color: var(--muted); }
@media (max-width: 900px) { .lv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .eng-row { grid-template-columns: 1fr 1.5fr; } .chips { grid-column: 1 / -1; } }
@media (max-width: 700px) { .lv-grid, .sx-head, .sx-closing, .eng-row { grid-template-columns: 1fr; } .sx-head, .sx-closing { gap: 28px; } .lv-card { padding: 26px; } }
/* ---------------------------------------------------------------------------
   Motion graphics (shared). Everything here is disabled for reduced motion.
   --------------------------------------------------------------------------- */
@keyframes sc-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes sc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sc-pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(79,145,132,.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(79,145,132,0); } }
@keyframes sc-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: no-preference) {
  /* Reading progress hairline, driven by scroll position where supported. */
  @supports (animation-timeline: scroll()) {
    body::after { content: ""; position: fixed; z-index: 40; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, #4f9184, #f19a38); transform-origin: 0 50%; transform: scaleX(0); animation: sc-progress linear both; animation-timeline: scroll(root); pointer-events: none; }
  }
  /* Header settles in on every page. */
  .sc-header { animation: sc-fade .9s ease both; }
  .sc-nav .sc-cta { transition: border-color .25s, background .25s, color .25s; }
  .sc-nav .sc-cta:hover { border-color: #d87919; background: rgba(216,121,25,.08); }
  /* Hero copy cascades in on first load (CSS only, so there is no flash before scripts run). */
  .hero-copy > *, .fcfo-hero-copy > *, .about-hero-copy > *, .insights-hero > *, .sx-sec.first .sx-wrap > * { animation: sc-rise 1s cubic-bezier(.2,.7,.2,1) both; }
  :is(.hero-copy, .fcfo-hero-copy, .about-hero-copy, .insights-hero, .sx-sec.first .sx-wrap) > :nth-child(2) { animation-delay: .12s; }
  :is(.hero-copy, .fcfo-hero-copy, .about-hero-copy, .insights-hero, .sx-sec.first .sx-wrap) > :nth-child(3) { animation-delay: .24s; }
  :is(.hero-copy, .fcfo-hero-copy, .about-hero-copy, .insights-hero, .sx-sec.first .sx-wrap) > :nth-child(4) { animation-delay: .36s; }
  :is(.hero-copy, .fcfo-hero-copy, .about-hero-copy, .insights-hero, .sx-sec.first .sx-wrap) > :nth-child(5) { animation-delay: .48s; }
  :is(.hero-copy, .fcfo-hero-copy, .about-hero-copy, .insights-hero, .sx-sec.first .sx-wrap) > :nth-child(n+6) { animation-delay: .6s; }
  .eyebrow > span:empty { animation: sc-pulse-ring 2.4s ease-out 1.2s infinite; }
  /* Fractional CFO console rows boot up in sequence. */
  .fcfo-console { animation: sc-fade 1s ease .3s both; }
  .console-row { position: relative; animation: sc-rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .console-row:nth-child(1) { animation-delay: .5s; } .console-row:nth-child(2) { animation-delay: .65s; }
  .console-row:nth-child(3) { animation-delay: .8s; } .console-row:nth-child(4) { animation-delay: .95s; }
  .console-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: #d87919; transform: scaleY(0); transform-origin: top; transition: transform .35s ease; }
  .console-row:hover::before { transform: scaleY(1); }
  /* Scroll reveal, armed by site.js only for content below the fold. */
  .rv { transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--rv-i, 0) * 90ms); }
  .rv:not(.rv-in) { opacity: 0; transform: translateY(30px); }
  /* Cards gain an amber edge that sweeps across on hover. */
  .programme-card::before, .practice-card::before, .lv-card::before, .outcome-grid article::before, .principles-grid article::before, .principle-rail article::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #d87919; transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
  .programme-card:hover::before, .practice-card:hover::before, .lv-card:hover::before, .outcome-grid article:hover::before, .principles-grid article:hover::before, .principle-rail article:hover::before { transform: scaleX(1); }
  .practice-card, .lv-card, .outcome-grid article, .principles-grid article, .principle-rail article { position: relative; transition: background .3s; }
  .practice-card:hover, .lv-card:hover, .outcome-grid article:hover, .principles-grid article:hover, .principle-rail article:hover { background: #161917; }
  /* Button arrows nudge forward. */
  .button svg, .btn::after { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
  .button:hover svg, .button:focus-visible svg { transform: translateX(4px); }
  .btn:hover::after, .btn:focus-visible::after { transform: translate(2px, -2px); }
}
@media print { .rv { opacity: 1 !important; transform: none !important; } }
