:root {
  --navy: #07182e;
  --navy-2: #0e294c;
  --blue: #224d7e;
  --blue-2: #3b6c9e;
  --ice: #edf4f8;
  --mist: #f5f7f9;
  --line: #d6dee6;
  --ink: #111a26;
  --muted: #5e6a78;
  --white: #ffffff;
  --max: 1240px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.section { padding: 120px 0; }
.section-soft { background: var(--mist); }
.section-dark { background: var(--navy); color: var(--white); }
.hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(1px,1px,1px,1px) !important; white-space: nowrap !important; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 9999; background: var(--white); padding: 10px 14px; transition: top .2s ease; }
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(7,24,46,.08);
  backdrop-filter: blur(14px);
}
.nav-wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display:flex; align-items:center; height:100%; }
.brand img { width: 104px; height: auto; max-height: 72px; object-fit: contain; display: block; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.main-nav > a:not(.nav-cta) { position: relative; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--blue); transition: right .25s ease; }
.main-nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: 13px 18px; background: var(--navy); color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 1px; background: var(--navy); margin: 5px 0; }

.hero { position: relative; min-height: 760px; height: 88vh; display: flex; align-items: flex-end; overflow: hidden; color: var(--white); padding-top: 82px; }
.hero-bg, .contact-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg { background-image: url('assets/hero.webp'); background-position: center 48%; transform: scale(1.01); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,15,32,.82) 0%, rgba(2,15,32,.52) 46%, rgba(2,15,32,.04) 80%), linear-gradient(0deg, rgba(2,15,32,.46), transparent 50%); }
.hero-content { position: relative; z-index: 2; padding-bottom: 78px; }
.eyebrow { margin: 0 0 18px; color: var(--blue); text-transform: uppercase; font-size: 12px; letter-spacing: .18em; font-weight: 700; }
.eyebrow.light { color: #dce9f4; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Helvetica Neue", Arial, sans-serif; font-weight: 400; letter-spacing: -.035em; line-height: .98; }
h1 { font-size: clamp(58px, 6.7vw, 100px); max-width: 980px; margin-bottom: 28px; }
h2 { font-size: clamp(42px, 5.3vw, 78px); margin-bottom: 28px; }
h3 { font-weight: 600; line-height: 1.25; }
.hero-copy { max-width: 700px; font-size: clamp(18px, 1.65vw, 23px); line-height: 1.48; color: rgba(255,255,255,.96); font-weight: 400; }
.hero-actions { display: flex; align-items: center; gap: 32px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1px solid transparent; font-weight: 700; font-size: 13px; letter-spacing: .015em; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-dark { background: var(--navy); color: var(--white); width: max-content; }
.text-link { font-weight: 600; font-size: 14px; }
.text-link span { margin-left: 6px; }
.hero-index { position: absolute; z-index: 2; right: 30px; bottom: 34px; writing-mode: vertical-rl; letter-spacing: .14em; font-size: 10px; color: rgba(255,255,255,.58); }

.stats { border-bottom: 1px solid var(--line); }
.stats-grid { min-height: 150px; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.stat:first-child { border-left: 1px solid var(--line); }
.stat strong { font-size: clamp(28px, 3vw, 43px); font-weight: 500; color: var(--navy); letter-spacing: -.04em; }
.stat span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }

.split-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 86px; align-items: center; }
.manifesto-copy h2 { color: var(--navy); }
.manifesto-lines { border-left: 1px solid var(--blue); padding-left: 24px; margin: 34px 0; }
.manifesto-lines p { margin: 8px 0; font-size: 20px; color: var(--blue); font-weight: 400; }
.body-lead { color: var(--muted); max-width: 620px; font-size: 16px; line-height: 1.8; }
.image-panel { margin: 0; position: relative; }
.image-panel img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.image-panel figcaption { position: absolute; left: 18px; bottom: 18px; background: rgba(255,255,255,.94); color: var(--navy); padding: 10px 14px; text-transform: uppercase; letter-spacing: .13em; font-size: 10px; }

.section-heading { max-width: 760px; margin-bottom: 58px; }
.section-heading.narrow { max-width: 640px; }
.section-heading p:last-child { color: var(--muted); line-height: 1.8; max-width: 700px; }
.services-grid { border-top: 1px solid #cdd7df; display: grid; grid-template-columns: repeat(5, 1fr); }
.service-card { padding: 32px 24px 28px 0; border-bottom: 1px solid #cdd7df; }
.service-card + .service-card { padding-left: 24px; border-left: 1px solid #cdd7df; }
.service-card span, .value-card span { font-size: 11px; letter-spacing: .15em; color: var(--blue-2); }
.service-card h3 { min-height: 54px; font-size: 17px; color: var(--navy); margin: 22px 0 14px; }
.service-card p { color: var(--muted); font-size: 13px; line-height: 1.65; }

.scale-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.scale-card { position: relative; overflow: hidden; min-height: 460px; background: var(--navy); }
.scale-card img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .5s ease; }
.scale-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(4,16,32,.9)); }
.scale-card div { position: absolute; left: 34px; right: 34px; bottom: 30px; z-index: 2; color: var(--white); }
.scale-card:hover img { transform: scale(1.035); }
.card-kicker { margin-bottom: 8px; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; color: #d8e6f3; }
.scale-card h3 { margin: 0; max-width: 520px; font-size: 22px; font-weight: 500; }

.dark-heading p:last-child { color: rgba(255,255,255,.7); }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.project-card { position: relative; min-height: 420px; overflow: hidden; background: #0c2341; }
.project-wide { grid-column: 1 / -1; min-height: 560px; }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,13,27,.88), transparent 62%); }
.project-card:hover img { transform: scale(1.025); }
.project-meta { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 26px; }
.project-meta span { text-transform: uppercase; font-size: 10px; letter-spacing: .16em; color: #c4d9ec; }
.project-meta h3 { margin: 8px 0 4px; color: var(--white); font-size: 23px; max-width: 620px; }
.project-meta p { margin: 0; color: rgba(255,255,255,.72); }
.clients { margin-top: 68px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.16); }
.clients > p { color: rgba(255,255,255,.55); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.client-list { display: flex; flex-wrap: wrap; gap: 12px; }
.client-list span { border: 1px solid rgba(255,255,255,.18); padding: 12px 16px; color: rgba(255,255,255,.92); font-size: 12px; letter-spacing: .08em; }

.process-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: 90px; align-items: start; }
.process-intro { position: sticky; top: 122px; }
.process-intro > p:not(.eyebrow) { color: var(--muted); max-width: 500px; line-height: 1.8; }
.process-intro img { width: 100%; margin-top: 42px; aspect-ratio: 4/3; object-fit: cover; }
.process-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 78px 1fr; gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.process-list li > span { font-size: 26px; font-weight: 300; color: var(--blue); }
.process-list h3 { margin-bottom: 8px; font-size: 18px; color: var(--navy); }
.process-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.commitment { background: #fbfcfd; }
.commitment-top { display: grid; grid-template-columns: 1.2fr .8fr; column-gap: 80px; align-items: end; }
.commitment-top .eyebrow { grid-column: 1 / -1; }
.commitment-top h2 { margin-bottom: 0; }
.commitment-top > p:last-child { color: var(--muted); line-height: 1.8; margin-bottom: 10px; }
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 72px; border-top: 1px solid var(--line); }
.value-card { padding: 28px 22px 18px 0; }
.value-card + .value-card { padding-left: 22px; border-left: 1px solid var(--line); }
.value-card h3 { font-size: 17px; color: var(--navy); margin: 18px 0 10px; }
.value-card p { color: var(--muted); font-size: 13px; line-height: 1.65; }

.presence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.presence-grid h2 { font-size: clamp(40px,4.8vw,68px); }
.cities, .sector-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.cities span, .sector-list span { border: 1px solid #cbd6df; background: rgba(255,255,255,.55); padding: 11px 14px; font-size: 13px; color: var(--navy); }

.contact { position: relative; color: var(--white); overflow: hidden; }
.contact-bg { background-image: url('assets/building.webp'); background-position: center; }
.contact-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,21,42,.97) 0%, rgba(5,21,42,.89) 55%, rgba(5,21,42,.7) 100%); }
.contact-layout { position: relative; z-index: 2; min-height: 760px; padding: 100px 0; display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: center; }
.contact-copy h2 { font-size: clamp(62px,7vw,105px); }
.contact-copy > p:not(.eyebrow) { max-width: 500px; color: rgba(255,255,255,.77); font-size: 18px; }
.contact-links { margin-top: 38px; display: grid; gap: 10px; font-size: 14px; }
.contact-links a { width: fit-content; border-bottom: 1px solid rgba(255,255,255,.35); }
.contact-form { background: rgba(255,255,255,.97); color: var(--ink); padding: 34px; }
.contact-form label { display: grid; gap: 7px; margin-bottom: 18px; font-size: 12px; font-weight: 700; color: var(--navy); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 0; border-bottom: 1px solid #b9c3cc; background: transparent; border-radius: 0; padding: 10px 0; color: var(--ink); outline: none; }
.contact-form textarea { border: 1px solid #cbd3da; padding: 12px; resize: vertical; min-height: 120px; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--blue); }
.form-note { color: #77818b; font-size: 11px; margin: 12px 0 0; }

.site-footer { background: #f6f8fa; border-top: 1px solid var(--line); }
.footer-grid { min-height: 190px; display: grid; grid-template-columns: 1.3fr 1fr .7fr; gap: 60px; align-items: center; }
.footer-logo { width: 112px; height:auto; }
.footer-grid p { margin: 4px 0; font-size: 13px; color: var(--muted); }
.footer-links { display: grid; gap: 8px; justify-content: end; font-size: 13px; }
.footer-bottom { min-height: 70px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: #75808b; font-size: 11px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .main-nav { gap: 18px; }
  .services-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card + .service-card, .value-card + .value-card { border-left: 0; padding-left: 0; }
  .service-card:nth-child(even), .value-card:nth-child(even) { padding-left: 24px; border-left: 1px solid #cdd7df; }
  .split-grid, .process-layout, .contact-layout { gap: 54px; }
}

@media (max-width: 850px) {
  .container { width: min(calc(100% - 34px), var(--max)); }
  .section { padding: 86px 0; }
  .nav-wrap { height: 72px; }
  .brand img { width: 92px; max-height: 62px; }
  .nav-toggle { display: block; }
  .main-nav { position: fixed; top: 72px; left: 0; right: 0; background: rgba(255,255,255,.99); padding: 28px 24px 34px; border-bottom: 1px solid var(--line); display: grid; gap: 0; transform: translateY(-120%); opacity: 0; pointer-events: none; transition: .25s ease; }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid #e2e7eb; }
  .main-nav .nav-cta { margin-top: 14px; padding: 14px 16px; text-align: center; border-bottom: 0; }
  .hero { min-height: 720px; height: 86vh; padding-top: 72px; }
  .hero-content { padding-bottom: 64px; }
  .hero-shade { background: linear-gradient(90deg, rgba(2,15,32,.86), rgba(2,15,32,.48)); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .split-grid, .process-layout, .commitment-top, .presence-grid, .contact-layout { grid-template-columns: 1fr; }
  .image-panel img { aspect-ratio: 4/3; }
  .scale-card { min-height: 390px; }
  .process-intro { position: static; }
  .contact-layout { padding: 84px 0; }
  .commitment-top { gap: 22px; }
  .commitment-top h2 { margin-bottom: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding: 46px 0; }
  .footer-links { justify-content: start; }
}

@media (max-width: 620px) {
  h1 { font-size: clamp(50px, 16vw, 72px); }
  h2 { font-size: clamp(38px, 12vw, 55px); }
  .hero-bg { background-position: 54% center; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 14px; }
  .services-grid, .values-grid, .scale-grid, .projects-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(even), .value-card, .value-card:nth-child(even) { padding: 26px 0; border-left: 0; }
  .service-card h3 { min-height: auto; }
  .scale-card { min-height: 380px; }
  .project-wide { grid-column: auto; min-height: 430px; }
  .project-card { min-height: 380px; }
  .process-list li { grid-template-columns: 58px 1fr; gap: 12px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 25px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { gap: 18px; padding: 22px 0; align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
