:root {
  --navy: #071826;
  --navy-2: #0b2639;
  --ink: #132430;
  --muted: #5e6c75;
  --line: #d9e1e4;
  --surface: #f4f7f8;
  --white: #ffffff;
  --steel: #3d7796;
  --steel-light: #d9eaf1;
  --gold: #c4944b;
  --max: 1180px;
  --display: "Arial Narrow", "Aptos Display", Arial, sans-serif;
  --body: Aptos, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
code { padding: .08rem .28rem; background: #e8eef1; color: var(--navy); border-radius: 2px; font-size: .92em; }

.skip-link { position: absolute; left: -10000px; top: auto; z-index: 100; background: var(--white); color: var(--navy); padding: .8rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(7, 24, 38, .97); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.14); }
.nav-wrap { width: min(var(--max), calc(100% - 2.5rem)); min-height: 72px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; font-weight: 700; }
.brand-mark { width: 27px; height: 27px; position: relative; display: grid; place-items: center; color: var(--navy); background: var(--gold); font-family: Georgia, serif; font-size: 1.1rem; letter-spacing: 0; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(7,24,38,.45); }
.brand-mark::after { transform: rotate(45deg); }
.site-nav { display: flex; align-items: center; gap: .1rem; }
.site-nav a { color: #dbe5e9; text-decoration: none; padding: .55rem .7rem; font-size: .83rem; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.active { color: var(--white); }
.nav-cta { margin-left: .55rem; padding: .47rem .8rem !important; border: 1px solid rgba(255,255,255,.55); }
.menu-button { display: none; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.45); padding: .4rem .65rem; }

main { min-height: 65vh; }
.container { width: min(var(--max), calc(100% - 2.5rem)); margin: auto; }
.page-hero { padding: 4.8rem 0 3.8rem; background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero .container { max-width: 900px; margin-left: max(calc((100% - var(--max))/2), 1.25rem); }
.eyebrow, .section-kicker { margin: 0 0 .7rem; color: var(--steel); font-size: .73rem; line-height: 1.25; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; line-height: 1.06; }
h1 { margin: 0; font-size: clamp(2.5rem, 6vw, 5.25rem); font-weight: 700; }
h2 { margin: 0 0 .75rem; font-size: clamp(1.55rem, 2.5vw, 2.35rem); }
h3 { margin: 1.7rem 0 .5rem; font-size: 1.2rem; }
.lead { max-width: 720px; font-size: clamp(1.06rem, 1.65vw, 1.25rem); color: #435560; }
.section { padding: 5.5rem 0; }
.section-muted { background: var(--surface); }
.section-heading { margin-bottom: 2.1rem; display: flex; gap: 1rem; align-items: end; justify-content: space-between; }
.section-heading > p { max-width: 560px; margin: 0; color: var(--muted); }

.hero { position: relative; overflow: hidden; padding: clamp(4.8rem, 10vw, 8.5rem) 0 4rem; color: var(--white); background: linear-gradient(105deg, #061622 0%, #0d2e43 65%, #16425c 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(90deg, #000, transparent); }
.hero .container { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: 3rem; align-items: end; }
.hero .eyebrow { color: #a9d4e8; }
.hero-title { max-width: 790px; }
.hero-title span { display: block; font-size: clamp(1.35rem, 3vw, 2.45rem); letter-spacing: -.01em; color: #cbdbe2; margin-top: .7rem; }
.hero-copy { max-width: 680px; margin: 1.3rem 0 0; color: #d7e5eb; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; padding: .72rem 1rem; font-size: .84rem; font-weight: 800; text-decoration: none; letter-spacing: .04em; text-transform: uppercase; border: 1px solid transparent; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: #141d22; }
.button-secondary { border-color: rgba(255,255,255,.5); color: var(--white); }
.hero-drawing { min-height: 330px; position: relative; border: 1px solid rgba(205,231,241,.44); background: rgba(1,16,26,.22); display: grid; place-items: center; }
.hero-drawing::before { content: ""; width: 68%; aspect-ratio: 1.35; border: 2px solid rgba(205,231,241,.68); transform: skewY(-9deg); box-shadow: 0 0 0 28px rgba(205,231,241,.05), 0 0 0 56px rgba(205,231,241,.03); }
.hero-drawing::after { content: "PROJECT DELIVERY / CONSTRUCTION COORDINATION"; position: absolute; right: .9rem; bottom: .75rem; color: #a9d4e8; font-size: .65rem; font-weight: 800; letter-spacing: .12em; writing-mode: vertical-rl; }
.hero-annotation { position: absolute; left: 1.2rem; bottom: 1rem; color: #a9d4e8; font-family: var(--display); font-size: 1.6rem; letter-spacing: .08em; }

.metric-bar { position: relative; margin-top: -1px; background: var(--navy); color: var(--white); }
.metric-bar .container { display: grid; grid-template-columns: repeat(5, 1fr); }
.metric-bar .container > div { min-height: 128px; padding: 1.45rem 1.1rem; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid rgba(255,255,255,.14); }
.metric-bar .container > div:last-child { border-right: 1px solid rgba(255,255,255,.14); }
.metric-bar strong, .case-metrics strong { font-family: var(--display); font-size: 2.15rem; line-height: 1; letter-spacing: -.04em; }
.metric-bar span { margin-top: .45rem; color: #b4c7d0; font-size: .78rem; line-height: 1.35; }

.intro-grid, .case-grid, .two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 6rem); }
.intro-grid p { color: #42535d; }
.intro-grid .lead-statement { margin: 0; color: var(--ink); font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.45rem); line-height: 1.16; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.project-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); background: var(--white); transition: box-shadow .2s ease, transform .2s ease; }
.project-card:hover { box-shadow: 0 14px 38px rgba(11,38,57,.12); transform: translateY(-3px); }
.project-card-body { padding: 1.35rem 1.3rem 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.project-card h2 { font-size: 1.45rem; }
.project-card p { font-size: .93rem; }
.project-role, .timeline-meta { margin: -.2rem 0 1rem !important; color: var(--muted); font-size: .82rem !important; }
.project-metrics { display: flex; flex-wrap: wrap; gap: .42rem .65rem; margin: auto 0 1.25rem; padding-top: 1rem; color: #52636c; font-size: .7rem; }
.project-metrics span { padding-right: .65rem; border-right: 1px solid var(--line); }
.project-metrics span:last-child { border-right: 0; }
.project-metrics b { color: var(--navy); }
.text-link { display: inline-flex; align-items: center; gap: .4rem; width: fit-content; color: var(--steel); text-decoration: none; font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.text-link:hover { color: var(--navy); }

.media-frame { position: relative; margin: 0; min-height: 210px; overflow: hidden; background: #dae4e7; }
.media-frame img { display: block; width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
.media-empty { display: none; position: absolute; inset: 0; padding: 1.2rem; color: #38515f; background: repeating-linear-gradient(135deg, #e8eff1, #e8eff1 12px, #dfe9ec 12px, #dfe9ec 13px); flex-direction: column; justify-content: flex-end; }
.media-empty span { margin-bottom: .45rem; color: var(--steel); font-size: .68rem; letter-spacing: .12em; font-weight: 800; text-transform: uppercase; }
.media-empty strong { max-width: 90%; font-family: var(--display); font-size: 1.25rem; line-height: 1.1; }
.media-empty small { margin-top: .5rem; font-size: .74rem; }
.media-frame.is-empty .media-empty { display: flex; }
.media-frame.is-empty img { opacity: 0; }
.media-frame figcaption { position: absolute; left: -10000px; }
.media-frame:not(.is-empty) { background: #0a1b27; }
.media-frame:not(.is-empty) img { position: relative; z-index: 1; }

.quote-band { padding: 4.5rem 0; background: var(--steel-light); border-block: 1px solid #c2dae4; }
.quote-band blockquote { max-width: 900px; margin: 0; color: var(--navy); font-family: var(--display); font-size: clamp(1.8rem, 4vw, 3.3rem); line-height: 1.16; letter-spacing: -.035em; }
.quote-band cite { display: block; margin-top: 1.3rem; color: #486170; font-family: var(--body); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-style: normal; }

.footer { padding: 3.5rem 0 1.4rem; background: var(--navy); color: #e0eaee; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer h2 { margin: .65rem 0; font-size: 1.55rem; color: var(--white); }
.footer p, .footer a { font-size: .86rem; color: #b8cbd3; }
.footer a { display: block; margin: .28rem 0; text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer-label { margin: 0; color: #92bdd1 !important; font-size: .68rem !important; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.footer-bottom { width: min(var(--max), calc(100% - 2.5rem)); margin: 2.9rem auto 0; padding-top: 1.2rem; color: #8ca5b0; border-top: 1px solid rgba(255,255,255,.15); font-size: .72rem; }

.filter-bar { display: flex; flex-wrap: wrap; gap: .55rem; margin: 2.2rem 0 1rem; }
.filter-button { border: 1px solid var(--line); background: var(--white); padding: .58rem .75rem; color: var(--ink); font-size: .78rem; }
.filter-button[aria-pressed="true"] { border-color: var(--navy); color: var(--white); background: var(--navy); }
.project-count { margin: 0 0 1.45rem; color: var(--muted); font-size: .8rem; }

.timeline { max-width: 900px; margin: 0 auto; padding-left: 2.2rem; position: relative; }
.timeline::before { content: ""; position: absolute; top: .7rem; bottom: .7rem; left: .5rem; width: 1px; background: #a3c5d5; }
.timeline-item { position: relative; padding: 0 0 3.5rem; }
.timeline-marker { position: absolute; width: 1rem; height: 1rem; left: -2.18rem; top: .2rem; background: var(--steel); border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--steel); }
.timeline-item h2 { margin-bottom: .35rem; }
.timeline-summary { color: var(--steel); font-weight: 700; }
.timeline-item ul, .check-list { padding-left: 1.15rem; }
.timeline-item li, .check-list li { margin: .55rem 0; }
.check-list li::marker { color: var(--steel); }

.capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.capability-card { min-height: 250px; padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capability-index { color: var(--steel); font-family: var(--display); font-size: 1.3rem; font-weight: 700; }
.capability-card h2 { margin-top: 1.5rem; font-size: 1.3rem; }
.capability-card ul { padding: 0; margin: 1rem 0 0; list-style: none; color: var(--muted); font-size: .86rem; }
.capability-card li { margin: .4rem 0; }

.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.resource-card { min-height: 265px; padding: 1.5rem; display: flex; flex-direction: column; border-top: 4px solid var(--steel); background: var(--surface); }
.resource-card h2 { font-size: 1.5rem; }
.resource-card p { color: var(--muted); font-size: .92rem; }
.resource-card .button { margin-top: auto; align-self: flex-start; color: var(--white); background: var(--navy); }
.resource-card .button-disabled { color: #62747d; background: #dce5e8; cursor: not-allowed; }
.resource-card .button-disabled:hover { transform: none; }
.notice { max-width: 800px; margin: 3rem auto 0; padding: 1.1rem 1.25rem; color: #405761; background: var(--steel-light); border-left: 4px solid var(--steel); font-size: .9rem; }

.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.contact-details { padding: 1.65rem; background: var(--navy); color: var(--white); }
.contact-details a, .contact-details p { color: #c5d9e1; text-decoration: none; }
.contact-details a:hover { color: var(--white); }
.contact-details dl { margin: 2rem 0 0; }
.contact-details dt { margin-top: 1.1rem; color: #92bdd1; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-details dd { margin: .18rem 0; overflow-wrap: anywhere; }
.contact-form { display: grid; gap: 1.1rem; }
.field label { display: block; margin-bottom: .4rem; font-size: .8rem; font-weight: 700; }
.field input, .field textarea { width: 100%; border: 1px solid #b9c6cb; border-radius: 0; padding: .75rem; color: var(--ink); background: var(--white); }
.field textarea { min-height: 155px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid #b9d9e6; border-color: var(--steel); }
.contact-form .button { border: 0; align-self: start; background: var(--navy); color: var(--white); }
.form-note { margin: 0; color: var(--muted); font-size: .78rem; }

.back-link { display: inline-block; margin: 2rem 0 0; color: var(--steel); text-decoration: none; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.case-hero { display: grid; grid-template-columns: 1fr .82fr; gap: clamp(2rem, 6vw, 6rem); align-items: stretch; padding: 2.7rem 0 4rem; }
.case-hero h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.case-hero .media-frame { min-height: 400px; }
.case-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-meta span { display: flex; flex-direction: column; min-height: 74px; padding: .8rem; border-right: 1px solid var(--line); color: var(--muted); font-size: .76rem; line-height: 1.3; }
.case-meta span:last-child { border-right: 0; }
.case-meta b { margin-bottom: .35rem; color: var(--steel); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.safety-note { margin: -1.2rem 0 3.5rem; padding: 1rem 1.15rem; color: #405761; background: #eef5f7; border-left: 4px solid var(--steel); font-size: .88rem; }
.case-section { padding: 3.9rem 0; border-top: 1px solid var(--line); }
.case-section p { max-width: 700px; color: #43545e; }
.case-section h2 { margin-bottom: 1rem; }
.case-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.case-metrics div { padding: 1.1rem .9rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-metrics strong { display: block; color: var(--navy); font-size: 1.55rem; }
.case-metrics span { color: var(--muted); font-size: .72rem; line-height: 1.3; }
.dark-band { padding: 3.7rem; background: var(--navy); border: 0; color: var(--white); }
.dark-band .section-kicker { color: #92bdd1; }
.dark-band p { color: #d4e2e8; font-size: 1.1rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gallery-grid .media-frame { min-height: 205px; }
.video-frame { position: relative; min-height: 250px; margin-top: 1rem; overflow: hidden; background: #0a1b27; }
.video-frame video { display: block; width: 100%; min-height: 250px; object-fit: contain; background: #0a1b27; }
.video-empty { display: none; position: absolute; inset: 0; padding: 1.25rem; background: repeating-linear-gradient(135deg, #e8eff1, #e8eff1 12px, #dfe9ec 12px, #dfe9ec 13px); color: #38515f; flex-direction: column; justify-content: flex-end; }
.video-frame.is-empty .video-empty { display: flex; }
.video-frame.is-empty video { opacity: 0; }
.video-empty span { margin-bottom: .45rem; color: var(--steel); font-size: .7rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.video-empty strong { font-family: var(--display); font-size: 1.3rem; }
.video-empty small { margin-top: .45rem; }

.gallery-card { border: 1px solid var(--line); background: var(--white); }
.gallery-card a { display: block; text-decoration: none; }
.gallery-card .media-frame { min-height: 200px; }
.gallery-card > a > div:last-child { padding: 1rem 1.1rem; }
.gallery-card h2 { margin: 0; font-size: 1.25rem; }
.gallery-card p:last-child { margin: .3rem 0 0; color: var(--muted); font-size: .8rem; }

@media (max-width: 900px) {
  .site-nav { gap: 0; }
  .site-nav a { padding: .5rem .45rem; font-size: .75rem; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-grid { grid-template-columns: 1fr; }
  .case-hero { grid-template-columns: 1fr; }
  .case-hero .media-frame { min-height: 330px; }
}

@media (max-width: 680px) {
  .nav-wrap { min-height: 64px; }
  .menu-button { display: block; }
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; padding: .7rem 1.25rem 1.1rem; flex-direction: column; align-items: stretch; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.14); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .7rem 0; font-size: .85rem; }
  .nav-cta { margin: .5rem 0 0; padding: .65rem !important; text-align: center; }
  .hero .container, .intro-grid, .case-grid, .two-column, .contact-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 4.2rem; }
  .hero-drawing { display: none; }
  .metric-bar .container { grid-template-columns: repeat(2, 1fr); }
  .metric-bar .container > div { min-height: 108px; }
  .metric-bar .container > div:last-child { grid-column: span 2; }
  .metric-bar .container > div:nth-child(3) { border-left: 1px solid rgba(255,255,255,.14); }
  .section { padding: 4rem 0; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: .8rem; }
  .project-grid, .gallery-grid { grid-template-columns: 1fr; }
  .project-card { max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .footer { padding-top: 2.6rem; }
  .timeline { padding-left: 1.6rem; }
  .timeline-marker { left: -1.6rem; }
  .case-meta, .case-metrics { grid-template-columns: 1fr; }
  .case-meta span { min-height: unset; border-right: 0; border-bottom: 1px solid var(--line); }
  .case-meta span:last-child { border-bottom: 0; }
  .dark-band { padding: 2rem 1.3rem; }
  .capability-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button, .project-card { transition: none; } }
