/* ========================
   TOKENS
======================== */
:root {
  --navy:    #1D3557;
  --crimson: #BF2F3A;
  --steel:   #6C757D;
  --cloud:   #F8F9FA;
  --carbon:  #16181A;
  --pale:    #E3E2E3;
  --white:   #ffffff;
  --line:    rgba(22, 24, 26, 0.1);
}

/* Dark mode overrides */
body.dark-mode {
  background: #111417;
  color: #eef0f2;
  --cloud:   #16191c;
  --white:   #1e2225;
  --carbon:  #eef0f2;
  --steel:   #9ba5ae;
  --pale:    #252a2f;
  --line:    rgba(255, 255, 255, 0.09);
}

/* ========================
   RESET / BASE
======================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  zoom: 1.2;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--cloud);
  color: var(--carbon);
  font-family: 'Jost', ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

body { width: 100%; max-width: 100vw; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

section[id] { scroll-margin-top: 80px; }

main { padding-top: 72px; }

/* ========================
   ACCESSIBILITY
======================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--carbon);
  color: var(--white);
  padding: 10px 18px;
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--crimson);
  outline-offset: 3px;
}

/* ========================
   LAYOUT
======================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ========================
   HEADER
======================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(240, 241, 242, 0.75);
  backdrop-filter: saturate(200%) blur(18px);
  -webkit-backdrop-filter: saturate(200%) blur(18px);
  border-bottom: 1px solid var(--line);
}

body.dark-mode .site-header {
  background: rgba(17, 20, 23, 0.72);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo-link { text-decoration: none; }

.brand-logo {
  width: 220px;
  min-width: 140px;
  height: auto;
  display: block;
  transition: opacity 0.2s;
}

.brand-emblem {
  width: 120px;
  height: auto;
  display: none;
  transition: opacity 0.2s;
}

.footer-logo {
  width: 140px;
  height: auto;
  display: block;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  position: relative;
}

.navmenu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navmenu li { display: flex; align-items: center; }

.navmenu a {
  font-size: 13px;
  font-weight: 700;
  color: var(--carbon);
  padding: 8px 11px;
  transition: opacity 0.2s;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.navmenu a:hover { opacity: 0.6; }

.navmenu .nav-cta {
  background: var(--crimson);
  color: #fff;
  padding: 9px 16px;
  margin-left: 6px;
  border-radius: 6px;
  transition: opacity 0.2s, transform 0.15s;
}
.navmenu .nav-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--carbon);
  padding: 7px 9px;
  cursor: pointer;
}

/* ========================
   THEME SWITCH
======================== */
.theme-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
  margin-left: 10px;
}

.theme-switch input {
  width: 0;
  height: 0;
  opacity: 0;
  position: absolute;
}

.slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: rgba(22, 24, 26, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  transition: 0.2s ease;
}

body.dark-mode .slider {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.slider::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 4px;
  top: 3px;
  background: var(--carbon);
  border-radius: 4px;
  transition: 0.2s ease;
}

.theme-switch input:checked + .slider {
  background: var(--crimson);
  border-color: var(--crimson);
}

.theme-switch input:checked + .slider::before {
  transform: translateX(20px);
  background: #fff;
}

/* ========================
   SECTION EYEBROW
======================== */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--crimson);
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--crimson);
  flex-shrink: 0;
}

/* ========================
   BUTTONS
======================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 28px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s, background 0.15s;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.btn.primary {
  background: var(--crimson);
  border-color: var(--crimson);
  color: #fff;
}
.btn.primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(191, 47, 58, 0.3);
}

.btn.ghost {
  background: transparent;
  border-color: var(--carbon);
  color: var(--carbon);
}
.btn.ghost:hover {
  background: var(--carbon);
  color: var(--white);
  transform: translateY(-2px);
}

body.dark-mode .btn.ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #eef0f2;
}
body.dark-mode .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ========================
   HERO
======================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 104px;
  background: var(--cloud);
}

.hero-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg-circle {
  position: absolute;
  top: -48px;
  right: -96px;
  width: 576px;
  height: 576px;
  border-radius: 50%;
  background: var(--crimson);
  opacity: 0.1;
}

.hero-bg-bar-navy {
  position: absolute;
  left: 7%;
  top: 96px;
  width: 22px;
  height: 288px;
  background: var(--navy);
  opacity: 0.1;
}

.hero-bg-bar-crimson {
  position: absolute;
  left: 16%;
  top: 220px;
  width: 38px;
  height: 288px;
  background: var(--crimson);
  opacity: 0.12;
}

.hero-bg-line {
  position: absolute;
  right: 10%;
  top: 144px;
  width: 192px;
  height: 1px;
  background: var(--carbon);
  opacity: 0.14;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(to right, var(--carbon) 1px, transparent 1px);
  background-size: 128px 100%;
  opacity: 0.04;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: end;
}

.hero-copy h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 28px;
  max-width: 16ch;
}

.hero-copy .lead {
  font-size: 19px;
  color: var(--steel);
  line-height: 1.75;
  max-width: 54ch;
  margin: 0 0 36px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pills li {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--carbon);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.dark-mode .pills li {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px;
}

body.dark-mode .stat-card {
  background: var(--white);
  border-color: rgba(255, 255, 255, 0.08);
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--carbon);
  line-height: 1.1;
}

.stat-label {
  font-size: 13px;
  color: var(--steel);
  margin-top: 4px;
  line-height: 1.4;
}

.stat-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--carbon) 0%, var(--navy) 65%, #4a5568 100%);
  border: none;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  min-height: 130px;
}

.stat-card.featured::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 24px;
  width: 52px;
  height: 52px;
  background: var(--crimson);
  opacity: 0.95;
}

.stat-card.featured::after {
  content: '';
  position: absolute;
  right: 24px;
  top: 16px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1px solid rgba(248, 249, 250, 0.22);
}

.featured-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.65);
  position: relative;
  z-index: 1;
}

.featured-text {
  margin-top: 8px;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  position: relative;
  z-index: 1;
  max-width: 220px;
}

/* ========================
   VALUES
======================== */
.values {
  padding: 24px 0 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px;
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--pale);
  color: var(--crimson);
  margin-bottom: 24px;
}

.value-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
}

.value-card p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--steel);
  margin: 0;
}

/* ========================
   SERVICES
======================== */
.services-section {
  padding: 80px 0;
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.services-left {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.services-left .service-card {
  grid-template-columns: 1fr;
}

.services-header {
}

.services-header h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 16px;
}

.services-header p {
  font-size: 16px;
  color: var(--steel);
  line-height: 1.75;
  margin: 0;
}

.services-list {
  display: grid;
  gap: 16px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 28px;
  align-items: start;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--pale);
  color: var(--navy);
  margin-bottom: 16px;
}

.service-main h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.service-main p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--steel);
  margin: 0;
}

.service-bullets {
  background: var(--cloud);
  border: 1px solid var(--line);
  padding: 20px;
  align-self: start;
}

body.dark-mode .service-icon {
  background: rgba(29, 53, 87, 0.45);
  color: #eef0f2;
}

body.dark-mode .service-bullets {
  background: rgba(255, 255, 255, 0.04);
}

.bullets-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--crimson);
  margin-bottom: 14px;
}

.service-bullets ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.service-bullets li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--carbon);
}

.service-bullets li svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--crimson);
}

/* ========================
   PROCESS
======================== */
.process-section {
  background-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  color: #fff;
  padding: 80px 0;
}

body.dark-mode .process-section {
  background-color: #0d1929;
}

.process-header {
  margin-bottom: 48px;
}

.process-header .section-eyebrow {
  color: var(--crimson);
}

.process-header h2 {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin: 0;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.process-step {
  padding: 32px 24px 32px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.process-step + .process-step {
  padding-left: 24px;
}

.process-step:last-child {
  border-right: none;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--crimson);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}

.process-step h3 {
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  margin: 22px 0 12px;
  line-height: 1.2;
}

.process-step p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ========================
   CMMC
======================== */
.cmmc-section {
  background: var(--carbon);
  padding: 80px 0;
}

body.dark-mode .cmmc-section {
  background: #0a0c0e;
}

.cmmc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.cmmc-header .section-eyebrow { color: var(--crimson); }

.cmmc-header h2 {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 20px;
}

.cmmc-header p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.cmmc-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cmmc-box {
  border: 1px solid rgba(248, 249, 250, 0.1);
  background: rgba(248, 249, 250, 0.04);
  padding: 24px;
}

.cmmc-box h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}

.cmmc-box p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 10px;
}

.cmmc-box p:last-child { margin: 0; }

.cmmc-boxes .cmmc-box:last-child { grid-column: 1 / -1; }

.cmmc-box-note {
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.38) !important;
  border-left: 2px solid var(--crimson);
  padding-left: 10px;
  margin-top: 12px !important;
}

/* ========================
   TEAM
======================== */
.team-section {
  padding: 80px 0;
}

.team-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 48px;
}

.team-intro > div { flex: 1; }

.team-intro h2 {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

.team-intro > p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--steel);
  max-width: 400px;
  flex-shrink: 0;
  margin: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.team-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
}

.team-card-body {
  padding: 24px;
}

.team-card-body h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
}

.team-role {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--crimson);
  margin: 0 0 14px;
}

.team-card-body > p:last-child {
  font-size: 15px;
  line-height: 1.75;
  color: var(--steel);
  margin: 0;
}

/* ========================
   CTA BANNER
======================== */
.cta-banner {
  padding: 0 0 40px;
}

.cta-inner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--carbon) 100%);
  padding: 48px 52px;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 56px;
  align-items: center;
}

body.dark-mode .cta-inner {
  background: linear-gradient(135deg, #0d1929 0%, #0a0c0e 100%);
}

.cta-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}

.cta-text h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 16px;
}

.cta-text p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.cta-box {
  border: 1px solid rgba(248, 249, 250, 0.13);
  background: rgba(248, 249, 250, 0.05);
  padding: 28px;
}

.cta-checks {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.cta-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.cta-check svg { flex-shrink: 0; color: rgba(255, 255, 255, 0.7); }

.cta-btn {
  width: 100%;
  justify-content: center;
}

/* ========================
   CONTACT
======================== */
.contact-section {
  padding: 80px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 64px;
}

.contact-info h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 20px;
}

.contact-info > p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--steel);
  margin: 0 0 32px;
}

.contact-details { display: grid; gap: 16px; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
}

.contact-detail svg { flex-shrink: 0; margin-top: 2px; color: var(--crimson); }
.contact-detail a:hover { color: var(--crimson); transition: color 0.2s; }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 40px;
}

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group.full-width {
  margin-bottom: 20px;
}

.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--carbon);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--cloud);
  border: 1.5px solid rgba(22, 24, 26, 0.15);
  color: var(--carbon);
  padding: 13px 16px;
  border-radius: 0;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
  border-color: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--steel); opacity: 0.7; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(191, 47, 58, 0.1);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236C757D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
  padding-right: 40px;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.required-note {
  font-size: 13px;
  color: var(--steel);
  margin: 0 0 18px;
  font-weight: 600;
}

.form-submit {
  margin-top: 4px;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ========================
   FOOTER
======================== */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1fr;
  gap: 48px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--steel);
  max-width: 340px;
  margin: 16px 0 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.footer-links a {
  font-size: 13px;
  font-weight: 700;
  color: var(--carbon);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}
.footer-links a:hover { opacity: 0.55; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--carbon);
}

.footer-contact a { transition: opacity 0.2s; }
.footer-contact a:hover { opacity: 0.55; }

.subfooter {
  padding-top: 4px;
  padding-bottom: 12px;
}

.subfooter small {
  font-size: 13px;
  color: var(--steel);
}

/* ========================
   RESPONSIVE — 1100px
======================== */
@media (max-width: 1100px) {
  .services-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-left { position: static; }
}

/* ========================
   RESPONSIVE — 900px
======================== */
@media (max-width: 1100px) {
  .brand-logo { display: none; }
}

@media (max-width: 768px) {
  .brand-emblem { display: block; }

  /* Mobile nav */
  .nav-toggle { display: flex; }

  .navmenu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 260px;
    background: var(--white);
    border: 1px solid var(--line);
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    z-index: 200;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    gap: 2px;
  }

  body.dark-mode .navmenu {
    background: #1e2225;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  }

  .navmenu.show { display: flex; }

  .navmenu li { width: 100%; }

  .navmenu a {
    display: block;
    padding: 10px 14px;
    width: 100%;
  }

  .navmenu .nav-cta {
    margin-left: 0;
    text-align: center;
    margin-top: 4px;
  }

  .theme-switch {
    margin-left: 10px;
    flex-shrink: 0;
  }

  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }

  .values-grid { grid-template-columns: 1fr; }

  .service-card { grid-template-columns: 1fr; }
  .service-bullets { max-width: 100%; }

  .process-timeline { grid-template-columns: 1fr 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding: 28px 0 !important; }

  .cmmc-grid { grid-template-columns: 1fr; gap: 40px; }

  .team-intro { flex-direction: column; align-items: flex-start; gap: 16px; }
  .team-intro > p { max-width: 100%; }
  .team-grid { grid-template-columns: 1fr 1fr; }

  .cta-inner {
    grid-template-columns: 1fr;
    padding: 40px 32px;
    gap: 32px;
  }

  .contact-layout { grid-template-columns: 1fr; gap: 40px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 48px; padding-top: 40px; padding-bottom: 40px; }
  .footer-brand {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-brand p { max-width: 100%; }
  .footer-links { align-items: center; }
  .footer-contact { align-items: center; }
}

/* ========================
   RESPONSIVE — 640px
======================== */
@media (max-width: 315px) {
  .brand-emblem { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }

  .hero-copy h1 { font-size: 38px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }

  .stat-value { font-size: 18px; overflow-wrap: break-word; }
  .stat-label { overflow-wrap: break-word; }
  .featured-text { max-width: 100%; }

  .contact-form-wrap { padding: 24px; }

  .process-timeline { grid-template-columns: 1fr; }

  .cmmc-boxes { grid-template-columns: 1fr; }

  .team-grid { grid-template-columns: 1fr; }

  .form-grid { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand .logo { justify-content: center; }
  .footer-brand p { max-width: 100%; }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding-top: 0;
  }

  .footer-links a {
    padding: 10px 14px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .footer-contact {
    align-items: center;
    padding-top: 0;
  }

  .footer-contact a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .subfooter { text-align: center; }

  .footer-logo { width: 180px; }
}


@keyframes logo-jump {
  0%   { transform: translateY(0); }
  25%  { transform: translateY(-10px); }
  50%  { transform: translateY(0); }
  70%  { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}
.logo-jump {
  animation: logo-jump 0.45s ease;
}
