:root {
  --navy: #00183b;
  --blue: #0f203b;
  --gold: #d89010;
  --light: #f7f7f6;
  --text: #0f203b;
  --muted: #72767a;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; }
.container { width: min(1120px, 92%); margin: 0 auto; }

.topbar {
  background: var(--navy);
  color: var(--white);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.nav-wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { text-decoration: none; font-weight: 800; letter-spacing: .4px; font-size: 1.1rem; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; opacity: .92; }
.nav a:hover, .nav a.active { color: var(--gold); }

.hero {
  background: linear-gradient(135deg, rgba(0,24,59,.98), rgba(15,32,59,.94));
  border-top: 5px solid var(--gold);
  color: var(--white);
  padding: 96px 0 88px;
}
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; font-size: .82rem; }
h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1.05; margin: 14px 0 18px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.2; margin-top: 0; }
.lead { font-size: 1.15rem; max-width: 760px; color: #e4eaf2; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn { display: inline-block; text-decoration: none; padding: 12px 20px; border-radius: 5px; font-weight: 700; border: 2px solid transparent; }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-secondary { border-color: #d7e0ea; color: var(--white); }

.section { padding: 72px 0; }
.section-alt { background: var(--light); }
.section-intro { max-width: 760px; color: var(--muted); margin-bottom: 34px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  background: var(--white);
  border: 1px solid #e2e7ed;
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 8px 24px rgba(0,24,59,.07);
}
.card h3 { margin-top: 0; color: var(--navy); }
.stat { border-left: 4px solid var(--gold); padding-left: 16px; }

.page-hero { background: linear-gradient(135deg, var(--navy), var(--blue)); color: var(--white); padding: 64px 0; border-top: 4px solid var(--gold); }
.page-hero p { color: #dbe4ee; max-width: 760px; }

.checklist { padding-left: 20px; }
.checklist li { margin: 9px 0; }

.cta { background: var(--blue); color: var(--white); padding: 50px 0; }
.cta p { color: #dbe4ee; max-width: 760px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; }
label { display:block; font-weight:700; margin-bottom:6px; }
input, textarea {
  width: 100%; padding: 12px 13px; border: 1px solid #cfd7e0; border-radius: 5px; font: inherit;
}
textarea { min-height: 150px; resize: vertical; }
.form-row { margin-bottom: 16px; }
.small { color: var(--muted); font-size: .92rem; }

footer { background: #001538; border-top: 4px solid var(--gold); color: #d6dee7; padding: 34px 0; font-size: .92rem; }
.footer-wrap { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; }

@media (max-width: 820px) {
  .nav-wrap { align-items: flex-start; flex-direction: column; }
  .grid-3, .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 64px; }
}

.brand { display:flex; align-items:center; text-decoration:none; }
.site-logo { display:block; width:min(280px,42vw); height:auto; max-height:105px; object-fit:contain; }
@media (max-width:720px) { .site-logo { width:210px; max-height:82px; } }

/* Contact form enhancements */
.form-status {
  margin: 0 0 1rem;
  padding: .9rem 1rem;
  border: 1px solid #D89010;
  background: #fffaf0;
  border-radius: 8px;
}
.form-status.success { border-color: #2f7d32; }
.form-status.error { border-color: #a12622; }
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Job opportunities */
.job-card { margin-top: 24px; }
.job-card-header { display:flex; justify-content:space-between; align-items:flex-start; gap:18px; margin-bottom:14px; }
.job-card-header h3 { margin: 4px 0 0; font-size: 1.5rem; }
.job-location { font-weight:700; color:var(--muted); white-space:nowrap; }
.apply-btn { margin-top: 10px; }
.apply-note { margin: 10px 0 0; }
.no-openings { max-width: 820px; }
@media (max-width:720px) {
  .job-card-header { flex-direction:column; gap:4px; }
  .job-location { white-space:normal; }
}

/* Government contracting profile */
.profile-table { border-top:1px solid #dce3ea; }
.profile-table p { display:grid; grid-template-columns: 190px 1fr; gap:18px; margin:0; padding:13px 0; border-bottom:1px solid #dce3ea; }
.profile-table strong { color:var(--navy); }
.market-tags { display:flex; flex-wrap:wrap; gap:12px; margin:24px 0; }
.market-tags span { border:1px solid #d8e0e8; background:var(--white); border-radius:999px; padding:10px 15px; font-weight:700; color:var(--navy); }
.note { max-width:850px; }
@media (max-width:720px) { .profile-table p { grid-template-columns:1fr; gap:4px; } }

.btn-dark { background: var(--navy); color: var(--white); border-color: var(--navy); margin-left: 8px; }

/* === Careers reference layout - matches approved careers design === */
.careers-reference-layout { background:#fff; color:#0a2b5c; }
.careers-reference-layout .container { width:min(1180px, 92%); }
.careers-topbar { background:#fff; border-bottom:1px solid #d6dde6; padding:8px 0 7px; position:relative; z-index:20; }
.careers-nav-wrap { display:flex; justify-content:space-between; align-items:center; gap:28px; }
.careers-brand { display:flex; align-items:center; flex:0 0 auto; }
.careers-site-logo { width:260px; height:auto; display:block; }
.careers-header-right { flex:1; display:flex; flex-direction:column; align-items:flex-end; gap:8px; }
.careers-tagline { font-family:Georgia, 'Times New Roman', serif; font-style:italic; font-weight:700; font-size:1.25rem; color:#0a2b5c; }
.careers-nav { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px 26px; align-items:center; }
.careers-nav a { color:#0a2b5c; text-decoration:none; font-weight:600; padding:10px 0; }
.careers-nav a.active { background:#0b3158; color:#fff; padding:12px 24px 10px; border-bottom:5px solid #c7a24d; }

.careers-banner { color:#fff; background:radial-gradient(circle at 68% 55%, rgba(189,145,73,.24), transparent 27%), linear-gradient(90deg, #09294f 0%, #12395f 58%, #081f3f 100%); padding:32px 0 27px; position:relative; overflow:hidden; }
.careers-banner::before { content:''; position:absolute; inset:0; background:linear-gradient(120deg, rgba(255,255,255,.025) 0 24%, transparent 24% 100%); pointer-events:none; }
.careers-banner-grid { position:relative; display:grid; grid-template-columns:1fr 220px; gap:35px; align-items:center; }
.careers-banner-copy h1 { font-family:Georgia, 'Times New Roman', serif; font-size:2.55rem; line-height:1.05; margin:0 0 3px; letter-spacing:.3px; }
.careers-banner-subtitle { font-family:Georgia, 'Times New Roman', serif; font-size:1.75rem; margin:0; }
.gold-rule { width:72px; height:6px; background:#c5a44f; display:block; margin:13px 0 15px; }
.gold-rule.short { width:56px; margin:10px 0 0; }
.careers-banner-support { font-size:1.12rem; margin:0; }
.careers-banner-values { border-left:1px solid rgba(255,255,255,.12); padding-left:26px; display:flex; flex-direction:column; gap:5px; font-size:1.06rem; }

.careers-main-section { padding:18px 0 24px; background:linear-gradient(180deg,#fff 0%,#fbfcfd 100%); }
.careers-reference-grid { display:grid; grid-template-columns:.96fr 1.04fr; gap:26px; align-items:start; }
.careers-left-column h2, .resume-panel h2 { font-family:Georgia, 'Times New Roman', serif; color:#0a2b5c; font-size:2rem; line-height:1.1; margin:8px 0 7px; }
.section-gold-rule { display:block; width:75px; height:6px; background:#c5a44f; margin:0 0 18px; }
.opportunity-notice { display:grid; grid-template-columns:52px 1fr; gap:16px; background:#eef5fa; padding:20px 20px 18px; border-radius:4px; margin-bottom:27px; }
.notice-icon { width:48px; height:48px; border-radius:50%; display:grid; place-items:center; background:#0a3c6d; color:#fff; font-family:Georgia,serif; font-size:1.6rem; font-weight:700; }
.opportunity-notice strong { display:block; font-size:1.02rem; margin-bottom:4px; }
.opportunity-notice p { margin:0; line-height:1.5; color:#173d68; }
.talent-network h2 { margin-top:0; }
.network-item { display:grid; grid-template-columns:72px 1fr; gap:18px; align-items:center; margin:0 0 22px; }
.network-icon { width:64px; height:64px; border-radius:50%; display:grid; place-items:center; background:#073762; color:#fff; font-weight:800; letter-spacing:-7px; padding-right:7px; }
.network-icon.gear { letter-spacing:0; padding:0; font-size:1.8rem; }
.network-item h3 { margin:0 0 3px; color:#0a2b5c; font-size:1.15rem; }
.network-item p { margin:0; color:#173d68; line-height:1.35; }
.veteran-callout { display:grid; grid-template-columns:58px 1fr; gap:17px; align-items:center; background:#eef3f7; padding:15px 18px; border-radius:4px; margin-top:4px; }
.veteran-star { color:#0a3c6d; font-size:3.1rem; line-height:1; text-align:center; }
.veteran-callout strong { display:block; font-size:.95rem; }
.veteran-callout p { margin:2px 0 0; color:#173d68; line-height:1.35; }

.resume-panel { background:#fff; border:1px solid #e7ebef; box-shadow:0 6px 22px rgba(0,29,66,.09); border-radius:5px; padding:12px 18px 18px; }
.resume-panel h2 { font-size:2rem; margin:0; }
.resume-panel-intro { margin:2px 0 10px; color:#173d68; }
.reference-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 20px; }
.reference-form .form-row { margin-bottom:8px; }
.reference-form label { color:#0a2b5c; font-size:.9rem; font-weight:800; margin-bottom:3px; line-height:1.2; }
.required-mark { color:#e00016 !important; font-size:1.25em; font-weight:900; margin-left:2px; }
.reference-form input[type='text'], .reference-form input[type='email'], .reference-form input[type='tel'], .reference-form input[type='url'], .reference-form select, .reference-form textarea { width:100%; border:1px solid #b9c6d3; border-radius:3px; background:#fff; min-height:34px; padding:7px 10px; color:#173d68; font:inherit; box-shadow:inset 0 1px 1px rgba(0,0,0,.02); }
.reference-form select { min-height:35px; padding-right:30px; }
.reference-form textarea { min-height:74px; resize:vertical; }
.reference-form input[type='file'] { width:100%; font-size:.85rem; color:#173d68; }
.reference-form input:focus, .reference-form select:focus, .reference-form textarea:focus { outline:2px solid rgba(197,164,79,.24); border-color:#9a7b2d; }
.field-help { margin:4px 0 0; font-size:.72rem; color:#3f5671; }
.optional { font-weight:600; }
.reference-consent { display:grid !important; grid-template-columns:22px minmax(0,1fr); gap:10px; align-items:start; margin:12px 0 13px; color:#173d68 !important; font-size:.88rem !important; font-weight:400 !important; cursor:pointer; }
.reference-consent input[type='checkbox'] { grid-column:1; width:20px; height:20px; margin:1px 0 0; accent-color:#0a3c6d; }
.reference-consent span { grid-column:2; line-height:1.35; }
.reference-submit { width:100%; background:#073762; color:#fff; border:0; border-radius:3px; padding:12px 18px; font-size:1.05rem; font-weight:800; cursor:pointer; }
.reference-submit:hover { background:#0b467d; }
.reference-security { text-align:center; font-size:.76rem; color:#173d68; margin:10px 0 0; }

.careers-footer { background:#05325b; color:#fff; padding:20px 0 24px; border-top:0; }
.careers-footer-grid { display:grid; grid-template-columns:1fr 1fr 1.35fr; gap:25px; align-items:center; }
.footer-logo { width:235px; height:auto; display:block; filter:brightness(0) invert(1); opacity:.98; }
.footer-contact { display:flex; flex-direction:column; gap:5px; font-size:.92rem; }
.footer-contact a { color:#fff; text-decoration:none; }
.footer-message { text-align:right; }
.footer-motto { font-family:Georgia, 'Times New Roman', serif; font-style:italic; font-size:1.45rem; }
.footer-gold-rule { display:block; width:62px; height:5px; background:#c5a44f; margin:8px 0 7px auto; }
.footer-sdvosb { font-family:Georgia, 'Times New Roman', serif; font-style:italic; font-size:.83rem; }

@media (max-width: 960px) {
  .careers-nav-wrap { align-items:flex-start; }
  .careers-site-logo { width:220px; }
  .careers-tagline { display:none; }
  .careers-nav { gap:5px 14px; }
  .careers-reference-grid { grid-template-columns:1fr; }
  .careers-banner-grid { grid-template-columns:1fr; }
  .careers-banner-values { display:none; }
}
@media (max-width: 720px) {
  .careers-nav-wrap { flex-direction:column; }
  .careers-header-right { align-items:flex-start; width:100%; }
  .careers-nav { justify-content:flex-start; }
  .careers-nav a.active { padding:8px 14px 7px; }
  .careers-banner-copy h1 { font-size:2rem; }
  .careers-banner-subtitle { font-size:1.4rem; }
  .reference-form-grid { grid-template-columns:1fr; }
  .careers-footer-grid { grid-template-columns:1fr; text-align:left; }
  .footer-message { text-align:left; }
  .footer-gold-rule { margin-left:0; }
}

/* Final Careers consent alignment */
.reference-consent { grid-template-columns:44px minmax(0,1fr) !important; color:#173d68 !important; }
.reference-consent .consent-check-wrap { grid-column:1; display:flex; align-items:flex-start; gap:5px; line-height:1; }
.reference-consent .consent-check-wrap input[type="checkbox"] { width:20px; height:20px; margin:1px 0 0; accent-color:#0a3c6d; flex:0 0 auto; }
.reference-consent .consent-required { color:#e00016 !important; font-size:1.25em; font-weight:900; margin:0; line-height:20px; }
.reference-consent .consent-text { grid-column:2; color:#173d68 !important; line-height:1.35; }


/* === FINAL APPROVED CAREERS LAYOUT OVERRIDES === */
.careers-reference-layout { background:#fff; color:#0b2d61; }
.careers-reference-layout .container { width:min(1180px, 92%); }

.careers-topbar {
  background:#06365f;
  border-bottom:1px solid rgba(255,255,255,.10);
  padding:8px 0 7px;
  position:relative;
  z-index:20;
}
.careers-nav-wrap { display:flex; justify-content:space-between; align-items:center; gap:34px; }
.careers-brand { display:flex; align-items:center; flex:0 0 auto; }
.careers-site-logo {
  width:160px;
  height:104px;
  object-fit:contain;
  display:block;
  background:#fff;
}
.careers-header-right { flex:1; display:flex; flex-direction:column; align-items:flex-end; gap:9px; }
.careers-tagline {
  font-family:Georgia, 'Times New Roman', serif;
  font-style:italic;
  font-weight:700;
  font-size:1.18rem;
  color:#fff;
  margin-right:6px;
}
.careers-nav { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px 25px; align-items:center; }
.careers-nav a { color:#fff; text-decoration:none; font-weight:600; padding:10px 0; opacity:.98; }
.careers-nav a.active { background:#062a50; color:#fff; padding:12px 24px 10px; border-bottom:5px solid #d8a728; border-radius:3px 3px 0 0; }
.careers-nav a:hover { color:#f0c34b; }

.careers-banner {
  color:#fff;
  background:linear-gradient(90deg,#073862 0%,#0a3c67 57%,#062e55 100%);
  padding:34px 0 28px;
  position:relative;
  overflow:hidden;
}
.careers-banner::before { display:none; }
.careers-banner-grid { position:relative; display:grid; grid-template-columns:1fr 440px; gap:30px; align-items:center; }
.careers-banner-copy { position:relative; z-index:2; }
.careers-banner-copy h1 { font-family:Georgia,'Times New Roman',serif; font-size:2.55rem; line-height:1.04; margin:0 0 3px; letter-spacing:.2px; }
.careers-banner-subtitle { font-family:Georgia,'Times New Roman',serif; font-size:1.72rem; margin:0; }
.careers-banner-support { font-size:1.1rem; margin:0; }
.gold-rule { width:74px; height:6px; background:#d0a239; display:block; margin:13px 0 15px; }
.gold-rule.short { width:62px; margin:10px 0 0; }
.careers-banner-right { position:relative; min-height:165px; display:flex; justify-content:flex-end; align-items:center; }
.careers-flag {
  position:absolute;
  inset:-34px -50px -28px 0;
  opacity:.88;
  background-image:url('assets/careers-flag.svg');
  background-size:cover;
  background-position:center right;
  background-repeat:no-repeat;
}
.careers-banner-values {
  position:relative;
  z-index:2;
  border-left:0;
  padding:0 8px 0 0;
  display:flex;
  flex-direction:column;
  gap:4px;
  font-size:1.05rem;
  text-shadow:0 1px 2px rgba(0,0,0,.45);
}

.careers-main-section { padding:18px 0 24px; background:#fff; }
.careers-reference-grid { display:grid; grid-template-columns:.96fr 1.04fr; gap:26px; align-items:start; }
.careers-left-column h2, .resume-panel h2 { font-family:Georgia,'Times New Roman',serif; color:#0b2d61; font-size:2rem; line-height:1.08; margin:8px 0 7px; }
.section-gold-rule { display:block; width:74px; height:6px; background:#caa03a; margin:0 0 18px; }
.opportunity-notice { background:#edf5fb; }
.resume-panel { border:1px solid #eef1f4; border-radius:6px; box-shadow:0 8px 24px rgba(0,35,77,.06); padding:10px 16px 16px; }
.reference-form label { color:#0b2d61; }
.required-mark { color:#e31818 !important; font-weight:900 !important; font-size:1.18em; }
.reference-consent {
  display:grid !important;
  grid-template-columns:50px minmax(0,1fr) !important;
  gap:0 !important;
  align-items:start;
  margin:12px 0 13px;
  color:#12458a !important;
  font-size:.88rem !important;
  font-weight:400 !important;
  cursor:pointer;
}
.reference-consent .consent-check-wrap {
  grid-column:1 !important;
  display:flex !important;
  align-items:center;
  gap:8px;
  line-height:1;
}
.reference-consent input[type='checkbox'] {
  width:20px;
  height:20px;
  margin:0;
  accent-color:#0a3c6d;
  flex:0 0 auto;
}
.reference-consent .consent-required {
  color:#e31818 !important;
  font-size:1.35rem !important;
  line-height:1;
}
.reference-consent .consent-text {
  grid-column:2 !important;
  color:#12458a !important;
  line-height:1.35;
  padding-top:1px;
}
.reference-submit { background:#073762; }

.careers-footer { background:#06365f; color:#fff; padding:18px 0 22px; border-top:0; }
.careers-footer-grid { display:grid; grid-template-columns:1fr 1fr 1.45fr; gap:25px; align-items:center; }
.footer-logo-block { min-width:250px; }
.footer-wordmark { color:#fff; display:inline-flex; flex-direction:column; line-height:.88; }
.footer-ar { font-family:Georgia,'Times New Roman',serif; font-size:3.45rem; font-weight:700; letter-spacing:-2px; }
.footer-owens { font-family:Georgia,'Times New Roman',serif; font-size:1.95rem; font-weight:700; letter-spacing:.5px; }
.footer-tagline { margin-top:8px; font-family:Arial,Helvetica,sans-serif; font-size:.62rem; font-weight:700; letter-spacing:.7px; white-space:nowrap; }
.footer-tagline b { color:#d8a728; padding:0 4px; }
.footer-contact { display:flex; flex-direction:column; gap:5px; font-size:.92rem; }
.footer-contact a { color:#fff; text-decoration:none; }
.footer-message { text-align:right; }
.footer-motto { font-family:Georgia,'Times New Roman',serif; font-style:italic; font-size:1.45rem; }
.footer-gold-rule { display:block; width:62px; height:5px; background:#d8a728; margin:8px 0 7px auto; }
.footer-sdvosb { font-family:Georgia,'Times New Roman',serif; font-style:italic; font-size:.83rem; }

@media (max-width:960px) {
  .careers-site-logo { width:145px; height:95px; }
  .careers-tagline { display:none; }
  .careers-nav { gap:5px 14px; }
  .careers-reference-grid { grid-template-columns:1fr; }
  .careers-banner-grid { grid-template-columns:1fr 300px; }
  .careers-footer-grid { grid-template-columns:1fr 1fr; }
  .footer-message { grid-column:1/-1; text-align:left; }
  .footer-gold-rule { margin-left:0; }
}
@media (max-width:720px) {
  .careers-nav-wrap { flex-direction:column; align-items:flex-start; }
  .careers-header-right { align-items:flex-start; width:100%; }
  .careers-nav { justify-content:flex-start; }
  .careers-nav a.active { padding:8px 14px 7px; }
  .careers-banner-grid { grid-template-columns:1fr; }
  .careers-banner-right { display:none; }
  .careers-banner-copy h1 { font-size:2rem; }
  .careers-banner-subtitle { font-size:1.4rem; }
  .reference-form-grid { grid-template-columns:1fr; }
  .careers-footer-grid { grid-template-columns:1fr; text-align:left; }
  .footer-message { grid-column:auto; text-align:left; }
  .footer-gold-rule { margin-left:0; }
}

/* Clean-upload final Careers footer badge */
.footer-message-wrap { display:flex; align-items:center; justify-content:flex-end; gap:18px; }
.sdvosb-seal { width:82px; height:82px; border:5px double #fff; border-radius:50%; display:grid; place-items:center; flex:0 0 auto; position:relative; box-shadow:0 0 0 2px rgba(255,255,255,.25); }
.sdvosb-seal::before,.sdvosb-seal::after { content:'✦'; position:absolute; color:#fff; font-size:.72rem; }
.sdvosb-seal::before { top:7px; }
.sdvosb-seal::after { bottom:7px; }
.sdvosb-seal span { color:#e3222b; background:#fff; border-radius:50%; width:58px; height:58px; display:grid; place-items:center; font-family:Georgia,'Times New Roman',serif; font-weight:700; font-size:.72rem; }
@media (max-width:960px) { .footer-message-wrap { grid-column:1/-1; justify-content:flex-start; } }
@media (max-width:720px) { .footer-message-wrap { justify-content:flex-start; } }
