:root {
  --navy: #0A1A2F;
  --navy-deep: #06111f;
  --steel: #6B7280;
  --ink: #17202a;
  --muted: #5e6974;
  --line: #E5E7EB;
  --surface: #f5f7f9;
  --white: #ffffff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -10000px; top: 8px;
  background: var(--navy-deep); color: white; padding: 10px 14px; z-index: 100;
}
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(217,222,227,.9);
  backdrop-filter: blur(12px);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px; border: 2px solid var(--navy);
  display: grid; place-items: center; font-weight: 800; letter-spacing: -2px; color: var(--navy);
}
.brand-text { display: grid; line-height: 1; letter-spacing: .12em; }
.brand-text strong { color: var(--navy); }
.brand-text span { color: var(--steel); font-size: .83rem; margin-left: 2px; }
.brand-text small { margin-top: 5px; color: var(--muted); font-size: .58rem; letter-spacing: .16em; }

.nav { display: flex; gap: 28px; align-items: center; }
.nav a { text-decoration: none; font-size: .94rem; font-weight: 650; color: #34414d; }
.nav a:hover { color: var(--navy); }
.nav-cta { padding: 10px 16px; border: 1px solid var(--navy); }
.menu-button { display: none; }

.hero {
  background:
    linear-gradient(120deg, rgba(15,36,55,.98), rgba(23,50,77,.93)),
    radial-gradient(circle at 80% 20%, #73879a 0, transparent 45%);
  color: white;
  padding: 104px 0 94px;
}
.hero-grid { display: grid; grid-template-columns: 1.3fr .8fr; gap: 72px; align-items: center; }
.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .75rem;
  font-weight: 800;
  color: #7b8a98;
}
.hero .eyebrow { color: #b8c8d6; }
h1, h2, h3 { line-height: 1.12; margin-top: 0; }
h1 { font-size: clamp(2.9rem, 6vw, 5.3rem); max-width: 820px; letter-spacing: -.04em; margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.035em; }
h3 { font-size: 1.25rem; }
.hero-copy { max-width: 730px; color: #d8e0e7; font-size: 1.15rem; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button {
  display: inline-flex; justify-content: center; align-items: center;
  min-height: 48px; padding: 0 20px; text-decoration: none; font-weight: 750;
  border: 1px solid transparent; transition: .2s ease;
}
.button.primary { background: white; color: var(--navy-deep); }
.button.primary:hover { transform: translateY(-1px); background: #eef3f7; }
.button.secondary { border-color: #95a9ba; color: white; }
.button.secondary:hover { border-color: white; }
.microcopy { margin: 20px 0 0; color: #9fb1c0; font-size: .86rem; }

.hero-panel { border-left: 1px solid rgba(255,255,255,.25); padding-left: 34px; }
.panel-label { font-size: .7rem; letter-spacing: .18em; color: #aebdca; font-weight: 800; margin-bottom: 24px; }
.panel-step { display: grid; grid-template-columns: 42px 1fr; gap: 15px; margin: 24px 0; }
.panel-step > span { color: #8ea6b9; font-weight: 800; }
.panel-step strong { font-size: 1.1rem; }
.panel-step p { margin: 4px 0 0; color: #c6d1da; font-size: .94rem; }

.section { padding: 90px 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-heading { max-width: 780px; margin-bottom: 42px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.04rem; }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { border: 1px solid var(--line); padding: 28px; min-height: 275px; background: white; }
.card-number { color: #8a97a3; font-size: .75rem; letter-spacing: .15em; font-weight: 800; margin-bottom: 50px; }
.card p { color: var(--muted); font-size: .96rem; }

.government-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: start; }
.government-grid > div:first-child p { color: var(--muted); max-width: 700px; }
.gov-card { background: var(--navy-deep); color: white; padding: 32px; }
.gov-card h3 { margin-bottom: 20px; }
.gov-card dl { margin: 0; }
.gov-card dl div { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.15); padding: 13px 0; }
.gov-card dt { color: #aebdca; }
.gov-card dd { margin: 0; text-align: right; font-weight: 700; }
.gov-note { color: #aebdca; font-size: .82rem; margin-bottom: 0; }
.naics-wrap { margin-top: 44px; }
.label { font-size: .75rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; color: var(--muted); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chips span { border: 1px solid #cbd2d8; background: white; padding: 8px 12px; font-weight: 750; color: var(--navy); }

.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.about-copy { font-size: 1.08rem; color: var(--muted); }
.about-copy p:first-child { margin-top: 0; }

.contact-section { background: var(--navy); color: white; }
.contact-section .eyebrow { color: #b8c8d6; }
.contact-section p { color: #d1dae2; }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: center; }
.contact-card { border: 1px solid rgba(255,255,255,.25); padding: 28px; }
.contact-card p { color: #b8c8d6; }
.contact-card .button.primary { margin-top: 10px; }
.full { width: 100%; }
.contact-note { font-size: .8rem; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.site-footer { padding: 34px 0; background: #0b1b29; color: #c9d2da; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; }
.site-footer strong { color: white; letter-spacing: .08em; }
.site-footer p { margin: 4px 0 0; font-size: .85rem; }
.footer-right { text-align: right; }

@media (max-width: 900px) {
  .hero-grid, .government-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-panel { border-left: 0; border-top: 1px solid rgba(255,255,255,.25); padding: 28px 0 0; }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .site-header { position: relative; }
  .menu-button {
    display: block; border: 1px solid var(--line); background: white; padding: 9px 12px;
    font: inherit; font-weight: 700;
  }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: white; border-bottom: 1px solid var(--line); padding: 18px 20px;
    flex-direction: column; align-items: stretch; gap: 6px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; }
  .nav-cta { border: 0; }
  .hero { padding: 72px 0 64px; }
  .section { padding: 66px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .card-number { margin-bottom: 24px; }
  .footer-grid { flex-direction: column; }
  .footer-right { text-align: left; }
}

/* V2 refinements */
@media (min-width: 901px) {
  .hero { padding-top: 92px; padding-bottom: 84px; }
  .hero h1 { font-size: clamp(2.9rem, 5.25vw, 4.85rem); }
}

/* V3 — approved Verrick identity */
:root {
  --gold: #D4AF37;
  --gold-deep: #b68d16;
}

.brand-image-link { display: inline-flex; align-items: center; }
.brand-image {
  width: 260px;
  height: 58px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.nav-cta {
  border-color: var(--gold);
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--navy-deep) !important;
}

.hero {
  background:
    linear-gradient(120deg, rgba(6,17,31,.99), rgba(10,26,47,.96)),
    radial-gradient(circle at 80% 20%, rgba(212,175,55,.15) 0, transparent 40%);
}
.hero .eyebrow,
.panel-label,
.panel-step > span {
  color: #d4c27f;
}
.brand-tagline {
  margin: -4px 0 22px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 750;
}
.button.primary {
  background: var(--gold);
  color: var(--navy-deep);
}
.button.primary:hover {
  background: #e0bf52;
}
.button.secondary {
  border-color: rgba(212,175,55,.7);
}
.card-number,
.label {
  color: var(--gold-deep);
}
.chips span {
  border-color: rgba(212,175,55,.45);
}
.contact-section {
  background: var(--navy-deep);
}
.contact-card {
  border-color: rgba(212,175,55,.4);
}
.site-footer {
  background: #030b14;
}
.footer-brand img {
  width: 320px;
  max-width: 100%;
  height: 72px;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (max-width: 680px) {
  .brand-image { width: 210px; height: 50px; }
  .brand-tagline { line-height: 1.5; }
}

/* V4 — production implementation of approved homepage direction */
.hero {
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 780px;
  right: -105px;
  top: -175px;
  border-left: 4px solid rgba(212,175,55,.75);
  background:
    linear-gradient(115deg, transparent 0 22%, rgba(31,58,86,.22) 22% 38%, transparent 38% 50%,
    rgba(31,58,86,.18) 50% 67%, transparent 67%);
  transform: skewX(-27deg);
  pointer-events: none;
}
.hero .shell { position: relative; z-index: 2; }

.hero-actions .button {
  gap: 22px;
  min-width: 190px;
}
.hero-actions .button span {
  font-size: 1.45rem;
  line-height: 1;
}

.hero-panel {
  border-left-color: rgba(212,175,55,.55);
}
.panel-step {
  grid-template-columns: 58px 1fr;
  align-items: start;
}
.step-circle {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold) !important;
  font-size: .95rem;
}

.values-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.value-item {
  text-align: center;
  padding: 27px 24px 25px;
  position: relative;
}
.value-item:not(:last-child)::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 68%;
  right: 0;
  top: 16%;
  background: var(--line);
}
.value-icon {
  color: var(--gold-deep);
  font-size: 2.35rem;
  line-height: 1;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.value-item strong {
  letter-spacing: .08em;
  color: var(--navy-deep);
  font-size: .92rem;
}
.value-item p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.55;
}

.site-footer {
  padding: 30px 0 22px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 30px;
  align-items: center;
  padding-bottom: 25px;
}
.footer-main > *:not(:first-child) {
  border-left: 1px solid rgba(212,175,55,.28);
  padding-left: 30px;
}
.footer-contact {
  display: flex;
  align-items: center;
  gap: 15px;
}
.footer-symbol {
  color: var(--gold);
  font-size: 1.65rem;
}
.footer-contact small,
.footer-service small {
  display: block;
  color: #8fa0af;
  font-size: .62rem;
  letter-spacing: .15em;
  margin-bottom: 3px;
}
.footer-contact a {
  color: white;
  text-decoration: none;
  font-size: .93rem;
}
.footer-service strong {
  color: white;
  font-size: .88rem;
  font-weight: 600;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 17px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.footer-bottom p {
  color: #8fa0af;
  margin: 0;
  font-size: .76rem;
}

@media (max-width: 900px) {
  .hero::after { opacity: .45; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .value-item:nth-child(2)::after { display: none; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main > *:not(:first-child) {
    border-left: 0;
    border-top: 1px solid rgba(212,175,55,.28);
    padding: 18px 0 0;
  }
}
@media (max-width: 560px) {
  .values-grid { grid-template-columns: 1fr; }
  .value-item:not(:last-child)::after {
    width: 65%;
    height: 1px;
    right: auto;
    left: 17.5%;
    top: auto;
    bottom: 0;
  }
  .footer-bottom { flex-direction: column; }
}

/* V4.1 — production polish */
.value-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-bottom a { color: #aebbc7; text-decoration: none; }
.footer-bottom a:hover { color: white; }
.footer-sep { margin: 0 6px; color: var(--gold); }

.legal-page {
  min-height: 70vh;
  padding: 76px 0 90px;
}
.legal-shell { max-width: 820px; }
.legal-page h1 {
  color: var(--navy-deep);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  margin-bottom: 10px;
}
.legal-page h2 {
  color: var(--navy);
  font-size: 1.35rem;
  margin-top: 38px;
  margin-bottom: 8px;
}
.legal-page p { color: var(--muted); }
.legal-page a { color: var(--navy); font-weight: 700; }
.legal-updated { font-size: .86rem; margin-bottom: 40px; }
.legal-note {
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin-top: 42px;
}
.legal-nav { display: flex !important; position: static !important; border: 0 !important; padding: 0 !important; }
