:root {
  --ink: #0b0b0a;
  --muted: #77716c;
  --body: #3a3633;
  --paper: #ffffff;
  --sand: #f4f2ef;
  --ash: #f2f2f2;
  --line: rgba(255, 255, 255, 0.16);
  --header: rgba(252, 251, 250, 0.85);
  --red: #e11623;
  --content: 1240px;
  --header-h: 88px;
  font-family: "Plus Jakarta Sans", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font-family: inherit;
}

.wrap {
  width: min(var(--content), calc(100% - 48px));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: var(--header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  width: min(var(--content), calc(100% - 48px));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo img,
.footer-logo {
  display: block;
  object-fit: cover;
  object-position: center 86%;
  background: #e10600;
}

.logo img {
  width: 60px;
  height: 60px;
}

.header-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav a {
  text-decoration: none;
  font-size: 14.5px;
  line-height: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 47px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(11, 11, 10, 0.06), 0 0 0 1px rgba(11, 11, 10, 0.08);
}

.btn-sm {
  height: 38px;
  padding: 0 20px;
  font-size: 14.5px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
}

main {
  position: relative;
}

.grid {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  height: auto;
}

.grid-a {
  width: min(1196px, 72vw);
  right: max(-40px, calc(50% - 980px));
  top: 60px;
}

.grid-b {
  width: min(1196px, 72vw);
  left: max(-80px, calc(50% - 980px));
  top: 1180px;
}

.hero,
.about,
.stakes,
.approach,
.labs,
.careers {
  position: relative;
  z-index: 1;
}

.hero {
  padding-top: 100px;
}

.hero h1,
.display,
.approach-title,
.footer h2,
.about h2 {
  margin: 0;
  font-weight: 400;
  color: var(--ink);
}

.hero h1 {
  max-width: 760px;
  font-size: 80px;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-row {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.lede,
.about-copy p,
.domain p,
.principle p,
.split-head p,
.standards p {
  margin: 0;
}

.lede {
  max-width: 533px;
  color: var(--muted);
  font-size: 19px;
  line-height: 29.45px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.hero-media {
  position: relative;
  margin-top: 78px;
}

.hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1240 / 600;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 28px;
  background: rgba(127, 127, 127, 0.08);
}

.corner {
  position: absolute;
  left: -14px;
  top: -14px;
  width: 28px;
  height: 28px;
  border-top: 1px solid var(--red);
  border-left: 1px solid var(--red);
}

.corner-br {
  left: auto;
  top: auto;
  right: -14px;
  bottom: -14px;
  border-top: 0;
  border-left: 0;
  border-right: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
}

.about {
  padding-top: 164px;
  scroll-margin-top: 110px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 18px;
  align-items: start;
}

.about h2 {
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.about-copy {
  color: var(--body);
  font-size: 16.5px;
  line-height: 27.23px;
}

.about-copy p + p,
.about-copy .focus {
  margin-top: 22px;
}

.focus {
  list-style: disc;
  margin: 22px 0;
  padding-left: 1.15em;
}

.focus li + li {
  margin-top: 8px;
}

.focus li::marker {
  color: var(--ink);
}

.focus strong {
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline {
  color: var(--ink);
  font-weight: 400;
  text-underline-offset: 3px;
}

.stakes {
  padding-top: 148px;
}

.display {
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 900px;
}

.domains {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px 18px;
}

.domain figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 545 / 298;
  background: #1a1a1a;
}

.domain img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.domain-title {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 16px;
  color: #fff;
  font-size: 38px;
  font-weight: 600;
  line-height: 42px;
  letter-spacing: -0.0368em;
  text-align: center;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.domain p {
  margin-top: 22px;
  max-width: 460px;
  color: var(--muted);
  font-size: 17px;
  line-height: 26.35px;
}

.approach {
  padding-top: 88px;
  scroll-margin-top: 110px;
}

.approach-title {
  font-size: 40px;
  line-height: 42px;
  letter-spacing: -0.035em;
}

.principles {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.principle-art {
  height: 165px;
  background: var(--ash);
  border-radius: 24px 24px 0 0;
  display: grid;
  place-items: center;
  padding: 16px;
}

.principle-art img {
  width: auto;
  height: 120px;
  max-width: 78%;
  object-fit: contain;
}

.principle h3 {
  margin: 16px 0 8px;
  padding-inline: 28px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.principle p {
  padding-inline: 28px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 24.03px;
}

.standards {
  margin-top: 72px;
  min-height: 82px;
  padding: 18px 32px;
  border-radius: 24px;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.standards p {
  font-size: 18px;
  line-height: 21px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  box-shadow: 0 0 0 1px rgba(11, 11, 10, 0.06);
}

.labs {
  padding-top: 154px;
  scroll-margin-top: 110px;
}

.split-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.split-head p {
  max-width: 360px;
  color: var(--muted);
  font-size: 17px;
  line-height: 26.35px;
}

.lab-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 614fr 301fr 301fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  aspect-ratio: 1240 / 614;
}

.shot {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(127, 127, 127, 0.08);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.team img {
  object-position: center 52%;
}

.circuit {
  grid-column: 2;
  grid-row: 1;
}

.circuit img {
  object-position: center 36%;
}

.bench {
  grid-column: 3;
  grid-row: 1;
}

.bench img {
  object-position: 28% center;
}

.proto {
  grid-column: 2 / span 2;
  grid-row: 2;
}

.proto img {
  object-position: center 58%;
}

.careers {
  padding-top: 160px;
  padding-bottom: 120px;
  scroll-margin-top: 110px;
}

.careers-head {
  align-items: flex-end;
  margin-bottom: 42px;
}

.careers-head p {
  max-width: 411px;
  margin-bottom: 8px;
}

.roles {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.role {
  border-radius: 20px;
  background: var(--sand);
  overflow: hidden;
}

.role-toggle {
  width: 100%;
  min-height: 84px;
  padding: 18px 28px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.role-toggle:hover {
  background: #efece8;
}

.role-title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.role-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}

.role-team {
  color: var(--muted);
  font-size: 14.5px;
}

.tag {
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
}

.arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 1px rgba(11, 11, 10, 0.06);
  transition: transform 0.25s ease;
}

.role.is-open .arrow {
  transform: rotate(180deg);
}

.role-panel {
  padding: 0 28px 32px;
}

.role-panel p {
  margin: 0 0 28px;
  max-width: 680px;
  font-size: 16.5px;
  line-height: 1.6;
  color: #4a4642;
}

.role-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.role-cols h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 500;
}

.role-cols ul {
  margin: 0;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.75;
  color: #4a4642;
}

.role-apply {
  height: 44px;
  padding: 0 24px;
  font-size: 14.5px;
}

.role-apply:hover {
  background: var(--red);
  color: #fff;
}

.footer {
  position: relative;
  color: #fff;
  background:
    radial-gradient(circle at 100% 100%, rgba(225, 22, 35, 0.65) 0%, rgba(225, 22, 35, 0) 60%),
    radial-gradient(circle at 0% 0%, rgba(90, 22, 18, 0.5) 0%, rgba(90, 22, 18, 0) 70%),
    linear-gradient(159deg, #0b0b0a 0%, #141312 50%, #3a0a0e 100%);
}

.footer h2 {
  padding-top: 104px;
  color: #fff;
  font-size: 56px;
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 560px;
}

.footer-cta {
  margin-top: 34px;
}

.footer-links {
  margin-top: 96px;
  padding-top: 41px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
}

.footer-logo {
  width: 72px;
  height: 72px;
}

.social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  text-decoration: none;
}

.footer-label {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 15.5px;
  line-height: 19px;
}

.footer-base {
  margin-top: 56px;
  padding: 25px 0 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-base p {
  margin: 0;
}

.legal {
  display: flex;
  gap: 24px;
}

.legal a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.nav a:hover,
.footer-links a:hover,
.legal a:hover,
.inline:hover {
  opacity: 0.72;
}

.btn-dark:hover {
  background: #242422;
}


a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .hero h1 {
    font-size: 64px;
  }

  .display,
  .footer h2 {
    font-size: 44px;
  }

  .domain-title {
    font-size: 32px;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .social {
    margin-top: 0;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 72px;
  }

  .wrap,
  .header-inner {
    width: min(var(--content), calc(100% - 32px));
  }

  .logo img {
    width: 48px;
    height: 48px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    margin: 0;
    padding: 8px 16px 24px;
    background: #fcfbfa;
    box-shadow: 0 16px 32px rgba(11, 11, 10, 0.06);
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    border-bottom: 1px solid rgba(11, 11, 10, 0.06);
  }

  .header-links.open {
    display: flex;
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav a {
    padding: 14px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(11, 11, 10, 0.08);
  }

  .header-links .btn {
    align-self: flex-start;
  }

  .grid {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    font-size: 44px;
    letter-spacing: -0.038em;
  }

  .hero-row,
  .split-head,
  .about-grid,
  .domains,
  .principles,
  .footer-links,
  .footer-base,
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-row {
    margin-top: 24px;
    gap: 28px;
  }

  .lede,
  .split-head p,
  .domain p {
    max-width: none;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .hero-media {
    margin-top: 40px;
  }

  .corner {
    left: -8px;
    top: -8px;
  }

  .corner-br {
    left: auto;
    top: auto;
    right: -8px;
    bottom: -8px;
  }

  .about,
  .stakes,
  .labs,
  .careers {
    padding-top: 88px;
  }

  .about h2 {
    margin-bottom: 20px;
  }

  .careers {
    padding-bottom: 72px;
  }

  .display,
  .footer h2 {
    font-size: 36px;
  }

  .approach-title {
    font-size: 32px;
  }

  .domain-title {
    font-size: 28px;
    line-height: 1.15;
  }

  .domains {
    gap: 32px;
  }

  .principles {
    gap: 28px;
  }

  .standards {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 20px;
    padding: 22px 20px;
  }

  .chips {
    justify-content: flex-start;
  }

  .lab-grid {
    aspect-ratio: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 10px;
  }

  .team,
  .proto {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .team {
    aspect-ratio: 1 / 1;
  }

  .proto {
    aspect-ratio: 2 / 1;
  }

  .circuit,
  .bench {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 1 / 1;
  }

  .role-toggle {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
  }

  .role-panel {
    padding: 0 18px 24px;
  }

  .role-cols {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .role-meta {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .arrow {
    margin-left: auto;
  }

  .footer h2 {
    padding-top: 72px;
  }

  .footer-links {
    margin-top: 56px;
    gap: 32px;
  }

  .footer-brand {
    gap: 20px;
  }

  .footer-base {
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 38px;
  }

  .display,
  .footer h2 {
    font-size: 32px;
  }

  .role-title {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
