@font-face {
  font-family: "McCann Headline";
  src: url("assets/mccann/fonts/McCann-Headline_final.woff") format("woff");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/mccann/fonts/Inter-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/mccann/fonts/Inter-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/mccann/fonts/Inter-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #001647;
  --ink-dark: #00103a;
  --ink-light: #123a86;
  --black: #0a0a0a;
  --white: #ffffff;
  --signal: #e8482b;
  --positive: #1f8a5b;
  --gray-950: #0a0a0a;
  --gray-800: #262626;
  --gray-700: #3d3d3d;
  --gray-600: #5c5c5c;
  --gray-500: #7a7a7a;
  --gray-400: #a3a3a3;
  --gray-300: #c9c9c9;
  --gray-200: #e2e2e2;
  --gray-150: #ececec;
  --gray-100: #f4f4f4;
  --gray-050: #fafafa;
  --display: "McCann Headline", "Arial Narrow", sans-serif;
  --sans: "Inter", Arial, sans-serif;
  --nav-h: 74px;
  --page: clamp(20px, 4vw, 64px);
  --section: clamp(76px, 9vw, 128px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

a {
  color: inherit;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.8;
}

::selection {
  background: var(--signal);
  color: var(--white);
}

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

main section {
  scroll-margin-top: calc(var(--nav-h) + 18px);
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-180%);
}

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

.site-nav {
  position: sticky;
  z-index: 80;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  min-height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 var(--page);
  text-decoration: none;
}

.brand img {
  width: 112px;
  height: auto;
}

.brand span {
  padding-left: 13px;
  border-left: 1px solid var(--gray-300);
  color: var(--gray-600);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 3vw, 42px);
  padding: 0 32px;
}

.nav-links a {
  position: relative;
  color: var(--gray-600);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 120ms var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--black);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-action {
  display: grid;
  place-items: center;
  min-width: 164px;
  padding: 0 22px;
  background: var(--black);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 120ms var(--ease);
}

.nav-action:hover {
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  min-height: calc(100svh - var(--nav-h));
  background: var(--ink);
  color: var(--white);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(58px, 8vw, 112px) clamp(32px, 6vw, 94px) 46px var(--page);
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.1rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.9;
  text-transform: uppercase;
}

.hero h1 em {
  color: var(--signal);
  font-style: normal;
}

.hero-copy > p {
  max-width: 58ch;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.02rem, 1.35vw, 1.23rem);
  font-weight: 400;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  width: fit-content;
  min-height: 54px;
  padding: 0 20px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 120ms var(--ease), color 120ms var(--ease), transform 120ms var(--ease);
}

.button:active {
  transform: translateY(1px) scale(0.99);
}

.button svg {
  width: 23px;
  height: 23px;
}

.button--white {
  margin-top: 32px;
  background: var(--white);
  color: var(--black);
}

.button--white:hover {
  background: var(--gray-150);
}

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

.button--ink:hover {
  background: var(--black);
}

.hero-proof {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  padding-top: 48px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-job {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: clamp(30px, 5vw, 70px) var(--page) clamp(30px, 5vw, 70px) 0;
  background: var(--white);
  color: var(--black);
  clip-path: inset(0 0 0 0);
}

.has-js .featured-job {
  clip-path: inset(0 0 100% 0);
}

.has-js.is-ready .featured-job {
  clip-path: inset(0 0 0 0);
  transition: clip-path 620ms var(--ease);
}

.featured-meta,
.featured-facts,
.featured-open {
  flex-shrink: 0;
}

.featured-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px 24px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-600);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--black);
}

.live-mark i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 5px rgba(232, 72, 43, 0.12);
}

.featured-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 72px) clamp(26px, 4vw, 58px);
}

.featured-main h2 {
  max-width: 10ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 5.2vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-transform: uppercase;
}

.featured-main p {
  max-width: 48ch;
  margin: 25px 0 0;
  color: var(--gray-600);
  font-size: 0.96rem;
}

.featured-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid var(--gray-200);
}

.featured-facts div {
  min-width: 0;
  padding: 16px 18px;
  border-right: 1px solid var(--gray-200);
}

.featured-facts div:last-child {
  border-right: 0;
}

.featured-facts dt {
  color: var(--gray-600);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-facts dd {
  margin: 4px 0 0;
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 24px;
  border: 0;
  border-top: 1px solid var(--black);
  background: var(--signal);
  color: var(--black);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 120ms var(--ease);
}

.featured-open:hover {
  background: #d83d22;
}

.featured-open svg {
  width: 24px;
  height: 24px;
}

.jobs-section {
  padding: var(--section) var(--page);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 26px;
  border-bottom: 3px solid var(--black);
}

.section-head h2,
.process-intro h2,
.application-intro h2 {
  max-width: 14ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 6vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-transform: uppercase;
}

.section-head p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.84rem;
}

.section-head strong {
  color: var(--black);
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 400;
}

.job-tools {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  align-items: end;
  gap: 36px;
  padding: 32px 0;
  border-bottom: 1px solid var(--gray-200);
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.search-field > span:first-child,
.application-form > label,
.field-grid label {
  color: var(--gray-600);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-box {
  position: relative;
  display: block;
}

.search-box svg {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 21px;
  height: 21px;
  color: var(--gray-600);
  transform: translateY(-50%);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px 0 48px;
  border: 1px solid var(--gray-300);
  border-radius: 3px;
  background: var(--white);
  color: var(--black);
}

.search-box input::placeholder,
.application-form input::placeholder,
.application-form textarea::placeholder {
  color: var(--gray-600);
  opacity: 1;
}

.search-box input:focus,
.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
  border-color: var(--ink);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  background: var(--white);
  color: var(--gray-600);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 120ms var(--ease), background-color 120ms var(--ease), color 120ms var(--ease);
}

.filter-button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.job-ledger {
  border-bottom: 1px solid var(--black);
}

.job-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) minmax(300px, 2fr) minmax(240px, 1fr) 56px;
  align-items: stretch;
  min-height: 152px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
  transition: background-color 180ms var(--ease), color 180ms var(--ease);
}

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

.job-row:hover,
.job-row:focus-within {
  background: var(--gray-050);
}

.job-area,
.job-copy,
.job-facts,
.job-open {
  min-width: 0;
  padding: 24px;
}

.job-area {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--gray-600);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.job-area i {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--signal);
}

.job-copy {
  border-left: 1px solid var(--gray-200);
}

.job-copy h3 {
  max-width: 16ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.1rem, 3vw, 3.3rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 0.95;
  text-transform: uppercase;
}

.job-copy p {
  max-width: 64ch;
  margin: 13px 0 0;
  color: var(--gray-600);
  font-size: 0.84rem;
}

.job-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  border-left: 1px solid var(--gray-200);
}

.job-facts dt {
  color: var(--gray-600);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.job-facts dd {
  margin: 5px 0 0;
  font-size: 0.76rem;
  font-weight: 700;
}

.job-open {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--gray-200);
  background: transparent;
  cursor: pointer;
}

.job-open svg {
  width: 24px;
  height: 24px;
  transition: transform 180ms var(--ease);
}

.job-row:hover .job-open svg,
.job-open:focus-visible svg {
  transform: translate(3px, -3px);
}

.empty-state {
  padding: 72px 24px;
  border-bottom: 1px solid var(--black);
  text-align: center;
}

.empty-state h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.empty-state p {
  margin: 15px auto 0;
  color: var(--gray-600);
}

.text-button {
  padding: 10px 0;
  border: 0;
  border-bottom: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.empty-state .text-button {
  margin-top: 20px;
}

.process-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(50px, 8vw, 120px);
  padding: var(--section) var(--page);
  background: var(--black);
  color: var(--white);
}

.process-intro h2 {
  color: var(--white);
}

.process-intro p {
  max-width: 56ch;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.04rem;
}

.process-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  list-style: none;
}

.process-steps li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  padding: 27px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.process-steps span {
  font-family: var(--display);
  font-size: 2.1rem;
  line-height: 1;
  text-transform: uppercase;
}

.process-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}

.application-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
  gap: clamp(52px, 9vw, 136px);
  padding: var(--section) var(--page);
  background: var(--gray-050);
}

.application-intro h2 {
  max-width: 11ch;
}

.application-intro > p {
  max-width: 54ch;
  margin: 28px 0 0;
  color: var(--gray-600);
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-300);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.privacy-note svg {
  width: 21px;
  height: 21px;
}

.application-form {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 4vw, 52px);
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.application-form > label,
.field-grid label {
  display: block;
  margin-bottom: 8px;
}

.application-form > label:not(:first-child) {
  margin-top: 22px;
}

.application-form input,
.application-form select,
.application-form textarea {
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: 3px;
  background: var(--white);
  color: var(--black);
}

.application-form input,
.application-form select {
  min-height: 54px;
  padding: 0 14px;
}

.application-form textarea {
  min-height: 140px;
  padding: 14px;
  resize: vertical;
}

.application-form [aria-invalid="true"] {
  border-color: var(--signal);
  box-shadow: 0 0 0 1px var(--signal);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.form-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 8px;
  color: var(--gray-600);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.form-message {
  min-height: 24px;
  margin-top: 18px;
  color: var(--gray-600);
  font-size: 0.78rem;
  font-weight: 700;
}

.form-message.is-error {
  color: #aa2c19;
}

.form-message.is-success {
  color: var(--positive);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 6px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 56px;
  padding: 62px var(--page) 34px;
  background: var(--ink);
  color: var(--white);
}

.site-footer img {
  width: 150px;
}

.site-footer > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.site-footer strong {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 400;
  text-transform: uppercase;
}

.site-footer span,
.site-footer a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.74rem;
}

.site-footer a {
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

.job-dialog {
  width: min(1180px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: var(--white);
  color: var(--black);
  box-shadow: 0 16px 48px rgba(0, 16, 58, 0.18);
}

.job-dialog::backdrop {
  background: rgba(0, 10, 35, 0.78);
}

.job-dialog[open] {
  animation: dialog-in 220ms var(--ease);
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(18px); }
}

.dialog-shell {
  min-height: 100%;
}

.dialog-header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding-left: 28px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--gray-200);
}

.dialog-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.dialog-brand img {
  width: 96px;
}

.dialog-brand span {
  padding-left: 13px;
  border-left: 1px solid var(--gray-300);
  color: var(--gray-600);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dialog-close {
  display: grid;
  place-items: center;
  align-self: stretch;
  width: 68px;
  border: 0;
  border-left: 1px solid var(--gray-200);
  background: var(--white);
  cursor: pointer;
}

.dialog-close:hover {
  background: var(--gray-100);
}

.dialog-close svg {
  width: 25px;
  height: 25px;
}

.dialog-content {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
}

.dialog-hero {
  position: sticky;
  top: 68px;
  display: flex;
  flex-direction: column;
  align-self: start;
  min-height: calc(min(100dvh - 108px, 900px) - 68px);
  padding: clamp(34px, 5vw, 68px);
  background: var(--ink);
  color: var(--white);
}

.dialog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dialog-meta span {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dialog-hero h2 {
  max-width: 10ch;
  margin: auto 0 0;
  font-family: var(--display);
  font-size: clamp(3rem, 4.6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.9;
  text-transform: uppercase;
}

.dialog-hero p {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.dialog-body {
  padding: clamp(34px, 5vw, 72px);
}

.dialog-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
}

.dialog-facts div {
  padding: 15px 12px 15px 0;
}

.dialog-facts div + div {
  padding-left: 15px;
  border-left: 1px solid var(--gray-300);
}

.dialog-facts dt,
.dialog-columns h3,
.challenge-block span {
  color: var(--gray-600);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dialog-facts dd {
  margin: 4px 0 0;
  font-size: 0.8rem;
  font-weight: 700;
}

.dialog-summary {
  max-width: 56ch;
  margin: 42px 0 0;
  font-size: clamp(1.22rem, 2vw, 1.6rem);
  font-weight: 400;
  line-height: 1.35;
}

.dialog-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid var(--gray-300);
}

.dialog-columns h3 {
  margin: 0;
  font-family: var(--sans);
}

.dialog-columns ul {
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.dialog-columns li {
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-size: 0.84rem;
}

.challenge-block {
  margin: 52px 0 32px;
  padding: 24px;
  background: var(--signal);
  color: var(--black);
}

.challenge-block span {
  color: var(--black);
}

.challenge-block p {
  margin: 10px 0 0;
  font-weight: 700;
}

.team-context {
  margin: 0 0 34px;
  padding: 34px 0;
  border-top: 3px solid var(--black);
  border-bottom: 1px solid var(--gray-300);
}

.team-context[hidden] {
  display: none;
}

.team-context h3 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.94;
  text-transform: uppercase;
}

.team-context > p {
  max-width: 58ch;
  margin: 18px 0 0;
  color: var(--gray-600);
}

.team-loop {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
  list-style: none;
}

.team-loop li {
  position: relative;
  min-height: 82px;
  padding: 14px 30px 14px 12px;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.team-loop li::after {
  position: absolute;
  top: 50%;
  right: 10px;
  color: var(--signal);
  content: "→";
  font-size: 1.1rem;
  transform: translateY(-50%);
}

.team-loop li:last-child::after {
  content: "↗";
}

.team-cadence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 26px 0 0;
  border-top: 1px solid var(--gray-300);
}

.team-cadence div {
  padding: 14px 12px 0 0;
}

.team-cadence div + div {
  padding-left: 14px;
  border-left: 1px solid var(--gray-300);
}

.team-cadence dt {
  color: var(--gray-600);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-cadence dd {
  margin: 5px 0 0;
  font-weight: 700;
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: calc(100svh - var(--nav-h));
  }

  .featured-job {
    min-height: 640px;
    margin: 0 var(--page) var(--page);
  }

  .job-row {
    grid-template-columns: 120px 1fr 210px 56px;
  }

  .process-section,
  .application-section {
    grid-template-columns: 1fr;
  }

  .application-section {
    gap: 48px;
  }
}

@media (max-width: 820px) {
  :root {
    --nav-h: 66px;
  }

  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .brand {
    padding-left: 20px;
  }

  .brand img {
    width: 96px;
  }

  .brand span,
  .nav-links {
    display: none;
  }

  .nav-action {
    min-width: 128px;
    padding: 0 15px;
    font-size: 0.7rem;
  }

  .hero-copy {
    padding-right: var(--page);
  }

  .hero h1 {
    font-size: clamp(3.65rem, 16vw, 5.35rem);
  }

  .hero-proof {
    padding-top: 54px;
  }

  .featured-job {
    min-height: 590px;
  }

  .job-tools {
    grid-template-columns: 1fr;
  }

  .filters {
    justify-content: flex-start;
  }

  .job-row {
    grid-template-columns: 1fr 56px;
    min-height: 0;
  }

  .job-area {
    grid-column: 1;
    padding-bottom: 8px;
  }

  .job-copy {
    grid-column: 1;
    padding-top: 8px;
    border-left: 0;
  }

  .job-facts {
    grid-column: 1;
    padding-top: 0;
    border-left: 0;
  }

  .job-open {
    grid-column: 2;
    grid-row: 1 / 4;
  }

  .process-section {
    gap: 52px;
  }

  .dialog-content {
    grid-template-columns: 1fr;
  }

  .dialog-hero {
    position: relative;
    top: 0;
    min-height: 560px;
  }

  .dialog-hero h2 {
    margin-top: auto;
  }
}

@media (max-width: 580px) {
  .button {
    width: 100%;
  }

  .hero-copy {
    min-height: calc(100svh - var(--nav-h));
    padding-top: 52px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 18vw, 4.85rem);
  }

  .featured-job {
    min-height: 560px;
    margin-right: 0;
    margin-left: 0;
  }

  .featured-main h2 {
    font-size: clamp(3rem, 15vw, 4.25rem);
  }

  .featured-facts {
    grid-template-columns: 1fr;
  }

  .featured-facts div {
    padding: 12px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--gray-200);
  }

  .featured-facts div:last-child {
    border-bottom: 0;
  }

  .featured-facts dd {
    overflow: visible;
    white-space: normal;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .section-head h2,
  .process-intro h2,
  .application-intro h2 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .job-row {
    grid-template-columns: 1fr 48px;
  }

  .job-area,
  .job-copy,
  .job-facts {
    padding-right: 16px;
    padding-left: 16px;
  }

  .job-copy h3 {
    font-size: 2.35rem;
  }

  .job-facts {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .process-steps li {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .field-grid,
  .dialog-facts,
  .dialog-columns {
    grid-template-columns: 1fr;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .text-button {
    align-self: flex-start;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 32px;
  }

  .job-dialog {
    width: 100%;
    max-height: 100dvh;
    border-radius: 0;
  }

  .dialog-header {
    min-height: 62px;
    padding-left: 20px;
  }

  .dialog-close {
    width: 62px;
  }

  .dialog-hero {
    min-height: calc(100dvh - 62px);
    padding: 32px 22px;
  }

  .dialog-hero h2 {
    font-size: clamp(2.8rem, 14.5vw, 4.2rem);
  }

  .dialog-body {
    padding: 38px 22px 60px;
  }

  .dialog-facts div + div {
    padding-left: 0;
    border-top: 1px solid var(--gray-300);
    border-left: 0;
  }

  .dialog-columns {
    gap: 34px;
  }

  .team-loop {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-cadence {
    grid-template-columns: 1fr;
  }

  .team-cadence div + div {
    padding-left: 0;
    border-left: 0;
  }
}

@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;
  }

  .has-js .featured-job {
    clip-path: inset(0 0 0 0);
  }
}
