:root {
  --brand: #044da5;
  --accent: #1c75f4;
  --ink: #07182d;
  --muted: #536274;
  --paper: #ffffff;
  --wash: #f4f7fb;
  --line: #d7e0eb;
  --success: #126b3b;
  --danger: #a72525;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 1rem; line-height: 1.65; }
a { color: inherit; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.journey-page { min-width: 320px; background: #061a35; }
.journey-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.5rem, 5vw, 4rem);
  background: url("/images/cfhrus-journeys-hero.jpg") center center / cover no-repeat;
}
.journey-hero::before,
.journey-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
}
.journey-hero::before {
  background:
    radial-gradient(circle at center, rgba(5, 32, 67, .2) 0%, rgba(3, 19, 42, .38) 46%, rgba(2, 12, 28, .62) 100%),
    linear-gradient(180deg, rgba(4, 34, 70, .18), rgba(3, 20, 44, .54));
}
.journey-hero::after {
  background: linear-gradient(90deg, rgba(1, 12, 28, .12), transparent 27%, transparent 73%, rgba(1, 12, 28, .18));
}
.journey-content {
  width: min(100%, 62rem);
  display: grid;
  justify-items: center;
  gap: clamp(2.25rem, 5vh, 4rem);
  text-align: center;
  animation: journey-arrive .75s ease-out both;
}
.journey-logo {
  width: clamp(8.5rem, 15vw, 12.5rem);
  height: auto;
  display: block;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 1.75rem;
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, .36);
}
.journey-links {
  width: min(100%, 44rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.journey-link {
  min-height: 5.5rem;
  display: grid;
  place-items: center;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 1rem;
  background: rgba(3, 29, 63, .7);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .22);
  color: #fff;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.2;
  text-decoration: none;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.journey-link:hover {
  transform: translateY(-3px);
  border-color: #fff;
  background: rgba(9, 86, 174, .9);
  box-shadow: 0 1.35rem 3.5rem rgba(0, 0, 0, .32);
}
.journey-link:focus-visible {
  outline: 3px solid #f4b942;
  outline-offset: 4px;
}
.journey-recruiting { color: #fff; }
.journey-recruiting p { margin: 0 0 .75rem; font-weight: 700; }
.journey-recruiting-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.journey-recruiting-links a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: .75rem;
  background: rgba(3, 29, 63, .7);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}
.journey-recruiting-links a:hover { background: rgba(9, 86, 174, .9); }
.journey-recruiting-links a:focus-visible { outline: 3px solid #f4b942; outline-offset: 4px; }
@keyframes journey-arrive {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.site-header { min-height: 76px; padding: 1rem clamp(1rem, 5vw, 5rem); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 600; }
.brand-mark { width: 2.7rem; height: 2.7rem; display: grid; place-items: center; color: white; background: var(--brand); border-radius: 50%; font-weight: 800; }
.header-cta { color: var(--brand); font-weight: 700; text-underline-offset: .25rem; }
.hero, .join { display: grid; gap: 2.5rem; align-items: center; padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 8vw, 8rem); }
.hero { min-height: calc(100svh - 76px); background: linear-gradient(135deg, #eef5ff 0%, #fff 58%); }
.hero h1, h2 { margin: .25rem 0 1rem; max-width: 18ch; font-size: clamp(2.1rem, 5vw + .5rem, 4.8rem); line-height: 1.05; letter-spacing: -.045em; font-weight: 450; }
h2 { font-size: clamp(1.8rem, 3.5vw + .5rem, 3.2rem); }
.hero-text { max-width: 42rem; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.eyebrow { margin: 0; color: var(--brand); text-transform: uppercase; letter-spacing: .15em; font-size: .78rem; font-weight: 800; }
.button { display: inline-flex; justify-content: center; min-height: 48px; margin-top: 1rem; padding: .75rem 1.35rem; align-items: center; border: 0; border-radius: .55rem; background: var(--accent); color: white; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--brand); }
.button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid #f4b942; outline-offset: 3px; }
.button:disabled { opacity: .65; cursor: wait; }
.portrait-placeholder { min-height: 360px; display: grid; place-items: center; align-content: center; gap: 1rem; border-radius: 1.5rem; color: white; background: var(--brand); box-shadow: 0 1.5rem 4rem rgba(4, 77, 165, .2); }
.portrait-placeholder span { font-size: 5rem; font-weight: 800; }
.portrait-placeholder small { max-width: 15rem; text-align: center; }
.about, .benefits { padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 8vw, 8rem); }
.about { max-width: 75rem; }
.about > p:last-child { max-width: 70ch; color: var(--muted); font-size: 1.12rem; }
.benefits { background: var(--wash); }
.benefit-grid { display: grid; gap: 1rem; margin-top: 2.5rem; }
.benefit-grid article { padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); }
.benefit-grid article > span { color: var(--accent); font-weight: 800; }
.benefit-grid h3 { margin: 1rem 0 .35rem; font-size: 1.2rem; }
.benefit-grid p { margin: 0; color: var(--muted); }
.join { background: var(--ink); color: white; }
.join-intro p:last-child { max-width: 42rem; color: #c8d2de; }
.join .eyebrow { color: #83b6ff; }
form { display: grid; gap: 1rem; padding: 1.4rem; border-radius: 1rem; background: white; color: var(--ink); }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 700; }
.field label span { color: var(--muted); font-size: .82rem; font-weight: 500; }
input, select, textarea { width: 100%; min-height: 48px; padding: .75rem; border: 1px solid #9aa9b8; border-radius: .45rem; background: white; color: var(--ink); font: inherit; }
textarea { resize: vertical; }
.honeypot { position: absolute; left: -10000px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form-actions .button { margin: 0; }
#form-status { margin: 0; flex: 1 1 15rem; }
#form-status.success { color: var(--success); }
#form-status.error { color: var(--danger); }
.owner-note { display: inline-block; padding: .2rem .45rem; border: 1px dashed currentColor; border-radius: .3rem; font-size: .72rem; font-weight: 650; line-height: 1.4; opacity: .78; }
footer { display: grid; gap: 2rem; padding: 2.5rem clamp(1.25rem, 8vw, 8rem); border-top: 1px solid #26384c; background: var(--ink); color: #d9e1ea; font-size: .9rem; }
footer p { margin: .35rem 0; }
.legal-page { max-width: 64rem; margin: 0 auto; padding: 4rem 1.25rem 7rem; }
.legal-page h1 { max-width: 20ch; margin: .5rem 0 1rem; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1; letter-spacing: -.035em; }
.legal-page h2 { max-width: none; margin: 3rem 0 .75rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: clamp(1.35rem, 2.5vw, 1.8rem); line-height: 1.25; letter-spacing: -.02em; }
.legal-page h3 { margin: 1.6rem 0 .45rem; font-size: 1.08rem; }
.legal-page p, .legal-page li { max-width: 78ch; }
.legal-page li + li { margin-top: .55rem; }
.legal-meta { color: var(--muted); }
.legal-summary { margin: 2rem 0; padding: 1.25rem 1.4rem; border-left: .3rem solid var(--accent); border-radius: .4rem; background: var(--wash); }
.legal-summary strong { color: var(--brand); }
.legal-page nav { margin: 2rem 0; padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--paper); }
.legal-page nav ul { columns: 2; padding-left: 1.25rem; }
.legal-page nav a { color: var(--brand); font-weight: 700; text-underline-offset: .2rem; }
.legal-caps { font-weight: 750; }
.legal-back { display: inline-flex; margin-top: 3rem; color: var(--brand); font-weight: 750; }

@media (min-width: 720px) {
  .hero, .join { grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  form { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 2rem; }
  .field-wide, .form-actions { grid-column: 1 / -1; }
  footer { grid-template-columns: 1fr 2fr; }
}

@media (min-width: 1100px) {
  .benefit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

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

@media (max-width: 600px) {
  .legal-page nav ul { columns: 1; }
}

@media (max-width: 700px) {
  .journey-hero {
    padding: 2rem 1.25rem;
    background-image: url("/images/cfhrus-journeys-hero-mobile.jpg");
  }
  .journey-hero::before {
    background: linear-gradient(180deg, rgba(2, 18, 40, .42), rgba(3, 28, 61, .64));
  }
  .journey-content { gap: 2rem; }
  .journey-logo { width: clamp(7.75rem, 34vw, 10rem); border-radius: 1.35rem; }
  .journey-links { width: min(100%, 23rem); grid-template-columns: 1fr; }
  .journey-link { min-height: 4.75rem; }
  .journey-recruiting-links { flex-direction: column; }
}
