@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy: #0B1F3A;
  --navy-mid: #132D52;
  --navy-light: #1E4070;
  --amber: #E8860A;
  --amber-light: #F5A623;
  --amber-pale: #FEF3E2;
  --white: #FFFFFF;
  --off-white: #F7F8FA;
  --slate: #8A9BB0;
  --slate-light: #D4DCE8;
  --text-dark: #0B1F3A;
  --text-mid: #3C5070;
  --text-muted: #6B7E96;
  --border: #D4DCE8;
  --border-dark: #1E4070;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 4px;
  --radius-lg: 8px;
  --max-w: 1100px;
  --section-pad: 5rem 1.5rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
h4, h5, h6, .label { font-family: var(--font-body); font-weight: 600; }

.display-xl { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.display-lg { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
.display-md { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }

p { font-size: 1rem; color: var(--text-mid); line-height: 1.8; }
.lead { font-size: 1.15rem; font-weight: 300; color: var(--text-mid); line-height: 1.75; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: .75rem;
}

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: var(--section-pad); }
.section--dark { background: var(--navy); }
.section--navy-mid { background: var(--navy-mid); }
.section--off { background: var(--off-white); }

/* ── Navigation ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--border-dark);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.nav-logo span.accent { color: var(--amber); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: .85rem;
  font-weight: 500;
  color: var(--slate-light);
  text-decoration: none;
  letter-spacing: .02em;
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links .nav-cta {
  background: var(--amber);
  color: var(--navy);
  padding: .45rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.nav-links .nav-cta:hover { background: var(--amber-light); color: var(--navy); }

/* mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; color: var(--white); cursor: pointer; font-size: 1.4rem; }
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); padding: 1.5rem; gap: 1.25rem; border-bottom: 1px solid var(--border-dark); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
}
.btn-primary { background: var(--amber); color: var(--navy); border-color: var(--amber); }
.btn-primary:hover { background: var(--amber-light); border-color: var(--amber-light); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--slate); }
.btn-outline:hover { border-color: var(--white); color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn-lg { padding: .9rem 2rem; font-size: .95rem; }

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.card--dark {
  background: var(--navy-light);
  border-color: var(--border-dark);
}
.card-icon {
  width: 44px; height: 44px;
  background: var(--amber-pale);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}
.card-icon--dark { background: rgba(232,134,10,.15); }
.card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.card p { font-size: .9rem; }

/* ── Grids ── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }

/* ── Divider ── */
.amber-rule { width: 48px; height: 3px; background: var(--amber); margin-bottom: 1.5rem; }
.amber-rule--center { margin-left: auto; margin-right: auto; }

/* ── Badge ── */
.badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 2px;
  background: var(--amber-pale);
  color: var(--amber);
  border: 1px solid #F5D49A;
}
.badge--dark { background: rgba(232,134,10,.15); color: var(--amber-light); border-color: rgba(232,134,10,.3); }
.badge--navy { background: var(--navy-light); color: var(--slate-light); border-color: var(--border-dark); }

/* ── Stat strip ── */
.stat-strip { display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-start; }
.stat-item { flex: 1; min-width: 120px; }
.stat-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--amber); line-height: 1; }
.stat-label { font-size: .82rem; color: var(--slate); margin-top: .3rem; }

/* ── Section heading utility ── */
.section-heading { max-width: 640px; }
.section-heading--center { text-align: center; margin: 0 auto 3rem; }

/* ── Past Performance items ── */
.perf-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.perf-item:last-child { border-bottom: none; }
.perf-sector {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-pale);
  border: 1px solid #F5D49A;
  padding: .4rem .6rem;
  text-align: center;
  border-radius: var(--radius);
  line-height: 1.3;
}
.perf-title { font-weight: 600; font-size: 1rem; color: var(--text-dark); margin-bottom: .35rem; }
.perf-desc { font-size: .9rem; color: var(--text-mid); }
.perf-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.perf-tag { font-size: .72rem; background: var(--off-white); border: 1px solid var(--border); padding: .2rem .6rem; border-radius: 2px; color: var(--text-muted); font-weight: 500; }

/* ── NAICS table ── */
.naics-row { display: flex; justify-content: space-between; align-items: center; padding: .75rem 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.naics-row:last-child { border-bottom: none; }
.naics-code { font-family: var(--font-body); font-weight: 600; color: var(--navy); min-width: 90px; }
.naics-desc { color: var(--text-mid); flex: 1; padding: 0 1rem; }

/* ── Form ── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .82rem; font-weight: 600; color: var(--text-dark); margin-bottom: .4rem; letter-spacing: .02em; }
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color .2s;
  appearance: none;
}
.form-control:focus { outline: none; border-color: var(--navy-light); box-shadow: 0 0 0 3px rgba(30,64,112,.1); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B7E96' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ── Hero ── */
.hero {
  background: var(--navy);
  padding: 6rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 500px; height: 500px;
  border: 60px solid rgba(232,134,10,.07);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: 20%;
  width: 300px; height: 300px;
  border: 40px solid rgba(232,134,10,.05);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero .lead { color: var(--slate-light); max-width: 600px; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ── Footer ── */
.site-footer { background: var(--navy); border-top: 1px solid var(--border-dark); padding: 3rem 1.5rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; max-width: var(--max-w); margin: 0 auto; }
.footer-brand p { font-size: .88rem; color: var(--slate); margin-top: .75rem; max-width: 280px; }
.footer-col h4 { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--slate); margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a { font-size: .88rem; color: var(--slate); text-decoration: none; transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { max-width: var(--max-w); margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--border-dark); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: .82rem; color: var(--slate); }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ── Utility ── */
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-amber { color: var(--amber) !important; }
.text-slate { color: var(--slate) !important; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }

/* ── Animations ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp .6s ease both; }
.fade-up-2 { animation: fadeUp .6s .15s ease both; }
.fade-up-3 { animation: fadeUp .6s .3s ease both; }
