/* HotelGsap.css */
#hotel-section {
  --hotel-bg: #000000;
  --hotel-surface: #1e1e1e;
  --hotel-surface-2: #141414;
  --hotel-ink: #ffffff;
  --hotel-muted: rgba(255, 255, 255, 0.55);
  --hotel-faint: rgba(255, 255, 255, 0.2);
  --hotel-hair: rgba(255, 255, 255, 0.1);

  --hotel-font:
    "Poppins", "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont,
    sans-serif;

  --hotel-tracking-wide: 0.08em;
  --hotel-tracking-wider: 0.2em;
  --hotel-tracking-widest: 0.42em;

  --hotel-stage-w: 1920px;
  --hotel-stage-h: 1080px;

  position: relative;
  background: radial-gradient(ellipse 120% 90% at 50% 30%, #0b0b0b 0%, #000000 65%);
  padding: 0;
  margin: 0;
  display: block;
}

#hotel-section * {
  box-sizing: border-box;
}

/* ---------------------------------------------------------------------
   FILM / STAGE / CAMERA / WORLD
   --------------------------------------------------------------------- */
.hotel-film {
  position: relative;
  width: 100%;
  background: var(--hotel-bg);
}

.hotel-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--hotel-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.hotel-camera {
  position: relative;
  width: var(--hotel-stage-w);
  height: var(--hotel-stage-h);
  flex: none;
  transform-origin: center center;
  overflow: hidden;
}

.hotel-world {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.hotel-corner-marks {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 0.4;
}
.hotel-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  fill: none;
}
.hotel-corner path {
  fill: none;
  stroke: var(--hotel-muted);
  stroke-width: 1.25;
}
.hotel-corner.tl { top: 46px; left: 46px; }
.hotel-corner.tr { top: 46px; right: 46px; transform: rotate(90deg); }
.hotel-corner.br { bottom: 46px; right: 46px; transform: rotate(180deg); }
.hotel-corner.bl { bottom: 46px; left: 46px; transform: rotate(270deg); }

/* Structural lines layer, persistent across beats 1-2 */
.hotel-lines-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hotel-struct-line {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1;
  fill: none;
  opacity: 0;
}

/* ---------------------------------------------------------------------
   BEATS
   --------------------------------------------------------------------- */
.hotel-beat {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.hotel-beat.hotel-beat-interactive {
  pointer-events: auto;
}

.hotel-tech-label,
.hotel-exit-label {
  position: absolute;
  font-family: var(--hotel-font);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: var(--hotel-tracking-widest);
  text-transform: uppercase;
  color: var(--hotel-muted);
  opacity: 0;
  white-space: nowrap;
}

/* BEAT 01 -- entry / single origin */
.hotel-origin-wrap {
  position: absolute;
  opacity: 0;
}
.hotel-origin-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hotel-title-block {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}
.hotel-big-title {
  font-family: var(--hotel-font);
  font-weight: 700;
  font-size: 108px;
  letter-spacing: -0.01em;
  color: var(--hotel-ink);
  margin: 0;
  line-height: 1;
}
.hotel-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
}
.hotel-char-space {
  width: 0.3em;
}
.hotel-subtitle {
  margin: 22px 0 0;
  font-family: var(--hotel-font);
  font-weight: 300;
  font-size: 16px;
  letter-spacing: var(--hotel-tracking-wider);
  text-transform: uppercase;
  color: var(--hotel-muted);
}
.hotel-word {
  display: inline-block;
  margin: 0 6px;
  opacity: 0;
  transform: translateY(8px);
}

/* BEAT 02 -- video core */
.hotel-video-wrap {
  position: absolute;
  opacity: 0;
}
.hotel-video-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--hotel-hair);
  background: var(--hotel-surface-2);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}
.hotel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hotel-video-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
}
.hotel-video-noscript {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--hotel-font);
  font-size: 15px;
  letter-spacing: var(--hotel-tracking-wide);
  color: var(--hotel-muted);
  background: var(--hotel-surface-2);
}
.hotel-video-frame.no-video .hotel-video-noscript {
  display: flex;
}
.hotel-video-frame.no-video .hotel-video {
  display: none;
}

.hotel-module-rail {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--hotel-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--hotel-tracking-wide);
  text-transform: uppercase;
  color: var(--hotel-faint);
  white-space: nowrap;
}
.hotel-module-tag {
  opacity: 0.3;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.hotel-module-tag.is-active {
  opacity: 1;
  color: var(--hotel-ink);
}
.hotel-module-sep {
  opacity: 0.2;
}

/* BEAT 03 -- accordion layer */
.hotel-accordion-wrap {
  position: absolute;
  opacity: 0;
}

.hotel-accordion {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hotel-hair);
}
.hotel-acc-row {
  border-bottom: 1px solid var(--hotel-hair);
}
.hotel-acc-heading {
  margin: 0;
}
.hotel-acc-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--hotel-font);
  color: var(--hotel-ink);
  transition: background 0.2s ease;
}
.hotel-acc-item:hover {
  background: rgba(255, 255, 255, 0.02);
}
.hotel-acc-item:focus-visible {
  outline: 2px solid var(--hotel-ink);
  outline-offset: -2px;
}
.hotel-acc-index {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--hotel-tracking-wide);
  color: var(--hotel-faint);
  flex: none;
  width: 28px;
}
.hotel-acc-label {
  flex: 1;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.hotel-acc-icon {
  flex: none;
  position: relative;
  width: 18px;
  height: 18px;
}
.hotel-acc-icon::before,
.hotel-acc-icon::after {
  content: "";
  position: absolute;
  background: var(--hotel-ink);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hotel-acc-icon::before {
  left: 0;
  top: 8px;
  width: 18px;
  height: 1.5px;
}
.hotel-acc-icon::after {
  left: 8px;
  top: 0;
  width: 1.5px;
  height: 18px;
}
.hotel-acc-item[aria-expanded="true"] .hotel-acc-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.hotel-acc-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hotel-acc-panel p {
  margin: 0;
  padding: 0 6px 24px 54px;
  font-family: var(--hotel-font);
  font-size: 14.5px;
  line-height: 1.75;
  font-weight: 300;
  color: var(--hotel-muted);
  max-width: 640px;
}

/* BEAT 04 -- exit / convergence */
.hotel-converge-wrap {
  position: absolute;
  opacity: 0;
}
.hotel-converge-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ---------------------------------------------------------------------
   Persistent chrome
   --------------------------------------------------------------------- */
.hotel-chrome {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 45;
  pointer-events: none;
}
.hotel-chrome-top {
  top: 0;
  padding: 40px 48px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.hotel-num {
  font-family: var(--hotel-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: var(--hotel-tracking-wide);
  color: var(--hotel-faint);
}
.hotel-eyebrow-desc {
  font-family: var(--hotel-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--hotel-tracking-wider);
  text-transform: uppercase;
  color: var(--hotel-faint);
}
.hotel-chrome-bottom {
  bottom: 0;
  padding: 0 48px 48px;
  display: flex;
  justify-content: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
  padding-top: 90px;
}
.hotel-chrome-bottom .hotel-cta-wrap {
  pointer-events: all;
  text-align: center;
  max-width: 620px;
}
.hotel-title {
  font-family: var(--hotel-font);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--hotel-ink);
  margin: 0 0 14px;
}
.hotel-project-summary {
  margin: 0 auto 22px;
  font-family: var(--hotel-font);
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--hotel-muted);
  font-weight: 300;
}

.hotel-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: #000;
  font-weight: 700;
  font-family: var(--hotel-font);
  font-size: 14.5px;
  padding: 16px 30px;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s, box-shadow 0.28s;
  border: none;
}
.hotel-btn-primary:hover {
  transform: translateY(-3px);
  opacity: 0.92;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}
.hotel-btn-primary:focus-visible {
  outline: 2px solid var(--hotel-ink);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 720px) {
  .hotel-corner { width: 13px; height: 13px; }
  .hotel-corner.tl, .hotel-corner.tr { top: 18px; }
  .hotel-corner.bl, .hotel-corner.br { bottom: 18px; }
  .hotel-corner.tl, .hotel-corner.bl { left: 18px; }
  .hotel-corner.tr, .hotel-corner.br { right: 18px; }
  .hotel-chrome-top { padding: 20px; }
  .hotel-chrome-bottom { padding: 60px 20px 26px; }
  .hotel-title { font-size: 21px; }
  .hotel-project-summary { font-size: 13px; }
  .hotel-btn-primary { padding: 14px 24px; font-size: 13.5px; }

  .hotel-big-title { font-size: 52px; }
  .hotel-subtitle { font-size: 12px; }

  .hotel-video-wrap {
    width: 92% !important;
    height: auto !important;
    aspect-ratio: 16/10;
    left: 4% !important;
    top: 16% !important;
  }

  .hotel-accordion-wrap {
    width: 92% !important;
    left: 4% !important;
    top: 12% !important;
  }
  .hotel-acc-label { font-size: 15.5px; }
  .hotel-acc-panel p { padding-left: 0; padding-right: 0; }
  .hotel-acc-index { width: 22px; }

  .hotel-module-rail {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 10px;
    max-width: 90%;
  }

  .hotel-origin-wrap,
  .hotel-converge-wrap {
    width: 120px !important;
    height: 120px !important;
    left: 50% !important;
    top: 40% !important;
    transform: translateX(-50%);
  }
}

/* ---------------------------------------------------------------------
   REDUCED MOTION -- static, legible fallback
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hotel-film { height: auto !important; }
  .hotel-stage {
    position: relative;
    height: auto;
    min-height: 100vh;
    padding: 100px 24px;
  }
  .hotel-camera {
    transform: none !important;
    width: 100%;
    max-width: 900px;
    height: auto;
  }
  .hotel-world { position: relative; transform: none !important; }
  .hotel-beat {
    position: relative;
    opacity: 1 !important;
    inset: auto;
    display: block;
    margin-bottom: 40px;
    pointer-events: auto;
  }
  .hotel-corner-marks,
  .hotel-lines-svg,
  .hotel-origin-wrap,
  .hotel-converge-wrap {
    display: none;
  }
  .hotel-title-block {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: 0 auto 32px;
  }
  .hotel-char, .hotel-word {
    opacity: 1 !important;
    transform: none !important;
  }
  .hotel-video-wrap,
  .hotel-accordion-wrap,
  .hotel-tech-label,
  .hotel-exit-label,
  .hotel-module-rail {
    opacity: 1 !important;
    transform: none !important;
    position: relative;
    left: auto !important;
    top: auto !important;
    margin: 16px auto;
  }
  .hotel-module-tag { opacity: 1; color: var(--hotel-ink); }
  .hotel-acc-panel { max-height: none !important; }
  .hotel-chrome { position: relative; }
  .hotel-chrome-bottom { background: none; }
}