
:root{
  --navy:#17395f;
  --navy-deep:#0f2d4d;
  --navy-soft:#eaf2fb;
  --blue:#2b67b1;
  --ink:#17304e;
  --muted:#687b91;
  --line:#dce6f1;
  --bg:#f5f9fd;
  --white:#fff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink);background:#fff}
a{text-decoration:none;color:inherit}
.site-header{
  height:78px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:34px;
  padding:0 6vw;background:#fff;border-bottom:1px solid #e6edf5;position:sticky;top:0;z-index:50
}
.brand{display:flex;align-items:center;gap:11px}
.brand img{width:48px;height:48px;object-fit:cover;border-radius:12px}
.brand div{display:flex;align-items:flex-end;gap:5px}.brand strong{font-size:26px;letter-spacing:.04em}.brand span{font-size:11px;color:#6e7e90;margin-bottom:4px}
nav{justify-self:center;display:flex;gap:32px;font-size:14px;font-weight:600}
nav a{padding:28px 0 22px;border-bottom:2px solid transparent}
nav a.active,nav a:hover{border-color:#244f83;color:#17395f}
.header-cta{background:#f7f9fc;border:1px solid #d9e3ed;padding:13px 18px;border-radius:9px;font-weight:700;font-size:14px}
.header-cta span{margin-left:18px;font-size:20px}
.menu{display:none;border:0;background:none;font-size:26px;color:var(--navy)}

.hero{
  position:relative;background:
  linear-gradient(90deg,rgba(15,45,77,.98) 0%,rgba(15,45,77,.95) 42%,rgba(21,57,95,.87) 60%,rgba(21,57,95,.73) 100%);
  color:#fff;overflow:hidden
}
.hero:after{
  content:"";position:absolute;right:-120px;top:-80px;width:58%;height:120%;
  background:
   radial-gradient(circle at 35% 35%,rgba(255,255,255,.16),transparent 34%),
   linear-gradient(130deg,rgba(255,255,255,.08),rgba(255,255,255,.02));
  transform:skewX(-7deg)
}
.hero-inner{
  max-width:1500px;margin:auto;min-height:535px;padding:68px 6vw 40px;
  display:grid;grid-template-columns:1fr .9fr;gap:70px;align-items:center;position:relative;z-index:2
}
.eyebrow,.section-kicker{font-size:12px;letter-spacing:.22em;font-weight:700;color:#a9bed8}
.hero h1{font-size:clamp(48px,5vw,74px);line-height:1.03;letter-spacing:-.045em;margin:18px 0 18px;max-width:760px}
.hero-text{font-size:16px;line-height:1.65;color:#e2eaf3;max-width:650px}
.hero-actions{display:flex;gap:16px;margin:28px 0 30px}
.btn{display:inline-flex;align-items:center;gap:20px;padding:14px 20px;border-radius:8px;font-weight:700;font-size:14px}
.btn.light{background:#fff;color:#17395f}.btn.outline{border:1px solid rgba(255,255,255,.58);color:#fff}
.btn.navy{background:#183c67;color:#fff}
.stats{display:grid;grid-template-columns:repeat(3,1fr);max-width:650px;margin-top:26px}
.stats div{padding-right:28px;border-right:1px solid rgba(255,255,255,.22)}
.stats div+div{padding-left:30px}.stats div:last-child{border:0}
.stats strong{display:block;font-size:35px}.stats span{font-size:12px;color:#d3deea}

.hero-people{display:flex;justify-content:flex-end;align-items:center}
.office-card{
  width:100%;max-width:650px;height:410px;border-radius:26px;position:relative;overflow:hidden;
  background:linear-gradient(135deg,#c7d8e7 0%,#eef4f8 45%,#a9bfd3 100%);
  box-shadow:0 24px 60px rgba(0,0,0,.2)
}
.office-card:before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,transparent 0 13%,rgba(255,255,255,.48) 13% 15%,transparent 15% 30%,rgba(255,255,255,.55) 30% 32%,transparent 32% 100%);
  opacity:.65
}
.person{position:absolute;width:150px;height:205px;border-radius:50% 50% 18% 18%;display:grid;place-items:start center;padding-top:34px;box-shadow:0 8px 20px rgba(0,0,0,.12)}
.person span{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#1e3b5e;font-weight:800}
.p1{left:40px;bottom:18px;background:#94bce7}.p2{left:165px;bottom:32px;background:#d5e9f7}.p3{left:300px;bottom:12px;background:#8aa2bc}.p4{right:22px;bottom:28px;background:#b3c7da}
.work-label{position:absolute;right:20px;bottom:18px;display:flex;align-items:center;gap:12px;background:rgba(20,48,77,.78);color:#fff;padding:14px 18px;border:1px solid rgba(255,255,255,.2);border-radius:13px;backdrop-filter:blur(7px)}
.play{width:34px;height:34px;border-radius:50%;background:#d8e8ff;color:#235594;display:grid;place-items:center}.work-label div{display:flex;flex-direction:column}.work-label strong{font-size:13px}.work-label small{font-size:11px;color:#d9e5f0}

.services-bar{display:grid;grid-template-columns:repeat(4,1fr);padding:28px 6vw;background:#fff;border-bottom:1px solid var(--line)}
.services-bar article{padding:0 28px;border-right:1px solid var(--line)}.services-bar article:first-child{padding-left:0}.services-bar article:last-child{border:0}
.icon-box{width:56px;height:56px;border-radius:12px;background:#e7f0ff;color:#2b5fb0;display:grid;place-items:center;font-weight:800;font-size:18px}
.services-bar h3{font-size:18px;margin:14px 0 7px}.services-bar p{font-size:13px;color:var(--muted);line-height:1.55;margin:0}

.team-section{background:linear-gradient(180deg,#edf5fc 0%,#f8fbfe 100%);padding:52px 6vw 68px;display:grid;grid-template-columns:.9fr 2.1fr;gap:48px;align-items:center}
.team-intro h2,.section-heading h2,.about-copy h2,.contact-section h2{font-size:clamp(34px,3.8vw,54px);line-height:1.08;letter-spacing:-.04em;margin:12px 0 18px}
.team-intro>p:not(.section-kicker),.section-heading>p:last-child,.about-copy>p,.contact-section>div>p:last-child{color:var(--muted);line-height:1.7}
.team-intro .btn{margin-top:10px}
.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.team-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:8px 8px 16px;box-shadow:0 8px 22px rgba(33,67,105,.06)}
.portrait{height:160px;border-radius:12px;display:grid;place-items:center}
.portrait span{width:74px;height:74px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:22px;font-weight:800;color:#244a73;box-shadow:0 10px 24px rgba(34,62,91,.1)}
.portrait-a{background:linear-gradient(135deg,#cadff2,#eaf3f9)}
.portrait-b{background:linear-gradient(135deg,#e0edf7,#c9dfef)}
.portrait-c{background:linear-gradient(135deg,#d8e5f0,#bcd0df)}
.portrait-d{background:linear-gradient(135deg,#dbe7f1,#c7d9e8)}
.team-card h3{font-size:15px;margin:14px 10px 4px}.role{font-size:12px;color:#728197;margin:0 10px 10px}
.chips{display:flex;gap:6px;flex-wrap:wrap;padding:0 10px}.chips span{font-size:10px;background:#edf3f8;border-radius:20px;padding:6px 9px;color:#54677c}

.work-section{padding:90px 6vw;background:#fff}
.section-heading{max-width:760px;margin-bottom:38px}.section-kicker{color:#5d7fa8}
.work-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.work-grid article{padding:30px;background:#f8fbfe;border:1px solid var(--line);border-radius:16px}
.work-grid span{font-size:11px;color:#7890aa}.work-grid h3{font-size:20px}.work-grid p{color:var(--muted);font-size:14px;line-height:1.65}

.about-section{padding:95px 6vw;display:grid;grid-template-columns:.7fr 1.3fr;gap:80px;align-items:center;background:#f5f9fd}
.about-logo{background:#fff;border:1px solid var(--line);border-radius:24px;padding:45px;max-width:400px;box-shadow:0 18px 50px rgba(35,70,105,.08)}
.about-logo img{width:100%;display:block;border-radius:18px}
.about-points{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}.about-points span{font-size:14px;font-weight:600}

.contact-section{padding:85px 6vw;display:grid;grid-template-columns:1.2fr .8fr;gap:60px;align-items:center;background:#fff}
.contact-card{border:1px solid var(--line);background:#f8fbfe;border-radius:18px;padding:30px;display:flex;flex-direction:column;gap:8px}
.contact-card span{font-size:11px;text-transform:uppercase;letter-spacing:.14em;color:#8090a2}.contact-card a{font-size:26px;font-weight:800;color:#214e82}.contact-card small{font-size:10px;color:#9aa5b1}

footer{padding:28px 6vw;background:#f8fbfe;border-top:1px solid var(--line);display:flex;align-items:center;gap:34px;font-size:12px;color:#718196}
footer p{flex:1}.footer-brand img{width:38px;height:38px}.footer-brand strong{font-size:20px}

@media(max-width:1050px){
  .site-header{grid-template-columns:auto 1fr auto}.site-header nav{display:none}
  .menu{display:block}.header-cta{display:none}
  nav.open{display:flex;position:absolute;top:78px;left:0;right:0;background:#fff;flex-direction:column;padding:22px 6vw;gap:6px;border-bottom:1px solid var(--line)}
  nav.open a{padding:11px 0}
  .hero-inner{grid-template-columns:1fr}.hero-people{justify-content:center}.office-card{max-width:760px}
  .services-bar{grid-template-columns:1fr 1fr;gap:24px}.services-bar article{border:0;padding:0}
  .team-section{grid-template-columns:1fr}.team-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:650px){
  .site-header{padding:0 20px}.brand strong{font-size:22px}
  .hero-inner{padding:56px 22px 34px}.hero h1{font-size:47px}.hero-actions{flex-direction:column;align-items:flex-start}
  .stats{grid-template-columns:1fr;gap:16px}.stats div,.stats div+div{padding:0;border:0}
  .office-card{height:330px}.person{width:110px;height:160px}.person span{width:54px;height:54px}.p2{left:95px}.p3{left:180px}.p4{right:5px}
  .services-bar{grid-template-columns:1fr;padding:26px 22px}.team-section,.work-section,.about-section,.contact-section{padding-left:22px;padding-right:22px}
  .team-grid,.work-grid,.about-points{grid-template-columns:1fr}.about-section,.contact-section{grid-template-columns:1fr}
  footer{padding:24px 22px;flex-wrap:wrap}
}

.hero-photo-wrap{
  width:100%;
  max-width:690px;
  height:410px;
  position:relative;
  overflow:hidden;
  border-radius:26px;
  box-shadow:0 24px 60px rgba(0,0,0,.2);
  background:#d7e4f0;
}
.hero-photo-wrap>img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}
.portrait-img{
  width:100%;
  height:160px;
  object-fit:cover;
  object-position:center top;
  display:block;
  border-radius:12px;
}
@media(max-width:650px){
  .hero-photo-wrap{height:330px}
  .portrait-img{height:190px}
}

.work-section{
  padding:88px 6vw 96px;
  background:linear-gradient(180deg,#f5faff 0%,#ffffff 100%);
}
.work-heading{
  max-width:none;
  margin-bottom:38px;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:40px;
}
.work-heading>div{max-width:800px}
.work-link{
  white-space:nowrap;
  color:#245a96;
  font-size:14px;
  font-weight:700;
  padding-bottom:10px;
}
.portfolio-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.project-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 28px rgba(28,61,96,.06);
  transition:transform .2s ease,box-shadow .2s ease;
}
.project-card:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 38px rgba(28,61,96,.1);
}
.project-card>img{
  width:100%;
  height:190px;
  object-fit:cover;
  display:block;
  background:#dce8f3;
}
.project-card.featured{
  grid-column:span 1;
}
.project-card.featured>img{height:220px}
.project-body{padding:24px}
.project-type{
  display:block;
  font-size:10px;
  letter-spacing:.16em;
  font-weight:800;
  color:#5c7fa8;
  margin-bottom:10px;
}
.project-body h3{
  font-size:21px;
  margin:0 0 11px;
  color:#18395f;
}
.project-body>p{
  font-size:13px;
  line-height:1.68;
  color:var(--muted);
  margin:0 0 16px;
}
.project-body ul{
  margin:0 0 18px;
  padding-left:18px;
  color:#667a91;
  font-size:12px;
  line-height:1.75;
}
.tech{display:flex;gap:7px;flex-wrap:wrap}
.tech span{
  background:#edf4fb;
  border:1px solid #e1ebf5;
  color:#4e6680;
  border-radius:20px;
  padding:6px 9px;
  font-size:10px;
}
.project-footer{
  border-top:1px solid #edf1f5;
  padding-top:17px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
}
.project-footer a{
  white-space:nowrap;
  font-size:11px;
  font-weight:700;
  color:#2461a7;
}
.portfolio-note{
  font-size:10px;
  color:#9aa6b3;
  text-align:center;
  margin:28px auto 0;
  max-width:900px;
  line-height:1.6;
}
@media(max-width:1050px){
  .portfolio-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:650px){
  .work-heading{display:block}
  .work-link{display:inline-block;margin-top:8px}
  .portfolio-grid{grid-template-columns:1fr}
  .project-card>img,.project-card.featured>img{height:210px}
}

/* Updated team photography */
.team-section{grid-template-columns:minmax(240px,.75fr) minmax(0,2.25fr);align-items:center}
.team-grid{gap:16px}
.team-card{padding:8px 8px 18px;overflow:hidden}
.team-card .portrait-img{height:220px;object-fit:cover;object-position:center 27%;background:#e8f0f7}
.team-card h3{font-size:16px;margin-top:16px}
.team-card .role{font-size:12px;line-height:1.5;margin-bottom:0}
.hero-photo-wrap>img{object-position:center 35%}
@media(max-width:1100px){.team-section{grid-template-columns:1fr}.team-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:720px){.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.team-card .portrait-img{height:230px}}
@media(max-width:430px){.team-grid{grid-template-columns:1fr 1fr;gap:10px}.team-card .portrait-img{height:170px}.team-card h3{font-size:14px}}
