/* Revision 3, Nov 2026: final palette and type, dark header over the hero, final service list, founder experience. */
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:local('IBM Plex Mono'),local('IBMPlexMono'),url('../fonts/IBMPlexMono-Regular.ttf') format('truetype')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:600;font-display:swap;src:local('IBM Plex Mono SemiBold'),local('IBMPlexMono-SemiBold')}
:root{--navy:#001545;--ink:#001545;--cobalt:#1C40CA;--cyan:#00B2FA;--blue:#00B2FA;--alert:#D90816;--mist:#EBEBEB;--line:#EBEBEB;--radius:10px}
html{scroll-padding-top:24px}
body.home-refined{font-family:var(--body)}
.home-refined h1,.home-refined h2,.home-refined h3{font-family:var(--display);font-weight:600}

/* Header overlaid on the hero picture */
.home-refined .en-header{position:absolute;top:0;left:0;right:0;z-index:40;background:linear-gradient(180deg,rgba(0,21,69,.82) 0%,rgba(0,21,69,.38) 70%,rgba(0,21,69,0) 100%);box-shadow:none;color:#fff}.home-refined .en-header:not(#en-x){box-shadow:none}
.home-refined .brand{background:transparent}
.home-refined .utility,.home-refined .utility a{color:#E3EAF8}
.home-refined .utility a:hover{color:#fff;text-decoration-color:var(--cyan)}.home-refined .utility a:hover:not(#en-x){text-decoration-color:var(--cyan)}
.home-refined .utility .utility-line{background:rgba(255,255,255,.28)}
.home-refined .header-nav{border-top:1px solid rgba(255,255,255,.16)}.home-refined .header-nav:not(#en-x){border-top:1px solid rgba(255,255,255,.16)}
.home-refined .desktop-nav>.nav-item>a,.home-refined .nav-menu>summary{color:#fff}
.home-refined .nav-item>a:hover,.home-refined .nav-item>a[aria-current=page],.home-refined .nav-menu[open]>summary{border-bottom-color:var(--cyan)}.home-refined .nav-item>a:hover:not(#en-x),.home-refined .nav-item>a[aria-current=page]:not(#en-x),.home-refined .nav-menu[open]>summary:not(#en-x){border-bottom-color:var(--cyan)}
.home-refined .header-nav>.button{background:var(--cyan);border-color:var(--cyan);color:#001545}.home-refined .header-nav>.button:not(#en-x){border-color:var(--cyan)}
.home-refined .header-nav>.button:hover{background:#fff;border-color:#fff}.home-refined .header-nav>.button:hover:not(#en-x){border-color:#fff}
.home-refined .icon-button,.home-refined .mobile-nav>summary{color:#fff}
.home-refined .icon-button:hover{background:rgba(255,255,255,.12)}
.home-refined .mega{color:#001545;border-radius:0 0 var(--radius) var(--radius)}.home-refined .mega:not(#en-x){border-radius:0 0 var(--radius) var(--radius)}
.home-refined .mega p{color:var(--muted)}
.home-refined .mobile-panel{color:#001545}

/* Photo hero, full height, navy scrim */
.home-refined .hero{background:#001545;min-height:max(774px,90svh);padding-top:160px;display:flex;align-items:center}
.home-refined .hero-photo{object-position:62% 50%}
.home-refined .hero:after{background:linear-gradient(90deg,rgba(0,21,69,.96) 0%,rgba(0,21,69,.9) 30%,rgba(0,21,69,.62) 55%,rgba(0,21,69,.25) 80%,rgba(0,21,69,.12) 100%)}
.home-refined .hero .mesh{opacity:.16;z-index:1}
.home-refined .hero .mesh g{stroke:#00B2FA}
.home-refined .hero .wrap{padding-top:32px;padding-bottom:96px}
.home-refined .hero h1{color:#fff;font-weight:600;letter-spacing:-.035em;max-width:900px}.home-refined .hero h1:not(#en-x){max-width:900px}
.home-refined .hero .lead{color:#D5DEF0;max-width:600px}.home-refined .hero .lead:not(#en-x){max-width:600px}
.home-refined .hero .button{background:var(--cyan);border-color:var(--cyan);color:#001545}.home-refined .hero .button:not(#en-x){border-color:var(--cyan)}
.home-refined .hero .button:hover{background:#fff;border-color:#fff}.home-refined .hero .button:hover:not(#en-x){border-color:#fff}
.home-refined .hero .text-link{color:#fff}
.home-refined .hero .text-link:hover{color:#fff;border-bottom-color:var(--cyan)}.home-refined .hero .text-link:hover:not(#en-x){border-bottom-color:var(--cyan)}

/* IBM Plex Mono for numbers and references */
.home-refined .service-card .service-num{font-family:var(--display);color:#1C40CA;font-size:15px;font-weight:600}
.map-number{font:600 22px Arial,sans-serif;fill:#1C40CA}
.map-label{font:400 16px Arial,sans-serif;fill:#53617a}
.map-title{font:600 20px Arial,sans-serif;fill:#001545}
.map-description{font:400 15px Arial,sans-serif;fill:#53617a}
.map-core rect{fill:#e9efff}
.home-refined .service-card:before{background:linear-gradient(90deg,#001545,#1C40CA,#00B2FA)}
.kicker:before{background:var(--alert);border-radius:0}.kicker:not(#en-x):before{border-radius:0}

/* Context: heading left, text right */
.home-refined .context-section .compact-data-wrap{display:block}
.home-refined .context-r08{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:80px;align-items:start}
.home-refined .context-r08 h2{margin:0;max-width:440px}.home-refined .context-r08 h2:not(#en-x){max-width:440px}
.home-refined .context-r08 p{font-size:20px}

/* Services heading with the ordering note */
.home-refined .services-section .section-heading{align-items:flex-end}
.home-refined .services-section .section-heading>p{font-size:18px}

/* Mobile service map */
.mm-node{display:block;border:1px solid #001545;border-radius:var(--radius);padding:16px;background:#fff;color:#001545}.mm-node:not(#en-x){border:1px solid #001545;border-radius:var(--radius)}
.mm-node.mm-core{background:#e9efff;border-color:#1C40CA}.mm-node.mm-core:not(#en-x){border-color:#1C40CA}
.mm-node>span{display:block;font-size:14px;font-weight:600;color:#1C40CA;margin-bottom:8px}
.mm-node strong{display:block;font-size:17px;line-height:1.35}
.mm-node p{font-size:14px;line-height:1.5;margin-top:10px}
@media(max-width:800px){
  .service-map-mobile{display:grid;grid-template-columns:1fr;gap:12px}
  .mobile-map-information,.mobile-map-feedback{grid-column:auto}
  .mobile-map-information{border-radius:var(--radius)}.mobile-map-information:not(#en-x){border-radius:var(--radius)}
}

/* Founder experience */
.home-refined .experience-section{background:#F4F6F8}
.xp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 56px}
.xp-item{border-top:1px solid #c9d5e6;padding-top:28px;position:relative}.xp-item:not(#en-x){border-top:1px solid #c9d5e6}
.xp-item:before{content:'';position:absolute;top:-1px;left:0;width:64px;height:2px;background:#1C40CA}.xp-item:not(#en-x):before{height:2px}
.home-refined .xp-meta{font-size:15px;font-weight:600;color:#1C40CA;margin-bottom:12px}
.home-refined .xp-item h3{font-size:28px;margin-bottom:14px}
.home-refined .xp-item p:not(.xp-meta){font-size:18px;line-height:1.65}
.home-refined .xp-link{margin-top:44px;font-size:17px}

@media(max-width:1120px){.xp-grid{gap:0 32px}.home-refined .context-r08{gap:48px}}
@media(max-width:980px){
  .home-refined .hero{padding-top:92px;min-height:max(684px,90svh)}
  .home-refined .header-top{border-bottom:0}.home-refined .header-top:not(#en-x){border-bottom:0}
  .home-refined .context-r08{grid-template-columns:1fr;gap:24px}
  .xp-grid{grid-template-columns:1fr;gap:36px}
}
@media(max-width:640px){
  .home-refined .hero{display:flex;padding-bottom:0;min-height:max(666px,90svh)}
  .home-refined .hero:after{background:linear-gradient(180deg,rgba(0,21,69,.94) 0%,rgba(0,21,69,.86) 55%,rgba(0,21,69,.6) 100%)}
  .home-refined .hero-photo{object-position:40% 50%}
  .home-refined .hero .wrap{padding-top:32px;padding-bottom:72px}
  .home-refined .hero h1{font-size:46px}
  .home-refined .xp-item h3{font-size:25px}
}
@media(max-width:380px){.home-refined .hero h1{font-size:40px}}
@media print{.home-refined .hero{min-height:0;padding-top:40px}.home-refined .hero-photo{display:none}.home-refined .hero h1,.home-refined .hero .lead{color:#001545}.home-refined .hero:after{display:none}}

/* Feature module: question as standfirst, answer as headline, one image. Compact. */
.home-refined .feature-section{background:#fff;padding:72px 0}
.feature-grid{display:grid;grid-template-columns:minmax(0,8fr) minmax(0,4fr);gap:56px;align-items:center}
.home-refined .feature-q{font-size:16px;font-weight:600;color:#1C40CA;margin-bottom:14px}
.home-refined .feature-copy h2{font-size:clamp(30px,2.7vw,40px);max-width:none;margin-bottom:18px}.home-refined .feature-copy h2:not(#en-x){max-width:none}
.home-refined .feature-copy>p{font-size:18px;line-height:1.65;max-width:none}.home-refined .feature-copy>p:not(#en-x){max-width:none}
.friction{margin:24px 0 20px;display:grid;gap:0}
.friction>div{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;padding:12px 0;border-top:1px solid #dce5ef}.friction>div:not(#en-x){border-top:1px solid #dce5ef}
.friction>div:last-child{border-bottom:1px solid #dce5ef}.friction>div:last-child:not(#en-x){border-bottom:1px solid #dce5ef}
.friction dt{font-weight:600;color:#001545;font-size:16px}
.friction dd{margin:0;color:var(--muted);font-size:16px;line-height:1.55}
.home-refined .feature-copy .feature-close{color:#001545;font-weight:600;font-size:18px}
.feature-figure{margin:0;justify-self:end;width:100%;max-width:400px}.feature-figure:not(#en-x){max-width:400px}
.feature-figure img{width:100%;aspect-ratio:4/3;object-fit:cover;object-position:40% 50%;border-radius:var(--radius)}.feature-figure img:not(#en-x){border-radius:var(--radius)}

/* Aerial image placeholders under each project */
.xp-item{display:flex;flex-direction:column}
.xp-figure{margin:28px 0 0;margin-top:auto;padding-top:28px}
.xp-ph{aspect-ratio:4/3;border:1.5px dashed #8FA3BE;border-radius:var(--radius);background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:16px}.xp-ph:not(#en-x){border:1.5px dashed #8FA3BE;border-radius:var(--radius)}
.xp-ph span{font-weight:600;color:#001545;font-size:16px}
.xp-ph code{font-family:var(--mono);font-size:13px;color:#5E6B7D;word-break:break-all}
.xp-figure img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius)}.xp-figure img:not(#en-x){border-radius:var(--radius)}
.xp-figure figcaption{font-size:14px;color:#5E6B7D;margin-top:10px;line-height:1.5}

/* Sectors on a prussian blue ground, so no more than two light sections run together */
.home-refined .sectors-section{background:#001545;color:#fff}
.home-refined .sectors-section h2,.home-refined .sectors-section h3{color:#fff}
.home-refined .sectors-section p{color:#C9D5E6}
.home-refined .sectors-section .sector-tabs{border-bottom-color:rgba(255,255,255,.2)}.home-refined .sectors-section .sector-tabs:not(#en-x){border-bottom-color:rgba(255,255,255,.2)}
.home-refined .sectors-section .sector-tabs button{color:#C9D5E6}
.home-refined .sectors-section .sector-tabs button[aria-selected=true]{color:#fff;border-bottom-color:var(--cyan)}.home-refined .sectors-section .sector-tabs button[aria-selected=true]:not(#en-x){border-bottom-color:var(--cyan)}
.home-refined .sectors-section .text-link{color:#fff}
.home-refined .sectors-section .text-link:hover{color:#fff;border-bottom-color:var(--cyan)}.home-refined .sectors-section .text-link:hover:not(#en-x){border-bottom-color:var(--cyan)}
.home-refined .sectors-section :focus-visible{outline-color:var(--cyan)}

@media(max-width:1120px){.feature-grid{gap:40px}}
@media(max-width:980px){
  .feature-grid{grid-template-columns:1fr;gap:36px}
  .feature-figure{justify-self:start;max-width:560px}.feature-figure:not(#en-x){max-width:560px}
}
@media(max-width:640px){
  .friction>div{grid-template-columns:1fr;gap:4px}
  .home-refined .feature-section{padding:64px 0}
}

/* Experience band under the hero */
.xp-band{background:#fff;border-bottom:1px solid #dce5ef}.xp-band:not(#en-x){border-bottom:1px solid #dce5ef}
.xp-band-in{display:flex;align-items:center;gap:40px;height:88px}.xp-band-in:not(#en-x){height:88px}
.home-refined .xp-band-label{flex:0 0 auto;font-size:15px;font-weight:600;color:#1C40CA;white-space:nowrap}
.xp-band-track{flex:1;min-width:0;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.xp-band-move{display:flex;width:max-content;animation:xpBand 32s linear infinite}
.xp-band:hover .xp-band-move{animation-play-state:paused}
.xp-band-list{display:flex;align-items:center;list-style:none;margin:0;padding:0}
.xp-band-list li{margin:0;display:flex;align-items:center;font-size:22px;font-weight:600;color:#001545;letter-spacing:-.01em;white-space:nowrap}
.xp-band-list li:after{content:'';width:7px;height:7px;background:#00B2FA;margin:0 40px}.xp-band-list li:not(#en-x):after{height:7px}
@keyframes xpBand{to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){
  .xp-band-move{animation:none;width:auto}
  .xp-band-list[aria-hidden]{display:none}
  .xp-band-list{flex-wrap:wrap;row-gap:8px}
  .xp-band-track{-webkit-mask-image:none;mask-image:none}
}
@media(max-width:640px){
  .xp-band-in{gap:20px;height:72px}.xp-band-in:not(#en-x){height:72px}
  .home-refined .xp-band-label{font-size:13px}
  .xp-band-list li{font-size:18px}
  .xp-band-list li:after{margin:0 26px}
}

/* Services: equal-length descriptors and a link to each service page */
.home-refined .service-card .service-desc{min-height:calc(1.65em * 3);margin-bottom:24px}
.home-refined .service-link{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:auto;min-height:48px;border-top:1px solid #dce5ef;padding-top:12px;font-size:16px;font-weight:600;color:#1C40CA}.home-refined .service-link:not(#en-x){border-top:1px solid #dce5ef}
.home-refined .service-link svg{width:20px;height:20px;transition:transform .2s}.home-refined .service-link svg:not(#en-x){height:20px}
.home-refined .service-link:hover{color:#001545}
.home-refined .service-link:hover svg{transform:translateX(4px)}
/* Align number, title, description and link across each row of cards */
@supports (grid-template-rows: subgrid){
  .home-refined .service-card{display:grid;grid-row:span 4;grid-template-rows:subgrid;align-items:start;row-gap:0}
  .home-refined .service-card .service-desc{min-height:0}
  .home-refined .service-link{align-self:end}
}
