/* Dusty Rocket Games' original brand artwork and custom studio typeface. */
@font-face {
  font-family: 'Studio Display';
  src: url('../assets/studio-display.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
.hero .hero-brand-heading {
  display: block;
  transform: none;
  transform-origin: center;
  width: min(100%, 480px);
  max-width: 480px;
  margin: -16px 0 5px;
  padding: 0;
  line-height: 1;
  text-shadow: none;
  letter-spacing: normal;
}
.hero .hero-brand-heading .hero-brand-wordmark {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 1px rgb(0 0 0 / .16));
}
.hero .hero-tagline {
  font-family: 'Studio Display', 'Arial Narrow', Impact, sans-serif;
  font-weight: 700;
  font-size: clamp(25px, 2.8vw, 42px);
  line-height: 1.1;
  letter-spacing: -.035em;
}
.featured-section .section-heading h2,
.catalog-section .section-heading h2,
.steam-spotlight h2,
.studio-section h2 {
  font-family: 'Studio Display', 'Arial Narrow', Impact, sans-serif;
  font-weight: 700;
}
@media (max-width: 1200px) and (min-width: 901px) {
  .hero .hero-brand-heading { width: min(92%, 440px); margin: -8px 0 7px; }
  .hero .hero-tagline { font-size: clamp(27px, 2.8vw, 34px); }
}
@media (max-width: 900px) {
  .hero .hero-brand-heading {
    width: min(100%, 510px);
    margin: -5px 0 8px;
  }
  .hero .hero-tagline { font-size: clamp(24px, 3.1vw, 34px); }
}
@media (max-width: 660px) {
  .hero .hero-brand-heading {
    width: min(100%, 440px);
    margin: 0 0 8px;
  }
  .hero .hero-tagline {
    font-size: clamp(25px, 6.6vw, 34px);
    letter-spacing: -.035em;
    line-height: 1.08;
  }
}

@media (min-width: 1201px) {
  .hero-copy { top: 14%; }
}

.hero .hero-tagline {
  display: table;
  max-width: calc(100% - 10px);
  background: rgba(36, 38, 40, .94);
  padding: 5px 12px 7px;
  box-shadow: 5px 5px 0 rgba(255, 117, 47, .77);
  text-shadow: none;
}
.hero .hero-tagline .tagline-highlight {
  background: transparent;
  padding: 0;
  box-shadow: none;
}
@media (max-width: 900px) and (min-width: 661px) {
  .hero-copy { top: 13.8%; }
}
@media (max-width: 660px) {
  .hero .hero-tagline { padding: 8px 10px 10px; }
}

/* Compact tablet navigation, and constrain externally hosted portrait thumbnails. */
@media (min-width: 661px) and (max-width: 900px) {
  .hero {
    background-image:
      linear-gradient(to right, rgba(36,38,40,.7) 0%, rgba(36,38,40,.34) 38%, transparent 68%),
      url('https://dustyrocketgames.com/assets/paper-arcade-background.webp');
    background-size: cover, cover;
    background-position: center center, center center;
  }
  .topbar { gap: 10px; }
  .topbar-left { min-width: 0; flex: 0 1 auto; }
  .topbar-nav { gap: 8px; }
  .topbar-nav a { font-size: 9px; letter-spacing: .7px; }
  .surprise-button { flex-shrink: 0; padding: 0 10px; font-size: 10px; }
  .hero-features .paper-card img {
    height: clamp(150px, 25vw, 225px);
    object-fit: cover;
  }
}
/* Preserve the dark logo backdrop from the original Dusty Rocket mobile hero. */
@media (max-width: 660px) {
  .hero {
    background-image:
      linear-gradient(to bottom,
        #242628 0%,
        rgba(36,38,40,.98) 10%,
        rgba(36,38,40,.90) 29%,
        rgba(36,38,40,.68) 40%,
        rgba(36,38,40,.15) 56%,
        transparent 70%),
      url('https://dustyrocketgames.com/assets/paper-arcade-background.webp');
    background-size: cover, cover;
    background-position: center top, center center;
  }
}

/* Clear, high-contrast supporting line on the arcade's illustrated hero. */
.hero-copy .hero-note {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  margin: 15px 0 0;
  padding: 10px 14px;
  color: #fff6e6;
  background: #242628;
  border-left: 4px solid #ff752f;
  box-shadow: 4px 4px 0 rgba(255,117,47,.55);
  font: 800 12px/1.5 Arial, Helvetica, sans-serif;
  letter-spacing: .055em;
  text-wrap: pretty;
}
@media (min-width: 901px) and (max-width: 1200px) {
  .hero { min-height: 785px; }
}
@media (min-width: 661px) and (max-width: 900px) {
  .hero { min-height: 740px; }
  .hero-copy .hero-note { font-size: 11px; margin-top: 9px; padding: 8px 12px; }
}
@media (max-width: 660px) {
  .hero-copy .hero-note {
    max-width: calc(100% - 10px);
    margin-top: 13px;
    padding: 9px 12px;
    font-size: 11px;
    letter-spacing: .045em;
    line-height: 1.5;
  }
}

/* Keep the original paper rocket fully recognizable across display sizes. */
@media (min-width:1201px) and (max-width:1600px) {
  .hero {
    background-size: 106% auto;
    background-position: left top;
  }
}
@media (max-width:660px) {
  /* Bring the paper rocket's silhouette into the visible crop on small screens. */
  .hero {
    background-image:
      linear-gradient(to bottom,
        #242628 0%,
        rgba(36,38,40,.92) 10%,
        rgba(36,38,40,.77) 24%,
        rgba(36,38,40,.42) 43%,
        rgba(36,38,40,.14) 56%,
        transparent 75%),
      url('https://dustyrocketgames.com/assets/paper-arcade-background.webp');
    background-position: center top, 38% center;
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
  }
  /* Same wordmark artwork, but no longer covering the rocket's whole body. */
  .hero .hero-brand-heading {
    width: min(94%, 320px);
  }
  .hero .hero-brand-wordmark {
    filter: drop-shadow(0 4px 3px rgba(0,0,0,.7));
  }
}
