@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  --blue:#1f43b8;
  --blue2:#0d2a78;
  --ink:#101a2f;
  --muted:#5f687a;
  --pale:#f3f6fb;
  --line:#dce3ef;
  --white:#fff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.65}
a{color:inherit}
.site-header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 6vw;border-bottom:1px solid var(--line);position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);z-index:20}
.brand{display:flex;align-items:center;gap:9px;text-decoration:none;font-weight:800;font-size:23px;letter-spacing:-1px}
.brand-mark{display:inline-grid;place-items:center;width:30px;height:30px;background:var(--blue);color:#fff;font-weight:800;clip-path:polygon(0 0,100% 0,78% 35%,78% 100%,35% 100%,35% 35%,0 35%)}
nav{display:flex;gap:28px}
nav a{text-decoration:none;font-size:14px;font-weight:600;color:#374055}
nav a:hover{color:var(--blue)}
.hero{min-height:620px;padding:110px 6vw 90px;display:grid;grid-template-columns:minmax(0,760px) 1fr;align-items:center;overflow:hidden;position:relative;background:linear-gradient(135deg,#fff 0%,#fff 58%,#f2f5fb 58%,#e9eef8 100%)}
.hero h1{font-size:clamp(46px,6vw,84px);line-height:1.02;letter-spacing:-4px;margin:10px 0 26px;max-width:900px}
.lead{font-size:20px;max-width:730px;color:#4f596c}
.eyebrow{font-size:12px;font-weight:800;letter-spacing:2.4px;color:var(--blue);margin:0 0 12px}
.light{color:#9fb7ff}
.button{display:inline-block;margin-top:22px;padding:14px 22px;background:var(--blue);color:#fff;text-decoration:none;font-weight:700;border-radius:2px}
.button:hover{background:var(--blue2)}
.shift-lines{position:absolute;right:-90px;top:90px;width:42%;height:470px;transform:skewX(-18deg);opacity:.95}
.shift-lines i{position:absolute;inset:0;border-left:80px solid var(--blue);transform:translateX(0)}
.shift-lines i:nth-child(2){transform:translateX(120px);opacity:.45}
.shift-lines i:nth-child(3){transform:translateX(240px);opacity:.15}
.section{padding:100px 6vw}
.section-head{max-width:760px;margin-bottom:50px}
.section h2{font-size:clamp(34px,4vw,54px);line-height:1.08;letter-spacing:-2px;margin:0 0 24px}
.grid{display:grid;gap:22px}
.services{grid-template-columns:repeat(2,minmax(0,1fr))}
.services article,.three article{padding:30px;border:1px solid var(--line);background:#fff}
.services h3,.three h3,.insight-card h3{font-size:22px;line-height:1.2;margin:10px 0 14px}
.number{font-size:12px;color:var(--blue);font-weight:800}
.section-blue{background:linear-gradient(135deg,var(--blue2),var(--blue));color:#fff}
.section-blue .section-head p,.section-blue article p{color:#dce5ff}
.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.three article{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.18)}
.expertise{background:var(--pale)}
.tags{display:flex;flex-wrap:wrap;gap:10px;max-width:1000px}
.tags span{padding:9px 13px;background:#fff;border:1px solid var(--line);font-size:13px;font-weight:600}
.expertise-copy{display:grid;grid-template-columns:1fr 1fr;gap:50px;max-width:1000px;margin-top:42px;font-size:18px}
.about{display:grid;grid-template-columns:.9fr 1.1fr;gap:80px}
.about-title{position:sticky;top:120px;align-self:start}
.about-copy{font-size:18px}
.text-link{display:inline-block;margin-top:12px;color:var(--blue);font-weight:700;text-decoration:none}
.insights{background:#fff}
.insight-card{max-width:980px;display:flex;justify-content:space-between;gap:30px;align-items:center;padding:32px 0;border-top:1px solid var(--line)}
.insight-card:last-child{border-bottom:1px solid var(--line)}
.coming{font-size:13px;font-weight:700;color:var(--muted);white-space:nowrap}
.contact{background:var(--ink);color:#fff}
.contact>p:not(.eyebrow):not(.signature){font-size:19px;max-width:720px;color:#d7ddea}
.contact-links{display:flex;flex-wrap:wrap;gap:28px;margin:38px 0}
.contact-links a{color:#fff;text-decoration:none;font-weight:700;border-bottom:1px solid #73809c;padding-bottom:4px}
.signature{margin-top:44px;font-weight:700}
.signature span{font-weight:400;color:#aeb8cb}
footer{padding:34px 6vw;display:flex;align-items:center;justify-content:space-between;gap:30px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}
.footer-brand{font-size:18px;color:var(--ink)}
.footer-brand .brand-mark{width:24px;height:24px}

@media (max-width:900px){
  nav{display:none}
  .hero{grid-template-columns:1fr;min-height:570px}
  .shift-lines{right:-180px;opacity:.15;width:70%}
  .services,.three,.expertise-copy,.about{grid-template-columns:1fr}
  .about-title{position:static}
  footer{align-items:flex-start;flex-direction:column}
}
@media (max-width:560px){
  .site-header{height:66px;padding:0 22px}
  .hero,.section{padding-left:22px;padding-right:22px}
  .hero{padding-top:78px}
  .hero h1{letter-spacing:-2.5px}
  .section{padding-top:72px;padding-bottom:72px}
  .contact-links{flex-direction:column;gap:14px}
}

.portrait{display:block;width:min(100%,390px);aspect-ratio:4/5;object-fit:cover;object-position:center 28%;margin-top:34px;border-radius:2px;box-shadow:0 18px 50px rgba(16,26,47,.14)}
.insight-link{white-space:nowrap;margin-top:0}
@media (max-width:900px){
  .portrait{width:min(100%,420px);margin-bottom:18px}
  .insight-card{align-items:flex-start;flex-direction:column}
  .insight-link{white-space:normal}
}

/* ===== V3 refinements ===== */

.brand-image{
  display:flex;
  align-items:center;
  text-decoration:none;
}
.brand-image img{
  display:block;
  width:170px;
  height:auto;
  max-height:54px;
  object-fit:contain;
}

.hero{
  grid-template-columns:minmax(0,760px) minmax(360px,1fr);
  gap:40px;
  background:linear-gradient(135deg,#fff 0%,#fff 55%,#f6f9ff 55%,#eaf2ff 100%);
}
.hero-logo-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:380px;
  padding:24px;
}
.hero-logo{
  width:min(100%,620px);
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 10px 30px rgba(31,67,184,.08));
}

.services{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.services article{
  background:linear-gradient(145deg,var(--blue2),var(--blue));
  color:#fff;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 10px 24px rgba(16,42,120,.14);
  transition:transform .18s ease, box-shadow .18s ease;
}
.services article:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(16,42,120,.18);
}
.services article p{
  color:#eef3ff;
}
.services article h3{
  color:#fff;
}
.services .number{
  color:#b8c7ff;
}

.footer-logo-wrap{
  display:flex;
  align-items:center;
}
.footer-logo{
  display:block;
  width:150px;
  height:auto;
  object-fit:contain;
}

footer{
  background:#fff;
}

@media (max-width:900px){
  .brand-image img{width:150px}
  .hero{
    grid-template-columns:1fr;
    gap:20px;
  }
  .hero-logo-wrap{
    min-height:auto;
    padding:20px 0 0;
    justify-content:flex-start;
  }
  .hero-logo{
    width:min(100%,480px);
  }
}

@media (max-width:560px){
  .brand-image img{width:136px}
  .hero-logo{width:min(100%,360px)}
  .services{grid-template-columns:1fr}
  .footer-logo{width:130px}
}

/* ===== V4 refinements ===== */

/* Hero: clean white field, logo only on the right */
.hero{
  grid-template-columns:minmax(0,760px) minmax(360px,1fr);
  gap:56px;
  background:#fff;
}
.hero-logo-wrap{
  min-height:360px;
  padding:20px 0 20px 20px;
  background:transparent;
}
.hero-logo{
  width:min(100%,650px);
  filter:none;
}

/* Equal visual weight for all four service cards */
.services{
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-auto-rows:1fr;
  align-items:stretch;
}
.services article{
  min-height:285px;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
.services article h3{
  min-height:54px;
}
.services article p:last-child{
  margin-bottom:0;
}

/* Keep portrait crop natural */
.portrait{
  object-position:center 28%;
}

@media (max-width:900px){
  .hero{grid-template-columns:1fr}
  .hero-logo-wrap{min-height:auto;padding:18px 0 0}
  .services{grid-template-columns:1fr;grid-auto-rows:auto}
  .services article{min-height:0}
  .services article h3{min-height:0}
}

/* ===== V5 positioning update ===== */
.who-four{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.who-four article{
  height:100%;
}
@media (max-width:900px){
  .who-four{grid-template-columns:1fr;}
}
