/* CW Mechanical Services Inc. — site styles */
:root {
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --blue: #045cbc;
  --blue-dark: #034a97;
  --blue-tint: #e8f1fb;
  --accent: #ffb020;
  --accent-dark: #e09400;
  --ink: #1b2430;
  --muted: #5b6675;
  --line: #e1e7ef;
  --bg-alt: #f4f7fb;
  --white: #fff;
  --danger: #b42318;
  --success: #067647;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 18px 50px rgba(11, 31, 58, 0.16);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --header-h: 84px;
}
@media (max-width: 760px) { :root { --header-h: 68px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.6em; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
/* Readability: balanced headings, no orphaned last words in paragraphs */
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; }
p, li { text-wrap: pretty; }
ul { padding-left: 1.2em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--accent); color: var(--navy); padding: 0.6rem 1rem; font-weight: 700; border-radius: 6px; }
.skip-link:focus { top: 1rem; }
.text-accent { color: var(--accent); }
.icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 1.4rem; border-radius: 8px; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); color: var(--white); }
.btn--accent { background: var(--accent); color: var(--navy); }
.btn--accent:hover { background: var(--accent-dark); color: var(--navy); }
.btn--ghost { border-color: var(--line); color: var(--navy); background: transparent; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--light { border-color: rgba(255,255,255,.6); color: var(--white); background: transparent; }
.btn--light:hover { background: var(--white); color: var(--navy); }
.btn--lg { padding: 1rem 1.75rem; font-size: 1.0625rem; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.btn svg, .hero__phone svg { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.center-actions { text-align: center; margin: 2.5rem 0 0; }

/* Top bar */
.topbar { background: var(--navy); color: #c9d4e3; font-size: 0.875rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: .45rem; padding-bottom: .45rem; }
.topbar__item { margin: 0; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--accent); }
.topbar__emergency { color: var(--white); font-weight: 600; }
.topbar__emergency .icon { color: var(--accent); }
.topbar__emergency a { color: var(--accent); }
.topbar__meta { gap: 1.25rem; }
@media (max-width: 760px) {
  .topbar__meta { display: none; }
  .topbar__inner { justify-content: center; padding-top: 0; padding-bottom: 0; }
  .topbar__emergency a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .25rem; } /* 44px tap target */
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--navy); }
.brand img { height: 64px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-size: 1.25rem; letter-spacing: .01em; color: var(--navy); }
.brand__text span { font-size: .875rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.site-nav ul a { display: block; padding: .5rem .8rem; border-radius: 6px; text-decoration: none; color: var(--ink); font-weight: 600; }
.site-nav ul a:hover { color: var(--blue); background: var(--blue-tint); }
.site-nav ul a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -3px 0 var(--blue); border-radius: 0; }
.site-nav__cta { display: flex; gap: .6rem; }
.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; min-width: 48px; min-height: 48px; border-radius: 8px; }
.nav-toggle:hover { background: var(--blue-tint); }
.nav-toggle__bar { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 2px; margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem; gap: 1rem; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: .8rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav ul a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--blue); padding-left: 1rem; }
  .site-nav__cta { flex-direction: column; }
  .no-js .site-nav { display: flex; position: static; box-shadow: none; }
}
@media (max-width: 760px) {
  .brand img { height: 50px; }
  .brand { gap: .55rem; }
  .brand__text strong { font-size: 1.1rem; }
  .site-nav { max-height: calc(100vh - var(--header-h) - 44px); overflow-y: auto; } /* long menu scrolls on short phones */
}

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy); color: #d5deea; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: .875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: .75rem; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--accent); }
.lead { font-size: 1.2rem; color: var(--muted); }
.section--dark .lead { color: #c3cfdf; }

/* Hero */
.hero { position: relative; color: var(--white); background: var(--navy); overflow: hidden; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media img { object-position: center 35%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,31,58,.95) 0%, rgba(11,31,58,.82) 45%, rgba(11,31,58,.35) 100%); }
.hero__inner { position: relative; z-index: 1; padding: clamp(4rem, 12vw, 8.5rem) 1.25rem; }
.hero__content { max-width: 680px; }
.hero h1 { color: var(--white); }
.hero p { font-size: 1.2rem; color: #dce5f1; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }
.hero__phone { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.5rem; font-size: 1.05rem; color: #dce5f1; }
.hero__phone a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); font-weight: 800; font-size: 1.35rem; text-decoration: none; }
.hero__phone a:hover { color: var(--accent); }

/* Trust strip */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust__list { list-style: none; margin: 0; padding: 1.5rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.trust__item { display: flex; align-items: center; gap: .85rem; }
.trust__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; flex: none; }
.trust__icon svg { width: 24px; height: 24px; fill: currentColor; }
.trust__item strong { display: block; color: var(--navy); line-height: 1.25; }
.trust__item span { font-size: .875rem; color: var(--muted); }
@media (max-width: 900px) { .trust__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust__list { grid-template-columns: 1fr; } }

/* Grids & cards */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--5 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); margin-bottom: 1rem; }
.card--link { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #bcd3ee; color: inherit; }
.card__icon { width: 54px; height: 54px; border-radius: 12px; background: var(--blue); color: var(--white); display: grid; place-items: center; margin-bottom: 1.1rem; }
.card__icon svg { width: 28px; height: 28px; fill: currentColor; }
.card__more { margin-top: auto; font-weight: 700; color: var(--blue); }
.card__more::after { content: " →"; }

/* Sectors */
.sector { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; color: var(--white); box-shadow: var(--shadow); }
.sector picture, .sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sector::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,58,0) 25%, rgba(11,31,58,.92) 100%); }
.sector__body { position: relative; z-index: 1; padding: 1.5rem; }
.sector h3 { color: var(--white); margin-bottom: .35rem; }
.sector p { margin: 0; color: #dce5f1; font-size: .975rem; }

/* Emergency banner */
.emergency { background: var(--accent); color: var(--navy); }
.emergency__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-top: 2rem; padding-bottom: 2rem; }
.emergency__text { display: flex; align-items: center; gap: 1rem; }
.emergency__text svg { width: 48px; height: 48px; fill: var(--navy); flex: none; }
.emergency h2 { margin: 0 0 .2rem; font-size: clamp(1.35rem, 2.5vw, 1.75rem); color: var(--navy); }
.emergency p { margin: 0; font-weight: 500; }
.emergency .btn { background: var(--navy); color: var(--white); }
.emergency .btn:hover { background: var(--navy-2); color: var(--white); }

/* Certifications */
.cert-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.cert { display: flex; gap: 1rem; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 1.25rem 1.25rem; }
.section--dark .cert { background: var(--navy-2); border-color: rgba(255,255,255,.08); border-left-color: var(--accent); }
.cert svg { width: 32px; height: 32px; fill: var(--blue); flex: none; margin-top: .1rem; }
.section--dark .cert svg { fill: var(--accent); }
.cert strong { display: block; color: var(--navy); }
.section--dark .cert strong { color: var(--white); }
.cert span { font-size: .925rem; color: var(--muted); }
.section--dark .cert span { color: #b8c5d8; }

/* Projects */
.project-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.project-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.project-card:hover .project-card__media img { transform: scale(1.04); }
.project-card__body { padding: 1.25rem 1.4rem 1.5rem; }
.project-card__tag { display: inline-block; font-size: .875rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: var(--blue-tint); padding: .2rem .55rem; border-radius: 4px; margin-bottom: .6rem; }
.project-card h3 { font-size: 1.125rem; margin-bottom: .35rem; }
.project-card p { margin: 0; color: var(--muted); font-size: .975rem; }

.project { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.5rem; align-items: center; padding: 3rem 0; border-bottom: 1px solid var(--line); }
.project:last-child { border-bottom: 0; }
.project:nth-child(even) .project__gallery { order: 2; }
.project__gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
.project__gallery > :first-child:last-child { grid-column: 1 / -1; }
.project__gallery--3 > :first-child { grid-column: 1 / -1; }
.gallery-btn { display: block; padding: 0; border: 0; background: var(--bg-alt); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; width: 100%; }
.project__gallery > :first-child:last-child.gallery-btn, .project__gallery--3 > .gallery-btn:first-child { aspect-ratio: 16 / 10; }
.gallery-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-btn:hover img { transform: scale(1.04); }
.project__meta { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .4rem; font-size: .95rem; }
.project__meta li { display: flex; gap: .5rem; }
.project__meta strong { color: var(--navy); min-width: 90px; }
@media (max-width: 860px) { .project { grid-template-columns: 1fr; gap: 1.5rem; } .project:nth-child(even) .project__gallery { order: 0; } }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(5, 14, 28, .9); }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; margin: 0 auto; border-radius: 6px; }
.lightbox__caption { color: #e5ecf5; text-align: center; margin: .75rem 0 0; font-size: .95rem; }
.lightbox__close { position: fixed; top: 1rem; right: 1rem; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--white); color: var(--navy); font-size: 1.75rem; line-height: 1; cursor: pointer; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--blue) 0%, var(--navy) 100%); color: var(--white); }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: .4rem; }
.cta-band p { margin: 0; color: #d7e3f3; font-size: 1.1rem; }
.cta-band__actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Inner page hero */
.page-hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.page-hero picture, .page-hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,31,58,.95), rgba(11,31,58,.7)); }
.page-hero__inner { position: relative; z-index: 1; padding: clamp(3rem, 8vw, 5rem) 1.25rem; }
.page-hero h1 { color: var(--white); margin-bottom: .4rem; }
.page-hero p { max-width: 680px; color: #d7e1ee; font-size: 1.15rem; margin: 0; }
.breadcrumb { list-style: none; display: flex; gap: .5rem; padding: 0; margin: 0 0 1rem; font-size: .875rem; color: #a9b8cc; }
.breadcrumb a { color: #d7e1ee; text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: #6f84a2; }

/* Prose / split */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--top { align-items: start; }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .6rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 75% no-repeat; }
.checklist--cols { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .checklist--cols { grid-template-columns: 1fr; } }

.leader { display: flex; gap: 1.5rem; align-items: center; }
.leader__avatar { width: 96px; height: 96px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; font-size: 2rem; font-weight: 800; flex: none; }
.leader h3 { margin-bottom: .1rem; }
.leader__role { color: var(--blue); font-weight: 700; margin-bottom: .5rem; }

.value h3 { display: flex; align-items: center; gap: .6rem; }
.value h3 svg { width: 26px; height: 26px; fill: var(--blue); }

blockquote.pledge { margin: 0; padding: 1.75rem 2rem; border-left: 5px solid var(--accent); background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); font-size: 1.25rem; font-weight: 600; color: var(--navy); }
blockquote.pledge footer { margin-top: .75rem; font-size: .95rem; font-weight: 500; color: var(--muted); }

/* Services page */
.service-nav { position: sticky; top: var(--header-h); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.service-nav ul { list-style: none; margin: 0; padding: .75rem 0; display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: thin; }
.service-nav a { display: flex; align-items: center; min-height: 44px; white-space: nowrap; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .925rem; }
.service-nav a:hover { border-color: var(--blue); color: var(--blue); }
.service-group { scroll-margin-top: calc(var(--header-h) + 80px); display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 4rem); padding: clamp(3rem, 6vw, 4.5rem) 0; border-bottom: 1px solid var(--line); }
.service-group:last-child { border-bottom: 0; }
.service-group__intro .card__icon { margin-bottom: 1rem; }
.service-group__media { margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.service-group__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-items { display: grid; gap: 1rem; align-content: start; }
.service-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem 1.5rem; background: var(--white); }
.service-item h3 { font-size: 1.125rem; margin-bottom: .35rem; display: flex; align-items: center; gap: .6rem; }
.service-item h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.service-item p { margin: 0; color: var(--muted); font-size: .985rem; }
@media (max-width: 860px) { .service-group { grid-template-columns: 1fr; } }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-aside { display: grid; gap: 1.25rem; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.info-card h2 { font-size: 1.2rem; margin-bottom: .75rem; }
.info-card--emergency { background: var(--navy); color: #d5deea; border-color: var(--navy); }
.info-card--emergency h2 { color: var(--accent); }
.info-card--emergency a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); font-size: 1.5rem; font-weight: 800; text-decoration: none; }
.info-card--emergency a:hover { color: var(--accent); }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.info-list li { display: flex; gap: .75rem; align-items: flex-start; }
.info-list svg { width: 22px; height: 22px; fill: var(--blue); flex: none; margin-top: .2rem; }
.info-list strong { display: block; color: var(--navy); font-size: .875rem; text-transform: uppercase; letter-spacing: .06em; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16 / 9; background: var(--bg-alt); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.hiring { background: var(--blue-tint); border: 1px dashed #9fc1e8; }
.hiring h2 { color: var(--blue-dark); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2.5rem); box-shadow: var(--shadow-lg); scroll-margin-top: calc(var(--header-h) + 16px); }
.form-card > .form-note { margin-bottom: 1.25rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 700; color: var(--navy); margin-bottom: .35rem; font-size: .95rem; }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: .75rem .9rem; border: 1.5px solid #cbd5e1; border-radius: 8px; background: var(--white); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(4,92,188,.15); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .875rem; margin: .3rem 0 0; min-height: 0; }
.field__hint { color: var(--muted); font-size: .9375rem; margin: .3rem 0 0; }
fieldset.field { border: 0; padding: 0; margin: 0; }

/* Native select (no-JS fallback): custom chevron instead of the OS arrow */
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23045cbc' d='M7.4 8.6 12 13.2l4.6-4.6L18 10l-6 6-6-6z'/%3E%3C/svg%3E") right .8rem center / 1.4rem no-repeat; }

/* Custom dropdown (enhanced by main.js) */
.select { position: relative; }
.select__native { position: absolute !important; inset: 0; opacity: 0; pointer-events: none; }
.select__button { display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; font: inherit; font-size: 1rem; text-align: left;
  padding: .75rem .9rem; border: 1.5px solid #cbd5e1; border-radius: 8px; background: var(--white); color: var(--ink); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.select__button:hover { border-color: #9fb3cc; }
.select__button:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(4,92,188,.15); }
.select__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select__chevron { width: 1.4rem; height: 1.4rem; fill: var(--blue); flex: none; transition: transform .2s; }
.select.is-open .select__chevron { transform: rotate(180deg); }
.select__list { position: absolute; z-index: 30; left: 0; top: calc(100% + 6px); margin: 0; padding: .4rem; list-style: none;
  min-width: 100%; width: max-content; max-width: min(26rem, calc(100vw - 2.5rem));
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); max-height: 24rem; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: #cbd5e1 transparent; animation: select-in .14s ease-out; }
.select__list[hidden] { display: none; }
@keyframes select-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.select__option { position: relative; padding: .6rem 2.25rem .6rem .8rem; border-radius: 8px; cursor: pointer; color: var(--ink); line-height: 1.35; }
.select__option.is-active { background: var(--blue-tint); color: var(--blue-dark); }
.select__option[aria-selected="true"] { font-weight: 700; color: var(--blue); }
.select__option[aria-selected="true"]::after { content: ""; position: absolute; right: .75rem; top: 50%; width: 1.1rem; height: 1.1rem; transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23045cbc' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.select__option[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.radio-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.radio-row label { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--ink); border: 1.5px solid #cbd5e1; border-radius: 999px; padding: .45rem .95rem; cursor: pointer; margin: 0; }
.radio-row input { width: auto; accent-color: var(--blue); }
.radio-row label:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); color: var(--blue-dark); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.form-note { font-size: .9375rem; color: var(--muted); margin: 0; }
.alert { border-radius: 8px; padding: 1rem 1.2rem; margin-bottom: 1.25rem; font-weight: 600; }
.alert[hidden] { display: none; }
.alert--success { background: #ecfdf3; color: var(--success); border: 1px solid #abefc6; }
.alert--error { background: #fef3f2; color: var(--danger); border: 1px solid #fecdca; }

/* Prose (privacy) */
.prose { max-width: 70ch; } /* comfortable reading line length */
.prose h2 { font-size: 1.5rem; margin-top: 2.25rem; }
.prose li { margin-bottom: .35rem; }

/* 404 */
.notfound { text-align: center; padding: clamp(4rem, 12vw, 8rem) 0; }
.notfound__code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 900; color: var(--blue); line-height: 1; margin: 0 0 1rem; letter-spacing: -.02em; }

/* Footer */
.site-footer { background: #071528; color: #aebbd0; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1.1fr; gap: 2rem; padding-top: 3.5rem; padding-bottom: 3rem; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__brand img { width: 96px; height: auto; margin-bottom: 1rem; }
.site-footer__title { color: var(--white); font-size: .875rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.site-footer address { margin-bottom: .75rem; }
.site-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: #dbe4f0; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
@media (max-width: 760px) {
  .site-footer__list { gap: 0; }
  .site-footer__list a, .site-footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; } /* 44px tap targets */
}
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: .875rem; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.site-footer__bottom p { margin: 0; }

/* Mobile sticky call bar */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; box-shadow: 0 -6px 20px rgba(0,0,0,.15); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem .5rem; font-weight: 800; text-decoration: none; }
  .callbar__call { background: var(--accent); color: var(--navy); }
  .callbar__request { background: var(--blue); color: var(--white); }
  body { padding-bottom: 56px; }
}
