:root {
  --navy: #111f30;
  --navy-soft: #1d2d40;
  --red: #c71026;
  --red-dark: #a7081b;
  --off-white: #faf9f7;
  --white: #fff;
  --text: #172333;
  --muted: #5e6874;
  --line: #dedbd6;
  --shadow: 0 18px 50px rgba(17, 31, 48, .11);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--off-white);
  font-family: Inter, Avenir, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 999; padding: .75rem 1rem; background: var(--navy); color: white; }
.skip-link:focus { top: 1rem; }

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem clamp(1.25rem, 5vw, 5rem);
  background: rgba(250,249,247,.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.brand-mark { padding: .72rem .62rem .52rem; background: linear-gradient(145deg, #d2182f, #a90016); color: white; font-weight: 850; font-size: 1.2rem; letter-spacing: .02em; }
.brand-claim { font-weight: 700; color: var(--navy); }
nav { display: flex; align-items: center; gap: 1.5rem; }
nav a { text-decoration: none; font-weight: 700; font-size: .94rem; }
.nav-cta { background: var(--navy); color: white; padding: .7rem 1rem; border-radius: 999px; }

.hero {
  min-height: 720px;
  padding: clamp(4rem, 9vw, 8rem) clamp(1.25rem, 8vw, 9rem);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 84% 14%, rgba(199,16,38,.12), transparent 24rem),
    linear-gradient(125deg, var(--off-white) 0 66%, #f0ece7 66% 100%);
}
.hero::after { content: ""; position: absolute; width: 42rem; height: 14rem; right: -8rem; bottom: -7rem; transform: rotate(-12deg); background: var(--red); }
.eyebrow { margin: 0 0 .8rem; color: var(--red); font-size: .78rem; letter-spacing: .17em; font-weight: 850; }
h1, h2, h3, h4 { margin-top: 0; color: var(--navy); line-height: 1.12; }
h1 { margin-bottom: 1.5rem; max-width: 850px; font-size: clamp(3rem, 6.2vw, 6.2rem); letter-spacing: -.055em; }
h1 span { color: var(--red); }
.lead { max-width: 780px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #46515e; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 2.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.2rem; border-radius: 6px; font-weight: 800; text-decoration: none; transition: transform .18s, box-shadow .18s, background .18s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 9px 24px rgba(17,31,48,.16); }
.button-primary { color: white; background: var(--navy); }
.button-primary:hover { background: #1c3148; }
.button-secondary { color: var(--navy); border: 2px solid var(--navy); }
.button-light { color: var(--navy); background: white; }
.quick-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 2rem; }
.quick-facts li { display: grid; }
.quick-facts strong { color: var(--navy); font-size: 1.25rem; }
.quick-facts span { color: var(--muted); font-size: .88rem; }
.hero-copy { position: relative; z-index: 2; }
.hero-panel { position: relative; z-index: 2; display: grid; gap: .75rem; }
.hero-panel span { padding: 1.1rem 1.2rem 1.1rem 3rem; background: white; border-radius: 10px; box-shadow: var(--shadow); font-weight: 750; position: relative; }
.hero-panel span::before { content: "✓"; position: absolute; left: 1.15rem; color: var(--red); font-weight: 900; }

.jobs { padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 6vw, 6rem); }
.section-heading { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.section-heading h2, .apply-strip h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.035em; }
.section-heading > p:last-child { color: var(--muted); }
.job-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.2rem, 3vw, 2.3rem); max-width: 1180px; margin: 0 auto; }
.job-card { --card-pad: clamp(1.25rem, 3vw, 2rem); overflow: hidden; background: white; border: 1px solid #e7e3df; border-radius: var(--radius); box-shadow: var(--shadow); }
.job-overview { display: grid; grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr); align-items: center; border-bottom: 1px solid var(--line); }
.job-overview > img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; object-position: center; background: #f7f5f2; border-right: 1px solid var(--line); }
.job-intro { padding: var(--card-pad); }
.job-meta { margin: 0 0 .7rem; color: var(--red); font-size: .79rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 850; }
.job-card h3 { margin-bottom: .9rem; font-size: clamp(1.45rem, 2.3vw, 2rem); }
.job-intro > p:not(.job-meta) { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0; }
.tags span { padding: .32rem .65rem; background: #f3f0ec; color: var(--navy); border-radius: 999px; font-size: .8rem; font-weight: 750; }
details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 1.2rem 0; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; cursor: pointer; color: var(--navy); font-weight: 850; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: 0 0 1.8rem; height: 1.8rem; display: grid; place-items: center; color: white; background: var(--navy); border-radius: 50%; font-size: 1.15rem; line-height: 1; }
details[open] summary::after { content: "−"; background: var(--red); }
summary:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 2px; }
.job-detail { padding: 0 0 1rem; }
.job-detail h4 { margin: 1rem 0 .4rem; font-size: 1rem; }
.job-detail ul { padding-left: 1.2rem; margin-top: .5rem; }
.job-detail li { margin-bottom: .45rem; }
.salary { padding: 1rem; background: #f6f3ef; border-left: 4px solid var(--red); font-size: .92rem; }
.full { width: 100%; }
.job-card > details { margin: 0 var(--card-pad); border-top: 0; }
.job-card > .button { width: calc(100% - var(--card-pad) - var(--card-pad)); margin: 1.2rem var(--card-pad) var(--card-pad); }

.process { padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 8vw, 9rem); color: white; background: var(--navy); }
.section-heading.light h2 { color: white; }
.process ol { list-style: none; padding: 0; max-width: 1000px; margin: 3rem auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.process li { display: flex; gap: 1rem; padding: 1.3rem; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; background: rgba(255,255,255,.05); }
.process li > span { flex: 0 0 38px; height: 38px; display: grid; place-items: center; background: var(--red); border-radius: 50%; font-weight: 850; }
.process strong { font-size: 1.04rem; }
.process p { margin: .35rem 0 0; color: #c9d0d9; font-size: .94rem; }

.apply-strip { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 8vw, 9rem); color: white; background: var(--red); }
.apply-strip .eyebrow { color: white; opacity: .8; }
.apply-strip h2 { color: white; }
.apply-strip p:last-child { margin-bottom: 0; opacity: .9; }

footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2.2rem clamp(1.25rem, 6vw, 6rem); color: #d4dae1; background: #0a1420; font-size: .88rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: start; }

@media (max-width: 900px) {
  nav a:not(.nav-cta) { display: none; }
  .brand-claim { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .job-grid { max-width: 680px; }
  .job-overview { display: block; }
  .job-overview > img { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 600px) {
  .site-header { min-height: 68px; padding: .75rem 1rem; }
  .brand-mark { font-size: 1rem; }
  .nav-cta { padding: .55rem .75rem; font-size: .82rem; }
  .hero { padding-top: 4rem; }
  h1 { font-size: clamp(2.65rem, 14vw, 4.2rem); }
  .hero-panel, .process ol { grid-template-columns: 1fr; }
  .quick-facts { gap: 1.1rem 1.5rem; }
  .apply-strip, footer { align-items: flex-start; flex-direction: column; }
  .button-light { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
