/* ═══════════════════════════════════════════════════════════
   Padmaa Jaipur — Heritage Haveli, Est. 1735
   Design: Banyan & Bough editorial language
   Fraunces (variable) display + Switzer body
   Palette: cream, forest deep (haveli shadow), brass, terracotta
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg-cream: #F4EFE4;
  --bg-cream-deep: #ECE5D4;
  --ink: #1F1A14;
  --ink-soft: #4A3F2E;
  --ink-mute: #8A7B5F;

  --forest: #2D3A2C;
  --forest-deep: #1E140E;
  --forest-mist: #5C6B57;

  --brass: #A87832;
  --brass-light: #C9923D;
  --brass-deep: #7A5520;

  --terracotta: #C4715A;

  --hairline: #D9CFB8;
  --hairline-soft: #E5DDC8;

  --display: 'Fraunces', 'Fraunces Fallback', Georgia, serif;
  --body: 'Switzer', system-ui, -apple-system, sans-serif;

  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(0.75rem, 2vw, 1.25rem);
  --space-md: clamp(1.25rem, 3vw, 2rem);
  --space-lg: clamp(2.5rem, 6vw, 5rem);
  --space-xl: clamp(4rem, 10vw, 9rem);
  --space-2xl: clamp(6rem, 14vw, 12rem);

  --type-eyebrow: 17px;
  --type-body: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --type-lede: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --type-h3: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  --type-h2: clamp(2rem, 1.4rem + 3vw, 4rem);
  --type-h1: clamp(2.75rem, 1.6rem + 6vw, 7rem);
}

@font-face {
  font-family: 'Fraunces Fallback';
  src: local('Georgia');
  size-adjust: 105.5%;
  ascent-override: 92%;
  descent-override: 23%;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-size: var(--type-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-cream);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.10  0 0 0 0 0.08  0 0 0 0.32 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.55;
  mix-blend-mode: multiply;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--brass); color: var(--bg-cream); }

/* ═══ Scroll Progress ═══ */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 1px; background: var(--brass);
  transform-origin: left; transform: scaleX(0); z-index: 100;
}
@supports (animation-timeline: scroll()) {
  .scroll-progress {
    animation: progress linear both;
    animation-timeline: scroll(root);
  }
  @keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* ═══ Header ═══ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 18px clamp(20px, 4vw, 56px);
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: var(--space-md);
  background: rgba(244, 239, 228, 0.78);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms ease, padding 240ms ease;
}
.site-header.scrolled { border-bottom-color: var(--hairline); padding-block: 12px; }

.logo { display: flex; align-items: center; }
.logo img { height: 64px; width: auto; }

.nav { display: flex; justify-content: center; gap: 36px; }
.nav a {
  font-size: 23px; font-weight: 500; letter-spacing: 0.01em;
  color: var(--ink-soft); position: relative; padding: 4px 0;
  transition: color 200ms ease;
}
.nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--brass);
  transition: width 280ms ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.cta-pill {
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 11px 22px;
  background: var(--forest); color: var(--bg-cream);
  transition: background 200ms ease;
}
.cta-pill:hover { background: var(--forest-deep); }

@media (max-width: 880px) {
  .nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
}

/* ═══ Hero ═══ */
.hero {
  min-height: 100svh; position: relative;
  display: grid; grid-template-rows: 1fr auto;
  padding: clamp(96px, 18vh, 180px) clamp(20px, 4vw, 56px) clamp(40px, 6vh, 80px);
  background: var(--forest-deep); color: var(--bg-cream);
  overflow: hidden; isolation: isolate;
}
.hero-image {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
}
.hero-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,20,14,0.55) 0%, rgba(30,20,14,0.2) 35%, rgba(30,20,14,0.65) 100%);
}

.hero-eyebrow {
  font-size: var(--type-eyebrow); font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass-light); margin-bottom: 22px;
  display: flex; align-items: center; gap: 14px;
}
.hero-eyebrow::after { content: ''; height: 1px; flex: 0 0 36px; background: var(--brass-light); }

.hero-headline {
  font-family: var(--display);
  font-size: var(--type-h1); line-height: 0.96;
  font-variation-settings: 'opsz' 144, 'wght' 320, 'SOFT' 30;
  letter-spacing: -0.035em; margin-bottom: 32px; max-width: 14ch;
}
.hero-headline em {
  font-style: italic; color: var(--brass-light);
  font-variation-settings: 'opsz' 144, 'wght' 380, 'SOFT' 100;
}

.hero-sub {
  font-size: var(--type-lede); line-height: 1.5;
  max-width: 38ch; color: rgba(244, 239, 228, 0.86); margin-bottom: 44px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary, .btn-ghost {
  font-size: 13px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 16px 32px;
  border: 1px solid currentColor; transition: background 220ms ease, color 220ms ease;
}
.btn-primary { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.btn-primary:hover { background: var(--brass-light); border-color: var(--brass-light); }
.btn-ghost { color: var(--bg-cream); border-color: rgba(244,239,228,0.3); }
.btn-ghost:hover { background: var(--bg-cream); color: var(--ink); border-color: var(--bg-cream); }

.hero-foot {
  display: grid; grid-template-columns: 1fr auto;
  gap: var(--space-sm); align-items: end;
  margin-top: var(--space-lg); padding-top: 24px;
  border-top: 1px solid rgba(244,239,228,0.18);
  font-size: 12px; color: rgba(244,239,228,0.7);
}

/* ═══ Sections ═══ */
.section {
  padding: var(--space-2xl) clamp(20px, 4vw, 56px);
  position: relative;
}
.section-eyebrow {
  font-size: var(--type-eyebrow); font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass-deep); display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
}
.section-eyebrow::before { content: ''; height: 1px; flex: 0 0 36px; background: var(--brass); }
.section-eyebrow.center { justify-content: center; }
.section-eyebrow.center::after { content: ''; height: 1px; flex: 0 0 36px; background: var(--brass); }

.section-h2 {
  font-family: var(--display);
  font-size: var(--type-h2); line-height: 1.04;
  font-variation-settings: 'opsz' 144, 'wght' 360, 'SOFT' 50;
  letter-spacing: -0.025em; max-width: 18ch; margin-bottom: var(--space-md);
}
.section-h2 em {
  font-style: italic; color: var(--brass);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 100;
}

.section-lede {
  font-size: var(--type-lede); line-height: 1.55;
  max-width: 56ch; color: var(--ink-soft);
}

/* ═══ Setting — centered editorial ═══ */
.setting { background: var(--bg-cream); text-align: center; padding-block: var(--space-2xl); }
.setting-inner { max-width: 720px; margin: 0 auto; }
.setting .section-h2 { margin-inline: auto; }
.setting-lede { font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem); line-height: 1.5; color: var(--ink-soft); margin-inline: auto; }
.setting-mark {
  font-family: var(--display); font-style: italic; font-size: 28px;
  color: var(--brass); font-variation-settings: 'opsz' 36, 'wght' 400, 'SOFT' 100;
  margin: 32px auto 12px; display: block;
}

/* ═══ Estate — asymmetric two-column ═══ */
.estate {
  background: var(--bg-cream-deep);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-xl); align-items: center; padding-block: var(--space-2xl);
}
.estate-image { aspect-ratio: 4/5; overflow: hidden; }
.estate-image img { width: 100%; height: 100%; object-fit: cover; }
.estate-numbers {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md); margin-top: var(--space-md);
  padding-top: 32px; border-top: 1px solid var(--hairline);
}
.estate-num {
  font-family: var(--display);
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 80;
  color: var(--forest); letter-spacing: -0.03em;
}
.estate-num em { font-style: italic; color: var(--brass); }
.estate-label {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute); margin-top: 4px;
}
@media (max-width: 880px) { .estate { grid-template-columns: 1fr; } }

/* ═══ Stays — numbered list ═══ */
.stays { background: var(--bg-cream); }
.stays-head { text-align: center; max-width: 720px; margin: 0 auto var(--space-lg); }
.stays-head .section-eyebrow { justify-content: center; }
.stays-head .section-eyebrow::after { content: ''; height: 1px; flex: 0 0 36px; background: var(--brass); }
.stays-head .section-h2 { margin-inline: auto; }

.stays-list { display: flex; flex-direction: column; }
.stay {
  display: grid; grid-template-columns: 80px 1fr 1.4fr;
  gap: var(--space-md); padding: var(--space-lg) 0;
  border-top: 1px solid var(--hairline); align-items: start;
}
.stay:last-child { border-bottom: 1px solid var(--hairline); }
.stay-num {
  font-family: var(--display); font-style: italic; font-size: 28px;
  color: var(--brass); font-variation-settings: 'opsz' 36, 'wght' 400, 'SOFT' 100;
  letter-spacing: -0.02em; padding-top: 6px;
}
.stay-name {
  font-family: var(--display); font-size: var(--type-h3); line-height: 1.1;
  font-variation-settings: 'opsz' 72, 'wght' 380, 'SOFT' 50;
  letter-spacing: -0.02em; color: var(--ink); margin-bottom: 8px;
}
.stay-meta {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 4px;
}
.stay-rate { font-size: 13px; color: var(--brass-deep); font-weight: 500; }
.stay-desc { font-size: var(--type-body); line-height: 1.6; color: var(--ink-soft); max-width: 50ch; }
@media (max-width: 720px) {
  .stay { grid-template-columns: 60px 1fr; }
  .stay-desc { grid-column: 1 / -1; padding-left: 60px; }
}

/* ═══ Dining — dark section ═══ */
.dining { background: var(--forest-deep); color: var(--bg-cream); padding-block: var(--space-2xl); }
.dining .section-eyebrow { color: var(--brass-light); }
.dining .section-eyebrow::before { background: var(--brass-light); }
.dining .section-h2 { color: var(--bg-cream); }
.dining .section-h2 em { color: var(--brass-light); }
.dining-lede { color: rgba(244,239,228,0.78); max-width: 56ch; }

.venues { margin-top: var(--space-xl); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.venue { border-top: 1px solid rgba(244,239,228,0.2); padding-top: var(--space-md); }
.venue-image { aspect-ratio: 4/5; background: var(--forest); margin-bottom: 24px; overflow: hidden; }
.venue-image img { width: 100%; height: 100%; object-fit: cover; }
.venue-num {
  font-family: var(--display); font-style: italic; font-size: 14px;
  color: var(--brass-light); letter-spacing: 0.06em; margin-bottom: 8px;
}
.venue-name {
  font-family: var(--display); font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  line-height: 1.1; font-variation-settings: 'opsz' 72, 'wght' 360, 'SOFT' 50;
  letter-spacing: -0.02em; margin-bottom: 12px; color: var(--bg-cream);
}
.venue-hours { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 16px; }
.venue-desc { font-size: 15px; line-height: 1.55; color: rgba(244,239,228,0.78); }
@media (max-width: 880px) { .venues { grid-template-columns: 1fr; gap: var(--space-lg); } }

/* ═══ Experiences — cards ═══ */
.beyond { background: var(--bg-cream-deep); padding-block: var(--space-2xl); }
.beyond-head { text-align: center; max-width: 720px; margin: 0 auto var(--space-xl); }
.beyond-head .section-eyebrow { justify-content: center; }
.beyond-head .section-eyebrow::after { content: ''; height: 1px; flex: 0 0 36px; background: var(--brass); }
.beyond-head .section-h2 { margin-inline: auto; }

.beyond-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.beyond-card { display: flex; flex-direction: column; }
.beyond-image {
  aspect-ratio: 3/4; overflow: hidden; margin-bottom: 24px;
  filter: grayscale(0.15); transition: filter 400ms ease;
}
.beyond-card:hover .beyond-image { filter: grayscale(0); }
.beyond-image img { width: 100%; height: 100%; object-fit: cover; }
.beyond-tag { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 10px; }
.beyond-title {
  font-family: var(--display); font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  line-height: 1.1; font-variation-settings: 'opsz' 72, 'wght' 380, 'SOFT' 50;
  letter-spacing: -0.02em; margin-bottom: 12px;
}
.beyond-title em { font-style: italic; color: var(--brass); }
.beyond-desc { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
@media (max-width: 880px) { .beyond-grid { grid-template-columns: 1fr; gap: var(--space-lg); } }

/* ═══ FAQ ═══ */
.faq { background: var(--bg-cream); }
.faq-inner { max-width: 880px; margin: 0 auto; }
.faq-head { text-align: center; margin-bottom: var(--space-lg); }
.faq-head .section-eyebrow { justify-content: center; }
.faq-head .section-eyebrow::after { content: ''; height: 1px; flex: 0 0 36px; background: var(--brass); }
.faq-head .section-h2 { margin-inline: auto; }

details.q { border-top: 1px solid var(--hairline); padding: 26px 0; }
details.q:last-child { border-bottom: 1px solid var(--hairline); }
details.q summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: baseline;
  font-family: var(--display); font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem);
  font-variation-settings: 'opsz' 36, 'wght' 380, 'SOFT' 50;
  letter-spacing: -0.015em; color: var(--ink); user-select: none;
}
details.q summary::-webkit-details-marker { display: none; }
.q-mark {
  font-family: var(--display); font-style: italic; font-size: 22px;
  color: var(--brass); transition: transform 240ms ease;
}
details.q[open] .q-mark { transform: rotate(45deg); }
.q-body { padding-top: 16px; font-size: 15px; line-height: 1.65; color: var(--ink-soft); max-width: 60ch; }

/* ═══ Visit — dark split ═══ */
.visit { background: var(--forest-deep); color: var(--bg-cream); padding-block: var(--space-2xl); }
.visit .section-eyebrow { color: var(--brass-light); }
.visit .section-eyebrow::before { background: var(--brass-light); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
.visit-h {
  font-family: var(--display); font-size: var(--type-h2); line-height: 1.04;
  font-variation-settings: 'opsz' 144, 'wght' 360, 'SOFT' 50;
  letter-spacing: -0.025em; margin-bottom: var(--space-md); color: var(--bg-cream);
}
.visit-h em { font-style: italic; color: var(--brass-light); }
.visit-info { display: grid; gap: 28px; align-content: start; }
.visit-row {
  display: grid; grid-template-columns: 110px 1fr; gap: 16px;
  font-size: 15px; align-items: baseline;
  border-top: 1px solid rgba(244,239,228,0.2); padding-top: 18px;
}
.visit-row dt { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-light); font-weight: 500; }
.visit-row dd { color: rgba(244,239,228,0.86); line-height: 1.5; }
.visit-row a { color: var(--bg-cream); border-bottom: 1px solid var(--brass-light); }
.visit-row a:hover { color: var(--brass-light); }
@media (max-width: 880px) { .visit-grid { grid-template-columns: 1fr; gap: var(--space-lg); } }

/* ═══ Final CTA ═══ */
.final-cta {
  text-align: center; padding: var(--space-2xl) clamp(20px, 4vw, 56px);
  background: var(--bg-cream); position: relative;
}
.final-cta::before, .final-cta::after {
  content: ''; position: absolute; left: 50%;
  width: 1px; height: 60px; background: var(--brass); transform: translateX(-50%);
}
.final-cta::before { top: 0; }
.final-cta::after { bottom: 0; }
.final-mark {
  font-family: var(--display); font-style: italic; font-size: 32px;
  color: var(--brass); margin-bottom: 24px; display: block;
}
.final-h {
  font-family: var(--display); font-size: clamp(2.5rem, 1.5rem + 5vw, 5.5rem);
  line-height: 1; font-variation-settings: 'opsz' 144, 'wght' 360, 'SOFT' 50;
  letter-spacing: -0.04em; margin-bottom: var(--space-md);
  max-width: 16ch; margin-inline: auto;
}
.final-h em { font-style: italic; color: var(--brass); }
.final-sub { font-size: var(--type-lede); color: var(--ink-soft); max-width: 48ch; margin: 0 auto var(--space-lg); }

/* ═══ Footer ═══ */
.site-foot {
  background: var(--bg-cream-deep); padding: var(--space-lg) clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--hairline); font-size: 13px; color: var(--ink-soft);
}
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-md); margin-bottom: var(--space-md); }
.foot-brand {
  font-family: var(--display); font-size: 22px;
  font-variation-settings: 'opsz' 36, 'wght' 380, 'SOFT' 50;
  color: var(--ink); margin-bottom: 8px; letter-spacing: -0.02em;
}
.foot-brand em { font-style: italic; color: var(--brass); }
.foot-tagline { font-style: italic; color: var(--ink-mute); max-width: 32ch; font-family: var(--display); }
.foot-h { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 14px; }
.foot-link { display: block; padding: 4px 0; color: var(--ink-soft); }
.foot-link:hover { color: var(--brass-deep); }
.foot-bottom {
  border-top: 1px solid var(--hairline); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 12px; color: var(--ink-mute);
}
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ═══ WhatsApp Pill ═══ */
.wa-pill {
  position: fixed; bottom: 24px; right: 24px; z-index: 80;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 22px 14px 18px;
  background: var(--forest); color: var(--bg-cream);
  border-radius: 100px; box-shadow: 0 8px 28px rgba(31,42,31,0.25);
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  transition: background 200ms ease, transform 200ms ease;
}
.wa-pill:hover { background: var(--brass); color: var(--ink); transform: translateY(-2px); }
.wa-pill svg { width: 18px; height: 18px; }
@media (max-width: 480px) {
  .wa-pill { padding: 14px; }
  .wa-pill .wa-label { display: none; }
}

/* ═══ Scroll reveal ═══ */
@supports (animation-timeline: view()) {
  .reveal {
    animation: reveal-up linear both;
    animation-timeline: view(block);
    animation-range: entry 0% cover 18%;
  }
  @keyframes reveal-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; animation: none !important; }
  .scroll-progress { display: none; }
}

@media print {
  .site-header, .wa-pill, .scroll-progress { display: none; }
  body { background: #fff; color: #000; }
  body::before { display: none; }
}
