@font-face {
  font-family: "SF Pro Display Ultra Light";
  src: url("assets/fonts/SF-Pro-Display-Ultralight.otf") format("opentype");
  font-style: normal;
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display Bold";
  src: url("assets/fonts/SF-Pro-Display-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display Regular";
  src: url("assets/fonts/SF-Pro-Display-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display Medium";
  src: url("assets/fonts/SF-Pro-Display-Medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display Thin Italic";
  src: url("assets/fonts/SF-Pro-Display-ThinItalic.otf") format("opentype");
  font-style: italic;
  font-weight: 100;
  font-display: swap;
}

:root {
  --video-safe-crop: 1.08;
  --hero-y: 0vh;
  --blank-y: 100vh;
  --brand-scroll-y: 0px;
  --brand-scroll-opacity: 1;
  --masthead-opacity: 0;
  --masthead-y: -72px;
  --masthead-height: clamp(58px, 8.8vh, 82px);
  --masthead-logo-size: clamp(34px, 3.5vw, 48px);
  --masthead-name-size: clamp(20px, 2.05vw, 30px);
  --brand-text-height: clamp(34px, 3.6vw, 54px);
  --brand-logo-height: calc(var(--brand-text-height) * 2);
  --brand-logo-entry-scale: 2.05;
  --brand-gap: clamp(10px, 1.4vw, 22px);
  --brand-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --jobs-quote-size: clamp(30px, 2.72vw, 50px);
  --jobs-image-opacity: 0;
  --jobs-image-y: 34px;
  --jobs-quote-opacity: 0;
  --jobs-quote-y: 28px;
  --jobs-author-opacity: 0;
  --jobs-author-y: 24px;
  --scroll-cue-opacity: 0;
  --scroll-cue-y: 10px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: #f4f4f1;
  overflow-x: hidden;
}

body {
  font-family: "SF Pro Display Ultra Light", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  overflow-y: hidden;
}

body:not(.site-page) {
  --page-bg: #fff;
  background: var(--page-bg);
}

body.is-scroll-ready {
  overflow-y: auto;
}

.intro {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100svh;
  min-height: 100vh;
  color: #fff;
  background: #030303;
  isolation: isolate;
  overflow: hidden;
}

.intro::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: rgba(0, 0, 0, 0.34);
  opacity: 0;
  transition: opacity 900ms ease;
  pointer-events: none;
}

.intro-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #030303;
  opacity: 1;
  transform: translate3d(0, var(--hero-y), 0) scale(var(--video-safe-crop));
  transform-origin: center;
  will-change: transform;
}

.blank-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #fff;
  transform: translate3d(0, var(--blank-y), 0);
  will-change: transform;
  overflow: hidden;
}

.jobs-quote-page {
  position: absolute;
  inset: 0;
  min-height: 100%;
  overflow: hidden;
}

.jobs-quote-image {
  position: absolute;
  left: clamp(0px, 2.4vw, 62px);
  bottom: 0;
  z-index: 1;
  display: block;
  width: auto;
  height: min(calc((100svh - var(--masthead-height)) * 1.055), 70vw);
  max-width: none;
  opacity: var(--jobs-image-opacity);
  transform: translate3d(0, calc(0.12% + var(--jobs-image-y)), 0);
  transform-origin: bottom left;
  will-change: opacity, transform;
  user-select: none;
  pointer-events: none;
}

.jobs-quote-copy {
  position: absolute;
  top: 50%;
  right: clamp(64px, 9vw, 172px);
  z-index: 2;
  width: min(43vw, 720px);
  margin: 0;
  color: rgba(0, 0, 0, 0.8);
  text-align: center;
  transform: translate3d(0, -43%, 0);
}

.jobs-quote-text {
  margin: 0;
  font-family: "SF Pro Display Bold", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--jobs-quote-size);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0;
  opacity: var(--jobs-quote-opacity);
  transform: translate3d(0, var(--jobs-quote-y), 0);
  will-change: opacity, transform;
}

.jobs-quote-author {
  margin-top: clamp(44px, 7vh, 86px);
  font-family: "SF Pro Display Thin Italic", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--jobs-quote-size);
  font-style: italic;
  font-weight: 100;
  line-height: 1.08;
  letter-spacing: 0;
  opacity: var(--jobs-author-opacity);
  transform: translate3d(0, var(--jobs-author-y), 0);
  will-change: opacity, transform;
}

.brand-stage {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
  opacity: var(--brand-scroll-opacity);
  transform: translate3d(0, var(--brand-scroll-y), 0);
  will-change: opacity, transform;
}

.brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100vw - 48px);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(1);
  will-change: opacity, transform;
}

.brand-logo {
  display: block;
  width: var(--brand-logo-height);
  height: var(--brand-logo-height);
  flex: 0 0 auto;
  object-fit: contain;
  transform: scale(var(--brand-logo-entry-scale));
  transform-origin: center;
  will-change: transform;
}

.brand-name {
  display: inline-block;
  width: 0;
  margin-left: 0;
  overflow: hidden;
  flex: 0 0 auto;
  color: #fff;
  font-family: "SF Pro Display Ultra Light", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--brand-text-height);
  font-weight: 100;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(-10px, 0, 0);
  will-change: width, margin-left, opacity, transform;
}

.scroll-cue {
  position: absolute;
  left: calc(50% + 18px);
  bottom: max(68px, calc(env(safe-area-inset-bottom, 0px) + 52px));
  z-index: 5;
  color: #fff;
  font-family: "SF Pro Display Ultra Light", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 20px;
  font-weight: 100;
  line-height: 1;
  letter-spacing: 0;
  opacity: var(--scroll-cue-opacity);
  pointer-events: none;
  transform: translate3d(-50%, var(--scroll-cue-y), 0);
  transition: opacity 700ms ease, transform 700ms ease;
  white-space: nowrap;
  will-change: opacity, transform;
}

.intro.is-logo::after {
  opacity: 0.24;
}

.site-masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2vw, 34px);
  height: var(--masthead-height);
  padding: 0 clamp(18px, 2.5vw, 36px) 0 clamp(34px, 4vw, 58px);
  background: var(--page-bg, #f4f4f1);
}

.masthead {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  opacity: var(--masthead-opacity);
  transform: translate3d(0, var(--masthead-y), 0);
  pointer-events: none;
  will-change: opacity, transform;
}

.site-masthead-brand {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.site-masthead-logo {
  display: block;
  width: var(--masthead-logo-size);
  height: var(--masthead-logo-size);
  flex: 0 0 auto;
  object-fit: contain;
}

.site-masthead-name {
  color: #171717;
  font-family: "SF Pro Display Ultra Light", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--masthead-name-size);
  font-weight: 100;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-masthead-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.2vw, 34px);
  min-width: 0;
  margin-left: auto;
  overflow: visible;
  scrollbar-width: none;
}

.site-masthead-nav::-webkit-scrollbar {
  display: none;
}

.site-masthead-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 1.5em;
  color: #171717;
  font-family: "SF Pro Display Ultra Light", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: calc(var(--masthead-name-size) * 0.65);
  font-weight: 100;
  line-height: 1.2;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.78;
  transition: opacity 180ms ease;
}

.site-masthead-link:hover,
.site-masthead-link:focus-visible,
.site-masthead-link[aria-current="page"] {
  opacity: 1;
}

.site-masthead-link:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 5px;
}

.site-page {
  --page-bg: #f4f4f1;
  min-height: 100vh;
  background: var(--page-bg);
  overflow-y: auto;
}

.page-masthead {
  position: sticky;
  top: 0;
  z-index: 10;
}

.about-site-page {
  --page-bg: #050506;
  color: #ffffff;
  background: #050506;
}

.about-site-page .page-masthead {
  background: transparent;
}

.about-site-page .site-masthead-name,
.about-site-page .site-masthead-link {
  color: #ffffff;
}

.empty-page-space {
  min-height: calc(100vh - var(--masthead-height));
}

.about-page {
  --about-side-gutter: clamp(28px, 4vw, 58px);
  --about-photo-width: clamp(280px, 33vw, 520px);
  --about-name-size: 30.6px;
  --about-greeting-size: 42.7px;
  --about-name-y: 6px;
  --about-name-line-height: 1.06;
  --about-name-gap: 38px;
  --about-social-gap: clamp(32px, 4vh, 52px);
  --about-social-height: clamp(24px, 2.35vw, 36px);
  --about-stack-height: calc((var(--about-name-size) * var(--about-name-line-height)) + var(--about-name-gap) + var(--about-photo-width) + var(--about-social-gap) + var(--about-social-height));
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(320px, 43vw) minmax(0, 1fr);
  min-height: 100svh;
  margin-top: calc(var(--masthead-height) * -1);
  padding: calc(var(--masthead-height) + var(--about-side-gutter)) var(--about-side-gutter) var(--about-side-gutter);
  background: #050506;
}

.about-page::before,
.about-page::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.about-page::before {
  inset: -10%;
  z-index: -2;
  background: url("assets/images/about/about-galaxy-field.png") center 18% / cover no-repeat;
  opacity: 0.74;
  transform: translate3d(0, 8%, 0) scale(1.04);
  transform-origin: center;
}

.about-page::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.44)),
    rgba(0, 0, 0, 0.24);
}

.about-media {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100svh - var(--masthead-height) - clamp(56px, 8vw, 116px));
  transform: translateX(clamp(-54px, -3.1vw, -30px));
}

.about-page > :not(.about-media),
.about-media > * {
  --about-final-y: 0px;
  animation: aboutContentFade 900ms var(--brand-ease) both;
  animation-delay: var(--about-fade-delay, 100ms);
}

.about-media > :nth-child(2) {
  --about-fade-delay: 220ms;
}

.about-media > :nth-child(3) {
  --about-fade-delay: 340ms;
}

.about-greeting {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: min(100%, 700px);
  min-height: var(--about-stack-height);
  margin-left: clamp(-84px, -4.8vw, -44px);
  padding: 0;
}

.about-greeting-title {
  margin: 0;
  color: #ffffff;
  font-family: "SF Pro Display Bold", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--about-greeting-size);
  font-weight: 700;
  line-height: var(--about-name-line-height);
  letter-spacing: 0;
  white-space: nowrap;
}

.about-copy {
  position: absolute;
  top: calc((var(--about-name-size) * var(--about-name-line-height)) + var(--about-name-gap) + (var(--about-photo-width) / 2));
  left: 0;
  width: min(100%, 690px);
  transform: translateY(-50%);
}

.about-bio {
  display: grid;
  gap: 18px;
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: "SF Pro Display Medium", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: 0;
}

.about-bio p {
  margin: 0;
}

.about-domain {
  color: #002FA7;
}

.about-ps {
  margin: 27px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: "SF Pro Display Medium", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
}

.about-ps a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.about-name {
  --about-final-y: var(--about-name-y);
  width: var(--about-photo-width);
  max-width: 100%;
  margin: 0 0 var(--about-name-gap);
  color: #ffffff;
  font-family: "SF Pro Display Ultra Light", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--about-name-size);
  font-weight: 100;
  line-height: var(--about-name-line-height);
  letter-spacing: 0;
  text-align: center;
}

.about-portrait {
  display: block;
  width: var(--about-photo-width);
  max-width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
}

.about-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.25vw, 34px);
  margin-top: var(--about-social-gap);
}

.about-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
}

.about-social-link:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 6px;
}

.about-social-logo {
  display: block;
  width: auto;
  height: clamp(20px, 2vw, 30px);
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.about-social-logo-tall {
  height: clamp(24px, 2.35vw, 36px);
}

.about-social-logo-wide {
  height: clamp(18px, 1.85vw, 28px);
}

@keyframes aboutContentFade {
  from {
    opacity: 0;
    transform: translateY(calc(16px + var(--about-final-y, 0px)));
  }

  to {
    opacity: 1;
    transform: translateY(var(--about-final-y, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-page > :not(.about-media),
  .about-media > * {
    animation: none;
  }
}

.intro.is-logo .brand-lockup {
  animation: logoAppear 1000ms ease forwards;
}

.intro.is-logo .brand-logo {
  animation: logoSettle 1000ms cubic-bezier(0.42, 0, 0.2, 1) 1750ms forwards;
}

.intro.is-word .brand-name {
  animation: wordReveal 1500ms var(--brand-ease) forwards;
}

.intro.is-complete .brand-lockup {
  transform: translate3d(0, 0, 0) scale(1);
}

.intro.is-complete .masthead {
  pointer-events: auto;
}

.intro.is-skipped::after {
  opacity: 0.24;
  transition: none;
}

.intro.is-skipped .brand-lockup {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  animation: none;
}

.intro.is-skipped .brand-logo {
  transform: scale(1);
  animation: none;
}

.intro.is-skipped .brand-name {
  width: var(--word-width, auto);
  margin-left: var(--brand-gap);
  opacity: 1;
  transform: translate3d(0, 0, 0);
  animation: none;
}

@keyframes logoAppear {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes logoSettle {
  0% {
    transform: scale(var(--brand-logo-entry-scale));
  }

  100% {
    transform: scale(1);
  }
}

@keyframes wordReveal {
  0% {
    width: 0;
    margin-left: 0;
    opacity: 0;
    transform: translate3d(-10px, 0, 0);
  }

  25% {
    opacity: 1;
  }

  100% {
    width: var(--word-width, 0px);
    margin-left: var(--brand-gap);
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (min-width: 521px) and (max-width: 1180px) {
  .about-page {
    --about-side-gutter: clamp(28px, 4vw, 58px);
    --about-photo-width: min(62vw, 420px);
    --about-name-size: clamp(23.4px, 4.32vw, 30.6px);
    --about-greeting-size: clamp(33.5px, 5.66vw, 42.7px);
    --about-name-y: 0px;
    --about-name-gap: 28px;
    grid-template-columns: 1fr;
  }

  .about-media {
    transform: none;
  }

  .about-greeting {
    justify-self: center;
    width: min(calc(100vw - clamp(56px, 8vw, 116px)), 640px);
    min-height: auto;
    margin-left: 0;
    margin-top: 40px;
    padding: 0;
    text-align: center;
  }

  .about-copy {
    position: static;
    width: min(100%, 620px);
    margin-top: clamp(22px, 2.4vw, 34px);
    transform: none;
  }

  .about-bio {
    max-width: 620px;
    font-size: clamp(18px, 2.7vw, 20px);
  }
}

@media (max-width: 520px) {
  :root {
    --masthead-height: 56px;
    --masthead-logo-size: 30px;
    --masthead-name-size: 16px;
    --brand-text-height: clamp(20px, 6.8vw, 26px);
    --brand-gap: 10px;
  }

  .brand-stage {
    padding: 16px;
  }

  .brand-lockup {
    max-width: calc(100vw - 32px);
  }

  .site-masthead {
    gap: 6px;
    padding: 0 10px 0 14px;
  }

  .site-masthead-brand {
    gap: 6px;
  }

  .site-masthead-nav {
    max-width: calc(100vw - 178px);
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    overflow-y: visible;
  }

  .about-page {
    --about-side-gutter: 18px;
    --about-photo-width: min(76vw, 360px);
    --about-name-size: 19.8px;
    --about-greeting-size: 28.9px;
    --about-name-y: 0px;
    --about-name-gap: 24px;
    --about-social-gap: 30px;
    --about-social-height: 25px;
    grid-template-columns: 1fr;
    padding: calc(var(--masthead-height) + 20px) var(--about-side-gutter) 34px;
  }

  .about-page::before {
    background-position: 30% 16%;
    transform: translate3d(5%, 9%, 0) scale(1.12);
  }

  .about-media {
    min-height: calc(100svh - var(--masthead-height) - 54px);
    transform: none;
  }

  .about-greeting {
    justify-self: center;
    width: min(calc(100vw - 36px), 430px);
    min-height: auto;
    margin-left: 0;
    margin-top: 34px;
    padding: 0;
    text-align: center;
  }

  .about-greeting-title {
    font-size: clamp(16px, 5.1vw, var(--about-greeting-size));
  }

  .about-copy {
    position: static;
    width: 100%;
    margin-top: 20px;
    transform: none;
  }

  .about-bio {
    max-width: 100%;
    font-size: clamp(15px, 4vw, 18px);
    line-height: 1.36;
  }

  .about-name {
    margin-bottom: 24px;
  }

  .about-portrait {
    width: var(--about-photo-width);
  }

  .about-socials {
    width: var(--about-photo-width);
    gap: 16px;
    margin-top: 30px;
  }

  .about-social-logo {
    height: 21px;
  }

  .about-social-logo-tall {
    height: 25px;
  }

  .about-social-logo-wide {
    height: 19px;
  }
}

.scroll-space {
  height: 200vh;
  background: #fff;
}

@media (max-width: 860px) {
  :root {
    --jobs-quote-size: clamp(21px, 5.45vw, 34px);
    --jobs-mobile-copy-space: clamp(288px, 38svh, 380px);
  }

  .jobs-quote-image {
    left: 50%;
    bottom: var(--jobs-mobile-copy-space);
    height: min(calc(100svh - var(--masthead-height) - var(--jobs-mobile-copy-space)), 125vw);
    transform: translate3d(-50%, calc(0.12% + var(--jobs-image-y)), 0);
    transform-origin: bottom center;
  }

  .jobs-quote-copy {
    top: auto;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    left: clamp(18px, 5vw, 44px);
    right: clamp(18px, 5vw, 44px);
    width: auto;
    transform: none;
  }

  .jobs-quote-author {
    margin-top: clamp(24px, 5vh, 44px);
  }
}

@media (min-width: 861px) and (max-height: 760px) {
  :root {
    --jobs-quote-size: clamp(28px, 2.48vw, 44px);
  }

  .jobs-quote-author {
    margin-top: clamp(32px, 5vh, 58px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro::after,
  .intro-video,
  .brand-lockup,
  .brand-name,
  .jobs-quote-image,
  .jobs-quote-text,
  .jobs-quote-author {
    transition: none;
    animation-duration: 1ms !important;
  }
}
