:root {
  color-scheme: light;
  --navy: #172d48;
  --secondary: #627080;
  --gray: #f4f5f6;
  --gutter: clamp(24px, 6.8vw, 110px);
  font-family: 'Segoe UI', 'Aptos', Arial, sans-serif;
  color: var(--navy);
  background: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid #769dc3; outline-offset: 5px; }
[hidden] { display: none !important; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 94px;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: #fff;
  border-bottom: 1px solid #e5e9ee;
}
main, .project-card { scroll-margin-top: 112px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 30; padding: 14px 20px; background: var(--navy); color: white; }
.skip-link:focus { top: 12px; }
.brand { display: inline-flex; flex-shrink: 0; margin-left: -37px; }
.brand img { width: 138px; height: 70px; object-fit: contain; }
.navigation { display: flex; align-items: center; gap: 36px; font-size: 14px; }
.navigation > a { padding: 13px 0; }
.navigation > a:hover { text-decoration: underline; text-underline-offset: 6px; }
.navigation .client-link { display: inline-flex; align-items: center; gap: 16px; margin-left: 12px; padding: 13px 21px; background: var(--navy); color: #fff; border-radius: 5px; font-size: 13px; }
.navigation .client-link:hover { background: #244363; text-decoration: none; }
.menu-toggle { display: none; }
.hero { position: relative; min-height: 600px; height: clamp(600px, 46vw, 720px); isolation: isolate; overflow: hidden; }
.hero-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; z-index: -2; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(12, 27, 43, .32) 0%, rgba(12, 27, 43, .14) 32%, transparent 58%), linear-gradient(0deg, rgba(12, 27, 43, .34), transparent 20%);
}
.hero-content { position: absolute; top: 22%; left: var(--gutter); right: var(--gutter); color: #fff; text-shadow: 0 1px 4px rgba(12, 27, 43, .65); }
.eyebrow { font-size: 11px; letter-spacing: 2.3px; font-weight: 400; line-height: 1.5; margin: 0 0 18px; text-transform: uppercase; color: var(--secondary); }
.hero-content .eyebrow { color: #fff; font-size: 11px; letter-spacing: 2.7px; }
h1 { font-size: clamp(36px, 3.4vw, 52px); line-height: 1.17; font-weight: 400; letter-spacing: -1.2px; margin: 0; }
.hero-description { font-size: 15px; line-height: 1.7; margin: 20px 0 27px; color: #edf2f7; }
.primary-action { display: inline-flex; align-items: center; gap: 26px; min-height: 46px; padding: 14px 22px; border-radius: 5px; background: transparent; color: #fff; font-size: 13px; border: 1px solid #fff; text-shadow: 0 1px 3px rgba(12, 27, 43, .65); }
.primary-action:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.project-caption { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 34px; color: #fff; background: transparent; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 28px; text-shadow: 0 1px 4px rgba(12, 27, 43, .65); }
.project-caption .eyebrow { grid-column: 1; font-size: 10px; margin: 0 0 7px; letter-spacing: 1.8px; color: #dce5ee; }
.project-caption h2 { grid-column: 1; margin: 0; font-size: 21px; font-weight: 400; line-height: 1.35; letter-spacing: -.3px; }
.project-caption a { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 24px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .6); font-size: 12px; min-height: 44px; }
.project-caption a:hover { border-color: #fff; }
.about-section, .contact-section { padding: 76px var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); scroll-margin-top: 24px; }
.about-section { background: var(--gray); }
.about-heading h2, .contact-heading h2 { margin: 0; font-size: clamp(28px, 3vw, 38px); font-weight: 400; line-height: 1.25; letter-spacing: -.7px; }
.about-copy { max-width: 600px; min-width: 0; }
.about-copy p { margin: 0 0 20px; color: var(--secondary); font-size: 15px; line-height: 1.8; }
.purpose-note { border-top: 1px solid #cbd2da; margin-top: 28px; padding-top: 24px; }
.purpose-note h3 { margin: 0 0 14px; font-size: 20px; font-weight: 400; }
.purpose-note p { margin-bottom: 0; }
.experience-note { border-top: 1px solid #cbd2da; margin-top: 32px; padding-top: 28px; }
.experience-note h3 { margin: 0 0 14px; font-size: 20px; font-weight: 400; }
.experience-note p { font-size: 14px; margin-bottom: 0; }
.contact-section { background: var(--navy); color: #fff; }
.contact-section .eyebrow, .contact-heading p:not(.eyebrow), .contact-details h3 { color: #c5cfdb; }
.contact-heading p:not(.eyebrow) { margin: 22px 0 0; font-size: 15px; line-height: 1.7; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; min-width: 0; }
.contact-details > div:last-child { grid-column: 1 / -1; }
.contact-details h3 { font-size: 11px; text-transform: uppercase; letter-spacing: 1.8px; font-weight: 400; margin: 0 0 12px; }
.contact-details a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.contact-details a:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact-details address { font-style: normal; font-size: 15px; line-height: 1.8; }
.contact-details .map-link { margin-top: 10px; gap: 20px; font-size: 13px; border-bottom: 1px solid #8291a3; }
@media (max-width: 760px) {
  .about-section, .contact-section { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; gap: 30px; }
  .contact-details { grid-template-columns: 1fr; gap: 24px; }
}
.portfolio { padding: 76px var(--gutter) 82px; scroll-margin-top: 112px; }
.portfolio-heading { margin-bottom: 32px; }
.portfolio-heading .eyebrow { margin-bottom: 12px; }
.portfolio-heading h2 { margin: 0; font-size: clamp(28px, 3vw, 38px); line-height: 1.2; font-weight: 400; letter-spacing: -.7px; }
.project-card { display: grid; grid-template-columns: 1.45fr 1fr; background: var(--gray); }
.project-card + .project-card { margin-top: 36px; }
.project-image { display: block; width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.project-details { padding: clamp(28px, 3.5vw, 56px); align-self: center; }
.project-status { margin: 0 0 22px; color: var(--secondary); font-size: 12px; letter-spacing: .3px; }
.project-details h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.25; font-weight: 400; letter-spacing: -.7px; margin: 0; }
.project-summary { color: var(--secondary); font-size: 14px; line-height: 1.75; max-width: 300px; margin: 20px 0 26px; }
.project-location { color: var(--secondary); font-size: 12px; line-height: 1.6; margin: 14px 0 0; }
.project-location + .project-summary { margin-top: 16px; max-width: 350px; }
.services-section { padding: 76px var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); scroll-margin-top: 112px; }
.services-heading h2 { margin: 0; font-size: clamp(28px, 3vw, 38px); font-weight: 400; line-height: 1.25; letter-spacing: -.7px; }
.services-heading > p:last-child { color: var(--secondary); font-size: 15px; line-height: 1.8; max-width: 350px; margin-top: 22px; }
.services-list { min-width: 0; }
.services-list article { display: grid; grid-template-columns: 32px 1fr; gap: 20px; border-top: 1px solid #dce2e8; padding: 25px 0; }
.services-list article:last-child { border-bottom: 1px solid #dce2e8; }
.services-list article > span { font-size: 12px; color: var(--secondary); padding-top: 4px; }
.services-list h3 { margin: 0; font-size: 19px; line-height: 1.45; font-weight: 400; }
.services-list p { margin: 10px 0 0; color: var(--secondary); font-size: 14px; line-height: 1.75; }
.footer-legal { font-size: 12px; margin: 0 0 8px; line-height: 1.6; }
.gallery-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 12px 0; min-height: 44px; border: 0; border-bottom: 1px solid #aeb9c4; background: transparent; color: var(--navy); font-size: 13px; }
.gallery-link:hover { border-bottom-color: var(--navy); }
.project-gallery { width: min(1040px, calc(100% - 40px)); max-height: 90vh; padding: 32px; border: 0; color: var(--navy); }
.project-gallery::backdrop { background: rgba(12,27,43,.65); }
body:has(.project-gallery[open]) { overflow: hidden; }
.gallery-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.gallery-heading > div { min-width: 0; }
.gallery-heading .eyebrow { margin-bottom: 10px; }
.gallery-heading h2 { margin: 0; font-size: 25px; font-weight: 400; line-height: 1.3; }
.gallery-close { min-height: 44px; padding: 10px 0 10px 10px; border: 0; background: transparent; color: var(--secondary); font-size: 13px; flex-shrink: 0; }
.gallery-note { color: var(--secondary); font-size: 12px; line-height: 1.6; margin: 18px 0 25px; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gallery-grid figure { margin: 0; }
.gallery-grid figure:first-child { grid-column: 1 / -1; }
.gallery-grid img { display: block; width: 100%; height: auto; }
.gallery-grid figcaption { margin-top: 9px; font-size: 12px; color: var(--secondary); }
@media (max-width: 760px) {
  .portfolio { padding-top: 48px; padding-bottom: 48px; }
  .portfolio-heading { margin-bottom: 25px; }
  .project-card { grid-template-columns: 1fr; }
  .project-image { height: auto; min-height: 0; }
  .project-details { padding: 28px; }
  .project-status { margin-bottom: 16px; }
  .project-gallery { padding: 22px; width: calc(100% - 24px); }
  .gallery-heading h2 { font-size: 21px; }
  .gallery-grid { grid-template-columns: 1fr; }
}
.preview-footer { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--gray); color: var(--secondary); padding: 19px var(--gutter); font-size: 11px; line-height: 1.6; }
.about-section, .contact-section { scroll-margin-top: 112px; }
.corporate-footer { padding: 36px var(--gutter) 20px; background: #fff; color: var(--secondary); }
.footer-main { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid #e5e9ee; }
.footer-name { margin: 0 0 8px; font-size: 15px; letter-spacing: 1.4px; color: var(--navy); }
.footer-description { margin: 0; font-size: 12px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 12px; }
.footer-nav a { padding: 14px 0; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 18px; font-size: 11px; line-height: 1.6; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .navigation { gap: 22px; } .navigation .client-link { margin-left: 0; } }
@media (max-width: 760px) {
  main, .project-card, .portfolio, .about-section, .contact-section { scroll-margin-top: 98px; }
  .services-section { grid-template-columns: 1fr; gap: 24px; padding-top: 48px; padding-bottom: 48px; scroll-margin-top: 98px; }
  .services-list article { gap: 14px; padding: 22px 0; }
  .navigation.is-open { max-height: calc(100dvh - 82px); overflow-y: auto; }
  .footer-main, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .site-header { min-height: 82px; padding: 8px var(--gutter); flex-wrap: wrap; gap: 0; }
  .brand { margin-left: -31px; }
  .brand img { width: 116px; height: 66px; }
  .menu-toggle { display: inline-flex; gap: 10px; align-items: center; background: transparent; color: var(--navy); border: 0; border-radius: 5px; padding: 12px 0 12px 14px; min-height: 44px; font-size: 13px; }
  .navigation { display: none; flex-basis: 100%; align-items: stretch; gap: 0; border-top: 1px solid #e5e9ee; padding: 6px 0 15px; }
  .navigation.is-open { display: flex; flex-direction: column; }
  .navigation > a { min-height: 44px; padding: 15px 0; }
  .navigation .client-link { margin: 6px 0; justify-content: space-between; padding: 13px 18px; }
  .hero { height: 580px; min-height: 580px; }
  .hero-image { object-position: 43% center; }
  .hero::before { background: linear-gradient(90deg, rgba(12, 27, 43, .34), transparent 90%), linear-gradient(0deg, rgba(12, 27, 43, .36), transparent 26%); }
  .hero-content { top: 85px; }
  h1 { font-size: clamp(32px, 6vw, 42px); letter-spacing: -.8px; }
  .hero-description { font-size: 14px; max-width: 260px; margin: 19px 0 24px; }
  .project-caption { bottom: 25px; display: block; }
  .project-caption h2 { font-size: 18px; }
  .project-caption a { margin-top: 5px; padding: 11px 0 7px; gap: 21px; }
  .preview-footer { gap: 5px; flex-direction: column; }
}
@media (max-width: 360px) { .hero { height: 600px; min-height: 600px; } h1 { font-size: 30px; } .hero-content { top: 72px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
