/* Header and hero use the same .shell width as the homepage content. */
/* Precision in motion. Homepage cover, translated from the design mockup.
   Decorative media is separate from the approved, accessible HTML copy. */
.home-studio .site-header {
  background: #0b100e;
  color: #f7f8f4;
}
.home-has-js .home-studio > .site-header {
  position: absolute;
  inset: 0 0 auto;
  background: transparent;
}
.home-studio .header-inner {
  border-bottom-color: #ffffff30;
}
.home-studio .header-cta {
  background: transparent;
  color: #f7f8f4;
  border: 1px solid #ffffff70;
}
.home-studio .header-cta:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.studio-hero.hero-cinematic {
  --hero-nav-height: 82px;
  --focus: var(--lime);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: min(100svh, 1040px);
  overflow: hidden;
  background: #0b100e;
  color: #f7f8f4;
}
.hero-cinematic .hero-backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}
.hero-cinematic .hero-backdrop video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
}
.hero-cinematic .hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  /* The scrims protect text contrast over the textured artwork. */
  background:
    linear-gradient(
      90deg,
      rgba(6, 11, 9, 0.94) 0%,
      rgba(6, 11, 9, 0.76) 38%,
      rgba(6, 11, 9, 0.24) 78%,
      rgba(6, 11, 9, 0) 100%
    ),
    linear-gradient(0deg, #060b0966, #060b0900 42%);
}
.hero-cinematic .hero-content {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-block: calc(var(--hero-nav-height) + 64px) 76px;
}
.hero-cinematic .category {
  margin: 0 0 20px;
  color: #e0e6df;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.studio-hero.hero-cinematic h1 {
  max-width: min(10.6em, 61%);
  margin: 0;
  color: #f7f8f4;
  font-family: Floges, Arial, sans-serif;
  /* Sized so the longest line stays clear of the robot, including its sway. */
  font-size: clamp(52px, 5.56vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-transform: none;
  white-space: normal;
}
.hero-cinematic h1 .hero-statement {
  display: block;
  text-wrap: balance;
}
.hero-cinematic h1 .hero-statement + .hero-statement {
  margin-top: 0.14em;
}
.hero-cinematic h1 .hero-accent {
  color: var(--lime);
}
.hero-cinematic h1 .hero-word {
  display: inline-block;
}
.hero-cinematic .hero-description {
  max-width: 580px;
  margin-top: 32px;
  color: #e0e6df;
  font-size: 18px;
  line-height: 1.55;
  text-wrap: pretty;
}
.hero-cinematic .hero-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  max-width: none;
  margin-top: 24px;
}
.hero-cinematic .hero-actions .button {
  min-height: 54px;
  padding: 13px 20px;
  background: var(--lime);
  color: var(--ink);
  gap: 20px;
  font-size: 15px;
  font-weight: 500;
}
.hero-cinematic .hero-actions .button:hover {
  background: #d1f5ae;
}
.hero-cinematic .hero-actions .text-link {
  min-height: 48px;
  color: #f7f8f4;
  font-size: 14px;
  gap: 16px;
  text-decoration-color: #f7f8f480;
}
.hero-cinematic .hero-actions .text-link:hover {
  text-decoration-color: var(--lime);
}
.hero-cinematic .hero-foot {
  position: relative;
  justify-content: flex-end;
  border: 0;
  margin-top: 0;
  padding-block: 16px 26px;
}
.hero-cinematic .explore-link {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 0;
  color: #f7f8f4;
  font-size: 28px;
}
.hero-cinematic .explore-link:hover {
  background: #ffffff14;
}
html:not(.home-has-js) .hero-cinematic .hero-content {
  padding-top: 60px;
}
@media (min-width: 1024px) {
  .hero-cinematic .hero-robot-stage {
    left: 59%;
    width: min(33vw, 576px);
  }
  /* Extra top space lowers the title slightly beneath the header. */
  .hero-cinematic .hero-content {
    justify-content: center;
    padding-block: calc(var(--hero-nav-height) + 64px) var(--hero-nav-height);
  }
  .hero-cinematic .hero-foot {
    position: absolute;
    inset: auto 0 0;
  }
}
@media (min-width: 1024px) and (min-height: 850px) {
  .hero-cinematic .hero-robot-stage {
    top: clamp(210px, 25vh, 270px);
  }
}
@media (min-width: 1024px) and (max-height: 1040px) {
  .studio-hero.hero-cinematic {
    --hero-nav-height: 74px;
  }
  .hero-cinematic .hero-content {
    padding-block: calc(var(--hero-nav-height) + 64px) var(--hero-nav-height);
  }
  .hero-cinematic .category {
    margin-bottom: 20px;
  }
  .studio-hero.hero-cinematic h1 {
    /* Natural wrapping leaves room for the description and actions on laptops. */
    font-size: clamp(52px, min(5.56vw, calc((100svh - 340px) / 4.6)), 80px);
  }
  .hero-cinematic .hero-description {
    max-width: 580px;
    margin-top: 28px;
  }
  .hero-cinematic .hero-actions {
    margin-top: 22px;
  }
  .hero-cinematic .hero-actions .button {
    min-height: 54px;
  }
  .hero-cinematic .hero-foot {
    padding-block: 8px 12px;
  }
}
@media (min-width: 1024px) and (max-height: 560px) {
  .hero-cinematic .hero-content {
    padding-block: calc(var(--hero-nav-height) + 32px) var(--hero-nav-height);
  }
  .studio-hero.hero-cinematic h1 {
    font-size: clamp(36px, calc((100svh - 330px) / 4.4), 66px);
  }
  .hero-cinematic .hero-description {
    max-width: 540px;
    margin-top: 24px;
    font-size: 17px;
  }
  .hero-cinematic .hero-actions {
    margin-top: 16px;
  }
  .hero-cinematic .hero-foot {
    padding-block: 4px 8px;
  }
}
@media (max-width: 1023px) {
  .studio-hero.hero-cinematic {
    --hero-nav-height: 78px;
  }
  .home-studio .site-header.is-enhanced .site-navigation {
    background: #0b100e;
    border-bottom-color: #ffffff50;
  }
  .hero-cinematic .hero-backdrop video {
    object-position: 74% center;
  }
  .hero-cinematic .hero-backdrop::after {
    background:
      linear-gradient(
        90deg,
        rgba(6, 11, 9, 0.84) 0%,
        rgba(6, 11, 9, 0.52) 42%,
        rgba(6, 11, 9, 0.12) 84%,
        rgba(6, 11, 9, 0) 100%
      ),
      linear-gradient(0deg, #060b09d9, #060b0900 70%);
  }
  .hero-cinematic .hero-content {
    padding-block: calc(var(--hero-nav-height) + 54px) 60px;
  }
  .studio-hero.hero-cinematic h1 {
    max-width: 53%;
    font-size: clamp(42px, 5.5vw, 58px);
  }
  .hero-cinematic .hero-description {
    max-width: 52%;
  }
  .hero-cinematic .hero-actions {
    max-width: 52%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .hero-cinematic .hero-foot {
    padding-bottom: 24px;
  }
}
/* Portrait tablets: end the hero just below the robot instead of leaving
   half a screen of empty fog. Robot height is 53vw * 1402 / 1122. */
@media (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
  .studio-hero.hero-cinematic {
    min-height: min(100svh, calc(clamp(118px, 14vh, 160px) + 66.3vw + 72px));
  }
}
@media (max-width: 767px) {
  .studio-hero.hero-cinematic {
    --hero-nav-height: 73px;
    min-height: 100svh;
  }
  .hero-cinematic .hero-backdrop video {
    object-position: 72% top;
  }
  .hero-cinematic .hero-backdrop::after {
    background:
      linear-gradient(180deg, #060b096b, #060b094d 35%, #060b0900 62%),
      linear-gradient(
        90deg,
        rgba(6, 11, 9, 0.86) 0%,
        rgba(6, 11, 9, 0.56) 46%,
        rgba(6, 11, 9, 0.14) 86%,
        rgba(6, 11, 9, 0) 100%
      ),
      linear-gradient(0deg, #060b09fa 15%, #060b09b3 50%, #060b091a 82%);
  }
  .hero-cinematic .hero-content {
    justify-content: flex-start;
    padding-block: calc(var(--hero-nav-height) + 60px) 40px;
  }
  .hero-cinematic .category {
    font-size: 13px;
  }
  .studio-hero.hero-cinematic h1 {
    max-width: 100%;
    font-size: clamp(28px, 8.72vw, 46px);
    letter-spacing: -0.03em;
  }
  .hero-cinematic .hero-description {
    max-width: 540px;
    margin-top: 26px;
    font-size: 17px;
  }
  .hero-cinematic .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 540px;
    margin-top: 22px;
    gap: 10px;
  }
  .hero-cinematic .hero-actions .button {
    width: 100%;
    min-height: 54px;
    padding: 14px 18px;
    font-size: 14px;
    gap: 16px;
  }
  .hero-cinematic .hero-actions .text-link {
    min-height: 46px;
    font-size: 13px;
    gap: 18px;
    justify-content: space-between;
  }
  .hero-cinematic .hero-foot {
    align-items: flex-end;
    padding-block: 12px 24px;
  }
  .hero-cinematic .explore-link {
    width: 44px;
    height: 44px;
    font-size: 25px;
  }
  html:not(.home-has-js) .hero-cinematic .hero-content {
    padding-top: 40px;
  }
}
@media (max-width: 359px) {
  .hero-cinematic .hero-content {
    padding-top: calc(var(--hero-nav-height) + 42px);
  }
  .hero-cinematic .hero-actions .button {
    font-size: 13px;
    padding-inline: 15px;
  }
  .hero-cinematic .hero-actions .text-link {
    font-size: 12px;
  }
}
@media print {
  .studio-hero.hero-cinematic {
    display: block;
    min-height: 0;
    background: #fff;
    color: #000;
  }
  .hero-cinematic .hero-backdrop,
  .hero-cinematic .hero-actions,
  .hero-cinematic .explore-link {
    display: none;
  }
  .hero-cinematic .hero-content {
    display: block;
    padding-block: 0 24px;
  }
  .studio-hero.hero-cinematic h1 {
    color: #000;
    max-width: none;
    font-size: 48px;
  }
  .hero-cinematic .category,
  .hero-cinematic .hero-description,
  .hero-cinematic h1 .hero-accent {
    color: #000;
  }
}
