/* MDGC — public site styles. Brand colors come from Admin › Settings (CSS variables set in layout). */
:root {
  --navy: #0e1e3a; --navy-2: #16294d; --blue: #1d5fd1; --gold: #f2b632; --red: #c8102e;
  --ink: #1d2433; --muted: #5b6577; --line: #e3e7ee; --tint: #f4f6fa; --white: #fff;
  --radius: 6px; --shadow: 0 10px 30px rgba(14, 30, 58, .08);
  --head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.65 var(--body); color: var(--ink); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 12px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
[data-hidden] { display: none !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 10px 22px; border: 2px solid transparent; border-radius: var(--radius); font: 700 14px/1.2 var(--head); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--navy); color: #fff; }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #ffc94d; color: var(--navy); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn-row--center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font: 700 13px var(--head); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--blue); }
.link-arrow:hover .ico { transform: translateX(3px); }
.link-arrow .ico { transition: transform .15s; }
.link-back { display: inline-block; margin-bottom: 12px; font-size: 14px; text-decoration: none; }

/* Top bar + header */
.topbar { background: var(--navy); color: #c9d3e6; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.08); }
.topbar__in { display: flex; align-items: center; gap: 22px; min-height: 38px; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
a.topbar__item:hover { color: var(--gold); }
.topbar__item:first-child { color: var(--gold); font-weight: 700; }
.topbar__social { margin-left: auto; display: flex; gap: 12px; }
.topbar__social a { color: #c9d3e6; }
.header { position: sticky; top: 0; z-index: 50; background: var(--navy); box-shadow: 0 2px 14px rgba(0,0,0,.18); }
.header__in { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.brand img { width: 128px; height: auto; }
.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: block; padding: 26px 11px; color: #fff; font: 600 14px var(--head); text-decoration: none; white-space: nowrap; }
.nav__link:hover, .nav__item.is-active > .nav__link { color: var(--gold); }
.nav__toggle { display: none; }
.nav__sub { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border-top: 3px solid var(--gold); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .15s; }
.nav__item.has-sub:hover .nav__sub, .nav__item.has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 9px 18px; color: var(--navy); font-size: 14px; text-decoration: none; }
.nav__sub a:hover, .nav__sub a[aria-current] { background: var(--tint); color: var(--blue); }
.nav__cta-mobile { display: none; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: var(--radius); background: rgba(255,255,255,.1); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger .ico { width: 24px; height: 24px; }
.burger .ico--close { display: none; }
@media (max-width: 1180px) {
  .header__cta { display: none; }
  .burger { display: inline-flex; }
  .nav { position: fixed; inset: 114px 0 0 0; background: var(--navy); overflow-y: auto; padding: 8px 16px 120px; transform: translateX(100%); transition: transform .25s; margin: 0; }
  body.nav-open .nav { transform: none; }
  body.nav-open { overflow: hidden; }
  body.nav-open .burger .ico--open { display: none; }
  body.nav-open .burger .ico--close { display: block; }
  .nav__list { flex-direction: column; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav__link { flex: 1; padding: 15px 4px; font-size: 16px; }
  .nav__toggle { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; background: none; border: 0; color: #fff; cursor: pointer; }
  .nav__toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
  .nav__sub { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; background: rgba(255,255,255,.05); border-radius: var(--radius); margin-bottom: 10px; }
  .nav__item.is-open .nav__sub { display: block; }
  .nav__item.has-sub:hover .nav__sub { transform: none; }
  .nav__sub a { color: #dfe6f3; padding: 12px 16px; }
  .nav__sub a:hover, .nav__sub a[aria-current] { background: transparent; color: var(--gold); }
  .nav__cta-mobile { display: flex; margin-top: 20px; }
}
@media (max-width: 719px) { .hide-sm { display: none !important; } .nav { inset: 114px 0 0 0; } }
@media (max-width: 960px) { .hide-md { display: none !important; } }

/* Hero */
.hero { position: relative; background: var(--navy) center/cover no-repeat; color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,30,58,.92) 0%, rgba(14,30,58,.72) 45%, rgba(14,30,58,.25) 100%); }
.hero__in { position: relative; padding: 110px 16px 120px; }
.eyebrow { font: 800 13px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 14px; }
.eyebrow--gold { color: var(--gold); font-size: clamp(13px, 1.6vw, 20px); }
.hero__title { color: #fff; font-size: clamp(34px, 6vw, 68px); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; max-width: 14em; margin: 0 0 18px; line-height: 1.08; }
.hero__sub { font-size: clamp(16px, 2vw, 22px); color: #dfe6f3; margin: 0; }
@media (min-width: 720px) { .hero__in { padding: 150px 24px 170px; } }

/* Banner (inner pages) */
.banner { position: relative; background: var(--navy) center/cover no-repeat; color: #fff; }
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,30,58,.94), rgba(14,30,58,.7)); }
.banner .wrap { position: relative; padding-top: 56px; padding-bottom: 50px; }
.banner__title { color: #fff; font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; margin: 0 0 10px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: 14px; color: #c9d3e6; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--gold); }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* Sections */
.section { padding: 64px 0; }
.section--tight { padding: 32px 0; }
.section--tint { background: var(--tint); }
@media (min-width: 960px) { .section { padding: 88px 0; } }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.h2--light { color: #fff; }
.h3 { font-size: 21px; margin-top: 28px; }
.ico--h { width: 1em; height: 1em; color: var(--blue); }
.lead { font-size: 18px; color: #3a4456; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { margin: 0 0 1em; }
.note { display: flex; gap: 10px; align-items: flex-start; background: var(--tint); border-left: 4px solid var(--red); padding: 14px 16px; border-radius: 0 var(--radius) var(--radius) 0; margin: 20px 0; }
.alert { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: var(--radius); margin: 20px 0; font-weight: 600; }
.alert--ok { background: #e7f6ec; color: #135c2c; border: 1px solid #b6e2c3; }
.alert--err { background: #fdecee; color: #8a1020; border: 1px solid #f3c1c8; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding: 6px 0 6px 30px; border-bottom: 1px dashed var(--line); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat; }
.checklist li.more::before { background: var(--gold); }
@media (min-width: 720px) { .checklist--cols { columns: 2; column-gap: 32px; } .checklist--cols li { break-inside: avoid; } }

/* Intro + stats */
.intro__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .intro__grid { grid-template-columns: 1.15fr 1fr; gap: 64px; } }
.creds { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
.creds li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--navy); }
.creds .ico { color: var(--gold); width: 22px; height: 22px; }
.creds--row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; margin: 0; }
.stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { background: var(--navy); color: #fff; padding: 24px 20px; border-radius: var(--radius); border-bottom: 4px solid var(--gold); }
.stat:nth-child(2), .stat:nth-child(3) { background: var(--navy-2); }
.stat__value { display: block; font: 800 clamp(24px, 3vw, 34px) var(--head); color: var(--gold); line-height: 1.1; margin-bottom: 6px; }
.stat__label { font-size: 14px; color: #dfe6f3; line-height: 1.4; display: block; }

/* Tiles */
.tiles { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s, border-color .2s; }
.tile:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; color: var(--ink); }
.tile__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--gold); margin-bottom: 16px; }
.tile__icon .ico { width: 26px; height: 26px; }
.tile__icon--lg { width: 84px; height: 84px; }
.tile__icon--lg .ico { width: 38px; height: 38px; }
.tile__img { border-radius: var(--radius); margin: -10px -6px 16px; aspect-ratio: 16/10; object-fit: cover; width: calc(100% + 12px); max-width: none; }
.tile__title { font-size: 19px; margin-bottom: 8px; }
.tile__text { color: var(--muted); font-size: 15px; flex: 1; }
.tile__more { display: inline-flex; gap: 6px; align-items: center; font: 700 13px var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }

/* Services list */
.svc-list { display: grid; gap: 22px; margin-top: 28px; }
.svc { display: grid; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
@media (min-width: 720px) { .svc { grid-template-columns: 180px 1fr; padding: 28px; } }
.svc__media img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; }
.svc__body h3 { margin-top: 0; }
.svc__body h3 a { color: var(--navy); text-decoration: none; }
.svc__hero { border-radius: var(--radius); margin: 0 0 22px; }

/* Layout with sidebar */
.with-aside { display: grid; gap: 40px; }
@media (min-width: 1000px) { .with-aside { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; } }
.aside { display: grid; gap: 20px; align-content: start; }
@media (min-width: 1000px) { .aside { position: sticky; top: 100px; } }
.aside__box { background: var(--tint); border-radius: var(--radius); padding: 24px; }
.aside__box h3 { font-size: 18px; }
.aside__box--navy { background: var(--navy); color: #dfe6f3; }
.aside__box--navy h3 { color: #fff; }
.aside__phone { display: flex; align-items: center; gap: 10px; font: 800 24px var(--head); color: var(--gold); text-decoration: none; margin: 4px 0 16px; }
.aside__phone:hover { color: #fff; }
.aside__links { list-style: none; padding: 0; margin: 0; }
.aside__links a { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 600; }
.aside__links a:hover { color: var(--blue); }
.aside__links .ico { color: var(--blue); }
.steps { margin: 0; padding-left: 20px; }
.steps li { margin-bottom: 8px; }
.leadtimes { list-style: none; padding: 0; margin: 0; }
.leadtimes li { display: grid; padding: 10px 0; border-bottom: 1px solid var(--line); }
.leadtimes strong { color: var(--navy); }
.leadtimes span { color: var(--muted); font-size: 14px; }

/* Bid + FAQ */
.bidfaq { background: linear-gradient(180deg, var(--tint) 0, var(--tint) 100%); }
.bidfaq__grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .bidfaq__grid { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.panel { border-radius: var(--radius); padding: 28px 20px; }
@media (min-width: 720px) { .panel { padding: 40px; } }
.panel--navy { background: var(--navy); color: #dfe6f3; border-top: 5px solid var(--gold); }
.panel__lead { color: #dfe6f3; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq__item summary { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 16px 18px; cursor: pointer; font: 700 15px var(--head); color: var(--navy); list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ico { transition: transform .2s; color: var(--blue); }
.faq__item[open] summary .ico { transform: rotate(180deg); }
.faq__a { padding: 0 18px 16px; color: var(--muted); }

/* Forms */
.form { display: grid; gap: 16px; }
.grid2 { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 14px; color: var(--navy); padding: 0; }
.field small { font-weight: 400; color: var(--muted); }
.req { color: var(--red); }
input[type=text], input:not([type]), input[type=email], input[type=tel], input[type=password], input[type=url], input[type=search], input[type=date], input[type=number], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #c8cfdb; border-radius: var(--radius); font: 16px var(--body); color: var(--ink); background: #fff; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: 3px solid rgba(29,95,209,.18); outline-offset: 0; }
[aria-invalid="true"], .has-error input:not([type=radio]):not([type=checkbox]):not([type=file]), .has-error select, .has-error textarea { border-color: var(--red) !important; background-color: #fff6f7; }
[aria-invalid="true"]:focus, .has-error input:focus, .has-error select:focus, .has-error textarea:focus { outline-color: rgba(200,16,46,.2); }
.has-error > label, .has-error > legend { color: var(--red); }
fieldset.has-error .choices, fieldset.has-error .roles { outline: 2px solid var(--red); outline-offset: 4px; border-radius: var(--radius); }
.form--dark .has-error > label, .form--dark .has-error > legend { color: #ff9aa7; }
.form--dark .has-error input:not([type=radio]):not([type=checkbox]):not([type=file]), .form--dark .has-error select, .form--dark .has-error textarea { background-color: #fff0f2; }
.field-error::before { content: "⚠ "; }
.alert--err ul { margin: 6px 0 0; padding-left: 20px; font-weight: 500; }
.alert--err a { color: inherit; }
input[type=file] { padding: 10px; border: 1px dashed #b7c0cf; border-radius: var(--radius); background: #fff; width: 100%; font-size: 14px; }
.field-error { color: var(--red); font-size: 13px; font-weight: 600; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices--stack { flex-direction: column; gap: 8px; }
.choice { display: inline-flex; align-items: center; gap: 8px; font-weight: 600 !important; min-height: 40px; cursor: pointer; }
.choice input { width: 20px; height: 20px; accent-color: var(--blue); }
.form__privacy { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin: 0; }
.form--dark .field label, .form--dark .field legend { color: #fff; }
.form--dark .field small, .form--dark .form__privacy { color: #b9c4d8; }
.form--dark .choice { color: #fff; }
.form--dark .field-error { color: #ff9aa7; }
.form--dark input[type=file] { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.3); }

/* Crew roles + calculator */
.roles { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin-bottom: 8px; }
@media (min-width: 640px) { .roles { grid-template-columns: repeat(4, 1fr); } }
.role { display: grid; gap: 6px; background: var(--tint); border-radius: var(--radius); padding: 12px; font-size: 14px; }
.stepper { display: flex; align-items: stretch; }
.stepper input { text-align: center; border-radius: 0; min-height: 44px; padding: 6px 2px; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper button { width: 40px; border: 1px solid #c8cfdb; background: #fff; font: 700 20px var(--head); color: var(--navy); cursor: pointer; }
.stepper button:first-child { border-radius: var(--radius) 0 0 var(--radius); border-right: 0; }
.stepper button:last-child { border-radius: 0 var(--radius) var(--radius) 0; border-left: 0; }
.stepper button:hover { background: var(--navy); color: #fff; }
.crewcalc { background: var(--navy); color: #dfe6f3; border-top: 5px solid var(--gold); }
.crewcalc h3 { color: #fff; }
.crewcalc__total { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.crewcalc__total strong { font: 800 48px var(--head); color: var(--gold); line-height: 1; }
.crewcalc__list { list-style: none; padding: 0; margin: 0 0 12px; }
.crewcalc__list li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.crewcalc__list strong { color: #fff; text-align: right; }
.crewcalc__msg { font-size: 14px; margin: 0; }
.crewcalc__msg p { margin: 8px 0 0; padding: 10px 12px; border-radius: var(--radius); background: rgba(255,255,255,.07); }
.crewcalc__msg p.warn { background: rgba(200,16,46,.22); color: #fff; border-left: 3px solid var(--red); }
.crewcalc__msg p.good { border-left: 3px solid var(--gold); }

.crew-inline { margin-top: 10px; padding: 12px 14px; border-radius: var(--radius); background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; border-left: 4px solid var(--gold); }
.crew-inline.is-warn { border-left-color: var(--red); }
@media (min-width: 1000px) { .crew-inline { display: none; } }

/* Projects */
.cards { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s; }
a.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.pcard__img { position: relative; aspect-ratio: 4/3; background: linear-gradient(135deg, #dfe5ef, #eef2f8); display: flex; align-items: center; justify-content: center; color: #9aa6ba; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.pcard__img > span .ico { width: 48px; height: 48px; }
.pcard__tag { position: absolute; left: 12px; top: 12px; background: var(--navy); color: var(--gold); font: 700 11px var(--head); text-transform: uppercase; letter-spacing: .08em; padding: 5px 9px; border-radius: 3px; }
.pcard__body { padding: 18px 20px 22px; }
.pcard__body h3 { font-size: 18px; margin-bottom: 6px; }
.pcard__loc { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.pcard__desc { color: var(--muted); font-size: 15px; margin: 0; }
.pcard--ph { opacity: .55; border-style: dashed; }
.empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--tint); border-left: 4px solid var(--gold); padding: 20px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 26px; }
.empty p { margin: 0; font-weight: 600; color: var(--navy); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px; border-bottom: 2px solid var(--line); }
.tabs__tab { padding: 10px 14px; font: 700 14px var(--head); color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tabs__tab.is-on, .tabs__tab:hover { color: var(--navy); border-color: var(--gold); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 0 0 22px; }
.facts div { background: var(--tint); padding: 12px 14px; border-radius: var(--radius); }
.facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.facts dd { margin: 2px 0 0; font-weight: 700; color: var(--navy); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 24px; }
.gallery__item img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); width: 100%; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,15,30,.94); display: flex; align-items: center; justify-content: center; padding: 50px 16px; }
.lightbox img { max-height: 82vh; width: auto; border-radius: 4px; }
.lightbox figcaption { color: #dfe6f3; text-align: center; margin-top: 10px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.lightbox .lb-close { top: 14px; right: 14px; }
.lightbox .lb-prev { left: 10px; top: 50%; }
.lightbox .lb-next { right: 10px; top: 50%; }

/* Team, licenses, packages, jobs, quotes */
.team { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 28px; }
.person { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 26px; }
.person__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; }
.person__initials { display: inline-flex; width: 72px; height: 72px; border-radius: 50%; background: var(--navy); color: var(--gold); align-items: center; justify-content: center; font: 800 24px var(--head); margin-bottom: 14px; }
.person__name { font-size: 21px; margin-bottom: 2px; }
.person__title { color: var(--blue); font: 700 13px var(--head); text-transform: uppercase; letter-spacing: .08em; }
.person__contact { display: grid; gap: 6px; margin: 14px 0 0; font-size: 15px; }
.person__contact a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.groupphoto { margin: 24px 0 0; }
.groupphoto img { border-radius: var(--radius); width: 100%; }
.groupphoto figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; }
.licenses { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 24px; }
.license { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.license h3 { font-size: 17px; margin-bottom: 4px; }
.license p { margin: 0; }
.license__icon { flex: none; display: inline-flex; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--gold); align-items: center; justify-content: center; }
.license__num { font: 800 18px var(--head); color: var(--blue); }
.pkgs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 28px 0; }
.pkg { background: var(--tint); border-radius: var(--radius); padding: 22px; }
.pkg h3 { font-size: 18px; }
.pkg p { margin: 0; color: var(--muted); }
.jobs { display: grid; gap: 18px; margin: 24px 0; }
.job { border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 22px; }
.job__head { display: flex; justify-content: space-between; gap: 12px; align-items: start; flex-wrap: wrap; }
.job__head h3 { margin: 0; }
.job__meta { color: var(--muted); font-size: 14px; display: flex; gap: 6px; align-items: center; }
.badge { background: var(--navy); color: var(--gold); font: 700 11px var(--head); text-transform: uppercase; letter-spacing: .08em; padding: 5px 9px; border-radius: 3px; }
.quotes { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 24px; }
.quote { margin: 0; background: #fff; border-radius: var(--radius); padding: 26px; border-left: 4px solid var(--gold); }
.quote blockquote { margin: 0 0 14px; font-size: 17px; color: var(--ink); }
.quote figcaption span { display: block; color: var(--muted); font-size: 14px; }

/* Location + contact */
.location__grid, .contact__grid { display: grid; gap: 32px; align-items: stretch; }
@media (min-width: 960px) { .location__grid { grid-template-columns: 1fr 1.3fr; gap: 56px; } .contact__grid { grid-template-columns: 1fr 1.2fr; gap: 48px; } }
.contact-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .ico { color: var(--blue); margin-top: 4px; width: 20px; height: 20px; }
.contact-list--lg strong { display: block; font: 700 12px var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact__card { background: var(--tint); border-radius: var(--radius); padding: 28px; }
.location__photo { border-radius: var(--radius); margin-top: 22px; }
.map { min-height: 320px; border-radius: var(--radius); overflow: hidden; background: var(--tint); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.map--tall iframe { min-height: 440px; }

/* Footer */
.footer { background: var(--navy); color: #b9c4d8; font-size: 15px; }
.footer__cta { background: var(--navy-2); border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__cta-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; padding-top: 40px; padding-bottom: 40px; }
.footer__cta h2 { color: #fff; font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 6px; }
.footer__cta p { margin: 0; }
.footer__cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.footer__grid { display: grid; gap: 32px; padding-top: 52px; padding-bottom: 40px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer h3 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer a { color: #dfe6f3; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__logo { width: 140px; margin-bottom: 14px; }
.footer__muted { font-size: 14px; }
.footer__links, .footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .ico { color: var(--gold); margin-top: 4px; }
.hours { margin: 0; display: grid; gap: 6px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 6px; }
.hours dt { color: #dfe6f3; white-space: nowrap; }
.hours dd { margin: 0; white-space: nowrap; }
.hours { font-size: 14px; }
.hours dd.is-closed { color: #ff9aa7; }
.footer__social { display: flex; gap: 14px; margin-top: 16px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; }
.footer__bottom-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; padding-bottom: 18px; }

/* Mobile sticky call bar */
.callbar { display: none; }
@media (max-width: 719px) {
  body { padding-bottom: 62px; }
  .callbar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -4px 16px rgba(0,0,0,.18); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; background: var(--navy); color: #fff; font: 700 15px var(--head); text-decoration: none; padding-bottom: env(safe-area-inset-bottom); }
  .callbar a.callbar__bid { background: var(--gold); color: var(--navy); }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .header, .callbar, .footer__cta, .map { display: none !important; } }

/* Customer / applicant accounts */
.topbar__acct { margin-left: auto; font-weight: 700; color: #fff !important; }
.topbar__acct + .topbar__social { margin-left: 0; }
.acct-hint { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; background: var(--tint); border-radius: var(--radius); font-size: 14px; color: var(--muted); }
.acct-hint .ico { color: var(--blue); margin-top: 3px; }
.form--dark .acct-hint { background: rgba(255,255,255,.07); color: #c9d3e6; }
.form--dark .acct-hint a { color: var(--gold); }
.auth { display: flex; justify-content: center; }
.auth__card { width: 100%; max-width: 560px; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--gold); border-radius: var(--radius); padding: 28px 20px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .auth__card { padding: 36px 40px; } }
.auth__card.center .tile__icon { margin: 0 auto 16px; }
.auth__alt { margin: 18px 0 0; font-size: 14px; text-align: center; color: var(--muted); }
.mb { margin-bottom: 16px; }
.acct-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; border-bottom: 2px solid var(--line); margin-bottom: 28px; }
.acct-nav a { display: inline-flex; gap: 8px; align-items: center; padding: 10px 14px; font: 700 14px var(--head); color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.acct-nav a[aria-current], .acct-nav a:hover { color: var(--navy); border-color: var(--gold); }
.acct-nav form { margin: 0 0 0 auto; }
.acct-nav button { background: none; border: 0; color: var(--blue); font: 600 14px var(--body); cursor: pointer; padding: 10px; }
.acct-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.acct-head .h2 { margin-bottom: 4px; }
.acct-head p { margin: 0; }
.acct-head .btn-row { margin: 0; }
.reqlist { display: grid; gap: 12px; }
.reqcard { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--ink); transition: box-shadow .15s, border-color .15s; }
.reqcard:hover { box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
@media (min-width: 720px) { .reqcard { grid-template-columns: auto 1fr auto; } }
.reqcard__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.reqcard__body { display: grid; gap: 2px; }
.reqcard__body small { color: var(--muted); }
.reqcard__status { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; grid-column: 2; }
@media (min-width: 720px) { .reqcard__status { grid-column: auto; align-items: flex-end; } }
.reqcard__status small { display: inline-flex; gap: 5px; align-items: center; color: var(--blue); font-weight: 600; }
.pill { display: inline-block; padding: 4px 11px; border-radius: 20px; font: 700 12px var(--head); background: #fff3cd; color: #7a5600; text-transform: uppercase; letter-spacing: .05em; }
.pill--in-review, .pill--under-review, .pill--quoted { background: #e5edfb; color: #1a4fb0; }
.pill--awarded, .pill--hired { background: #e2f5e9; color: #157347; }
.pill--closed { background: #eef0f4; color: #5b6577; }
.progress { list-style: none; display: flex; padding: 0; margin: 22px 0 32px; counter-reset: s; }
.progress li { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font: 700 13px var(--head); color: var(--muted); text-align: center; }
.progress li::before { content: ""; position: absolute; top: 17px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.progress li:first-child::before { display: none; }
.progress li > span { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 3px solid var(--line); display: flex; align-items: center; justify-content: center; }
.progress li.is-done, .progress li.is-now { color: var(--navy); }
.progress li.is-done > span { background: var(--blue); border-color: var(--blue); color: #fff; }
.progress li.is-done::before, .progress li.is-now::before { background: var(--blue); }
.progress li.is-now > span { border-color: var(--gold); background: var(--navy); color: var(--gold); }
.thread { border-top: 1px solid var(--line); padding-top: 8px; }
.thread .h3 { margin-top: 16px; }
.msg { background: var(--tint); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 12px; margin-left: 10%; }
.msg--staff { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); margin-left: 0; margin-right: 10%; }
.msg__head { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.msg__head small { color: var(--muted); }
.msg-form { margin-top: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.sent { margin: 0; font-size: 14px; }
.sent dt { font-weight: 700; color: var(--navy); margin-top: 10px; }
.sent dd { margin: 2px 0 0; color: var(--muted); overflow-wrap: anywhere; }
.mt-s { margin-top: 18px; }
.files-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; }
.files-list li { display: flex; gap: 6px; align-items: center; }
.grid-profile { display: grid; gap: 24px; }
@media (min-width: 960px) { .grid-profile { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.card-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stack-s { display: grid; gap: 24px; }
.small-t { font-size: 14px; margin: 0; }
.danger summary { cursor: pointer; font-weight: 700; color: var(--red); }
.danger .form { margin-top: 14px; }
.btn--danger { background: var(--red); color: #fff; }
.btn--danger:hover { background: #9c0c24; color: #fff; }
.alert.js-summary { display: block; }
.js-summary > div { font-weight: 700; }

/* Language switch (job application) */
.langbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.langbar .h2 { margin: 0; }
.langswitch { display: inline-flex; border: 2px solid var(--navy); border-radius: 999px; overflow: hidden; }
.langswitch a { padding: 7px 16px; font: 700 14px var(--head); color: var(--navy); text-decoration: none; }
.langswitch a[aria-current] { background: var(--navy); color: var(--gold); }
.langswitch a:not([aria-current]):hover { background: var(--tint); }
.btn--es { gap: 8px; }
