/* ================================================================
   INDEX PAGE — Hero, Stats Strip, Philosophy
   ================================================================ */

/* HERO */
#hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 12vw 0 calc(5vw + 30px);
  position: relative;
  overflow: hidden;

  /* Full-bleed background image */
  background-image: url("../gallery_photos/website_bg/IMG_4823.jpg");
  background-size: cover;
  background-position: right top;
  background-repeat: no-repeat;
}

/* Dark gradient overlay — heavy on left for text legibility, fades right */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .25) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .1) 60%, rgba(0, 0, 0, .55) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Film-grain texture on top */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* All text content sits above overlays */
#hero>* {
  position: relative;
  z-index: 3;
}

.hero-h1 {
  font-family: 'EB Garamond', serif;
  font-size: clamp(5rem, 10vw, 11rem);
  font-weight: 400;
  line-height: .9;
  color: var(--white);
  letter-spacing: -.02em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .5);
}

.hero-h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  margin-top: 48px;
  font-size: .8rem;
  font-weight: 300;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
  max-width: 480px;
  line-height: 2;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 12vw;
  font-size: .62rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
}

.hero-scroll::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--mid);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {

  0%,
  100% {
    width: 40px;
    opacity: .5;
  }

  50% {
    width: 70px;
    opacity: 1;
  }
}

.hero-stats {
  position: absolute;
  right: 2vw;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: right;
  z-index: 3;
}

.h-stat-num {
  font-family: 'EB Garamond', serif;
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .6);
}

.h-stat-lbl {
  font-size: .62rem;
  font-weight: 300;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-top: 2px;
}

.hero-border {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, .12), transparent);
  z-index: 3;
}

/* INTRO STRIP */
.intro-strip {
  padding: 80px 12vw;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.is-item {
  padding: 40px 32px;
  border-right: 1px solid rgba(255, 255, 255, .06);
}

.is-item:last-child {
  border-right: none;
}

.is-num {
  font-family: 'EB Garamond', serif;
  font-size: 3.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.is-label {
  font-size: .72rem;
  font-weight: 300;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 8px;
}

.is-body {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.6;
}

/* PHILOSOPHY BAND — LIGHT BACKGROUND OVERRIDES */
.philosophy {
  padding: 100px 12vw;
  background: var(--off-white);
  color: var(--black);
}

.philosophy .ph-quote {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.3;
  color: #1a1a1a;
}

.philosophy .ph-quote em {
  color: var(--accent-dark);
}

.philosophy .ph-attr {
  color: #6e6e6e;
}

.ph-cta {
  margin-top: 52px;
  display: flex;
  gap: 24px;
}

/* RESPONSIVE — INDEX */
@media (max-width: 900px) {
  #hero {
    padding: 0 6vw;
    background-position: 44% top;
  }

  .hero-stats {
    display: none;
  }

  .intro-strip {
    grid-template-columns: 1fr;
  }

  .is-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }

  .ph-cta {
    flex-direction: column;
  }
}