
/* Portfolio v2 */
.site-header{background:linear-gradient(90deg,#184b98 0%,#0d397e 40%,#081c40 100%)}
.site-header .brand{width:260px;display:block}
.site-header .brand img,.footer-brand img{display:block;width:100%;height:auto}
.footer-brand img{width:290px}
.hero-title{font-size:clamp(50px,6.9vw,118px)}
.client-strip{border-top:1px solid #ccd3de;border-bottom:1px solid #ccd3de;margin:-18px 0 54px;padding:20px 0 22px;display:flex;align-items:center;gap:30px;flex-wrap:wrap}
.client-strip__label{color:#647184;text-transform:uppercase;letter-spacing:.16em;font-size:10px;font-weight:700;white-space:nowrap}
.client-strip__names{display:flex;align-items:center;gap:18px 28px;flex-wrap:wrap}
.client-strip__names span{color:#122d50;font:800 clamp(12px,1.2vw,16px)/1.2 Manrope,sans-serif;letter-spacing:.03em}
.work-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.project,.project.project--large{grid-column:auto!important}
.project a{display:flex;flex-direction:column;height:100%}
.project-media{position:relative;overflow:hidden;border-radius:18px;aspect-ratio:4/3;background:#eaf0f7}
.project-media img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;filter:none!important}
.project-meta{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding-top:18px}
.project-meta h3{font-size:clamp(26px,3vw,42px);margin-top:8px}
.project-meta .project-headline{font-size:15px;text-transform:none;letter-spacing:0;margin-top:10px;max-width:520px;color:#68778a;line-height:1.55}
.project-meta>p{max-width:210px;text-align:right;line-height:1.6;color:#364a61}
.concept-tag{position:absolute;left:16px;top:16px;color:#fff;background:rgba(8,28,64,.92);padding:8px 11px;border-radius:999px;z-index:2;font-size:9px;text-transform:uppercase;letter-spacing:.09em}
.contact-prompt{font:500 clamp(17px,2.3vw,29px)/1.4 Manrope,sans-serif;max-width:580px}
.contact-prompt span{display:block;font:400 13px/1.7 'DM Sans',sans-serif;opacity:.6;margin-top:10px}
.footer-social span{max-width:190px;line-height:1.5}
@media(max-width:900px){.work-grid{grid-template-columns:1fr}.site-header .brand{width:210px}.footer-brand img{width:240px}}
@media(max-width:720px){.client-strip{margin:0 0 34px}.project-meta{flex-direction:column}.project-meta>p{text-align:left;max-width:none}.concept-tag{font-size:8px}}
/* V3: protect the original sideways-scroll storytelling on desktop. */
@media (min-width:1101px) {
 body.horizontal-home .work {width:218vw;min-width:2820px}
 body.horizontal-home .work>.container {height:100%;display:flex;flex-direction:column}
 body.horizontal-home .work .client-strip {flex:0 0 auto;margin:-12px 0 16px;padding:8px 0}
 body.horizontal-home .work .section-head {flex:0 0 auto;margin-bottom:18px;padding-bottom:10px}
 body.horizontal-home .work-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;align-items:start;flex:1;min-height:0}
 body.horizontal-home .work-grid .project {min-width:0}
 body.horizontal-home .work-grid .project-media {height:min(43vh,410px);aspect-ratio:auto;border-radius:14px}
 body.horizontal-home .work-grid .project-media img {width:100%;height:100%;transform:none;object-fit:cover;object-position:center}
 body.horizontal-home .work-grid .project:hover .project-media img {transform:scale(1.035)}
 body.horizontal-home .work .project-meta {display:flex;flex-direction:column;gap:4px;padding-top:12px}
 body.horizontal-home .work .project-meta h3 {font-size:clamp(26px,2.1vw,38px)}
 body.horizontal-home .work .project-meta .project-headline {font-size:13px;line-height:1.4;margin:7px 0 0}
 body.horizontal-home .work .project-meta>p {text-align:left;font-size:9px;max-width:none;margin-top:5px}
 body.horizontal-home .work .concept-tag {font-size:8px}
 body.horizontal-home .site-header .brand {width:224px}
}
@media (min-width:1101px) and (max-height:760px) {
 body.horizontal-home .work .client-strip{display:none}
 body.horizontal-home .work .section-head{margin-bottom:9px}
 body.horizontal-home .work-grid .project-media{height:36vh}
}

.site-header .brand{width:144px!important;max-width:144px}.site-header .brand img{display:block;width:100%;height:auto;max-height:54px;object-fit:contain}
@media(max-width:900px){.site-header .brand{width:128px!important;max-width:128px}.site-header .brand img{max-height:48px}}
@media(max-width:480px){.site-header .brand{width:116px!important;max-width:116px}}
.project-media--client-logo{display:flex;justify-content:center;align-items:center;background:radial-gradient(circle at 50% 40%,#234e90 0%,#0b234a 75%,#071832 100%)!important}
.project-media--client-logo img,body.horizontal-home .project-media--client-logo img{position:static!important;display:block;width:min(58%,260px)!important;height:auto!important;max-height:76%!important;object-fit:contain!important;transform:none!important;filter:none!important;will-change:auto!important}
.project:hover .project-media--client-logo img,body.horizontal-home .project:hover .project-media--client-logo img{transform:scale(1.04)!important}
.project-media--client-logo:after{display:none}

/* Identity and spacing refinement - final overrides */
.site-header,
body.horizontal-home .site-header,
body.horizontal-home .site-header.scrolled {
  height:86px; min-height:86px;
  padding:0 clamp(22px,3.8vw,66px);
  display:flex; align-items:center; justify-content:space-between; gap:30px;
  background:rgba(7,26,53,.97)!important;
  border-bottom:1px solid rgba(255,255,255,.12);
  box-shadow:0 10px 36px rgba(4,16,32,.12);
  backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
}
.site-header .brand, body.horizontal-home .site-header .brand {
  flex:0 0 166px; width:166px!important; max-width:166px!important;
  height:68px; display:flex; align-items:center; margin:0; padding:0;
}
.site-header .brand img { width:100%!important; max-width:100%; height:auto!important; max-height:64px!important; object-fit:contain; display:block; }
.site-header .desktop-nav { display:flex; align-items:center; justify-content:center; gap:clamp(20px,2.5vw,45px); margin-left:auto; }
.site-header .desktop-nav a {font-size:12px; font-weight:600; letter-spacing:.035em; white-space:nowrap; padding:12px 0;}
.site-header .header-cta { margin-left:clamp(12px,2.1vw,32px);white-space:nowrap; min-height:42px; display:inline-flex;align-items:center;justify-content:center; }
/* Client grid is gallery-like with equal card dimensions and generous margins. */
.work .container{box-sizing:border-box}
.client-strip { gap:24px; justify-content:space-between; }
.client-strip__names {gap:clamp(12px,1.75vw,30px)}
.work-grid {gap:clamp(20px,2.1vw,36px)!important;align-items:stretch}
.work-grid .project {min-width:0; display:flex;flex-direction:column}
.work-grid .project>a {display:flex; flex-direction:column;height:100%;}
.work-grid .project-media--client-logo,
body.horizontal-home .work-grid .project-media--client-logo {
  display:flex!important; align-items:center!important; justify-content:center!important;
  background:#f7f8fa!important; border:1px solid #e5e9f0;
  padding:clamp(28px,3.3vw,60px); border-radius:16px;
  box-shadow:0 6px 20px rgba(9,25,54,.035);
}
.work-grid .project-media--client-logo img,
body.horizontal-home .work-grid .project-media--client-logo img {
  position:static!important; width:100%!important; height:100%!important;
  max-width:100%!important;max-height:100%!important; object-fit:contain!important;
  transform:none!important; filter:none!important;
}
.work-grid .project:hover .project-media--client-logo img,
body.horizontal-home .work-grid .project:hover .project-media--client-logo img {transform:none!important;}
.work-grid .project-media--client-logo:after {display:none!important}
.work-grid .project-meta {border-top:1px solid #e5e9f0; margin-top:17px; padding-top:17px!important;}
.work-grid .project-meta span{letter-spacing:.1em}
.work-grid .project-meta h3{letter-spacing:-.045em;line-height:1.13}
@media(min-width:1101px){
 body.horizontal-home .work {width:230vw;min-width:3000px}
 body.horizontal-home .work>.container{padding-top:6px}
 body.horizontal-home .work-grid {grid-template-columns:repeat(4,minmax(0,1fr));gap:30px!important;}
 body.horizontal-home .work-grid .project-media {height:min(42vh,390px)}
 body.horizontal-home .work .section-head{margin-bottom:24px}
}
@media(max-width:1100px){
 .site-header{height:74px;min-height:74px;padding:0 22px;}
 .site-header .brand{flex-basis:150px; width:150px!important;max-width:150px!important;height:60px;}
 .site-header .brand img{max-height:56px!important;}
 .site-header .desktop-nav{gap:16px}
 .site-header .header-cta{margin-left:0}
 .work-grid .project-media--client-logo{min-height:280px}
}
@media(max-width:760px){
 .site-header{height:70px; min-height:70px;gap:12px;padding:0 18px;}
 .site-header .brand{flex:0 0 134px;width:134px!important;max-width:134px!important;height:54px;}
 .site-header .brand img{max-height:50px!important;}
 .site-header .desktop-nav{display:none}
 .site-header .header-cta{margin-left:auto;min-height:36px;font-size:11px;}
 .work-grid .project-media--client-logo{min-height:240px;padding:35px;}
}


/* Minimal client section redesign */
.work--minimal .client-strip{margin:-2px 0 26px;padding:0 0 10px;border-top:0;border-bottom:0;justify-content:flex-start;gap:14px 18px}
.work--minimal .client-strip__label{font-size:11px;letter-spacing:.16em;color:#8b97a8;font-weight:700}
.work--minimal .client-strip__names{gap:10px 12px}
.work--minimal .client-strip__names span{padding:8px 14px;border:1px solid #dfe5ee;border-radius:999px;background:#fff;color:#536379;font:600 11px/1.1 Manrope,sans-serif;letter-spacing:.12em;box-shadow:none}
.work--minimal .section-head{margin-bottom:28px}
.work--minimal .work-grid{gap:30px!important;align-items:stretch}
.work--minimal .project{display:flex;flex-direction:column;min-width:0}
.work--minimal .project>a{display:flex;flex-direction:column;height:100%;padding:22px;border:1px solid #e7ebf1;border-radius:18px;background:#fff;transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease;box-shadow:none}
.work--minimal .project:hover>a{transform:translateY(-2px);border-color:#cfd7e3;box-shadow:0 12px 28px rgba(14,31,53,.06)}
.work--minimal .project-media--client-logo,.work--minimal .project-media{background:#fbfbfc!important;border:1px solid #edf1f5;border-radius:14px;min-height:250px;padding:44px 36px;box-shadow:none!important;height:auto}
.work--minimal .project-media--client-logo img,body.horizontal-home .work--minimal .project-media--client-logo img{width:auto!important;height:auto!important;max-width:78%!important;max-height:118px!important;object-fit:contain!important;transform:none!important}
.work--minimal .project:hover .project-media--client-logo img,body.horizontal-home .work--minimal .project:hover .project-media--client-logo img{transform:none!important}
.work--minimal .project-meta{margin-top:18px;padding-top:16px!important;border-top:1px solid #edf1f5;display:grid!important;grid-template-columns:1fr!important;gap:8px;align-items:start}
.work--minimal .project-meta>div{display:block}
.work--minimal .project-meta>div>span{display:block;color:#8e99aa;font-size:10px;font-weight:700;letter-spacing:.15em;text-transform:uppercase}
.work--minimal .project-meta h3{font-size:clamp(24px,2.15vw,34px);line-height:1.08;margin:6px 0 0;letter-spacing:-.04em}
.work--minimal .project-meta .project-headline{margin-top:9px!important;max-width:none;font-size:14px!important;line-height:1.55;color:#607087!important}
.work--minimal .project-meta>p{margin:0;max-width:none;text-align:left;font-size:11px;line-height:1.5;color:#8a95a6;text-transform:uppercase;letter-spacing:.1em;font-weight:600}
.work--minimal .project-link{margin-top:auto;padding-top:14px;border-top:1px dashed #edf1f5;display:flex;align-items:center;justify-content:space-between;color:#102446;font:700 12px/1.2 Manrope,sans-serif;letter-spacing:.03em}
.work--minimal .project-link span{opacity:.58;font-size:14px}
@media(min-width:1101px){
 body.horizontal-home .work--minimal{width:236vw;min-width:3080px}
 body.horizontal-home .work--minimal>.container{height:100%;display:flex;flex-direction:column}
 body.horizontal-home .work--minimal .client-strip{flex:0 0 auto;margin:2px 0 18px;padding:0}
 body.horizontal-home .work--minimal .section-head{flex:0 0 auto;margin-bottom:24px;padding-bottom:0}
 body.horizontal-home .work--minimal .work-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:26px!important;flex:1;min-height:0}
 body.horizontal-home .work--minimal .project>a{padding:18px;height:100%}
 body.horizontal-home .work--minimal .project-media--client-logo{min-height:0;height:min(31vh,270px);padding:34px 28px}
 body.horizontal-home .work--minimal .project-meta h3{font-size:clamp(22px,1.95vw,32px)}
 body.horizontal-home .work--minimal .project-meta .project-headline{font-size:13px!important;line-height:1.45}
}
@media(max-width:900px){
 .work--minimal .project>a{padding:20px}
 .work--minimal .project-media--client-logo{min-height:220px;padding:34px 28px}
 .work--minimal .project-media--client-logo img{max-width:80%!important;max-height:100px!important}
}
@media(max-width:720px){
 .work--minimal .client-strip{margin:0 0 20px}
 .work--minimal .client-strip__names span{font-size:10px;padding:7px 12px}
 .work--minimal .project-media--client-logo{min-height:190px;padding:30px 22px}
 .work--minimal .project-meta h3{font-size:26px}
}
