/* 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) 26%,
    rgba(16, 12, 10, 0.12) 50%,
    transparent 70%
  );
}

.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: absolute;
  left: 50%;
  bottom: clamp(3.5rem, 9.5vh, 4.75rem);
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
}

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

.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);
  --hero-logo-slot: clamp(5.5rem, 16vw, 9.5rem);
  --hero-text-gap: clamp(0.45rem, 1.2vh, 0.75rem);
  min-height: calc(var(--hero-logo-slot) + var(--hero-text-gap) + 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__logo--tyi {
  width: auto;
  max-width: min(19rem, 92vw);
  max-height: 100%;
  height: auto;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.35));
}

.lmyc-hero-loop__welcome {
  position: absolute;
  top: calc(var(--hero-logo-slot) + var(--hero-text-gap));
  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__intro.is-active .lmyc-hero-loop__logo-wrap {
  animation: lmyc-hero-logo-in 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.2s 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;
}

.lmyc-hero-loop__logo-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--hero-logo-slot);
  margin: 0;
}

.lmyc-hero-loop__logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 100%;
  max-width: min(14rem, 78vw);
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(48, 61, 28, 0.14));
}

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

@keyframes lmyc-hero-logo-in {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(1rem);
  }
  to {
    opacity: 1;
    transform: scale(1) 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: 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__actions {
    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 {
    --hero-logo-slot: clamp(4.35rem, 24vw, 6.75rem);
    --hero-text-gap: clamp(0.35rem, 1vh, 0.55rem);
  }

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

  .lmyc-hero-loop__logo {
    max-width: min(11.5rem, 82vw);
  }

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

  .lmyc-hero-loop__actions {
    bottom: clamp(3rem, 8vh, 3.85rem);
  }

  .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,
  .lmyc-hero-loop__logo-wrap {
    animation: none !important;
    opacity: 1 !important;
    transform: 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;
  }
}
