/* LMYC homepage hero — fits one screen below header, then scrolls to Namaste */
.lmyc-hero-loop.home-slideshow-section {
  position: relative;
  width: 100%;
  background: #1a1612;
  padding-top: var(--header-height, 7rem);
  padding-bottom: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.lmyc-hero-loop .slider_section,
.lmyc-hero-loop.home-slideshow-section .classic-container {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
}

.lmyc-hero-loop__viewport {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-height, 7rem));
  height: calc(100svh - var(--header-height, 7rem));
  max-height: calc(100vh - var(--header-height, 7rem));
  max-height: calc(100svh - var(--header-height, 7rem));
  min-height: 0;
  overflow: hidden;
  background: #1a1612;
  box-sizing: border-box;
}

.lmyc-hero-loop__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.lmyc-hero-loop__slides {
  position: absolute;
  inset: 0;
}

.lmyc-hero-loop__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 2.8s ease-in-out;
  will-change: opacity;
}

.lmyc-hero-loop__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.lmyc-hero-loop__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.lmyc-hero-loop__slide--community::after {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 254, 244, 0.72) 24%,
    rgba(255, 254, 244, 0.28) 48%,
    transparent 68%
  );
}

.lmyc-hero-loop__slide--hall::after {
  background:
    linear-gradient(
      180deg,
      rgba(16, 12, 10, 0.78) 0%,
      rgba(16, 12, 10, 0.42) 22%,
      rgba(16, 12, 10, 0.12) 42%,
      transparent 55%
    ),
    linear-gradient(
      0deg,
      rgba(16, 12, 10, 0.78) 0%,
      rgba(16, 12, 10, 0.42) 22%,
      rgba(16, 12, 10, 0.12) 42%,
      transparent 55%
    );
}

.lmyc-hero-loop__slide .lmyc-hero-loop__poster {
  z-index: 0;
}

.lmyc-hero-loop__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  background: #1a1612;
}

.lmyc-hero-loop__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.lmyc-hero-loop__poster--hall {
  object-position: center 36%;
}

.lmyc-hero-loop.is-playing .lmyc-hero-loop__poster {
  opacity: 0;
  pointer-events: none;
}

.lmyc-hero-loop .scroll-down {
  display: none !important;
}

.lmyc-hero-loop__actions {
  position: relative;
  left: auto;
  bottom: auto;
  z-index: 3;
  transform: none;
  pointer-events: none;
}

.lmyc-hero-loop__actions .lmyc-hero-btn {
  pointer-events: auto;
}

.lmyc-hero-loop__cta-row {
  position: absolute;
  left: 50%;
  bottom: clamp(3.5rem, 9.5vh, 4.75rem);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.lmyc-hero-loop__intro--light .lmyc-hero-loop__welcome {
  top: 0;
}

.lmyc-hero-loop__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding:
    clamp(1.1rem, 3.2vh, 2.4rem)
    clamp(0.85rem, 3vw, 1.75rem)
    clamp(4.75rem, 13vh, 6.5rem);
  pointer-events: none;
  box-sizing: border-box;
}

.lmyc-hero-loop__intro-stack {
  position: relative;
  width: 100%;
  max-width: min(54rem, 96vw);
  /* Logos removed — welcome sits at top of hero */
  --hero-logo-slot: 0rem;
  --hero-text-gap: 0rem;
  min-height: clamp(6rem, 18vh, 8.5rem);
}

.lmyc-hero-loop__intro {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: inherit;
  opacity: 0;
  transition: opacity 2.8s ease-in-out;
  pointer-events: none;
}

.lmyc-hero-loop__intro.is-active {
  opacity: 1;
  z-index: 1;
}

.lmyc-hero-loop__intro--light .lmyc-hero-loop__welcome,
.lmyc-hero-loop__intro--light .lmyc-hero-loop__welcome-line,
.lmyc-hero-loop__intro--light .lmyc-hero-loop__welcome-est {
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.lmyc-hero-loop__intro--light .lmyc-hero-loop__welcome-est {
  opacity: 1;
}

.lmyc-hero-loop__welcome {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  width: 100%;
  text-align: center;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-style: italic;
  color: #303d1c;
  text-shadow: none;
}

.lmyc-hero-loop__intro.is-active .lmyc-hero-loop__welcome {
  animation: lmyc-hero-welcome-in 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lmyc-hero-loop__welcome-line {
  display: block;
  font-size: clamp(1.45rem, 4.8vw, 3.15rem);
  line-height: 1.14;
  letter-spacing: 0.02em;
  color: #303d1c;
  animation: lmyc-hero-welcome-glow 4.5s ease-in-out 1.2s infinite;
}

.lmyc-hero-loop__welcome-line + .lmyc-hero-loop__welcome-line {
  margin-top: clamp(0.08rem, 0.35vh, 0.2rem);
}

.lmyc-hero-loop__welcome-est {
  display: block;
  margin-top: clamp(0.3rem, 1vh, 0.55rem);
  font-family: var(--font-body-family, "Montserrat", sans-serif);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(0.95rem, 2.4vw, 1.35rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #425936;
}

.lmyc-hero-loop__intro.is-active .lmyc-hero-loop__welcome-line {
  animation: lmyc-hero-welcome-glow 4.5s ease-in-out 1.2s infinite;
}

.lmyc-hero-loop__intro.is-active .lmyc-hero-loop__welcome-est {
  animation:
    lmyc-hero-welcome-in 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both,
    lmyc-hero-welcome-glow 4.5s ease-in-out 1.55s infinite;
}

@keyframes lmyc-hero-welcome-in {
  from {
    opacity: 0;
    transform: translateY(-1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lmyc-hero-welcome-glow {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.08);
  }
}

/* Hero video paused — show TBC placeholder until final video is confirmed */
.lmyc-hero-loop--tbc .lmyc-hero-loop__poster,
.lmyc-hero-loop--tbc .lmyc-hero-loop__video {
  display: none !important;
}

.lmyc-hero-loop__tbc {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(209, 142, 149, 0.12), transparent 70%),
    #1a1612;
}

.lmyc-hero-loop__tbc-label {
  margin: 0;
  font-family: var(--font-heading-family, "Playfair Display", Georgia, serif);
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-transform: uppercase;
  color: rgba(253, 248, 243, 0.88);
}

.lmyc-hero-loop__video--mobile,
.lmyc-hero-loop__poster--mobile {
  display: none;
}

@media screen and (max-width: 1199px) {
  .lmyc-hero-loop__video--desktop,
  .lmyc-hero-loop__poster--desktop {
    display: none !important;
  }

  .lmyc-hero-loop__video--mobile,
  .lmyc-hero-loop__poster--mobile {
    display: block !important;
  }

  .lmyc-hero-loop__poster--hall {
    object-position: center 32%;
  }
}

@media screen and (min-width: 768px) {
  .lmyc-hero-loop__cta-row {
    left: 0;
    right: 0;
    bottom: clamp(3.5rem, 8vh, 5rem);
    transform: none;
    display: block;
    pointer-events: none;
  }

  .lmyc-hero-loop__actions {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
  }
}

@media screen and (min-width: 1200px) {
  .lmyc-hero-loop__viewport {
    height: min(calc(100vh - var(--header-height, 7rem)), 780px);
    height: min(calc(100svh - var(--header-height, 7rem)), 780px);
    max-height: min(calc(100vh - var(--header-height, 7rem)), 780px);
    max-height: min(calc(100svh - var(--header-height, 7rem)), 780px);
  }

  .lmyc-hero-loop__video--mobile,
  .lmyc-hero-loop__poster--mobile {
    display: none !important;
  }

  .lmyc-hero-loop__video--desktop,
  .lmyc-hero-loop__poster--desktop {
    display: block !important;
  }

  .lmyc-hero-loop__cta-row {
    bottom: clamp(3.75rem, 8vh, 5rem);
  }
}

@media screen and (max-width: 767px) {
  .lmyc-hero-loop__viewport {
    height: calc(100vh - var(--header-height, 6rem));
    height: calc(100svh - var(--header-height, 6rem));
    max-height: calc(100vh - var(--header-height, 6rem));
    max-height: calc(100svh - var(--header-height, 6rem));
  }

  .lmyc-hero-loop__overlay {
    padding-top: clamp(0.85rem, 2.5vh, 1.35rem);
    padding-bottom: clamp(4rem, 11vh, 5.25rem);
  }

  .lmyc-hero-loop__intro-stack {
    min-height: clamp(5.5rem, 16vh, 7.5rem);
  }

  .lmyc-hero-loop__welcome-line {
    font-size: clamp(1.28rem, 5.6vw, 1.85rem);
    line-height: 1.22;
  }

  .lmyc-hero-loop__video,
  .lmyc-hero-loop__poster {
    object-position: center center;
  }

  .lmyc-hero-loop__actions {
    bottom: auto;
  }

  .lmyc-hero-loop__cta-row {
    bottom: clamp(5.5rem, 14vh, 7.25rem);
    gap: 0;
  }

  .lmyc-hero-loop .scroll-down {
    bottom: 0.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lmyc-hero-loop__video {
    display: none;
  }

  .lmyc-hero-loop__poster {
    opacity: 1 !important;
  }

  .lmyc-hero-loop__welcome,
  .lmyc-hero-loop__welcome-est {
    animation: none !important;
    transition: none !important;
  }

  .lmyc-hero-loop__welcome-line,
  .lmyc-hero-loop__welcome-est {
    animation: none !important;
  }

  .lmyc-hero-loop__slide {
    transition: none !important;
  }

  .lmyc-hero-loop__slide:not(.is-active) {
    opacity: 0 !important;
  }

  .lmyc-hero-loop__slide.is-active {
    opacity: 1 !important;
  }
}
