/* ==========================================================================
   Vijaya Electricals — Classic luxury system
   Deep charcoal · antique gold · ivory · Cormorant Garamond / Montserrat
   ========================================================================== */
:root {
  --bg: #0a0c12;
  --bg-2: #10131c;
  --bg-3: #171b27;
  --ivory: #f3efe6;
  --ivory-2: #d9d3c6;
  --muted: #a39d92;
  --muted-2: #6f6a61;
  --gold: #d4af37;
  --gold-2: #e9cd73;
  --gold-3: #a8862a;
  --on-gold: #14110a;
  --line: rgba(243, 239, 230, 0.10);
  --line-2: rgba(243, 239, 230, 0.18);
  --gold-line: rgba(212, 175, 55, 0.35);
  --green: #25d366;
  --danger: #e5645a;

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --kn: "Noto Sans Kannada", "Nirmala UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --container: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ivory);
  font-family: var(--sans); font-size: 15.5px; line-height: 1.7; font-weight: 400;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body.cursor-on, body.cursor-on a, body.cursor-on button { cursor: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; background: none; border: 0; padding: 0; }
input, textarea { font: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; }
p { margin: 0; }
em { font-style: italic; }
.kn { font-family: var(--kn); }
::selection { background: var(--gold); color: var(--on-gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: clamp(80px, 11vw, 150px); position: relative; }
.section.tight { padding-block: clamp(56px, 7vw, 96px); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; font-family: var(--sans);
  font-size: 11px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.eyebrow.center::after { content: ""; width: 36px; height: 1px; background: var(--gold); }
.display { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 5.4vw, 72px); line-height: 1.02; margin-top: 18px; }
.display em { color: var(--gold-2); font-weight: 400; }
.lead { color: var(--muted); font-size: clamp(15px, 1.15vw, 17.5px); max-width: 58ch; margin-top: 20px; line-height: 1.8; }
.section-head { display: grid; gap: 0; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head.center { text-align: center; justify-items: center; }
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line), transparent); }

/* Split text (set by JS) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span { display: inline-block; transform: translateY(110%); }
.split.is-in .w > span { transform: none; transition: transform 1.1s var(--ease); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 30px; border-radius: 2px; font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line-2); color: var(--ivory); transition: color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ivory); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { color: var(--on-gold); border-color: var(--ivory); }
.btn-gold { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.btn-gold::before { background: var(--gold-2); }
.btn-gold:hover { color: var(--on-gold); border-color: var(--gold-2); }
.btn-wa { border-color: rgba(37, 211, 102, 0.45); color: #9cf0bb; }
.btn-wa::before { background: var(--green); }
.btn-wa:hover { color: #062b14; border-color: var(--green); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 11px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(6px); }

/* ---------- Custom cursor ---------- */
.cursor, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 2000; border-radius: 50%; transform: translate(-50%, -50%); will-change: transform; }
.cursor { width: 6px; height: 6px; background: var(--gold); }
.cursor-ring { width: 36px; height: 36px; border: 1px solid rgba(212, 175, 55, 0.7); transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s, border-color 0.3s; display: grid; place-items: center; }
.cursor-ring span { font-family: var(--sans); font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-gold); opacity: 0; transition: opacity 0.2s; }
.cursor-ring.is-hover { width: 56px; height: 56px; background: rgba(212, 175, 55, 0.18); }
.cursor-ring.is-label { width: 84px; height: 84px; background: var(--gold); border-color: var(--gold); }
.cursor-ring.is-label span { opacity: 1; }
.cursor, .cursor-ring { display: none; }
body.cursor-on .cursor, body.cursor-on .cursor-ring { display: grid; }

/* ---------- Progress bar ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 300; }
.progress i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); transform: scaleX(0); transform-origin: left; }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 1000; background: var(--bg); display: grid; place-items: center; transition: clip-path 1s var(--ease-io); clip-path: inset(0 0 0 0); }
.preloader.is-done { clip-path: inset(0 0 100% 0); }
.preloader-inner { display: grid; justify-items: center; gap: 14px; text-align: center; }
.preloader-mark { font-family: var(--serif); font-size: clamp(34px, 5vw, 56px); letter-spacing: 0.14em; color: var(--ivory); }
.preloader-mark b { color: var(--gold); font-weight: 500; }
.preloader-sub { font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted); }
.preloader-count { font-family: var(--serif); font-size: 14px; color: var(--gold); letter-spacing: 0.2em; margin-top: 10px; }
.preloader-line { width: 180px; height: 1px; background: var(--line); overflow: hidden; }
.preloader-line i { display: block; height: 100%; background: var(--gold); width: 0; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; padding: 22px 0; transition: padding 0.5s var(--ease), background 0.5s, border-color 0.5s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { padding: 12px 0; background: rgba(10, 12, 18, 0.78); backdrop-filter: blur(16px) saturate(120%); -webkit-backdrop-filter: blur(16px) saturate(120%); border-color: var(--line); }
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { width: 42px; height: 42px; border: 1px solid var(--gold-line); border-radius: 50%; display: grid; place-items: center; color: var(--gold); position: relative; }
.brand-mark::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1px solid rgba(212,175,55,0.2); }
.brand-mark svg { width: 18px; height: 18px; }
.brand-text { display: grid; line-height: 1; }
.brand-text strong { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: 0.14em; }
.brand-text span { font-size: 8.5px; letter-spacing: 0.42em; color: var(--gold); font-weight: 600; margin-top: 4px; }
.nav-links { display: flex; gap: 34px; justify-self: center; }
.nav-links a { position: relative; font-size: 11.5px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory-2); padding: 6px 0; transition: color 0.3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:hover, .nav-links a.is-active { color: var(--ivory); }
.nav-right { display: flex; align-items: center; gap: 10px; justify-self: end; }
.nav-right .btn { min-height: 44px; padding: 0 20px; font-size: 11px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; place-items: center; }
.nav-toggle svg { width: 20px; height: 20px; }
.mobile-menu { position: fixed; inset: 0; z-index: 190; background: var(--bg); display: grid; align-content: center; justify-items: center; gap: 4px; padding: 100px 24px 60px; clip-path: inset(0 0 100% 0); transition: clip-path 0.7s var(--ease-io); }
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }
.mobile-menu a { font-family: var(--serif); font-size: clamp(34px, 8vw, 52px); padding: 6px 0; color: var(--ivory); }
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .btn { margin-top: 26px; }

/* ---------- Hero (classic, cinematic) ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; filter: brightness(0.62) saturate(0.9) contrast(1.05); transform: scale(1.08); animation: kenburns 24s var(--ease) forwards; }
@keyframes kenburns { to { transform: scale(1.03) translateY(-1.5%); } }
.hero-canvas { position: absolute; inset: 0; z-index: -2; }
.hero-canvas canvas { width: 100% !important; height: 100% !important; display: block; }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(55% 50% at 50% 45%, rgba(10,12,18,0.35) 0%, rgba(10,12,18,0.15) 60%, rgba(10,12,18,0.6) 100%),
  linear-gradient(180deg, rgba(10,12,18,0.55) 0%, rgba(10,12,18,0.2) 30%, rgba(10,12,18,0.3) 70%, var(--bg) 100%); }
.hero-content { text-align: center; display: grid; justify-items: center; padding-top: 140px; padding-bottom: 36px; align-content: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 16px; font-size: 11px; font-weight: 600; letter-spacing: 0.36em; text-transform: uppercase; color: var(--gold-2); }
.hero-eyebrow::before, .hero-eyebrow::after { content: ""; width: 44px; height: 1px; background: var(--gold); }
.hero-kn { font-family: var(--kn); font-size: clamp(15px, 1.5vw, 19px); color: var(--ivory-2); margin-top: 24px; letter-spacing: 0.06em; }
.hero-title { font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 8.2vw, 116px); line-height: 0.95; letter-spacing: -0.015em; margin-top: 14px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { color: var(--gold-2); font-weight: 400; }
.hero-sub { color: var(--ivory-2); font-size: clamp(15px, 1.15vw, 17px); max-width: 58ch; margin-top: 22px; line-height: 1.75; font-weight: 400; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }
.hero-foot { border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(10,12,18,0.2), rgba(10,12,18,0.7)); backdrop-filter: blur(6px); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.hstat { padding: 22px 24px; border-right: 1px solid var(--line); display: grid; gap: 4px; }
.hstat:last-child { border-right: 0; }
.hstat strong { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 40px); font-weight: 500; line-height: 1; color: var(--ivory); }
.hstat strong small { font-size: 0.5em; color: var(--gold); vertical-align: super; margin-left: 2px; }
.hstat > span { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.status-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; margin-bottom: 26px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(10,12,18,0.45); backdrop-filter: blur(10px); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory-2); }
.status-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(37,211,102,0.5); animation: pulse 2.2s infinite; }
.status-pill.is-closed .dot { background: var(--danger); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); } 70% { box-shadow: 0 0 0 9px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.scroll-cue { position: absolute; right: 40px; bottom: 130px; display: grid; justify-items: center; gap: 10px; color: var(--muted); font-size: 9.5px; letter-spacing: 0.35em; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-cue i { width: 1px; height: 56px; background: linear-gradient(var(--gold), transparent); animation: cue 2s var(--ease-io) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 40% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1) translateY(20px); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 36px; padding-right: 36px; font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ivory-2); white-space: nowrap; }
.marquee-item::after { content: "✦"; font-size: 12px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Legacy (editorial) ---------- */
.legacy-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.legacy-quote { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 44px); line-height: 1.25; font-weight: 400; color: var(--ivory); margin-top: 22px; }
.legacy-quote em { color: var(--gold-2); }
.legacy-body { color: var(--muted); margin-top: 24px; line-height: 1.85; max-width: 56ch; }
.legacy-sign { margin-top: 30px; display: grid; gap: 4px; }
.legacy-sign strong { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: 0.04em; }
.legacy-sign span { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.legacy-media { position: relative; }
.frame { position: relative; overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 4 / 5; }
.frame img { width: 100%; height: 115%; object-fit: cover; will-change: transform; filter: saturate(0.85) contrast(1.02); }
.frame::after { content: ""; position: absolute; inset: 14px; border: 1px solid var(--gold-line); pointer-events: none; }
.frame-cap { position: absolute; left: 30px; bottom: 30px; z-index: 2; display: grid; gap: 4px; padding: 14px 18px; background: rgba(10,12,18,0.72); backdrop-filter: blur(8px); border: 1px solid var(--line-2); }
.frame-cap strong { font-family: var(--kn); font-size: 18px; font-weight: 600; }
.frame-cap span { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.seal { position: absolute; top: -28px; right: -28px; width: 128px; height: 128px; border-radius: 50%; background: var(--gold); color: var(--on-gold); display: grid; place-items: center; text-align: center; font-family: var(--serif); box-shadow: 0 20px 50px -20px rgba(212,175,55,0.6); }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.seal svg text { font-family: var(--sans); font-size: 9.5px; font-weight: 700; letter-spacing: 0.3em; fill: var(--on-gold); }
.seal b { font-size: 34px; font-weight: 600; line-height: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.timeline { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.tl { padding: 28px 28px 0 0; border-right: 1px solid var(--line); position: relative; cursor: default; }
.tl:last-child { border-right: 0; }
.tl::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width 0.7s var(--ease); }
.tl:hover::before { width: calc(100% - 28px); }
.tl strong { font-family: var(--serif); font-size: 30px; color: var(--gold-2); font-weight: 500; }
.tl h3 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 8px; }
.tl p { color: var(--muted); font-size: 14px; margin-top: 10px; line-height: 1.75; }

/* ---------- Category list with hover image preview ---------- */
.cat-list { border-top: 1px solid var(--line); }
.cat-row { display: grid; grid-template-columns: 60px 1fr auto auto; align-items: center; gap: 24px; padding: 26px 8px; border-bottom: 1px solid var(--line); position: relative; transition: padding 0.4s var(--ease); }
.cat-row::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(212,175,55,0.08), transparent 60%); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); pointer-events: none; }
.cat-row:hover { padding-left: 22px; }
.cat-row:hover::before { transform: scaleX(1); }
.cat-row .idx { font-family: var(--serif); font-size: 18px; color: var(--muted-2); letter-spacing: 0.1em; }
.cat-row h3 { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 38px); font-weight: 500; transition: color 0.3s; }
.cat-row:hover h3 { color: var(--gold-2); }
.cat-row p { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.cat-row .tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.cat-row .tag { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; }
.cat-row .actions { display: flex; gap: 8px; }
.icon-btn { width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; color: var(--ivory); transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--gold); color: var(--on-gold); border-color: var(--gold); transform: translateY(-2px); }
.icon-btn.is-added { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.cat-preview { position: fixed; z-index: 50; width: 260px; aspect-ratio: 4 / 3; pointer-events: none; overflow: hidden; border: 1px solid var(--gold-line); opacity: 0; transform: translate(-50%, -50%) scale(0.9) rotate(-3deg); transition: opacity 0.35s var(--ease), transform 0.5s var(--ease); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8); left: 0; top: 0; }
.cat-preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); }
.cat-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s; filter: saturate(0.85); }
.cat-preview img.is-on { opacity: 1; }
.cat-preview .cp-ic { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: rgba(10,12,18,0.7); border: 1px solid var(--gold-line); display: grid; place-items: center; color: var(--gold); }
.cat-preview .cp-ic svg { width: 22px; height: 22px; }

/* ---------- 3D showcase carousel ---------- */
.showcase { background: radial-gradient(60% 50% at 50% 60%, rgba(212,175,55,0.08), transparent 70%); overflow: hidden; }
.stage { position: relative; height: 520px; margin-top: 20px; perspective: 1400px; perspective-origin: 50% 40%; cursor: grab; user-select: none; touch-action: pan-y; }
.stage.is-dragging { cursor: grabbing; }
.ring { position: absolute; left: 50%; top: 50%; width: 300px; height: 400px; margin: -200px 0 0 -150px; transform-style: preserve-3d; will-change: transform; }
.card3d { position: absolute; inset: 0; transform-style: preserve-3d; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.card3d-inner { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto; background: linear-gradient(180deg, #151923, #0f121a); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px rgba(0,0,0,0.9); transition: border-color 0.4s, box-shadow 0.4s; }
.card3d.is-front .card3d-inner { border-color: var(--gold-line); box-shadow: 0 50px 100px -40px rgba(212,175,55,0.35), 0 40px 80px -40px rgba(0,0,0,0.9); }
.card3d-visual { display: grid; place-items: center; position: relative; background: radial-gradient(60% 50% at 50% 100%, rgba(212,175,55,0.16), transparent 70%); }
.card3d-visual svg { width: 96px; height: 96px; color: var(--gold-2); filter: drop-shadow(0 20px 30px rgba(212,175,55,0.3)); }
.card3d-brand { position: absolute; top: 16px; left: 16px; font-size: 9.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-line); padding: 6px 10px; }
.card3d-body { padding: 18px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.card3d-body h3 { font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.2; }
.card3d-meta { display: flex; justify-content: space-between; align-items: end; }
.price { font-family: var(--serif); font-size: 26px; color: var(--ivory); }
.price small { display: block; font-family: var(--sans); font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.rating svg { width: 13px; height: 13px; color: var(--gold); }
.card3d-body .btn { min-height: 42px; font-size: 10.5px; padding: 0 14px; }
.card3d-body .row { display: flex; gap: 8px; margin-top: 6px; }
.card3d-body .row .btn { flex: 1; }
.stage-nav { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 14px; }
.stage-nav .icon-btn { width: 52px; height: 52px; }
.stage-dots { display: flex; gap: 8px; }
.stage-dots button { width: 22px; height: 2px; background: var(--line-2); transition: background 0.3s, width 0.3s var(--ease); }
.stage-dots button.is-on { background: var(--gold); width: 38px; }
.stage-hint { text-align: center; font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted-2); margin-top: 18px; }

/* ---------- Why us (feature tiles) ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.why-tile { padding: 36px 30px; border-right: 1px solid var(--line); position: relative; overflow: hidden; display: grid; gap: 14px; align-content: start; min-height: 260px; }
.why-tile:last-child { border-right: 0; }
.why-tile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(200px 160px at var(--mx, 50%) var(--my, 50%), rgba(212,175,55,0.16), transparent 60%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.why-tile:hover::after { opacity: 1; }
.why-tile .ic { width: 48px; height: 48px; border: 1px solid var(--gold-line); border-radius: 50%; display: grid; place-items: center; color: var(--gold); transition: transform 0.5s var(--ease); }
.why-tile:hover .ic { transform: rotate(-8deg) scale(1.08); }
.why-tile .ic svg { width: 20px; height: 20px; }
.why-tile h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.why-tile p { color: var(--muted); font-size: 13.5px; line-height: 1.75; }
.why-tile .num { position: absolute; top: 22px; right: 24px; font-family: var(--serif); font-size: 44px; color: rgba(243,239,230,0.05); font-weight: 600; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 16px; }
.g { position: relative; overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; background: var(--bg-2); }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter 0.6s; filter: saturate(0.8) brightness(0.9); }
.g:hover img { transform: scale(1.06); filter: saturate(1) brightness(1); }
.g::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10,12,18,0.85)); }
.g span { position: absolute; left: 18px; bottom: 16px; z-index: 2; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory-2); }
.g.a { grid-column: span 7; grid-row: span 3; } .g.b { grid-column: span 5; grid-row: span 3; }
.g.c { grid-column: span 4; grid-row: span 2; } .g.d { grid-column: span 4; grid-row: span 2; } .g.e { grid-column: span 4; grid-row: span 2; }
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(10,12,18,0.94); display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 100%); max-height: 82vh; border: 1px solid var(--line-2); object-fit: contain; }
.lightbox-cap { position: absolute; bottom: 28px; left: 0; right: 0; text-align: center; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.lightbox .icon-btn { position: absolute; }
.lightbox .lb-close { top: 24px; right: 24px; }
.lightbox .lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- Reviews (draggable) ---------- */
.reviews-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.scores { display: flex; gap: 12px; flex-wrap: wrap; }
.score { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border: 1px solid var(--line); }
.score strong { font-family: var(--serif); font-size: 30px; font-weight: 500; }
.score span { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); display: block; }
.stars { display: flex; gap: 2px; color: var(--gold); }
.stars svg { width: 13px; height: 13px; }
.slider { margin-top: 44px; overflow: hidden; cursor: grab; user-select: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.slider.is-dragging { cursor: grabbing; }
.slider-track { display: flex; gap: 18px; will-change: transform; }
.review { flex: 0 0 min(420px, 84vw); padding: 34px; border: 1px solid var(--line); background: var(--bg-2); display: grid; gap: 18px; align-content: start; position: relative; }
.review .quote { position: absolute; top: 16px; right: 24px; font-family: var(--serif); font-size: 90px; line-height: 1; color: rgba(212,175,55,0.14); }
.review p { font-family: var(--serif); font-size: 21px; line-height: 1.45; color: var(--ivory); }
.review-by { display: flex; align-items: center; gap: 14px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 18px; color: var(--on-gold); background: linear-gradient(135deg, var(--gold-2), var(--gold-3)); }
.review-by strong { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; }
.review-by span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.slider-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; }
.slider-foot .hint { font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 24px; align-items: start; }
.store-tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.store-tab { padding: 18px 20px; text-align: left; display: grid; gap: 4px; border-right: 1px solid var(--line); position: relative; transition: background 0.3s; }
.store-tab:last-child { border-right: 0; }
.store-tab strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.store-tab span { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.store-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform 0.4s var(--ease); }
.store-tab.is-on { background: rgba(212,175,55,0.06); }
.store-tab.is-on::after { transform: scaleX(1); }
.store-panel { border: 1px solid var(--line); border-top: 0; padding: 28px; display: none; gap: 18px; }
.store-panel.is-on { display: grid; animation: fade 0.5s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.store-panel h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; }
.store-panel address { font-style: normal; color: var(--muted); line-height: 1.8; }
.store-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 12px; letter-spacing: 0.08em; color: var(--ivory-2); }
.store-meta span { display: inline-flex; align-items: center; gap: 8px; }
.store-meta svg { width: 14px; height: 14px; color: var(--gold); }
.store-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hours { margin-top: 24px; border: 1px solid var(--line); padding: 26px 28px; }
.hours h3 { font-family: var(--sans); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; }
.hours h3 b { font-size: 10.5px; letter-spacing: 0.2em; }
.hours ul { margin-top: 12px; }
.hours li { display: flex; justify-content: space-between; padding: 9px 0; font-size: 13.5px; color: var(--muted); border-bottom: 1px dashed var(--line); }
.hours li:last-child { border: 0; }
.hours li.today { color: var(--ivory); }
.hours li.today span:last-child { color: var(--gold-2); }
.map { border: 1px solid var(--line-2); min-height: 560px; position: relative; overflow: hidden; }
.map iframe { width: 100%; height: 100%; min-height: 560px; border: 0; display: block; filter: invert(0.92) hue-rotate(180deg) saturate(0.35) contrast(0.95) brightness(0.9); }
.map::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 120px rgba(10,12,18,0.9); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border: 1px solid var(--gold-line); padding: clamp(56px, 8vw, 110px) clamp(24px, 6vw, 80px); text-align: center; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 50% 100%, rgba(212,175,55,0.18), transparent 70%), var(--bg-2); }
.cta h2 { font-family: var(--serif); font-size: clamp(36px, 5.5vw, 76px); font-weight: 500; line-height: 1; }
.cta h2 em { color: var(--gold-2); font-weight: 400; }
.cta p { color: var(--muted); margin-top: 18px; font-size: 16px; }
.cta-phone { display: inline-block; font-family: var(--serif); font-size: clamp(28px, 4vw, 52px); color: var(--ivory); margin-top: 30px; letter-spacing: 0.04em; border-bottom: 1px solid var(--gold-line); padding-bottom: 6px; transition: color 0.3s, border-color 0.3s; }
.cta-phone:hover { color: var(--gold-2); border-color: var(--gold); }
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.cta-corner { position: absolute; width: 28px; height: 28px; border: 1px solid var(--gold); }
.cta-corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; } .cta-corner.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.cta-corner.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; } .cta-corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

/* ---------- Footer ---------- */
.footer { padding: 80px 0 32px; border-top: 1px solid var(--line); margin-top: 110px; position: relative; overflow: hidden; }
.footer-word { font-family: var(--serif); font-size: clamp(56px, 12vw, 190px); line-height: 0.85; letter-spacing: 0.02em; color: rgba(243,239,230,0.045); white-space: nowrap; text-align: center; pointer-events: none; user-select: none; margin-bottom: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer p { color: var(--muted); font-size: 13.5px; max-width: 36ch; margin-top: 16px; line-height: 1.8; }
.footer h4 { font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer li a { color: var(--muted); font-size: 13.5px; transition: color 0.3s, padding-left 0.3s; }
.footer li a:hover { color: var(--ivory); padding-left: 6px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }

.powered a { color: inherit; text-decoration: none; transition: color 0.3s; }
.powered a:hover, .powered a:focus-visible { color: var(--gold-2); }

/* ---------- Floating actions ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 150; width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: #052e16; display: grid; place-items: center; box-shadow: 0 14px 40px -12px rgba(37,211,102,0.7); transition: transform 0.4s var(--ease); }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 28px; height: 28px; }
.enquiry-fab { position: fixed; left: 22px; bottom: 22px; z-index: 150; display: inline-flex; align-items: center; gap: 12px; padding: 0 20px 0 14px; min-height: 54px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--gold-line); color: var(--ivory); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; box-shadow: 0 20px 50px -20px rgba(0,0,0,0.9); transition: transform 0.4s var(--ease), border-color 0.3s; }
.enquiry-fab:hover { transform: translateY(-3px); border-color: var(--gold); }
.enquiry-fab .count { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--on-gold); display: grid; place-items: center; font-family: var(--serif); font-size: 15px; font-weight: 600; }
.enquiry-fab.bump .count { animation: bump 0.5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- Enquiry drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 500; background: rgba(10,12,18,0.6); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 510; width: min(440px, 100%); background: var(--bg-2); border-left: 1px solid var(--line-2); transform: translateX(100%); transition: transform 0.6s var(--ease-io); display: grid; grid-template-rows: auto 1fr auto; }
.drawer.is-open { transform: none; }
.drawer-head { padding: 26px 28px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.drawer-head h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; }
.drawer-head span { display: block; font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.drawer-body { overflow: auto; padding: 20px 28px; display: grid; gap: 0; align-content: start; }
.drawer-empty { padding: 40px 0; text-align: center; color: var(--muted); font-size: 14px; display: grid; gap: 12px; justify-items: center; }
.drawer-empty svg { width: 38px; height: 38px; color: var(--gold-3); }
.line-item { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: fade 0.4s var(--ease); }
.line-item strong { font-family: var(--serif); font-size: 18px; font-weight: 500; display: block; }
.line-item small { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.line-item .ctl { display: flex; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); }
.qty button { width: 34px; height: 34px; display: grid; place-items: center; font-size: 16px; transition: background 0.2s; }
.qty button:hover { background: var(--bg-3); }
.qty output { min-width: 32px; text-align: center; font-family: var(--serif); font-size: 17px; }
.line-item .rm { margin-left: 8px; color: var(--muted); width: 34px; height: 34px; display: grid; place-items: center; }
.line-item .rm:hover { color: var(--danger); }
.line-item .rm svg { width: 16px; height: 16px; }
.drawer-foot { padding: 20px 28px 26px; border-top: 1px solid var(--line); display: grid; gap: 12px; background: var(--bg-2); }
.field { display: grid; gap: 6px; }
.field label { font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea { background: var(--bg); border: 1px solid var(--line-2); color: var(--ivory); padding: 12px 14px; font-size: 14px; border-radius: 2px; transition: border-color 0.3s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--gold); }
.field .err { font-size: 11px; color: var(--danger); display: none; }
.field.is-error input { border-color: var(--danger); }
.field.is-error .err { display: block; }
.drawer-foot .row { display: flex; gap: 8px; }
.drawer-foot .row .btn { flex: 1; }
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 600; transform: translate(-50%, 20px); padding: 12px 18px; background: var(--ivory); color: var(--on-gold); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; opacity: 0; transition: opacity 0.3s, transform 0.4s var(--ease); pointer-events: none; white-space: nowrap; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal defaults ---------- */
.reveal { opacity: 0; transform: translateY(26px); }
.no-js .reveal, .no-js [data-stagger] > * { opacity: 1 !important; transform: none !important; }
.no-js .split .w > span { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .why { grid-template-columns: repeat(2, 1fr); }
  .why-tile:nth-child(2) { border-right: 0; } .why-tile:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cat-row { grid-template-columns: 48px 1fr auto; }
  .cat-row .tags { display: none; }
}
@media (max-width: 900px) {
  .nav-inner { grid-template-columns: auto auto; }
  .nav-links, .nav-right .btn-wa { display: none; }
  .nav-toggle { display: grid; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hstat:nth-child(2) { border-right: 0; } .hstat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .scroll-cue { display: none; }
  .legacy-grid { grid-template-columns: 1fr; }
  .legacy-media { order: -1; }
  .seal { right: 12px; top: -20px; width: 104px; height: 104px; }
  .timeline { grid-template-columns: 1fr; }
  .tl { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0; }
  .tl:last-child { border-bottom: 0; }
  .stage { height: 460px; }
  .visit-grid { grid-template-columns: 1fr; }
  .map, .map iframe { min-height: 420px; }
  .cat-preview { display: none; }
  .gallery { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 110px; }
  .g.a { grid-column: span 6; grid-row: span 3; } .g.b { grid-column: span 6; grid-row: span 2; }
  .g.c, .g.d { grid-column: span 3; grid-row: span 2; } .g.e { grid-column: span 6; grid-row: span 2; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 36px); }
  .hero-content { padding-top: 130px; }
  .hero-title { font-size: clamp(46px, 14vw, 72px); }
  .hero-actions .btn { width: 100%; }
  .nav-right .btn-gold { width: 46px; min-height: 46px; padding: 0; font-size: 0; border-radius: 50%; }
  .nav-right .btn-gold svg { width: 18px; height: 18px; }
  .brand-text strong { font-size: 18px; }
  .cat-row { grid-template-columns: 1fr auto; gap: 14px; padding: 20px 4px; }
  .cat-row .idx { display: none; }
  .cat-row:hover { padding-left: 4px; }
  .why { grid-template-columns: 1fr; }
  .why-tile { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; }
  .why-tile:last-child { border-bottom: 0; }
  .stage { height: 440px; }
  .ring { width: 250px; height: 360px; margin: -180px 0 0 -125px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .enquiry-fab { left: 16px; bottom: 16px; padding: 0 16px 0 12px; }
  .fab { right: 16px; bottom: 16px; }
  .drawer-head, .drawer-body, .drawer-foot { padding-inline: 20px; }
  .toast { white-space: normal; text-align: center; width: calc(100% - 40px); }
  .status-pill { font-size: 10px; }
}
@media (max-height: 780px) and (min-width: 901px) {
  .hero-content { padding-top: 118px; padding-bottom: 24px; }
  .hero-title { font-size: clamp(44px, 6.6vw, 88px); }
  .hero-kn { margin-top: 14px; }
  .hero-sub { margin-top: 14px; max-width: 64ch; }
  .hero-actions { margin-top: 22px; }
  .hstat { padding: 16px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero-bg img { animation: none; transform: none; }
  .reveal, .split .w > span { opacity: 1 !important; transform: none !important; }
}
