/* ═══════════════════════════════════════════════════
   PRABH HOSPITALITY — editorial luxury
   Cream canvas · tracked grotesque headlines ·
   clay / sage / ink color blocks · Cinzel wordmark
   ═══════════════════════════════════════════════════ */

:root {
  --cream: #f2ecdf;
  --cream-deep: #eae2d0;
  --ink: #191712;
  --ink-soft: rgba(25, 23, 18, 0.72);
  --clay: #b0673f;
  --clay-deep: #9d5834;
  --sage: #7e9273;
  --sand: #cbbfa4;
  --light: #f6f1e6;
  --grotesk: "Space Grotesk", "Segoe UI", sans-serif;
  --body: "Inter", "Segoe UI", sans-serif;
  --wordmark: "Cinzel", serif;
  --ease: cubic-bezier(0.25, 1, 0.4, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--clay); color: var(--light); }

/* ── shared type ─────────────────────────── */
.label {
  font-family: var(--grotesk); font-size: 13px; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  margin-bottom: 34px;
}
.label-light { color: rgba(246, 241, 230, 0.85); }
.big {
  font-family: var(--grotesk); font-weight: 300;
  font-size: clamp(40px, 6.4vw, 88px);
  line-height: 1.02; letter-spacing: 0.045em; text-transform: uppercase;
}
.big-light { color: var(--light); }

.explore {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--grotesk); font-size: 14px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; margin-top: 34px;
}
.explore-dot {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; transition: transform 0.45s var(--ease), background 0.45s;
}
.explore:hover .explore-dot { transform: translateX(8px); background: var(--clay); }
.explore-light { color: var(--light); }
.explore-light .explore-dot { background: var(--light); color: var(--ink); }
.explore-light:hover .explore-dot { background: var(--sand); }

/* ── logo ─────────────────────────────────── */
.logo, .footer-logo { display: block; }
.logo-word {
  font-family: var(--wordmark); font-size: 30px; font-weight: 500;
  letter-spacing: 0.38em; fill: currentColor;
}
.logo-sub {
  font-family: var(--grotesk); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.5em; fill: currentColor; opacity: 0.8;
}

/* ═══════════ NAV (floating pill) ═══════════ */
.nav {
  position: fixed; top: 14px; left: 14px; right: 14px; z-index: 100;
  height: 64px; border-radius: 10px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 26px;
  color: var(--light);
  background: rgba(25, 23, 18, 0.38);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s;
}
.nav.solid {
  background: rgba(242, 236, 223, 0.92);
  color: var(--ink);
  box-shadow: 0 10px 40px -18px rgba(25, 23, 18, 0.35);
}
.nav-book {
  font-family: var(--grotesk); font-size: 13px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  padding: 10px 0; position: relative;
}
.nav-book::after {
  content: ""; position: absolute; left: 0; bottom: 6px; height: 1px;
  width: 100%; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.nav-book:hover::after { transform: scaleX(1); }
.nav-logo { position: absolute; left: 50%; transform: translateX(-50%); }
.nav-logo .logo { width: 200px; height: 57px; }
.nav-burger {
  background: none; border: none; cursor: pointer; padding: 12px 0;
  width: 46px; display: grid; gap: 7px; justify-items: stretch;
}
.nav-burger span { height: 1.6px; background: currentColor; transition: transform 0.45s var(--ease); }
.nav-burger:hover span:first-child { transform: translateY(-2px); }
.nav-burger:hover span:last-child { transform: translateY(2px); }
body.menu-open .nav-burger span:first-child { transform: translateY(4.3px) rotate(45deg); }
body.menu-open .nav-burger span:last-child { transform: translateY(-4.3px) rotate(-45deg); }
body.menu-open .nav { background: transparent; color: var(--cream); box-shadow: none; }

/* ═══════════ FULLSCREEN MENU ═══════════ */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px 8vw 60px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.75s var(--ease);
}
body.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu-links { display: grid; gap: 4px; }
.menu-links a {
  font-family: var(--grotesk); font-weight: 300;
  font-size: clamp(30px, 5.4vw, 58px);
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 8px 0; display: flex; align-items: baseline; gap: 22px;
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
  transition-delay: 0s;
}
body.menu-open .menu-links a { opacity: 1; transform: translateY(0); }
body.menu-open .menu-links a:nth-child(1) { transition-delay: 0.15s; }
body.menu-open .menu-links a:nth-child(2) { transition-delay: 0.21s; }
body.menu-open .menu-links a:nth-child(3) { transition-delay: 0.27s; }
body.menu-open .menu-links a:nth-child(4) { transition-delay: 0.33s; }
body.menu-open .menu-links a:nth-child(5) { transition-delay: 0.39s; }
body.menu-open .menu-links a:nth-child(6) { transition-delay: 0.45s; }
.menu-links a:hover { color: var(--clay); }
.menu-links small {
  font-size: 13px; letter-spacing: 0.2em; opacity: 0.5; font-family: var(--grotesk);
}
.menu-foot {
  display: flex; gap: 40px; margin-top: 60px;
  font-family: var(--grotesk); font-size: 14px; letter-spacing: 0.12em;
  opacity: 0.7;
}

/* ═══════════ HERO ═══════════ */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(25,23,18,0.25), rgba(25,23,18,0.05) 45%, rgba(25,23,18,0.6));
}
.hero-title {
  position: absolute; left: 4vw; bottom: 8vh; right: 4vw;
  color: var(--light);
  font-family: var(--grotesk); font-weight: 300;
  font-size: clamp(38px, 7.2vw, 104px);
  line-height: 1.04; letter-spacing: 0.05em; text-transform: uppercase;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span {
  display: inline-block; transform: translateY(110%);
  animation: rise 1.2s var(--ease) forwards;
}
.hero-title .line:nth-child(2) span { animation-delay: 0.15s; }
@keyframes rise { to { transform: translateY(0); } }
.hero-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(246,241,230,0.85);
  font-family: var(--grotesk); font-size: 10.5px; letter-spacing: 0.4em; text-transform: uppercase;
}
.hero-hint span { width: 1px; height: 44px; background: rgba(246,241,230,0.5); position: relative; overflow: hidden; }
.hero-hint span::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 45%;
  background: var(--light); animation: drop 1.8s var(--ease) infinite;
}
@keyframes drop { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* word-by-word title reveal */
.big .w { display: inline-block; overflow: hidden; vertical-align: top; }
.big .w > span {
  display: inline-block; transform: translateY(115%);
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--i) * 0.07s);
}
.big.in .w > span { transform: translateY(0); }

/* cinematic image reveal */
.img-reveal {
  clip-path: inset(12% 6% 12% 6%); transform: scale(1.12); opacity: 0.4;
  transition: clip-path 1.3s var(--ease), transform 1.5s var(--ease), opacity 1.1s var(--ease);
}
.img-reveal.in { clip-path: inset(0 0 0 0); transform: scale(1); opacity: 1; }

/* parallax images: oversize so the drift never shows edges */
[data-plx] { transform: scale(1.16); }

/* ═══════════ INTRO ═══════════ */
.intro { position: relative; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; }
.intro-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(25,23,18,0.35), transparent 40%, rgba(25,23,18,0.55));
}
.intro-copy { position: relative; padding: 0 4vw 9vh; max-width: 760px; color: var(--light); }
.intro-copy p {
  font-family: var(--grotesk); font-weight: 300;
  font-size: clamp(22px, 2.6vw, 34px); line-height: 1.35; letter-spacing: 0.01em;
}

/* ═══════════ LEGACY (clay) ═══════════ */
.legacy { background: var(--clay); color: var(--light); padding: 110px 4vw 120px; }
.legacy .label { color: rgba(246,241,230,0.8); }
.legacy .big { margin-bottom: 70px; }
.legacy-list { list-style: none; border-top: 1px solid rgba(246,241,230,0.35); }
.legacy-list li {
  display: grid; grid-template-columns: 70px 1fr 1.2fr; align-items: baseline; gap: 24px;
  padding: 30px 6px; border-bottom: 1px solid rgba(246,241,230,0.35);
  transition: background 0.4s var(--ease), padding-left 0.4s var(--ease);
}
.legacy-list li:hover { background: rgba(25,23,18,0.12); padding-left: 20px; }
.legacy-list .num { font-family: var(--grotesk); font-size: 13px; letter-spacing: 0.2em; opacity: 0.7; }
.legacy-list .what {
  font-family: var(--grotesk); font-weight: 300;
  font-size: clamp(24px, 3.2vw, 42px); letter-spacing: 0.05em; text-transform: uppercase;
}
.legacy-list .how { font-size: 15px; opacity: 0.85; text-align: right; }

/* ═══════════ HALL OF HARMONY ═══════════ */
.hall { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hall-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hall-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,23,18,0.78), rgba(25,23,18,0.25) 65%, rgba(25,23,18,0.1)); }
.hall-copy { position: relative; padding: 130px 4vw; max-width: 780px; }
.hall-copy .big { margin-bottom: 26px; }
.hall-lede { color: rgba(246,241,230,0.85); font-size: 17px; max-width: 480px; margin-bottom: 44px; }
.hall-book { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-solid, .cta-line {
  font-family: var(--grotesk); font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 17px 34px; border-radius: 999px;
  transition: all 0.45s var(--ease);
}
.cta-solid { background: var(--light); color: var(--ink); border: 1px solid var(--light); }
.cta-solid:hover { background: var(--clay); border-color: var(--clay); color: var(--light); transform: translateY(-3px); }
.cta-line { color: var(--light); border: 1px solid rgba(246,241,230,0.55); }
.cta-line:hover { background: rgba(246,241,230,0.14); border-color: var(--light); transform: translateY(-3px); }

/* ═══════════ GALLERY ═══════════ */
.gallery { background: var(--cream); padding: 120px 4vw 130px; }
.gallery-band {
  display: flex; gap: 16px; margin-top: 64px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--sand) transparent;
}
.gallery-band figure {
  flex: 0 0 clamp(240px, 30vw, 420px); scroll-snap-align: start;
  position: relative; overflow: hidden; border-radius: 6px;
}
.gallery-band img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.gallery-band figure:hover img { transform: scale(1.06); }
.gallery-band figcaption {
  position: absolute; left: 18px; bottom: 14px; color: var(--light);
  font-family: var(--grotesk); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(25,23,18,0.7);
}

/* ═══════════ PROJECT 4 (ink) ═══════════ */
.p4 { background: var(--ink); color: var(--light); padding: 130px 4vw; text-align: center; }
.p4 .label { margin-bottom: 44px; }
.p4-title {
  font-family: var(--grotesk); font-weight: 300;
  font-size: clamp(58px, 12vw, 170px); line-height: 1;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 30px;
}
.p4-title span {
  color: transparent; -webkit-text-stroke: 1.5px var(--sand);
  animation: glow 4s ease-in-out infinite;
}
@keyframes glow {
  0%, 100% { -webkit-text-stroke-color: var(--sand); }
  50% { -webkit-text-stroke-color: var(--clay); }
}
.p4-sub { max-width: 460px; margin: 0 auto; color: rgba(246,241,230,0.75); font-size: 16.5px; }

/* ═══════════ ABOUT ═══════════ */
.about { background: var(--cream); padding: 120px 4vw; }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.about-img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px;
  filter: grayscale(1) contrast(1.02);
  transition: filter 0.8s var(--ease);
}
.about-img:hover { filter: grayscale(0); }
.about-copy .big { margin-bottom: 30px; }
.about-copy > p { color: var(--ink-soft); font-size: 16.5px; max-width: 520px; }
.about-stats { display: flex; gap: 54px; margin-top: 48px; flex-wrap: wrap; }
.about-stats strong {
  display: block; font-family: var(--grotesk); font-weight: 300;
  font-size: 54px; line-height: 1;
}
.about-stats span {
  font-family: var(--grotesk); font-size: 12px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--ink-soft);
}

/* ═══════════ CONTACT ═══════════ */
.contact { position: relative; padding: 16vh 4vw 90px; overflow: hidden; }
.contact-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-card {
  position: relative; border-radius: 8px;
  background: var(--sage); color: var(--light);
  padding: 64px clamp(28px, 5vw, 72px) 56px;
  max-width: 1200px; margin: 0 auto;
  box-shadow: 0 40px 90px -30px rgba(25,23,18,0.5);
}
.contact-title {
  font-family: var(--grotesk); font-weight: 300;
  font-size: clamp(32px, 4.6vw, 62px); line-height: 1.05;
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 50px;
}
.contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.ci { margin-bottom: 20px; font-size: 15.5px; line-height: 1.55; }
.ci span {
  display: block; font-family: var(--grotesk); font-size: 11.5px;
  letter-spacing: 0.26em; text-transform: uppercase; opacity: 0.75; margin-bottom: 3px;
}
.ci a:hover { text-decoration: underline; }
.contact-map {
  margin-top: 28px; border-radius: 6px; overflow: hidden; height: 220px;
  filter: grayscale(0.85); transition: filter 0.6s var(--ease);
}
.contact-map:hover { filter: grayscale(0.1); }
.contact-map iframe { width: 100%; height: 100%; border: 0; }

/* lead form */
.lead { display: grid; gap: 14px; align-content: start; }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead input, .lead select, .lead textarea {
  width: 100%; border: 1px solid rgba(246,241,230,0.5); border-radius: 6px;
  background: rgba(246,241,230,0.1); color: var(--light);
  font-family: var(--body); font-weight: 300; font-size: 15px;
  padding: 15px 18px; outline: none;
  transition: border-color 0.35s, background 0.35s;
}
.lead input::placeholder, .lead textarea::placeholder { color: rgba(246,241,230,0.7); }
.lead select { cursor: pointer; }
.lead select:invalid { color: rgba(246,241,230,0.7); }
.lead select option { color: var(--ink); background: var(--light); }
.lead input:focus, .lead select:focus, .lead textarea:focus {
  border-color: var(--light); background: rgba(246,241,230,0.18);
}
.lead input[type="date"] { color-scheme: dark; }
.lead textarea { resize: vertical; }
.lead button {
  font-family: var(--grotesk); font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  background: var(--ink); color: var(--light);
  border: none; border-radius: 999px; padding: 17px 30px; cursor: pointer;
  transition: background 0.4s, transform 0.4s var(--ease);
}
.lead button:hover { background: var(--clay-deep); transform: translateY(-2px); }

/* ═══════════ FOOTER ═══════════ */
.footer {
  background: var(--cream); text-align: center;
  padding: 90px 4vw 46px;
}
.footer-logo { width: 320px; height: 91px; margin: 0 auto 40px; color: var(--ink); }
.footer-links {
  display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; margin-bottom: 44px;
  font-family: var(--grotesk); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
}
.footer-links a { opacity: 0.75; transition: opacity 0.3s, color 0.3s; }
.footer-links a:hover { opacity: 1; color: var(--clay); }
.footer-note { font-size: 13px; color: var(--ink-soft); letter-spacing: 0.06em; }

/* ═══════════ IMMERSIVE SCROLL (curtain + scrub) ═══════════ */
.hero { z-index: 1; }
.intro, .legacy, .hall, .gallery, .p4, .about, .contact, .footer { position: relative; z-index: 2; }
.intro-copy .iw { display: inline-block; }
/* gallery: horizontal scrub mode (JS adds .is-scrub on desktop) */
.gallery-band.is-scrub {
  overflow: visible; width: max-content; padding-bottom: 0;
  will-change: transform;
}
.gallery-band.is-scrub figure { flex: 0 0 clamp(300px, 34vw, 480px); }

/* ═══════════ REVEAL ═══════════ */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 46px; }
  .contact-cols { grid-template-columns: 1fr; gap: 46px; }
  .legacy-list li { grid-template-columns: 44px 1fr; }
  .legacy-list .how { grid-column: 2; text-align: left; opacity: 0.75; }
  .nav-logo .logo { width: 170px; }
  .nav-book { font-size: 11.5px; }
}
@media (max-width: 560px) {
  .lead-row { grid-template-columns: 1fr; }
  .hero-title { letter-spacing: 0.03em; }
  .menu-foot { flex-direction: column; gap: 12px; }
  .nav { padding: 0 18px; }
  .nav-logo .logo { width: 150px; }
}
