:root {
  --blue: #0061aa;
  --blue-dark: #004b85;
  --navy: #0b2238;
  --ink: #1b2733;
  --muted: #5b6977;
  --line: #d9dfe5;
  --mist: #f5f7f9;
  --white: #fff;
  --font: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1, h2, h3 { margin: 0; color: var(--navy); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 32px; }

.label {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--navy); color: var(--white);
}
.skip:focus { top: 12px; color: var(--white); }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand img { width: 210px; }
.topbar nav { display: flex; gap: 32px; }
.nav-link {
  color: var(--ink); font-size: 14px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
}
.nav-link:hover { color: var(--blue); }

/* Hero */
.hero {
  display: flex; align-items: center;
  min-height: min(76vh, 640px);
  padding: 96px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 26, 44, .85) 0%, rgba(8, 26, 44, .55) 45%, rgba(8, 26, 44, 0) 75%),
    url("images/hero.jpg") 65% 40% / cover no-repeat;
}
.eyebrow {
  margin: 0 0 18px;
  font-size: 13px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: #9fd0ff;
}
.hero h1 { color: var(--white); font-family: "Manrope", var(--font); font-size: clamp(38px, 6vw, 66px); font-weight: 800; letter-spacing: -.02em; max-width: 12ch; }
.lede { max-width: 36ch; margin: 20px 0 36px; font-size: clamp(18px, 1.8vw, 20px); color: rgba(255, 255, 255, .9); }
.cta {
  display: inline-block;
  padding: 14px 28px;
  background: var(--blue); color: var(--white);
  font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none;
  transition: background .15s ease;
}
.cta:hover { background: var(--blue-dark); color: var(--white); }

/* Jobs */
.jobs { padding: 72px 0 24px; }
.jobs-layout { display: grid; grid-template-columns: 1fr 1.7fr; gap: 64px; align-items: start; }
.jobs-intro h2 { font-size: clamp(28px, 3vw, 36px); }
.jobs-intro p:last-child { margin: 14px 0 0; color: var(--muted); }

.job-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.job-list li { border-bottom: 1px solid var(--line); }
.job-row {
  display: flex; align-items: center; gap: 24px;
  padding: 13px 4px;
  color: var(--ink); text-decoration: none;
}
.job-text { flex: 1; display: flex; flex-direction: column; }
.job-title { font-size: 18px; line-height: 1.3; font-weight: 600; color: var(--navy); transition: color .15s ease; }
.job-desc { color: var(--muted); font-size: 15px; line-height: 1.45; }
.job-link {
  flex: none; color: var(--blue);
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap;
}
.chev { display: inline-block; margin-left: 4px; transition: transform .15s ease; }
.job-row:hover .job-title { color: var(--blue); }
.job-row:hover .chev { transform: translateX(4px); }

/* Life */
.life { padding: 48px 0 64px; }
.life-title { font-size: clamp(28px, 3vw, 36px); margin-bottom: 28px; }
.collage { width: 100%; }
.life-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 40px; }
.life-cols h3 { font-size: 20px; margin-bottom: 10px; }
.life-cols p { margin: 0; color: #3b4855; }

/* Safety */
.safety { padding: 64px 0; background: var(--mist); border-top: 1px solid var(--line); }
.safety-panel {
  display: grid; grid-template-columns: 1fr 1.7fr; gap: 64px;
  padding: 48px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  background: var(--white);
}
.safety-intro h2 { font-size: clamp(24px, 2.4vw, 30px); }
.safety-intro p:last-child { margin: 14px 0 0; color: var(--muted); }
.safety-list { list-style: none; margin: 0; padding: 0; }
.safety-list li {
  position: relative;
  padding: 16px 0 16px 24px;
  border-bottom: 1px solid var(--line);
}
.safety-list li:first-child { padding-top: 0; }
.safety-list li::before {
  content: ""; position: absolute; left: 0; top: 27px;
  width: 8px; height: 8px; background: var(--blue);
}
.safety-list li:first-child::before { top: 11px; }
.safety-foot { margin: 20px 0 0; color: var(--muted); font-size: 16px; }

/* Footer */
.footer { background: var(--navy); color: rgba(255, 255, 255, .75); padding: 56px 0 28px; font-size: 15px; }
.footer a { color: var(--white); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px; }
.footer-thanks { margin: 0 0 12px; font-size: 18px; color: var(--white); max-width: 34ch; }
.footer-site { font-weight: 600; text-decoration: none; }
.footer-site:hover { text-decoration: underline; color: var(--white); }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a { text-decoration: none; color: rgba(255, 255, 255, .8); }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.copyright { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 14px; color: rgba(255, 255, 255, .55); }

/* Responsive */
@media (max-width: 900px) {
  .jobs-layout, .safety-panel { grid-template-columns: 1fr; gap: 32px; }
  .life-cols { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .topbar-inner { height: 60px; }
  .brand img { width: 170px; }
  .topbar nav { display: none; }
  .hero {
    min-height: 0; padding: 72px 0 80px;
    background:
      linear-gradient(180deg, rgba(8, 26, 44, .5) 0%, rgba(8, 26, 44, .85) 100%),
      url("images/hero.jpg") 70% 40% / cover no-repeat;
  }
  .jobs, .life, .safety { padding: 48px 0; }
  .job-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .jobs { padding-bottom: 8px; }
  .life { padding-top: 32px; }
  .safety-panel { padding: 28px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
