/* ------------------------------------------------------------
   StaySpot — stylesheet
   Drop the pin. Elevate the stay.  ·  stayspot.co
   © 2026 Stay Spot Private Limited
   ------------------------------------------------------------ */

/* ---------- Reset & globals ---------- */
html, body {
  margin: 0;
  padding: 0;
  background: #0b1410;
}
* {
  box-sizing: border-box;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  cursor: none;                 /* custom leaf cursor (desktop) */
}
html { scroll-behavior: smooth; }

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: #0b1410; }
::-webkit-scrollbar-thumb { background: #25382c; border-radius: 8px; }
::selection { background: #d4b896; color: #0e2017; }

/* ---------- Keyframes ---------- */
@keyframes ssAur1 { 0%,100% { transform: translate(0,0) scale(1);   } 50% { transform: translate(10vw,7vh)  scale(1.25); } }
@keyframes ssAur2 { 0%,100% { transform: translate(0,0) scale(1.1); } 50% { transform: translate(-12vw,-6vh) scale(0.9);  } }
@keyframes ssAur3 { 0%,100% { transform: translate(0,0) scale(1);   } 50% { transform: translate(6vw,-9vh)  scale(1.3);  } }
@keyframes ssSway  { 0%,100% { transform: rotate(-36deg); } 50% { transform: rotate(-20deg); } }
@keyframes ssDriftA { 0%,100% { transform: translate3d(0,0,0) rotate(0deg);  } 50% { transform: translate3d(22px,-46px,0) rotate(14deg);  } }
@keyframes ssDriftB { 0%,100% { transform: translate3d(0,0,0) rotate(0deg);  } 50% { transform: translate3d(-32px,34px,0) rotate(-16deg); } }
@keyframes ssDriftC { 0%,100% { transform: translate3d(0,0,0) rotate(-9deg); } 50% { transform: translate3d(16px,28px,0) rotate(11deg);  } }

/* ---------- Root shell ---------- */
.site {
  position: relative;
  background: #0b1410;
  font-family: 'Jost', sans-serif;
  color: #f0ebe0;
  overflow-x: hidden;
}

/* ---------- Leaf cursor (desktop) ---------- */
.leaf-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  width: 30px;
  height: 30px;
  pointer-events: none;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.3s;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.4));
}
.leaf-cursor__svg {
  display: block;
  animation: ssSway 2.6s ease-in-out infinite;
  transform-origin: 50% 90%;
}

/* ---------- Aurora background ---------- */
.aurora {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.aurora__blob { position: absolute; border-radius: 50%; }
.aurora__blob--a {
  width: 62vw; height: 62vw; left: -10vw; top: -8vw;
  background: radial-gradient(circle, rgba(86,150,108,0.42), transparent 64%);
  filter: blur(70px);
  animation: ssAur1 18s ease-in-out infinite;
}
.aurora__blob--b {
  width: 56vw; height: 56vw; right: -12vw; top: 16vh;
  background: radial-gradient(circle, rgba(212,184,150,0.22), transparent 64%);
  filter: blur(80px);
  animation: ssAur2 22s ease-in-out infinite;
}
.aurora__blob--c {
  width: 52vw; height: 52vw; left: 18vw; bottom: -16vw;
  background: radial-gradient(circle, rgba(60,120,86,0.4), transparent 64%);
  filter: blur(80px);
  animation: ssAur3 26s ease-in-out infinite;
}

/* ---------- Floating pins & leaves ---------- */
.floaters {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.floater { position: absolute; will-change: transform; filter: blur(2px); }

/* ---------- Depth vignette ---------- */
.vignette {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  z-index: 38;
  pointer-events: none;
  transform: translateZ(0);
  background: radial-gradient(125% 95% at 50% 38%, transparent 50%, rgba(3,7,4,0.65) 100%);
}

/* ---------- Scroll reveal ---------- */
.reveal { transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.reveal--y24 { transform: translateY(24px); }
.reveal--y20 { transform: translateY(20px); }
.reveal--y26 { transform: translateY(26px); }
.reveal--y34 { transform: translateY(34px); }
.reveal.is-visible { transform: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(80px, 12vh, 120px) 22px;
  perspective: 1400px;
}
.hero__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform;
}
.hero__below {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wordmark {
  margin: 0;
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: clamp(56px, 11.5vw, 184px);
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: #f4f1ea;
  text-shadow: 0 30px 70px rgba(0,0,0,0.6), 0 5px 16px rgba(0,0,0,0.45);
}

/* mirrored reflection under the wordmark */
.wordmark-reflect {
  height: clamp(36px, 6vw, 100px);
  overflow: hidden;
  margin: clamp(2px, 0.5vh, 8px) 0 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 88%);
          mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 88%);
}
.wordmark-reflect__text {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: clamp(56px, 11.5vw, 184px);
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: #f4f1ea;
  opacity: 0.2;
  transform: scaleY(-1);
}

.tagline {
  margin: clamp(10px, 1.8vh, 22px) 0 0;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 2.8vw, 29px);
  letter-spacing: 0.02em;
  color: #cdd6c6;
}

.cta { margin: clamp(48px, 7vh, 78px) 0 0; }
.pill {
  padding: 16px 46px;
  border-radius: 999px;
  border: 1.5px solid rgba(212,184,150,0.6);
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #d4b896;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
.pill:hover {
  background: #6f9e74;
  border-color: #6f9e74;
  color: #0b1410;
}

/* ---------- VISION ---------- */
.vision {
  position: relative;
  z-index: 2;
  padding: clamp(110px, 17vh, 190px) 26px;
  display: flex;
  justify-content: center;
}
.vision__inner { max-width: 1040px; text-align: center; }
.eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #d4b896;
}
.vision__text {
  margin: 32px 0 0;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: clamp(30px, 5vw, 62px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: #f4f1ea;
  text-wrap: balance;
}
.accent { color: #a9cf99; }

/* ---------- OFFERINGS ---------- */
.offerings {
  position: relative;
  z-index: 2;
  padding: 0 26px clamp(110px, 17vh, 180px);
  display: flex;
  justify-content: center;
}
.offerings__inner { width: 100%; max-width: 1140px; }
.offerings__title {
  margin: 0 0 48px;
  text-align: center;
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 5.6vw, 62px);
  letter-spacing: -0.01em;
  color: #f4f1ea;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 16px;
  perspective: 1300px;
}
.card {
  position: relative;
  padding: 32px 26px 36px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(148,169,140,0.08), rgba(255,255,255,0.014));
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
  transform: translateY(26px);
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1), box-shadow 0.42s, border-color 0.42s;
  will-change: transform;
}
/* reveal end-state for cards (keeps the snappy hover transition) */
.card.is-visible { transform: none; }
.card:hover {
  transform: translateY(-9px) rotateX(7deg);
  box-shadow: 0 34px 60px rgba(0,0,0,0.55);
  border-color: rgba(212,184,150,0.45);
}
.card__name {
  margin: 0;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 27px;
  letter-spacing: 0.005em;
  color: #f4f1ea;
}
.card__desc {
  margin: 12px 0 0;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: #93a399;
}

/* ---------- FOOTER ---------- */
.footer {
  position: relative;
  z-index: 2;
  padding: clamp(90px,14vh,150px) 26px 72px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer__mark {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 8vw, 112px);
  letter-spacing: -0.01em;
  color: #f4f1ea;
  line-height: 1;
}
.footer__mail {
  margin: 26px 0 0;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #8a988d;
}
.footer__mail a { color: #d4b896; text-decoration: none; }

/* ============================================================
   Responsive & accessibility
   ============================================================ */

/* Touch devices: no custom cursor, hide the leaf */
@media (hover: none) and (pointer: coarse) {
  * { cursor: auto !important; }
  .leaf-cursor { display: none !important; }
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}

/* Mobile: use a lightweight static gradient background for smooth scrolling */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  html, body { touch-action: pan-y; }
  [data-bg] { display: none !important; }
  .site {
    background:
      radial-gradient(70vw 46vh at 10% 4%,   rgba(86,150,108,0.30), transparent 62%),
      radial-gradient(66vw 42vh at 94% 26%,  rgba(212,184,150,0.14), transparent 62%),
      radial-gradient(74vw 52vh at 42% 102%, rgba(60,120,86,0.30),  transparent 62%),
      radial-gradient(130% 96% at 50% 40%,   transparent 54%, rgba(3,7,4,0.6) 100%),
      #0b1410;
  }
}

/* Small phones: tighten hero, stack reflection in flow, center cards */
@media (max-width: 640px) {
  .hero { padding-top: 54px; padding-bottom: 54px; }
  .hero__below { position: static; }
  .card { text-align: center; }
}
