@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #111111;
  --blue: #00b4ec;
  --blue-hover: #30c3f1;
  --ice: #e1f6ff;
  --paper: #ffffff;
  --line: #d7dfe2;
  --focus: #007299;
  --header-height: 82px;
  --width: 1264px;
  --gutter: clamp(20px, 5.5vw, 80px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-offset, var(--header-height)) + 14px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.7 Montserrat, Arial, sans-serif;
}

a { color: inherit; }
a[data-lien]:not([href]) { cursor: default; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
p, figure { margin: 0; }

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

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

.section { padding-block: clamp(72px, 8.6vw, 132px); }

.skip-link {
  position: fixed;
  z-index: 10;
  inset: 8px auto auto 8px;
  transform: translateY(-150%);
  padding: 8px 14px;
  background: var(--paper);
}

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

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

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(14px, 1.9vw, 24px);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  justify-self: start;
  text-decoration: none;
  line-height: 1.15;
}

.header-inner .wordmark { overflow-wrap: anywhere; }
.wordmark span { font-size: 1.13rem; font-weight: 700; letter-spacing: -.05em; }
.wordmark small { font-size: .69rem; }

.nav-toggle {
  display: none;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding-inline: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  font: 700 .82rem/1.2 Montserrat, Arial, sans-serif;
  cursor: pointer;
}

.nav-toggle-icon {
  position: relative;
  width: 17px;
  height: 2px;
  background: currentColor;
}

.nav-toggle-icon::before, .nav-toggle-icon::after {
  position: absolute;
  inset-inline: 0;
  height: 2px;
  background: currentColor;
  content: "";
}

.nav-toggle-icon::before { top: -5px; }
.nav-toggle-icon::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { top: 0; transform: rotate(-45deg); }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.65vw, 30px);
}

.main-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-decoration: none;
  text-underline-offset: .4em;
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a:hover, .main-nav a[aria-current] {
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-decoration-thickness: 3px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 54px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: var(--blue);
  color: var(--ink);
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 140ms ease;
}

.button:hover { background: var(--blue-hover); }
.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}

.header-actions .button {
  min-height: 43px;
  padding: 8px 11px;
  gap: 8px;
  font-size: .82rem;
  text-align: center;
}

.header-profile { border-color: var(--line); background: var(--paper); }
.header-profile:hover { background: var(--paper); }
.header-profile[href]:hover { border-color: var(--focus); }
.header-profile:not([href]) { color: #485862; }

.social-links {
  display: flex;
  gap: 4px;
}

.social-links a {
  display: grid;
  width: 42px;
  min-height: 43px;
  place-items: center;
  text-decoration: none;
}

.social-links a[hidden] { display: none; }
.social-links a:not([href]) img { opacity: .6; }
.social-links img { width: 18px; height: 18px; }
.arrow { display: inline-block; font: 700 1.13em/1 Arial, sans-serif; }

.text-link {
  display: inline;
  font-size: .88rem;
  font-weight: 700;
  text-decoration-color: currentColor;
  text-underline-offset: .28em;
  text-decoration-thickness: 1px;
  line-height: 1.5;
}

.text-link:hover { text-decoration-thickness: 2px; }
.text-link .arrow { margin-inline-start: .3em; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  min-height: 535px;
  margin-block-end: clamp(36px, 6vw, 80px);
  overflow: hidden;
  background: var(--ice);
  border-radius: 8px;
}

.hero-copy {
  align-self: center;
  padding: clamp(36px, 4.2vw, 66px) clamp(23px, 3.2vw, 52px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
  font-size: .69rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .125em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  flex: none;
  background: var(--blue);
}

h1, h2, h3 { margin: 0; font-weight: 700; }
h1, h2 { line-height: 1.04; letter-spacing: -.065em; }
h1 { font-size: clamp(2.55rem, 4.45vw, 4.5rem); }
h2 { font-size: clamp(2.35rem, 4.2vw, 4.25rem); }
h3 { font-size: clamp(1.15rem, 1.65vw, 1.45rem); line-height: 1.25; letter-spacing: -.045em; }
.period { color: var(--blue); }

.hero-copy > p:not(.eyebrow) {
  max-width: 39ch;
  margin: 24px 0 28px;
  font-size: clamp(.95rem, 1.23vw, 1.13rem);
}

.hero-visual { position: relative; min-height: 100%; }

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% center;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(38px, 8vw, 138px);
  padding-block: clamp(34px, 5.5vw, 82px);
}

.about-visual {
  position: relative;
  isolation: isolate;
  max-width: 480px;
  margin: 0 20px 20px 0;
}

.about-visual::after {
  position: absolute;
  z-index: -1;
  inset: 18px -18px -18px 18px;
  border-radius: 5px;
  background: var(--blue);
  content: "";
}

.portrait-frame {
  overflow: hidden;
  isolation: isolate;
  border-radius: 5px;
  background: #f6f7f8;
}

.about-visual img {
  height: clamp(300px, 32vw, 435px);
  border-radius: 5px;
  background: var(--paper);
  object-fit: cover;
  object-position: 50% 0%;
  mix-blend-mode: multiply;
}

.about-visual figcaption {
  position: absolute;
  inset: auto 12px 12px auto;
  padding: 4px 9px;
  border-radius: 4px;
  background: var(--paper);
  font-size: .72rem;
}

.about-text > p { max-width: 54ch; margin-top: 20px; }
.about-location { font-size: .86rem; font-weight: 700; }

.recruitment { background: var(--ice); }
.recruitment-intro { padding-block: clamp(34px, 5.4vw, 76px); }

.questions {
  display: grid;
  grid-template-columns: minmax(250px, .68fr) minmax(0, 1.32fr);
  align-items: start;
  gap: clamp(30px, 5vw, 72px);
  padding-block: clamp(38px, 6vw, 88px);
}

.questions-intro h1 { margin-bottom: 22px; }
.faq-nav { margin-bottom: 16px; }
.faq-nav h2 {
  margin-bottom: 4px;
  color: #485862;
  font-size: .84rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.faq-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-menu a {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding-block: 6px;
  font-size: .94rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  text-underline-offset: .2em;
}

.faq-menu a:hover, .faq-menu a:focus-visible { text-decoration: underline; }

.faq-group + .faq-group { margin-top: clamp(36px, 5vw, 64px); }
.faq-group h2 {
  margin-bottom: 14px;
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -.035em;
}

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }

.accordion summary {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 12px;
  list-style: none;
  cursor: pointer;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.5;
}

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

.accordion summary::after {
  width: 1em;
  flex: none;
  color: var(--focus);
  font: 400 1.25rem/1 Arial, sans-serif;
  text-align: center;
  content: "+" / "";
}

.accordion details[open] summary::after { content: "−" / ""; }
.answer {
  max-width: 65ch;
  padding: 0 34px 16px 0;
  font-size: .95rem;
  overflow-wrap: anywhere;
}
.answer p { margin-bottom: 8px; white-space: pre-line; }
.answer p:last-child { margin-bottom: 0; }

.recruit-content { padding-block: clamp(48px, 6vw, 90px); }
.recruit-content h2 { font-size: clamp(1.9rem, 3.6vw, 3.4rem); }
.recruit-content > p, .recruit-feature-video > div:first-child p {
  margin-top: 14px;
  max-width: 65ch;
}

.recruit-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 26px 0 0;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  list-style: none;
}

.recruit-stats strong, .recruit-stats span { display: block; }
.recruit-stats strong {
  margin-bottom: 5px;
  color: var(--focus);
  font-size: clamp(1.65rem, 4vw, 3.4rem);
  letter-spacing: -.045em;
  line-height: 1.15;
}

.recruit-feature-video {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 22px clamp(24px, 4vw, 58px);
}

.video-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  min-height: 200px;
  overflow: hidden;
  border-radius: 6px;
  background: #121c24;
  color: var(--paper);
}

.video-stage::before {
  grid-area: 1 / 1;
  aspect-ratio: 16 / 9;
  content: "";
}

.video-stage iframe, .video-placeholder { grid-area: 1 / 1; }
.video-stage iframe { width: 100%; height: 100%; min-height: 200px; border: 0; }

.video-placeholder {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 16px;
  text-align: center;
  font-size: .8rem;
}

.video-stage [hidden], .video-actions [hidden] { display: none; }
.video-play { font-size: 1.6rem; line-height: 1; }
.video-placeholder button { min-height: 42px; margin-top: 10px; padding-block: 8px; cursor: pointer; }
.video-placeholder :focus-visible { outline-color: var(--paper); }

.video-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 10px; }
.video-actions button { padding: 0; border: 0; background: transparent; color: inherit; font-family: inherit; cursor: pointer; }

.recruit-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 0;
}

.recruit-cards article {
  padding: clamp(16px, 2.1vw, 26px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.recruit-cards p, .team-cards p { margin-top: 8px; font-size: .9rem; }

.commission-diagrams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.commission-path {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 16px clamp(12px, 1.5vw, 20px);
  border: 1px solid var(--focus);
  border-radius: 10px;
  background: var(--paper);
  color: var(--focus);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.commission-heading, .commission-sponsor h3 {
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  letter-spacing: -.025em;
}

.commission-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-align: left;
}

.commission-number {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--focus);
  color: var(--paper);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
}

.commission-steps {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.commission-steps > li:first-child {
  max-width: 31ch;
  margin-inline: auto;
  text-wrap: pretty;
}

.commission-steps > li + li:not(.commission-branch)::before {
  display: block;
  width: 1px;
  height: 16px;
  margin: 4px auto;
  background: var(--focus);
  content: "";
}

.commission-steps > li:last-child:not(.commission-branch) {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding-bottom: 7px;
}

.commission-steps > li:last-child:not(.commission-branch)::before { flex: 1 0 16px; }

.commission-ribbon {
  display: inline-block;
  max-width: 100%;
  margin-top: 4px;
  padding: 5px 9px;
  background: #c74d0c;
  color: var(--paper);
  font-size: .83rem;
  line-height: 1.15;
  transform: rotate(-2deg);
}

.commission-shared-rate {
  display: grid;
  justify-items: center;
}

.commission-steps > .commission-branch {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(16px, 1fr) auto;
}

.commission-branch > div {
  display: grid;
  grid-row: 2;
  grid-template-rows: 1fr auto;
  justify-items: center;
  min-width: 0;
  margin-inline: 4px;
  padding: 4px 2px 7px;
  font-size: .875rem;
  overflow-wrap: anywhere;
}

.commission-branch p {
  align-self: end;
  text-wrap: balance;
}

.commission-branch .commission-ribbon { margin-top: 3px; }

.commission-branch::before, .commission-branch::after {
  grid-area: 1 / 1 / 2 / -1;
  content: "";
}

.commission-branch::before {
  justify-self: center;
  width: 1px;
  margin-block: -1px 7px;
  background: var(--focus);
}

.commission-branch::after {
  align-self: end;
  height: 8px;
  margin-inline: calc(25% - .5px);
  border: 1px solid var(--focus);
  border-bottom: 0;
}

.commission-sponsor {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.commission-sponsor > div:last-child { text-align: center; }
.commission-sponsor p { margin-top: 4px; }

@media (max-width: 960px) {
  .commission-diagrams { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commission-sponsor {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    align-content: center;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .commission-diagrams { grid-template-columns: minmax(0, 1fr); }
}

.training-panels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-inline: auto;
  color: var(--paper);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.training-panels article {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 390px;
  padding: 24px clamp(20px, 1.7vw, 32px) 24px;
  background: #039ac6;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.24;
}

.training-panels .training-panel-dark { background: #014778; }
.training-panels .training-panel-red { background: #f64c42; }

.training-icon {
  width: 116px;
  height: 86px;
  object-fit: contain;
  opacity: .95;
}

.training-panels h3 {
  margin-top: 14px;
  font-size: clamp(1.4rem, 2.1vw, 1.6rem);
  line-height: 1.08;
  text-align: center;
}

.training-panels p { text-align: center; }

.training-panels ul {
  align-self: stretch;
  margin: 24px 0 0;
  padding-inline-start: 22px;
}

.training-panels li + li { margin-top: 14px; }

.training-access {
  margin: 22px auto 12px;
  padding: 8px 20px;
  border-radius: 999px;
  background: #f64c42;
  transform: rotate(-7deg);
}

@media (max-width: 1100px) {
  .training-panels {
    width: min(920px, calc(100% - 32px));
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .training-panels { width: min(720px, calc(100% - 32px)); }
  .training-panels article { min-height: 0; }
}

@media (max-width: 640px) {
  .training-panels {
    width: calc(100% - 24px);
    grid-template-columns: minmax(0, 1fr);
  }
}

.recruit-team {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #dff3fb;
}

.recruit-team::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(14, 158, 208, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(247, 252, 255, 0.67), rgba(215, 239, 249, 0.77));
}

.team-collage {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.team-collage-track {
  display: flex;
  width: max-content;
  height: 100%;
}

.team-photo-group {
  position: relative;
  flex: 0 0 clamp(1900px, 180vw, 2900px);
  width: clamp(1900px, 180vw, 2900px);
  height: 100%;
}

.team-collage img {
  position: absolute;
  top: var(--photo-y);
  left: var(--photo-x);
  width: clamp(250px, 23vw, 380px);
  height: clamp(190px, 26vh, 290px);
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(0, 111, 153, 0.12),
    0 18px 45px rgba(0, 54, 79, 0.22);
  filter: saturate(0.94) contrast(0.98);
  transform: rotate(var(--photo-angle));
}

.team-collage img:nth-child(3n) {
  width: clamp(220px, 19vw, 320px);
  height: clamp(250px, 34vh, 370px);
}

.team-collage img:nth-child(4n) {
  width: clamp(300px, 28vw, 460px);
  height: clamp(180px, 23vh, 260px);
}

.team-collage img:nth-child(5n) {
  width: clamp(230px, 21vw, 340px);
  height: clamp(230px, 29vh, 330px);
}

.team-collage img:nth-child(1)  { --photo-x: -2%;   --photo-y: 6%;  --photo-angle: -4deg; }
.team-collage img:nth-child(2)  { --photo-x: 3.5%;  --photo-y: 48%; --photo-angle: 2.5deg; }
.team-collage img:nth-child(3)  { --photo-x: 9%;    --photo-y: 19%; --photo-angle: -1.5deg; }
.team-collage img:nth-child(4)  { --photo-x: 14.5%; --photo-y: 66%; --photo-angle: 4deg; }
.team-collage img:nth-child(5)  { --photo-x: 20%;   --photo-y: 2%;  --photo-angle: 2deg; }
.team-collage img:nth-child(6)  { --photo-x: 25.5%; --photo-y: 43%; --photo-angle: -3deg; }
.team-collage img:nth-child(7)  { --photo-x: 31%;   --photo-y: 14%; --photo-angle: 4.5deg; }
.team-collage img:nth-child(8)  { --photo-x: 36.5%; --photo-y: 61%; --photo-angle: -2deg; }
.team-collage img:nth-child(9)  { --photo-x: 42%;   --photo-y: 28%; --photo-angle: 1.5deg; }
.team-collage img:nth-child(10) { --photo-x: 47.5%; --photo-y: 4%;  --photo-angle: -4deg; }
.team-collage img:nth-child(11) { --photo-x: 53%;   --photo-y: 54%; --photo-angle: 2deg; }
.team-collage img:nth-child(12) { --photo-x: 58.5%; --photo-y: 18%; --photo-angle: -2.5deg; }
.team-collage img:nth-child(13) { --photo-x: 64%;   --photo-y: 68%; --photo-angle: 3deg; }
.team-collage img:nth-child(14) { --photo-x: 69.5%; --photo-y: 7%;  --photo-angle: -1deg; }
.team-collage img:nth-child(15) { --photo-x: 75%;   --photo-y: 42%; --photo-angle: 4deg; }
.team-collage img:nth-child(16) { --photo-x: 80.5%; --photo-y: 16%; --photo-angle: -3deg; }
.team-collage img:nth-child(17) { --photo-x: 86%;   --photo-y: 62%; --photo-angle: 1.5deg; }
.team-collage img:nth-child(18) { --photo-x: 91.5%; --photo-y: 30%; --photo-angle: -2deg; }

.team-collage img:nth-child(17) {
  width: clamp(230px, 18vw, 310px);
  height: auto;
  aspect-ratio: 849 / 960;
  object-fit: cover;
  object-position: center;
  background: #ffffff;
}

.team-intro {
  max-width: 820px;
  margin: 0 auto clamp(24px, 3.5vw, 44px);
  padding: clamp(22px, 3.3vw, 40px);
  border: 1px solid #ffffffcf;
  border-radius: 18px;
  background: #f3fbffeb;
  box-shadow: 0 12px 35px #1643541a;
  text-align: center;
}

.team-intro .eyebrow { justify-content: center; margin-bottom: 12px; }
.team-intro .eyebrow::before { display: none; }
.team-intro > p:last-child { max-width: 58ch; margin: 16px auto 0; }

.team-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.team-cards li {
  padding: clamp(20px, 2.6vw, 32px);
  border-top: 5px solid var(--blue);
  border-radius: 8px;
  background: #fffffff2;
  box-shadow: 0 12px 30px #1643541a;
}

.team-cards li:nth-child(2) { border-top-color: var(--focus); }
.team-cards li:nth-child(3) { border-top-color: #4a91ac; }

.team-closing {
  max-width: 64ch;
  margin: clamp(24px, 3vw, 42px) auto 0;
  color: #073b50;
  font-size: clamp(1.0625rem, 1.6vw, 1.375rem);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  text-wrap: balance;
}

@media (prefers-reduced-motion: no-preference) {
  .team-collage-track {
    animation: team-photo-drift 44s linear infinite;
    will-change: transform;
  }
}

@keyframes team-photo-drift {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@media (max-width: 820px) {
  .team-photo-group {
    flex-basis: clamp(1350px, 340vw, 1900px);
    width: clamp(1350px, 340vw, 1900px);
  }

  .team-collage img {
    width: clamp(180px, 52vw, 250px);
    height: clamp(150px, 24vh, 230px);
    border-width: 3px;
    border-radius: 10px;
  }

  .team-collage img:nth-child(3n) {
    width: clamp(160px, 44vw, 220px);
    height: clamp(210px, 30vh, 280px);
  }

  .team-collage img:nth-child(4n) {
    width: clamp(220px, 62vw, 300px);
    height: clamp(140px, 20vh, 200px);
  }

  .team-collage img:nth-child(5n) {
    width: clamp(175px, 48vw, 235px);
    height: clamp(185px, 27vh, 250px);
  }

  .team-collage img:nth-child(17) {
    width: clamp(180px, 52vw, 250px);
    height: auto;
    aspect-ratio: 849 / 960;
  }

  .team-collage-track {
    animation-duration: 36s;
  }
}

.property-project {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px clamp(28px, 5vw, 76px);
  padding-block: clamp(44px, 6vw, 82px);
  border-top: 1px solid var(--line);
}

.property-project p { max-width: 56ch; margin-top: 14px; }
.property-project .button { justify-self: start; }
.property-project .button:not([href]) { background: var(--blue); opacity: .55; }

.contact { background: var(--blue); }

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
  padding-block: clamp(45px, 6vw, 83px);
}

.contact-inner > div > p { margin-top: 14px; }
.contact-actions {
  display: grid;
  justify-items: start;
  width: fit-content;
  max-width: 100%;
  gap: 12px;
  margin-top: 24px;
}

.contact-actions .text-link { max-width: 100%; overflow-wrap: anywhere; }
.button-on-blue { border-color: var(--ink); }
.contact :focus-visible { outline-color: var(--ink); }

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 36px);
  border-radius: 8px;
  background: var(--paper);
}

.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-form label { display: grid; min-width: 0; gap: 6px; font-size: .88rem; font-weight: 700; }

.contact-form input, .contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #69767b;
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.5 Montserrat, Arial, sans-serif;
}

.contact-form textarea { resize: vertical; }
.contact-form p, .contact-privacy { font-size: .8rem; }
.contact-privacy, .contact-form .button { justify-self: start; }
.contact-form .button { font-family: inherit; cursor: pointer; }
.contact-form .button:disabled { opacity: .55; cursor: default; }
.contact-feedback { font-weight: 700; }
.contact-feedback:empty { margin-top: -16px; }

.site-footer { padding-block: 40px 23px; }

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 28px;
  padding-bottom: 27px;
}

.legal-line { max-width: 75ch; margin-top: 16px; font-size: .76rem; }
.footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 23px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .76rem;
}

.footer-legal a { text-underline-offset: .2em; }

.legal { max-width: 820px; }
.legal h1 { margin-bottom: 34px; font-size: clamp(2.4rem, 5.3vw, 4.6rem); }
.legal h2 { margin-bottom: 17px; font-size: clamp(1.55rem, 3.6vw, 2.3rem); }
.legal h3 { margin: 24px 0 8px; }
.legal p + p { margin-top: 12px; }
.legal section + section { margin-top: 42px; padding-top: 33px; border-top: 1px solid var(--line); }
.legal a { overflow-wrap: anywhere; }

@media (max-width: 1060px) {
  .hero { min-height: 455px; }
  .recruit-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 781px) and (min-height: 700px) {
  .questions-intro {
    position: sticky;
    top: calc(var(--header-offset, var(--header-height)) + 22px);
  }
}

@media (max-width: 1240px), (hover: none) and (pointer: coarse) {
  :root:has(.nav-toggle[hidden]) { --header-height: 112px; }

  .header-inner {
    position: relative;
    gap: 0 14px;
  }

  .header-inner:has(.nav-toggle[hidden]) {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: minmax(62px, auto) 48px;
  }

  .nav-toggle[hidden] + .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--line);
  }

  .nav-toggle[hidden] + .main-nav a {
    justify-content: center;
    font-size: .77rem;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }

  .nav-toggle:not([hidden]) {
    display: inline-flex;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .nav-toggle:not([hidden]) + :is(.main-nav, .mobile-menu) {
    position: absolute;
    inset: calc(100% + 1px) 0 auto auto;
    display: grid;
    width: min(100%, 22rem);
    gap: 0;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 0 0 8px 8px;
    background: var(--paper);
    box-shadow: 0 10px 25px #11111116;
  }

  .nav-toggle[aria-expanded="false"]:not([hidden]) + :is(.main-nav, .mobile-menu) { display: none; }
  .nav-toggle:not([hidden]) + .main-nav > a, .mobile-menu .main-nav > a { padding: 4px 12px; font-size: .9rem; }
  .nav-toggle:not([hidden]) + .main-nav > a:focus-visible, .mobile-menu a:focus-visible { outline-offset: -3px; }
  .header-inner > .header-actions { grid-column: 2; grid-row: 1; }
}

@media (max-width: 820px) {
  :root { --header-height: 56px; }
  :root:has(.nav-toggle[hidden]) { --header-height: 152px; }

  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .header-inner:has(.nav-toggle[hidden]) {
    grid-template-rows: minmax(54px, auto) 45px 52px;
  }

  .nav-toggle:not([hidden]) { grid-column: 2; }
  .header-inner > .header-actions { grid-column: 1 / -1; grid-row: 3; }

  .mobile-menu {
    max-height: calc(100dvh - var(--header-offset, var(--header-height)) - 10px);
    overflow-y: auto;
  }

  .mobile-menu .main-nav { display: grid; gap: 0; }

  .mobile-menu .header-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-self: stretch;
    padding: 8px 6px 2px;
    border-top: 1px solid var(--line);
  }

  .mobile-menu .social-links { grid-column: 1 / -1; justify-content: center; }
}

@media (max-width: 780px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-copy { padding: 35px clamp(22px, 5.5vw, 43px); }
  h1 { font-size: clamp(2rem, 8.3vw, 4rem); }
  .hero-visual { min-height: 0; aspect-ratio: 1.55; }
  .about, .questions { grid-template-columns: minmax(0, 1fr); }
  .about { row-gap: 20px; }
  .about-copy { display: contents; }
  .about-copy > .eyebrow { grid-row: 1; margin-bottom: 0; }
  .about-visual { grid-row: 2; }
  .about-visual img { height: clamp(240px, 70vw, 420px); }
  .contact-inner, .footer-top { grid-template-columns: minmax(0, 1fr); }
  .recruit-feature-video, .team-cards { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .header-inner > .header-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    justify-self: stretch;
    gap: 6px;
  }

  .header-inner > .header-actions .button { min-height: 42px; padding-inline: 4px; font-size: .73rem; }
  .header-inner > .header-actions .social-links { justify-self: end; gap: 3px; }
  .header-inner > .header-actions .social-links a { width: clamp(38px, 11.5vw, 44px); min-height: 44px; }
  .header-cta .arrow { display: none; }
  .property-project { grid-template-columns: minmax(0, 1fr); }

  .recruit-stats {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 20px;
    padding: 0;
    border: 0;
  }

  .recruit-stats li {
    padding: 14px 16px;
    border-radius: 6px;
    background: var(--ice);
  }

  .recruit-stats strong { font-size: clamp(1.75rem, 6vw, 2.2rem); }
  .recruit-stats span { line-height: 1.5; overflow-wrap: anywhere; }
}

@media (max-width: 520px) {
  .contact-fields { grid-template-columns: minmax(0, 1fr); }
  .recruit-cards { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 365px) {
  .recruit-content h2 { font-size: 1.8rem; }
  .wordmark span { font-size: 1rem; }
  .wordmark small { font-size: .62rem; }
  .nav-toggle[hidden] + .main-nav a { font-size: .7rem; }
  .nav-toggle[hidden] + .main-nav { gap: 4px; }
}

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