/* ============ Queen Diamonds — styles ============ */
:root {
  --bg: #070605;
  --bg-2: #0e0b08;
  --ink: #f4eee3;
  --ink-2: #c9bfae;
  --muted: #a59a88;
  --gold: #dcb56c;
  --gold-hi: #f3dca6;
  --gold-lo: #9c7637;
  --line: rgba(220, 181, 108, .22);
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --pad: clamp(20px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
em { font-style: italic; }
::selection { background: var(--gold); color: #120d06; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: #120d06; padding: 10px 16px; border-radius: 999px;
  text-decoration: none; font-weight: 600; transition: top .2s;
}
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }

/* ---------- Stage ---------- */
.stage {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 68% 42%, rgba(220, 181, 108, .14), transparent 70%),
    radial-gradient(40% 40% at 20% 90%, rgba(120, 90, 40, .12), transparent 70%),
    radial-gradient(120% 90% at 50% 0%, #15100a 0%, #070605 60%);
}
.stage__glow {
  position: absolute; inset: 0;
  background: radial-gradient(35% 35% at 68% 45%, rgba(255, 240, 210, .07), transparent 70%);
  animation: breathe 8s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .55; transform: scale(1.06); } }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.has-3d #gl { opacity: 1; }

.fallback-gem {
  position: absolute; width: min(38vw, 460px); right: 10vw; top: 50%;
  transform: translateY(-55%);
  filter: drop-shadow(0 0 40px rgba(255, 236, 200, .25)) drop-shadow(0 30px 60px rgba(0,0,0,.6));
  opacity: .95;
  animation: gemfloat 7s ease-in-out infinite;
}
@keyframes gemfloat { 50% { transform: translateY(-52%) rotate(-2deg); } }
.has-3d .fallback-gem, .loading-3d .fallback-gem { display: none; }

/* Lite / fallback hero: static luxurious gradient */
.is-lite .stage {
  background:
    radial-gradient(70% 50% at 70% 30%, rgba(220, 181, 108, .22), transparent 70%),
    radial-gradient(50% 40% at 10% 100%, rgba(156, 118, 55, .18), transparent 70%),
    linear-gradient(160deg, #19120a 0%, #070605 55%, #0b0907 100%);
}

/* ---------- Progress + cursor ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi), var(--gold)); }

.cursor {
  position: fixed; left: 0; top: 0; z-index: 90; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1px solid rgba(243, 220, 166, .6); border-radius: 50%; pointer-events: none;
  opacity: 0; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, opacity .4s;
  mix-blend-mode: difference;
}
.cursor.on { opacity: 1; }
.cursor.hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(243, 220, 166, .15); }
@media (hover: none), (max-width: 768px) { .cursor { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--pad);
  transition: background .5s, padding .5s, backdrop-filter .5s;
}
.nav.scrolled {
  padding-top: 14px; padding-bottom: 14px;
  background: linear-gradient(180deg, rgba(7, 6, 5, .85), rgba(7, 6, 5, .55));
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(220, 181, 108, .1);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gold-hi); }
.brand__mark { width: 30px; height: 26px; }
.brand__name { font-family: var(--serif); font-size: 1.45rem; letter-spacing: .04em; color: var(--ink); }
.brand__name em { color: var(--gold); }
.nav__links { display: flex; gap: clamp(18px, 2.6vw, 40px); list-style: none; margin: 0; padding: 0; }
.nav__links a {
  text-decoration: none; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2);
  position: relative; padding: 6px 0; transition: color .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 .45s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 28px; border-radius: 999px;
  font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .3s, border-color .3s;
}
.btn svg { width: 18px; height: 18px; }
.btn--sm { --h: 42px; padding: 0 20px; font-size: .72rem; }
.btn--gold {
  color: #1a1207;
  background: linear-gradient(120deg, #b98d45 0%, #f3dca6 38%, #d8af63 62%, #a37a38 100%);
  background-size: 200% 100%;
  box-shadow: 0 10px 30px -10px rgba(220, 181, 108, .55), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(220, 181, 108, .75), inset 0 1px 0 rgba(255,255,255,.6); }
.btn--gold:hover::after { transform: translateX(120%); }
.btn--line, .btn--ghost {
  color: var(--ink); border: 1px solid rgba(243, 220, 166, .35); background: rgba(10, 8, 6, .35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.btn--line:hover, .btn--ghost:hover { border-color: var(--gold); color: var(--gold-hi); transform: translateY(-2px); }

/* ---------- Layout ---------- */
main { position: relative; z-index: 2; }
.panel {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px var(--pad);
}
.copy { position: relative; max-width: 520px; }
.copy--wide { max-width: 640px; }
.copy--right { margin-left: auto; }
.copy--left { margin-right: auto; }
.copy p { color: var(--ink-2); font-size: 1.05rem; }

.eyebrow {
  font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 22px; display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.display {
  font-family: var(--serif); font-weight: 300; line-height: .98; letter-spacing: -.01em;
  font-size: clamp(2.8rem, 6vw, 5.6rem); margin: 0 0 28px;
}
.display em, .hero__title em { color: var(--gold-hi); font-weight: 300;
  background: linear-gradient(100deg, #b98d45, #f6e3b4 40%, #d8af63 70%, #f3dca6);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- Hero ---------- */
.hero { align-items: flex-end; padding-bottom: clamp(70px, 12vh, 140px); }
.hero__inner { max-width: 640px; }
.hero__title {
  font-family: var(--serif); font-weight: 300; margin: 0 0 26px;
  font-size: clamp(4rem, 10.5vw, 10rem); line-height: .86; letter-spacing: -.02em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line + .line { padding-left: .55em; }
.hero__lede { color: var(--ink-2); font-size: 1.1rem; max-width: 460px; margin: 0 0 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.rating-chip {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  padding: 10px 18px; border-radius: 999px; font-size: .86rem; color: var(--ink-2);
  border: 1px solid var(--line); background: rgba(10, 8, 6, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: border-color .3s;
}
.rating-chip:hover { border-color: var(--gold); }
.rating-chip strong { color: var(--ink); font-weight: 600; }
.stars { color: var(--gold); letter-spacing: .12em; }

.scroll-cue {
  position: absolute; right: var(--pad); bottom: 44px; display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl;
}
.scroll-cue span { width: 1px; height: 64px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* ---------- Anatomy ---------- */
.facet-list { list-style: none; padding: 0; margin: 34px 0 0; border-top: 1px solid var(--line); }
.facet-list li { display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: .95rem; }
.facet-list span { font-family: var(--serif); font-size: 1.3rem; color: var(--gold-hi); min-width: 110px; line-height: 1.2; }

.anatomy-labels { position: fixed; inset: 0; z-index: 3; pointer-events: none; }
.alabel {
  position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 10px; opacity: 0;
  font-family: var(--serif); font-size: 1.15rem; color: var(--gold-hi); white-space: nowrap; will-change: transform, opacity;
}
.alabel i { display: block; width: 70px; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(220,181,108,.2)); position: relative; }
.alabel i::before { content: ""; position: absolute; left: -4px; top: -3.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 12px var(--gold); }
.is-lite .anatomy-labels { display: none; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 12px; }
.card {
  position: relative; padding: 26px 22px 22px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(40, 30, 18, .55), rgba(12, 10, 8, .55));
  border: 1px solid rgba(220, 181, 108, .16);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease);
  display: flex; flex-direction: column;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120px 120px at var(--mx, 50%) var(--my, 0%), rgba(243, 220, 166, .16), transparent 70%);
  opacity: 0; transition: opacity .4s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(220, 181, 108, .45); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.card:hover::before { opacity: 1; }
.card__num { font-family: var(--serif); color: var(--gold); font-size: 1rem; letter-spacing: .2em; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.55rem; line-height: 1.1; margin: 14px 0 10px; }
.card p { font-size: .9rem; color: var(--ink-2); margin: 0 0 18px; flex: 1; }
.card__link { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); text-decoration: none; font-weight: 600; }
.card__link span { display: inline-block; transition: transform .3s var(--ease); }
.card__link:hover span { transform: translateX(5px); }

/* ---------- Viewing ---------- */
.score { display: flex; align-items: flex-end; gap: 22px; margin-bottom: 40px; }
.score__num {
  font-family: var(--serif); font-weight: 300; font-size: clamp(6rem, 14vw, 11rem); line-height: .8;
  background: linear-gradient(180deg, #fff6df 0%, #dcb56c 60%, #8a6630 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.score__meta { display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); font-size: .9rem; letter-spacing: .04em; padding-bottom: 10px; }
.score__meta .stars { font-size: 1.15rem; }
.steps { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 4px; }
.steps li { display: flex; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.steps li > span { font-family: var(--serif); font-size: 1.1rem; color: var(--gold); min-width: 30px; padding-top: 2px; }
.steps h3 { margin: 0 0 4px; font-family: var(--serif); font-weight: 400; font-size: 1.45rem; }
.steps p { margin: 0; font-size: .95rem; }

/* ---------- Visit ---------- */
.contact {
  border: 1px solid rgba(220, 181, 108, .18); border-radius: 22px; padding: clamp(22px, 3vw, 36px);
  background: linear-gradient(160deg, rgba(36, 27, 16, .6), rgba(10, 8, 6, .6));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.contact__row { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact__row:first-child { padding-top: 0; }
.contact h3 { margin: 0 0 6px; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.contact address, .contact p { font-style: normal; color: var(--ink); margin: 0; font-size: 1rem; }
.contact a { text-decoration: none; border-bottom: 1px solid rgba(220,181,108,.35); transition: border-color .3s, color .3s; overflow-wrap: anywhere; }
.contact a:hover { color: var(--gold-hi); border-color: var(--gold); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.contact__ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 24px; }
.contact__ctas .btn { border-bottom: 0; }

/* ---------- Footer ---------- */
.footer {
  position: relative; z-index: 2; text-align: center; padding: 70px var(--pad) 110px;
  border-top: 1px solid rgba(220, 181, 108, .14);
  background: linear-gradient(180deg, rgba(7,6,5,.4), #050403);
  color: var(--muted); font-size: .85rem;
}
.footer__brand { font-family: var(--serif); font-size: 2rem; color: var(--ink); margin-bottom: 10px; }
.footer__brand em { color: var(--gold); }
.footer p { margin: 4px 0; }
.footer__credit { margin-top: 18px !important; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; color: var(--ink-2); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  display: flex; align-items: center; gap: 0; height: 60px; min-width: 60px; padding: 0 18px; border-radius: 999px;
  color: #1a1207; text-decoration: none; font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  background: linear-gradient(130deg, #b98d45, #f3dca6 45%, #d1a75a);
  box-shadow: 0 14px 40px -10px rgba(220, 181, 108, .6), 0 0 0 1px rgba(255,255,255,.25) inset;
  transition: gap .5s var(--ease), transform .4s var(--ease), box-shadow .4s;
}
.wa-float::before {
  content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 1px solid rgba(220,181,108,.5);
  animation: pulse 2.8s ease-out infinite; pointer-events: none;
}
@keyframes pulse { from { opacity: .9; transform: scale(.94); } to { opacity: 0; transform: scale(1.25); } }
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .55s var(--ease), margin .55s var(--ease); }
.wa-float:hover, .wa-float:focus-visible { gap: 10px; transform: translateY(-2px); }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 180px; }
@media (min-width: 1100px) { .wa-float { gap: 10px; } .wa-float .wa-float__label { max-width: 180px; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero__title .line.reveal { opacity: 1; transform: none; }
.hero__title .line.reveal > span { transform: translateY(105%); transition: transform 1.3s var(--ease); }
.hero__title .line.reveal.in > span { transform: none; }
.hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.cards .card:nth-child(2), .steps li:nth-child(2) { transition-delay: .1s; }
.cards .card:nth-child(3), .steps li:nth-child(3) { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero__title .line.reveal > span { opacity: 1 !important; transform: none !important; transition: none !important; }
  .stage__glow, .fallback-gem, .wa-float::before, .scroll-cue span::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: 1fr; }
  .card { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
  .card h3 { margin: 0; }
  .card p { flex-basis: 100%; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
}
@media (max-width: 768px) {
  .panel { min-height: auto; padding: 96px var(--pad) 72px; }
  .hero { min-height: 100svh; align-items: flex-end; }
  .fallback-gem { width: 70vw; right: 50%; top: 30%; transform: translate(50%, -50%); opacity: .5; animation: none; }
  .copy, .copy--wide { max-width: none; margin: 0; }
  .contact__grid { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .score { gap: 14px; }
  .brand__name { font-size: 1.25rem; }
  .nav .btn--sm { display: none; }
  .wa-float { height: 56px; min-width: 56px; padding: 0 15px; }
}
