/* Hero + marquee */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 148px 0 36px;
  background: var(--forest-deep);
  color: var(--cream);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  transform: scale(1.03);
  animation: heroDrift 22s ease-out both;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 28, 21, 0.56) 0%, rgba(7, 28, 21, 0.06) 32%, rgba(7, 28, 21, 0.84) 100%),
    linear-gradient(90deg, rgba(7, 28, 21, 0.87) 0%, rgba(7, 28, 21, 0.38) 52%, rgba(7, 28, 21, 0.08) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

@keyframes heroDrift {
  from { transform: scale(1.08); }
  to { transform: scale(1.01); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 318px;
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
  width: min(1280px, calc(100% - 64px));
  margin-inline: auto;
}

.hero-copy h1 {
  margin-top: 22px;
  font-size: clamp(4.2rem, 9.2vw, 8.4rem);
  line-height: 0.88;
  letter-spacing: -0.028em;
}

.hero-copy h1 em {
  color: var(--lime);
}

.hero-copy .line {
  display: block;
}

.hero-copy > p {
  max-width: 590px;
  margin-top: 26px;
  color: rgba(244, 239, 227, 0.79);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.7;
}

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

.hero-card {
  padding: 24px;
  border: 1px solid rgba(244, 239, 227, 0.24);
  border-radius: 20px;
  background: rgba(7, 28, 21, 0.42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-card .kicker {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}

.hero-card h2 {
  margin-top: 12px;
  font-size: 1.7rem;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.hero-card p {
  margin-top: 10px;
  font-size: 12.5px;
  color: rgba(244, 239, 227, 0.68);
}

.hero-card .link-arrow {
  margin-top: 18px;
  font-size: 10px;
}

.hero-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: clamp(34px, 5vw, 56px);
  padding-top: 26px;
  border-top: 1px solid rgba(244, 239, 227, 0.22);
}

.stat b {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 2.6vw, 2.7rem);
  font-weight: 400;
  line-height: 1;
  color: var(--lime);
}

.stat span {
  display: block;
  margin-top: 9px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(244, 239, 227, 0.9);
}

.stat small {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  color: rgba(244, 239, 227, 0.5);
}

@media (max-width: 1020px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 380px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: auto;
    padding: 128px 0 28px;
  }

  .hero .label {
    font-size: 9px;
    letter-spacing: 0.14em;
  }

  .hero-inner {
    width: calc(100% - 40px);
  }

  .hero-copy h1 {
    font-size: clamp(3.5rem, 15vw, 5.4rem);
  }

  .hero-copy > p {
    max-width: 46ch;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .stat small {
    display: none;
  }
}

/* Marquee */

.marquee {
  padding: 14px 0;
  background: var(--lime);
  color: var(--forest);
  border-block: 1px solid rgba(11, 42, 31, 0.16);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
}

.marquee-group span {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest);
  opacity: 0.45;
  flex: none;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}
