/* =============================================================================
   Niviya Interiors  styles.css
   Palette: warm cream + gold, Playfair Display / Manrope. Mobile-first.
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------- */
:root {
  --cream: #FAF8F5;
  --sand: #F5F1EC;
  --pearl: #EFE8DD;
  --ink: #2A2A2A;
  --black: #111111;
  --gold: #C8A86B;
  --gold-soft: #DCC08A;
  --bronze: #A9834B;
  --cocoa: #8B5E3C;
  --line: rgba(17, 17, 17, .1);
  --line-soft: rgba(17, 17, 17, .08);
  --shadow-sm: 0 24px 60px rgba(0, 0, 0, .08);
  --shadow-lg: 0 40px 90px rgba(0, 0, 0, .14);
  /* Latin fonts first; Devanagari (Noto) is the automatic fallback for Hindi glyphs */
  --serif: 'Playfair Display', 'Noto Serif Devanagari', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --maxw: 1360px;
  --pad: clamp(20px, 5vw, 44px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---- Reset / base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 500; margin: 0; }
p { margin: 0; }
button { font-family: inherit; }
::selection { background: var(--gold); color: #fff; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--bronze); }
.em { font-style: italic; color: var(--cocoa); }
.serif { font-family: var(--serif); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--black); color: var(--cream); padding: 12px 20px; border-radius: 8px;
  font-size: 13px; font-weight: 700; text-decoration: none; transition: top .3s;
}
.skip-link:focus { top: 12px; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 32px; border-radius: 99px; text-decoration: none;
  font-size: 15px; font-weight: 700; letter-spacing: .01em; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, background .35s, color .35s;
}
.btn-dark { background: var(--black); color: var(--cream); box-shadow: 0 18px 44px rgba(17, 17, 17, .22); }
.btn-dark:hover { transform: translateY(-3px); box-shadow: 0 26px 60px rgba(17, 17, 17, .3); }
.btn-dark .arw { color: var(--gold); transition: transform .35s var(--ease); }
.btn-dark:hover .arw { transform: translateX(4px); }
.btn-ghost { border-color: rgba(17, 17, 17, .22); color: var(--black); background: rgba(250, 248, 245, .55); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--gold); transform: translateY(-3px); }
.btn-gold { background: var(--gold); color: var(--black); box-shadow: 0 16px 40px rgba(200, 168, 107, .35); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 24px 54px rgba(200, 168, 107, .45); }
.dot-live { width: 9px; height: 9px; border-radius: 50%; background: #57D163; flex-shrink: 0; }

/* ---- Navigation ---------------------------------------------------------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 90; transition: background .5s, box-shadow .5s, backdrop-filter .5s; }
.nav.scrolled { background: rgba(250, 248, 245, .86); backdrop-filter: blur(18px) saturate(1.15); -webkit-backdrop-filter: blur(18px) saturate(1.15); box-shadow: 0 1px 0 var(--line-soft); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; color: var(--black); }
.brand svg { display: block; }
.brand-mark { display: block; width: 46px; height: auto; }
.brand-name { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: .01em; }
.brand-tag { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: rgba(17, 17, 17, .6); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(17, 17, 17, .68); transition: color .3s; }
.nav-links a:hover { color: var(--bronze); }
.nav-links a.btn { padding: 12px 22px; font-size: 12px; letter-spacing: .12em; }
.nav-links a.btn-dark, .nav-links a.btn-dark:hover { color: var(--cream); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--black); margin: 5px 0; transition: transform .35s, opacity .3s; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero ---------------------------------------------------------------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden;
  background:
    radial-gradient(130% 95% at 82% 12%, rgba(200, 168, 107, .22), rgba(200, 168, 107, 0) 52%),
    radial-gradient(120% 90% at 12% 96%, rgba(139, 94, 60, .10), transparent 46%),
    linear-gradient(168deg, #F4EDE2 0%, #F8F3EC 55%, #EEE6DA 100%); }
.hero-bg { position: absolute; inset: -3%; transform: scale(1.07); will-change: transform; transition: transform .7s var(--ease); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim-top { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(250, 248, 245, .9), rgba(250, 248, 245, 0) 24%); }
.hero-scrim-bottom { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(250, 248, 245, .96) 4%, rgba(250, 248, 245, .62) 30%, rgba(250, 248, 245, 0) 58%); }
.hero-scrim-left { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(250, 248, 245, .9) 0%, rgba(250, 248, 245, .5) 26%, rgba(250, 248, 245, 0) 54%); }
@media (max-width: 700px) { .hero-scrim-left { background: linear-gradient(90deg, rgba(250, 248, 245, .78), rgba(250, 248, 245, .2) 60%, transparent 90%); } }
.hero-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 30%, transparent 60%, rgba(139, 94, 60, .12)); }
.hero-sheen { position: absolute; top: 0; bottom: 0; width: 44%; pointer-events: none; background: linear-gradient(100deg, transparent 20%, rgba(255, 236, 200, .4) 50%, transparent 80%); animation: sheen 9s ease-in-out infinite; opacity: .8; }
.hero-fg { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; will-change: transform; }
.hero-fg .wrap { width: 100%; padding-top: 70px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 8.4vw, 126px); line-height: 1.02; letter-spacing: -.02em; color: var(--black); margin: 18px 0 20px; max-width: 1000px; }
.hero-sub { font-size: clamp(16px, 2vw, 19px); line-height: 1.65; color: rgba(42, 42, 42, .74); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.hero-cta .btn { pointer-events: auto; }
.hero-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: clamp(32px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); }
.hero-meta .label { font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgba(42, 42, 42, .55); }
.scroll-cue { display: flex; align-items: center; gap: 14px; }
.scroll-cue i { display: block; width: 1px; height: 40px; background: var(--bronze); animation: scrollcue 2.2s cubic-bezier(.65, 0, .35, 1) infinite; }
.dust { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(1px); }

/* ---- Section scaffolding ------------------------------------------------- */
.section { padding-top: clamp(90px, 13vw, 180px); padding-bottom: clamp(90px, 12vw, 150px); scroll-margin-top: 80px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(24px, 5vw, 60px); margin-bottom: clamp(48px, 8vw, 100px); flex-wrap: wrap; }
.section-title { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5vw, 72px); line-height: 1.06; letter-spacing: -.015em; color: var(--black); }
.section-title.sm { font-size: clamp(32px, 3.6vw, 54px); line-height: 1.18; }
.lead { font-size: clamp(16px, 1.7vw, 18px); line-height: 1.8; color: rgba(42, 42, 42, .72); }

/* ---- Studio -------------------------------------------------------------- */
.studio-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 5vw, 80px); }
.studio-grid .eyebrow { padding-top: 14px; }

/* ---- Trust (dark counters) ---------------------------------------------- */
.trust { background: var(--black); color: var(--cream); padding: clamp(72px, 10vw, 110px) 0; }
.trust .eyebrow { color: var(--gold); margin-bottom: clamp(36px, 6vw, 64px); }
.counters { display: grid; grid-template-columns: repeat(4, 1fr); }
.counter { padding: 0 clamp(18px, 3vw, 40px); border-left: 1px solid rgba(250, 248, 245, .12); }
.counter:first-child { padding-left: 0; border-left: none; }
.counter .num { font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 5.6vw, 92px); line-height: 1; color: var(--gold); }
.counter .cap { margin-top: 16px; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(250, 248, 245, .55); }

/* ---- Portfolio / gallery ------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(32px, 5vw, 56px); }
.filter { border: 1px solid var(--line); background: transparent; border-radius: 99px; padding: 10px 20px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(42, 42, 42, .66); cursor: pointer; transition: all .3s var(--ease); }
.filter:hover { border-color: var(--gold); color: var(--bronze); }
.filter[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: var(--cream); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.card { grid-column: span 1; }
.card button { display: block; width: 100%; padding: 0; border: none; background: none; cursor: pointer; text-align: left; }
.card .frame { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4 / 5; transition: transform .5s var(--ease), box-shadow .5s; }
.card:hover .frame { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card .frame img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .frame img { transform: scale(1.05); }
.card .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17, 17, 17, .28), transparent 45%); opacity: 0; transition: opacity .4s; }
.card:hover .frame::after { opacity: 1; }
.card .zoom { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; background: rgba(250, 248, 245, .92); display: grid; place-items: center; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; color: var(--black); font-size: 18px; }
.card:hover .zoom { opacity: 1; transform: none; }
.card .meta { display: flex; align-items: baseline; gap: 14px; margin-top: 20px; }
.card .idx { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--bronze); }
.card .name { font-family: var(--serif); font-size: clamp(19px, 2vw, 24px); color: var(--black); }
.card .tag { margin-left: auto; font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(42, 42, 42, .5); white-space: nowrap; }
.card[hidden] { display: none; }

/* Fallback layer, sits BEHIND the photo; only visible if the photo is missing */
.ph { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: linear-gradient(135deg, #efe6d7, #e4d5bf 45%, #d9c6a8); }
.ph::before { content: attr(data-ph); position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 15px; color: rgba(120, 90, 50, .6); text-align: center; padding: 20px; }
.ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-100%); animation: shimmer 2.4s infinite; }

/* ---- Reels (walkthroughs) ------------------------------------------------ */
.reels-wrap { position: relative; }
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 300px); gap: clamp(16px, 2vw, 26px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.reel { scroll-snap-align: start; }
.reel .screen { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 9 / 16; box-shadow: var(--shadow-sm); background: #0d0b09; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel .play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(17, 17, 17, .18); border: none; cursor: pointer; transition: background .3s; }
.reel .play:hover { background: rgba(17, 17, 17, .32); }
.reel .play i { width: 62px; height: 62px; border-radius: 50%; background: rgba(250, 248, 245, .92); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.reel .play i::before { content: ""; border-left: 18px solid var(--black); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.reel.playing .play, .reel.playing .poster { opacity: 0; pointer-events: none; }
.reel .cap { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 16px; }
.reel .cap .t { font-family: var(--serif); font-size: 19px; color: var(--black); }
.reel .cap .p { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(42, 42, 42, .5); }

/* ---- Materials ----------------------------------------------------------- */
.materials { background: var(--sand); }
.mat-grid { display: grid; grid-template-columns: 380px 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.mat-list { position: relative; padding-left: 28px; border-left: 1px solid var(--line); }
.mat-ind { position: absolute; left: -1px; top: 0; width: 2px; height: 74px; background: var(--gold); transition: top .5s var(--ease); }
.mat-btn { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; height: 74px; background: none; border: none; border-bottom: 1px solid var(--line-soft); cursor: pointer; padding: 0; text-align: left; transition: padding-left .35s; }
.mat-btn:last-child { border-bottom: none; }
.mat-btn:hover, .mat-btn[aria-selected="true"] { padding-left: 8px; }
.mat-btn .mn { font-family: var(--serif); font-size: clamp(21px, 2.4vw, 26px); color: var(--black); transition: color .3s; }
.mat-btn[aria-selected="true"] .mn { color: var(--bronze); }
.mat-btn .ms { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(42, 42, 42, .45); }
.mat-detail { display: grid; grid-template-columns: 1fr 300px; gap: clamp(28px, 5vw, 80px); align-items: center; }
.mat-panel .eyebrow { font-size: 12px; }
.mat-panel h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; color: var(--black); margin: 14px 0 22px; }
.mat-panel p { font-size: clamp(15px, 1.6vw, 17px); line-height: 1.8; color: rgba(42, 42, 42, .72); margin-bottom: 30px; max-width: 520px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--black); border: 1px solid rgba(17, 17, 17, .16); border-radius: 99px; padding: 9px 16px; background: rgba(250, 248, 245, .6); }
.mat-note { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(42, 42, 42, .5); }
.sample-stage { display: flex; flex-direction: column; align-items: center; }
.sample-3d { width: 280px; max-width: 100%; aspect-ratio: 3 / 4; perspective: 1100px; }
.sample-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: sway 8s ease-in-out infinite alternate; }
.sample-face { position: absolute; inset: 0; border-radius: 20px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset -18px -22px 48px rgba(0, 0, 0, .2), inset 12px 14px 34px rgba(255, 255, 255, .18); transition: background .5s; }
.sample-gloss { position: absolute; inset: 0; border-radius: 20px; background: linear-gradient(120deg, rgba(255, 255, 255, .3), transparent 45%); }
.sample-shadow { width: 68%; height: 24px; margin-top: 28px; background: radial-gradient(ellipse, rgba(0, 0, 0, .22), transparent 68%); filter: blur(7px); }

/* ---- Process timeline ---------------------------------------------------- */
.process-head { text-align: center; }
.process-head .eyebrow { display: inline-block; margin-bottom: 20px; }
.timeline { position: relative; max-width: 780px; margin: clamp(60px, 9vw, 110px) auto 0; }
.timeline .spine { position: absolute; left: 32px; top: 10px; bottom: 10px; width: 1px; background: rgba(17, 17, 17, .12); }
.timeline .spine-fill { position: absolute; left: 31.5px; top: 10px; bottom: 10px; width: 2px; background: var(--gold); transform: scaleY(0); transform-origin: top; }
.step { position: relative; display: flex; gap: clamp(24px, 4vw, 44px); padding: 30px 0; }
.step .n { flex-shrink: 0; width: 60px; height: 60px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--bronze); position: relative; z-index: 1; }
.step.hl .n { border-color: var(--gold); box-shadow: 0 10px 26px rgba(200, 168, 107, .25); }
.step.end .n { background: var(--black); border-color: var(--black); color: var(--gold); }
.step .h { font-family: var(--serif); font-size: clamp(23px, 2.6vw, 29px); color: var(--black); }
.step p { font-size: clamp(15px, 1.6vw, 16px); line-height: 1.75; color: rgba(42, 42, 42, .66); margin-top: 8px; max-width: 500px; }

/* ---- Why grid ------------------------------------------------------------ */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 8vw, 100px); }
.why-item { padding: 40px 0; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 20px; }
.why-item .i { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--bronze); }
.why-item h3 { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 30px); color: var(--black); }
.why-item p { font-size: 15.5px; line-height: 1.75; color: rgba(42, 42, 42, .64); margin-top: 12px; }

/* ---- Communities marquee ------------------------------------------------- */
.communities { padding: 60px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.communities .label { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: rgba(42, 42, 42, .45); margin-bottom: 32px; }
.marquee { display: flex; width: max-content; gap: 68px; align-items: center; animation: marquee 38s linear infinite; }
.marquee .grp { display: flex; gap: 68px; align-items: center; white-space: nowrap; }
.marquee .cm { font-family: var(--serif); font-size: clamp(22px, 3vw, 31px); color: rgba(17, 17, 17, .78); }
.marquee .di { color: var(--gold); font-size: 11px; }

/* ---- Testimonials -------------------------------------------------------- */
.testi { text-align: center; }
.testi .wrap-narrow { max-width: 940px; margin: 0 auto; }
.testi .quote-mark { font-family: var(--serif); font-size: clamp(70px, 10vw, 110px); line-height: .6; color: rgba(200, 168, 107, .4); margin-top: clamp(30px, 5vw, 54px); user-select: none; }
.testi blockquote { margin: 8px 0 0; }
.testi blockquote p { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(22px, 2.9vw, 37px); line-height: 1.45; color: var(--black); min-height: 3.2em; display: flex; align-items: center; justify-content: center; }
.testi .who { margin-top: 24px; font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--bronze); }
.testi .where { margin-top: 8px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(42, 42, 42, .5); }
.testi-nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: clamp(32px, 5vw, 52px); }
.testi-nav .arw { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(17, 17, 17, .16); background: transparent; cursor: pointer; font-size: 20px; color: var(--black); transition: border-color .35s, color .35s, transform .35s; display: grid; place-items: center; }
.testi-nav .arw:hover { border-color: var(--gold); color: var(--bronze); transform: translateY(-2px); }
.dots { display: flex; align-items: center; gap: 9px; }
.dots button { height: 8px; width: 8px; border-radius: 99px; border: none; padding: 0; cursor: pointer; background: rgba(17, 17, 17, .18); transition: all .4s var(--ease); }
.dots button[aria-current="true"] { width: 30px; background: var(--gold); }

/* ---- Contact ------------------------------------------------------------- */
.contact { background: var(--sand); }
.contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.contact h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.08; letter-spacing: -.015em; color: var(--black); margin: 20px 0 24px; }
.form { display: grid; gap: 16px; margin-top: 32px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(42, 42, 42, .6); }
.field input, .field select, .field textarea { font-family: inherit; font-size: 15px; color: var(--ink); background: rgba(255, 255, 255, .7); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; transition: border-color .3s, box-shadow .3s; }
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 168, 107, .18); }
.form .btn { justify-content: center; margin-top: 6px; }
.form-note { font-size: 12px; color: rgba(42, 42, 42, .55); line-height: 1.6; }
.contact-alt { display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: center; margin-top: 28px; }
.contact-alt a { text-decoration: none; color: var(--black); font-size: 15px; font-weight: 600; border-bottom: 1px solid rgba(17, 17, 17, .2); padding-bottom: 3px; transition: color .3s, border-color .3s; }
.contact-alt a:hover { color: var(--bronze); border-color: var(--gold); }
.contact-media { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; position: relative; }
.contact-media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.founder { margin-top: 18px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(42, 42, 42, .5); text-align: center; }

/* ---- Footer -------------------------------------------------------------- */
.footer { background: var(--black); color: rgba(250, 248, 245, .62); padding: clamp(72px, 10vw, 110px) 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(30px, 5vw, 70px); }
.footer-logo { width: 190px; max-width: 60%; height: auto; }
.footer-brand .line { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--gold); }
.footer-brand p { margin-top: 18px; font-size: 14px; line-height: 1.8; color: rgba(250, 248, 245, .55); max-width: 300px; }
.footer h4 { font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.footer .col a, .footer .col span { display: block; color: rgba(250, 248, 245, .62); text-decoration: none; font-size: 14px; line-height: 2.2; transition: color .3s; }
.footer .col a:hover { color: var(--gold); }
.footer-bottom { margin-top: clamp(50px, 8vw, 90px); padding-top: 26px; border-top: 1px solid rgba(250, 248, 245, .1); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom span { font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(250, 248, 245, .38); }

/* ---- Floating WhatsApp --------------------------------------------------- */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 95; width: 60px; height: 60px; border-radius: 50%; background: var(--black); display: grid; place-items: center; box-shadow: 0 16px 40px rgba(0, 0, 0, .28); text-decoration: none; transition: transform .35s, box-shadow .35s; }
.wa-float:hover { transform: translateY(-4px); box-shadow: 0 24px 54px rgba(0, 0, 0, .34); }
.wa-float .ping { position: absolute; top: 3px; right: 4px; width: 11px; height: 11px; border-radius: 50%; background: #57D163; border: 2px solid var(--black); animation: pulseDot 2.4s ease-out infinite; }

/* ---- Lightbox ------------------------------------------------------------ */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(12, 10, 8, .92); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 4vw; opacity: 0; transition: opacity .3s; }
.lightbox.open { display: flex; opacity: 1; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 10px; }
.lightbox figcaption { color: rgba(250, 248, 245, .8); text-align: center; margin-top: 16px; font-family: var(--serif); font-style: italic; font-size: 18px; }
.lb-btn { position: absolute; background: rgba(250, 248, 245, .12); border: 1px solid rgba(250, 248, 245, .25); color: var(--cream); width: 52px; height: 52px; border-radius: 50%; font-size: 22px; cursor: pointer; display: grid; place-items: center; transition: background .3s; }
.lb-btn:hover { background: rgba(250, 248, 245, .25); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 3vw; top: 50%; transform: translateY(-50%); }
.lb-next { right: 3vw; top: 50%; transform: translateY(-50%); }

/* ---- Reveal animation ---------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .95s var(--ease), transform .95s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---- Keyframes ----------------------------------------------------------- */
@keyframes sheen { 0% { transform: translateX(-80%) skewX(-14deg); } 60%, 100% { transform: translateX(190%) skewX(-14deg); } }
@keyframes floatDust { 0%, 100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(-30px); opacity: 1; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes sway { from { transform: rotateY(-16deg) rotateX(4deg); } to { transform: rotateY(16deg) rotateX(-3deg); } }
@keyframes scrollcue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(87, 209, 99, .5); } 70% { box-shadow: 0 0 0 10px rgba(87, 209, 99, 0); } 100% { box-shadow: 0 0 0 0 rgba(87, 209, 99, 0); } }
@keyframes shimmer { to { transform: translateX(100%); } }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .studio-grid { grid-template-columns: 1fr; gap: 20px; }
  .mat-grid { grid-template-columns: 1fr; }
  .mat-detail { grid-template-columns: 1fr; }
  .sample-stage { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(80vw, 340px); flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px; background: var(--cream); padding: 40px; transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: -20px 0 60px rgba(0, 0, 0, .18); }
  .nav.open .nav-links { transform: none; }
  .nav-links a { font-size: 15px; }
  .nav-toggle { display: block; z-index: 2; }
  .counters { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .counter, .counter:first-child { padding: 0 24px; border-left: 1px solid rgba(250, 248, 245, .12); }
  .counter:nth-child(odd) { padding-left: 0; border-left: none; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-media { max-width: 460px; }
  .hero-meta .scroll-cue { display: none; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
  .btn { padding: 16px 26px; }
}

/* ---- Language toggle (EN / हिं) ------------------------------------------ */
.nav-links { margin-left: auto; }
.lang-toggle { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; background: rgba(17, 17, 17, .04); border: 1px solid var(--line); border-radius: 99px; padding: 7px 13px; cursor: pointer; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .06em; line-height: 1; color: rgba(17, 17, 17, .45); transition: border-color .3s, background .3s; }
.lang-toggle:hover { border-color: var(--gold); background: rgba(200, 168, 107, .1); }
.lang-toggle .sep { color: rgba(17, 17, 17, .25); font-weight: 400; }
.lang-toggle span[data-l] { transition: color .3s; }
.lang-toggle span[data-l].on { color: var(--black); }
@media (max-width: 860px) { .lang-toggle { margin-left: auto; margin-right: 4px; } }

/* ---- Hindi (Devanagari) typography tweaks -------------------------------- */
html.lang-hi .em,
html.lang-hi .testi blockquote p,
html.lang-hi .card .idx,
html.lang-hi .step .n,
html.lang-hi .why-item .i,
html.lang-hi .footer-brand .line,
html.lang-hi .lightbox figcaption,
html.lang-hi .ph::before { font-style: normal; }

html.lang-hi .eyebrow,
html.lang-hi .brand-tag,
html.lang-hi .nav-links a,
html.lang-hi .hero-meta .label,
html.lang-hi .counter .cap,
html.lang-hi .filter,
html.lang-hi .card .tag,
html.lang-hi .reel .cap .p,
html.lang-hi .chip,
html.lang-hi .mat-note,
html.lang-hi .communities .label,
html.lang-hi .testi .who,
html.lang-hi .testi .where,
html.lang-hi .field label,
html.lang-hi .founder,
html.lang-hi .footer h4,
html.lang-hi .footer-bottom span { text-transform: none; letter-spacing: .01em; }

html.lang-hi .hero h1 { letter-spacing: 0; line-height: 1.1; }
html.lang-hi .section-title,
html.lang-hi .contact h2 { letter-spacing: 0; line-height: 1.16; }
