/* ============================================================
   V&M SYSTEMS GROUP — site stylesheet
   Round 6 (2026-10-16): studio-grade refinement. Inter Tight for
   display, Inter for text, hairlines instead of boxes, unified
   image treatment, generous rhythm. One crimson accent, used only
   for rules, underlines and markers. No motion beyond short hover
   transitions. roofview.html still uses css/styles.css.
   ============================================================ */

:root {
  color-scheme: dark;
  --ink: #f2f5f9;
  --ink-2: #c3cad6;
  --ink-3: #8a94a6;
  --rule: rgba(255, 255, 255, 0.13);
  --rule-soft: rgba(255, 255, 255, 0.08);
  --rule-strong: rgba(255, 255, 255, 0.40);
  --paper: #070d18;
  --paper-2: #0b1424;
  --paper-3: #101c30;
  --navy: #0f2a4a;
  --navy-2: #1b4475;
  --navy-deep: #0a1d35;
  --navy-ink: #ffffff;
  --link: #a9c8ff;
  --accent: #d93a2f;
  --btn-cut: polygon(12px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 12px) 100%, 0 100%, 0 9px);
  --bevel-2s: polygon(var(--cut-x-s) 0, 100% 0, 100% calc(100% - var(--cut-y-s)), calc(100% - var(--cut-x-s)) 100%, 0 100%, 0 var(--cut-y-s));
  --bevel-2xs: polygon(24px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 24px) 100%, 0 100%, 0 18px);
  --max: 1240px;
  --prose: 66ch;
  --measure-wide: 760px;
  --gutter: clamp(20px, 5vw, 56px);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --fs-xs: 0.84rem;
  --fs-sm: 0.9rem;
  --fs-md: 0.95rem;
  --fs-eyebrow: 0.72rem;
  --fs-label: 0.78rem;
  --track-eyebrow: 0.14em;
  --track-label: 0.12em;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 12px 32px rgba(0, 0, 0, 0.55);
  --t: 160ms ease;
  --head-h: 88px;
  --cut-x: clamp(56px, 7.5vw, 104px);
  --cut-y: calc(var(--cut-x) * 0.75);
  --cut-x-s: 32px;
  --cut-y-s: 24px;
  --bevel: polygon(0 0, 100% 0, 100% calc(100% - var(--cut-y)), calc(100% - var(--cut-x)) 100%, 0 100%);
  --bevel-s: polygon(0 0, 100% 0, 100% calc(100% - var(--cut-y-s)), calc(100% - var(--cut-x-s)) 100%, 0 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 24px); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--navy); color: #ffffff; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color var(--t); }
a:hover { color: var(--ink); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0; color: var(--ink); letter-spacing: -0.018em; }
h1 { font-size: clamp(2.4rem, 4.2vw, 3.4rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
h3 { font-size: 1.2rem; }
p, ul, ol, dl, table { margin: 0 0 1em; }
strong { font-weight: 700; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--navy-ink); padding: 8px 14px; z-index: 300; }
.skip:focus { left: 8px; }

/* Eyebrow: small caps with a short accent line */
.eyebrow, .crumb, .side-box h2, .site-footer h2, .brand__text span, .data dt {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
}
.eyebrow { display: block; color: var(--ink-3); margin: 0 0 14px; }
.band--navy .eyebrow, .band--photo .eyebrow, .band--cta .eyebrow { color: rgba(255, 255, 255, 0.72); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 13, 24, 0.96);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow var(--t);
}
.site-header.is-stuck { box-shadow: var(--shadow-1); }

.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--head-h); }

.brand { text-decoration: none; color: var(--ink); display: flex; align-items: center; gap: 14px; line-height: 1.1; }
.brand__mark { width: 42px; height: 42px; flex: none; display: block; }
.brand__text { display: flex; flex-direction: column; }
.brand__text strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }
.brand__text span { color: var(--ink-3); margin-top: 4px; font-size: 0.64rem; font-weight: 500; }
.brand:hover { color: var(--ink); }

/* Primary menu (desktop) */
.menu > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.menu li { position: relative; }
.menu > ul > li > a,
.menu > ul > li > button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  font: inherit;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}
.menu > ul > li > a::before,
.menu > ul > li > button::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 3px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.menu > ul > li > a:hover::before,
.menu > ul > li > button:hover::before,
.menu > ul > li.is-active > a::before,
.menu > ul > li.is-active > button::before,
.menu > ul > li.open > button::before { transform: scaleX(1); }
.menu > ul > li > button::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--ink-3);
  border-bottom: 1.5px solid var(--ink-3);
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--t), border-color var(--t);
}
.menu > ul > li > button:hover::after,
.menu > ul > li.open > button::after { border-color: var(--accent); }

.menu .sub {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 272px;
  background: var(--paper-3);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-2);
  display: none;
  z-index: 50;
}
.menu > ul > li:nth-last-child(-n+2) > .sub { left: auto; right: 0; }
.menu .sub a {
  display: block;
  padding: 11px 22px;
  color: var(--ink);
  text-decoration: none;
  font-size: var(--fs-md);
  font-weight: 500;
  border-left: 2px solid transparent;
  transition: background var(--t), border-color var(--t), color var(--t);
}
.menu .sub a:hover { background: rgba(255, 255, 255, 0.06); border-left-color: var(--accent); color: var(--ink); }
.menu .sub a[aria-current] { color: var(--ink); font-weight: 700; border-left-color: var(--accent); }

@media (hover: hover) { .menu li.has-sub:hover > .sub { display: block; } }
.menu li.has-sub.open > .sub { display: block; }

.menu-toggle {
  display: none;
  font: inherit;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  background: none;
  border: 1px solid var(--rule-strong);
  padding: 10px 16px;
  color: var(--ink);
  cursor: pointer;
  transition: background var(--t), color var(--t);
}
.menu-toggle:hover { background: var(--paper-3); }

@media (max-width: 560px) {
  .brand { gap: 10px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__text strong { font-size: 1.02rem; }
  .brand__text span { font-size: 0.6rem; }
}
@media (max-width: 900px) {
  :root { --head-h: 72px; }
  .menu-toggle { display: inline-block; }
  .menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper-2);
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow-2);
    z-index: 60;
    max-height: calc(100vh - var(--head-h));
    max-height: calc(100dvh - var(--head-h));
    overflow-y: auto;
  }
  .site-header.menu-open .menu { display: block; }
  .menu > ul { flex-direction: column; gap: 0; padding: 6px var(--gutter) 20px; }
  .menu > ul > li { border-top: 1px solid var(--rule-soft); }
  .menu > ul > li > a,
  .menu > ul > li > button { width: 100%; padding: 16px 0 10px; justify-content: space-between; }
  .menu > ul > li > a::before,
  .menu > ul > li > button::before { display: none; }
  .menu > ul > li.open > button::after { transform: translateY(2px) rotate(225deg); }
  .menu .sub { display: none; position: static; border: 0; box-shadow: none; min-width: 0; padding: 0 0 12px; }
  .menu li.has-sub.open > .sub { display: block; }
  .menu > ul > li:nth-last-child(-n+2) > .sub { left: auto; right: auto; }
  .menu .sub a { padding: 9px 0 9px 16px; }
}

/* ---------- Unified image treatment ---------- */
.banner__img, .band__img, .card__media img, .split__media img { filter: saturate(0.8) contrast(1.06) brightness(0.94); }

/* ---------- Page banner ---------- */
.banner { position: relative; background: var(--navy); color: #ffffff; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; clip-path: var(--bevel); }
.banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10, 29, 53, 0.88) 0%, rgba(10, 29, 53, 0.38) 60%, rgba(10, 29, 53, 0.16) 100%),
    linear-gradient(68deg, rgba(10, 29, 53, 0.84) 0%, rgba(10, 29, 53, 0.72) 64%, rgba(10, 29, 53, 0.26) 76%, rgba(10, 29, 53, 0.12) 100%);
}
.banner__text { position: relative; width: 100%; padding-block: 64px 56px; }
.banner .banner__text > * { max-width: 800px; }
.banner .crumb, .banner .crumb a { color: rgba(255, 255, 255, 0.72); }
.banner h1 { color: #ffffff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); }
.banner h1::after { content: ""; display: block; width: 72px; height: 6px; background: var(--accent); margin-top: 22px; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.banner .lede { color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); }
.banner--home { min-height: min(76vh, 760px); align-items: center; }
.banner--home .banner__scrim {
  background:
    linear-gradient(68deg, rgba(10, 29, 53, 0.95) 0%, rgba(10, 29, 53, 0.9) 62%, rgba(10, 29, 53, 0.3) 73%, rgba(10, 29, 53, 0.08) 100%),
    linear-gradient(to top, rgba(10, 29, 53, 0.6) 0%, rgba(10, 29, 53, 0) 40%);
}
.banner--home .banner__text { padding-block: 88px 80px; }
.banner--home .banner__text > * { max-width: 740px; }
.banner--home h1 { font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1; letter-spacing: -0.03em; text-transform: uppercase; }
.banner--home h1::after { width: 96px; height: 6px; margin-top: 26px; }
.banner--home .lede { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.5; }
.banner--home p:not(.lede) { max-width: 64ch; color: rgba(255, 255, 255, 0.82); margin: 20px 0 0; }
.banner--home .actions { margin-top: 32px; }
.banner--plain { min-height: 0; clip-path: none; }
.banner--plain .banner__text { padding-block: 44px 40px; }
@media (max-width: 700px) {
  .banner { min-height: 280px; }
  .banner--home { min-height: 480px; }
  .banner__text, .banner--home .banner__text { padding-block: 36px 44px; }
  .banner h1::after { margin-top: 14px; }
}

/* ---------- Full-width bands (home page) ---------- */
.band { padding-block: clamp(64px, 8vw, 112px); }
.band__title { margin-bottom: 36px; font-size: clamp(1.8rem, 2.8vw, 2.4rem); max-width: 20ch; }
.band--navy { background: var(--paper-3); color: #ffffff; }
.band--navy .band__title { color: #ffffff; }
.band--tint { background: var(--paper-2); }
.band--photo { position: relative; z-index: 1; color: #ffffff; overflow: hidden; min-height: 440px; display: flex; align-items: center; background: var(--navy-deep); clip-path: var(--bevel); }
.band--photo + .band { margin-top: calc(-1 * var(--cut-y)); padding-top: calc(clamp(64px, 8vw, 112px) + var(--cut-y)); }
.band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band__scrim { position: absolute; inset: 0; background: linear-gradient(68deg, rgba(10, 29, 53, 0.94) 0%, rgba(10, 29, 53, 0.86) 68%, rgba(10, 29, 53, 0.42) 80%, rgba(10, 29, 53, 0.34) 100%); }
.band__text { position: relative; max-width: 780px; }
.band--photo > .wrap { width: 100%; }
.band--photo h2 { color: #ffffff; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: -0.025em; }
.band--photo h2::after { content: ""; display: block; width: 72px; height: 6px; background: var(--accent); margin-top: 20px; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.band--photo p { color: rgba(255, 255, 255, 0.9); font-size: 1.12rem; margin: 20px 0 0; max-width: 58ch; }
.band--photo .actions { margin-top: 30px; }
.band--cta { background: var(--navy); color: #ffffff; }
.band__cta { display: flex; justify-content: space-between; align-items: center; gap: 32px 56px; flex-wrap: wrap; }
.band__cta > div { flex: 1 1 540px; }
.band--cta h2 { color: #ffffff; margin-bottom: 12px; }
.band--cta p { color: rgba(255, 255, 255, 0.88); max-width: 68ch; margin: 0; }
.band--cta a:not(.btn) { color: #ffffff; }
.band--cta .actions { margin: 0; flex: none; }
@media (max-width: 700px) { .band--photo { min-height: 320px; } }
@media (max-width: 1200px) {
  .banner__scrim {
    background:
      linear-gradient(to top, rgba(10, 29, 53, 0.88) 0%, rgba(10, 29, 53, 0.38) 60%, rgba(10, 29, 53, 0.16) 100%),
      linear-gradient(68deg, rgba(10, 29, 53, 0.84) 0%, rgba(10, 29, 53, 0.72) 77%, rgba(10, 29, 53, 0.26) 87%, rgba(10, 29, 53, 0.12) 100%);
  }
  .banner--home .banner__scrim {
    background:
      linear-gradient(68deg, rgba(10, 29, 53, 0.95) 0%, rgba(10, 29, 53, 0.9) 78%, rgba(10, 29, 53, 0.3) 88%, rgba(10, 29, 53, 0.08) 100%),
      linear-gradient(to top, rgba(10, 29, 53, 0.6) 0%, rgba(10, 29, 53, 0) 40%);
  }
  .band__scrim { background: linear-gradient(68deg, rgba(10, 29, 53, 0.94) 0%, rgba(10, 29, 53, 0.86) 84%, rgba(10, 29, 53, 0.42) 94%, rgba(10, 29, 53, 0.34) 100%); }
}
@media (max-width: 1024px) {
  .banner__scrim, .banner--home .banner__scrim { background: linear-gradient(to top, rgba(10, 29, 53, 0.9) 0%, rgba(10, 29, 53, 0.74) 65%, rgba(10, 29, 53, 0.72) 100%); }
  .band__scrim { background: rgba(10, 29, 53, 0.82); }
}

/* Split sections (home): image and text side by side, alternating */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--rule); }
.split__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); clip-path: var(--bevel-s); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split--flip .split__media { order: 2; }
.split__body h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin: 0 0 16px; }
.split__body h2 a { color: var(--ink); text-decoration: none; }
.split__body h2 a:hover { color: var(--link); }
.split__body p { color: var(--ink-2); max-width: 58ch; }
.split__body .more { display: inline-block; margin-top: 8px; font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 4px; }
.split__body .more:hover { color: var(--link); }
.band .lede + .split { margin-top: 28px; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 24px; } .split--flip .split__media { order: 0; } }

/* Dark columns (home: markets) */
.cols4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 40px; }
.cols4 li { padding: 24px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.cols4 h3 { color: #ffffff; font-size: 1.15rem; line-height: 1.3; margin: 0 0 12px; }
.cols4 h3 a { color: #ffffff; text-decoration: none; }
.cols4 h3 a:hover { text-decoration: underline; }
.cols4 p { color: rgba(255, 255, 255, 0.78); font-size: var(--fs-sm); margin: 0; }
@media (max-width: 1024px) { .cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; } }
@media (max-width: 560px) { .cols4 { grid-template-columns: 1fr; } }

/* Band header: eyebrow + title left, link right */
.band__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 40px; }
.band__head .band__title { margin-bottom: 0; }
.band__head .eyebrow { margin-bottom: 12px; }
.band__more { font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; text-decoration: none; color: var(--ink); white-space: nowrap; border-bottom: 2px solid var(--accent); padding-bottom: 4px; }
.band--navy .band__more { color: #ffffff; }

/* Editorial rows (home: who V&M is set up to serve) */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 56px; padding: 30px 0; border-bottom: 1px solid var(--rule); position: relative; }
.row__title h3 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.25; margin: 0; }
.row__title h3 a { color: var(--ink); text-decoration: none; }
.row__title h3 a::after { content: "\2192" / ""; display: inline-block; margin-left: 0.4em; transition: transform var(--t); }
.row__title h3 a:hover { color: var(--link); text-decoration: underline; }
.row__title h3 a:hover::after { transform: translateX(4px); }
.row__body p { margin: 0; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; gap: 10px; } }

/* Numbered steps (home: how V&M works) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.steps li { padding-top: 22px; border-top: 1px solid var(--rule); }
.steps__n { display: none; }
.steps h3 { font-size: 1.25rem; margin: 0 0 10px; }
.steps p { margin: 0; color: var(--ink-2); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

/* Numbered sections and jump list on service pages */
.side-box--toc ol { list-style: none; margin: 0; padding: 0; }
.side-box--toc li { padding: 7px 0; border-top: 1px solid var(--rule-soft); font-size: var(--fs-sm); display: flex; gap: 12px; }
.side-box--toc li:first-child { border-top: 0; padding-top: 0; }
.side-box--toc a { text-decoration: none; color: var(--ink); }
.side-box--toc a:hover { color: var(--link); text-decoration: underline; }

/* ---------- Page structure ---------- */
.page { padding-block: clamp(48px, 6vw, 72px) clamp(72px, 9vw, 120px); }

.crumb { color: var(--ink-3); margin: 0 0 12px; }
.crumb a { color: inherit; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: var(--prose); margin: 16px 0 0; }

.section { margin-bottom: clamp(44px, 6vw, 72px); }
.section > h2 { margin-bottom: 18px; }
.section > h3 { margin: 26px 0 8px; }
.prose { max-width: var(--prose); }
.prose p:last-child, .prose ul:last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--ink-3); }

.note { font-size: var(--fs-sm); color: var(--ink-3); }
.data + .note { margin-top: 16px; }
.role { color: var(--ink-3); font-size: var(--fs-sm); margin: 0 0 12px; }

/* Key/value list: hairlines, tabular figures */
.data {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0 32px;
  margin: 0;
  max-width: var(--measure-wide);
  border-top: 2px solid var(--rule-strong);
  font-variant-numeric: tabular-nums;
}
.data dt, .data dd { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--rule-soft); }
.data dt { color: var(--ink-3); padding-top: 16px; }
.data dd { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .data { grid-template-columns: 1fr; }
  .data dt { border-bottom: 0; padding-bottom: 0; }
  .data dd { padding-top: 4px; }
}

/* Tables */
.table-wrap { overflow-x: auto; border-top: 2px solid var(--rule-strong); border-bottom: 1px solid var(--rule-soft); -webkit-overflow-scrolling: touch; }
table.plain { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--fs-md); margin: 0; font-variant-numeric: tabular-nums; }
table.plain th, table.plain td { text-align: left; vertical-align: top; padding: 14px 18px 14px 0; border-bottom: 1px solid var(--rule-soft); }
table.plain thead th { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--ink-3); padding-top: 14px; border-bottom: 1px solid var(--rule); }
table.plain tbody tr:last-child td { border-bottom: 0; }

/* Entry list (leadership, past performance) */
.entries { list-style: none; margin: 0; padding: 0; max-width: var(--prose); border-top: 2px solid var(--rule-strong); }
.entries > li { padding: 28px 0; border-bottom: 1px solid var(--rule-soft); }
.prose ul.entries { padding-left: 0; }
.prose .entries > li { margin-bottom: 0; }
.entries h3 { margin: 0 0 6px; font-size: 1.3rem; }
.entries h3 a { color: var(--ink); text-decoration: none; }
.entries h3 a:hover { color: var(--link); text-decoration: underline; }
.entries p:last-child { margin-bottom: 0; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  padding: 15px 28px 15px 26px;
  clip-path: var(--btn-cut);
  font: inherit;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t), border-color var(--t), color var(--t);
}
.btn:hover { background: #ffffff; color: var(--paper); }
.btn--ghost { background: rgba(255, 255, 255, 0.09); color: var(--ink); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.18); color: var(--ink); }
.btn--light { background: #ffffff; color: var(--paper); }
.btn--light:hover { background: var(--ink); color: var(--paper); }
.btn--ghost-light { background: rgba(255, 255, 255, 0.12); color: #ffffff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.22); color: #ffffff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

details { max-width: var(--prose); margin: 8px 0 1em; }
summary { cursor: pointer; color: var(--link); font-weight: 600; }
details p { margin-top: 8px; }

/* ---------- Two-column service page layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 30%, 320px); gap: clamp(40px, 6vw, 88px); align-items: start; }
.layout__side { position: sticky; top: calc(var(--head-h) + 24px); }
.side-box { border-top: 2px solid var(--rule-strong); padding: 20px 0 4px; margin-bottom: 28px; overflow-wrap: anywhere; }
.side-box h2 { margin-bottom: 14px; color: var(--ink-2); }
.side-box p { margin: 0 0 14px; font-size: var(--fs-md); }
.side-box p:last-child { margin-bottom: 0; }
.side-box ul { list-style: none; margin: 0; padding: 0; }
.side-box li { padding: 9px 0; border-top: 1px solid var(--rule-soft); font-size: var(--fs-md); }
.side-box li:first-child { border-top: 0; padding-top: 0; }
.side-box li a { text-decoration: none; }
.side-box li a:hover { text-decoration: underline; }
.side-box a[aria-current] { font-weight: 700; color: var(--ink); }
@media (max-width: 900px) { .layout { grid-template-columns: minmax(0, 1fr); } .layout__side { position: static; } }

/* ---------- Cards ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-bottom: 1px solid var(--rule); }
.card {
  display: grid;
  grid-template-columns: clamp(240px, 34%, 340px) minmax(0, 1fr);
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--rule);
  padding: 32px 0;
}
.card:hover { box-shadow: none; }
.card__media { display: block; min-height: 0; aspect-ratio: 4 / 3; background: var(--paper-3); overflow: hidden; clip-path: var(--bevel-s); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 4px 0 0; }
.card__body h3 { font-size: 1.35rem; margin: 0 0 8px; }
.card__body h3 a { color: var(--ink); text-decoration: none; }
.card__body h3 a:hover { color: var(--link); text-decoration: underline; }
.card__body p:last-child { margin-bottom: 0; }
.cards:not(.cards--grid):not(.cards--four) .card__body p:last-child > a:only-child { font-weight: 700; text-decoration: none; font-size: var(--fs-md); letter-spacing: 0.02em; }
.cards:not(.cards--grid):not(.cards--four) .card__body p:last-child > a:only-child::after { content: "\2192" / ""; display: inline-block; margin-left: 0.35em; transition: transform var(--t); }
.cards:not(.cards--grid):not(.cards--four) .card__body p:last-child > a:only-child:hover { text-decoration: underline; }
.cards:not(.cards--grid):not(.cards--four) .card__body p:last-child > a:only-child:hover::after { transform: translateX(3px); }
.cards--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--grid .card { grid-template-columns: 1fr; border-top: 0; padding: 0; }
.cards--grid { border-bottom: 0; gap: 40px; }
.cards--grid .card__media { min-height: 0; aspect-ratio: 16 / 10; }
.cards--grid .card__body { padding: 18px 0 0; }
.cards--grid .card__body h3 { font-size: 1.25rem; }
.cards--grid .card__body h3 a::after { content: "\2192" / ""; display: inline-block; margin-left: 0.35em; }
.cards--grid .card:not(:has(.card__media)) { border-top: 1px solid var(--rule); padding-top: 20px; }
.cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cards--four .card { grid-template-columns: 1fr; border-top: 1px solid var(--rule); }
.cards--four .card__body { padding: 26px 26px 28px; }
.cards--four .card__body h3 { font-size: 1.08rem; line-height: 1.3; }
.cards--four .card__body p { font-size: var(--fs-sm); color: var(--ink-2); }
@media (max-width: 1024px) { .cards--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .cards--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .card { grid-template-columns: 1fr; } .card__media { min-height: 0; aspect-ratio: 16 / 10; } }
@media (max-width: 600px) { .cards--grid, .cards--four { grid-template-columns: 1fr; } }

/* ---------- Screenshot gallery ---------- */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.shot { margin: 0; background: var(--paper-2); box-shadow: 0 0 0 1px var(--rule); }
.shot--wide { grid-column: 1 / -1; }
.shot img { width: 100%; height: auto; display: block; }
.shot__link { display: block; cursor: zoom-in; }
.shot__link:focus-visible { outline: 2px solid var(--link); outline-offset: -2px; }

/* Lightbox (injected by site.js) */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(7, 13, 24, 0.98);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 56px 20px 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); width: auto; height: auto; box-shadow: var(--shadow-2); }
.lightbox__caption { color: rgba(255, 255, 255, 0.86); font-size: var(--fs-sm); max-width: 80ch; text-align: center; margin: 16px 0 0; }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  top: 14px;
  font: inherit;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 10px 16px;
  cursor: pointer;
}
.lightbox__close { right: 16px; }
.lightbox__prev { left: 16px; }
.lightbox__next { left: 112px; }
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox__close:focus-visible, .lightbox__prev:focus-visible, .lightbox__next:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
body.lightbox-open { overflow: hidden; }
.shot figcaption { padding: 14px 18px 16px; font-size: var(--fs-sm); color: var(--ink-2); border-top: 1px solid var(--rule-soft); }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { max-width: var(--measure-wide); background: var(--paper-2); border-top: 2px solid var(--rule-strong); padding: 30px 32px 32px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: var(--fs-sm); margin-bottom: 7px; }
.field .hint { display: block; font-weight: 400; color: var(--ink-3); font-size: var(--fs-xs); margin: -2px 0 8px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  padding: 12px 14px;
  border-radius: 0;
  transition: border-color var(--t);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--link); outline-offset: 1px; border-color: var(--link); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.req { color: var(--accent); }
.form .note { margin-top: 16px; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper-2); color: rgba(255, 255, 255, 0.76); border-top: 3px solid var(--accent); font-size: var(--fs-sm); }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1.25fr 1fr 1fr 1fr; gap: 32px; padding-block: 64px 48px; }
.site-footer h2 { color: #ffffff; margin-bottom: 16px; }
.site-footer p { margin: 0 0 10px; }
@media (max-width: 560px) { .site-footer p { overflow-wrap: anywhere; } }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255, 255, 255, 0.86); text-decoration: none; }
.site-footer a:hover { color: #ffffff; text-decoration: underline; }
.site-footer .brand { color: #ffffff; margin-bottom: 22px; }
.site-footer .brand__mark { width: 52px; height: 52px; }
.site-footer .brand__text strong { font-size: 1.35rem; white-space: nowrap; }
.site-footer .brand__text span { color: rgba(255, 255, 255, 0.62); }
.site-footer .legal { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-block: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.58); }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* ---------- Focus ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.btn:focus-visible { outline-offset: -6px; }
.site-footer a:focus-visible, .banner a:focus-visible, .band--navy a:focus-visible, .band--photo a:focus-visible, .band--cta a:focus-visible { outline-color: #ffffff; }

/* ---------- Round 10: dark, sharp layer (plates, marks, uppercase display) ---------- */
body { background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: 96px 96px; }
.banner h1, .band__title, .split__body h2, .section > h2, .band--cta h2, .band--photo h2 { text-transform: uppercase; }
.banner--home h1 { font-size: clamp(3rem, 6.6vw, 5.6rem); }
.band__title { letter-spacing: -0.02em; max-width: 24ch; }
.band--photo h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.section > h2 { font-size: clamp(1.4rem, 2vw, 1.7rem); letter-spacing: 0; }
.split__body h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
/* The mark: the logo's V, small and crimson, before every label */
.eyebrow::before, .side-box h2::before, .site-footer h2::before, .crumb::before {
  content: ""; display: inline-block; width: 9px; height: 11px; margin-right: 10px; vertical-align: -1px;
  background: var(--accent); clip-path: polygon(0 0, 50% 100%, 100% 0, calc(100% - 2.1px) 0, 50% calc(100% - 5.2px), 2.1px 0);
}
.steps li::before, .cols4 li::before { content: ""; display: block; width: 28px; height: 3px; background: var(--accent); margin-bottom: 16px; clip-path: polygon(0 0, 100% 0, calc(100% - 4px) 100%, 0 100%); }
.band + .band { border-top: 1px solid var(--rule); }
/* Plates: framed panels with the bottom-right corner cut, the frame following the cut */
.card, .side-box, .form { position: relative; background: var(--paper-2); border: 1px solid var(--rule); }
.card::after, .side-box::after, .form::after {
  content: ""; position: absolute; right: -1px; bottom: -1px; width: 20px; height: 15px;
  background: linear-gradient(to top left, var(--paper) 0, var(--paper) calc(50% - 0.5px), var(--rule) calc(50% - 0.5px), var(--rule) calc(50% + 1px), transparent calc(50% + 1px));
}
.cards { gap: 20px; border-bottom: 0; }
.card { padding: 22px; gap: 0 28px; grid-template-columns: clamp(220px, 32%, 320px) minmax(0, 1fr); }
.card .card__media { clip-path: none; }
.card__body { padding: 2px 0 0; }
.cards--grid .card, .cards--four .card { background: transparent; border: 0; padding: 0; }
.cards--four .card { border-top: 1px solid var(--rule); padding-top: 20px; }
.cards--grid .card::after, .cards--four .card::after { display: none; }
.side-box { padding: 20px 22px 16px; border-top: 2px solid var(--rule-strong); }
.form { border-top: 2px solid var(--rule-strong); }
/* Buttons: cut corner plus a hollow chevron */
.btn::after { content: ""; display: inline-block; width: 7px; height: 10px; margin-left: 12px; vertical-align: -1px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%, 0 calc(100% - 2.8px), calc(100% - 3.6px) 50%, 0 2.8px); }
@media (max-width: 760px) { .card { grid-template-columns: 1fr; gap: 18px; padding: 16px; } }
@media (max-width: 560px) { .side-box { padding: 18px 16px 14px; } }

/* ---------- Round 10b: more angular ---------- */
/* Plates cut on two opposite corners, the frame following both cuts */
.card::before, .side-box::before, .form::before {
  content: ""; position: absolute; left: -1px; top: -1px; width: 20px; height: 15px;
  background: linear-gradient(to bottom right, var(--paper) 0, var(--paper) calc(50% - 0.5px), var(--rule) calc(50% - 0.5px), var(--rule) calc(50% + 1px), transparent calc(50% + 1px));
}
/* these plates have a 2px top edge, so the cut overlay starts 2px up to cover all of it */
.side-box::before, .form::before { top: -2px; height: 17px; background: linear-gradient(to bottom right, var(--paper) 0, var(--paper) calc(50% - 0.75px), var(--rule-strong) calc(50% - 0.75px), var(--rule-strong) calc(50% + 1.25px), transparent calc(50% + 1.25px)); }
.card .card__media { clip-path: var(--bevel-2xs); }
.split__media { clip-path: var(--bevel-2s); }
.menu .sub { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 16px) 100%, 0 100%); }
/* A crisp hairline along the lean of every banner scrim (desktop only) */
.banner__scrim::after, .band__scrim::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, 0.28); transform-origin: top; transform: skewX(22deg); display: none; }
.banner__scrim::after { left: 68.3%; }
.banner--home .banner__scrim::after { left: 62.8%; }
.band__scrim::after { left: 73.7%; }
@media (min-width: 1201px) { .banner__scrim::after, .band__scrim::after { display: block; } }
/* Leaning crimson stroke before section titles */
.section > h2::before { content: ""; display: inline-block; width: 5px; height: 0.78em; margin-right: 14px; background: var(--accent); transform: skewX(22deg); vertical-align: -0.04em; }
/* Chevrons replace arrows on card and row links */
.cards:not(.cards--grid):not(.cards--four) .card__body p:last-child > a:only-child::after,
.cards--grid .card__body h3 a::after,
.row__title h3 a::after { content: ""; width: 7px; height: 10px; margin-left: 10px; vertical-align: -1px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%, 0 calc(100% - 2.8px), calc(100% - 3.6px) 50%, 0 2.8px); }
.lightbox__close, .lightbox__prev, .lightbox__next { border: 0; background: rgba(255, 255, 255, 0.14); clip-path: var(--btn-cut); padding: 11px 18px; }

/* Articles: index cards without a thumbnail, tables and h3s inside prose */
.card:not(:has(.card__media)) { grid-template-columns: 1fr; }
.prose h3 { font-size: 1.1rem; margin: 24px 0 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-md); margin: 0 0 1.2em; font-variant-numeric: tabular-nums; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--rule-soft); }
.prose thead th { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--rule); }
.prose tbody tr:last-child td { border-bottom: 0; }
article > .note { margin: 0 0 28px; }

/* Ruled columns: vertical hairlines between the market and capability columns */
.cols4 { gap: 0; }
.cols4 li { padding-right: 32px; }
.cols4 li + li { border-left: 1px solid rgba(255, 255, 255, 0.14); padding-left: 32px; }
.steps { gap: 0; }
.steps li { padding-right: 32px; }
.steps li + li { border-left: 1px solid var(--rule); padding-left: 32px; }
@media (max-width: 1024px) { .cols4 li:nth-child(odd) { border-left: 0; padding-left: 0; } .cols4 li:nth-child(even) { padding-right: 0; } .cols4 { row-gap: 32px; } }
@media (max-width: 900px) { .steps li + li { border-left: 0; padding-left: 0; } .steps li { padding-right: 0; } .steps { gap: 28px; } }
@media (max-width: 560px) { .cols4 li { border-left: 0; padding-left: 0; padding-right: 0; } }

/* Contracting fields (request type, notice details, RFI attachment) */
.form fieldset { border: 0; margin: 4px 0 20px; padding: 18px 0 0; border-top: 1px solid var(--rule); min-width: 0; }
.form fieldset .hint, .form .hint[role="status"] { overflow-wrap: anywhere; }
.form .hint.is-error { color: #ff9b93; }
.form fieldset[hidden] { display: none; }
.form legend { padding: 0 12px 0 0; font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--ink-2); }
.form fieldset > .hint { display: block; color: var(--ink-3); font-size: var(--fs-xs); margin: 6px 0 14px; }
.field input[type="date"], .field input[type="file"] { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--rule-strong); padding: 11px 14px; border-radius: 0; transition: border-color var(--t); }
.field input[type="date"]:focus, .field input[type="file"]:focus { outline: 2px solid var(--link); outline-offset: 1px; border-color: var(--link); }
.field input[type="file"]::file-selector-button { font: inherit; font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--paper); background: var(--ink); border: 0; padding: 8px 14px; margin-right: 14px; cursor: pointer; clip-path: var(--btn-cut); }
@media (max-width: 560px) { .field input[type="file"] { padding: 8px 10px; } .field input[type="file"]::file-selector-button { padding: 8px 10px; margin-right: 10px; letter-spacing: 0.04em; } }
.field select optgroup { font-weight: 700; color: var(--ink-2); }
.field select option { font-weight: 400; color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

@media print {
  :root { color-scheme: light; --ink: #14171c; --ink-2: #3a414c; --ink-3: #646c7a; --rule: #dfe3e8; --rule-soft: #eceff3; --rule-strong: #7f8895; --paper: #ffffff; --paper-2: #f5f7f9; --paper-3: #eaeef2; --link: #1b4475; --accent: #b3261e; }
  .btn { background: var(--navy); color: #ffffff; clip-path: none; }
  body { background-image: none; }
  .card::after, .side-box::after, .form::after, .btn::after, .card::before, .side-box::before, .form::before, .section > h2::before, .banner__scrim::after, .band__scrim::after { display: none; }
  .site-header, .site-footer, .skip, .banner__img, .banner__scrim, .band__img, .band__scrim { display: none; }
  .banner, .band--navy, .band--photo, .band--cta { color: var(--ink); background: none; min-height: 0; clip-path: none; }
  .band--photo + .band { margin-top: 0; padding-top: clamp(64px, 8vw, 112px); }
  .split__media, .card__media, .banner h1::after, .band--photo h2::after { clip-path: none; }
  .banner h1, .banner .lede, .banner .crumb, .banner .crumb a, .band--photo h2, .band--photo p, .band--cta h2, .band--cta p { color: var(--ink); text-shadow: none; }
}
