/* ===== HOME.CSS START: HOMEPAGE GLASSHOUSE EXPERIENCE ===== */

.home-page {
  min-height: 100vh;
  overflow: hidden;
  background: #1c281e;
}

.home-stage {
  --zoom-x: 50%;
  --zoom-y: 50%;
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.home-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(
      circle at var(--zoom-x) var(--zoom-y),
      rgba(255, 247, 228, 0) 0 11%,
      rgba(16, 25, 18, 0.08) 32%,
      rgba(8, 14, 10, 0.58) 100%
    );
  transition: opacity 1.12s ease;
}

.home-stage__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  animation: subtleZoom 24s ease-in-out infinite alternate;
  transform-origin: var(--zoom-x) var(--zoom-y);
  will-change: transform;
  backface-visibility: hidden;
}

.home-stage__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(10, 16, 12, 0.12),
      rgba(10, 16, 12, 0.04) 45%,
      rgba(10, 16, 12, 0.28)
    ),
    radial-gradient(
      circle at 50% 24%,
      rgba(255, 232, 185, 0.16),
      transparent 38%
    ),
    linear-gradient(
      90deg,
      rgba(10, 18, 13, 0.16),
      transparent 30%,
      transparent 72%,
      rgba(10, 18, 13, 0.16)
    );
  transition: opacity 0.46s ease;
}

.home-stage__sunlight {
  position: absolute;
  top: -12vw;
  left: 23vw;
  z-index: 1;
  width: 44vw;
  height: 44vw;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(
      circle,
      rgba(255, 227, 165, 0.2),
      rgba(255, 227, 165, 0) 65%
    );
  filter: blur(28px);
  animation: sunlightFloat 10s ease-in-out infinite alternate;
  transition: opacity 0.46s ease;
}

.home-stage__brand {
  display: none !important;
}

.home-stage__signature {
  position: absolute;
  top: 4vh;
  left: 6vw;
  z-index: 6;
  max-width: 320px;
  color: #fffaf1;
  text-align: left;
  text-shadow: 0 4px 20px rgba(13, 23, 16, 0.5);
  transition:
    opacity 0.34s ease,
    transform 0.54s ease;
}

.home-stage__signature-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 4.4vw, 4.7rem);
  line-height: 0.82;
  letter-spacing: -0.06em;
}

.home-stage__signature-title span {
  color: #e0c99a;
  font-size: 0.72em;
}

.home-stage__signature-subtitle {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.home-stage__signature-location {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.pane-link {
  position: absolute;
  z-index: 5;
  display: flex;
  min-width: 0;
  padding: 8px 6px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  text-align: center;
  border: 1px solid rgba(255, 245, 220, 0.34);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.13),
      rgba(255, 255, 255, 0.035)
    );
  box-shadow:
    inset 0 0 28px rgba(255, 255, 255, 0.06),
    0 0 18px rgba(255, 225, 170, 0.1);
  backdrop-filter: blur(1px);
  transition:
    transform 0.32s ease,
    color 0.32s ease,
    border-color 0.32s ease,
    background 0.32s ease,
    box-shadow 0.32s ease,
    opacity 0.12s ease;
}

.pane-link::before,
.pane-link::after {
  display: none;
}

.pane-link:hover,
.pane-link:focus-visible {
  color: #fff;
  border-color: rgba(255, 245, 220, 0.72);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.22),
      rgba(255, 255, 255, 0.07)
    );
  box-shadow:
    inset 0 0 44px rgba(255, 255, 255, 0.12),
    0 0 42px rgba(255, 225, 170, 0.28);
  backdrop-filter: blur(2px);
  transform: scale(1.04);
}

.pane-link__number {
  display: block;
  margin-bottom: 2px;
  color: var(--brass-soft);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  opacity: 0.95;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.pane-link strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 0.95;
  opacity: 0.96;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.pane-link em {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.46rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.86;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.pane-link:hover .pane-link__number,
.pane-link:hover strong,
.pane-link:hover em,
.pane-link:focus-visible .pane-link__number,
.pane-link:focus-visible strong,
.pane-link:focus-visible em {
  opacity: 1;
  transform: translateY(-1px);
}

.pane-link--booking {
  top: 24.4%;
  left: 44.45%;
  width: 11.45%;
  height: 8.05%;
}

.pane-link--sessions {
  top: 38.15%;
  left: 31.35%;
  width: 8.45%;
  height: 12.05%;
}

.pane-link--gallery {
  top: 38.15%;
  right: 31.2%;
  width: 8.45%;
  height: 12.05%;
}

.pane-link--about {
  top: 55.3%;
  left: 31.15%;
  width: 8.55%;
  height: 8.1%;
}

.pane-link--contact {
  top: 55.3%;
  right: 31.05%;
  width: 8.55%;
  height: 8.1%;
}

.home-stage__hint {
  display: none !important;
}

.mobile-menu-button,
.mobile-home-menu {
  display: none;
}

.home-pane-reveal {
  position: absolute;
  inset: 0;
  z-index: 19;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transform: scale(1.28);
  transition:
    opacity 1.3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-pane-reveal__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.18);
  transition: transform 1.72s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-pane-reveal__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 28, 20, 0.4), rgba(18, 28, 20, 0.12) 55%, rgba(18, 28, 20, 0.02)),
    linear-gradient(180deg, rgba(14, 22, 16, 0.04), rgba(14, 22, 16, 0.18));
  opacity: 0.76;
  transition: opacity 1.3s ease;
}

.home-pane-reveal.is-visible {
  opacity: 1;
  transform: scale(1);
}

.home-pane-reveal.is-visible .home-pane-reveal__image {
  transform: scale(1);
}

.home-pane-reveal.is-visible .home-pane-reveal__veil {
  opacity: 0.58;
}

.home-stage.is-zooming-through-pane::after {
  opacity: 1;
}

.home-stage.is-zooming-through-pane .home-stage__image {
  animation: cameraPushIntoPane 2.18s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.home-stage.is-zooming-through-pane .home-stage__overlay,
.home-stage.is-zooming-through-pane .home-stage__sunlight,
.home-stage.is-zooming-through-pane .home-stage__signature,
.home-stage.is-zooming-through-pane .pane-link,
.home-stage.is-zooming-through-pane .mobile-menu-button,
.home-stage.is-zooming-through-pane .mobile-home-menu {
  opacity: 0;
}

.home-stage.is-zooming-through-pane .home-stage__signature {
  transform: translate3d(-12px, -8px, 0);
}

.is-home-transitioning {
  pointer-events: none;
}

@keyframes subtleZoom {
  from {
    transform: scale(1.01);
  }

  to {
    transform: scale(1.055);
  }
}

@keyframes cameraPushIntoPane {
  0% {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  42% {
    transform: scale(2.45) translate3d(0, 0, 0);
  }

  72% {
    transform: scale(5.2) translate3d(0, 0, 0);
  }

  100% {
    transform: scale(8) translate3d(0, 0, 0);
  }
}

@keyframes sunlightFloat {
  from {
    transform: translate3d(-1vw, 0, 0) scale(0.96);
  }

  to {
    transform: translate3d(2vw, 2vw, 0) scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-stage__image,
  .home-stage__sunlight,
  .home-stage.is-zooming-through-pane .home-stage__image,
  .home-pane-reveal,
  .home-pane-reveal__image {
    animation: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  .pane-link--booking {
    top: 24.95%;
    left: 43.25%;
    width: 13.5%;
    height: 8.2%;
  }

  .pane-link--sessions {
    top: 39.45%;
    left: 27.4%;
    width: 10.3%;
    height: 12.25%;
  }

  .pane-link--gallery {
    top: 39.45%;
    right: 27.2%;
    width: 10.3%;
    height: 12.25%;
  }

  .pane-link--about {
    top: 56.9%;
    left: 27.2%;
    width: 10.55%;
    height: 8.15%;
  }

  .pane-link--contact {
    top: 56.9%;
    right: 27%;
    width: 10.55%;
    height: 8.15%;
  }
}

@media (max-width: 720px) {
  .home-page {
    overflow: auto;
  }

  .home-stage {
    min-height: 100svh;
  }

  .home-stage__image {
    object-position: center center;
  }

  .home-stage__signature {
    top: 24px;
    right: 18px;
    left: 18px;
    max-width: none;
    text-align: left;
  }

  .home-stage__signature-title {
    font-size: 3.6rem;
  }

  .home-stage__signature-subtitle {
    font-size: 0.64rem;
  }

  .home-stage__signature-location {
    font-size: 0.52rem;
  }

  .pane-link {
    display: none;
  }

  .mobile-menu-button {
    position: absolute;
    bottom: 112px;
    left: 50%;
    z-index: 8;
    display: inline-flex;
    min-height: 52px;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
    color: var(--forest);
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 250, 239, 0.92);
    box-shadow: 0 14px 32px rgba(15, 28, 19, 0.24);
    cursor: pointer;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transform: translateX(-50%);
  }

  .mobile-home-menu {
    position: absolute;
    right: 14px;
    bottom: 16px;
    left: 14px;
    z-index: 9;
    display: none;
    grid-template-columns: repeat(5, 1fr);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(26, 43, 31, 0.94);
    backdrop-filter: blur(16px);
  }

  .mobile-home-menu.is-open {
    display: grid;
  }

  .mobile-home-menu a {
    display: grid;
    min-height: 66px;
    padding: 8px 4px;
    place-items: center;
    color: rgba(255, 255, 255, 0.86);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
  }

  .mobile-home-menu a:last-child {
    border-right: 0;
  }
}

/* ===== HOME.CSS END ===== */