/* ═══════════════════════════════════════════════════════════════
   HSJ V3 — Design System & Styles
   Harsahaimal Shiamlal Jewellers · Est. 1893 · Badaun
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --hsj-ink:       #0E0E0C;
  --hsj-charcoal:  #1A1A18;
  --hsj-ivory:     #F6F1E7;
  --hsj-cream:     #EBE4D3;
  --hsj-gold:      #B08D57;
  --hsj-gold-deep: #6E4F22;
  --hsj-rose:      #C9A48A;
  --hsj-jade:      #1F3D36;
  --hsj-line:      rgba(14,14,12,0.12);
  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'Playfair Display', Georgia, serif;
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
  --container: min(1340px, 100% - 48px);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { background: #FFFFFF; color: var(--hsj-ink); font-family: var(--sans); font-size: 16px; line-height: 1.7; font-weight: 300; overflow-x: hidden; -webkit-tap-highlight-color: transparent; -webkit-overflow-scrolling: touch; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: 0; cursor: pointer; font-family: inherit; color: inherit; }
::selection { background: var(--hsj-gold); color: var(--hsj-ink); }

/* ── Typography classes ── */
.eyebrow { font-family: var(--sans); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.24em; color: var(--hsj-gold-deep); }
.cta-underline { display: inline-block; font-family: var(--sans); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.2em; padding-bottom: 6px; border-bottom: 1px solid currentColor; transition: padding 300ms ease, color 300ms ease; }
.cta-underline:hover { padding-bottom: 10px; }
.container { width: var(--container); margin-inline: auto; }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 100ms; }
.reveal-d2 { transition-delay: 200ms; }
.reveal-d3 { transition-delay: 300ms; }
.reveal-d4 { transition-delay: 400ms; }

/* ═══════════ ADAPTIVE HEADER ═══════════ */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: all 400ms var(--ease); }

/* State A — VCA-style clean bar (white) */
.header[data-state="A"] { background: #FFFFFF; padding: 0; border-bottom: 1px solid var(--hsj-line); overflow: visible; }
.header[data-state="A"] .vca-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px; max-width: 1440px; margin: 0 auto; overflow: visible; }
.header[data-state="A"] .vca-left { display: flex; align-items: center; gap: 20px; flex: 1; }
.header[data-state="A"] .vca-center { flex: 0 0 auto; text-align: center; position: relative; overflow: visible; }
.header[data-state="A"] .vca-right { display: flex; align-items: center; gap: 16px; flex: 1; justify-content: flex-end; }
.vca-icon-btn { background: none; border: 0; cursor: pointer; color: var(--hsj-charcoal); padding: 6px; display: flex; align-items: center; transition: color 0.3s; }
#menu-toggle svg { transform: scale(0.9); transform-origin: center; }
.vca-icon-btn:hover { color: var(--hsj-gold-deep); }
.vca-search-btn { background: none; border: 0; cursor: pointer; display: flex; align-items: center; gap: 8px; color: var(--hsj-charcoal); font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 400; transition: color 0.3s; }
.vca-search-btn:hover { color: var(--hsj-gold-deep); }
.vca-wordmark { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 2.5vw, 30px); letter-spacing: 0.04em; color: var(--hsj-ink); line-height: 1.1; white-space: nowrap; }
.vca-sub { font-family: var(--sans); font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--hsj-gold-deep); margin-top: 4px; font-weight: 500; }

/* HSJ Logo — full image */
.hsj-logo-link { display: block; }
.hsj-main-logo { height: clamp(56px, 7vw, 84px); width: auto; object-fit: contain; filter: drop-shadow(0 2px 12px rgba(176,141,87,0.2)); transition: filter 0.4s ease; }
.hsj-logo-link:hover .hsj-main-logo { filter: drop-shadow(0 4px 20px rgba(176,141,87,0.35)); }

/* Full name — hidden by default, shows on hover, centered under logo */
.hsj-fullname { font-family: var(--serif); font-weight: 400; font-size: 17px; letter-spacing: 0.12em; color: var(--hsj-gold-deep); margin-top: 0; text-align: center; opacity: 0; max-height: 0; overflow: hidden; transition: opacity 0.5s ease, max-height 0.5s ease, margin-top 0.5s ease; white-space: nowrap; }
.vca-center:hover .hsj-fullname, .vca-bar:hover .hsj-fullname { opacity: 1; max-height: 30px; margin-top: 6px; }

/* Fix: spelling is Harsahaimal not Harsahaimal — and center logo+name as a block */
.vca-center { flex: 0 0 auto; text-align: center; position: relative; overflow: visible; display: flex; flex-direction: column; align-items: center; }

.header[data-state="A"] .pill { display: none; }
.header[data-state="A"] .cat-nav, .header[data-state="A"] .brand-row, .header[data-state="A"] .appt-link { display: none; }

/* State B — floating pill */
.header[data-state="B"] { background: transparent; padding: 14px 0; }
.header[data-state="B"] .vca-bar { display: none; }
.header[data-state="B"] .pill { display: flex; align-items: center; justify-content: space-between; margin: 0 auto; max-width: 720px; padding: 10px 24px; background: rgba(246,241,231,0.82); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border: 1px solid rgba(176,141,87,0.15); border-radius: 28px; box-shadow: 0 6px 32px rgba(14,14,12,0.08); overflow: visible; }
.header[data-state="B"] .pill .menu, .header[data-state="B"] .pill .icons { display: flex; gap: 12px; align-items: center; }
.header[data-state="B"] .pill button { padding: 6px; color: var(--hsj-charcoal); background: none; border: 0; cursor: pointer; }

/* Pill brand — logo in pill */
.pill-brand { display: flex; align-items: center; }
.pill-logo { height: 28px; width: auto; object-fit: contain; }

/* ═══════════ HERO ═══════════ */
.hero { position: relative; height: auto; min-height: max(100vh, 700px); min-height: max(100dvh, 700px); overflow: hidden; background: radial-gradient(ellipse at 30% 40%, rgba(176,141,87,0.15) 0%, transparent 55%), radial-gradient(ellipse at 70% 60%, rgba(201,164,138,0.18) 0%, transparent 55%), #FFFFFF; }

/* Floating particles */
/* Honeypot anti-spam field — hidden from people, tempting to bots */
.hp-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Floating WhatsApp chat button (site-wide) */
#hsj-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 600; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,0.28); transition: transform .2s ease, box-shadow .2s ease; }
#hsj-wa-float:hover { transform: scale(1.08); box-shadow: 0 10px 30px rgba(0,0,0,0.34); color: #fff; }
@media (max-width: 768px) { #hsj-wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; } }
@media print { #hsj-wa-float { display: none; } }

.hero-particles { position: absolute; inset: 0; overflow: hidden; }
/* Floating real-photo jewels — faded & soft-masked so backgrounds dissolve into the hero */
.hero-floatj { position: absolute; top: 0; pointer-events: none; opacity: 0; object-fit: cover; border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 36%, rgba(0,0,0,0.4) 60%, transparent 76%);
  mask-image: radial-gradient(circle at 50% 45%, #000 36%, rgba(0,0,0,0.4) 60%, transparent 76%);
  filter: blur(0.8px) saturate(1.06); will-change: transform, opacity; animation: jewelFloat linear infinite; }
@keyframes jewelFloat {
  0%   { opacity: 0; transform: translateY(112vh) rotate(var(--rot, 0deg)) scale(0.94); }
  12%  { opacity: var(--maxop, 0.6); }
  50%  { transform: translateY(42vh) rotate(calc(var(--rot, 0deg) * -1)) scale(1.02); }
  88%  { opacity: var(--maxop, 0.6); }
  100% { opacity: 0; transform: translateY(-28vh) rotate(var(--rot, 0deg)) scale(1.05); }
}
@media (prefers-reduced-motion: reduce) { .hero-floatj { display: none; } }

/* Jewel orb in hero center */
.hero-jewel { position: absolute; top: 50%; left: 42%; transform: translate(-50%, -50%); width: clamp(200px, 22vw, 320px); height: clamp(200px, 22vw, 320px); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFE9B9 0%, #D4A857 35%, #8C6B3D 70%, #5A4225 100%); box-shadow: inset 0 -20px 60px rgba(0,0,0,0.25), inset 0 20px 40px rgba(255,240,200,0.5), 0 30px 80px rgba(140,107,61,0.35); opacity: 0; animation: jewelReveal 1.8s var(--ease) 0.3s forwards; z-index: 2; }
.hero-jewel::after { content: ''; position: absolute; top: 18%; left: 22%; width: 30%; height: 22%; background: radial-gradient(ellipse, rgba(255,255,255,0.65) 0%, transparent 70%); border-radius: 50%; filter: blur(6px); }
@keyframes jewelReveal { 0% { opacity: 0; transform: translate(-50%, -50%) scale(0.85); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

/* Gold ring orbiting the jewel */
.hero-orbit { position: absolute; top: 50%; left: 42%; width: clamp(380px, 36vw, 560px); height: clamp(380px, 36vw, 560px); transform: translate(-50%, -50%); border: 0.5px solid rgba(176,141,87,0.2); border-radius: 50%; animation: rotate 50s linear infinite; z-index: 1; }
.hero-orbit::before { content: ''; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--hsj-gold); transform: translateX(-50%); box-shadow: 0 0 16px rgba(176,141,87,0.5); }
@keyframes rotate { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Hero overlay text */
.hero-overlay { position: absolute; left: 48px; bottom: 80px; max-width: 540px; z-index: 10; }
.hero-overlay .eyebrow { color: var(--hsj-gold-deep); opacity: 0; animation: fadeInUp 1s var(--ease) 1.2s forwards; }
.hero-overlay h1 { margin-top: 16px; font-family: var(--serif); font-size: clamp(48px, 7vw, 88px); line-height: 0.96; font-weight: 300; color: var(--hsj-ink); opacity: 0; animation: fadeInUp 1s var(--ease) 1.5s forwards; }
.hero-overlay h1 .sans-line { display: block; font-family: var(--sans); font-size: clamp(16px, 2vw, 24px); font-weight: 300; text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 10px; color: var(--hsj-charcoal); }
.hero-overlay h1 .italic-line { display: block; font-style: italic; font-weight: 400; color: var(--hsj-gold-deep); }
.hero-overlay .cta-underline { margin-top: 36px; color: var(--hsj-ink); opacity: 0; animation: fadeInUp 1s var(--ease) 1.8s forwards; }
.hero-scroll { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 10; text-align: center; opacity: 0; animation: fadeIn 1s ease 2.5s forwards; }
.hero-scroll span { font-size: 14px; font-weight: 700; letter-spacing: 0.34em; text-transform: uppercase; color: var(--hsj-gold-deep); text-shadow: 0 1px 10px rgba(255,255,255,0.85), 0 0 2px rgba(255,255,255,0.9); }
.hero-scroll::after { content: ''; display: block; width: 2.5px; height: 54px; border-radius: 2px; background: linear-gradient(to bottom, var(--hsj-gold-deep), var(--hsj-gold) 40%, transparent); margin: 12px auto 0; box-shadow: 0 0 8px rgba(176,141,87,0.5); animation: scrollPulse 2s ease-in-out infinite 3s; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollPulse { 0%,100% { transform: scaleY(1); opacity: 0.6; } 50% { transform: scaleY(1.4); opacity: 1; } }

/* ═══════════ LEGIBILITY — lift faint label/link text site-wide ═══════════ */
/* `html` prefix raises specificity above page base rules so these win, while
   page :hover/.active rules (higher specificity, loaded later) still override. */
html .product-card .p-discover,
html .wl-card .p-view,
html .wl-continue a,
html .store-card .meta,
html .f-success .small { opacity: 0.85; }
html .cat-hero .crumb,
html .dg-hero .crumb,
html .pd-info .crumb,
html .material-tab,
html .pd-spec .k,
html .pd-note,
html .st-meta .k,
html .st-media .slot-desc,
html .ct-direct .k,
html .ct-form .f-note,
html .media-slot .slot-desc,
html .appointment p,
html .ram-lalla .date-line,
html .product-card .img-wrap .upload-hint .t2,
html .design-card .slot-hint .t2,
html .design-card .d-code,
html .slot-hint .t2 { opacity: 0.8; }
/* small gold micro-labels read faint at tiny sizes → darker, richer gold */
html .trust-strip .cell .s,
html .product-card .p-cat,
html .wl-card .p-cat,
html .rel-card .ds,
html .product-card .p-discover,
html .wl-card .p-view { color: #6E4F22; opacity: 1; }
html .rel-card .ds { opacity: 1; }

/* ═══════════ RATE TICKER ═══════════ */
.ticker { background: linear-gradient(180deg, #211913 0%, var(--hsj-charcoal) 50%, #211913 100%); padding: 22px 0; overflow: hidden; border-top: 2px solid rgba(176,141,87,0.55); border-bottom: 2px solid rgba(176,141,87,0.55); box-shadow: inset 0 0 40px rgba(0,0,0,0.45); }
.ticker-track { display: flex; gap: 56px; white-space: nowrap; animation: marquee 45s linear infinite; }
.ticker-track .label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(246,241,231,0.78); }
.ticker-track .value { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--hsj-gold); letter-spacing: 0.04em; margin-left: 12px; text-shadow: 0 0 14px rgba(176,141,87,0.35); }
.ticker-track .delta-up { color: #88c39a; font-size: 10px; margin-left: 6px; }
.ticker-track .delta-down { color: #d68a8a; font-size: 10px; margin-left: 6px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════ HERITAGE SPLIT ═══════════ */
.heritage { padding: clamp(80px, 12vw, 160px) 0; background: #FFFFFF; }
.heritage .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 96px); align-items: center; }
.heritage .archival { aspect-ratio: 4/5; background: #FCFBF9; border: 1px solid var(--hsj-line); position: relative; overflow: hidden; }
.heritage .archival::before { content: '1893'; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: clamp(120px, 18vw, 220px); font-weight: 300; color: rgba(140,107,61,0.14); letter-spacing: -0.04em; }
.heritage h2 { font-family: var(--serif); font-size: clamp(36px, 5vw, 64px); font-weight: 300; line-height: 1.05; margin: 18px 0 24px; }
.heritage h2 em { font-style: italic; color: var(--hsj-gold-deep); }
.heritage p { font-size: 16px; line-height: 1.85; color: var(--hsj-charcoal); max-width: 48ch; opacity: 0.75; }
.heritage .jade-accent { width: 40px; height: 2px; background: var(--hsj-jade); margin-bottom: 20px; }

/* ═══════════ CATALOG SILOS ═══════════ */
.silos { padding: clamp(80px, 10vw, 140px) 0; background: #FFFFFF; }
.silos .header-row { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.silos h2 { font-family: var(--serif); font-size: clamp(32px, 4.5vw, 56px); font-weight: 300; margin-top: 14px; }
.silos .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.silo { aspect-ratio: 3/4; position: relative; overflow: hidden; cursor: pointer; transition: transform 600ms var(--ease); }
.silo:hover { transform: translateY(-6px); }
.silo-gold { background: linear-gradient(160deg, #E8D4A8 0%, #C9A560 60%, #8C6B3D 100%); }
.silo-silver { background: linear-gradient(160deg, #E8E8E8 0%, #B8B8B8 60%, #6C6C6C 100%); }
.silo-diamond { background: linear-gradient(160deg, #F0F4F8 0%, #C0CCD6 60%, #5A6873 100%); }
.silo-polki { background: linear-gradient(160deg, #F2D9C2 0%, #C9A48A 60%, #6E4838 100%); }
.silo::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent 0px, transparent 14px, rgba(255,255,255,0.025) 14px, rgba(255,255,255,0.025) 15px); }
.silo::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, transparent 30%, rgba(0,0,0,0.35) 100%); }
.silo .silo-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.silo .silo-upload-tag { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 8px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(246,241,231,0.75); border: 1px dashed rgba(246,241,231,0.45); padding: 4px 10px; z-index: 2; font-weight: 500; }
.silo .silo-label { position: absolute; bottom: 28px; left: 0; right: 0; text-align: center; z-index: 2; color: var(--hsj-ivory); }
.silo .silo-label .cat { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.7; }
.silo .silo-label .name { margin-top: 8px; font-family: var(--serif); font-size: clamp(22px, 2.5vw, 30px); font-weight: 300; letter-spacing: 0.04em; }

/* ═══════════ RAM LALLA JADE SECTION ═══════════ */
.ram-lalla { background: #6E1612; color: var(--hsj-ivory); padding: clamp(80px, 12vw, 160px) 0; text-align: center; position: relative; overflow: hidden; }
.ram-lalla::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(176,141,87,0.12) 0%, transparent 50%); }
.ram-lalla .mandala { width: 200px; height: 200px; margin: 0 auto 40px; animation: rotate 80s linear infinite; }
.ram-lalla .eyebrow { color: var(--hsj-gold); }
.ram-lalla h2 { font-family: var(--serif); font-size: clamp(36px, 5.5vw, 72px); font-weight: 300; line-height: 1.05; margin: 16px 0 12px; }
.ram-lalla h2 em { font-style: italic; color: var(--hsj-gold); }
.ram-lalla .date-line { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.6; }
.ram-lalla .stats { display: flex; justify-content: center; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; margin: 48px 0; padding: 28px 0; border-top: 1px solid rgba(176,141,87,0.25); border-bottom: 1px solid rgba(176,141,87,0.25); }
.ram-lalla .stat .num { font-family: var(--serif); font-size: clamp(28px, 4vw, 48px); font-weight: 300; color: var(--hsj-gold); line-height: 1; }
.ram-lalla .stat .label { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; margin-top: 8px; opacity: 0.7; }
.ram-lalla .cta-underline { color: var(--hsj-ivory); margin-top: 12px; }

/* ═══════════ THE VAULT PREVIEW ═══════════ */
.vault { position: relative; min-height: 80vh; display: flex; align-items: flex-end; overflow: hidden; }
.vault-bg { position: absolute; inset: 0; background: #14100a; }
.vault-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Blurred fill behind the sharp image so the sides are never flat black — zooms in sync (kept larger so blurred edges never show) */
.vault-blur { object-fit: cover; filter: blur(34px) brightness(0.5) saturate(1.1); transform-origin: 53% 49%; animation: vaultKenBurnsBlur 20s ease-in-out infinite alternate; will-change: transform; }
/* Sharp full image — opens zoomed in on the HSJ logo, then slowly pulls out to reveal the FULL façade (whole image + signage), and eases back in (seamless loop) */
.vault-main { object-fit: contain; transform-origin: 53% 49%; animation: vaultKenBurns 20s ease-in-out infinite alternate; will-change: transform; }
@keyframes vaultKenBurns { 0% { transform: scale(1.4); } 100% { transform: scale(1); } }
@keyframes vaultKenBurnsBlur { 0% { transform: scale(1.5); } 100% { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .vault-main, .vault-blur { animation: none; } }
.vault-bg::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(to right, rgba(8,6,4,0.82) 0%, rgba(8,6,4,0.5) 16%, rgba(8,6,4,0.1) 28%, transparent 38%),
  linear-gradient(to top, rgba(14,14,12,0.55) 0%, rgba(14,14,12,0.08) 40%, transparent 62%); }
.vault-content { position: relative; z-index: 2; padding: clamp(40px, 5vw, 80px); color: var(--hsj-ivory); max-width: 600px; text-shadow: 0 2px 18px rgba(0,0,0,0.55); }
.vault-content .eyebrow { color: var(--hsj-gold); }
.vault-content h2 { font-family: var(--serif); font-size: clamp(32px, 4.5vw, 64px); font-weight: 300; margin: 14px 0 20px; line-height: 1.05; }
.vault-stats { display: flex; gap: clamp(16px, 3vw, 40px); margin: 24px 0 32px; flex-wrap: wrap; }
.vault-stats span { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(246,241,231,0.7); }
.vault .cta-underline { color: var(--hsj-ivory); }

/* ═══════════ APPOINTMENT ═══════════ */
.appointment { padding: clamp(26px, 3vw, 42px) 0; background: #FFFFFF; text-align: center; border-top: 1px solid var(--hsj-line); }
.appointment h2 { font-family: var(--serif); font-size: clamp(28px, 4vw, 48px); font-weight: 300; font-style: italic; line-height: 1.2; max-width: 600px; margin: 16px auto 0; color: var(--hsj-ink); }
.appointment p { margin-top: 14px; font-size: 15px; opacity: 0.55; max-width: 480px; margin-left: auto; margin-right: auto; }
.appointment .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.btn-gold { display: inline-flex; align-items: center; padding: 16px 40px; border: 1px solid var(--hsj-gold); color: var(--hsj-ink); font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; transition: all 0.4s var(--ease); }
.btn-gold:hover { background: var(--hsj-gold); color: var(--hsj-ivory); }
.btn-secondary { display: inline-flex; align-items: center; padding: 16px 40px; border: 1px solid var(--hsj-line); color: var(--hsj-charcoal); font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; transition: all 0.4s var(--ease); opacity: 0.6; }
.btn-secondary:hover { border-color: var(--hsj-gold); color: var(--hsj-gold-deep); opacity: 1; }

/* ═══════════ STORES ═══════════ */
.stores { padding: clamp(26px, 3vw, 40px) 0; background: #FFFFFF; }
.stores .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hsj-line); }
.store-card { background: #FFFFFF; padding: clamp(28px, 3vw, 48px); }
.store-card .badge { display: inline-block; font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--hsj-gold-deep); padding: 4px 12px; border: 1px solid rgba(176,141,87,0.3); margin-bottom: 16px; }
.store-card h3 { font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); font-weight: 400; margin-bottom: 12px; }
.store-card .meta { font-size: 13px; opacity: 0.6; line-height: 1.8; }
.store-card .cta-underline { margin-top: 24px; font-size: 11px; color: var(--hsj-ink); }

/* ═══════════ BRIGHTER GOLD ON DARK/MAROON SECTIONS ═══════════ */
/* Redefining the gold variables inside dark sections makes every gold text
   element (eyebrows, headers, labels, links) inherit a brighter, legible gold. */
.footer, .ram-lalla, .generations, .newsletter,
.rl-hero, .rl-stats, .hj-commission, .hj-feature, .hj-hero, .col-hero {
  --hsj-gold: #E4C27D;
  --hsj-gold-deep: #E4C27D;
}

/* ═══════════ FOOTER ═══════════ */
.footer { background: #6E1612; color: var(--hsj-ivory); padding: clamp(32px, 4vw, 52px) 0 0; }
.footer .main { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1.4fr; gap: clamp(22px, 2.6vw, 44px); padding-bottom: clamp(18px, 2.2vw, 30px); border-bottom: 1px solid rgba(176,141,87,0.18); }
.footer .brand .name { font-family: var(--serif); font-size: 23px; font-weight: 500; letter-spacing: 0.05em; color: var(--hsj-ivory); }
.footer .brand .tagline { margin-top: 9px; font-size: 9.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--hsj-gold); }
.footer .brand p { margin-top: 16px; max-width: 32ch; font-size: 13px; opacity: 0.8; line-height: 1.8; color: var(--hsj-ivory); }
.footer .col h4 { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--hsj-gold); margin-bottom: 14px; font-weight: 600; }
.footer .col ul { list-style: none; }
.footer .col li { margin-bottom: 10px; font-size: 13.5px; opacity: 0.9; color: var(--hsj-ivory); cursor: pointer; transition: all 0.3s; }
.footer .col li:hover { opacity: 1; color: var(--hsj-gold); }
.footer .foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px 30px; flex-wrap: wrap; padding: 12px 0 16px; }
.footer .foot-bottom .fb-left { display: flex; align-items: center; gap: 18px; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.65; }
.footer .foot-bottom .fb-hsj { font-family: var(--serif); font-size: 19px; letter-spacing: 0.2em; color: var(--hsj-gold); opacity: 1; }
.footer .foot-bottom .fb-right { display: flex; gap: 24px; }
.footer .foot-bottom .fb-right a { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hsj-ivory); opacity: 0.65; text-decoration: none; transition: 0.3s; }
.footer .foot-bottom .fb-right a:hover { opacity: 1; color: var(--hsj-gold); }
/* legacy center-mark footer (other pages) */
.footer .center-mark { text-align: center; margin: clamp(18px, 2.2vw, 30px) 0 12px; }
.footer .center-mark .hsj { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); font-weight: 300; letter-spacing: 0.12em; color: var(--hsj-gold); }
.footer .center-mark .sub { margin-top: 8px; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--hsj-gold); opacity: 0.92; }
.footer .center-mark .line { width: 48px; height: 1px; background: var(--hsj-gold); margin: 10px auto; opacity: 0.6; }
.footer .legal { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.6; flex-wrap: wrap; gap: 8px; padding-bottom: 16px; }

/* ═══════════ MOBILE ═══════════ */
@media (max-width: 768px) {
  .header[data-state="A"] .vca-bar { padding: 8px 16px; }
  .header[data-state="A"] .vca-left { gap: 8px; }
  .header[data-state="A"] .vca-right { gap: 4px; }
  .vca-icon-btn { padding: 10px; min-width: 44px; min-height: 44px; justify-content: center; }
  .vca-search-btn span { display: none; }
  .hsj-main-logo { height: 48px; }
  .header[data-state="A"] .utility-bar { padding: 0 20px 8px; }
  .header[data-state="A"] .utility-bar a { font-size: 8px; }
  .header[data-state="A"] .brand-row { padding: 14px 20px 10px; flex-direction: column; align-items: center; text-align: center; }
  .header[data-state="A"] .wordmark .name { font-size: 20px; }
  .header[data-state="A"] .cat-nav { gap: 14px; padding: 12px 16px; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .header[data-state="A"] .cat-nav::-webkit-scrollbar { display: none; }
  .header[data-state="A"] .cat-nav a { font-size: 10px; white-space: nowrap; }
  .header[data-state="A"] .appt-link { display: none; }
  .header[data-state="B"] .pill { max-width: 90vw; padding: 8px 18px; }
  .hero { min-height: 600px; min-height: 100dvh; }
  .hero-overlay { left: 20px; right: 20px; bottom: 56px; }
  .hero-bird { top: 10%; right: 5%; }
  .heritage .grid { grid-template-columns: 1fr; }
  .silos .grid { grid-template-columns: repeat(2, 1fr); }
  .stores .grid { grid-template-columns: 1fr; }
  .footer .main { grid-template-columns: 1fr; }
  .footer .legal { flex-direction: column; text-align: center; }
  .vault { min-height: 60vh; }
}

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

/* ═══════════ HERO ARCH PORTAL — HSJ original (vault door + Awadhi arch) ═══════════ */
.hero-arch { display: flex; align-items: center; justify-content: center; background: #FFFFFF; }

.hero-arch-grid { display: grid; grid-template-columns: auto auto; justify-content: space-between; gap: clamp(48px, 7vw, 120px); align-items: center; width: var(--container); margin-inline: auto; padding-top: 130px; padding-bottom: 56px; perspective: 1500px; perspective-origin: 50% 42%; }

/* The arch stage — video inside a grand Mughal arch */
.arch-stage { position: relative; width: min(clamp(400px, 54vw, 720px), calc((100vh - 165px) * 0.80)); min-width: 320px; }
.arch-frame { position: relative; aspect-ratio: 3.4/4.3; border-radius: 999px 999px 26px 26px; overflow: hidden;
  /* clip-path clips even <video> to the arch on Safari (overflow:hidden alone does not); drop-shadow follows the arch shape */
  clip-path: inset(0 round 999px 999px 26px 26px); -webkit-clip-path: inset(0 round 999px 999px 26px 26px);
  filter: drop-shadow(0 42px 52px rgba(60,40,20,0.45)) drop-shadow(0 16px 30px rgba(0,0,0,0.38));
  opacity: 0; animation: archReveal 1.8s var(--ease) 0.4s forwards; background: #1A120B; }
/* 3D depth framing — recessed niche: bright near edge, shadow falling inward, so the video reads with real depth */
.arch-frame::before { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  box-shadow:
    inset 0 0 48px 4px rgba(0,0,0,0.20),           /* recess all around */
    inset 0 3px 1px rgba(255,255,255,0.18),         /* lit top inner lip (glass) */
    inset 0 -18px 34px -14px rgba(0,0,0,0.22),       /* floor shadow inside the niche */
    inset 10px 0 26px -20px rgba(0,0,0,0.16),        /* left wall */
    inset -10px 0 26px -20px rgba(0,0,0,0.16); }     /* right wall */
.arch-frame video, .arch-frame img, .arch-frame canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Hero video fills the whole mirror (mirror keeps its arch shape) — brightened so it isn't muddy */
.arch-frame video { transform: none; object-fit: cover; filter: brightness(1.30) contrast(1.04) saturate(1.07); }
.arch-frame img { transform: scale(1.08) scaleX(-1); transform-origin: center 42%; }
/* Warm alcove vignette — tones down the grey studio backdrop in the footage so the arch reads as a lit golden niche, not a flat grey wall */
.arch-frame::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background:
    radial-gradient(ellipse 80% 66% at 50% 42%, transparent 62%, rgba(70,48,24,0.18) 100%),
    linear-gradient(180deg, rgba(150,112,62,0.08) 0%, transparent 24%, transparent 70%, rgba(70,48,24,0.14) 100%);
  mix-blend-mode: multiply; }
@keyframes archReveal { 0% { opacity: 0; transform: translateY(40px); clip-path: inset(100% 0 0 0 round 999px 999px 26px 26px); } 100% { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0 0 round 999px 999px 26px 26px); } }
/* Safety: if animations are disabled (reduced motion), never leave content invisible */
@media (prefers-reduced-motion: reduce) {
  .arch-frame, .reveal { animation: none !important; opacity: 1 !important; transform: none !important; }
  .reveal { clip-path: none !important; }
  .arch-frame { clip-path: inset(0 round 999px 999px 26px 26px) !important; -webkit-clip-path: inset(0 round 999px 999px 26px 26px) !important; }
}

/* Gold keyline arch — offset outline like the vault's gold steel detailing */
.arch-outline { position: absolute; inset: -16px -16px -16px -16px; border: 1px solid rgba(176,141,87,0.45); border-radius: 999px 999px 38px 38px; pointer-events: none; opacity: 0; animation: fadeIn 1.5s ease 1.2s forwards; }
.arch-outline::after { content: ''; position: absolute; top: -5px; left: 50%; transform: translateX(-50%); width: 9px; height: 9px; border-radius: 50%; background: var(--hsj-gold); box-shadow: 0 0 14px rgba(176,141,87,0.6); }

/* Pedestal base line */
.arch-pedestal { margin-top: 14px; height: 3px; background: linear-gradient(to right, transparent, var(--hsj-gold) 20%, var(--hsj-gold) 80%, transparent); opacity: 0; animation: fadeIn 1.2s ease 1.6s forwards; }

/* Meenakari inlay dots — nod to the vault's floor craft */
.meenakari-dots { display: flex; gap: 10px; margin-bottom: 18px; opacity: 0; animation: fadeIn 1s ease 0.7s forwards; }
.meenakari-dots span { width: 7px; height: 7px; border-radius: 50%; }
.meenakari-dots span:nth-child(1) { background: var(--hsj-jade); }
.meenakari-dots span:nth-child(2) { background: var(--hsj-gold); }
.meenakari-dots span:nth-child(3) { background: #8C2836; }
.meenakari-dots span:nth-child(4) { background: var(--hsj-rose); }
.meenakari-dots span:nth-child(5) { background: var(--hsj-gold-deep); }

/* Hero text (right of arch) */
.hero-text { position: relative; }
.hero-text-inner { max-width: 520px; }
.hero-text .eyebrow { opacity: 0; animation: fadeInUp 1s var(--ease) 0.8s forwards; }
.hero-text h1 { margin-top: 16px; font-family: var(--serif); font-size: clamp(36px, 4.2vw, 62px); line-height: 1.06; font-weight: 300; color: var(--hsj-ink); opacity: 0; animation: fadeInUp 1s var(--ease) 1.1s forwards; }
.hero-text h1 .sans-line { display: block; font-family: var(--sans); font-size: clamp(15px, 1.6vw, 22px); font-weight: 300; text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 10px; color: var(--hsj-charcoal); }
.hero-text h1 .italic-line { display: block; font-style: italic; font-weight: 400; font-size: 1em; color: var(--hsj-gold-deep); }
.hero-sub { margin-top: 30px; font-size: 15px; line-height: 1.8; color: var(--hsj-charcoal); opacity: 0; max-width: 42ch; animation: fadeInUpSub 1s var(--ease) 1.4s forwards; }
@keyframes fadeInUpSub { from { opacity: 0; transform: translateY(24px); } to { opacity: 0.7; transform: translateY(0); } }
.hero-text .cta-underline { margin-top: 32px; color: var(--hsj-ink); opacity: 0; animation: fadeInUp 1s var(--ease) 1.7s forwards; }

@media (max-width: 768px) {
  .hero-arch { height: auto; min-height: 100vh; padding-bottom: 64px; }
  .hero-arch-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 130px; justify-items: center; justify-content: center; }
  .arch-stage { width: min(78vw, 360px); }
  .hero-scroll { left: 50%; }
  .hero-text { text-align: center; }
  .meenakari-dots { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
}

/* ═══════════ WARM HERO — gold on ivory (full warm theme) ═══════════ */
.hero-arch { background: #FFFFFF; }

.hero-arch .eyebrow { color: var(--hsj-gold-deep); }
.hero-arch .hero-text h1 { color: var(--hsj-ink); }
.hero-arch .hero-text h1 .sans-line { color: var(--hsj-charcoal); }
.hero-arch .hero-text h1 .italic-line { color: var(--hsj-gold-deep); }
.hero-arch .hero-sub { color: var(--hsj-charcoal); }
.hero-arch .hero-text .cta-underline { color: var(--hsj-ink); }
.hero-arch .hero-scroll span { color: var(--hsj-gold-deep); }

/* Arch casts a warm shadow on ivory */
.hero-arch .arch-frame { filter: drop-shadow(0 34px 44px rgba(90,66,37,0.38)) drop-shadow(0 12px 22px rgba(0,0,0,0.3)); }
.hero-arch .arch-outline { border-color: rgba(176,141,87,0.45); }


/* ═══════════ RAM LALLA — sacred arch layout ═══════════ */
.ram-lalla { text-align: left; }
.rl-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; position: relative; z-index: 1; }
.rl-arch-stage { position: relative; width: clamp(300px, 33vw, 470px); }
.mandala-bg { position: absolute; top: 50%; left: 50%; width: 150%; height: auto; aspect-ratio: 1; transform: translate(-50%, -50%); animation: rotate 90s linear infinite; opacity: 0.85; pointer-events: none; }
.rl-arch { position: relative; aspect-ratio: 3/4.9; border-radius: 999px 999px 0 0; overflow: hidden; background: radial-gradient(ellipse at 50% 35%, rgba(212,168,87,0.18) 0%, transparent 60%), linear-gradient(180deg, #16302A 0%, #0E1F1A 100%); box-shadow: 0 0 70px rgba(212,168,87,0.22), 0 30px 80px rgba(0,0,0,0.45); }
.rl-arch img { width: 100%; height: 100%; object-fit: cover; }
.rl-arch img.rl-real-img { object-fit: cover; object-position: center 58%; }
/* Vignette inside the arch so the photo reads as a lit alcove, not a sticker */
.rl-arch::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 -50px 90px rgba(10,18,15,0.55), inset 0 25px 60px rgba(10,18,15,0.3); pointer-events: none; }
.rl-arch-outline { position: absolute; inset: -14px; border: 1px solid rgba(212,168,87,0.45); border-radius: 999px 999px 0 0; pointer-events: none; }
.rl-arch-outline::after { content: ''; position: absolute; top: -5px; left: 50%; transform: translateX(-50%); width: 8px; height: 8px; border-radius: 50%; background: var(--hsj-gold); box-shadow: 0 0 12px rgba(212,168,87,0.7); }
.rl-copy .rl-lede { margin-top: 18px; font-size: 15px; line-height: 1.85; color: rgba(246,241,231,0.75); max-width: 46ch; }
.ram-lalla .rl-copy .stats { justify-content: flex-start; gap: clamp(20px, 3vw, 44px); text-align: left; }
@media (max-width: 768px) {
  .rl-grid { grid-template-columns: 1fr; gap: 44px; justify-items: center; }
  .rl-arch-stage { width: min(72vw, 320px); }
  .rl-copy { text-align: center; }
  .ram-lalla .rl-copy .stats { justify-content: center; text-align: center; }
}

/* ═══════════ SAMPLE IMAGERY — temporary, removable in one pass ═══════════
   To remove all samples: delete every <img class="hsj-sample"> and this block. */
img.hsj-sample { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hsj-sample ~ .upload-hint, .hsj-sample ~ .slot-inner, .hsj-sample ~ .slot-hint, .hsj-sample ~ .silo-upload-tag { visibility: hidden; }
.media-slot, .st-media, .pd-main, .rel-card .img { position: relative; overflow: hidden; }

/* ═══════════ MOBILE COMFORT PASS (audited ≈375px) — placed last to override earlier rules ═══════════ */
@media (max-width: 768px) {
  /* Hero: kill the huge top gap under the small mobile header + the forced full-height */
  .hero-arch { min-height: auto; padding-bottom: 48px; }
  .hero-arch-grid { padding-top: 88px; padding-bottom: 8px; gap: 32px; }
  /* Trim oversized desktop section paddings that floored at ~80px on phones */
  .heritage { padding: 56px 0; }
  .heritage .grid { gap: 32px; }
  .ram-lalla { padding: 56px 0; }
  .ram-lalla .stats { margin: 32px 0; padding: 24px 0; gap: 28px 32px; }
  /* Rate ticker: lighter strap on mobile */
  .ticker { padding: 14px 0; }
  .ticker-track { gap: 36px; }
  .ticker-track .value { font-size: 18px; margin-left: 8px; }
  /* Footer bottom bar: stack & centre, bump tiny text */
  .footer .foot-bottom { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
  .footer .foot-bottom .fb-left { flex-direction: column; align-items: center; gap: 8px; font-size: 11px; }
  .footer .foot-bottom .fb-right { gap: 28px; }
  .footer .foot-bottom .fb-right a { font-size: 11px; }
  /* Vault stat labels: nudge above the legibility floor */
  .vault-stats span { font-size: 12px; letter-spacing: 0.14em; }
}

/* ═══════════ MOBILE v2 — made-for-phone recomposition (research-led) ═══════════ */
@media (max-width: 768px) {
  /* Hero: near-full-bleed arch + headline + a real full-width CTA button (not a thin underline) */
  .arch-stage { width: min(92vw, 460px); }
  .hero-arch-grid { padding-top: 84px; gap: 24px; }
  .hero-text .cta-underline {
    display: flex; align-items: center; justify-content: center;
    width: 100%; max-width: 340px; margin: 12px auto 0;
    min-height: 52px; padding: 14px 20px;
    border: 1px solid var(--hsj-gold); color: var(--hsj-ink); letter-spacing: 0.2em;
  }
  /* Every underline CTA gets a real tap area */
  .cta-underline { min-height: 44px; }
  /* Left-align long editorial paragraphs for a stable reading edge */
  .heritage p, .appointment p, .vault-content p { text-align: left; }
  /* Keep the floating WhatsApp clear of the home-indicator */
  #hsj-wa-float { bottom: calc(20px + env(safe-area-inset-bottom)); }
}
/* Touch devices: reveal hover-only affordances so cards never look unfinished */
@media (hover: none) {
  html .product-card .veil { background: rgba(14,14,12,0.10); }
  html .product-card .veil .discover-overlay,
  html .design-card .veil span { opacity: 1; transform: none; }
  html .product-card .p-discover { opacity: 1; color: var(--hsj-gold-deep); }
}
/* Anchor jumps shouldn't hide under the fixed header */
html { scroll-padding-top: 76px; }
