/* MoonCareer-only copy of the service layout and hero rules. */

:root {
  --moonshot-blue: #015283;
  --moonshot-blue-deep: #0c344c;
  --moonshot-red: #ff5959;
  --moonshot-yellow: #ffbd59;
  --moonshot-ink: #333333;
  --moonshot-line: rgba(51, 51, 51, 0.14);
  --moonshot-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.moonshot-page {
  overflow-x: clip;
  background: transparent;
  color: var(--moonshot-ink);
}

.moonshot-page .fluid-ambient {
  background:
    radial-gradient(ellipse 68% 72% at 50% 43%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.91) 44%, rgba(235, 246, 252, 0.58) 76%, rgba(210, 232, 244, 0.24) 100%),
    radial-gradient(ellipse 56% 64% at -2% 14%, rgba(53, 142, 191, 0.36) 0%, rgba(85, 163, 204, 0.18) 48%, transparent 76%),
    radial-gradient(ellipse 54% 60% at 102% 22%, rgba(1, 82, 131, 0.3) 0%, rgba(79, 151, 188, 0.16) 50%, transparent 78%),
    radial-gradient(ellipse 70% 48% at 52% 108%, rgba(120, 190, 222, 0.23) 0%, transparent 72%),
    radial-gradient(ellipse 46% 52% at 7% 62%, rgba(255, 89, 89, 0.28) 0%, rgba(255, 126, 115, 0.15) 48%, transparent 76%),
    radial-gradient(ellipse 48% 50% at 93% 58%, rgba(255, 189, 89, 0.3) 0%, rgba(245, 199, 112, 0.16) 50%, transparent 78%),
    linear-gradient(135deg, #edf6fa 0%, #ffffff 48%, #e6f1f7 100%);
}

.moonshot-page .fluid-ambient::before,
.moonshot-page .fluid-ambient__shape {
  display: none;
  animation: none;
}

.moonshot-page .fluid-ambient::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(210, 232, 244, 0.06));
}

.moonshot-page .site-header {
  z-index: 120;
}

.moonshot-main {
  position: relative;
  z-index: 1;
}

.moonshot-page .company-shell {
  position: relative;
}

.moonshot-page [data-reveal],
.moonshot-page [data-reveal].is-revealed {
  opacity: 1;
  filter: none;
  transform: none;
  transition: none;
}

.moonshot-section {
  position: relative;
  padding-block: clamp(7rem, 11vw, 11rem);
}

.moonshot-section::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(255, 255, 255, 0.46);
  content: "";
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.moonshot-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: clamp(3.4rem, 7vw, 6.5rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--moonshot-line);
}

.moonshot-heading .eyebrow {
  margin: 0 0 1rem;
}

.moonshot-heading .design-section-title,
.moonshot-heading > div > h2 {
  max-width: 17em;
  text-wrap: balance;
}

.moonshot-heading__lead {
  max-width: 44rem;
  margin: 1.35rem 0 0;
  color: rgba(51, 51, 51, 0.66);
  font-size: clamp(0.86rem, 1.15vw, 1.03rem);
  font-weight: 500;
  letter-spacing: 0.065em;
  line-height: 2;
}

.moonshot-heading--light {
  border-top-color: rgba(255, 255, 255, 0.22);
}

.moonshot-heading--light .eyebrow,
.moonshot-heading--light h2,
.moonshot-heading--light .moonshot-heading__lead {
  color: #ffffff;
}

.moonshot-hero {
  position: relative;
  z-index: 4;
  height: 280svh;
  min-height: 92rem;
  background: transparent;
  isolation: isolate;
}

.moonshot-hero__sticky {
  position: sticky;
  top: 0;
  overflow: hidden;
  width: 100%;
  height: 100svh;
  min-height: 0;
  background: transparent;
  perspective: 1200px;
  isolation: isolate;
}

.moonshot-webgl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 600ms ease;
  filter: none;
}

.moonshot-webgl--back {
  z-index: 1;
}

.moonshot-webgl--front {
  z-index: 5;
}

html.moonshot-webgl-ready .moonshot-webgl {
  opacity: 1;
}

.moonshot-film {
  position: absolute;
  z-index: 2;
  inset: 0;
  opacity: 0;
  animation: moonshot-fallback-ready 1.2s steps(1, end) forwards;
  transform-style: preserve-3d;
  transition: opacity 420ms ease;
  pointer-events: none;
}

html.moonshot-js .moonshot-film {
  opacity: 0;
  animation: none;
}

html.moonshot-webgl-fallback .moonshot-film {
  opacity: 1;
  animation: none;
}

html.moonshot-webgl-ready .moonshot-film {
  opacity: 0;
}

.moonshot-film__orbit {
  position: absolute;
  top: 62%;
  left: 50%;
  border: 1px solid rgba(51, 51, 51, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-7deg);
}

.moonshot-film__orbit--outer {
  width: min(110vw, 95rem);
  height: min(49vw, 35rem);
}

.moonshot-film__orbit--inner {
  width: min(83vw, 70rem);
  height: min(34vw, 25rem);
  border-style: dashed;
  opacity: 0.52;
}

.moonshot-film__card {
  --fallback-x: 0vw;
  --fallback-y: 0vh;
  --fallback-z: 0px;
  --fallback-r: 0deg;
  position: absolute;
  top: 60%;
  left: 50%;
  overflow: hidden;
  width: clamp(10rem, 18vw, 17rem);
  aspect-ratio: 3 / 2;
  margin: 0;
  border: 0.45rem solid #ffffff;
  border-radius: 0.2rem;
  box-shadow: 0 1.5rem 4rem rgba(20, 35, 44, 0.13);
  opacity: 0.96;
  transform:
    translate(-50%, -50%)
    translate3d(var(--fallback-x), var(--fallback-y), var(--fallback-z))
    rotate(var(--fallback-r));
}

.moonshot-film__card--wide {
  aspect-ratio: 3 / 2;
}

.moonshot-film__card--portrait {
  width: clamp(10rem, 18vw, 17rem);
  aspect-ratio: 3 / 2;
}

.moonshot-film__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.moonshot-film__card:nth-of-type(1) { --fallback-x: -39vw; --fallback-y: -16vh; --fallback-r: -8deg; }

.moonshot-film__card:nth-of-type(2) { --fallback-x: -23vw; --fallback-y: 12vh; --fallback-z: 35px; --fallback-r: 9deg; }

.moonshot-film__card:nth-of-type(3) { --fallback-x: -9vw; --fallback-y: -24vh; --fallback-z: -35px; --fallback-r: 4deg; }

.moonshot-film__card:nth-of-type(4) { --fallback-x: 9vw; --fallback-y: 17vh; --fallback-z: 55px; --fallback-r: -7deg; }

.moonshot-film__card:nth-of-type(5) { --fallback-x: 25vw; --fallback-y: -18vh; --fallback-z: -45px; --fallback-r: -4deg; }

.moonshot-film__card:nth-of-type(6) { --fallback-x: 40vw; --fallback-y: 8vh; --fallback-r: 8deg; }

.moonshot-film__card:nth-of-type(7) { --fallback-x: -42vw; --fallback-y: 20vh; --fallback-z: -60px; --fallback-r: 5deg; }

.moonshot-film__card:nth-of-type(8) { --fallback-x: -4vw; --fallback-y: 28vh; --fallback-z: 70px; --fallback-r: -3deg; }

.moonshot-film__card:nth-of-type(9) { --fallback-x: 35vw; --fallback-y: 24vh; --fallback-z: -30px; --fallback-r: -9deg; }

.moonshot-film__card:nth-of-type(10) { --fallback-x: 1vw; --fallback-y: -34vh; --fallback-z: -70px; --fallback-r: 7deg; }

.moonshot-hero__copy {
  --moonshot-copy-exit: 0%;
  position: absolute;
  z-index: 4;
  top: 52.5%;
  left: 50%;
  width: min(92%, 80rem);
  color: var(--moonshot-ink);
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.moonshot-hero__label {
  margin: 0 0 clamp(1.25rem, 2vw, 2rem);
  font-family: var(--font-heiti, sans-serif);
  font-size: clamp(0.7rem, 0.9vw, 0.9rem);
  font-weight: 300;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.moonshot-hero__copy h1 {
  margin: 0;
  font-family: var(--font-heiti, sans-serif);
  font-size: clamp(2.3rem, 5.7vw, 5.3rem);
  font-weight: 300;
  letter-spacing: 0.025em;
  line-height: 0.88;
}

.moonshot-hero__label > span,
.moonshot-hero__copy h1 > span,
.moonshot-hero__tagline > span {
  display: block;
  padding: 0.08em 0.06em 0.18em;
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
}

html.moonshot-js .moonshot-hero__label > span,
html.moonshot-js .moonshot-hero__copy h1 > span,
html.moonshot-js .moonshot-hero__tagline > span {
  opacity: 0.06;
  clip-path: inset(0 100% 0 0);
  transform: translateY(1rem);
}

.moonshot-hero__label i,
.moonshot-hero__copy h1 i,
.moonshot-hero__tagline i {
  display: block;
  font-style: normal;
  clip-path: inset(0 0 var(--moonshot-copy-exit) 0);
  will-change: clip-path;
}

.moonshot-hero__copy h1 i {
  margin: -0.1em -0.02em -0.06em;
  padding: 0.1em 0.02em 0.06em;
}

.moonshot-hero__tagline {
  margin: clamp(0.55rem, 0.9vw, 0.85rem) 0 0;
  color: var(--moonshot-blue);
  font-size: clamp(1.1rem, 2.5vw, 2.2rem);
  font-weight: 650;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

html.moonshot-js.moonshot-motion-ready .moonshot-hero__label > span,
html.moonshot-js.moonshot-motion-ready .moonshot-hero__copy h1 > span,
html.moonshot-js.moonshot-motion-ready .moonshot-hero__tagline > span {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
  transition:
    clip-path 900ms cubic-bezier(0.2, 0.8, 0.25, 1),
    opacity 640ms ease,
    transform 900ms cubic-bezier(0.2, 0.8, 0.25, 1);
}

html.moonshot-js.moonshot-motion-ready .moonshot-hero__label > span {
  transition-delay: 140ms;
}

html.moonshot-js.moonshot-motion-ready .moonshot-hero__copy h1 > span {
  transition-delay: 430ms;
}

html.moonshot-js.moonshot-motion-ready .moonshot-hero__tagline > span {
  transition-delay: 900ms;
}

@keyframes moonshot-fallback-ready {
  0%, 99.9% { opacity: 0; }
  100% { opacity: 1; }
}

@media (width < 768px) {
.moonshot-section {
    padding-block: 6.5rem;
  }


}

@media (width < 1200px) {
.moonshot-heading {
    margin-bottom: 3.5rem;
  }


}

@media (width < 768px) {
.moonshot-hero {
    min-height: 0;
  }

.moonshot-hero__copy {
    top: 48%;
  }

.moonshot-hero__tagline {
    font-size: clamp(1rem, 4.8vw, 1.45rem);
    letter-spacing: 0.12em;
  }

.moonshot-film__card:nth-of-type(n + 9) {
    display: none;
  }


}

@media (width < 768px) {
.moonshot-heading {
    gap: 1rem;
  }

.moonshot-heading .design-section-title,
.moonshot-heading > div > h2 {
    font-size: 1.55rem;
    line-height: 1.55;
  }

.moonshot-hero__label {
    font-size: 0.55rem;
    letter-spacing: 0.18em;
  }


}

@media (prefers-reduced-motion: reduce) {
.moonshot-hero {
    height: 200svh;
    min-height: 0;
  }

.moonshot-webgl {
    display: none;
  }

.moonshot-film {
    opacity: 1 !important;
  }

.moonshot-hero__label > span,
.moonshot-hero__copy h1 > span,
.moonshot-hero__tagline > span {
    opacity: 1;
    clip-path: none;
    transform: none;
    transition: none;
  }

.moonshot-hero__label i,
.moonshot-hero__copy h1 i,
.moonshot-hero__tagline i {
    opacity: 1;
    clip-path: none;
    transform: none;
  }


}

.moonshot-page .moonshot-section::before {
  display: none;
  content: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.moonshot-page .moonshot-heading {
  display: block;
  margin-bottom: clamp(3.5rem, 7vw, 7rem);
  padding-top: 0;
  border-top: 0;
}

.moonshot-page .moonshot-heading .eyebrow {
  margin: 0 0 clamp(1rem, 1.8vw, 1.6rem);
  color: var(--moonshot-blue);
  font-size: clamp(0.72rem, 0.9vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.moonshot-page .moonshot-heading .design-section-title,
.moonshot-page .moonshot-heading > div > h2 {
  max-width: 16em;
  margin: 0;
  font-size: var(--design-heading-size);
  font-weight: 650;
  letter-spacing: 0.035em;
  line-height: 1.38;
  text-wrap: balance;
}

.moonshot-page .moonshot-heading__lead {
  max-width: 48rem;
  margin-top: 1.5rem;
  color: rgba(51, 51, 51, 0.68);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}

.moonshot-contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mooncareer-inquiry-links a,
.moonshot-contact__links a {
  display: inline-flex;
  min-height: 3.25rem;
  justify-content: center;
  align-items: center;
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--moonshot-blue);
  border-radius: 999px;
  background: var(--moonshot-blue);
  color: #ffffff;
  font-size: clamp(0.8rem, 0.95vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: transform 300ms var(--moonshot-ease), background-color 250ms ease, color 250ms ease;
}

.moonshot-function-list {
  display: grid;
  gap: clamp(5rem, 10vw, 10rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.moonshot-function-list li {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  padding: 0 0 clamp(5rem, 9vw, 9rem);
  border-bottom: 1px solid rgba(1, 82, 131, 0.18);
  background: transparent;
}

.moonshot-function-list li:nth-child(2),
.moonshot-function-list li:nth-child(5) {
  background: transparent;
}

.moonshot-function-list li:nth-child(4) {
  background: transparent;
}

.moonshot-function-list__copy > span {
  display: block;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--moonshot-blue);
  font-family: var(--font-heiti, sans-serif);
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.08em;
}

.moonshot-function-list li:nth-child(even) .moonshot-function-list__copy {
  order: 2;
}

.moonshot-function-list figure {
  width: 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 8 / 5;
  background: #f5f6f7;
  contain: layout paint;
}

.moonshot-function-list li:nth-child(even) figure {
  order: 1;
}

.moonshot-function-list img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.moonshot-function-list h3 {
  max-width: 32em;
  margin: 0;
  color: var(--moonshot-ink);
  font-size: clamp(1.35rem, 2.4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.55;
  text-wrap: balance;
}

.moonshot-function-list p {
  max-width: 55rem;
  margin: 1.15rem 0 0;
  color: rgba(51, 51, 51, 0.72);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  font-weight: 500;
  letter-spacing: 0.045em;
  line-height: 2;
  text-wrap: pretty;
}

.moonshot-page .moonshot-heading--light .eyebrow,
.moonshot-page .moonshot-heading--light h2,
.moonshot-page .moonshot-heading--light .moonshot-heading__lead {
  color: #ffffff;
}

.moonshot-contact {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100svh;
  padding-block: clamp(7rem, 12vw, 12rem);
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 8% 12%, rgba(255, 189, 89, 0.28) 0%, transparent 72%),
    radial-gradient(ellipse 54% 64% at 92% 20%, rgba(255, 89, 89, 0.2) 0%, transparent 74%),
    radial-gradient(ellipse 65% 56% at 78% 100%, rgba(57, 140, 178, 0.24) 0%, transparent 72%),
    linear-gradient(135deg, #f7fbfd 0%, #ffffff 46%, #f4f8fb 100%);
  color: var(--moonshot-ink);
  text-align: center;
}

.moonshot-contact__inner {
  width: 100%;
}

.moonshot-contact__label {
  margin: 0 0 clamp(1.25rem, 2vw, 2rem);
  font-family: var(--font-heiti, sans-serif);
  font-size: clamp(0.7rem, 0.9vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--moonshot-blue);
}

.moonshot-contact h2 {
  margin: 0;
  font-family: var(--font-heiti, sans-serif);
  font-size: clamp(2.3rem, 5.7vw, 5.3rem);
  font-weight: 300;
  letter-spacing: 0.025em;
  line-height: 0.88;
  color: var(--moonshot-ink);
}

.moonshot-contact__tagline {
  margin: clamp(0.55rem, 0.9vw, 0.85rem) 0 0;
  color: var(--moonshot-blue);
  font-size: clamp(1.1rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

.moonshot-contact__links {
  justify-content: center;
  margin-top: clamp(3.5rem, 6vw, 6rem);
}

.moonshot-contact__links a {
  min-width: 13rem;
  border-color: var(--moonshot-blue);
  background: var(--moonshot-blue);
  color: #ffffff;
}

.moonshot-contact__links a:hover,
.moonshot-contact__links a:focus-visible {
  border-color: var(--moonshot-blue);
  background: transparent;
  color: var(--moonshot-blue);
  transform: translateY(-0.15rem);
}

html.moonshot-lower-motion .moonshot-write {
  opacity: 0.06;
  clip-path: inset(0 100% 0 0);
  transform: translateY(0.7rem);
  transition:
    clip-path 920ms cubic-bezier(0.2, 0.8, 0.25, 1),
    opacity 620ms ease,
    transform 920ms cubic-bezier(0.2, 0.8, 0.25, 1);
  transition-delay: var(--moonshot-write-delay, 0ms);
  will-change: clip-path, opacity, transform;
}

html.moonshot-lower-motion .moonshot-write.is-written {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
}

html.moonshot-lower-motion a.moonshot-write:not(.is-written),
html.moonshot-lower-motion button.moonshot-write:not(.is-written) {
  pointer-events: none;
}

@media (width < 1200px) {
.moonshot-page:where(.mooncareer-page) .moonshot-heading .design-section-title {
    max-width: none;
    font-size: var(--design-heading-size);
    line-height: 1.5;
  }


}

@media (width < 1200px) {
.moonshot-page:where(.mooncareer-page) .moonshot-heading > div > h2 {
    max-width: none;
    font-size: var(--design-heading-size);
    line-height: 1.5;
  }


}

@media (width < 768px) {
.moonshot-contact__links a {
    width: 100%;
  }

.moonshot-function-list li {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding-bottom: 4.5rem;
  }

.moonshot-function-list li .moonshot-function-list__copy {
    order: 2;
  }

.moonshot-function-list li figure {
    order: 1;
  }

.moonshot-function-list h3 {
    font-size: clamp(1.3rem, 6.2vw, 1.8rem);
  }


}

@media (prefers-reduced-motion: reduce) {
.moonshot-page [data-moonshot-scroll-image] {
    opacity: 1;
    clip-path: none;
    transform: none;
    transition: none;
  }


}
