:root {
  --navy: #071f43;
  --navy-2: #0d315d;
  --blue: #087db2;
  --aqua: #dff4f5;
  --sky: #eef8fb;
  --gold: #c89b45;
  --ivory: #fbfaf6;
  --ink: #15263c;
  --muted: #617184;
  --line: rgba(7, 31, 67, .13);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); line-height: 1.6; }
a { color: inherit; }
img { display: block; width: 100%; }
.skip-link { position: fixed; left: 1rem; top: -5rem; background: white; color: var(--navy); padding: .8rem 1rem; z-index: 100; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: .9rem clamp(1rem, 4vw, 4.5rem); color: white; background: rgba(7,31,67,.96); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.12); }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 2.35rem; height: 2.35rem; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-family: var(--serif); font-size: .9rem; letter-spacing: .05em; }
.brand-name { font-family: var(--serif); font-size: 1.08rem; letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.2rem); }
.site-nav a { text-decoration: none; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.site-nav a:not(.nav-cta):hover { color: #bcecf2; }
.nav-cta { padding: .65rem 1.05rem; border: 1px solid var(--gold); color: #fff5df; }
.menu-toggle { display: none; padding: .55rem .8rem; border: 1px solid rgba(255,255,255,.35); background: transparent; color: white; font: inherit; }

.hero { position: relative; background: var(--navy); }
.hero-picture img { aspect-ratio: 8 / 3; object-fit: cover; }
.mobile-hero-copy { display: none; }
.hero-actions { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.25rem clamp(1rem, 5vw, 5.5rem); background: white; border-bottom: 1px solid var(--line); }
.hero-actions p { margin: 0; color: var(--navy-2); font-family: var(--serif); font-size: clamp(1rem, 1.5vw, 1.25rem); }
.button-row { display: flex; gap: .75rem; flex: 0 0 auto; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .75rem 1.1rem; text-decoration: none; font-size: .77rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--navy); }
.button-secondary { color: var(--navy); border: 1px solid var(--navy); background: transparent; }

.section { padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 6vw, 7rem); }
.section-kicker { margin-bottom: 1rem; color: var(--gold); font-size: .72rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.section-kicker.light { color: #ffd98c; }
h2 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(2.2rem, 4.7vw, 4.6rem); font-weight: 400; line-height: 1.03; letter-spacing: -.035em; }
h3 { color: var(--navy); }
.profile { background: var(--ivory); }
.profile-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 7vw, 8rem); align-items: start; }
.profile-copy { max-width: 47rem; color: #43546a; font-size: clamp(1rem, 1.25vw, 1.17rem); }
.profile-copy p:first-child { margin-top: .3rem; color: var(--ink); font-size: clamp(1.18rem, 1.65vw, 1.5rem); }
.value-proof { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; margin-top: clamp(3rem, 6vw, 5.5rem); padding: clamp(1.8rem, 4vw, 3.5rem); color: white; background: linear-gradient(120deg, var(--navy), #0b5277); box-shadow: 0 1.2rem 3rem rgba(7,31,67,.12); }
.value-proof-intro > span { color: #ffd98c; font-size: .7rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.value-proof-intro p { max-width: 42rem; margin: .7rem 0 0; color: #e1eef2; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.3; }
.value-proof-metrics { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid rgba(255,255,255,.22); }
.value-proof-metrics div { padding: 1.4rem; border-right: 1px solid rgba(255,255,255,.22); }
.value-proof-metrics div:last-child { border-right: 0; }
.value-proof-metrics strong, .value-proof-metrics span { display: block; }
.value-proof-metrics strong { color: white; font-family: var(--serif); font-size: clamp(2rem, 3.8vw, 3.6rem); font-weight: 400; line-height: 1; }
.value-proof-metrics span { margin-top: .65rem; color: #bcd5df; font-size: .72rem; font-weight: 700; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; }
.stat-band { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-band div { padding: 1.7rem 1.4rem; border-right: 1px solid var(--line); }
.stat-band div:last-child { border-right: 0; }
.stat-band strong, .stat-band span { display: block; }
.stat-band strong { color: var(--navy); font-family: var(--serif); font-size: clamp(1.3rem, 1.9vw, 2rem); font-weight: 400; line-height: 1.15; }
.stat-band span { margin-top: .25rem; color: var(--muted); font-size: .78rem; line-height: 1.4; }

.expertise { background: var(--navy); color: white; }
.expertise h2, .expertise h3 { color: white; }
.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 3rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-heading > p { margin: 0 0 .45rem; color: var(--muted); font-size: 1rem; }
.expertise .section-heading > p { color: #b8c8d8; }
.expertise-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid rgba(255,255,255,.16); }
.expertise-card { position: relative; min-height: 20rem; padding: 1.4rem; border-right: 1px solid rgba(255,255,255,.16); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0)); }
.expertise-card:last-child { border-right: 0; }
.expertise-card:hover { background: rgba(12,132,177,.17); }
.card-number { color: var(--gold); font-family: var(--serif); }
.expertise-card h3 { margin-top: 4.5rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; line-height: 1.16; }
.expertise-card p { color: #b8c8d8; font-size: .88rem; }

.projects { background: #f5f7f5; }
.project-feature { display: grid; grid-template-columns: 1.5fr .5fr; gap: 3rem; padding: clamp(2rem, 4vw, 4rem); color: white; background: linear-gradient(125deg, var(--navy), #0c668c); }
.project-location { color: #9ddde5; font-size: .75rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.project-feature h3 { margin: .3rem 0 1rem; color: white; font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 400; line-height: 1; }
.project-feature-copy > p:not(.project-location) { max-width: 48rem; color: #d7e8ed; font-size: 1.05rem; }
.project-feature-copy > span { color: #ffd98c; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.project-feature-tags { display: flex; flex-wrap: wrap; gap: .65rem; align-content: end; }
.project-feature-tags span { padding: .55rem .8rem; border: 1px solid rgba(255,255,255,.32); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); margin-top: 1.2rem; }
.project-card { min-height: 16rem; padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.68); }
.project-card p { margin: 0; color: var(--blue); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.project-card h3 { margin: 2.7rem 0 .8rem; font-family: var(--serif); font-size: 1.65rem; font-weight: 400; line-height: 1.08; }
.project-card span { display: block; color: var(--ink); font-size: .76rem; font-weight: 800; }
.project-card small { display: block; margin-top: .7rem; color: var(--muted); line-height: 1.45; }

@media (min-width: 1001px) {
  .project-card:nth-last-child(-n+2) { grid-column: span 2; }
}

.approach { background: var(--aqua); }
.approach > h2 { max-width: 55rem; }
.approach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: clamp(2.5rem, 6vw, 5rem); }
.approach-grid > div { padding: 1.5rem; background: rgba(255,255,255,.66); border-top: 3px solid var(--gold); }
.approach-grid span { color: var(--gold); font-family: var(--serif); font-size: 1.4rem; }
.approach-grid h3 { margin: 2rem 0 .8rem; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.approach-grid p { margin: 0; color: var(--muted); font-size: .88rem; }

.connect { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 8vw, 8rem); align-items: center; color: white; background: var(--navy); }
.connect h2 { color: white; }
.connect p { max-width: 44rem; color: #bacbda; font-size: 1.05rem; }
.contact-actions { border-top: 1px solid rgba(255,255,255,.2); }
.contact-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem .2rem; border-bottom: 1px solid rgba(255,255,255,.2); text-decoration: none; }
.contact-link span { color: #9cb4c8; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-link strong { color: white; font-family: var(--serif); font-size: 1.05rem; font-weight: 400; }
.contact-link:hover strong { color: #ffd98c; }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem clamp(1rem, 4vw, 4.5rem); color: #9bacc0; background: #04152e; font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; }

@media (max-width: 1000px) {
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-card { min-height: 16rem; border-bottom: 1px solid rgba(255,255,255,.16); }
  .expertise-card:last-child { grid-column: span 2; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .site-header { padding: .75rem 1rem; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1rem 1rem; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.14); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .9rem .2rem; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav-cta { margin-top: .5rem; text-align: center; }
  .hero { min-height: 78vh; overflow: hidden; }
  .hero-picture, .hero-picture img { position: absolute; inset: 0; height: 100%; }
  .hero-picture img { aspect-ratio: auto; object-fit: cover; object-position: center; opacity: .68; }
  .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,31,67,.18), rgba(7,31,67,.9)); }
  .mobile-hero-copy { position: absolute; z-index: 2; left: 1.3rem; right: 1.3rem; bottom: 2.5rem; display: block; color: white; }
  .mobile-hero-copy .eyebrow { color: #ffd98c; font-size: .72rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
  .mobile-hero-copy h1 { margin: .15rem 0 .6rem; font-family: var(--serif); font-size: clamp(3.4rem, 15vw, 5.5rem); font-weight: 400; line-height: .9; }
  .mobile-hero-copy > p:last-child { max-width: 18rem; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button-row { flex-direction: column; }
  .section { padding: 4.5rem 1.25rem; }
  .profile-grid, .section-heading, .project-feature, .connect, .value-proof { grid-template-columns: 1fr; gap: 2rem; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat-band div { border-bottom: 1px solid var(--line); }
  .stat-band div:nth-child(even) { border-right: 0; }
  .stat-band div:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
  .project-feature-tags { align-content: start; }
  .site-footer { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  .expertise-grid, .project-grid, .approach-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr; }
  .stat-band div, .stat-band div:nth-child(even) { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat-band div:last-child { grid-column: auto; border-bottom: 0; }
  .value-proof-metrics { grid-template-columns: 1fr; }
  .value-proof-metrics div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .value-proof-metrics div:last-child { border-bottom: 0; }
  .expertise-card:last-child { grid-column: auto; }
  .project-card { min-height: 14rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
