:root {
  --ink: #241719;
  --muted: #725f60;
  --line: #ead8d2;
  --paper: #fff6e8;
  --white: #ffffff;
  --red: #e93652;
  --red-dark: #9d1831;
  --yellow: #edf07a;
  --yellow-deep: #d7b632;
  --clay: #b65843;
  --charcoal: #2d2522;
  --shadow: 0 22px 60px rgba(36, 23, 25, 0.18);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 28px rgba(23, 35, 31, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 58px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  font-weight: 800;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand small {
  color: currentColor;
  font-size: 0.75rem;
  opacity: 0.72;
}

.nav {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.92rem;
  font-weight: 700;
}

.header-action {
  justify-self: end;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 132px clamp(20px, 5vw, 72px) 34px;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(36, 23, 25, 0.9) 0%, rgba(81, 31, 38, 0.66) 48%, rgba(81, 31, 38, 0.14) 100%),
    linear-gradient(0deg, rgba(36, 23, 25, 0.72) 0%, rgba(36, 23, 25, 0.06) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding-bottom: clamp(110px, 15vh, 172px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 730px;
  margin-bottom: 18px;
  font-size: clamp(3.1rem, 8vw, 7.9rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button,
.lead-form button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 22px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.button.primary,
.lead-form button {
  color: var(--ink);
  background: var(--yellow);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.64);
}

.button.dark {
  color: var(--white);
  background: var(--red);
}

.hero-panel {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 5vw, 72px);
  right: clamp(20px, 5vw, 72px);
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-panel div {
  min-height: 112px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.hero-panel div:last-child {
  border-right: 0;
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.hero-panel span {
  color: var(--muted);
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.quick-strip div {
  min-height: 116px;
  padding: 28px clamp(18px, 3vw, 44px);
  background: var(--red-dark);
  color: var(--white);
}

.quick-strip span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.85rem;
}

.quick-strip strong {
  font-size: clamp(1.3rem, 2vw, 2rem);
}

.section {
  padding: clamp(64px, 8vw, 116px) clamp(20px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) 1.28fr;
  gap: clamp(34px, 5vw, 72px);
}

.section-copy {
  max-width: 520px;
}

.section-copy p,
.section-heading p,
.employer-copy p,
.apply-section p,
.image-band p {
  color: var(--muted);
  font-size: 1.03rem;
}

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

.job-card {
  min-height: 218px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.job-card.featured {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.job-card p {
  color: var(--muted);
}

.job-card.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.job-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 30px;
  place-items: center;
  border-radius: 8px;
  background: #fff1cf;
  color: var(--red-dark);
  font-weight: 900;
}

.job-card.featured .job-icon {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.image-band {
  position: relative;
  display: grid;
  min-height: 520px;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  padding: clamp(44px, 7vw, 88px) clamp(20px, 5vw, 72px);
}

.image-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-band::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(157, 24, 49, 0.92), rgba(157, 24, 49, 0.5), rgba(36, 23, 25, 0.1));
}

.image-band div {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.image-band p {
  color: rgba(255, 255, 255, 0.82);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 38px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline article {
  min-height: 244px;
  padding: 26px;
  border-top: 5px solid var(--yellow-deep);
  background: var(--white);
}

.timeline span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-weight: 900;
}

.timeline p,
.trust-grid p,
.employer-list span {
  color: var(--muted);
}

.employer-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) 1.08fr;
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
  color: var(--white);
  background: var(--charcoal);
}

.employer-copy {
  max-width: 650px;
}

.employer-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.employer-list {
  display: grid;
  gap: 14px;
}

.employer-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.employer-list span {
  color: rgba(255, 255, 255, 0.76);
}

.trust-section {
  background: var(--white);
}

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

.trust-grid article {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.apply-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 560px);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(23, 35, 31, 0.08);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--red-dark);
  font-weight: 800;
}

.footer {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 24px;
  padding: 38px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--ink);
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.85rem;
}

.footer a {
  font-weight: 800;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .split,
  .employer-section,
  .apply-section {
    grid-template-columns: 1fr;
  }

  .job-grid,
  .timeline,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-strip,
  .footer {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 660px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand small,
  .header-action {
    display: none;
  }

  .hero {
    min-height: 880px;
    padding: 112px 18px 0;
  }

  .hero-content {
    padding-bottom: 344px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .hero-panel {
    left: 18px;
    right: 18px;
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    min-height: 94px;
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-panel div:last-child {
    border-bottom: 0;
  }

  .quick-strip,
  .job-grid,
  .timeline,
  .trust-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .employer-list div {
    grid-template-columns: 1fr;
  }

  .image-band {
    min-height: 620px;
  }
}
