/* ===================================================================
   Consolidated Facilities Group — Direction B Stylesheet
   Palette: Warm cream, ink-navy, CFG gold accent
   Type: Inter (400–800) + Instrument Serif italic accent
   =================================================================== */

:root {
  --ink: #0B1220;
  --ink-700: #1D2939;
  --ink-500: #475467;
  --ink-300: #98A2B3;
  --surface: #FAFAF7;
  --surface-2: #F2F1EC;
  --line: #E5E7EB;
  --gold: #C8973E;
  --gold-light: #E0B865;
  --gold-soft: #F3E4C1;
  --navy: #1B2A4A;
  --white: #FFFFFF;
  --ok: #16A34A;
  --alert: #DC2626;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  line-height: 1.55;
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
p { color: var(--ink-700); }
a { color: inherit; }

.italic-serif {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.container { max-width: 1320px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 980px; margin: 0 auto; padding: 0 2rem; }

/* ============ CREDENTIAL MICRO-BAR (top of page) ============ */
.cred-bar {
  background: var(--ink);
  color: #CBD5E1;
  padding: 0.6rem 0;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.cred-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cred-bar-items { display: flex; gap: 1.8rem; flex-wrap: wrap; align-items: center; }
.cred-bar-item { display: inline-flex; align-items: center; gap: 0.45rem; font-variant-numeric: tabular-nums; }
.cred-bar-item strong { color: var(--gold-light); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.7rem; }
.cred-bar a { color: var(--gold-light); text-decoration: none; font-weight: 500; }
.cred-bar a:hover { color: var(--white); }
.cred-bar .signal-dot-sm {
  width: 7px; height: 7px; background: var(--ok); border-radius: 50%;
  display: inline-block; position: relative; box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6);
  animation: pulse-dot 2.4s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* ============ HEADER ============ */
header {
  padding: 1.15rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(11, 18, 32, 0.06);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; color: inherit; }
.brand-mark {
  width: 46px; height: 46px;
  background: var(--ink);
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.brand-name { font-size: 1.1rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.brand-sub { font-size: 0.7rem; color: var(--ink-500); letter-spacing: 0.08em; margin-top: 1px; text-transform: uppercase; }

nav ul { list-style: none; display: flex; gap: 1.9rem; align-items: center; }
nav a { text-decoration: none; color: var(--ink-700); font-size: 0.93rem; font-weight: 500; transition: color 0.15s; }
nav a:hover, nav a.active { color: var(--ink); }
nav a.active { font-weight: 600; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 0.5rem 0.75rem; cursor: pointer; font-size: 0.85rem; font-weight: 500; }

/* Dropdown navigation */
.has-sub { position: relative; }
.sub-menu {
  position: absolute; top: calc(100% + 14px); left: -1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(11, 18, 32, 0.08), 0 2px 6px rgba(11, 18, 32, 0.04);
  min-width: 260px;
  padding: 0.5rem;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  list-style: none;
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu li { margin: 0; }
.sub-menu a {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--ink-700);
}
.sub-menu a:hover { background: var(--surface-2); color: var(--ink); }
.sub-menu a .sub-meta { display: block; font-size: 0.72rem; color: var(--ink-500); margin-top: 2px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.78rem 1.5rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-ghost-light { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: var(--white); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

/* ============ HERO ============ */
.hero { padding: 4rem 0 5rem; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: end; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-700);
  margin-bottom: 1.5rem;
}
.signal-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; position: relative; }
.signal-dot::after {
  content: ''; position: absolute; inset: -4px;
  border-radius: 50%; background: var(--gold);
  opacity: 0.35; animation: pulse-ring 2.2s infinite;
}
@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.35; }
  50% { transform: scale(1.8); opacity: 0; }
}
.hero h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); margin-bottom: 1.75rem; }
.hero h1 .italic-serif { color: var(--ink-700); }
.hero .lead { font-size: 1.18rem; color: var(--ink-500); max-width: 36rem; margin-bottom: 2.25rem; line-height: 1.5; }
.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Hero stats card (dark) */
.hero-stats-card {
  background: var(--ink);
  color: var(--white);
  border-radius: 22px;
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
}
.hero-stats-card::before {
  content: '';
  position: absolute; top: -40%; right: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200, 151, 62, 0.18), transparent 60%);
  pointer-events: none;
}
.hero-stats-label {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.3rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.3rem; position: relative; }
.stat-item .n { font-size: 2.4rem; font-weight: 300; line-height: 1; margin-bottom: 0.35rem; letter-spacing: -0.03em; }
.stat-item .l { font-size: 0.8rem; color: #CBD5E1; line-height: 1.35; }

/* Generic page hero (smaller, for inner pages) */
.page-hero { padding: 3rem 0 3.5rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.page-hero .lead { font-size: 1.1rem; color: var(--ink-500); max-width: 40rem; }
.page-hero.dark { background: var(--ink); color: var(--white); border-bottom: none; }
.page-hero.dark h1 { color: var(--white); }
.page-hero.dark .lead { color: #CBD5E1; }
.page-hero.dark .eyebrow { color: var(--gold-light); }

/* ============ TRUST STRIP ============ */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.8rem 0;
  background: var(--surface-2);
}
.trust-strip-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.trust-label { font-size: 0.73rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-500); }
.trust-credentials { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.credential { font-size: 0.88rem; color: var(--ink-700); font-weight: 500; }
.credential strong {
  display: block; font-size: 0.72rem; color: var(--ink-500);
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-bottom: 2px;
}
.credential .v { font-family: 'Inter', sans-serif; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ============ SECTIONS ============ */
section { padding: 5rem 0; }
.section-head { margin-bottom: 3rem; max-width: 52rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1rem; }
.section-head p { font-size: 1.06rem; color: var(--ink-500); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ============ CAPABILITIES (BENTO) ============ */
.capability-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.cap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.cap:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(11, 18, 32, 0.06); }
.cap-large { grid-column: span 3; min-height: 300px; }
.cap-small { grid-column: span 2; }
.cap-eyebrow {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.cap-eyebrow .num {
  font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400;
  font-size: 1.1rem; color: var(--ink-500); letter-spacing: 0; text-transform: none;
}
.cap h3 { font-size: 1.55rem; margin-bottom: 0.9rem; }
.cap-large h3 { font-size: 2rem; }
.cap p { color: var(--ink-500); font-size: 0.95rem; margin-bottom: 1.2rem; flex: 1; }
.cap-naics {
  font-size: 0.78rem; color: var(--ink-700);
  padding-top: 1rem; border-top: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.cap-naics strong { color: var(--ink); }
.cap-naics .tag {
  background: var(--surface-2); padding: 0.3rem 0.7rem;
  border-radius: 999px; font-size: 0.7rem; font-weight: 500;
}
.cap .arrow {
  position: absolute; top: 2rem; right: 2rem;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface-2);
  display: grid; place-items: center;
  color: var(--ink-500);
  transition: all 0.2s;
}
.cap:hover .arrow { background: var(--gold); color: var(--ink); transform: translate(2px, -2px); }

/* ============ EDGE (dark card) ============ */
.edge {
  background: var(--ink);
  color: var(--white);
  border-radius: 28px;
  padding: 5rem 4rem;
  margin: 3rem auto;
  max-width: 1260px;
  position: relative;
  overflow: hidden;
}
.edge::before {
  content: '';
  position: absolute; top: -30%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200, 151, 62, 0.15), transparent 60%);
  pointer-events: none;
}
.edge .section-head h2 { color: var(--white); }
.edge .section-head p { color: #94A3B8; }
.edge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
.edge-item { padding: 1.8rem 1.6rem; border-left: 1px solid rgba(255,255,255,0.12); }
.edge-item:first-child,
.edge-item:nth-child(4) { border-left: none; padding-left: 0; }
.edge-num {
  font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400;
  font-size: 1.3rem; color: var(--gold); margin-bottom: 0.85rem; display: block;
}
.edge-item h4 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.6rem; color: var(--white); }
.edge-item p { color: #CBD5E1; font-size: 0.92rem; line-height: 1.5; }

/* ============ EMERGENCY BAND ============ */
.emergency {
  background: var(--gold-soft);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  padding: 1.6rem 0;
}
.emergency-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.emergency-text { display: flex; align-items: center; gap: 1rem; }
.emergency-badge {
  background: var(--alert); color: var(--white);
  padding: 0.35rem 0.8rem; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.emergency-copy { font-weight: 600; color: var(--ink); font-size: 0.98rem; }
.emergency-copy span { color: var(--ink-500); font-weight: 400; font-size: 0.9rem; margin-left: 0.4rem; }
.emergency-phone {
  font-family: 'Inter', sans-serif; font-variant-numeric: tabular-nums;
  font-size: 1.25rem; font-weight: 700; color: var(--ink);
  text-decoration: none; letter-spacing: -0.01em;
}
.emergency-phone:hover { color: var(--gold); }

/* ============ PROOF QUOTE ============ */
.proof { background: var(--surface); padding: 6rem 0; }
.proof-inner { max-width: 1020px; margin: 0 auto; padding: 0 2rem; }
.proof blockquote {
  font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.25; letter-spacing: -0.015em;
  color: var(--ink); margin-bottom: 2rem;
}
.proof blockquote::before { content: '"'; color: var(--gold); margin-right: 0.2rem; }
.proof blockquote::after { content: '"'; color: var(--gold); }
.proof-attr { display: flex; align-items: center; gap: 1rem; }
.avatar {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--navy); display: grid; place-items: center;
  color: var(--white); font-weight: 700; font-size: 1.05rem;
}
.attr-name { font-weight: 600; font-size: 1rem; }
.attr-role { font-size: 0.86rem; color: var(--ink-500); }

/* ============ PAST PERFORMANCE LIST ============ */
.pp-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.pp-row {
  display: grid; grid-template-columns: 1fr 1.4fr 1fr 220px;
  gap: 2rem; padding: 1.9rem 0; border-bottom: 1px solid var(--line); align-items: start;
}
.pp-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold);
  background: var(--gold-soft); padding: 0.35rem 0.75rem;
  border-radius: 999px; margin-bottom: 0.5rem;
}
.pp-client { font-weight: 600; color: var(--ink); font-size: 1rem; }
.pp-scope { color: var(--ink-700); font-size: 0.94rem; line-height: 1.45; }
.pp-outcome { color: var(--ink-500); font-size: 0.87rem; line-height: 1.45; font-style: italic; }
.pp-ref { font-size: 0.82rem; color: var(--ink-700); line-height: 1.45; }
.pp-ref strong {
  display: block; color: var(--ink); font-size: 0.72rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.35rem;
}

/* ============ TRADE PARTNERS ============ */
.partners { background: var(--surface-2); }
.partners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.partner-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 18px; padding: 1.8rem; display: flex; flex-direction: column;
}
.partner-card h4 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.partner-card .role {
  font-size: 0.78rem; color: var(--gold); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.9rem;
}
.partner-card p { color: var(--ink-500); font-size: 0.9rem; line-height: 1.5; flex: 1; }

/* ============ NAICS TABLE ============ */
.naics-wrap {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 20px; padding: 2.2rem; margin-top: 2.5rem;
}
.naics-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.naics-table th, .naics-table td {
  text-align: left; padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line); font-size: 0.94rem;
}
.naics-table th {
  font-size: 0.72rem; color: var(--ink-500);
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
}
.naics-table td:first-child { font-weight: 600; color: var(--ink); width: 110px; }
.naics-table tr:last-child td { border-bottom: none; }
.naics-table .primary-tag {
  background: var(--gold-soft); color: var(--ink);
  font-size: 0.68rem; font-weight: 600;
  padding: 0.2rem 0.55rem; border-radius: 999px;
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* ============ CTA BAND ============ */
.cta-band { background: var(--ink); color: var(--white); padding: 5rem 0; text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1rem; color: var(--white); }
.cta-band p { color: #CBD5E1; font-size: 1.08rem; max-width: 44rem; margin: 0 auto 2.2rem; }
.cta-band .hero-cta { justify-content: center; }
.cta-band .eyebrow { color: var(--gold-light); justify-content: center; display: inline-flex; }

/* ============ CONTACT CARD ============ */
.contact-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 24px; padding: 3rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
}
.contact-col h3 { font-size: 1.2rem; margin-bottom: 1.4rem; }
.contact-row {
  display: flex; gap: 0.9rem; margin-bottom: 1.2rem;
  padding-bottom: 1.2rem; border-bottom: 1px solid var(--line);
}
.contact-row:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.contact-icon {
  width: 42px; height: 42px; background: var(--surface-2);
  border-radius: 10px; display: grid; place-items: center;
  flex-shrink: 0; color: var(--gold);
}
.contact-row .label {
  font-size: 0.72rem; font-weight: 600; color: var(--ink-500);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 3px;
}
.contact-row .value {
  color: var(--ink); font-weight: 500; text-decoration: none;
  font-size: 0.96rem; line-height: 1.4; font-variant-numeric: tabular-nums;
}
.contact-row a.value:hover { color: var(--gold); }

/* ============ FORM ============ */
.form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 24px; padding: 3rem;
}
.form-row { margin-bottom: 1.3rem; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; margin-bottom: 1.3rem; }
.form-row label, .form-row-split label {
  display: block; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-500); margin-bottom: 0.5rem;
}
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 0.85rem 1rem;
  border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 0.96rem; color: var(--ink);
  background: var(--surface); transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 151, 62, 0.15);
}
.form-textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.form-footnote { font-size: 0.82rem; color: var(--ink-500); margin-top: 1.2rem; }

/* ============ FOOTER ============ */
footer { background: var(--ink); color: #94A3B8; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; max-width: 26rem; margin-top: 1.2rem; }
.footer-col h4 {
  font-size: 0.75rem; font-weight: 600; color: var(--white);
  text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 1.3rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { color: #94A3B8; text-decoration: none; font-size: 0.9rem; }
.footer-col a:hover { color: var(--white); }
.footer-mono { font-family: 'Inter', monospace; font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.8rem;
  display: flex; justify-content: space-between;
  font-size: 0.82rem; flex-wrap: wrap; gap: 1rem;
}

/* ============ CONTENT (for marketing/long-form pages) ============ */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.8rem; margin-top: 2.5rem; margin-bottom: 1rem; }
.prose h3 { font-size: 1.3rem; margin-top: 1.8rem; margin-bottom: 0.7rem; }
.prose p { margin-bottom: 1.1rem; font-size: 1rem; color: var(--ink-700); line-height: 1.65; }
.prose ul { margin: 0 0 1.3rem 1.25rem; }
.prose ul li { margin-bottom: 0.45rem; font-size: 1rem; color: var(--ink-700); line-height: 1.55; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose a:hover { color: var(--gold); }

/* Two-column split section */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.split-stack {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem; align-items: start;
}

/* Sub-capability list (for vertical pages) */
.subcap-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-top: 2rem; }
.subcap {
  padding: 1.4rem 1.5rem; background: var(--white);
  border: 1px solid var(--line); border-radius: 14px;
}
.subcap h4 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.subcap p { font-size: 0.9rem; color: var(--ink-500); line-height: 1.5; }

/* Page-level back-link / breadcrumb */
.breadcrumb {
  font-size: 0.8rem; color: var(--ink-500); margin-bottom: 1.2rem;
  display: flex; gap: 0.45rem; align-items: center;
}
.breadcrumb a { color: var(--ink-500); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { color: var(--ink-300); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .capability-grid { grid-template-columns: repeat(4, 1fr); }
  .cap-large { grid-column: span 4; }
  .cap-small { grid-column: span 2; }
  .edge { padding: 4rem 2.5rem; }
  .edge-grid { grid-template-columns: repeat(2, 1fr); }
  .edge-item { border-left: none !important; padding-left: 0 !important; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); }
  .edge-item:first-child, .edge-item:nth-child(2) { border-top: none; padding-top: 0; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .split-stack { grid-template-columns: 1fr; gap: 2.5rem; }
  .subcap-list { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .container, .container-narrow { padding: 0 1.25rem; }
  .cred-bar { font-size: 0.72rem; }
  .cred-bar-items { gap: 1rem; }
  nav ul { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-open nav ul {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); padding: 1.5rem 1.25rem;
    border-bottom: 1px solid var(--line); gap: 1.2rem;
  }
  .nav-open .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 1rem; }
  .hero { padding: 3rem 0 3.5rem; }
  .hero-stats-card { padding: 1.8rem; }
  .stats-grid { gap: 1.3rem 1rem; }
  .stat-item .n { font-size: 1.9rem; }
  section { padding: 3.5rem 0; }
  .capability-grid { grid-template-columns: 1fr; }
  .cap-large, .cap-small { grid-column: span 1; }
  .edge { padding: 3rem 1.5rem; margin: 1.5rem 1rem; border-radius: 20px; }
  .edge-grid { grid-template-columns: 1fr; }
  .pp-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .partners-grid { grid-template-columns: 1fr; }
  .contact-card, .form-card { grid-template-columns: 1fr; padding: 2rem 1.5rem; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .trust-credentials { gap: 1.2rem; }
  .naics-wrap { padding: 1.5rem 1rem; overflow-x: auto; }
  .form-row-split { grid-template-columns: 1fr; gap: 0; }
  .form-row-split .form-row { margin-bottom: 1.3rem; }
  .emergency-inner { flex-direction: column; align-items: flex-start; }
}

/* ===================================================================
   PAGE-SPECIFIC — CAPABILITIES
   =================================================================== */

/* Breadcrumb */
.breadcrumb {
  font-size: 0.8rem; color: var(--ink-500);
  letter-spacing: 0.04em; margin-bottom: 1.5rem;
  display: flex; gap: 0.5rem; align-items: center;
  text-transform: uppercase;
}
.breadcrumb a { color: var(--ink-500); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.breadcrumb a:hover { border-color: var(--ink-500); }
.breadcrumb span { color: var(--ink-500); }

/* Page hero */
.page-hero {
  padding: 3.5rem 0 3.5rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface) 0%, var(--white) 100%);
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.04; letter-spacing: -0.03em;
  margin: 0.75rem 0 1.1rem; max-width: 32ch;
}
.page-hero .lead { font-size: 1.08rem; color: var(--ink-500); max-width: 58ch; line-height: 1.6; }
.page-hero .hero-cta { margin-top: 2rem; }

/* NAICS overview table (div-based) */
.naics-overview { padding: 5rem 0; background: var(--surface-2); }
.naics-table {
  margin-top: 2.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.naics-row {
  display: grid;
  grid-template-columns: 1.1fr 2.6fr 1.5fr 1.8fr;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.naics-row:last-child { border-bottom: none; }
.naics-row:hover:not(.naics-header) { background: var(--surface); }
.naics-row strong { color: var(--ink); font-weight: 700; letter-spacing: 0.02em; }
.naics-row a { color: var(--ink-700); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--gold-light); padding-bottom: 1px; transition: border-color 0.2s, color 0.2s; }
.naics-row a:hover { color: var(--gold); border-color: var(--gold); }
.naics-header {
  background: var(--ink);
  color: var(--white);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.naics-header div { color: #94A3B8; }
.naics-row .tag {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  background: var(--gold-soft);
  color: var(--ink);
  border-radius: 10px;
  text-transform: uppercase;
  font-weight: 700;
  vertical-align: 2px;
}

/* Capability family sections */
.cap-family { padding: 5.5rem 0; border-bottom: 1px solid var(--line); }
.cap-family-alt { background: var(--surface); }
.cap-family-head { max-width: 64rem; margin-bottom: 2.5rem; }
.cap-family-meta { position: relative; padding-left: 5.5rem; }
.cap-family-meta .roman {
  position: absolute; left: 0; top: -0.3rem;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--gold);
  font-weight: 400;
}
.cap-family-meta .eyebrow { margin-bottom: 0.4rem; }
.cap-family-meta h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 1rem; }
.cap-family-meta .lead-short { font-size: 1.02rem; color: var(--ink-500); line-height: 1.6; max-width: 58ch; margin-bottom: 1.25rem; }
.cap-family-naics { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cap-family-naics .chip {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-700);
  font-size: 0.78rem;
  font-weight: 500;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.cap-family-alt .cap-family-naics .chip { background: var(--surface-2); }

/* Subcap grid */
.subcap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}
.subcap-grid .subcap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem 1.5rem 1.4rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.cap-family-alt .subcap-grid .subcap { background: var(--white); }
.subcap-grid .subcap:hover {
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -12px rgba(11,18,32,0.12);
}
.subcap-grid .subcap h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.55rem;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.subcap-grid .subcap p {
  font-size: 0.88rem;
  color: var(--ink-500);
  line-height: 1.55;
  margin: 0;
}
.cap-family-foot { margin-top: 2.5rem; }

/* Delivery model */
.delivery-model { padding: 5rem 0; background: var(--ink); color: var(--white); }
.delivery-model .section-head h2 { color: var(--white); }
.delivery-model .section-head p { color: #CBD5E1; }
.delivery-model .section-head .eyebrow { color: var(--gold-light); }
.delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
.delivery-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 2rem 2rem 1.75rem;
}
.delivery-role {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 3px 10px;
  border: 1px solid rgba(224,184,101,0.35);
  border-radius: 999px;
}
.delivery-card h4 {
  font-size: 1.25rem;
  color: var(--white);
  margin: 0 0 0.75rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.delivery-card p { color: #CBD5E1; font-size: 0.95rem; line-height: 1.6; margin: 0 0 1.2rem; }
.delivery-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.1rem;
}
.delivery-list li {
  color: #E2E8F0;
  font-size: 0.88rem;
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}
.delivery-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55rem;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* Compliance posture */
.compliance-section { padding: 5.5rem 0; background: var(--surface-2); }
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}
.compliance-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.6rem 1.5rem 1.5rem;
  position: relative;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.compliance-card:hover {
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -12px rgba(11,18,32,0.1);
}
.compliance-card .comp-label {
  display: inline-block;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
  width: 100%;
}
.compliance-card h4 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.55rem;
  line-height: 1.3;
}
.compliance-card p {
  font-size: 0.84rem;
  color: var(--ink-500);
  line-height: 1.55;
  margin: 0;
}

/* Value strip — used on vertical pages */
.value-strip { padding: 4rem 0; background: var(--white); border-bottom: 1px solid var(--line); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.value-item { border-left: 2px solid var(--gold); padding-left: 1.25rem; }
.value-item .v-num {
  font-family: 'Instrument Serif', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 0.6rem;
  letter-spacing: 0.05em;
}
.value-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.55rem;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.value-item p {
  font-size: 0.87rem;
  color: var(--ink-500);
  line-height: 1.55;
  margin: 0;
}

/* Responsive — capabilities */
@media (max-width: 1024px) {
  .naics-row { grid-template-columns: 1fr 2fr 1.3fr 1.5fr; font-size: 0.85rem; gap: 1rem; }
  .subcap-grid { grid-template-columns: repeat(2, 1fr); }
  .compliance-grid { grid-template-columns: repeat(2, 1fr); }
  .delivery-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 760px) {
  .page-hero { padding: 2.5rem 0 2.5rem; }
  .cap-family { padding: 3.5rem 0; }
  .cap-family-meta { padding-left: 0; }
  .cap-family-meta .roman {
    position: static;
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
  }
  .naics-overview { padding: 3rem 0; }
  .naics-table { border-radius: 10px; }
  .naics-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 1.1rem 1.25rem;
    font-size: 0.88rem;
  }
  .naics-header { display: none; }
  .naics-row > div:first-child { font-size: 0.95rem; }
  .naics-row > div:nth-child(2) { color: var(--ink); font-weight: 500; }
  .naics-row > div:nth-child(3) { font-size: 0.82rem; color: var(--ink-500); }
  .subcap-grid { grid-template-columns: 1fr; }
  .delivery-model { padding: 3.5rem 0; }
  .compliance-section { padding: 3.5rem 0; }
  .compliance-grid { grid-template-columns: 1fr; }
  .value-strip { padding: 2.75rem 0; }
  .value-grid { grid-template-columns: 1fr; gap: 1.2rem; }
}

/* ===========================================================
   PAST PERFORMANCE PAGE
   =========================================================== */
.pp-partner {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2.5rem 2.5rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.pp-partner:hover {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}
.pp-partner-head {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 2rem;
  align-items: start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.75rem;
}
.pp-partner-head h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.05rem);
  line-height: 1.2;
  margin: 0.35rem 0 0.75rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.pp-role {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  padding: 0.35rem 0.7rem;
  background: var(--gold-soft);
  border: 1px solid var(--gold-light);
  border-radius: 4px;
}
.pp-lead {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-500);
  margin: 0;
  max-width: 56ch;
}
.pp-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.pp-stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 0.85rem;
  text-align: center;
}
.pp-n {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.pp-l {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  line-height: 1.35;
}
.pp-project-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pp-project {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 1.35rem 1.5rem;
  transition: border-left-color 0.3s ease, background 0.3s ease;
}
.pp-project:hover {
  background: var(--white);
  border-left-color: var(--navy);
}
.pp-project h4 {
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0.3rem 0 0.55rem;
  color: var(--ink);
  font-weight: 600;
}
.pp-project p {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink-500);
  margin: 0 0 0.85rem;
}
.pp-project-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.pp-relevance {
  background: var(--gold-soft);
  border-left: 2px solid var(--gold);
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink);
  border-radius: 4px;
  margin-top: 0.5rem;
}
.pp-relevance strong {
  color: var(--navy);
  font-weight: 600;
}
.pp-ref {
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px dashed var(--line);
  font-size: 0.86rem;
  color: var(--ink-500);
  line-height: 1.6;
}
.pp-ref strong {
  color: var(--navy);
  font-weight: 600;
}

/* CFG direct entity record (new-entity positioning) */
.cfg-direct-record {
  margin-top: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.direct-item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.direct-item:last-child { border-bottom: none; }
.direct-item:nth-child(odd) { background: var(--surface); }
.direct-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.direct-value {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .pp-partner-head {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .pp-meta {
    grid-template-columns: repeat(2, 1fr);
    max-width: 480px;
  }
}
@media (max-width: 760px) {
  .pp-partner { padding: 1.75rem 1.5rem 1.5rem; margin-bottom: 1.75rem; }
  .pp-partner-head h3 { font-size: 1.4rem; }
  .pp-meta { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .pp-n { font-size: 1.55rem; }
  .pp-project { padding: 1.15rem 1.25rem; }
  .pp-project h4 { font-size: 1rem; }
  .direct-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 1.1rem 1.25rem;
  }
  .direct-value { font-size: 0.92rem; }
}

/* ===========================================================
   QUOTE / RFQ FORM
   =========================================================== */
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
}
.quote-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2.5rem 2.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.hidden-field { display: none !important; }
.form-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.75rem;
  margin-bottom: 2rem;
}
.form-head h2 {
  font-size: clamp(1.6rem, 2.4vw, 1.95rem);
  margin: 0.5rem 0 0.65rem;
}
.form-head p {
  color: var(--ink-500);
  font-size: 0.95rem;
  margin: 0;
}
.form-section {
  border: none;
  padding: 0;
  margin: 0 0 2rem;
}
.form-section legend {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0 0 0.75rem;
  margin: 0 0 1.25rem;
  border-bottom: 1px dashed var(--line);
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}
.form-roman {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--gold);
  line-height: 1;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
.form-field label {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}
.req { color: var(--gold); font-weight: 700; }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="date"],
.form-field input[type="file"],
.form-field select,
.form-field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(224, 184, 101, 0.18);
}
.form-field textarea {
  resize: vertical;
  min-height: 100px;
  font-family: 'Inter', sans-serif;
  line-height: 1.55;
}
.form-field input[type="file"] {
  padding: 0.5rem;
  background: var(--white);
  cursor: pointer;
}
.form-help {
  font-size: 0.78rem;
  color: var(--ink-500);
  margin-top: 0.4rem;
}
.form-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  background: var(--surface);
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.form-checks label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
  margin: 0;
  padding: 0.25rem 0;
  font-weight: 400;
}
.form-checks input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  flex-shrink: 0;
}
.form-submit {
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
  margin-top: 0.5rem;
}
.form-ack {
  font-size: 0.82rem;
  color: var(--ink-500);
  margin-top: 1rem;
  line-height: 1.55;
}
.form-ack a { color: var(--gold); font-weight: 500; }
.btn-lg {
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
}

/* Quote sidebar / aside */
.quote-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 2rem;
}
.aside-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem 1.5rem;
}
.aside-card-dark {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.aside-card-dark .eyebrow { color: var(--gold); }
.aside-card h4 {
  font-size: 1rem;
  margin: 0.35rem 0 0.65rem;
  color: var(--ink);
}
.aside-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  font-size: 0.89rem;
  color: var(--ink-500);
  line-height: 1.6;
}
.aside-list li {
  padding: 0.55rem 0;
  border-top: 1px dashed var(--line);
}
.aside-list li:first-child { border-top: none; padding-top: 0; }
.aside-list strong { color: var(--ink); font-weight: 600; }
.aside-mono {
  list-style: none;
  margin: 0.85rem 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #E5E7EB;
}
.aside-mono li {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.aside-mono li:first-child { border-top: none; }
.aside-mono li span {
  color: #94A3B8;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.aside-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.aside-link:hover { text-decoration: underline; }

/* ===========================================================
   THANKS PAGE
   =========================================================== */
.thanks-wrap {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem 0;
}
.thanks-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  animation: thanksPulse 2.4s ease-in-out infinite;
}
@keyframes thanksPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
.thanks-wrap .eyebrow { justify-content: center; display: inline-flex; }
.thanks-wrap h1 {
  margin-top: 1rem;
  text-align: center;
}
.thanks-wrap .lead {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .quote-grid { grid-template-columns: 1fr; }
  .quote-aside { position: static; }
}
@media (max-width: 760px) {
  .quote-form-wrap { padding: 1.75rem 1.5rem; }
  .form-row-2 { grid-template-columns: 1fr; gap: 0; }
  .form-checks { grid-template-columns: 1fr; }
  .form-section legend { font-size: 0.9rem; }
  .form-roman { font-size: 1.2rem; }
}

/* ===========================================================
   LEGAL PAGES (privacy / terms)
   =========================================================== */
.legal-page {
  background: var(--surface);
  padding: 4.5rem 0 5.5rem;
}
.legal-wrap {
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 3.5rem 3.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.legal-wrap h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2.25rem 0 0.85rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.legal-wrap h2:first-child { margin-top: 0; }
.legal-wrap p {
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--ink);
  margin: 0 0 1.1rem;
}
.legal-wrap a {
  color: var(--gold);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.legal-wrap a:hover { color: var(--navy); }
.legal-wrap strong { color: var(--navy); font-weight: 600; }
.legal-effective {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--line);
  font-size: 0.9rem;
  color: var(--ink-500);
  line-height: 1.7;
}
.legal-effective strong { color: var(--ink); }

@media (max-width: 760px) {
  .legal-page { padding: 2.5rem 0 3.5rem; }
  .legal-wrap { padding: 2rem 1.75rem; }
  .legal-wrap h2 { font-size: 1.08rem; margin-top: 1.75rem; }
  .legal-wrap p { font-size: 0.94rem; }
}
