:root {
  --red: #bf3246;
  --red-deep: #9e2638;
  --red-soft: #fbeef0;
  --ink: #12151c;
  --ink-2: #2a2f3a;
  --muted: #5d6474;
  --line: #e4e6eb;
  --bg: #ffffff;
  --tint: #f6f7f9;
  --navy: #0f1420;
  --navy-2: #171e2e;
  --radius: 14px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); letter-spacing: 0.02em; }
.small { font-size: 14px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 15px;
  padding: 14px 22px; border-radius: 10px;
  border: 1.5px solid var(--red);
  transition: background .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--tint); border-color: var(--ink-2); color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em;
  font-size: 12.5px; font-weight: 800; color: var(--red);
  margin-bottom: 14px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span { font-weight: 800; font-size: 19px; letter-spacing: .04em; color: var(--red); }
.brand b { font-weight: 800; color: var(--red); margin-left: .28em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) {
  text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2);
}
.nav-links a:not(.btn):hover { color: var(--red); }
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 96px; }
.hex-field {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16zM28 64v33' fill='none' stroke='%23bf3246' stroke-opacity='.09' stroke-width='1.2'/%3E%3C/svg%3E");
  mask-image: radial-gradient(ellipse 70% 80% at 85% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 85% 30%, #000 10%, transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); font-weight: 800; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--red); }
.lede { font-size: 19px; color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.facts {
  background: var(--navy); color: #e8eaf0;
  border-radius: 18px; padding: 26px 26px 22px;
  box-shadow: 0 30px 60px -25px rgba(15,20,32,.45);
  border-top: 4px solid var(--red);
}
.facts-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; color: #9aa3b5;
  padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #36c47a; box-shadow: 0 0 0 4px rgba(54,196,122,.18); }
.facts dl { margin: 0; }
.facts dl div {
  display: grid; grid-template-columns: 120px 1fr; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06);
}
.facts dt { font-size: 13px; color: #8a93a6; font-weight: 600; }
.facts dd { margin: 0; font-size: 15px; font-weight: 600; color: #fff; }
.facts dd.mono { color: #ffb3bd; font-size: 15.5px; }
.facts-link { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 700; color: #ffb3bd; text-decoration: none; }
.facts-link:hover { text-decoration: underline; }

/* Strip */
.strip { background: var(--red); color: #fff; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid div { padding: 30px 26px; border-left: 1px solid rgba(255,255,255,.18); }
.strip-grid div:first-child { border-left: 0; padding-left: 0; }
.strip strong { display: block; font-size: 16px; margin-bottom: 6px; }
.strip span { font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.86); }

/* Sections */
.section { padding: 104px 0; position: relative; }
.section-tint { background: var(--tint); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 18px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: rgba(191,50,70,.35); box-shadow: 0 18px 40px -24px rgba(191,50,70,.35); transform: translateY(-3px); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--red-soft);
  display: grid; place-items: center; margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* Codes (dark) */
.section-dark { background: var(--navy); color: #e8eaf0; }
.section-dark .section-head p { color: #9aa3b5; }
.section-dark .eyebrow { color: #ff8a9a; }
.codes-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.codes-grid .section-head { margin-bottom: 0; }
.ids { display: flex; gap: 14px; margin: 28px 0 0; flex-wrap: wrap; }
.ids div { background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 14px 18px; }
.ids dt { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: #8a93a6; font-weight: 700; }
.ids dd { margin: 4px 0 0; font-size: 20px; color: #fff; }
.naics { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.1); }
.naics li {
  display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: 17px; font-weight: 600; color: #fff;
}
.naics .mono { color: #ff8a9a; font-size: 18px; }

/* Certifications */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: start; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 9px 16px; font-weight: 700; font-size: 14.5px; color: var(--ink-2);
  background: #fff;
}
.chips li:first-child, .chips li:nth-child(2) { border-color: var(--red); color: var(--red); background: var(--red-soft); }
.agencies { border: 1px solid var(--line); border-radius: 18px; padding: 30px; background: var(--tint); }
.agencies ul { list-style: none; margin: 0; padding: 0; }
.agencies li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15.5px;
}
.agencies li:last-child { border-bottom: 0; }
.agencies abbr { text-decoration: none; font-family: var(--mono); color: var(--red); font-size: 14px; }

/* About */
#about p { color: var(--ink-2); font-size: 17.5px; max-width: 620px; }
.leader {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 32px; display: flex; gap: 22px; align-items: center;
}
.leader-mark { width: 92px; height: 92px; border-radius: 20px; background: var(--red-soft); display: grid; place-items: center; flex: none; }
.leader figcaption { display: flex; flex-direction: column; gap: 2px; }
.leader strong { font-size: 21px; }
.leader span { color: var(--muted); font-weight: 600; }
.leader a { color: var(--red); font-weight: 700; text-decoration: none; margin-top: 8px; font-size: 15px; overflow-wrap: anywhere; }
.leader a:hover { text-decoration: underline; }

/* Contact */
.contact { background: var(--navy); color: #e8eaf0; overflow: hidden; }
.contact .section-head p { color: #9aa3b5; }
.contact .eyebrow { color: #ff8a9a; }
.hex-field-dim { opacity: .9; mask-image: radial-gradient(ellipse 60% 90% at 100% 50%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 90% at 100% 50%, #000 10%, transparent 70%); }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact .section-head { margin-bottom: 0; }
.contact .section-head .btn { margin-top: 10px; }
.contact-list { list-style: none; margin: 0; padding: 0; background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; }
.contact-list li { padding: 20px 26px; border-bottom: 1px solid rgba(255,255,255,.07); display: flex; flex-direction: column; gap: 2px; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list span { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: #8a93a6; font-weight: 700; }
.contact-list a, .contact-list address { color: #fff; font-style: normal; font-weight: 600; font-size: 17px; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: #ffb3bd; }

/* Footer */
.site-footer { background: #0a0e17; color: #8a93a6; padding: 30px 0; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-grid p { margin: 0; }
.site-footer .brand span, .site-footer .brand b { color: #fff; font-size: 16px; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .codes-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-grid div { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .strip-grid div:nth-child(-n+2) { border-top: 0; }
  .strip-grid div:nth-child(even) { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.18); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .nav-toggle {
    display: grid; gap: 6px; background: none; border: 0; padding: 10px; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 18px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; }
  .hero { padding: 56px 0 64px; }
  .cards { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-grid div, .strip-grid div:nth-child(even) { padding: 22px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .strip-grid div:first-child { border-top: 0; }
  .section { padding: 72px 0; }
  .facts dl div { grid-template-columns: 1fr; gap: 2px; }
  .naics li { grid-template-columns: 1fr; gap: 4px; }
  .leader { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
