/* Modern motion — SHE */

/* Bright shining SHE (everywhere except footer) */
.she-brand,
.brand-name {
  display: inline;
  font: inherit;
  font-size: 1.1em;
  font-weight: inherit;
  font-style: normal;
  line-height: inherit;
  letter-spacing: 0.06em;
  vertical-align: baseline;
  background: linear-gradient(
    100deg,
    #ff6b6b 0%,
    #ff2222 18%,
    #ffffff 48%,
    #ff1a1a 52%,
    #ff5555 82%,
    #ff2222 100%
  );
  background-size: 240% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-position: 50% center;
  animation: none;
  filter: drop-shadow(0 0 8px rgba(255, 42, 42, 0.75)) drop-shadow(0 0 16px rgba(255, 42, 42, 0.4));
}

/* Hero SHE only: slower glow shine */
.she-brand--hero {
  font-size: clamp(3.5rem, 18vw, 21em) !important;
  display: inline-block;
  line-height: 0.88;
  letter-spacing: 0.06em;
  font-family: var(--font-display, Georgia, serif);
  font-weight: 400;
  animation: sheHeroGlow 5.5s ease-in-out infinite;
}

@keyframes sheHeroGlow {
  0%,
  100% {
    background-position: 0% center;
    filter: drop-shadow(0 0 12px rgba(255, 42, 42, 0.65)) drop-shadow(0 0 28px rgba(255, 42, 42, 0.35));
  }
  50% {
    background-position: 100% center;
    filter: drop-shadow(0 0 24px rgba(255, 42, 42, 1)) drop-shadow(0 0 56px rgba(255, 42, 42, 0.7));
  }
}

.site-footer .she-brand,
.site-footer strong {
  font: inherit;
  font-size: 1.05em;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  color: var(--text-muted);
  animation: none;
  filter: none;
  letter-spacing: 0.05em;
  font-weight: 500;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Logo glow pulse */
@keyframes logoPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 6px rgba(255, 42, 42, 0.45));
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(255, 80, 80, 0.85)) drop-shadow(0 0 32px rgba(255, 42, 42, 0.35));
  }
}

.logo:hover .logo-svg {
  animation: logoPulse 1.2s ease-in-out infinite;
}

/* Cursor — softer + animated */
.cursor-glow {
  background: radial-gradient(
    circle,
    rgba(255, 100, 100, 0.18) 0%,
    rgba(255, 42, 42, 0.1) 35%,
    transparent 70%
  );
  opacity: 0.3;
  animation: cursorBreathe 5s ease-in-out infinite;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cursor-glow.is-active {
  opacity: 0.52;
  transform: translate(-50%, -50%) scale(1.05);
  background: radial-gradient(
    circle,
    rgba(255, 160, 160, 0.32) 0%,
    rgba(255, 50, 50, 0.18) 30%,
    transparent 68%
  );
  animation: cursorBreatheActive 2.2s ease-in-out infinite;
}

@keyframes cursorBreathe {
  0%,
  100% {
    opacity: 0.26;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.34;
    transform: translate(-50%, -50%) scale(1.03);
  }
}

@keyframes cursorBreatheActive {
  0%,
  100% {
    opacity: 0.48;
  }
  50% {
    opacity: 0.58;
  }
}

/* Animated headings */
.section-head.reveal.visible h2,
.founder-text.reveal.visible h2,
.about-copy.reveal.visible h2,
.contact-info.reveal.visible h2,
.defile-card.reveal.visible h3,
.defile-feature.reveal.visible h3 {
  animation: titleIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Hero title — three animated lines */
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin-bottom: 1.5rem;
}

.hero-title-line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  animation: heroLineIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.2s + var(--d, 0) * 0.18s);
}

.hero-title-line em {
  font-style: italic;
  color: var(--red-bright);
  animation: titleEmGlow 3.5s ease-in-out infinite;
  animation-delay: calc(1.2s + var(--d, 0) * 0.1s);
}

@keyframes heroLineIn {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.reveal.visible h2 em,
.section-head.reveal.visible h2 em {
  animation: titleEmGlow 3.5s ease-in-out infinite;
}

@keyframes titleIn {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes titleEmGlow {
  0%,
  100% {
    color: var(--red-bright);
    text-shadow: 0 0 12px rgba(255, 42, 42, 0.25);
  }
  50% {
    color: #ff9a9a;
    text-shadow: 0 0 22px rgba(255, 80, 80, 0.45);
  }
}

/* Hero entrance */
.hero-animate .anim-item {
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-animate .hero-brand.anim-item { animation-delay: 0.05s; }
.hero-animate .hero-lead.anim-item { animation-delay: 0.85s; }
.hero-animate .hero-actions.anim-item { animation-delay: 1.05s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal + stagger */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.stagger.visible {
  transition-delay: calc(var(--i, 0) * 0.07s);
}

.reveal-scale {
  transform: scale(0.92);
}

.reveal-scale.visible {
  transform: scale(1);
}

/* Section label shine */
.section-label {
  position: relative;
  display: inline-block;
}

.section-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--red), transparent);
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-head.visible .section-label::after,
.reveal.visible .section-label::after {
  width: 100%;
}

/* Hover lift cards */
.hover-lift {
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s;
}

.hover-lift:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 48px rgba(255, 42, 42, 0.15);
}

/* Buttons glow pulse */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.25) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.6s;
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

/* Founder photo float */
.founder-photo img {
  animation: softFloat 6s ease-in-out infinite;
}

@keyframes softFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Nav underline */
.nav-menu a:not(.nav-cta) {
  position: relative;
}

.nav-menu a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-menu a:not(.nav-cta):hover::after {
  width: 100%;
}

/* Gallery hint */
.gallery-hint {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-stage {
  margin: 0;
  max-width: min(92vw, 56rem);
  max-height: 85vh;
  animation: lightboxIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox.is-open .lightbox-stage {
  animation: lightboxIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes lightboxIn {
  from {
    opacity: 0;
    transform: scale(0.88);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(20, 20, 20, 0.6);
  color: var(--text);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.05);
}

.lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 1.75rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-nav:hover {
  transform: translateY(-50%) scale(1.05);
}

.lightbox-prev {
  left: 1.25rem;
}

.lightbox-next {
  right: 1.25rem;
}

body.lightbox-open {
  overflow: hidden;
}
