/* base.css v3 */

/* ── Custom cursor ───────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; cursor:none !important; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Hide default cursor on touch */
@media (hover:none) {
  * { cursor: auto !important; }
  #cursor, #cursor-dot { display:none; }
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--ink-2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ── Custom cursor elements ──────────────────────── */
#cursor {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid rgba(212,168,67,0.7);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width var(--t-med), height var(--t-med), border-color var(--t-med), background var(--t-med);
  mix-blend-mode: exclusion;
}
#cursor-dot {
  position: fixed;
  width: 4px; height: 4px;
  background: var(--gold-lt);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
}
body.cursor-hover #cursor {
  width: 56px; height: 56px;
  border-color: var(--gold-bright);
  background: rgba(212,168,67,0.08);
}

/* ── Noise overlay ───────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.028;
  pointer-events: none;
  z-index: 1000;
  mix-blend-mode: overlay;
}

/* ── Typography ──────────────────────────────────── */
.label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--ice);
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ice);
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ice);
}

.body-lg { font-size: 1rem; line-height: 1.8; color: var(--text); font-weight: 300; }
.body-sm { font-size: 0.82rem; line-height: 1.72; color: var(--text-muted); }
.body-xs { font-size: 0.68rem; line-height: 1.65; color: var(--text-faint); }

.gold    { color: var(--gold-lt); }
.gold-b  { color: var(--gold-bright); }
.italic  { font-style: italic; }
.white   { color: var(--ice); }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: all var(--t-med) var(--ease-out);
  white-space: nowrap;
}

/* Shine sweep on all buttons */
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-20deg);
  transition: left var(--t-slow);
}
.btn:hover::after { left: 130%; }

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  padding: 1rem 2rem;
  border: none;
}
.btn-gold:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 6px 32px rgba(212,168,67,0.35);
}
.btn-gold:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--gold-lt);
  padding: 0.95rem 2rem;
  border: 1px solid rgba(212,168,67,0.4);
}
.btn-outline:hover {
  border-color: var(--gold-lt);
  color: var(--ice);
  background: rgba(212,168,67,0.07);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(212,168,67,0.1);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 0;
  border: none;
  font-size: 0.65rem;
}
.btn-ghost .arr { display:inline-block; transition: transform var(--t-fast); }
.btn-ghost:hover { color: var(--gold-lt); }
.btn-ghost:hover .arr { transform: translateX(5px); }

/* ── Dividers ────────────────────────────────────── */
.rule { height:1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.rule-short { width:40px; height:1px; background: var(--gold); flex-shrink:0; }

/* ── Scroll reveal ───────────────────────────────── */
.sr {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.sr.in { opacity:1; transform:none; }
.sr-up { opacity:0; transform:translateY(40px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.sr-up.in { opacity:1; transform:none; }
.sr-d1  { transition-delay: 0.1s; }
.sr-d2  { transition-delay: 0.2s; }
.sr-d3  { transition-delay: 0.3s; }
.sr-d4  { transition-delay: 0.4s; }

/* ── Layout ──────────────────────────────────────── */
.wrap { max-width:var(--max-w); margin:0 auto; padding:0 var(--pad-x); }
.section-intro { display:flex; align-items:flex-start; gap:0.75rem; margin-bottom:4rem; }
.section-intro .rule-short { margin-top:0.55rem; }
.section-intro-text .label { margin-bottom:0.5rem; }

/* ── Gold pinstripe border ───────────────────────── */
.pinstripe {
  position: relative;
}
.pinstripe::before, .pinstripe::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 20%, var(--gold-lt) 50%, var(--gold) 80%, transparent 100%);
}
.pinstripe::before { top: 0; }
.pinstripe::after  { bottom: 0; }

/* ── Stats bar ───────────────────────────────────── */
.stats-bar {
  background: linear-gradient(135deg, var(--gold-dk) 0%, var(--gold) 50%, var(--gold-lt) 100%);
  padding: 3rem var(--pad-x);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px,1fr));
  gap: 2rem;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: 'LUXURY';
  position: absolute;
  right: -2rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 9rem;
  font-weight: 900;
  color: rgba(0,0,0,0.07);
  letter-spacing: 0.1em;
  pointer-events: none;
  user-select: none;
}
.stat-item { text-align:center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  display: block;
}
.stat-key {
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(8,8,10,0.55);
  margin-top: 4px;
  display: block;
}

/* ── Fine print ──────────────────────────────────── */
.fine-print-bar {
  background: var(--ink-2);
  border-top: 1px solid rgba(212,168,67,0.08);
  padding: 2.5rem var(--pad-x);
}
.fine-print-bar h4 {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.fine-print-bar p {
  font-size: 0.68rem;
  color: var(--text-faint);
  line-height: 1.8;
  max-width: 900px;
}

@media (max-width:768px) {
  .stats-bar { padding: 2rem var(--pad-x); }
}
