/* ═══════════════════════════════════════════════════════════════════════
   LEVERAGE BLK — DESIGN SYSTEM
   A premium, editorial, glass-laced dark theme with cultural depth.
   Type: Playfair Display (display) + Inter (text) + JetBrains Mono (caps)
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* Core palette — refined */
  --gold: #D4B86A;
  --gold-bright: #EBD68A;
  --gold-deep: #A88836;
  --gold-glow: rgba(212, 184, 106, 0.18);
  --gold-faint: rgba(212, 184, 106, 0.08);
  --gold-line: rgba(212, 184, 106, 0.22);

  /* Cultural accents — used sparingly */
  --terracotta: #C26B4F;
  --emerald: #4A7A5C;
  --ivory: #F4EFE3;

  /* Surfaces */
  --ink: #0A0A0B;
  --ink-2: #101012;
  --ink-3: #16161A;
  --ink-4: #1D1D22;
  --ink-5: #25252C;

  /* Text */
  --text: #EDEAE2;
  --text-dim: rgba(237, 234, 226, 0.68);
  --text-faint: rgba(237, 234, 226, 0.42);
  --hairline: rgba(237, 234, 226, 0.08);
  --hairline-strong: rgba(237, 234, 226, 0.14);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.025);
  --glass-bg-strong: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-border-bright: rgba(255, 255, 255, 0.14);
  --glass-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 24px 60px rgba(0,0,0,0.4);

  /* Type scale (fluid) */
  --t-display-xl: clamp(64px, 8.5vw, 132px);
  --t-display-lg: clamp(48px, 6.2vw, 96px);
  --t-display-md: clamp(38px, 4.4vw, 64px);
  --t-display-sm: clamp(28px, 3.2vw, 44px);
  --t-h1: clamp(32px, 3.5vw, 52px);
  --t-h2: clamp(24px, 2.6vw, 36px);
  --t-h3: 22px;
  --t-body-lg: 18px;
  --t-body: 16px;
  --t-sm: 14px;
  --t-xs: 12px;
  --t-mono: 11px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Density */
  --space-section: clamp(80px, 10vw, 160px);
  --space-gutter: clamp(24px, 4vw, 60px);
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

/* ── GLOBAL TEXTURE ─────────────────────────────────────────── */
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.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  mix-blend-mode: overlay;
}

/* Subtle gradient backdrop for warmth */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(212, 184, 106, 0.04), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(194, 107, 79, 0.025), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ── TYPE ───────────────────────────────────────────────────── */
.serif { font-family: 'Playfair Display', 'Times New Roman', serif; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--t-mono);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.display {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.94;
  color: var(--text);
}
.display em { font-style: italic; color: var(--gold); font-weight: 700; }

/* ── GLASS CARD ─────────────────────────────────────────────── */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  box-shadow: var(--glass-shadow);
  position: relative;
}
.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent 40%);
  pointer-events: none;
}
.glass-strong {
  background: var(--glass-bg-strong);
  border-color: var(--glass-border-bright);
}
.glass-gold {
  border-color: var(--gold-line);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 0 0 1px rgba(212,184,106,0.04),
    0 24px 60px rgba(0,0,0,0.4),
    0 0 80px -20px var(--gold-glow);
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-gold {
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
}
.btn-gold:hover {
  background: var(--gold-bright);
  box-shadow: 0 8px 32px var(--gold-glow), 0 0 0 1px var(--gold-bright);
  transform: translateY(-1px);
}
.btn-ghost {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-color: var(--glass-border-bright);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--gold-line);
  color: var(--gold);
  background: var(--glass-bg-strong);
}
.btn-arrow::after {
  content: '→';
  font-size: 15px;
  transition: transform 0.3s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ── NAV ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 10px 18px;
  background: rgba(10, 10, 11, 0.55);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  backdrop-filter: blur(28px) saturate(150%);
  border: 1px solid var(--glass-border-bright);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 12px 40px rgba(0,0,0,0.4);
  transition: top 0.4s var(--ease);
  width: max-content;
  max-width: calc(100vw - 32px);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 14px;
  border-right: 1px solid var(--hairline);
  margin-right: 6px;
}
.nav-mark {
  width: 28px;
  height: 28px;
  background: var(--gold);
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.04em;
  position: relative;
  box-shadow: 0 0 20px var(--gold-glow);
}
.nav-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-dim);
  transition: all 0.2s var(--ease);
  position: relative;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}
.nav-cta {
  margin-left: 6px;
  padding: 9px 16px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-cta:hover { background: var(--gold-bright); }
.nav-cta-dot {
  width: 6px;
  height: 6px;
  background: #4ADE80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ADE80;
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── REVEAL ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }

/* ── CONTAINER ──────────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-gutter);
  position: relative;
  z-index: 1;
}
.container-narrow { max-width: 980px; }
.container-wide { max-width: 1440px; }

/* ── SECTION HEAD ───────────────────────────────────────────── */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.section-head-text { max-width: 620px; }
.section-head h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: var(--t-display-md);
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin-top: 18px;
  color: var(--text);
}
.section-head h2 em { font-style: italic; color: var(--gold); font-weight: 700; }
.section-head p {
  margin-top: 18px;
  color: var(--text-dim);
  font-size: var(--t-body-lg);
  line-height: 1.65;
  max-width: 540px;
}

/* ── HAIRLINE / DIVIDERS ────────────────────────────────────── */
.hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline-strong) 20%, var(--hairline-strong) 80%, transparent);
  border: 0;
}
.gold-rule {
  width: 56px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* ── IMAGE SLOT ─────────────────────────────────────────────── */
.img-slot {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.018) 0 8px, rgba(255,255,255,0.04) 8px 16px),
    var(--ink-3);
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-align: center;
  padding: 12px;
}
.img-slot::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(212, 184, 106, 0.1);
  border-radius: 6px;
  pointer-events: none;
}

/* ── BADGE ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold-faint);
  border: 1px solid var(--gold-line);
  color: var(--gold);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.badge-live {
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.3);
  color: #6EE7B0;
}
.badge-live::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #6EE7B0;
  border-radius: 50%;
  box-shadow: 0 0 6px #6EE7B0;
  animation: dot-pulse 1.6s ease-in-out infinite;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--hairline);
  padding: 80px var(--space-gutter) 40px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.4));
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.65;
  max-width: 280px;
  margin: 18px 0 24px;
}
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--hairline-strong);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.2s var(--ease);
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-faint);
}
.footer-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--text-dim); transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
}
.footer-bottom p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  .nav { padding: 8px 8px 8px 14px; }
  .nav-links { display: none; }
  .nav-logo { padding-right: 10px; margin-right: 2px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
