/* Keep the dog, collar and app together in the new hero artwork. */
.hero .hero-grid {
  grid-template-columns: minmax(0, .36fr) minmax(0, .64fr);
  gap: 0;
  min-height: 520px;
  aspect-ratio: 1672 / 720;
  overflow: hidden;
  border-radius: 40px;
  background: #061730;
}

.hero .hero-stage {
  inset: 0;
  border-radius: inherit;
}

.hero .hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: none;
  scale: none;
  translate: none;
  -webkit-mask-image: none;
  mask-image: none;
  animation: none;
}

.hero .hero-intro {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  min-height: 0;
  padding: 36px 0 36px clamp(24px, 2.8vw, 42px);
}

.hero .hero-intro .eyebrow {
  margin: 0;
  color: #a9bdd8;
}

.hero .hero-intro h1 {
  max-width: none;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3.1vw, 3.1rem);
  line-height: 1.02;
}

.hero .hero-intro .hero-manifesto {
  margin: 0;
}

.hero .hero-intro .hero-text {
  width: auto;
  max-width: 32ch;
  color: #c0cde0;
  font-size: .95rem;
  line-height: 1.5;
  white-space: normal;
}

.hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero .hero-actions .button {
  height: 46px;
  padding-inline: 20px;
  border-color: #fff;
  background: #fff;
  color: #10213b;
}

.hero .hero-actions .button-ghost {
  border-color: rgba(213, 229, 255, .45);
  background: transparent;
  color: #fff;
}

@media (min-width: 1200px) and (hover: hover) {
  .hero .hero-actions .button:hover {
    border-color: #bedcff;
    background: #bedcff;
    color: #10213b;
  }

  .hero .hero-actions .button-ghost:hover {
    background: rgba(213, 229, 255, .12);
    color: #fff;
  }
}

@media (min-width: 768px) {
  .hero .snapshot-ribbon li:nth-child(2) {
    margin-top: 0;
  }
}

@media (min-width: 1200px) {
  .hero .snapshot-ribbon li:nth-child(2) {
    margin-top: -74px;
  }
}

@media (max-width: 1199px) {
  .hero .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-height: 0;
    aspect-ratio: auto;
    overflow: visible;
    border-radius: 0;
    background: transparent;
  }

  .hero .hero-intro {
    gap: 18px;
    padding: 0;
  }

  .hero .hero-intro .eyebrow {
    color: var(--ink-3);
  }

  .hero .hero-intro h1 {
    color: var(--ink);
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .hero .hero-intro .hero-text {
    max-width: 52ch;
    color: var(--ink-2);
  }

  .hero .hero-actions .button {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
  }

  .hero .hero-actions .button-ghost {
    border-color: var(--line-strong);
    background: transparent;
    color: var(--ink);
  }

  .hero .hero-showcase {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .hero .hero-stage {
    position: relative;
    min-height: 0;
    height: auto;
    aspect-ratio: 1672 / 720;
    overflow: hidden;
    border-radius: 28px;
    background: #061730;
  }

  .hero .hero-photo {
    height: 100%;
    object-position: right top;
  }
}

@media (max-width: 767px) {
  .hero .hero-intro h1 {
    font-size: clamp(2.1rem, 10vw, 2.8rem);
  }

  html[lang="fr"] .hero .hero-intro h1 {
    font-size: clamp(1.9rem, 8vw, 2.2rem);
  }

  .hero .hero-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .hero .hero-actions .button {
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
    height: 48px;
    min-height: 48px;
    padding-inline: clamp(10px, 3vw, 18px);
    font-size: clamp(.75rem, 3.6vw, .95rem);
  }
}

/* Make the store link the accent action on both light and dark hero layouts. */
.hero .hero-actions .button-ghost {
  border-color: #f6c453;
  background: #f6c453;
  color: #111820;
}

@media (hover: hover) {
  .hero .hero-actions .button-ghost:hover {
    border-color: #ffda78;
    background: #ffda78;
    color: #111820;
  }
}
