* { box-sizing: border-box; }
:root {
  color-scheme: light;
  --blue: #1b64a8;
  --navy: #123458;
  --ink: #18334f;
  --muted: #51667c;
  --paper: #fbfcfe;
  --line: #dce6f1;
  --gutter: clamp(20px, 4vw, 52px);
}
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: var(--navy); }
a:focus-visible { outline: 3px solid #3d91d5; outline-offset: 5px; }
.container { width: min(calc(100% - var(--gutter) * 2), 1160px); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 5; background: #fff; padding: .6rem 1rem; border-radius: 6px; }
.skip-link:focus { top: .5rem; }
.site-header { background: #fff; }
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 16px; color: var(--navy); text-decoration: none; flex-shrink: 0; }
.brand img { width: 56px; height: 58px; object-fit: contain; }
.brand-name { font-size: 24px; font-weight: 650; letter-spacing: -.045em; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 600; }
.site-nav a:hover { color: var(--blue); }
.contact-nav { padding: 10px 20px; background: #edf4fb; border: 1px solid #dce9f5; border-radius: 8px; }
.hero { position: relative; width: min(calc(100% - 32px), 1280px); margin: 0 auto; overflow: hidden; border-radius: 24px; background: linear-gradient(112deg, rgba(8, 38, 72, .97), rgba(18, 69, 115, .92) 60%, rgba(28, 106, 166, .83)), url("header.png") center / cover; color: #fff; }
.hero-inner { position: relative; padding: 60px clamp(28px, 5vw, 72px) 64px; }
.hero-copy { position: relative; z-index: 1; max-width: 740px; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: 12px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.hero-eyebrow { color: #badbf4; letter-spacing: .18em; }
.hero h1 { max-width: 17ch; margin: 0; font: 400 clamp(44px, 5.7vw, 76px)/1.08 Georgia, "Times New Roman", serif; letter-spacing: -.038em; text-wrap: balance; }
.hero-intro { max-width: 590px; margin: 24px 0 0; color: #e0edf8; font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 12px 20px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none; transition: background-color .15s, border-color .15s; }
.button span { font-size: 18px; font-weight: 400; }
.button-light { background: #fff; color: var(--navy); }
.button-light:hover { background: #e7f2fc; color: var(--navy); }
.button-outline { border-color: #7296b9; color: #fff; background: rgba(255, 255, 255, .04); }
.button-outline:hover { border-color: #fff; background: rgba(255, 255, 255, .12); color: #fff; }
.hero-mark { position: absolute; right: 25px; top: 50%; width: min(37%, 420px); height: auto; transform: translateY(-50%) rotate(-7deg); filter: brightness(0) invert(1); opacity: .08; pointer-events: none; }
.portfolio-section { padding-block: 62px 60px; }
.section-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.section-rule { width: 36px; height: 3px; flex-shrink: 0; background: var(--blue); }
h2 { margin: 0; color: var(--navy); font-size: clamp(27px, 3vw, 34px); line-height: 1.2; font-weight: 600; letter-spacing: -.035em; }
.portfolio { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 24px; }
.portfolio-card { flex: 1 1 280px; min-width: 0; padding: 28px 30px 30px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.project-number { display: block; margin-bottom: 24px; font-size: 12px; color: var(--blue); font-weight: 650; letter-spacing: .12em; }
.portfolio-card h3 { margin: 0 0 9px; color: var(--navy); font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -.03em; }
.portfolio-card h3 a { color: inherit; text-decoration: none; }
.portfolio-card h3 a:hover { color: var(--blue); text-decoration: underline; }
.project-arrow { margin-left: 8px; font-size: 20px; color: var(--blue); font-weight: 400; }
.project-description { margin: 0; color: var(--muted); font-size: 16px; white-space: pre-line; }
.project-status { display: inline-block; margin: 22px 0 0; padding: 4px 10px; background: #eef4fb; border-radius: 5px; color: #315d86; font-size: 12px; font-weight: 500; }
.contact-section { display: grid; grid-template-columns: .9fr 1.2fr; gap: 64px; padding: 42px 44px; background: #edf4fc; border: 1px solid #dfeafa; border-radius: 18px; }
.contact-heading h2 { max-width: 10ch; margin-bottom: 25px; font: 400 clamp(34px, 3.5vw, 44px)/1.12 Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
.email-link { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--navy); text-decoration: none; }
.email-link:hover { color: var(--blue); text-decoration: underline; }
.email-link span { overflow-wrap: anywhere; }
.email-arrow { margin-left: 4px; font-size: 20px; font-weight: 400; }
.envelope { width: 23px; height: 23px; flex-shrink: 0; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-copy { align-self: center; }
.contact-copy p { margin: 0; color: #3c5874; font-size: 16px; line-height: 1.8; }
.contact-copy p + p { margin-top: 22px; padding-top: 22px; border-top: 1px solid #d3e0f0; }
.site-footer { display: flex; justify-content: space-between; gap: 24px; padding-block: 32px 36px; color: var(--muted); font-size: 12px; }
.site-footer span:first-child { color: var(--navy); font-weight: 600; }
.not-found { max-width: 720px; margin: 8vh auto; padding: 2rem; }
.not-found h1 { color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
@media (max-width: 860px) {
  .hero-mark { right: -60px; width: 48%; opacity: .055; }
  .contact-section { grid-template-columns: 1fr; gap: 28px; padding: 34px; }
  .contact-heading h2 { max-width: none; }
}
@media (max-width: 600px) {
  .header-inner { min-height: 82px; gap: 12px; }
  .brand { gap: 10px; }
  .brand img { width: 42px; height: 46px; }
  .brand-name { font-size: 20px; }
  .portfolio-nav { display: none; }
  .contact-nav { padding: 9px 14px; }
  .hero { width: calc(100% - 24px); border-radius: 18px; }
  .hero-inner { padding: 40px 26px 44px; }
  .hero h1 { font-size: clamp(41px, 10.5vw, 56px); max-width: 16ch; line-height: 1.12; }
  .hero-eyebrow { font-size: 10px; letter-spacing: .13em; margin-bottom: 20px; }
  .hero-intro { margin-top: 22px; font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 340px; margin-top: 26px; gap: 10px; }
  .button { font-size: 13px; gap: 12px; padding-inline: 15px; }
  .hero-mark { right: -85px; width: 70%; top: 50%; opacity: .04; }
  .portfolio-section { padding-block: 40px; }
  .section-heading { margin-bottom: 22px; gap: 12px; }
  .section-rule { width: 28px; }
  .portfolio { flex-direction: column; gap: 16px; }
  .portfolio-card { flex-basis: auto; padding: 24px; }
  .project-number { margin-bottom: 18px; }
  .portfolio-card h3 { font-size: 23px; }
  .contact-section { padding: 28px 24px; border-radius: 16px; gap: 25px; }
  .contact-heading h2 { font-size: 36px; }
  .contact-copy p { font-size: 15px; }
  .site-footer { flex-direction: column; gap: 5px; padding-block: 26px 30px; }
}
@media (max-width: 360px) {
  .brand-name { font-size: 18px; }
  .contact-nav { padding-inline: 11px; }
  .hero-inner { padding-inline: 22px; }
  .contact-section { padding-inline: 20px; }
  .email-link { font-size: 14px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
