/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url('../images/noise.svg') repeat,
    url('../images/headers/home-banner.png') center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(232,240,237,0.1) 0%,
    rgba(232,240,237,0.3) 60%,
    rgba(232,240,237,0.9) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-xl);
}

/* Desktop: push CTA below the image name text */
@media (min-width: 769px) {
  .hero {
    align-items: flex-end;
  }
  .hero-content {
    padding-bottom: var(--space-3xl);
    width: 100%;
  }
}

.hero-title {
  /* Desktop: banner image already shows the name — hide the text */
  display: none;
}

.hero-subtitle {
  display: none; /* removed */
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  /* On mobile the banner image text is unreadably large — show text instead */
  .hero-title {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 11vw, 3.8rem);
    font-weight: 700;
    color: rgba(0, 0, 0, 0.9);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: var(--space-xl);
    line-height: 1.1;
  }

  /* On mobile swap out the banner (which has giant baked-in name text) for clean sage */
  .hero-bg-image {
    background:
      url('../images/noise.svg') repeat,
      linear-gradient(160deg, #dce8e3 0%, #e4ede9 40%, #e8f0ed 70%, #dfe9e5 100%);
  }

  .hero-overlay {
    background: transparent;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta a {
    width: 100%;
    max-width: 280px;
  }
}

/* ===== INSTAGRAM GRID ===== */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

@media (max-width: 900px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .instagram-grid {
    grid-template-columns: 1fr;
  }
}

.instagram-card {
  display: block;
  aspect-ratio: 1;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.instagram-card:hover {
  border-color: var(--color-border-light);
  transform: translateY(-2px);
}

.instagram-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  color: var(--color-text-dim);
  padding: var(--space-xl);
}

.instagram-placeholder svg {
  opacity: 0.4;
}

.instagram-placeholder span {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
}

.instagram-follow {
  text-align: center;
}

/* ===== FEATURED VIDEO ===== */
.featured-video-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-style: italic;
  text-align: center;
  color: var(--color-text);
  margin-bottom: var(--space-xl);
}

/* ===== MAILING BOX ===== */
.mailing-box {
  border: 2px solid rgba(0, 0, 0, 0.7);
  border-radius: var(--radius-md);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  background: var(--color-bg-card);
}
