/* ═══════════════════════════════════════════════════════
   ELITEZ EVENTS — Shared Stylesheet
   Design: Concept 3 flow · Palette 1 · Bodoni Moda + DM Sans
═══════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────────── */
:root {
  --midnight:    #080C18;
  --navy:        #0F1526;
  --navy-2:      #131929;
  --gold:        #C9923A;
  --gold-light:  #E0AC56;
  --gold-dim:    rgba(201, 146, 58, 0.10);
  --gold-border: rgba(201, 146, 58, 0.30);
  --cream:       #F0EBE0;
  --steel:       #8A8FA8;
  --border:      #1E2540;

  --font-display: 'Bodoni Moda', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --wrap:     1200px;
  --pad-x:    56px;
  --pad-sect: 120px;
  --nav-h:    72px;

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.55, 0.5, 1);
}

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--midnight);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ─── TYPOGRAPHY ─────────────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 7.5vw, 112px);
  line-height: 0.93;
  letter-spacing: -0.01em;
}
.display-lg {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.display-md {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
}
em, .italic { font-style: italic; }
.gold { color: var(--gold); }
.steel { color: var(--steel); }
.cream { color: var(--cream); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ─── LAYOUT ─────────────────────────────────────────── */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

section { padding: var(--pad-sect) var(--pad-x); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ─── NAV ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  background: rgba(8, 12, 24, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}
.nav-logo img {
  height: 32px;
  width: auto;
}
/* Fallback wordmark if image fails */
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cream);
}
.nav-logo-text em { font-style: italic; font-weight: 400; color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.28s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links a:hover,
.nav-links a.active { color: var(--cream); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--midnight) !important;
  background: var(--gold);
  padding: 10px 22px;
  text-decoration: none;
  transition: background 0.28s;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; color: var(--midnight) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  width: 24px; height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  background: var(--midnight);
  border-top: 1px solid var(--border);
}

.footer-main {
  padding: 64px var(--pad-x) 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand {}
.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 20px;
}
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--steel);
  line-height: 1.5;
  max-width: 260px;
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--steel);
  font-size: 12px;
  transition: border-color 0.28s, color 0.28s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

.footer-col-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col-links a {
  font-size: 13px;
  font-weight: 300;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.28s;
}
.footer-col-links a:hover { color: var(--cream); }

.footer-contact-item {
  margin-bottom: 14px;
}
.footer-contact-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 3px;
}
.footer-contact-value {
  font-size: 13px;
  font-weight: 300;
  color: var(--cream);
}
.footer-contact-value a {
  text-decoration: none;
  transition: color 0.28s;
}
.footer-contact-value a:hover { color: var(--gold); }

.footer-bottom {
  padding: 24px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-copy {
  font-size: 12px;
  font-weight: 300;
  color: var(--steel);
}
.footer-copy span { color: var(--gold); }
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 11px;
  font-weight: 300;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.28s;
}
.footer-legal a:hover { color: var(--cream); }

/* ─── STATS BAR ──────────────────────────────────────── */
.stats-bar {
  background: var(--gold);
  display: flex;
  align-items: stretch;
  overflow-x: auto;
}
.stat-item {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 40px;
  border-right: 1px solid rgba(8, 12, 24, 0.15);
  transition: background 0.28s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(0,0,0,0.1); }
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  line-height: 1;
  color: var(--midnight);
  letter-spacing: -0.02em;
}
.stat-num span {
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  margin-left: 3px;
  opacity: 0.65;
}
.stat-lbl {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(8, 12, 24, 0.6);
  margin-top: 5px;
}

/* ─── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.28s, transform 0.2s, border-color 0.28s, color 0.28s;
  cursor: pointer;
  border: none;
}
.btn svg { transition: transform 0.28s; flex-shrink: 0; }
.btn:hover svg { transform: translateX(4px); }

.btn-gold {
  color: var(--midnight);
  background: var(--gold);
  padding: 15px 44px;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
  color: var(--cream);
  border: 1px solid var(--border);
  padding: 15px 44px;
}
.btn-outline:hover { border-color: var(--gold-border); }

.btn-ghost {
  color: var(--steel);
  padding: 0;
}
.btn-ghost:hover { color: var(--cream); }

.btn-pair { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-pair-center { justify-content: center; }

/* ─── PAGE HERO (inner pages) ────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 80px;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  background: var(--midnight);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(15,21,38,0.9) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 720px; }
.page-hero-breadcrumb {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 24px;
}
.page-hero-breadcrumb a { text-decoration: none; transition: color 0.28s; }
.page-hero-breadcrumb a:hover { color: var(--gold); }
.page-hero-breadcrumb span { color: var(--gold); margin: 0 8px; }

/* ─── SECTION DIVIDER ────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0 var(--pad-x);
}

/* ─── CARD BASE ──────────────────────────────────────── */
.card {
  background: var(--navy);
  border: 1px solid var(--border);
  transition: border-color 0.35s, transform 0.35s;
}
.card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
}

/* ─── SCROLL REVEAL ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.2,0.6,0.2,1),
              transform 0.65s cubic-bezier(0.2,0.6,0.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }
.reveal[data-d="5"] { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition-duration: 0.01ms; }
}

/* ─── CLIENTS STRIP ──────────────────────────────────── */
.clients-strip {
  background: var(--navy);
  border-bottom: 1px solid var(--border);
  padding: 28px var(--pad-x);
  display: flex;
  align-items: center;
  gap: 48px;
  overflow-x: auto;
}
.clients-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--steel);
  white-space: nowrap;
  flex-shrink: 0;
}
.client-names { display: flex; gap: 40px; align-items: center; }
.client-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: rgba(240,235,224,0.28);
  white-space: nowrap;
  transition: color 0.28s;
  cursor: default;
}
.client-name:hover { color: rgba(240,235,224,0.65); }

/* ─── CTA SECTION ────────────────────────────────────── */
.cta-section {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: var(--pad-sect) var(--pad-x);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: attr(data-ghost);
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(120px, 18vw, 260px);
  font-weight: 700;
  color: rgba(201,146,58,0.03);
  white-space: nowrap;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
  letter-spacing: 0.1em;
  z-index: 0;
}
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(8,12,24,0.8) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.cta-inner { position: relative; z-index: 1; }
.cta-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.cta-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 44px;
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --pad-x: 40px; --pad-sect: 96px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --pad-x: 24px; --pad-sect: 72px; }

  .nav-links { display: none; flex-direction: column; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--midnight); border-bottom: 1px solid var(--border); padding: 32px 24px; gap: 24px; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 14px; letter-spacing: 0.12em; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .grid-2 { grid-template-columns: 1fr; gap: 48px; }
  .grid-3 { grid-template-columns: 1fr; }

  .stats-bar { flex-wrap: wrap; }
  .stat-item { min-width: 50%; border-right: none; border-bottom: 1px solid rgba(8,12,24,0.15); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(8,12,24,0.15); }

  .clients-strip { gap: 28px; }

  .footer-main { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }

  .btn-gold, .btn-outline { padding: 14px 32px; }
}

@media (max-width: 480px) {
  :root { --pad-x: 20px; }
  .btn-pair { flex-direction: column; align-items: stretch; }
  .btn-pair .btn { justify-content: center; }
}
