:root {
  color-scheme: light;
  --sky: #eaf3f6;
  --sky-deep: #d9eaef;
  --paper: #fffef9;
  --white: #ffffff;
  --ink: #102632;
  --body: #35525f;
  --muted: #617985;
  --line: rgba(31, 78, 96, 0.17);
  --line-strong: rgba(31, 78, 96, 0.32);
  --teal: #34728b;
  --mint: #67dfc4;
  --blue: #3d8fe8;
  --violet: #7a54dd;
  --error: #a43c34;
  --display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body-face: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --utility: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-face);
  -webkit-font-smoothing: antialiased;
}

.home-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--sky);
}

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

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

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

:focus-visible {
  outline: 3px solid rgba(61, 143, 232, 0.48);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 clamp(24px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  background: var(--sky);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand img {
  width: 31px;
  height: 31px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  color: var(--body);
  font-family: var(--utility);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 12px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  overflow: hidden;
  padding: clamp(72px, 10vw, 132px) clamp(24px, 7vw, 108px) 112px;
  background: var(--sky);
}

.home-page .hero {
  min-height: calc(100vh - 82px);
  height: auto;
}

.technical-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27, 78, 99, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 78, 99, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to right, transparent 3%, #000 50%, transparent 96%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 990px;
}

.eyebrow,
.section-label,
.role-meta,
.form-kicker {
  margin: 0;
  color: var(--teal);
  font-family: var(--utility);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 980px;
  margin: 30px 0 28px;
  font-family: var(--display);
  font-size: clamp(62px, 8.2vw, 126px);
  font-weight: 520;
  letter-spacing: -0.078em;
  line-height: 0.88;
  text-wrap: balance;
}

.hero-lead {
  max-width: 590px;
  margin: 0;
  color: var(--body);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.62;
}

.study-meta {
  position: absolute;
  z-index: 2;
  top: 76px;
  right: clamp(24px, 7vw, 108px);
  color: var(--muted);
  font-family: var(--utility);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.75;
  text-align: right;
  text-transform: uppercase;
}

.orbit {
  position: absolute;
  right: -110px;
  bottom: -140px;
  width: min(52vw, 590px);
  height: min(52vw, 590px);
  border: 1px solid rgba(40, 118, 143, 0.34);
  border-radius: 50%;
}

.orbit::before,
.orbit::after {
  position: absolute;
  border: 1px solid rgba(40, 118, 143, 0.25);
  border-radius: 50%;
  content: "";
}

.orbit::before {
  inset: 13%;
}

.orbit::after {
  inset: 31%;
  background: rgba(103, 223, 196, 0.15);
}

.data-wave {
  position: absolute;
  z-index: 2;
  right: 7%;
  bottom: 46px;
  left: 7%;
  height: 82px;
  opacity: 0.82;
}

.data-wave svg {
  width: 100%;
  height: 100%;
}

.lab-statement {
  display: grid;
  grid-template-columns: minmax(140px, 0.45fr) minmax(0, 1.55fr);
  gap: clamp(40px, 9vw, 140px);
  padding: clamp(70px, 9vw, 124px) clamp(24px, 7vw, 108px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.lab-statement p {
  max-width: 880px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 3.1vw, 48px);
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 10vw, 136px) clamp(24px, 7vw, 108px) clamp(64px, 8vw, 108px);
  border-bottom: 1px solid var(--line);
  background: var(--sky);
}

.page-hero::after {
  position: absolute;
  top: -160px;
  right: -120px;
  width: 430px;
  height: 430px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  box-shadow:
    0 0 0 72px rgba(255, 255, 255, 0.12),
    0 0 0 144px rgba(255, 255, 255, 0.08);
  content: "";
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 950px;
}

.page-hero h1 {
  max-width: 890px;
  margin: 25px 0 26px;
  font-family: var(--display);
  font-size: clamp(54px, 7.5vw, 106px);
  font-weight: 520;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.page-hero .hero-lead {
  max-width: 720px;
}

.role-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 24px;
}

.role-meta span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.role-meta span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  content: "";
}

.role-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.65fr);
  gap: clamp(46px, 8vw, 120px);
  padding: clamp(70px, 9vw, 118px) clamp(24px, 7vw, 108px);
}

.role-copy {
  max-width: 760px;
}

.role-copy > p {
  margin: 0;
  color: var(--body);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.48;
}

.role-facts {
  align-self: start;
  border-top: 1px solid var(--line-strong);
}

.fact {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.fact dt {
  color: var(--muted);
  font-family: var(--utility);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fact dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}

.role-sections {
  padding: 0 clamp(24px, 7vw, 108px) clamp(82px, 10vw, 140px);
}

.role-section {
  display: grid;
  grid-template-columns: minmax(150px, 0.43fr) minmax(0, 1.57fr);
  gap: clamp(38px, 8vw, 120px);
  padding: clamp(52px, 6vw, 82px) 0;
  border-top: 1px solid var(--line);
}

.role-section h2 {
  margin: 0;
  color: var(--teal);
  font-family: var(--utility);
  font-size: 11px;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
}

.role-section ul {
  display: grid;
  max-width: 860px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.role-section li {
  position: relative;
  padding: 0 0 22px 30px;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
}

.role-section li:last-child {
  padding-bottom: 0;
}

.role-section li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 11px;
  height: 1px;
  background: var(--teal);
  content: "";
}

.careers-page .page-hero {
  padding-top: 30px;
  padding-bottom: 28px;
}

.careers-page .page-hero h1 {
  margin: 12px 0;
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -0.045em;
  line-height: 1;
}

.careers-page .page-hero .hero-lead {
  max-width: 920px;
  font-size: 18px;
  line-height: 1.48;
}

.careers-page .role-sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 32px;
  padding-bottom: 36px;
}

.careers-page .role-section {
  display: block;
  padding: 0 28px;
  border-top: 0;
  border-right: 1px solid var(--line);
}

.careers-page .role-section:first-child {
  padding-left: 0;
}

.careers-page .role-section:last-child {
  padding-right: 0;
  border-right: 0;
}

.careers-page .role-section h2 {
  margin-bottom: 18px;
}

.careers-page .role-section li {
  padding-bottom: 11px;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.38;
}

.careers-page .apply-band {
  padding-top: 24px;
  padding-bottom: 24px;
}

.careers-page .apply-band h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.careers-page .apply-band .button {
  min-height: 46px;
}

.careers-page .site-footer {
  padding-top: 16px;
  padding-bottom: 16px;
}

.apply-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(50px, 6vw, 80px) clamp(24px, 7vw, 108px);
  background: var(--ink);
  color: var(--white);
}

.apply-band h2 {
  max-width: 740px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.button {
  display: inline-flex;
  min-height: 52px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 24px;
  border: 1px solid transparent;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--utility);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    transform 170ms ease,
    background 170ms ease;
}

.button::after {
  content: "↗";
  font-size: 16px;
}

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

.form-page {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  min-height: calc(100vh - 82px);
  background: var(--paper);
}

.form-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 7vw, 102px) clamp(24px, 5vw, 76px);
  border-right: 1px solid var(--line);
  background: var(--sky);
}

.form-intro h1 {
  margin: 24px 0 24px;
  font-family: var(--display);
  font-size: clamp(48px, 6.1vw, 86px);
  font-weight: 520;
  letter-spacing: -0.066em;
  line-height: 0.92;
}

.form-intro > p:not(.form-kicker) {
  max-width: 490px;
  margin: 0;
  color: var(--body);
  font-size: 18px;
  line-height: 1.6;
}

.form-marker {
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 330px;
  height: 330px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.application-wrap {
  padding: clamp(56px, 7vw, 104px) clamp(24px, 7vw, 110px);
}

.application-wrap form {
  max-width: 760px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
}

.field {
  display: grid;
  gap: 9px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.fieldset-label {
  color: var(--ink);
  font-family: var(--utility);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.optional {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

input,
select,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  outline: none;
}

input,
select {
  min-height: 48px;
}

textarea {
  min-height: 110px;
  padding: 12px 0;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-bottom-color: var(--blue);
  box-shadow: 0 1px 0 var(--blue);
}

.league-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.league-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.league-option {
  position: relative;
}

.league-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.league-option span {
  display: inline-flex;
  min-width: 72px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  color: var(--body);
  cursor: pointer;
  font-family: var(--utility);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.league-option input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.league-option input:focus-visible + span {
  outline: 3px solid rgba(61, 143, 232, 0.48);
  outline-offset: 3px;
}

.field-error {
  min-height: 18px;
  margin: 0;
  color: var(--error);
  font-size: 13px;
  line-height: 1.35;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

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

.form-actions .button:hover {
  border-color: var(--mint);
  background: var(--mint);
  color: var(--ink);
}

.form-actions .button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.submission-error {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--error);
  font-size: 14px;
  line-height: 1.45;
}

.privacy-note {
  max-width: 490px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.form-status {
  display: none;
  max-width: 690px;
  padding: 36px;
  border-top: 3px solid var(--mint);
  background: var(--sky);
}

.form-status.is-visible {
  display: block;
}

.form-status h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 520;
  letter-spacing: -0.04em;
}

.form-status p {
  margin: 0;
  color: var(--body);
  font-size: 17px;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px clamp(24px, 5vw, 76px);
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-family: var(--utility);
  font-size: 10px;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .study-meta {
    display: none;
  }

  .hero h1 {
    max-width: 760px;
  }

  .orbit {
    opacity: 0.6;
  }

  .role-intro,
  .form-page {
    grid-template-columns: 1fr;
  }

  .careers-page .role-sections {
    grid-template-columns: 1fr;
  }

  .careers-page .role-section,
  .careers-page .role-section:first-child,
  .careers-page .role-section:last-child {
    padding: 32px 0;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .form-intro {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 72px;
    padding: 0 20px;
  }

  .brand {
    gap: 7px;
    font-size: 12px;
  }

  .brand img {
    width: 27px;
    height: 27px;
  }

  .site-nav {
    gap: 11px;
    font-size: 9px;
  }

  .hero {
    min-height: 650px;
    padding: 76px 24px 100px;
  }

  .home-page .hero {
    min-height: calc(100vh - 72px);
    height: auto;
  }

  .hero h1 {
    margin-top: 24px;
    font-size: clamp(48px, 14vw, 60px);
  }

  .data-wave {
    right: 24px;
    left: 24px;
  }

  .lab-statement,
  .role-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-hero,
  .role-intro,
  .role-sections {
    padding-right: 24px;
    padding-left: 24px;
  }

  .page-hero::after {
    opacity: 0.5;
  }

  .role-facts {
    margin-top: 12px;
  }

  .apply-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .application-wrap {
    padding-right: 24px;
    padding-left: 24px;
  }

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

  .field-full {
    grid-column: auto;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

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

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