/* A small lift balances the space above and below the forged emblem. */
.site-foreground .hero-art img { inset-block: -32px 32px; }

.hero-copy .hero-name {
  /* The ink of the S extends past its advance with negative letter-spacing. */
  padding-inline-end: .06em;
  margin-inline-end: -.06em;
  background:
    url("/assets/forge/satin-steel.svg") center / cover,
    linear-gradient(114deg, #f5f4ef 6%, #b9bdc0 34%, #f3f4f1 55%, #d7d4cc 74%, #e3c0a3 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-name-tail { margin-inline-start: -.045em; }

@media (max-width: 480px) {
  .showcase-gallery[data-carousel^="orna"] .showcase-dots { min-width: 0; }
  .showcase-gallery[data-carousel^="orna"] .showcase-dots button { min-width: 0; }
  .showcase-gallery[data-carousel^="orna"] .showcase-dots button span { max-width: 80%; }
  .showcase-gallery[data-carousel^="orna"] .showcase-arrows { flex: none; }
}

.forge-real-flame {
  position: absolute;
  z-index: 2;
  left: 25%;
  bottom: 24%;
  width: 50%;
  height: 35%;
  filter: drop-shadow(0 0 5px #f267235c);
  pointer-events: none;
}
.has-real-flame > .lantern-flame { visibility: hidden; }

.site-foreground .button.primary,
.orna-actions .play-store-badge {
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.site-foreground .showcase-row,
.orna-section .feature-cell,
.orna-pricing .plan {
  transition: border-color .25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .site-foreground .button.primary:hover { box-shadow: 0 7px 24px #ff6d3530; }
  .orna-actions .play-store-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px #e8c86b20;
  }
  .site-foreground .showcase-row:hover { border-color: #8c664a70; }
  .orna-section .feature-cell:hover,
  .orna-pricing .plan:hover { border-color: #b8995966; }
}

@media (prefers-reduced-motion: no-preference) {
  .is-arriving:not(:focus-within) {
    animation: content-arrival .64s cubic-bezier(.2, .65, .3, 1) var(--arrival-delay, 0ms) both;
  }
  .hero-art.is-arriving { --arrival-travel: 7px; }
  @keyframes content-arrival {
    from { opacity: .25; translate: 0 var(--arrival-travel, 13px); }
    to { opacity: 1; translate: 0 0; }
  }
}

@media (max-width: 760px) {
  .site-foreground .hero-art img { inset-block: 5rem auto; }
}
@media (prefers-reduced-motion: reduce) {
  .site-foreground .button.primary,
  .orna-actions .play-store-badge,
  .site-foreground .showcase-row,
  .orna-section .feature-cell,
  .orna-pricing .plan { transition: none; }
  .orna-actions .play-store-badge:hover { transform: none; }
}
@media (forced-colors: active) {
  .hero-copy .hero-name { background: none; -webkit-text-fill-color: CanvasText; }
}

/* The text backdrop's box ends while its gradient is still dark, which drew a
   vertical line across the hero emblem: fade its right edge out. */
@media (min-width: 761px) {
  .site-foreground .hero-copy::before {
    -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 55%, transparent 100%);
  }
}
