:root {
  --ink: #17213a;
  --muted: #63708a;
  --line: #d9dfeb;
  --soft: #f4f6fb;
  --soft-2: #e9edf7;
  --primary: #315fa8;
  --primary-dark: #1c3766;
  --accent: #c89541;
  --rose: #b76576;
  --navy: #121b32;
  --white: #ffffff;
  --shadow: 0 26px 80px rgba(23, 33, 58, 0.15);
  color: var(--ink);
  background: var(--soft);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7f4ee;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: rgba(18, 27, 50, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  font-weight: 800;
}

.brand img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.22));
}

.brand span {
  display: block;
  line-height: 1.06;
}

.brand small {
  display: block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: transparent;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero,
.job-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.86fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 27, 50, 0.98), rgba(28, 55, 102, 0.95)),
    var(--navy);
}

.hero-copy,
.job-hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 700;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-text,
.section p,
.card p,
.step p,
.role-item p,
.job-body li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.hero .hero-text,
.job-hero .hero-text {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.hero-actions,
.job-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--navy);
  background: var(--accent);
  box-shadow: 0 16px 36px rgba(200, 149, 65, 0.24);
}

.button.primary:hover {
  background: #ddb060;
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.job-layout .button.secondary,
.section .button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.hero-media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px 8px 44px 8px;
  background: #0b1122;
  box-shadow: var(--shadow);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(18, 27, 50, 0.78), transparent);
  pointer-events: none;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.hero-stats div,
.mini-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats dt {
  color: var(--accent);
  font-size: 24px;
  font-weight: 800;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.4;
}

.section {
  padding: clamp(52px, 7vw, 92px) clamp(20px, 5vw, 72px);
  background: #f7f4ee;
}

.intro {
  padding-top: 34px;
  padding-bottom: 34px;
  background: var(--white);
}

.intro p {
  max-width: 1040px;
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.18;
}

.about,
.split,
.job-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 76px);
}

.about {
  background: var(--soft);
}

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

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

.card,
.career-panel,
.job-card,
.mini-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(23, 33, 58, 0.07);
}

.card {
  min-height: 235px;
  padding: 24px;
}

.card:nth-child(2n) {
  transform: translateY(18px);
}

.card-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--primary);
  border-radius: 999px;
  font-weight: 800;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px 28px 8px 8px;
  background: var(--white);
}

.step span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: var(--accent);
  border-radius: 999px;
  font-weight: 800;
}

.role-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.role-item {
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px 8px 32px 8px;
  background: var(--white);
}

.career-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(240px, 0.55fr);
  gap: 20px;
  padding: 28px;
  border-top: 5px solid var(--accent);
}

.career-list {
  display: grid;
  gap: 10px;
}

.career-list p {
  margin: 0;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--soft);
  border-radius: 999px;
}

.proof {
  color: var(--white);
  background: var(--navy);
}

.proof h2,
.proof p {
  color: var(--white);
}

.proof-panel {
  max-width: 800px;
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.proof-list p {
  margin: 0;
  padding: 18px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px 24px 8px 8px;
  background: rgba(255, 255, 255, 0.08);
}

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

.faq-list details {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq-list summary {
  font-weight: 800;
  cursor: pointer;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.52fr);
  gap: 28px;
  align-items: start;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-dark), var(--navy));
}

.contact h2,
.contact p {
  color: var(--white);
}

.contact-panel {
  padding: 24px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px 32px 8px 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-panel p {
  margin: 0 0 12px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.job-card {
  position: sticky;
  top: 110px;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
}

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

.job-facts {
  display: grid;
  gap: 12px;
}

.job-facts p {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.job-body {
  display: grid;
  gap: 28px;
}

.job-body section {
  padding: 0 0 28px;
  border-bottom: 1px solid var(--line);
}

.job-body section:last-child {
  border-bottom: 0;
}

.job-body ul {
  margin: 0;
  padding-left: 20px;
}

.job-layout .mini-card {
  color: var(--ink);
  background: var(--white);
}

@media (max-width: 1100px) {
  .card-grid,
  .role-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card:nth-child(2n) {
    transform: none;
  }
}

@media (max-width: 900px) {
  .brand {
    min-width: 0;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 75px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: var(--navy);
    box-shadow: var(--shadow);
  }

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

  .hero,
  .job-hero,
  .about,
  .split,
  .contact,
  .job-layout,
  .career-panel {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .role-list,
  .proof-list {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-media img {
    min-height: 300px;
  }

  .job-card {
    position: static;
  }
}
