/* Hero mockup only — linked from hero-mock.html, not the live index. */

.hm-badge {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 3000;
  padding: 4px 10px;
  border: 1px solid rgba(239, 84, 37, 0.85);
  border-radius: 4px;
  background: rgba(20, 20, 20, 0.85);
  color: #ef5425;
  font-family: "Ubuntu", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  pointer-events: none;
}

#pageWrap > section.hm-hero {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  margin: 0 0 5vh;
  padding: 0;
  overflow: hidden;
  background: #151515;
  color: #f9f9f9;
  scroll-margin-top: 0;
}

.hm-hero__bg,
.hm-hero__bg-shift,
.hm-hero__bg-img,
.hm-hero__shade {
  position: absolute;
  inset: 0;
}

.hm-hero__bg {
  overflow: hidden;
  pointer-events: none;
}

.hm-hero__bg-shift {
  will-change: transform;
}

.hm-hero__bg-img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  transform: scale(1.05);
  animation: hm-ken 22s ease-in-out infinite alternate;
  filter: brightness(0.58) contrast(1.08) saturate(1.06);
}

.hm-hero__shade {
  background:
    linear-gradient(90deg, rgba(16, 16, 16, 0.88) 0%, rgba(16, 16, 16, 0.5) 48%, rgba(16, 16, 16, 0.22) 100%),
    linear-gradient(180deg, rgba(16, 16, 16, 0.2) 0%, rgba(16, 16, 16, 0.72) 100%);
}

.hm-hero__content {
  position: relative;
  z-index: 2;
  width: min(92%, 740px);
  margin: 0 auto;
  padding: 18vh 6vw 10vh;
  color: #f9f9f9;
  text-align: left;
  scroll-margin-top: 20px;
}

.hm-hero__eyebrow {
  font-family: "Ubuntu", sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #ef5425;
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 1.1rem;
  padding: 0;
  text-align: left;
  width: auto;
}

.hm-hero h1 {
  font-family: "Playfair Display", "Droid Serif", serif;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
  margin: 0 0 1.3rem;
  padding: 0.45rem 0.85rem 0.55rem;
  width: auto;
  max-width: 100%;
  display: inline-block;
  font-weight: 700;
  color: #f9f9f9;
  background: rgba(20, 20, 20, 0.72);
  border-bottom: 1px solid #ef5425;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hm-hero h1 span {
  color: #ef5425;
}

.hm-hero__lead {
  font-family: "Ubuntu", sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
  max-width: 34em;
  margin: 0 0 2.1rem;
  padding: 0;
  text-align: left;
  width: auto;
  color: #f1f1f1;
}

.hm-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hm-hero__cta a {
  display: inline-block;
  padding: 0.95rem 1.9rem;
  border-radius: 10px;
  font-family: "Ubuntu", sans-serif;
  font-size: 1.1rem;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: all 0.3s ease-in-out 0.1s;
}

.hm-hero__cta a.hm-btn-primary {
  background: #ef5425;
  color: #f9f9f9;
  border: 1px solid #ef5425;
  box-shadow: 3px 2px 2px rgba(53, 53, 53, 0.4);
}

.hm-hero__cta a.hm-btn-primary:hover,
.hm-hero__cta a.hm-btn-primary:focus {
  background: #f9f9f9;
  color: #353535;
  border-color: #f9f9f9;
  outline: none;
}

.hm-hero__cta a.hm-btn-ghost {
  background: transparent;
  color: #f9f9f9;
  border: 1px solid #f9f9f9;
}

.hm-hero__cta a.hm-btn-ghost:hover,
.hm-hero__cta a.hm-btn-ghost:focus {
  background: #f9f9f9;
  color: #353535;
  outline: none;
}

.hm-hero__renders {
  display: none;
  position: absolute;
  right: 5vw;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 28vw;
  max-width: 360px;
  pointer-events: none;
}

.hm-card {
  width: 78%;
  margin-left: auto;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(241, 241, 241, 0.3);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.hm-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hm-card:nth-child(1) {
  animation: hm-float 7s ease-in-out infinite;
}

.hm-card:nth-child(2) {
  width: 70%;
  margin: -12% auto 0 0;
  animation: hm-float 8s ease-in-out infinite 0.6s;
}

.hm-card:nth-child(3) {
  width: 74%;
  margin: -10% 8% 0 auto;
  animation: hm-float 6.5s ease-in-out infinite 1.1s;
}

@keyframes hm-ken {
  from { transform: scale(1.02); }
  to { transform: scale(1.1) translate3d(-1.4%, -1%, 0); }
}

@keyframes hm-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media screen and (min-width: 900px) {
  .hm-hero__renders {
    display: block;
  }

  .hm-hero__content {
    margin-left: 8vw;
    margin-right: auto;
    padding: 20vh 4vw 12vh;
  }
}

@media screen and (max-width: 899px) {
  #pageWrap > section.hm-hero {
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
  }

  .hm-hero__content {
    order: 1;
    text-align: center;
    padding: 16vh 7vw 2vh;
  }

  .hm-hero__eyebrow,
  .hm-hero h1,
  .hm-hero__lead {
    text-align: center;
  }

  .hm-hero__cta {
    justify-content: center;
  }

  .hm-hero__cta a {
    flex: 1 1 42%;
    text-align: center;
  }

  .hm-hero__renders {
    display: flex;
    order: 2;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 88%;
    max-width: none;
    margin: 1.6rem auto 3rem;
    gap: 8px;
  }

  .hm-card,
  .hm-card:nth-child(2),
  .hm-card:nth-child(3) {
    width: auto;
    flex: 1;
    margin: 0;
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-hero__bg-img,
  .hm-card {
    animation: none;
  }
}
