@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700;800;900&family=Roboto+Slab:wght@400;500;600;700;800;900&display=swap");

/* =========================================================
   V4 FLAGSHIP SYSTEM — production-facing corporate polish
   ========================================================= */
:root{--ease:cubic-bezier(.22,.61,.36,1)}
html{scroll-padding-top:90px}
body{font-kerning:normal;text-rendering:optimizeLegibility}
::selection{background:var(--ink);color:var(--bg)}
.mast{mix-blend-mode:normal}.mast.scrolled{background:color-mix(in srgb,var(--dark) 95%,transparent)!important}
.desktop-nav{gap:clamp(18px,2.1vw,34px)}
.brand-name{font-size:14px}.brand-sub{font-size:7.5px}
.v4-eyebrow{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.23em;display:flex;align-items:center;gap:14px}
.v4-eyebrow:before{content:'';width:36px;height:1px;background:currentColor;opacity:.8}
.v4-kicker{font-size:10px;text-transform:uppercase;letter-spacing:.22em;font-weight:850}
.v4-rule{height:1px;background:currentColor;opacity:.2}
.v4-num{font-variant-numeric:tabular-nums lining-nums}
.v4-link{display:inline-flex;gap:20px;align-items:center;padding:14px 0;border-bottom:1px solid currentColor;text-transform:uppercase;font-size:10px;letter-spacing:.18em;font-weight:850}.v4-link:after{content:'↗';font-size:17px;transition:transform .25s var(--ease)}.v4-link:hover:after{transform:translate(4px,-4px)}
.v4-gridbg{background-image:linear-gradient(to right,color-mix(in srgb,currentColor 8%,transparent) 1px,transparent 1px),linear-gradient(to bottom,color-mix(in srgb,currentColor 8%,transparent) 1px,transparent 1px);background-size:64px 64px}
.v4-reveal{opacity:1;transform:none;transition:transform .8s var(--ease)}.js .v4-reveal.is-visible{transform:none}
.v4-crop{overflow:hidden}.v4-crop img,.v4-crop .v4-media{transition:transform 1.2s var(--ease)}.v4-crop:hover img,.v4-crop:hover .v4-media{transform:scale(1.025)}
.page-hero{min-height:88svh!important;padding:190px 0 84px!important}.page-hero h1{font-size:clamp(66px,9.6vw,158px)!important;line-height:.82!important;letter-spacing:-.065em!important}.page-hero p{max-width:760px!important}.page .section{padding:clamp(96px,10vw,160px) 0!important}.page .two-col{gap:clamp(58px,9vw,150px)!important}.page .three-col{background:transparent!important;gap:0!important;border-top:1px solid var(--line);border-left:1px solid var(--line)}.page .three-col>div{border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-height:300px!important;padding:clamp(28px,3.3vw,54px)!important}.page .list-row{padding:46px 0!important}.page .content-image{min-height:76vh!important}.footer{padding-top:clamp(80px,9vw,145px)!important}.footer-top{grid-template-columns:1.55fr .7fr .75fr!important}.footer-top h2{font-size:clamp(52px,7vw,108px)!important;max-width:900px!important}.footer-bottom{margin-top:90px!important}
@media(max-width:900px){.wrap,.wrap.narrow{width:calc(100% - 40px)!important}.page-hero{min-height:76svh!important;padding:135px 0 54px!important}.page-hero h1{font-size:clamp(52px,15vw,88px)!important}.footer-top{grid-template-columns:1fr!important}.footer-bottom{margin-top:55px!important}}
@media(max-width:520px){.wrap,.wrap.narrow{width:calc(100% - 32px)!important}.page-hero h1{font-size:clamp(48px,14vw,72px)!important}}
@media(prefers-reduced-motion:reduce){.js .v4-reveal{opacity:1;transform:none;transition:none}.v4-crop img,.v4-crop .v4-media{transition:none}}




/* MTHATHE — execution under pressure */
body.mthathe{--orange:#f29b17;--black:#101110;--bone:#f1eee7}
.mth4-hero{min-height:100svh;position:relative;background:#111;color:white;display:flex;align-items:flex-end;overflow:hidden;padding:182px 0 70px}.mth4-photo{position:absolute;inset:-2%;background:url('hero.jpg') center/cover no-repeat;filter:saturate(.82) contrast(1.12)}.mth4-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.95),rgba(0,0,0,.55) 52%,rgba(0,0,0,.12)),linear-gradient(0deg,rgba(0,0,0,.72),transparent 55%)}.mth4-hazard{position:absolute;left:0;right:0;bottom:0;height:12px;background:repeating-linear-gradient(135deg,var(--orange) 0 22px,#111 22px 44px);z-index:3}.mth4-hero .wrap{position:relative;z-index:2}.mth4-topline{display:flex;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.25);padding-bottom:17px;margin-bottom:35px;font-size:9px;text-transform:uppercase;letter-spacing:.22em}.mth4-title{font-family:Arial Black,Impact,sans-serif;text-transform:uppercase;font-size:clamp(78px,12vw,195px);line-height:.7;letter-spacing:-.08em;margin:0}.mth4-title span{color:var(--orange)}.mth4-deck{display:grid;grid-template-columns:minmax(300px,690px) 1fr;gap:8vw;align-items:end;margin-top:46px}.mth4-deck p{font-size:clamp(17px,1.5vw,22px);line-height:1.65;color:#ddd9d1}.mth4-deck .v4-link{justify-self:end;min-width:260px}
.mth4-cycle{padding:120px 0;background:#f2eee6}.mth4-cycle .v4-eyebrow{margin-bottom:40px}.mth4-cycle-grid{display:grid;grid-template-columns:repeat(6,1fr);border-top:1px solid #cbc6bc;border-left:1px solid #cbc6bc}.mth4-cycle-grid div{padding:29px 24px;min-height:190px;border-right:1px solid #cbc6bc;border-bottom:1px solid #cbc6bc;position:relative}.mth4-cycle-grid span{font-size:9px;letter-spacing:.2em;color:#88775b}.mth4-cycle-grid b{font-family:Arial Black,Impact,sans-serif;text-transform:uppercase;font-size:clamp(25px,2.6vw,40px);display:block;margin-top:55px}.mth4-cycle-grid i{font-style:normal;position:absolute;right:17px;top:16px;color:#a78a5d}
.mth4-promise{padding:150px 0;background:var(--orange);color:#101110}.mth4-promise-grid{display:grid;grid-template-columns:.65fr 1.35fr;gap:10vw}.mth4-promise h2{font-family:Arial Black,Impact,sans-serif;text-transform:uppercase;font-size:clamp(60px,8vw,128px);line-height:.8;letter-spacing:-.07em;margin:0}.mth4-promise h2 span{color:white}.mth4-promise-copy{padding-top:20vh}.mth4-promise-copy p{font-size:20px;line-height:1.75;max-width:680px}
.mth4-method{padding:150px 0;background:#151616;color:white}.mth4-method-head{display:grid;grid-template-columns:.68fr 1.32fr;gap:10vw}.mth4-method h2{font-family:Arial Black,Impact,sans-serif;text-transform:uppercase;font-size:clamp(54px,6.5vw,104px);line-height:.86;letter-spacing:-.06em;margin:0}.mth4-method h2 span{color:var(--orange)}.mth4-board{margin-top:85px;border-top:1px solid #3b3c39}.mth4-board a{display:grid;grid-template-columns:75px 1fr 1fr 38px;gap:30px;padding:36px 0;border-bottom:1px solid #3b3c39;align-items:center;transition:padding-left .25s}.mth4-board a:hover{padding-left:16px}.mth4-board span{font-size:9px;letter-spacing:.2em;color:#a98a56}.mth4-board b{font-family:Arial Black,Impact,sans-serif;text-transform:uppercase;font-size:clamp(29px,3.2vw,50px)}.mth4-board p{margin:0;color:#979993;line-height:1.55;font-size:13px}.mth4-board i{font-style:normal;color:var(--orange)}
.mth4-experience{display:grid;grid-template-columns:.85fr 1.15fr;min-height:80vh;background:#e8e4dc}.mth4-exp-number{background:#111;color:var(--orange);padding:8vw 6vw;display:flex;flex-direction:column;justify-content:center}.mth4-exp-number strong{font-family:Arial Black,Impact,sans-serif;font-size:clamp(150px,20vw,320px);line-height:.65;letter-spacing:-.09em}.mth4-exp-number span{font-size:9px;text-transform:uppercase;letter-spacing:.18em;color:#aaa;margin-top:40px}.mth4-exp-copy{padding:8vw 7vw;display:flex;flex-direction:column;justify-content:center}.mth4-exp-copy h2{font-family:Arial Black,Impact,sans-serif;text-transform:uppercase;font-size:clamp(46px,5.5vw,88px);line-height:.88;letter-spacing:-.055em}.mth4-exp-copy p{font-size:18px;line-height:1.75;color:#686963}.mth4-close{padding:155px 0;background:#101110;color:white}.mth4-close h2{font-family:Arial Black,Impact,sans-serif;text-transform:uppercase;font-size:clamp(68px,9.5vw,152px);line-height:.76;letter-spacing:-.075em;margin:28px 0 55px}.mth4-close h2 span{color:var(--orange)}
@media(max-width:900px){.mth4-hero{padding:140px 0 58px}.mth4-title{font-size:clamp(66px,21vw,110px)}.mth4-deck{grid-template-columns:1fr;gap:30px}.mth4-deck .v4-link{justify-self:start;min-width:0}.mth4-cycle-grid{grid-template-columns:1fr 1fr 1fr}.mth4-promise-grid,.mth4-method-head{grid-template-columns:1fr}.mth4-promise-copy{padding-top:30px}.mth4-board a{grid-template-columns:42px minmax(0,1fr) 28px}.mth4-board p{grid-column:2}.mth4-board i{grid-column:3;grid-row:1}.mth4-experience{grid-template-columns:1fr}.mth4-exp-number,.mth4-exp-copy{padding:78px 20px}}@media(max-width:560px){.mth4-cycle-grid{grid-template-columns:1fr 1fr}.mth4-cycle-grid div{min-height:155px}}
/* Industrial visual calibration */
:root{--sans:"Roboto",Arial,Helvetica,sans-serif;--display:"Roboto Slab","Roboto",Arial,Helvetica,sans-serif}
body.mthathe{--orange:#c18b2c}
h1,h2,h3,h4,.section-title,.big-title,[class*="4-"] b,[class*="4-"] strong{font-family:var(--display)!important;font-style:normal!important;font-weight:800!important}
[class*="4-"] em,[class*="4-"] i{font-family:var(--display)!important;font-style:normal!important}
.page-hero h1{font-family:var(--display)!important;font-weight:800!important;line-height:.95!important;letter-spacing:-.025em!important;font-size:clamp(60px,8.4vw,138px)!important}
.pret4-title,.andru4-title,.math4-title,.coms4-title,.afr4-title,.mth4-title,.pf4-title{font-family:var(--display)!important;font-weight:800!important;font-style:normal!important;line-height:.86!important;letter-spacing:-.035em!important;margin:0!important}
.pret4-topline,.andru4-topline,.coms4-topline,.afr4-topline,.mth4-topline,.pf4-topline{margin-bottom:44px!important}
.pret4-deck,.andru4-bottom,.coms4-deck,.afr4-deck,.mth4-deck{margin-top:56px!important}
.pf4-copy p{margin-top:46px!important;margin-bottom:46px!important}
@media(max-width:900px){.page-hero h1{font-size:clamp(52px,14vw,92px)!important}.pret4-title,.andru4-title,.math4-title,.coms4-title,.afr4-title,.mth4-title,.pf4-title{line-height:.88!important;letter-spacing:-.03em!important}}
@media(max-width:560px){.page-hero h1{font-size:clamp(46px,13vw,72px)!important}}


/* Balanced section headers */
:is(.afr4-workshop-head,.afr4-throughput-head,.andru4-system-head,.andru4-work-head,.coms4-model-head,.coms4-cap-head,.math4-skills-head,.mth4-method-head,.pret4-architecture-head,.pret4-projects-head,.pf4-signal-head,.pf4-stack-head){
  display:grid!important;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)!important;
  gap:clamp(42px,6vw,92px)!important;
  align-items:start!important
}
:is(.afr4-workshop-head,.afr4-throughput-head,.andru4-system-head,.andru4-work-head,.coms4-model-head,.coms4-cap-head,.math4-skills-head,.mth4-method-head,.pret4-architecture-head,.pret4-projects-head,.pf4-signal-head,.pf4-stack-head)>:is(.v4-eyebrow,.v4-kicker){
  align-items:flex-start!important;
  font-size:clamp(13px,1.05vw,16px)!important;
  line-height:1.4!important;
  letter-spacing:.14em!important;
  font-weight:850!important;
  padding-top:10px!important;
  max-width:340px!important
}
:is(.afr4-workshop-head,.afr4-throughput-head,.andru4-system-head,.andru4-work-head,.coms4-model-head,.coms4-cap-head,.math4-skills-head,.mth4-method-head,.pret4-architecture-head,.pret4-projects-head,.pf4-signal-head,.pf4-stack-head)>.v4-eyebrow:before{
  width:52px!important;
  height:2px!important
}
:is(.afr4-workshop-head,.afr4-throughput-head,.andru4-system-head,.andru4-work-head,.coms4-model-head,.coms4-cap-head,.math4-skills-head,.mth4-method-head,.pret4-architecture-head,.pret4-projects-head,.pf4-signal-head,.pf4-stack-head)>h2{
  font-size:clamp(48px,5.4vw,94px)!important;
  line-height:.94!important;
  letter-spacing:-.035em!important;
  max-width:820px!important
}
@media(max-width:900px){
  :is(.afr4-workshop-head,.afr4-throughput-head,.andru4-system-head,.andru4-work-head,.coms4-model-head,.coms4-cap-head,.math4-skills-head,.mth4-method-head,.pret4-architecture-head,.pret4-projects-head,.pf4-signal-head,.pf4-stack-head){
    grid-template-columns:1fr!important;
    gap:28px!important
  }
  :is(.afr4-workshop-head,.afr4-throughput-head,.andru4-system-head,.andru4-work-head,.coms4-model-head,.coms4-cap-head,.math4-skills-head,.mth4-method-head,.pret4-architecture-head,.pret4-projects-head,.pf4-signal-head,.pf4-stack-head)>:is(.v4-eyebrow,.v4-kicker){
    font-size:12px!important;
    padding-top:0!important;
    max-width:none!important
  }
  :is(.afr4-workshop-head,.afr4-throughput-head,.andru4-system-head,.andru4-work-head,.coms4-model-head,.coms4-cap-head,.math4-skills-head,.mth4-method-head,.pret4-architecture-head,.pret4-projects-head,.pf4-signal-head,.pf4-stack-head)>h2{
    font-size:clamp(46px,12vw,74px)!important
  }
}
