:root {
  --ink: #171717;
  --muted: #55585f;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: #dedbd2;
  --red: #bf2d29;
  --red-dark: #8f211f;
  --gold: #f0b84d;
  --green: #236a5b;
  --blue: #244f78;
  --shadow: 0 18px 48px rgba(23, 23, 23, 0.12);
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--muted);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--white);
  padding: 0.7rem 1rem;
  border-radius: 4px;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid rgba(23, 23, 23, 0.1);
  background: rgba(251, 250, 247, 0.95);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--red);
  border-radius: 4px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.site-nav a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0.9rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 750;
  color: var(--muted);
}

.site-nav a[aria-current="page"],
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: rgba(191, 45, 41, 0.08);
}

.button,
.site-nav .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.1rem;
  color: var(--white);
  background: var(--red);
  border: 2px solid var(--red);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 850;
  line-height: 1.1;
  box-shadow: 0 10px 24px rgba(191, 45, 41, 0.18);
}

.button:hover,
.button:focus-visible {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.button-outline {
  color: var(--ink);
  background: transparent;
  border-color: rgba(23, 23, 23, 0.35);
  box-shadow: none;
}

.button-outline:hover,
.button-outline:focus-visible {
  color: var(--white);
}

.button-small {
  min-height: 2.55rem;
  padding: 0.65rem 0.95rem;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.nav-toggle span[aria-hidden="true"],
.nav-toggle span[aria-hidden="true"]::before,
.nav-toggle span[aria-hidden="true"]::after {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  content: "";
}

.nav-toggle span[aria-hidden="true"]::before {
  transform: translateY(-7px);
}

.nav-toggle span[aria-hidden="true"]::after {
  transform: translateY(5px);
}

.hero,
.page-hero,
.section,
.cta-band,
.contact-strip {
  width: min(var(--max-width), calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: calc(100vh - 5.1rem);
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow,
.section-kicker {
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 1.25rem;
  font-size: 6rem;
  max-width: 12ch;
}

h2 {
  margin-bottom: 1rem;
  font-size: 3.5rem;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.25rem;
}

.hero-text {
  max-width: 63ch;
  font-size: clamp(1.08rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-image {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section-tight {
  padding: clamp(2rem, 5vw, 3.5rem);
}

.mission-band {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 2rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
}

.mission-band p,
.mission-band .section-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.mission-band h2 {
  max-width: 920px;
  margin-bottom: 0.6rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.feature-grid,
.approach-grid,
.value-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.approach-grid article,
.value-list div,
.job-card {
  min-height: 100%;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-number {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--green);
  font-weight: 900;
}

.serve-section {
  border-top: 1px solid var(--line);
}

.serve-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.serve-layout img,
.team-placeholder img {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.serve-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.serve-list li {
  padding: 1rem 1.1rem;
  border-left: 5px solid var(--red);
  background: var(--white);
  border-radius: 4px;
  font-weight: 800;
}

.cta-band,
.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-block: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 8px;
}

.cta-band {
  color: var(--white);
  background: var(--green);
}

.cta-band p,
.cta-band .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.cta-band h2,
.contact-strip h2 {
  margin-bottom: 0.3rem;
}

.contact-strip {
  background: var(--gold);
}

.contact-strip a {
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.page-hero {
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(2rem, 5vw, 4rem);
}

.page-hero h1 {
  max-width: 15ch;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  font-size: 1.18rem;
}

.split-section,
.team-placeholder {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
}

.split-section > p {
  font-size: 1.14rem;
}

.values-section {
  border-top: 1px solid var(--line);
}

.value-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-placeholder {
  align-items: center;
}

.careers-hero {
  border-bottom: 1px solid var(--line);
}

.jobs-list {
  display: grid;
  gap: 1rem;
}

.job-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.job-meta span {
  padding: 0.25rem 0.55rem;
  color: var(--green);
  background: rgba(35, 106, 91, 0.1);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 800;
}

.empty-jobs,
.jobs-error {
  padding: 1.5rem;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--white);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: 100% 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.65rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    justify-content: center;
  }

  .hero,
  .serve-layout,
  .split-section,
  .team-placeholder {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 4.5rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .mission-band,
  .feature-grid,
  .approach-grid,
  .value-list,
  .feature-grid-four {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band,
  .contact-strip,
  .site-footer,
  .job-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .job-card {
    display: flex;
  }
}

@media (max-width: 620px) {
  .brand small {
    display: none;
  }

  h1 {
    font-size: 2.65rem;
    max-width: 100%;
  }

  .page-hero h1 {
    max-width: 100%;
  }

  h2 {
    font-size: 1.9rem;
  }

  .mission-band,
  .feature-grid,
  .approach-grid,
  .value-list,
  .feature-grid-four {
    grid-template-columns: 1fr;
  }

  .section-tight {
    padding: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero,
  .page-hero,
  .section,
  .cta-band,
  .contact-strip {
    width: min(calc(100% - 2rem), 340px);
    margin-left: 1rem;
    margin-right: auto;
  }
}
