/* ==========================================================================
   SMP Operational Excellence — "Earth & Vision" two-tone editorial theme
   Loaded after portfolio.css. Redeclares design tokens onto SMP's official
   brand palette (Earth Brown #4A3529 + Vision Red #A3362B, per the SMP brand
   guide) and adds SMP-specific nav, hero, editorial dark bands, pillar and
   PDCA treatments. Scoped to this page only — portfolio.css itself is
   untouched, so the portfolio listing and the Sawubona case study keep their
   original green theme.

   STANDALONE: this page depends only on assets inside its own folder
   (portfolio.css, smp.css, fonts/, img/). No external CDN.
   ========================================================================== */

:root{
  /* SMP brand palette */
  --earth:#4a3529;        /* Earth Brown — stability, trust, grounded wisdom */
  --earth-deep:#2e2018;
  --earth-soft:#6b5443;
  --vision:#a3362b;       /* Vision Red — ambition, energy, bold leadership */
  --vision-deep:#7e2820;
  --vision-soft:#c9695e;
  --parchment:#f6f1e9;
  --cream:#fbf8f3;
  --sand:#ede4d6;
  --gold:#c9892f;

  /* Remap onto the shared design-token names so the rest of the cascade works.
     The shared stylesheet calls the accent "green" — here it is Vision Red. */
  --bg:#f6f1e9;
  --bg-soft:#ede4d6;
  --bg-deep:#e4d8c6;
  --surface:#ffffff;
  --surface-2:#fbf8f3;
  --ink:#2e2018;
  --ink-soft:#5c4a3c;
  --ink-faint:#9a8b7c;
  --line:#e0d4c2;
  --green:#a3362b;
  --green-deep:#7e2820;
  --green-soft:#f3e4dd;
  --mint:#c9695e;
  --sun:#c9892f;
  --sun-soft:#f5e8cf;
  --take-bg:#2e2018;
  --take-text:#f3e4dd;

  /* Back-compat aliases: the SMP-specific rules below were authored against the
     old Serene-Blue names. Re-point them at the new brand colours so the whole
     cascade re-skins without touching every rule.
       dusk-blue  → earth   (primary dark / headings)
       steel-blue → vision  (accent / interactive)
       icy-blue   → vision-soft / sand (tints, borders, pills) */
  --dusk-blue:var(--earth);
  --steel-blue:var(--vision);
  --icy-blue:#e7c9c2;        /* soft vision-red tint for borders & idle pills */

  /* Widen the desktop canvas toward 70% of the viewport */
  --maxw: clamp(1160px, 70vw, 1680px);
}

/* ---- Ambient blobs recoloured for the warm earth theme ------------------- */
.blob.b1{background:radial-gradient(circle,#efe2d2,transparent 70%)}
.blob.b2{background:radial-gradient(circle,#f0d9d2,transparent 70%)}
.blob.b3{background:radial-gradient(circle,#e9dcc8,transparent 70%)}

/* ---- Nav: real logo + compact menu (CTA always one line) + hamburger ------ */
.smp-nav{position:sticky;top:0;z-index:100;background:rgba(246,241,233,.82);backdrop-filter:saturate(140%) blur(16px);border-bottom:1px solid var(--line);transition:box-shadow .3s,background .3s}
.smp-nav.scrolled{box-shadow:0 8px 30px rgba(46,32,24,.10);background:rgba(248,244,237,.94)}
.smp-nav .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:13px;padding-bottom:13px}
.smp-nav .logo{display:flex;align-items:center}
.smp-nav .logo .logo-img{height:42px;width:auto;display:block;transition:transform .3s cubic-bezier(.16,1,.3,1)}
.smp-nav .logo:hover .logo-img{transform:scale(1.04)}
.smp-nav .nav-links{display:flex;align-items:center;gap:30px}
.smp-nav .nav-links>a:not(.btn){position:relative;font-weight:600;font-size:.9rem;color:var(--ink-soft);transition:color .2s;white-space:nowrap}
.smp-nav .nav-links>a:not(.btn)::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:2px;background:var(--vision);transform:scaleX(0);transform-origin:left;transition:transform .3s cubic-bezier(.16,1,.3,1)}
.smp-nav .nav-links>a:not(.btn):hover{color:var(--earth)}
.smp-nav .nav-links>a:not(.btn):hover::after{transform:scaleX(1)}
.smp-nav .nav-cta{margin-left:6px;padding:10px 20px;font-size:.86rem;white-space:nowrap;flex:none}
/* hamburger button — hidden on desktop */
.nav-toggle{display:none;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;border:1px solid var(--line);border-radius:11px;background:var(--surface);cursor:pointer;flex:none;padding:0}
.nav-toggle span{display:block;width:20px;height:2px;margin:0 auto;background:var(--earth);border-radius:2px;transition:transform .3s cubic-bezier(.16,1,.3,1),opacity .25s}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Tighten the spacing before the breakpoint so the CTA never wraps */
@media(max-width:1080px){.smp-nav .nav-links{gap:22px}}
@media(max-width:920px){
  .nav-toggle{display:flex}
  .smp-nav .wrap{position:relative}
  .smp-nav .nav-links{
    position:absolute;top:calc(100% + 1px);left:0;right:0;
    flex-direction:column;align-items:stretch;gap:0;
    background:var(--surface);border-bottom:1px solid var(--line);
    box-shadow:0 24px 50px rgba(46,32,24,.16);
    padding:8px 20px 20px;
    clip-path:inset(0 0 100% 0);opacity:0;pointer-events:none;
    transition:clip-path .4s cubic-bezier(.16,1,.3,1),opacity .3s;
  }
  .smp-nav .nav-links.open{clip-path:inset(0 0 0 0);opacity:1;pointer-events:auto}
  .smp-nav .nav-links>a:not(.btn){padding:15px 4px;font-size:1.02rem;border-bottom:1px solid var(--line)}
  .smp-nav .nav-links>a:not(.btn)::after{display:none}
  .smp-nav .nav-cta{margin:16px 0 4px;justify-content:center;padding:14px 20px;font-size:.95rem}
}

/* ---- Hero: full-width headline band (req: name, eyebrow & stats span the
   whole hero grid). The hero is now a single stacked column at full width. - */
.case-hero .hero-stack{display:flex;flex-direction:column;align-items:flex-start;width:100%}
.case-hero .hero-stack .lead{max-width:74ch}
.case-hero .hero-name{
  font-size:clamp(3rem,7.2vw,6rem);
  line-height:1.01;
  margin:14px 0 18px;
  max-width:none;
  width:100%;              /* span the full hero grid */
  color:var(--dusk-blue);
}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .case-hero .hero-name{
    background:linear-gradient(120deg,var(--dusk-blue),var(--steel-blue));
    -webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;
  }
}
.hero-tagline{
  font-family:'Fraunces',Georgia,serif;
  font-weight:500;
  font-size:clamp(1.15rem,2.4vw,1.5rem);
  color:var(--ink-soft);
  max-width:34ch;
  margin-bottom:22px;
  line-height:1.35;
}

/* ---- Highlighted eyebrow labels (req: bigger font on the eyebrow) -------- */
.eyebrow{
  background:var(--icy-blue);
  color:var(--dusk-blue);
  padding:8px 18px;
  border-radius:100px;
  font-weight:800;
  letter-spacing:.16em;
  font-size:.98rem;          /* req: bigger than the .8rem base */
}
/* The hero eyebrow leads the section — give it a touch more presence still. */
.case-hero .eyebrow{font-size:1.06rem;letter-spacing:.14em}

/* ---- Stat strip: spans the full hero grid (req) — now holds five stats ---- */
.case-hero .stat-strip{max-width:none;width:100%;margin-top:38px}
.case-hero .stat-strip .stat b{font-size:clamp(1.7rem,2.4vw,2.2rem)}

/* ---- Hero photo: full-width band beneath the headline -------------------- */
.case-hero .hero-stack .hero-photo{
  width:100%;margin-top:34px;aspect-ratio:21/8;border-width:6px;
}
@media(max-width:640px){
  .case-hero .hero-stack .hero-photo{aspect-ratio:16/10}
}

/* ---- Pronounced card hover (req: lighter hover + readable text) -----------
   Previously the hover overlay was a deep blue gradient and the text turned
   dark (dusk-blue / ink), so labels went dark-on-dark and became hard to read.
   Fix: keep the pronounced colour wash but lighten it, and flip the text to
   white so it always stays legible on hover. ----------------------------- */
/* NOTE: the old dark colour-wash hover is disabled in the V2 block below
   (.card::before{display:none}); hover is now a clean lift with readable ink. */
.card:hover{border-color:var(--vision);box-shadow:0 22px 54px rgba(46,32,24,.16),0 8px 22px rgba(163,54,43,.12)}

.team-card:hover{border-color:var(--vision-soft);box-shadow:0 22px 54px rgba(46,32,24,.16)}

.t-step::after{background:linear-gradient(90deg,var(--steel-blue),var(--icy-blue))}
.t-step:hover{border-color:var(--steel-blue)}
.t-step.final{background:linear-gradient(150deg,var(--green-soft),#fff);border-color:var(--icy-blue)}

/* ---- SMP "take" callout (renamed from .khula-take) ------------------------ */
.smp-take{background:var(--take-bg);color:var(--take-text);border-left:4px solid var(--steel-blue);border-radius:0 12px 12px 0;padding:26px 30px;margin-top:38px;max-width:760px}
.smp-take h3{color:var(--icy-blue);font-size:1.05rem;margin-bottom:8px}
.smp-take p{color:var(--take-text);font-weight:500;line-height:1.7;font-size:.96rem}
.smp-take strong{color:#cfe6f7}

/* ---- Team cards: left-align now that photos are removed ------------------ */
.team-card .team-name{text-align:left}
.team-card .team-title{text-align:left;margin-bottom:14px}

/* ==========================================================================
   Package head — heading on the left, a REVOLVING capability deck on the
   right. The deck cards cross-fade one after another (driven by JS).
   ========================================================================== */
.pkg-head{
  display:grid;
  grid-template-columns:1fr minmax(300px,440px);
  gap:30px;align-items:center;
  background:linear-gradient(135deg,var(--green-soft) 0%,#fff 60%);
  border:1px solid var(--icy-blue);
  border-radius:20px;
  padding:32px 34px;
}
.pkg-head-copy h3{font-family:'Fraunces',serif;font-size:clamp(1.5rem,2.6vw,2.1rem);color:var(--dusk-blue);margin:0 0 10px;line-height:1.1}
.pkg-head-copy .pkg-note{color:var(--ink-soft);font-weight:600;font-size:1rem;max-width:52ch;line-height:1.6}

/* the revolving deck stage */
.pkg-deck{
  position:relative;
  min-height:208px;
  background:var(--surface);
  border:1px solid var(--icy-blue);
  border-radius:16px;
  box-shadow:0 18px 44px rgba(46,32,24,.16);
  padding:26px 26px 46px;
  overflow:hidden;
}
.pkg-deck::before{
  content:"";position:absolute;left:0;top:0;width:100%;height:5px;
  background:linear-gradient(90deg,var(--steel-blue),var(--icy-blue));
}
.deck-card{
  position:absolute;inset:26px 26px 46px;
  opacity:0;transform:translateY(14px) scale(.98);
  transition:opacity .6s cubic-bezier(.16,1,.3,1),transform .6s cubic-bezier(.16,1,.3,1);
  pointer-events:none;
}
.deck-card.is-active{opacity:1;transform:none;pointer-events:auto}
.deck-card .deck-tag{
  display:inline-block;font-family:'Fraunces',serif;font-weight:600;
  font-size:1.22rem;color:var(--dusk-blue);margin-bottom:12px;line-height:1.2;
}
.deck-card p{color:var(--ink-soft);font-weight:500;font-size:.98rem;line-height:1.6;margin:0}
.deck-dots{position:absolute;left:26px;bottom:20px;display:flex;gap:9px}
.deck-dot{
  width:9px;height:9px;border-radius:50%;border:0;padding:0;cursor:pointer;
  background:var(--icy-blue);opacity:.5;transition:opacity .3s,transform .3s,width .3s;
}
.deck-dot.is-active{opacity:1;width:26px;border-radius:100px;background:var(--steel-blue)}
.deck-dot:hover{opacity:.85}

@media(max-width:920px){
  .pkg-head{grid-template-columns:1fr;gap:24px;padding:26px 22px}
  .pkg-deck{min-height:200px}
}

/* ==========================================================================
   Cards with a human photo header (req: more human pictures, human feel)
   ========================================================================== */
.card.has-photo{padding:0;overflow:hidden;display:flex;flex-direction:column}
.card.has-photo .card-photo{aspect-ratio:16/9;overflow:hidden;background:var(--bg-soft);position:relative}
.card.has-photo .card-photo img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.16,1,.3,1)}
.card.has-photo:hover .card-photo img{transform:scale(1.05)}
.card.has-photo .smp-icon{margin:18px 0 0 26px}
.card.has-photo>h3{margin:10px 26px 8px}
.card.has-photo>p{margin:0 26px 26px}
/* cards that wrap their text in .card-body (engagement cards) */
.card.has-photo .card-body{padding:24px 26px 26px}
.card.has-photo .card-body h3{margin:8px 0}
.card.has-photo .card-body p{margin:0}
/* v2 hover is a clean lift (no dark wash), so card text must stay dark/readable.
   Keep the original ink on hover instead of flipping to white. */
.card.has-photo:hover .card-body h3{color:var(--earth)}
.card.has-photo:hover .card-body p,
.card.has-photo:hover .card-body li{color:var(--ink-soft)}
.card.has-photo:hover .card-body .duration-badge{background:var(--green-soft);color:var(--vision-deep)}

/* ==========================================================================
   Pooled capability — PROMINENT redesign. Full-width heading band spanning the
   section, a feature with real facilitation photo, then a large 20+ pill grid.
   ========================================================================== */
.cap-section{position:relative;background:var(--bg-soft);overflow:hidden}
/* a soft branded gradient panel makes the whole section read as a feature */
.cap-section::before{
  content:"";position:absolute;inset:0;z-index:0;
  background:
    radial-gradient(1100px 520px at 12% -10%,rgba(163,206,241,.45),transparent 60%),
    radial-gradient(900px 480px at 100% 0%,rgba(163,54,43,.18),transparent 55%);
  pointer-events:none;
}
.cap-section>.wrap{position:relative;z-index:1}

/* full-width heading band — spans the whole section (req) */
.cap-band{
  text-align:center;max-width:none;width:100%;
  border-bottom:1px solid var(--icy-blue);
  padding-bottom:30px;margin-bottom:6px;
}
.cap-band .eyebrow{margin-bottom:16px}
.cap-band h2{
  font-size:clamp(2rem,4.6vw,3.4rem);color:var(--dusk-blue);
  line-height:1.05;margin:0 auto;max-width:20ch;
}
.cap-band p{
  color:var(--ink-soft);font-size:1.08rem;font-weight:500;line-height:1.65;
  margin:16px auto 0;max-width:74ch;
}

.cap-feature{
  display:grid;grid-template-columns:.85fr 1.15fr;gap:50px;align-items:center;margin-top:40px;
}
.cap-feature-copy .cap-lead{
  font-family:'Fraunces',Georgia,serif;font-weight:500;
  font-size:clamp(1.25rem,2.1vw,1.65rem);color:var(--ink);line-height:1.38;margin:0 0 16px;
}
.cap-feature-copy .cap-body{color:var(--ink-soft);font-weight:500;font-size:1.04rem;line-height:1.7;margin:0;max-width:62ch}
.cap-photo{border-radius:var(--radius,22px);overflow:hidden;box-shadow:0 32px 80px rgba(46,32,24,.22);border:6px solid #fff;background:var(--bg-soft);aspect-ratio:3/4}
.cap-photo img{width:100%;height:100%;object-fit:cover;object-position:center 30%}
@media(max-width:920px){
  .cap-feature{grid-template-columns:1fr;gap:28px}
  .cap-photo{aspect-ratio:4/3;max-width:620px;margin:0 auto}
}

/* prominent capability grid */
.cap-pills-wrap{
  margin-top:46px;background:var(--surface);
  border:1px solid var(--icy-blue);border-radius:22px;
  padding:34px 34px 38px;box-shadow:0 24px 60px rgba(46,32,24,.12);
}
.cap-pills-title{
  font-family:'Fraunces',serif;font-size:1.2rem;color:var(--dusk-blue);
  margin:0 0 20px;text-align:center;
}
@media(max-width:560px){.cap-pills-wrap{padding:26px 20px 30px}}

/* ---- Animated capability pills (req: improve pill animation) -------------
   Pills rise + fade in on a stagger when the section reveals, then lift and
   recolour on hover. Buzzword set lives in the markup. -------------------- */
.pill-cloud{display:flex;flex-wrap:wrap;gap:10px}
.pill{
  --pd:0ms;
  display:inline-flex;align-items:center;
  background:var(--surface);border:1px solid var(--icy-blue);
  color:var(--dusk-blue);font-weight:700;font-size:.9rem;letter-spacing:.01em;
  padding:9px 17px;border-radius:100px;
  box-shadow:0 4px 14px rgba(46,32,24,.08);
  opacity:0;transform:translateY(16px) scale(.96);
  transition:transform .3s cubic-bezier(.34,1.56,.64,1),box-shadow .3s,background .3s,color .3s,border-color .3s;
  cursor:default;
}
/* larger, more prominent pills for the capability grid */
.pill-cloud--lg{gap:12px;justify-content:center}
.pill-cloud--lg .pill{font-size:.96rem;padding:11px 20px}

/* entrance: triggered when the ancestor .reveal gets .in (staggered via nth) */
.reveal.in .pill{animation:pillIn .55s cubic-bezier(.16,1,.3,1) forwards;animation-delay:var(--pd)}
@keyframes pillIn{to{opacity:1;transform:none}}
.pill:nth-child(1){--pd:30ms}.pill:nth-child(2){--pd:65ms}.pill:nth-child(3){--pd:100ms}
.pill:nth-child(4){--pd:135ms}.pill:nth-child(5){--pd:170ms}.pill:nth-child(6){--pd:205ms}
.pill:nth-child(7){--pd:240ms}.pill:nth-child(8){--pd:275ms}.pill:nth-child(9){--pd:310ms}
.pill:nth-child(10){--pd:345ms}.pill:nth-child(11){--pd:380ms}.pill:nth-child(12){--pd:415ms}
.pill:nth-child(13){--pd:450ms}.pill:nth-child(14){--pd:485ms}.pill:nth-child(15){--pd:520ms}
.pill:nth-child(16){--pd:555ms}.pill:nth-child(17){--pd:590ms}.pill:nth-child(18){--pd:625ms}
.pill:nth-child(19){--pd:660ms}.pill:nth-child(20){--pd:695ms}.pill:nth-child(21){--pd:730ms}
.pill:nth-child(n+22){--pd:760ms}
.pill:hover{
  transform:translateY(-4px) scale(1.05);
  background:linear-gradient(135deg,var(--steel-blue),var(--dusk-blue));
  color:#fff;border-color:transparent;
  box-shadow:0 12px 26px rgba(46,32,24,.28);
}
@media(prefers-reduced-motion:reduce){
  .pill{opacity:1;transform:none}
  .reveal.in .pill{animation:none}
}

/* ==========================================================================
   FAQ accordion (req: click-and-drop-down to drive engagement)
   Two-column layout: a sticky photo + CTA aside beside the accordion.
   ========================================================================== */
.faq-layout{display:grid;grid-template-columns:.82fr 1.18fr;gap:42px;align-items:start;margin-top:36px}
.faq-aside{position:sticky;top:96px;display:flex;flex-direction:column;gap:18px}
.faq-photo{border-radius:18px;overflow:hidden;box-shadow:0 24px 60px rgba(46,32,24,.18);border:5px solid #fff;background:var(--bg-soft);aspect-ratio:4/5}
.faq-photo img{width:100%;height:100%;object-fit:cover}
.faq-aside-card{background:var(--surface);border:1px solid var(--icy-blue);border-radius:16px;padding:24px 24px 26px;box-shadow:0 12px 30px rgba(46,32,24,.10)}
.faq-aside-card h3{font-family:'Fraunces',serif;font-size:1.2rem;color:var(--dusk-blue);margin:0 0 8px}
.faq-aside-card p{color:var(--ink-soft);font-weight:500;font-size:.95rem;line-height:1.6;margin:0 0 16px}
.faq-list{display:flex;flex-direction:column;gap:14px}
@media(max-width:920px){
  .faq-layout{grid-template-columns:1fr;gap:28px}
  .faq-aside{position:static;flex-direction:row;flex-wrap:wrap;align-items:stretch}
  .faq-photo{flex:1 1 260px;aspect-ratio:16/10}
  .faq-aside-card{flex:1 1 260px;display:flex;flex-direction:column;justify-content:center}
}
@media(max-width:560px){
  .faq-aside{flex-direction:column}
  .faq-photo{aspect-ratio:16/9}
}
.faq-item{
  background:var(--surface);border:1px solid var(--line);border-radius:16px;
  overflow:hidden;transition:border-color .3s,box-shadow .3s,background .3s;
}
.faq-item[open]{border-color:var(--steel-blue);box-shadow:0 16px 40px rgba(46,32,24,.12)}
.faq-item summary{
  list-style:none;cursor:pointer;
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:22px 26px;
  font-family:'Fraunces',serif;font-weight:600;font-size:1.12rem;color:var(--dusk-blue);
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary:hover{background:var(--green-soft)}
.faq-icon{position:relative;flex:none;width:20px;height:20px}
.faq-icon::before,.faq-icon::after{
  content:"";position:absolute;left:50%;top:50%;background:var(--steel-blue);border-radius:2px;
  transform:translate(-50%,-50%);transition:transform .3s cubic-bezier(.16,1,.3,1),opacity .3s;
}
.faq-icon::before{width:16px;height:2.5px}
.faq-icon::after{width:2.5px;height:16px}
.faq-item[open] .faq-icon::after{transform:translate(-50%,-50%) rotate(90deg);opacity:0}
.faq-answer{padding:0 26px 24px;animation:faqDrop .4s cubic-bezier(.16,1,.3,1)}
.faq-answer p{color:var(--ink-soft);font-weight:500;font-size:1rem;line-height:1.7;margin:0}
@keyframes faqDrop{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.faq-answer{animation:none}}
@media(max-width:560px){
  .faq-item summary{padding:18px 20px;font-size:1.02rem}
  .faq-answer{padding:0 20px 20px}
}

/* ==========================================================================
   TWO-TONE EDITORIAL — dark earth-brown feature bands
   Applied to whole <section> elements via class="band-dark" so the page
   alternates light/parchment → dark earth → light. All text flips to cream;
   Vision Red stays the single punch accent.
   ========================================================================== */
.band-dark{
  background:linear-gradient(160deg,var(--earth) 0%,var(--earth-deep) 100%);
  color:var(--take-text);
  position:relative;
}
.band-dark::after{
  content:"";position:absolute;left:0;top:0;width:100%;height:4px;
  background:linear-gradient(90deg,var(--vision),var(--gold));
}
.band-dark h2,.band-dark h3,.band-dark .hero-name{color:var(--cream)}
.band-dark p,.band-dark li{color:var(--take-text)}
.band-dark .lead{color:#e8d9cb}
.band-dark .eyebrow{background:rgba(163,54,43,.28);color:#f3d7d1;border:1px solid rgba(201,105,94,.5)}
.band-dark .sec-head p,.band-dark .cap-band p{color:#e0cfc0}
.band-dark .cap-band{border-bottom-color:rgba(201,105,94,.4)}
/* photos & surfaces sitting on a dark band get a cream frame + warm shadow */
.band-dark .cap-photo,.band-dark .faq-photo,.band-dark .hero-photo{border-color:var(--cream);box-shadow:0 32px 80px rgba(0,0,0,.4)}
.band-dark .pill{background:rgba(255,255,255,.06);border-color:rgba(201,105,94,.45);color:#f3e4dd}
.band-dark .pill:hover{background:linear-gradient(135deg,var(--vision),var(--vision-deep));color:#fff;border-color:transparent}
.band-dark .cap-pills-wrap{background:rgba(255,255,255,.04);border-color:rgba(201,105,94,.35);box-shadow:none}
.band-dark .cap-pills-title{color:var(--cream)}
.band-dark .cap-feature-copy .cap-lead{color:var(--cream)}
.band-dark .cap-feature-copy .cap-body{color:#e0cfc0}
.band-dark .cap-section::before{display:none}

/* ==========================================================================
   FOUR SERVICE PILLARS — the headline framing of the SMP offering.
   Each pillar = a card with an index, title, one-line, and a row of the
   inferred sub-skill pills it wraps (reusing the animated .pill component).
   ========================================================================== */
.pillars{
  display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-top:38px;
}
.pillar{
  position:relative;background:var(--surface);border:1px solid var(--line);
  border-radius:20px;padding:30px 30px 26px;overflow:hidden;
  box-shadow:0 14px 40px rgba(46,32,24,.07);
  transition:transform .35s cubic-bezier(.16,1,.3,1),box-shadow .35s,border-color .35s;
}
.pillar::before{
  content:"";position:absolute;left:0;top:0;width:6px;height:100%;
  background:linear-gradient(180deg,var(--vision),var(--earth));
  transition:width .35s cubic-bezier(.16,1,.3,1);
}
.pillar:hover{transform:translateY(-4px);border-color:var(--vision-soft);box-shadow:0 26px 60px rgba(46,32,24,.16)}
.pillar:hover::before{width:10px}
.pillar-num{
  font-family:'Fraunces',serif;font-weight:600;font-size:1rem;
  color:var(--vision);letter-spacing:.04em;
}
.pillar h3{
  font-family:'Fraunces',serif;font-size:clamp(1.4rem,2.4vw,1.85rem);
  color:var(--earth);line-height:1.12;margin:6px 0 8px;
}
.pillar .pillar-line{
  color:var(--ink-soft);font-weight:600;font-size:1rem;line-height:1.55;
  margin:0 0 18px;max-width:46ch;
}
.pillar-pills{display:flex;flex-wrap:wrap;gap:8px}
.pillar-pills .pill{font-size:.82rem;padding:7px 14px}
@media(max-width:880px){
  .pillars{grid-template-columns:1fr}
}

/* (The earlier four-card PDCA grid was replaced by the circular PDCA loop —
   see the "PDCA — its own light section" block further below.) */

/* ==========================================================================
   Real SMP brand-asset lab photography — give the "science" cards a touch
   more presence so the lab imagery reads as authentic, not stock.
   ========================================================================== */
.card.has-photo .card-photo img{object-position:center 28%}

/* ==========================================================================
   ============================  V2 REDESIGN  ===============================
   Light-editorial, management-consulting direction. Overrides and additions
   loaded after everything above. Fixes: PDCA clarity, pill/hover readability,
   real-logo placement, richer but accessible animation.
   ========================================================================== */

/* ---- Footer: real logo on a soft chip (logo itself untouched) ------------ */
.case-footer .foot-logo{display:flex;justify-content:center;margin-bottom:6px}
.foot-logo-chip{display:inline-flex;align-items:center;justify-content:center;
  background:var(--cream);border-radius:16px;padding:14px 22px;
  box-shadow:0 10px 30px rgba(0,0,0,.25)}
.foot-logo-chip img{height:48px;width:auto;display:block}

/* ==========================================================================
   PILLS — single readable system everywhere (fixes "Approach" + pillar pills).
   Idle: white surface, earth ink, sand border. Hover/active: solid vision red,
   white text. No gradient text, no low-contrast states.
   ========================================================================== */
.pill,
.pillar-pills .pill,
.pill-cloud--lg .pill{
  background:var(--surface);
  border:1px solid var(--sand);
  color:var(--earth);
  font-weight:650;
  box-shadow:0 2px 8px rgba(46,32,24,.05);
}
.pill:hover,
.pillar-pills .pill:hover,
.pill-cloud--lg .pill:hover{
  background:var(--vision);
  color:#fff;
  border-color:var(--vision);
  box-shadow:0 10px 24px rgba(163,54,43,.26);
  transform:translateY(-3px);
}
/* On dark editorial bands keep them legible (override the generic dark rule) */
.band-dark .pill{background:rgba(255,255,255,.94);border-color:transparent;color:var(--earth)}
.band-dark .pill:hover{background:#fff;color:var(--vision-deep);box-shadow:0 10px 24px rgba(0,0,0,.3)}

/* ==========================================================================
   APPROACH timeline — clearer steps, readable on the dark band.
   (The section is .band-dark; make numbers/cards high-contrast.)
   ========================================================================== */
.band-dark .timeline .t-step{background:rgba(255,255,255,.06);border-color:rgba(201,105,94,.4)}
.band-dark .timeline .t-step h3{color:var(--cream)}
.band-dark .timeline .t-step p{color:#e7d8ca}
.band-dark .timeline .t-step .t-num{background:var(--vision);color:#fff}
.band-dark .timeline .t-step.final{background:rgba(163,54,43,.18);border-color:var(--vision-soft)}
.band-dark .timeline .t-step:hover{border-color:var(--vision-soft);background:rgba(255,255,255,.1)}

/* ==========================================================================
   APPROACH band — fix the final-card heading contrast (white-on-light bug) and
   give the timeline room to breathe.
   ========================================================================== */
.band-dark .timeline{margin-top:40px;gap:18px}
.band-dark .timeline .t-step.final{background:rgba(163,54,43,.22);border-color:var(--vision-soft)}
.band-dark .timeline .t-step.final h3{color:var(--cream)}      /* was invisible: light h3 on light final card */
.band-dark .timeline .t-step.final p{color:#f0e0d6}
.band-dark .timeline .t-step.final .t-num{background:var(--vision-deep);color:#fff}

/* ==========================================================================
   PDCA — its own light section, built around a CIRCULAR loop diagram.
   P · D · C · A sit on a ring; the active node lights up and an arc sweeps
   around it; a detail card explains the active step. Readable dark-on-light.
   ========================================================================== */
#pdca{background:var(--bg-soft)}

/* full-width facilitation band above the loop (face + process; trimmed top/bottom) */
.pdca-band{margin:0 0 48px;position:relative;border-radius:22px;overflow:hidden;
  box-shadow:0 30px 70px rgba(46,32,24,.18);border:1px solid var(--line)}
.pdca-band img{display:block;width:100%;height:clamp(240px,38vw,460px);object-fit:cover;object-position:center 42%}
.pdca-band figcaption{
  position:absolute;left:0;right:0;bottom:0;
  background:linear-gradient(0deg,rgba(46,32,24,.82),transparent);
  color:var(--cream);font-size:.92rem;font-weight:500;line-height:1.5;
  padding:46px 28px 20px;max-width:none;
}
@media(max-width:560px){.pdca-band figcaption{font-size:.82rem;padding:38px 18px 16px}}

.pdca-layout{
  display:grid;grid-template-columns:0.92fr 1.08fr;
  grid-template-areas:"copy ring" "detail ring";
  gap:22px 60px;align-items:center;
}
.pdca-copy{grid-area:copy}
.pdca-copy h2{font-size:clamp(1.9rem,4vw,2.9rem);color:var(--earth);line-height:1.06;margin:14px 0 14px}
.pdca-copy .lead{color:var(--ink-soft);max-width:52ch}
.pdca-detail{grid-area:detail;margin-top:6px}
/* bigger ring */
.pdca-ring{grid-area:ring;position:relative;width:min(480px,88vw);aspect-ratio:1;margin:0 auto;justify-self:center}

/* the SVG ring: static track + a smoothly growing progress arc + an orbiting comet */
.pdca-ring-svg{width:100%;height:100%;transform:rotate(-90deg);overflow:visible}
.pdca-ring-svg .ring-track{fill:none;stroke:var(--sand);stroke-width:12}
.pdca-ring-svg .ring-progress{
  fill:none;stroke:url(#pdcaArc);stroke-width:12;stroke-linecap:round;
  /* dasharray/offset are driven smoothly by JS each frame (no CSS transition = no snap) */
}
.pdca-ring-svg .ring-comet{
  fill:var(--vision);
  filter:drop-shadow(0 0 8px rgba(163,54,43,.6));
}

/* centre label — larger */
.pdca-center{
  position:absolute;inset:0;display:flex;flex-direction:column;
  align-items:center;justify-content:center;text-align:center;pointer-events:none;
}
.pdca-center span{font-family:'Fraunces',serif;font-weight:700;font-size:clamp(2.1rem,3.6vw,3rem);color:var(--earth);letter-spacing:.02em}
.pdca-center small{font-family:'Manrope',sans-serif;font-size:.78rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--vision);margin-top:6px}

/* the four nodes on the ring — larger */
.pdca-node{
  position:absolute;width:96px;height:96px;border-radius:50%;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  background:var(--surface);border:2px solid var(--sand);cursor:pointer;padding:0;
  box-shadow:0 10px 26px rgba(46,32,24,.14);
  transition:transform .35s cubic-bezier(.16,1,.3,1),border-color .35s,background .35s,box-shadow .35s;
}
.pdca-node b{font-family:'Fraunces',serif;font-size:1.9rem;font-weight:700;color:var(--vision);line-height:1;transition:color .3s}
.pdca-node span{font-family:'Manrope',sans-serif;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-soft);transition:color .3s}
.pdca-node.n-p{top:-10px;left:50%;transform:translateX(-50%)}
.pdca-node.n-d{top:50%;right:-10px;transform:translateY(-50%)}
.pdca-node.n-c{bottom:-10px;left:50%;transform:translateX(-50%)}
.pdca-node.n-a{top:50%;left:-10px;transform:translateY(-50%)}
.pdca-node:hover{border-color:var(--vision-soft)}
.pdca-node.is-active{background:linear-gradient(140deg,var(--vision),var(--earth));border-color:transparent;box-shadow:0 16px 34px rgba(163,54,43,.36)}
.pdca-node.is-active b,.pdca-node.is-active span{color:#fff}
/* keep the active node's translate while scaling it up */
.pdca-node.n-p.is-active{transform:translateX(-50%) scale(1.1)}
.pdca-node.n-c.is-active{transform:translateX(-50%) scale(1.1)}
.pdca-node.n-d.is-active{transform:translateY(-50%) scale(1.1)}
.pdca-node.n-a.is-active{transform:translateY(-50%) scale(1.1)}

/* the detail card (one visible at a time) */
.pdca-detail{position:relative;min-height:150px}
.pdca-step-card{
  position:absolute;inset:0;
  background:var(--surface);border:1px solid var(--sand);border-left:5px solid var(--vision);
  border-radius:16px;padding:22px 24px;box-shadow:0 12px 34px rgba(46,32,24,.08);
  opacity:0;transform:translateY(10px);pointer-events:none;
  transition:opacity .45s cubic-bezier(.16,1,.3,1),transform .45s;
}
.pdca-step-card.is-active{opacity:1;transform:none;pointer-events:auto}
.pdca-step-card .stepno{display:block;font-family:'Manrope',sans-serif;font-weight:800;font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;color:var(--vision);margin-bottom:8px}
.pdca-step-card p{color:var(--ink-soft);font-weight:500;font-size:1rem;line-height:1.6;margin:0}

.pdca-sdca{
  margin-top:22px;background:#fff;border:1px solid var(--vision-soft);
  border-left:5px solid var(--vision);border-radius:14px;padding:16px 20px;
  color:var(--earth);font-weight:500;font-size:.96rem;line-height:1.6;max-width:52ch;
}
.pdca-sdca strong{color:var(--vision-deep);font-weight:750}

@media(prefers-reduced-motion:reduce){
  .pdca-ring-svg .ring-progress,.pdca-ring-svg .ring-comet,.pdca-step-card,.pdca-node{transition:none}
  .pdca-ring-svg .ring-comet{display:none}   /* no orbiting dot when motion is reduced */
}
@media(max-width:920px){
  .pdca-layout{grid-template-columns:1fr;grid-template-areas:"copy" "ring" "detail";gap:30px;text-align:left}
  .pdca-ring{width:min(360px,80vw)}
  .pdca-detail{min-height:160px}
}

/* ==========================================================================
   WHO WE ARE — credential-led, photo-free (consulting-firm style).
   ========================================================================== */
#about .about-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:54px;align-items:center}
.about-copy h2{font-size:clamp(1.9rem,4vw,2.9rem);color:var(--earth);line-height:1.07;margin:14px 0 16px}
.about-copy .lead{color:var(--ink);max-width:58ch}
.about-copy p{color:var(--ink-soft);font-weight:500;line-height:1.7;max-width:60ch;margin:14px 0 0}
.about-points{display:flex;flex-direction:column;gap:0;margin:26px 0 26px;border-top:1px solid var(--line)}
.about-point{display:flex;gap:16px;align-items:baseline;padding:14px 0;border-bottom:1px solid var(--line)}
.about-point b{font-family:'Fraunces',serif;font-weight:600;color:var(--vision);font-size:1.02rem;flex:none;min-width:150px}
.about-point span{color:var(--ink-soft);font-weight:500;font-size:.98rem;line-height:1.5}
.about-stats{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.about-stat{
  background:var(--surface);border:1px solid var(--line);border-radius:18px;
  padding:26px 22px;box-shadow:0 12px 34px rgba(46,32,24,.07);
  transition:transform .4s cubic-bezier(.16,1,.3,1),box-shadow .4s,border-color .4s;
}
.about-stat:hover{transform:translateY(-4px);border-color:var(--vision-soft);box-shadow:0 22px 48px rgba(46,32,24,.13)}
.about-stat b{display:block;font-family:'Fraunces',serif;font-weight:700;font-size:clamp(2rem,3.4vw,2.7rem);color:var(--earth);line-height:1}
.about-stat span{display:block;color:var(--ink-soft);font-weight:500;font-size:.9rem;line-height:1.45;margin-top:8px}
@media(max-width:880px){
  #about .about-grid{grid-template-columns:1fr;gap:34px}
}
@media(max-width:520px){
  .about-stats{grid-template-columns:1fr}
  .about-point{flex-direction:column;gap:2px}
  .about-point b{min-width:0}
}

/* ==========================================================================
   ANIMATION SYSTEM — richer, accessible reveals. Reveals fade+rise with a
   gentle blur clearing; staggered children; the hero gets a layered intro.
   ========================================================================== */
.reveal{opacity:0;transform:translateY(26px);filter:blur(6px);
  transition:opacity .7s cubic-bezier(.16,1,.3,1),transform .7s cubic-bezier(.16,1,.3,1),filter .7s}
.reveal.in{opacity:1;transform:none;filter:none}
.reveal.d1{transition-delay:.08s}.reveal.d2{transition-delay:.16s}
.reveal.d3{transition-delay:.24s}.reveal.d4{transition-delay:.32s}

/* hero headline is now a value-proposition sentence — size it for reading,
   not a giant wordmark. Earth ink with a vision-red emphasis feel. */
.case-hero .hero-name{
  font-size:clamp(2.4rem,5.2vw,4.4rem);
  line-height:1.05;letter-spacing:-.02em;max-width:18ch;
  will-change:transform,opacity;
}
.case-hero .eyebrow{margin-bottom:18px}
.case-hero .hero-photo img{transition:transform 1.2s cubic-bezier(.16,1,.3,1)}
.case-hero:hover .hero-photo img{transform:scale(1.03)}

/* pillar cards: lift + accent rail grows (already partly defined) */
.pillar{transition:transform .4s cubic-bezier(.16,1,.3,1),box-shadow .4s,border-color .4s}

/* subtle float on stat numbers when revealed */
@keyframes countPop{0%{transform:translateY(10px);opacity:0}100%{transform:none;opacity:1}}
.reveal.in .stat b{animation:countPop .6s cubic-bezier(.16,1,.3,1) both}
.reveal.in .stat:nth-child(2) b{animation-delay:.08s}
.reveal.in .stat:nth-child(3) b{animation-delay:.16s}
.reveal.in .stat:nth-child(4) b{animation-delay:.24s}
.reveal.in .stat:nth-child(5) b{animation-delay:.32s}

@media(prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;filter:none;transition:none}
  .reveal.in .stat b{animation:none}
  .case-hero .hero-photo img{transition:none}
}

/* ==========================================================================
   CARD HOVER — never hide the words. Replace the dark colour-wash hover with
   a clean lift + accent border + red top rule. Applies to the plain .card
   used in Why-SMP / engagement / service cards.
   ========================================================================== */
.card::before{display:none!important}
.card{transition:transform .4s cubic-bezier(.16,1,.3,1),box-shadow .4s,border-color .4s}
.card:hover{transform:translateY(-5px);border-color:var(--vision);
  box-shadow:0 26px 56px rgba(46,32,24,.16)}
.card:hover h3,.card:hover p{color:inherit}              /* keep original ink — readable */
.card:hover h3{color:var(--earth)}
.card.has-photo:hover h3{color:var(--earth)}
.card.has-photo:hover p,.card.has-photo:hover .card-body p,
.card.has-photo:hover .card-body li{color:var(--ink-soft)}
.card.has-photo::after{content:"";position:absolute;left:0;top:0;width:100%;height:4px;
  background:var(--vision);transform:scaleX(0);transform-origin:left;
  transition:transform .4s cubic-bezier(.16,1,.3,1);z-index:2}
.card.has-photo{position:relative}
.card.has-photo:hover::after{transform:scaleX(1)}

/* ==========================================================================
   SECTION RHYTHM — a touch more editorial whitespace + a vision-red lead rule
   under eyebrows for a consulting feel.
   ========================================================================== */
.sec-head .eyebrow,.case-hero .eyebrow{position:relative}
.eyebrow{background:var(--green-soft);color:var(--vision-deep);border:1px solid var(--vision-soft)}
.band-dark .eyebrow{background:rgba(163,54,43,.3);color:#f3d7d1;border-color:rgba(201,105,94,.55)}

/* ---- PDCA feature layout: real facilitation photo beside the loop -------- */
.pdca-feature{display:grid;grid-template-columns:0.8fr 1.2fr;gap:40px;align-items:center}
.pdca-feature-photo{border-radius:22px;overflow:hidden;border:6px solid var(--cream);
  box-shadow:0 32px 80px rgba(0,0,0,.34);aspect-ratio:3/4;align-self:stretch}
.pdca-feature-photo img{width:100%;height:100%;object-fit:cover;object-position:center 25%;
  transition:transform 1.1s cubic-bezier(.16,1,.3,1)}
.pdca-feature:hover .pdca-feature-photo img{transform:scale(1.04)}
@media(max-width:1024px){
  .pdca-feature{grid-template-columns:1fr;gap:26px}
  .pdca-feature-photo{aspect-ratio:16/9;max-height:380px}
}
