:root {
  --navy: #061a35;
  --navy-2: #0a274c;
  --navy-3: #102f59;
  --gold: #efb84f;
  --gold-dark: #c9912f;
  --ink: #0b1c35;
  --muted: #637084;
  --paper: #f7f8fa;
  --white: #ffffff;
  --line: #dfe4ea;
  --shell: min(1180px, calc(100% - 56px));
  --shadow: 0 12px 36px rgba(8, 25, 48, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--white);
  font-family: Aptos, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body, a, button { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 11px 15px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.content-shell, .hero-shell, .header-shell, .footer-shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: var(--ink);
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(9, 27, 52, .09);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 26px rgba(7, 25, 48, .11); }
.header-shell {
  height: 82px;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 34px;
  align-items: center;
}
.brand { display: flex; align-items: center; width: 166px; height: 62px; text-decoration: none; }
.brand img { width: 166px; height: auto; }
.desktop-nav { height: 100%; display: flex; justify-content: center; align-items: stretch; gap: clamp(18px, 2.5vw, 38px); }
.desktop-nav a {
  position: relative;
  display: flex;
  align-items: center;
  color: #172338;
  font-size: .83rem;
  font-weight: 650;
  text-decoration: none;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 18px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.desktop-nav a:hover::after, .desktop-nav a.active::after { transform: scaleX(1); }
.nav-cta {
  min-height: 48px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 6px;
  font-size: .86rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}
.nav-cta:hover { background: var(--navy-2); transform: translateY(-1px); }

.hero {
  position: relative;
  min-height: 650px;
  height: calc(100svh - 82px);
  max-height: 820px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: hero-image-in 1s ease both;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 20, 42, .98) 0%, rgba(4, 20, 42, .92) 37%, rgba(4, 20, 42, .42) 63%, rgba(4, 20, 42, .12) 100%),
    linear-gradient(0deg, rgba(4, 20, 42, .88) 0%, transparent 34%);
}
.hero-shell { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; }
.hero-core { flex: 1; display: flex; align-items: center; padding: 48px 0 30px; }
.hero-copy { width: min(610px, 58%); }
.hero-kicker {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: .79rem;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 610px;
  font-size: clamp(3.55rem, 5.7vw, 5.3rem);
  line-height: .99;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.hero h1 span { color: var(--gold); }
.hero-intro {
  max-width: 480px;
  margin-top: 24px;
  color: rgba(255,255,255,.84);
  font-size: 1.08rem;
  line-height: 1.55;
}
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 15px; }
.button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-gold { color: var(--navy); background: var(--gold); }
.button-gold:hover { background: #ffd47e; }
.button-outline { color: var(--white); background: rgba(255,255,255,.02); border-color: rgba(255,255,255,.7); }
.button-outline:hover { color: var(--navy); background: var(--white); }
.button-navy { color: var(--white); background: var(--navy); }
.button-navy:hover { background: var(--navy-2); }

.hero-facts {
  min-height: 116px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255,255,255,.24);
}
.hero-fact {
  padding: 24px 20px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border-right: 1px solid rgba(255,255,255,.17);
}
.hero-fact:first-child { padding-left: 0; }
.hero-fact:last-child { border-right: 0; }
.hero-fact svg, .detail-card svg, .step svg {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-fact svg { color: var(--gold); }
.hero-fact strong { display: block; margin-bottom: 5px; color: var(--white); font-size: .94rem; }
.hero-fact span { display: block; color: rgba(255,255,255,.62); font-size: .72rem; line-height: 1.3; }

.section-white { background: var(--white); }
.details { padding: 82px 0 94px; }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.eyebrow {
  margin-bottom: 8px;
  color: var(--gold-dark);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-heading h2, .fit-copy h2, .application-copy h2 {
  font-size: clamp(2.1rem, 3.5vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.section-heading > p:last-child {
  max-width: 620px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}
.detail-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.detail-card {
  min-height: 210px;
  padding: 28px 22px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 8px 22px rgba(8,25,48,.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.detail-card:hover { transform: translateY(-4px); border-color: rgba(201,145,47,.45); box-shadow: var(--shadow); }
.icon-box {
  width: 58px;
  height: 58px;
  margin: 0 auto 21px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: #fff8e9;
  border: 1px solid #f4d799;
  border-radius: 50%;
}
.detail-card h3 { margin-bottom: 8px; font-size: .98rem; }
.detail-card p { color: var(--muted); font-size: .88rem; line-height: 1.45; }

.opportunity { padding: 88px 0 102px; color: var(--white); background: linear-gradient(135deg, #04172f 0%, #08254a 100%); }
.heading-light h2 { color: var(--white); }
.heading-light > p:last-child { color: rgba(255,255,255,.65); }
.opportunity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.opportunity-card {
  overflow: hidden;
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
}
.opportunity-card img { width: 100%; height: auto; aspect-ratio: 16 / 8.7; object-fit: cover; object-position: center 42%; }
.opportunity-card-copy { min-height: 260px; padding: 28px 30px 30px; }
.card-label { margin-bottom: 9px; color: var(--gold); font-size: .72rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.opportunity-card h3 { margin-bottom: 12px; font-size: 1.55rem; }
.opportunity-card-copy > p:not(.card-label) { max-width: 490px; color: rgba(255,255,255,.72); font-size: .96rem; line-height: 1.6; }
.opportunity-card a {
  width: fit-content;
  margin-top: 24px;
  display: flex;
  gap: 22px;
  color: var(--gold);
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
}

.process-strip { padding: 82px 0 92px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.step {
  min-height: 160px;
  padding: 30px;
  display: grid;
  grid-template-columns: 34px 48px 1fr;
  gap: 14px;
  align-items: start;
  border-right: 1px solid var(--line);
}
.step:last-child { border-right: 0; }
.step > span { color: var(--gold-dark); font-size: .72rem; font-weight: 850; letter-spacing: .08em; }
.step svg { color: var(--navy); width: 35px; height: 35px; }
.step strong { display: block; margin-bottom: 7px; font-size: 1rem; }
.step small { display: block; color: var(--muted); font-size: .83rem; line-height: 1.5; }

.candidate-fit { padding: 100px 0; background: var(--paper); }
.fit-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(55px, 7vw, 96px); align-items: center; }
.fit-visual { position: relative; }
.fit-visual::before { content: ""; position: absolute; inset: -16px 16px 16px -16px; border: 1px solid #ccd5df; border-radius: 10px; }
.fit-visual img { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow); }
.fit-visual figcaption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  padding: 13px 17px;
  color: var(--navy);
  background: var(--gold);
  border-radius: 6px 0 10px 0;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .05em;
}
.fit-copy h2 { max-width: 590px; margin-bottom: 32px; }
.fit-points { border-top: 1px solid #d5dce5; }
.fit-point {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  border-bottom: 1px solid #d5dce5;
}
.fit-point > span { color: var(--gold-dark); font-size: .72rem; font-weight: 850; }
.fit-point h3 { margin-bottom: 7px; font-size: 1.02rem; }
.fit-point p { color: var(--muted); font-size: .94rem; line-height: 1.55; }
.fit-note { margin: 20px 0 26px 63px; color: #798391; font-size: .79rem; line-height: 1.55; }

.application { position: relative; overflow: hidden; padding: 100px 0 110px; color: var(--white); background: var(--navy); }
.application::before { content: ""; position: absolute; z-index: 1; inset: 0; background: rgba(4,20,42,.91); }
.application-background { position: absolute; inset: 0; }
.application-background img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.65); }
.application-layout { position: relative; z-index: 2; display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(48px, 6vw, 86px); align-items: start; }
.application-copy { position: sticky; top: 112px; padding-top: 10px; }
.application-copy .eyebrow { color: var(--gold); }
.application-copy h2 { max-width: 520px; margin-bottom: 23px; color: var(--white); }
.application-copy > p { max-width: 500px; color: rgba(255,255,255,.69); font-size: 1rem; line-height: 1.65; }
.application-checks { margin: 32px 0 0; padding: 0; list-style: none; }
.application-checks li { padding: 12px 0; display: flex; gap: 12px; align-items: center; color: rgba(255,255,255,.85); border-bottom: 1px solid rgba(255,255,255,.15); font-size: .88rem; }
.application-checks span { width: 23px; height: 23px; display: grid; place-items: center; color: var(--navy); background: var(--gold); border-radius: 50%; font-size: .72rem; font-weight: 900; }
.form-panel { min-width: 0; padding: 30px 36px 24px; color: var(--ink); background: var(--white); border-radius: 10px; box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.form-heading { padding-bottom: 22px; margin-bottom: 8px; display: flex; justify-content: space-between; gap: 22px; align-items: end; border-bottom: 1px solid var(--line); }
.form-heading span { display: block; margin-bottom: 5px; color: var(--gold-dark); font-size: .69rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.form-heading strong { font-size: 1.35rem; }
.form-heading p { color: #7a8491; font-size: .74rem; }
#tally-form { display: block; min-height: 720px; border: 0; }
.noscript-note { padding: 18px; color: var(--ink); background: #fff4dc; line-height: 1.5; }

.site-footer { color: rgba(255,255,255,.65); background: #031226; }
.footer-shell { min-height: 166px; display: grid; grid-template-columns: 1fr auto auto; gap: 42px; align-items: center; }
.footer-brand { width: 158px; display: block; text-decoration: none; }
.footer-brand img { width: 158px; height: auto; }
.footer-shell p { font-size: .77rem; }
.mobile-apply { display: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes hero-image-in { from { opacity: 0; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 1050px) {
  :root { --shell: min(100% - 42px, 940px); }
  .header-shell { grid-template-columns: 155px 1fr auto; gap: 20px; }
  .brand, .brand img { width: 146px; }
  .desktop-nav { gap: 18px; }
  .desktop-nav a { font-size: .76rem; }
  .hero-copy { width: 60%; }
  .detail-cards { grid-template-columns: repeat(6, 1fr); }
  .detail-card { grid-column: span 2; }
  .detail-card:nth-child(n+4) { grid-column: span 3; }
  .application-layout { grid-template-columns: 1fr; }
  .application-copy { position: static; }
  .application-copy > p { max-width: 650px; }
}

@media (max-width: 820px) {
  .header-shell { height: 74px; grid-template-columns: 150px 1fr auto; }
  .brand, .brand img { width: 142px; }
  .desktop-nav { display: none; }
  .hero { height: auto; min-height: 790px; max-height: none; }
  .hero-image { object-position: 72% center; }
  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(4,20,42,.99) 0%, rgba(4,20,42,.93) 48%, rgba(4,20,42,.28) 78%, rgba(4,20,42,.25) 100%),
      linear-gradient(90deg, rgba(4,20,42,.25), transparent);
  }
  .hero-core { min-height: 590px; align-items: flex-end; padding: 280px 0 40px; }
  .hero-copy { width: 100%; }
  .hero h1 { max-width: 590px; font-size: clamp(3.2rem, 10vw, 4.8rem); }
  .hero-intro { max-width: 530px; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); }
  .hero-fact { min-height: 96px; padding: 20px 15px; border-bottom: 1px solid rgba(255,255,255,.16); }
  .hero-fact:first-child { padding-left: 15px; }
  .hero-fact:nth-child(3) { border-right: 0; }
  .hero-fact:nth-child(n+4) { border-bottom: 0; }
  .hero-fact:nth-child(4) { grid-column: span 1; }
  .hero-fact:nth-child(5) { grid-column: span 2; border-right: 0; }
  .opportunity-grid { grid-template-columns: 1fr; }
  .opportunity-card { display: grid; grid-template-columns: .9fr 1.1fr; }
  .opportunity-card img { height: 100%; aspect-ratio: auto; }
  .opportunity-card-copy { min-height: 290px; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 120px; border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .fit-layout { grid-template-columns: 1fr; gap: 62px; }
}

@media (max-width: 600px) {
  :root { --shell: calc(100% - 30px); }
  body { padding-bottom: 68px; }
  .header-shell { height: 68px; grid-template-columns: 128px 1fr auto; gap: 12px; }
  .brand, .brand img { width: 124px; }
  .nav-cta { min-height: 43px; padding: 0 16px; font-size: .78rem; }
  .hero { min-height: 835px; }
  .hero-image { object-position: 75% center; }
  .hero-core { min-height: 590px; padding: 260px 0 34px; }
  .hero-kicker { margin-bottom: 13px; font-size: .68rem; }
  .hero h1 { font-size: clamp(2.75rem, 13.2vw, 4rem); line-height: 1.01; }
  .hero-intro { margin-top: 17px; font-size: .94rem; }
  .hero-actions { margin-top: 23px; gap: 10px; }
  .button { min-height: 49px; padding-inline: 17px; gap: 22px; font-size: .82rem; }
  .button-outline { display: none; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-fact { min-height: 91px; padding: 18px 12px; border-bottom: 1px solid rgba(255,255,255,.16); }
  .hero-fact:nth-child(2), .hero-fact:nth-child(4) { border-right: 0; }
  .hero-fact:nth-child(3) { border-right: 1px solid rgba(255,255,255,.16); }
  .hero-fact:nth-child(4) { grid-column: auto; }
  .hero-fact:nth-child(5) { grid-column: 1 / -1; border-bottom: 0; }
  .hero-fact strong { font-size: .86rem; }
  .details, .process-strip { padding: 70px 0 78px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2, .fit-copy h2, .application-copy h2 { font-size: clamp(2rem, 10.5vw, 2.75rem); }
  .detail-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .detail-card, .detail-card:nth-child(n+4) { min-height: 180px; padding: 23px 14px; grid-column: auto; }
  .detail-card:first-child { grid-column: 1 / -1; min-height: 170px; }
  .icon-box { width: 52px; height: 52px; margin-bottom: 17px; }
  .opportunity { padding: 70px 0 78px; }
  .opportunity-card { display: block; }
  .opportunity-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
  .opportunity-card-copy { min-height: 0; padding: 24px 22px 27px; }
  .step { padding: 25px 10px; grid-template-columns: 30px 42px 1fr; }
  .candidate-fit { padding: 82px 0; }
  .fit-layout { gap: 54px; }
  .fit-visual { width: calc(100% - 12px); margin-left: 12px; }
  .fit-visual::before { inset: -12px 12px 12px -12px; }
  .fit-point { grid-template-columns: 38px 1fr; }
  .fit-note { margin-left: 53px; }
  .application { padding: 80px 0 82px; }
  .application-layout { gap: 46px; }
  .form-panel { width: calc(100% + 12px); margin-left: -6px; padding: 24px 14px 16px; }
  .form-heading { display: block; }
  .form-heading p { margin-top: 7px; }
  #tally-form { min-height: 760px; }
  .footer-shell { min-height: 210px; padding: 32px 0; grid-template-columns: 1fr; gap: 18px; align-content: center; }
  .footer-brand, .footer-brand img { width: 148px; }
  .mobile-apply {
    position: fixed;
    z-index: 90;
    inset: auto 9px 9px;
    min-height: 52px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--navy);
    background: var(--gold);
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(0,0,0,.24);
    font-size: .86rem;
    font-weight: 850;
    text-decoration: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .mobile-apply.is-hidden { opacity: 0; transform: translateY(120%); pointer-events: none; }
}

@media (max-width: 360px) {
  :root { --shell: calc(100% - 24px); }
  .header-shell { grid-template-columns: 112px 1fr auto; }
  .brand, .brand img { width: 110px; }
  .nav-cta { padding-inline: 12px; }
  .hero h1 { font-size: 2.7rem; }
  .hero-fact { gap: 9px; }
  .hero-fact svg { width: 23px; height: 23px; }
  .detail-card p { font-size: .8rem; }
  .form-panel { width: calc(100% + 8px); margin-left: -4px; padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
