/* Home page: institutional layout. Loaded only by index.html, after styles.css. */
.h-hero { position: relative; color: #fff; background: #0a1c30; padding: 0; overflow: hidden; }
.h-hero .h-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .42; }
.h-hero .h-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,28,48,.96) 0%, rgba(10,28,48,.82) 45%, rgba(10,28,48,.35) 100%); }
.h-hero .wrap { position: relative; z-index: 1; padding-top: 112px; padding-bottom: 104px; }
.h-hero .eyebrow { color: var(--accent); }
.h-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 820px; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.h-hero .lede { font-size: 1.15rem; color: #d5dfea; max-width: 640px; margin-top: 18px; }
.h-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.h-hero .btn { border-radius: 2px; }
.h-hero .btn-ghost { border-radius: 2px; }

.h-stats { background: #0f2742; color: #fff; padding: 0; border-top: 1px solid #1f3a5c; }
.h-stats .wrap { display: grid; grid-template-columns: repeat(5, 1fr); }
.h-stat { padding: 30px 20px 30px 0; border-right: 1px solid #23415f; margin-right: 20px; }
.h-stat:last-child { border-right: 0; margin-right: 0; }
.h-stat strong { display: block; font-family: "Archivo", sans-serif; font-size: 2rem; font-weight: 800; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.h-stat span { display: block; font-size: .85rem; color: #aebdcd; margin-top: 6px; line-height: 1.4; }
@media (max-width: 900px) {
  .h-stats .wrap { grid-template-columns: 1fr 1fr; }
  .h-stat { border-right: 0; margin-right: 0; border-bottom: 1px solid #23415f; padding-right: 12px; }
}

.h-sec { padding: 88px 0; }
.h-sec.soft { background: var(--bg-soft); }
.h-head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.h-head h2 { margin: 0; text-wrap: balance; }
.h-head p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .h-head { grid-template-columns: 1fr; gap: 12px; } }
.h-rule { width: 48px; height: 3px; background: var(--accent); margin-bottom: 18px; }

.h-services { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 56px; border-top: 1px solid var(--line); }
.h-service { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.h-service h3 { font-size: 1.05rem; margin: 0; }
.h-service p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .h-services { grid-template-columns: 1fr; } .h-service { grid-template-columns: 1fr; gap: 6px; } }

.h-sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.h-sector { position: relative; display: block; min-height: 280px; color: #fff; text-decoration: none; overflow: hidden; background: #0a1c30; }
.h-sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; transition: opacity .25s, transform .4s; }
.h-sector::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,28,48,0) 30%, rgba(10,28,48,.92) 100%); }
.h-sector .t { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; }
.h-sector h3 { color: #fff; margin: 0 0 6px; font-size: 1.25rem; }
.h-sector p { margin: 0; font-size: .9rem; color: #d5dfea; }
.h-sector:hover img, .h-sector:focus-visible img { opacity: .8; transform: scale(1.03); }
.h-sector.wide { grid-column: span 2; }
@media (max-width: 860px) { .h-sectors { grid-template-columns: 1fr; } .h-sector.wide { grid-column: auto; } }

.h-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.h-project { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.h-project .img { aspect-ratio: 16 / 10; overflow: hidden; background: #dfe5ec; }
.h-project .img img { width: 100%; height: 100%; object-fit: cover; }
.h-project .body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.h-project .loc { text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 800; color: var(--accent-dark); }
.h-project h3 { margin: 0; font-size: 1.15rem; }
.h-project p { margin: 0; color: var(--muted); font-size: .95rem; }
.h-project dl { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: .88rem; }
.h-project dt { font-weight: 700; color: var(--navy); }
.h-project dd { margin: 0; color: var(--ink); }
@media (max-width: 960px) { .h-projects { grid-template-columns: 1fr; } }
.h-more { margin-top: 32px; }
.h-more a { font-weight: 700; color: var(--navy-2); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

.h-life { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: phase; border-top: 3px solid var(--navy); }
.h-phase { padding: 22px 18px 0 0; }
.h-phase .n { font-family: "Archivo", sans-serif; font-weight: 800; color: var(--accent-dark); font-size: .85rem; letter-spacing: .1em; }
.h-phase h3 { font-size: 1.05rem; margin: 6px 0 8px; }
.h-phase p { margin: 0; font-size: .92rem; color: var(--muted); }
@media (max-width: 900px) { .h-life { grid-template-columns: 1fr 1fr; gap: 0 20px; } }
@media (max-width: 520px) { .h-life { grid-template-columns: 1fr; } }

.h-clients { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.h-clients ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.h-clients li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.h-clients li strong { display: block; color: var(--navy); font-family: "Archivo", sans-serif; }
.h-clients li span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .h-clients { grid-template-columns: 1fr; gap: 28px; } }

.h-callout { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: 28px; }
.h-callout h3 { font-size: 1.3rem; }
.h-callout p { color: var(--muted); }
.h-callout .links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.h-callout .links a { font-weight: 700; color: var(--navy-2); text-decoration: none; }
.h-callout .links a:hover { color: var(--accent-dark); }

.h-offices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.h-office { border-top: 3px solid var(--navy); padding-top: 18px; }
.h-office h3 { margin-bottom: 6px; }
.h-office p { margin: 0; color: var(--muted); }
@media (max-width: 700px) { .h-offices { grid-template-columns: 1fr; } }

.h-cta { background: #0a1c30; color: #fff; padding: 72px 0; }
.h-cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.h-cta h2 { color: #fff; margin: 0 0 8px; }
.h-cta p { margin: 0; color: #c3d0de; max-width: 560px; }
.h-cta .btn { border-radius: 2px; }

@media (prefers-reduced-motion: reduce) { .h-sector img { transition: none; } }