@font-face {
  font-family: Manrope;
  src: url("assets/Manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #202824;
  --green: #254c3b;
  --deep: #192c23;
  --paper: #f5f4f0;
  --white: #fff;
  --mist: #e7ece6;
  --slate: #58635c;
  --line: #d5dad4;
  --gutter: clamp(1.25rem, 4.5vw, 5rem);
  --shell: 88rem;
  --header-height: 5.125rem;
  --section-space: clamp(4rem, 8vw, 8rem);
  font-family: Manrope, system-ui, sans-serif;
  font-size: 100%;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: calc(var(--header-height) + 1rem); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
}

h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }

h2 {
  font-size: clamp(2.1rem, 4.35vw, 4.25rem);
  font-weight: 680;
  letter-spacing: -.062em;
  line-height: 1.03;
}

.shell {
  width: min(var(--shell), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

:focus-visible {
  outline: .15rem solid currentColor;
  outline-offset: .28rem;
}

.skip-link {
  position: fixed;
  z-index: 5;
  top: .5rem;
  left: .5rem;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: 1rem;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-175%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 3;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-height);
}

.brand, .primary-nav a, .footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.brand { width: fit-content; }
.brand img { width: clamp(8.4rem, 16vw, 13.75rem); height: auto; }

.primary-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3.25vw, 3.375rem);
}

.primary-nav a, .footer-link {
  text-decoration: none;
  white-space: nowrap;
  font-weight: 670;
  font-size: .9rem;
}

.primary-nav a:hover, .footer-link:hover { text-decoration: underline; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .85rem;
  min-height: 3.375rem;
  padding: .65rem 1.2rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  background: var(--green);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 750;
  line-height: 1.3;
  transition: background-color .15s ease, color .15s ease;
}

.button:hover { background: var(--deep); }
.button:focus-visible { outline-color: var(--green); }

.button--small {
  justify-self: end;
  min-height: 2.75rem;
  padding-inline: .95rem;
  font-size: .86rem;
}

.button--light {
  background: var(--white);
  color: var(--green);
}

.button--light:hover { background: var(--mist); }
.button--light:focus-visible { outline-color: var(--white); }

.text-link, .privacy-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2.75rem;
  text-decoration: underline;
  text-decoration-thickness: .06em;
  text-underline-offset: .25em;
  font-weight: 700;
}

.text-link:hover, .privacy-link:hover { text-decoration-thickness: .13em; }

.arrow {
  position: relative;
  display: inline-block;
  width: .95em;
  height: .75em;
  flex-shrink: 0;
}

.arrow::before, .arrow::after {
  position: absolute;
  content: "";
  top: 50%;
}

.arrow::before {
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
}

.arrow::after {
  right: 0;
  width: .46em;
  height: .46em;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
  transform: translateY(-50%) rotate(45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--deep);
  color: var(--white);
}

.hero-art, .hero-art::after {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-art::after {
  z-index: 0;
  content: "";
  background: linear-gradient(90deg, #192c23 0%, #192c23ec 23%, #192c237d 45%, transparent 67%);
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 35%;
  transform-origin: 72% 55%;
}

.hero-inner {
  display: flex;
  align-items: center;
  min-height: clamp(32rem, 42vw, 45rem);
  padding-block: clamp(3.5rem, 5.5vw, 6rem) clamp(6rem, 9vw, 9.25rem);
}

.hero-copy { max-width: min(58%, 47rem); }
.hero-label { color: var(--mist); font-weight: 700; font-size: .95rem; }

h1 {
  margin-block: .75rem 1.35rem;
  max-width: 12ch;
  font-size: clamp(3.15rem, 5.6vw, 6.25rem);
  font-weight: 690;
  letter-spacing: -.065em;
  line-height: .99;
}

.hero-intro {
  max-width: 40ch;
  color: var(--mist);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem 1.3rem;
  margin-top: 1.5rem;
}

.hero-actions .text-link { font-size: .92rem; }

.registration {
  position: relative;
  z-index: 1;
  margin-top: -3.75rem;
}

.registration-desk {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr);
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--white);
  box-shadow: 0 1rem 2.5rem #192c2310;
}

.registration-start { display: flex; flex-direction: column; }

.registration-intro, .registration-checklist, .registration-actions {
  padding: clamp(1.4rem, 3vw, 3.2rem);
}

.registration-intro { flex: 1; background: var(--mist); }

.registration-intro h2 {
  max-width: 11ch;
  margin-bottom: .85rem;
  font-size: clamp(2rem, 3.65vw, 3.85rem);
}

.registration-intro p, .process-heading p { max-width: 37ch; color: var(--slate); }

.prep-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .25rem 1rem;
  margin-bottom: .55rem;
}

.prep-heading h3 { font-size: 1.12rem; font-weight: 760; }

.prep-status {
  color: var(--slate);
  font-size: .8rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.prep-progress:not([hidden]) { display: block; }

.prep-progress {
  appearance: none;
  width: 100%;
  height: .25rem;
  margin: 0 0 .65rem;
  overflow: hidden;
  border: 0;
  border-radius: .125rem;
  background: var(--mist);
  color: var(--green);
}

.prep-progress::-webkit-progress-bar { background: var(--mist); }
.prep-progress::-webkit-progress-value { background: var(--green); }
.prep-progress::-moz-progress-bar { background: var(--green); }

.checklist {
  display: grid;
  gap: .2rem;
  margin: 0 -.45rem;
  padding: 0;
  list-style: none;
}

.prep-task {
  display: grid;
  grid-template-columns: 1.125rem minmax(0, 1fr);
  align-items: start;
  gap: .75rem;
  min-height: 2.75rem;
  padding: .5rem .45rem;
  border-radius: .25rem;
  cursor: pointer;
}

.prep-task:hover { background: var(--paper); }
.prep-task:has(input:checked) { background: var(--mist); }

.prep-task input {
  width: 1.125rem;
  height: 1.125rem;
  margin: .2rem 0 0;
  accent-color: var(--green);
  cursor: inherit;
}

.prep-task strong { color: var(--green); font-weight: 760; }

.prep-hint {
  display: block;
  margin-top: .08rem;
  color: var(--slate);
  font-size: .91rem;
  line-height: 1.5;
}

.registration-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .4rem;
  color: var(--white);
  background: var(--green);
}

.registration-note {
  max-width: 26ch;
  color: var(--mist);
  font-size: .94rem;
  font-weight: 650;
}

.registration-actions .button { background: var(--white); color: var(--green); }
.registration-actions .button:hover { background: var(--mist); }
.registration-actions .button:focus-visible { outline-color: var(--white); }
.privacy-link { font-size: .875rem; }

.section { padding-block: var(--section-space); }

.process-heading {
  display: grid;
  grid-template-columns: 3fr 2fr;
  align-items: end;
  gap: 1.25rem 3rem;
}

.process-heading h2 { max-width: 13ch; }
.process-heading p { padding-bottom: .15rem; font-size: 1.08rem; }

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  padding: 1.25rem clamp(1rem, 3vw, 3.3rem) 0 0;
  border-top: 1px solid var(--line);
}

.step::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 2.4rem;
  height: 2px;
  background: var(--green);
  content: "";
}

.step-number {
  display: block;
  margin-bottom: .65rem;
  color: var(--green);
  font-size: clamp(1.75rem, 3.35vw, 3.25rem);
  font-weight: 520;
  letter-spacing: -.06em;
  line-height: 1.12;
}

.step h3 {
  margin-bottom: .5rem;
  font-size: clamp(1.15rem, 1.75vw, 1.55rem);
  font-weight: 760;
  line-height: 1.24;
  letter-spacing: -.035em;
  text-wrap: wrap;
}

.step p { max-width: 37ch; color: var(--slate); }

.journey { margin-top: clamp(2.1rem, 4vw, 4.5rem); }

.journey--interactive {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr);
  border: 1px solid var(--line);
}

.journey-tabs:not([hidden]) {
  display: grid;
  grid-auto-rows: minmax(4.5rem, 1fr);
  background: var(--white);
}

.journey-tab {
  position: relative;
  display: grid;
  grid-template-columns: 1.2rem minmax(0, 1fr) 1.15rem;
  align-items: center;
  gap: clamp(.65rem, 1.4vw, 1.35rem);
  padding: .8rem clamp(1rem, 2.5vw, 2.4rem);
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: clamp(.94rem, 1.45vw, 1.16rem);
  font-weight: 730;
  line-height: 1.35;
  text-align: left;
  transition: background-color .16s ease;
}

.journey-tab:last-child { border-bottom: 0; }

.journey-tab:hover { background: var(--paper); }

.journey-tab[aria-selected="true"] {
  background: var(--mist);
  box-shadow: inset .2rem 0 var(--green);
  color: var(--green);
}

.journey-tab:focus-visible {
  z-index: 1;
  outline-offset: -.34rem;
}

.journey-tab .arrow {
  color: var(--green);
  transition: transform .16s ease;
}

.journey-tab[aria-selected="true"] .arrow { transform: translateX(.2em); }

.journey-number {
  color: var(--slate);
  font-size: .85rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.journey--interactive .steps {
  grid-template-columns: minmax(0, 1fr);
  background: var(--green);
  color: var(--white);
}

.journey--interactive .step { display: block; padding: 0; border: 0; }
.journey--interactive .step[hidden] { display: none; }
.journey--interactive .step::before, .journey--interactive .step-number { display: none; }

.journey--interactive .step-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: max(100%, 15.75rem);
  padding: clamp(1.4rem, 4vw, 4rem);
}

.journey--interactive .step-body:focus-visible { outline-offset: -.45rem; }

.journey--interactive .step h3 {
  max-width: 22ch;
  margin-bottom: .75rem;
  font-size: clamp(1.75rem, 3.2vw, 3.15rem);
  font-weight: 680;
  letter-spacing: -.04em;
  line-height: 1.05;
}

.journey--interactive .step p {
  max-width: 50ch;
  color: var(--mist);
  font-size: clamp(.98rem, 1.25vw, 1.1rem);
}

.faq { background: var(--mist); }

.faq-inner {
  display: grid;
  grid-template-columns: 4fr 6fr;
  align-items: start;
  gap: clamp(1.5rem, 5vw, 6rem);
}

.faq h2 { max-width: 15ch; }
.faq-heading .text-link { margin-top: .8rem; color: var(--green); font-size: .93rem; }

.questions { border-top: 1px solid #9ca99f; }
.questions details { border-bottom: 1px solid #9ca99f; transition: background-color .16s ease; }
.questions details[open] { background: var(--white); }

.questions summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 4.5rem;
  padding: .85rem clamp(.75rem, 1.5vw, 1.5rem);
  list-style: none;
  font-weight: 750;
  line-height: 1.35;
  cursor: pointer;
}

.questions summary::-webkit-details-marker { display: none; }
.questions summary:focus-visible { outline-offset: -.24rem; }
.questions summary:hover { color: var(--green); text-decoration: underline; text-underline-offset: .2em; }

.faq-icon {
  position: relative;
  display: block;
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  color: var(--green);
}

.faq-icon::before, .faq-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: .9rem;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  content: "";
}

.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .15s ease; }
details[open] .faq-icon::after { transform: translate(-50%, -50%); }

.questions p {
  max-width: 60ch;
  padding: 0 clamp(.75rem, 1.5vw, 1.5rem) 1.15rem;
  color: var(--slate);
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  padding-block: clamp(1.25rem, 3.5vw, 3.25rem);
}

.footer-parent {
  display: flex;
  align-items: center;
  gap: .58rem;
  min-height: 2.25rem;
  color: var(--slate);
  font-size: .83rem;
  font-weight: 650;
  white-space: nowrap;
}

.footer-parent img {
  width: clamp(4.25rem, 8vw, 6.5rem);
  height: auto;
}

.footer-nav, .footer-utility-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem clamp(.95rem, 2.5vw, 2.1rem);
}

.footer-base {
  background: var(--deep);
  color: var(--mist);
}

.footer-utility {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 .7rem;
  min-height: 3.5rem;
  padding-block: .25rem;
  font-size: .85rem;
}

.footer-utility .footer-link { font-size: inherit; }

.back-to-top { gap: .45rem; }
.back-to-top .arrow { transform: rotate(-90deg); }

.privacy-page { padding-block: clamp(3rem, 7vw, 7rem); }

.privacy-content {
  max-width: 52rem;
  background: var(--white);
  border-top: .25rem solid var(--green);
  padding: clamp(1.4rem, 5vw, 4.75rem);
}

.privacy-content h1 { max-width: none; font-size: clamp(2.65rem, 6vw, 5.25rem); }
.privacy-content section { margin-block: 2rem; }
.privacy-content h2 { margin-bottom: .6rem; font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.04em; }
.privacy-content p { max-width: 62ch; margin-bottom: .75rem; color: var(--slate); }

@media (max-width: 960px) {
  .step { padding-inline-end: 1.4rem; }
}

@media (max-width: 720px) {
  :root { --header-height: 5.95rem; }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 1rem;
    grid-template-areas: "brand register" "nav nav";
    align-content: center;
    min-height: 0;
    padding-top: .35rem;
  }

  .header-inner .brand { grid-area: brand; max-width: 100%; }
  .header-inner .button { grid-area: register; }
  .primary-nav { grid-area: nav; justify-content: flex-start; column-gap: 1.5rem; }
  .primary-nav a { min-height: 2.75rem; }

  .hero { display: grid; }
  .hero-inner { grid-row: 1; min-height: 0; padding-block: 2.5rem 1.55rem; }
  .hero-copy { max-width: none; }
  h1 { font-size: clamp(2.75rem, 8.8vw, 4.65rem); margin-bottom: .95rem; }
  .hero-actions { margin-top: 1.1rem; }

  .hero-art {
    position: relative;
    inset: auto;
    grid-row: 2;
    aspect-ratio: 1.8;
    max-height: 22rem;
  }

  .hero-art img { object-position: 58% 49%; }
  .hero-art::after { background: linear-gradient(180deg, #192c23 0%, transparent 25%); }

  .registration { margin-top: -1.3rem; }
  .registration-desk { grid-template-columns: 1fr; }
  .registration-intro h2 { max-width: none; }
  .registration-actions { padding-block: 1rem; }
  .registration-actions .button { width: 100%; min-height: 3rem; }

  .process-heading, .faq-inner { grid-template-columns: 1fr; }
  .faq h2 { max-width: 16ch; }

  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { grid-template-columns: 2.15rem minmax(0, 1fr); gap: .9rem; padding-block: 1rem 1.35rem; padding-inline-end: 0; }
  .step::before { width: 1.7rem; }
  .step p { max-width: 54ch; }
  .step-number { margin: 0; }

  .journey--interactive { grid-template-columns: minmax(0, 1fr); }
  .journey-tab:last-child { border-bottom: 1px solid var(--line); }
  .journey-tab .arrow { transform: rotate(90deg); }
  .journey-tab[aria-selected="true"] .arrow { transform: translateY(.15em) rotate(90deg); }
  .journey--interactive .step-body { min-height: 13rem; }

  .footer-main { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .journey--interactive .step:not([hidden]) .step-body,
  .questions details[open] p {
    animation: reveal-detail .26s ease-out both;
  }

  @keyframes reveal-detail {
    from { transform: translateY(.24rem); }
    to { transform: translateY(0); }
  }

  @supports (animation-timeline: view()) and (animation-range: exit 0% exit 100%) {
    @media (min-width: 721px) {
      .journey:not(.journey--interactive) .steps {
        view-timeline-name: --recruitment-steps;
      }

      .journey:not(.journey--interactive) .steps::after {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--green);
        content: "";
        pointer-events: none;
        transform-origin: left;
        animation: step-rule linear both;
        animation-timeline: --recruitment-steps;
        animation-range: entry 20% contain 25%;
      }

      @keyframes step-rule {
        from { transform: scaleX(0); }
        to { transform: scaleX(1); }
      }
    }

    @media (min-width: 721px) {
      .hero { view-timeline-name: --hero-exit; }

      .hero-art img {
        animation: dossier-drift linear both;
        animation-timeline: --hero-exit;
        animation-range: exit 0% exit 100%;
      }

      @keyframes dossier-drift {
        from { transform: scale(1); }
        to { transform: scale(1.08); }
      }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
