/* ============================================================
   SALLFIN — shared stylesheet
   Edit colours, fonts and spacing here once; applies site-wide.
   ============================================================ */
:root{
  --midnight:#0C2B14;
  --forest:#144621;
  --green:#147B58;
  --green-accent:#3DBA60;  /* bright accent used in section labels */
  --green-light:#5FA98A;
  --green-200:#E8F3EE;
  --menu-hover:#A8FF4D;     /* unified hover highlight for nav/menu items — matches the X/close button hover lime (selected stays cream #ece9e4) */
  --cream:#F5F3EF;         /* warm cream surface (was #F5F5F5; now matches hard-coded section backgrounds) */
  --cream-2:#ECE9E4;       /* deeper warm surface for alternating bands */
  --ink:#1A1A1A;
  --white:#FFFFFF;
  --muted:#6E6E6E;
  --line:#E5E5E5;
  --line-dark:rgba(255,255,255,.16);
  --sans:'Inter',-apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif;
  --serif:'Libre Baskerville',Georgia,serif;
  --display:'Newsreader','Palatino Linotype',Palatino,Garamond,Georgia,serif;  /* BCGHenMod removed: it was never loaded and silently fell back to Newsreader */
  --maxw:1240px;
  --ease:cubic-bezier(.22,.61,.36,1);
  --label-ls:.14em;   /* unified letter-spacing for uppercase labels */
  --btn-radius:40px;  /* unified CTA button radius */
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;width:100%;overflow-x:hidden}
body{width:100%;font-family:var(--sans);color:var(--ink);background:var(--white);font-size:17px;line-height:1.7;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 32px}
h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.08;letter-spacing:-.01em}

/* ---------- HEADER ---------- */
header{position:fixed;top:0;left:0;right:0;z-index:1000;transition:background .4s var(--ease),box-shadow .4s var(--ease),color .4s var(--ease);color:var(--white)}
header.solid,header.scrolled{background:var(--white);color:var(--ink);box-shadow:0 1px 0 var(--line)}
.navbar{display:flex;align-items:center;justify-content:space-between;height:78px;max-width:var(--maxw);margin:0 auto;padding:0 32px}
.brand{display:flex;align-items:baseline;gap:9px;font-family:var(--sans);font-weight:600;font-size:25px;letter-spacing:-.02em}
.brand .dot{width:9px;height:9px;border-radius:2px;background:var(--green);display:inline-block;transform:translateY(-2px)}
.nav-main{display:flex;align-items:center;gap:38px}
.nav-links{display:flex;align-items:center;gap:34px;list-style:none}
.nav-links > li > a{font-size:15px;font-weight:500;letter-spacing:.01em;padding:8px 0;position:relative;display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.nav-links > li > a::after{content:"";position:absolute;left:0;bottom:0;height:1.5px;width:0;background:var(--green);transition:width .35s var(--ease)}
.nav-links > li > a:hover::after,.nav-links > li > a.active::after{width:100%}
.caret{width:9px;height:9px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .3s var(--ease);opacity:.8}
.has-mega.open .caret{transform:rotate(-135deg) translateY(0)}
.btn-cta{font-family:var(--sans);font-weight:600;font-size:14px;letter-spacing:.02em;background:#A8FF4D;color:#0C2B14;padding:13px 22px;border-radius:var(--btn-radius);display:inline-flex;align-items:center;gap:8px;transition:transform .3s var(--ease),background .3s var(--ease);border:none;cursor:pointer}
.btn-cta:hover{background:#8FE035;transform:translateY(-1px)}
.btn-cta .arr{transition:transform .3s var(--ease)}
.btn-cta:hover .arr{transform:translateX(4px)}

/* mega menu */
.has-mega{position:relative}
.mega{position:fixed;left:0;right:0;top:78px;background:var(--white);color:var(--ink);border-top:1px solid var(--line);box-shadow:0 24px 48px rgba(12,43,21,.12);opacity:0;visibility:hidden;transform:translateY(-8px);transition:all .35s var(--ease);z-index:999}
.has-mega.open .mega{opacity:1;visibility:visible;transform:translateY(0)}
.mega-inner{max-width:var(--maxw);margin:0 auto;padding:46px 32px 52px;display:grid;grid-template-columns:.9fr 1.4fr;gap:56px}
.mega-lead h4{font-family:var(--serif);font-weight:300;font-size:30px;line-height:1.12;margin-bottom:14px;color:var(--midnight)}
.mega-lead p{font-size:15px;color:var(--muted);max-width:34ch}
.mega-lead a{color:var(--forest);font-weight:600;font-size:14px;display:inline-flex;gap:7px;margin-top:18px;align-items:center}
.mega-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px 36px}
.mega-item{padding:16px 0;border-bottom:1px solid var(--line);display:block;transition:padding-left .3s var(--ease)}
.mega-item:hover{padding-left:8px}
.mega-item .t{font-weight:600;font-size:16px;display:flex;align-items:center;justify-content:space-between}
.mega-item .t .go{color:var(--green);opacity:0;transform:translateX(-6px);transition:all .3s var(--ease)}
.mega-item:hover .t .go{opacity:1;transform:translateX(0)}
.mega-item .d{font-size:13.5px;color:var(--muted);margin-top:4px;max-width:40ch}




/* ---------- HERO (home) ---------- */
/* ── HERO — full-screen light gradient (BCG-style) ─── */
.hero{
  height:100vh; min-height:640px;
  display:flex; align-items:center;
  position:relative; overflow:hidden;
  padding:80px 0 60px;
  color:#0B1A08;
  /* solid base ensures no white gaps anywhere */
  background-color:#A8D84E;
  background-image:
    radial-gradient(ellipse 70% 70% at 5%  95%,  #78C832 0%, transparent 55%),
    radial-gradient(ellipse 65% 65% at 96% 5%,   #28BCA0 0%, transparent 55%),
    radial-gradient(ellipse 55% 55% at 50% 50%,  rgba(200,248,155,.55) 0%, transparent 62%),
    linear-gradient(130deg, #97D640 0%, #C5F0A0 45%, #62CEBC 100%);
}
/* diagonal light-ray sheen */
.hero::before{
  content:""; position:absolute; inset:0; pointer-events:none; z-index:1;
  background:
    linear-gradient(122deg, transparent 25%, rgba(255,255,255,.38) 44%, rgba(255,255,255,.08) 54%, transparent 66%);
}
.hero::after{ content:none; }
.hero .wrap{position:relative;z-index:2;margin:0;max-width:none;padding-right:32px}
/* hero wrap left edge aligns with burger pill left edge */
@media(max-width:767px)  { .hero .wrap { padding-left:16px; } }
@media(min-width:768px)  { .hero .wrap { padding-left:32px; } }
@media(min-width:1024px) { .hero .wrap { padding-left:40px; } }
@media(min-width:1440px) { .hero .wrap { padding-left:80px; } }
/* hero overrides generic section padding */
section.hero{padding:80px 0 60px}
.eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:#0C2B14;font-weight:700;margin-bottom:48px}
.eyebrow::before{display:none}
.hero h1{font-family:'Libre Baskerville',Georgia,serif;font-size:clamp(69px,9.3vw,120px);font-weight:700;line-height:1.08;letter-spacing:-0.5px;max-width:16ch;color:#0C2B14}
.hero h1 em{font-style:normal;font-weight:700;color:#0C2B14}
.hero p.sub{font-family:var(--sans);font-size:clamp(54px,6vw,72px);color:#2A402A;max-width:54ch;margin-top:28px;line-height:1.6;font-weight:400}
.meets-word{font-weight:700;color:#0C2B14}
.hero-cta{display:flex;gap:18px;align-items:center;margin-top:44px;flex-wrap:wrap}
.btn-ghost{font-weight:600;font-size:15px;display:inline-flex;align-items:center;gap:10px;color:#0C2B14;padding:13px 4px;cursor:pointer}
.btn-ghost .arr{transition:transform .3s var(--ease)}
.btn-ghost:hover .arr{transform:translateX(5px)}
.hero-meta{display:flex;gap:48px;margin-top:72px;flex-wrap:wrap;padding-top:48px;border-top:1px solid rgba(10,50,10,.15)}
.hero-meta .stat .n{font-family:var(--display);font-weight:500;font-size:44px;color:#0C2B14;line-height:1}
.hero-meta .stat .l{font-size:13px;color:#3A5A3A;margin-top:8px;max-width:18ch;font-weight:500}

/* ---------- PAGE BANNER (interior pages) ---------- */
.page-banner{
  height:100vh; min-height:580px;
  display:flex; align-items:center;
  color:var(--white);
  padding:80px 0 60px;
  position:relative; overflow:hidden;
  background-color:#1E5C39;
  background-image:
    radial-gradient(ellipse 65% 70% at 100% 0%,   rgba(42,110,60,.80) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 0%  100%,  rgba(12,43,21,.70)  0%, transparent 55%),
    linear-gradient(145deg, #2A7848 0%, #1E5C39 50%, #153E27 100%);
}
.page-banner::before{
  content:""; position:absolute; inset:0; pointer-events:none; z-index:1;
  background:linear-gradient(118deg, transparent 28%, rgba(255,255,255,.10) 46%, transparent 58%);
}
.page-banner .wrap{position:relative;z-index:2}
/* page-banner overrides generic section padding */
section.page-banner{padding:80px 0 60px}
.page-banner h1{font-size:clamp(40px,5.6vw,76px);max-width:18ch}
.page-banner h1 em{font-style:italic;color:var(--green-light)}
.page-banner p.lead{font-family:var(--sans);font-weight:300;font-size:clamp(17px,1.8vw,20px);color:rgba(255,255,255,.78);max-width:56ch;margin-top:26px;line-height:1.55}

/* ---------- SECTIONS ---------- */
section{padding:118px 0}
.sec-head{max-width:760px;margin-bottom:64px}
.sec-tag{font-size:13px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:var(--green);display:flex;align-items:center;gap:12px;margin-bottom:24px}
.sec-tag::before{content:"";width:30px;height:1px;background:var(--green)}
h2.sec-title{font-size:clamp(34px,4.6vw,60px)}
.light{background:var(--cream);color:var(--ink)}
.dark{background:var(--midnight);color:var(--white)}
.dark .sec-tag{color:var(--green-light)}
.dark h2,.dark h3,.dark h4{color:var(--white)}

/* capability cards */
.cap-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}
.cap{background:var(--cream);padding:38px 30px 46px;transition:background .4s var(--ease);min-height:300px;display:flex;flex-direction:column}
.cap:hover{background:var(--white)}
.cap .num{font-family:var(--sans);font-size:13px;font-weight:600;color:var(--green);letter-spacing:.08em;margin-bottom:auto}
.cap h3{font-size:25px;margin:60px 0 14px;font-weight:400}
.cap p{font-size:14.5px;color:var(--muted);line-height:1.55}

/* service rows (home) */
.service{display:grid;grid-template-columns:1.05fr 1fr;gap:70px;align-items:center;padding:54px 0;border-top:1px solid var(--line-dark)}
.service:first-of-type{border-top:none}
.service .s-no{font-family:var(--display);font-weight:500;font-size:15px;color:var(--green);letter-spacing:.1em;text-transform:uppercase;margin-bottom:20px;display:block}
.service h3{font-size:clamp(30px,3.6vw,44px);font-weight:300;margin-bottom:20px}
.service .s-desc{color:rgba(255,255,255,.74);font-size:16.5px;font-weight:300;max-width:46ch;margin-bottom:26px}
.service .visit{font-weight:600;font-size:15px;color:var(--green-light);display:inline-flex;align-items:center;gap:9px}
.service .visit .arr{transition:transform .3s var(--ease)}
.service .visit:hover .arr{transform:translateX(5px)}
.s-points{list-style:none;display:grid;gap:14px}
.s-points li{display:flex;gap:14px;font-size:15px;color:rgba(255,255,255,.86);padding-bottom:14px;border-bottom:1px solid var(--line-dark)}
.s-points li .k{color:var(--green);font-weight:600;flex-shrink:0;font-size:13px;letter-spacing:.06em;width:62px;padding-top:1px}

/* ---------- SERVICE DETAIL BLOCKS (services page) ---------- */
.svc-block{padding:96px 0;border-top:1px solid var(--line)}
.svc-block:first-of-type{border-top:none}
.svc-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:64px}
.svc-meta{position:sticky;top:110px;align-self:start}
.svc-meta .s-no{font-family:var(--display);font-weight:500;font-size:14px;color:var(--green);letter-spacing:.1em;text-transform:uppercase;display:block;margin-bottom:18px}
.svc-meta h2{font-size:clamp(30px,3.4vw,46px);margin-bottom:20px}
.svc-meta p{color:var(--muted);font-size:16px;max-width:36ch}
.svc-meta .chip{display:inline-block;margin-top:24px;background:var(--green-200);color:var(--forest);font-weight:600;font-size:13px;padding:8px 14px;border-radius:30px}
.deliv-grid{display:grid;grid-template-columns:1fr 1fr;gap:2px;background:var(--line);border:1px solid var(--line)}
.deliv{background:var(--white);padding:24px 22px}
.deliv .dk{font-weight:600;font-size:15px;margin-bottom:7px;display:flex;align-items:center;gap:9px}
.deliv .dk::before{content:"";width:7px;height:7px;border-radius:2px;background:var(--green)}
.deliv p{font-size:13.5px;color:var(--muted);line-height:1.5}
.svc-example{margin-top:24px;background:var(--midnight);color:#fff;border-radius:14px;padding:28px 30px}
.svc-example h4{font-family:var(--serif);font-weight:300;font-size:22px;margin-bottom:8px}
.svc-example p{font-size:14.5px;color:rgba(255,255,255,.72)}

/* pricing */
.pricing-table{width:100%;border-collapse:collapse;font-family:var(--sans)}
.pricing-table th{text-align:left;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--green-light);font-weight:600;padding:0 20px 20px;border-bottom:1px solid var(--line-dark)}
.pricing-table td{padding:24px 20px;border-bottom:1px solid var(--line-dark);font-size:15px;vertical-align:top}
.pricing-table td.svc-name{font-family:var(--serif);font-weight:400;font-size:19px;color:#fff}
.pricing-table td.fee{color:var(--green-light);font-weight:600;white-space:nowrap}
.pricing-note{font-size:13px;color:rgba(255,255,255,.5);margin-top:24px}

/* why grid */
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}
.why{background:var(--white);padding:40px 32px 48px;min-height:248px;transition:transform .4s var(--ease)}
.why:hover{transform:translateY(-4px)}
.why .n{font-family:var(--display);font-weight:500;font-size:18px;color:var(--green);border-bottom:2px solid var(--green-light);display:inline-block;padding-bottom:3px;margin-bottom:26px}
.why h3{font-size:22px;font-weight:400;margin-bottom:12px}
.why p{font-size:14.5px;color:var(--muted);line-height:1.55}

/* steps */
.audit-top{display:grid;grid-template-columns:1.1fr .9fr;gap:64px;align-items:end;margin-bottom:70px}
.audit-top p{color:rgba(255,255,255,.78);font-size:18px;font-weight:300;max-width:42ch}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.step{padding:34px 26px 30px;border-left:1px solid var(--line-dark);position:relative}
.step:first-child{border-left:none}
.step .sn{width:38px;height:38px;border-radius:50%;border:1.5px solid var(--green);color:var(--green);display:flex;align-items:center;justify-content:center;font-weight:600;font-size:15px;margin-bottom:26px;font-family:var(--sans)}
.step h4{font-family:var(--serif);font-weight:400;font-size:21px;margin-bottom:8px}
.step p{font-size:14px;color:rgba(255,255,255,.62)}

/* ---------- ABOUT ---------- */
.about-lead{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start}
.about-lead .big{font-family:var(--serif);font-weight:300;font-size:clamp(24px,2.6vw,32px);line-height:1.32}
.about-lead .big em{font-style:italic;color:var(--forest)}
.about-lead .body p{color:var(--muted);font-size:16px;margin-bottom:18px}
.principles{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line-dark);border:1px solid var(--line-dark)}
.principle{background:var(--midnight);padding:38px 30px}
.principle .pn{font-family:var(--display);color:var(--green);font-size:16px;margin-bottom:18px}
.principle h3{font-size:23px;font-weight:400;margin-bottom:12px;color:#fff}
.principle p{font-size:14.5px;color:rgba(255,255,255,.66)}
.founder{display:grid;grid-template-columns:.7fr 1.3fr;gap:56px;align-items:center}
.founder .card{background:var(--midnight);color:#fff;border-radius:16px;padding:42px 36px}
.founder .card .initials{width:64px;height:64px;border-radius:50%;background:var(--green);color:var(--midnight);font-family:var(--sans);font-weight:600;font-size:22px;display:flex;align-items:center;justify-content:center;margin-bottom:24px}
.founder .card .name{font-family:var(--serif);font-size:26px;font-weight:300}
.founder .card .role{font-size:14px;color:var(--green-light);margin-top:4px;letter-spacing:.04em}
.founder blockquote{font-family:var(--serif);font-weight:300;font-size:clamp(22px,2.6vw,30px);line-height:1.34;color:var(--ink)}
.founder blockquote::before{content:"\201C";color:var(--green);font-size:1.2em;line-height:0}

/* ---------- INSIGHTS ---------- */
.featured{display:grid;grid-template-columns:1.2fr .8fr;gap:0;border:1px solid var(--line);margin-bottom:64px}
.featured .ft-text{padding:54px 50px}
.featured .ft-cat{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--green);font-weight:600;margin-bottom:20px}
.featured h2{font-size:clamp(28px,3.4vw,42px);margin-bottom:18px}
.featured p{color:var(--muted);font-size:16px;max-width:46ch;margin-bottom:26px}
.featured .read{font-weight:600;color:var(--forest);display:inline-flex;gap:9px;align-items:center}
.featured .read .arr{transition:transform .3s var(--ease)}
.featured .read:hover .arr{transform:translateX(5px)}
.featured .ft-side{background:var(--midnight);color:#fff;padding:54px 44px;display:flex;flex-direction:column;justify-content:center}
.featured .ft-side .stat-lg{font-family:var(--display);font-weight:500;font-size:64px;color:var(--green);line-height:1}
.featured .ft-side .stat-cap{color:rgba(255,255,255,.7);margin-top:14px;font-size:15px}
.art-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}
.art{background:var(--white);padding:34px 30px 40px;display:flex;flex-direction:column;min-height:300px;transition:background .4s var(--ease)}
.art:hover{background:var(--cream)}
.art .cat{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--green);font-weight:600;margin-bottom:18px}
.art h3{font-size:23px;font-weight:400;margin-bottom:12px;line-height:1.18}
.art p{font-size:14px;color:var(--muted);line-height:1.55;margin-bottom:auto}
.art .meta{font-size:12.5px;color:var(--muted);margin-top:26px;display:flex;justify-content:space-between;align-items:center}
.art .meta .go{color:var(--green);transition:transform .3s var(--ease)}
.art:hover .meta .go{transform:translateX(4px)}

/* ---------- CONTACT ---------- */
.contact-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:72px;align-items:start}
.form-field{margin-bottom:22px}
.form-field label{display:block;font-size:13px;font-weight:600;letter-spacing:.04em;color:var(--ink);margin-bottom:9px}
.form-field input,.form-field textarea,.form-field select{width:100%;font-family:var(--sans);font-size:16px;color:var(--ink);background:var(--white);border:1px solid var(--line);border-radius:10px;padding:14px 16px;transition:border-color .25s var(--ease),box-shadow .25s var(--ease)}
.form-field input:focus,.form-field textarea:focus,.form-field select:focus{outline:none;border-color:var(--green);box-shadow:0 0 0 3px rgba(33,191,97,.15)}
.form-field textarea{resize:vertical;min-height:130px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.form-submit{background:var(--midnight);color:#fff;border:none;border-radius:40px;padding:16px 30px;font-family:var(--sans);font-weight:600;font-size:15px;cursor:pointer;display:inline-flex;gap:9px;align-items:center;transition:transform .3s var(--ease),background .3s var(--ease)}
.form-submit:hover{transform:translateY(-2px);background:var(--forest)}
.form-note{font-size:13px;color:var(--muted);margin-top:16px}
.form-status{margin-top:16px;font-size:14px;font-weight:500;color:var(--forest);display:none}
.contact-side .ct-block{padding:26px 0;border-bottom:1px solid var(--line)}
.contact-side .ct-block:first-child{padding-top:0}
.contact-side .ct-block h4{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--green);font-family:var(--sans);font-weight:600;margin-bottom:10px}
.contact-side .ct-block a,.contact-side .ct-block p{font-size:18px;font-family:var(--serif);font-weight:300;color:var(--ink)}
.contact-side .mini-steps{margin-top:30px}
.contact-side .mini-steps .ms{display:flex;gap:16px;padding:14px 0;align-items:baseline}
.contact-side .mini-steps .ms .msn{color:var(--green);font-weight:600;font-family:var(--display);font-size:15px;width:24px;flex-shrink:0}
.contact-side .mini-steps .ms span{font-size:15px;color:var(--muted)}

/* ---------- CAPABILITY DETAIL INTRO ---------- */
.cap-detail-intro{background:#f5f3ef;padding:86px 0}
.cap-detail-intro-inner{max-width:980px;margin:0;padding:0 var(--pp-pad,32px)}
.cap-detail-intro h2{font-family:'Libre Baskerville',Georgia,serif;font-size:clamp(30px,4vw,54px);font-weight:400;color:#0C2B14;line-height:1.08;margin-bottom:28px}
.cap-detail-intro p{font-size:17px;line-height:1.85;color:#4d4b47;max-width:860px;margin:0}
@media(max-width:760px){
  .cap-detail-intro{padding:64px 0}
  .cap-detail-intro-inner{padding:0 22px}
  .cap-detail-intro p{font-size:16px;line-height:1.75}
}

/* ---------- CTA BAND ---------- */
.cta-band{background:var(--green);color:var(--midnight);text-align:center;padding:108px 0}
.cta-band h2{font-size:clamp(34px,5vw,64px);color:var(--midnight);max-width:18ch;margin:0 auto 30px}
.cta-band .btn-dark{background:var(--midnight);color:var(--white);padding:16px 30px;border-radius:40px;font-weight:600;font-size:15px;display:inline-flex;gap:9px;align-items:center;transition:transform .3s var(--ease)}
.cta-band .btn-dark:hover{transform:translateY(-2px)}
.cta-band .btn-dark .arr{transition:transform .3s var(--ease)}
.cta-band .btn-dark:hover .arr{transform:translateX(4px)}

/* ---------- FOOTER ---------- */
footer{background:var(--midnight);color:rgba(255,255,255,.7);padding:84px 0 40px}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px;padding-bottom:64px;border-bottom:1px solid var(--line-dark)}
.foot-brand .brand{color:var(--white);margin-bottom:18px}
.foot-brand p{font-size:14.5px;max-width:30ch;font-weight:300}
.foot-col h5{color:var(--white);font-family:var(--sans);font-size:13px;letter-spacing:.1em;text-transform:uppercase;font-weight:600;margin-bottom:20px}
.foot-col a{display:block;font-size:14.5px;padding:7px 0;transition:color .25s var(--ease);font-weight:300}
.foot-col a:hover{color:var(--green-light)}
.foot-bottom{display:flex;justify-content:space-between;padding-top:28px;font-size:13px;color:rgba(255,255,255,.45);flex-wrap:wrap;gap:12px}

/* ---------- reveal ---------- */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .9s var(--ease),transform .9s var(--ease)}
.reveal.in{opacity:1;transform:none}
.reveal.d1{transition-delay:.08s}.reveal.d2{transition-delay:.16s}.reveal.d3{transition-delay:.24s}.reveal.d4{transition-delay:.32s}
.no-js .reveal{opacity:1;transform:none}

/* ---------- responsive ---------- */

/* ── BCG-style animated menu button ─────────────────────────── */
.burger-icon{
  display:none;
  cursor:pointer;
  appearance:none;
  background:rgba(241,238,234,.92);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border:none;
  border-radius:6px;
  width:40px;
  height:40px;
  place-content:center;
  padding:0;
  box-shadow:0 2px 12px rgba(0,0,0,.12);
  transition:box-shadow .2s;
  flex-shrink:0;
}
.burger-icon:hover{box-shadow:0 4px 16px rgba(0,0,0,.18);}
.burger-icon div{display:grid;place-content:center;width:100%;height:100%;}
.burger-icon div svg{width:22px;height:22px;display:block;}
.burger-icon .burger-svg-icon{display:block;}
.burger-icon .close-svg-icon{display:none;}
body[data-menu-open] .burger-icon .burger-svg-icon{display:none;}
body[data-menu-open] .burger-icon .close-svg-icon{display:block;}
@media(max-width:1024px){
  .cap-grid{grid-template-columns:repeat(2,1fr)}
  .why-grid{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(2,1fr)}
  .step:nth-child(3){border-left:none}
  .service{grid-template-columns:1fr;gap:34px}
  .audit-top{grid-template-columns:1fr;gap:28px}
  .mega-inner{grid-template-columns:1fr;gap:32px}
  .svc-grid{grid-template-columns:1fr;gap:34px}
  .svc-meta{position:static}
  .about-lead{grid-template-columns:1fr;gap:32px}
  .principles{grid-template-columns:1fr}
  .founder{grid-template-columns:1fr;gap:32px}
  .featured{grid-template-columns:1fr}
  .art-grid{grid-template-columns:repeat(2,1fr)}
  .contact-grid{grid-template-columns:1fr;gap:44px}
}
@media(max-width:760px){
  .wrap{padding:0 22px}.navbar{padding:0 22px}
  section{padding:80px 0}
  .nav-main .nav-links,.nav-main .btn-cta{display:none}
  
  .cap-grid,.why-grid,.steps,.deliv-grid,.art-grid,.form-row{grid-template-columns:1fr}
  .step{border-left:none;border-top:1px solid var(--line-dark)}
  .step:first-child{border-top:none}
  .hero-meta{gap:34px}
  .pricing-table thead{display:none}
  .pricing-table td{display:block;border:none;padding:4px 0}
  .pricing-table tr{display:block;padding:22px 0;border-bottom:1px solid var(--line-dark)}
  .mobile-menu{position:fixed;inset:0;background:var(--midnight);z-index:1500;padding:100px 26px 40px;transform:translateX(100%);transition:transform .45s var(--ease);overflow-y:auto;display:flex;flex-direction:column}
  body[data-menu-open] .mobile-menu{transform:translateX(0)}
  body[data-menu-open]{overflow:hidden}
  .mobile-menu a{color:var(--white);font-family:var(--serif);font-weight:300;font-size:32px;padding:18px 0;border-bottom:1px solid var(--line-dark);display:block}
  .mobile-menu .btn-cta{margin-top:30px;align-self:flex-start;font-family:var(--sans);font-size:16px}
}
@media(min-width:761px){.mobile-menu{display:none}}

/* ============================================================
   CREME AMBIENT HERO (homepage) — stunning cream + green visual
   ============================================================ */
.hero-creme{position:relative;width:100%;min-height:100vh;display:flex;align-items:center;overflow:hidden;padding:150px 0 96px;
  background:#F4FFF7}
.hero-creme .ambient{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1}
.hero-creme .blob{position:absolute;border-radius:50%;filter:blur(90px);}
.hero-creme .b1{width:80vw;height:80vw;left:-20vw;top:-30vw;background:radial-gradient(circle at 40% 40%,rgba(168,255,77,.92),rgba(168,255,77,0) 65%);animation:drift1 3s ease-in-out infinite alternate}
.hero-creme .b2{width:70vw;height:70vw;right:-18vw;top:-10vw;background:radial-gradient(circle at 50% 50%,rgba(120,255,50,.88),rgba(120,255,50,0) 65%);animation:drift2 4s ease-in-out infinite alternate}
.hero-creme .b3{width:60vw;height:60vw;right:0vw;bottom:-28vw;background:radial-gradient(circle at 50% 50%,rgba(80,230,80,.80),rgba(80,230,80,0) 62%);animation:drift3 5s ease-in-out infinite alternate}
.hero-creme .b4{width:55vw;height:55vw;left:20vw;bottom:-15vw;background:radial-gradient(circle at 50% 50%,rgba(220,255,100,.85),rgba(220,255,100,0) 62%);animation:drift4 2s ease-in-out infinite alternate}
@keyframes drift1{to{transform:translate(22vw,16vw) scale(1.18)}}
@keyframes drift2{to{transform:translate(-20vw,18vw) scale(1.14)}}
@keyframes drift3{to{transform:translate(-18vw,-16vw) scale(1.22)}}
@keyframes drift4{to{transform:translate(16vw,-14vw) scale(1.16)}}
.hero-creme .grid-ov{display:none}
/* pause button */
.hero-pause{position:absolute;bottom:28px;right:28px;z-index:10;width:36px;height:36px;border-radius:50%;border:1.5px solid rgba(13,43,26,.25);background:rgba(255,255,255,.55);backdrop-filter:blur(8px);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}
.hero-pause:hover{background:rgba(255,255,255,.85)}
.hero-pause svg{width:14px;height:14px;fill:#0C2B14}
.hero-creme .wrap{position:relative;z-index:3;width:100%;box-sizing:border-box;margin:0;max-width:none;padding-right:32px;padding-left:16px}
@media(min-width:768px)  { .hero-creme .wrap { padding-left:32px; } }
@media(min-width:1024px) { .hero-creme .wrap { padding-left:40px; } }
@media(min-width:1440px) { .hero-creme .wrap { padding-left:80px; } }
.hero-creme .eyebrow{color:var(--forest)}
.hero-creme .eyebrow::before{background:var(--green)}
.hero-creme h1{color:#0C2B14;font-family:'Newsreader',serif;font-size:clamp(69px,9.25vw,120px);max-width:none;letter-spacing:-.01em;font-weight:400;font-style:normal;text-transform:capitalize;white-space:normal;word-break:normal;overflow-wrap:normal;hyphens:none;line-height:1.08}
.hero-creme h1 em{font-style:normal;color:#0C2B14;font-weight:400}
.hero-creme .meets-word{font-weight:400;color:#0C2B14}
.hero-creme p.sub{color:#2A402A;font-family:var(--sans);font-weight:400;font-size:clamp(22px,2.4vw,29px);max-width:none;white-space:nowrap;margin-top:28px;line-height:1.6}
.hero-creme .hero-meta .stat .n{color:var(--forest)}
.hero-creme .hero-meta .stat .l{color:var(--muted)}
.btn-lg{padding:17px 32px;font-size:15.5px}
.btn-ghost-dark{font-weight:600;font-size:15px;display:inline-flex;align-items:center;gap:10px;color:var(--midnight);padding:15px 6px;cursor:pointer;border-bottom:1.5px solid transparent;transition:border-color .3s var(--ease)}
.btn-ghost-dark:hover{border-color:var(--green)}
.btn-ghost-dark .arr{transition:transform .3s var(--ease)}
.btn-ghost-dark:hover .arr{transform:translateX(5px)}
/* header text dark while transparent over the cream hero */
header.on-light{color:var(--ink)}
.white-sec{background:var(--white);color:var(--ink)}
@media(max-width:760px){
  .hero-creme{padding:120px 0 70px}
  .hero-creme .grid-ov{background-size:54px 54px}
}
@media(prefers-reduced-motion:reduce){
  .hero-creme .blob{animation:none}
}

/* ═══════════════════════════════════════════════════
   SALLFIN v9 — SIZING + SPLIT ANIMATION
   ═══════════════════════════════════════════════════ */
header#header, .navbar, .mobile-menu { display: none !important; }

/* ── Pill shells ────────────────────────────────── */
.pill-nav, .pill-right {
  position: fixed; top: 0; z-index: 1001;
  display: flex; align-items: center;
  height: 60px;
  background: hsla(0,0%,100%,.72);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.09);
  overflow: visible;
  transition: opacity .25s ease, visibility .25s ease;
}
@media(min-width:768px)  { .pill-nav, .pill-right { height: 68px; } }
@media(min-width:1440px) { .pill-nav, .pill-right { height: 76px; } }
.pill-nav  { left:0; margin:16px; }
@media(min-width:768px)  { .pill-nav  { margin:16px 0 0 32px; } }
@media(min-width:1024px) { .pill-nav  { margin:40px; } }
@media(min-width:1440px) { .pill-nav  { margin:40px 0 0 80px; } }
.pill-right { right:0; margin:16px; }
@media(min-width:768px)  { .pill-right { margin:16px 32px 0 0; } }
@media(min-width:1024px) { .pill-right { margin:40px; } }
@media(min-width:1440px) { .pill-right { margin:40px 80px 0 0; } }
body[data-menu-open] .pill-nav,
body[data-menu-open] .pill-right { visibility:hidden; pointer-events:none; opacity:0; }

/* ── Burger (left pill) ─────────────────────────── */
.pill-burger {
  display:flex; align-items:center; justify-content:center; cursor:pointer;
  appearance:none; -webkit-appearance:none;
  border:none; padding:8px; background:transparent;
  flex-shrink:0;
}
.pill-burger-inner {
  background:#F1EEEA; border-radius:16px;
  width:46px; height:46px; display:flex; align-items:center; justify-content:center;
  transition:background .15s; flex-shrink:0;
}
@media(min-width:768px)  { .pill-burger-inner { width:52px; height:52px; } }
@media(min-width:1024px) { .pill-burger-inner { width:56px; height:56px; } }
.pill-burger-inner:hover { background:#A8FF4D; }

/* ── Animated 3-bar → × burger ─────────────────── */
.burger-bars {
  display:flex; flex-direction:column; justify-content:center;
  align-items:center; width:22px; height:22px; gap:0;
}
.bar {
  display:block; width:18px; height:1.5px;
  background:#0C2B14; border-radius:1px;
  transition: transform 300ms cubic-bezier(0.4,0,0.2,1),
              opacity   300ms cubic-bezier(0.4,0,0.2,1),
              width     300ms cubic-bezier(0.4,0,0.2,1);
}
.bar1 { transform:translateY(-5px); }
.bar2 { transform:translateY(0);    }
.bar3 { transform:translateY(5px);  }

/* Open state — bars become × */
body[data-menu-open] .pill-burger:not(#megaClose) .bar1 { transform:translateY(6.5px) rotate(45deg); }
body[data-menu-open] .pill-burger:not(#megaClose) .bar2 { opacity:0; transform:scaleX(0); }
body[data-menu-open] .pill-burger:not(#megaClose) .bar3 { transform:translateY(-6.5px) rotate(-45deg); }

/* megaClose is always inside the open overlay — always show × */
#megaClose .bar1 { transform:translateY(6.5px) rotate(45deg); transition:none; }
#megaClose .bar2 { opacity:0; transform:scaleX(0);            transition:none; }
#megaClose .bar3 { transform:translateY(-6.5px) rotate(-45deg); transition:none; }

/* ── Brand (left pill) ──────────────────────────── */
/* line-height:1 ensures text visual center = metric center */
.pill-brand {
  padding:0 20px 0 10px;
  font-size:25px; font-weight:700; line-height:1;
  color:#0C2B14; letter-spacing:-.025em;
  white-space:nowrap; text-decoration:none;
}
@media(min-width:768px)  { .pill-brand { font-size:27px; } }
@media(min-width:1440px) { .pill-brand { font-size:30px; } }

/* ── Right pill: bigger search icon + LOG IN ────── */
.pill-search-btn {
  display:grid; place-content:center;
  width:60px; height:60px; margin-left:4px;
  cursor:pointer; appearance:none; -webkit-appearance:none;
  border:none; background:transparent; flex-shrink:0;
  color:#0C2B14; transition:opacity .15s;
}
.pill-search-btn:hover { opacity:.55; }
/* Bigger icon — matches burger visual weight */
.pill-search-btn svg { width:30px; height:30px; display:block; }

.pill-login-link {
  padding:0 22px 0 6px;
  font-size:16px; font-weight:700; letter-spacing:.07em;
  text-transform:uppercase; color:#0C2B14; line-height:1;
  text-decoration:underline; text-underline-offset:3px;
  white-space:nowrap; cursor:pointer;
  transition:text-decoration .15s, opacity .15s;
}
.pill-login-link:hover { text-decoration:none; opacity:1; }

/* ── Right pill: search group (isolated hover zone) ─ */
.pill-search-group {
  display:flex; align-items:center;
}

/* ── Right pill: hover expands to search bar ─────── */
.pill-search-expand {
  /* flex:0 0 auto lets width drive the size */
  flex:0 0 auto;
  width:0;
  overflow:hidden;
  border:none; background:transparent; outline:none;
  font-size:15px; color:#1a1a1a; font-family:inherit;
  padding:0; opacity:0;
  white-space:nowrap;
  transition:width    .38s cubic-bezier(.16,1,.3,1),
             padding  .38s ease,
             opacity  .25s ease;
  cursor:text;
}
.pill-search-expand::placeholder { color:#555; }
.pill-search-group:hover .pill-search-expand,
.pill-search-group:focus-within .pill-search-expand,
.pill-search-group.has-query .pill-search-expand {
  width:200px; padding:0 10px; opacity:1;
}
@media(min-width:1440px){
  .pill-search-group:hover .pill-search-expand,
  .pill-search-group:focus-within .pill-search-expand,
  .pill-search-group.has-query .pill-search-expand { width:260px; }
}
.pill-search-expand::-webkit-search-cancel-button { display:none; }
.pill-search-expand::-webkit-search-decoration { display:none; }
.pill-search-expand::-webkit-search-results-button { display:none; }
.pill-search-expand { -webkit-appearance:none; appearance:none; }


/* ── Mega overlay ───────────────────────────────── */
.mega-overlay {
  position:fixed; inset:0; z-index:1000;
  background:#fff; display:flex; flex-direction:column;
  pointer-events:none; transform:translateY(100vh);
  transition:transform .35s ease-in-out;
}
body[data-menu-open] .mega-overlay { transform:translateY(0); pointer-events:all; }
body:not([data-menu-open]) .mega-overlay {
  transition:transform .28s ease-in;
}
body[data-menu-open] { overflow:hidden; }

/* ── Topbar ─────────────────────────────────────── */
.mega-topbar {
  display:flex; align-items:center;
  padding:0;
  height:68px; border-bottom:1px solid #e8e5e1; flex-shrink:0;
  transform:translateY(-48px); opacity:0;
  transition:transform .44s cubic-bezier(.16,1,.3,1) .12s,
             opacity   .3s  ease                      .1s;
}
body[data-menu-open] .mega-topbar { transform:translateY(0); opacity:1; }
body:not([data-menu-open]) .mega-topbar {
  transform:translateY(-48px); opacity:0;
  transition:transform .22s cubic-bezier(.7,0,.84,0), opacity .18s ease;
}

/* ── X button — grey pill box, near corner with small gap ── */
.mega-topbar .pill-burger {
  margin: 8px 0 8px 8px; flex-shrink:0;
  width:52px; height:52px;
}
.mega-topbar .pill-burger-inner {
  background: #F1EEEA !important;
  border-radius: 16px !important;
  width: 52px; height: 52px;
  transform: scale(1) !important;
}
.mega-topbar .pill-burger-inner:hover { background: #A8FF4D !important; }

/* ── Brand in topbar — same size as pill-brand ── */
.mega-topbar-brand {
  font-size:25px; font-weight:700; line-height:1; color:#0C2B14;
  letter-spacing:-.025em; white-space:nowrap;
  text-decoration:none; flex-shrink:0;
  margin-left:12px;
  opacity:0; transform:scale(.88) translateY(5px); transform-origin:left center;
  transition:opacity .35s ease .14s, transform .4s cubic-bezier(.23,1,.32,1) .12s;
}
@media(min-width:768px)  { .mega-topbar-brand { font-size:27px; } }
@media(min-width:1440px) { .mega-topbar-brand { font-size:30px; } }
body[data-menu-open] .mega-topbar-brand { opacity:1; transform:scale(1) translateY(0); }
body:not([data-menu-open]) .mega-topbar-brand { transition-delay:0s !important; }

/* ── Search bar — rectangular with slight curve, compact ── */
.mega-topbar-search {
  flex:1; margin:0 1px 0 24px;
  overflow:visible;
  clip-path:inset(0 100% 0 0);
  opacity:0;
}
.mega-topbar-search.s-open {
  clip-path:inset(0 0% 0 0); opacity:1;
  transition:clip-path .5s cubic-bezier(.16,1,.3,1), opacity .1s ease;
}
.mega-topbar-search.s-close {
  clip-path:inset(0 100% 0 0); opacity:0;
  transition:clip-path .42s cubic-bezier(.7,0,.84,0), opacity .2s ease .3s;
}
.mega-topbar-search-inner {
  display:flex; align-items:center; gap:12px;
  height:54px; padding:0 16px;
  border:1px solid #b8b4ae; border-radius:8px;
  background:#ffffff;
  transition:background .15s;
}
.mega-topbar-search-inner:focus-within {
  background:#f5f2ed;
  border-color:transparent;
}
.mega-topbar-search-icon { width:34px; height:34px; flex-shrink:0; color:#666; }
.mega-topbar-search-input {
  flex:1; outline:none; background:transparent;
  font-size:15px; color:#1a1a1a; font-family:inherit; min-width:0;
  border:0.5px solid transparent; border-radius:6px;
  padding:0 14px; height:42px;
  transition:border-color .15s;
}
.mega-topbar-search-input:focus {
  border-color:#7DBF8E;
}
.mega-topbar-search-input::placeholder { color:#555; }

/* ── LOG IN — same size as pill-login, flush to right edge ── */
.mega-topbar-login {
  flex-shrink:0; padding:0 20px;
  font-size:16px; font-weight:700; letter-spacing:.07em; line-height:1;
  text-transform:uppercase; color:#0C2B14;
  text-decoration:underline !important; text-underline-offset:3px;
  text-decoration-thickness:1.5px;
  white-space:nowrap; cursor:pointer;
  opacity:0; transform:translateX(16px);
  transition:opacity .3s ease .22s, transform .35s cubic-bezier(.23,1,.32,1) .2s;
}
.mega-topbar-login:hover { opacity:1 !important; text-decoration:none !important; }
body[data-menu-open] .mega-topbar-login { opacity:1; transform:translateX(0); }
body:not([data-menu-open]) .mega-topbar-login { transition-delay:0s !important; }

/* ── Mega body — SPLIT ANIMATION: rises from below ─ */
.mega-body {
  display:flex; flex:1; overflow:hidden; position:relative;
  transform:translateY(56px); opacity:0;
  transition:transform .46s cubic-bezier(.16,1,.3,1) .14s,
             opacity   .32s ease .12s;
}
body[data-menu-open] .mega-body { transform:translateY(0); opacity:1; }
body:not([data-menu-open]) .mega-body {
  transform:translateY(56px); opacity:0;
  transition:transform .22s cubic-bezier(.7,0,.84,0), opacity .18s ease;
}

/* ── Left sidebar (BCG-style) ─────────────────── */
.mega-sidebar {
  width:280px; flex-shrink:0;
  background:#fff; border-right:1px solid rgba(0,0,0,.1);
  overflow-y:auto; padding:12px 0 40px;
}
@media(min-width:768px)  { .mega-sidebar { width:300px; } }
@media(min-width:1440px) { .mega-sidebar { width:340px; } }

.mega-sidebar-group { margin-bottom:4px; }
.mega-sidebar-group-label {
  font-size:18px; font-weight:600; color:#111;
  padding:18px 24px 10px; font-family:var(--sans);
  letter-spacing:-.01em;
}
.mega-side-item {
  display:block; width:100%; text-align:left;
  padding:10px 24px 10px 34px;
  font-size:15px; font-weight:400; color:#444;
  background:none; border:none; cursor:pointer;
  transition:background .12s, color .12s;
  font-family:var(--sans);
}
.mega-side-item:hover { background:#f5f3ef; color:#0C2B14; }
.mega-side-item.active { background:#ece9e4; color:#0C2B14; font-weight:500; }

.mega-sidebar-solo {
  display:block; width:100%; text-align:left;
  padding:18px 24px; font-size:18px; font-weight:600; color:#111;
  background:none; border:none; border-top:1px solid rgba(0,0,0,.09);
  cursor:pointer; transition:background .12s;
  font-family:var(--sans); letter-spacing:-.01em;
}
.mega-sidebar-solo:hover { background:#f5f3ef; }
.mega-sidebar-solo.active { background:#ece9e4; color:#0C2B14; }

/* ── Right panel area ─────────────────────────── */
.mega-panel-area {
  flex:1; background:#f5f3ef; overflow-y:auto;
}
.mega-panel { display:none; }
.mega-panel.active { display:block; }

/* List panel header */
.mega-panel-hd {
  padding:32px 48px 24px;
  border-bottom:1px solid rgba(0,0,0,.1);
  background:#fff;
}
.mega-panel-title {
  font-size:20px; font-weight:600; color:#111;
  font-family:var(--sans); margin-bottom:6px;
}
.mega-panel-sub { font-size:14px; color:#666; max-width:60ch; }

/* 2-column list */
.mega-list-grid {
  display:grid; grid-template-columns:1fr 1fr;
  padding:0 48px; background:#f5f3ef;
}
@media(max-width:767px) { .mega-list-grid { grid-template-columns:1fr; } }
.mega-list-item {
  display:block; padding:15px 24px 15px 0;
  font-size:15px; color:#1a1a1a;
  border-bottom:1px solid rgba(0,0,0,.1);
  text-decoration:none; transition:color .15s;
}
.mega-list-item:hover { color:#0C2B14; text-decoration:underline; }

/* Card panel */
.mega-card-panel {
  max-width:460px; margin:32px 48px;
  background:#fff; border:1px solid rgba(0,0,0,.1);
  border-radius:4px; overflow:hidden;
}
.mega-card-img { height:210px; }
.insights-img { background:url("https://images.unsplash.com/photo-1504711434969-e33886168f5c?w=800&q=80&auto=format&fit=crop") center/cover no-repeat; }
.about-img    { background:url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=800&q=80&auto=format&fit=crop") center/cover no-repeat; }
.contact-img  { background:linear-gradient(135deg,#0C2B14 0%,#1E5C39 55%,#2A7848 100%); }
.mega-card-body { padding:22px 28px 28px; }
.mega-card-title {
  font-size:22px; font-weight:400; color:#111;
  font-family:var(--serif); margin-bottom:10px;
}
.mega-card-desc {
  font-size:14px; color:#555; line-height:1.55; margin-bottom:18px;
}
.mega-visit-btn {
  display:inline-flex; align-items:center; gap:8px;
  background:#A8FF4D; color:#0C2B14;
  padding:11px 20px; border-radius:40px;
  font-size:12px; font-weight:700; letter-spacing:.07em;
  text-transform:uppercase; transition:background .15s;
}
.mega-visit-btn:hover { background:#8FE035; }
.mega-within { margin-top:20px; padding-top:16px; border-top:1px solid rgba(0,0,0,.1); }
.mega-within-label {
  font-size:11px; font-weight:600; letter-spacing:.13em;
  color:#6e6e6e; text-transform:uppercase; margin-bottom:12px;
}
.mega-within-links { display:grid; grid-template-columns:1fr 1fr; gap:8px 24px; }
.mega-within-links a {
  font-size:13px; color:#0C2B14;
  text-decoration:underline; text-underline-offset:2px;
  transition:opacity .15s;
}
.mega-within-links a:hover { opacity:.6; }

/* ── Left nav item stagger ──────────────────────── */
.mega-category, .mega-category-sub {
  opacity:0; transform:translateX(-16px);
  transition:opacity .3s ease, transform .3s cubic-bezier(.23,1,.32,1), background .15s, color .15s;
}
body[data-menu-open] .mega-category,
body[data-menu-open] .mega-category-sub { opacity:1; transform:translateX(0); }
body[data-menu-open] .mega-left>*:nth-child(1){ transition-delay:.16s }
body[data-menu-open] .mega-left>*:nth-child(2){ transition-delay:.19s }
body[data-menu-open] .mega-left>*:nth-child(3){ transition-delay:.22s }
body[data-menu-open] .mega-left>*:nth-child(4){ transition-delay:.25s }
body[data-menu-open] .mega-left>*:nth-child(5){ transition-delay:.28s }
body[data-menu-open] .mega-left>*:nth-child(6){ transition-delay:.31s }
body[data-menu-open] .mega-left>*:nth-child(7){ transition-delay:.34s }
body[data-menu-open] .mega-left>*:nth-child(8){ transition-delay:.37s }

.mega-panel-title,.mega-panel-desc,.mega-item-link,.mega-simple-link {
  opacity:0; transform:translateY(12px);
  transition:opacity .28s ease, transform .28s cubic-bezier(.23,1,.32,1), color .15s;
}
body[data-menu-open] .mega-panel.active .mega-panel-title,
body[data-menu-open] .mega-panel.active .mega-panel-desc,
body[data-menu-open] .mega-panel.active .mega-item-link,
body[data-menu-open] .mega-panel.active .mega-simple-link { opacity:1; transform:translateY(0); }
body[data-menu-open] .mega-panel.active .mega-panel-title{ transition-delay:.22s }
body[data-menu-open] .mega-panel.active .mega-panel-desc{ transition-delay:.26s }
body[data-menu-open] .mega-panel.active *:nth-child(3){ transition-delay:.28s }
body[data-menu-open] .mega-panel.active *:nth-child(4){ transition-delay:.31s }
body[data-menu-open] .mega-panel.active *:nth-child(5){ transition-delay:.34s }
body[data-menu-open] .mega-panel.active *:nth-child(6){ transition-delay:.37s }

body:not([data-menu-open]) .mega-category,
body:not([data-menu-open]) .mega-category-sub,
body:not([data-menu-open]) .mega-panel-title,
body:not([data-menu-open]) .mega-panel-desc,
body:not([data-menu-open]) .mega-item-link,
body:not([data-menu-open]) .mega-simple-link { transition-delay:0s !important; }

/* ═══════════════════════════════════════════════════
   LOGIN MODAL
   ═══════════════════════════════════════════════════ */
/* ── Login modal — original compact centered style ── */
.login-backdrop {
  position:fixed; inset:0; z-index:2000;
  background:rgba(0,0,0,.25);
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  opacity:0; pointer-events:none;
  transition:opacity .3s ease;
}
.login-backdrop.open { opacity:1; pointer-events:all; }

.login-modal {
  position:fixed; z-index:2001;
  top:50%; left:50%;
  transform:translate(-50%,-50%) scale(.92);
  width:min(440px, calc(100vw - 48px));
  background:#fff; border-radius:18px;
  box-shadow:0 8px 40px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.08);
  padding:48px 44px 44px;
  opacity:0; pointer-events:none;
  transition:transform .38s cubic-bezier(.16,1,.3,1), opacity .28s ease;
}
.login-modal.open {
  transform:translate(-50%,-50%) scale(1);
  opacity:1; pointer-events:all;
}

.login-modal-close {
  position:absolute; top:18px; right:20px;
  width:36px; height:36px;
  display:grid; place-content:center;
  background:none; border:none; cursor:pointer;
  border-radius:50%; font-size:20px; color:#555; line-height:1;
  transition:background .15s, color .15s;
}
.login-modal-close:hover { background:#f0ede9; color:#0C2B14; }

.login-modal-title {
  font-size:22px; font-weight:600; color:#111;
  text-align:center; margin-bottom:28px; line-height:1.3;
}

.login-modal-label {
  display:block; font-size:13px; font-weight:600;
  color:#444; letter-spacing:.03em; margin-bottom:8px;
}

.login-modal-input {
  width:100%; height:50px; padding:0 16px;
  border:1.5px solid #ccc; border-radius:50px;
  font-size:15px; color:#111; font-family:inherit;
  outline:none; box-sizing:border-box;
  transition:border-color .15s, box-shadow .15s;
}
.login-modal-input:focus {
  border-color:#0C2B14; box-shadow:0 0 0 3px rgba(12,43,21,.1);
}
.login-modal-input::placeholder { color:#bbb; }

.login-modal-btn-signin {
  margin-top:20px; width:100%; height:52px;
  background:#A8FF4D; border:none; border-radius:50px;
  color:#0C2B14; font-size:14px; font-weight:700;
  letter-spacing:.08em; text-transform:uppercase;
  cursor:pointer; display:flex; align-items:center;
  justify-content:center; gap:10px;
  transition:background .15s, transform .1s;
}
.login-modal-btn-signin:hover { background:#8FE035; transform:translateY(-1px); }
.login-modal-btn-signin:active { transform:translateY(0); }

.login-modal-btn-signup {
  margin-top:12px; width:100%; height:52px;
  background:#fff; border:1.5px solid #222; border-radius:50px;
  color:#111; font-size:14px; font-weight:700;
  letter-spacing:.08em; text-transform:uppercase;
  cursor:pointer; transition:background .15s, transform .1s;
}
.login-modal-btn-signup:hover { background:#f5f3ef; transform:translateY(-1px); }

/* ═══════════════════════════════════════════════════════════
   MEGA MENU — BCG exact: wide / split / card-only
   ═══════════════════════════════════════════════════════════ */
/* Note: .mega-body dimensions defined above; only column layout repeated below */
@media(min-width:1440px){ .mega-body{ height:calc(100vh - 116px); } }

/* ── COL 1: left nav ─────────────────────────────── */
.mega-col1 {
  width:360px; flex-shrink:0;
  background:#fff;
  border-right:1px solid rgba(0,0,0,.09);
  overflow-y:auto;
  padding:14px 0 56px;
}
@media(min-width:1440px){ .mega-col1{ width:400px; } }

.mc1-group { margin-bottom:4px; }

.mc1-group-label {
  font-size:22px; font-weight:700;
  letter-spacing:-.02em; text-transform:none;
  color:#111; padding:14px 14px;
  font-family:var(--sans);
  border-top:1px solid rgba(0,0,0,.08);
  display:block; width:calc(100% - 20px); margin:1px 10px; box-sizing:border-box;
}

.mc1-item {
  display:block; width:100%; text-align:left;
  padding:9px 18px 9px 32px;
  font-size:15px; font-weight:400; color:#222;
  background:none; border:none; cursor:pointer;
  font-family:var(--sans); line-height:1.25;
  transition:background .1s, color .1s;
  border-radius:6px; margin:1px 10px; width:calc(100% - 20px);
}
.mc1-item:hover  { background:#f5f3ef; color:#0C2B14; }
.mc1-item.active { background:#ece9e4; color:#0C2B14; font-weight:600; }

.mc1-solo {
  display:block; width:100%; text-align:left;
  padding:14px 28px;
  font-size:17px; font-weight:700; color:#111;
  background:none; border:none;
  border-top:1px solid rgba(0,0,0,.08);
  cursor:pointer; font-family:var(--sans);
  letter-spacing:-.02em;
  transition:background .1s;
}
.mc1-solo:hover  { background:#f5f3ef; }
.mc1-solo.active { background:#ece9e4; color:#0C2B14; }

/* ── RIGHT AREA ──────────────────────────────────── */
.mega-right-area {
  flex:1; position:relative; overflow:hidden;
}

.mega-rpanel { display:none; height:100%; }

/* ── ① WIDE (Industries / Capabilities) ─────────── */
.mega-rpanel.rp-wide.active {
  display:flex; flex-direction:column;
}
.rp-wide-head {
  padding:32px 52px 24px;
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.09);
  flex-shrink:0;
}
.rp-wide-title {
  font-size:26px; font-weight:700; color:#111;
  font-family:var(--sans); letter-spacing:-.03em;
  margin-bottom:5px;
}
.rp-wide-sub { font-size:15px; color:#6e6e6e; max-width:70ch; }

.rp-wide-grid {
  flex:1; overflow-y:auto;
  display:grid; grid-template-columns:1fr 1fr;
  padding:0 52px; background:#f5f3ef;
  align-content:start;
  column-gap:48px;
}
@media(max-width:800px){ .rp-wide-grid{ grid-template-columns:1fr; } }

.rp-wide-grid a {
  display:block;
  padding:18px 0;
  font-size:17px; font-weight:400; color:#1a1a1a;
  border-bottom:1px solid rgba(0,0,0,.08);
  text-decoration:none;
  transition:color .12s;
}
.rp-wide-grid a:hover { color:#0C2B14; text-decoration:underline; }

/* ── ② SPLIT (Insights / People) ────────────────── */
.mega-rpanel.rp-split.active {
  display:flex; flex-direction:row;
  background:#fff;
}

.rp-list-col {
  width:360px; flex-shrink:0;
  background:#fff;
  border-right:1px solid rgba(0,0,0,.09);
  overflow-y:auto;
  padding-top:8px;
}

.rp-card-col {
  width:460px; flex-shrink:0;
  background:#f5f3ef;
  overflow-y:auto; padding:32px 36px;
}

.rp-list-link {
  display:flex; align-items:center;
  padding:18px 44px;
  font-size:18px; font-weight:400; color:#222;
  text-decoration:none;
  border-bottom:1px solid rgba(0,0,0,.07);
  transition:background .1s, color .1s;
}
.rp-list-link:hover  { background:#f5f3ef; color:#0C2B14; }
.rp-list-link.active { background:#ece9e4; color:#0C2B14; font-weight:600; }

/* ── ③ CARD-ONLY ─────────────────────────────────── */
.mega-rpanel.rp-card.active {
  display:flex; flex-direction:row;
  background:#fff;
}
.rp-card-wrap {
  width:460px; flex-shrink:0;
  background:#f5f3ef;
  border-right:1px solid rgba(0,0,0,.09);
  padding:32px 36px;
  overflow-y:auto;
  box-sizing:border-box;
  align-self:stretch;
}

/* Shared card elements (used in split + card-only) */
.rp-card-img {
  height:230px; border-radius:3px;
  margin-bottom:24px; overflow:hidden;
}

/* Gradient placeholders */
.sallfin-x-img { background:url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=800&q=80&auto=format&fit=crop") center/cover no-repeat; }
.insights-img  { background:url("https://images.unsplash.com/photo-1504711434969-e33886168f5c?w=800&q=80&auto=format&fit=crop") center/cover no-repeat; }
.india-img     { background:linear-gradient(135deg,#3a200a 0%,#7a4810 55%,#c8921a 100%); }
.alumni-img    { background:linear-gradient(135deg,#1A3A1A 0%,#2A6A2A 55%,#7FAA4A 100%); }
.about-img     { background:url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=800&q=80&auto=format&fit=crop") center/cover no-repeat; }
.impact-img    { background:url("https://images.unsplash.com/photo-1573164713988-8665fc963095?w=800&q=80&auto=format&fit=crop") center/cover no-repeat; }
.people-img    { background:url("https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=800&q=80&auto=format&fit=crop") center/cover no-repeat; }
.offices-img   { background:url("https://images.unsplash.com/photo-1497366216548-37526070297c?w=800&q=80&auto=format&fit=crop") center/cover no-repeat; }
.newsroom-img  { background:linear-gradient(135deg,#1e1e1e 0%,#3a3a3a 55%,#7a7a7a 100%); }
.joinus-img    { background:url("https://images.unsplash.com/photo-1552664730-d307ca884978?w=800&q=80&auto=format&fit=crop") center/cover no-repeat; }

.rp-card-title {
  font-size:28px; font-weight:400; color:#111;
  font-family:var(--serif); line-height:1.18;
  margin-bottom:12px; letter-spacing:-.01em;
}
.rp-card-desc {
  font-size:15px; color:#555; line-height:1.65;
  margin-bottom:22px; max-width:42ch;
}
.rp-card-btn {
  display:inline-flex; align-items:center; gap:8px;
  background:#A8FF4D; color:#0C2B14;
  padding:12px 24px; border-radius:40px;
  font-size:12px; font-weight:700; letter-spacing:.09em;
  text-transform:uppercase; text-decoration:none;
  transition:background .15s; margin-bottom:24px;
}
.rp-card-btn:hover { background:#8FE035; }
.rp-card-within { padding-top:18px; border-top:1px solid rgba(0,0,0,.1); }
.rp-within-label {
  font-size:11px; font-weight:700; letter-spacing:.15em;
  color:#6e6e6e; text-transform:uppercase; margin-bottom:12px;
}
.rp-within-links {
  display:grid; grid-template-columns:1fr 1fr; gap:9px 24px;
}
.rp-within-links a {
  font-size:14px; color:#0C2B14;
  text-decoration:underline; text-underline-offset:3px;
  transition:opacity .14s;
}
.rp-within-links a:hover { opacity:.55; }

/* ── Capabilities 3-part panel ──────────────────────── */
.mega-rpanel.rp-caps.active {
  display:flex; flex-direction:row; height:100%;
}

.caps-list-col {
  width:320px; flex-shrink:0;
  background:#fff;
  border-right:1px solid rgba(0,0,0,.09);
  overflow-y:auto;
}
@media(min-width:1440px){ .caps-list-col{ width:360px; } }

.caps-item {
  display:block; width:100%; text-align:left;
  padding:18px 44px;
  font-size:17px; font-weight:400; color:#222;
  background:none; border:none; cursor:pointer;
  border-bottom:1px solid rgba(0,0,0,.07);
  font-family:var(--sans); line-height:1.3;
  transition:background .1s, color .1s;
}
.caps-item:hover  { background:#f5f3ef; color:#0C2B14; }
.caps-item.active { background:#ece9e4; color:#0C2B14; font-weight:600; }

.caps-detail-col {
  flex:1; background:#f5f3ef;
  overflow-y:auto; padding:32px 48px;
}

.caps-panel { display:none; }
.caps-panel.active { display:block; }

.caps-panel-title {
  font-size:22px; font-weight:700; color:#111;
  font-family:var(--sans); letter-spacing:-.03em;
  margin-bottom:18px; padding-bottom:14px;
  border-bottom:1px solid rgba(0,0,0,.1);
}

.caps-link {
  display:block;
  padding:14px 0;
  font-size:16px; color:#1a1a1a;
  border-bottom:1px solid rgba(0,0,0,.07);
  text-decoration:none;
  transition:color .12s, padding-left .15s;
  line-height:1.45;
}
.caps-link:hover { color:#0C2B14; padding-left:6px; }

/* ── Panel display fix ─────────────────────────────── */
.mega-right-area {
  display:flex; flex-direction:column;
  overflow:hidden;
}
.mega-rpanel {
  display:none;
  flex:1; min-height:0;
}
.mega-rpanel.rp-wide.active,
.mega-rpanel.rp-split.active,
.mega-rpanel.rp-caps.active {
  display:flex;
  flex:1; min-height:0;
  overflow:hidden;
}
.mega-rpanel.rp-card.active {
  display:flex;
  flex:1; min-height:0;
  overflow:hidden;
  background:#fff;
  padding:0;
}
/* Ensure scroll cols fill properly */
.rp-wide-grid,
.rp-list-col,
.rp-card-col,
.caps-list-col,
.caps-detail-col {
  overflow-y:auto;
  min-height:0;
}
.rp-wide.mega-rpanel.active .rp-wide-grid { flex:1; }

/* ─────────────────────────────────────────────────────────
   INDUSTRY DRILL-DOWN
───────────────────────────────────────────────────────── */

/* default view fills the panel */
.rp-ind-default {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
/* drilled view hidden by default */
.rp-ind-drilled {
  display: none;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* when drilled state is active */
.rp-wide.ind-drilled-state .rp-ind-default { display: none; }
.rp-wide.ind-drilled-state .rp-ind-drilled { display: flex; flex: 1; min-height: 0; }

/* hide the left nav col when drilled */
.mega-col1.ind-col1-hidden { display: none; }

/* rp-ind-link rules consolidated below */

/* drilled left column */
.rp-ind-drill-left {
  width: 380px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid rgba(0,0,0,.09);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.rp-ind-back-row {
  padding: 18px 28px;
  border-bottom: 1px solid rgba(0,0,0,.09);
  flex-shrink: 0;
}
.rp-ind-back-btn {
  background: none;
  border: none;
  font-size: 15px;
  color: #555;
  cursor: pointer;
  font-family: var(--sans);
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .15s;
}
.rp-ind-back-btn:hover { color: #0C2B14; font-weight: 600; }

.rp-ind-drill-list { flex: 1; overflow-y: auto; }
.rp-ind-drill-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 15px 28px;
  font-size: 16px;
  color: #1a1a1a;
  font-family: var(--sans);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.06);
  background: none;
  cursor: pointer;
  transition: background .12s, color .12s;
}
.rp-ind-drill-link:hover { background: #f5f3ef; color: #0C2B14; }
.rp-ind-drill-link.active { background: #ece9e4; color: #0C2B14; font-weight: 600; }

/* drilled card column */
.rp-ind-drill-card {
  flex: 1;
  background: #f5f3ef;
  overflow-y: auto;
  padding: 40px 48px;
}
.rp-ind-drill-card .rp-card-img {
  height: 220px;
  border-radius: 4px;
  margin-bottom: 24px;
  background: #3D6B4E;
}

/* ── Mega menu: no underlines anywhere ── */
.mega-overlay a:not(.mega-topbar-login),
.mega-overlay button,
.mc1-item,
.mc1-solo,
.rp-ind-link,
.rp-ind-drill-link,
.rp-list-link,
.rp-card-btn,
.caps-item,
.caps-link,
.mega-topbar-brand {
  text-decoration: none !important;
}
.mega-overlay a:hover,
.mega-overlay a:focus,
.mega-overlay button:hover,
.mc1-item:hover, .mc1-solo:hover,
.rp-list-link:hover,
.caps-link:hover {
  text-decoration: none !important;
}

/* ── DRILLED VIEW — revised BCG-exact layout ── */

/* Column structure: header full-width + body row */
.rp-ind-drilled { display: none; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; }
.rp-wide.ind-drilled-state .rp-ind-drilled { display: flex !important; flex: 1; min-height: 0; }

/* Full-width secondary header row */
.rp-ind-drill-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.09);
  flex-shrink: 0;
}
.rp-ind-back-btn {
  background: none;
  border: none;
  font-size: 22px;
  color: #333;
  cursor: pointer;
  font-family: var(--sans);
  padding: 4px 10px 4px 0;
  line-height: 1;
  display: flex;
  align-items: center;
  transition: color .15s;
  flex-shrink: 0;
}
.rp-ind-back-btn:hover { color: #0C2B14; }
.rp-ind-drill-head-info .rp-wide-title { font-size: 20px; margin: 0; padding: 0; border: none; }
.rp-ind-drill-head-info .rp-wide-sub { font-size: 13px; margin: 2px 0 0; padding: 0; color: #666; }

/* Body: 2-col list left + card right */
.rp-ind-drill-body {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* 2-col grid list */
.rp-ind-drill-list {
  flex: 1;
  background: #fff;
  border-right: 1px solid rgba(0,0,0,.09);
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  padding: 0;
}
.rp-ind-drill-link {
  display: block;
  padding: 17px 28px;
  font-size: 16px;
  color: #1a1a1a;
  font-family: var(--sans);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.06);
  cursor: pointer;
  transition: background .12s, color .12s;
}
.rp-ind-drill-link:hover { background: #f5f3ef; color: #0C2B14; }
.rp-ind-drill-link.active { background: #ece9e4; color: #0C2B14; font-weight: 600; }

/* Card column — white background */
.rp-ind-drill-card {
  width: 400px;
  flex-shrink: 0;
  background: #ffffff;
  overflow-y: auto;
  padding: 0;
  border-left: 1px solid rgba(0,0,0,.07);
}
.rp-ind-drill-card .rp-card-img {
  height: 220px;
  width: 100%;
  display: block;
  margin: 0;
  border-radius: 0;
}
.rp-ind-drill-card .rp-card-title {
  font-size: 26px;
  font-weight: 400;
  font-family: var(--serif);
  color: #111;
  margin: 24px 32px 12px;
  line-height: 1.25;
}
.rp-ind-drill-card .rp-card-body {
  font-size: 15px;
  color: #444;
  line-height: 1.65;
  margin: 0 32px 28px;
}
.rp-ind-drill-card .rp-card-btn {
  display: inline-flex;
  margin: 0 32px 32px;
  background: #A8FF4D;
  color: #0C2B14;
  padding: 12px 22px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  text-decoration: none;
}

/* ══════════════════════════════════════════════════════════
   BCG-EXACT INDUSTRIES PANEL — v24 precision overrides
══════════════════════════════════════════════════════════ */

/* ── DEFAULT GRID VIEW: 2-col text grid, no card ─────────── */
.rp-wide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  background: #fff;
  padding: 0 !important;
  column-gap: 0;
  overflow-y: auto;
}
.rp-wide-head {
  background: #fff;
  padding: 24px 28px 20px !important;
  border-bottom: 1px solid rgba(0,0,0,.1);
  flex-shrink: 0;
}
.rp-wide-title {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  font-family: var(--sans);
  margin: 0;
}
.rp-wide-sub {
  font-size: 13px;
  color: #666;
  margin: 3px 0 0;
  font-family: var(--sans);
}

/* rp-ind-link rules consolidated below */

/* ── DRILLED HEADER ROW ──────────────────────────────────── */
.rp-ind-drill-header {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 20px 28px 18px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.1);
  flex-shrink: 0;
}
.rp-ind-back-btn {
  font-size: 20px;
  color: #444;
  padding: 0 18px 0 0;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  transition: color .13s;
  flex-shrink: 0;
}
.rp-ind-back-btn:hover { color: #0C2B14; }
.rp-ind-drill-head-info { display: flex; flex-direction: column; gap: 2px; }
.rp-ind-drill-head-info .rp-wide-title { border: none !important; }

/* ── DRILLED BODY: 2-col list + card ────────────────────── */
.rp-ind-drill-body {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.rp-ind-drill-list {
  flex: 1;
  background: #fff;
  border-right: 1px solid rgba(0,0,0,.09);
  overflow-y: auto;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  padding: 0;
}

/* Drill list items — BCG exact (selected + hover) */
.rp-ind-drill-link {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 17px 28px;
  font-size: 16.5px;
  font-weight: 400;
  font-family: var(--sans);
  color: #1a1a1a;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(0,0,0,.07);
  cursor: pointer;
  transition: background .13s;
  background: #fff;
  width: 100%;
}
.rp-ind-drill-link .ind-arr {
  opacity: 0;
  color: #0C2B14;
  font-size: 17px;
  transition: opacity .13s;
  flex-shrink: 0;
}
/* Hover state: light green + arrow */
.rp-ind-drill-link:hover {
  background: #E8F5EA;
  color: #0C2B14;
}
.rp-ind-drill-link:hover .ind-arr { opacity: 1; }
/* Active/selected state: beige, NO arrow */
.rp-ind-drill-link.active {
  background: #ece9e4 !important;
  color: #111;
  font-weight: 400;
}
.rp-ind-drill-link.active .ind-arr { opacity: 0 !important; }

/* ── CARD — white background, BCG format ─────────────────── */
.rp-ind-drill-card {
  width: 400px;
  flex-shrink: 0;
  background: #ffffff !important;
  overflow-y: auto;
  padding: 0 !important;
  border-left: 1px solid rgba(0,0,0,.08);
}
.rp-ind-drill-card .rp-card-img {
  height: 230px;
  width: 100%;
  display: block;
  border-radius: 0;
  margin: 0;
}
.rp-ind-drill-card .rp-card-title {
  font-size: 28px;
  font-weight: 400;
  font-family: var(--serif);
  color: #111;
  margin: 24px 36px 14px;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.rp-ind-drill-card .rp-card-body {
  font-size: 15px;
  color: #555;
  line-height: 1.65;
  margin: 0 36px 28px;
  font-family: var(--sans);
}
.rp-ind-drill-card .rp-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 36px 36px;
  background: #A8FF4D;
  color: #0C2B14;
  padding: 13px 24px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background .15s;
}
.rp-ind-drill-card .rp-card-btn:hover { background: #8FE035; }

/* ══════════════════════════════════════════════════════════
   LEFT PANEL — wider, BCG-exact proportions
══════════════════════════════════════════════════════════ */
.mega-col1 {
  width: 380px !important;
  flex-shrink: 0 !important;
  background: #fff;
  border-right: 1px solid rgba(0,0,0,.09);
  overflow-y: auto;
  padding: 14px 0 56px;
}
@media(min-width:1440px){ .mega-col1:not(.ind-col1-hidden) { width: 420px !important; } }


/* ═══════════════════════════════════════════════════════
   MEGA MENU — CONSOLIDATED (replaces all prior overrides)
═══════════════════════════════════════════════════════ */

/* Left nav sub-items: pill shape */
.mc1-item {
  display: flex; align-items: center; justify-content: space-between;
  width: calc(100% - 20px); box-sizing: border-box;
  margin: 7px 10px; border-radius: 6px;
  padding: 13px 14px 13px 32px;
  font-size: 22px; font-weight: 400; color: #222;
  background: none; border: none; cursor: pointer;
  font-family: var(--sans); line-height: 1.25;
  transition: background .12s, color .12s;
  position: relative;
}
.mc1-item::after {
  content: '→'; flex-shrink: 0; opacity: 0;
  font-size: 18px; color: #0C2B14;
  transition: opacity .13s; margin-left: 8px;
}
.mc1-item:hover  { background: #D8F0DB; color: #0C2B14; }
.mc1-item:hover::after { opacity: 1; }
.mc1-item.active { background: #ece9e4; color: #0C2B14; font-weight: 600; }
.mc1-item.active::after { opacity: 0; }

/* Solo items */
.mc1-solo {
  display: flex; align-items: center; justify-content: space-between;
  width: calc(100% - 20px); box-sizing: border-box;
  margin: 7px 10px; border-radius: 6px;
  padding: 14px 14px;
  font-size: 22px; font-weight: 700; color: #111;
  background: none; border: none; border-top: none;
  cursor: pointer; font-family: var(--sans);
  letter-spacing: -.02em; transition: background .12s;
  position: relative;
}
.mc1-solo::before {
  content: none;
}
.mc1-solo::after {
  content: '→'; flex-shrink: 0; opacity: 0;
  font-size: 18px; color: #0C2B14;
  transition: opacity .13s; margin-left: 8px;
}
.mc1-solo:hover  { background: #D8F0DB; color: #0C2B14; }
.mc1-solo:hover::after { opacity: 1; }
.mc1-solo.active { background: #ece9e4; color: #0C2B14; }
.mc1-solo.active::after { opacity: 0; }

/* Group label */
.mc1-group-label {
  font-size: 22px; font-weight: 700; letter-spacing: -.02em;
  text-transform: none; color: #111;
  padding: 14px 14px;
  font-family: var(--sans); display: block;
  width: calc(100% - 20px); margin: 1px 10px; box-sizing: border-box;
  border-top: none; position: relative;
}
.mc1-group-label::before {
  content: ''; position: absolute;
  top: 0; left: -10px; right: -10px;
  height: 1px; background: rgba(0,0,0,.08);
}
.mc1-group:first-child .mc1-group-label::before { display: none; }
.mc1-group { margin-bottom: 12px; }
.mc1-group + .mc1-solo,
.mc1-solo + .mc1-group { margin-top: 14px; }

/* Industry grid links — pill style, no lines */
.rp-wide-grid .rp-ind-link {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: none;
  border-radius: 8px;
  margin: 2px 8px;
  width: calc(100% - 16px);
  box-sizing: border-box;
  padding: 11px 14px;
  font-size: 15px;
  color: #1a1a1a;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--sans);
  transition: background .15s, color .15s;
}
.rp-wide-grid .rp-ind-link:hover {
  background: #D8F0DB;
  color: #0C2B14;
}
.rp-wide-grid .rp-ind-link.active {
  background: #ece9e4;
  color: #0C2B14;
}
.rp-wide-grid .rp-ind-link .ind-arr { opacity: 0; }
.rp-wide-grid .rp-ind-link:hover .ind-arr { opacity: 1; color: #0C2B14; }
.rp-wide-grid .rp-ind-link.active .ind-arr { opacity: 0; }

/* Industry drill-list links */
.rp-ind-drill-link {
  border-radius: 8px; margin: 2px 10px;
  width: calc(100% - 20px); box-sizing: border-box;
  padding: 14px 18px; border-bottom: none;
}
.rp-ind-drill-link:hover  { background: #f0ede8; color: #0C2B14; }
.rp-ind-drill-link.active { background: #ece9e4; color: #0C2B14; font-weight: 600; }

/* Capabilities items */
.caps-item {
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 8px; margin: 2px 10px;
  width: calc(100% - 20px); box-sizing: border-box;
  padding: 14px 16px; border-bottom: none;
  transition: background .13s, color .13s;
}
.caps-item::after {
  content: '→'; flex-shrink: 0; opacity: 0;
  font-size: 15px; color: #0C2B14;
  transition: opacity .13s; margin-left: 8px;
}
.caps-item:hover  { background: #f0ede8; color: #0C2B14; }
.caps-item:hover::after { opacity: 1; }
.caps-item.active { background: #ece9e4; color: #0C2B14; font-weight: 600; }
.caps-item.active::after { opacity: 0; }

/* Split-panel list links */
.rp-list-link {
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 8px; margin: 2px 10px;
  width: calc(100% - 20px); box-sizing: border-box;
  padding: 15px 16px; border-bottom: none;
  transition: background .13s, color .13s;
}
.rp-list-link::after {
  content: '→'; flex-shrink: 0; opacity: 0;
  font-size: 15px; color: #0C2B14;
  transition: opacity .13s; margin-left: 8px;
}
.rp-list-link:hover  { background: #D8F0DB; color: #0C2B14; }
.rp-list-link:hover::after { opacity: 1; }
.rp-list-link.active { background: #ece9e4; color: #0C2B14; font-weight: 600; }
.rp-list-link.active::after { opacity: 0; }

/* Split card col: match rp-card-col styling when shown */
.rp-split-card {
  width: 460px !important;
  flex: none !important;
  flex-shrink: 0;
  background: #f5f3ef;
  overflow-y: auto;
  padding: 0;
}
.rp-split-card .rp-card-img {
  height: 220px;
  background: #3D6B4E;
  margin: 0 0 24px;
}
.rp-split-card .rp-card-title {
  font-size: 26px;
  font-weight: 400;
  font-family: var(--serif);
  color: #111;
  margin: 0 36px 14px;
  line-height: 1.25;
}
.rp-split-card .rp-card-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.65;
  margin: 0 36px 28px;
  font-family: var(--sans);
}
.rp-split-card .rp-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 36px 36px;
  background: #A8FF4D;
  color: #0C2B14;
  padding: 13px 24px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none !important;
}


/* =============================================
   INDUSTRY PAGES — BCG-EXACT LAYOUT
   ============================================= */

/* Industry floating pill (sits next to burger pill, positioned by JS) */
.ind-pill {
  display: flex;
  align-items: center;
  gap: 0;
  background: hsla(0,0%,100%,.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.09);
  padding: 0 12px 0 18px;
  z-index: 1001;
  white-space: nowrap;
  position: fixed;
  top: 0; left: 0; /* overridden by JS */
}
.ind-pill-label {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -.02em;
  color: #555;
  line-height: 1;
}
.ind-pill-tab {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  color: #555;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 12px;
  transition: background .13s, color .13s;
}
.ind-pill-tab:hover {
  background: #E8F5EA;
  color: #0C2B14;
}
.ind-pill-tab.active {
  background: #3DBA60;
  color: #0C2B14;
  font-weight: 700;
  border-radius: 12px;
}
.ind-pill-tab.active:hover {
  background: #3DBA60;
  color: #0C2B14;
}


/* Industry hero: cream bg, left-aligned, generous top padding */
.ind-page-hero {
  background: #f5f2ee;
  padding: 148px 80px 56px;
}
@media(max-width:1024px) { .ind-page-hero { padding: 130px 40px 48px; } }
.ind-page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 400;
  color: #0C2B14;
  line-height: 1.05;
  margin: 0 0 28px 0;
  letter-spacing: -.02em;
  max-width: 820px;
}
.ind-page-hero .ind-intro {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: #333;
  max-width: 580px;
  margin: 0;
}

/* Wide industry image — rounded corners like BCG */
.ind-hero-img {
  display: block;
  width: calc(100% - 160px);
  margin: 0 80px;
  height: 500px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
@media(max-width:1024px) { .ind-hero-img { width: calc(100% - 80px); margin: 0 40px; } }

/* Services section */
.ind-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
  margin-top: 40px;
}
.ind-service-item {
  padding: 24px 0;
  border-bottom: 1px solid #e8e4df;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ind-service-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #2E7D47;
  flex-shrink: 0;
  margin-top: 7px;
}
.ind-service-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #111;
  margin-bottom: 4px;
}
.ind-service-text span {
  font-size: 14px;
  color: #666;
  line-height: 1.55;
}
.ind-sec-head { margin-bottom: 8px; }
.ind-sec-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #2E7D47;
}
.ind-sec-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400; color: #0C2B14;
  line-height: 1.15; margin: 8px 0 0;
}

/* Hide pill when menu opens */
body[data-menu-open] .ind-pill { visibility:hidden; pointer-events:none; opacity:0; transition: opacity .25s ease, visibility .25s ease; }

/* ── Capability sub-nav — wrapper handles fixed positioning ── */
.cap-subnav-wrap {
  position: fixed; z-index: 1000;
  display: flex; align-items: center;
  gap: 8px;
  transition: opacity .25s ease, visibility .25s ease;
}
body[data-menu-open] .cap-subnav-wrap { visibility:hidden; pointer-events:none; opacity:0; }

/* main pill: burger + capability name */
.cap-subnav {
  position: relative; z-index: auto;
  display: flex; align-items: center;
  height: 60px;
  background: hsla(0,0%,100%,.72);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.09);
  overflow: visible;
  white-space: nowrap;
}
@media(min-width:768px)  { .cap-subnav { height: 68px; } }
@media(min-width:1440px) { .cap-subnav { height: 76px; } }

/* separate current-item pill */
.cap-current-pill {
  height: 60px;
  display: flex; align-items: center;
  padding: 0 22px;
  background: hsla(0,0%,100%,.72);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.09);
  font-size: 20px; font-weight: 400; letter-spacing: -.02em;
  color: #555; white-space: nowrap;
  font-family: var(--sans);
}
@media(min-width:768px)  { .cap-current-pill { height: 68px; } }
@media(min-width:1440px) { .cap-current-pill { height: 76px; } }

/* burger — exact copy of .pill-burger / .pill-burger-inner */
.cap-burger {
  display: flex; align-items: center; justify-content: center;
  appearance: none; -webkit-appearance: none;
  border: none; padding: 8px; background: transparent;
  cursor: pointer; flex-shrink: 0;
}
.cap-burger-inner {
  background: #F1EEEA; border-radius: 16px;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s; flex-shrink: 0;
}
@media(min-width:768px)  { .cap-burger-inner { width: 52px; height: 52px; } }
@media(min-width:1024px) { .cap-burger-inner { width: 56px; height: 56px; } }
.cap-burger-inner:hover { background: #A8FF4D; }
.cap-burger-bars {
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; width: 22px; height: 22px; gap: 0;
}
.cap-bar {
  display: block; width: 18px; height: 1.5px;
  background: #0C2B14; border-radius: 1px;
  transition: transform 300ms cubic-bezier(0.4,0,0.2,1),
              opacity   300ms cubic-bezier(0.4,0,0.2,1);
}
.cap-bar1 { transform: translateY(-5px); }
.cap-bar2 { transform: translateY(0); }
.cap-bar3 { transform: translateY(5px); }
/* open state → × — both bars converge at container centre (y=1.5px from natural) */
.cap-subnav.cap-open .cap-bar1 { transform: translateY(1.5px) rotate(45deg); }
.cap-subnav.cap-open .cap-bar2 { opacity: 0; transform: scaleX(0); }
.cap-subnav.cap-open .cap-bar3 { transform: translateY(-1.5px) rotate(-45deg); }

/* capability name inside main pill */
.cap-subnav-name {
  padding: 0 20px 0 10px;
  font-size: 20px; font-weight: 700; line-height: 1;
  color: #0C2B14; letter-spacing: -.025em; white-space: nowrap;
  align-self: center;
}

/* dropdown */
.cap-subnav-dropdown {
  position: absolute;
  top: calc(100% + 8px); left: 0;
  background: hsla(0,0%,100%,.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,.13);
  min-width: 260px; overflow: hidden;
  z-index: 1100;
  padding: 5px;
  /* slide-down animation */
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: max-height 480ms cubic-bezier(.16,1,.3,1),
              opacity 300ms ease,
              transform 480ms cubic-bezier(.16,1,.3,1);
}
.cap-subnav-dropdown.open {
  max-height: 600px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cap-subnav-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none;
  font-family: var(--sans);
  color: #1a1a1a; text-decoration: none;
  border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}
.cap-subnav-item .cap-arr {
  font-size: 13px; color: #0C2B14; margin-left: 12px; flex-shrink: 0;
  opacity: 0; transition: opacity .15s ease;
}
.cap-subnav-item:hover { background: var(--menu-hover); color: #0C2B14; }
.cap-subnav-item:hover .cap-arr { opacity: 1; }
.cap-subnav-item.active { background: var(--cream-2); color: #0C2B14; font-weight: 600; }
.cap-subnav-item.active .cap-arr { opacity: 0; }




/* =============================================
   BCG-EXACT FOOTER — SALLFIN
   ============================================= */

/* ── PRE-FOOTER ── */
.sf-prefooter {
  background: #e8e5e0;
  padding: 80px 16px 48px;
}
@media(min-width:768px)  { .sf-prefooter { padding: 80px 32px 48px; } }
@media(min-width:1024px) { .sf-prefooter { padding: 80px 40px 48px; } }
@media(min-width:1440px) { .sf-prefooter { padding: 80px 80px 48px; } }

.sf-pf-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1.4fr;
  gap: 60px;
  align-items: start;
}
@media(max-width:900px){ .sf-pf-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Tagline */
.sf-pf-tagline {
  font-family: 'Newsreader', serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  color: #111;
  line-height: 1.2;
  letter-spacing: -.01em;
  max-width: 340px;
}

/* 2-column links */
.sf-pf-links {
  display: flex;
  gap: 40px;
  margin-left: -20px;
}
.sf-pf-col {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sf-pf-col li a {
  font-family: 'Inter', sans-serif;
  font-size: 21px;
  font-weight: 400;
  color: #111;
  text-decoration: none;
  transition: color .12s;
}
.sf-pf-col li a:hover { color: #2E7D47; }

/* CTA — left-aligned */
.sf-pf-cta {
  padding-top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
.sf-pf-cta-title {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #111;
  margin: 0 0 14px;
  line-height: 1.2;
}
.sf-pf-cta-title a { color: inherit; text-decoration: none; transition: color .12s; }
.sf-pf-cta-title a:hover { color: #2E7D47; }
.sf-pf-cta-desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #333;
  margin: 0 0 28px;
  max-width: 440px;
  text-align: right;
}
.sf-pf-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #A8FF4D;
  color: #0C2B14;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none !important;
  padding: 14px 32px;
  border-radius: 8px;
  transition: background .14s;
}
.sf-pf-btn:hover { background: #8FE035 !important; }

/* ── FOOTER BAR ── */
.sf-footer {
  background: #e8e5e0;
  padding: 24px 16px 32px;
}
@media(min-width:768px)  { .sf-footer { padding: 24px 32px 32px; } }
@media(min-width:1024px) { .sf-footer { padding: 24px 40px 32px; } }
@media(min-width:1440px) { .sf-footer { padding: 24px 80px 32px; } }

.sf-foot-inner { width: 100%; }

/* en | ja — top right */
.sf-foot-lang {
  display: none;
}
.sf-foot-lang-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center;
}
.sf-foot-lang-item {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 400;
  color: #6e6e6e; cursor: pointer; transition: color .12s;
  display: flex; align-items: center;
}
.sf-foot-lang-item:hover { color: #111; }
.sf-foot-lang-active { color: #111 !important; font-weight: 500; }
.sf-foot-lang-sep { margin: 0 6px; color: #aaa; }

/* ── Row: logo LEFT | nav CENTER | social RIGHT — no dividing lines ── */
.sf-foot-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding-bottom: 28px;
}

/* Logo */
.sf-foot-brand-wrap {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  justify-self: start;
}
.sf-foot-logo {
  font-family: 'Inter', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #0C2B14;
  letter-spacing: -.04em;
  line-height: 1;
}
.sf-foot-logoname { display: none; }

/* Nav — UPPERCASE single horizontal row, centered */
.sf-foot-nav {
  list-style: none; margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  justify-self: center;
}
.sf-foot-nav li a {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #222;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .12s;
  white-space: nowrap;
}
.sf-foot-nav li a:hover { color: #0C2B14; text-decoration: underline; }

/* Social — right */
.sf-foot-social {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  justify-content: flex-start;
  margin-left: 380px;
}
@media(max-width:900px) {
  .sf-foot-row { grid-template-columns: 1fr; row-gap: 16px; }
  .sf-foot-brand-wrap, .sf-foot-nav, .sf-foot-social { justify-self: start; }
  .sf-foot-nav { justify-content: flex-start; }
  .sf-foot-social { margin-left: 0; }
}
.sf-foot-social-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #222;
  margin-right: 4px; cursor: default;
}
.sf-foot-social-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 14px;
}
.sf-social-item a {
  display: flex; align-items: center; justify-content: center;
  color: #222; text-decoration: none; transition: color .12s;
  width: 22px; height: 22px;
}
.sf-social-item a:hover { color: #0C2B14; }
.sf-social-item a svg { width: 18px; height: 18px; display: block; }

/* LinkedIn — no square (plain like others) */
.sf-social-linkedin a { border: none !important; border-radius: 0 !important; }

/* Legal — darker, bolder, no horizontal lines */
.sf-foot-legal {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.75;
  color: #222;
  padding: 20px 0;
  border-bottom: none;
  margin: 1px 0 0 0;
}
.sf-foot-legal-last { border-bottom: none; padding-bottom: 0; }

/* Copyright — darker, bolder */
.sf-foot-copy {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #222;
  padding-top: 12px;
  padding-bottom: 20px;
}

/* Responsive */
@media(max-width:768px){
  .sf-foot-row { grid-template-columns: 1fr; justify-items: start; gap: 20px; }
  .sf-foot-nav { justify-content: flex-start; }
  .sf-foot-social { justify-self: start; }
  .sf-pf-links { flex-direction: column; gap: 16px; }
}

/* ── About Sallfin Hero (BCG-style full-width photo) ── */
.about-hero {
  position: relative;
  width: 100%;
  height: clamp(400px, 52vh, 560px);
  overflow: hidden;
  display: block;
}
.about-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: brightness(.80);
}
.about-hero-title {
  position: absolute;
  bottom: 48px;
  left: 80px;
  font-family: 'Newsreader', serif;
  font-size: clamp(52px, 6.5vw, 84px);
  font-weight: 300;
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
  text-shadow: 0 2px 16px rgba(0,0,0,.25);
}
@media(max-width:1024px) { .about-hero-title { left: 40px; bottom: 36px; } }
@media(max-width:768px)  { .about-hero-title { left: 20px; bottom: 24px; font-size: 42px; } }

/* ── About page intro + stats ── */
.about-intro-section {
  background: #fff;
  padding: 64px 80px 56px;
}
@media(max-width:1024px) { .about-intro-section { padding: 48px 40px 40px; } }
@media(max-width:768px)  { .about-intro-section { padding: 40px 20px 32px; } }
.about-intro-text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 400;
  color: #222;
  line-height: 1.75;
  max-width: 860px;
  margin: 0 0 56px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #e0ddd9;
  padding-top: 40px;
}
.about-stat {
  padding: 0 40px 0 0;
}
.about-stat-num {
  font-family: 'Newsreader', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  color: #0C2B14;
  line-height: 1;
  margin-bottom: 10px;
}
.about-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #555;
  line-height: 1.4;
}
@media(max-width:768px) {
  .about-stats { grid-template-columns: 1fr; gap: 32px; }
  .about-stat { padding: 0; }
}

/* ── Industries BCG 3-col: list-wrap + preview card ── */
.rp-ind-default { flex-direction: row !important; overflow: hidden; }
.rp-ind-list-wrap {
  flex: 1; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
}
.rp-ind-list-wrap .rp-wide-head { flex-shrink: 0; }
.rp-ind-list-wrap .rp-wide-grid { flex: 1; overflow-y: auto; }
.rp-ind-preview {
  width: 460px; flex-shrink: 0;
  background: #ffffff;
  border-left: 1px solid rgba(0,0,0,.09);
  overflow-y: auto;
  padding: 32px 36px;
  display: flex; flex-direction: column;
  transition: opacity 260ms ease;
}
.rp-ind-preview > * {
  opacity: 0; pointer-events: none;
  transition: opacity 260ms ease;
}
.rp-ind-preview.rp-ind-preview-visible {
  background: #f5f3ef;
  transition: background 260ms ease, opacity 260ms ease;
}
.rp-ind-preview.rp-ind-preview-visible > * {
  opacity: 1; pointer-events: all;
}
.rp-ind-preview-img {
  height: 190px; border-radius: 4px;
  margin-bottom: 20px;
  background: #3D6B4E;
  background-size: cover;
  background-position: center;
  transition: background 280ms ease, background-image 280ms ease;
  flex-shrink: 0;
}

/* ── Capabilities right panel (always-visible third column) ── */
.rp-caps-right {
  width: 460px; flex-shrink: 0;
  background: #f5f3ef;
  border-left: 1px solid rgba(0,0,0,.09);
  overflow-y: auto;
  padding: 28px 24px 28px 20px;
  display: flex; flex-direction: column;
}
.rp-caps-right-title {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #6e6e6e;
  padding: 0 14px 12px 14px;
  border-bottom: 1px solid rgba(0,0,0,.09);
  margin-bottom: 6px;
  flex-shrink: 0;
}
.rp-caps-right .rp-ind-link {
  font-size: 15px;
}

/* ═══════════════════ CONTACT MODAL ═══════════════════ */
.ctc-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.60); backdrop-filter: blur(6px);
  z-index: 9000;
}
.ctc-backdrop.open { display: block; }

.ctc-modal {
  background: #fff; border-radius: 20px;
  position: fixed;
  left: 16px; right: 16px;
  top: 50%; transform: translateY(-50%);
  max-height: calc(100vh - 148px); overflow-y: auto;
  padding: 44px 52px 48px;
  box-shadow: 0 32px 100px rgba(0,0,0,.28);
  animation: ctcSlideIn .25s cubic-bezier(0.4,0,0.2,1);
}
@media(min-width:768px)  { .ctc-modal { left: 32px; right: 32px; } }
@media(min-width:1024px) { .ctc-modal { left: 40px; right: 40px; padding: 44px 72px 48px; } }
@media(min-width:1440px) { .ctc-modal { left: 80px; right: 80px; padding: 48px 96px 52px; } }
@keyframes ctcSlideIn {
  from { opacity: 0; transform: translateY(calc(-50% + 20px)); }
  to   { opacity: 1; transform: translateY(-50%); }
}

.ctc-close {
  position: absolute; top: 22px; right: 22px;
  width: 42px; height: 42px; border-radius: 50%;
  border: none; background: #f0ede8; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #333; transition: background .15s;
  line-height: 1;
}
.ctc-close:hover { background: #e2dfd9; }

.ctc-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 400;
  color: #0C2B14; margin: 0 0 32px; line-height: 1.0;
}

.ctc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.ctc-row-full { margin-bottom: 14px; }

.ctc-input, .ctc-select, .ctc-textarea {
  width: 100%; box-sizing: border-box;
  font-family: 'Inter', sans-serif; font-size: 15px; color: #1a1a1a;
  background: #fff; border: 1.5px solid #d0cdc8; border-radius: 10px;
  padding: 16px 18px; outline: none;
  transition: border-color .15s, box-shadow .15s;
  appearance: none; -webkit-appearance: none;
}
.ctc-input::placeholder, .ctc-textarea::placeholder { color: #b0ada8; }
.ctc-input:focus, .ctc-select:focus, .ctc-textarea:focus {
  border-color: #0C2B14; box-shadow: 0 0 0 3px rgba(13,43,26,.10);
}

.ctc-select-wrap { position: relative; }
.ctc-select-wrap::after {
  content: '↓'; position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%); pointer-events: none;
  font-size: 13px; color: #888;
}
.ctc-select { background: #fff; color: #1a1a1a; cursor: pointer; padding-right: 44px; }
.ctc-select option { background: #fff; color: #1a1a1a; font-family: 'Inter', sans-serif; font-size: 15px; }

.ctc-textarea { resize: none; height: 130px; line-height: 1.6; }

.ctc-footer { display: flex; justify-content: flex-end; margin-top: 26px; }

.ctc-submit {
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  background: #0C2B14; color: #fff; border: none;
  padding: 16px 64px; border-radius: 10px; cursor: pointer;
  transition: background .15s; min-width: 260px;
}
.ctc-submit:hover { background: #1A5C35; }
.ctc-submit:disabled { background: #c8c5c0; cursor: default; }

.ctc-success {
  display: none; text-align: center; padding: 60px 0 40px;
}
.ctc-success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: #0C2B14; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin: 0 auto 24px;
}
.ctc-success-msg {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 26px; color: #0C2B14; margin-bottom: 10px;
}
.ctc-success-sub {
  font-family: 'Inter', sans-serif; font-size: 16px; color: #666; line-height: 1.6;
}

/* ═══════════════════ CONTACT CUSTOM DROPDOWN ═══════════════════ */
.ctc-drop-wrap { position: relative; user-select: none; }

.ctc-drop-btn {
  width: 100%; box-sizing: border-box;
  font-family: 'Inter', sans-serif; font-size: 15px; color: #1a1a1a;
  background: #fff; border: 1.5px solid #ccc; border-radius: 50px;
  height: 50px; padding: 0 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  transition: border-color .15s, box-shadow .15s;
}
.ctc-drop-btn.open {
  border-color: #0C2B14; box-shadow: 0 0 0 3px rgba(12,43,21,.1);
  border-radius: 18px 18px 0 0;
}
.ctc-drop-val { color: #b0ada8; }
.ctc-drop-val.selected { color: #1a1a1a; }
.ctc-drop-arrow {
  font-size: 12px; color: #888;
  transition: transform .2s ease;
  flex-shrink: 0; margin-left: 8px;
}
.ctc-drop-btn.open .ctc-drop-arrow { transform: rotate(180deg); }

.ctc-drop-list {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border: 1.5px solid #0C2B14;
  border-top: none; border-radius: 0 0 10px 10px;
  max-height: 220px; overflow-y: auto;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
}
.ctc-drop-list.open { display: block; }

.ctc-drop-item {
  font-family: 'Inter', sans-serif; font-size: 15px; color: #1a1a1a;
  padding: 11px 18px; cursor: pointer;
  transition: background .12s;
}
.ctc-drop-item:hover { background: #F1F4EF; color: #0C2B14; }
.ctc-drop-item.active { background: #E8F0E8; color: #0C2B14; font-weight: 500; }
.ctc-drop-item.placeholder { color: #b0ada8; }

/* ══════════════════════════════════════════════════════════════
   MOBILE HARD RESET — prefooter / footer
   Forces these sections to behave as simple stacked, full-width,
   left-aligned blocks on small screens, overriding any desktop
   grid/margin/alignment values that don't collapse correctly.
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .sf-prefooter, .sf-footer, .sf-foot-inner,
  .sf-pf-grid, .sf-pf-tagline, .sf-pf-links, .sf-pf-cta,
  .sf-foot-row, .sf-foot-brand-wrap, .sf-foot-nav, .sf-foot-social {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .sf-pf-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
  }
  .sf-pf-links { flex-wrap: wrap !important; }
  .sf-pf-cta {
    align-items: flex-start !important;
    text-align: left !important;
  }
  .sf-pf-cta-desc {
    text-align: left !important;
    max-width: 100% !important;
  }
  .sf-foot-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }
  .sf-foot-nav {
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
  }
  .sf-foot-social {
    flex-wrap: wrap !important;
  }
}

/* Extra safety net for very small phones (e.g. iPhone SE, 320px width) */
@media (max-width: 380px) {
  .sf-pf-tagline { font-size: 24px !important; }
  .sf-pf-cta-title { font-size: 19px !important; }
  .sf-foot-logo { font-size: 36px !important; }
  .sf-pf-links { gap: 24px !important; margin-left: 0 !important; }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE MEGA MENU — search bar row + drill-into-panel nav
   ══════════════════════════════════════════════════════════════ */
.mega-mobile-back { display: none; }

@media (max-width: 760px) {
  /* ── Topbar: put search on its own full-width row ── */
  .mega-topbar {
    flex-wrap: wrap;
    height: auto;
    min-height: 68px;
    padding-bottom: 12px;
  }
  .mega-topbar-brand { order: 1; }
  .mega-topbar-login { order: 2; margin-left: auto; padding-right: 16px; }
  .mega-topbar-search {
    order: 3;
    flex: 1 1 100%;
    margin: 12px 16px 0;
    clip-path: none !important;
  }
  .mega-topbar-search.s-close { opacity: 0; height: 0; margin-top: 0; overflow: hidden; }
  .mega-topbar-search.s-open  { opacity: 1; }
  .mega-topbar-search-inner { height: 48px; }
  .mega-topbar-search-input { font-size: 16px; }

  /* ── Body: stack nav above panels, scroll independently ── */
  .mega-body {
    flex-direction: column;
    height: calc(100vh - 130px);
    overflow-y: auto;
  }
  .mega-col1 {
    width: 100% !important;
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,.09);
    padding: 8px 0 16px;
  }
  .mega-right-area {
    width: 100%;
    display: none;
  }

  /* When a category is tapped, hide the nav list and show the panel full-width */
  .mega-overlay.panel-open .mega-col1 { display: none; }
  .mega-overlay.panel-open .mega-right-area {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
  }

  /* Back-to-menu button at top of the panel area */
  .mega-mobile-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    margin: 8px 0 0 12px;
    font-size: 22px; font-weight: 600;
    color: #0C2B14;
    background: #F1EEEA;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    font-family: var(--sans);
  }

  /* Stack any side-by-side panel layouts vertically */
  .mega-rpanel.rp-wide.active,
  .mega-rpanel.rp-split.active,
  .mega-rpanel.rp-card.active,
  .mega-rpanel.rp-caps.active {
    flex-direction: column !important;
    overflow-y: auto !important;
  }
  .rp-wide-grid,
  .rp-ind-drill-list { grid-template-columns: 1fr !important; }
  .caps-list-col, .caps-detail-col,
  .rp-list-col, .rp-card-col,
  .rp-card-wrap,
  .rp-ind-drill-left, .rp-ind-drill-card,
  .rp-ind-preview, #rp-cap-preview {
    width: 100% !important;
    flex: none !important;
    border-right: none !important;
    border-left: none !important;
  }
  .rp-ind-drill-body { flex-direction: column !important; }

  /* Industries/Capabilities default view: list + preview stack vertically */
  .rp-ind-default { flex-direction: column !important; overflow: visible !important; }
  .rp-ind-list-wrap { width: 100% !important; flex: none !important; overflow: visible !important; }
  .rp-ind-list-wrap .rp-wide-grid { overflow: visible !important; }
  .rp-ind-preview {
    display: none !important;
  }
  /* When an item's preview card is shown, hide the list and show the card full-width */
  .rp-ind-default:has(.rp-ind-preview-visible) .rp-ind-list-wrap {
    display: none !important;
  }
  .rp-ind-preview.rp-ind-preview-visible {
    display: flex !important;
    width: 100% !important;
    padding: 24px;
  }

  /* Capabilities: hide always-on preview column on mobile (tap goes straight to page) */
  .rp-caps-right { display: none !important; }
}

/* ══════════════════════════════════════════════════════════════
   NARROW PHONES — fix brand / search / login pill collision
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 400px) {
  .pill-brand {
    font-size: 18px;
    padding: 0 8px 0 6px;
  }
  .pill-burger-inner { width: 40px; height: 40px; }
  .pill-search-btn {
    width: 44px; height: 44px; margin-left: 0;
  }
  .pill-search-btn svg { width: 22px; height: 22px; }
  .pill-login-link {
    font-size: 11px;
    letter-spacing: .04em;
    padding: 0 12px 0 2px;
  }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE — capability sub-nav pill: stack "Overview" pill below
   and unify pill text sizes across header/sub-nav
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 760px) {
  .cap-subnav-wrap {
    flex-direction: column;
    align-items: flex-start;
    max-width: calc(100vw - 32px);
  }
  .cap-subnav { max-width: 100%; }
  .cap-subnav-name {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100vw - 90px);
    padding: 0 4px;
    white-space: nowrap;
  }
  .cap-current-pill {
    height: 52px; padding: 0 18px;
    position: relative; z-index: 1;
  }

  /* unify pill text size across header + sub-nav */
  .pill-brand,
  .cap-subnav-name,
  .cap-current-pill {
    font-size: 16px !important;
  }

  /* match burger size to the shrunk pill */
  .cap-subnav { height: 52px; }
  .cap-burger-inner { width: 38px !important; height: 38px !important; }
  .cap-burger-bars { width: 18px; height: 18px; }
  .cap-bar { width: 15px; }

  /* dropdown must drop BELOW the "Overview" pill, not overlap it */
  .cap-subnav-dropdown {
    z-index: 20;
    top: calc(100% + 68px);
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Hover cards → rectangular outer edges (inner item cards untouched) */
/* BCG-style label/title sizing + taller bottom panel */
.card-b .ci-panel,
.ins-panel {
  height: 160px !important;
}
.card-b:hover .ci-panel,
.ins-card:hover .ins-panel {
  height: 100% !important;
}
.ins-cat,
.card-b .ci-cat {
  font-size: 13px !important;
}
.card-b .ci-panel-title {
  font-size: 22px !important;
  font-weight: 300 !important;
}
.ins-title {
  font-weight: 300 !important;
}

/* Match index.html card hover-panel refresh: smoother transitions, readable copy, transparent panel */
.card-b .ci-panel,
.card-b:hover .ci-panel {
  transition: height 500ms cubic-bezier(.4,0,.2,1),
              left 500ms cubic-bezier(.4,0,.2,1),
              right 500ms cubic-bezier(.4,0,.2,1),
              bottom 500ms cubic-bezier(.4,0,.2,1),
              border-radius 500ms cubic-bezier(.4,0,.2,1),
              background 500ms cubic-bezier(.4,0,.2,1) !important;
  background: rgba(255,255,255,0.85) !important;
  box-sizing: border-box !important;
  left: 22px !important;
  right: 22px !important;
  bottom: 22px !important;
  padding: 20px 22px !important;
}
.card-b:hover .ci-panel {
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
}
.card-b .ci-panel-desc {
  font-size: 17px !important;
  color: #1a1a1a !important;
  display: none !important;
  transition: opacity 200ms ease 200ms, transform 200ms ease 200ms !important;
}
.card-b:hover .ci-panel-desc {
  display: block !important;
}
.card-b .ci-btn {
  font-size: 17px !important;
  display: none !important;
  transition: opacity 200ms ease 280ms, transform 200ms ease 280ms !important;
}
.card-b:hover .ci-btn {
  display: inline-flex !important;
}

.ci-card,
.ci-img-wrap,
.rp-card-img,
.rp-ind-drill-card .rp-card-img,
.rp-ind-preview-img,
.card-b:hover .ci-panel,
.ins-card,
.ins-img-wrap,
.ins-card:hover .ins-panel,
.fl-card {
  border-radius: 0 !important;
}

@media (max-width: 760px) {
  .pp-hero-title {
    white-space: normal !important;
    word-break: break-word;
  }
}

@media (max-width: 400px) {
  .pill-brand,
  .cap-subnav-name,
  .cap-current-pill {
    font-size: 15px !important;
  }
}

.ci-card,
.ins-card {
  height: 570px !important;
}

.card-b {
  width: 380px !important;
}

.rp-wide-title {
  font-size: 22px !important;
}

.rp-wide-grid .rp-ind-link,
.rp-caps-right .rp-ind-link {
  font-size: 18px !important;
}

/* Ideas & Insights: horizontal slider on mobile only */
@media (max-width: 760px) {
  .ins-grid {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-snap-stop: always;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    will-change: scroll-position;
    padding-bottom: 8px;
  }
  .ins-col {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    flex: 0 0 auto !important;
    padding-top: 0 !important;
  }
  .ins-grid .ins-card {
    flex: 0 0 280px !important;
    width: 280px !important;
    scroll-snap-align: start;
  }
}

/* ===== Capability page: practice-area intro / why-it-matters / approach ===== */
.cap-pa-intro {
  background: #fff;
  padding: 0 16px 56px;
}
@media(min-width:768px)  { .cap-pa-intro { padding-left: 32px; padding-right: 32px; } }
@media(min-width:1024px) { .cap-pa-intro { padding-left: 40px; padding-right: 40px; } }
@media(min-width:1440px) { .cap-pa-intro { padding-left: 80px; padding-right: 80px; } }
.cap-pa-tagline {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(54px, 6vw, 72px);
  color: #1A4A2B;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: normal;
  max-width: 26ch;
  margin: 0 0 24px;
}
.cap-pa-desc {
  font-family: 'Inter', sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.6;
  color: #2A402A;
  max-width: 70%;
  margin: 0 0 40px;
}
.cap-pa-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.cap-pa-block h3 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-weight: 400;
  font-size: clamp(54px, 6vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: left;
  color: #0C2B14;
  margin: 0 0 12px;
}
.cap-pa-block p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.6;
  color: #2A402A;
  max-width: 70vw;
  margin: 0;
}
.ci-within {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(54px, 6vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: left;
  color: #0C2B14;
  margin: -8px 0 28px;
  max-width: 100%;
}

/* ===== Sub-service page: business imperative / approach / what you receive ===== */
.cap-sub-detail {
  background: #fff;
  padding: 56px 16px 80px;
}
@media(min-width:768px)  { .cap-sub-detail { padding-left: 32px; padding-right: 32px; } }
@media(min-width:1024px) { .cap-sub-detail { padding-left: 40px; padding-right: 40px; } }
@media(min-width:1440px) { .cap-sub-detail { padding-left: 80px; padding-right: 80px; } }
.cap-sub-detail-inner { max-width: 1000px; margin: 0; }
.cap-sub-block { margin-bottom: 36px; }
.cap-sub-block h2 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-weight: 400;
  font-size: 24px;
  text-align: right;
  color: #0C2B14;
  margin: 0 0 14px;
}
.cap-sub-block h2.cap-imperative-head {
  font-family: Georgia, serif;
  font-size: 64px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-align: left !important;
  margin: 0 0 20px;
  max-width: 70%;
}
@media (max-width: 767px) {
  .cap-sub-block h2.cap-imperative-head { font-size: 40px; }
}
.cap-sub-block p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.6;
  color: #2A402A;
  max-width: 70vw;
  margin: 0;
}
.cap-sub-receive-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cap-sub-receive-list li {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  padding-left: 28px;
  position: relative;
}
.cap-sub-receive-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1A4A2B;
}

/* ===== Explore More: How We Engage row ===== */
.pp-explore-engage {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
@media(max-width:767px) { .pp-explore-engage { grid-template-columns: 1fr; } }
.pp-em-engage-card {
  background: #f5f3ef;
  border-radius: 16px;
  padding: 28px 24px;
}
.pp-em-engage-card h3 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 20px);
  color: #0C2B14;
  margin: 0 0 10px;
}
.pp-em-engage-card p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #555;
  margin: 0;
}

.ci-subtext {
  font-size: clamp(18px, 2vw, 24px) !important;
  font-weight: 400 !important;
  color: #2A402A !important;
  max-width: 70% !important;
}

/* Explore More: Advisory Engagement big card */
.pp-em-card-advisory { grid-template-columns: 1fr 0.5fr !important; align-items: center; }
.pp-em-card-advisory .pp-em-card-text { flex-direction: column; align-items: flex-start; gap: 12px; }
.pp-em-card-advisory .pp-em-card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}
.pp-em-card-advisory .pp-em-card-photo { min-height: 120px !important; border-radius: 12px; margin: 20px; align-self: center; }
@media(max-width:767px) { .pp-em-card-advisory { grid-template-columns: 1fr !important; } }

.pp-hero-sub {
  font-size: clamp(18px, 2vw, 24px) !important;
  font-weight: 400 !important;
  color: #2A402A !important;
  max-width: 70% !important;
  line-height: 1.6 !important;
  margin-top: 68px !important;
}

/* Reduce excess gap between practice-area intro and Within This Practice */
.cap-pa-intro { padding-bottom: 16px !important; margin-bottom: 50px !important; }
.cap-pa-grid .cap-pa-block:last-child { margin-bottom: 0 !important; }
#ci-section { padding-top: 16px !important; }
.ci-within { margin-top: -150px !important; margin-bottom: 50px !important; }

/* Align Explore More big card height with right-side stacked cards */
.pp-explore-grid { align-items: stretch !important; }
.pp-em-card-big { min-height: 100% !important; height: 100%; }

/* ═══════════════════════════════════════════════════════════════
   COMPREHENSIVE MOBILE RESPONSIVE OVERRIDES
   Breakpoints: 760px (phone), 900px (large phone/small tablet), 1024px (tablet)
═══════════════════════════════════════════════════════════════ */

/* ── Global base ── */
@media(max-width:760px){
  html { -webkit-text-size-adjust:100%; }
  body { overflow-x:hidden; }
  .wrap { padding:0 20px !important; }

  /* Typography scale-down */
  h1 { font-size:clamp(36px,10vw,56px) !important; }
  h2 { font-size:clamp(28px,7vw,40px) !important; }
  h3 { font-size:clamp(20px,5vw,28px) !important; }

  /* Sections */
  section { padding:64px 0 !important; }

  /* Old footer */
  .foot-grid { grid-template-columns:1fr 1fr !important; gap:32px !important; }

  /* Page banner hero */
  .page-banner, section.page-banner {
    min-height:100svh !important;
    padding:100px 0 60px !important;
  }
  .page-banner h1 { font-size:clamp(38px,10vw,60px) !important; max-width:100% !important; }
  .page-banner p.lead { font-size:clamp(16px,4.5vw,20px) !important; margin-top:16px !important; }
  .page-banner .hero-cta { flex-direction:column; align-items:flex-start !important; gap:12px !important; margin-top:28px !important; }
  .btn-cta { font-size:14px !important; padding:13px 22px !important; }

  /* ── Pill nav ── */
  .pill-nav  { margin:12px 0 0 12px !important; }
  .pill-right{ margin:12px 12px 0 0 !important; }
  .pill-brand{ font-size:18px !important; }
  .pill-burger-inner,
  .cap-burger-inner { width:42px !important; height:42px !important; }

  /* ── Mega menu sidebar ── */
  .mega-sidebar { width:100% !important; min-width:0 !important; }
  .mega-body { flex-direction:column !important; height:auto !important; overflow-y:auto !important; }
  .mega-content-area { padding:16px !important; }
  .mega-list-grid { grid-template-columns:1fr !important; }

  /* ── Capabilities / Industries rp-split ── */
  .rp-split { grid-template-columns:1fr !important; }
  .rp-split-card { display:none !important; }
  .rp-wide-grid { grid-template-columns:1fr !important; }

  /* ── Client Impact strip (homepage) ── */
  .ci-strip { gap:12px !important; padding:0 20px 20px !important; }
  .card-b { width:260px !important; height:360px !important; }
  .ci-headline { font-size:clamp(28px,8vw,42px) !important; }

  /* ── Sallfin in India / Careers sections (s1, s2) ── */
  .s1,.s2 { grid-template-columns:1fr !important; padding:0 !important; min-height:0 !important; }
  .s1-img,.s2-img { min-height:240px !important; }
  .s1-img-inner { min-height:240px !important; }
  .s1-text { padding:32px 20px !important; }
  .s1-headline { font-size:clamp(30px,8vw,42px) !important; }
  .s1-sub { font-size:15px !important; }
  .s1-btn,.btn-green { font-size:13px !important; padding:13px 22px !important; }
  .s2-text { padding:40px 20px !important; }
  .s2-headline { font-size:clamp(28px,7vw,40px) !important; }
  .s2-quote { font-size:15px !important; }
  .s2-portrait { width:60% !important; left:50% !important; }

  /* ── Featured Insights banner ── */
  .fi-banner { grid-template-columns:1fr !important; }
  .fi-right { min-height:180px !important; }
  .fi-left { padding:36px 20px 100px !important; }
  .fi-headline { font-size:clamp(20px,5.5vw,28px) !important; }
  .fi-subscribe { flex-direction:column !important; padding:16px 20px !important; border-radius:16px !important; bottom:12px !important; left:12px !important; right:12px !important; }
  .fi-sub-right { max-width:100% !important; width:100% !important; }
  .fi-sub-input { font-size:14px !important; }

  /* ── Featured Links (fl) section ── */
  .fl-section { padding:48px 20px !important; }
  .fl-grid { grid-template-columns:1fr !important; gap:16px !important; }
  .fl-card-left { min-height:380px !important; }
  .fl-title { font-size:clamp(22px,6vw,32px) !important; }
  .fl-card-sm .fl-title { font-size:clamp(18px,5vw,24px) !important; }
  .fl-btn { font-size:13px !important; }

  /* ── Insights grid (ins-grid) ── */
  .ins-section { padding:48px 20px !important; }
  .ins-headline { font-size:clamp(36px,10vw,56px) !important; }
  .ins-grid {
    flex-direction:column !important;
    flex-wrap:nowrap !important;
    overflow:visible !important;
    overflow-x:hidden !important;
    gap:16px !important;
    touch-action:pan-y;
  }
  .ins-col {
    flex:1 1 100% !important;
    flex-direction:column !important;
    padding-top:0 !important;
    width:100% !important;
  }
  .ins-col-down { padding-top:0 !important; }
  .ins-section .ins-card,
  .ins-card { width:100% !important; height:340px !important; flex:none !important; }

  /* ── Sallfin Standard / scroll rows ── */
  .sx-scroll-row { gap:12px !important; padding-bottom:16px !important; }
  .sx-scroll-row .ins-card { flex:0 0 85vw !important; width:85vw !important; height:360px !important; }

  /* ── Pre-footer ── */
  .sf-prefooter { padding:48px 20px 40px !important; }
  .sf-pf-grid { grid-template-columns:1fr !important; gap:32px !important; }
  .sf-pf-tagline { font-size:clamp(22px,6vw,32px) !important; }
  .sf-pf-links { flex-direction:column !important; gap:8px !important; }

  /* ── Footer ── */
  .sf-footer { padding:20px !important; }
  .sf-foot-row { grid-template-columns:1fr !important; gap:16px !important; }

  /* ── Industry hero ── */
  .ind-page-hero { padding:110px 20px 40px !important; }
  .ind-hero-img { width:calc(100% - 40px) !important; margin:0 20px !important; }

  /* ── About page ── */
  .about-hero-title { font-size:36px !important; left:20px !important; bottom:20px !important; }
  .about-intro-section { padding:40px 20px 32px !important; }

  /* ── Capability sub-pages ── */
  .cap-pa-intro { padding:0 20px 32px !important; }
  .cap-sub-detail { padding-left:20px !important; padding-right:20px !important; }
  .cap-subnav { padding:0 12px !important; }

  /* ── Contact / Apply modals ── */
  #cx-box, #ax-box { padding:32px 20px !important; border-radius:16px !important; }
  #cx-box .cx-two, #ax-box .ax-two { grid-template-columns:1fr !important; }

  /* ── Insights category pages ── */
  .pp-hero-title { font-size:clamp(32px,8vw,48px) !important; }
  .pp-explore-grid { grid-template-columns:1fr !important; }
  .pp-em-card-big { min-height:300px !important; }

  /* ── SallfIn-X page ── */
  .sx-hero-title { font-size:clamp(36px,9vw,52px) !important; }

  /* ── rp-split card preview ── */
  .rp-split-card { position:static !important; width:100% !important; }

  /* ── Tables ── */
  table { display:block !important; overflow-x:auto !important; -webkit-overflow-scrolling:touch; }
}

/* ── Tablet (760–1024px) ── */
@media(min-width:761px) and (max-width:1024px){
  .ins-grid { flex-wrap:wrap !important; }
  .ins-col { flex:1 1 calc(50% - 10px) !important; }
  .ins-col-down { padding-top:30px !important; }
  .ins-section .ins-card,
  .ins-card { height:420px !important; }

  .fl-grid { grid-template-columns:1fr 1fr !important; }
  .fl-card-left { grid-column:1 / -1 !important; }

  .sf-pf-grid { grid-template-columns:1fr 1fr !important; }
  .sf-pf-tagline { grid-column:1 / -1 !important; }

  .s1,.s2 { grid-template-columns:1fr !important; }
  .s1-img,.s2-img { min-height:280px !important; }

  .card-b { width:300px !important; }
}

/* ── Large phone, small tablet portrait ── */
@media(max-width:520px){
  .ins-section .ins-card,
  .ins-card { height:300px !important; }
  .sx-scroll-row .ins-card { height:300px !important; }
  .card-b { width:240px !important; height:320px !important; }
  .fl-card-left { min-height:320px !important; }
  .page-banner h1 { font-size:clamp(34px,9vw,48px) !important; }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE: ALL CARD GRIDS → HORIZONTAL SCROLL (no vertical stacking)
═══════════════════════════════════════════════════════════════ */
@media(max-width:760px){

  /* ── Shared horizontal scroll helper ── */
  .cap-grid,
  .why-grid,
  .art-grid,
  .deliv-grid,
  .steps,
  .fl-grid,
  .pp-explore-grid,
  .pp-explore-engage,
  .ins-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    gap: 12px !important;
    padding-bottom: 16px !important;
    /* remove grid backgrounds/borders that look broken in flex */
    background: transparent !important;
    border: none !important;
    scrollbar-width: none;
  }
  .cap-grid::-webkit-scrollbar,
  .why-grid::-webkit-scrollbar,
  .art-grid::-webkit-scrollbar,
  .deliv-grid::-webkit-scrollbar,
  .steps::-webkit-scrollbar,
  .fl-grid::-webkit-scrollbar,
  .pp-explore-grid::-webkit-scrollbar,
  .pp-explore-engage::-webkit-scrollbar,
  .ins-grid::-webkit-scrollbar { display: none; }

  /* ── Each child card: fixed width, scroll-snaps ── */
  .cap-grid > *,
  .why-grid > *,
  .art-grid > *,
  .deliv-grid > *,
  .steps > * {
    flex: 0 0 72vw !important;
    max-width: 72vw !important;
    width: 72vw !important;
    scroll-snap-align: start;
    box-sizing: border-box;
    border: 1px solid var(--line) !important;
  }

  .fl-grid > * {
    flex: 0 0 82vw !important;
    max-width: 82vw !important;
    scroll-snap-align: start;
    box-sizing: border-box;
  }
  .fl-card-left { min-height: 360px !important; }

  .pp-explore-grid > *,
  .pp-explore-engage > * {
    flex: 0 0 78vw !important;
    max-width: 78vw !important;
    scroll-snap-align: start;
    box-sizing: border-box;
  }

  /* ins-grid children are ins-col, each col has cards inside */
  .ins-grid { flex-direction: row !important; overflow-x: auto !important; }
  .ins-col {
    flex: 0 0 80vw !important;
    max-width: 80vw !important;
    flex-direction: column !important;
    padding-top: 0 !important;
    scroll-snap-align: start;
  }
  .ins-section .ins-card,
  .ins-card { width: 100% !important; height: 340px !important; }

  /* ── Sallfin Standard scroll row ── */
  .sx-scroll-row { gap: 12px !important; padding-bottom: 16px !important; }
  .sx-scroll-row .ins-card { flex: 0 0 82vw !important; width: 82vw !important; height: 340px !important; }

  /* ── Industry page card grid ── */
  .ind-grid,
  .ind-cards-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    gap: 12px !important;
    padding-bottom: 16px !important;
    scrollbar-width: none;
  }
  .ind-grid > *, .ind-cards-row > * {
    flex: 0 0 78vw !important;
    max-width: 78vw !important;
    scroll-snap-align: start;
    box-sizing: border-box;
  }

  /* ── About / team grids ── */
  .about-grid,
  .team-grid,
  .principles {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    gap: 12px !important;
    padding-bottom: 16px !important;
    scrollbar-width: none;
  }
  .about-grid > *, .team-grid > *, .principles > * {
    flex: 0 0 80vw !important;
    max-width: 80vw !important;
    scroll-snap-align: start;
    box-sizing: border-box;
  }

  /* ── Prevent page from widening ── */
  .ins-section,
  .fl-section,
  section,
  .cap-pa-section,
  .cap-sub-detail { overflow-x: hidden; }

  /* Contact / apply form: 2-col row → single column */
  .ctc-row { grid-template-columns: 1fr !important; }

  /* Industry/cap pages: Careers section 2-col → single column */
  .pp-careers-grid { grid-template-columns: 1fr !important; gap: 32px !important; }

  /* Explore More card inner layout: image + text side-by-side → stacked */
  .pp-em-card { grid-template-columns: 1fr !important; }
  .pp-em-card-photo { min-height: 180px !important; }

  /* About pages: specs/commitments 2-col → single column */
  .pp-spec-grid { grid-template-columns: 1fr !important; gap: 32px 0 !important; }

  /* About Expertise: offerings side-by-side → stacked */
  .pp-offerings-inner { grid-template-columns: 1fr !important; min-height: 0 !important; }

  /* Sallfin-X: 4-col feature grid → single column */
  .sx-grid-4 { grid-template-columns: 1fr 1fr !important; }

  /* Pill search expand: cap width so it doesn't push pill off-screen */
  .pill-search-group:hover .pill-search-expand,
  .pill-search-group:focus-within .pill-search-expand { width: 130px !important; }
}

/* ══════════════════════════════════════════════════════════════
   TOUCH DEVICES — hover-based interactions → tap-based
   ══════════════════════════════════════════════════════════════ */
@media (hover: none) {
  /* CI cards: panel always shows title; tap expands to full */
  .card-b.tapped .ci-panel,
  .ins-card.tapped .ins-panel { height: 100% !important; }
  .card-b.tapped .ci-panel-desc,
  .card-b.tapped .ci-btn,
  .ins-card.tapped .ins-panel-desc,
  .ins-card.tapped .ins-btn { display: block !important; }
  /* Keep title always readable at rest */
  .card-b .ci-panel,
  .ins-panel { height: 160px !important; }
}

/* ═══════════════════════════════════════════════════════════════
   BUG-FIX PATCH — mobile + global corrections
   Added 2026-06-19
═══════════════════════════════════════════════════════════════ */

/* ── Bug: hero sub-text has white-space:nowrap → overflows on phones ── */
@media(max-width:760px){
  .hero-creme p.sub {
    white-space: normal !important;
    font-size: clamp(15px, 4vw, 20px) !important;
  }
}

/* ── Bug: old .hero p.sub had 54px minimum — way too large ── */
/* Fix the base definition too (kept for any legacy page still using .hero) */
.hero p.sub { font-size: clamp(17px, 2.2vw, 22px) !important; }

/* ── Bug: cap-pa-tagline / cap-pa-block h3 / ci-within use clamp(54px…)
   — 54px minimum crushes mobile layouts ── */
@media(max-width:760px){
  .cap-pa-tagline,
  .cap-pa-block h3,
  .ci-within {
    font-size: clamp(28px, 8vw, 44px) !important;
    line-height: 1.15 !important;
  }
}

/* ── Bug: pp-hero-sub & ci-subtext have max-width:70% globally
   — too narrow on phones ── */
@media(max-width:760px){
  .pp-hero-sub,
  .ci-subtext {
    max-width: 100% !important;
    font-size: clamp(15px, 4vw, 18px) !important;
  }
  .cap-pa-desc,
  .cap-pa-block p,
  .cap-sub-block p {
    max-width: 100% !important;
  }
}

/* ── Bug: mega-col1 is 380px wide — overflows a 375px iPhone ── */
@media(max-width:760px){
  .mega-col1 {
    width: 100% !important;
    max-width: 100% !important;
    flex-shrink: 0;
    border-right: none !important;
    border-bottom: 1px solid rgba(0,0,0,.09);
  }
  .mega-right-area {
    width: 100% !important;
    flex: 1 1 auto !important;
    overflow-y: auto !important;
  }
  .rp-wide-grid {
    padding: 0 16px !important;
  }
  .rp-wide-head,
  .mega-panel-hd {
    padding: 20px 16px !important;
  }
  .caps-detail-col {
    padding: 20px 16px !important;
  }
  .rp-ind-drill-card {
    width: 100% !important;
    border-left: none !important;
    border-top: 1px solid rgba(0,0,0,.08);
  }
}

/* ── Bug: ind-services-grid 2-col → too cramped on phones ── */
@media(max-width:760px){
  .ind-services-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
}

/* ── Bug: pp-stats row overflows on narrow phones (flex justify-between
   with 4 items → items become tiny) ── */
@media(max-width:520px){
  .pp-stats {
    flex-wrap: wrap !important;
    gap: 32px 24px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .pp-stat,
  .pp-stat:nth-child(2),
  .pp-stat:nth-child(3),
  .pp-stat:nth-child(4) {
    text-align: left !important;
    flex: 0 0 calc(50% - 12px) !important;
  }
  .pp-stat-num {
    font-size: clamp(32px, 9vw, 48px) !important;
  }
}

/* ── Bug: fi-sub-label white-space:nowrap overflows on very small screens ── */
@media(max-width:400px){
  .fi-sub-label {
    white-space: normal !important;
    font-size: 18px !important;
  }
}

/* ── Bug: cap-sub-block h2.cap-imperative-head max-width:70% too narrow on mobile ── */
@media(max-width:760px){
  .cap-sub-block h2.cap-imperative-head {
    max-width: 100% !important;
    font-size: clamp(28px, 8vw, 40px) !important;
  }
}

/* ── Bug: ind-page-hero h1 doesn't have explicit mobile font-size ── */
@media(max-width:760px){
  .ind-page-hero h1 {
    font-size: clamp(32px, 9vw, 52px) !important;
  }
  .ind-page-hero {
    padding: 110px 20px 40px !important;
  }
  .ind-hero-img {
    height: 240px !important;
    border-radius: 10px !important;
  }
}

/* ── Bug: rp-list-col and rp-card-col are fixed-width inside flex —
   collapse on mobile ── */
@media(max-width:760px){
  .rp-list-col {
    width: 100% !important;
    border-right: none !important;
  }
  .rp-card-col,
  .rp-split-card {
    width: 100% !important;
    padding: 20px !important;
  }
  .caps-list-col {
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(0,0,0,.09);
  }
  .mega-rpanel.rp-split.active,
  .mega-rpanel.rp-caps.active {
    flex-direction: column !important;
  }
}

/* ── Bug: pill-search-expand hover expand causes layout issues on tablets ── */
@media(max-width:1024px) and (hover:none){
  .pill-search-group:hover .pill-search-expand,
  .pill-search-group:focus-within .pill-search-expand {
    width: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
  }
}

/* ── Ensure nothing causes horizontal scroll on any device ── */
@media(max-width:760px){
  .s1 { overflow: hidden; }
  .hero-creme { overflow-x: hidden; }
  .cap-subnav-wrap { max-width: calc(100vw - 24px); overflow: visible; }
  .cap-current-pill { overflow: hidden; text-overflow: ellipsis; max-width: 50vw; }
}

/* ── Bug: ind-pill label overflows on small phones (JS positions it right of pill-nav) ── */
@media(max-width:520px){
  .ind-pill-label { display: none !important; }
  .ind-pill { padding: 0 8px !important; }
}
@media(min-width:521px) and (max-width:760px){
  .ind-pill-label {
    font-size: 13px !important;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
/* Cap subnav name: same treatment */
@media(max-width:520px){
  .cap-subnav-name { display: none !important; }
}
@media(min-width:521px) and (max-width:760px){
  .cap-subnav-name {
    font-size: 13px !important;
    max-width: 100px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}


/* ══════════════════════════════════════════════════════════════════
   70% TEXT WIDTH — desktop only (≥761px)
   Every sentence/paragraph element is constrained to 70% of its
   containing block, leaving the right 30% as breathing room.
   Mobile (≤760px) stays full-width — overrides are already in place.
══════════════════════════════════════════════════════════════════ */
@media(min-width:761px){
  /* Hero title — caps at 70%, allows wrapping (overrides per-page white-space:nowrap) */
  .pp-hero-title        { max-width: 70% !important; white-space: normal !important; }

  /* Hero / page subtitles */
  .pp-hero-sub          { max-width: 70% !important; }
  .off-hero-sub         { max-width: 70% !important; }
  .s1-sub               { max-width: 70% !important; }
  .pp-lead              { max-width: 70% !important; }
  .pp-lead-light        { max-width: 70% !important; }

  /* Section subtitles / subtext */
  .ci-subtext           { max-width: 70% !important; }
  .indc-subtext         { max-width: 70% !important; }
  .s2-quote             { max-width: 70% !important; }
  .s2-text              { max-width: 70% !important; }

  /* Capability pages */
  .cap-pa-tagline       { max-width: 70% !important; }
  .cap-pa-desc          { max-width: 70% !important; }
  .cap-pa-block p       { max-width: 70% !important; }
  .cap-sub-block p      { max-width: 70% !important; }

  /* Policy / legal / sitemap pages */
  .pp-p                 { max-width: 70% !important; }
  .pp-body              { max-width: 70% !important; }

  /* Insights */
  .ins-sub              { max-width: 70% !important; }

  /* About page */
  .about-intro-text     { max-width: 70% !important; }
  .about-lead .big      { max-width: 70% !important; }
  .about-lead .body p   { max-width: 70% !important; }
  .ao-exp-desc          { max-width: 70% !important; }
  .ao-exp-left-sub      { max-width: 70% !important; }
  .ao-intro-text        { max-width: 70% !important; }

  /* Offerings / practice pages */
  .pp-offerings-sub     { max-width: 70% !important; }

  /* Prefooter */
  .sf-pf-cta-desc       { max-width: 70% !important; }
}

/* ── Industry page: label appended to Sallfin in pill-nav ── */
.pill-ind-label {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: #888;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}
.pill-ind-label::before {
  content: '/';
  margin: 0 8px;
  color: #ccc;
}
@media(max-width:760px) {
  .pill-ind-label { display: none; }
}

/* ============================================================
   MOBILE / RESPONSIVE FOUNDATION
   Cross-device safety layer — Android · iOS · iPad.
   Global, low-risk rules that don't alter desktop structure.
   ============================================================ */

/* 1 — Stop mobile browsers auto-inflating text; remove tap-flash */
html{ -webkit-text-size-adjust:100%; text-size-adjust:100%; }
*{ -webkit-tap-highlight-color:transparent; }

/* 2 — Media can never overflow its container */
img,svg,video,canvas{ max-width:100%; }
img,video{ height:auto; }
iframe{ max-width:100%; }

/* 3 — Long words / URLs wrap instead of forcing a horizontal scrollbar */
p,li,td,dd,figcaption,blockquote,.pill-ind-label{ overflow-wrap:break-word; word-break:break-word; }

/* 4 — iOS: keep form controls >=16px so focusing them never auto-zooms the page */
@media(max-width:768px){
  input:not([type=checkbox]):not([type=radio]),
  select,textarea{ font-size:16px !important; }
}

/* 5 — Wide tables scroll horizontally on phones rather than breaking the layout */
@media(max-width:760px){
  .pricing-table{ display:block; width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
}

/* 6 — Use the *dynamic* viewport height so full-height heroes fit under the
       mobile browser's address bar (prevents the classic 100vh clipping). */
@supports(height:100dvh){
  @media(max-width:1024px){
    .page-banner{ height:100dvh; }
    .hero-creme{ min-height:100dvh; }
    section.hero{ min-height:auto; }
  }
}

/* 7 — Scale the two oversized hero headlines down on small phones.
       Their 69px minimum was tuned for desktop; on a 360-414px phone it
       dominated the screen. (.hero p.sub was already capped earlier.) */
@media(max-width:600px){
  .hero h1,
  .hero-creme h1{ font-size:clamp(40px,10vw,60px); line-height:1.1; }
}

/* 8 — Slightly tighter gutters on very small phones (<=400px) */
@media(max-width:400px){
  .wrap,.navbar{ padding-left:18px; padding-right:18px; }
}

/* ============================================================
   iOS SAFE-AREA / EDGE-TO-EDGE   (pairs with viewport-fit=cover)
   Backgrounds bleed to the screen edges while content stays clear
   of the notch / Dynamic Island, rounded corners and home-indicator.
   env(...) resolves to 0px on devices without insets (all desktops,
   Android without cutouts, iPads) -> those layouts are UNCHANGED.
   ============================================================ */

/* Fixed header drops below the notch (portrait) and clears the
   side cut-out (landscape). Header had no padding, so this is purely
   additive and invisible where insets are 0. */
header{
  padding-top:env(safe-area-inset-top,0px);
  padding-left:env(safe-area-inset-left,0px);
  padding-right:env(safe-area-inset-right,0px);
}

/* Content column clears a side cut-out in landscape only (>=761px),
   so portrait phone gutters (22px / 18px) are left untouched. */
@media(min-width:761px){
  .wrap{
    padding-left:max(32px, env(safe-area-inset-left,0px));
    padding-right:max(32px, env(safe-area-inset-right,0px));
  }
}

/* Footers extend past the home-indicator (keeps existing 40px / 32px). */
footer{ padding-bottom:calc(40px + env(safe-area-inset-bottom,0px)); }
.sf-footer{ padding-bottom:calc(32px + env(safe-area-inset-bottom,0px)); }

/* Full-screen nav overlay: topbar drops below notch, body clears home bar. */
.mega-overlay{
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);
  padding-left:env(safe-area-inset-left,0px);
  padding-right:env(safe-area-inset-right,0px);
}

/* Slide-in mobile menu clears the home-indicator (keeps existing 40px). */
@media(max-width:760px){
  .mobile-menu{ padding-bottom:calc(40px + env(safe-area-inset-bottom,0px)); }
}

/* ============================================================
   FIX: floating Subscribe "+" button overlapping the open menu.
   subscribe.js injects .sf-sub-trigger at z-index:1500, above the
   nav overlay (z-index:1000). Hide it (and its panel) while the
   menu is open — same treatment the nav pills already get.
   !important guarantees it beats subscribe.js's injected styles.
   ============================================================ */
body[data-menu-open] .sf-sub-trigger,
body[data-menu-open] .sf-sub-panel{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}

/* ============================================================
   FIX: consistent menu hover colour.
   Hover backgrounds were split across #D8F0DB, #E8F5EA and the
   creams #f0ede8 / #f5f3ef. Unify EVERY menu item's hover to one
   green (var(--menu-hover)). Selected/active stays cream (#ece9e4)
   and is left untouched. No !important here, so an item that is
   .active (cream, set with !important) still wins while hovered.
   ============================================================ */
.mc1-item:hover,
.mc1-solo:hover,
.rp-list-link:hover,
.rp-ind-link:hover,
.rp-ind-drill-link:hover,
.caps-item:hover,
.caps-solo:hover,
.mega-side-item:hover,
.mega-sidebar-solo:hover{
  background: var(--menu-hover);
  color:#0C2B14;
}
/* match the higher-specificity grid selector so it adopts the same green */
.rp-wide-grid .rp-ind-link:hover{ background: var(--menu-hover); color:#0C2B14; }

/* ============================================================
   CARD & PREVIEW IMAGES
   Menu split-card defaults + Explore-More layout & photos.
   ============================================================ */

/* Default photo for the menu's Insights / People split cards (shown
   before a click; the per-item photo is applied inline by mega-menu.js,
   which wins over this non-important rule). Local = reliable. */
.rp-split-card .insights-img{ background:#234d2e url("images/capabilities/Strategic Planning & Decision Support.jpg") center/cover no-repeat; }
.rp-split-card .people-img{   background:#234d2e url("images/menu/leadership.jpg") center/cover no-repeat; }

/* Explore More — force ALL cards to the same text-left / photo-right
   split (desktop/tablet) so every page matches the MIS overview.
   Mobile (<=767px) keeps the single-column stack from earlier rules. */
@media(min-width:768px){
  .pp-em-card,
  .ao-em-card{ display:grid !important; grid-template-columns:1fr 1fr !important; }
}
.pp-em-card-photo,
.ao-em-card-photo{
  height:auto !important; min-height:200px !important; align-self:stretch !important;
  background-size:cover !important; background-position:center !important;
}
/* keep the label top-left so cards read consistently */
.pp-em-card-text,
.ao-em-card-text{ align-items:flex-start !important; justify-content:flex-start !important; }

/* Real photos in the three Explore-More cards (override the inline gradients) */
.pp-em-card[href="about.html"] .pp-em-card-photo{
  background:#9AB89A url("images/menu/about.jpg") center/cover no-repeat !important; }
.pp-em-card[href="about-commitments.html"] .pp-em-card-photo{
  background:#8AAA8A url("images/menu/commitments.jpg") center/cover no-repeat !important; }
.pp-em-card[href="about-client-impact.html"] .pp-em-card-photo{
  background:#70A881 url("images/menu/client-impact.jpg") center/cover no-repeat !important; }

/* about.html Explore More (.ao-em-card) — same photos so it matches offices/cap/ind */
.ao-em-card[href="about-purpose.html"] .ao-em-card-photo{
  background:#9AB89A url("images/menu/people-culture.jpg") center/cover no-repeat !important; }
.ao-em-card[href="about-commitments.html"] .ao-em-card-photo{
  background:#8AAA8A url("images/menu/commitments.jpg") center/cover no-repeat !important; }
.ao-em-card[href="about-client-impact.html"] .ao-em-card-photo{
  background:#70A881 url("images/menu/client-impact.jpg") center/cover no-repeat !important; }

/* ════════════════════════════════════════════════
   PHONE FIXES — industry pages (<=768px)
   ════════════════════════════════════════════════ */
@media(max-width:768px){
  /* (#6a) Industry label pill → drop BELOW the brand pill, font sized to fit
     (.ind-pill is position:fixed and placed by JS; !important wins over the inline style) */
  .ind-pill{
    top:74px !important; left:16px !important; right:auto !important;
    max-width:calc(100vw - 32px); padding:5px 14px !important;
  }
  .ind-pill-label{
    display:inline-block !important; font-size:14px !important; max-width:none !important;
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  }

  /* (#6b + #6c) "How We Build" & "Metrics That Matter" carousels →
     guaranteed single-row horizontal scroll with readable, non-shrinking cards.
     (Applies to every .ci-strip; the home page overrides card height locally.) */
  .ci-strip{
    display:flex !important; flex-wrap:nowrap !important; overflow-x:auto !important;
    -webkit-overflow-scrolling:touch; scroll-snap-type:x mandatory;
  }
  .ci-strip > .ci-card{
    flex:0 0 82vw !important; max-width:340px !important; width:auto !important;
    scroll-snap-align:start;
  }

  /* Push the page title/content BELOW the fixed brand + sub-nav pills so it
     isn't hidden behind them (the stacked pills end ~188px down on phones).
     Desktop keeps its original padding (this is in the <=768 block). */
  .pp-hero{ padding-top:200px !important; }
}
