/* ==========================================================================
   Corporate page — revamp
   Every rule is scoped under .corp so the generic class names used here
   (.btn, .container, .section, .eyebrow …) cannot collide with css/style.css.
   ========================================================================== */

.corp{
  --ink:#1f1917; --muted:#6f655f; --cream:#fbf8f3; --cream2:#f3ede5; --white:#fff;
  --gold:#e0b735; --gold2:#c79b18; --rust:#a85232; --brown:#4d1f18; --line:#e5ddd4;
  --shadow:0 18px 55px rgba(49,30,20,.11); --radius:22px; --max:1180px;
  color:var(--ink); background:var(--cream); line-height:1.6;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
.corp *{box-sizing:border-box}
.corp a{color:inherit;text-decoration:none;-webkit-user-drag:none}
.corp{-webkit-user-select:text;user-select:text}
.corp img{max-width:100%;display:block}
.corp .container{width:min(var(--max),calc(100% - 40px));margin:auto}

/* ---------- corporate sub-nav (sits under the shared site header) --------
   includes/header.php renders .header as position:fixed (z-index 9999), so it
   is out of flow and covers the top of the document. --corp-header-h is
   measured at runtime in corporate.php and mirrors the header's real height
   (it also absorbs the announcement bar when that is switched on); the values
   here are the fallback if that script has not run yet. */
.corp-header-spacer{height:var(--corp-header-h,84px)}
.corp-subnav{position:sticky;top:var(--corp-header-now,var(--corp-header-h,84px));z-index:9990;
  background:rgba(251,248,243,.95);backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(77,31,24,.1)}
/* The header is fixed and shrinks 8px on scroll, so the sub-nav's sticky offset
   has to track a moving target. Rather than depend on that measurement being
   pixel-exact, the sub-nav paints its own background upward: the header sits
   above it (z-index 9999/10000 vs 9990) and hides this strip whenever the two
   are flush, and it fills the band if they ever are not. Nothing can show
   through between them. */
.corp-subnav::before{content:"";position:absolute;left:0;right:0;bottom:100%;
  height:64px;background:rgba(251,248,243,.95);pointer-events:none}

.corp-subnav__inner{width:min(1180px,calc(100% - 40px));margin:auto;display:flex;
  align-items:center;gap:22px;height:58px;overflow-x:auto;-webkit-overflow-scrolling:touch}
.corp-subnav__inner::-webkit-scrollbar{display:none}
.corp-subnav__label{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:#a85232;white-space:nowrap;padding-right:4px;border-right:1px solid #e5ddd4}
.corp-subnav a{font-size:13.5px;font-weight:700;color:#4d4541;white-space:nowrap;
  text-decoration:none;padding:6px 0;border-bottom:2px solid transparent;transition:.2s;cursor:pointer}
.corp-subnav a:hover,.corp-subnav a.is-active{color:#a85232;border-bottom-color:#e0b735}
.corp-subnav a.corp-subnav__cta{margin-left:auto;background:#e0b735;color:#2f2516;
  padding:9px 16px;border-radius:999px;border-bottom:0}
.corp-subnav a.corp-subnav__cta:hover{background:#c79b18;border-bottom-color:transparent}

/* ---------------------------------- buttons ----------------------------- */
.corp .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:1px solid transparent;border-radius:999px;padding:14px 22px;font-weight:800;
  font-size:14px;cursor:pointer;transition:.2s;text-align:center;font-family:inherit}
.corp .btn:hover{transform:translateY(-2px)}
.corp .btn-small{padding:10px 17px}
.corp .btn-gold{background:var(--gold);color:#2f2516;box-shadow:0 10px 30px rgba(199,155,24,.2)}
.corp .btn-dark{background:var(--brown);color:#fff}
.corp .btn-outline{border-color:rgba(77,31,24,.25);color:var(--brown);background:rgba(255,255,255,.5)}
.corp .btn-ghost-light{border-color:rgba(255,255,255,.35);color:#fff;background:transparent}

.corp .eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase;color:var(--rust)}
.corp .eyebrow:before{content:"";width:26px;height:2px;background:var(--gold)}
.corp .eyebrow.light{color:#f6ddb0}

/* ----------------------------------- hero ------------------------------- */
.corp .corp-hero{position:relative;overflow:hidden;color:#fff;padding:86px 0 82px;
  background:linear-gradient(120deg,#3f1b15 0%,#6a2b1b 47%,#a45831 100%)}
.corp .corp-hero:before{content:"";position:absolute;inset:auto -160px -220px auto;width:620px;height:620px;
  border-radius:50%;background:radial-gradient(circle,rgba(224,183,53,.35),transparent 66%)}
.corp .corp-hero:after{content:"";position:absolute;top:-90px;right:20%;width:280px;height:280px;
  border:1px solid rgba(255,255,255,.1);border-radius:50%}
.corp .hero-grid{display:grid;grid-template-columns:1.06fr .94fr;gap:58px;align-items:center;
  position:relative;z-index:2}
.corp .corp-hero h1{font-size:clamp(44px,6.2vw,82px);line-height:.98;letter-spacing:-.045em;
  margin:18px 0 24px;max-width:760px;color:#fff}
.corp .corp-hero .lead{font-size:19px;max-width:690px;color:#f3e8e1;line-height:1.72}
.corp .hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin:32px 0}
.corp .micro-proof{display:flex;flex-wrap:wrap;gap:18px;font-size:13px;color:#eedfd7;margin-top:24px}
.corp .micro-proof span{display:flex;gap:7px;align-items:center}
.corp .corp-hero-visual{position:relative;min-height:520px}
.corp .hero-photo-main{position:absolute;inset:15px 0 50px 65px;border-radius:28px;overflow:hidden;
  border:1px solid rgba(255,255,255,.25);box-shadow:0 30px 80px rgba(25,8,4,.38)}
.corp .hero-photo-main img{width:100%;height:100%;object-fit:cover}
.corp .hero-photo-main:after{content:"";position:absolute;inset:0;
  background:linear-gradient(to top,rgba(34,12,7,.52),transparent 52%)}
.corp .corp-floating-card{position:absolute;background:rgba(255,255,255,.96);color:var(--ink);
  border-radius:18px;padding:17px 18px;box-shadow:var(--shadow);z-index:4}
.corp .corp-floating-card strong{display:block;font-size:26px;line-height:1.1;color:var(--brown)}
.corp .corp-floating-card span{font-size:12px;color:var(--muted);font-weight:700}
.corp .fc-one{left:0;bottom:26px}
.corp .fc-two{right:-6px;top:0}
.corp .fc-two strong{font-size:16px}
.corp .fc-three{right:10px;bottom:4px}

/* --------------------------------- strips -------------------------------- */
.corp .stat-strip{background:#fff;border-bottom:1px solid var(--line)}
.corp .stats{display:grid;grid-template-columns:repeat(4,1fr)}
.corp .corp-stat{padding:30px 20px;border-right:1px solid var(--line)}
.corp .corp-stat:last-child{border-right:0}
.corp .corp-stat strong{display:block;font-size:34px;letter-spacing:-.03em;color:var(--brown)}
.corp .corp-stat span{font-size:13px;color:var(--muted);font-weight:700}
.corp .trust{padding:38px 0;background:#fff}
.corp .trust-label{text-align:center;font-size:12px;font-weight:700;letter-spacing:.13em;
  text-transform:uppercase;color:#8a7d74;margin-bottom:20px}
.corp .trust-names{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.corp .trust-names span{padding:9px 14px;border:1px solid var(--line);border-radius:999px;
  background:#fcfbf9;color:#504842;font-size:13px;font-weight:800}

/* -------------------------------- sections ------------------------------- */
.corp .section{padding:96px 0}
.corp .section-white{background:#fff}
.corp .section-dark{background:#211713;color:#fff}
.corp .section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:42px}
.corp .section-head h2,.corp .title-xl{font-size:clamp(34px,4.5vw,56px);line-height:1.06;
  letter-spacing:-.035em;margin:10px 0 0;color:inherit}
.corp .section-head p{max-width:550px;color:var(--muted);font-size:17px}
.corp .section-dark .section-head p{color:#c7bbb4}

.corp .engage-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.corp .engage-card{position:relative;padding:32px;background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);box-shadow:0 8px 30px rgba(40,28,22,.05);overflow:hidden}
.corp .engage-card:before{content:"";position:absolute;top:0;left:0;width:100%;height:4px;
  background:linear-gradient(90deg,var(--gold),var(--rust))}
.corp .engage-card .num{font-size:12px;font-weight:700;color:var(--rust);letter-spacing:.12em}
.corp .engage-card h3{font-size:24px;line-height:1.15;margin:14px 0 12px}
.corp .engage-card p{color:var(--muted)}
.corp .text-link{font-weight:700;color:var(--rust);display:inline-flex;gap:8px;align-items:center;
  margin-top:12px;cursor:pointer}

.corp .cap-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.corp .cap-card{display:grid;grid-template-columns:64px 1fr;gap:18px;padding:26px;
  border:1px solid var(--line);border-radius:20px;background:#fff;transition:.22s;cursor:pointer}
.corp .cap-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#d6c8ba}
.corp .cap-icon{width:64px;height:64px;border-radius:18px;background:var(--cream2);display:grid;
  place-items:center;color:var(--rust);font-weight:700;font-size:24px}
.corp .cap-card h3{font-size:20px;margin:0 0 7px}
.corp .cap-card p{color:var(--muted);margin:0 0 12px}
.corp .chips{display:flex;gap:7px;flex-wrap:wrap}
.corp .chip{font-size:11px;font-weight:800;padding:5px 8px;border-radius:999px;background:#f4eee7;color:#6a4b3d}

.corp .outcome-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.corp .outcome{padding:26px;border:1px solid rgba(255,255,255,.12);border-radius:20px;
  background:rgba(255,255,255,.045)}
.corp .outcome b{color:var(--gold);font-size:13px;text-transform:uppercase;letter-spacing:.09em}
.corp .outcome h3{font-size:22px;margin:9px 0}
.corp .outcome p{color:#cbbeb7}

/* ---------------------------- programme cards ---------------------------- */
.corp .program-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.corp .corp-program-card{display:flex;flex-direction:column;min-height:360px;border-radius:22px;
  border:1px solid var(--line);background:#fff;overflow:hidden;
  box-shadow:0 10px 30px rgba(50,31,20,.05);transition:.2s;cursor:pointer}
.corp .corp-program-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.corp .program-top{padding:24px 24px 18px;background:linear-gradient(135deg,#fff,#f7f0e8);
  border-bottom:1px solid var(--line);position:relative}
.corp .program-top .countdown{position:absolute;top:20px;right:20px;font-size:11px;font-weight:700;
  color:#694933;background:#f4e6d6;border-radius:999px;padding:6px 9px}
.corp .program-tag{display:block;font-size:10px;letter-spacing:.11em;font-weight:700;
  color:var(--rust);padding-right:96px}  /* clears the countdown pill */
.corp .corp-program-card h3{font-size:22px;line-height:1.15;margin:12px 0 0;font-weight:600}
.corp .program-body{padding:22px 24px;display:flex;flex-direction:column;flex:1}
.corp .program-body p{color:var(--muted);margin-top:0}
.corp .program-meta{display:grid;gap:7px;font-size:13px;margin:10px 0 18px}
.corp .program-meta span b{color:#3f342e}
.corp .program-bottom{display:flex;align-items:center;justify-content:space-between;
  gap:10px 14px;margin-top:auto;flex-wrap:wrap}
.corp .program-fee{font-weight:700;color:var(--brown);min-width:0;line-height:1.3}
.corp .program-bottom .text-link{white-space:nowrap;margin-top:0}

/* -------------------------------- approach ------------------------------- */
.corp .approach-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:58px;align-items:start}
.corp .sticky-copy{position:sticky;
  top:calc(var(--corp-header-now,84px) + var(--corp-subnav-h,58px) + 20px)}
.corp .sticky-copy p{font-size:17px;color:var(--muted)}
.corp .steps{display:grid;gap:12px}
.corp .step{display:grid;grid-template-columns:48px 1fr;gap:18px;border:1px solid var(--line);
  border-radius:18px;background:#fff;padding:22px}
.corp .step-num{width:48px;height:48px;border-radius:14px;background:var(--brown);color:#fff;
  display:grid;place-items:center;font-weight:700}
.corp .step h3{margin:2px 0 5px}
.corp .step p{margin:0;color:var(--muted)}

/* --------------------------------- impact -------------------------------- */
.corp .impact-layout{display:grid;grid-template-columns:1.05fr .95fr;gap:34px}
.corp .case-feature{background:#fff;border:1px solid var(--line);border-radius:24px;padding:34px;
  box-shadow:var(--shadow)}
.corp .case-feature .sector{font-size:11px;font-weight:700;color:var(--rust);text-transform:uppercase;
  letter-spacing:.1em}
.corp .case-feature h3{font-size:30px;line-height:1.12;margin:9px 0}
.corp .case-feature p{color:var(--muted)}
.corp .mini-cases{display:grid;gap:12px}
.corp .mini-case{padding:20px;background:#fff;border:1px solid var(--line);border-radius:16px}
.corp .mini-case b{font-size:16px}
.corp .mini-case span{display:block;color:var(--muted);font-size:13px;margin-top:3px}
.corp .gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.corp .gallery figure{margin:0;position:relative;border-radius:18px;overflow:hidden;aspect-ratio:4/3;
  background:var(--cream2)}
.corp .gallery img{width:100%;height:100%;object-fit:cover;transition:.4s}
.corp .gallery figure:hover img{transform:scale(1.04)}
.corp .gallery figcaption{position:absolute;inset:auto 10px 10px 10px;padding:8px 10px;border-radius:10px;
  background:rgba(31,25,23,.72);backdrop-filter:blur(8px);color:#fff;font-size:12px;font-weight:800}

.corp .sector-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.corp .sector-card{padding:22px;border:1px solid var(--line);border-radius:18px;background:#fff}
.corp .sector-card h3{font-size:17px;margin:0 0 8px}
.corp .sector-card p{font-size:13px;color:var(--muted);margin:0}

.corp .digital-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.corp .digital-card{border-radius:26px;padding:34px;overflow:hidden;position:relative}
.corp .digital-card.dark{background:#2d1b17;color:#fff}
.corp .digital-card.gold{background:#e7c449;color:#2b2417}
.corp .digital-card h3{font-size:30px;margin:12px 0}
.corp .digital-card p{max-width:540px}
.corp .digital-card ul{padding-left:19px}
.corp .digital-card:after{content:"";position:absolute;width:180px;height:180px;border:1px solid currentColor;
  border-radius:50%;right:-70px;bottom:-80px;opacity:.17}

.corp .testimonial-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.corp .quote{padding:28px;background:#fff;border:1px solid var(--line);border-radius:20px}
.corp .quote .stars{color:#bb8c08;letter-spacing:2px}
.corp .quote blockquote{font-size:18px;line-height:1.55;margin:16px 0}
.corp .quote cite{font-style:normal;font-size:13px;color:var(--muted);font-weight:800}

/* -------------------------------- proposal ------------------------------- */
.corp .proposal-section{padding:88px 0;color:#fff;
  background:linear-gradient(125deg,#3b1712,#5a2419 55%,#8d462b)}
.corp .proposal-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:48px;align-items:center}
.corp .proposal-copy h2{font-size:clamp(32px,3.4vw,46px);line-height:1.08;margin:14px 0;color:#fff}
.corp .proposal-copy p{color:#eadbd2;font-size:17px}
.corp .proposal-points{display:grid;grid-template-columns:1fr 1fr;gap:9px;font-size:13px;margin-top:28px;color:#f1e7e1}
.corp .proposal-form{background:#fff;color:var(--ink);padding:28px;border-radius:24px;
  box-shadow:0 30px 70px rgba(22,8,5,.27)}
.corp .proposal-form label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#493d37}
.corp .proposal-form input,.corp .proposal-form select,.corp .proposal-form textarea{
  width:100%;border:1px solid #ddd4cc;border-radius:11px;padding:12px 13px;font:inherit;font-size:14px;
  color:var(--ink);background:#fff}
.corp .proposal-form input:focus,.corp .proposal-form select:focus,.corp .proposal-form textarea:focus{
  outline:2px solid var(--gold);outline-offset:1px;border-color:var(--gold)}
.corp .form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
.corp .proposal-form>label{margin-bottom:14px}
.corp .form-actions{display:flex;gap:10px;flex-wrap:wrap}
.corp .proposal-form .btn-ghost-light{border-color:#d7ccc1;color:var(--brown)}
.corp .form-note{font-size:10.5px;color:#887b73;margin:12px 0 0}

/* ------------------------------ detail modals ---------------------------- */
.corp .detail-overlay{position:fixed;inset:0;z-index:10050;background:rgba(24,15,12,.72);
  backdrop-filter:blur(8px);display:none;padding:26px;overflow:auto}
.corp .detail-overlay.open{display:block}
.corp .detail-shell{width:min(1050px,100%);margin:24px auto;background:#fbf8f3;border-radius:28px;
  box-shadow:0 35px 100px rgba(0,0,0,.38);overflow:hidden;position:relative}
.corp .detail-close{position:sticky;float:right;top:14px;margin:14px 14px 0 0;z-index:5;width:44px;height:44px;
  border:0;border-radius:50%;background:rgba(255,255,255,.94);box-shadow:0 8px 25px rgba(0,0,0,.18);
  font-size:24px;cursor:pointer;line-height:1}
.corp .detail-head{background:linear-gradient(125deg,#361611,#652a1d 60%,#9d5030);color:#fff;padding:58px 56px 50px}
.corp .detail-kicker{font-size:11px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:#f3cf70}
.corp .detail-head h2{font-size:clamp(34px,5vw,58px);line-height:1.03;letter-spacing:-.04em;
  margin:10px 0 16px;max-width:850px;color:#fff}
.corp .detail-head p{font-size:17px;line-height:1.65;color:#f0e1d9;max-width:790px}
.corp .detail-facts{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.corp .detail-fact{border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);
  border-radius:14px;padding:10px 13px}
.corp .detail-fact b{display:block;font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:#f2dca8}
.corp .detail-fact span{font-size:13px;font-weight:800}
.corp .detail-live-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.corp .detail-body{padding:44px 56px 54px}
.corp .detail-body .rich-copy{max-width:820px;margin:auto}
.corp .detail-body .rich-copy h2:first-child{margin-top:0}
.corp .detail-cta{margin-top:38px;padding:26px;border-radius:20px;background:#efe5da;display:flex;
  align-items:center;justify-content:space-between;gap:20px}
.corp .detail-cta h3{margin:0 0 4px}
.corp .detail-cta p{margin:0;color:#6f655f}
.corp .detail-cta .btn{white-space:nowrap;padding-left:30px;padding-right:30px}

.corp .rich-copy h2{font-size:34px;line-height:1.15;margin:42px 0 15px}
.corp .rich-copy h3{font-size:22px;margin:28px 0 10px}
.corp .rich-copy p,.corp .rich-copy li{color:#665c56}
.corp .rich-copy ul{padding-left:20px}
.corp .deliverables{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.corp .deliverable{padding:18px;border-radius:16px;border:1px solid var(--line);background:#fff}
.corp .deliverable b{display:block;margin-bottom:5px}
.corp .timeline{display:grid;gap:12px}
.corp .timeline-item{padding:18px 18px 18px 24px;border-left:4px solid var(--gold);background:#fff;
  border-radius:0 15px 15px 0}
.corp .timeline-item h4{margin:0 0 4px}
.corp .timeline-item p{margin:0;color:var(--muted)}

.corp .case-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:28px}
.corp .corp-filter-btn{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 13px;
  font-weight:800;font-size:12px;cursor:pointer;font-family:inherit}
.corp .corp-filter-btn.active{background:var(--brown);color:#fff;border-color:var(--brown)}
.corp .case-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.corp .case-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:25px;
  display:flex;flex-direction:column}
.corp .case-card .case-meta{font-size:10px;text-transform:uppercase;letter-spacing:.08em;
  color:var(--rust);font-weight:700}
.corp .case-card h3{font-size:21px;line-height:1.2;margin:10px 0}
.corp .case-card h4{font-size:14px;margin:12px 0 5px}
.corp .case-card p{font-size:13px;color:var(--muted);margin:0}
.corp .case-card .client{font-weight:700;margin-top:auto;padding-top:20px}

.corp .consult-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.corp .consult-card{padding:30px;border:1px solid var(--line);background:#fff;border-radius:22px}
.corp .consult-card h3{font-size:24px;margin:7px 0}
.corp .consult-card p{color:var(--muted)}
.corp .badge{display:inline-block;padding:6px 9px;border-radius:999px;background:#f1e7db;color:#7f452c;
  font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}

.corp .sticky-cta{position:fixed;z-index:9000;left:50%;bottom:18px;transform:translateX(-50%);display:none;
  gap:8px;padding:8px;background:rgba(31,25,23,.92);border-radius:999px;
  box-shadow:0 12px 35px rgba(0,0,0,.25);backdrop-filter:blur(12px)}
.corp .sticky-cta a{font-size:12px}
body.corp-modal-open{overflow:hidden}

/* ------------------------------- responsive ------------------------------ */
@media(max-width:980px){
  .corp .hero-grid,.corp .proposal-grid,.corp .approach-grid,.corp .impact-layout{grid-template-columns:1fr}
  .corp .corp-hero-visual{min-height:460px}
  .corp .sticky-copy{position:static}
  .corp .engage-grid,.corp .program-grid,.corp .outcome-grid,.corp .case-grid{grid-template-columns:repeat(2,1fr)}
  .corp .sector-grid{grid-template-columns:repeat(2,1fr)}
  .corp .stats{grid-template-columns:repeat(2,1fr)}
  .corp .corp-stat:nth-child(2){border-right:0}
  .corp .corp-stat:nth-child(-n+2){border-bottom:1px solid var(--line)}
}
@media(max-width:680px){
  .corp .container{width:min(100% - 28px,var(--max))}
  .corp .corp-hero{padding:60px 0 58px}
  .corp .corp-hero h1{font-size:47px}
  .corp .corp-hero-visual{min-height:390px}
  .corp .hero-photo-main{left:20px;right:0}
  .corp .fc-two{right:2px}
  .corp .cap-grid,.corp .engage-grid,.corp .program-grid,.corp .outcome-grid,.corp .case-grid,
  .corp .consult-grid,.corp .digital-grid,.corp .testimonial-grid,.corp .gallery,
  .corp .deliverables,.corp .proposal-points{grid-template-columns:1fr}
  .corp .form-row{grid-template-columns:1fr}
  .corp .sector-grid{grid-template-columns:1fr 1fr}
  .corp .section{padding:72px 0}
  .corp .section-head{align-items:start;flex-direction:column}
  .corp .corp-program-card{min-height:auto}
  .corp .stats{grid-template-columns:1fr 1fr}
  .corp .corp-stat{padding:20px 12px}
  .corp .corp-stat strong{font-size:28px}
  .corp .sticky-cta{display:flex}
  .corp .proposal-section{padding:68px 0}
  .corp .cap-card{grid-template-columns:52px 1fr;padding:20px}
  .corp .cap-icon{width:52px;height:52px;font-size:20px}
  .corp .hero-actions .btn{width:100%}
  .corp .detail-overlay{padding:0}
  .corp .detail-shell{margin:0;min-height:100%;border-radius:0}
  .corp .detail-head{padding:52px 22px 34px}
  .corp .detail-body{padding:32px 22px 40px}
  .corp .detail-cta{align-items:flex-start;flex-direction:column}
  .corp .detail-close{top:8px;margin:8px 8px 0 0}
  .corp-subnav__label{display:none}
  .corp-subnav a.corp-subnav__cta{margin-left:12px}
}
@media print{
  .corp-subnav,.corp .sticky-cta,.corp .proposal-section,.corp .btn{display:none!important}
  .corp .section{padding:40px 0}
  .corp .corp-hero{background:#fff!important;color:#111!important;padding:35px 0}
  .corp .corp-hero h1,.corp .corp-hero .lead{color:#111!important}
}
@media (prefers-reduced-motion:reduce){
  .corp *{animation:none!important;transition:none!important}
  .corp .btn:hover,.corp .cap-card:hover,.corp .corp-program-card:hover{transform:none}
}

/* ==========================================================================
   Compatibility layer.
   css/style.css is loaded site-wide. Classes it also defines and that visibly
   broke this page (.hero, .hero-visual, .floating-card, .program-card,
   .filter-btn, .stat) are renamed to corp-* above rather than fought with
   !important. What remains here is what cannot be renamed away. Keep it LAST.
   ========================================================================== */

/* style.css zeroes every margin (*{margin:0;padding:0}); this design relies on
   normal flow spacing. */
.corp h1{margin:.67em 0}
.corp h2{margin:.83em 0}
.corp h3{margin:1em 0}
.corp h4{margin:1.33em 0}
.corp p{margin:1em 0}

/* style.css also pins a colour on the bare elements —
   h1,h2,h3,h4{color:var(--text-dark)} (#2c1810) and p{color:var(--text-gray)}.
   A direct rule on the element beats colour inherited from an ancestor no
   matter the specificity, so headings on .section-dark and inside .digital-card
   .dark turned near-black on a near-black panel. This design expects them to
   inherit from the section, which is what the reference does. Anything that
   needs a specific colour already sets one and still wins on specificity. */
.corp h1,.corp h2,.corp h3,.corp h4,.corp p{color:inherit}

/* Same story for weight and leading: style.css sets
   h1,h2,h3,h4{font-weight:600;line-height:1.25}, but this design never declares
   a heading weight anywhere — it relies on the browser default, which is bold
   (700) at normal leading. At 600 every heading on the page rendered lighter
   than the reference. Headings that need their own line-height already set one
   and still win on specificity. */
.corp h1,.corp h2,.corp h3,.corp h4{font-weight:700;line-height:normal}
.corp ul,.corp ol{margin:1em 0;padding-left:40px}
.corp blockquote{margin:1em 0}
.corp figure{margin:0}

/* style.css .container adds its own gutter on top of ours. */
.corp .container{padding:0}

/* style.css forces overflow-x:hidden !important on .section, which kills the
   position:sticky column in "How We Work". */
.corp .section{max-width:none!important;overflow-x:visible!important}

/* style.css .btn reserves a 120px minimum and clips a ::before shimmer. */
.corp .btn{min-width:0;overflow:visible;position:relative}
.corp .btn::before{content:none;display:none}

/* position:sticky needs the page itself to be the scroll container. css/style.css
   sets `body{overflow-x:hidden;overflow-y:auto}` and `html{overflow-x:hidden}`,
   and that overflow-y:auto makes <body> a scroll container of its own — so a
   sticky child sticks to body's scrollport, which never scrolls, and just sits
   there. That is why the "How We Work" column did not track the steps.

   `clip` suppresses scrolling exactly like `hidden` but creates no scroll
   container, so sticky works again. Scoped to this page's html/body classes so
   no other page is touched, and skipped while a modal is open so
   .corp-modal-open can still lock the background. Browsers without `clip`
   simply keep today's behaviour. */
html.corp-page{overflow-x:clip!important}
html.corp-page body.corp-page:not(.corp-modal-open){overflow-x:clip!important;overflow-y:visible!important}

/* ---------------------------- page footer --------------------------------
   corporate.php uses the footer from the approved design instead of the shared
   includes/footer.php. .footer-brand and .footer-bottom also exist in
   css/style.css, so everything here is prefixed with body.corp-page — that only
   matches this page, and outranks the site-wide rules. */
body.corp-page .site-footer{background:#17110f;color:#e8ddd6;padding:64px 0 32px;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
body.corp-page .site-footer .container{width:min(1180px,calc(100% - 40px));margin:auto;padding:0}
body.corp-page .footer-grid{display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:40px}
body.corp-page .footer-brand{background:none;border:0;padding:0}
body.corp-page .footer-brand img{width:158px;filter:brightness(1.35);display:block}
body.corp-page .footer-brand p{color:#a99c94;max-width:360px;font-size:13px;margin:16px 0 0}
body.corp-page .site-footer h4{color:#f2ce67;margin:0 0 4px;font-size:15px;font-weight:700}
body.corp-page .site-footer a{display:block;font-size:13px;color:#baaca4;margin:9px 0;text-decoration:none}
body.corp-page .site-footer a:hover{color:#fff}
body.corp-page .site-footer .container.footer-bottom{border-top:1px solid #302520;
  margin-top:32px;padding:20px 0 0;display:flex;justify-content:space-between;
  gap:20px;color:#7f736d;font-size:11px;background:none}
body.corp-page .footer-bottom span{color:#7f736d}
@media(max-width:980px){
  body.corp-page .footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:680px){
  body.corp-page .footer-grid{grid-template-columns:1fr}
  body.corp-page .site-footer .container.footer-bottom{flex-direction:column}
}
@media print{
  body.corp-page .site-footer{display:none}
}

/* ------------------------------ toast ------------------------------------
   The proposal form posts over fetch() and stays put, so this is the only
   confirmation the sender gets — it has to be hard to miss. Outside .corp
   because it attaches to <body>. */
.corp-toast{position:fixed;left:50%;bottom:32px;transform:translate(-50%,20px) scale(.96);
  z-index:10060;display:flex;align-items:center;gap:14px;
  width:max-content;max-width:min(520px,calc(100% - 32px));padding:18px 26px 18px 20px;
  border-radius:18px;background:#14532d;color:#fff;border:1px solid rgba(255,255,255,.16);
  font:700 15.5px/1.45 Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  box-shadow:0 24px 64px rgba(6,28,14,.45),0 2px 0 rgba(255,255,255,.06) inset;
  opacity:0;transition:opacity .3s ease,transform .3s cubic-bezier(.2,.9,.3,1.2);pointer-events:none}
.corp-toast.is-in{opacity:1;transform:translate(-50%,0) scale(1)}
.corp-toast__mark{flex:0 0 38px;width:38px;height:38px;border-radius:50%;
  display:grid;place-items:center;background:rgba(255,255,255,.17);color:#fff}
.corp-toast__text{display:block}
.corp-toast--bad{background:#7f1d1d}
@media(max-width:680px){
  .corp-toast{left:16px;right:16px;bottom:16px;width:auto;max-width:none;
    transform:translateY(20px) scale(.98);padding:16px 18px}
  .corp-toast.is-in{transform:translateY(0) scale(1)}
}
@media (prefers-reduced-motion:reduce){
  .corp-toast{transition:opacity .01s linear;transform:translate(-50%,0) scale(1)}
  .corp-toast.is-in{transform:translate(-50%,0) scale(1)}
}
