:root {
  --ink: #102c3a;
  --ink-soft: #46616d;
  --blue-950: #003b56;
  --blue-900: #004e70;
  --blue-800: #00648f;
  --blue-700: #087da8;
  --blue-100: #e9f4f7;
  --orange: #c66a45;
  --orange-dark: #a74d2f;
  --cream: #f4f1ea;
  --sand: #e9e2d6;
  --white: #fff;
  --line: rgba(16, 44, 58, 0.15);
  --shadow-sm: 0 10px 32px rgba(10, 43, 58, 0.09);
  --shadow-lg: 0 24px 70px rgba(6, 39, 54, 0.18);
  --radius-sm: 0.4rem;
  --radius-md: 0.9rem;
  --radius-lg: 1.4rem;
  --container: 74rem;
  --header-height: 6.5rem;
  --font-sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
}

h1,
h2 {
  font-family: var(--font-display);
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  font-weight: 500;
  letter-spacing: -0.012em;
}

h1 {
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.45rem, 5vw, 4.65rem);
}

h3 {
  font-size: 1.7rem;
}

:focus-visible {
  outline: 3px solid #f3a22d;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--blue-950);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

.portfolio-return {
  position: fixed;
  z-index: 1100;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  left: calc(1rem + env(safe-area-inset-left, 0px));
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 0.2rem;
  padding: 0.62rem 0.85rem;
  color: var(--white);
  background: var(--blue-950);
  box-shadow: 0 8px 24px rgba(0, 24, 36, 0.2);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.portfolio-return span[aria-hidden="true"] {
  font-size: 1rem;
  line-height: 0;
}

.portfolio-return:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: var(--blue-900);
  box-shadow: 0 10px 28px rgba(0, 24, 36, 0.28);
  transform: translateY(-1px);
}

.portfolio-return:focus-visible {
  border-color: var(--white);
  box-shadow: 0 0 0 3px rgba(243, 162, 45, 0.28), 0 10px 28px rgba(0, 24, 36, 0.28);
}

@media (max-width: 34rem) {
  .portfolio-return {
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    left: calc(0.75rem + env(safe-area-inset-left, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-return {
    transition: none;
  }

  .portfolio-return:hover {
    transform: none;
  }
}

.container {
  width: min(calc(100% - 3rem), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(5.5rem, 9vw, 9rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.6rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.88);
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.75rem 1.45rem;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.075em;
  line-height: 1;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  color: var(--blue-900);
  background: var(--white);
  box-shadow: 0 6px 18px rgba(1, 38, 55, 0.11);
}

.button-light:hover {
  background: var(--cream);
  box-shadow: 0 10px 26px rgba(1, 38, 55, 0.16);
}

.button-accent {
  color: var(--white);
  background: var(--orange);
}

.button-accent:hover {
  background: var(--orange-dark);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.button-outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid currentColor;
  padding-block: 0.35rem;
  color: var(--blue-800);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(0.3rem);
}

.text-link-light {
  color: var(--white);
}

/* Header */

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  color: var(--white);
  transition:
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-scrolled {
  position: fixed;
  height: 5.25rem;
  background: rgba(0, 59, 86, 0.96);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 12rem;
}

.brand img {
  width: 100%;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.45vw, 1.65rem);
}

.primary-nav > a:not(.button) {
  position: relative;
  padding-block: 0.6rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.015em;
}

.primary-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav > a:not(.button):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.primary-nav > a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-external {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  opacity: 0.82;
}

.nav-external span {
  display: inline-block;
  transform-origin: center;
  transition: transform 220ms cubic-bezier(0.2, 0.78, 0.22, 1);
}

.nav-external:hover span,
.nav-external:focus-visible span {
  transform: translate(0.18rem, -0.18rem) rotate(7deg);
}

.nav-cta {
  min-height: 2.8rem;
  padding-inline: 1.25rem;
  font-size: 0.69rem;
}

.nav-toggle {
  display: none;
  width: 3.05rem;
  height: 2.7rem;
  border: 0;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0.34rem auto;
  border-radius: 999px;
  background: var(--white);
  transition:
    transform 180ms cubic-bezier(0.2, 0.78, 0.22, 1);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.34rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-0.34rem) rotate(-45deg);
}

.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.52);
}

/* Hero */

.hero {
  position: relative;
  display: grid;
  min-height: clamp(52rem, 100svh, 61rem);
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-950);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  transform: scale(1.015);
  animation: hero-reveal 1.1s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 33, 49, 0.9) 0%, rgba(0, 42, 60, 0.7) 44%, rgba(2, 31, 43, 0.16) 82%),
    linear-gradient(0deg, rgba(0, 28, 41, 0.5) 0%, transparent 53%, rgba(0, 26, 39, 0.48) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-height) + 5.75rem);
  padding-bottom: 5.75rem;
}

.hero-message {
  max-width: 50rem;
  text-shadow: 0 2px 22px rgba(0, 25, 37, 0.48);
}

.hero h1 {
  max-width: 14ch;
  margin-bottom: 1.6rem;
  color: var(--white);
  font-size: clamp(3.5rem, 6vw, 5.65rem);
  line-height: 1;
  text-wrap: balance;
}

.hero-copy {
  max-width: 33rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.55;
}

.job-search {
  display: grid;
  max-width: 64rem;
  grid-template-columns: minmax(15rem, 1.25fr) minmax(14rem, 1fr) auto;
  gap: 0.75rem;
  align-items: end;
  margin-top: 3.4rem;
  border-radius: var(--radius-lg);
  padding: 0.9rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}

.search-field label {
  display: block;
  margin-bottom: 0.35rem;
  padding-left: 0.8rem;
  color: var(--ink-soft);
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.075em;
  line-height: 1.2;
  text-transform: uppercase;
}

.input-wrap {
  position: relative;
}

.input-wrap svg {
  position: absolute;
  top: 50%;
  left: 0.9rem;
  width: 1.15rem;
  fill: none;
  stroke: var(--blue-700);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transform: translateY(-50%);
}

.input-wrap input {
  width: 100%;
  height: 3.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.8rem 1rem 0.8rem 2.8rem;
  outline: none;
  background: #f9fbfb;
  font-size: 0.95rem;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.input-wrap input::placeholder {
  color: #7c8e96;
}

.input-wrap input:focus {
  border-color: var(--blue-700);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(8, 125, 168, 0.12);
}

.search-submit {
  height: 3.65rem;
  white-space: nowrap;
  background: var(--blue-800);
  box-shadow: 0 8px 20px rgba(0, 78, 112, 0.18);
}

.search-submit:hover {
  background: var(--blue-950);
}

.search-suggestions {
  display: none;
  min-height: 2.5rem;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.76rem;
}

.search-suggestions > span {
  margin-right: 0.25rem;
  font-weight: 650;
}

.search-suggestions button {
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
}

.search-suggestions button:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.13);
}

.search-status {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.79rem;
}

.search-status:empty {
  display: none;
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  right: 2rem;
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-scroll svg {
  width: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  animation: scroll-cue 1.8s ease-in-out infinite;
}

@keyframes hero-reveal {
  from {
    opacity: 0;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1.015);
  }
}

@keyframes scroll-cue {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(0.35rem);
  }
}

/* Introduction */

.intro {
  background: var(--cream);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.75fr);
  gap: clamp(3rem, 10vw, 9rem);
  align-items: start;
}

.intro h2 {
  max-width: 12ch;
}

.intro-copy {
  padding-top: 3.2rem;
  color: var(--ink-soft);
}

.intro-copy > p {
  max-width: 37rem;
}

.intro-lead {
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.5;
}

.intro-copy .text-link {
  margin-top: 1.6rem;
}

/* Opportunity cards */

.opportunities {
  background: var(--white);
}

.section-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.55fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-top > p {
  max-width: 30rem;
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.opportunity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.opportunity-card {
  min-width: 0;
}

.opportunity-card > a {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition:
    transform 240ms ease,
    box-shadow 240ms ease;
}

.opportunity-card > a:hover {
  transform: translateY(-0.55rem);
  box-shadow: var(--shadow-lg);
}

.card-media {
  position: relative;
  aspect-ratio: 1.28 / 1;
  overflow: hidden;
  background: var(--sand);
}

.card-media::after {
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(2, 35, 49, 0.4));
  content: "";
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.opportunity-card > a:hover .card-media img {
  transform: scale(1.05);
}

.opportunity-card:nth-child(1) .card-media img {
  object-position: 50% 48%;
}

.opportunity-card:nth-child(2) .card-media img {
  object-position: 46% 50%;
}

.opportunity-card:nth-child(3) .card-media img {
  object-position: 50% 45%;
}

.card-content {
  padding: 1.6rem 1.65rem 1.75rem;
}

.card-kicker {
  margin-bottom: 0.5rem;
  color: var(--blue-700);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-content h3 {
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.card-content > p:not(.card-kicker) {
  min-height: 4.8rem;
  margin-bottom: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: var(--blue-800);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-link span {
  font-size: 1.2rem;
  transition: transform 180ms ease;
}

.opportunity-card > a:hover .card-link span {
  transform: translateX(0.25rem);
}

.opportunity-card.is-match > a {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

/* Locations */

.locations {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 5%, rgba(59, 158, 189, 0.34), transparent 32%),
    linear-gradient(135deg, var(--blue-950), var(--blue-800));
}

.locations::before {
  position: absolute;
  z-index: 3;
  top: -12rem;
  left: -12rem;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.locations-grid {
  position: relative;
  display: grid;
  min-height: 45rem;
  grid-template-columns: minmax(17rem, 0.68fr) minmax(28rem, 1.32fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
  padding-block: clamp(5.5rem, 8vw, 8rem);
}

.locations-copy {
  position: relative;
  z-index: 2;
}

.locations-copy::after {
  position: absolute;
  z-index: -1;
  top: -100vh;
  right: -4rem;
  bottom: -100vh;
  left: -2rem;
  background: linear-gradient(
    90deg,
    rgba(0, 59, 86, 0.97) 0%,
    rgba(0, 59, 86, 0.84) 62%,
    rgba(0, 59, 86, 0) 100%
  );
  box-shadow: -100vw 0 0 100vw rgba(0, 59, 86, 0.97);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.locations-grid.map-is-zoomed .locations-copy::after {
  opacity: 1;
}

.locations-intro h2 {
  margin-bottom: 1.5rem;
  color: var(--white);
}

.locations-intro > p:not(.eyebrow) {
  max-width: 30rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.02rem;
}

.location-detail {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  margin-bottom: 2.4rem;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.6rem 0 0.6rem 1.1rem;
}

.location-detail p {
  margin-bottom: 0;
}

.location-dot {
  width: 0.65rem;
  height: 0.65rem;
  margin-top: 0.4rem;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(198, 106, 69, 0.18);
}

.location-label {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.location-name {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.location-description {
  max-width: 27rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.85rem;
}

.map-wrap {
  --map-tooltip-scale: 0.77;
  position: relative;
  width: 100%;
  max-width: 52rem;
  aspect-ratio: 1009.5 / 525.733;
  justify-self: end;
  isolation: isolate;
  z-index: 1;
}

.map-wrap.is-zoomed {
  cursor: grab;
  touch-action: pan-y;
}

.map-wrap.is-dragging {
  cursor: grabbing;
}

.map-stage {
  position: absolute;
  inset: 0;
  transform-origin: 0 0;
  transition: transform 180ms cubic-bezier(0.2, 0.7, 0.2, 1);
  user-select: none;
  will-change: transform;
}

.map-wrap.is-dragging .map-stage {
  transition: none;
}

.world-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 35px rgba(0, 32, 46, 0.16));
}

.country-markers {
  position: absolute;
  z-index: 1;
  top: 30.8%;
  left: 22.8%;
  width: 38.8%;
  height: 42.9%;
}

.map-pin {
  position: absolute;
  z-index: 3;
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid var(--white);
  border-radius: 50%;
  padding: 0;
  background: var(--orange);
  box-shadow: 0 0 0 0.35rem rgba(198, 106, 69, 0.2);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.map-pin::before,
.map-pin::after {
  position: absolute;
  z-index: 4;
  left: 50%;
  pointer-events: none;
  opacity: 0;
  transform-origin: bottom center;
  transition:
    opacity 150ms ease,
    transform 150ms ease;
}

.map-pin::before {
  bottom: calc(100% + 0.75rem);
  width: max-content;
  max-width: 11rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-sm);
  padding: 0.36rem 0.55rem;
  color: var(--white);
  background: rgba(0, 59, 86, 0.96);
  box-shadow: 0 8px 22px rgba(0, 28, 41, 0.24);
  content: attr(data-tooltip);
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  transform: translate(-50%, 0.2rem) scale(var(--map-tooltip-scale));
  white-space: nowrap;
}

.map-pin::after {
  bottom: calc(100% + 0.48rem);
  border-top: 0.32rem solid rgba(0, 59, 86, 0.96);
  border-right: 0.3rem solid transparent;
  border-left: 0.3rem solid transparent;
  content: "";
  transform: translateX(-50%) scale(var(--map-tooltip-scale));
}

.map-pin:hover,
.map-pin:focus,
.map-pin.is-active {
  transform: scale(1.3);
  box-shadow: 0 0 0 0.55rem rgba(198, 106, 69, 0.23);
}

.map-pin:hover::before,
.map-pin:hover::after,
.map-pin:focus::before,
.map-pin:focus::after {
  opacity: 1;
}

.map-pin:hover::before,
.map-pin:focus::before {
  transform: translate(-50%, 0) scale(var(--map-tooltip-scale));
}

.pin-ukraine {
  top: 30%;
  left: 57%;
}

.pin-africa {
  top: 56%;
  left: 55%;
}

.pin-asia {
  top: 49%;
  left: 75%;
}

.map-controls {
  position: absolute;
  z-index: 6;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  width: 4.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 8px 24px rgba(0, 32, 46, 0.16);
}

.map-control {
  min-height: 2.4rem;
  border: 0;
  border-bottom: 1px solid rgba(0, 59, 86, 0.14);
  padding: 0;
  color: var(--blue-950);
  background: transparent;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
  transition:
    color 150ms ease,
    background-color 150ms ease,
    opacity 150ms ease;
}

.map-control:hover:not(:disabled) {
  color: var(--orange-dark);
  background: var(--cream);
}

.map-control:disabled {
  cursor: default;
  opacity: 0.38;
}

.map-control-reset {
  border-bottom: 0;
  font-size: 0.63rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.map-zoom-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 40rem) {
  .map-controls {
    top: 0.45rem;
    right: 0.45rem;
    grid-template-columns: 2rem 2rem 3.25rem;
    width: auto;
  }

  .map-control {
    min-height: 2rem;
    border-right: 1px solid rgba(0, 59, 86, 0.14);
    border-bottom: 0;
    font-size: 1.1rem;
  }

  .map-control-reset {
    border-right: 0;
    font-size: 0.52rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .map-stage {
    transition: none;
  }
}

/* Testimonials */

.voices {
  overflow: hidden;
  background: var(--cream);
}

.voices-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.slider-controls {
  display: flex;
  gap: 0.6rem;
}

.slider-controls button {
  display: inline-grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 1.25rem;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.slider-controls button:hover {
  border-color: var(--blue-800);
  color: var(--white);
  background: var(--blue-800);
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.testimonial {
  position: relative;
  display: flex;
  min-height: 22rem;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(1.7rem, 4vw, 2.75rem);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}

.quote-mark {
  position: absolute;
  top: 1.1rem;
  right: 1.7rem;
  color: rgba(8, 125, 168, 0.14);
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 1;
}

.testimonial blockquote {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  margin-bottom: 3rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.person {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.person img {
  width: 3.2rem;
  height: 3.2rem;
  flex: 0 0 auto;
  border: 2px solid var(--white);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  box-shadow: 0 0 0 1px var(--line);
}

.person cite {
  display: block;
  font-style: normal;
  font-weight: 750;
  line-height: 1.25;
}

.person p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.4;
}

@media (min-width: 50.001rem) {
  .slider-controls {
    display: none;
  }
}

/* Join and footer */

.join {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 255, 255, 0.1), transparent 28%),
    linear-gradient(135deg, #a94f31, #bd6847);
}

.join-pattern {
  position: absolute;
  top: -25rem;
  right: -5rem;
  width: 48rem;
  height: 48rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.join-pattern::before,
.join-pattern::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.join-pattern::before {
  inset: 5rem;
}

.join-pattern::after {
  inset: 10rem;
}

.join-inner {
  position: relative;
  display: flex;
  min-height: 23rem;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  padding-block: 5.5rem;
}

.join h2 {
  max-width: 12ch;
  color: var(--white);
}

.join-actions {
  display: flex;
  width: min(100%, 19rem);
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}

.join-actions .button,
.join-actions .text-link {
  width: 100%;
  justify-content: space-between;
}

.join-actions .text-link {
  padding: 0.8rem 0.25rem;
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: var(--blue-950);
}

.footer-top {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 5rem;
  align-items: start;
  padding-block: 5.5rem 4.5rem;
}

.footer-brand {
  display: flex;
  max-width: 18rem;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand img {
  width: 11.75rem;
  height: auto;
  object-fit: contain;
}

.footer-brand p {
  max-width: 15rem;
  margin: 1rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 0.8rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.64rem;
  letter-spacing: 0.09em;
  line-height: 1.55;
  text-transform: uppercase;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
}

.footer-nav div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-heading {
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-nav a {
  padding-block: 0.24rem;
  font-size: 0.86rem;
}

.footer-nav a:hover,
.legal-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3rem;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-block: 1.7rem;
  font-size: 0.69rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

.social-links,
.legal-links {
  display: flex;
  align-items: center;
}

.social-links {
  gap: 0.85rem;
}

.social-links a {
  display: grid;
  width: 1.3rem;
  height: 1.3rem;
  place-items: center;
  overflow: hidden;
}

.social-links img {
  width: 1.05rem;
  height: 1.05rem;
  object-fit: contain;
}

.legal-links {
  gap: 1.4rem;
}

/* Responsive */

@media (max-width: 68rem) {
  :root {
    --header-height: 5.7rem;
  }

  .site-header.is-scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .container {
    width: min(calc(100% - 2.25rem), var(--container));
  }

  .nav-toggle {
    position: relative;
    z-index: 32;
    display: block;
  }

  .primary-nav {
    position: fixed;
    z-index: 30;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.35rem;
    padding: 7rem 10vw 4rem;
    background:
      radial-gradient(circle at 80% 15%, rgba(60, 157, 188, 0.28), transparent 30%),
      var(--blue-950);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-1rem);
    transition:
      opacity 220ms ease,
      transform 220ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav > a:not(.button) {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    font-weight: 500;
  }

  .primary-nav .nav-external {
    margin-top: 1rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
  }

  .nav-cta {
    margin-top: 1.4rem;
  }

  .hero-content {
    padding-top: calc(var(--header-height) + 7rem);
  }

  .job-search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-submit {
    grid-column: 1 / -1;
  }

  .opportunity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .opportunity-card:nth-child(3) {
    grid-column: 1 / -1;
  }

  .opportunity-card:nth-child(3) > a {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(17rem, 0.9fr);
  }

  .opportunity-card:nth-child(3) .card-media {
    aspect-ratio: auto;
  }

  .locations-grid {
    grid-template-columns: minmax(16rem, 0.65fr) minmax(24rem, 1.35fr);
    gap: 2rem;
  }
}

@media (max-width: 50rem) {
  .section {
    padding-block: 5rem;
  }

  .hero {
    min-height: 54rem;
  }

  .hero-media img {
    object-position: 50% 50%;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(0, 32, 47, 0.9) 0%, rgba(0, 38, 55, 0.56) 72%, rgba(0, 28, 41, 0.58) 100%),
      linear-gradient(90deg, rgba(2, 46, 65, 0.68), rgba(2, 46, 65, 0.08));
  }

  .hero-scroll {
    display: none;
  }

  .hero-content {
    align-self: end;
    padding-top: 10rem;
    padding-bottom: 3.5rem;
  }

  .hero-message {
    max-width: 35rem;
    padding-left: 1rem;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 12vw, 5.4rem);
  }

  .job-search {
    grid-template-columns: 1fr;
    margin-top: 2.5rem;
    border-radius: var(--radius-md);
  }

  .search-submit {
    grid-column: auto;
  }

  .intro-grid,
  .section-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .intro-copy {
    padding-top: 0;
  }

  .opportunity-grid {
    grid-template-columns: 1fr;
  }

  .opportunity-card:nth-child(3) {
    grid-column: auto;
  }

  .opportunity-card:nth-child(3) > a {
    display: block;
  }

  .opportunity-card:nth-child(3) .card-media {
    aspect-ratio: 1.28 / 1;
  }

  .locations-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    row-gap: 2rem;
    padding-block: 5rem;
  }

  .locations-copy {
    display: contents;
    max-width: 36rem;
  }

  .locations-intro {
    order: 1;
  }

  .locations-intro > p:not(.eyebrow) {
    margin-bottom: 0;
  }

  .map-wrap {
    order: 2;
    width: 100%;
    overflow: hidden;
    margin-inline: 0;
    justify-self: center;
  }

  .locations-meta {
    order: 3;
  }

  .voices-heading {
    align-items: center;
  }

  .testimonial-track {
    display: flex;
    width: calc(100vw - 1.125rem);
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .testimonial-track::-webkit-scrollbar {
    display: none;
  }

  .testimonial {
    min-width: min(84vw, 32rem);
    scroll-snap-align: start;
  }

  .join-inner {
    min-height: 27rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2.7rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .footer-bottom p {
    order: 3;
  }
}

@media (max-width: 34rem) {
  .container {
    width: min(calc(100% - 1.5rem), var(--container));
  }

  .brand {
    width: 9.7rem;
  }

  .hero {
    min-height: 57rem;
  }

  .hero-content {
    padding-bottom: 2.5rem;
  }

  .hero h1 {
    font-size: 3.15rem;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .job-search {
    padding: 0.75rem;
  }

  .search-field label {
    padding-left: 0.5rem;
  }

  .input-wrap input,
  .search-submit {
    height: 3.4rem;
  }

  .search-suggestions {
    display: none;
  }

  .section-top {
    margin-bottom: 2.5rem;
  }

  .card-content > p:not(.card-kicker) {
    min-height: auto;
  }

  .map-wrap {
    margin-inline: 0;
  }

  .slider-controls button {
    width: 2.8rem;
    height: 2.8rem;
  }

  .testimonial {
    min-width: 88vw;
    min-height: 23rem;
  }

  .footer-nav {
    gap: 1.5rem;
  }

  .legal-links {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Interior pages */

.primary-nav > a[aria-current="page"]::after {
  transform: scaleX(1);
}

.subpage-hero {
  position: relative;
  display: grid;
  min-height: clamp(39rem, 82svh, 47rem);
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-950);
}

.subpage-hero-media,
.subpage-hero-overlay {
  position: absolute;
  inset: 0;
}

.subpage-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  animation: hero-reveal 1.1s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.offer-hero .subpage-hero-media img {
  object-position: center 48%;
}

.subpage-hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 33, 49, 0.86), rgba(0, 42, 60, 0.5) 52%, rgba(2, 31, 43, 0.16)),
    linear-gradient(0deg, rgba(0, 28, 41, 0.68), transparent 62%, rgba(0, 26, 39, 0.5));
}

.subpage-hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-height) + 5rem);
  padding-bottom: clamp(5.5rem, 9vw, 8rem);
}

.subpage-hero-content h1 {
  max-width: 11ch;
  margin-bottom: 1.25rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 8vw, 7.2rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.96;
}

.subpage-hero-content > p:last-child {
  max-width: 38rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.page-intro,
.offer-intro {
  background: var(--cream);
}

.page-intro h2,
.offer-intro h2 {
  max-width: 11ch;
}

.role-grid {
  display: grid;
  grid-template-columns: minmax(12rem, 0.42fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.role-symbol {
  display: grid;
  width: clamp(12rem, 20vw, 16rem);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff 0%, var(--blue-100) 72%);
  box-shadow: inset 0 0 0 1px rgba(0, 100, 143, 0.08);
}

.role-symbol img {
  width: 48%;
  height: 48%;
  object-fit: contain;
}

.role-copy {
  max-width: 52rem;
}

.role-copy h2 {
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.role-lead {
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.5;
}

.role-copy > p:not(.eyebrow) {
  max-width: 48rem;
  color: var(--ink-soft);
}

.role-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-block: 2.25rem;
}

.role-details > div {
  border-top: 2px solid var(--blue-700);
  padding-top: 1.25rem;
}

.role-details h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.role-details p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.role-copy > .text-link {
  margin-top: 1.75rem;
}

.role-section-blue {
  color: var(--white);
  background:
    radial-gradient(circle at 12% 30%, rgba(71, 168, 198, 0.26), transparent 26%),
    linear-gradient(135deg, var(--blue-950), var(--blue-800));
}

.role-section-blue .role-symbol {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.role-section-blue .role-symbol img {
  filter: brightness(0) invert(1);
}

.role-section-blue .role-copy h2,
.role-section-blue .role-copy > p:not(.eyebrow) {
  color: var(--white);
}

.role-section-blue .role-copy > p:not(.eyebrow) {
  opacity: 0.78;
}

.values {
  background: var(--cream);
}

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

.value-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 17rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition:
    border-color 320ms ease,
    box-shadow 320ms ease,
    transform 320ms ease;
}

.value-card::before {
  position: absolute;
  z-index: -1;
  inset: -45%;
  background: linear-gradient(
    115deg,
    transparent 22%,
    rgba(52, 158, 191, 0.08) 38%,
    rgba(52, 158, 191, 0.27) 52%,
    rgba(52, 158, 191, 0.1) 65%,
    transparent 80%
  );
  content: "";
  transform: translate3d(-68%, 28%, 0) rotate(-12deg);
  transition: transform 700ms cubic-bezier(0.2, 0.78, 0.22, 1);
}

.value-card:hover,
.value-card:focus-within {
  border-color: rgba(0, 100, 143, 0.28);
  box-shadow: 0 18px 42px rgba(10, 43, 58, 0.14);
  transform: translateY(-0.35rem);
}

.value-card:hover::before,
.value-card:focus-within::before {
  transform: translate3d(60%, -24%, 0) rotate(-12deg);
}

.value-icon {
  flex: 0 0 auto;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(0, 100, 143, 0.15);
  border-radius: 50%;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 24px rgba(0, 78, 112, 0.08);
}

.value-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
}

.value-card p {
  max-width: 31ch;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.offer-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(19rem, 0.7fr);
  gap: clamp(3rem, 10vw, 9rem);
}

.offer-intro-copy {
  padding-top: 3rem;
  color: var(--ink-soft);
}

.benefits {
  background: #f8fafb;
}

.benefits-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.44fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.benefits-aside {
  position: sticky;
  top: 8rem;
}

.benefits-aside h2 {
  max-width: 8ch;
  margin-bottom: 1.5rem;
}

.benefits-aside > p:not(.eyebrow) {
  max-width: 22rem;
  color: var(--ink-soft);
}

.benefits-aside .text-link {
  margin-top: 1.5rem;
}

.benefit-groups {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.benefit-group {
  border-top: 3px solid var(--blue-800);
  padding-top: 1.25rem;
}

.benefit-group-kicker {
  margin-bottom: 0.4rem;
  color: var(--blue-700);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.benefit-group > h3 {
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 500;
}

.benefit-item {
  border-top: 1px solid var(--line);
}

.benefit-item:last-child {
  border-bottom: 1px solid var(--line);
}

.benefit-item summary {
  position: relative;
  cursor: pointer;
  padding: 1.15rem 3rem 1.15rem 0;
  list-style: none;
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 750;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.benefit-item summary::-webkit-details-marker {
  display: none;
}

.benefit-item summary::after {
  position: absolute;
  top: 50%;
  right: 0.3rem;
  color: var(--blue-800);
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  transform: translateY(-50%);
  transition: transform 360ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.benefit-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.benefit-panel {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    height 420ms cubic-bezier(0.2, 0.75, 0.25, 1),
    opacity 280ms ease;
}

.benefit-item[open] .benefit-panel {
  opacity: 1;
}

.benefit-item.is-closing .benefit-panel {
  opacity: 0;
}

.benefit-item p {
  max-width: 48rem;
  margin-bottom: 0;
  padding: 0 3rem 1.5rem 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* Hiring tips */

.hiring-hero .subpage-hero-media img {
  object-position: center 44%;
}

.hiring-hero .subpage-hero-overlay {
  background:
    linear-gradient(0deg, rgba(0, 34, 49, 0.58), rgba(0, 34, 49, 0.04) 55%),
    linear-gradient(90deg, rgba(0, 31, 45, 0.4), rgba(0, 31, 45, 0.07) 48%, rgba(0, 31, 45, 0.3));
}

.hiring-hero-content {
  max-width: 48rem;
  align-items: center;
  margin-inline: auto;
  text-align: center;
  text-shadow: 0 3px 28px rgba(0, 23, 34, 0.72);
}

.hiring-hero-content .eyebrow {
  justify-content: center;
}

.hiring-hero-content h1,
.hiring-hero-content > p:last-child {
  max-width: none;
}

.hiring-intro {
  padding-bottom: 4rem;
}

.hiring-intro-inner {
  max-width: 54rem;
  text-align: center;
}

.hiring-intro-inner .eyebrow {
  justify-content: center;
}

.hiring-intro-inner h2 {
  margin-bottom: 1.5rem;
}

.hiring-intro-inner > p:last-child {
  max-width: 46rem;
  margin-inline: auto;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hiring-process {
  padding-top: 2rem;
  background: linear-gradient(180deg, var(--white), #f7fafb);
}

.hiring-timeline {
  --timeline-progress: 0px;
  position: relative;
  display: flex;
  max-width: 68rem;
  flex-direction: column;
  gap: 3.5rem;
}

.hiring-timeline::before {
  position: absolute;
  top: 1.9rem;
  bottom: 1.9rem;
  left: 50%;
  width: 2px;
  background: rgba(0, 100, 143, 0.16);
  content: "";
  transform: translateX(-50%);
}

.hiring-timeline::after {
  position: absolute;
  z-index: 1;
  top: 1.9rem;
  left: 50%;
  width: 2px;
  height: var(--timeline-progress);
  max-height: calc(100% - 3.8rem);
  background: linear-gradient(180deg, var(--blue-700), var(--blue-500));
  content: "";
  transform: translateX(-50%);
  transition: height 90ms linear;
}

.hiring-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.5rem minmax(0, 1fr);
  align-items: start;
}

.hiring-step-marker {
  position: relative;
  z-index: 2;
  display: grid;
  width: 3.8rem;
  height: 3.8rem;
  grid-column: 2;
  place-self: start center;
  place-items: center;
  border: 0.55rem solid #f7fafb;
  border-radius: 50%;
  color: var(--blue-800);
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(0, 100, 143, 0.2);
  transition:
    color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.hiring-step-marker span {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.hiring-step.is-reached .hiring-step-marker {
  color: var(--white);
  background: var(--blue-800);
  box-shadow:
    0 0 0 1px rgba(0, 100, 143, 0.35),
    0 0 0 0.35rem rgba(52, 158, 191, 0.12);
  transform: scale(1.06);
}

.hiring-step-card {
  position: relative;
  grid-column: 1;
  border: 1px solid rgba(0, 100, 143, 0.09);
  border-radius: var(--radius-md);
  padding: 2rem;
  background: var(--blue-100);
  box-shadow: var(--shadow-sm);
}

.hiring-step:nth-child(even) .hiring-step-card {
  grid-column: 3;
}

.step-label {
  margin-bottom: 0.6rem;
  color: var(--blue-700);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hiring-step-card h3,
.advice-card h3 {
  margin-bottom: 0.85rem;
  color: var(--blue-900);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
}

.hiring-step-card > p:not(.step-label),
.advice-card p,
.salary-note > p:last-child {
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.hiring-step-card .text-link {
  margin-top: 0.75rem;
}

.application-advice {
  background: var(--cream);
}

.advice-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.advice-heading {
  position: sticky;
  top: 8rem;
}

.advice-heading h2 {
  font-size: clamp(2.6rem, 4.5vw, 4.4rem);
}

.advice-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.advice-card,
.salary-note {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}

.advice-number {
  display: block;
  margin-bottom: 3rem;
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.salary-note {
  grid-column: 1 / -1;
  border-color: transparent;
  background: var(--blue-950);
}

.salary-note .step-label,
.salary-note > p:last-child {
  color: var(--white);
}

.salary-note > p:last-child {
  max-width: 48rem;
  margin-bottom: 0;
  opacity: 0.78;
}

.learning {
  display: grid;
  min-height: 38rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  background: var(--blue-100);
}

.learning-media {
  min-height: 32rem;
  overflow: hidden;
}

.learning-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.learning-copy {
  display: flex;
  max-width: 44rem;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 8vw, 8rem);
}

.learning-copy h2 {
  margin-bottom: 1.5rem;
}

.learning-copy > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.learning-copy .text-link {
  align-self: flex-start;
  margin-top: 1.5rem;
}

@media (max-width: 68rem) {
  .subpage-hero {
    min-height: 42rem;
  }

  .subpage-hero-content {
    padding-bottom: 5.5rem;
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefits-layout {
    grid-template-columns: minmax(14rem, 0.42fr) minmax(0, 1.1fr);
    gap: 3rem;
  }

  .learning-copy {
    padding: 4rem;
  }

  .advice-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .advice-heading {
    position: static;
    max-width: 42rem;
  }
}

@media (max-width: 50rem) {
  .subpage-hero {
    min-height: 38rem;
  }

  .subpage-hero-media img {
    object-position: 58% center;
  }

  .offer-hero .subpage-hero-media img {
    object-position: 53% center;
  }

  .subpage-hero-overlay {
    background:
      linear-gradient(0deg, rgba(0, 32, 47, 0.88), rgba(0, 38, 55, 0.36) 70%),
      linear-gradient(90deg, rgba(2, 46, 65, 0.6), transparent);
  }

  .subpage-hero-content {
    padding-bottom: 4rem;
  }

  .subpage-hero-content h1 {
    font-size: clamp(3.8rem, 16vw, 5.6rem);
  }

  .role-grid,
  .offer-intro-grid,
  .benefits-layout,
  .learning {
    grid-template-columns: 1fr;
  }

  .hiring-hero .subpage-hero-media img {
    object-position: 62% center;
  }

  .hiring-hero-content {
    align-items: flex-start;
    margin-inline: 0;
    text-align: left;
  }

  .hiring-hero-content .eyebrow {
    justify-content: flex-start;
  }

  .hiring-timeline {
    gap: 2rem;
  }

  .hiring-timeline::before,
  .hiring-timeline::after {
    left: 1.9rem;
    transform: none;
  }

  .hiring-step {
    grid-template-columns: 3.8rem minmax(0, 1fr);
    gap: 1.25rem;
  }

  .hiring-step-marker {
    grid-column: 1;
  }

  .hiring-step-card,
  .hiring-step:nth-child(even) .hiring-step-card {
    grid-column: 2;
  }

  .role-grid {
    gap: 2.5rem;
  }

  .role-symbol {
    width: 10rem;
  }

  .role-details {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: auto;
  }

  .value-icon {
    margin-bottom: 1.5rem;
  }

  .offer-intro-copy {
    padding-top: 0;
  }

  .benefits-aside {
    position: static;
  }

  .benefits-aside h2 {
    max-width: none;
  }

  .learning-media {
    min-height: 24rem;
  }

  .learning-copy {
    padding: 4rem 1.5rem;
  }
}

/* Editorial heroes: photography stays contained so it is never over-enlarged. */

.editorial-hero {
  min-height: clamp(34rem, 70svh, 41rem);
  background:
    radial-gradient(circle at 14% 18%, rgba(67, 164, 196, 0.2), transparent 29%),
    linear-gradient(135deg, var(--blue-950), #005779 70%, #006b91);
}

.editorial-hero .subpage-hero-media {
  z-index: 1;
  top: calc(var(--header-height) + 1.9rem);
  right: max(2rem, calc((100vw - var(--container)) / 2));
  bottom: 3.2rem;
  left: auto;
  width: min(42vw, 32rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 1.1rem;
  box-shadow: 0 24px 58px rgba(0, 24, 36, 0.34);
}

.editorial-hero .subpage-hero-media img,
.editorial-hero.offer-hero .subpage-hero-media img,
.editorial-hero.hiring-hero .subpage-hero-media img {
  object-position: center;
  transform: none;
  animation: editorial-image-reveal 720ms ease both;
}

.editorial-hero .subpage-hero-overlay,
.editorial-hero.hiring-hero .subpage-hero-overlay {
  z-index: 0;
  background:
    linear-gradient(115deg, transparent 0 46%, rgba(255, 255, 255, 0.055) 46% 46.2%, transparent 46.2%),
    linear-gradient(25deg, transparent 0 62%, rgba(255, 255, 255, 0.045) 62% 62.2%, transparent 62.2%);
}

.editorial-hero .subpage-hero-content,
.editorial-hero .hiring-hero-content {
  width: min(calc(100% - 4rem), var(--container));
  max-width: var(--container);
  margin-inline: auto;
  padding-top: calc(var(--header-height) + 5rem);
  padding-bottom: 6.3rem;
  text-align: left;
  text-shadow: none;
}

.editorial-hero .subpage-hero-content > * {
  max-width: min(43vw, 31rem);
}

.editorial-hero .subpage-hero-content .eyebrow {
  justify-content: flex-start;
}

.editorial-hero .subpage-hero-content h1 {
  max-width: 8ch;
  font-size: clamp(4rem, 7vw, 6.3rem);
}

.editorial-hero .subpage-hero-content > p:last-child {
  max-width: min(39vw, 29rem);
}

.editorial-hero .hero-scroll {
  display: none;
}

@keyframes editorial-image-reveal {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 50rem) {
  .editorial-hero {
    min-height: 44rem;
  }

  .editorial-hero .subpage-hero-media {
    top: auto;
    right: 0.75rem;
    bottom: 1.25rem;
    left: 0.75rem;
    width: auto;
    height: 14rem;
  }

  .editorial-hero .subpage-hero-content,
  .editorial-hero .hiring-hero-content {
    width: min(calc(100% - 2rem), var(--container));
    margin-inline: auto;
    padding-top: calc(var(--header-height) + 3.75rem);
    padding-bottom: 18.5rem;
  }

  .editorial-hero .subpage-hero-content > *,
  .editorial-hero .subpage-hero-content > p:last-child {
    max-width: 34rem;
  }

  .editorial-hero .subpage-hero-content h1 {
    font-size: clamp(3.6rem, 15vw, 5rem);
  }

  .editorial-hero .hero-scroll {
    display: none;
  }
}

@media (max-width: 34rem) {
  .subpage-hero.editorial-hero {
    min-height: 42rem;
  }

  .editorial-hero .subpage-hero-media {
    height: 12.5rem;
  }

  .editorial-hero .subpage-hero-content,
  .editorial-hero .hiring-hero-content {
    padding-bottom: 16.5rem;
  }
}

@media (max-width: 34rem) {
  .subpage-hero {
    min-height: 36rem;
  }

  .subpage-hero-content h1 {
    font-size: 3.9rem;
  }

  .role-symbol {
    width: 8.5rem;
  }

  .benefit-item summary {
    padding-right: 2.4rem;
  }

  .hiring-step {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.8rem;
  }

  .hiring-step-marker {
    width: 3rem;
    height: 3rem;
    border-width: 0.4rem;
  }

  .hiring-timeline::before,
  .hiring-timeline::after {
    left: 1.5rem;
  }

  .hiring-timeline::before {
    top: 1.5rem;
    bottom: 1.5rem;
  }

  .hiring-timeline::after {
    top: 1.5rem;
    max-height: calc(100% - 3rem);
  }

  .hiring-step-card,
  .advice-card,
  .salary-note {
    padding: 1.5rem;
  }

  .advice-cards {
    grid-template-columns: 1fr;
  }

  .salary-note {
    grid-column: 1;
  }

  .advice-number {
    margin-bottom: 2rem;
  }

  .learning-media {
    min-height: 19rem;
  }
}
