/* Pure Precious Jewellery L.L.C — design system
   Black + gold, minimal luxury. Fonts: Cormorant (display) / Montserrat (body). */

:root {
  --bg: #fbf7ef;
  --bg-2: #f3ead9;
  --surface: #ffffff;
  --surface-2: #f7efe0;
  --line: rgba(138, 106, 31, 0.2);
  --line-strong: rgba(138, 106, 31, 0.45);
  --gold: #b8892b;
  --gold-light: #7d5a10;      /* gold used for text on light backgrounds */
  --gold-bright: #e8c766;     /* gold used on deep green */
  --gold-deep: #6b4c0c;
  --deep: #10342b;            /* deep emerald accent */
  --deep-2: #0b261f;
  --text: #2a2118;
  --text-muted: #685d4e;
  --gold-gradient: linear-gradient(135deg, #f1d676 0%, #cfa23a 48%, #b08424 100%);
  --font-display: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 4px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: 0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: #2a1c05; padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--alt { background: var(--bg-2); }

.eyebrow {
  font-size: 0.75rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.section-title { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-top: 14px; }
.section-lead { color: var(--text-muted); max-width: 56ch; margin-top: 18px; }
.gold-text {
  background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.ornament { display: flex; align-items: center; gap: 14px; color: var(--gold); margin: 22px 0; }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 56px; background: var(--line-strong); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 30px; font: 600 0.78rem/1 var(--font-body);
  letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer;
  border: 1px solid var(--gold); border-radius: var(--radius);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn--gold { background: var(--gold-gradient); color: #2a1c05; border-color: transparent; }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(184, 137, 43, 0.35); }
.btn--ghost { background: transparent; color: var(--gold-light); }
.btn--ghost:hover { background: rgba(184, 137, 43, 0.1); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100;
  display: flex; align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid, .site-header.is-open {
  background: rgba(251, 247, 239, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand-name { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.05; }
.brand-name small { display: block; font-family: var(--font-body); font-size: 0.55rem; letter-spacing: 0.4em; color: var(--gold); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) {
  font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  color: var(--text-muted); position: relative; padding: 8px 0; transition: color 0.3s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 2px; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--gold-light); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { min-height: 42px; padding: 0 22px; }

.nav-toggle {
  display: none; width: 48px; height: 48px; background: none; border: 1px solid var(--line);
  border-radius: var(--radius); cursor: pointer; color: var(--gold-light); align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 1.5px; background: currentColor; position: relative; transition: transform 0.3s var(--ease), background 0.3s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.site-header.is-open .nav-toggle span { background: transparent; }
.site-header.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(251, 247, 239, 0.98); border-bottom: 1px solid var(--line);
    padding: 12px 16px 28px; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
  }
  .site-header.is-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 16px 4px; font-size: 0.85rem; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 20px; }
  .brand-name small { display: none; }
}
@media (max-width: 420px) { .brand-name { display: none; } }

/* ---------- Hero (3D) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(55% 60% at 74% 46%, rgba(255, 255, 255, 0.95), transparent 72%),
    radial-gradient(45% 45% at 18% 90%, rgba(207, 162, 58, 0.22), transparent 70%),
    linear-gradient(180deg, #fbf7ef 0%, #f3ead9 100%);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-fallback { position: absolute; right: 12%; top: 50%; transform: translateY(-50%); width: min(340px, 40vw); z-index: -1; opacity: 0; transition: opacity 1s; }
.no-webgl .hero-fallback { opacity: 0.9; }
.hero-content { padding-top: var(--header-h); padding-bottom: 48px; max-width: 640px; pointer-events: none; }
.hero-content a, .hero-content .btn { pointer-events: auto; }
.hero h1 { font-size: clamp(3rem, 8.4vw, 6.4rem); line-height: 0.98; margin: 22px 0 6px; }
.hero h1 span { display: block; }
.hero-sub { font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: var(--gold-light); }
.hero-text { color: var(--text-muted); max-width: 46ch; margin-top: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.62rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--text-muted);
}
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 760px) {
  .hero { align-items: flex-end; }
  .hero-content { padding-bottom: 40px; }
  .scroll-cue { display: none; }
  .hero::before { background: radial-gradient(70% 45% at 50% 26%, rgba(255, 255, 255, 0.95), transparent 70%), linear-gradient(180deg, #fbf7ef, #f3ead9); }
}

/* ---------- Highlights strip ---------- */
.strip { background: var(--deep); overflow: hidden; }
.strip-track { display: flex; gap: 56px; padding: 22px 0; width: max-content; animation: marquee 38s linear infinite; }
.strip-track span { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0.08em; color: var(--gold-bright); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.strip-track span::after { content: "◆"; font-size: 0.55rem; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Collection tiles ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }
.tile {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); display: flex; align-items: flex-end; padding: 26px;
  transition: border-color 0.4s, transform 0.5s var(--ease);
}
.tile:hover { border-color: var(--gold); transform: translateY(-6px); }
.tile-art { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(70% 55% at 50% 38%, rgba(184, 137, 43, 0.16), transparent 70%); }
.tile-art svg { width: 46%; color: var(--gold); opacity: 1; margin-top: -12%; transition: transform 0.8s var(--ease); }
.tile:hover .tile-art svg { transform: scale(1.1) rotate(-4deg); }
.tile img.tile-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(251, 247, 239, 0.96) 6%, rgba(251, 247, 239, 0) 52%); pointer-events: none; }
.tile-body { position: relative; z-index: 1; }
.tile h3 { font-size: 1.8rem; }
.tile p { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-top: 8px; }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.frame { position: relative; aspect-ratio: 4 / 5; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); overflow: hidden; display: grid; place-items: center; }
.frame::before { content: ""; position: absolute; inset: 14px; border: 1px solid var(--line); pointer-events: none; z-index: 1; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame .frame-art { width: 52%; color: var(--gold); opacity: 0.85; }
.frame figcaption { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-size: 0.64rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-muted); z-index: 2; }
.frame--emblem img { width: 56%; height: auto; object-fit: contain; filter: drop-shadow(0 12px 30px rgba(184, 137, 43, 0.25)); }

.checklist { margin-top: 28px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-muted); }
.checklist li::before { content: "◆"; color: var(--gold); font-size: 0.6rem; margin-top: 8px; flex: none; }
.checklist strong { color: var(--text); font-weight: 600; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 56px; counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 28px 24px; border-top: 1px solid var(--line-strong); position: relative; counter-increment: step; }
@media (max-width: 960px) { .step { border-top: 0; border-left: 1px solid var(--line-strong); padding: 6px 0 30px 28px; } }
.step::before { content: "0" counter(step); font-family: var(--font-display); font-size: 2.6rem; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 8px; }
.step h3 { font-size: 1.45rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Visit / contact ---------- */
.info-list { display: grid; gap: 26px; margin-top: 34px; }
.info-item { display: flex; gap: 18px; align-items: flex-start; }
.info-item .ico { flex: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; color: var(--gold); }
.info-item svg { width: 20px; height: 20px; }
.info-item h4 { font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 4px; }
.info-item p, .info-item a { color: var(--text); }
.info-item a:hover { color: var(--gold-light); }
.map-box { border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; min-height: 380px; background: var(--surface); position: relative; }
.map-box iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: sepia(0.18) saturate(0.9); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(56px, 9vw, 110px)) 0 clamp(40px, 6vw, 72px); text-align: center; position: relative; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 50% 0%, rgba(184, 137, 43, 0.18), transparent 70%); }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5rem); margin-top: 16px; }
.page-hero p { color: var(--text-muted); max-width: 56ch; margin: 18px auto 0; }
.page-hero .eyebrow { justify-content: center; }

/* ---------- Collections page ---------- */
.filter-bar { position: sticky; top: var(--header-h); z-index: 50; background: rgba(251, 247, 239, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.filter-list { display: flex; gap: 10px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; justify-content: center; }
.filter-list::-webkit-scrollbar { display: none; }
@media (max-width: 760px) { .filter-list { justify-content: flex-start; } }
.chip { flex: none; min-height: 44px; padding: 0 22px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text-muted); font: 500 0.72rem/1 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; transition: all 0.3s var(--ease); }
.chip:hover { color: var(--gold-light); border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--gold-gradient); color: #2a1c05; border-color: transparent; font-weight: 600; }
.cat-block { scroll-margin-top: calc(var(--header-h) + 80px); padding-top: 72px; }
.cat-block[hidden] { display: none; }
.cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.cat-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.cat-head span { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.product { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.product-media { aspect-ratio: 1; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(70% 70% at 50% 40%, var(--surface-2), var(--surface)); display: grid; place-items: center; transition: border-color 0.4s, transform 0.5s var(--ease); }
.product:hover .product-media, .product:focus-visible .product-media { border-color: var(--gold); transform: translateY(-4px); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.product:hover .product-media img { transform: scale(1.06); }
.product-media svg { width: 40%; color: var(--gold); opacity: 0.55; }
.product-name { font-family: var(--font-display); font-size: 1.35rem; margin-top: 14px; }
.product-meta { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-top: 2px; }
.notice { margin-top: 56px; padding: 22px 26px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--text-muted); text-align: center; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(24, 18, 8, 0.72); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.is-open { display: flex; }
.lightbox-card { width: min(920px, 100%); max-height: 92dvh; overflow: auto; display: grid; grid-template-columns: 1.1fr 1fr; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); }
@media (max-width: 760px) { .lightbox-card { grid-template-columns: 1fr; } }
.lightbox-media { aspect-ratio: 1; display: grid; place-items: center; background: var(--bg-2); }
.lightbox-media img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-media svg { width: 40%; color: var(--gold); opacity: 0.6; }
.lightbox-body { padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.lightbox-body h3 { font-size: 2.2rem; }
.lightbox-body p { color: var(--text-muted); }
.lightbox-close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.92); color: var(--gold-light); font-size: 1.4rem; cursor: pointer; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; background: var(--surface); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: var(--radius); font: inherit; transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-light); box-shadow: 0 0 0 3px rgba(184, 137, 43, 0.18); }
.field select option { background: var(--surface); }
.form-note { font-size: 0.82rem; color: var(--text-muted); }

/* ---------- CTA banner ---------- */
.cta { text-align: center; border-radius: var(--radius); padding: clamp(48px, 8vw, 96px) 24px; background: radial-gradient(60% 100% at 50% 0%, rgba(232, 199, 102, 0.18), transparent 70%), var(--deep); color: #f6efe0; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.cta p { color: #cfd8d2; max-width: 52ch; margin: 18px auto 0; }
.cta .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #070605; padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 64px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 34ch; }
.site-footer h4 { font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-weight: 600; }
.site-footer li + li { margin-top: 10px; }
.site-footer li a, .site-footer address a { color: var(--text-muted); transition: color 0.3s; }
.site-footer li a:hover, .site-footer address a:hover { color: var(--gold-light); }
.site-footer address { font-style: normal; color: var(--text-muted); font-size: 0.92rem; display: grid; gap: 8px; }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a { width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; color: var(--gold); transition: all 0.3s; }
.socials a:hover { background: var(--gold); color: #2a1c05; }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.78rem; color: var(--text-muted); }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5); transition: transform 0.3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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



.cta .eyebrow { color: var(--gold-bright); }
.cta .eyebrow::before { background: var(--gold-bright); }
.cta .gold-text, .site-footer .gold-text { background: linear-gradient(135deg, #f6dc86, #d9ae45); -webkit-background-clip: text; background-clip: text; }
.cta .btn--ghost { color: #f6efe0; border-color: rgba(246, 239, 224, 0.5); }
.cta .btn--ghost:hover { background: rgba(246, 239, 224, 0.1); }

/* Footer: deep emerald */
.site-footer { background: var(--deep-2); border-top: 0; color: #dfe6e1; }
.site-footer h4 { color: var(--gold-bright); }
.footer-brand p, .site-footer address, .site-footer li a, .site-footer address a { color: #b9c6bf; }
.site-footer li a:hover, .site-footer address a:hover { color: var(--gold-bright); }
.socials a { border-color: rgba(232, 199, 102, 0.45); color: var(--gold-bright); }
.socials a:hover { background: var(--gold-bright); color: #1a1208; }
.footer-bottom { border-top-color: rgba(232, 199, 102, 0.2); color: #8ea39a; }

/* Light-theme refinements */
.product-media { background: linear-gradient(160deg, #ffffff, #f4ead6); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 12px 30px -18px rgba(107, 76, 12, 0.35); }
.product-media svg { opacity: 0.8; }
.tile { background: linear-gradient(160deg, #ffffff, #f4ead6); box-shadow: 0 14px 34px -20px rgba(107, 76, 12, 0.4); }
.tile:hover { box-shadow: 0 22px 44px -22px rgba(107, 76, 12, 0.5); }
.frame { background: linear-gradient(160deg, #ffffff, #f4ead6); box-shadow: 0 24px 50px -28px rgba(107, 76, 12, 0.45); }
.frame figcaption { color: var(--gold-light); }
.lightbox-card { background: #fffdf8; }
.lightbox-media { background: linear-gradient(160deg, #ffffff, #f4ead6); }
.field input, .field select, .field textarea { background: #fffdf8; }
.field select option { background: #fffdf8; color: var(--text); }
.hero h1 { color: var(--text); }
.gold-text { background: linear-gradient(135deg, #c99a2e 0%, #9a7117 100%); -webkit-background-clip: text; background-clip: text; }
.brand img { height: 46px; width: auto; }
.footer-brand img { height: 96px; width: auto; margin-bottom: 18px; }
.brand-name { color: var(--text); }
.btn--ghost { border-color: var(--gold); }
.wa-float { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }

/* Product photos */
.product-media picture, .tile picture { position: absolute; inset: 0; }
.product-media picture img { position: absolute; inset: 0; }
.tile picture img.tile-photo { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.tile:hover picture img.tile-photo { transform: scale(1.06); }
.lightbox-media { position: relative; }
.lightbox-media picture img { width: 100%; height: 100%; object-fit: cover; }
.product--soon { display: block; }
.product--soon .product-name { color: var(--text-muted); }

/* Gallery, photo count, video tile */
.lightbox-gallery { display: flex; flex-direction: column; background: linear-gradient(160deg, #ffffff, #f4ead6); }
.lb-thumbs { display: flex; gap: 8px; padding: 10px; }
.lb-thumbs:empty { display: none; }
.lb-thumbs button { width: 64px; height: 64px; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; cursor: pointer; background: none; opacity: 0.6; transition: opacity 0.3s, border-color 0.3s; }
.lb-thumbs button[aria-current="true"], .lb-thumbs button:hover { opacity: 1; border-color: var(--gold); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-count { position: absolute; right: 10px; bottom: 10px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: rgba(255, 253, 248, 0.92); color: var(--gold-light); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.tile video.tile-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.lightbox-media { aspect-ratio: 1; overflow: hidden; }
.lightbox-media picture { position: absolute; inset: 0; }
@media (max-width: 760px) { .lightbox-media { aspect-ratio: 4 / 3; } }

/* ---------- Video hero (arch) ---------- */
#hero-sparkles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: var(--header-h); }
.hero-grid .hero-content { order: -1; padding: 40px 0 56px; max-width: 600px; pointer-events: auto; }
.hero-media {
  position: relative; margin: 0; justify-self: center;
  width: min(430px, 100%, calc((100svh - var(--header-h) - 110px) * 0.668));
  aspect-ratio: 568 / 850;
}
.hero-media::before, .hero-media::after { content: ""; position: absolute; pointer-events: none; border-radius: 999px 999px 12px 12px; }
.hero-media::before { inset: -14px; border: 1px solid var(--line-strong); }
.hero-media::after { inset: -28px; border: 1px solid var(--line); }
.hero-media .arch {
  position: absolute; inset: 0; overflow: hidden; border-radius: 999px 999px 6px 6px;
  background: #e9dcc3 url("../video/hero-necklace-poster.jpg") center / cover;
  box-shadow: 0 50px 90px -45px rgba(107, 76, 12, 0.6);
}
.hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-tag {
  position: absolute; left: -36px; bottom: 56px; z-index: 2;
  display: flex; flex-direction: column; gap: 2px; padding: 14px 20px;
  background: rgba(255, 253, 248, 0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-family: var(--font-display); font-size: 1.15rem; color: var(--text);
  box-shadow: 0 18px 40px -20px rgba(107, 76, 12, 0.5); transition: transform 0.4s var(--ease);
}
.hero-tag span { font-family: var(--font-body); font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; }
.hero-tag:hover { transform: translateY(-3px); }

@media (max-width: 860px) {
  .hero { min-height: auto; align-items: flex-start; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; padding-top: calc(var(--header-h) + 34px); }
  .hero-grid .hero-content { order: 0; padding: 36px 0 56px; }
  .hero-media { width: min(330px, 74vw); }
  .hero-tag { left: -12px; bottom: 28px; padding: 10px 14px; font-size: 1rem; }
  .scroll-cue { display: none; }
}
.hero-grid h1 { font-size: clamp(2.9rem, 5.6vw, 5.4rem); }
.hero-grid h1 span { white-space: nowrap; }

/* ---------- WhatsApp chat popup ---------- */
.wa-widget { position: fixed; right: 18px; bottom: 18px; z-index: 120; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.wa-widget .wa-float { position: static; border: 0; cursor: pointer; }
.wa-float[aria-expanded="true"] { background: var(--deep); }
.wa-panel {
  width: min(340px, calc(100vw - 36px)); background: #fffdf8; border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 60px -18px rgba(16, 52, 43, 0.45), 0 0 0 1px var(--line);
  transform-origin: bottom right; animation: wa-in 0.3s var(--ease);
}
.wa-panel[hidden] { display: none; }
@keyframes wa-in { from { opacity: 0; transform: translateY(12px) scale(0.96); } }
.wa-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px; background: var(--deep); color: #f6efe0; }
.wa-head img { flex: none; width: 40px; height: 40px; }
.wa-head > div { flex: 1; min-width: 0; }
.wa-name { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.2; color: #fff; }
.wa-status { font-size: 0.7rem; line-height: 1.45; color: #b9c6bf; margin-top: 2px; }
.wa-close { flex: none; width: 44px; height: 44px; margin: -8px -8px -8px 0; border: 0; background: none; color: #f6efe0; font-size: 1.6rem; cursor: pointer; border-radius: 50%; }
.wa-close:hover { background: rgba(255, 255, 255, 0.1); }
.wa-body { padding: 18px 16px 6px; background: linear-gradient(180deg, #f6efe0, #fffdf8); }
.wa-bubble { position: relative; background: #fff; padding: 12px 14px; border-radius: 4px 12px 12px 12px; font-size: 0.9rem; color: var(--text); box-shadow: 0 2px 8px -4px rgba(107, 76, 12, 0.3); }
.wa-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.wa-topics a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.8rem; color: var(--gold-light); background: #fff; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.wa-topics a:hover { background: var(--gold-gradient); color: #2a1c05; border-color: transparent; }
.wa-start { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px 16px 16px; min-height: 48px; border-radius: 999px; background: #25d366; color: #fff; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; transition: filter 0.25s; }
.wa-start:hover { filter: brightness(0.95); }
.wa-start svg { width: 20px; height: 20px; }
.wa-status span { white-space: nowrap; }

/* Form extras */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--text-muted); }
.form-status { min-height: 1.5em; font-size: 0.92rem; font-weight: 500; }
.form-status[data-kind="ok"] { color: #1d6b4a; }
.form-status[data-kind="error"] { color: #b42318; }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
