:root {
  --hero-height: 120vh;
  --initial-delay: 3000ms;
  --zoom-duration: 900ms;
  --rays-duration: 600ms;
  --swap-delay: 150ms;
}

.hero {
  position: relative;
  height: var(--hero-height);
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: var(--hero-height);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  perspective: 1500px;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide img {
  width: 100vw;
  height: var(--hero-height);
  object-fit: cover;
  object-position: center center;
  transform-origin: 63% 40%;
  transition: transform 0.9s ease, filter 0.9s ease;
}
.hero-slide.animate-zoom img {
  transform: scale(2.3) rotate(30.5deg);
  backface-visibility: hidden;
  transform-style: preserve-3d;
}
/* --- RAYS ---
.rays{position:absolute;inset:0;z-index:5;opacity:0;pointer-events:none}
.rays::before{
  content:"";position:absolute;inset:-20%;
  background:repeating-linear-gradient(110deg,rgba(255,255,255,.06) 0 6px,rgba(255,255,255,0) 6px 20px);
  transform-origin:center;transform:scale(.9) rotate(0deg);
  filter:blur(14px);opacity:0;mix-blend-mode:screen;
  transition:transform .6s ease,opacity .6s ease,filter .6s ease;
}
.rays.show::before{opacity:1;transform:scale(1.15) rotate(8deg);filter:blur(22px)}

/* --- SVG OVERLAY --- */
#hero-container {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: auto;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1s ease;
  touch-action: none;
}
#hero-container.visible {
  opacity: 1;
}
#reveal-clip {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: var(--hero-height);
  transition: clip-path 0.2s ease-out;
}
#reveal-clip img {
  width: 100vw;
  height: var(--hero-height);
  object-fit: cover;
  object-position: center center;
}

/* --- FLASH --- */
.flash-layer {
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: 9;
  opacity: 0;
  pointer-events: none;
}

/* --- TAGLINE --- */
.tagline {
  position: absolute;
  z-index: 10;
  padding: 1rem 1.25rem;
  max-width: 100%;
  color: #ddd;
  background: #221b2d;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  top: 20%;
}
.tagline.show {
  opacity: 1;
  transform: translateY(0);
}
.tagline div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  align-items: center;
}
.tagline h1 {
  font-size: 7vw;
  margin-bottom: 0.5rem;
  font-style: italic;
  font-weight: 100;
  text-align: center;
}
.tagline p {
  font-size: 4vw;
  font-style: italic;
}

.simple_words {
  font-size: 2vw;
  margin-top: 0.5rem;
  color: #ffffff05;
}
.real-intro {
  margin: 3rem;
  font-style: italic;
  font-size: 2vw;
  color: #cec8b3;
  font-weight: 900;
  letter-spacing: 0.2rem;
  line-height: 1.8;
  font-size: x-large;
}

@media (max-width: 640px) {
  .real-intro {
    font-size: medium;
  }
}

.real-intro li{
  list-style: circle;
}
.hypocrisy {
  position: absolute;
  right: 2.5vw;
  bottom: 4vh;
  z-index: 11;
  font-weight: 900;
  letter-spacing: 0.08rem;
  text-decoration: none;
  color: #111;
  background: rgba(255,255,255);
  padding: 0.75rem 1.25rem;
  border: 2px solid rgb(0, 0, 0);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: none;
}

/* subtle affordance, not flashy */
.hypocrisy:hover {
  transform: translateY(-2px);
}

/* mobile refinement */
@media (max-width: 640px) {
  .hypocrisy {
    right: 1rem;
    bottom: 1.5rem;
    font-size: 0.9rem;
  }
}
@media (min-width: 1025px) {
  .tagline {
    left: 6vw;
    top: 25vh;
    transform: translateX(50%);
    width: min(45%);
    height: min(60%);
  }
  .tagline h1 {
    font-size: 4vw;
    margin-top: 1rem;
  }
  .tagline p {
    font-size: 1.5vw;
  }
  .intro {
    font-size: 1.5vw;
  }
  .hero-slide.animate-zoom img {
    transform-origin: 55% 35%;
    transform: scale(2.6) rotate(30.5deg);
  }
}
@media (max-width: 640px) {
  .tagline {
    left: 50%;
    transform: translate(-50%, 0);
    top: 20%;
    width: min(92%);
    height: min(50%);
  }
  .intro {
    font-size: 1rem;
  }
  .hero-slide.animate-zoom img {
    transform-origin: 50% 50%;
    transform: scale(2.3) rotate(30.5deg);
  }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .tagline {
    left: 50%;
    transform: translate(-50%, 0);
    top: 20%;
    width: min(50%);
    height: min(70%);
  }
  .tagline p {
    font-size: 2vw;
  }
  .intro {
    font-size: 3vw;
  }
  .hero-slide.animate-zoom img {
    transform-origin: 50% 50%;
    transform: scale(4.8) rotate(30.5deg);
  }
}
