/* =========================================================
   Shaad Marble Art — premium white / cream / gold theme
   ========================================================= */
:root {
  --ivory: #fcf9f3;
  --cream: #f5eee2;
  --sand: #eadfcb;
  --line: #e2d4bb;
  --gold: #b0842c;
  --gold-2: #d6b061;
  --gold-3: #f1dca3;
  --ink: #2b2219;
  --ink-2: #4a3d2f;
  --muted: #7a6b58;
  --wa: #1fae55;
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 4px;
  /* layout rhythm: one section spacing, one heading gap */
  --section-y: clamp(72px, 10vw, 130px);
  --head-gap: clamp(30px, 4vw, 44px);
  --card-pad: 20px 22px 22px;
  --shadow: 0 18px 50px -24px rgba(74, 52, 20, .35);
  /* surfaces (light values = the original colours; the dark theme overrides them at the end of this file) */
  --surface: #fff;
  --surface-2: #fffaf0;
  --field: #fff;
  --glass: rgba(255, 253, 248, .72);
  --glass-strong: rgba(255, 253, 248, .92);
  --chip: rgba(255, 253, 248, .92);
  --header-glass: rgba(252, 249, 243, .9);
  --menu-bg: rgba(252, 249, 243, .98);
  --ghost-bg: rgba(255, 255, 255, .55);
  --solid: var(--ink);
  --on-solid: #fff;
  --footer-bg: #2b2219;
  --toast-bg: #2b2219;
  --ease-lux: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: .005em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  color: #fff;
  background: linear-gradient(135deg, #c99b3f 0%, #a8792a 55%, #d8b566 100%);
  box-shadow: 0 10px 26px -12px rgba(150, 105, 30, .75);
}
.btn-gold:hover { box-shadow: 0 16px 34px -14px rgba(150, 105, 30, .9); }
.btn-ghost { color: var(--ink); border-color: rgba(176, 132, 44, .55); background: var(--ghost-bg); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: var(--surface); border-color: var(--gold); }
.btn-wa { color: #fff; background: var(--wa); box-shadow: 0 10px 24px -12px rgba(31, 174, 85, .8); }
.btn-wa:hover { background: #18984a; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .35s ease, box-shadow .35s ease;
}
.site-header.scrolled { background: var(--header-glass); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.header-inner {
  height: var(--header-h);
  max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 19px; letter-spacing: -.02em;
  color: #fff;
  background: radial-gradient(circle at 30% 25%, #e8c877, #b0842c 60%, #8a6420);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45), 0 6px 16px -8px rgba(120, 85, 20, .8);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--ink); }
.brand-tag { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); position: relative; }
.main-nav a:not(.nav-call)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s; }
.main-nav a:not(.nav-call):hover::after { transform: scaleX(1); }
.nav-call { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold) !important; }
.nav-call svg { width: 16px; height: 16px; }
.nav-call:hover { background: var(--gold); color: #fff !important; }
.menu-btn { display: none; width: 46px; height: 46px; border: 0; background: transparent; padding: 12px; }
.menu-btn span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .3s, opacity .3s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .main-nav {
    position: fixed; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--menu-bg); backdrop-filter: blur(12px);
    padding: 8px var(--gutter) 24px;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .25);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .main-nav a:not(.nav-call)::after { display: none; }
  .nav-call { justify-content: center; margin-top: 16px; border-bottom: 1px solid var(--gold) !important; }
  .brand-name { font-size: 20px; }
}

/* ---------- 3D experience ---------- */
.experience { position: relative; height: 900vh; }
.stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 62% 42%, #fffefb 0%, rgba(255, 253, 248, 0) 70%),
    radial-gradient(ellipse 120% 90% at 50% 100%, #e9dcc3 0%, rgba(233, 220, 195, 0) 60%),
    linear-gradient(180deg, #f7f1e6 0%, #f1e6d2 100%);
}
.stage::after { /* soft vignette */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 55%, rgba(120, 90, 40, .12) 100%);
}
#temple-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; }
.stage-fallback {
  position: absolute; z-index: 0;
  right: 6%; top: 50%; transform: translateY(-50%);
  height: 78%; width: auto; max-width: 60%; object-fit: cover;
  border-radius: 200px 200px 6px 6px;
  box-shadow: var(--shadow);
  display: none;
}
.no-webgl .stage-fallback { display: block; }
.no-webgl #temple-canvas, .no-webgl .stage-loader { display: none; }

.stage-loader {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: var(--cream);
  transition: opacity .8s ease, visibility .8s;
}
.stage-loader.done { opacity: 0; visibility: hidden; }
.loader-ring { width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--sand); border-top-color: var(--gold); animation: spin 1s linear infinite; }
.loader-text { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--muted); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-copy {
  position: absolute; z-index: 2;
  left: var(--gutter); top: 50%; translate: 0 -46%;
  width: min(540px, 46vw);
}
.hero-copy h1 { font-size: clamp(40px, 5.2vw, 76px); color: var(--ink); }
.hero-copy h1 em { display: block; font-style: italic; font-weight: 500; color: var(--gold); }
.hero-copy p { margin-top: 20px; font-size: 18px; color: var(--ink-2); max-width: 440px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.captions { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.cap {
  position: absolute; left: var(--gutter); top: 50%;
  translate: 0 -50%;
  width: min(430px, 40vw);
  padding: 30px 32px;
  background: var(--glass);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(214, 176, 97, .45);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
}
.cap::before { content: ""; position: absolute; left: 32px; top: 0; width: 56px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-3)); }
.cap-num { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.cap h2 { font-size: clamp(32px, 3.4vw, 48px); margin: 8px 0 4px; }
.cap-hi { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold); margin-bottom: 12px; }
.cap p:last-child { margin-bottom: 0; color: var(--ink-2); }
.cap-final { pointer-events: auto; }
.cap-final.hidden-cap { pointer-events: none; }

.scroll-hint {
  position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
.scroll-hint i { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); animation: hint 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.stage-progress { position: absolute; z-index: 2; right: calc(var(--gutter) - 8px); top: 50%; transform: translateY(-50%); width: 2px; height: 160px; background: rgba(176, 132, 44, .2); }
.stage-progress i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--gold); transform-origin: top; transform: scaleY(0); }

@media (max-width: 860px), (max-aspect-ratio: 23/20) {
  .experience { height: 780vh; }
  .hero-copy { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: 64px; translate: none; text-align: center; }
  .hero-copy { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
  .hero-copy .eyebrow { margin-bottom: 8px; }
  .hero-copy h1 { font-size: clamp(30px, 8.2vw, 46px); }
  .hero-copy p { font-size: 15px; margin: 10px auto 0; line-height: 1.5; }
  .hero-actions { justify-content: center; }
  .hero-copy .hero-actions { margin-top: 18px; }
  .hero-copy .btn { flex: 1 1 140px; padding: 12px 16px; }
  .cap { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); translate: none; padding: 20px 22px; }
  .cap::before { left: 22px; }
  .cap h2 { font-size: 30px; }
  .cap-hi { font-size: 19px; margin-bottom: 6px; }
  .cap p:last-child { font-size: 15px; }
  .cap .hero-actions { margin-top: 14px; }
  .cap .btn { flex: 1 1 140px; padding: 10px 14px; }
  .scroll-hint { display: none; }
  .stage-progress { height: 110px; top: 30%; }
  .stage-fallback { right: 50%; transform: translate(50%, 0); top: 84px; height: 44%; max-width: 80%; }
}
@media (max-width: 860px) and (max-height: 640px), (max-aspect-ratio: 23/20) and (max-height: 640px) {
  .hero-copy p { display: none; }
  .cap p:last-child { display: none; }
}

/* ---------- trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust ul {
  list-style: none; margin: 0 auto; padding: 22px var(--gutter);
  max-width: 1320px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px;
}
.trust li { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.trust strong { color: var(--gold); font-weight: 600; }

/* ---------- sections ---------- */
.collections, .contact, .about, .catalogue, .projects, .reviews { padding: var(--section-y) var(--gutter); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--head-gap); }
.section-head h2 { font-size: clamp(36px, 5vw, 60px); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }
.section-head::after { content: ""; display: block; width: 90px; height: 1px; margin: 26px auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* tabs */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 18px; max-width: 900px; }
.tab {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 10px 22px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  transition: all .25s;
}
.tab small { font-size: 12px; color: var(--gold); letter-spacing: 0; }
.tab:hover { border-color: var(--gold-2); }
.tab[aria-selected="true"] { background: var(--solid); color: var(--on-solid); border-color: var(--solid); }
.tab[aria-selected="true"] small { color: var(--gold-3); }
.cat-desc { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 36px; font-family: var(--serif); font-style: italic; font-size: 20px; }

/* gallery */
.gallery {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 22px;
}
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-align: left; padding: 0; color: inherit;
  transition: transform .4s ease, box-shadow .4s ease;
  animation: cardIn .6s ease both;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.card-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.card.contain .card-img img { object-fit: contain; background: var(--cream); }
.card:hover .card-img img { transform: scale(1.05); }
.card-badge { position: absolute; top: 12px; left: 12px; padding: 4px 12px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; background: var(--chip); color: var(--gold); border-radius: 999px; }
.card-zoom { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--chip); color: var(--ink); opacity: 0; transform: scale(.8); transition: all .3s; }
.card-zoom svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.card:hover .card-zoom { opacity: 1; transform: none; }
.card-concept { position: absolute; left: 12px; bottom: 12px; padding: 3px 10px; font-size: 11px; letter-spacing: .06em; background: rgba(31, 26, 20, .62); color: #fff; border-radius: 999px; }
.card-body { padding: var(--card-pad); padding-bottom: 16px; }
.card-cat { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.card h3 { font-size: 23px; margin: 4px 0 6px; }
.card p { font-size: 14.5px; color: var(--muted); margin: 0; }
.card .spec { margin-top: 10px; font-size: 14px; font-weight: 500; color: var(--ink); }

.card-count { position: absolute; right: 12px; top: 12px; padding: 3px 10px; font-size: 11px; letter-spacing: .06em; background: rgba(31, 26, 20, .62); color: #fff; border-radius: 999px; }
.card-noimg { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.gallery-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); font-family: var(--serif); font-style: italic; font-size: 20px; padding: 40px 0; }
.gallery-empty a { color: var(--gold); }
.card-skeleton { pointer-events: none; animation: none; }
.card-skeleton .card-img, .card-skeleton .card-body span { background: linear-gradient(100deg, var(--cream) 30%, #fbf6ec 50%, var(--cream) 70%); background-size: 300% 100%; animation: shimmer 1.4s ease-in-out infinite; }
.card-skeleton .card-body span { display: block; height: 12px; border-radius: 3px; margin: 8px 0; }
.card-skeleton .card-body span:nth-child(1) { width: 40%; }
.card-skeleton .card-body span:nth-child(2) { width: 75%; height: 20px; }
.card-skeleton .card-body span:nth-child(3) { width: 90%; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* catalogue band */
.catalogue { background: linear-gradient(180deg, var(--cream), #efe3cd); }
.catalogue-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.catalogue-img { border: 0; padding: 0; background: none; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transform: rotate(-1.5deg); transition: transform .5s; }
.catalogue-img:hover { transform: rotate(0) scale(1.01); }
.catalogue-copy h2 { font-size: clamp(34px, 4.4vw, 54px); margin-bottom: 18px; }
.catalogue-copy p { color: var(--ink-2); font-size: 17px; }
.spec-list { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--line); }
.spec-list li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-list span { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.spec-list b { font-weight: 500; color: var(--gold); }

/* about */
.about-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 7vw, 96px); align-items: center; }
.about-media { position: relative; padding-bottom: 60px; }
.about-media img { border-radius: 220px 220px var(--radius) var(--radius); box-shadow: var(--shadow); width: 86%; aspect-ratio: 3 / 4; object-fit: cover; }
.about-media-2 { position: absolute; right: 0; bottom: 0; width: 56% !important; aspect-ratio: 3 / 2 !important; border-radius: var(--radius) !important; border: 6px solid var(--ivory); }
.about-copy h2 { font-size: clamp(36px, 4.6vw, 58px); margin-bottom: 22px; }
.about-copy .lead { font-family: var(--serif); font-size: 24px; line-height: 1.4; color: var(--ink); }
.about-copy p { color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0; padding: 24px 0; border-block: 1px solid var(--line); }
.stats b { display: block; font-family: var(--serif); font-variant-numeric: lining-nums; font-size: clamp(28px, 3vw, 40px); color: var(--gold); line-height: 1; }
.stats span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* contact */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 22px; }
.contact-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); display: flex; flex-direction: column; gap: 10px; }
.contact-label { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.contact-number { font-family: var(--sans); font-size: 32px; font-weight: 500; text-decoration: none; letter-spacing: .04em; font-variant-numeric: lining-nums tabular-nums; }
.contact-card address { font-style: normal; font-family: var(--serif); font-size: 24px; line-height: 1.35; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 12px; }
.contact-actions .btn { flex: 1 1 150px; padding: 12px 16px; }

/* footer */
.site-footer { background: var(--footer-bg); color: #d9ccb6; padding: 48px var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer-inner { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { display: block; font-family: var(--serif); font-size: 24px; color: #fff; }
.footer-brand div span { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-2); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { text-decoration: none; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.footer-links a:hover { color: var(--gold-3); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); transition: all .25s; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer-social svg { width: 18px; height: 18px; }
.copyright { max-width: 1240px; margin: 20px auto 0; font-size: 13px; color: #a8997f; text-align: center; }

/* floating WhatsApp */
.wa-float {
  position: fixed; z-index: 60;
  right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 12px 30px -8px rgba(31, 174, 85, .7);
  transition: transform .25s;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.2s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(24, 18, 12, .94);
  display: flex; align-items: center; justify-content: center;
  padding: calc(56px + env(safe-area-inset-top, 0px)) 72px calc(24px + env(safe-area-inset-bottom, 0px));
  animation: fadeIn .25s ease;
}
@keyframes fadeIn { from { opacity: 0; } }
.lb-figure { margin: 0; max-width: 1100px; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.lb-figure > img { max-height: calc(100% - 190px); max-width: 100%; width: auto; object-fit: contain; border-radius: var(--radius); box-shadow: 0 30px 80px -20px #000; }
.lb-figure figcaption { width: 100%; max-width: 760px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; color: #f1e6d2; }
.lb-cat { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); }
.lb-figure h3 { font-size: 26px; color: #fff; }
.lb-figure p { margin: 2px 0 0; font-size: 14.5px; color: #cdbfa6; }
.lb-figure figcaption > div { flex: 1 1 340px; min-width: 0; }
.lb-thumbs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.lb-thumbs[hidden] { display: none; }
.lb-thumb { width: 58px; height: 58px; padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; background: #000; opacity: .55; transition: opacity .2s, border-color .2s; }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumb:hover, .lb-thumb.active { opacity: 1; border-color: var(--gold-2); }
.lb-specs { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 4px 18px; }
.lb-specs[hidden] { display: none; }
.lb-specs li { display: flex; flex-direction: column; font-size: 13px; padding: 4px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.lb-specs span { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.lb-specs b { font-weight: 500; color: #f1e6d2; }
.lb-close, .lb-nav { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #fff; border-radius: 50%; width: 50px; height: 50px; display: grid; place-items: center; transition: background .2s; }
.lb-close:hover, .lb-nav:hover { background: rgba(214, 176, 97, .5); }
.lb-close svg, .lb-nav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: calc(12px + env(safe-area-inset-top, 0px)); right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: calc(24px + env(safe-area-inset-top, 0px)); left: 22px; color: #a8997f; font-size: 13px; letter-spacing: .2em; }
body.lb-open { overflow: hidden; }

@media (max-width: 860px) {
  .catalogue-inner, .about-grid { grid-template-columns: 1fr; }
  .catalogue-img { max-width: 440px; margin: 0 auto; }
  .about-media { max-width: 460px; margin: 0 auto; }
  .lightbox { padding-left: 12px; padding-right: 12px; }
  .lb-nav { top: auto; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: none; width: 44px; height: 44px; }
  .lb-figure { padding-bottom: 56px; }
  .lb-figure > img { max-height: calc(100% - 230px); }
  .lb-figure figcaption .btn { width: 100%; }
  .trust ul { justify-content: center; }
  .contact-number { font-size: 28px; }
}

/* ---------- scroll animations (js/scrolly.js) ---------- */
.page-progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-3), var(--gold));
  transform: scaleX(0); transform-origin: left; pointer-events: none;
}
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w-in { display: inline-block; will-change: transform; }
.js-scrolly .section-head::after { transform: scaleX(0); transition: transform 1.4s cubic-bezier(.2, .7, .1, 1) .4s; }
.js-scrolly .section-head.in::after { transform: scaleX(1); }
/* elements revealed by GSAP must not have CSS transitions on opacity/transform,
   otherwise the start/end values get measured mid-transition */
.js-scrolly .tab { transition: background .25s, color .25s, border-color .25s; }
.js-scrolly .footer-social a { transition: background .25s, border-color .25s, color .25s; }
.js-scrolly .catalogue-copy .btn { transition: box-shadow .25s ease, background .25s ease, color .25s ease; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- admin link (footer, subtle) ---------- */
.admin-link { margin-left: 10px; color: #7d6f5a; text-decoration: none; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; opacity: .5; transition: opacity .2s, color .2s; }
.admin-link:hover, .admin-link:focus-visible { color: var(--gold-2); opacity: 1; }

/* ---------- enquiry button in the photo viewer ---------- */
.lb-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- site forms (enquiry, review) ---------- */
.site-modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 20px; background: rgba(24, 18, 12, .72); backdrop-filter: blur(4px); animation: fadeIn .2s ease; overflow-y: auto; }
.site-modal[hidden] { display: none; }
.site-modal-panel { position: relative; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: var(--ivory); border: 1px solid rgba(214, 176, 97, .45); border-radius: var(--radius); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); padding: 34px 30px 28px; }
.site-modal-panel::before { content: ""; position: absolute; left: 30px; top: 0; width: 56px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-3)); }
.site-modal-panel .eyebrow { margin-bottom: 6px; }
.site-modal-panel h3 { font-size: 30px; margin-bottom: 18px; }
.site-modal-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); font-size: 22px; line-height: 1; color: var(--ink-2); }
.site-modal-close:hover { border-color: var(--gold); color: var(--gold); }
.enq-product { display: flex; gap: 14px; align-items: center; padding: 12px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.enq-product img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius); flex: none; }
.enq-product span { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.enq-product b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.2; }
.enq-product small { color: var(--muted); font-size: 13px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid[hidden] { display: none; }
.form-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.form-field span { font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.form-field input, .form-field select, .form-field textarea { width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--field); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(214, 176, 97, .22); }
.form-wide { grid-column: 1 / -1; }
.form-submit { width: 100%; margin-top: 18px; }
.form-error { margin: 14px 0 0; color: #a3382b; font-size: 14px; background: #fbeeec; border: 1px solid #f0cfc9; padding: 9px 12px; border-radius: var(--radius); }
.form-done { margin-top: 6px; padding: 18px; border: 1px solid #cfe6d6; background: #eef7f1; color: #1f5f36; border-radius: var(--radius); font-size: 15.5px; }
/* enquiry form: e-mail updates checkbox, hidden spam trap, retry / WhatsApp after a failed send, reference number */
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.form-check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--gold); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-fail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.form-fail-actions[hidden] { display: none; }
.form-fail-actions .btn { flex: 1 1 180px; }
.form-submit[disabled] { opacity: .65; cursor: progress; }
.enq-ref { display: block; margin-top: 8px; font-size: 14px; }
.enq-ref:empty { display: none; }
.contact-enquiry { text-align: center; margin-top: var(--head-gap); }

/* ---------- projects ---------- */
.projects { background: linear-gradient(180deg, var(--ivory), var(--cream)); }
.projects-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 26px; }
.project-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.project-img { aspect-ratio: 16 / 10; background: var(--cream); overflow: hidden; }
.project-img img { width: 100%; height: 100%; object-fit: cover; }
.project-thumbs { display: flex; gap: 8px; padding: 12px 16px 0; overflow-x: auto; }
.project-thumbs button { width: 54px; height: 54px; flex: none; padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; opacity: .65; background: none; }
.project-thumbs button.active, .project-thumbs button:hover { border-color: var(--gold-2); opacity: 1; }
.project-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.project-body { padding: var(--card-pad); }
.project-body span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.project-body h3 { font-size: 25px; margin: 6px 0 8px; }
.project-body p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- reviews ---------- */
.reviews { border-top: 1px solid var(--line); }
.reviews-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.reviews-grid[hidden] { display: none; }
.review-card { margin: 0; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 12px; }
.review-stars { color: var(--gold-2); letter-spacing: .15em; font-size: 16px; }
.review-stars span { color: var(--sand); }
.review-card blockquote { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.45; color: var(--ink); }
.review-card figcaption b { display: block; font-weight: 500; }
.review-card figcaption span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.reviews-cta { text-align: center; margin-top: var(--head-gap); }

/* ---------- company profile extras ---------- */
.brand-mark.has-logo { background: #fff; overflow: hidden; }
.brand-mark.has-logo img { width: 100%; height: 100%; object-fit: contain; }
.contact-email { font-size: 20px; word-break: break-all; }

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .site-modal-panel { padding: 30px 20px 22px; }
}

/* ---------- product card: price line + Get Quote / WhatsApp ---------- */
.card-open {
  display: flex; flex-direction: column; flex: 1; width: 100%;
  padding: 0; margin: 0; border: 0; background: none; color: inherit; font: inherit;
  text-align: left; cursor: pointer;
}
.card-open:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.card .card-price {
  margin-top: 10px; font-family: var(--serif); font-size: 21px; font-weight: 600;
  color: var(--gold); letter-spacing: .01em;
}
.card-actions { display: flex; gap: 8px; padding: 0 22px 22px; }
.btn-card { flex: 1 1 0; min-height: 40px; padding: 8px 12px; font-size: 12px; letter-spacing: .1em; }
.btn-card svg { width: 16px; height: 16px; }
/* scroll-in animations start elements slightly off to the side: never let that widen the page on phones */
html, body { overflow-x: clip; }

/* =========================================================
   Appearance: Light / Dark / System  (js/theme.js)
   <html data-theme="dark"> is set before the page paints.
   ========================================================= */
:root[data-theme="dark"] {
  --ivory: #14110e;
  --cream: #1b1713;
  --sand: #3a3127;
  --line: #342b21;
  --gold: #c9a45a;
  --gold-2: #d9b76e;
  --gold-3: #f0d9a0;
  --ink: #f3ebdd;
  --ink-2: #d8ccb8;
  --muted: #a3957f;
  --shadow: 0 22px 60px -26px rgba(0, 0, 0, .8);
  --surface: #1c1814;
  --surface-2: #211c16;
  --field: #16130f;
  --glass: rgba(26, 22, 18, .74);
  --glass-strong: rgba(28, 24, 20, .94);
  --chip: rgba(20, 17, 14, .82);
  --header-glass: rgba(18, 15, 12, .86);
  --menu-bg: rgba(18, 15, 12, .98);
  --ghost-bg: rgba(255, 245, 225, .05);
  --solid: #eadfca;
  --on-solid: #17130f;
  --footer-bg: #0e0c0a;
  --toast-bg: #2a231b;
  color-scheme: dark;
}
/* a marble showroom at night: warm light pooling behind the mandir */
:root[data-theme="dark"] .stage {
  background:
    radial-gradient(ellipse 60% 55% at 64% 44%, rgba(214, 176, 97, .14) 0%, rgba(214, 176, 97, 0) 70%),
    radial-gradient(ellipse 120% 80% at 50% 100%, #231c14 0%, rgba(35, 28, 20, 0) 60%),
    linear-gradient(180deg, #17130f 0%, #0f0d0b 100%);
}
:root[data-theme="dark"] .stage::after { background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .45) 100%); }
:root[data-theme="dark"] .catalogue { background: linear-gradient(180deg, #17130f, #1d1812); }
:root[data-theme="dark"] .card,
:root[data-theme="dark"] .project-card,
:root[data-theme="dark"] .review-card,
:root[data-theme="dark"] .contact-card { box-shadow: inset 0 1px 0 rgba(255, 240, 210, .04); }
:root[data-theme="dark"] .btn-ghost { border-color: rgba(214, 176, 97, .45); }
:root[data-theme="dark"] .btn-ghost:hover { background: rgba(214, 176, 97, .1); }
:root[data-theme="dark"] .card-skeleton .card-img,
:root[data-theme="dark"] .card-skeleton .card-body span { background: linear-gradient(100deg, var(--cream) 30%, #241e17 50%, var(--cream) 70%); background-size: 300% 100%; }
:root[data-theme="dark"] .form-error { color: #f0a497 !important; background: rgba(163, 56, 43, .16); border-color: rgba(224, 115, 95, .35); }
:root[data-theme="dark"] .form-done { color: #9bd8b0; background: rgba(31, 122, 69, .16); border-color: rgba(127, 209, 160, .3); }
:root[data-theme="dark"] .site-modal { background: rgba(6, 5, 4, .78); }
:root[data-theme="dark"] .skip-link { background: var(--solid); color: var(--on-solid); }
:root[data-theme="dark"] ::selection { background: rgba(214, 176, 97, .35); color: #fff; }

/* smooth switch for browsers without view transitions (theme.js adds .theme-anim for a moment) */
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color .5s ease, color .5s ease, border-color .5s ease, fill .5s ease, stroke .5s ease, box-shadow .5s ease !important;
}
/* view-transition cross-fade (Chrome, Edge, Safari) */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .55s; animation-timing-function: cubic-bezier(.4, 0, .2, 1); }

/* theme control: a round sun / moon button with a small menu */
.theme-slot { position: relative; display: flex; align-items: center; }
.theme-btn {
  width: 42px; height: 42px; display: grid; place-items: center; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: var(--ghost-bg); color: var(--ink-2);
  backdrop-filter: blur(6px); transition: border-color .3s, color .3s, background .3s, transform .4s var(--ease-lux);
}
.theme-btn:hover { border-color: var(--gold-2); color: var(--gold); transform: rotate(-12deg); }
.theme-btn svg, .theme-menu svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.theme-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 80; min-width: 190px; padding: 6px;
  background: var(--glass-strong); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(214, 176, 97, .35); border-radius: 10px; box-shadow: var(--shadow);
  transform-origin: top right; animation: themeMenuIn .22s var(--ease-lux);
}
.theme-menu[hidden] { display: none; }
@keyframes themeMenuIn { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
.theme-menu p { margin: 6px 10px; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.theme-menu button {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 7px;
  background: none; color: var(--ink-2); font-size: 14px; letter-spacing: .02em; text-align: left; transition: background .2s, color .2s;
}
.theme-menu button:hover, .theme-menu button:focus-visible { background: rgba(214, 176, 97, .12); color: var(--ink); outline: none; }
.theme-menu button[aria-checked="true"] { color: var(--ink); }
.theme-menu button::after { content: ""; margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: transparent; }
.theme-menu button[aria-checked="true"]::after { background: var(--gold); }
.theme-slot-fixed { position: fixed; top: calc(16px + env(safe-area-inset-top, 0px)); right: calc(16px + env(safe-area-inset-right, 0px)); z-index: 30; }
.site-header .main-nav { margin-left: auto; }
@media (max-width: 860px) {
  .site-header .theme-slot { margin-left: auto; }
  .theme-btn { width: 40px; height: 40px; }
}

/* ---------- typography: editorial refinements ---------- */
body { text-rendering: optimizeLegibility; font-kerning: normal; }
h1, h2, h3 { text-wrap: balance; }
.section-head h2, .about-copy h2, .catalogue-copy h2, .hero-copy h1, .cap h2 { letter-spacing: -.01em; }
p { text-wrap: pretty; }

/* ---------- hover: restrained lift, gold edge, slow image zoom ---------- */
.main-nav a:not(.nav-call) { transition: color .3s ease; }
.main-nav a:not(.nav-call):hover { color: var(--gold); }
.main-nav a:not(.nav-call)::after { transition: transform .45s var(--ease-lux); transform-origin: left; }
.btn:active { transform: translateY(0); }
.btn-gold { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease-lux);
}
.btn-gold:hover::after { transform: translateX(120%); }
.tab:hover { color: var(--ink); }
.card { transition: transform .5s var(--ease-lux), box-shadow .5s var(--ease-lux), border-color .4s ease; }
.card:hover { border-color: rgba(214, 176, 97, .55); }
.card-img img { transition: transform 1.2s var(--ease-lux); }
.project-card { transition: transform .5s var(--ease-lux), box-shadow .5s var(--ease-lux), border-color .4s ease; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(214, 176, 97, .55); }
.project-img img { transition: transform 1.2s var(--ease-lux); }
.project-card:hover .project-img img { transform: scale(1.05); }
.review-card { transition: transform .5s var(--ease-lux), box-shadow .5s var(--ease-lux), border-color .4s ease; }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(214, 176, 97, .5); }
.contact-card { transition: box-shadow .5s var(--ease-lux), border-color .4s ease; }
.contact-card:hover { box-shadow: var(--shadow); border-color: rgba(214, 176, 97, .55); }

/* =========================================================
   Polish: responsive fixes, tap targets, hover + focus states
   ========================================================= */
/* tablets: contact cards in two columns, a card left alone spans the row */
@media (min-width: 640px) and (max-width: 1023px) {
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid > .contact-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* small phones: hero buttons keep their words on one line */
@media (max-width: 420px) {
  .hero-copy .btn, .cap .btn { font-size: 12.5px; letter-spacing: .05em; padding-left: 12px; padding-right: 12px; }
}
/* comfortable tap targets for small links */
.footer-links a { display: inline-block; padding: 12px 0; }
.footer-links { row-gap: 0; }
.admin-link { display: inline-block; padding: 12px 6px; margin: -12px 0 -12px 4px; }

/* hover + keyboard focus (same look for both) */
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-gold:focus-visible { box-shadow: 0 16px 34px -14px rgba(150, 105, 30, .9); }
.btn-ghost:focus-visible { background: var(--surface); border-color: var(--gold); }
.btn-wa:hover, .btn-wa:focus-visible { box-shadow: 0 14px 30px -12px rgba(31, 174, 85, .9); }
.main-nav a:not(.nav-call):focus-visible { color: var(--gold); }
.main-nav a:not(.nav-call):focus-visible::after { transform: scaleX(1); }
.nav-call { transition: background .3s ease, color .3s ease, box-shadow .3s ease; }
.nav-call:hover { box-shadow: 0 10px 24px -14px rgba(150, 105, 30, .8); }
.menu-btn { border-radius: 50%; transition: background .25s ease; }
.menu-btn:hover { background: rgba(176, 132, 44, .1); }
.menu-btn span { transition: transform .3s, opacity .3s, background .25s; }
.menu-btn:hover span { background: var(--gold); }
.footer-links a { position: relative; transition: color .3s ease; }
.footer-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--gold-2); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-lux); }
.footer-links a:hover::after, .footer-links a:focus-visible::after { transform: scaleX(1); }
.footer-links a:focus-visible { color: var(--gold-3); }
.contact-number { transition: color .3s ease; }
.contact-number:hover { color: var(--gold); }
.tab:focus-visible { border-color: var(--gold); }
.brand-mark { transition: transform .5s var(--ease-lux), box-shadow .5s ease; }
.brand:hover .brand-mark { transform: rotate(-8deg); }
@media (max-width: 860px) {
  .main-nav a:not(.nav-call) { transition: color .25s ease, padding-left .35s var(--ease-lux); }
  .main-nav a:not(.nav-call):hover, .main-nav a:not(.nav-call):focus-visible { color: var(--gold); padding-left: 10px; }
}
/* touch screens: no hover lift left "stuck" after a tap */
@media (hover: none) {
  .btn:hover, .card:hover, .project-card:hover, .review-card:hover, .theme-btn:hover, .brand:hover .brand-mark { transform: none; }
  .card:hover .card-img img, .project-card:hover .project-img img { transform: none; }
  .btn-gold:hover::after { transform: translateX(-120%); }
}

/* ---------- header: never wrap the brand or "Call Now"; tighter nav on small laptops / landscape tablets ---------- */
.brand-name, .nav-call { white-space: nowrap; }
@media (min-width: 861px) {
  /* 40px+ tall tap area for the desktop links (touch laptops, landscape tablets); same look */
  .main-nav a:not(.nav-call) { padding: 10px 0; }
  .main-nav a:not(.nav-call)::after { bottom: 4px; }
}
@media (min-width: 861px) and (max-width: 1080px) {
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 13px; letter-spacing: .08em; }
  .nav-call { padding: 9px 14px; }
  .brand-name { font-size: 20px; }
  .header-inner { gap: 12px; }
}
/* very small phones (320-360px): keep the menu + theme buttons full size, shrink the brand a little */
.menu-btn, .site-header .theme-slot { flex: none; }
.header-inner .brand { min-width: 0; }
.header-inner .brand-text { min-width: 0; }
.header-inner .brand-name { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 360px) {
  .header-inner { gap: 8px; }
  .header-inner .brand { gap: 8px; }
  .header-inner .brand-mark { width: 40px; height: 40px; font-size: 17px; }
  .header-inner .brand-name { font-size: 17px; }
  .header-inner .brand-tag { font-size: 9px; letter-spacing: .24em; }
}
/* very small phones: keep the hero text compact so it stays below the mandir */
@media (max-width: 360px) {
  .hero-copy { bottom: 28px; }
  .hero-copy .eyebrow { font-size: 10.5px; letter-spacing: .24em; margin-bottom: 6px; }
  .hero-copy h1 { font-size: 27px; }
  .hero-copy p { font-size: 14px; margin-top: 8px; }
  .hero-copy .hero-actions { gap: 8px; margin-top: 14px; }
  .hero-copy .btn { flex: 1 1 0; min-height: 44px; padding: 10px 8px; font-size: 11.5px; letter-spacing: .04em; }
}
/* phones: the floating WhatsApp button must not cover the hero buttons */
@media (max-width: 480px) {
  .wa-float { width: 52px; height: 52px; }
  .wa-float svg { width: 28px; height: 28px; }
  .hero-copy { bottom: 84px; }
}
@media (max-width: 480px) and (max-height: 640px) {
  .hero-copy { bottom: 78px; }
  .hero-copy h1 { font-size: 25px; }
}

/* =========================================================
   About Us → Meet Our Team (js/main.js: teamCarousel)
   wave-shaped portraits, name + designation below, slow left → right loop
   ========================================================= */
.team-block { max-width: 1320px; margin: clamp(64px, 9vw, 120px) auto 0; }
.team-block .section-head p:empty { display: none; }
.tm-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.team-carousel {
  --tm-w: clamp(210px, 19vw, 262px); --tm-gap: clamp(20px, 2.4vw, 34px); --tm-drop: 46px;
  position: relative; overflow: hidden; padding: 10px 0 18px;
  touch-action: pan-y;               /* vertical page scroll stays native; horizontal swipe moves the row */
  -webkit-user-select: none; user-select: none;
}
/* soft fade at both edges while the row is moving */
.team-carousel.is-loop {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  cursor: grab;
}
.team-carousel.is-dragging { cursor: grabbing; }
.team-track { display: flex; align-items: flex-start; gap: var(--tm-gap); width: max-content; will-change: transform; }
.team-carousel.is-static .team-track { width: auto; justify-content: safe center; flex-wrap: nowrap; }
/* reduced motion or a very wide team without motion: a normal swipeable row */
.team-carousel.is-static { overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.team-carousel.is-static::-webkit-scrollbar { display: none; }
.team-carousel.is-static .tm-card { scroll-snap-align: center; }

.tm-card {
  flex: none; width: var(--tm-w); margin: 0; text-align: center;
  transition: opacity .45s ease, transform .6s var(--ease-lux);
}
.tm-card.tm-alt { margin-top: var(--tm-drop); }        /* alternating high / low rhythm, like the reference */
.tm-photo { position: relative; transition: transform .6s var(--ease-lux), filter .6s ease; }
.tm-shape {
  aspect-ratio: 4 / 5; overflow: hidden; clip-path: url(#tm-wave-a);
  display: grid; place-items: center;
}
.tm-alt .tm-shape { clip-path: url(#tm-wave-b); }
.tm-shape img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; pointer-events: none; }
/* marble tones behind the portraits: ivory, warm sand, pale gold, soft stone */
.tm-tone-0 { background: radial-gradient(120% 90% at 30% 18%, #fffdf8 0%, #f4ebdc 100%); }
.tm-tone-1 { background: radial-gradient(120% 90% at 70% 20%, #faf3e7 0%, #ead9bd 100%); }
.tm-tone-2 { background: radial-gradient(120% 90% at 35% 22%, #fdf6e6 0%, #efdcb2 100%); }
.tm-tone-3 { background: radial-gradient(120% 90% at 65% 18%, #f8f5f0 0%, #e3dbcf 100%); }
.tm-initials { font-family: var(--serif); font-size: clamp(48px, 5vw, 68px); font-weight: 600; letter-spacing: .04em; color: var(--gold); opacity: .85; }
.tm-card figcaption { padding: 16px 6px 0; }
.tm-card h3 { font-size: 23px; line-height: 1.2; }
.tm-role { display: block; margin-top: 6px; font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.tm-bio {
  margin: 8px auto 0; max-width: 34ch; font-size: 14px; line-height: 1.55; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
/* hover (mouse only): the member under the cursor lifts slightly with a soft gold glow, the others step back */
@media (hover: hover) {
  .team-track:hover .tm-card { opacity: .58; }
  .team-track .tm-card:hover { opacity: 1; }
  .tm-card:hover .tm-photo { transform: translateY(-6px) scale(1.04); filter: drop-shadow(0 20px 26px rgba(150, 105, 30, .26)) drop-shadow(0 0 1px rgba(214, 176, 97, .6)); }
}
:root[data-theme="dark"] .tm-card:hover .tm-photo { filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .55)) drop-shadow(0 0 10px rgba(214, 176, 97, .28)); }
@media (max-width: 1024px) {
  .team-carousel { --tm-w: clamp(190px, 28vw, 230px); --tm-drop: 36px; }
}
@media (max-width: 600px) {
  .team-carousel { --tm-w: 56vw; --tm-gap: 16px; --tm-drop: 26px; }
  .tm-card h3 { font-size: 20px; }
  .tm-bio { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .tm-card, .tm-photo { transition: none; }
}
