@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --bg:           #0B0906;
  --bg-card:      #141008;
  --bg-card2:     #1A1408;
  --amber:        #C8973A;
  --amber-light:  #E8B860;
  --amber-pale:   rgba(200,151,58,0.12);
  --amber-border: rgba(200,151,58,0.28);
  --cream:        #F0E6D0;
  --cream-dim:    rgba(240,230,208,0.58);
  --cream-ghost:  rgba(240,230,208,0.07);
  --border:       rgba(240,230,208,0.08);
  --shadow:       0 2px 32px rgba(0,0,0,0.6);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--cream);
  overflow-x: hidden;
  cursor: none;
}

/* ── Cursor ──────────────────────────────────────── */
#cursor-dot {
  position: fixed; width: 6px; height: 6px;
  background: var(--amber); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform .08s;
}
#cursor-ring {
  position: fixed; width: 32px; height: 32px;
  border: 1.5px solid rgba(200,151,58,0.4);
  border-radius: 50%; pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .25s, height .25s, border-color .25s;
}

/* ── Firefly canvas ──────────────────────────────── */
#canvas-bg {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
}

/* ── Nav ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 70px;
  transition: background .4s, border-color .4s;
}
.nav.scrolled {
  background: rgba(11,9,6,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.01em;
}
.nav-logo-img {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(200,151,58,0.4);
}

.nav-links {
  display: flex; gap: 36px; list-style: none;
}
.nav-links a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.875rem; font-weight: 400;
  transition: color .2s;
}
.nav-links a:hover { color: var(--cream); }

.nav-cta {
  background: transparent;
  border: 1.5px solid var(--amber-border);
  color: var(--cream);
  padding: 9px 22px;
  border-radius: 100px;
  font-size: 0.85rem; font-weight: 500;
  cursor: none; font-family: inherit;
  transition: background .2s, border-color .2s;
}
.nav-cta:hover {
  background: var(--amber-pale);
  border-color: var(--amber);
}

/* ── Hero ────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh; min-height: 620px;
  display: flex; flex-direction: column;
  justify-content: center;
  padding-top: 40px; /* nudge text into upper half like mockup */
  overflow: hidden;
  z-index: 1;
  background: #0A0806;
}

/* vignette over photo */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, transparent 30%, rgba(6,5,3,0.28) 75%),
    linear-gradient(180deg, rgba(6,5,3,0.28) 0%, transparent 25%),
    linear-gradient(0deg,   rgba(6,5,3,0.45) 0%, transparent 28%),
    linear-gradient(90deg,  rgba(6,5,3,0.38) 0%, transparent 40%);
  pointer-events: none; z-index: 1;
}

.hero-inner {
  position: relative; z-index: 2;
  padding: 0 52px;
  max-width: 680px;
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 1rem; line-height: 1.65;
  color: var(--cream-dim);
  max-width: 420px;
  margin-bottom: 32px;
}

.store-btns {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
}

.btn-enter {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--cream);
  color: #1A1208;
  border: none;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.95rem; font-weight: 500;
  cursor: none; font-family: inherit;
  text-decoration: none;
  transition: background .2s, transform .18s;
}
.btn-enter:hover {
  background: #fff;
  transform: translateY(-1px);
}
.btn-enter svg { width: 16px; height: 16px; }

/* Bottom of hero */
.hero-bottom {
  position: absolute; bottom: 32px;
  left: 52px; right: 52px;
  display: flex; align-items: flex-end;
  justify-content: space-between;
  z-index: 2;
}

.hero-proof {
  display: flex; align-items: center; gap: 12px;
}
.avatar-stack {
  display: flex;
}
.avatar-stack .av {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-right: -8px;
  overflow: hidden;
  flex-shrink: 0;
}
.av-1 { background: url(avatar-dog.png)  center/cover no-repeat; }
.av-2 { background: url(avatar-deer.png) center/cover no-repeat; }
.av-3 { background: url(avatar-owl.png)  center/cover no-repeat; }
.av-4 { background: url(avatar-dog.png)  center/cover no-repeat; }
.av-plus {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--bg);
  background: rgba(200,151,58,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 600; color: var(--amber);
  flex-shrink: 0;
}
.hero-proof-text {
  font-size: 0.8rem; color: var(--cream-dim);
}

.hero-badge {
  display: flex; align-items: center; gap: 8px;
  background: rgba(11,9,6,0.65);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 18px;
  font-size: 0.8rem; color: var(--cream-dim);
}
.hero-badge svg { width: 14px; height: 14px; opacity: 0.7; }

/* ── Rooms Section ───────────────────────────────── */
.rooms-section {
  position: relative; z-index: 1;
  background: var(--bg);
  padding: 80px 52px;
  display: flex; gap: 56px;
  align-items: flex-start;
  border-top: 1px solid var(--border);
}

.rooms-left {
  flex: 0 0 260px;
  padding-top: 8px;
}

.label {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
  display: block;
}

.rooms-left h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 600; line-height: 1.2;
  color: var(--cream);
  margin-bottom: 14px;
}
.rooms-left p {
  font-size: 0.9rem; line-height: 1.65;
  color: var(--cream-dim);
  margin-bottom: 28px;
}

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent;
  border: 1.5px solid var(--amber-border);
  color: var(--cream);
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.85rem; font-weight: 500;
  cursor: none; font-family: inherit;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.btn-outline:hover {
  background: var(--amber-pale);
  border-color: var(--amber);
}

.rooms-scroll {
  flex: 1;
  display: flex; gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.rooms-scroll::-webkit-scrollbar { display: none; }

.room-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.room-card:hover {
  border-color: var(--amber-border);
  transform: translateY(-3px);
}

.room-img {
  height: 160px;
  position: relative;
  overflow: hidden;
}
.room-img-inner {
  position: absolute; inset: 0;
}
/* Each room gets its atmospheric photo */
.room-1 .room-img-inner { background: url(room-1.jpg) center center / cover no-repeat; }
.room-2 .room-img-inner { background: url(room-2.jpg) center center / cover no-repeat; }
.room-3 .room-img-inner { background: url(room-3.jpg) center center / cover no-repeat; }
.room-4 .room-img-inner { background: url(room-4.jpg) center center / cover no-repeat; }
.room-5 .room-img-inner { background: url(room-5.jpg) center center / cover no-repeat; }
.room-6 .room-img-inner { background: url(room-6.jpg) center center / cover no-repeat; }
.room-7 .room-img-inner { background: url(room-7.jpg) center center / cover no-repeat; }

/* Silhouette people overlay using a blurred gradient */
.room-img-inner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 70%;
  background: linear-gradient(0deg, rgba(10,8,4,0.85) 0%, transparent 100%);
}

.room-icon {
  position: absolute; top: 14px; left: 14px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(200,151,58,0.15);
  border: 1px solid rgba(200,151,58,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; z-index: 1;
}

.room-body {
  padding: 16px 18px 20px;
}
.room-name {
  font-size: 0.95rem; font-weight: 600;
  color: var(--cream); margin-bottom: 4px;
}
.room-count {
  font-size: 0.75rem; color: var(--amber);
  margin-bottom: 8px;
}
.room-desc {
  font-size: 0.78rem; line-height: 1.55;
  color: var(--cream-dim);
}

/* ── Middle Section: How + Community ────────────── */
.middle-section {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 2fr 3fr;
  border-top: 1px solid var(--border);
}

/* -- How It Works -- */
.how-col {
  padding: 80px 52px;
  border-right: 1px solid var(--border);
}
.how-col h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 2.2vw, 2.2rem);
  font-weight: 600; line-height: 1.2;
  color: var(--cream);
  margin-bottom: 40px;
}

.steps { display: flex; flex-direction: column; gap: 28px; }
.step { display: flex; gap: 16px; align-items: flex-start; }

.step-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--amber-pale);
  border: 1px solid var(--amber-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  margin-top: 2px;
}
.step-text {}
.step-title {
  font-size: 0.9rem; font-weight: 600;
  color: var(--cream); margin-bottom: 4px;
}
.step-desc {
  font-size: 0.82rem; line-height: 1.6;
  color: var(--cream-dim);
}

/* -- Community -- */
.community-col {
  padding: 80px 52px;
}
.community-col h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 600; line-height: 1.25;
  color: var(--cream);
  margin-bottom: 8px;
}
.community-col > p {
  font-size: 0.87rem; line-height: 1.65;
  color: var(--cream-dim);
  max-width: 480px;
  margin-bottom: 24px;
}

/* Photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr 1fr 1fr;
  grid-template-rows: 110px 110px;
  gap: 8px;
  margin-bottom: 20px;
}

.ph { border-radius: 10px; overflow: hidden; position: relative; }

/* Photo cells */
.ph-1 { background: url(community-1.jpg) center 20% / cover no-repeat; }
.ph-2 { background: url(community-2.jpg) center 20% / cover no-repeat; }
.ph-3 { background: url(community-3.jpg) center 20% / cover no-repeat; }
.ph-4 { background: url(community-4.jpg) center 20% / cover no-repeat; }
.ph-5 { background: url(community-5.jpg) center 20% / cover no-repeat; }
.ph-6 { background: url(community-6.jpg) center 20% / cover no-repeat; }
.ph-7 { background: url(community-7.jpg) center 20% / cover no-repeat; }
.ph-8 { background: url(community-8.jpg) center 20% / cover no-repeat; }

/* warm glow overlay */
.ph::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--gx,50%) var(--gy,30%), rgba(200,140,40,0.22) 0%, transparent 65%);
}
.ph-1 { --gx:40%; --gy:25%; }
.ph-2 { --gx:60%; --gy:30%; }
.ph-3 { --gx:45%; --gy:20%; }
.ph-4 { --gx:55%; --gy:35%; }
.ph-5 { --gx:38%; --gy:28%; }
.ph-6 { --gx:62%; --gy:25%; }
.ph-7 { --gx:50%; --gy:30%; }
.ph-8 { --gx:42%; --gy:22%; }

/* Center circle: explicitly placed at col 3, spanning both rows */
.ph-circle {
  grid-column: 3;
  grid-row: 1 / span 2;
  width: 220px; height: 220px;
  place-self: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,20,8,0.95) 0%, rgba(18,12,4,0.98) 100%);
  border: 1.5px solid rgba(200,151,58,0.4);
  box-shadow:
    0 0 0 4px rgba(200,151,58,0.06),
    0 0 30px rgba(200,151,58,0.12);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; gap: 6px;
  padding: 16px;
}
.ph-circle-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.95rem; font-weight: 600;
  line-height: 1.3; color: var(--cream);
}
.ph-circle-heart {
  color: var(--amber); font-size: 0.9rem;
}

/* Stats row */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.stat-cell {
  padding: 18px 20px;
  border-right: 1px solid var(--border);
  text-align: left;
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem; font-weight: 600;
  color: var(--cream);
  margin-bottom: 2px;
}
.stat-label { font-size: 0.75rem; color: var(--cream-dim); line-height: 1.4; }

/* ── Testimonials ────────────────────────────────── */
.testimonials {
  position: relative; z-index: 1;
  padding: 90px 52px;
  min-height: 440px;
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: center;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.big-quote-col {}
.quote-mark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 5rem; line-height: 0.8;
  color: var(--amber); display: block;
  margin-bottom: 16px;
}
.big-quote-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 400; line-height: 1.4;
  color: var(--cream);
  margin-bottom: 20px;
  font-style: italic;
}
.big-quote-attr {
  font-size: 0.82rem; color: var(--cream-dim);
  font-weight: 400;
}

.testimonial-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-self: center;
}

.t-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 18px;
  transition: border-color .25s;
}
.t-card:hover { border-color: var(--amber-border); }

.t-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  margin-bottom: 14px;
  overflow: hidden;
}
.t-av-1 { background: url(avatar-dog.png)  center/cover no-repeat; }
.t-av-2 { background: url(avatar-deer.png) center/cover no-repeat; }
.t-av-3 { background: url(avatar-owl.png)  center/cover no-repeat; }

.t-text {
  font-size: 0.83rem; line-height: 1.65;
  color: var(--cream-dim);
  margin-bottom: 14px;
}
.t-name {
  font-size: 0.78rem; font-weight: 500;
  color: var(--cream);
}

/* ── Footer CTA ──────────────────────────────────── */
.footer-cta {
  position: relative; z-index: 1;
  min-height: 600px;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 0 52px 80px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background: #090806 center center / cover no-repeat;
}

/* subtle side vignettes only */
.footer-cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg,  rgba(6,5,3,0.5) 0%, transparent 18%),
    linear-gradient(270deg, rgba(6,5,3,0.5) 0%, transparent 18%);
  pointer-events: none; z-index: 0;
}

.footer-cta-inner {
  position: relative; z-index: 2;
  max-width: 580px;
}
.footer-cta h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600; line-height: 1.15;
  color: var(--cream);
  margin-bottom: 12px;
}
.footer-cta p {
  font-size: 0.92rem; color: var(--cream-dim);
  margin-bottom: 28px;
}

/* Glow path in center of footer CTA */
.footer-cta-path {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 80%;
  background: radial-gradient(ellipse at 50% 90%, rgba(200,151,58,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Global brightness boost ────────────────────── */
.hero,
.rooms-section,
.middle-section,
.testimonials,
.footer-cta {
  filter: brightness(1.3);
}

/* ── Scroll reveal ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1100px) {
  .middle-section { grid-template-columns: 1fr; }
  .how-col { border-right: none; border-bottom: 1px solid var(--border); }
  .testimonial-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hero-inner { padding: 0 24px; }
  .hero-bottom { left: 24px; right: 24px; flex-direction: column; gap: 16px; align-items: flex-start; }
  .rooms-section { flex-direction: column; padding: 60px 24px; }
  .rooms-left { flex: none; }
  .how-col, .community-col { padding: 60px 24px; }
  .testimonials { grid-template-columns: 1fr; padding: 60px 24px; }
  .testimonial-cards { grid-template-columns: 1fr; }
  .footer-cta { padding: 0 24px 48px; min-height: 420px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(4) { border-right: none; }
  .photo-grid { grid-template-columns: 1fr 1fr 1.1fr 1fr 1fr; grid-template-rows: 90px 90px; }
  .store-btns { flex-direction: column; align-items: flex-start; }
  .btn-enter, .btn-outline { width: 100%; justify-content: center; }
}
@media (max-width: 580px) {
  .hero { min-height: 100svh; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 0.9rem; }
  .photo-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, 80px); }
  .ph-circle {
    grid-column: 1 / span 2;
    grid-row: auto;
    border-radius: 10px;
    width: auto; height: 80px;
  }
  .rooms-section { padding: 48px 16px; }
  .how-col, .community-col { padding: 48px 16px; }
  .testimonials { padding: 48px 16px; }
  .footer-cta { padding: 0 16px 40px; }
  .footer-cta h2 { font-size: 2rem; }
  .nav-cta { display: none; }
}
