/* ══════════════════════════════════════
   SECTIONS + HERO + MARQUEE
   ══════════════════════════════════════ */

section { padding: 120px var(--section-padding); }

/* canonical .section-label / .section-title live in base.css */
section .section-label { margin-bottom: 60px; }

/* ── HERO ── */
#hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.hero-spacer {
  height: 100vh;
  position: relative;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-gradient);
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-bg img.active {
  opacity: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.50);
  z-index: 1;
  transition: background 0.3s ease;
}

/* Flashlight reveal — "Capture the unseen" */
#hero.flashlight-active .hero-bg::after {
  background: rgba(0, 0, 0, 0.50);
  mask-image: radial-gradient(circle 220px at var(--fl-x, 50%) var(--fl-y, 50%), transparent 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.70) 70%, black 100%);
  -webkit-mask-image: radial-gradient(circle 220px at var(--fl-x, 50%) var(--fl-y, 50%), transparent 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.70) 70%, black 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-bottom: 18vh;
}

#hero.flashlight-active .hero-content {
  mask-image: radial-gradient(circle 200px at var(--fl-x, 50%) var(--fl-y, 50%), white 0%, rgba(255,255,255,0.5) 35%, transparent 60%);
  -webkit-mask-image: radial-gradient(circle 200px at var(--fl-x, 50%) var(--fl-y, 50%), white 0%, rgba(255,255,255,0.5) 35%, transparent 60%);
}

.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0);
  line-height: 1.8;
  transition: color 1.2s ease;
}

#hero.flashlight-active .hero-sub {
  color: rgba(255, 255, 255, 0.9);
}

/* Marquee — liquid glass on text only */
.hero-marquee {
  position: absolute;
  bottom: 12%;
  left: 0;
  right: 0;
  z-index: 2;
  overflow: hidden;
  white-space: nowrap;
}

.hero-marquee-track {
  display: inline-flex;
  animation: marquee 60s linear infinite;
}

.hero-marquee-track span {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(120px, 18vw, 260px);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.08);
  -webkit-text-stroke: 0;
  text-shadow:
    0 0 40px rgba(255, 255, 255, 0.06),
    0 2px 20px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  user-select: none;
  padding: 0 0.05em;
}

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

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
