*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --black: #0a0a0a; --red: #c41c1c; --red-dark: #8b1212; --red-light: #e63030;
  --white: #f5f5f0; --gray: #1a1a1a; --gray-mid: #252525; --gray-light: #888;
  --font-display: 'Bebas Neue', sans-serif; --font-body: 'Barlow', sans-serif;
}
html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--white); font-family: var(--font-body); font-weight: 300; line-height: 1.6; overflow-x: hidden; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; justify-content: space-between; align-items: center; padding: 1rem 4rem; background: rgba(10,10,10,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(196,28,28,0.2); }
.nav-logo img { height: 36px; width: auto; display: block; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--gray-light); text-decoration: none; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--red-light); }
.nav-cta { background: var(--red) !important; color: var(--white) !important; padding: 0.45rem 1.2rem; }
.nav-cta:hover { background: var(--red-dark) !important; color: var(--white) !important; }

/* BUTTONS */
.btn-primary { background: var(--red); color: var(--white); padding: 0.85rem 2rem; font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; border: none; cursor: pointer; text-decoration: none; display: inline-block; transition: background 0.2s, transform 0.15s; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-ghost { color: var(--white); padding: 0.85rem 2rem; font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; border: 1px solid rgba(245,245,240,0.2); text-decoration: none; display: inline-block; transition: border-color 0.2s, color 0.2s; }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }

/* SECTION HELPERS */
section { padding: 6rem 4rem; }
.divider { border: none; height: 1px; background: linear-gradient(90deg, transparent, rgba(196,28,28,0.4), transparent); margin: 0 4rem; }
.section-label { font-size: 0.68rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--red); font-weight: 500; margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.7rem; }
.section-label::before { content: ''; display: block; width: 20px; height: 1px; background: var(--red); }
.section-title { font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 4rem); line-height: 1; margin-bottom: 1.2rem; }
.section-sub { font-size: 1.05rem; color: rgba(245,245,240,0.85); max-width: 560px; font-weight: 300; line-height: 1.75; }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 5rem; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(196,28,28,0.03) 0px, rgba(196,28,28,0.03) 1px, transparent 1px, transparent 80px), repeating-linear-gradient(0deg, rgba(196,28,28,0.03) 0px, rgba(196,28,28,0.03) 1px, transparent 1px, transparent 80px); }
.hero-deer { position: absolute; right: 2%; top: 50%; transform: translateY(-50%); width: 44%; max-width: 500px; opacity: 1; pointer-events: none; }
.hero-content { position: relative; max-width: 720px; }
.hero-eyebrow { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 1.2rem; font-weight: 500; display: flex; align-items: center; gap: 0.8rem; }
.hero-eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--red); }
.hero h1 { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 6.5rem); line-height: 0.95; margin-bottom: 1.5rem; }
.hero h1 em { font-style: normal; color: var(--red); display: block; }
.hero-sub { font-size: 1.1rem; color: rgba(245,245,240,0.88); max-width: 520px; margin-bottom: 2.5rem; font-weight: 300; line-height: 1.8; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-contact { display: flex; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap; }
.hero-contact a { font-size: 0.92rem; color: rgba(245,245,240,0.82); text-decoration: none; letter-spacing: 0.05em; transition: color 0.2s; display: flex; align-items: center; gap: 0.4rem; }
.hero-contact a:hover { color: var(--red); }

/* STATS */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--gray); }
.stat { padding: 2.2rem 1.5rem; border-right: 1px solid rgba(196,28,28,0.15); text-align: center; }
.stat:last-child { border-right: none; }
.stat-num { font-family: var(--font-display); font-size: 2.8rem; color: var(--red); line-height: 1; margin-bottom: 0.4rem; }
.stat-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-light); font-weight: 500; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-visual { position: relative; height: 400px; }
.about-deer-wrap { position: absolute; inset: 0; background: var(--gray); border: 1px solid rgba(196,28,28,0.2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.about-deer-img { width: 72%; height: auto; opacity: 0.88; }
.about-offset { position: absolute; top: -14px; right: -14px; bottom: 14px; left: 14px; border: 1px solid rgba(196,28,28,0.1); z-index: -1; }
.about-text p { color: rgba(245,245,240,0.88); margin-bottom: 1rem; font-size: 1rem; font-weight: 300; line-height: 1.8; }
.about-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.meta-badge { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 0.8rem; border: 1px solid rgba(196,28,28,0.3); color: rgba(245,245,240,0.85); }
.meta-badge.highlight { border-color: var(--red); color: var(--red); }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(196,28,28,0.15); margin-top: 3rem; }
.service-card { background: var(--black); padding: 2.2rem; position: relative; overflow: hidden; transition: background 0.2s; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--red); transition: height 0.3s; }
.service-card:hover::before { height: 100%; }
.service-card:hover { background: var(--gray); }
a.service-card { display: block; color: inherit; text-decoration: none; }
.service-num { font-family: var(--font-display); font-size: 3.5rem; color: rgba(196,28,28,0.1); line-height: 1; margin-bottom: 0.8rem; transition: color 0.2s; }
.service-card:hover .service-num { color: rgba(196,28,28,0.25); }
.service-title { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.03em; margin-bottom: 0.6rem; }
.service-desc { font-size: 0.95rem; color: rgba(245,245,240,0.82); line-height: 1.7; font-weight: 300; }
.service-learn-more { color: var(--red); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 1rem; display: inline-block; }

/* DIFFERENTIATORS */
.diff-section { background: var(--gray-mid); }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.diff-card { padding: 1.8rem; border-top: 2px solid var(--red); background: var(--gray); }
.diff-title { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 0.6rem; }
.diff-desc { font-size: 0.93rem; color: rgba(245,245,240,0.82); line-height: 1.75; font-weight: 300; }
a.diff-card { display: block; color: inherit; text-decoration: none; transition: border-color 0.2s, background 0.2s; }
a.diff-card:hover { border-color: var(--red-light); background: var(--gray-mid); }

/* PROVEN */
.proven-section { background: var(--gray); }
.proven-list { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 2.5rem; }
.proven-item { display: flex; gap: 1.2rem; padding: 1.5rem; border: 1px solid rgba(196,28,28,0.12); align-items: flex-start; transition: border-color 0.2s; }
.proven-item:hover { border-color: rgba(196,28,28,0.35); }
.proven-arrow { font-family: var(--font-display); font-size: 1.6rem; color: var(--red); flex-shrink: 0; line-height: 1; margin-top: 2px; }
.proven-text { font-size: 0.98rem; color: rgba(245,245,240,0.88); line-height: 1.75; font-weight: 300; }

/* LEADERSHIP */
.leadership-section { background: var(--black); }
.leadership-intro { max-width: 700px; margin-bottom: 4rem; }
.leadership-intro p { color: rgba(245,245,240,0.88); font-size: 1rem; font-weight: 300; line-height: 1.8; margin-bottom: 0.8rem; }
.leaders-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.leader-card { background: var(--gray); border: 1px solid rgba(196,28,28,0.12); padding: 2rem; display: flex; gap: 1.5rem; align-items: flex-start; transition: border-color 0.2s; }
.leader-card:hover { border-color: rgba(196,28,28,0.3); }
.leader-card.featured { flex-direction: row; gap: 2rem; border-color: rgba(196,28,28,0.2); }
.leader-avatar { width: 120px; height: 120px; background: rgba(196,28,28,0.15); border: 1px solid rgba(196,28,28,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.2rem; color: var(--red); flex-shrink: 0; }
.leader-card.featured .leader-avatar { width: 120px; height: 120px; font-size: 1.5rem; }
.leader-info { flex: 1; }
.leader-role { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--red); font-weight: 500; margin-bottom: 0.3rem; }
.leader-name { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0.03em; margin-bottom: 0.2rem; }
.leader-card.featured .leader-name { font-size: 1.6rem; }
.leader-email { font-size: 0.9rem; color: rgba(245,245,240,0.75); margin-bottom: 0.8rem; }
.leader-email a { color: rgba(245,245,240,0.75); text-decoration: none; transition: color 0.2s; }
.leader-email a:hover { color: var(--red); }
.leader-bio { font-size: 0.93rem; color: rgba(245,245,240,0.82); line-height: 1.75; font-weight: 300; }
.founders-story { grid-column: 1 / span 2; padding: 1.8rem; border: 1px solid rgba(196,28,28,0.15); background: var(--gray-mid); font-size: 0.98rem; color: rgba(245,245,240,0.85); line-height: 1.8; font-weight: 300; border-left: 3px solid var(--red); }

/* CONTRACTING */
.contracting-section { background: var(--gray-mid); }
.contracting-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.naics-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.naics-badge { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; padding: 0.35rem 0.75rem; border: 1px solid rgba(196,28,28,0.3); color: rgba(245,245,240,0.88); }
.contact-block { padding: 1.5rem; border: 1px solid rgba(196,28,28,0.2); background: var(--gray); margin-bottom: 1rem; }
.contact-role-tag { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--red); font-weight: 500; margin-bottom: 0.3rem; }
.contact-name { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 0.03em; }
.contact-email-link { font-size: 0.92rem; color: rgba(245,245,240,0.75); margin-top: 0.25rem; }
.contact-email-link a { color: rgba(245,245,240,0.75); text-decoration: none; transition: color 0.2s; }
.contact-email-link a:hover { color: var(--red); }
.wosb-badge { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); border: 1px solid var(--red); padding: 0.45rem 0.9rem; margin-bottom: 1.5rem; }
.wosb-badge::before { content: ''; display: block; width: 7px; height: 7px; background: var(--red); border-radius: 50%; }
.address-block { margin-top: 1.5rem; padding: 1rem 1.2rem; border-left: 2px solid rgba(196,28,28,0.3); }
.address-block p { font-size: 0.92rem; color: rgba(245,245,240,0.78); font-weight: 300; line-height: 1.7; }
.address-block a { color: rgba(245,245,240,0.78); text-decoration: none; transition: color 0.2s; }
.address-block a:hover { color: var(--red); }

/* FOOTER */
footer { background: var(--gray); padding: 2rem 4rem; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(196,28,28,0.15); flex-wrap: wrap; gap: 1rem; }
.footer-logo img { height: 26px; width: auto; filter: brightness(0) invert(1); opacity: 0.65; }
.footer-copy { font-size: 0.72rem; color: var(--gray-light); }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { font-size: 0.72rem; color: var(--gray-light); text-decoration: none; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.2s; }
.footer-links a:hover { color: var(--red); }

/* ===== EXTRACTED GRIDS (were inline; needed classes so media queries can override) ===== */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.jobs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(196,28,28,0.15); margin-top: 3rem; }
.job-card { background: var(--black); padding: 2.2rem; position: relative; overflow: hidden; transition: background 0.2s; }
.job-card:hover { background: var(--gray); }
.job-card-wide { grid-column: 1 / span 2; }
.join-cta { margin-top: 2.5rem; padding: 1.8rem; border: 1px solid rgba(196,28,28,0.2); background: var(--gray); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }

/* ===== MOBILE NAV (hamburger) ===== */
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nav-burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: flex-end; gap: 5px; cursor: pointer; z-index: 130; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--white); transition: transform 0.25s, opacity 0.2s; }
.nav-toggle:focus-visible ~ .nav-burger { outline: 2px solid var(--red); outline-offset: 4px; }
.nav-scrim { display: none; }

/* ===== SERVICE DETAIL PAGES ===== */
.breadcrumb { position: relative; padding: 6.5rem 4rem 0; font-size: 0.78rem; color: rgba(245,245,240,0.55); display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumb a { color: rgba(245,245,240,0.6); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--red-light); }
.breadcrumb span.sep { color: rgba(245,245,240,0.3); }
.breadcrumb span.current { color: rgba(245,245,240,0.85); }

.page-hero { padding: 1.5rem 4rem 4rem; position: relative; }
.page-hero .section-label { margin-bottom: 1rem; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1; margin-bottom: 1.2rem; }
.page-hero-sub { font-size: 1.08rem; color: rgba(245,245,240,0.85); font-weight: 300; line-height: 1.8; margin-bottom: 2rem; }
.page-hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.page-hero-image { width: 100%; height: 260px; object-fit: cover; display: block; opacity: 0.9; border: 1px solid rgba(196,28,28,0.15); flex-shrink: 0; }

.service-body { max-width: 780px; }
.service-body h2 { font-family: var(--font-display); font-size: 1.9rem; margin: 0 0 1.2rem; letter-spacing: 0.01em; }
.service-body p { color: rgba(245,245,240,0.85); font-size: 1rem; font-weight: 300; line-height: 1.85; margin-bottom: 1.2rem; }

.capability-list { display: flex; flex-direction: column; gap: 1rem; margin: 1.5rem 0 2.5rem; }
.capability-item { display: flex; gap: 1.1rem; padding: 1.3rem 1.5rem; border: 1px solid rgba(196,28,28,0.12); align-items: flex-start; transition: border-color 0.2s; }
.capability-item:hover { border-color: rgba(196,28,28,0.35); }
.capability-item .proven-arrow { font-family: var(--font-display); font-size: 1.5rem; color: var(--red); flex-shrink: 0; line-height: 1.3; }
.capability-item p { margin: 0; font-size: 0.97rem; color: rgba(245,245,240,0.88); font-weight: 300; line-height: 1.75; }
.capability-item strong { color: var(--white); font-weight: 600; }

.related-heading { font-family: var(--font-display); font-size: 1.3rem; margin: 3rem 0 1.5rem; letter-spacing: 0.02em; color: rgba(245,245,240,0.9); }

@media (max-width: 900px) {
  .breadcrumb { padding: 6rem 1.25rem 0; }
  .page-hero { padding: 1.25rem 1.25rem 3rem; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .page-hero-image { height: 200px; }
}

/* ===== RESPONSIVE ===== */
img { max-width: 100%; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
/* Anchor targets clear the fixed nav instead of hiding under it */
section[id], [id] { scroll-margin-top: 90px; }

@media (max-width: 1100px) {
  nav { padding: 1rem 2rem; }
  section { padding: 5rem 2rem; }
  .divider { margin: 0 2rem; }
  footer { padding: 2rem; }
  .about-grid, .contracting-inner { gap: 3rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .leaders-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  /* Nav collapses to an off-canvas panel */
  nav { padding: 0.85rem 1.25rem; }
  .nav-burger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(78vw, 320px);
    background: #0d0d0d; border-left: 1px solid rgba(196,28,28,0.25);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: 5.5rem 0 2rem; margin: 0;
    transform: translateX(100%); visibility: hidden;
    transition: transform 0.28s ease, visibility 0s linear 0.28s;
    z-index: 120; overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links a {
    display: flex; align-items: center; min-height: 52px;
    padding: 0 1.5rem; font-size: 0.85rem; color: rgba(245,245,240,0.9);
  }
  .nav-cta { background: transparent !important; color: var(--red) !important; }
  .nav-toggle:checked ~ .nav-links { transform: translateX(0); visibility: visible; transition-delay: 0s; }
  .nav-toggle:checked ~ .nav-scrim {
    display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.6);
    backdrop-filter: blur(2px); z-index: 110;
  }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }

  /* Hero: reindeer becomes a faint backdrop instead of colliding with the text */
  .hero { min-height: auto; padding-top: 7rem; padding-bottom: 4rem; }
  .hero-deer { right: -12%; width: 78%; max-width: none; opacity: 0.16; }
  .hero-content { max-width: 100%; }
  .hero-sub { max-width: 100%; margin-bottom: 2rem; }
  .hero-contact { gap: 1rem 1.5rem; margin-top: 2rem; }

  /* Stacked layouts */
  .about-grid, .contracting-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-visual { height: 300px; }
  .diff-grid { grid-template-columns: 1fr; }
  .founders-story { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  section { padding: 4rem 1.25rem; }
  .divider { margin: 0 1.25rem; }
  footer { padding: 2rem 1.25rem; flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-links { flex-wrap: wrap; gap: 1rem; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 1.6rem 1rem; border-right: none; border-bottom: 1px solid rgba(196,28,28,0.15); }
  .stat:nth-child(odd) { border-right: 1px solid rgba(196,28,28,0.15); }
  .stat-num { font-size: 2.2rem; }

  .services-grid, .leaders-grid, .benefits-grid, .jobs-grid { grid-template-columns: 1fr; }
  .job-card-wide { grid-column: auto; }
  .service-card, .job-card { padding: 1.75rem 1.35rem; }
  .diff-card, .leader-card { padding: 1.5rem 1.35rem; }
  .proven-item { padding: 1.25rem; gap: 0.9rem; }
  .leadership-intro { margin-bottom: 2.5rem; }
  .join-cta { padding: 1.5rem 1.35rem; }
  .join-cta .btn-primary { width: 100%; text-align: center; }

  /* Buttons: full-width, comfortable tap targets */
  .hero-actions { gap: 0.75rem; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { width: 100%; text-align: center; padding: 1rem 1.5rem; }
  .hero-actions .btn-ghost { justify-content: center; }
}

@media (max-width: 440px) {
  .leader-card, .leader-card.featured { flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
  .leader-role::after { content: none; }
  .leader-avatar, .leader-card.featured .leader-avatar { width: 96px; height: 96px; }
  .about-visual { height: 230px; }
  .about-offset { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(odd) { border-right: none; }
  .hero-contact { flex-direction: column; gap: 0.85rem; }
  .meta-badge, .naics-badge { font-size: 0.66rem; }
}

/* Respect users who ask for less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
