:root {
  --page-top: clamp(2rem, 7vh, 4.75rem);
  --page-side: clamp(1.5rem, 8vw, 9rem);
  color-scheme: dark;
  background: #060a08;
  color: #b4c9bb;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-width: 280px; }
body { -webkit-font-smoothing: antialiased; }
.with-stars { isolation: isolate; }
.star-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 65% 42%, #101f17, #060a08 85%);
}
.star-point {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: #c2edcf;
  opacity: .6;
  box-shadow: 0 0 8px 2px #8dc7a170, 0 0 24px 7px #6b987726;
}
@media (forced-colors: active) {
  .star-field { display: none; }
}
a { color: inherit; }
:focus-visible { outline: 2px solid #a0edb4; outline-offset: 6px; }
.careers-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #9db3a5;
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: #9db3a580;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.careers-link:hover { color: #c9d5cd; }

.screen {
  min-height: 100svh;
  padding: var(--page-top) var(--page-side);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-name {
  display: block;
  width: fit-content;
  margin: 0;
  color: #c9d5cd;
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.035em;
}

.hero {
  align-self: center;
  padding-block: 3rem;
  transform: translateY(-3vh);
}

.statement {
  margin: 0;
  font-size: clamp(2.25rem, 5.6vw, 5.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.055em;
}

.invitation {
  margin: 2rem 0 0;
  color: #a0edb4;
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(.75rem, 1.2vw, 1rem);
  line-height: 1.5;
  min-height: 1.5em;
  letter-spacing: -.035em;
  text-shadow: 0 0 2px #b2ffb940, 0 0 12px #5dff8426;
}

.caret {
  display: inline-block;
  width: .38em;
  height: .9em;
  margin-left: .2em;
  vertical-align: -.1em;
  background: currentColor;
  opacity: 0;
}

.is-playing .caret { animation: blink 1.1s steps(1, end) infinite; }
.is-complete .caret { animation: blink 1.1s steps(1, end) 2; }

@keyframes blink {
  0%, 49% { opacity: .65; }
  50%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .invitation .caret { animation: none; }
}

.statement span { display: block; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

::selection { background: #b4c9bb; color: #060a08; }

.jobs {
  padding: 72px var(--page-side) 96px;
}
.jobs-inner { max-width: 1040px; margin-inline: auto; }
.eyebrow {
  margin: 0 0 12px;
  color: #9eb1a5;
  font-size: 15px;
  line-height: 1.5;
}
.jobs h1 {
  margin: 0 0 18px;
  color: #c9d5cd;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -.045em;
}
.jobs-intro { max-width: 540px; margin: 0 0 48px; font-size: 18px; line-height: 1.6; color: #bac5be; }
.page-header { padding: var(--page-top) var(--page-side) 0; }
.brand-link {
  text-decoration: none;
}
.brand-link:hover { color: #e0e8e3; }
.role {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  gap: 64px;
  padding: 40px 0 56px;
  border-top: 1px solid #b4c9bb30;
}
.role-overview { align-self: start; }
.role h2 {
  margin: 0 0 16px;
  color: #d4ded7;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -.035em;
}
.role h2 span { display: block; }
.role-summary { max-width: 30ch; margin: 0; color: #aebfb4; font-size: 17px; line-height: 1.6; }
.role-apply { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; font-size: 16px; }
.role-description { color: #c3cdc6; font-size: 18px; line-height: 1.65; }
.role-description p { margin: 0; }
.role-description h3 {
  margin: 32px 0 12px;
  color: #dde5df;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
}
.role-description h3:first-child { margin-top: 0; }
.role-description ul { margin: 0; padding-left: 21px; }
.role-description li + li { margin-top: 10px; }
.role-description li::marker { color: #829f8b; }
.application-note { border-top: 1px solid #b4c9bb30; padding-top: 32px; }
.application-note h2 { margin: 0 0 12px; color: #dde5df; font-size: 18px; font-weight: 500; }
.application-note p { max-width: 58ch; margin: 0; color: #bac5be; font-size: 17px; line-height: 1.65; }
.application-link {
  color: #c9d5cd;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.application-link:hover { color: #a0edb4; }
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 24px;
  margin: 0 clamp(24px, 8vw, 144px);
  padding: 28px 0 40px;
  border-top: 1px solid #b4c9bb24;
  color: #91a899;
  font-size: 14px;
  line-height: 1.5;
}
.site-footer p { margin: 0; }
.footer-name { color: #b4c9bb; font-size: 18px; letter-spacing: -.03em; }

@media (max-width: 850px) {
  .role { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 32px 44px; }
  .role-summary { max-width: 40ch; }
  .role-apply { margin-top: 12px; }
}

@media (max-width: 600px) {
  :root { --page-top: 40px; --page-side: 24px; }
  .screen { padding-bottom: 24px; }
  .careers-link { font-size: 14px; }
  .site-name { font-size: clamp(22px, 6.15vw, 26px); letter-spacing: -.03em; }
  .hero { padding-block: 32px; transform: translateY(-5svh); }
  .statement {
    /* Scale against usable width so the complete word keeps its own line. */
    font-size: clamp(32px, calc((100vw - 48px) * .138), 72px);
    line-height: 1.08;
    letter-spacing: -.05em;
  }
  .invitation {
    margin-top: 28px;
    font-size: clamp(15px, 4.9vw, 21px);
    text-shadow: 0 0 8px #5dff841a;
  }
  .jobs { padding-block: 52px 72px; }
  .jobs h1 { font-size: 28px; }
  .jobs-intro { font-size: 17px; margin-bottom: 36px; }
  .role h2 { font-size: 26px; }
  .site-footer {
    margin-inline: 24px;
    flex-wrap: nowrap;
    column-gap: clamp(12px, calc(24px - (440px - 100vw) / 2), 24px);
    font-size: clamp(11px, calc(14px - (440px - 100vw) / 28), 14px);
  }
  .site-footer p { white-space: nowrap; }
  .footer-name { font-size: clamp(14px, calc(18px - (440px - 100vw) / 30), 18px); }
}

/* Stack deliberately on very narrow screens instead of making the text tiny. */
@media (max-width: 359px) {
  .site-footer { flex-direction: column; }
  .site-footer p { white-space: normal; }
}
