/* ACT Power Services sample site — page layout. Builds on act-web.css tokens and components. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font: 400 16px/26px var(--font-sans); color: var(--ink); background: var(--surface); }
img, video { max-width: 100%; display: block; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { max-width: var(--container-max); margin: 0 auto; padding-left: max(var(--space-5), env(safe-area-inset-left, 0px)); padding-right: max(var(--space-5), env(safe-area-inset-right, 0px)); }
.section { padding-block: var(--space-9); }
.section.alt { background: var(--surface-alt); }
.section.tint { background: var(--surface-tint); }
.section.dark { background: var(--surface); color: var(--ink); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: var(--on-primary); padding: 8px 16px; border-radius: var(--radius-md); z-index: 100; }
.skip:focus { left: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: var(--shadow-raised); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); height: var(--header-height); }
:root { --header-height: 90px; }
.brand img { height: 60px; width: auto; }
.main-nav { display: flex; align-items: center; gap: var(--space-5); }
.main-nav > a:not(.act-btn) { font: 500 15px/20px var(--font-sans); color: var(--ink); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.main-nav > a:not(.act-btn):hover { color: var(--link); }
.main-nav > a[aria-current="page"] { color: var(--link); border-bottom-color: var(--brand-aqua); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-md); width: 44px; height: 44px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { margin: auto; }
@media (max-width: 1080px) {
  :root { --header-height: 76px; }
  .brand img { height: 48px; }
  .site-header .bar { height: 76px; }
  .nav-toggle { display: grid; place-items: center; }
  .main-nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-raised); padding: var(--space-3) var(--space-5) var(--space-5); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; max-height: calc(100vh - 76px); overflow: auto; }
  .main-nav.open { opacity: 1; transform: none; visibility: visible; }
  .main-nav > a:not(.act-btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .main-nav > a[aria-current="page"] { border-bottom-color: var(--line); }
  .main-nav .act-btn { margin-top: var(--space-4); justify-content: center; }
}

/* ---------- curve divider ---------- */
.curve { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 72px; display: block; pointer-events: none; }
.curve.top { top: -1px; bottom: auto; transform: scaleY(-1); }
.curve .fill { fill: var(--surface); }
.curve.to-alt .fill { fill: var(--surface-alt); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; color: var(--on-inverse); background-color: var(--surface-inverse); background-size: cover; background-position: center; }
.page-hero .wrap { padding-top: var(--space-9); padding-bottom: calc(var(--space-9) + 56px); }
.crumbs { font: 500 13px/18px var(--font-sans); color: var(--on-inverse-muted); margin-bottom: var(--space-5); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--on-inverse); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero .act-eyebrow { color: var(--brand-light-green); }
.page-hero h1 { font: 700 56px/62px var(--font-sans); letter-spacing: -.01em; margin: 0 0 var(--space-4); max-width: 16ch; }
.page-hero p.lead { font: 400 19px/31px var(--font-sans); color: var(--on-inverse-muted); max-width: 56ch; margin: 0; }
@media (max-width: 760px) { .page-hero h1 { font-size: 38px; line-height: 46px; } .page-hero .wrap { padding-top: var(--space-8); } }

/* ---------- home hero (video) ---------- */
.home-hero { position: relative; min-height: min(86vh, 780px); display: flex; align-items: center; color: var(--on-inverse); overflow: hidden; background: var(--surface-inverse); }
.home-hero video, .home-hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,47,87,.94) 0%, rgba(10,76,140,.78) 38%, rgba(0,123,135,.35) 70%, rgba(34,197,94,.15) 100%); }
.home-hero .wrap { position: relative; width: 100%; padding-top: var(--space-9); padding-bottom: calc(var(--space-10) + 40px); }
.home-hero .act-eyebrow { color: var(--brand-light-green); }
.home-hero h1 { font: 700 72px/76px var(--font-sans); letter-spacing: -.015em; margin: 0 0 var(--space-5); max-width: 13ch; }
.home-hero h1 em { font-style: normal; color: var(--brand-light-green); }
.home-hero p.lead { font: 400 20px/32px var(--font-sans); color: #E2ECF6; max-width: 50ch; margin: 0 0 var(--space-6); }
.video-toggle { position: absolute; right: max(var(--space-5), env(safe-area-inset-right, 0px)); bottom: 96px; z-index: 2; background: rgba(6,47,87,.6); color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: var(--radius-pill); height: 40px; padding: 0 16px; font: 600 13px/1 var(--font-sans); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
@media (max-width: 900px) { .home-hero h1 { font-size: 52px; line-height: 58px; } }
@media (max-width: 560px) { .home-hero h1 { font-size: 40px; line-height: 46px; } .home-hero p.lead { font-size: 17px; line-height: 28px; } .video-toggle { bottom: 84px; } }

/* stat strip overlapping the hero */
.stat-strip { position: relative; z-index: 3; margin-top: -72px; }
.stat-strip .panel { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-raised); display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { padding: var(--space-6) var(--space-5); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font: 700 40px/44px var(--font-sans); color: var(--brand-deep-blue); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.stat .num span { color: var(--brand-teal); }
.stat .lbl { font: 500 13px/18px var(--font-sans); color: var(--ink-muted); margin-top: 6px; }
@media (max-width: 960px) { .stat-strip .panel { grid-template-columns: repeat(2, 1fr); } .stat { border-bottom: 1px solid var(--line); } .stat:nth-child(2n) { border-right: 0; } .stat:last-child { grid-column: 1 / -1; border-bottom: 0; } }

/* ---------- generic layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; }
.split.wide-left { grid-template-columns: 1.15fr .85fr; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split, .split.wide-left { grid-template-columns: 1fr; gap: var(--space-6); } }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 4 / 3; background: var(--surface-alt); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-badge { position: absolute; left: var(--space-4); bottom: var(--space-4); background: var(--surface); color: var(--ink); border-radius: var(--radius-md); padding: 10px 14px; font: 600 13px/18px var(--font-sans); box-shadow: var(--shadow-card); display: flex; gap: 10px; align-items: center; }
.media-badge i { width: 10px; height: 10px; border-radius: 50%; background: var(--brand-green); box-shadow: 0 0 0 4px rgba(34,197,94,.25); }
.prose p { margin: 0 0 var(--space-4); color: var(--ink-muted); font-size: 17px; line-height: 29px; }
.prose p.big { color: var(--ink); font-size: 20px; line-height: 32px; }
.checks { list-style: none; padding: 0; margin: var(--space-5) 0; display: grid; gap: var(--space-3); }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3); align-items: start; }
.checks li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 6px; background: var(--surface-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5l3.2 3.2L16 8' fill='none' stroke='%23007B87' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: var(--space-5); flex-wrap: wrap; margin-bottom: var(--space-7); }

/* ---------- service tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .tiles { grid-template-columns: 1fr; } }
.tile { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow-card); transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-raised); }
.tile .pic { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-alt); }
.tile .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover .pic img { transform: scale(1.04); }
.tile .body { padding: var(--space-5) var(--space-5) var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.tile .kicker { font: 600 12px/16px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--eyebrow); }
.tile h3 { font: 600 22px/30px var(--font-sans); margin: 0; }
.tile p { margin: 0; color: var(--ink-muted); flex: 1; }
.tile .more { margin-top: var(--space-3); font-weight: 600; color: var(--link); display: inline-flex; gap: 8px; align-items: center; }

/* ---------- control center (dark band) ---------- */
.band-dark { position: relative; background: #062F57; color: #F3F7FB; overflow: hidden; }
.band-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 100% 100%, rgba(34,197,94,.28), transparent 60%), radial-gradient(50% 60% at 0% 0%, rgba(0,191,165,.18), transparent 60%); }
.band-dark .wrap { position: relative; }
.band-dark h2 { color: #fff; }
.band-dark .act-eyebrow { color: var(--brand-green); }
.band-dark .prose p { color: #B9C9D9; }
.band-dark .checks li::before { background-color: rgba(110,231,183,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5l3.2 3.2L16 8' fill='none' stroke='%236EE7B7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.band-dark .media-frame { box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.band-dark .act-link-arrow { color: var(--brand-light-green); }
.live { display: inline-flex; gap: 8px; align-items: center; font: 600 12px/16px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-light-green); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-green); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 100% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font: 700 14px/1 var(--font-sans); letter-spacing: .1em; color: var(--brand-teal); margin-bottom: var(--space-4); }
.step::after { content: ""; position: absolute; left: var(--space-5); right: var(--space-5); top: 0; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--brand-deep-blue), var(--brand-aqua), var(--brand-green)); }
.step h3 { font: 600 20px/28px var(--font-sans); margin: 0 0 var(--space-2); }
.step p { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 24px; }

/* ---------- footprint ---------- */
.us-map { width: 100%; height: auto; }
.us-map .st { fill: #DCE6F0; stroke: #fff; stroke-width: 1; transition: fill .2s; }
.us-map .st.on { fill: var(--brand-teal); }
.us-map .st.on:hover { fill: var(--brand-green); }
.legend { display: flex; gap: var(--space-5); font: 500 13px/18px var(--font-sans); color: var(--ink-muted); margin-top: var(--space-3); flex-wrap: wrap; }
.legend span { display: inline-flex; gap: 8px; align-items: center; }
.legend i { width: 14px; height: 14px; border-radius: 4px; background: var(--brand-teal); }
.legend i.off { background: #DCE6F0; }
.chips { display: flex; gap: var(--space-2); flex-wrap: wrap; }

/* ---------- testimonials ---------- */
.quotes { position: relative; overflow: hidden; color: #fff; background-size: cover; background-position: center; }
.quotes .wrap { position: relative; padding-top: calc(var(--space-9) + 24px); padding-bottom: var(--space-9); }
.quotes::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,47,87,.92), rgba(6,47,87,.55)); }
.quote-stage { display: grid; }
.quote { margin: 0; grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; max-width: 880px; }
.quote.on { opacity: 1; visibility: visible; }
.quote blockquote { margin: 0; font: 600 30px/42px var(--font-sans); letter-spacing: -.005em; color: #fff; }
.quote blockquote::before { content: "\201C"; display: block; font: 700 96px/60px var(--font-sans); color: var(--brand-green); margin-bottom: var(--space-2); }
.quote figcaption { margin-top: var(--space-5); display: flex; gap: var(--space-4); align-items: center; }
.quote .avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 700 18px/1 var(--font-sans); color: #062F57; background: var(--brand-light-green); flex: none; }
.quote .who b { display: block; font-size: 16px; }
.quote .who span { color: #C9DAEB; font-size: 14px; }
.quote-nav { display: flex; gap: var(--space-3); align-items: center; margin-top: var(--space-7); }
.quote-nav button.dot { width: 34px; height: 6px; border-radius: 3px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; }
.quote-nav button.dot[aria-current="true"] { background: var(--brand-green); }
.quote-nav .arrow-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.quote-nav .arrow-btn:hover { background: rgba(255,255,255,.12); }
.sample-note { display: inline-block; margin-top: var(--space-5); font: 500 12px/16px var(--font-sans); color: #C9DAEB; border: 1px dashed rgba(255,255,255,.45); border-radius: var(--radius-pill); padding: 6px 12px; }
@media (max-width: 620px) { .quote blockquote { font-size: 22px; line-height: 32px; } }

/* ---------- news cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-raised); }
.post-card .pic { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-alt); }
.post-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.post-meta { display: flex; gap: var(--space-3); align-items: center; font: 500 13px/18px var(--font-sans); color: var(--ink-muted); flex-wrap: wrap; }
.post-card h3 { font: 600 20px/28px var(--font-sans); margin: 0; }
.post-card p { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 24px; flex: 1; }
.featured { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); text-decoration: none; color: inherit; margin-bottom: var(--space-7); }
.featured .pic { min-height: 340px; background: var(--surface-alt); }
.featured .pic img { width: 100%; height: 100%; object-fit: cover; }
.featured .body { padding: var(--space-7) var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); justify-content: center; }
.featured h2 { font: 700 32px/40px var(--font-sans); margin: 0; }
.featured p { margin: 0; color: var(--ink-muted); font-size: 17px; line-height: 28px; }
@media (max-width: 860px) { .featured { grid-template-columns: 1fr; } .featured .pic { min-height: 220px; } }
.filters { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-6); }
.filters button { font: 600 14px/20px var(--font-sans); padding: 8px 16px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--brand-deep-blue); border-color: var(--brand-deep-blue); color: #fff; }

/* article */
.article { max-width: 760px; margin: 0 auto; }
.article .lede { font: 400 21px/34px var(--font-sans); color: var(--ink); margin: 0 0 var(--space-6); }
.article p { font-size: 17px; line-height: 30px; color: #2A3C52; margin: 0 0 var(--space-5); }
.article h2 { font: 700 26px/34px var(--font-sans); margin: var(--space-7) 0 var(--space-3); }
.article figure { margin: var(--space-6) 0; }
.article figure img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article figcaption { font: 500 13px/18px var(--font-sans); color: var(--ink-muted); margin-top: 8px; }
.article blockquote { margin: var(--space-6) 0; padding: var(--space-5) var(--space-6); background: var(--surface-tint); border-radius: var(--radius-lg); font: 600 20px/30px var(--font-sans); color: var(--ink); }
.share { display: flex; gap: var(--space-3); align-items: center; padding-top: var(--space-5); border-top: 1px solid var(--line); margin-top: var(--space-7); font: 600 14px/20px var(--font-sans); }
.sample-tag { display: inline-flex; font: 600 11px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: var(--radius-pill); border: 1px dashed var(--ink-muted); color: var(--ink-muted); }

/* ---------- services page ---------- */
.subnav { position: sticky; top: var(--header-height); z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: var(--space-5); overflow-x: auto; scrollbar-width: none; }
.subnav a { white-space: nowrap; font: 600 14px/20px var(--font-sans); color: var(--ink-muted); text-decoration: none; padding: 16px 0; border-bottom: 3px solid transparent; }
.subnav a:hover, .subnav a.on { color: var(--link); border-bottom-color: var(--brand-aqua); }
@media (max-width: 1080px) { .subnav { top: 76px; } }
.svc { padding-block: var(--space-8); border-bottom: 1px solid var(--line); }
.svc:nth-of-type(even) .split > .media-frame { order: 2; }
@media (max-width: 900px) { .svc:nth-of-type(even) .split > .media-frame { order: 0; } }
.svc-num { font: 700 14px/1 var(--font-sans); letter-spacing: .1em; color: var(--brand-teal); }
.svc h2 { font: 700 34px/42px var(--font-sans); margin: var(--space-2) 0 var(--space-4); }

/* ---------- values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.value { padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.value .ic { width: 56px; height: 56px; border-radius: var(--radius-md); display: grid; place-items: center; margin-bottom: var(--space-4); background: var(--surface-tint); }
.value h3 { font: 700 24px/32px var(--font-sans); margin: 0 0 var(--space-2); }
.value p { margin: 0; color: var(--ink-muted); }

/* ---------- leadership ---------- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6) var(--space-5); }
@media (max-width: 960px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .people { grid-template-columns: 1fr; } }
/* ---------- gallery ---------- */
.grid-gallery { columns: 3 300px; column-gap: var(--space-4); }
.g-item { break-inside: avoid; margin-bottom: var(--space-4); position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: zoom-in; background: var(--surface-alt); display: block; width: 100%; padding: 0; border: 0; text-align: left; }
.g-item img, .g-item video { width: 100%; height: auto; transition: transform .4s; }
.g-item:hover img, .g-item:hover video { transform: scale(1.03); }
.g-item .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 14px 12px; background: linear-gradient(transparent, rgba(6,47,87,.85)); color: #fff; font: 600 13px/18px var(--font-sans); }
.g-item .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; box-shadow: var(--shadow-raised); }
.g-item[hidden] { display: none !important; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(2,20,38,.92); display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox.open { display: flex; }
.lightbox .stage img, .lightbox .stage video { max-height: 80vh; max-width: min(1200px, 92vw); width: auto; border-radius: var(--radius-md); }
.lightbox .lb-cap { color: #fff; text-align: center; margin-top: 12px; font: 500 14px/20px var(--font-sans); }
.lightbox .x, .lightbox .prev, .lightbox .next { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox .x { top: 16px; right: 16px; }
.lightbox .prev { left: 16px; top: 50%; }
.lightbox .next { right: 16px; top: 50%; }

/* ---------- careers ---------- */
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
@media (max-width: 960px) { .roles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .roles { grid-template-columns: 1fr; } }
.role-card { padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.role-card h3 { font: 600 19px/26px var(--font-sans); margin: var(--space-3) 0 var(--space-2); }
.role-card p { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 24px; }
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: var(--space-3); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.mosaic img:first-child { grid-row: 1 / 3; }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 140px 140px; } .mosaic img:first-child { grid-row: auto; grid-column: 1 / -1; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-7); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-7) var(--space-6); box-shadow: var(--shadow-card); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .act-field { max-width: none; }
.act-field textarea { min-height: 140px; resize: vertical; }
.act-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%234A5D73' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.form-success { display: none; padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface-tint); }
.form-success.show { display: block; }
.form-success h3 { margin: 0 0 var(--space-2); color: var(--success); font: 700 22px/30px var(--font-sans); }
.info-card { border-radius: var(--radius-lg); background: var(--surface-alt); padding: var(--space-6); display: grid; gap: var(--space-5); }
.info-card h3 { font: 600 13px/18px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--eyebrow); margin: 0 0 6px; }
.info-card p { margin: 0; }
.info-card .copy { margin-left: 8px; font: 600 12px/1 var(--font-sans); padding: 6px 10px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--ink); }
.map-embed { border: 0; width: 100%; height: 260px; border-radius: var(--radius-lg); }

/* ---------- CTA band ---------- */
.cta-band { border-radius: var(--radius-lg); padding: var(--space-8) var(--space-7); background: linear-gradient(110deg, var(--brand-deep-blue) 0%, var(--brand-teal) 65%, #0d9c8a 100%); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: var(--space-6); flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgba(110,231,183,.18); }
.cta-band h2 { font: 700 34px/42px var(--font-sans); margin: 0 0 var(--space-2); color: #fff; max-width: 22ch; }
.cta-band p { margin: 0; color: #DCEBF5; max-width: 52ch; }
.cta-band .act-row { position: relative; z-index: 1; }

/* ---------- footer ---------- */
.site-footer { position: relative; color: #fff; background-color: #062F57; background-size: cover; background-position: center; margin-top: var(--space-9); }
.site-footer .wrap { position: relative; padding-top: calc(var(--space-9) + 24px); padding-bottom: var(--space-6); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--space-7); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.logo-plate { display: inline-block; background: #fff; border-radius: var(--radius-lg); padding: 14px 18px; }
.logo-plate img { height: 40px; width: auto; }
.site-footer p { color: #C9DAEB; font-size: 15px; line-height: 24px; margin: var(--space-4) 0 0; max-width: 40ch; }
.site-footer h4 { font: 600 13px/18px var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brand-light-green); margin: 0 0 var(--space-4); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #fff; text-decoration: none; font-size: 15px; }
.site-footer a:hover { text-decoration: underline; color: var(--brand-light-green); }
.social { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; }
.foot-legal { margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid rgba(255,255,255,.18); display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; font-size: 13px; color: #C9DAEB; }
.foot-legal a { font-size: 13px; }
.foot-legal .tag { letter-spacing: .2em; font-weight: 500; color: var(--brand-light-green); }

/* mockup banner */
.mock-bar { background: #021E38; color: #C9DAEB; font: 500 12px/16px var(--font-sans); text-align: center; padding: 6px 16px; }
.mock-bar b { color: var(--brand-light-green); font-weight: 600; }

/* ---------- refinements ---------- */
.site-footer::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,47,87,.55), rgba(6,47,87,.82)); }
.site-footer > .curve { z-index: 1; }
.people { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .people { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .people { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .stat .num { font-size: 30px; line-height: 36px; } .stat { padding: var(--space-5) var(--space-4); } }

/* ---------- leadership cards + bio pop-out ---------- */
.person { --edge: var(--brand-teal); all: unset; box-sizing: border-box; display: flex; flex-direction: column; cursor: pointer; border-radius: var(--radius-lg); background: var(--surface); border: 3px solid var(--edge); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .2s, box-shadow .2s; }
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow-raised); }
.person:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.person .photo { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--brand-deep-blue); }
.person .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.person:hover .photo img { transform: scale(1.04); }
.person .body { display: flex; flex-direction: column; gap: 4px; padding: var(--space-4) var(--space-5) var(--space-5); border-top: 3px solid var(--edge); }
.person .pname { font: 700 20px/28px var(--font-sans); color: var(--ink); }
.person .role, .bio-modal .role { font: 600 12px/17px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--eyebrow); }
.bio-modal { --edge: var(--brand-teal); width: min(880px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(2,30,56,.45); overflow: auto; color: var(--ink); background: var(--surface); }
.bio-modal::backdrop { background: rgba(2,30,56,.72); backdrop-filter: blur(3px); }
.bio-modal[open] { animation: bioIn .25s ease-out; }
@keyframes bioIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.bio-inner { display: grid; grid-template-columns: 300px 1fr; border-top: 6px solid var(--edge); }
.bio-photo { background: linear-gradient(160deg, var(--surface-alt), var(--surface-tint)); }
.bio-photo { background: var(--brand-deep-blue); }
.bio-photo img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: center top; }
.bio-text { padding: var(--space-7) var(--space-6) var(--space-6); }
.bio-text h2 { font: 700 30px/38px var(--font-sans); margin: 6px 0 var(--space-4); }
.bio-text p { margin: 0 0 var(--space-4); color: var(--ink-muted); font-size: 16px; line-height: 27px; }
.bio-text .bio-lede { color: var(--ink); font-size: 18px; line-height: 29px; }
.bio-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; z-index: 1; }
.bio-close:hover { background: var(--surface-alt); }
@media (max-width: 700px) { .bio-inner { grid-template-columns: 1fr; } .bio-photo img { min-height: 0; height: 260px; } .bio-text { padding: var(--space-5); } }

/* ---------- services: no numbering ---------- */
.steps.plain .step::before { display: none; }

/* ---------- projects page ---------- */
.map-panel { margin-top: var(--space-7); padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface-alt); border: 1px solid var(--line); }
.map-panel .us-map { max-width: 1000px; margin: 0 auto; display: block; }
.regions { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
@media (max-width: 960px) { .regions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .regions { grid-template-columns: 1fr; } }
.region { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brand-teal); border-radius: var(--radius-lg); padding: var(--space-5); }
.region-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); margin-bottom: var(--space-4); }
.region h3 { font: 700 18px/24px var(--font-sans); margin: 0; }
.region-head span { font: 600 13px/18px var(--font-sans); color: var(--eyebrow); white-space: nowrap; }
.st-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.st-chips span { font: 600 13px/1 var(--font-sans); padding: 8px 10px; border-radius: var(--radius-sm); background: var(--surface-tint); color: var(--ink); min-width: 42px; text-align: center; }
.cover-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-top: var(--space-6); }
@media (max-width: 760px) { .cover-notes { grid-template-columns: 1fr; } }
.cover-notes > div { display: flex; flex-direction: column; gap: 4px; padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--brand-deep-blue); color: #fff; }
.cover-notes b { font: 700 15px/22px var(--font-sans); }
.cover-notes span { font: 400 14px/20px var(--font-sans); color: #C9DAEB; }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
@media (max-width: 960px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .projects { grid-template-columns: 1fr; } }
.proj { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); transition: box-shadow .2s, transform .2s; }
.proj:hover { box-shadow: var(--shadow-raised); transform: translateY(-3px); }
.proj .proj-media { margin: 0; border-radius: 0; aspect-ratio: 16 / 10; cursor: pointer; }
.proj .proj-media img, .proj .proj-media video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.proj .proj-media video { z-index: 1; }
.proj .proj-media .play { z-index: 2; transition: transform .2s, opacity .2s; }
.proj:hover .proj-media .play { transform: translate(-50%, -50%) scale(1.08); }
.proj-tag { position: absolute; top: 12px; left: 12px; z-index: 2; font: 600 11px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-pill); background: rgba(255,255,255,.92); color: var(--ink); }
.proj-body { padding: var(--space-5); }
.proj-body h3 { font: 700 20px/28px var(--font-sans); margin: 0 0 var(--space-4); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3) var(--space-4); margin: 0; }
.specs .wide { grid-column: 1 / -1; }
.specs dt { font: 600 11px/16px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--eyebrow); }
.specs dd { margin: 2px 0 0; font: 500 15px/22px var(--font-sans); color: var(--ink); }

/* services: alternating section tint */
.svc { border-bottom: 0; padding-block: var(--space-9); }
.svc:nth-of-type(odd) { background: linear-gradient(180deg, #D2F4E6 0%, #E3F8EF 100%); box-shadow: inset 0 3px 0 rgba(0,191,165,.35), inset 0 -3px 0 rgba(0,191,165,.35); }
.svc:nth-of-type(odd) .checks li::before { background-color: #fff; }

/* ---------- services: flowchart band ---------- */
.flow-band { position: relative; overflow: hidden; background: #062F57; color: #fff; padding-block: var(--space-9); }
.flow-band::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(50% 70% at 0% 0%, rgba(0,191,165,.20), transparent 60%),
  radial-gradient(45% 70% at 100% 100%, rgba(34,197,94,.22), transparent 60%),
  linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 40px 40px,
  linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 40px 40px; }
.flow-band .wrap { position: relative; }
.flow-head { text-align: center; max-width: 640px; margin: 0 auto var(--space-8); }
.flow-head .act-eyebrow { color: var(--brand-green); }
.flow-head h2 { font: 700 40px/48px var(--font-sans); margin: 0 0 var(--space-3); color: #fff; }
.flow-head p { margin: 0; color: #B9C9D9; font-size: 18px; line-height: 30px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 64px 1fr 64px 1fr 64px 1fr; align-items: start; }
.node { position: relative; text-align: center; padding: 0 var(--space-2); }
.ring { position: relative; display: grid; place-items: center; width: 112px; height: 112px; margin: 0 auto var(--space-4); border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #0F5FA6, #0A4C8C 70%); box-shadow: 0 0 0 1px rgba(110,231,183,.35), 0 0 0 10px rgba(0,191,165,.08), 0 18px 40px rgba(0,0,0,.35); transition: transform .3s, box-shadow .3s; }
.ring::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, #0A4C8C, #00BFA5, #22C55E, #0A4C8C);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.ring svg { width: 46px; height: 46px; fill: none; stroke: #6EE7B7; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.node:hover .ring { transform: translateY(-4px) scale(1.04); box-shadow: 0 0 0 1px rgba(110,231,183,.6), 0 0 0 14px rgba(34,197,94,.12), 0 24px 50px rgba(0,0,0,.4); }
.node .tag { display: inline-block; font: 600 11px/16px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-light-green); background: rgba(110,231,183,.1); border: 1px solid rgba(110,231,183,.3); border-radius: var(--radius-pill); padding: 3px 10px; }
.node h3 { font: 700 24px/32px var(--font-sans); margin: var(--space-3) 0 var(--space-2); color: #fff; }
.node p { margin: 0 auto; max-width: 24ch; color: #B9C9D9; font-size: 15px; line-height: 24px; }
.node .meta { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--space-4); font: 600 12px/16px var(--font-sans); color: #DCEBF5; }
.node .meta i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-green); box-shadow: 0 0 0 3px rgba(34,197,94,.25); }
.link { position: relative; height: 112px; }
.link::before { content: ""; position: absolute; left: -12px; right: -12px; top: 50%; height: 2px; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, rgba(110,231,183,.7) 0 8px, transparent 8px 14px); background-size: 28px 2px; animation: dash 1.2s linear infinite; }
.link::after { content: ""; position: absolute; right: -14px; top: 50%; width: 10px; height: 10px; border-top: 2px solid #6EE7B7; border-right: 2px solid #6EE7B7; transform: translateY(-50%) rotate(45deg); }
.link .pulse { position: absolute; top: 50%; left: -12px; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 12px 3px rgba(34,197,94,.7); animation: travel 2.4s ease-in-out infinite; }
@keyframes dash { to { background-position: 28px 0; } }
@keyframes travel { 0% { left: -12px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% + 4px); opacity: 0; } }
.loop { position: relative; margin-top: var(--space-5); text-align: center; }
.loop svg { width: 100%; height: 60px; display: block; overflow: visible; }
.loop path { fill: none; stroke: rgba(110,231,183,.55); stroke-width: 2; stroke-dasharray: 6 6; vector-effect: non-scaling-stroke; }
.loop span { position: relative; top: -14px; display: inline-block; padding: 4px 14px; border-radius: var(--radius-pill); background: #062F57; border: 1px solid rgba(110,231,183,.4); font: 600 12px/16px var(--font-sans); letter-spacing: .06em; color: var(--brand-light-green); }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; gap: 0; max-width: 420px; margin: 0 auto; }
  .link { height: 56px; }
  .link::before { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform: translateX(-50%); background: repeating-linear-gradient(180deg, rgba(110,231,183,.7) 0 8px, transparent 8px 14px); }
  .link::after { right: auto; left: 50%; top: auto; bottom: 2px; transform: translateX(-50%) rotate(135deg); }
  .link .pulse { display: none; }
  .loop { display: none; }
  .flow-head h2 { font-size: 32px; line-height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .link::before, .link .pulse { animation: none; } .link .pulse { display: none; } }
.loop-arrow { position: absolute; left: 10.4%; top: -2px; width: 10px; height: 10px; margin-left: -5px; border-top: 2px solid #6EE7B7; border-left: 2px solid #6EE7B7; transform: rotate(45deg); }

/* ---------- projects: interactive coverage ---------- */
.cov { --c-se: #0A4C8C; --c-mw: #007B87; --c-we: #00BFA5; --c-ne: #22C55E; display: grid; grid-template-columns: 300px 1fr; gap: var(--space-6); margin-top: var(--space-7); align-items: stretch; }
.cov-tabs { display: flex; flex-direction: column; gap: var(--space-2); }
.cov-tab { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: var(--space-3); padding: 16px 18px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; }
.cov-tab:hover { transform: translateX(4px); border-color: var(--brand-aqua); }
.cov-tab:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.cov-tab .nm { font: 600 15px/20px var(--font-sans); color: var(--ink); }
.cov-tab b { font: 700 22px/1 var(--font-sans); color: var(--brand-deep-blue); font-variant-numeric: tabular-nums; }
.cov-tab .sw { width: 14px; height: 14px; border-radius: 4px; }
.sw.r-se { background: var(--c-se); } .sw.r-mw { background: var(--c-mw); } .sw.r-we { background: var(--c-we); } .sw.r-ne { background: var(--c-ne); }
.sw.all { background: conic-gradient(var(--c-se) 0 25%, var(--c-mw) 0 50%, var(--c-we) 0 75%, var(--c-ne) 0); }
.cov-tab[aria-selected="true"] { background: var(--brand-deep-blue); border-color: var(--brand-deep-blue); box-shadow: var(--shadow-raised); }
.cov-tab[aria-selected="true"] .nm, .cov-tab[aria-selected="true"] b { color: #fff; }
.cov-stage { position: relative; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); padding: var(--space-5) var(--space-6) var(--space-6); overflow: hidden; }
.cov-map { width: 100%; height: auto; display: block; }
.cov-map .st { fill: #E4ECF4; stroke: #fff; stroke-width: 1; transition: fill .35s, opacity .35s; }
.cov-map .r-se { fill: var(--c-se); } .cov-map .r-mw { fill: var(--c-mw); } .cov-map .r-we { fill: var(--c-we); } .cov-map .r-ne { fill: var(--c-ne); }
.cov[data-focus]:not([data-focus="all"]) .cov-map .st.on { fill: #CFDCE8; }
.cov[data-focus="se"] .cov-map .st.on.r-se { fill: var(--c-se); } .cov[data-focus="mw"] .cov-map .st.on.r-mw { fill: var(--c-mw); }
.cov[data-focus="we"] .cov-map .st.on.r-we { fill: var(--c-we); } .cov[data-focus="ne"] .cov-map .st.on.r-ne { fill: var(--c-ne); }
.cov-panel { display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap; margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--line); }
.cov-count { display: flex; align-items: baseline; gap: 10px; }
.cov-count b { font: 700 44px/1 var(--font-sans); color: var(--brand-deep-blue); font-variant-numeric: tabular-nums; }
.cov-count span { font: 500 14px/20px var(--font-sans); color: var(--ink-muted); }
.cov-states { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }
.cov-states span { font: 700 12px/1 var(--font-sans); letter-spacing: .04em; padding: 7px 9px; border-radius: 6px; background: var(--surface-alt); color: var(--ink); animation: chipIn .3s both; }
@keyframes chipIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.creds { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: var(--space-6); border-radius: var(--radius-lg); background: linear-gradient(110deg, #062F57, #0A4C8C 55%, #007B87); overflow: hidden; }
.cred { display: flex; gap: var(--space-4); align-items: center; padding: var(--space-5) var(--space-6); color: #fff; }
.cred + .cred { border-left: 1px solid rgba(255,255,255,.15); }
.cred svg { flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: rgba(110,231,183,.14); fill: none; stroke: #6EE7B7; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cred b { display: block; font: 700 15px/22px var(--font-sans); }
.cred span { font: 400 14px/20px var(--font-sans); color: #C9DAEB; }
@media (max-width: 960px) {
  .cov { grid-template-columns: 1fr; }
  .cov-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .cov-tab { flex: none; grid-template-columns: 12px auto auto; padding: 12px 14px; }
  .cov-tab:hover { transform: none; }
  .creds { grid-template-columns: 1fr; }
  .cred + .cred { border-left: 0; border-top: 1px solid rgba(255,255,255,.15); }
}
@media (max-width: 560px) { .cov-stage { padding: var(--space-4); } .cov-count b { font-size: 34px; } }
.cov-tab[aria-selected="true"] .sw { box-shadow: 0 0 0 2px #fff; }

/* ---------- home hero: tagline as the headline ---------- */
.home-hero .hero-kicker { color: #fff; opacity: .9; }
.home-hero h1.tagline-hero { font: 500 84px/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; max-width: none; margin: var(--space-2) 0 var(--space-5); color: var(--brand-green); display: flex; flex-direction: column; gap: 6px; text-shadow: 0 2px 24px rgba(2,30,56,.45); }
.home-hero h1.tagline-hero span { display: block; }
.home-hero h1.tagline-hero::after { content: ""; display: block; width: 120px; height: 4px; margin-top: var(--space-4); border-radius: 2px; background: linear-gradient(90deg, var(--brand-aqua), var(--brand-green)); }
@media (max-width: 900px) { .home-hero h1.tagline-hero { font-size: 60px; letter-spacing: .12em; } }
@media (max-width: 560px) { .home-hero h1.tagline-hero { font-size: 40px; letter-spacing: .1em; } }

/* ---------- header: Services dropdown ---------- */
.nav-dd { position: relative; }
.dd-btn { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font: 500 15px/20px var(--font-sans); color: var(--ink); padding: 8px 0; border-bottom: 2px solid transparent; }
.dd-btn:hover, .nav-dd.open .dd-btn { color: var(--link); }
.dd-btn[aria-current="page"] { color: var(--link); border-bottom-color: var(--brand-aqua); }
.dd-btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; border-radius: 4px; }
.dd-btn svg { transition: transform .2s; }
.nav-dd.open .dd-btn svg { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 6px); width: 320px; padding: 8px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-raised); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; z-index: 60; }
.dd-menu::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav-dd:hover .dd-menu, .nav-dd.open .dd-menu, .nav-dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-menu a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: var(--radius-md); text-decoration: none; border-left: 3px solid transparent; }
.dd-menu a:hover, .dd-menu a[aria-current="page"] { background: var(--surface-tint); border-left-color: var(--brand-teal); }
.dd-menu b { font: 600 15px/20px var(--font-sans); color: var(--ink); }
.dd-menu span { font: 400 13px/18px var(--font-sans); color: var(--ink-muted); }
@media (max-width: 1080px) {
  .nav-dd { border-bottom: 1px solid var(--line); }
  .dd-btn { display: flex; justify-content: space-between; width: 100%; padding: 14px 0; font-size: 17px; border-bottom: 0; }
  .dd-btn[aria-current="page"] { border-bottom: 0; }
  .dd-menu { position: static; transform: none; width: auto; opacity: 1; visibility: visible; display: none; box-shadow: none; border: 0; padding: 0 0 10px; }
  .nav-dd.open .dd-menu { display: block; }
  .nav-dd:hover .dd-menu, .nav-dd:focus-within .dd-menu { transform: none; }
}
.site-footer li.foot-gap { margin-top: 10px; }
.site-footer li.foot-gap a, .site-footer ul li:first-child a[href="services.html"] { font-weight: 600; }

/* ---------- home: technical services callout ---------- */
.ts-callout { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-5); align-items: center; margin-top: var(--space-6); padding: var(--space-5) var(--space-6); border-radius: var(--radius-lg); background: var(--surface); border: 2px solid var(--brand-teal); text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.ts-callout:hover { box-shadow: var(--shadow-raised); transform: translateY(-2px); }
.ts-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--brand-deep-blue); display: grid; place-items: center; }
.ts-ic svg { width: 28px; height: 28px; fill: none; stroke: #6EE7B7; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ts-txt { display: flex; flex-direction: column; }
.ts-txt .act-eyebrow { margin-bottom: 4px; }
.ts-txt b { font: 600 18px/26px var(--font-sans); color: var(--ink); }
@media (max-width: 760px) { .ts-callout { grid-template-columns: auto 1fr; } .ts-callout .act-link-arrow { grid-column: 1 / -1; } }

/* ---------- technical services ---------- */
.vs { display: grid; grid-template-columns: 1fr 56px 1.15fr; gap: var(--space-4); align-items: stretch; margin-top: var(--space-7); }
.vs-card { border-radius: var(--radius-lg); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-5); }
.vs-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.vs-card li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; line-height: 23px; }
.vs-tag { font: 600 12px/16px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; }
.vs-card.old { background: var(--surface-alt); border: 1px dashed #B8C7D6; color: var(--ink-muted); }
.vs-card.old .vs-tag { color: var(--ink-muted); }
.vs-card.old li::before { content: ""; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; border: 2px solid #9AAABB; background: linear-gradient(45deg, transparent 45%, #9AAABB 45% 55%, transparent 55%); }
.frag { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.frag i { height: 64px; border-radius: var(--radius-md); border: 2px dashed #B8C7D6; background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(154,170,187,.15) 8px 16px); }
.vs-card.new { background: #062F57; color: #E2ECF6; box-shadow: var(--shadow-raised); }
.vs-card.new .vs-tag { color: var(--brand-light-green); }
.vs-card.new li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--brand-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='%23062F57' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.vs-mid { align-self: center; justify-self: center; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); font: 700 14px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); box-shadow: var(--shadow-card); }
.vs-foot { text-align: center; max-width: 70ch; margin: var(--space-6) auto 0; font: 500 17px/28px var(--font-sans); color: var(--ink); }
@media (max-width: 960px) { .vs { grid-template-columns: 1fr; } .vs-mid { margin: -8px auto; } }
.hub { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hub-q { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: var(--radius-md); background: rgba(255,255,255,.06); border: 1px solid rgba(110,231,183,.25); min-height: 120px; }
.hub-q.q2, .hub-q.q4 { text-align: right; align-items: flex-end; }
.hub-q.q3, .hub-q.q4 { justify-content: flex-end; }
.hub-q b { font: 700 15px/20px var(--font-sans); color: #fff; }
.hub-q span { font: 400 12px/17px var(--font-sans); color: #B9C9D9; max-width: 22ch; }
.hub .hi { width: 26px; height: 26px; fill: none; stroke: var(--brand-light-green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hub-q.q3 .hi, .hub-q.q4 .hi { order: 3; margin-top: 4px; }
.hub-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 112px; height: 112px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 0 0 6px #062F57, 0 0 0 8px rgba(110,231,183,.6); text-align: center; }
.hub-core img { width: 40px; height: 40px; margin-bottom: 2px; }
.hub-core b { font: 700 13px/16px var(--font-sans); color: var(--brand-deep-blue); }
.hub-core span { font: 500 11px/14px var(--font-sans); color: var(--ink-muted); }
@media (max-width: 520px) { .hub-q span { display: none; } .hub-q { min-height: 90px; } .hub-core { width: 92px; height: 92px; } .hub-core img { width: 30px; height: 30px; } }

.disc { padding-block: var(--space-9); }
.disc.tinted { background: linear-gradient(180deg, #D2F4E6 0%, #E3F8EF 100%); box-shadow: inset 0 3px 0 rgba(0,191,165,.35), inset 0 -3px 0 rgba(0,191,165,.35); }
.disc-head { display: flex; gap: var(--space-5); align-items: center; margin-bottom: var(--space-6); }
.disc-ic { flex: none; width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(140deg, var(--brand-deep-blue), var(--brand-teal)); box-shadow: 0 10px 24px rgba(10,76,140,.25); }
.disc-ic .ti { width: 38px; height: 38px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.disc-head h2 { font: 700 36px/44px var(--font-sans); margin: 4px 0 0; }
.disc-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-5); margin-bottom: var(--space-6); }
.outcome { margin: 0; font: 500 20px/32px var(--font-sans); color: var(--ink); }
.outcome b { display: block; font: 600 12px/16px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--eyebrow); margin-bottom: 6px; }
.stake { display: flex; gap: var(--space-4); padding: var(--space-5); border-radius: var(--radius-lg); background: #FFF8EB; border: 1px solid #F3D9A4; }
.stake .si { flex: none; width: 28px; height: 28px; fill: none; stroke: #B45309; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stake b { display: block; font: 600 12px/16px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: #92400E; margin-bottom: 4px; }
.stake p { margin: 0; font-size: 15px; line-height: 24px; color: #5B4520; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.pillar { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line); padding: var(--space-5); position: relative; overflow: hidden; }
.pillar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--brand-deep-blue), var(--brand-aqua)); }
.pillar h4 { font: 700 18px/26px var(--font-sans); margin: 0 0 var(--space-3); color: var(--ink); }
.pillar ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pillar li { position: relative; padding-left: 18px; font-size: 15px; line-height: 23px; color: #33475E; }
.pillar li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 2px; background: var(--brand-teal); }
.disc-note { margin: var(--space-6) 0 0; padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); font: 500 15px/24px var(--font-sans); color: var(--ink); display: flex; gap: 12px; }
.disc-note::before { content: "$"; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-tint); color: var(--brand-teal); display: grid; place-items: center; font-weight: 700; }
.proof { margin-top: var(--space-6); padding: var(--space-6); border-radius: var(--radius-lg); background: linear-gradient(115deg, #062F57, #0A4C8C 60%, #007B87); color: #fff; display: grid; grid-template-columns: auto 1fr; gap: var(--space-3) var(--space-6); align-items: center; }
.proof-tag { grid-column: 1 / -1; font: 600 12px/16px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-light-green); }
.ps-row { display: flex; gap: var(--space-6); }
.ps { display: flex; flex-direction: column; }
.ps b { font: 700 40px/1 var(--font-sans); color: #fff; font-variant-numeric: tabular-nums; }
.ps span { font: 500 13px/18px var(--font-sans); color: #C9DAEB; margin-top: 6px; max-width: 16ch; }
.proof p { margin: 0; color: #DCEBF5; font-size: 16px; line-height: 26px; }
@media (max-width: 960px) { .disc-top, .pillars { grid-template-columns: 1fr; } .proof { grid-template-columns: 1fr; } .ps-row { flex-wrap: wrap; gap: var(--space-5); } .disc-head h2 { font-size: 28px; line-height: 36px; } .disc-ic { width: 56px; height: 56px; border-radius: 16px; } }

.data-band { background: #062F57; color: #fff; position: relative; overflow: hidden; }
.data-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 60% at 100% 0%, rgba(0,191,165,.22), transparent 60%), radial-gradient(40% 60% at 0% 100%, rgba(34,197,94,.18), transparent 60%); }
.data-band .wrap { position: relative; }
.data-band h2 { color: #fff; }
.data-band .act-eyebrow { color: var(--brand-green); }
.data-band .disc-ic { background: linear-gradient(140deg, var(--brand-teal), var(--brand-green)); }
.data-lead { max-width: 64ch; font: 400 19px/31px var(--font-sans); color: #C9DAEB; margin: 0 0 var(--space-7); }
.data-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); position: relative; margin-bottom: var(--space-8); }
.data-steps::before { content: ""; position: absolute; left: 8px; right: 8px; top: 8px; height: 2px; background: linear-gradient(90deg, var(--brand-aqua), var(--brand-green)); opacity: .6; }
.dstep { position: relative; padding-top: var(--space-6); }
.dnode { position: absolute; top: 0; left: 0; width: 18px; height: 18px; border-radius: 50%; background: #062F57; border: 3px solid var(--brand-green); box-shadow: 0 0 0 5px rgba(34,197,94,.15); }
.dstep h4 { font: 700 19px/26px var(--font-sans); margin: 0 0 6px; color: #fff; }
.dstep p { margin: 0; color: #B9C9D9; font-size: 15px; line-height: 24px; }
.pipe { display: grid; grid-template-columns: 1fr 70px 1fr 70px 1.15fr; align-items: center; gap: 0; }
.pipe-col { display: grid; gap: var(--space-3); }
.pnode { padding: 14px 16px; border-radius: var(--radius-md); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; gap: 2px; }
.pnode b { font: 700 15px/20px var(--font-sans); color: #fff; }
.pnode span:last-child { font-size: 13px; line-height: 19px; color: #B9C9D9; }
.pk { font: 600 10px/14px var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brand-light-green); }
.pnode.q { background: rgba(110,231,183,.08); border-color: rgba(110,231,183,.35); padding: 18px; }
.pipe-core { padding: var(--space-5); border-radius: var(--radius-lg); background: linear-gradient(150deg, #0A4C8C, #007B87); border: 1px solid rgba(110,231,183,.5); box-shadow: 0 0 0 8px rgba(0,191,165,.08), 0 20px 50px rgba(0,0,0,.35); display: flex; flex-direction: column; gap: 4px; text-align: center; align-items: center; }
.pipe-core b { font: 700 20px/26px var(--font-sans); color: #fff; }
.pipe-core > span:not(.pk) { font-size: 13px; line-height: 19px; color: #DCEBF5; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; margin-top: var(--space-3); }
.bars i { width: 12px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--brand-light-green), var(--brand-aqua)); }
.pipe-link { position: relative; height: 100%; min-height: 120px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.pipe-link i { display: block; height: 2px; margin: 0 6px; background: repeating-linear-gradient(90deg, rgba(110,231,183,.8) 0 6px, transparent 6px 11px); background-size: 22px 2px; animation: dash 1s linear infinite; position: relative; }
.pipe-link i::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left-color: #6EE7B7; border-right: 0; }
@media (max-width: 960px) {
  .data-steps { grid-template-columns: 1fr; } .data-steps::before { display: none; }
  .pipe { grid-template-columns: 1fr; } .pipe-link { min-height: 44px; flex-direction: row; justify-content: center; }
  .pipe-link i { width: 2px; height: 36px; margin: 0; background: repeating-linear-gradient(180deg, rgba(110,231,183,.8) 0 6px, transparent 6px 11px); animation: none; }
  .pipe-link i::after { right: -4px; top: auto; bottom: -4px; border: 5px solid transparent; border-top-color: #6EE7B7; border-bottom: 0; }
}

.track { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-top: var(--space-7); counter-reset: none; }
.tcard { position: relative; padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: var(--space-3); }
.tcard + .tcard::before { content: ""; position: absolute; left: calc(-1 * var(--space-5)); top: 50%; width: var(--space-5); height: 2px; background: var(--brand-aqua); }
.tlabel { align-self: flex-start; font: 600 11px/16px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-teal); background: var(--surface-tint); border-radius: var(--radius-pill); padding: 4px 12px; }
.tcard h3 { font: 700 22px/30px var(--font-sans); margin: 0; }
.tcard ul { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: grid; gap: 10px; flex: 1; }
.tcard li { position: relative; padding-left: 20px; font-size: 15px; line-height: 23px; color: #33475E; }
.tcard li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--brand-teal); }
.tcard.accent { background: linear-gradient(160deg, #0A4C8C, #007B87); border: 0; color: #fff; }
.tcard.accent h3 { color: #fff; } .tcard.accent li { color: #DCEBF5; } .tcard.accent li::before { border-color: var(--brand-light-green); }
.tcard.accent .tlabel { background: rgba(255,255,255,.14); color: var(--brand-light-green); }
.tcard.accent .act-btn { align-self: flex-start; }
@media (max-width: 960px) { .track { grid-template-columns: 1fr; } .tcard + .tcard::before { display: none; } }
.frag { grid-template-columns: 1fr 1fr; gap: 14px; }
.frag i { height: auto; min-height: 120px; display: grid; place-items: center; font: 600 13px/18px var(--font-sans); font-style: normal; color: #7D8FA3; text-align: center; padding: 10px; }
.frag i:nth-child(2) { transform: rotate(1.5deg) translateY(4px); } .frag i:nth-child(3) { transform: rotate(-1.5deg); } .frag i:nth-child(4) { transform: translate(6px, 6px); }
@media (max-width: 1080px) { .main-nav { position: absolute; top: 100%; left: 0; right: 0; inset: auto; top: 100%; max-height: calc(100vh - 120px); } }
/* tech page: lighter copy */
.hub-q { min-height: 96px; }
.vs-card li { font-size: 16px; }
.pillar ul { gap: 8px; }
.outcome { font-size: 22px; line-height: 32px; }
.disc-top { align-items: center; }
.pnode { padding: 12px 16px; }
.tcard ul { flex: 0 0 auto; }

/* ---------- values: bold colour tiles ---------- */
.vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); perspective: 1200px; }
@media (max-width: 860px) { .vals { grid-template-columns: 1fr; } }
.val { position: relative; overflow: hidden; min-height: 320px; padding: var(--space-6); border-radius: 24px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-2); outline: none;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; box-shadow: 0 12px 30px rgba(10,76,140,.18); }
.val.v1 { background: linear-gradient(150deg, #0A4C8C 0%, #063A6D 100%); }
.val.v2 { background: linear-gradient(150deg, #007B87 0%, #00606A 100%); }
.val.v3 { background: linear-gradient(150deg, #0D7F45 0%, #0A6638 100%); }
.val::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 85% 10%, rgba(255,255,255,.18), transparent 60%); pointer-events: none; }
.val-bg { position: absolute; right: -40px; top: -30px; width: 230px; height: 230px; fill: none; stroke: rgba(255,255,255,.13); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s cubic-bezier(.2,.8,.2,1), stroke .4s; }
.val-ic { position: absolute; top: var(--space-6); left: var(--space-6); width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.16); backdrop-filter: blur(4px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.val-ic svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.val-tag { position: relative; align-self: flex-start; font: 600 11px/16px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.14); border-radius: var(--radius-pill); padding: 4px 12px; }
.val h3 { position: relative; font: 800 44px/1 var(--font-sans); letter-spacing: -.02em; margin: var(--space-2) 0 var(--space-1); color: #fff; }
.val p { position: relative; margin: 0; color: rgba(255,255,255,.86); font-size: 15px; line-height: 24px; max-width: 30ch; }
.val-bar { position: absolute; left: 0; bottom: 0; height: 5px; width: 0; background: linear-gradient(90deg, #6EE7B7, #00BFA5); transition: width .5s cubic-bezier(.2,.8,.2,1); }
.v3 .val-bar { background: linear-gradient(90deg, #fff, #6EE7B7); }
.val:hover, .val:focus-visible { transform: translateY(-8px) rotateX(4deg); box-shadow: 0 26px 50px rgba(10,76,140,.30); }
.val:hover .val-bg, .val:focus-visible .val-bg { transform: rotate(-12deg) scale(1.12); stroke: rgba(255,255,255,.22); }
.val:hover .val-ic, .val:focus-visible .val-ic { transform: scale(1.12) rotate(-8deg); }
.val:hover .val-bar, .val:focus-visible .val-bar { width: 100%; }
.val:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--focus-ring); }
@media (prefers-reduced-motion: reduce) { .val, .val-bg, .val-ic, .val-bar { transition: none; } .val:hover { transform: none; } }

/* ---------- careers: expanding team panels ---------- */
.teams { display: flex; gap: 12px; height: 440px; margin-top: var(--space-7); }
.team { position: relative; flex: 1; min-width: 0; border-radius: 22px; overflow: hidden; background-color: #062F57; background-size: cover; background-position: center; text-decoration: none; color: #fff; display: flex; align-items: flex-end;
  transition: flex .55s cubic-bezier(.2,.8,.2,1), box-shadow .3s; box-shadow: 0 10px 30px rgba(6,47,87,.18); }
.teams:not(:hover):not(:focus-within) .team:first-child, .team:hover, .team:focus-visible { flex: 2.6; }
.team-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,47,87,.15) 0%, rgba(6,47,87,.55) 45%, rgba(4,30,56,.95) 100%); transition: background .4s; }
.team:nth-child(2) .team-shade { background: linear-gradient(180deg, rgba(0,96,106,.15) 0%, rgba(0,96,106,.6) 45%, rgba(0,58,66,.95) 100%); }
.team:nth-child(3) .team-shade { background: linear-gradient(180deg, rgba(10,76,140,.2) 0%, rgba(10,76,140,.6) 45%, rgba(6,47,87,.95) 100%); }
.team:nth-child(4) .team-shade { background: linear-gradient(180deg, rgba(11,102,56,.15) 0%, rgba(11,102,56,.6) 45%, rgba(7,64,36,.95) 100%); }
.team-ic { position: absolute; top: 20px; left: 20px; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.team-ic svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.team-body { position: relative; padding: 24px; display: flex; flex-direction: column; gap: 10px; width: 100%; }
.team-name { font: 800 26px/30px var(--font-sans); letter-spacing: -.01em; }
.team-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.team-tags i { font: 600 11px/1 var(--font-sans); font-style: normal; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--radius-pill); background: rgba(110,231,183,.22); color: #D7FBEA; }
.team-desc, .team-cta { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s, opacity .35s; }
.team-desc { font-size: 15px; line-height: 24px; color: rgba(255,255,255,.9); max-width: 38ch; }
.team-cta { display: inline-flex; gap: 8px; align-items: center; font: 600 14px/20px var(--font-sans); color: #6EE7B7; }
.teams:not(:hover):not(:focus-within) .team:first-child .team-desc, .teams:not(:hover):not(:focus-within) .team:first-child .team-cta,
.team:hover .team-desc, .team:hover .team-cta, .team:focus-visible .team-desc, .team:focus-visible .team-cta { max-height: 120px; opacity: 1; }
.team:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
@media (max-width: 900px) {
  .teams { flex-direction: column; height: auto; }
  .team, .teams:not(:hover):not(:focus-within) .team:first-child, .team:hover { flex: none; min-height: 240px; }
  .team-desc, .team-cta { max-height: 120px !important; opacity: 1 !important; }
}
@media (prefers-reduced-motion: reduce) { .team, .team-desc, .team-cta { transition: none; } }

/* ---------- careers: photo flipbook ---------- */
.flipbook { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); }
.fb-stack { position: relative; width: 100%; max-width: 520px; aspect-ratio: 4 / 3.3; perspective: 1800px; }
.fb-stack::before, .fb-stack::after { content: ""; position: absolute; inset: 0; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.fb-stack::before { transform: translate(14px, 14px) rotate(2.5deg); }
.fb-stack::after { transform: translate(7px, 7px) rotate(1deg); }
.leaf { position: absolute; inset: 0; margin: 0; transform-origin: left center; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.45,.05,.2,1); z-index: calc(20 - var(--i)); cursor: pointer; }
.leaf.flipped { transform: rotateY(-178deg); }
.leaf.instant { transition: none; }
.leaf-front, .leaf-back { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.leaf-front { background: #fff; padding: 10px 10px 48px; box-shadow: 0 18px 40px rgba(6,47,87,.22); }
.leaf-front img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.leaf-front figcaption { position: absolute; left: 18px; right: 18px; bottom: 12px; font: 700 15px/24px var(--font-sans); color: var(--ink); display: flex; align-items: center; gap: 10px; }
.leaf-front figcaption::before { content: ""; width: 22px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--brand-aqua), var(--brand-green)); }
.leaf::after { content: ""; position: absolute; inset: 0; border-radius: 18px; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.18), transparent 12%); }
.leaf-back { transform: rotateY(180deg); display: grid; place-items: center; background: linear-gradient(150deg, #0A4C8C, #007B87 60%, #0D7F45); }
.leaf-back img { width: 34%; opacity: .25; filter: brightness(0) invert(1); }
.fb-spine { position: absolute; left: -6px; top: 6%; bottom: 6%; width: 10px; border-radius: 6px; background: linear-gradient(180deg, var(--brand-deep-blue), var(--brand-teal), var(--brand-green)); z-index: 40; box-shadow: 2px 0 8px rgba(0,0,0,.2); }
.fb-ctrl { display: flex; align-items: center; gap: var(--space-4); }
.fb-ctrl button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-card); transition: background .2s, color .2s; }
.fb-ctrl button:hover { background: var(--brand-deep-blue); color: #fff; border-color: var(--brand-deep-blue); }
.fb-count { font: 600 14px/1 var(--font-sans); color: var(--ink-muted); font-variant-numeric: tabular-nums; min-width: 52px; text-align: center; }
.fb-count b { color: var(--ink); font-size: 18px; }
@media (prefers-reduced-motion: reduce) { .leaf { transition: opacity .3s; } .leaf.flipped { transform: none; opacity: 0; } }

/* ---------- projects: stat banner ---------- */
.stat-banner { position: relative; overflow: hidden; color: #fff; background-color: #062F57; background-size: cover; background-position: center 70%; padding-block: var(--space-8) var(--space-8); margin-top: -2px; }
.stat-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,30,56,.92) 0%, rgba(6,47,87,.8) 45%, rgba(0,96,106,.55) 100%); }
.stat-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--brand-deep-blue), var(--brand-aqua), var(--brand-green)); }
.stat-banner .wrap { position: relative; }
.sb-tag { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/16px var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brand-light-green); margin-bottom: var(--space-5); }
.sb-tag::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--brand-green); }
.sb-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); }
.sb { padding: var(--space-2) var(--space-5); border-left: 1px solid rgba(255,255,255,.18); }
.sb:first-child { padding-left: 0; border-left: 0; }
.sb-num { font: 800 64px/1 var(--font-sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sb-num em { font-style: normal; font-weight: 700; font-size: .55em; color: var(--brand-light-green); margin-left: 2px; }
.sb:first-child .sb-num { font-size: 92px; background: linear-gradient(90deg, #fff 30%, #6EE7B7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sb:first-child .sb-num em { -webkit-text-fill-color: #6EE7B7; }
.sb-lbl { margin-top: 10px; font: 500 14px/20px var(--font-sans); color: #C9DAEB; max-width: 20ch; }
@media (max-width: 1100px) { .sb-num { font-size: 48px; } .sb:first-child .sb-num { font-size: 68px; } }
@media (max-width: 860px) {
  .sb-grid { grid-template-columns: 1fr 1fr; row-gap: var(--space-6); }
  .sb:first-child { grid-column: 1 / -1; }
  .sb { border-left: 0; padding-left: 0; }
  .sb:nth-child(2n+1):not(:first-child) { padding-left: var(--space-4); border-left: 1px solid rgba(255,255,255,.18); }
}
.page-hero:has(+ .stat-banner) .curve .fill { fill: #062F57; }
.stat-banner::before { background: linear-gradient(180deg, #062F57 0, rgba(6,47,87,0) 110px), linear-gradient(90deg, rgba(4,30,56,.92) 0%, rgba(6,47,87,.8) 45%, rgba(0,96,106,.55) 100%); }

/* contact: map card (replaces embedded map) */
.map-card { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5); min-height: 140px; border-radius: var(--radius-lg); text-decoration: none; color: #fff;
  background: radial-gradient(circle at 30% 50%, rgba(110,231,183,.25), transparent 40%), repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 28px), repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 28px), linear-gradient(135deg, #0A4C8C, #007B87); transition: transform .2s, box-shadow .2s; }
.map-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-raised); }
.map-pin { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--brand-green); box-shadow: 0 0 0 8px rgba(34,197,94,.25); }
.map-pin::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #062F57; }
.map-card b { display: block; font: 700 18px/24px var(--font-sans); }
.map-card span span { font: 500 14px/20px var(--font-sans); color: #D7FBEA; }

/* ---- Touch & small-screen polish (keep when editing) ---- */
.quote-nav button.dot { position: relative; }
.quote-nav button.dot::after { content: ""; position: absolute; inset: -19px -4px; }
@media (max-width: 900px) {
  a.act-link-arrow { display: inline-flex; align-items: center; min-height: 44px; }
  .node .tag, .pk, .tlabel, .tag, .val-tag, .proj-tag, .sample-tag, .hub-core span { font-size: 12px; }
}
@media (hover: none) { .act-btn, .nav-toggle, .quote-nav button { min-height: 44px; } }

/* ---- Contrast pass (WCAG AA: 4.5:1 text, 3:1 large text and icons) ---- */
/* Page heroes: scrim keeps text legible over the bright parts of the banner art */
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(3,28,52,.66) 0%, rgba(3,28,52,.46) 55%, rgba(3,28,52,.2) 100%); }
.page-hero .wrap { position: relative; }
.page-hero p.lead { color: #fff; }
@media (max-width: 760px) { .page-hero::before { background: linear-gradient(180deg, rgba(3,28,52,.66), rgba(3,28,52,.56)); } }
/* Call-to-action bands: darker teal end so white text clears 4.5:1 */
.cta-band { background: linear-gradient(110deg, var(--brand-deep-blue) 0%, #00697A 60%, #007580 100%); }
.cta-band p { color: #fff; }
/* Stats banner labels */
.sb-lbl { color: #fff; }
.stat-banner::before { background: linear-gradient(90deg, rgba(4,30,56,.92) 0%, rgba(6,47,87,.86) 45%, rgba(0,80,92,.78) 100%); }
/* Chips and labels on photos / coloured tiles: solid dark chip, white text */
.team-tags i { background: rgba(3,24,46,.78); color: #fff; }
.team-shade { background-blend-mode: normal; }
.val-tag { background: rgba(0,0,0,.26); }
.tcard.accent .tlabel { background: rgba(0,0,0,.28); color: #fff; }
.data-band .disc-ic { background: linear-gradient(140deg, var(--brand-teal), #0D7F45); }
.frag i { color: #4A5D73; }
.fb-count { color: var(--ink); }
/* Teal text on tinted / light panels: deeper teal */
.tinted .act-eyebrow, .disc .act-eyebrow, .tlabel { color: #00646E; }
.data-band .act-eyebrow { color: var(--brand-green); }
.disc-top b, .outcome b, .stake b { color: #00646E; }
.cap, .g-item .cap { color: #fff; }
@media (max-width: 900px) {
  /* Careers cards: keep tags and title clear of the icon, on a stronger scrim */
  .team-body { padding-top: 88px; }
  .team-shade, .team:nth-child(n) .team-shade { background-image: linear-gradient(180deg, rgba(3,24,46,.55) 0%, rgba(3,24,46,.82) 100%); }
  .team:nth-child(2) .team-shade { background-image: linear-gradient(180deg, rgba(0,50,58,.6) 0%, rgba(0,44,52,.86) 100%); }
  .team:nth-child(4) .team-shade { background-image: linear-gradient(180deg, rgba(6,52,28,.6) 0%, rgba(5,46,25,.86) 100%); }
}
/* Contrast pass, round 2 */
.cta-band { background: linear-gradient(110deg, var(--brand-deep-blue) 0%, #00657A 55%, #006F7A 100%); }
.cred span { color: #fff; }
.pipe-core .pk { color: #fff; }
.pipe-core { background: linear-gradient(150deg, #0A4C8C, #00697A); }
.g-item .cap { background: linear-gradient(transparent, rgba(3,28,52,.94) 55%); }
.video-toggle { background: rgba(3,28,52,.8); }
.map-card span { color: #fff; }
.map-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,28,52,.55), rgba(3,28,52,.25)); pointer-events: none; z-index: 0; }
.map-card > * { position: relative; z-index: 1; }
.map-card { position: relative; overflow: hidden; }

/* Always light: the site must not flip to a dark theme on phones set to dark mode */
:root, :root[data-theme="dark"] { color-scheme: light; }
.site-header, .site-header .bar { background: #fff; color: #0B2440; }
.site-header .brand img { background: transparent; }
/* Section labels on light surfaces: deeper teal (dark sections set their own --eyebrow) */
:root { --eyebrow: #00646E; }
/* Home hero: overlay strong enough for text over any frame of the video */
.home-hero .shade { background: linear-gradient(90deg, rgba(4,30,56,.94) 0%, rgba(8,62,112,.86) 45%, rgba(0,100,112,.5) 75%, rgba(10,110,70,.3) 100%); }
@media (max-width: 900px) { .home-hero .shade { background: linear-gradient(180deg, rgba(4,30,56,.8) 0%, rgba(4,30,56,.74) 55%, rgba(4,30,56,.86) 100%); } }
.home-hero h1, .home-hero p.lead { text-shadow: 0 1px 14px rgba(3,24,46,.55); }
.home-hero p.lead { color: #fff; }

/* ---- Careers: BambooHR embed ---- */
.jobs-card { max-width: 920px; margin: var(--space-6) auto 0; padding: var(--space-5) var(--space-6); background: #fff; color: #0B2440; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow-x: auto; min-height: 120px; }
#BambooHR:empty::before { content: "Current openings load here from BambooHR on the live site. Use the button below to see them now."; display: block; padding: var(--space-4) 0; color: var(--ink-muted); font: 500 16px/26px var(--font-sans); text-align: center; }
#BambooHR-ATS, #BambooHR-ATS * { font-family: var(--font-sans) !important; max-width: 100%; box-sizing: border-box; }
#BambooHR-ATS a { color: #0A4C8C !important; font-weight: 600; text-underline-offset: 3px; }
#BambooHR-ATS a:hover { color: #00646E !important; }
.jobs-foot { justify-content: center; margin-top: var(--space-5); }
@media (max-width: 600px) { .jobs-card { padding: var(--space-4); } }
#BambooHR-ATS :not(a) { color: #4A5D73 !important; }
#BambooHR-ATS h1, #BambooHR-ATS h2, #BambooHR-ATS h3 { color: #0B2440 !important; }
#BambooHR > div:not(#BambooHR-ATS), #BambooHR > div:not(#BambooHR-ATS) * { color: #4A5D73 !important; }

/* ---- Technical Services: IT/OT | Field ---- */
.tech-switch { position: sticky; top: var(--header-height); z-index: 25; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); padding: 10px 0; }
@media (max-width: 1080px) { .tech-switch { top: 76px; } }
.tech-switch .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 860px; }
.ts-tab { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: background-color .2s, border-color .2s, box-shadow .2s; }
.ts-tab:hover { border-color: var(--brand-teal); }
.ts-tab:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.ts-tab[aria-selected="true"] { background: linear-gradient(120deg, #0A4C8C, #00697A); color: #fff; border-color: transparent; box-shadow: var(--shadow-card); }
.ts-tic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-tint); }
.ts-tic svg { width: 24px; height: 24px; fill: none; stroke: #00646E; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ts-tab[aria-selected="true"] .ts-tic { background: rgba(255,255,255,.16); }
.ts-tab[aria-selected="true"] .ts-tic svg { stroke: #fff; }
.ts-lbl { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ts-lbl b { font: 700 18px/22px var(--font-sans); }
.ts-lbl span { font: 500 12px/16px var(--font-sans); color: var(--ink-muted); }
.ts-tab[aria-selected="true"] .ts-lbl span { color: #fff; }
@media (max-width: 700px) { .ts-lbl span { display: none; } .ts-tab { justify-content: center; padding: 8px 10px; gap: 10px; } .ts-tic { width: 34px; height: 34px; } .ts-lbl b { font-size: 16px; } }
.tech-panel[hidden] { display: none; }
.tech-panel .subnav { position: static; }
.tech-panel, .tech-panel .disc, #how-it-works, #data-ai { scroll-margin-top: 150px; }
.disc.tinted { --ring: #DAF5EA; }
.disc { --ring: #fff; }

/* PRC notice and free-offer pills */
.prc-sec { padding-block: var(--space-7) 0; }
.prc { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-5); align-items: center; padding: var(--space-5) var(--space-6); border-radius: var(--radius-lg); background: linear-gradient(110deg, #062F57, #0A4C8C); color: #fff; box-shadow: var(--shadow-raised); }
.prc-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.14); }
.prc-ic svg { width: 30px; height: 30px; fill: none; stroke: #FBBF24; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.prc-txt { display: flex; flex-direction: column; gap: 4px; }
.prc-txt b { font: 700 20px/28px var(--font-sans); }
.prc-txt span { font: 400 15px/24px var(--font-sans); color: #fff; }
@media (max-width: 900px) { .prc { grid-template-columns: 1fr; gap: var(--space-4); padding: var(--space-5); } }
.offer-row { margin-top: var(--space-5); }
.offer { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: var(--radius-pill); background: var(--surface); border: 1.5px solid var(--brand-teal); color: #00646E; font: 600 15px/20px var(--font-sans); text-decoration: none; transition: background-color .2s, color .2s; }
.offer .oi { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.offer:hover { background: #00646E; color: #fff; }

/* Chips and tiles */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--line); font: 500 13px/18px var(--font-sans); color: #33475E; }
.chip.in { background: #D7F3F0; border-color: #9ADAD3; color: #00545C; }
.chip.in::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-teal); margin-right: 7px; flex: none; }
.chip.pt { background: #FFF4DB; border: 1px dashed #C98A00; color: #6B4200; }
.chip.pt::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 2px solid #C98A00; margin-right: 7px; flex: none; box-sizing: border-box; }
.ft-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(140deg, var(--brand-deep-blue), #00697A); }
.ft-ic svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ftile, .scope { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-card); }
.ftile h4, .scope h4 { margin: 0; font: 700 17px/24px var(--font-sans); color: var(--ink); }
.ftiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.f-out { margin: 0 0 var(--space-6); max-width: 64ch; font: 500 19px/30px var(--font-sans); color: var(--ink); }
.precon { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 var(--space-5); }
.pc-tag { font: 700 12px/16px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: #00646E; margin-right: 4px; }
@media (max-width: 1080px) { .ftiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ftiles { grid-template-columns: 1fr; } .f-out { font-size: 17px; line-height: 27px; } }

/* Lifecycle rail */
.life { list-style: none; margin: var(--space-7) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.life li { position: relative; }
.life li:not(:first-child)::before { content: ""; position: absolute; top: 80px; left: -50%; width: 100%; height: 4px; background: linear-gradient(90deg, var(--brand-teal), var(--brand-aqua)); }
.life a { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 0 10px; text-decoration: none; color: var(--ink); }
.l-stage { font: 700 11px/16px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: #00646E; margin-bottom: 12px; min-height: 32px; display: flex; align-items: flex-end; text-align: center; }
.l-dot { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, #0A4C8C, #00697A); box-shadow: 0 0 0 6px #fff, 0 10px 22px rgba(10,76,140,.25); transition: transform .2s; margin-top: 0; }
.l-dot svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.life a:hover .l-dot { transform: translateY(-4px) scale(1.05); }
.life b { margin-top: 10px; font: 700 16px/22px var(--font-sans); }
.l-sub { font: 400 13px/19px var(--font-sans); color: var(--ink-muted); max-width: 18ch; }
@media (max-width: 900px) {
  .life { grid-template-columns: 1fr; gap: 22px; }
  .life li:not(:first-child)::before { top: -22px; left: 31px; width: 4px; height: 22px; background: linear-gradient(180deg, var(--brand-teal), var(--brand-aqua)); }
  .life a { display: grid; grid-template-columns: 64px 1fr; grid-template-areas: "dot stage" "dot name" "dot sub"; column-gap: 18px; row-gap: 0; text-align: left; align-items: center; padding: 0; justify-items: start; }
  .l-dot { grid-area: dot; margin-top: 0; } .l-stage { grid-area: stage; margin: 0; min-height: 0; } .life b { grid-area: name; margin: 0; } .l-sub { grid-area: sub; max-width: none; }
}

/* Construction QC */
.scopes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1080px) { .scopes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .scopes { grid-template-columns: 1fr; } }
.qc-loop-wrap { margin-top: var(--space-6); }
.qc-loop-tag { font: 700 12px/16px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: #00646E; }
.qcloop { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.qcloop li { position: relative; padding: 20px 34px 20px 40px; color: #fff; display: flex; flex-direction: column; gap: 4px; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%, 22px 50%); margin-left: -10px; }
.qcloop li:first-child { clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%); margin-left: 0; padding-left: 24px; border-radius: 12px 0 0 12px; }
.qcloop li:last-child { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 22px 50%); border-radius: 0 12px 12px 0; padding-right: 20px; }
.qcloop li:nth-child(1) { background: #062F57; } .qcloop li:nth-child(2) { background: #0A4C8C; } .qcloop li:nth-child(3) { background: #0A6479; } .qcloop li:nth-child(4) { background: #00697A; }
.qcloop i { font: 800 12px/1 var(--font-sans); font-style: normal; width: 22px; height: 22px; border-radius: 50%; background: rgba(0,0,0,.28); display: grid; place-items: center; margin-bottom: 4px; }
.qcloop b { font: 700 17px/22px var(--font-sans); }
.qcloop span { font: 500 13px/19px var(--font-sans); color: #fff; }
@media (max-width: 900px) { .qcloop { grid-template-columns: 1fr; gap: 8px; } .qcloop li, .qcloop li:first-child, .qcloop li:last-child { clip-path: none; margin: 0; padding: 16px 20px; border-radius: 12px; } }

/* Pre-energization chain */
.chain { list-style: none; margin: var(--space-7) 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; position: relative; }
.chain::before { content: ""; position: absolute; left: 4%; right: 4%; top: 0; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--brand-deep-blue), var(--brand-aqua), var(--brand-green)); }
.chain li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 30px 14px 16px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.chain li .chips { justify-content: center; }
.chain b { font: 700 15px/21px var(--font-sans); }
.cn { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); width: 36px; height: 36px; border-radius: 50%; background: var(--brand-deep-blue); color: #fff; display: grid; place-items: center; font: 700 15px/1 var(--font-sans); box-shadow: 0 0 0 5px var(--ring); }
.flag { display: flex; gap: 18px; align-items: flex-start; margin-top: var(--space-6); padding: 22px 26px; border-radius: 16px; background: linear-gradient(115deg, #062F57, #0A4C8C 60%, #00697A); color: #fff; }
.flag-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.14); }
.flag-ic svg { width: 26px; height: 26px; fill: none; stroke: var(--brand-light-green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flag b { display: block; margin-bottom: 10px; font: 700 18px/24px var(--font-sans); }
.flag .chip { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: #fff; }
@media (max-width: 1080px) { .chain { grid-template-columns: repeat(3, 1fr); row-gap: 34px; } .chain::before { display: none; } .cn { box-shadow: none; } }
@media (max-width: 640px) {
  .chain { grid-template-columns: 1fr; gap: 14px; }
  .chain li { padding: 16px 16px 16px 64px; align-items: flex-start; text-align: left; }
  .chain li .chips { justify-content: flex-start; }
  .cn { top: 14px; left: 28px; transform: translateX(-50%); }
  .chain li:not(:last-child)::after { content: ""; position: absolute; left: 26px; bottom: -14px; height: 14px; width: 4px; background: var(--brand-teal); }
  .flag { flex-direction: column; padding: 20px; }
}

/* HV/MV legend */
.svc-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 var(--space-4); font: 600 13px/18px var(--font-sans); color: var(--ink-muted); }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; box-sizing: border-box; }
.lg.in { background: var(--brand-teal); } .lg.pt { border: 2px solid #C98A00; background: #FFF4DB; }

/* Module washing */
.wf { display: grid; grid-template-columns: 1.3fr auto 1fr auto 1.3fr; gap: 16px; align-items: stretch; }
.wf-col { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.wf-col.good { border-color: #9ADAD3; background: #F2FBF8; }
.wf-tag { font: 700 12px/16px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: #00646E; }
.wf-mid { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 20px; border-radius: 16px; background: linear-gradient(140deg, #0A4C8C, #00697A); color: #fff; box-shadow: var(--shadow-raised); }
.wf-mid .ft-ic { background: rgba(255,255,255,.16); }
.wf-mid b { font: 700 17px/22px var(--font-sans); }
.wf-mid span:not(.ft-ic) { font: 500 13px/19px var(--font-sans); color: #fff; }
.wf-arrow { align-self: center; color: #00646E; } .wf-arrow svg { width: 28px; height: 28px; }
@media (max-width: 960px) { .wf { grid-template-columns: 1fr; } .wf-arrow { justify-self: center; transform: rotate(90deg); } }
.wash-proof { margin-top: var(--space-6); grid-template-columns: 1.2fr 1fr; }
.wash-proof .ps-row { flex-wrap: wrap; }
.nl { display: flex; flex-direction: column; gap: 8px; }
.nl-bar { position: relative; height: 14px; border-radius: 7px; background: rgba(255,255,255,.2); }
.nl-band { position: absolute; left: 35%; width: 20%; top: 0; bottom: 0; border-radius: 7px; background: var(--brand-green); }
.nl-zero { position: absolute; left: 50%; top: -5px; bottom: -5px; width: 2px; background: #fff; }
.nl-ticks { display: flex; justify-content: space-between; font: 600 12px/16px var(--font-sans); color: #fff; }
.nl p b { color: var(--brand-light-green); }
.src { margin: var(--space-4) 0 0; font: 400 13px/20px var(--font-sans); color: var(--ink-muted); }
@media (max-width: 960px) { .wash-proof { grid-template-columns: 1fr; } }

/* Repair and restoration */
.crews { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: stretch; }
.crew { background: var(--surface-alt); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.crew-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.crew-tag { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(140deg, #0A4C8C, #00697A); color: #fff; font: 800 15px/1 var(--font-sans); letter-spacing: .04em; }
.crew.major .crew-tag { background: linear-gradient(140deg, #00697A, #0D7F45); }
.crew-head h3 { margin: 0; font: 700 20px/26px var(--font-sans); }
.crew-head p { margin: 2px 0 0; font: 400 14px/20px var(--font-sans); color: var(--ink-muted); }
.crew .ftiles { grid-template-columns: 1fr; } .crew .ftiles.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 1080px) { .crews { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .crew .ftiles.two { grid-template-columns: 1fr; } .crew { padding: 18px; } }
.whys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: var(--space-7); }
.why { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.why b { font: 700 17px/24px var(--font-sans); } .why > span:not(.ft-ic) { font: 400 14px/21px var(--font-sans); color: var(--ink-muted); max-width: 22ch; }
.why .ft-ic { width: 56px; height: 56px; border-radius: 16px; } .why .ft-ic svg { width: 30px; height: 30px; }
@media (max-width: 800px) { .whys { grid-template-columns: repeat(2, 1fr); } }

/* Contact form: honeypot + send error */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 16px 0 0; padding: 12px 16px; border-radius: 10px; background: #FDECEC; color: #8A1C1C; font: 500 15px/22px var(--font-sans); }
.form-error[hidden] { display: none; }

/* Contact: embedded map */
.map-embed { border-radius: var(--radius-lg); overflow: hidden; background: #E8EEF4; border: 1px solid rgba(10,76,140,.15); }
.map-embed iframe { display: block; width: 100%; height: 260px; border: 0; background: #E8EEF4; }
.map-open { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: linear-gradient(90deg, #062F57, #00657A); color: #fff; text-decoration: none; }
.map-open .map-pin { width: 22px; height: 22px; box-shadow: 0 0 0 5px rgba(34,197,94,.25); }
.map-open .map-pin::after { inset: 6px; }
.map-open b { display: block; font: 700 16px/22px var(--font-sans); color: #fff; }
.map-open span span { font: 500 14px/20px var(--font-sans); color: #fff; }
.map-open:hover b { text-decoration: underline; }
@media (max-width: 640px) { .map-embed iframe { height: 220px; } }

/* Projects photo gallery: 3 x 3 grid, identical tiles */
.grid-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); columns: auto; }
.grid-gallery .g-item { margin-bottom: 0; aspect-ratio: 4 / 3; }
.grid-gallery .g-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 560px) { .grid-gallery { grid-template-columns: 1fr; gap: 12px; } }

/* Operations map: Active operations / Coming soon */
.cov-map .st.none { fill: #E4ECF4; }
.cov-map .st.active { fill: var(--brand-teal); }
.cov-map .st.soon { fill: url(#soonHatch); stroke: #007B87; stroke-width: 1.4; }
.cov-map .st.active:hover { fill: var(--brand-green); }
.cov[data-focus="active"] .cov-map .st.soon { opacity: .35; }
.cov[data-focus="soon"] .cov-map .st.active { fill: #CFDCE8; }
.cov-tab .sw.active { background: var(--brand-teal); }
.cov-tab .sw.soon { background: repeating-linear-gradient(45deg, #007B87 0 3px, #fff 3px 6px); border: 1.5px solid #007B87; }
.cov-tab.peek { border-color: var(--brand-aqua); transform: translateX(4px); }
.cov-tab[aria-selected="true"] .sw.soon { border-color: #fff; }
.cov-empty { font: 500 14px/20px var(--font-sans); color: var(--ink-muted); font-style: normal; }
@media (max-width: 900px) { .cov-tab.peek { transform: none; } }
@media (max-width: 900px) {
  .cov-tabs { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; gap: 8px; }
  .cov-tab { grid-template-columns: 12px 1fr auto; gap: 8px; padding: 12px; }
  .cov-tab .nm { font-size: 14px; line-height: 18px; }
  .cov-tab b { font-size: 18px; }
  .cov-panel { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
  .cov-states { width: 100%; flex: none; }
}

/* Operations map: centered, toggle buttons inside the map frame */
.cov { display: block; max-width: 960px; margin-left: auto; margin-right: auto; }
.cov-stage { display: flex; flex-direction: column; align-items: center; }
.cov-stage .cov-tabs { display: flex; flex-direction: row; justify-content: center; gap: 12px; width: 100%; margin-bottom: var(--space-4); overflow: visible; }
.cov-stage .cov-tab { flex: 0 1 260px; }
.cov-stage .cov-tab:hover, .cov-stage .cov-tab.peek { transform: none; }
.cov-map-wrap { width: 100%; max-width: 760px; margin: 0 auto; }
.cov-stage .cov-panel { width: 100%; }
@media (max-width: 900px) {
  .cov-stage .cov-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .cov-stage .cov-tab { flex: none; }
}

/* Technical Services (rebuilt): same split-section pattern as the O&M page */
.tech-panel .svc, .tech-panel .flow-band, .tech-panel #how-it-works { scroll-margin-top: 150px; }
.tech-panel .svc { background: none !important; box-shadow: none !important; }
.tech-panel .svc.tint { background: linear-gradient(180deg, #D2F4E6 0%, #E3F8EF 100%) !important; box-shadow: inset 0 3px 0 rgba(0,191,165,.35), inset 0 -3px 0 rgba(0,191,165,.35) !important; }
.tech-panel .svc .checks li::before { background-color: #E6F7F0; }
.tech-panel .svc.tint .checks li::before { background-color: #fff; }
.tech-panel .svc .split > .media-frame { order: 0 !important; }
.tech-panel .svc.flip .split > .media-frame { order: 2 !important; }
@media (max-width: 900px) { .tech-panel .svc.flip .split > .media-frame { order: 0 !important; } .tech-panel .svc { padding-block: var(--space-8); } }
.proofrow { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); margin: var(--space-5) 0 var(--space-2); padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.proofrow div { display: flex; flex-direction: column; gap: 4px; min-width: 120px; flex: 1 1 140px; }
.proofrow b { font: 700 32px/36px var(--font-sans); color: var(--brand-deep-blue); font-variant-numeric: tabular-nums; }
.proofrow span { font: 500 14px/20px var(--font-sans); color: var(--ink-muted); }
.svc-note { margin: var(--space-3) 0 0; font: 500 13px/20px var(--font-sans); color: var(--ink-muted); }
.stepl { display: block; color: inherit; text-decoration: none; }
a.stepl { transition: transform .2s, box-shadow .2s, border-color .2s; }
a.stepl:hover { transform: translateY(-3px); box-shadow: var(--shadow-raised); border-color: var(--brand-aqua); }
a.stepl:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.stepl svg.ti { position: absolute; top: var(--space-5); right: var(--space-5); width: 32px; height: 32px; fill: none; stroke: var(--brand-teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.steps.steps3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .steps.steps3 { grid-template-columns: 1fr; } }
.fn-link { display: contents; color: inherit; text-decoration: none; }
.fn-link:focus-visible .ring { outline: 2px solid var(--brand-green); outline-offset: 4px; }
.prc-sec { padding-block: var(--space-7) 0; }
.stat-strip .panel.stats4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .stat-strip .panel.stats4 { grid-template-columns: repeat(2, 1fr); }
  .stats4 .stat:last-child { grid-column: auto; border-bottom: 1px solid var(--line); }
  .stats4 .stat:nth-child(n+3) { border-bottom: 0 !important; }
  .stats4 .stat:nth-child(2n) { border-right: 0; }
}

/* Seal in a media frame: show whole, centered, on a fixed light ground */
.media-frame.seal { background: linear-gradient(160deg, #ffffff, #eaf3f9); display: flex; align-items: center; justify-content: center; }
.media-frame.seal img { width: auto; height: 92%; max-width: 92%; object-fit: contain; }
@media (max-width: 900px) { .media-frame.seal img { height: 94%; } }

/* Bio pop-out: keep the headshot square (never stretched), framed on a brand panel */
.bio-photo { padding: var(--space-6); background: linear-gradient(160deg, var(--brand-deep-blue), #0b5f92 60%, var(--brand-teal)); display: flex; align-items: flex-start; justify-content: center; }
.bio-photo img { width: 100%; height: auto; min-height: 0; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 18%; border-radius: var(--radius-md); border: 3px solid rgba(255,255,255,.9); box-shadow: 0 14px 34px rgba(2,30,56,.35); position: sticky; top: var(--space-6); }
@media (max-width: 700px) { .bio-photo { padding: var(--space-5) var(--space-5) 0; background: var(--brand-deep-blue); } .bio-photo img { height: auto; width: min(240px, 70%); position: static; } }

/* LinkedIn button under the bio headshot */
.bio-photo-in { position: sticky; top: var(--space-6); width: 100%; display: flex; flex-direction: column; gap: var(--space-4); }
.bio-photo .bio-photo-in img { position: static; }
.bio-li { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 var(--space-4); border-radius: var(--radius-md); background: #fff; color: var(--brand-deep-blue); font: 600 15px/20px var(--font-sans); text-decoration: none; box-shadow: 0 8px 22px rgba(2,30,56,.28); transition: transform .15s, box-shadow .15s; }
.bio-li svg { color: #0A66C2; flex: none; }
.bio-li:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(2,30,56,.36); }
.bio-li:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 700px) { .bio-photo-in { position: static; width: min(240px, 70%); padding-bottom: var(--space-5); } .bio-photo .bio-photo-in img { width: 100%; } }

/* LinkedIn button = logo only */
.bio-li { min-height: 56px; padding: 10px var(--space-4); }
.bio-photo .bio-photo-in .bio-li img { width: auto; height: 30px; min-height: 0; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; object-fit: contain; }

/* Sample-placeholder note in bio pop-out */
.bio-text .bio-sample { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 var(--space-4); padding: 10px 14px; border-radius: var(--radius-md); background: var(--surface-alt); border: 1px dashed var(--ink-muted); color: var(--ink); font-size: 14px; line-height: 21px; }

/* Ten people: centre the short last row */
@media (min-width: 1101px) {
  .people { grid-template-columns: repeat(8, 1fr); }
  .people > .person { grid-column: span 2; }
  .people > .person:nth-of-type(9) { grid-column: 3 / span 2; }
  .people > .person:nth-of-type(10) { grid-column: 5 / span 2; }
}
@media (min-width: 801px) and (max-width: 1100px) {
  .people { grid-template-columns: repeat(6, 1fr); }
  .people > .person { grid-column: span 2; }
  .people > .person:nth-of-type(10) { grid-column: 3 / span 2; }
}

/* About dropdown: narrower menu */
.nav-dd-sm .dd-menu { width: 260px; }
@media (max-width: 1080px) { .nav-dd-sm .dd-menu { width: auto; } }

/* Projects: state + size caption under each photo */
.proj-body .proj-cap { margin: 0; display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); font: 500 15px/22px var(--font-sans); color: var(--ink); }
.proj-body .proj-cap strong { font-weight: 700; }
.proj-body .proj-cap span { font-weight: 600; color: var(--eyebrow); white-space: nowrap; }

/* Stronger alternate background for sections that need clearer separation (About) */
.section.tint { background: #E2ECF6; }

/* Seamless join between the title banner and the count-up banner: the banner starts in the exact colour of the hero curve and fades into its image */
.page-hero + .stat-banner { margin-top: -1px; }
.page-hero + .stat-banner::before { background: linear-gradient(180deg, #062F57 0, rgba(6,47,87,.82) 70px, rgba(6,47,87,0) 190px), linear-gradient(90deg, rgba(4,30,56,.92) 0%, rgba(6,47,87,.86) 45%, rgba(0,80,92,.78) 100%); }

/* Operations map: state-name hover label */
.map-tip { position: fixed; z-index: 1000; left: 0; top: 0; pointer-events: none; background: #062F57; color: #fff; font: 600 13px/18px var(--font-sans); padding: 6px 10px; border-radius: 8px; box-shadow: 0 6px 18px rgba(4,30,56,.28); white-space: nowrap; opacity: 0; transition: opacity .12s; }
.map-tip.on { opacity: 1; }

/* footer: all link text bold, except the contact email */
.site-footer .foot-grid ul a:not([href="contact.html"]) { font-weight: 600; }

/* footer: nudge Company column right (about the width of "News") */
@media (min-width: 901px) { .foot-grid > div:nth-child(2) { padding-left: 52px; } }

/* footer: nudge Services column left 5px */
@media (min-width: 901px) { .foot-grid > div:nth-child(3) { transform: translateX(-5px); } }

/* O&M services: drone cursor over the Drone inspections image */
#drone-inspections .media-frame, #drone-inspections .media-frame img { cursor: url("../img/drone-cursor.png") 22 22, crosshair; }

/* Drone inspections image: thermal-camera view of one highlighted row on hover (right half runs hotter = string offline) */
.thermal-row { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.thermal-row .th-hit polygon { pointer-events: all; }
.thermal-row .th { opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.thermal-row .th-hit:hover .th { opacity: 1; }

.row-alert { position: absolute; left: 0; top: 0; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; background: #fff; color: #7A1410; font: 700 14px/18px var(--font-sans); white-space: nowrap; border-radius: 10px; border-left: 4px solid #E5322D; box-shadow: 0 8px 24px rgba(0,0,0,.35); opacity: 0; transform: translate(-50%, -100%); pointer-events: none; transition: opacity .15s ease; }
.row-alert.on { opacity: 1; }
.row-alert svg { flex: none; }

/* Contact header banner: keep the three-line wave centered between top and bottom (not cropped by the curve) */
.page-hero[style*="09_Three_Phase_Top"] { background-size: auto max(33.334vw, 500px); background-position: center calc(195px - 0.55 * max(33.334vw, 500px)); }
@media (max-width: 760px) { .page-hero[style*="09_Three_Phase_Top"] { background-position: center calc(170px - 0.55 * max(33.334vw, 500px)); } }
